]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7b5e490f13f18ed0022da767b5f3da7f4e07d906
[lyx.git] / src / ChangeLog
1 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * iterators.C (lockPath): add a missing slice
4         * undo.C (performUndoOrRedo): remove redundant positioning code
5
6 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
7
8         * vc-backend.C (scanMaster): ";" -> ';'
9
10 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
11
12         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
13         std::binary_function
14
15         * lyxtextclass.C (compare_name): rename to...
16         (LayoutNamesEqual): ...this
17
18         * lyxlex_pimpl.C (compare_tags): inherit from
19         std::binary_function, put back into anon namespace
20
21         * lyxfind.C (MatchString): inherig from std::binary_function
22         (findChange): use empty() istead of !size()
23
24         * format.C (FormatNamesEqual): new functor
25         (getFormat): use it
26         (getNumber): use it
27         (add): use it
28         (erase): use it
29         (setViewer): use it
30
31         * converter.C (compare_Converter): rename to...
32         (ConverterEqual): ...this, and fixup a bit.
33         (getConverter): use it, and make function const
34         (getNumber): use it, and make function const
35         (add): use it
36         (erase): use it:
37
38         * bufferlist.C: add using boost::bind
39
40         * MenuBackend.C (MenuNamesEqual): new functor
41         (hasMenu): use it, and make function const
42         (hasSubmenu): use nested bind to get rid of compare_memfun.
43
44 2004-01-30  André Pönitz  <poenitz@gmx.net>
45
46         * BufferView_pimpl.C:
47         * cursor.C:
48         * cursor.h:
49         * cursor_slice.[Ch]:
50         * lyxfunc.C:
51         * lyxtext.h:
52         * paragraph_funcs.C:
53         * paragraph_funcs.h:
54         * rowpainter.C:
55         * text.C:
56         * text2.C:
57         * text3.C: move some of the edit(x,y) handling to the insets
58         some coordinate changes.
59
60 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * text.C: add using statements for std::advance and std::distance
63
64         * paragraph.C: add using statement for std::distance
65
66         * lyxfind.C: add using statement for std::advance
67
68         * cursor.C (region): remove std:: from swap
69         (openable): use nucleus in stead of operator->
70
71         * BufferView.C: add using statements for std::distance and std::swap
72
73 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
74
75         * iterators.C: Remove the pimple, move the needed structures to
76         the header file. Create accessor for the positions stack.
77         (asPosIterator): remove function
78
79         * PosIterator.C (PosIterator): move constructors to top of file
80         (PosIterator): reimplement the constructor taking a ParIterator in
81         terms of setFrom.
82         (setFrom): new function
83         (operator!=): inline it
84
85 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * lyxfind.C (replaceAll): use std::advance
88
89         * iterators.h: inherit from std::iterator.
90
91         * PosIterator.C (advance, distance): remove
92         * PosIterator.h: interit from std::iterator.
93
94 2004-01-26  André Pönitz  <poenitz@gmx.net>
95
96         * BufferView.[Ch]:
97         * BufferView_pimpl.[Ch]:
98         * InsetList.[Ch]:
99         * PosIterator.[Ch]:
100         * buffer.h:
101         * bufferview_funcs.C:
102         * cursor.[Ch]:
103         * cursor_slice.h:
104         * factory.[Ch]:
105         * iterators.[Ch]:
106         * lyxfind.C:
107         * lyxfunc.C:
108         * lyxtext.h:
109         * output_docbook.C:
110         * output_latex.C:
111         * output_linuxdoc.C:
112         * output_plaintext.C:
113         * paragraph.[Ch]:
114         * paragraph_funcs.[Ch]:
115         * paragraph_pimpl.[Ch]:
116         * rowpainter.C:
117         * tabular.C:
118         * tabular.h:
119         * text.C:
120         * text2.C:
121         * text3.C: more IU:  dumps most of the rest of the mathcursor
122     implementation into cursor.[Ch]; "globalize" a bit of it.
123
124 2004-01-25  Angus Leeming  <leeming@lyx.org>
125
126         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
127
128 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
129
130         * LaTeXFeatures.h: add nice_ and nice() const
131         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
132
133 2004-01-20  André Pönitz  <poenitz@gmx.net>
134
135         * BufferView.[Ch]:
136         * BufferView_pimpl.C:
137         * PosIterator.C:
138         * bufferview_funcs.C:
139         * cursor.[Ch]:
140         * cursor_slice.[Ch]:
141         * factory.C:
142         * iterators.C:
143         * lyx_cb.C:
144         * lyxfind.C:
145         * lyxfunc.C:
146         * lyxtext.h:
147         * rowpainter.C:
148         * text.C:
149         * text2.C:
150         * text3.C:
151         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
152           LCursor and mathcursor parts to LCursor and InsetBase.
153
154 2004-01-15  André Pönitz  <poenitz@gmx.net>
155
156         * cursor_slice.[Ch]: add a few covienience functions
157
158         * funcrequest.[Ch]: remove BufferView * member
159
160         * BufferView_pimpl.C:
161         * cursor.C:
162         * factory.[Ch]:
163         * lyxfind.[Ch]:
164         * lyxfunc.C:
165         * lyxtext.h:
166         * text3.C:
167         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
168
169 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
172         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
173
174 2004-01-13  André Pönitz  <poenitz@gmx.net>
175
176         * textcursor.[Ch]:
177         * lyxtext.h: hide cursor and selection anchor behind accessor function
178
179         * BufferView.C:
180         * BufferView_pimpl.[Ch]:
181         * PosIterator.C:
182         * bufferview_funcs.C:
183         * cursor.h:
184         * lyxfind.C:
185         * lyxfunc.C:
186         * text.C:
187         * text2.C:
188         * text3.C:
189         * undo.C: adjust
190
191         * cursor.h:
192         * cursor_slice.[Ch]: some integer type changes for inset unification
193
194         * lyxcursor.[hC]: remove, it's CursorSlice now.
195
196         * Makefile.am:
197         * BufferView_pimpl.[Ch]:
198         * bufferview_funcs.C:
199         * cursor_slice.C:
200         * lyxtext.h:
201         * text.C:
202         * text2.C:
203         * text3.C:
204         * textcursor.[Ch]: adjust
205
206 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
207
208         * text2.C (undoSpan): add and use
209         * text.C (breakParagraph): use undoSpan (fix bug 578)
210         * lyxtext.h: adjust
211
212 2004-01-08  Angus Leeming  <leeming@lyx.org>
213
214         * BufferView_pimpl.C (MenuInsertLyXFile):
215         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
216         * lyxfunc.C (menuNew, open, doImport):
217         FileFilterList change to the FileDialog open and save functions.
218
219 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * ShareContainer.h: make isEqual and isUnique adaptable
222
223         * CutAndPaste.C: make resetOwnerAndChanges adaptable
224
225 2004-01-07  Angus Leeming  <leeming@lyx.org>
226
227         * LyXAction.C:
228         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
229
230         * BufferView_pimpl.C (dispatch): act on these LFUNs.
231
232         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
233         functions replacing find, replace and replaceAll.
234
235         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
236         LFUN_WORDFIND(FORWARD|BACKWARD).
237
238 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
239
240         * text.C (breakParagraph): remove an outdated #warning
241
242 2004-01-07  André Pönitz  <poenitz@gmx.net>
243
244         * lyxfind.C: somewhat clearer logic
245
246         * text.C: prevent crash in cursorX on unitialized row cache
247
248 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
249
250         * lyxcursor.[Ch] (operator>): add
251         * textcursor.C (selStart, selEnd): use std::min and std::max
252
253 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
254
255         * Chktex.C: include boost/format.hpp
256
257 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
258
259         * InsetList.C: replace functor MathcIt with adaptable functor
260         InsetTablePosLess
261         (insetIterator): modify accordingly
262
263         * BranchList.h: move the BranchNamesEqual functor here from...
264         * BranchList.C: ... to here
265
266         * BranchList.C: new BranchListEqual fuctor, use it. Remove
267         SameName and match.
268         (add): replace a finding loop with std::find_if.
269
270 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * output_docbook.C: moving LatexParam functionality into
273         .layout files
274
275 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * buffer.C: increment format to 229.
278
279 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
280
281         * LaTeXFeatures.C:
282         * lyx_sty.[Ch]: remove minipageindent_def
283
284         * LyXAction.C:
285         * factory.C:
286         * lfuns.h:
287         * lyxfunc.C:
288         * text3.C: remove LFUN_INSET_MINIPAGE
289
290 2003-12-28  Angus Leeming  <leeming@lyx.org>
291
292         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
293
294 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
295
296         * text2.C (setParagraph): fix off-by-one crash
297
298 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * output_docbook.C: header stuff for AGU
301
302 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * text2.C (redoCursor): remove
305         * text.C:
306         * text3.C:
307         * BufferView_pimpl.C: remove calls to redoCursor and
308         setCursor(cursor.par(), cursor.pos()) all around
309
310 2003-12-15  Angus Leeming  <leeming@lyx.org>
311
312         * buffer.C: up the format to 228.
313
314 2003-12-15  André Pönitz  <poenitz@gmx.net>
315
316         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
317         slices
318
319         * Makefile.am:
320
321         * BufferView_pimpl.C:
322         * cursor.[Ch]:
323         * lyxcursor.[Ch]:
324         * rowpainter.[Ch]:
325         * lyxtext.h:
326         * text.C:
327         * text2.C:
328         * text3.C: adjust
329
330 2003-12-15  Angus Leeming  <leeming@lyx.org>
331
332         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
333         than getFromGUIName to manipulate the color.
334
335 2003-12-14  Angus Leeming  <leeming@lyx.org>
336
337         * BranchList.[Ch]: minimize the API.
338         (Branch::getBranch, getColor): now return a 'const &'.
339         (Branch::setSelected) now returns a bool set to true if the
340         selection status changes.
341         (BranchList::clear, size, getColor, setColor, setSelected,
342         allBranches, allSelected, separator): removed.
343         (BranchList::find): new functions, returning the Branch with
344         the given name.
345         (BranchList::add, remove): return a bool indicating that
346         the operation was successful.
347
348         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
349         new InsetBranch::isBranchSlected member function.
350
351         * LColor.[Ch]: mimimize the API.
352         (fill): renamed as addColor and made private.
353         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
354         versions of these functions taking a string arg have been removed.
355
356         * bufferparams.C (readToken):
357         * lyxfunc.C (dispatch):
358         * lyxrc.C (read): changes due to the altered BranchList and
359         LColor APIs.
360
361         * factory.C (createInset, readInset): changes due to altered
362         InsetBranch c-tor.
363
364 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * factory.C:
367         * lyxfunc.C: remove insetminipage. "minipage-insert"
368         now produces a frameless minipage box inset.
369
370 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * textcursor.[Ch] (selStart,selEnd): add new methods
373         remove selection::start, end, use LyXCursor::operator<
374         * lyxcursor.[Ch] (operator<): add
375         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
376         * BufferView.[Ch] (unsetXSel): add
377         * text2.C (clearSelection): use unsetXSel,adjust
378         * text.C: adjust
379         * text3.C: adjust
380         * rowpainter.C: adjust
381         * bufferview_funcs.C (put_selection_at): adjust
382
383 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * BufferView_pimpl.C: small coord. correction
386
387 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
390         dragging over the splash screen.
391
392 2003-12-11  Angus Leeming  <leeming@lyx.org>
393
394         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
395         as it is now handled in LyXText::dispatch.
396
397         * text3.C (doInsertInset): remove a level of nesting.
398
399 2003-12-11  Angus Leeming  <leeming@lyx.org>
400
401         * factory.C (createInset): changes due to the changed interface to
402         InsetCommandMailer::string2params.
403
404 2003-12-10  Angus Leeming  <leeming@lyx.org>
405
406         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
407         'dialog-show-new-inset <inset name>'
408
409 2003-12-10  Angus Leeming  <leeming@lyx.org>
410
411         * buffer.C: up the format to 227.
412
413         * factory.C: the box inset is now identified simply by 'Box'.
414
415 2003-12-10  Angus Leeming  <leeming@lyx.org>
416
417         * buffer.C: up the format to 226.
418
419         * factory.C: the note inset is now identified simply by 'Note'.
420
421 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
422
423         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
424         when a pit is enough. Standarize a couple of loops.
425
426 2003-12-05  Angus Leeming  <leeming@lyx.org>
427
428         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
429         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
430         data to the re-worked "log" dialog.
431
432 2003-12-03  André Pönitz  <poenitz@gmx.net>
433
434         * PosIterator.C:
435         * iterators.C:
436         * lyxtext.h:
437         * output_latex.C:
438         * paragraph_funcs.C:
439         * text.C:
440         * text2.C: use Inset::getText instead of Inset::getParagraph
441
442 2003-12-03  André Pönitz  <poenitz@gmx.net>
443
444         * buffer.[Ch]:
445         * lyxtext.h:
446         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
447         InsetText::read() as LyXText::read()
448
449 2003-12-02  Angus Leeming  <leeming@lyx.org>
450
451         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
452         type. Add a comment in the implementation that the function uses
453         the stream's bad() function rather than fail() as the std::streams
454         would do.
455
456 2003-12-02  André Pönitz  <poenitz@gmx.net>
457
458         * lyxlex.[Ch]: make interface more similar to std::stream
459
460         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
461
462 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
465
466 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
467
468         * vspace.[Ch]: remove VSpace::NONE
469
470 2003-12-01  André Pönitz  <poenitz@gmx.net>
471
472         * buffer.[Ch]:
473         * lyxtext.h: move ParagraphList member to LyXText
474         rename LyXText::ownerParagraphs to LyXText::paragraph
475
476         * CutAndPaste.C:
477         * bufferview_funcs.C:
478         * iterators.[Ch]:
479         * lyx_cb.C:
480         * paragraph.C:
481         * rowpainter.C:
482         * tabular.C:
483         * text.C:
484         * text2.C:
485         * text3.C: adjust
486
487         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
488
489         * undo.C: fix cursor positioning
490
491 2003-12-01  John Levon  <levon@movementarian.org>
492
493         * BufferView_pimpl.C: fix a crash on exit with
494         a buffer open
495
496 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
497
498         * BranchList.C: fix setSelected() method.
499
500 2003-11-28  André Pönitz  <poenitz@gmx.net>
501
502         * ParagraphParameters.[Ch]:
503         * ParameterStruct.h: remove space above/below from Paragraph to
504          InsetVSpace
505
506         * BufferView_pimpl.C:
507         * factory.C:
508         * lyxfunc.C:
509         * lyxtext.h:
510         * output_latex.C:
511         * paragraph.C:
512         * paragraph_funcs.C:
513         * rowpainter.[Ch]:
514         * text.C:
515         * text2.C:
516         * text3.C: adjust
517
518 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
519
520         * factory.C: Syntax change for CharStyles
521
522 2003-11-28  André Pönitz  <poenitz@gmx.net>
523
524         * BufferView.[Ch]:
525         * BufferView.[Ch]:
526         * buffer.[Ch]:
527         * buffer.[Ch]: move LyXText member
528
529 2003-11-28  André Pönitz  <poenitz@gmx.net>
530
531         * BufferView.[Ch]: make LyXText * text a private member
532
533         * BufferView_pimpl.C:
534         * cursor.C:
535         * iterators.C:
536         * lyx_cb.C:
537         * lyxfind.C:
538         * lyxtext.h:
539         * rowpainter.[Ch]:
540         * text.C:
541         * text2.C:
542         * undo.C: adjust
543
544         * output_plaintext.C: cleanup
545
546 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * buffer.C:
549         * lyxtextclass.[Ch]: parametrize SGML document header
550
551 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * converter.[Ch]:
554         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
555         getFlavor().
556
557 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
558
559         * text2.C (setFont): rework using PosIterator (no more recursive)
560         (setCharFont): no more needed
561         (setLayout): no more selection cursors fiddling (done by redoCursor)
562         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
563         destroy remaining ones)
564
565 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
568         * lyxtext.h: ditto
569         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
570         selection cursors
571         * lyxfunc.C: adjust
572         * text3.C: adjust + re-allow multi par depth changes
573         * textcursor.C: simplify a bit
574
575 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
576
577         * src/buffer.C:
578         * src/lyxlayout.C:
579         * src/lyxlayout.h:
580         * src/lyxtext.h:
581         * src/output_docbook.C:
582         * src/output_latex.C:
583         * src/paragraph.C:
584         * src/paragraph.h:
585         * src/sgml.C:
586         * src/sgml.h:
587         * src/text2.C: Introducing a number of tags parametrizing various
588         XML formats that we may want to support
589
590 2003-11-25  André Pönitz  <poenitz@gmx.net>
591
592         * InsetList.[Ch] (begein, end): inline as suggested by profiler
593
594         * lyxtext.h (leftMargin/rightMargin): simplify interface
595
596         * rowpainter.C:
597         * text.C:
598         * text2.C:
599         * text3.C: adjust
600
601 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * lyxfunc.C (dispatch): propogate the bibtex databases from the
604         master file to any child files. Fixes bug 546.
605
606 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
609
610 2003-11-24  André Pönitz  <poenitz@gmx.net>
611
612         * rowpainter.C: simplification
613
614         * text2.C (updateCounters): remove call to redoParagraph on
615         changed labels as this is far too expensive.
616
617 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
618
619         * converter.C (convert): fix a crash: this function gets
620         called with buffer == 0 from importer code.
621
622 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
623
624         * text3.C (cursorPrevious): make sure that we do not compare
625         iterators form different containers.
626         (cursorNext): ditto
627
628         * rowpainter.C (paintSelection): make sure that we do not compare
629         iterators from different containers.
630
631         * text3.C (dispatch): [PRIOR] make sure that we do not compare
632         iterators from different ParagraphList containers.
633         [NEXT] ditto
634
635         * text2.C (LyXText): change order of initialization slightly
636         (operator=): new function. copy all variables except cache_par_
637         (moveUp): make sure that we do not compare iterators from
638         different ParagraphList constainers.
639         (moveDown): ditto
640
641         * text.C (firstPar): new function
642         (lastPar): new function
643         (endPar): new function
644
645         * lyxtext.h: move things around and group public functions, public
646         variables, private functions, private variables
647
648 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
649
650         * factory.C: change call to InsetERT constructor to avoid
651         additional invocation of method status
652         * text2.C (toggleInset): remove redundant update() call
653         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
654         instead of a Bufferview pointer
655
656 2003-11-21  André Pönitz  <poenitz@gmx.net>
657
658         * rowpainter.C: simplification
659
660 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * text3.C (dispatch): make possible to extend a word/row selection
663         with the mouse
664
665 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * lyxtext.h: x0_,y0_ -> xo_,yo_
668         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
669         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
670         * rowpainter.C (paintRows): paint full paragraphs
671
672 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
675         screen coordinates)
676
677 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
678
679         * lyxtext.h: add x0_, y0_
680         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
681         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
682
683 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
684
685         * text2.C (setCursorIntern): move the x_target update here *
686         * text3.C: change some bv() to true/false in calls to
687         cursorUp/Down/Right/Left
688         * cursor.C: use helper function.
689
690 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
693         * paragraph_funcs.[Ch]: correct comment
694         * rowpainter.C: do not paint selections away from bv->cursor()
695         Fix a long standing selection painting bug.
696         * text3.C: generalize mouse-selection code to LyXTexts other that
697         top one
698         * textcursor.C: do not use y coords if we can use par offsets
699
700 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
703         cursor position after e.g. inset insert)
704
705 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
706
707         * lyxfind.C (replace): adjust to locking removal + some
708         code simplification
709
710 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
713         of the path
714
715 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
716
717         * lyxlayout.[Ch]:
718         * output_docbook.C: XML sanitation: new layout
719         parameters InnerTag and CommandDepth
720
721 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
722
723         * BufferView_pimpl.C:
724         * factory.C:
725         * text3.C: Fix the insertion and modification of button-style
726         insets
727
728 2003-11-13  André Pönitz  <poenitz@gmx.net>
729
730         * InsetList.[Ch]: remove deleteLyXText
731
732         * paragraph.[Ch]: cache beginOfBody position
733
734         * Bidi.C:
735         * text.C:
736         * text2.C:
737         * text3.C: remove superfluous update() calls
738
739         * vspace.C: cleanup
740
741 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
744         * BufferView.C (fitLockedInsetCursor): remove
745         * cursor.[Ch] (getDim): add
746         * text.C (getRowNearY): add faster version
747         * text3.C: remove some update calls
748
749 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * LaTeXFeatures.C:
752         * LyXAction.C:
753         * MenuBackend.C:
754         * MenuBackend.h:
755         * dispatchresult.h:
756         * factory.C:
757         * lfuns.h:
758         * lyxfunc.C:
759         * lyxtextclass.C:
760         * lyxtextclass.h:
761         * text3.C: The Character Style /XML short element patch.
762
763 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
764
765         * text3.C:
766         * factory.C: Small step to solving 'unable to insert some insets'
767         problem
768
769 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * cursor.[Ch] (updatePos): new function for updating the y
772         position of the tip inset
773         * bufferview_funcs.C (put_selection_at):
774         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
775
776 2003-11-11  André Pönitz  <poenitz@gmx.net>
777
778         * text.C: remove big comment on invalid Paragraph pointers as it is
779         not valid anymore
780
781 2003-11-11  André Pönitz  <poenitz@gmx.net>
782
783         * text_funcs.[Ch]: merge with ...
784
785         * text.C: ... this
786
787         * lyxtext.h:
788         * text2.C:
789         * text3.C: adjust
790
791         * Makefile.am: remove text_funcs.[Ch]
792
793 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
794
795         * cursor.C (getPos): return absolute cached y coord
796
797         * BufferView_pimpl.C (fitCursor): new simplistic code
798         (workAreaDispatch): add a fitCursor call
799
800 2003-11-10  André Pönitz  <poenitz@gmx.net>
801
802         * BufferView.[Ch]:
803         * BufferView_pimpl.[Ch]: merge update() and updateInset()
804
805 2003-11-10  André Pönitz  <poenitz@gmx.net>
806
807         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
808         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
809         indicate that the cursor needs to leave an inset
810
811         * lyxtext.h: remove inset locking
812
813         * cursor.[Ch]: re-implement functionality provided by inset locking
814
815         * BufferView.[Ch]:
816         * BufferView_pimpl.[Ch]:
817         * LyXAction.C:
818         * bufferview_funcs.[Ch]:
819         * factory.C:
820         * funcrequest.[Ch]:
821         * iterators.C:
822         * lyx_cb.C:
823         * lyxfind.C:
824         * lyxfunc.C:
825         * text.C:
826         * text2.C:
827         * text3.C:
828         * undo.C: adjust
829
830 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
831
832         * PosIterator.[Ch]: replace the stack with a vector, add inset
833         accesor
834         * iterators.[C]: adjust
835
836 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
837
838         * lyxfind.C (replaceAll): mark the buffer dirty if something was
839         replaced
840         * paragraph_funcs.C (readParToken): put the correct id in the
841         error item, not the id of the top paragraph
842
843 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
844
845         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
846         * bufferview_funcs.C (put_selection_at): use the above
847
848 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
849
850         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
851
852 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * output_linuxdoc.h:
855         * output_plaintext.h:
856         * output.h:
857         * output_docbook.h: add #include statements
858
859 2003-11-05  José Matos  <jamatos@lyx.org>
860
861         * output_docbook.[Ch]:
862         * output_latex.[Ch]:
863         * output_linuxdoc.[Ch]:
864         * output_plaintext.[Ch]: New files for output formats.
865         * output.[Ch]: New file for helper functions.
866
867         * buffer.[Ch]:
868         * paragraph_funcs.[Ch]: output functions moved to new files.
869
870         * outputparams.h: rename of latexrunparams.h
871
872         * LaTeX.[Ch]:
873         * buffer.[Ch]:
874         * bufferlist.[Ch]:
875         * converter.[Ch]:
876         * exporter.C:
877         * paragraph.[Ch]:
878         * paragraph_funcs.[Ch]:
879         * paragraph_pimpl.[Ch]:
880         * tabular.[Ch]: rename ascii to plaintext
881         and LatexRunParams to OutputParams.
882
883 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
884
885         * iterators.[Ch] (text): require bv argument
886         * undo.C (recordUndo):
887         * lyxfunc.C (dispatch):
888         * bufferview_funcs.C (put_selection_at): adjust
889
890 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
891
892         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
893
894 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
895
896         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
897         nestings
898
899 2003-11-04  André Pönitz  <poenitz@gmx.net>
900
901         * cursor.[Ch]: restructure
902
903         * BufferView.[Ch]:
904         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
905
906         * iterators.[Ch] (asCursor): remove
907
908         * lfuns.h: remove LFUN_INSET_EDIT
909
910         * lyxfunc.C:
911         * tabular.C:
912         * text.C:
913         * text2.C:
914         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
915
916 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
917
918         * lyxfind.[Ch]: complete overhaul
919         * BufferView_pimpl.C:
920         * lyxfunc.C: adjust
921         * paragraph.[Ch] (insert): add
922
923 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
924
925         * BufferView.[Ch]:
926         * lyxtext.h:
927         * text.C: remove dead spellcheck code
928
929 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
930
931         * dispatchresult.h: add a val setter
932
933         * cursor.C (dispatch): use a tempvar for data_[i]
934
935 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
936
937         * PosIterator.[Ch]: compile fix
938
939 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
940
941         * text.C (cursorPar): deactivate the cursor cache
942
943 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
944
945         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
946
947 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
948
949         * text3.C (dispatch): adjust for new DisptchResult semantics.
950
951         * lyxfunc.C (dispatch): handle update when return from
952         Cursor::dispatch, adjust for new DispatchResult semantics.
953
954         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
955         DispatchResult(true) mean to not update. Add class functions for
956         setting dispatched and update, as well as reading.
957
958         * cursor.C (dispatch): don't handle update here
959
960 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
961
962         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
963         * trans_mgr.C: adjust
964
965         * paragraph_funcs.C (readParToken): exception safety
966
967         * lyxvc.h: store the vcs pointer in a scoped_ptr
968         * lyxvc.C: adjust
969
970         * lyxsocket.C (serverCallback): exception safety
971
972         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
973
974         * ispell.C (clone): make it return a auto_ptr
975
976         * factory.C (createInset): exception safety
977         (readInset): exception safety
978
979         * bufferlist.C (newBuffer): exception safety
980
981         * Thesaurus.C (Thesaurus): use initialization for aik_
982
983         * MenuBackend.C (expandToc): exception safety.
984
985 2003-11-03  André Pönitz  <poenitz@gmx.net>
986
987         * buffer.C:
988         * buffer.h:
989         * bufferview_funcs.C: remove getInsetFromId()
990
991         * lyxcursor.[Ch]:
992         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
993
994         * lyxfunc.C:
995         * text2.C:
996         * text3.C: adjust
997
998 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
999
1000         * PosIterator.C (distance, advance): new
1001         * bufferview_funcs.[Ch] (put_selection_at): new
1002         * iterators.[Ch] (lockPath): new
1003
1004 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1005
1006         * iterators.[Ch] (asPosIterator): added
1007         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1008         * PosIterator.[Ch]: added
1009
1010 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1011
1012         * text3.C:
1013         * lyxfunc.C:
1014         * cursor.C (dispatch):
1015         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1016
1017         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1018         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1019         contructor, add a class function dispatched. Remove operator>=
1020
1021 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1022
1023         * debug.C: only use the default constructor for debugstream
1024         (lyxerr) here.
1025
1026         * main.C (main): include debug.h and setup the lyxerr streambuf
1027         here.
1028
1029 2003-10-31  José Matos  <jamatos@lyx.org>
1030
1031         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1032
1033         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1034         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1035         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1036         * paragraph_pimpl.C (simpleTeXSpecialC):
1037         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1038         add LatexRunParams argument.
1039
1040         * exporter.C (Export): change call accordingly.
1041
1042         * latexrunparams.h: add new member to take care of the other backends.
1043 2003-10-30  José Matos  <jamatos@lyx.org>
1044
1045         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1046         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1047         factorise code for paragraph output.
1048         * buffer.[Ch]:
1049         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1050         move functions.
1051
1052 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1053
1054         * text3.C (dispatch):
1055         * lyxfunc.C (dispatch):
1056         * cursor.C (dispatch):
1057         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1058
1059         * dispatchresult.h: make the dispatch_result_t ctor explicit
1060
1061 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * sgml.[Ch]:
1064         * buffer.C: small refactoring of docbook stuff
1065
1066 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1067
1068         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1069         meaning.
1070
1071 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1074         operator dispatch_result_t, and operators for == != and >=
1075
1076         * cursor.C (dispatch): adjust for operator dispatch_result_t
1077         removal. comment out call to update
1078
1079         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1080
1081 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1082
1083         * text3.C:
1084         * text2.C:
1085         * text.C:
1086         * lyxtext.h:
1087         * lyxfunc.C:
1088         * cursor.C:
1089         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1090         (dispatch):
1091
1092         * dispatchresult.h: new file, DispatchResult broken out of
1093         insets/insetbase.h
1094
1095         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1096
1097 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1098
1099         * text.C (rowBreakPoint): put a hack inside #if 0
1100
1101 2003-10-28  André Pönitz  <poenitz@gmx.net>
1102
1103         * lyxtext.h:
1104         * metricsinfo.C:
1105         * paragraph_funcs.C:
1106         * rowpainter.C:
1107         * text.C:
1108         * text2.C: general cleanup (lots of small stuff)
1109
1110 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1111
1112         * text2.C (cursorEnd): simple fix to the "end key goes to one
1113         before the end on last row" bug
1114
1115 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1116
1117         * text.C (backspace): fix the "zombie characters"
1118
1119 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1120
1121         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1122
1123 2003-10-27  André Pönitz  <poenitz@gmx.net>
1124
1125         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1126
1127         * factory.C: handle new InsetPagebreak, InsetLine
1128
1129         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1130         and move handling into new InsetPagebreak, InsetLine
1131
1132         * BufferView_pimpl.C:
1133         * LyXAction.C:
1134         * ParagraphParameters.C:
1135         * ParameterStruct.h:
1136         * lyxfunc.C:
1137         * lyxtext.h:
1138         * paragraph.C:
1139         * paragraph.h:
1140         * paragraph_funcs.C:
1141         * paragraph_pimpl.C:
1142         * rowpainter.C:
1143         * text.C:
1144         * text2.C:
1145         * text3.C: adjust
1146
1147 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1148
1149         * text.C:
1150         * lyxrow_funcs.[Ch]:
1151         * Bidi.C:
1152         * paragraph.C:
1153         * lyxtext.h:
1154         * rowpainter.C:
1155         * text2.C:
1156         * text3.C: remove lastPos uses in favour of Row::endpos
1157
1158 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1159
1160         * undo.C (performUndoOrRedo): fix two crashes by setting a
1161         cursor by hand and reordering some calls. Use bv->lockInset instead
1162         of inset->edit because the latter loses cursor information
1163
1164 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1167         by Martin
1168         (rowBreakPoint): fix width. change point to point + 1.
1169         Add a missing check.
1170
1171 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * MenuBackend.C:
1174         * lyxfunc.C: fix (at least partly) the problems
1175         with the Nav menu and headers inside branch insets
1176         reported by Kayvan
1177
1178 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1179
1180         * paragraph.C (getChar): add strong asserts
1181
1182         * lyxrow_funcs.C (lastPos): remove hideous hack
1183
1184         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1185         (fill): adjust to that (avoid an infinite loop)
1186
1187 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1190
1191 2003-10-23  André Pönitz  <poenitz@gmx.net>
1192
1193         * RowList_fwd.h: change list<> to vector<> to gain speed
1194         after suggestion from Alfredo
1195
1196 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1197
1198         * lyxtext.h: move the bidi stuff from here...
1199         * text.C: and here
1200         * text2.C: and here
1201         * Bidi.[Ch]: ... to here
1202
1203 2003-10-23  André Pönitz  <poenitz@gmx.net>
1204
1205         * lyxtext.h:
1206         * text.C (isLastRow, isFirstRow): new functions
1207
1208         * paragraph.h: new width cache member
1209
1210         * rowpainter.C: replace RowList::iterator with Row & where possible
1211
1212         * lyxfunc.C: replace several view()->text with a single call
1213
1214         * toc.C: fix 'unused' warning
1215
1216 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1217
1218         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1219         when woring with stream::pos_type
1220         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1221
1222 2003-10-22  André Pönitz  <poenitz@gmx.net>
1223
1224         * lyxtext.h:
1225         * text.C: use Row & instead of RowList::iterator
1226
1227         * lyxrow.h: rename end() to endpos()
1228
1229         * rowpainter.C:
1230         * text.C:
1231         * text2.C: adjust
1232
1233 2003-10-22  Angus Leeming  <leeming@lyx.org>
1234
1235         * buffer.[Ch] (fully_loaded): new member function, returning true
1236         only when the file has been loaded fully.
1237         Used to prevent the premature generation of previews and by the
1238         citation inset to prevent computation of the natbib-style label.
1239
1240         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1241         templates are all set up.
1242
1243         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1244
1245 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1246
1247         * text.C: fixed an "oops" in the "is a bit silly"
1248         bug fix
1249
1250 2003-10-21  André Pönitz  <poenitz@gmx.net>
1251
1252         * FuncStatus.[Ch]: small stuff, whitespace
1253
1254         * lyxfont.[Ch]: operator<<() for debug reasons
1255
1256         * lyxfunc.C:
1257         * lyxrow_funcs.C:
1258         * lyxtext.h: whitespace, spelling
1259
1260         * paragraph.C: naming of variables
1261
1262         * text.C:
1263         * text2.C: small stuff
1264
1265
1266 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1267
1268         * text.C: (1) finish off the inset display() work;
1269         (2) fix the "is a bit silly" bug (accessing char
1270         past end of par).
1271
1272 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * text.C: re-introduce display() for insets, fixing the
1275         various bugs (stretch of line above, math inset
1276         positioning, ...)
1277
1278 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * text.C (rightMargin): remove spurious semicolon
1281
1282         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1283         1415)
1284
1285 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * text3.C: fix one crash due to wrong cursor def
1288
1289 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1290
1291         * vc-backend.C (scanMaster): make the regex static
1292
1293         * LaTeX.C (scanAuxFile): make the regexs static
1294
1295         * text3.C (doInsertInset, dispatch, dispatch):
1296         * text2.C (cursorUp, cursorDown):
1297         * text.C (selectNextWordToSpellcheck):
1298         * BufferView_pimpl.C (dispatch):
1299         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1300
1301 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302
1303         * lyxsocket.C: include <cerrno>
1304
1305 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * lyxfunc.C (dispatch): remove textcache stuff
1308
1309         * bufferlist.C (release): remove textcache stuff
1310         (closeAll): ditto
1311
1312         * TextCache.C: delete file
1313         * TextCache.h: delete file
1314
1315         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1316
1317         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1318         delete of the bv_->text.
1319         (resizeCurrentBuffer): remove texcache stuff
1320         (workAreaResize): ditto
1321
1322 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1323
1324         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1325         action.
1326
1327 2003-10-16  André Pönitz  <poenitz@gmx.net>
1328
1329         * lyxrow.[Ch]:
1330         * paragraph.h:
1331         * rowpainter.C:
1332         * text.C:
1333         * text2.C:
1334         * text3.C: speed up by storing y positions per paragraph plus per-row
1335         offset instead of having a 'full' y position in the row.
1336
1337 2003-10-15  André Pönitz  <poenitz@gmx.net>
1338
1339         * iterators.[Ch]:
1340         * iterators.[Ch]:
1341         * undo.[Ch]: make undo aware of inner insets
1342
1343 2003-10-14  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1346         static member functions LyX::ref() and LyX::cref.
1347         (lastfiles): new accessor functions for the new lastfiles_ member var.
1348         (addLyXView, views_): add a new LyXView to the list of views_.
1349         (updateInset): loop over all LyXViews to call their own updateInset
1350         member function, returning a pointer to the Buffer owning the inset.
1351
1352         * BufferView_pimpl.C (loadLyXFile):
1353         * MenuBackend.C (expandLastfiles):
1354         * bufferlist.C (MenuWrite, QuitLyX):
1355         lastfiles is no longer a global variable.
1356         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1357
1358         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1359         static function. Access through LyX::cref().emergencyCleanup().
1360
1361 2003-10-14  André Pönitz  <poenitz@gmx.net>
1362
1363         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1364
1365         * undo.[Ch]: restoring part of 'undo in insets'
1366
1367         * Makefile.am:
1368         * undo_funcs.[Ch]: merge with undo.[Ch]
1369
1370         * tabular.C: small cleansing stuff
1371
1372 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1373
1374         * paragraph_funcs.C (readParToken): report unknown insets as error
1375         boxes. Use the outer paragraph as location (also for unknown
1376         tokens).
1377
1378         * factory.C (readInset): do not abort on reading an unknown inset.
1379         Eat it and return 0.
1380
1381 2003-10-13  Angus Leeming  <leeming@lyx.org>
1382
1383         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1384
1385         * lyxrc.C: displayTranslator is now a function,
1386         declared in GraphicsTypes.h.
1387
1388 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1389
1390         * format.C: new placeholder $$a to pass the socket address.
1391
1392         * bufferlist.[Ch]: new function getBufferFromTmp.
1393
1394         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1395           files in the temporary dir.
1396
1397 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1398
1399         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1400
1401         * Makefile.am: add lyxsocket.[Ch].
1402
1403         * lyx_main.C (error_handler): handle SIGPIPE.
1404
1405 2003-10-13  André Pönitz  <poenitz@gmx.net>
1406
1407         * BufferView_pimpl.C:
1408         * lyxtext.h:
1409         * text.C:
1410         * text2.C:
1411         * text3.C:
1412         * undo_funcs.[Ch]: use paroffset_type instead of
1413           ParagraphList::iterators to prevent multiple conversion
1414           (and get a more robust interface)
1415
1416 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1417
1418         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1419         * lyxtext.h: ditto
1420         * text3.C (dispatch): ditto
1421
1422 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1425         move the onlyfile, use onlyfile instead of foundfile in a couple
1426         of places.
1427
1428         * DepTable.C (update): flush the error stream a bit more
1429
1430 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1431
1432         * lyxserver.C (callback): adjust
1433
1434         * lyxfunc.C (getStatus): add a missing brace in commented code
1435         (ensureBufferClean): reindent
1436         (dispatch): delete version taking a string
1437
1438 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1439
1440         * LaTeX.C (deplog): move found file handlig from here...
1441         (handleFoundFile): .. to new function here.
1442         (deplog): make sure to discover several files mentioned on the
1443         same log line.
1444
1445 2003-10-10  André Pönitz  <poenitz@gmx.net>
1446
1447         * lyxfunc.C:
1448         * lyxtext.h:
1449         * tabular.C:
1450         * text.C:
1451         * text2.C:
1452         * text3.C: fix some of the tabular crashes
1453
1454 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1455
1456         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1457
1458         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1459
1460 2003-10-09  André Pönitz  <poenitz@gmx.net>
1461
1462         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1463
1464         * BufferView.C:
1465         * BufferView_pimpl.C:
1466         * bufferview_funcs.C:
1467         * lyx_cb.C:
1468         * lyxcursor.C:
1469         * lyxfind.C:
1470         * lyxfunc.C:
1471         * lyxtext.h:
1472         * text.C:
1473         * text2.C:
1474         * text3.C:
1475         * text_funcs.[Ch]:
1476         * textcursor.[Ch]:
1477         * undo_funcs.C: adjust
1478
1479 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1480
1481         * text2.C (incrementItemDepth): new function, use a backtracking
1482         algorithm to discover the correct item depth.
1483         (resetEnumCounterIfNeeded): new function, use a backtracking
1484         algorithm to discover if counter reset is needed.
1485         (setCounter): use them. Simplify a bit. Add different labels for
1486         different item depths for itemize.
1487
1488         * paragraph.C (Paragraph): remove initialization of enumdepth
1489         (operator=): ditto
1490
1491         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1492         enumerate and itemize. Change the type of itemdepth to signed char.
1493
1494 2003-10-08  André Pönitz  <poenitz@gmx.net>
1495
1496         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1497           thing assignable.
1498         * text.C:
1499         * text2.C: adjust
1500
1501         * tabular.[Ch]: fix crash after 'row-insert'
1502
1503 2003-10-08  Angus Leeming  <leeming@lyx.org>
1504
1505         Fix doxygen warnings.
1506
1507         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1508         Remove CutAndPaste:: prefix from header file declaration.
1509
1510         * LColor.h (fill): remove LColor:: prefix from declaration.
1511
1512         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1513         use lyx::depth_type rather than Paragraph::depth_type so that
1514         header file and .C file match.
1515
1516         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1517
1518         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1519         * aspell.C: \file aspell_local.C -> \file aspell.C
1520         * gettext.C: \file gettext.C -> \file src/gettext.C
1521         * gettext.h: \file gettext.h -> \file src/gettext.h
1522         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1523         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1524         * text.C: \file text.C -> \file src/text.C
1525
1526         * toc.C: move comment so that doxygen is not confused.
1527
1528 2003-10-07  Angus Leeming  <leeming@lyx.org>
1529
1530         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1531
1532 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1533
1534         * aspell.C:
1535         * aspell_local.h: add forgotten std::string's.
1536
1537 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1538
1539         * LaTeXFeatures.C:
1540         * LyXAction.C:
1541         * factory.C:
1542         * lfuns.h:
1543         * lyxfunc.C:
1544         * text3.C: The Box patch. Fancybox support, minipage, parbox
1545
1546 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1547
1548         * CutAndPaste.h:
1549         * DepTable.h:
1550         * FloatList.h:
1551         * LaTeXFeatures.h:
1552         * ParagraphParameters.h:
1553         * TextCache.h:
1554         * Thesaurus.h:
1555         * bufferlist.h:
1556         * exporter.h:
1557         * importer.h:
1558         * lastfiles.h:
1559         * lyxfind.h:
1560         * lyxfont.h:
1561         * lyxlex.h:
1562         * lyxtextclasslist.h:
1563         * messages.h:
1564         * paragraph.h:
1565         * paragraph_pimpl.C:
1566         * textcursor.h: add <string> and other small fixes to make Lars'
1567         std::string patch compile with STLport.
1568
1569 2003-10-06  Angus Leeming  <leeming@lyx.org>
1570
1571         * LColor.h: Add missing #include <string>.
1572
1573 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * All most all file in all subdirs: Make <string> be the prefered
1576         way of getting to std::string, add using declarations.
1577
1578 2003-10-06  André Pönitz  <poenitz@gmx.net>
1579
1580         * metricsinfo.C: initialize LyXFont before changing attribute.
1581         (fixes the 'math in \emph is upright' bug)
1582
1583 2003-10-06  André Pönitz  <poenitz@gmx.net>
1584
1585         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1586
1587 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1588
1589         * graph.C:
1590         * paragraph_pimpl.C: Small fixes to build using STLport
1591
1592 2003-10-02  André Pönitz  <poenitz@gmx.net>
1593
1594         * lyxfunc.C:
1595         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1596
1597 2003-10-01  André Pönitz  <poenitz@gmx.net>
1598
1599         * factory.C: assert early
1600
1601 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * lyx_main.C: remove the global debug object
1604
1605         * debug.h: adjust for new debugstream
1606
1607         * debug.C: adjust for new debugstream and keep the global debug
1608         object here.
1609
1610 2003-09-22  Angus Leeming  <leeming@lyx.org>
1611
1612         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1613         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1614         an incomplete class LyXFont.
1615
1616 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1617
1618         * factory.C: bug fix in branches
1619
1620 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1621
1622         * lyxfunc.C (processKeySym): adjust
1623         (dispatch): adjust
1624         (dispatch): change arg name from ev to func, adjust
1625         (sendDispatchMessage): ditto
1626
1627         * lyx_main.C (defaultKeyBindings): adjust keybindings
1628         (deadKeyBindings): ditto
1629
1630         * kbsequence.C (addkey): return a FuncRequest
1631
1632         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1633
1634         * kbmap.C (bind): take a FuncRequest as arg, adjust
1635         (read): adjust
1636         (lookup): adjust
1637         (defkey): change to take a FuncRequest as arg, adjust
1638         (findbinding): take a FuncRequest as arg, adjust.
1639
1640         * funcrequest.h (operator=): added
1641
1642         * funcrequest.C (FuncRequest): default kb_action changed from
1643         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1644
1645         * buffer.C (dispatch): simplify
1646         (dispatch): adjust to take a FuncRequest as arg, adjust
1647
1648         * boost.C (assertion_failed): change assertion message slightly
1649
1650         * ToolbarBackend.C (read): simplify
1651
1652         * MenuBackend.C (binding): adjust call to findbinding, add a
1653         message if no binding is found.
1654         (read): simplify
1655         (expandToc): correct by adding a empty FuncRequest
1656
1657         * LyXAction.C: include <boost/assert.hpp>
1658         (isPseudoAction): delete function
1659         (LookupFunc): change name to...
1660         (lookupFunc): this. change return type to FuncRequest.
1661         (getActionName): take kb_action as arg, simplify
1662         (funcHasFlag): add an assert, simplify.
1663
1664 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * toc.C (action): return a FuncRequest, simplify
1667
1668         * lyxfunc.C (processKeySym): adjust
1669         (getStatus): delete version that takes an int.
1670         (getStatus): adjust
1671         (dispatch): delete version that takes action as int
1672         (dispatch): adjust
1673         (sendDispatchMessage): simplify and adjust
1674
1675         * funcrequest.C (getArg): take unsigned int as arg
1676
1677         * ToolbarBackend.C (read): adjust
1678         (add): delete version that takes func as a string.
1679         (getIton): take a FuncRequest as arg
1680
1681         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1682         action.
1683
1684         * MenuBackend.C (MenuItem): add a new construct that only takes a
1685         Kind, simplify the constructor use for submenus.
1686         (add): adjust
1687         (expandLastfiles): adjust
1688         (expandDocuments): adjust
1689         (expandFormats): adjust
1690         (expandFloatListInsert): adjust
1691         (expandFloatInsert): adjust
1692         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1693
1694         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1695         Remove class variables lyx_pseudo_map and lyx_arg_map
1696
1697         * LyXAction.C (searchActionArg): delete function
1698         (getPseudoAction): delete function
1699         (retrieveActionArg): delete function
1700         (LookupFunc): make it return kb_action, simplify.
1701         (getActionName): simplify
1702
1703         * factory.C (createInset): fix new bug
1704
1705 2003-09-19  Angus Leeming  <leeming@lyx.org>
1706
1707         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1708         masterFilename_ parameter in the include inset.
1709
1710         * factory.C (createInset): changes due to the changes to InsetInclude.
1711
1712 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1713
1714         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1715
1716 2003-09-18  Angus Leeming  <leeming@lyx.org>
1717
1718         * buffer.C:
1719         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1720         Inset::fillWithBibKeys.
1721         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1722
1723 2003-09-18  Angus Leeming  <leeming@lyx.org>
1724
1725         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1726         variables.
1727         (ctor): pass and store a 'Buffer const &'
1728         (buffer): new member function.
1729
1730         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1731         '*this' to the LaTeXFeatures ctor.
1732
1733 2003-09-18  Angus Leeming  <leeming@lyx.org>
1734
1735         * LColor.h:
1736         * lyxfont.C:
1737         * lyxfont.h:
1738         * lyxtext.h:
1739         * text.C: rename EnumLColor as LColor_color.
1740
1741 2003-09-18  Angus Leeming  <leeming@lyx.org>
1742
1743         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1744         remove #include "insets/insetbase.h" from cursor.h.
1745
1746 2003-09-18  Angus Leeming  <leeming@lyx.org>
1747
1748         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1749         InsetOld_code to remove #include "inset.h".
1750
1751         * iterators.C: add #include "insets/inset.h"
1752
1753 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1754
1755         * BufferView.C: remove more locking stuff that apparently doesn't
1756         do anything sensible.
1757
1758 2003-09-16  André Pönitz  <poenitz@gmx.net>
1759
1760         * paragraph.[Ch]:
1761         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1762           performance boost.
1763
1764 2003-09-16  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1767
1768         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1769         arg/return type.
1770
1771         * paragraph.h: remove #include "lyxfont.h". Forward declare
1772         LyXFont_size.
1773
1774 2003-09-16  Angus Leeming  <leeming@lyx.org>
1775
1776         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1777         of support/textutils.h.
1778         (isWord): move the contents of support/textutils.h's IsWordChar here.
1779
1780         * buffer.C:
1781         * lyxfind.C:
1782         * rowpainter.C:
1783         * text.C:
1784         * text2.C: add #include "paragraph.h".
1785
1786         * rowpainter.C:
1787         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1788
1789 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1790
1791         * main.C:
1792         * lyx_main.C:
1793         * lyx_cb.C:
1794         * buffer.C:
1795         * LaTeX.C: use namespace alias for lyx::support::os
1796
1797 2003-09-16  Angus Leeming  <leeming@lyx.org>
1798
1799         * bufferparams.C:
1800         * bufferview_funcs.C:
1801         * factory.C:
1802         * lyxfunc.C:
1803         * paragraph_pimpl.C:
1804         * rowpainter.C:
1805         * text.C: add #include "LColor.h".
1806
1807 2003-09-16  Angus Leeming  <leeming@lyx.org>
1808
1809         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1810         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1811         return LyXFont &.
1812         Store the FontBits::color variable as an int rather than as an
1813         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1814         file.
1815
1816         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1817         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1818         string calls together.
1819
1820         * lyxrc.C: add #include "LColor.h".
1821
1822 2003-09-15  Angus Leeming  <leeming@lyx.org>
1823
1824         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1825         a cow_ptr.
1826
1827 2003-09-15  Angus Leeming  <leeming@lyx.org>
1828
1829         * LColor.h: add an EnumLColor wrapper for LColor::color.
1830
1831         * lyxfont.[Ch] (color, setColor, realColor):
1832         * lyxtext.h, text.C (backgroundColor):
1833         pass EnumLColor args to/from the functions, rather than LColor::color
1834         ones.
1835
1836         * lyxfont.h:
1837         * lyxtext.h: forward declare EnumLColor.
1838
1839         * lyx_main.C: add #include "LColor.h".
1840
1841 2003-09-15  Angus Leeming  <leeming@lyx.org>
1842
1843         * .cvsignore: add lyx-gtk.
1844
1845 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * Chktex.C
1848         * LaTeX.C
1849         * LaTeXFeatures.C
1850         * ParagraphParameters.C
1851         * Spacing.C
1852         * buffer.C
1853         * bufferparams.C
1854         * bufferview_funcs.C
1855         * chset.C
1856         * counters.C
1857         * funcrequest.C
1858         * lyxfont.C
1859         * lyxgluelength.C
1860         * lyxlength.C
1861         * paragraph.C
1862         * paragraph_funcs.C
1863         * text3.C
1864         * vc-backend.C: remove usage of STRCONV
1865
1866 2003-09-15  Angus Leeming  <leeming@lyx.org>
1867
1868         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1869         explicitly define the color passed to the painter.
1870
1871 2003-09-15  Angus Leeming  <leeming@lyx.org>
1872
1873         * bufferparams.C (BufferParams): reorder member initializers to avoid
1874         compiler warning.
1875
1876 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1879         * text.C (updateRowPositions): remove an unusual nop
1880
1881 2003-09-12  André Pönitz  <poenitz@gmx.net>
1882
1883         * BufferView_pimpl.C:
1884         * Bullet.C:
1885         * layout.h:
1886         * lyxfunc.C:
1887         * lyxlayout.[Ch]:
1888         * lyxtextclass.C:
1889         * rowpainter.C:
1890         * text.C:
1891         * text2.C:
1892         * Counters.[Ch]: finish the 'automatic counters' job
1893
1894 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1895
1896         * aspell.C: include <boost/assert.cpp> (compile fix)
1897
1898 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1899
1900         * boost.C (assertion_failed): use lyx::support::abort instead of
1901         assert.
1902
1903 2003-09-10  Angus Leeming  <leeming@lyx.org>
1904
1905         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1906         with their _fwd progeny.
1907
1908 2003-09-09  Angus Leeming  <leeming@lyx.org>
1909
1910         134 files throughtout the source tree: replace 'using namespace abc;'
1911         directives with the appropriate 'using abc::xyz;' declarations.
1912
1913 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1914
1915         * boost.C (emergencyCleanup): moved here from LAssert.c
1916         (assertion_failed): new function, called by BOOST_ASSERT
1917
1918         * several files: change Assert to BOOST_ASSERT
1919
1920 2003-09-09  Angus Leeming  <leeming@lyx.org>
1921
1922         * buffer.[Ch]: Add an Impl class and move Buffer's member
1923         variables into it. As a result move several header files out of
1924         buffer.h.
1925
1926         Add header files to lots of .C files all over the tree as a result.
1927
1928 2003-09-09  Angus Leeming  <leeming@lyx.org>
1929
1930         * buffer.[Ch]: make Buffer's member variables private. Add
1931         accessor functions.
1932
1933         Lots of changes all over the tree as a result.
1934
1935 2003-09-08  Angus Leeming  <leeming@lyx.org>
1936
1937         * graph.C: #include <config.h>.
1938
1939 2003-09-08  Angus Leeming  <leeming@lyx.org>
1940
1941         * BranchList.C:
1942         * BufferView.C:
1943         * BufferView_pimpl.C:
1944         * CutAndPaste.C:
1945         * DepTable.C:
1946         * LaTeX.C:
1947         * LaTeXFeatures.C:
1948         * LyXAction.C:
1949         * MenuBackend.C:
1950         * TextCache.C:
1951         * aspell.C:
1952         * buffer.C:
1953         * bufferlist.C:
1954         * changes.C:
1955         * chset.C:
1956         * converter.C:
1957         * counters.C:
1958         * debug.C:
1959         * graph.C:
1960         * ispell.C:
1961         * lyx_cb.C:
1962         * lyxfind.C:
1963         * lyxfunc.C:
1964         * lyxlex_pimpl.C:
1965         * lyxrc.C:
1966         * lyxrow.C:
1967         * paragraph.C:
1968         * rowpainter.C:
1969         * texrow.C:
1970         * text.C:
1971         * text2.C:
1972         * toc.C: remove redundant using directives.
1973
1974 2003-09-07  Angus Leeming  <leeming@lyx.org>
1975
1976         * LaTeXFeatures.h: remove #include "support/types.h".
1977         * ToolbarBackend.h: remove #include <algorithm>.
1978         * changes.h: remove #include <ctime>.
1979         * debug.h: remove #include <iosfwd>.
1980         * graph.h: remove #include "support/std_string.h".
1981         * lyx_main.h: remove #include <csignal>.
1982         * lyxlex_pimpl.h: remove #include <fstream>.
1983         * sgml.h: remove #include <algorithm>, <utility>.
1984         * toc.h: remove #include "support/std_ostream.h".
1985         Add #include <iosfwd>.
1986
1987 2003-09-07  Angus Leeming  <leeming@lyx.org>
1988
1989         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1990
1991         * converter.h: forward declare LatexRunParams.
1992         * encoding.h: remove #include "lyxrc.h".
1993         * lyxtext.h: remove #include "LColor.h".
1994         * lyxtextclass.h: remove #include "support/types.h".
1995         * trans.h: remove #include "tex-accent.h".
1996         * trans_mgr.h: remove #include "tex-accent.h".
1997         * insets/inset.h: remove #include "support/types.h", <vector>.
1998         * insets/insetcollapsable.h: remove #include "LColor.h".
1999         * insets/insetinclude.h: remove #include "dimension.h".
2000         * insets/insetlatexaccent.h: remove #include "dimension.h".
2001         * insets/insetoptarg.h:: remove #include "insettext.h".
2002         * insets/insettext.h: remove #include "dimension.h",
2003         <boost/shared_ptr.hpp>
2004
2005         * insets/renderers.h: add #include "dimension.h".
2006         * insets/updatableinset.h: add #include "support/types.h".
2007
2008         * many .C files: Associated changes.
2009
2010 2003-09-06  Angus Leeming  <leeming@lyx.org>
2011
2012         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2013         one, inside testInvariant.
2014
2015         * PrinterParams.C: new file.
2016         * PrinterParams.[Ch]: move the function bodies out of line.
2017
2018 2003-09-06  Angus Leeming  <leeming@lyx.org>
2019
2020         * ParagraphParameters.h: forward declare ParameterStruct rather than
2021         including its header file.
2022         (depth): moved out-of-line.
2023
2024 2003-09-06  Angus Leeming  <leeming@lyx.org>
2025
2026         * BufferView_pimpl.h:
2027         * kbmap.h:
2028         * kbsequence.h:
2029         * lyxfunc.h: forward declare LyXKeySym rather than
2030         #include "frontends/LyXKeySym.h".
2031
2032         * BufferView_pimpl.C:
2033         * kbmap.C:
2034         * kbsequence.C:
2035         * lyxfunc.C: associated changes.
2036
2037 2003-09-06  Angus Leeming  <leeming@lyx.org>
2038
2039         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2040         As a result, can remove the #include "insets/inset.h" from BufferView.h
2041
2042 2003-09-06  Angus Leeming  <leeming@lyx.org>
2043
2044         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2045         As a result, can remove the #include "insets/inset.h" from BufferView.h
2046
2047 2003-09-06  Angus Leeming  <leeming@lyx.org>
2048
2049         * buffer_funcs.C:
2050         * buffer.h:
2051         * bufferlist.C:
2052         * BufferView.C:
2053         * bufferview_funcs.C:
2054         * BufferView_pimpl.C:
2055         * CutAndPaste.C:
2056         * lyx_cb.C:
2057         * lyxfunc.C:
2058         * paragraph.h:
2059         * ParagraphParameters.C:
2060         * tabular.C:
2061         * text3.C:
2062         * toc.C:
2063         * undo_funcs.C:
2064         * frontends/controllers/ControlDocument.C:
2065         * insets/insetcaption.C: rearrange the #includes into some sort of
2066         coherent order.
2067
2068         * buffer.h: remove #includes ErrorList.h, undo.h
2069
2070 2003-09-06  Angus Leeming  <leeming@lyx.org>
2071
2072         * support/types.h: add a 'depth_type' typedef, used to store the
2073         nesting depth of a paragraph.
2074
2075         * paragraph.h:
2076         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2077         defining explicitly.
2078
2079         * buffer.h:
2080         * paragraph_funcs.h:
2081         * ParagraphParameters.h:
2082         * sgml.h: use lyx::depth_type rather than Paragraph or
2083         ParameterStruct's depth_type.
2084
2085         * buffer.h
2086         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2087
2088         * BufferView.C:
2089         * BufferView_pimpl.C:
2090         * CutAndPaste.C:
2091         * ParagraphParameters.C:
2092         * buffer_funcs.C:
2093         * bufferlist.C:
2094         * bufferview_funcs.C:
2095         * lyx_cb.C:
2096         * lyxfunc.C:
2097         * tabular.C:
2098         * text3.C:
2099         * toc.C:
2100         * undo_funcs.C:
2101         * frontends/LyXView.C:
2102         * frontends/controllers/ControlDocument.C:
2103         * frontends/controllers/ControlErrorList.C:
2104         * insets/insetbibitem.C:
2105         * insets/insetbranch.C:
2106         * insets/insetcaption.C:
2107         * insets/insetcollapsable.C:
2108         * insets/insetenv.C:
2109         * insets/insetert.C:
2110         * insets/insetfloat.C:
2111         * insets/insetfoot.C:
2112         * insets/insetfootlike.C:
2113         * insets/insetnewline.C:
2114         * insets/insetquotes.C:
2115         * insets/insettabular.C:
2116         * insets/insettext.C:
2117         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2118
2119         * frontends/controllers/ControlChanges.C: #include "changes.h".
2120
2121 2003-09-06  Angus Leeming  <leeming@lyx.org>
2122
2123         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2124         than #including paragraph.h.
2125
2126         * ParagraphList.h:
2127         * RowList.h: deleted. Superfluous.
2128
2129         * CutAndPaste.h:
2130         * iterators.h:
2131         * lyxcursor.h:
2132         * lyxtext.h:
2133         * text_funcs.h:
2134         * undo.h:
2135         * undo_funcs.h:
2136         * insets/inset.h:
2137         * insets/insettext.h: use ParagraphList_fwd.h rather than
2138         ParagraphList.h.
2139
2140         * paragraph.h: don't forward declare ParagraphList.
2141
2142         * buffer.h:
2143         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2144         rather than ParagraphList.h. paragraph.h is still needed for the
2145         Paragraph::depth_type parameters.
2146
2147         * textcursor.h: enable it to compile stand-alone in light of the
2148         above changes.
2149
2150         * bufferview_funcs.C:
2151         * iterators.C:
2152         * lyxfunc.C:
2153         * lyxrow_funcs.C:
2154         * paragraph.C:
2155         * rowpainter.C:
2156         * text.C:
2157         * text2.C:
2158         * text3.C:
2159         * text_funcs.C:
2160         * textcursor.C:
2161         * undo.C:
2162         * frontends/controllers/ControlParagraph.C:
2163         * frontends/controllers/ControlTabular.C:
2164         * insets/insetmarginal.C:
2165         * insets/insetminipage.C:
2166         * insets/insetnote.C:
2167         * insets/insetoptarg.C: add header files needed to compile again.
2168
2169 2003-09-06  Angus Leeming  <leeming@lyx.org>
2170
2171         * RowList_fwd.h: new file, forward-declaring Row rather than
2172         #including lyxrow.h.
2173
2174         * lyxrow_funcs.h:
2175         * lyxtext.h:
2176         * paragraph.h:
2177         * insets/insettext.h: use it instead of RowList.h
2178
2179         * bufferview_funcs.C:
2180         * lyxfunc.C:
2181         * lyxrow_funcs.C:
2182         * paragraph.C:
2183         * rowpainter.C:
2184         * text.C:
2185         * text2.C:
2186         * text3.C: #include "RowList.h".
2187
2188 2003-09-05  Angus Leeming  <leeming@lyx.org>
2189
2190         * factory.C (createInset):
2191         * vspace.C (c-tor): replace sscanf call with an istringstream.
2192         * ispell.C: re-add missing HP/UX headers.
2193         * lyxserver.C: re-add missing  os2 headers.
2194
2195 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2196
2197         * BranchList.C:
2198         * graph.C:
2199         * ispell.C:
2200         * lastfiles.C:
2201         * lyx_cb.C:
2202         * lyxserver.C:
2203         * texrow.C:
2204         * text3.C: re-add missing system headers, needed for 2.95.2.
2205
2206 2003-09-05  Angus Leeming  <leeming@lyx.org>
2207
2208         Changes most place everywhere due to the removal of using directives
2209         from support/std_sstream.h.
2210
2211 2003-09-05  Angus Leeming  <leeming@lyx.org>
2212
2213         Replace LString.h with support/std_string.h,
2214         Lsstream.h with support/std_sstream.h,
2215         support/LIstream.h with support/std_istream.h,
2216         support/LOstream.h with support/std_ostream.h.
2217
2218         Changes resulting throughout the tree.
2219
2220 2003-09-05  Angus Leeming  <leeming@lyx.org>
2221
2222         * sgml.h: ensure that the header file can be compiled stand-alone.
2223         * *.C: strip out redundant #includes. (320 in total.)
2224
2225 2003-09-04  Angus Leeming  <leeming@lyx.org>
2226
2227         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2228         here (from getPackages).
2229
2230         * debug.[Ch]: add a new EXTERNAL tag.
2231
2232 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2233
2234         * text2.C (cursorEnd): simplify
2235         (setCursor): adjust
2236         (getColumnNearX): adjust
2237
2238         * text.C (computeBidiTables): adjust
2239         (fill): adjust
2240
2241         * rowpainter.C (paintChars): adjust
2242         (paintSelection): adjust
2243         (paintChangeBar): adjust
2244         (paintText): adjust
2245
2246         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2247         lastPos instead.
2248         (numberOfSeparators): adjust
2249
2250 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2251
2252         * LyXAction.C:
2253         * box.[Ch]:
2254         * lfuns.h:
2255         * lyxfunc.C:
2256         * text3.C: Restricts the mouse click functionality
2257         of insets like bibtex, include, toc and floatlist to the visible
2258         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2259         up the dialogs. Cursor has to be in front of the inset (i.e.
2260         start of row) for this to function.
2261
2262 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2263
2264         * bufferview_funcs.C (currentState): output row information
2265
2266 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2267
2268         * bufferview_funcs.C (currentState): output paragraph position
2269
2270 2003-09-04  Angus Leeming  <leeming@lyx.org>
2271
2272         * FloatList.h: move out #include "Floating.h".
2273         * LaTeX.h: move out #include "DepTable.h".
2274         * LyXAction.h: move out #include "funcrequest.h".
2275         * buffer.h: move out #include "author.h", "iterators.h".
2276         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2277         * lyx_main.h: move out #include "errorlist.h".
2278         * lyxfunc.h: move out #include "FuncStatus.h".
2279         * lyxtext: move out #include "lyxcursor.h".
2280         * paragraph_pimpl.h: move out #include "counters.h".
2281
2282 2003-09-03  Angus Leeming  <leeming@lyx.org>
2283
2284         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2285         preamble_snippets list, enabling us to add snippets to the preamble
2286         only if the snippet was not there already.
2287
2288 2003-09-04  Angus Leeming  <leeming@lyx.org>
2289
2290         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2291
2292 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2295         update
2296
2297 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * BranchList.C: point fix, earlier forgotten
2300
2301 2003-09-02  Angus Leeming  <leeming@lyx.org>
2302
2303         * box.C (contains): renamed from 'contained' after a fantastic
2304         amount of hot air.
2305
2306 2003-09-02  John Levon  <levon@movementarian.org>
2307
2308         * BufferView.C:
2309         * lyxcursor.h:
2310         * lyxcursor.C:
2311         * lyxfunc.C:
2312         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2313
2314 2003-09-02  John Levon  <levon@movementarian.org>
2315
2316         * text2.C: simplification of cursorEnd(), including partial
2317         fix for bug 1376
2318
2319 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2320
2321         * buffer.C (readFile): add a space
2322
2323 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2324
2325         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2326
2327 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * buffer.C (readFile): new function, take a filename and a
2330         ParagraphList::iterator
2331         (readFile): adjust
2332         (readFile): adjust, make it private. don't use setStream, make
2333         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2334         always contain the filename.
2335
2336         * BufferView.C (insertLyXFile): simplify and make it work for
2337         gzipped files.
2338
2339 2003-08-30  John Levon  <levon@movementarian.org>
2340
2341         * Makefile.am: fix dist (from Kayvan)
2342
2343 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * most files: change to use const Buffer refs
2346
2347 2003-08-27  André Pönitz  <poenitz@gmx.net>
2348
2349         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2350         on top of ownerPar().
2351
2352 2003-08-27  John Levon  <levon@movementarian.org>
2353
2354         * funcrequest.C: properly initialise POD members
2355
2356 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2357
2358         * lyxtext.h (top_y): move top_y from here
2359         * text.C:
2360         * text2.C:
2361         * text3.C:
2362         * BufferView.[Ch]:
2363         * BufferView_pimpl.[Ch]: to here
2364         * frontends/screen.C:
2365         * insets/insettabular.C:
2366         * insets/insettext.C: adjust
2367         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2368
2369 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2370
2371         * BufferView.[Ch]:
2372         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2373
2374 2003-08-26  André Pönitz  <poenitz@gmx.net>
2375
2376         * paragraph_func.[Ch] (outerPar): new function
2377
2378         * paragraph.C:
2379         * paragraph_funcs.C:
2380         * paragraph_funcs.h:
2381         * paragraph_pimpl.C:
2382         * text2.C: remove Inset::par_owner
2383
2384 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2385
2386         * lyxrow_funcs.C:
2387         * lyxtext.h:
2388         * text.C:
2389         * text2.C: eliminates the needFullRow/display() stuff
2390         altogether, putting the logic in metrics/draw in the insets.
2391
2392 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2393
2394         * text2.C (redoParagraphInternal, redoParagraphs):
2395         * text.C (redoParagraph): add a call to updateRowPositions at the
2396         end of each 'metrics-like' call. Remove all others.
2397         (getRow): remove the 'y-computing' version.
2398         (getRowNearY): do not compute nor return the real y. Solve the
2399         'y < 0' problem and simplify.
2400
2401 2003-08-22  Angus Leeming  <leeming@lyx.org>
2402
2403         * *.[Ch]: clean-up of licence and author blurbs.
2404         Also move config.h out of a few .h files and into a few .C files.
2405
2406 2003-08-22  André Pönitz  <poenitz@gmx.net>
2407
2408         * lyxrow.[Ch]: add x_ and *fill_ members
2409
2410         * lyxtext.h:
2411         * text.C:
2412         * rowpainter.C:
2413         * text2.C: adjust/remove prepareToPrint() calls
2414
2415 2003-08-22  André Pönitz  <poenitz@gmx.net>
2416
2417         * lyxrow.[Ch]: add  end_ member
2418
2419         * lyxrow_funcs.C: use LyXRow::end_
2420
2421         * lyxtext.h (singleWidth): add LyXFont parameter
2422
2423         * rowpainter.C:
2424         * text2.C: adjust LyXText::singleWidth() calls
2425
2426         * text.C (redoParagraph): simplify row breaking logic
2427
2428
2429 2003-08-19  André Pönitz  <poenitz@gmx.net>
2430
2431         * funcrequest.C: initialize button_ member
2432
2433         * text3.C:
2434         * rowpainter.[Ch]: interface consolidation
2435
2436 2003-08-18  André Pönitz  <poenitz@gmx.net>
2437
2438         * BufferView.C:
2439         * BufferView_pimpl.C:
2440         * lyxfind.C:
2441         * paragraph_funcs.C:
2442         * rowpainter.C:
2443         * text3.C: remove LyXScreen::draw() and fitCursor calls
2444
2445         * BranchList.h: remove spurious semicolons
2446
2447         * MenuBackend.C: fix branchlist related crash
2448
2449 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2450
2451         * BranchList.[Ch]:
2452         * InsetList.[Ch]:
2453         * LColor.[Ch]:
2454         * LyXAction.C:
2455         * Makefile.am:
2456         * MenuBackend.[Ch]:
2457         * bufferparams.[Ch]:
2458         * factory.C:
2459         * lfuns.h:
2460         * lyxfunc.C:
2461         * text3.C: implements the 'branch inset'
2462         idea. This allows the output of various versions of a document
2463         from a single source version, selectively outputing or suppressing
2464         output of parts of the text.
2465         This implementation contains a 'branch list editor' in a separate
2466         tab of the document settings dialog. Branches are user definable
2467         and have a "display colour" to distinguish them on-screen.
2468
2469         ColorHandler was somewhat cleaned up.
2470         (1) make possible a dynamically growing LColor list by allowing
2471         the graphic context cache to grow along (vector);
2472         (2) eliminate an IMHO unnecessary step in colour allocation.
2473
2474 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2475
2476         * BufferView_pimpl.C: compile fix
2477
2478 2003-08-15  André Pönitz  <poenitz@gmx.net>
2479
2480         * rowpainter.C: remove extra metrics calls
2481
2482         * lyxtext.h: merge the two constructors into a single one,
2483           pass reference to owner's par list
2484
2485         * BufferView_pimpl.C:
2486         * text.C:
2487         * text2.C: adjust
2488
2489 2003-08-15  André Pönitz  <poenitz@gmx.net>
2490
2491         * lyxrow_funcs.[Ch]:
2492         * lyxtext.h:
2493         * paragraph.h:
2494         * paragraph_funcs.C:
2495         * rowpainter.C:
2496         * text.C:
2497         * text2.C:
2498         * text3.C:
2499         * text_funcs.C: split LyXText::rowlist_ into individual
2500         Paragraph::rows_ chunks
2501
2502         * BufferView.[Ch]:
2503         * BufferView_pimpl.[Ch]:
2504         * lyxfind.C:
2505         * lyxtext.h:
2506         * text3.C: remove toggleSelection()
2507
2508 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2509
2510         * bufferlist.C: beautify two alerts (shorter text of buttons)
2511         * buffer.C: Remove redundant ' ' from message
2512         * tabular.h:
2513         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2514         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2515         rename VALIGN_CENTER to VALIGN_MIDDLE
2516
2517 2003-08-11  André Pönitz  <poenitz@gmx.net>
2518
2519         * lyxtext.h (getPar):
2520         * text.C: new function
2521
2522 2003-08-11  André Pönitz  <poenitz@gmx.net>
2523
2524         * Makefile.am:
2525         * tracer.[Ch]: remove unneeded files
2526
2527         * InsetList.[Ch]: remove resizeInsetsLyXText()
2528
2529         * lyxtext.h:
2530         * text.C:
2531         * text2.C:
2532         * text3.C: merge insertParagraphs() and appendParagraph()
2533         remove breakAgain(), update()
2534
2535         * BufferView_pimpl.[Ch]:
2536         * bufferview_funcs.[Ch]:
2537         * lyxfunc.C:
2538         * paragraph.[Ch]:
2539         * rowpainter.C:
2540         * tabular.C: adjust after text & InsetList changes.
2541
2542 2003-08-08  André Pönitz  <poenitz@gmx.net>
2543
2544         * text.C (insertChar, backspace): replace rowlist fiddling
2545         with rebreak of full par
2546
2547         * lyxtext.h:
2548         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2549         checkParagraph, updateInset): removed
2550
2551 2003-08-07  André Pönitz  <poenitz@gmx.net>
2552
2553         * paragraph.C:
2554         * text3.C: merge some LFUN handlers, remove dead code
2555
2556 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2557
2558         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2559
2560 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * text2.C (DEPM): fix part of bug 1255 and 1256
2563
2564 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * BufferView_pimpl.C (workAreaDispatch): change to use
2567         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2568         that are no mouse related.
2569
2570 2003-08-05  André Pönitz  <poenitz@gmx.net>
2571
2572         * BufferView.[Ch]:
2573         * BufferView_pimpl.[Ch]:
2574         * bufferview_funcs.C:
2575         * text2.C:
2576         * text3.C: rip out "deep update"
2577
2578         * textcursor.[Ch] (last_sel_cursor): remove unused member
2579
2580 2003-08-04  André Pönitz  <poenitz@gmx.net>
2581
2582         * BufferView.[Ch]:
2583         * BufferView_pimpl.[Ch]:
2584         * ParagraphParameters.C:
2585         * bufferview_funcs.C:
2586         * lyx_cb.C:
2587         * lyxfind.C:
2588         * lyxfunc.C:
2589         * text.C:
2590         * text2.C:
2591         * text3.C: replace "complicated" BufferView::update(...) calls with
2592         simpler ones.
2593
2594         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2595
2596 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2597
2598         * Makefile.am (lyx_SOURCES): add paper.h
2599
2600 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2601
2602         * Makefile.am: move things around so that both lyx-qt and
2603         lyx-xforms can be built (according to --with-frontend). Then lyx
2604         is a symbolic link to lyx-[firstfrontend]
2605
2606 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2607
2608         * Always use std::endl with lyxerr
2609
2610 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2611
2612         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2613
2614 2003-08-01  André Pönitz  <poenitz@gmx.net>
2615
2616         * BufferView.[Ch]:
2617         * BufferView_pimpl.[Ch]:
2618         * lyxfunc.C:
2619         * text3.C: merge BufferView::repaint() and BufferView::update()
2620
2621 2003-08-01  José Matos  <jamatos@lyx.org>
2622
2623         * buffer.[Ch]: file_format is no longer a buffer data element.
2624
2625 2003-08-01  André Pönitz  <poenitz@gmx.net>
2626
2627         * BufferView.C:
2628         * lyxtext.h:
2629         * text.C:
2630         * text2.C: make redoParagraph more independent of current cursor
2631
2632         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2633         * text.C:
2634         * text2.C: remove unneeded members
2635
2636 2003-07-30  André Pönitz  <poenitz@gmx.net>
2637
2638         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2639
2640         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2641           create a single function...
2642
2643         * paragraph_funcs.C (moveItem): ... here.
2644
2645         * text.C:
2646           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2647
2648 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2649
2650         * LColor.[Ch]: Add comment and greyedout logical colors.
2651
2652 2003-07-30  André Pönitz  <poenitz@gmx.net>
2653
2654         * tabular.C: don't use Assert too heavily. This crashes where it
2655           shouldn't
2656
2657 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2660         is disabled (bug 1232)
2661
2662 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2663
2664         * factory.C: limited 'arg' scope
2665
2666 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2667
2668         * factory.C: fixed Note submenu issues
2669
2670 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2671
2672         * factory.C: submenu for Note/Comment/Greyedout
2673
2674 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2675
2676         * lyx_main.C (LyX):
2677         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2678
2679 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2680
2681         * LaTeXFeatures.C:
2682         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2683         greyedout. Patch provided by Jürgen Spitzmüller.
2684
2685 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2686
2687         * kbmap.C (read): fix error message when reading bind files
2688
2689 2003-07-29  Angus Leeming  <leeming@lyx.org>
2690
2691         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2692         certainly does not do what it purports to do. I am doing it, and
2693         us, a favour by killing it.
2694
2695 2003-07-28  José Matos  <jamatos@lyx.org>
2696
2697         * buffer.C (readBody, do_writeFile):
2698         * paragraph.C(readParagraph): \end_document replaces \the_end.
2699
2700 2003-07-29  André Pönitz  <poenitz@gmx.net>
2701
2702         * BufferView.[Ch]:
2703         * BufferView_pimpl.[Ch]:
2704         * lyxfunc.C:
2705         * text2.C:
2706         * text3.C:
2707         * textcursor.[Ch]: remove toggleToggle & Co
2708
2709 2003-07-28  José Matos  <jamatos@fep.up.pt>
2710
2711         * buffer.C (readParagraph):
2712         * params_func (readParToken, readParagraph):
2713         * paragraph.C (write): \layout -> \begin_layout.
2714
2715 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * lyxlex_pimpl.C (setFile): clean up slightly.
2718
2719         * bufferparams.h: add compressed var
2720
2721         * buffer_funcs.C (readFile): adjust for LyXLex change
2722         (newFile): ditto + simplify
2723
2724         * buffer.C (writeFile): handle writing of compressed files
2725
2726         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2727         Check if the file is compressed and set a bufferparm if so.
2728
2729         * Makefile.am (lyx_LDADD): remove explicit -lz
2730
2731 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2732
2733         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2734         makeDocBookFile): put the real LyX version in the first line of
2735         the file
2736
2737         * version.h:
2738         * version.C.in: remove lyx_docversion
2739
2740         * tabular.C (write_attribute): add a template-based version to
2741         write enums properly
2742
2743 2003-07-28  André Pönitz  <poenitz@gmx.net>
2744
2745         * lyxtext.h:
2746         * text.C:
2747         * text2.C:
2748         * text3.C: use doubles again for x-coordinates. They are needed.
2749
2750 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * messages.C (getLocaleDir): use lyx_localedir()
2753
2754         * lyxlex_pimpl.C (setFile): compress stuff
2755
2756         * buffer.C (writeFile): add some compression stuff
2757         (do_writeFile): new func, dont call expliti close... will this
2758         breake anything?
2759
2760         * Makefile.am (lyx_LDADD): add -lz
2761
2762 2003-07-28  José Matos  <jamatos@fep.up.pt>
2763
2764         * buffer.C: increment file format.
2765         * paragraph_funcs (readParagraph, readParToken):
2766         * paragraph.C (readParagraph): add \end_layout.
2767
2768 2003-07-27  Angus Leeming  <leeming@lyx.org>
2769
2770         * Makefile.am: remove special casing for configure-time setting of
2771         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2772
2773         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2774         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2775
2776 2003-07-26  André Pönitz  <poenitz@gmx.net>
2777
2778         * paragraph_func.[Ch]:
2779         * paragraph.C (realizeFont): inline it whereever it is used
2780
2781         * rowpainter.C:
2782         * text.C:
2783         * text2.C:
2784         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2785
2786
2787 2003-07-26  André Pönitz  <poenitz@gmx.net>
2788
2789         *       lyxtext.h:
2790         * text.C:
2791         * text2.C: get rid of LyXText::need_break_row
2792
2793 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * toc.[Ch]: put namespace toc inside namespace lyx
2796
2797         * MenuBackend.C (expandToc2): adjust for lyx::toc
2798         (expandToc): ditto
2799
2800         * lyxfunc.C (dispatch): adjust for lyx::find
2801
2802         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2803         lyx::find instead. Reorganize a bit.
2804         (LyXReplace): rename to replace
2805         (LyXFind): rename to find
2806
2807         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2808         (dispatch): ditto
2809
2810 2003-07-26  André Pönitz  <poenitz@gmx.net>
2811
2812         * text.C (setHeightOfRow): restrict scope of temporary variable
2813
2814         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2815           code (never has been used?)
2816
2817 2003-07-27  Asger Alstrup  <alstrup@local>
2818
2819         * text.C (fill): Optimise algorithm to exploit that we can reuse
2820         the LyXFont for many characters.
2821         (setHeightOfRow): Same thing.
2822         (rowBreakPoint): Same thing.
2823
2824 2003-07-26  Asger Alstrup  <alstrup@local>
2825
2826         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2827
2828         * text.C (singleWidth): Spurious font copying in hot-spot
2829         singleWidth avoided. Reorder tests for arabic for efficiency.
2830
2831         * text.C (fill): handle empty paragraphs better.
2832
2833 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2834
2835         * ispell.C:
2836         * encoding.h: add includes
2837
2838         * lyxrc.C: remove reading of bind files
2839
2840         * lyx_main.C (init): setup bindings and menus only if we have a
2841         gui.
2842
2843         * kbmap.C (read): new method. Do the actual reading of bind
2844         files.
2845
2846         * converter.C (dvipdfm_options):
2847         * bufferparams.C:
2848         * lyxrc.C (read):
2849         (output): adapt PAPER_* enums.
2850
2851         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2852
2853         * bufferparams.h: remove paper-related enums from there
2854
2855         * paper.h: New file. A trivial header file to hold paper-related
2856         enums. It should later expand to contain many paper-related
2857         horrors access.
2858
2859         * lyxrc.C: declare extern displayTranslator
2860
2861 2003-07-27  José Matos  <jamatos@fep.up.pt>
2862
2863         * tabular.[Ch] (linuxdoc): add support for tables and figures
2864         (linuxdoc).
2865
2866 2003-07-27  José Matos  <jamatos@fep.up.pt>
2867
2868         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2869         consistency in both functions.
2870         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2871
2872 2003-07-26  Asger Alstrup  <alstrup@local>
2873
2874         * rowpainter.C (paintRows): Change algorithm to work directly on
2875         the insets rather than asking every character in the document
2876         whether its an inset.
2877
2878 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * buffer.C (openFileWrite): factorize some code
2881
2882 2003-07-26  Angus Leeming  <leeming@lyx.org>
2883
2884         * lyx_cb.C:
2885         * lyx_main.[Ch]: replace occurances of system_tempdir with
2886         os::getTmpDir().
2887
2888 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * rename Inset to InsetOld
2891
2892 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2893
2894         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2895         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2896         which I think is a bit clearer. EDIT is gone, since it was
2897         premature optimisation, and broken for mathed anyway.
2898         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2899         with cursor positioning in insets as well (math insets still do not
2900         work, but that's a different story anyway.) It mysteriously
2901         crashes sometimes with undo in the first paragraph, but I'm fairly
2902         confident that this is a compiler bug.
2903
2904 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * paragraph.C (Paragraph): adjust for new clone return type
2907         (operator==): ditto
2908         (copyIntoMinibuffer): ditto
2909
2910 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2911
2912         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2913         by not having a special case, and always doing a full rebreak of
2914         the document after undo.
2915
2916 2003-07-23  Angus Leeming  <leeming@lyx.org>
2917
2918         * factory.C (createInset): InsetExternal::setParams now takes a
2919         Buffer const * arg.
2920
2921 2003-07-23  Angus Leeming  <leeming@lyx.org>
2922
2923         * factory.C (createInset): changed interface to the external and
2924         graphics mailers' string2params functions.
2925
2926 2003-07-23  Angus Leeming  <leeming@lyx.org>
2927
2928         * factory.C (createInset): pass a
2929         Buffer const * parameter to InsetExternalMailer's string2params.
2930
2931 2003-07-22  John Levon  <levon@movementarian.org>
2932
2933         * Thesaurus.h: include the right aiksaurus header
2934
2935 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2936
2937         * MenuBackend.C (expand): check menu shortcuts unconditionally
2938
2939 2003-07-21  Angus Leeming  <leeming@lyx.org>
2940
2941         * factory.C (createInset): pass a
2942         buffer_path parameter to InsetGraphicsMailer's string2params.
2943
2944 2003-07-21  Angus Leeming  <leeming@lyx.org>
2945
2946         * BufferView_pimpl.C (buffer):
2947         * buffer.C (d-tor):
2948         * lyx_main.C (LyX):
2949         * lyxfunc.C (dispatch):
2950         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2951         rather than the grfx shortcut.
2952
2953 2003-07-21  André Pönitz  <poenitz@gmx.net>
2954
2955         * rowpainter.C: remove unused variables
2956
2957         * tabular_funcs.C:
2958         * tabular_funcs.h: move to tabular.C
2959         * Makefile.am: adjust
2960
2961         * tabular.[Ch]: basic optical cleaning
2962
2963         * author.h: pass references, not values
2964
2965 2003-07-18  André Pönitz  <poenitz@gmx.net>
2966
2967         * lyxtext.h:
2968         * metricsinfo.C:
2969         * metricsinfo.h:
2970         * rowpainter.C:
2971         * text.C:
2972         * text2.C:
2973         * text3.C: two-phase drawing for InsetText and InsetTabular
2974         some float -> int changes.
2975
2976 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * lyx_main.C: fix the fix
2979
2980 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * lyx_main.C: fix a crash in batch mode if no files specified
2983         * converter.C: ws
2984
2985 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * format.[Ch] (papersize): moved to BufferParams
2988         * converter.[Ch] (dvips_options): moved to BufferParams
2989         (dvipdfm_options): moved to anon namespace
2990         * bufferparams.[Ch]: added above functions.
2991
2992 2003-07-17  André Pönitz  <poenitz@gmx.net>
2993
2994         * lyxtext.h:
2995         * rowpainter.C:
2996         * text2.C: don't call inset->update() anymore
2997
2998         * metricsinfo.[Ch]: add convenience constructor
2999
3000 2003-07-16  André Pönitz  <poenitz@gmx.net>
3001
3002         * lyxcursor.[Ch]:
3003         * lyxfunc.[Ch]:
3004         * text.C:
3005         * text2.C: replace the LyXCursor::irow_ member with
3006          on-demand computation of the value
3007
3008 2003-07-16  John Levon  <levon@movementarian.org>
3009
3010         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3011
3012 2003-07-15  André Pönitz  <poenitz@gmx.net>
3013
3014         * text.C:
3015         * text2.C: remove no more needed refresh_row
3016
3017 2003-07-15  André Pönitz  <poenitz@gmx.net>
3018
3019         * lyxtext.h:
3020         * rowpainter.C:
3021         * text2.C:
3022         * text3.C: refresh_status tristate -> need_update bool
3023
3024 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * lyxtext.h (init): remove reinit argument (act as if always true)
3027         * text2.C: adjust to that
3028
3029 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3030
3031         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3032         * text3.C: use it to delete selections in some cases
3033         (bugs 441, 673, 702, 954).
3034
3035 2003-07-14  André Pönitz  <poenitz@gmx.net>
3036
3037         * rowpainter.[Ch]: reduce interface
3038
3039 2003-07-14  André Pönitz  <poenitz@gmx.net>
3040
3041         * BufferView_pimpl.C:
3042         * text2.C: adjust after removing unused BufferView * argument
3043
3044 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * text2.C (init): fix a crash fired on resize
3047
3048 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3049
3050         * buffer.[Ch]: added new closing signal
3051         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3052         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3053         BufferView::Pimpl via the closing the signal
3054
3055 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3056
3057         * buffer.[Ch]: take out all bv-related from buffer
3058         * BufferView.C:
3059         * BufferView_pimpl.[Ch]: connect to new signals
3060         * CutAndPaste.C: removed useless asserts
3061         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3062         * lyxvc.[Ch]:
3063         * vc-backend.[Ch]:
3064         * lyxfunc.C: moved view-related funciontality from vc here
3065         * paragraph.C: removed outdated comments
3066         * text.C: ws
3067
3068 2003-07-10  André Pönitz  <poenitz@gmx.net>
3069
3070         * BufferView_pimpl.C:
3071         * tabular.h:
3072         * tabular_funcs.C:
3073         * text.C:
3074         * text2.C: remove InsetText::InnerCache, clean up consequences
3075
3076 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3077
3078         * ispell.C: fix two typos in error messages
3079
3080 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3081
3082         * Extend Note inset to other forms of annotation like Comment
3083         and Greyedout. Right button click gives dialog.
3084
3085         Files modified or added (+):
3086
3087         * insetnote.[Ch]
3088         * FormNote.[Ch]      +
3089         * ControlNote.[Ch]   +
3090         * form_note.fd       +
3091         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3092         frontends/controllers
3093         * xforms/Dialogs.C
3094         * factory.C
3095
3096 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3097
3098         * aspell.C: add missing namespace lyx::support
3099
3100 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3101
3102         * BufferView.[Ch] (newFile): Add
3103         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3104         * LaTeX.[Ch] (message): added this signal and use it
3105         * buffer.[Ch] (busy, message): added these signals and use them
3106         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3107         * converter.C:
3108         * exporter.C:
3109         * format.C:
3110         * importer.C: use buffer signals instead of direct bv calling
3111         * lyx_cb.[Ch] (ShowMessage): removed
3112         * lyx_main.C:
3113         * lyxfunc.C:
3114         * paragraph_funcs.C:
3115         * text2.C: use buffer signals
3116
3117 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * introduce namespace lyx::graphics
3120
3121 2003-07-02  André Pönitz  <poenitz@gmx.net>
3122
3123         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3124
3125 2003-07-01  André Pönitz  <poenitz@gmx.net>
3126
3127         * text.C:
3128         * text2.C:
3129         * text3.C:
3130         * text_funcs.[Ch]:
3131         * textcursor.h:
3132         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3133           text*.C to text_func.C
3134
3135 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3136
3137         * introduce namespace lyx::support
3138
3139 2003-06-30  André Pönitz  <poenitz@gmx.net>
3140
3141         * Chktex.C:
3142         * funcrequest.C:
3143         * lyxtext.h:
3144         * text.C: re-enable --with-included-string
3145
3146 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * textcursor.C: add <config.h>
3149
3150         * text.C (getWord): remove const from word_location arg
3151
3152         * lyxvc.C (getLogFile): fix const type order
3153
3154         * lyxtext.h: remove const from word_location arg, add arg name
3155
3156         * lyxlayout.h: currect type on labeltype.
3157
3158         * importer.C: correct \file
3159
3160         * converter.C (intToFormat): use std:: on ret val, ws changes
3161
3162         * bufferlist.h: correct \file
3163
3164         * buffer.C (makeLinuxDocFile): fix const type order
3165         (makeDocBookFile): ditto
3166         (fillWithBibKeys): use std:: on stdlib args.
3167
3168         * CutAndPaste.C: fix authors.
3169         (availableSelections): use std:: on return vector
3170
3171 2003-06-27  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView_pimpl.C:
3174         * bufferview_funcs.C:
3175         * lyxcursor.C:
3176         * lyxcursor.h:
3177         * lyxfunc.C:
3178         * lyxtext.h:
3179         * rowpainter.C:
3180         * text.C:
3181         * text2.C:
3182         * text3.C: remove LyXCursor::row_ member
3183
3184         * lyxtext.h:
3185         * text.C: rename fullRebreak() to partialRebreak() and implement
3186           a fullRebreak() that really bereks fully
3187
3188         * textcursor.h: new struct for cursor-related data
3189
3190 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * lyx_main.C (LyX): get full path of document loaded on the
3193         command line
3194
3195 2003-06-26  André Pönitz  <poenitz@gmx.net>
3196
3197         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3198           remove unused/broken operator>,<,>=.
3199
3200         *       text.C: remove only use of broken operator<= in an Assert().
3201
3202 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3205         moved errorlist_.clear to showErrorList
3206
3207 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * converter.C (scanLog, runLaTeX):
3210         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3211         move the bv->showErrorList call to the callers
3212         * lyxfunc.C: i.e. here...
3213         * text2.C: and here
3214         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3215         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3216         namespace, the second to...
3217         * buffer_funcs (BufferFormat, parseErrors): added
3218         * errorlist.C (ErrorList(TeXErrors const &)): removed
3219
3220 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3221
3222         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3223
3224 2003-06-24  "Garst R. Reese" <reese@isn.net>
3225
3226         * debug.C: fix typo
3227
3228 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3229
3230         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3231
3232         * version.C.in: change docversion to 1.4
3233
3234 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * buffer.C: fix a bug just introduced
3237
3238 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * buffer.[Ch]: added the parseError signal and use it, removed
3241         sgmlError
3242         * BufferView.[Ch] (addError): moved to ...
3243         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3244         to the Buffer::parseError signal to catch (guess what) parse errors
3245         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3246
3247 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3250         ability to create a buffer and to return an existing one from
3251         the list. Moved these functions to...
3252         * buffer_funcs.[Ch]: added
3253         * BufferView.[Ch] (loadLyXFile): added
3254         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3255         job removed from bufferlist::loadLyXFile.
3256         * buffer.C (setReadOnly): make it work without view
3257         (i.e added an if (users))
3258
3259 2003-06-19  Angus Leeming  <leeming@lyx.org>
3260
3261         * lfuns.h:
3262         * LyXAction.C (init):
3263         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3264         with LFUN_DIALOG_SHOW <name> <data>.
3265
3266 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3267
3268         * CutAndPaste.C (availableSelections): small compilation fix for
3269         ancient (gcc 2.9x) compilers
3270
3271 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * text3.C (cursorNext): add tmp var
3274
3275         * text2.C (updateCounters): for function calling out of for clause
3276         (replaceSelectionWithString): ditto
3277         (insertStringAsParagraphs): ditto
3278         (getColumnNearX): add tmp var
3279         (setCursorFromCoordinates): add tmp var
3280         (cursorDownParagraph): add tmp var
3281         (deleteEmptyParagraphMechanism): add tmp var
3282
3283         * text.C (insertChar): add tmp var
3284
3285         * rowpainter.C (paintDepthBar): add tmp var
3286
3287         * CutAndPaste.C (availableSelections): potentially check all
3288         paragraphs in a cut to fill the shown strings.
3289
3290 2003-06-18  André Pönitz  <poenitz@gmx.net>
3291
3292         * kbmap.[Ch]: use vector<> instead of list<>
3293
3294 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3295
3296         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3297         pasteSelection with index
3298
3299         * text2.C (pasteSelection): modify, call pasteSelection with index
3300
3301         * paragraph.C (asString): reimplement version with no interval to
3302         call the one with interval.
3303
3304         * lyxtext.h: add index arg to pasteSelection
3305
3306         * MenuBackend.C (MenuItem): handle PasteRecent
3307         (Menu::read::Menutags): add md_pasterecent
3308         (read): handle it
3309         (expandPasteRecent): new function
3310         (expand): use it
3311
3312         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3313
3314         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3315         the limited stack
3316         (availableSelections): new function
3317
3318 2003-06-17  Angus Leeming  <leeming@lyx.org>
3319
3320         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3321
3322 2003-06-17  Angus Leeming  <leeming@lyx.org>
3323
3324         * lfuns.h:
3325         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3326
3327         * lyxfunc.C (dispatch): invoke it.
3328
3329 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3330
3331         * iterators.C (operator++, ParPosition): reintroduce some
3332         const_cast for the benefit of older compilers.
3333
3334 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3335
3336         * text3.C (dispatch): do not modify clipboard when doing
3337         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3338         LFUN_DELETE_SKIP on a selection selection
3339
3340 2003-06-16  André Pönitz  <poenitz@gmx.net>
3341
3342         * BufferView.C:
3343         * buffer.C:
3344         * buffer.h:
3345         * paragraph.C:
3346         * tabular.[Ch]: IU of clone() and getLabelList();
3347
3348 2003-06-13  André Pönitz  <poenitz@gmx.net>
3349
3350         * tabular.h: compactification
3351
3352 2003-06-12  André Pönitz  <poenitz@gmx.net>
3353
3354         * tabular.C:
3355         * tabular.h:
3356         * tabular_funcs.h: some renaming plus whitespace
3357
3358 2003-06-12  André Pönitz  <poenitz@gmx.net>
3359
3360         * BufferView.C:
3361         * BufferView_pimpl.C:
3362         * CutAndPaste.C:
3363         * buffer.C:
3364         * iterators.[Ch]:
3365         * lyxfunc.C:
3366         * text.C:
3367         * toc.C: Return a Paragraph & for ParIterator::operator*()
3368
3369 2003-06-11  John Levon  <levon@movementarian.org>
3370
3371         * lyx_main.C:
3372         * ToolbarBackend.h:
3373         * ToolbarBackend.C: add "Toolbars" section and
3374         put the flags there
3375
3376 2003-06-10  Angus Leeming  <leeming@lyx.org>
3377
3378         * lfuns.h:
3379         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3380
3381         * lyxfunc.C (dispatch): invoke it.
3382
3383 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * main.C: protect <ios> with HAVE_IOS
3386         (main): protect sync_with_stdio with HAVE_IOS
3387
3388 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3389
3390         * text2.C (cutSelection): adjust
3391         (pasteSelection): adjust
3392
3393         * messages.C: handle get of empty string
3394
3395         * main.C (main): use sync_with_stdio(false)
3396
3397         * lyxfunc.C (dispatch): adjust
3398
3399         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3400         (WriteAs): remove unneeded BufferView arg.
3401
3402         * bufferparams.h: use correct types on papersize, papersize2 and
3403         paperpackage.
3404
3405         * bufferparams.C (readToken): adjust for type
3406         (writeLaTeX): add missing cases to switch.
3407
3408         * bufferlist.C (quitWriteBuffer): adjust
3409         (close): adjust
3410
3411         * buffer.C (asciiParagraph): remove some commented code.
3412
3413         * CutAndPaste.C: remove current_view extern variable.
3414         (cutSelection): add BufferParams arg.
3415         (eraseSelection): add BufferParams arg.
3416         (pasteSelection): add Buffer const & arg
3417
3418 2003-06-07  John Levon  <levon@movementarian.org>
3419
3420         * buffer.C:
3421         * paragraph_funcs.C:
3422         * paragraph_pimpl.C:
3423         * text.C:
3424         * text2.C:
3425         * paragraph.h:
3426         * paragraph.C: allow InsetERT to freely space lines,
3427         and some consolidation of code
3428
3429 2003-06-06  José Matos  <jamatos@fep.up.pt>
3430
3431         * buffer.C (makeDocBookFile): fix bug #821
3432
3433 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3434
3435         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3436
3437 2003-06-04  Angus Leeming  <leeming@lyx.org>
3438
3439         * buffer.C: bump format to 224.
3440
3441 2003-06-05  André Pönitz  <poenitz@gmx.net>
3442
3443         * text2.C (redoParagraphs): remove two const_cast<>
3444
3445 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3446
3447         * ParagraphList.h: remove last remnants of NO_STD_LIST
3448
3449 2003-06-03  Angus Leeming  <leeming@lyx.org>
3450
3451         * factory.C (createInset): small change to the way InsetExternal's params
3452         are set.
3453
3454 2003-06-04  André Pönitz  <poenitz@gmx.net>
3455
3456         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3457
3458         * paragraph_pimpl.h:
3459         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3460
3461         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3462
3463         * undo_funcs.C: make some simple cases of undo work again
3464
3465 2003-06-03  John Levon  <levon@movementarian.org>
3466
3467         * ispell.C: HPUX doesn't have sys/select.h
3468         (from Albert Chin)
3469
3470 2003-06-03  John Levon  <levon@movementarian.org>
3471
3472         * CutAndPaste.C: update tabular and include inset
3473         buffer references
3474
3475         * buffer.h:
3476         * paragraph.h:
3477         * paragraph.C: remove owningBuffer(), don't pass Buffer
3478         to clone()
3479
3480         * factory.C: insetGraphicsParams changed
3481
3482 2003-06-02  John Levon  <levon@movementarian.org>
3483
3484         * LyXAction.C:
3485         * factory.C:
3486         * lfuns.h:
3487         * lyxfunc.C:
3488         * text3.C: remove insetparent
3489
3490 2003-06-02  John Levon  <levon@movementarian.org>
3491
3492         * buffer.h:
3493         * buffer.C: fix inset_iterator.end(), move out of line
3494         (bug 1149)
3495
3496 2003-06-01  John Levon  <levon@movementarian.org>
3497
3498         * text3.C: use a proper cut/paste when doing inset
3499         insert (from Jürgen Spitzmüller)
3500
3501 2003-06-01  John Levon  <levon@movementarian.org>
3502
3503         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3504
3505 2003-05-30  André Pönitz  <poenitz@gmx.net>
3506
3507         * rowpainter.C: unify second drawing phase
3508
3509 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * trans_mgr.C: remove one case of current_view
3512
3513         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3514
3515         * paragraph_funcs.h: remove paragraph.h include
3516
3517         * paragraph.h: delete NO_STD_LIST stuff
3518
3519         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3520
3521         * buffer.h: remove paragraph.h include
3522
3523         * ParagraphList.C: delete file
3524
3525         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3526
3527         * toc.C (getTocList): adjust
3528
3529         * paragraph_pimpl.C (validate): adjust
3530
3531         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3532
3533         * paragraph.C (Paragraph): adjust
3534         (getPositionOfInset): use const_iterator, adjust
3535         (bibitem): use const_iterator, adjust
3536         (setInsetOwner): adjust
3537
3538         * iterators.C (operator++): adjust
3539
3540         * InsetList.[Ch]: Replace selfmade iterator with standard
3541         vector::iterator also introduce const_iterator. Remove getPos,
3542         getInset and setInset from InsetTable. Adjust accordingly.
3543
3544         * BufferView.C (lockInset): adjust
3545         (ChangeInsets): adjust
3546
3547         * tabular.[Ch]: delete commented same_id functions
3548
3549 2003-05-28  John Levon  <levon@movementarian.org>
3550
3551         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3552
3553 2003-05-28  André Pönitz  <poenitz@gmx.net>
3554
3555         * metricsinfo.[Ch]: remove 'fullredraw' member
3556
3557 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3558
3559         * lyxtextclass.C (operator): remove caching.
3560
3561 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * text3.C: adjust
3564
3565         * text2.C (cursorBottom): adjust
3566         (setCounter): use ParagraphList::find, adjust
3567
3568         * text.C (workWidth): use ParagraphList::find, adjust
3569
3570         * lyxcursor.C (LyXCursor): adjust
3571
3572         * buffer.C (inset_iterator): adjust
3573
3574         * ParagraphList.h: make iterator(value_type) private, make
3575         ParagraphList a friend of iterator.
3576
3577         * ParagraphList.C (find): new function
3578
3579         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3580
3581 2003-05-27  André Pönitz  <poenitz@gmx.net>
3582
3583         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3584
3585 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3586
3587         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3588
3589 2003-05-26  John Levon  <levon@movementarian.org>
3590
3591         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3592
3593 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * remove same_id from function signatures, adjust.
3596
3597 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3600
3601         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3602
3603         * paragraph.C (Paragraph): get rid of same_ids parameter
3604
3605         * ParagraphList.C (insert): adjust
3606         (push_back): adjust
3607
3608 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * paragraph_funcs.C (breakParagraph): adjust
3611         (breakParagraphConservative): adjust
3612
3613         * buffer.C (readParagraph): adjust
3614
3615         * ParagraphList.C (insert): take a reference instead of a pointer
3616         (insert): adjust
3617
3618         * paragraph.[Ch] (id): new function
3619
3620         * bufferlist.C (newFile): adjust
3621
3622         * ParagraphList.C (ParagraphList): adjust
3623         (assign): adjust
3624         (push_back): take a reference instead of a pointer.
3625
3626         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3627
3628         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3629         instead.
3630
3631         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3632         set else use old code.
3633
3634         * ParagraphList.C: remove all NO_NEXT code and only compile this
3635         code of NO_STD_LIST is set.
3636
3637 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * BufferView_pimpl.C:
3640         * TextCache.C:
3641         * TextCache.h:
3642         * bufferlist.C:
3643         * errorlist.h:
3644         * format.C:
3645         * format.h:
3646         * graph.C:
3647         * lyxfunc.C:
3648         * lyxrc.C:
3649         * graphics/GraphicsConverter.C:
3650         * graphics/PreviewLoader.C: header adjustment
3651
3652 2003-05-23  Angus Leeming  <leeming@lyx.org>
3653
3654         * LaTeXFeatures.[Ch] (useBabel): new method.
3655         * bufferparams.C (writeLaTeX): use it.
3656
3657 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * ParagraphList.h (set): remove unused function.
3660
3661 2003-05-23  André Pönitz  <poenitz@gmx.net>
3662
3663         * BufferView.C:
3664         * BufferView_pimpl.C:
3665         * buffer.C:
3666         * buffer.h:
3667         * lyxfunc.C:
3668         * undo_funcs.C: setUndo reworked
3669
3670         * iterators.[Ch]: add access to topmost ParagraphList
3671
3672         * lyxtext.[Ch] (workWidth): add a const
3673
3674 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * texrow.[Ch] (increasePos): remove function
3677         * exporter.C (export): removed unused var and outdated comment
3678
3679 2003-05-23  Angus Leeming  <leeming@lyx.org>
3680
3681         * latexrunparams.h: rename fragile as moving_arg.
3682         * paragraph.C (simpleTeXOnePar): ditto.
3683         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3684
3685 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3688         (createUndo): ditto
3689         (textUndoOrRedo): comment out a currently unused var.
3690
3691         * paragraph.h (NO_NEXT): enable NO_NEXT
3692
3693         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3694
3695         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3696
3697         * exporter.C (Export): adjust for removeAutoInsets removal.
3698
3699         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3700
3701         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3702
3703         * BufferView.[Ch] (removeAutoInsets): delete function
3704
3705 2003-05-22  Angus Leeming  <leeming@lyx.org>
3706
3707         * latexrunparams.h: add a free_spacing variable.
3708
3709         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3710         to pass moving_arg, as the data is stored in runparams.fragile.
3711
3712         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3713         to Inset::latexOptional or to simpleTeXOnePar.
3714
3715         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3716         free_spacing arg to Inset::latexOptional.
3717
3718         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3719         free_spacing arg.
3720
3721 2003-05-22  Angus Leeming  <leeming@lyx.org>
3722
3723         * latexrunparams.h: add fragile and use_babel variables.
3724
3725         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3726         * buffer.C (makeLaTeXFile): store this returned value in
3727         runparams.use_babel, thus passing it to the inset::latex methods.
3728
3729         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3730         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3731
3732         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3733         longer has a fragile arg, as it is stored in runparams.fragile.
3734
3735         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3736         moving_arg parameter as the data is stored in runparams.fragile.
3737
3738         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3739         a fragile parameter as the data is stored in runparams.fragile.
3740
3741 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3744
3745 2003-05-22  Angus Leeming  <leeming@lyx.org>
3746
3747         * latexrunparams.h: add a 'bool nice' which defaults to false.
3748
3749         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3750         now encapsulated within runparams.
3751
3752         * bufferlist.C (updateIncludedTeXfiles):
3753         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3754
3755 2003-05-22  Angus Leeming  <leeming@lyx.org>
3756
3757         * latexrunparams.h: new file containing struct LatexRunParams.
3758         * Makefile.am: add new file.
3759
3760         * LaTeX.[Ch] (c-tor, run):
3761         * buffer.[Ch] (makeLaTeXFile):
3762         * bufferlist.[Ch] (updateIncludedTeXfiles):
3763         * converter.C (convert, scanLog):
3764         * converter.[Ch] (runLaTeX):
3765         * exporter.C (Export):
3766         * paragraph.[Ch] (simpleTeXOnePar):
3767         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3768         * paragraph_funcs.[Ch] (latexParagraphs):
3769         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3770         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3771         pass around a LatexRunParams parameter.
3772
3773 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * paragraph.[Ch]: remove unused constructor
3776
3777         * ParagraphList.C (erase): new function, taking two iterators
3778
3779 2003-05-22  André Pönitz  <poenitz@gmx.net>
3780
3781         * undo_funcs.C: remove duplicated code
3782
3783         * iterator.[Ch]: operator=
3784
3785 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * tabular.C (SetMultiColumn): ws changes
3788
3789         * rowpainter.C (paintFirst): get rid of a ->previous
3790
3791         * lyx_cb.C (getPossibleLabel): parlist simplification
3792
3793         * BufferView.C (ChangeInsets): simplify slightly.
3794
3795 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3796
3797         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3798         * lfuns.h: new LFUN_SPACE
3799         * lyxfunc.C: protected space has a new lfun
3800         * paragraph_funcs.C: read new space insets
3801         * text3.C:
3802         * factory.C: handle new space insets
3803
3804 2003-05-22  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView.C:
3807         * BufferView_pimpl.C:
3808         * buffer.[Ch]:
3809         * lyxfunc.C:
3810         * undo_funcs.C: return a ParIterator from getParFromID.
3811
3812         * iterators.[Ch]: add two const's
3813
3814 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * toc.C (getTocList): adjust
3817
3818         * iterators.[Ch]: rework for parlist
3819
3820         * buffer.C (par_iterator_begin): adjust
3821         (par_iterator_end): adjust
3822
3823         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3824
3825         * BufferView.C (removeAutoInsets): adjust
3826         (ChangeInsets): adjust
3827
3828 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3829
3830         * text.C (top_y): fix bug 1110
3831
3832 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * errorlist.[Ch]: added
3835         * buffer.C:
3836         * BufferView.[Ch]:
3837         * BufferView_pimpl.C:
3838         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3839         instead
3840
3841 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * Makefile.am: ensure that lyx is relinked upon changes to the
3844         various "convenience" libs.
3845
3846 2003-05-20  Angus Leeming  <leeming@lyx.org>
3847
3848         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3849         files are compiled in alphabetical order again.
3850
3851         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3852
3853 2003-05-19  Angus Leeming  <leeming@lyx.org>
3854
3855         * gettext.[Ch]: remove "char const * _(char const *)".
3856
3857 2003-05-19  André Pönitz  <poenitz@gmx.net>
3858
3859         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3860
3861         * Makefile.am:
3862         * BufferView.C:
3863         * DepTable.h:
3864         * LaTeXFeatures.C:
3865         * buffer.C:
3866         * lyxfont.C:
3867         * lyxlex.h:
3868         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3869
3870 2003-05-19  André Pönitz  <poenitz@gmx.net>
3871
3872         * buffer.C:
3873         * lyxlayout.[Ch]:
3874         * lyxtextclass.[Ch]:
3875         * paragraph.C:
3876         * paragraph_funcs.[Ch]:
3877         * text2.C:
3878         * text3.C: more insetenv work
3879
3880 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * ParagraphParameters.C (params2string): small bug fixed
3883
3884 2003-05-16  André Pönitz  <poenitz@gmx.net>
3885
3886         * debug.C:
3887         * bufferview_funcs.C: patch from Kornel Benko to prevent
3888           crash when _(...) is called twice in a statement
3889
3890 2003-05-16  André Pönitz  <poenitz@gmx.net>
3891
3892         * BufferView.C:
3893         * lyxfunc.C:
3894         * text.C:
3895         * text2.C:
3896         * text3.C:
3897         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3898
3899 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * lyx_main.C (init): remove spurious static_cast
3902
3903 2003-05-14  André Pönitz  <poenitz@gmx.net>
3904
3905         * BufferView.C: fix format string
3906
3907 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3908
3909         * BufferView.[Ch] (insertErrors): removed
3910         * BufferView.[Ch] (showErrorList): added
3911         * buffer.C (runChkTeX):
3912         * converter.C (scanLog): call showErrorList instead of inserterrors
3913
3914 2003-05-13  André Pönitz  <poenitz@gmx.net>
3915
3916         * BufferView_pimpl.C:
3917         * buffer.C:
3918         * bufferview_func.C:
3919         * MenuBackend.C:
3920         * lyxfunc.C:
3921         * lyxrc.C:
3922         * tex-accent.C:
3923         * text3.C:
3924         * toc.C:
3925         * tabular_funcs.h: tostr() from its own header
3926
3927         * ParagraphParameters.C:
3928         * ToolbarBackend.C:
3929         * bufferparams.C:
3930         * format.C:
3931         * lyxlex_pimpl.C:
3932         * text3.C: STRCONV()
3933
3934 2003-05-12  André Pönitz  <poenitz@gmx.net>
3935
3936         * BufferView.C:
3937         * BufferView_pimpl.C:
3938         * CutAndPaste.C:
3939         * LaTeX.C:
3940         * LaTeXFeatures.C:
3941         * ParagraphParameters.C:
3942         * buffer.C:
3943         * bufferlist.C:
3944         * bufferparams.C:
3945         * bufferview_funcs.C:
3946         * converter.C:
3947         * counters.C:
3948         * debug.C:
3949         * exporter.C:
3950         * format.C:
3951         * importer.C:
3952         * lyx_cb.C:
3953         * lyx_main.C:
3954         * lyxfont.C:
3955         * lyxfunc.C:
3956         * lyxvc.C:
3957         * paragraph.C:
3958         * paragraph_funcs.C:
3959         * tabular.C:
3960         * tabular_funcs.C:
3961         * text2.C:
3962         * text3.C:  boost::format -> bformat  all over the place
3963
3964
3965 2003-05-09  André Pönitz  <poenitz@gmx.net>
3966
3967         * LColor.[Ch]: Pimpl the #include <map> away
3968
3969 2003-05-09  John Levon  <levon@movementarian.org>
3970
3971         * bufferlist.C: never remove emergency saves
3972
3973 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * Makefile.am: better lib building
3976
3977 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3980         instead.
3981         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3982         (simpleTeXSpecialChars): adjust
3983         (simpleTeXSpecialChars): adjust
3984         * paragraph.C (simpleTeXOnePar): adjust
3985         * buffer.C (makeLaTeXFile): adjust
3986
3987         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3988
3989         * text2.C (changeDepth): parlist cleanup
3990         (getColumnNearX): ditto
3991
3992         * rowpainter.C (getLabelFont): parlist cleanup
3993
3994         * bufferlist.C (newFile): parlist cleanup
3995
3996         * CutAndPaste.C (eraseSelection): parlist cleanup
3997
3998         * BufferView_pimpl.C (trackChanges): parlist cleanup
3999         (dispatch): ditto
4000
4001         * BufferView.C (lockInset): parlist cleanup.
4002         (ChangeInsets): ditto
4003
4004 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * CutAndPaste.h: Update file header.
4007
4008         * CutAndPaste.C: Update file header.
4009         Store the parts cut out of the Document in a limited_stack.
4010         (copySelection): adjust
4011         (pasteSelection): new function, takes the index in the limited stack.
4012         (nrOfParagraphs): adjust
4013         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4014         simplify error inset insertion.
4015         (checkPastePossible): adjust
4016
4017 2003-05-06  John Levon  <levon@movementarian.org>
4018
4019         * text2.C: don't cast wrap inset to float
4020
4021 2003-05-05  André Pönitz  <poenitz@gmx.net>
4022
4023         * iterator.C:
4024         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4025
4026         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4027           few naked Paragraph *.
4028
4029 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4030
4031         * bufferparams.C: Output warning if a document with missing
4032         TeX document class is loaded
4033         * exporter.C: Disable TeX exports if the document class is missing
4034         * lyxtextclass.C:
4035         * lyxtextclass.h:
4036         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4037         isTeXClassAvailable()
4038
4039 2003-05-03  John Levon  <levon@movementarian.org>
4040
4041         * BufferView.h:
4042         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4043         explicit cursor show/hide
4044
4045         * BufferView_pimpl.h:
4046         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4047         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4048
4049         * lyxfunc.C: hide cursor before dispatching.
4050
4051         * lyx_cb.C:
4052         * lyxfind.C:
4053         * text.C:
4054         * text3.C: remove explicit cursor hides
4055
4056 2003-05-02  André Pönitz  <poenitz@gmx.net>
4057
4058         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4059
4060         * undo_funcs.C:
4061         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4062           linked lists
4063
4064         * text2.C: tiny whitespace
4065
4066 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * undo_funcs.C: almost only ws changes.
4069
4070         * ParagraphList.C (splice): just return if pl is empty.
4071
4072 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * ParagraphList.C (splice): new function.
4075
4076         * CutAndPaste.C (pasteSelection): use it
4077
4078 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * CutAndPaste.C (pasteSelection): remove the last next and
4081         previous from this file.
4082
4083 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * CutAndPaste.C (pasteSelection): more clean up, user proper
4086         ParagraphList functions for pasteing.
4087
4088         * ParagraphList.C (insert): new function, three arg insert
4089
4090 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * ParagraphList.C (insert): new function, three arg insert
4093
4094         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4095         not on paragraphs.
4096
4097 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4098
4099         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4100
4101 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4104
4105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4108         (copySelection): clean up a bit.
4109         (pasteSelection): use make_pair
4110
4111         * ParagraphList.C (ParagraphList): implement copy constructor
4112         (operator=): implement, base on copy constructor.
4113         (assign): new func
4114
4115         * paragraph.C (erase): return a bool
4116
4117         * paragraph_pimpl.C (erasePos): remove function, move contents...
4118         (erase): ... here. Return a bool.
4119         (erase): call erase instead of erasePos.
4120
4121 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * ParagraphList.h: define PitPosPair
4124         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4125         ParagraphList, fix a bug on pasting multiple pars
4126         * text2.C: change interface to C&P
4127
4128 2003-04-30  André Pönitz  <poenitz@gmx.net>
4129
4130         * undo_func.C: revert part of yesterday's patch 2
4131
4132 2003-04-30  John Levon  <levon@movementarian.org>
4133
4134         * LColor.C: s/tabular/table/
4135
4136 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * text3.C (dispatch): do not convert iterator -> pointer
4139         * undo_funcs.C (setCursorParUndo): ditto
4140         * text_funcs.C (transposeChars): ditto
4141
4142         * text2.C (setLayout): ws changes only
4143
4144         * text.C (breakParagraph): do not convert iterator -> pointer
4145         (insertChar): ditto
4146         (acceptChange): ditto
4147         (rejectChange): ditto
4148         (changeCase): ditto
4149         (Delete): ditto
4150         (backspace): ditto
4151
4152         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4153         pointer
4154
4155 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * text3.C (gotoInset): YABG (yet another bad getChar)
4158
4159 2003-04-29  André Pönitz  <poenitz@gmx.net>
4160
4161         * paragraph.h: make operator= private unimplemented as long as
4162           it is unusable
4163
4164         * ParagraphList.C: whitespace
4165
4166         * paragraph.[Ch]:
4167         * paragraph_pimpl.[Ch]:
4168         * paragraph_funcs.C:
4169         * CutAndPaste.C:
4170         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4171
4172         * text2.C:
4173           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4174
4175 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4178         * paragraph.[Ch] (erase):
4179         * paragraph_pimpl.[Ch] (erase): change return type and value
4180         * text2.C (cutSelection): some rework
4181
4182 2003-04-28  John Levon  <levon@movementarian.org>
4183
4184         * bufferlist.C: changes for unsaved changes dialog
4185
4186 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * bufferlist.C (newFile): set language (messages_) for new
4189         documents also.
4190
4191         * buffer.C (readFile): ws changes only.
4192
4193 2003-04-28  André Pönitz  <poenitz@gmx.net>
4194
4195         * undo_funcs.C:
4196         * lyxfunc.C:
4197         * buffer.[Ch]:
4198         * BufferView_pimpl.C:
4199         * BufferView.C: getParFromID related ParagraphList::iterator changes
4200
4201 2003-04-28  André Pönitz  <poenitz@gmx.net>
4202
4203         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4204           Changes
4205
4206 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4207
4208         * messages.C: remove one more localedir class variable.
4209
4210 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * messages.C (getLocaleDir): singleton generation function
4213         (Pimpl): use it.
4214         (Messages): add a default constructor.
4215
4216         * main.C (main): do not setup localedir here, do not call
4217         gettext_init.
4218
4219         * gettext.C (_): use it.
4220         (gettext_init): delete funciton
4221
4222 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * gettext.C (getLyXMessages): new singleton generating function.
4225
4226         * buffer.C (updateDocLang): adjust
4227
4228         * Makefile.am (messages.o): add target
4229         (main.o): remove target
4230
4231 2003-04-27  John Levon  <levon@movementarian.org>
4232
4233         * bufferlist.C:
4234         * lyx_cb.C:
4235         * lyxfunc.C:
4236         * lyxvc.C: specify cancel button in Alert::prompt
4237
4238 2003-04-26  John Levon  <levon@movementarian.org>
4239
4240         * text3.C:
4241         * lyxfunc.C:
4242         * lfuns.h:
4243         * LyXAction.C: add LFUN_INSET_SETTINGS
4244
4245         * lyxfunc.C: don't enable tabular-feature when there's
4246         just any locking inset
4247
4248 2003-04-26  John Levon  <levon@movementarian.org>
4249
4250         * bufferlist.C: re-add Cancel to buffer close question
4251
4252         * lyxfunc.C: fix import UI a bit
4253
4254 2003-04-25  John Levon  <levon@movementarian.org>
4255
4256         * gettext.C: remove the broken asserts for now
4257
4258 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * messages.C: make case where setlocale cannot comply work better.
4261
4262         * buffer.C (updateDocLang): new function
4263         (changeLanguage): use it
4264         (readFile): use it
4265
4266         * text2.C (setCounter): use B_ a bit.
4267
4268         * lyxlayout.C (Read): be sure to trim the label strings.
4269
4270         * messages.C (Messages): fix typo in comment
4271
4272         * buffer.C (readFile): set message_ after file is loaded.
4273         (makeDocBookFile): remove double return
4274         (changeLanguage): reset message_ upon language change.
4275         (B_): new func, use this to get translated buffer strings.
4276
4277         * main.C: add myself and Jean Marc as authors.
4278
4279 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * messages.[hC]: pimplify Messages, and three different pimpls to be
4282         used in different circumstances.
4283
4284         * gettext.[Ch]: change for use with new message code.
4285
4286 2003-04-24 André Pönitz <poenitz@gmx.net>
4287
4288         * factory.C: support for eqref
4289
4290 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * messages.[Ch]: add missing char
4293
4294         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4295
4296         * messages.[Ch]: New files
4297
4298 2003-04-18  John Levon  <levon@movementarian.org>
4299
4300         * BufferView.h:
4301         * BufferView.C:
4302         * BufferView_pimpl.C:
4303         * lfuns.h:
4304         * LyXAction.C:
4305         * lyxtext.h:
4306         * text2.C: remove layout-copy/paste (bug 778)
4307
4308 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4311
4312 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4315         if they succeed. Act accordingly.
4316
4317 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * text2.C (setCharFont): adjust
4320         (setCounter): adjust
4321         (insertStringAsLines): adjust
4322
4323         * text.C (leftMargin): adjust
4324         (setHeightOfRow): adjust
4325
4326         * rowpainter.C (paintFirst): adjust
4327         (paintLast): adjust
4328
4329         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4330         (outerHook): ditto
4331         (isFirstInSequence): ditto
4332         (getEndLabel): ditto
4333         (outerFont): adjust
4334
4335         * paragraph.C (getParLanguage): comment out some hard stuff.
4336
4337         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4338         (sgmlError): ditto
4339         (simpleDocBookOnePar): ditto
4340         (makeDocBookFile): use ParagraphList::iterator
4341
4342         * CutAndPaste.C (pasteSelection): adjust
4343
4344 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text2.C (getFont): adjust
4347         (getLayoutFont): adjust
4348         (getLabelFont): adjust
4349
4350         * paragraph_funcs.C (TeXOnePar): adjust
4351
4352         * buffer.C (simpleLinuxDocOnePar): adjust
4353         (simpleDocBookOnePar): adjust
4354
4355         * CutAndPaste.C (pasteSelection): adjust
4356
4357         * BufferView.C (getEncoding): adjust
4358
4359         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4360
4361 2003-04-16  John Levon  <levon@movementarian.org>
4362
4363         * lyxfind.C: use parlist stuff for search/changes
4364
4365 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4368
4369         * text2.C (deleteEmptyParagraphMechanism): adjust
4370
4371         * text2.[Ch] (ownerParagraph): delete func (both of them
4372
4373 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4376
4377 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * ParagraphList.C: prepare for NO_NEXT
4380
4381 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * text2.C (getFont): adjust
4384         (getLayoutFont): adjust
4385         (getLabelFont): adjust
4386
4387         * paragraph.C (getFont): adjust
4388         (getLabelFont): adjust
4389         (getLayoutFont): adjust
4390
4391         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4392
4393 2003-04-15  John Levon  <levon@movementarian.org>
4394
4395         From Angus Leeming
4396
4397         * lyx_main.C: handle Include in .ui files
4398
4399 2003-04-15  John Levon  <levon@movementarian.org>
4400
4401         * MenuBackend.C: make the doc files length shorter
4402
4403         * ToolbarBackend.h:
4404         * ToolbarBackend.C: handle toolbar placement flags,
4405         Minibuffer
4406
4407 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4408
4409         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4410         adjust
4411
4412         * paragraph_funcs.C (TeXOnePar): adjust
4413
4414         * paragraph.C (getLabelFont): add outerfont arg, adjust
4415         (getLayoutFont): ditto
4416         (simpleTeXOnePar): adjust
4417
4418         * paragraph_pimpl.C (realizeFont): delete func
4419
4420 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4423         row argument, constify cur argument.
4424
4425 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * text2.C (getFont): adjust
4428         (getLayoutFont): adjust
4429         (getLabelFont): adjust
4430
4431         * paragraph_funcs.C (TeXOnePar): adjust
4432         (outerFont): new func...
4433         (realizeFont): ...moved out from here, changed this to facilitate
4434         transition
4435
4436         * paragraph.C (getFont): take outerfont as arg, adjust
4437         (simpleTeXOnePar): add outerfont arg, adjust
4438
4439         * buffer.C (simpleLinuxDocOnePar): adjust
4440         (simpleDocBookOnePar): adjust
4441
4442         * CutAndPaste.C (pasteSelection): adjust
4443
4444         * BufferView.C (getEncoding): adjust
4445
4446 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * text2.C (setCharFont): adjust
4449         (setCounter): adjust
4450
4451         * text.C (leftMargin): adjust
4452         (setHeightOfRow): adjust
4453
4454         * rowpainter.C (paintFirst): adjust
4455         (paintLast): adjust
4456
4457         * paragraph_pimpl.C (realizeFont): adjust
4458
4459         * paragraph.C (isFirstInSequence): move from here...
4460         * paragraph_funcs.C (isFirstInSequence): ...to here
4461
4462         * paragraph.C (outerHook): move from here...
4463         * paragraph_funcs.C (outerHook): ...to here
4464
4465         * paragraph.C (depthHook): move from here...
4466         * paragraph_funcs.C (depthHook): ...to here
4467
4468         * paragraph.C (getEndLabel): move from here...
4469         * paragraph_funcs.C (getEndLabel): ...to here
4470
4471         * text2.C (realizeFont): move from here...
4472         * paragraph_funcs.C (realizeFont): ...to here
4473
4474 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4477
4478 2003-04-14  Angus Leeming  <leeming@lyx.org>
4479
4480         * LColor.[Ch]: scrap LColor mathcursor.
4481
4482 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * lyxlex.[Ch] (text): delete function
4485         * trans.C (Load): adjust
4486         * paragraph_funcs.C (readParToken): adjust
4487
4488 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4491         vector<char> instead of a char[].
4492
4493         * lyxlex_pimpl.C (getString): adjust
4494         (next): adjust
4495         (lex): use getString
4496         (eatLine): adjust
4497         (nextToken): adjust
4498
4499         * lyxlex.C (text): use pimpl_->getString()
4500         (getBool): ditto
4501         (findToken): ditto
4502
4503 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4506         (makeFontEntriesLayoutSpecific): temp var for par.size()
4507         (setLayout): temp var for ownerParagraphs().end()
4508         (fullRebreak): temp var for rows().end()
4509         (selectionAsString): temp var for boost::next(startpit), realize
4510         that the while really is a regular for loop.
4511         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4512         setCursor in one place.
4513         (setParagraph): temp vr for ownerParagraphs().end()
4514         (updateCounters): make the while loop a for loop
4515         (cutSelection): temp var for ownerParagraphs().end()
4516         (updateInset): make the do {} while() a regular for loop
4517         (getCursorX): use temp vars
4518         (setCurrentFont): use temp vars
4519         (getColumnNearX): use temp vars
4520
4521 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * text.C (transformChar): use temp var for getChar
4524         (computeBidiTables): use temp var for row->par()
4525         (fill): move temp vars for row->par() and pit->layout() earlier in
4526         the function.
4527         (labelFill): use temp var for row->par()
4528         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4529         asc and desc, realize that pit never changes and that firstpit is
4530         just a duplicate and not needed. Exchange rit->par() with pit in a
4531         lot of places.
4532         (breakAgain): use a temp var for boost::next(rit)
4533         (breakAgainOneRow): ditto
4534         (breakParagraph): use a temp var for rows().begin()
4535         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4536         (cursorRightOneWord): use temp var for cursor.par() and
4537         cursor.pos(), remove usage of tmpcursor.
4538         (cursorLeftOneWord): use temp var for cursor.par() and
4539         cursor.pos() only set cur at end of function.
4540
4541 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * text.C, text2.C: exchange all usage of Paragraph::next with
4544         boost::next(ParagraphList::iterator)
4545
4546         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4547
4548         * text2.C (cursorTop): simplify implementation
4549         (cursorBottom): ditto
4550         (setParagraph): use ParagraphList::iterator
4551         (setCurrentFont): adjust
4552         (getColumnNearX): adjust
4553         (cursorRight): adjust
4554         (cursorLeft): remove usage of Paragraph::previous
4555         (cursorUpParagraph): ditto
4556         (deleteEmptyParagraphMechanism): slight cleanup
4557
4558         * text.C (isBoundary): take a Paragraph const & instead of a
4559         pointer as arg.
4560         (addressBreakPoint): ditto
4561         (leftMargin): remove usage of Paragraph::previous.
4562         (setHeightOfRow): ditto
4563         (cursorLeftOneWord): ditto
4564         (selectNextWordToSpellcheck): ditto
4565         (Delete): ditto
4566         (backspace): ditto
4567         (breakParagraph): remove one usage of Paragraph::next
4568         (redoParagraph): ditto
4569         (acceptChange): ditto
4570         (insertChar): adjust
4571         (rowBreakPoint): adjust
4572
4573         * bufferview_funcs.C (toggleAndShow): adjust
4574
4575 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4576
4577         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4578         methods to access it.
4579         * lyxtext.h:
4580         * text.C: Added updateRowPositions to compute all row positions.
4581         Make top_y and getRowNearY() to use the cached y position
4582
4583 2003-04-11  John Levon  <levon@movementarian.org>
4584
4585         * text.C (rowBreakPoint): reintroduce the labelEnd
4586         checks, code copied from the row fill stuff. Deep voodoo.
4587
4588         * text.C (fill): add a comment and debugging for the
4589         next poor soul.
4590
4591 2003-04-11  John Levon  <levon@movementarian.org>
4592
4593         * text.C: make sure fullrow insets get wrapped to the next line,
4594         even when they're in a manual label
4595
4596 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * text2.C (insertParagraph): make it take ParagraphList::iterator
4599         as arg.
4600         (setLayout): make it return ParagraphList::iterator
4601         (redoParagraphs): ditto
4602         (setCounter): ditto
4603         (checkParagraph): ditto
4604
4605         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4606
4607         * text2.C: adjust several funcs.
4608         (realizeFont): take a ParagraphList::iterator as arg.
4609         (getLayoutFont): ditto
4610         (getLabelFont): ditto
4611         (setCharFont): ditto
4612
4613         * text.C: adjust several funcs.
4614
4615 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * text.C (selectNextWordToSpellcheck): don't accidentally
4618         skip insets
4619
4620 2003-04-10  John Levon  <levon@movementarian.org>
4621
4622         * ToolbarBackend.C (getIcon): special handling for
4623         LFUN_MATH_DELIM
4624
4625 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * text2.C (cursorRight): a getChar assert fixed
4628
4629 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * text2.C (getFont): change to take a ParagraphList::iterator
4632         instead of Paragraph*
4633         Adjust several functions.
4634
4635         * text.C (transformChar): change to take a ParagraphList::iterator
4636         instead of Paragraph*
4637         (singleWidth): ditto
4638         Adjust several functions.
4639
4640         * rowpainter.C: adjust several functions
4641         * rowpainter.h:store a ParagraphList::iterator and not a
4642         Paragraph&.
4643
4644
4645 2003-04-09  John Levon  <levon@movementarian.org>
4646
4647         * lyxfunc.C:
4648         * lfuns.h:
4649         * LyXAction.h:
4650         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4651         and the "help" bits as well
4652
4653 2003-04-09  John Levon  <levon@movementarian.org>
4654
4655         * ToolbarBackend.h:
4656         * ToolbarBackend.C: allow multiple toolbars
4657
4658 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4659
4660         * undo_funcs.C (setCursorParUndo): adjust
4661
4662         * text_funcs.C (transposeChars): adjust
4663
4664         * text3.C (gotoNextInset): adjust
4665         (dispatch): adjust
4666
4667         * text2.C (setLayout): adjust
4668         (changeDepth): adjust
4669         (setFont): adjust
4670         (redoParagraphs): adjust
4671         (selectionAsString): adjust
4672         (setParagraph): adjust
4673         (insertInset): adjust
4674         (cutSelection): adjust
4675         (copySelection): adjust
4676         (pasteSelection): adjust
4677         (insertStringAsLines): adjust
4678         (updateInset): adjust
4679         (setCursor): change to take a ParagraphList::iterator parameter
4680         (setCursorIntern): change to take a ParagraphList::iterator parameter
4681         (setCurrentFont): adjust
4682         (cursorLeft): adjust
4683         (cursorRight): adjust
4684         (deleteEmptyParagraphMechanism): adjust
4685
4686         * text.C (breakParagraph): adjust
4687         (insertChar): adjust
4688         (acceptChange): adjust
4689         (rejectChange): adjust
4690         (selectNextWordToSpellcheck): adjust
4691         (changeCase): adjust
4692         (Delete): adjust
4693         (backspace): adjust
4694
4695         * lyxfind.C (SearchForward): adjust
4696         (SearchBackward): adjust
4697         (nextChange): adjust
4698
4699         * lyxcursor.C (par): adjust
4700
4701         * lyxcursor.h: store a ParagraphList::iterator instead of a
4702         Paragraph*
4703
4704         * lyx_cb.C (getPossibleLabel): adjust
4705
4706         * bufferview_funcs.C (toggleAndShow): adjust
4707
4708         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4709         (dispatch): adjust
4710
4711         * BufferView.C (removeAutoInsets): adjust
4712         (lockedInsetStoreUndo): adjust
4713
4714 2003-04-09  John Levon  <levon@movementarian.org>
4715
4716         * ToolbarBackend.C: try icon without argument
4717         if with argument fails
4718
4719 2003-04-08  John Levon  <levon@movementarian.org>
4720
4721         * ToolbarBackend.h:
4722         * ToolbarBackend.C: add getIcon(), handle tooltip,
4723         and change from "Icon" to "Item".
4724
4725 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * BufferView.C (lockInset): another bad getchar crunched
4728
4729 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4730
4731         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4732         again)
4733
4734 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4735
4736         * lyxfind.C (searchForward, searchBackwards): bug 782
4737
4738 2003-04-07  John Levon  <levon@movementarian.org>
4739
4740         * paragraph.C: remove dead comment
4741
4742         * text.C: remove troublesome depth-fiddling code
4743         in leftMargin() and rightMargin() (bug 1017)
4744
4745         * text.C: fix breaking of rows in nested lists
4746         (bug 1004)
4747
4748         * text2.C (updateCounters): fix up depth values
4749         (bug 1013)
4750
4751 2003-04-07  John Levon  <levon@movementarian.org>
4752
4753         * BufferView_pimpl.C: clear message when doc finishes resizing,
4754         and after a mouse event
4755
4756         * lyxfunc.C: clear message after exiting inset
4757
4758 2003-04-07  John Levon  <levon@movementarian.org>
4759
4760         * bufferview_funcs.C: show math status not outside
4761         status in the statusbar
4762
4763 2003-04-07  John Levon  <levon@movementarian.org>
4764
4765         * lyxfunc.C: note status changed after a depth change
4766
4767 2003-04-04  Angus Leeming  <leeming@lyx.org>
4768
4769         * LaTeX.h: move AuxInfo operator==, != out of line.
4770         Remove LaTeX virtual destructor; nothing derives from it.
4771         Move operator()() out of public area and rename it startscript().
4772         Change protected for private.
4773
4774 2003-04-04  Angus Leeming  <leeming@lyx.org>
4775
4776         * lyxfunc.C:
4777         * text2.C: remove unneeded #includes.
4778
4779 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * text2.C (dEPM): fix the heigth of the next row
4782
4783 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * text.C: squashed an invalid getChar requester + some ws changes
4786
4787 2003-04-03  John Levon  <levon@movementarian.org>
4788
4789         * bufferview_funcs.h:
4790         * bufferview_funcs.C:
4791         * lyxfunc.C:
4792         * lyxtext.h:
4793         * text2.C: make getStatus work for the env depth lfuns
4794
4795 2003-04-03  John Levon  <levon@movementarian.org>
4796
4797         * bufferview_funcs.h:
4798         * bufferview_funcs.C:
4799         * lyxfunc.C:
4800         * lyxtext.h:
4801         * text2.C: parlistize decDepth(), by merging it with incDepth()
4802
4803 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * lyxrow.h: store a ParagraphList::iterator instead of a
4806         Paragraph* and adjust other class functions to suit.
4807
4808         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4809         above.
4810
4811 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4812
4813         * text2.C (setCursor): do not anchor to cursor row for the time being
4814
4815 2003-04-02  John Levon  <levon@movementarian.org>
4816
4817         * LyXAction.C:
4818         * lfuns.h:
4819         * lyx_main.C:
4820         * lyxtext.h:
4821         * text.C:
4822         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4823
4824 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * paragraph.h: make ParagraphList and ParagraphList::iterator
4827         friends of Paragraph.
4828
4829         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4830
4831         * ParagraphList.C: Use the private next_ and previous_ from
4832         Paragraph.
4833
4834 2003-04-01  John Levon  <levon@movementarian.org>
4835
4836         * ToolbarBackend.h:
4837         * ToolbarBackend.C:
4838         * Makefile.am: rename, remove defaults gunk
4839
4840         * MenuBackend.h:
4841         * MenuBackend.C: remove defaults gunk
4842
4843         * Languages.h:
4844         * Languages.C: remove defaults gunk
4845
4846         * lyx_main.h:
4847         * lyx_main.C: error out if files couldn't be found.
4848
4849 2003-04-02  John Levon  <levon@movementarian.org>
4850
4851         * text2.C: make incDepth() use parlist
4852
4853 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * undo_funcs.C (firstUndoParagraph): adjust
4856
4857         * text3.C (gotoInset): adjust
4858         (dispatch): adjust, and rewrite loop.
4859
4860         * text2.C (init): adjust, and rewrite loop.
4861         (redoParagraphs): adjust
4862         (updateInset): adjust, and rewrite loop.
4863         (deleteEmptyParagraphMechanism): adjust
4864
4865         * tabular.C (LyXTabular): adjust
4866         (SetMultiColumn): adjust
4867         (TeXRow): adjust
4868
4869         * lyxtext.[Ch] (ownerParagraph): delete function
4870         (ownerParagraphs): new function returns a ParagraphList.
4871
4872         * BufferView.C (removeAutoInsets): adjust
4873         (insertErrors): adjust
4874         (setCursorFromRow): adjust
4875
4876 2003-04-01  Angus Leeming  <leeming@lyx.org>
4877
4878         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4879         in the frontends.
4880
4881 2003-04-02  John Levon  <levon@movementarian.org>
4882
4883         * lyxtext.h:
4884         * text.C:
4885         * Makefile.am:
4886         * text_funcs.h:
4887         * text_funcs.C: make transposeChars a free function
4888
4889         * lyxrow_funcs.C: remove wrong comment
4890
4891 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * lyxtext.h: adjust
4894         * rowpainter.C: adjust
4895         * text.C: adjust
4896         * text2.C: adjust
4897         * text3.C: adjust
4898
4899         * lyxrow_funcs. [Ch]: new files
4900
4901         * lyxrow.[Ch]: remove next and previous pointers
4902         (next,previous): remove accessor functions
4903         (isParEnd): move to lyxrow_funcs
4904         (lastPos): move to lyxrow_funcs
4905         (nextRowIsAllInset): move to lyxrow_funcs
4906         (lastPrintablePos): move to lyxrow_funcs
4907         (numberOfSeparators): move to lyxrow_funcs
4908         (numberOfHfills): move to lyxrow_funcs
4909         (numberOfLabelHfills): move to lyxrow_funcs
4910         (hfillExpansion): move to lyxrow_funcs
4911
4912         * lyxfunc.C: adjust
4913
4914         * bufferview_funcs.C (toggleAndShow): adjust
4915
4916         * RowList.h: Remove class RowList from file leave just a
4917         std::list<Row>.
4918
4919         * RowList.C: delete file
4920
4921         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4922         and lyxrow_funcs.h
4923
4924 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * text3.C (cursorPrevious): adjust
4927         (cursorNext): adjust
4928         (dispatch): adjust
4929
4930         * text2.C (redoHeightOfParagraph): adjust
4931         (redoDrawingOfParagraph): adjust
4932         (setCursor): adjust
4933
4934         * text.C (breakParagraph): adjust
4935         (insertChar): adjust
4936         (backspace): adjust
4937
4938         * rowpainter.C (RowPainter): adjust
4939         (leftMargin): simplify and adjust
4940         (most rowpainter functions): adjust.
4941
4942         * rowpainter.h: store the row as RowList::iterator not as Row*
4943
4944         * lyxcursor.C (row): taka RowList::iterator as arg
4945         (irow): ditto
4946
4947         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4948         of Row*.
4949
4950 2003-04-01  Angus Leeming  <leeming@lyx.org>
4951
4952         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4953         stuff like bool Bool.
4954
4955 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4958         rewrite a loop
4959
4960 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4963         RowList::iterator.
4964
4965         * lyxtext.h (rows): drop one version and leve a const variant that
4966         returns a RowList::iterator.
4967
4968 2003-03-31  Angus Leeming  <leeming@lyx.org>
4969
4970         * text.C (fill): ensure that the signature is the same as that in the
4971         header file.
4972
4973 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * text2.C (redoParagraphs): adjust
4976         (updateCounters): adjust
4977         (checkParagraph): adjust
4978         (getColumnNearX): adjust and reformat a bit.
4979
4980         * text.C (top_y): adjust
4981         (workWidth): adjust
4982         (leftMargin): adjust
4983         (prepareToPrint): adjust
4984         (getRow): adjust
4985         (getRowNearY): adjust
4986
4987         * lyxtext.h: make rowlist_ mutable.
4988
4989         * RowList.h: add const_iterator
4990         * RowList.C: adjust for RowList::const_iterator.
4991
4992         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4993         adjust.
4994
4995 2003-03-31  John Levon  <levon@movementarian.org>
4996
4997         * lyxrc.h:
4998         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4999
5000         * lyx_main.C: set default fonts from using lyx_gui funcs
5001
5002         * exporter.C: pdf_mode moved from lyxrc
5003
5004         * lyx_cb.C:
5005         * lyxfunc.C: changes from above
5006
5007 2003-03-31  John Levon  <levon@movementarian.org>
5008
5009         * lyx_main.C: fix to the last fix
5010
5011 2003-03-31  John Levon  <levon@movementarian.org>
5012
5013         * bufferlist.C: "Load original" -> "Load Original"
5014
5015         * converter.C:
5016         * exporter.C:
5017         * importer.C:
5018         * lyx_main.C:
5019         * format.C: more Alert cleanups
5020
5021 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * text2.C (removeParagraph): make it take a RowList::iterator as
5024         arg, adjust.
5025         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5026         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5027
5028         * text.C (anchor_row): make it take a RowList::iterator as arg,
5029         adjust.
5030         (computeBidiTables): make it take a const reference to Row instead
5031         of Row pointer, adjust.
5032         (leftMargin): make it take a RowList::iterator as arg, adjust.
5033         (rowBreakPoint): adjust
5034         (breakAgainOneRow): make it take a RowList::iterator as arg,
5035         adjust.
5036         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5037
5038         * bufferview_funcs.C (toggleAndShow): adjust
5039
5040 2003-03-30  John Levon  <levon@movementarian.org>
5041
5042         * Makefile.am:
5043         * BoostFormat.h:
5044         * boost-inst.C: moved to support
5045
5046         * several files: changes as a result
5047
5048 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * text2.C (LyXText): adjust.
5051         (init): adjust
5052         (removeRow): make it take a RowList::iterator as arg, adjust.
5053         (fullRebreak): adjust
5054         (deleteEmptyParagraphMechanism): adjust
5055         (clearPaint): adjust
5056         (postPaint): adjust
5057
5058         * text.C (top_y): adjust
5059         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5060         (breakAgain): make it take a RowList::iterator as arg, adjust.
5061         (breakParagraph): adjust
5062         (insertChar): adjust
5063         (backspace): adjust
5064
5065         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5066         need_break_row, and refresh_row.
5067
5068         * text3.C (dispatch): adjust
5069
5070         * text2.C (checkParagraph): adjust
5071         (setCursor): adjust
5072         (setCursorFromCoordinates): adjust
5073
5074         * text.C (top_y): adjust
5075         (workWidth): adjust
5076         (getRow): make it return a RowList::iterator, adjust
5077         (getRowNearY): make it return a RowList::iterator, adjust
5078
5079         * text2.C (init): adjust
5080         (insertRow): remove function
5081         (insertParagraph): adjust
5082         (redoParagraphs): adjust
5083         (fullRebreak): adjust
5084         (updateCounters): adjust
5085
5086         * text.C (top_y): rewrite to use RowList iterators.
5087         (top_y): adjust
5088         (setHeightOfRow): rewrite to sue RowList iterators.
5089         (appendParagraph): adjust
5090         (breakAgain): adjust
5091         (breakAgainOneRow): adjust
5092         (breakParagraph): adjust
5093         (getRow): adjust
5094         (getRowNearY): adjust, and remove commented code.
5095
5096         * lyxtext.h (firstRow): delete function
5097         (lastRow): delete function
5098         (rows): new function (const and non-const versions.)
5099         (insertRow): delete function
5100
5101         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5102
5103 2003-03-29  John Levon  <levon@movementarian.org>
5104
5105         * BufferView_pimpl.C: always update scrollbar top
5106         because pasting text when we're anchored could mean we
5107         miss an update altogether
5108
5109 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * text2.C (init): use rowlist_.end() and not 0.
5112         (insertRow): change to take a RowList::iterator as arg, adjust
5113         for this.
5114         (insertParagraph): change to take a RowList::iterator as arg,
5115         adjust for this.
5116         (redoParagraphs): remove some debug msgs.
5117
5118         * text.C (appendParagraph): change to take a RowList::iterator
5119         arg, adjust for this.
5120         (breakAgain): add an assert
5121         (breakAgainOneRow): ditto
5122
5123 2003-03-29  John Levon  <levon@movementarian.org>
5124
5125         * text2.C: do not clear selection after inc/decDepth
5126         (bug 550)
5127
5128 2003-03-29  John Levon  <levon@movementarian.org>
5129
5130         * BufferView.C:
5131         * buffer.C: fix broken strerrors according to Lars
5132
5133 2003-03-29  John Levon  <levon@movementarian.org>
5134
5135         * converters.C: more Alert cleanups
5136
5137 2003-03-29  John Levon  <levon@movementarian.org>
5138
5139         * bufferview_funcs.C: remove pointless Alert
5140
5141         * buffer.C: fix confusing error message when
5142         a template is chmoded 000
5143
5144 2003-03-29  John Levon  <levon@movementarian.org>
5145
5146         * BufferView.C:
5147         * BufferView.h:
5148         * BufferView_pimpl.C: Alert fixes
5149
5150         * Makefile.am:
5151         * tabular.C:
5152         * tabular-old.C: remove unused table compat reading
5153
5154 2003-03-29  John Levon  <levon@movementarian.org>
5155
5156         * BufferView.C:
5157         * buffer.C:
5158         * lyx_cb.h:
5159         * lyx_cb.C: more Alert cleanups
5160
5161         * lyxfunc.C: don't allow chktex if not latex document
5162
5163 2003-03-29  John Levon  <levon@movementarian.org>
5164
5165         * lyx_cb.C:
5166         * BufferView.C:
5167         * buffer.C: warnings pushed down from support/,
5168         kill err_alert
5169
5170 2003-03-29  John Levon  <levon@movementarian.org>
5171
5172         * lyxfunc.C: safety check for C-r (revert)
5173
5174 2003-03-29  John Levon  <levon@movementarian.org>
5175
5176         * bufferlist.h:
5177         * bufferlist.C: several UI fixes using Alert::prompt.
5178         Fix the pointless looping quit code. Fix stupid revert
5179         behaviour (bug 938)
5180
5181         * lyxvc.h:
5182         * lyxvc.C:
5183         * lyx_cb.C: use Alert::prompt
5184
5185         * lyx_main.C: remove a silly question
5186
5187         * lyxfunc.C: remove a couple of silly questions,
5188         use Alert::prompt
5189
5190 2003-03-28  John Levon  <levon@movementarian.org>
5191
5192         * text2.C: fix bug 974 (End on empty par)
5193
5194 2003-03-28  John Levon  <levon@movementarian.org>
5195
5196         * BufferView_pimpl.C:
5197         * LyXAction.C:
5198         * lfuns.h: remove do-nothing math greek lfuns
5199
5200 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * lyxgluelength.h (isValidGlueLength): add default arg on
5203         parameter 2. Remove default arg from friend in class.
5204
5205         * lyxlength.h (isValidLength): add default arg on parameter 2.
5206         Remove default arg from friend in class.
5207
5208         * text2.C (LyXText): adjust, initialize refresh_row.
5209         (init): adjust
5210         (removeRow): adjust
5211         (insertRow): adjust
5212         (insertParagraph): adjst
5213         (redoParagraphs): adjust
5214         (fullRebreak): adjust
5215         (updateCounters): adjust
5216         (deleteEmptyParagraphMechanism): first attempt at fixing a
5217         crashing bug.
5218
5219         * text.C (top_y): adjust
5220         (setHeightOfRow): adjust
5221         (getRow): adjust
5222         (getRowNearY): adjust
5223
5224         * lyxtext.h: include RowList.h
5225         (~LyXText): not needed anymore, deleted.
5226         (firstRow): modify for RowList
5227         (lastRow): new function
5228         Delete firstrow and lastrow class variables, add a Rowlist
5229         rowlist_ class variable.
5230
5231         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5232         paragraph is empty.
5233
5234         * RowList.C (insert): fix case where it == begin().
5235
5236 2003-03-26  Angus Leeming  <leeming@lyx.org>
5237
5238         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5239         the thesaurus dialog.
5240
5241 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5244
5245         * RowList.[Ch]: new files
5246
5247         * ParagraphList.C (erase): handle the case where it == begin
5248         correctly.
5249
5250 2003-03-25  John Levon  <levon@movementarian.org>
5251
5252         * Makefile.am:
5253         * aspell_local.h:
5254         * aspell.C: add new aspell support
5255
5256         * lyxrc.h:
5257         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5258         have it accessible.
5259
5260 2003-03-25  Angus Leeming  <leeming@lyx.org>
5261
5262         * lfuns.h:
5263         * LyXAction.C (init): new LFUN_INSET_INSERT.
5264
5265         * BufferView_pimpl.C (dispatch): split out part of the
5266         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5267
5268         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5269         LFUN_INSET_APPLY.
5270
5271 2003-03-25  Angus Leeming  <leeming@lyx.org>
5272
5273         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5274
5275 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * text2.C:
5278         * text3.C: remove useless row->height(0)
5279
5280 2003-03-25  John Levon  <levon@movementarian.org>
5281
5282         * lyxtext.h:
5283         * text2.C:
5284         * text3.C: rename the refreshing stuff to better names
5285
5286 2003-03-24  John Levon  <levon@movementarian.org>
5287
5288         * BufferView_pimpl.h:
5289         * BufferView_pimpl.C: update layout choice on a mouse
5290         press/release
5291
5292 2003-03-23  John Levon  <levon@movementarian.org>
5293
5294         * Makefile.am: fix commandtags.h reference
5295
5296 2003-03-22  John Levon  <levon@movementarian.org>
5297
5298         * BufferView_pimpl.C:
5299         * lyxtext.h:
5300         * rowpainter.C:
5301         * rowpainter.h:
5302         * text.C:
5303         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5304
5305 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * lyxtext.h:
5308         * text.C: take the rtl methods out of line
5309
5310 2003-03-21 André Pönitz <poenitz@gmx.net>
5311
5312         * metricsinfo.[Ch]: new files containing structures to be passed around
5313         during the two-phase-drawing...
5314
5315 2003-03-21 André Pönitz <poenitz@gmx.net>
5316
5317         * lyxtextclass.C: read 'environment' tag.
5318
5319 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5320
5321         * text2.C (removeRow): fix bug 964
5322
5323 2003-03-20  John Levon  <levon@movementarian.org>
5324
5325         * rowpainter.C:
5326         * text.C:
5327         * text2.C: paint cleanups. Inset::update() dropped font
5328         parameter
5329
5330 2003-03-19  John Levon  <levon@movementarian.org>
5331
5332         * lyxfunc.C: only fitcursor/markDirty if available()
5333
5334 2003-03-19  John Levon  <levon@movementarian.org>
5335
5336         * commandtags.h: rename to ...
5337
5338         * lfuns.h: ... this, and renumber / cleanup
5339
5340 2003-03-19  John Levon  <levon@movementarian.org>
5341
5342         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5343         fit the cursor after an lfun
5344
5345         * BufferView.h:
5346         * BufferView.C:
5347         * BufferView_pimpl.h:
5348         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5349
5350         * LyXAction.C: layout-character should have ReadOnly
5351
5352         * ParagraphParameters.C:
5353         * buffer.C:
5354         * bufferview_funcs.C:
5355         * lyx_cb.C:
5356         * lyxfind.C:
5357         * lyxtext.h:
5358         * text.C:
5359         * text2.C:
5360         * text3.C:
5361         * undo_funcs.C: changes from above
5362
5363 2003-03-18  John Levon  <levon@movementarian.org>
5364
5365         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5366         remove it from update()
5367
5368         * lyxfunc.C: update layout choice after an lfun
5369
5370         * text3.C: remove extra updateLayoutChoice()s
5371
5372 2003-03-18  John Levon  <levon@movementarian.org>
5373
5374         * text.C: top_y change means full repaint, fix
5375         a drawing bug with cursor movement
5376
5377 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * lyxtext.h:
5380         * text.C:
5381         * text2.C: anchor row on setCursor
5382
5383 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * lyxtext.h: remove almost all mutable keywords
5386         * text.C:
5387         * text2.C:
5388         * text3.C: remove const keywords accordingly
5389
5390 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5393         anon namespace
5394         (TeXEnvironment): ditto
5395         (TeXOnePar): ditto
5396
5397 2003-03-17  John Levon  <levon@movementarian.org>
5398
5399         * text.C (rowBreakPoint): remove attempt to fix displayed
5400         math insets inside a manual label
5401
5402 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * lyxtext.h: remove BufferView* as first arg from almost all class
5405         functions.
5406         * other files: adjust.
5407
5408 2003-03-17  John Levon  <levon@movementarian.org>
5409
5410         * lyxtext.h:
5411         * undo_funcs.C:
5412         * text2.C: more paint cleanups
5413
5414         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5415
5416         * rowpainter.h:
5417         * rowpainter.C: remove "smart" background painting code
5418
5419 2003-03-16  John Levon  <levon@movementarian.org>
5420
5421         * lyxtext.h:
5422         * text.C:
5423         * text2.C:
5424         * text3.C: add helper functions for setting refresh_row/y
5425
5426 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5427
5428         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5429         newline inset which *can* get inserted in the pass_thru layouts.
5430         This is primarily for literate documents.
5431
5432 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5433
5434         * buffer.C: increment LYX_FORMAT to 223
5435
5436 2003-03-14 André Pönitz <poenitz@gmx.net>
5437
5438         * textclass.h: prepare for environment handling, ws changes
5439         * lyxlayout.C: read latexheader and latexfooter tags
5440
5441 2003-03-14  John Levon  <levon@movementarian.org>
5442
5443         * text2.C: rewrite ::status() a bit
5444
5445 2003-03-13  John Levon  <levon@movementarian.org>
5446
5447         * lyxtext.h: add some docs
5448
5449 2003-03-13  John Levon  <levon@movementarian.org>
5450
5451         * lyxtext.h:
5452         * text.C:
5453         * text2.C:
5454         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5455
5456 2003-03-13  John Levon  <levon@movementarian.org>
5457
5458         * text3.C: fix appendix redrawing
5459
5460 2003-03-13  John Levon  <levon@movementarian.org>
5461
5462         * text.C (setHeightOfRow):
5463         * rowpainter.h:
5464         * rowpainter.C: make appendix mark have the text
5465           "Appendix" so the user knows what it is
5466
5467         * LColor.h:
5468         * LColor.C: s/appendixline/appendix/ from above
5469
5470 2003-03-13  John Levon  <levon@movementarian.org>
5471
5472         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5473
5474         * text.C: fix a getChar(pos) bug properly
5475
5476 2003-03-13  Angus Leeming  <leeming@lyx.org>
5477
5478         * commandtags.h:
5479         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5480         Probably only temporary. Let's see how things pan out.
5481
5482         * BufferView.C (unlockInset):
5483         * BufferView_pimpl.C (fitCursor):
5484         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5485
5486         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5487         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5488
5489         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5490         new functions that convert ParagraphParameters to and from a string.
5491
5492         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5493         BufferView::Pimpl's dispatch.
5494         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5495
5496 2003-03-13 André Pönitz <poenitz@gmx.net>
5497
5498         * lyxfunc.C:
5499         * text3.C:
5500         * factory.C: make it aware of InsetEnv
5501
5502 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * text2.C (setCursor): never ask for one past last
5505         (setCursor): add some debugging messages.
5506
5507         * text.C (singleWidth): never ask for one past last
5508         (singleWidth): ditto
5509         (leftMargin): ditto
5510         (rightMargin): ditto
5511         (rowBreakPoint): ditto
5512         (setHeightOfRow): ditto
5513         (prepareToPrint): ditto
5514
5515         * rowpainter.C (paintBackground): never ask for one past last
5516         (paintText): never ask for one past last
5517
5518         * paragraph_pimpl.C (getChar): make the assert stricter, never
5519         allow the one past last pos to be taken
5520
5521         * paragraph.C (getChar): ws changes only
5522
5523         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5524         (numberOfSeparators): ditto
5525         (numberOfHfills): ditto
5526
5527 2003-03-12  John Levon  <levon@movementarian.org>
5528
5529         * author.h:
5530         * author.C:
5531         * bufferparams.h:
5532         * bufferparams.C:
5533         * paragraph_funcs.C: fix per-buffer authorlists
5534
5535 2003-03-12  John Levon  <levon@movementarian.org>
5536
5537         * text.C: fix newline in right address
5538
5539 2003-03-12  Angus Leeming  <leeming@lyx.org>
5540
5541         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5542         duplicate those in LyXFunc::dispatch.
5543
5544         * commandtags.h:
5545         * LyXAction.C:
5546         * ToolbarDefaults.C:
5547         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5548         Add LFUN_FONTFREE_UPDATE.
5549
5550         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5551         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5552
5553         * bufferview_func.[Ch]: several new functions to facilliate
5554         transfer of data to and from the character dialog.
5555
5556 2003-03-12  John Levon  <levon@movementarian.org>
5557
5558         * buffer.C:
5559         * paragraph.h:
5560         * paragraph.C:
5561         * paragraph_funcs.C:
5562         * paragraph_pimpl.C:
5563         * sgml.C:
5564         * tabular.C:
5565         * text.C:
5566         * text3.C: remove META_NEWLINE in favour of an inset
5567
5568         * rowpainter.h:
5569         * rowpainter.C: remove paintNewline (done by inset)
5570
5571 2003-03-12  John Levon  <levon@movementarian.org>
5572
5573         * paragraph_pimpl.C: complain about bad getChar()s
5574         for a while at least
5575
5576 2003-03-12  John Levon  <levon@movementarian.org>
5577
5578         * buffer.h:
5579         * buffer.C: move paragraph read into a separate function,
5580         a little renaming to reflect that.
5581
5582         * bufferparams.h:
5583         * bufferparams.C: remove the author_ids map, not necessary now
5584
5585         * factory.h:
5586         * factory.C: moved Buffer::readInset to here
5587
5588         * paragraph_funcs.h:
5589         * paragraph_funcs.C: readParagraph free function moved from
5590         buffer.C
5591
5592         * tabular.C: name change
5593
5594 2003-03-12  John Levon  <levon@movementarian.org>
5595
5596         * buffer.C:
5597         * ParagraphParameters.C: move par params input to
5598         a read() method
5599
5600         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5601         behave like a normal read from the stream wrt reading
5602         a line vs. a \\token
5603
5604 2003-03-12  John Levon  <levon@movementarian.org>
5605
5606         * paragraph.C:
5607         * ParagraphParameters.h:
5608         * ParagraphParameters.C: move output code to a
5609         ::write() method
5610
5611 2003-03-12  John Levon  <levon@movementarian.org>
5612
5613         * BufferView.C (insertLyXFile):
5614         * buffer.h:
5615         * buffer.C:
5616         * tabular.C: use a parlist iterator for creating the
5617           document.
5618
5619 2003-03-12  John Levon  <levon@movementarian.org>
5620
5621         * buffer.C: make current_change static local not
5622           static file-scope
5623
5624 2003-03-12  John Levon  <levon@movementarian.org>
5625
5626         * buffer.C: fix insertStringAsLines for change tracking
5627
5628 2003-03-12  John Levon  <levon@movementarian.org>
5629
5630         * BufferView.C:
5631         * tabular.C:
5632         * buffer.h:
5633         * buffer.C:
5634         * bufferparams.h:
5635         * bufferparams.C: move author list into params. Rename some
5636           functions. Move the header reading into a separate token
5637           loop. Move the header token reading into BufferParams.
5638
5639 2003-03-12  John Levon  <levon@movementarian.org>
5640
5641         * changes.C: put debug inside lyxerr.debugging() checks
5642
5643 2003-03-11 André Pönitz <poenitz@gmx.net>
5644
5645         * factory.C: make it aware of InsetHFill
5646
5647 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5648
5649         * buffer.C (latexParagraphs): move function from here...
5650         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5651         args.
5652
5653 2003-03-10  Angus Leeming  <leeming@lyx.org>
5654
5655         * LyXAction.C (init): fix bug in poplating array with multiple entries
5656         with the same LFUN (spotted by JMarc).
5657
5658 2003-03-10  John Levon  <levon@movementarian.org>
5659
5660         * text.C:
5661         * text2.C: move getColumnNearX() near its
5662         only call site
5663
5664 2003-03-10  John Levon  <levon@movementarian.org>
5665
5666         * text.C: fix break before a minipage
5667
5668 2003-03-10  John Levon  <levon@movementarian.org>
5669
5670         * text.C: fix the last commit
5671
5672 2003-03-09  John Levon  <levon@movementarian.org>
5673
5674         * lyxtext.h:
5675         * text.C:
5676         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5677         bug 365 (don't break before insets unless needed). Don't
5678         return a value > last under any circumstances.
5679
5680 2003-03-09  Angus Leeming  <leeming@lyx.org>
5681
5682         * BufferView_pimpl.C (trackChanges, dispatch): call
5683         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5684
5685 2003-03-09  Angus Leeming  <leeming@lyx.org>
5686
5687         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5688         than Dialogs::showAboutlyx().
5689
5690 2003-03-09  Angus Leeming  <leeming@lyx.org>
5691
5692         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5693         than Dialogs::showTabularCreate().
5694
5695 2003-03-09  John Levon  <levon@movementarian.org>
5696
5697         * lyxtext.h:
5698         * text.C:
5699         * text2.C: 3rd arg to nextBreakPoint was always the same.
5700           Use references.
5701
5702 2003-03-08  John Levon  <levon@movementarian.org>
5703
5704         * lyxrow.C:
5705         * paragraph.C:
5706         * paragraph.h:
5707         * rowpainter.C:
5708         * text.C:
5709         * text2.C: Remove the "main" bit from the "main body"
5710           notion.
5711
5712 2003-03-08  John Levon  <levon@movementarian.org>
5713
5714         * text.C (leftMargin): The left margin of an empty
5715         manual label paragraph should not include the label width
5716         string length.
5717
5718         * text.C (prepareToPrint): don't attempt to measure hfills
5719         for empty manual label paragraphs - the answer should be 0
5720
5721 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * CutAndPaste.C: remove commented code and reindent.
5724
5725 2003-03-08  John Levon  <levon@movementarian.org>
5726
5727         * lyxfunc.h:
5728         * lyxfunc.C: move reloadBuffer()
5729
5730         * BufferView.h:
5731         * BufferView.C: to here
5732
5733         * lyxvc.C: add comment
5734
5735         * vc-backend.h:
5736         * vc-backend.C: call bv->reload() to avoid
5737           getStatus() check on MENURELOAD
5738
5739 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5740
5741         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5742         to an old format .dep file.
5743
5744 2003-03-07  Angus Leeming  <leeming@lyx.org>
5745
5746         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5747         when the LFUN_MOUSE_RELEASE should have been handled by
5748         inset->localDispatch.
5749
5750 2003-03-07  Angus Leeming  <leeming@lyx.org>
5751
5752         * BufferView_pimpl.C (dispatch):
5753         * LyXAction.C (init):
5754         * ToolbarDefaults.C (init):
5755         * commandtags.h:
5756         * lyxfunc.C (getStatus):
5757         remove LFUN_INSET_GRAPHICS.
5758
5759         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5760
5761 2003-03-07  Angus Leeming  <leeming@lyx.org>
5762
5763         * commandtags.h:
5764         * LyXAction.C (init):
5765         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5766
5767         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5768
5769         * commandtags.h:
5770         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5771
5772         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5773         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5774
5775 2003-03-07  Angus Leeming  <leeming@lyx.org>
5776
5777         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5778         remove "ert".
5779
5780 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * ParagraphList.C (front): new function
5783         (back): implement
5784
5785 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5788         and top_row_offset_. removed var first_y.
5789         * text.C (top_y):
5790         * text2.C (LyXText, removeRow):
5791         * text3.C:
5792         * BufferView_pimpl.C:
5793         use these methods instead of using first_y
5794
5795 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * text2.C (pasteSelection): adjust for checkPastePossible
5798
5799         * CutAndPaste.C: remove Paragraph * buf and replace with
5800         ParagraphList paragraphs.
5801         (DeleteBuffer): delete
5802         (cutSelection): change the tc type to textclass_type
5803         (copySelection): change the tc type to textclass_type
5804         (copySelection): adjust for ParagraphList
5805         (pasteSelection): change the tc type to textclass_type
5806         (pasteSelection): adjust for Paragraphlist
5807         (nrOfParagraphs): simplify for ParagraphList
5808         (checkPastePossible): simplify for ParagraphList
5809         (checkPastePossible): remove unused arg
5810
5811         * ParagraphList.C (insert): handle the case where there are no
5812         paragraphs yet.
5813
5814         * CutAndPaste.h: make CutAndPaste a namespace.
5815
5816         * text3.C (dispatch): adjust
5817
5818         * text.C (breakParagraph): add a ParagraphList as arg
5819
5820         * paragraph_funcs.C (breakParagraph): change to take a
5821         BufferParams and a ParagraphList as args.
5822         (breakParagraphConservative): ditto
5823         (mergeParagraph): ditto
5824         (TeXDeeper): add a ParagraphList arg
5825         (TeXEnvironment): ditto
5826         (TeXOnePar): ditto
5827
5828         * buffer.C (readLyXformat2): adjust
5829         (insertStringAsLines): adjust
5830         (latexParagraphs): adjust
5831
5832         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5833         (cutSelection): adjust
5834         (pasteSelection): adjust
5835
5836         * BufferView_pimpl.C (insertInset): adjust
5837
5838 2003-03-05  Angus Leeming  <leeming@lyx.org>
5839
5840         * commandtags.h:
5841         * LyXAction.C (init):
5842         * BufferView_pimpl.C (dispatch):
5843         * lyxfunc.C (getStatus):
5844         remove LFUN_CHILD_INSERT.
5845
5846         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5847
5848 2003-03-05  Angus Leeming  <leeming@lyx.org>
5849
5850         * commandtags.h:
5851         * LyXAction.C (init):
5852         * src/factory.C (createInset):
5853         * lyxfunc.C (getStatus):
5854         * text3.C (dispatch):
5855         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5856
5857         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5858
5859 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * ParagraphList.C (insert): handle insert right before end()
5862         (erase): fix cases where it can be first or last paragraph.
5863
5864 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5867         Paragraph::next and Paragraph::previous
5868         (TeXOnePar): ditto
5869
5870         * text.C (breakParagraph): adjust
5871
5872         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5873         BufferParams& as arg.
5874         (breakParagraph): use ParagraphList::insert
5875         (breakParagraphConservative): take a Buffer* instead of a
5876         BufferParams& as arg.
5877         (breakParagraphConservative): use ParagraphList::insert.
5878
5879         * buffer.C (insertStringAsLines): un-const it
5880         (insertStringAsLines): adjust
5881
5882         * ParagraphList.C (insert): new function
5883
5884         * CutAndPaste.C (pasteSelection): adjust
5885
5886         * text.C (backspace): adjust
5887
5888         * tabular.C (SetMultiColumn): adjust
5889
5890         * CutAndPaste.C (cutSelection): adjust
5891         (pasteSelection): adjust
5892
5893         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5894         Buffer const * as arg
5895
5896         * ParagraphList.C (erase): new function
5897         * paragraph_funcs.C (mergeParagraph): use it
5898         (mergeParagraph): make it take a Buffer* instead of a
5899         BufferParams* as arg
5900
5901         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5902         as arg
5903         (breakParagraphConservative): ditto
5904
5905         * paragraph.h: remove the breakParagraph friend
5906
5907         * paragraph.C (eraseIntern): new function
5908         (setChange): new function
5909
5910         * paragraph_funcs.C (mergeParagraph): make it take a
5911         ParagraphList::iterator instead of a Paragraph *, adjust
5912         accordingly.
5913
5914         * paragraph.h: move an #endif so that the change tracking stuff
5915         also works in the NO_NEXT case.
5916
5917 2003-03-04  Angus Leeming  <leeming@lyx.org>
5918
5919         * commandtags.h:
5920         * LyXAction.C: new LFUN_INSET_MODIFY.
5921
5922         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5923         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5924
5925 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * several files: ws changes only
5928
5929         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5930         (TeXEnvironment): ditto
5931         (TeXDeeper): ditto
5932
5933         * buffer.C (makeLaTeXFile): adjust
5934         (latexParagraphs): make it take ParagraphList::iterator as args
5935
5936 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * buffer.C (latexParagraphs): adjust
5939
5940         * paragraph.C (TeXOnePar): move function...
5941         (optArgInset): move function...
5942         (TeXEnvironment): move function...
5943         * paragraph_pimpl.C (TeXDeeper): move function...
5944         * paragraph_funcs.C: ...here
5945
5946         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5947
5948 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * buffer.C (readInset): remove compability code for old Figure and
5951         InsetInfo insets
5952
5953 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * buffer.C: ws changes
5956         (readInset):
5957
5958         * BufferView_pimpl.C: ditto
5959         * author.C: ditto
5960         * buffer.h: ditto
5961         * bufferlist.h: ditto
5962         * changes.h: ditto
5963         * lyxfunc.C: ditto
5964
5965 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5966
5967         * converter.[Ch]: split into itself +
5968         * graph.[Ch]
5969         * format.[Ch]
5970         * Makefile.am: += graph.[Ch] + format.[Ch]
5971         * MenuBackend.C
5972         * buffer.C
5973         * exporter.C
5974         * importer.C
5975         * lyx_main.C
5976         * lyxfunc.C
5977         * lyxrc.C: added #include "format.h"
5978
5979 2003-02-27  Angus Leeming  <leeming@lyx.org>
5980
5981         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5982           a label.
5983
5984         * factory.C (createInset): add "label" to the factory.
5985
5986         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5987           string and do no more.
5988
5989 2003-02-27  Angus Leeming  <leeming@lyx.org>
5990
5991         * commandtags.h:
5992         * LyXAction.C (init):
5993         * factory.C (createInset):
5994         * BufferView_pimpl.C (dispatch):
5995           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5996
5997         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5998
5999         * lyxfunc.C (dispatch):
6000         * text3.C (dispatch): pass name to params2string.
6001
6002 2003-02-26  Angus Leeming  <leeming@lyx.org>
6003
6004         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6005           blocks together.
6006           Rearrange the ~includes. Strip out the unnecessary ones.
6007
6008         * factory.C (createInset): reformat.
6009           create new insets for the various LFUN_XYZ_APPLY lfuns.
6010
6011 2003-02-26  John Levon  <levon@movementarian.org>
6012
6013         * lyxrow.h:
6014         * lyxrow.C: add isParStart,isParEnd helpers
6015
6016         * paragraph.h: make isInserted/DeletedText take refs
6017
6018         * paragraph_funcs.h:
6019         * paragraph_funcs.C: remove #if 0'd code
6020
6021         * lyxtext.h:
6022         * text3.C:
6023         * text2.C:
6024         * text.C: use lyxrow helpers above.
6025           Move draw and paint routines to RowPainter.
6026           Make several methods use refs not pointers.
6027           Make backgroundColor() const.
6028           Add markChangeInDraw(), isInInset().
6029           Merge changeRegionCase into changeCase.
6030           Make workWidth() shouldn't-happen code into an Assert.
6031
6032         * rowpainter.h:
6033         * rowpainter.C: new class for painting a row.
6034
6035         * vspace.h:
6036         * vspace.C: make inPixels take a ref
6037
6038 2003-02-26  Angus Leeming  <leeming@lyx.org>
6039
6040         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6041         LFUN_REF_APPLY.
6042
6043 2003-02-25  John Levon  <levon@movementarian.org>
6044
6045         * ispell.C: give the forked command a more accurate name
6046
6047 2003-02-22  John Levon  <levon@movementarian.org>
6048
6049         * toc.h:
6050         * toc.C: make TocItem store an id not a Paragraph *
6051           (bug #913)
6052
6053 2003-02-21  Angus Leeming  <leeming@lyx.org>
6054
6055         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6056           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6057           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6058           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6059           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6060           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6061
6062         * BufferView_pimpl.C (dispatch):
6063         * LyXAction.C (init):
6064         * factory.C (createInset):
6065         * lyxfunc.C (getStatus, dispatch):
6066         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6067
6068 2003-02-21  Angus Leeming  <leeming@lyx.org>
6069
6070         * BufferView_pimpl.C (MenuInsertLyXFile):
6071         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6072         * lyxfunc.C (menuNew, open, doImport):
6073           no longer pass a LyXView & to fileDlg.
6074
6075 2003-02-21  Angus Leeming  <leeming@lyx.org>
6076
6077         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6078         * LyXAction.C: change, BIBKEY to BIBITEM.
6079         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6080         Change InsetBibKey to InsetBibitem.
6081         Change BIBKEY_CODE to BIBITEM_CODE.
6082         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6083         * factory.C: replace insetbib.h with insetbibitem.h.
6084         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6085         * paragraph.C: replace insetbib.h with insetbibitem.h.
6086         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6087         Change bibkey() to bibitem().
6088         * text.C: remove insetbib.h.
6089         * text2.C: replace insetbib.h with insetbibitem.h.
6090         change bibkey() to bibitem().
6091         * text3.C: remove insetbib.h.
6092         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6093
6094 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6095
6096         * lyxrc.C (output): enclose user email in quotes (in case there are
6097         several words)
6098
6099 2003-02-18  John Levon  <levon@movementarian.org>
6100
6101         * buffer.h: add std::
6102
6103 2003-02-17  John Levon  <levon@movementarian.org>
6104
6105         * SpellBase.h:
6106         * ispell.h:
6107         * ispell.C:
6108         * pspell.h:
6109         * pspell.C: reworking. Especially in ispell, a large
6110           number of clean ups and bug fixes.
6111
6112         * lyxfunc.C: fix revert to behave sensibly
6113
6114 2003-02-17 André Pönitz <poenitz@gmx.net>
6115
6116         * LyXAction.C:
6117         * commandtags.h: new LFUN_INSERT_BIBKEY
6118
6119         * layout.h:
6120         * lyxlayout.C:
6121         * buffer.C:
6122         * factory.C:
6123         * text.C:
6124         * text2.C:
6125         * text3.C:
6126         * paragraph.[Ch]:
6127         * paragraph_func.C: remove special bibkey handling
6128
6129 2003-02-17  John Levon  <levon@movementarian.org>
6130
6131         * text.C (Delete): fix case where delete at the end of
6132           the very first paragraph would not merge the pars
6133
6134 2003-02-17  John Levon  <levon@movementarian.org>
6135
6136         * lyxrow.C: fix lastPrintablePos()
6137
6138 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6139
6140         * bufferparams.C (writeLaTeX): add a std:here
6141
6142         * buffer.C: and remove a using directive there
6143
6144 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6145
6146         * buffer.C (makeLaTeXFile): move the code that generates the
6147           preamble...
6148
6149         * bufferparams.C (writeLaTeX): ... in this new method
6150
6151         * LaTeXFeatures.C (getEncodingSet): make const
6152           (getLanguages): make const
6153
6154         * MenuBackend.C (binding): returns the binding associated to this
6155           action
6156           (add): sets the status of each item by calling getStatus. Adds
6157           some intelligence.
6158           (read): add support for OptSubMenu
6159           (expand): remove extra separator at the end of expanded menu
6160
6161 2003-02-15  John Levon  <levon@movementarian.org>
6162
6163         * BufferView.C:
6164         * BufferView_pimpl.C:
6165         * bufferlist.h:
6166         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6167           inset code that had no actual effect. Remove unneeded status
6168           code.
6169
6170 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6171
6172         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6173           in preamble
6174
6175 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6176
6177         * text.C (drawLengthMarker): also draw an arrow marker for
6178           symbolic lengths (medskip...)
6179
6180 2003-02-14  John Levon  <levon@movementarian.org>
6181
6182         * tabular.h:
6183         * tabular.C: better method names
6184
6185 2003-02-14  John Levon  <levon@movementarian.org>
6186
6187         * BufferView_pimpl.C:
6188         * bufferlist.C:
6189         * buffer.C:
6190         * converter.C:
6191         * lyx_cb.C:
6192         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6193           it's a more accurate name. Remove some pointless uses.
6194
6195 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6196
6197         * text2.C (LyXText): change order of initilizers to shut off
6198           warnings
6199
6200 2003-02-14  John Levon  <levon@movementarian.org>
6201
6202         * buffer.C: use ParIterator for getParFromID()
6203
6204         * paragraph.h:
6205         * paragraph.C:
6206         * paragraph_pimpl.h:
6207         * paragraph_pimpl.C: remove unused getParFromID()
6208
6209 2003-02-14  John Levon  <levon@movementarian.org>
6210
6211         * buffer.C: remove some very old #if 0'd parse code
6212
6213 2003-02-13  John Levon  <levon@movementarian.org>
6214
6215         * text.h:
6216         * text.C:
6217         * text2.C: move hfillExpansion(), numberOfSeparators(),
6218           rowLast(), rowLastPrintable(), numberofHfills(),
6219           numberOfLabelHfills() ...
6220
6221         * lyxrow.h:
6222         * lyxrow.C: ... to member functions here.
6223
6224         * paragraph.h:
6225         * paragraph.C:
6226         * lyxtext.h:
6227         * text.C: remove LyXText::beginningOfMainBody(), and call
6228           p->beginningOfMainBody() directly. Move the check for
6229           LABEL_MANUAL into the latter.
6230
6231         * text.h:
6232         * text.C:
6233         * text2.C:
6234         * vspace.C:
6235         * BufferView.h:
6236         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6237
6238         * text.h:
6239         * text.C:
6240         * text2.C:
6241         * text3.C:
6242         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6243           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6244
6245 2003-02-13  John Levon  <levon@movementarian.org>
6246
6247         * CutAndPaste.C: remove debug
6248
6249 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6250
6251         * paragraph.C (asString): remove two unused variables
6252
6253         * lyxtextclass.C (readTitleType):
6254           (Read):
6255           (LyXTextClass): handle new members titletype_ and titlename_
6256
6257         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6258
6259 2003-02-09  John Levon  <levon@movementarian.org>
6260
6261         * buffer.h:
6262         * buffer.C: replace hand-coded list with a map for the dep clean
6263
6264 2003-02-08  John Levon  <levon@movementarian.org>
6265
6266         * LaTeX.C: consolidate code into showRunMessage() helper
6267
6268 2003-02-08  John Levon  <levon@movementarian.org>
6269
6270         * lyxfind.C:
6271         * lyxtext.h:
6272         * text2.C:
6273         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6274           and pass the size in explicitly
6275
6276         * BufferView_pimpl.h:
6277         * BufferView_pimpl.C:
6278         * BufferView.h:
6279         * BufferView.C: add getCurrentChange()
6280
6281         * BufferView_pimpl.h:
6282         * BufferView_pimpl.C: handle change lfuns
6283
6284         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6285           for changes. Mark pasted paragraphs as new.
6286
6287         * support/lyxtime.h:
6288         * support/lyxtime.C:
6289         * DepTable.C: abstract time_t as lyx::time_type
6290
6291         * LColor.h:
6292         * LColor.C: add colours for new text, deleted text, changebars
6293
6294         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6295           package use "usenames" option.
6296
6297         * commandtags.h:
6298         * lyxfunc.C:
6299         * LyXAction.C: add change lfuns
6300
6301         * Makefile.am:
6302         * author.h:
6303         * author.C: author handling
6304
6305         * buffer.h:
6306         * buffer.C: add a per-buffer author list, with first entry as
6307           current author. Handle new .lyx tokens for change tracking. Output
6308           author list to .lyx file. Output dvipost stuff to .tex preamble.
6309           Bump lyx format to 222.
6310
6311         * bufferlist.h:
6312         * bufferlist.C: add setCurrentAuthor() to reset current author details
6313           in all buffers.
6314
6315         * bufferparams.h:
6316         * bufferparams.C: add param for tracking
6317
6318         * bufferview_funcs.C: output change info in minibuffer
6319
6320         * Makefile.am:
6321         * changes.h:
6322         * changes.C: add change-tracking structure
6323
6324         * debug.h:
6325         * debug.C: add CHANGES debug flag
6326
6327         * lyxfind.h:
6328         * lyxfind.C: add code for finding the next change piece
6329
6330         * lyxrc.h:
6331         * lyxrc.C: add user_name and user_email
6332
6333         * lyxrow.h:
6334         * lyxrow.C: add a metric for the top of the text line
6335
6336         * lyxtext.h:
6337         * text.C: implement accept/rejectChange()
6338
6339         * lyxtext.h:
6340         * text.C: paint changebars. Paint new/deleted text in the chosen
6341         colours. Strike through deleted text.
6342
6343         * paragraph.h:
6344         * paragraph.C:
6345         * paragraph_pimpl.h:
6346         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6347           in the current change to the insert functions. Rework erase to
6348           mark text as deleted, adding an eraseIntern() and a range-based
6349           erase(). Implement per-paragraph change lookup and
6350           accept/reject.
6351
6352         * paragraph_funcs.C: Fixup paste for change tracking.
6353
6354         * tabular.C: mark added row/columns as new.
6355
6356         * text.C: fix rowLast() to never return -1. Don't allow
6357           spellchecking of deleted text. Track transpose changes. Don't
6358           allow paragraph break or merge where appropriate.
6359
6360         * text2.C: leave cursor at end of selection after a cut.
6361
6362 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6363
6364         * text.C (getLengthMarkerHeight):
6365         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6366         visible on screen too.
6367
6368 2003-02-07  John Levon  <levon@movementarian.org>
6369
6370         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6371
6372 2003-02-05  Angus Leeming  <leeming@lyx.org>
6373
6374         * lyxserver.C (read_ready): revert my patch of 11 September last year
6375         as it sends PC cpu through the roof. Presumably this means that
6376         the lyxserver will no longer run on an Alpha...
6377
6378 2003-01-30  Angus Leeming  <leeming@lyx.org>
6379
6380         * factory.C (createInset): create an InsetCommandParam of type "index"
6381         and use it to 'do the right thing'.
6382
6383         * text2.C (getStringToIndex): ensure that cursor position is always
6384         reset to the reset_cursor position.
6385
6386 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6389         disabled.
6390
6391 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6392
6393         * bufferview.C:
6394         * lyxcb.C:
6395         * lyxfunc.C: Output messages with identical spelling, punctuation,
6396         and spaces
6397
6398 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6399
6400         * MenuBackend.C (expandFormats): List only viewable export formats
6401         in "View" menu
6402
6403         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6404         message
6405
6406         * lyxfunc.C (getStatus): Make sure that formats other than
6407         "fax" can also be disabled
6408
6409 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6410
6411         * text3.C (dispatch): put the lfuns that insert insets in 3
6412         groups, and call doInsertInset with appropriate arguments.
6413         (doInsertInset): new function, that creates an inset and inserts
6414         it according to some boolean parameters.
6415
6416 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * buffer.C (readFile): remember to pass on 'par' when calling
6419         readFile recursively.
6420
6421 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6422
6423         * MenuBackend.C (expandFormats): add "..." to import formats.
6424
6425 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6426
6427         * paragraph.C (asString): Remove XForms RTL hacks.
6428
6429 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6430         * buffer.C: fix typo
6431
6432 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * Makefile.am (LIBS): delete var
6435         (lyx_LDADD): add @LIBS@ here instead.
6436
6437 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6438
6439         * Clarify the meaning of "wheel mouse jump"
6440
6441 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6442
6443         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6444         tabular in a float
6445
6446 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6447
6448         * importer.C (Loaders): do not preallocate 3 elements in the
6449         vector, since one ends up with 6 elements otherwise
6450
6451 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6452
6453         * DepTable.C (write): write the file name as last element of the
6454         .dep file (because it may contain spaces)
6455         (read): read info in the right order
6456
6457 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6458
6459         * paragraph_pimpl.C (simpleTeXBlanks):
6460         (simpleTeXSpecialChars):
6461         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6462
6463         * tabular.C (latex): add some missing case statements. Reindent.
6464
6465         * MenuBackend.C (expandToc): remove unused variable.
6466
6467 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6468
6469         * LColor.C:
6470         * LaTeX.C:
6471         * LyXAction.C:
6472         * MenuBackend.C:
6473         * buffer.C:
6474         * exporter.C:
6475         * lyxfunc.C:
6476         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6477         and the like.
6478
6479 2003-01-05  John Levon  <levon@movementarian.org>
6480
6481         * BufferView.h:
6482         * BufferView.C: add getEncoding()
6483
6484         * kbsequence.h:
6485         * kbsequence.C: do not store last keypress
6486
6487         * lyxfunc.h:
6488         * lyxfunc.C: store last keypress here instead. Pass encoding
6489           to getISOEncoded()
6490
6491 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6492
6493         * lyx_main.C (init): remove annoying error message when following
6494         symbolic links (bug #780)
6495
6496 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6497
6498         * text.C (insertChar):
6499         * lyxrc.C (getDescription): remove extra spaces
6500
6501 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6502
6503         * lyxrc.C (getDescription): remove extra spaces
6504
6505 2002-12-20  John Levon  <levon@movementarian.org>
6506
6507         * text3.C: hack fix for page up/down across tall rows
6508
6509 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6510
6511         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6512         not been invoked
6513
6514 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6515
6516         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6517         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6518         thesaurus is not compiled in
6519
6520 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6521
6522         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6523
6524 2002-12-16  Angus Leeming  <leeming@lyx.org>
6525
6526         * lyxrc.[Ch]:
6527         * lyx_main.C (init): remove override_x_deadkeys stuff.
6528
6529 2002-12-12  John Levon  <levon@movementarian.org>
6530
6531         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6532           insert. Only remove shift modifier under strict
6533           circumstances.
6534
6535 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * MenuBackend.C (expandToc): fix crash.
6538
6539 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * MenuBackend.C (expandToc): gettext on float names.
6542
6543 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6544
6545         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6546         implement bool empty() [bug 490]
6547
6548 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6551
6552 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * several files: ws changes
6555
6556 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * text2.C (setCounter): clean up a bit, use boost.format.
6559         (updateCounters): initialize par upon declaration.
6560
6561         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6562         if the layout exists. We do not just store the layout any more.
6563         (SwitchLayoutsBetweenClasses): use boost.format
6564
6565 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6566
6567         * converter.C (convert): if from and to files are the same, use a
6568         temporary files as intermediary
6569
6570 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6571
6572         * commandtags.h:
6573         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6574
6575 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6576
6577         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6578
6579 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * tabular.C (asciiPrintCell): use string(size, char) instead of
6582         explicit loop.
6583
6584         * sgml.C (openTag): fix order of arguments to string constructor
6585         (closeTag): ditto
6586
6587         * lyxfunc.C (dispatch): use boost.format
6588
6589         * lots of files: change "c" -> 'c'
6590
6591 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6594
6595 2002-11-25  Angus Leeming  <leeming@lyx.org>
6596
6597         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6598
6599         * lyx_main.C (init): compile fix.
6600
6601 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * lyx_cb.C (start): boost.formatify
6604         do not include <iostream>
6605
6606         * lengthcommon.C: ws only
6607
6608         * boost-inst.C,BoostFormat.h: add more explict instantations
6609
6610 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * lots of files: handle USE_BOOST_FORMAT
6613
6614 2002-11-21  John Levon  <levon@movementarian.org>
6615
6616         * pspell.C: fix compile
6617
6618 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6619
6620         * lyxfunc.C (dispatch): use boost::format
6621         (open): ditto
6622         (doImport): ditto
6623
6624         * lyxfont.C (stateText): use boost::format
6625
6626         * lyx_main.C (LyX): use boost::format
6627         (init): ditto
6628         (queryUserLyXDir): ditto
6629         (readRcFile): ditto
6630         (parse_dbg): ditto
6631         (typedef boost::function): use the recommened syntax.
6632
6633         * importer.C (Import): use boost::format
6634
6635         * debug.C (showLevel): use boost::format
6636
6637         * converter.C (view): use boost::format
6638         (convert): ditto
6639         (move): ditto
6640         (scanLog): ditto
6641
6642         * bufferview_funcs.C (currentState): use boost::format
6643
6644         * bufferlist.C (emergencyWrite): use boost::format
6645
6646         * buffer.C (readLyXformat2): use boost::format
6647         (parseSingleLyXformat2Token): ditto
6648
6649         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6650
6651         * LaTeX.C (run): use boost::format
6652
6653         * Chktex.C (scanLogFile): use boost::format
6654
6655         * BufferView_pimpl.C (savePosition): use boost::format
6656         (restorePosition): ditto
6657         (MenuInsertLyXFile): ditto
6658
6659         * BoostFormat.h: help file for explicit instation.
6660
6661 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6662
6663         * tabular.C (latex): Support for block alignment in fixed width
6664         columns.
6665
6666 2002-11-17  John Levon  <levon@movementarian.org>
6667
6668         * BufferView_pimpl.C:
6669         * lyx_cb.C:
6670         * lyxfunc.C: split filedialog into open/save
6671
6672 2002-11-08  Juergen Vigna  <jug@sad.it>
6673
6674         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6675         by my last patch (hopefully).
6676
6677 2002-11-08  John Levon  <levon@movementarian.org>
6678
6679         * iterators.h:
6680         * iterators.C:
6681         * buffer.h:
6682         * buffer.C:
6683         * paragraph.h:
6684         * paragraph.C:
6685         * toc.h:
6686         * toc.C: ParConstIterator, and use it (from Lars)
6687
6688 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6689
6690         * lyxtextclass.[Ch]: revise and add doxygen comments
6691
6692 2002-11-07  John Levon  <levon@movementarian.org>
6693
6694         * text.C: fix progress value for spellchecker
6695
6696         * toc.C: fix navigate menu for insetwrap inside minipage
6697
6698         * paragraph_funcs.C: added FIXME for suspect code
6699
6700 2002-11-07  John Levon  <levon@movementarian.org>
6701
6702         * BufferView_pimpl.C: fix redrawing of insets
6703           on buffer switch
6704
6705 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6706
6707         * text2.C (updateCounters): fix bug 668
6708
6709 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6710
6711         * text3.C (dispatch): Do not make the buffer dirty when moving the
6712         cursor.
6713
6714 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * vc-backend.C: STRCONV
6717         (scanMaster): ditto
6718
6719         * text2.C (setCounter): STRCONV
6720
6721         * paragraph.C (asString): STRCONV
6722
6723         * lyxlength.C (asString): STRCONV
6724         (asLatexString): ditto
6725
6726         * lyxgluelength.C (asString): STRCONV
6727         (asLatexString): ditto
6728
6729         * lyxfunc.C (dispatch): STRCONV
6730         (open): ditto
6731
6732         * lyxfont.C (stateText): STRCONV
6733
6734         * importer.C (Import): STRCONV
6735
6736         * counters.C (labelItem): STRCONV
6737         (numberLabel): ditto
6738         (numberLabel): remove unused ostringstream o
6739
6740         * chset.C: STRCONV
6741         (loadFile): ditto
6742
6743         * bufferview_funcs.C (currentState): STRCONV
6744
6745         * buffer.C (readFile): STRCONV
6746         (asciiParagraph): ditto
6747         (makeLaTeXFile): ditto
6748
6749         * Spacing.C (writeEnvirBegin): STRCONV
6750
6751         * LaTeXFeatures.C (getLanguages): STRCONV
6752         (getPackages): ditto
6753         (getMacros): ditto
6754         (getBabelOptions): ditto
6755         (getTClassPreamble): ditto
6756         (getLyXSGMLEntities): ditto
6757         (getIncludedFiles): ditto
6758
6759         * LaTeX.C: STRCONV
6760         (run): ditto
6761         (scanAuxFile): ditto
6762         (deplog): ditto
6763
6764         * LString.h: add the STRCONV macros
6765
6766         * BufferView_pimpl.C (savePosition): STRCONV
6767         (restorePosition): ditto
6768         (MenuInsertLyXFile): ditto
6769
6770         * vc-backend.C (scanMaster): change from submatch[...] to
6771         submatch.str(...)
6772
6773         * funcrequest.C: include config.h
6774
6775         * factory.C: include config.h
6776
6777         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6778
6779         * box.C: include config.h
6780
6781         * LaTeX.C (scanAuxFile): change from submatch[...] to
6782         submatch.str(...)
6783         (deplog): ditto
6784
6785 2002-10-25  Angus Leeming  <leeming@lyx.org>
6786
6787         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6788
6789         * ispell.[Ch] (setError): new method.
6790         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6791         Use setError() insetead of goto END.
6792
6793         * lyx_cb.C (AutoSave): move out child process into new class
6794         AutoSaveBuffer.
6795
6796 2002-10-30  John Levon  <levon@movementarian.org>
6797
6798         * text3.C: make start appendix undoable
6799
6800 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6801
6802         * lyxlength.C (inPixels): Fix returned value.
6803
6804         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6805         environment.
6806
6807 2002-10-24  Angus Leeming  <leeming@lyx.org>
6808
6809         * lyxgluelength.h: no need to forward declare BufferParams
6810         or BufferView, so don't.
6811
6812 2002-10-21  John Levon  <levon@movementarian.org>
6813
6814         * BufferView.C: menuUndo ->undo, redo
6815
6816         * BufferView.h: document, remove dead, make some methods private
6817
6818         * paragraph_funcs.h:
6819         * paragraph_funcs.C:
6820         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6821
6822         * buffer.h:
6823         * buffer.C:
6824         * sgml.h:
6825         * sgml.C: move sgml open/close tag into sgml.C
6826
6827         * bufferview_funcs.h: unused prototype
6828
6829         * lyxfunc.h:
6830         * lyxfunc.C: remove unused
6831
6832         * lyxtext.h:
6833         * text.C: remove unused
6834
6835 2002-10-21  John Levon  <levon@movementarian.org>
6836
6837         * BufferView.h:
6838         * BufferView.C:
6839         * BufferView_pimpl.h:
6840         * BufferView_pimpl.C: fix mouse wheel handling based on
6841           patch from Darren Freeman
6842
6843 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6844
6845         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6846
6847 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6848
6849         * lyxlength.C (inPixels): Fix hanfling of negative length.
6850         Fix LyXLength::MU case.
6851
6852 2002-10-16  John Levon  <levon@movementarian.org>
6853
6854         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6855
6856 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6857
6858         * converter.C (view): add support for $$i (file name) and $$p
6859         (file path) for the viewer command. If $$i is not specified, then
6860         it is appended to the command (for compatibility with old syntax)
6861
6862 2002-10-14  Juergen Vigna  <jug@sad.it>
6863
6864         * undo_funcs.C (textHandleUndo): alter the order in which the
6865         new undopar is added to the LyXText, as we have to set first
6866         the right prev/next and then add it as otherwise the rebuild of
6867         LyXText is not correct. Also reset the cursor to the right paragraph,
6868         with this IMO we could remove the hack in "redoParagraphs()".
6869
6870 2002-10-09  Angus Leeming  <leeming@lyx.org>
6871
6872         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6873         to turn off an optimisation if a new inset is to be inserted.
6874
6875 2002-10-11 André Pönitz <poenitz@gmx.net>
6876
6877         * lyxtext.h: make some functions public to allow access
6878         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6879
6880 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6881
6882         * text3.C (dispatch): when changing layout, avoid an infinite loop
6883         [bug #652]
6884
6885 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6886
6887         * lyxrc.C (read): treat a viewer or converter command of "none" as
6888         if it were empty.
6889
6890         * MenuBackend.C (expandFormats): for an update, also allow the
6891         formats that are not viewable
6892
6893         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6894         script if it is newer than the lyxrc.defaults in user directory
6895
6896 2002-10-07 André Pönitz <poenitz@gmx.net>
6897
6898         * text.C: Vitaly Lipatov's small i18n fix
6899
6900 2002-09-25  Angus Leeming  <leeming@lyx.org>
6901
6902         * ispell.h: doxygen fix.
6903
6904 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * buffer.h (readFile): Add a new argument to the method, to allow
6907         reading of old-format templates.
6908
6909 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * toc.C (getTocList): Get TOC from InsetWrap.
6912
6913 2002-09-16  John Levon  <levon@movementarian.org>
6914
6915         * lyxfunc.C: check tabular for cut/copy too
6916
6917 2002-09-12  John Levon  <levon@movementarian.org>
6918
6919         * LyXAction.C: tidy
6920
6921         * factory.h:
6922         * factory.C: add header
6923
6924         * paragraph_funcs.h:
6925         * paragraph_funcs.C: cleanup
6926
6927 2002-09-11  John Levon  <levon@movementarian.org>
6928
6929         * PrinterParams.h: odd/even default to true
6930
6931 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6932
6933         * PrinterParams.h: update printer parameters for new xforms dialog
6934
6935 2002-09-11  Angus Leeming  <leeming@lyx.org>
6936
6937         * lyxserver.C (read_ready): re-write to make it more transparent
6938         and to make it work in coherent fashion under Tru64 Unix.
6939
6940 2002-09-11  André Pönitz <poenitz@gmx.net>
6941
6942         * commandtags.h:
6943         * LyXAction.C:
6944         * text3.C: implement LFUN_WORDSEL
6945
6946 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6949         make floatlist_ a boost::shared_ptr<FloatList>
6950
6951         * lyxtextclass.C: include FloatList.h
6952         (LyXTextClass): initialize floatlist_
6953         (TextClassTags): add TC_NOFLOAT
6954         (Read): match "nofloat" to TC_NOFLOAT and use it.
6955         (readFloat): modify call to floatlist_
6956         (floats): ditto
6957         (floats): ditto
6958
6959         * FloatList.[Ch] (FloatList): remove commented out float
6960         initialization.
6961         (erase): new function
6962
6963 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6964
6965         * MenuBackend.C (expandToc): fix crash when there is no document
6966         open
6967
6968 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6969
6970         * many files: Add insetwrap.
6971
6972 2002-09-09  John Levon  <levon@movementarian.org>
6973
6974         * text2.C: remove confusing and awkward depth wraparound
6975
6976 2002-09-09  John Levon  <levon@movementarian.org>
6977
6978         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6979
6980         * buffer.h:
6981         * buffer.C: remove getIncludeonlyList()
6982
6983         * paragraph.C:
6984         * lyxfunc.C: remove headers
6985
6986 2002-09-09  Juergen Vigna  <jug@sad.it>
6987
6988         * text.C (getColumnNearX): fix form Michael this is most
6989         probably a cut&paste bug.
6990
6991 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6994
6995         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6996         references, ws changes.
6997
6998         * text2.C (init): update counters after init
6999         (insertParagraph): no need to set counter on idividual paragraphs.
7000         (setCounter): access the counters object in the textclass object
7001         on in the buffer object.
7002         (updateCounters): ditto
7003
7004         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7005         shared_ptr<Counters> to avoid loading counters.h in all
7006         compilation units.
7007         (LyXTextClass): initialize ctrs_
7008         (TextClassTags): add TC_COUNTER, and ...
7009         (Read): use it here.
7010         (CounterTags): new tags
7011         (readCounter): new function
7012         (counters): new funtion
7013         (defaultLayoutName): return a const reference
7014
7015         * counters.C (Counters): remove contructor
7016         (newCounter): remove a couple of unneeded statements.
7017         (newCounter): simplify a bit.
7018         (numberLabel): some small formatting changes.
7019
7020         * buffer.[Ch]: remove all traces of counters, move the Counters
7021         object to the LyXTextClass.
7022
7023 2002-09-06  Alain Castera  <castera@in2p3.fr>
7024
7025         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7026         package to set the horizontal alignment on fixed width columns.
7027
7028         * lyx_sty.C:
7029         * lyx_sty.h: added tabularnewline macro def.
7030
7031         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7032
7033 2002-09-06  John Levon  <levon@movementarian.org>
7034
7035         * LyXAction.C: tooltips for sub/superscript
7036
7037         * MenuBackend.C: a bit more verbose
7038
7039         * lyxfunc.C: tiny clean
7040
7041         * undo_funcs.C: document undo_frozen
7042
7043 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * counters.C (Counters): add missing algorithm counter.
7046
7047         * text2.C (setCounter): lookup the counter with layouts latexname
7048         instead of by section number.
7049         (setCounter): use a hackish way to lookup the correct enum
7050         counter.
7051         a float name->type change
7052         reset enum couners with counter name directly instead of depth value.
7053
7054         * counters.C (Counters): remove the push_backs, change to use the
7055         float type not the float name.
7056         (labelItem): remove unused string, float name->type change
7057
7058         * counters.h: don't include vector, loose the enums and sects vectors
7059
7060 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7063         (Read): add float->TC_FLOAT to textclassTags
7064         (Read): and handle it in the switch
7065         (readFloat): new function
7066
7067         * FloatList.C (FloatList): comment out the hardcoded float
7068         definitions.
7069
7070         * lyxlayout.h: ws change.
7071
7072 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7073
7074         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7075
7076 2002-09-03  Angus Leeming  <leeming@lyx.org>
7077
7078         * BufferView_pimpl.h: qualified name is not allowed in member
7079         declaration: WorkArea & Pimpl::workarea() const;
7080
7081         * factory.C: added using std::endl directive.
7082
7083         * text3.C: added using std::find and std::vector directives.
7084
7085 2002-08-29  André Pönitz <poenitz@gmx.net>
7086
7087         * lyxtext.h:
7088         * text2.C: remove unused member number_of_rows
7089
7090         * Makefile.am:
7091         * BufferView2.C: remove file, move contents to...
7092         * BufferView.C: ... here
7093
7094         * BufferView_pimpl.C:
7095         * factory.C: move more inset creation to factory
7096
7097         * vspace.C: avoid direct usage of LyXText, ws changes
7098
7099         * BufferView.[Ch]:
7100                 don't provide direct access to WorkArea, use two simple
7101                 acessors haveSelction() and workHeight() instead
7102
7103
7104 2002-08-29  John Levon  <levon@movementarian.org>
7105
7106         * BufferView_pimpl.C (dispatch): do not continue when
7107           no buffer
7108
7109 2002-08-28  André Pönitz <poenitz@gmx.net>
7110
7111         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7112
7113         * BufferView.h:
7114         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7115
7116 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7117
7118         * buffer.C: increment LYX_FORMAT to 221
7119
7120         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7121         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7122
7123         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7124
7125         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7126
7127 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7128
7129         * factory.C (createInset): use LyXTextClass::floats
7130
7131         * MenuBackend.C (expandFloatListInsert):
7132         (expandFloatInsert):
7133         (expandToc):
7134
7135         * text2.C (setCounter):
7136
7137         * LaTeXFeatures.C (useFloat):
7138         (getFloatDefinitions):
7139
7140         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7141
7142         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7143         floatlist_, with accessor floats().
7144
7145         * FloatList.h: remove global FloatList
7146
7147 2002-08-26  André Pönitz <poenitz@gmx.net>
7148
7149         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7150
7151         * BufferView.h:
7152         * BufferView2.C:
7153         * BufferView_pimpl.C:
7154         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7155
7156 2002-08-25  John Levon  <levon@movementarian.org>
7157
7158         * LyXAction.C: fix margin note description
7159
7160 2002-08-24  John Levon  <levon@movementarian.org>
7161
7162         * buffer.C:
7163         * bufferlist.C:
7164         * bufferview_funcs.C:
7165         * lyxfont.C:
7166         * undo_funcs.C: cleanups
7167
7168         * lyxfunc.C: disable CUT/COPY when no selection
7169
7170 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7171
7172         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7173         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7174
7175         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7176         Add backward compatibility to "mono", "gray" and "no".
7177
7178 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7179
7180         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7181         (and file_format >= 200).
7182
7183 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7184
7185         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7186
7187 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7188
7189         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7190
7191 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7192
7193         * BufferView_pimpl.C:
7194         * LyXAction.C:
7195         * buffer.C:
7196         * commandtags.h:
7197         * lyxfunc.C:
7198         * paragraph.[Ch]:
7199         * text2.C:
7200         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7201         inset and code to make it  work with the paragraph code. The inset
7202         can be anywhere in the paragraph, but will only do the expected
7203         thing in LaTeX if the layout file contains the parameter line
7204                         OptionalArgs    1
7205         (or more generally, a nonzero value) for that layout.
7206
7207 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * paragraph.h: remove the declaration of undefined counters class
7210         function.
7211
7212 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7213
7214         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7215         Dr. Richard Hawkins.
7216
7217 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7218
7219         * paragraph_funcs.h: remove some unneeded includes
7220
7221         * text.C (backspace): pasteParagraph now in global scipe
7222
7223         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7224         (pasteSelection): ditto
7225
7226         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7227         * paragraph_funcs.C (pasteParagraph): ... here
7228
7229 2002-08-20  André Pönitz <poenitz@gmx.net>
7230
7231         * commandtags.h: new LFUNs for swapping/copying table row/colums
7232
7233         * LyXAction.C:
7234         * lyxfunc.C: support for new lfuns
7235
7236 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * tabular.C:
7239         * buffer.[Ch]: remove NO_COMPABILITY stuff
7240
7241 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * boost.C (throw_exception): new file, with helper function for
7244         boost compiled without exceptions.
7245
7246         * paragraph.h:
7247         * lyxlength.C:
7248         * buffer.C:
7249         * ParameterStruct.h:
7250         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7251
7252         * bufferlist.C (emergencyWriteAll): use boost bind
7253
7254         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7255
7256         * text.C: include paragraph_funcs.h
7257         (breakParagraph): breakParagraph is now in global scope
7258
7259         * paragraph_funcs.[Ch]: new files
7260
7261         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7262         global scope
7263
7264         * buffer.C: include paragraph_funcs.h
7265         (insertStringAsLines): breakParagraph is now in global scope
7266
7267         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7268         paragraph_funcs.C
7269
7270         * CutAndPaste.C: include paragraph_funcs.h
7271         (cutSelection): breakParagraphConservative is now in global scope
7272         (pasteSelection): ditto
7273
7274         * buffer.h: declare oprator== and operator!= for
7275         Buffer::inset_iterator
7276
7277         * bufferlist.C (emergencyWrite): don't use fmt(...)
7278
7279         * text3.C: add using std::endl
7280
7281         * BufferView.C (moveCursorUpdate): remove default arg
7282
7283 2002-08-20  André Pönitz <poenitz@gmx.net>
7284
7285         * buffer.[Ch]: move inline functions to .C
7286
7287         * BufferView2.C:
7288         * BufferView_pimpl.C:
7289         * text.C:
7290         * buffer.[Ch]: use improved inset_iterator
7291
7292         * buffer.C:
7293         * paragraph.[Ch]: write one paragraph at a time
7294
7295 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7296
7297         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7298         style if style is not specified.
7299
7300 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7301
7302         * text2.C (setCounter): when searching for right label for a
7303         caption, make sure to recurse to parent insets (so that a caption
7304         in a minipage in a figure float works) (bug #568)
7305
7306 2002-08-20  André Pönitz <poenitz@gmx.net>
7307
7308         * text3.C: new file for LyXText::dispatch() and helpers
7309
7310         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7311
7312         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7313
7314 2002-08-19  André Pönitz <poenitz@gmx.net>
7315
7316         * lyxtext.h:
7317         * text.C: new LyXText::dispatch()
7318
7319         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7320
7321 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7322
7323         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7324
7325         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7326         Hebrew text.
7327
7328 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * Makefile.am: use $(variables) instead of @substitutions@
7331
7332 2002-08-15  André Pönitz <poenitz@gmx.net>
7333
7334         * lyxfunc.C:
7335         * BufferView_pimpl.C: streamlining mathed <-> outer world
7336         interaction
7337
7338         * commandtags.h:
7339         * LyXAction.C: remove unused LFUN_MATH
7340
7341 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7344
7345 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * paragraph.C (Paragraph): reformat a bit
7348         (cutIntoMinibuffer): use builtin InsetList function instad of
7349         doing it manually.
7350         (getInset): ditto
7351
7352         * buffer.C: include boost/bind.hpp, add using std::for_each
7353         (writeFileAscii): use ParagraphList iterators
7354         (validate): use for_each for validate traversal of paragraphs
7355         (getBibkeyList): use ParagraphList iterators
7356         (resizeInsets): use for_each to resizeInsetsLyXText for all
7357         paragraphs.
7358         (getParFromID): use ParagraphList iterators
7359
7360         * BufferView2.C (lockInset): use paragraph list and iterators
7361
7362 2002-08-14  John Levon  <levon@movementarian.org>
7363
7364         * lyxserver.C: remove spurious xforms include
7365
7366 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7367
7368         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7369
7370 2002-08-13  André Pönitz <poenitz@gmx.net>
7371
7372         * LyXAction.[Ch]:
7373         * lyxfunc.C: further cleaning
7374
7375 2002-08-13  André Pönitz <poenitz@gmx.net>
7376
7377         * funcrequest.h: new constructor
7378
7379         * funcrequest.C: move stuff here from .h
7380
7381         * Makefile.am:
7382         * BufferView_pimpl.C:
7383         * LyXAction.C:
7384         * toc.C:
7385         * lyxfunc.C: subsequent changes
7386
7387         * lyxfunc.h: new view() member function
7388
7389         * lyxfunc.C: subsequent changes
7390
7391 2002-08-13  Angus Leeming  <leeming@lyx.org>
7392
7393         * BufferView2.C:
7394         * BufferView_pimpl.C:
7395         * buffer.C:
7396         * converter.C:
7397         * importer.C:
7398         * lyxfunc.C:
7399         * lyxvc.C:
7400         * toc.C:
7401         * vc-backend.C:
7402         changes due to the changed LyXView interface that now returns references
7403         to member variables not pointers.
7404
7405 2002-08-13  Angus Leeming  <leeming@lyx.org>
7406
7407         * WordLangTuple (word, lang_code): return references to strings,
7408         not strings.
7409
7410         * BufferView.h:
7411         * SpellBase.h:
7412         * lyxtext.h: forward-declare WordLangTuple.
7413
7414         * BufferView2.C:
7415         * ispell.C:
7416         * pspell.C:
7417         * text.C: #include "WordLangTuple.h".
7418
7419         * lyxtext.h:
7420         * text.C: (selectNextWordToSpellcheck): constify return type.
7421
7422 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7423
7424         * buffer.C:
7425         * buffer.h:
7426         * lyxtext.h:
7427         * paragraph.C:
7428         * paragraph_pimpl.h:
7429         * text.C:
7430         * text2.C:
7431         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7432         suggested by Angus.
7433         Made updateCounter always count from start of buffer, and removed
7434         second argument (par).
7435         Reverted floats number display to '#'. Perhaps I'll try again when the
7436         code base is sanitized a bit.
7437
7438 2002-08-12  Angus Leeming  <leeming@lyx.org>
7439
7440         * buffer.[Ch] (getLabelList): constify.
7441
7442 2002-08-07  André Pönitz <poenitz@gmx.net>
7443
7444         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7445
7446         * funcrequest.h: extension to keep mouse (x,y) position
7447
7448 2002-08-12  Juergen Vigna  <jug@sad.it>
7449
7450         * BufferView2.C (insertErrors): forbid undo when inserting error
7451         insets.
7452
7453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7454
7455 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * ParagraphList.[Ch]: new files
7458
7459         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7460
7461         * BufferView2.C (lockInset): ParagraphList changes
7462         * toc.C: ditto
7463         * text2.C: ditto
7464         * bufferlist.C: ditto
7465         * buffer.h: ditto
7466         * buffer.C: ditto
7467
7468 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7471         unused class variable counter_,
7472
7473         * paragraph.[Ch] (getFirstCounter): delete unused function
7474
7475         * counters.C: include LAssert.h
7476         (reset): add a new function with no arg, change other version to
7477         not have def. arg and to not allow empty arg.
7478
7479         * text2.C (setCounter): remove empty arg from call to Counters::reset
7480
7481 2002-08-11  John Levon  <levon@movementarian.org>
7482
7483         * Makefile.am: add WordLangTuple.h
7484
7485 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7488         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7489
7490         * insets/insettext.C: InsetList changes
7491
7492         * graphics/GraphicsSupport.C (operator()): InsetList changes
7493
7494         * toc.C (getTocList): InsetList changes
7495
7496         * paragraph_pimpl.[Ch]: InsetList changes
7497
7498         * paragraph.[Ch]: InsetList changes
7499
7500         * buffer.C (inset_iterator): InsetList changes
7501         (setParagraph): ditto
7502         * buffer.h (inset_iterator): ditto
7503         * iterators.C (operator++): ditto
7504         * iterators.h: ditto
7505
7506         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7507
7508         * InsetList.[Ch]: new files, most InsetList handling moved out of
7509         paragraph.C.
7510
7511         * BufferView2.C (removeAutoInsets): InsetList changes
7512         (lockInset): ditto
7513         (ChangeInsets): ditto
7514
7515 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * paragraph_pimpl.h (empty): new function
7518
7519         * paragraph.[Ch] (empty): new function
7520
7521         * other files: use the new Paragraph::empty function
7522
7523 2002-08-09  John Levon  <levon@movementarian.org>
7524
7525         * lyxtext.h: remove unused refresh_height
7526
7527 2002-08-09  John Levon  <levon@movementarian.org>
7528
7529         * Makefile.am:
7530         * sgml.h:
7531         * sgml.C:
7532         * buffer.C:
7533         * paragraph.h:
7534         * paragraph.C: move sgml char escaping out of paragraph
7535
7536         * paragraph.h:
7537         * paragraph.C: remove id setter
7538
7539         * buffer.C:
7540         * paragraph.C:
7541         * paragraph_pimpl.C: remove dead tex_code_break_column
7542
7543         * bufferview_funcs.C: small cleanup
7544
7545         * lyxfunc.C: remove dead proto
7546
7547         * lyxtext.h: make some stuff private. Remove some dead stuff.
7548
7549         * lyxgluelength.C: make as[LyX]String() readable
7550
7551 2002-08-08  John Levon  <levon@movementarian.org>
7552
7553         * LyXAction.h:
7554         * LyXAction.C:
7555         * MenuBackend.C:
7556         * ToolbarDefaults.C:
7557         * lyxfunc.C:
7558         * lyxrc.C:
7559         * toc.C: lyxaction cleanup
7560
7561 2002-08-08  John Levon  <levon@movementarian.org>
7562
7563         * BufferView2.C: small cleanup
7564
7565         * lyxfind.h:
7566         * lyxfind.C: move unnecessary header into the .C
7567
7568 2002-08-08  John Levon  <levon@movementarian.org>
7569
7570         * funcrequest.h: just tedious nonsense
7571
7572         * lyx_main.h:
7573         * lyx_main.C: cleanups
7574
7575         * buffer.C:
7576         * vspace.C: remove dead header lyx_main.h
7577
7578 2002-08-07  Angus Leeming  <leeming@lyx.org>
7579
7580         * Paragraph.[Ch]:
7581         * paragraph_pimpl.h:
7582         Forward declare class Counters in paragraph.h by moving the ctrs member
7583         variable into Paragraph::Pimpl.
7584         (counters): new method, returning a reference to pimpl_->ctrs.
7585
7586         * text2.C: ensuing changes.
7587
7588 2002-08-07  John Levon  <levon@movementarian.org>
7589
7590         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7591
7592         * BufferView_pimpl.C: announce X selection on double/triple
7593           click
7594
7595         * lyx_main.C: use correct bool in batch dispatch
7596
7597         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7598
7599 2002-08-07  André Pönitz <poenitz@gmx.net>
7600
7601         * funcrequest.h: new class to wrap a kb_action and its argument
7602
7603         * BufferView.[Ch]:
7604         * BufferView_pimpl[Ch]:
7605         * LaTeX.C:
7606         * LyXAction.[Ch]:
7607         * lyxfunc.[Ch]:
7608         * lyxrc.C: subsequent changes
7609
7610
7611 2002-08-07  John Levon  <levon@movementarian.org>
7612
7613         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7614           document options change.
7615
7616 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7617
7618         * counters.[Ch]
7619         * text2.C
7620         * paragraph.[Ch]
7621         * makefile.am: move counters functionality over from
7622         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7623
7624 2002-08-06  John Levon  <levon@movementarian.org>
7625
7626         * WordLangTuple.h: new file for word + language code tuple
7627
7628         * SpellBase.h:
7629         * pspell.h:
7630         * pspell.C:
7631         * ispell.h:
7632         * ispell.C:
7633         * lyxtext.h:
7634         * text.C:
7635         * text2.C:
7636         * BufferView.h:
7637         * BufferView2.C: use WordLangTuple
7638
7639         * layout.h:
7640         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7641
7642 2002-08-06  John Levon  <levon@movementarian.org>
7643
7644         * lyx_main.C: fix cmdline batch handling
7645
7646 2002-08-06  André Pönitz <poenitz@gmx.net>
7647
7648         * lyxrc.C: set default for show_banner to true
7649
7650 2002-08-06  John Levon  <levon@movementarian.org>
7651
7652         * pspell.C: fix a crash, and allow new aspell to work
7653
7654 2002-08-06  John Levon  <levon@movementarian.org>
7655
7656         * lyxfunc.C:
7657         * kbmap.C: small cleanup
7658
7659         * vspace.h:
7660         * vspace.C: add const
7661
7662 2002-08-05  John Levon  <levon@movementarian.org>
7663
7664         * LyXAction.C: back to tabular-insert
7665
7666 2002-08-04  John Levon  <levon@movementarian.org>
7667
7668         * BufferView.h:
7669         * BufferView.C: cosmetic change
7670
7671         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7672
7673         * bufferlist.C:
7674         * buffer.h:
7675         * buffer.C:
7676         * lyxcb.h:
7677         * lyxcb.C:
7678         * lyxserver.C:
7679         * lyxvc.C:
7680         * vc-backend.C:
7681         * BufferView2.C: purge all "Lyx" not "LyX" strings
7682
7683         * lyxcursor.h:
7684         * lyxcursor.C: attempt to add some documentation
7685
7686         * lyxfunc.C:
7687         * commandtags.h:
7688         * LyXAction.C:
7689         * ToolbarDefaults.C:
7690         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7691           merge with LFUN_TABULAR_INSERT
7692
7693         * Makefile.am:
7694         * SpellBase.h:
7695         * ispell.h:
7696         * ispell.C:
7697         * pspell.h:
7698         * pspell.C: split up i/pspell implementations into separate
7699           files, many cleanups
7700
7701         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7702
7703         * text2.C: some cleanup
7704
7705         * lyxfunc.C: don't check for isp_command == "none" any more, it
7706           didn't make any sense
7707
7708 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7709
7710         * counters.[Ch]
7711         * text2.C
7712         * paragraph.[Ch]
7713         * makefile.am: move counters functionality over
7714         from text2.C/paragraph.[Ch] to counters.[Ch], and
7715         make proper C++.
7716 2002-08-02  John Levon  <levon@movementarian.org>
7717
7718         * buffer.C: s/lyxconvert/lyx2lyx/
7719
7720 2002-08-02  Angus Leeming  <leeming@lyx.org>
7721
7722         * lyxlex.C: revert John's change as it breaks reading of the user
7723         preamble.
7724
7725 2002-08-02  Angus Leeming  <leeming@lyx.org>
7726
7727         * importer.C (Import):
7728         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7729         changes due to LyXView::view() now returning a boost::shared_ptr.
7730
7731 2002-08-02  John Levon  <levon@movementarian.org>
7732
7733         * lyxlex.C: small cleanup
7734
7735 2002-08-02  John Levon  <levon@movementarian.org>
7736
7737         * text2.C (status): small cleanup, no logic change
7738
7739 2002-08-01  John Levon  <levon@movementarian.org>
7740
7741         * buffer.h:
7742         * buffer.C (writeFile): don't output alerts, caller
7743           handles this
7744
7745         * bufferlist.C:
7746         * lyx_cb.C: from above
7747
7748         * lyxfunc.C: allow to open non-existent files
7749
7750 2002-07-31  John Levon  <levon@movementarian.org>
7751
7752         * lyxserver.C: don't let incidental errors get
7753           in the way (errno)
7754
7755 2002-07-30  John Levon  <levon@movementarian.org>
7756
7757         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7758
7759 2002-07-30  John Levon  <levon@movementarian.org>
7760
7761         * lyxserver.h:
7762         * lyxserver.C: remove I/O callback too
7763
7764 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7765
7766         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7767         log.
7768
7769 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * many files: strip,frontStrip -> trim,ltrim,rtrim
7772
7773 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * PrinterParams.h: remove extern containsOnly, and include
7776         support/lstrings.h instead.
7777
7778         * LaTeX.C (scanAuxFile): modify because of strip changes
7779         (deplog): ditto
7780         * buffer.C (makeLaTeXFile): ditto
7781         * bufferparams.C (writeFile): ditt
7782         * lyxfont.C (stateText): ditto
7783         * lyxserver.C (read_ready): ditto
7784         * vc-backend.C (scanMaster): ditto
7785
7786         * BufferView_pimpl.h: ws changes
7787
7788         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7789
7790 2002-07-26  André Pönitz <poenitz@gmx.net>
7791
7792         * kb_sequence.C: remove unnedred usings
7793
7794 2002-07-26  Juergen Vigna  <jug@sad.it>
7795
7796         * lyxfind.C (LyXReplace): we have to check better if the returned
7797         text is not of theLockingInset()->getLockingInset().
7798
7799 2002-07-25  Juergen Vigna  <jug@sad.it>
7800
7801         * lyxfind.C (LyXReplace): don't replace if we don't get the
7802         right LyXText.
7803
7804         * undo_funcs.C (createUndo): remove debugging code.
7805
7806 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7807
7808         * buffer.C (parseSingleLyXformat2Token): Use default placement
7809         when reading old floats.
7810
7811         * FloatList.C (FloatList): Change the default placement of figure
7812         and tables to "tbp".
7813
7814 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * MenuBackend.C: using std::max
7817
7818 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * MenuBackend.C (expandToc):
7821         (expandToc2): code moved from xforms menu frontend. It is now
7822         generic and TOCs are transparent to menu frontends.
7823
7824 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7825
7826         * toc.C (getTocList): protect against buf=0
7827
7828         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7829         Menu as first parameter. Now, this calls itself recursively to
7830         expand a whole tree (this will be useful for TOC handling)
7831         (expandFloatInsert): remove 'wide' version of floats
7832
7833         * MenuBackend.h (submenuname): returns the name of the submenu.
7834         (submenu): returns the submenu itself, provided it has been
7835         created by MenuBackend::expand
7836
7837 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7840         insets which have noFontChange == true. (bug #172)
7841
7842 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7843
7844         * BufferView_pimpl.C: add connection objects and use them...
7845         (Pimpl): here.
7846
7847 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7848
7849         * MenuBackend.C (expandLastfiles):
7850         (expandDocuments):
7851         (expandFormats):
7852         (expandFloatListInsert):
7853         (expandFloatInsert):
7854         (expand): split expand in parts
7855
7856 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7857
7858         * lyx_gui.C: use lyx_gui::exit()
7859
7860 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * LyXAction.C: show the failing pseudo action
7863
7864 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7865
7866         * buffer.C (readFile): Run the lyxconvert script in order to read
7867         old files.
7868
7869 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7870
7871         * LyXAction.C:
7872         * commandtags.h:
7873         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7874
7875 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7876
7877         * LyXAction.C:
7878         * commandtags.h:
7879         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7880
7881 2002-07-22  Herbert Voss  <voss@lyx.org>
7882
7883         * lengthcommon.C:
7884         * lyxlength.[Ch]: add support for the vertical lengths
7885
7886 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * toc.[Ch]: std:: fixes
7889
7890 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7891
7892         * lyxrc.C: do not include lyx_main.h
7893
7894         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7895         for layouts
7896
7897         * lyxrc.C:
7898         * encoding.C:
7899         * bufferlist.C:
7900         * BufferView2.C: include "lyxlex.h"
7901
7902         * tabular.h:
7903         * bufferparams.h: do not #include "lyxlex.h"
7904
7905         * lyxtextclasslist.C (Add): remove method
7906         (classlist): renamed to classlist_
7907
7908         * paragraph_pimpl.C:
7909         * paragraph.C:
7910         * text2.C:
7911         * CutAndPaste.C:
7912         * bufferview_funcs.C:
7913         * bufferlist.C:
7914         * text.C:
7915         * LaTeXFeatures.C:
7916         * buffer.C:
7917         * toc.C (getTocList): use BufferParams::getLyXTextClass
7918
7919         * toc.C (getTocList): use InsetFloat::addToToc
7920
7921         * toc.[Ch]: new files, containing helper functions to handle table
7922         of contents
7923
7924         * lyxfunc.C (dispatch): no need to remove spaces around command
7925         given as a string
7926         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7927         first command of the sequence; it is not very clever, but I do not
7928         have a better idea, actually
7929
7930         * LyXAction.C (LookupFunc): make sure to remove space at the
7931         beginning and end of the command
7932
7933 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * MenuBackend.C (getMenubar): new method: return the menubar of
7936         this menu set
7937         (read): treat differently reading of menu and menubar (in
7938         particular, the menubar has no name now)
7939         (Menu::menubar): remove
7940
7941         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7942         saving is finished
7943
7944 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7945
7946         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7947         a bibitem inset in a RTL paragraph.
7948
7949 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7950
7951         * paragraph_pimpl.C: constify
7952
7953         * BufferView_pimpl.C:
7954         * LaTeX.C:
7955         * lyxfunc.C: fix dispatch in a nicer way
7956
7957 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * lyxfunc.C (dispatch):
7960         * BufferView_pimpl.C:
7961         * BufferView_pimpl.h:
7962         * BufferView.C:
7963         * BufferView.h: rename Dispatch() to dispatch()
7964
7965         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7966
7967         * lyxlayout.C (Read): honor DependsOn tag
7968
7969         * lyxlayout.[Ch] (depends_on): new method
7970
7971         * version.C.in: update lyx_docversion
7972
7973         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7974
7975         * paragraph.C (validate): remove from here...
7976         * paragraph_pimpl.C (validate): ... and move here
7977         (isTextAt): make it const
7978
7979         * buffer.C (getLists): ws cleanup
7980
7981 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7982
7983         * language.C (read): Use iso8859-1 encoding in latex_lang
7984         (this prevents LyX from crashing when using iso10646-1 encoding).
7985
7986 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7987
7988         * text2.C (toggleInset): if cursor is inside an inset, close the
7989         inset and leave cursor _after_ it
7990
7991 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * lyxfunc.C: move minibuffer completion handling out of here
7994
7995 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * BufferView_pimpl.C:
7998         * LaTeX.C: fix dispatch calls
7999
8000 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8001
8002         * text.C (drawChars): Fix Arabic text rendering.
8003
8004 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * LyXAction.C:
8007         * commandtags.h:
8008         * lyxfunc.C: remove message-push/pop
8009
8010         * lyxserver.C:
8011         * lyxfunc.h:
8012         * lyxfunc.C: rationalise some code by removing verboseDispatch
8013           in favour of a bool argument to dispatch()
8014
8015 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8016
8017         * lyx_main.C (init): make sure to read symlinks as absolute paths
8018
8019 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * lyxfunc.h:
8022         * lyxfunc.C: no need for commandshortcut to be a member
8023
8024 2002-07-15  André Pönitz <poenitz@gmx.net>
8025
8026         * converter.C: add support for $$s (scripts from lib/scripts dir)
8027         * lyx_main.C: white space
8028
8029 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * bufferlist.C:
8032         * lyxrc.h:
8033         * lyxrc.C: remove second exit confirmation
8034
8035 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8036
8037         * BufferView.h:
8038         * BufferView.C:
8039         * BufferView2.C:
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C:
8042         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8043
8044 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8045
8046         * MenuBackend.C (expand): add numeric shortcuts to document menu
8047
8048         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8049
8050 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8051
8052         * lyxfont.C (setLyXFamily):
8053         (setLyXSeries):
8054         (setLyXShape):
8055         (setLyXSize):
8056         (setLyXMisc):
8057         (lyxRead):
8058         * debug.C (value):
8059         * buffer.C (asciiParagraph): use ascii_lowercase
8060
8061 2002-07-15  Mike Fabian  <mfabian@suse.de>
8062
8063         * lyxlex_pimpl.C (search_kw):
8064         * lyxlex.C (getLongString):
8065         * converter.h (operator<):
8066         * converter.C (operator<):
8067         * buffer.C (parseSingleLyXformat2Token):
8068         (asciiParagraph):
8069         * ToolbarDefaults.C (read):
8070         * MenuBackend.C (checkShortcuts):
8071         (read):
8072         * LColor.C (getFromGUIName):
8073         (getFromLyXName): use the compare_ascii_no_case instead of
8074         compare_no_case, because in turkish, 'i' is not the lowercase
8075         version of 'I', and thus turkish locale breaks parsing of tags.
8076
8077 2002-07-16  Angus Leeming  <leeming@lyx.org>
8078
8079         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8080         now takes a Buffer const & argument.
8081
8082 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * BufferView.C (resize): check there's a buffer to resize
8085
8086 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * lyxfunc.C: remove dead code
8089
8090         * lyxserver.h:
8091         * lyxserver.C: use lyx_guii::set_read_callback
8092
8093 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8094
8095         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8096         an inset in a RTL paragraph.
8097
8098 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8099
8100         * lyxfunc.C: repaint after a font size update
8101
8102 2002-07-15  André Pönitz <poenitz@gmx.net>
8103
8104         * lyxlength.C: inBP should be able to return negative values
8105
8106 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * lyxfunc.C: use lyx_gui::update_fonts()
8109
8110 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * lyxfunc.C: use lyx_gui::update_color()
8113
8114 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * bufferlist.C:
8117         * lyxfunc.h:
8118         * lyxfunc.C:
8119         * lyxrc.h:
8120         * lyxrc.C: remove file->new asks for name option, and let
8121           buffer-new take an argument
8122
8123 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * BufferView_pimpl.C: remove unneeded extra repaint()
8126
8127 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * LyXAction.C: allow command-sequence with NoBuffer
8130
8131         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8132
8133 2002-07-10  Angus Leeming  <leeming@lyx.org>
8134
8135         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8136
8137 2002-07-09  Angus Leeming  <leeming@lyx.org>
8138
8139         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8140
8141 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * lengthcommon.h: whitespace
8144
8145         * lyxfunc.C: update scrollbar after goto paragraph
8146
8147         * lyxtext.h: factor out page break drawing, and fix it so
8148           page break/added space paints as selected nicely
8149
8150 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * BufferView_pimpl.C: add FIXMEs, clean up a little
8153
8154 2002-07-09  André Pönitz <poenitz@gmx.net>
8155
8156         * lyxfont.[Ch]: support for wasy symbols
8157
8158 2002-07-08  André Pönitz <poenitz@gmx.net>
8159
8160         * BufferView_pimpl.C: apply John's patch for #93.
8161
8162 2002-07-05  Angus Leeming  <leeming@lyx.org>
8163
8164         * BufferView_pimpl.C (buffer): generate previews if desired.
8165
8166         * LColor.h: add "preview" to the color enum.
8167
8168         * LColor.C (LColor): add a corresponding entry to the items array.
8169
8170         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8171         with this buffer.
8172
8173 2002-07-05  Angus Leeming  <leeming@lyx.org>
8174
8175         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8176         The body of the code is now in the method that is passed an ostream &
8177         rather than a file name.
8178         Pass an additional only_preamble parameter, useful for the forthcoming
8179         preview stuff.
8180
8181 2002-07-03  André Pönitz <poenitz@gmx.net>
8182
8183         * lyxfunc.C: simplify getStatus() a bit for math stuff
8184
8185 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8186
8187         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8188
8189 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * text.C (changeRegionCase): do not change case of all the
8192         document when region ends at paragraph end (bug #461)
8193
8194 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * paragraph.C (startTeXParParams):
8197         (endTeXParParams): add \protect when necessary
8198
8199 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8200
8201         * BufferView_pimpl.C (workAreaExpose): remove warning
8202
8203 2002-06-27  Angus Leeming  <leeming@lyx.org>
8204
8205         * Makefile.am: add lyxlayout_ptr_fwd.h.
8206
8207 2002-06-26  André Pönitz <poenitz@gmx.net>
8208
8209         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8210
8211 2002-06-25  Angus Leeming  <leeming@lyx.org>
8212
8213         * lyxfunc.C (dispatch): Comment out the call to
8214         grfx::GCache::changeDisplay. The method no longer exists now that the
8215         pixmap generation part of the graphics loader has been moved into
8216         InsetGraphics.
8217
8218 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8219
8220         * text2.C: layout as layout
8221
8222         * text.C: layout as layout
8223
8224         * tabular.C (OldFormatRead): layout as layout
8225
8226         * paragraph_pimpl.C (TeXDeeper): layout as layout
8227         (realizeFont): layout as layout
8228
8229         * paragraph.C (writeFile): layout as layout
8230         (validate): layout as layout
8231         (getFont): layout as layout
8232         (getLabelFont): layout as layout
8233         (getLayoutFont): layout as layout
8234         (breakParagraph): layout as layout
8235         (stripLeadingSpaces): layout as layout
8236         (getEndLabel): layout as layout
8237         (getMaxDepthAfter): layout as layout
8238         (applyLayout): layout as layout
8239         (TeXOnePar): layout as layout
8240         (simpleTeXOnePar): layout as layout
8241         (TeXEnvironment): layout as layout
8242         (layout): layout as layout
8243         (layout): layout as layout
8244
8245         * lyxtextclass.C (compare_name): new functor to work with
8246         shared_ptr, layout as layout
8247         (Read): layout as layout
8248         (hasLayout): layout as layout
8249         (operator): layout as layout
8250         (delete_layout): layout as layout
8251         (defaultLayout): layout as layout
8252
8253         * lyxlayout_ptr_fwd.h: new file
8254
8255         * lyxlayout.C (Read): layout as layout
8256
8257         * lyx_cb.C (MenuInsertLabel): layout as layout
8258
8259         * bufferlist.C (newFile): layout as layout
8260
8261         * buffer.C (readLyXformat2): layout as layout
8262         (parseSingleLyXformat2Token): layout as layout
8263         (insertStringAsLines): layout as layout
8264         (asciiParagraph): layout as layout
8265         (latexParagraphs): layout as layout
8266         (makeLinuxDocFile): layout as layout
8267         (simpleLinuxDocOnePar): layout as layout
8268         (makeDocBookFile): layout as layout
8269         (simpleDocBookOnePar): layout as layout
8270         (getLists): layout as layout
8271
8272         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8273
8274         * CutAndPaste.C (cutSelection): layout as layout
8275         (pasteSelection): layout as layout
8276         (SwitchLayoutsBetweenClasses): layout as layout
8277
8278         * BufferView_pimpl.C (Dispatch): layout as layout
8279         (smartQuote): layout as layout
8280
8281         * BufferView2.C (unlockInset): layout as layout
8282
8283 2002-06-24  André Pönitz <poenitz@gmx.net>
8284
8285         * lyxfunc.C: fix #487
8286
8287 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * lyxrc.h:
8290         * lyxrc.C:
8291         * lyxfunc.C: remove display_shortcuts, show_banner
8292
8293 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8294
8295         * Buffer_pimpl.C: oops, update on resize
8296
8297 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8298
8299         * buffer.C:
8300         * converter.C:
8301         * exporter.C:
8302         * lyxfunc.C:
8303         * BufferView.h:
8304         * BufferView.C: use repaint()
8305
8306         * BufferView_pimpl.h:
8307         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8308           as it's a clearer description. Remove superfluous
8309           redraws.
8310
8311 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * text.C: fix bug 488. Not ideal, but getting
8314           getWord() to work properly for the insets that
8315           matter is more difficult ...
8316
8317 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8318
8319         * BufferView_pimpl.C:
8320         * LyXAction.C:
8321         * commandtags.h:
8322         * lyxfunc.C: remove the six million index lyxfuncs to just
8323           one, and DTRT (bug 458)
8324
8325 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * BufferView.h:
8328         * BufferView.C:
8329         * BufferView_pimpl.h:
8330         * BufferView_pimpl.C: clean up resize() stuff,
8331           and unnecessary updateScreen()s
8332
8333 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * BufferView.h:
8336         * BufferView.C:
8337         * BufferView_pimpl.h:
8338         * BufferView_pimpl.C:
8339         * lyxfind.h:
8340         * lyxfind.C:
8341         * minibuffer.C: remove focus management of workarea,
8342           not needed. Use screen's greyOut()
8343
8344 2002-06-17  Herbert Voss  <voss@lyx.org>
8345
8346         * converter.C: (convert) do not post a message, when converting
8347         fails, let the calling function decide what to do in this case
8348
8349 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * lyxfunc.C: tidy up a little
8352
8353 2002-06-16    <alstrup@diku.dk>
8354
8355         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8356         Got rid of FORMS_H_LOCATION include. Now we are
8357         GUII.
8358
8359 2002-06-15  LyX Development team  <lyx@rilke>
8360
8361         * buffer.[Ch] (sgmlOpenTag):
8362         (sgmlCloseTag): Added support for avoiding pernicious mixed
8363         content. Return number of lines written.
8364
8365         (makeLinuxDocFile):
8366         (makeDocBookFile): Fixed calls to sgml*Tag.
8367         Simple white space clean.
8368
8369         (simpleDocBookOnePar): Simple white space clean.
8370
8371         * tabular.[Ch] (docBook): Renamed to docbook and got another
8372         argument to related with the pernicious mixed content.
8373
8374         (docbookRow): Fixed calls for docbook inset method.
8375
8376 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8377
8378         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8379         so it's X11 independent.
8380
8381         * kb*.[Ch]: ditto.
8382
8383         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8384
8385 2002-06-15  Lyx Development team  <lyx@electronia>
8386
8387         * intl.h: Renamed getTrans to getTransManager.
8388
8389 2002-06-14  Angus Leeming  <leeming@lyx.org>
8390
8391         * Makefile.am: nuke forgotten stl_string_fwd.h.
8392
8393 2002-06-12  Angus Leeming  <leeming@lyx.org>
8394
8395         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8396
8397 2002-06-13  Angus Leeming  <leeming@lyx.org>
8398
8399         * LaTeX.C:
8400         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8401
8402 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8403
8404         * kbmap.C (getiso): add support for cyrillic and greek
8405
8406 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8407
8408         * BufferView.h:
8409         * BufferView.C:
8410         * BufferView_pimpl.h:
8411         * BufferView_pimpl.C: move bogus scrolling logic
8412           to xforms
8413
8414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * lyxfunc.C:
8417         * BufferView_pimpl.C: view->resize() change
8418
8419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * BufferView_pimpl.C: topCursorVisible
8422           prototype change
8423
8424 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * Makefile.am:
8427         * lyx_gui.h:
8428         * lyx_gui.C: move to frontends/
8429
8430         * main.C:
8431         * lyx_main.h:
8432         * lyx_main.C: changes from above
8433
8434 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8435
8436         * intl.C:
8437         * intl.h:
8438         * kbmap.C:
8439         * kbsequence.C:
8440         * lyx_cb.C:
8441         * lyx_main.C: minor tidy
8442
8443 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8444
8445         * BufferView_pimpl.h:
8446         * BufferView_pimpl.C:
8447         * BufferView.h:
8448         * BufferView.C: make painter() const,
8449           remove dead code
8450
8451         * BufferView2.C: use screen() accessor
8452
8453         * lyx_main.h:
8454         * lyx_main.C: some minor cleanup
8455
8456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * BufferView_pimpl.h:
8459         * BufferView_pimpl.C: remove enter/leaveView,
8460           use workHeight()
8461
8462 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8463
8464         * BufferView.h:
8465         * BufferView.C:
8466         * BufferView2.C:
8467         * BufferView_pimpl.h:
8468         * BufferView_pimpl.C: only construct screen once,
8469           rename
8470
8471         * lyxrc.C: remove pointless comment
8472
8473 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * BufferView.h:
8476         * BufferView.C: remove active() and belowMouse()
8477
8478         * BufferView_pimpl.h:
8479         * BufferView_pimpl.C: use workarea() not workarea_,
8480           and make it use a scoped_ptr instead
8481
8482 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8483
8484         * lyx_gui.C: add debug message on BadWindow
8485
8486 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * sp_spell.C: fdopen is not part of the C++ standard.
8489
8490         * paragraph.C (InsetIterator): use >= instead of ==
8491
8492 2002-06-07  Angus Leeming  <leeming@lyx.org>
8493
8494         Fixes needed to compile with Compaq cxx 6.5.
8495         * BufferView_pimpl.C:
8496         * DepTable.C:
8497         * buffer.C:
8498         * converter.C:
8499         * encoding.C:
8500         * lyx_gui.C:
8501         * lyx_main.C:
8502         * lyxtextclasslist.C:
8503         * minibuffer.C:
8504         * sp_spell.C:
8505         * tabular_funcs.C:
8506         * vc-backend.C:
8507         all c-library variables have been moved into namespace std. Wrap
8508         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8509
8510         * lyxlength.C:
8511         * tabular-old.C:
8512         * tabular.C:
8513         Add a using std::abs declaration.
8514
8515         * kbmap.h (modifier_pair):
8516         * paragraph.h (InsetTable, InsetList):
8517         * lyxfont.h (FontBits):
8518         type definition made public.
8519
8520         * bufferlist.C (emergencyWriteAll): the compiler complains that
8521         there is more than one possible lyx::class_fun template to choose from.
8522         I re-named the void specialisation as lyx::void_class_fun.
8523
8524         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8525
8526         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8527         the compiler is is unable to find tostr in write_attribute.
8528
8529 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * buffer.C (sgmlError): hide #warning
8532
8533 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8534
8535         * xtl/*: get rid of xtl, which is not in use anyway
8536
8537         * LyXAction.C (init):
8538         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8539         were unimplemented xtl experimentation
8540
8541 2002-06-04  André Pönitz <poenitz@gmx.net>
8542
8543         * lyxfunc.C: disable array operation on simple formulae
8544
8545 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * converter.C: constify a bit
8548
8549 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * lyx_gui.C: check xforms version correctly
8552
8553 2002-04-30  Herbert Voss  <voss@lyx.org>
8554
8555         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8556         "keep" option
8557
8558 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8561           attempt to register it with a VCS)
8562
8563 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8564
8565         * lyx_main.C (init): honor variables LYX_DIR_13x and
8566         LYX_USERDIR_13x
8567
8568 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8569
8570         * buffer.h:
8571         * buffer.C:
8572         * lyx_main.C: fix a crash on bad command line,
8573           and give a useful exit status on error
8574
8575         * lyxfunc.C (doImport): allow -i lyx to work
8576
8577 2002-03-30  André Pönitz <poenitz@gmx.net>
8578
8579         * lyxfunc.C: mathed font changes
8580
8581 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * LaTeX.C:
8584         * importer.h:
8585         * importer.C:
8586         * lyx_sty.h:
8587         * lyx_sty.C:
8588         * lyxlex.C:
8589         * lyxrow.h:
8590         * lyxtext.h:
8591         * paragraph.h:
8592         * paragraph.C:
8593         * texrow.h:
8594         * texrow.C:
8595         * text.C:
8596         * trans_mgr.h: srcdocs, and some minor cleanups
8597
8598 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8601         call getFont all the time)
8602
8603 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * switch from SigC signals to boost::signals
8606
8607 2002-05-29  André Pönitz <poenitz@gmx.net>
8608
8609         * paragraph_pimpl.C (getChar): don't call size() too often...
8610
8611 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8612
8613         * paragraph_pimpl.C (insertChar): do not try to update tables when
8614         appending (pos == size())
8615
8616         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8617         in order to reduce drastically the number of comparisons needed to
8618         parse a large document
8619
8620 2002-05-29  André Pönitz <poenitz@gmx.net>
8621
8622         * text.C:
8623         * text2.C:
8624         * lyxtextclass.C:
8625         * sp_pspell.h:
8626         * textclasslist.[Ch]:
8627         * sp_ispell.h: whitespace change
8628
8629 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8630
8631         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8632         lyxaction directly now.
8633
8634 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * trans.C:
8637         * lyxfont.C:
8638         * lyxvc.C: remove unused headers
8639
8640 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * Makefile.am:
8643         * buffer.h:
8644         * undostack.h:
8645         * undostack.C:
8646         * undo_funcs.h:
8647         * undo_funcs.C: some cleanups. Use shared_ptr
8648           and a template for the undo stacks.
8649
8650 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * BufferView_pimpl.h:
8653         * BufferView_pimpl.C:
8654         * kbmap.h:
8655         * kbmap.C:
8656         * kbsequence.h:
8657         * kbsequence.C:
8658         * lyxfunc.h:
8659         * lyxfunc.C:
8660         * text2.C: use key_state/mouse_state
8661
8662 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8665         and LSubstring
8666
8667         * chset.C: change include order
8668         (loadFile): use boost regex and get rid of LRegex and LSubstring
8669
8670         * Makefile.am (BOOST_LIBS): new variable
8671         (lyx_LDADD): use it
8672
8673         * LaTeX.C: change include order.
8674         (scanAuxFile): use boost regex and get rid of LRegex and
8675         LSubstring
8676         (deplog): ditto
8677
8678 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * ColorHandler.h:
8681         * ColorHandler.C:
8682         * FontInfo.h:
8683         * FontInfo.C: moved to frontends/xforms/
8684
8685         * FontLoader.h:
8686         * FontLoader.C: moved into frontends for GUIIzation
8687
8688         * Makefile.am:
8689         * lyx_gui.C:
8690         * lyxfont.C:
8691         * lyxfunc.C: changes from above
8692
8693 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8694
8695         * LColor.C: remove spurious X include
8696
8697         * BufferView_pimpl.C:
8698         * Makefile.am:
8699         * font.h:
8700         * font.C:
8701         * text.C:
8702         * text2.C: move font metrics to frontends/
8703
8704 2002-05-24  Juergen Vigna  <jug@sad.it>
8705
8706         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8707         setting the undo_cursor.
8708
8709         * ParagraphParameters.h: include local includes first.
8710
8711 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * BufferView_pimpl.C:
8714         * BufferView_pimpl.h:
8715         * Makefile.am:
8716         * WorkArea.h:
8717         * WorkArea.C:
8718         * screen.C: move WorkArea into frontends/
8719
8720         * lyxscreen.h:
8721         * screen.C:
8722         * text.C:
8723         * BufferView.C:
8724         * BufferView2.C: move LyXScreen into frontends/
8725
8726         * lyxlookup.h:
8727         * lyxlookup.C:
8728         * lyx_gui.C: move lyxlookup into frontends/xforms/
8729
8730 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8731
8732         * BufferView2.C:
8733         * BufferView_pimpl.C:
8734         * FontLoader.C:
8735         * LyXView.h:
8736         * LyXView.C:
8737         * Makefile.am:
8738         * WorkArea.C:
8739         * XFormsView.h:
8740         * XFormsView.C:
8741         * buffer.C:
8742         * bufferlist.C:
8743         * bufferview_funcs.C:
8744         * converter.C:
8745         * importer.C:
8746         * lyx_cb.C:
8747         * lyx_gui.C:
8748         * lyx_main.C:
8749         * lyx_find.C:
8750         * lyxfunc.C:
8751         * lyxvc.C:
8752         * minibuffer.C:
8753         * text.C:
8754         * text2.C:
8755         * trans.C:
8756         * vc-backend.C: move LyX/XFormsView into frontends/
8757
8758 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8759
8760         * Makefile.am:
8761         * PainterBase.C:
8762         * PainterBase.h:
8763         * Painter.C:
8764         * Painter.h:
8765         * WorkArea.C:
8766         * WorkArea.h:
8767         * screen.C:
8768         * tabular.C:
8769         * text.C:
8770         * text2.C: move Painter to frontends/
8771
8772 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8773
8774         * buffer.C: comment out some some code that depend upon lyx_format
8775         < 220
8776
8777         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8778         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8779
8780         * buffer.h (NO_COMPABILITY): turn off compability
8781
8782         * ColorHandler.C: include scoped_array.hpp
8783
8784         * font.C: Use more specific smart_ptr header.
8785         * Painter.C: ditto
8786         * gettext.C: ditto
8787         * ShareContainer.h: ditto
8788         * lyx_main.h: ditto
8789         * kbmap.h: ditto
8790         * FontInfo.h: ditto
8791         * BufferView_pimpl.h: ditto
8792         * ColorHandler.h: ditto
8793
8794         * kbmap.C (defkey): change call to shared_ptr::reset
8795
8796 2002-05-21  Juergen Vigna  <jug@sad.it>
8797
8798         * buffer.C (insertErtContents): fix to insert ert asis if it is
8799         non empty. Skip it completely if it contains only whitespaces.
8800
8801 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * BufferView_pimpl.C:
8804         * BufferView2.C: clear selection on paste (bug 393)
8805
8806 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8807
8808         * DepTable.C: include ctime
8809
8810 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8811
8812         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8813
8814 2002-05-14  Juergen Vigna  <jug@sad.it>
8815
8816         * text.C (breakParagraph): fixed function to honor the keepempty
8817         layout in the right maner and also to permit the right breaking
8818         algorithm on empty or non empyt keepempty paragraphs.
8819
8820         * paragraph.C (breakParagraph): we have to check also if the par
8821         is really empty (!size()) for isempty otherwise we do the wrong
8822         paragraph break.
8823
8824 2002-05-10  Juergen Vigna  <jug@sad.it>
8825
8826         * buffer.[Ch] : The following are only changes to the ert
8827         compatibility read reading old LaTeX layout and font stuff and
8828         convert it to ERTInsets.
8829
8830         * buffer.h: added isErtInset().
8831
8832         * buffer.C (struct ErtComp): add a fromlayout bool to check
8833         if we're inside a LaTeX layout.
8834         (isErtInset): new helper function.
8835         (insertErtContents): look for other ert insets before this one
8836         and insert the contents there, so that we don't have subsequent
8837         ERT insets with nothing between them. This way we create only one
8838         inset with multiple paragraphs. Also check if we don't insert only
8839         spaces ' ' as they are ignored anyway afterwards in the .tex file
8840         so if we have only spaces we will ignore this latex part in the
8841         new file.
8842         (parseSingleLyXformat2Token \\layout): better compatibility when
8843         reading layout-latex stuff.
8844         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8845         language tag.
8846         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8847         stuff after reading the inset only get the information back from
8848         the stack.
8849
8850 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8851
8852         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8853
8854         * LaTeXFeatures.C (getBabelOptions): New method.
8855
8856 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * BufferView_pimpl.C (Dispatch): work around missing argument for
8859         'layout'
8860
8861 2002-05-08  Juergen Vigna  <jug@sad.it>
8862
8863         * text.C (leftMargin): handle paragraph leftindent.
8864
8865         * paragraph.C (writeFile): write the new \\leftindent tag.
8866         (validate): handle leftindent code.
8867         (TeXEnvironment): handle paragraphleftindent code again.
8868
8869         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8870
8871         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8872         for paragrap_extra indent code and new token \\leftindent.
8873         (latexParagraphs): handle the leftindent as environment.
8874
8875         * ParameterStruct.h: added leftindent support.
8876
8877         * ParagraphParameters.C (leftIndent): added support functions for
8878         the paragraph left indent.
8879
8880         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8881         more appropriate.
8882
8883 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8884
8885         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8886         inside insetERT.
8887
8888         * text.C (computeBidiTables): No bidi in insetERT.
8889
8890         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8891         in RTL documents.
8892
8893 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * version.C.in: pre 5
8896
8897 2002-05-02  José Matos  <jamatos@fep.up.pt>
8898         * buffer.C (makeDocBookFile): white space changes, add newline to
8899         command styles.
8900         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8901
8902         * tabular.C (docBook): fix typo.
8903
8904 2002-05-03  Juergen Vigna  <jug@sad.it>
8905
8906         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8907         change in LyXText as we can not be sure it was not freed.
8908         (drawOneRow): remove unused code.
8909
8910         * text.C (drawInset): redo the calculation of the need_break_row as
8911         it could have a row which was already freed.
8912         (draw): look at the return value of drawInset and return false if
8913         it also returned false.
8914         (paintRowText): look at the return value of draw and return false if
8915         it also returned false.
8916
8917         * lyxtext.h: added bool return type to drawInset() and draw() so that
8918         if we have a change in the row so that the rowbreak has to be redone
8919         we abort drawing as it will be called again.
8920
8921 2002-05-02  Juergen Vigna  <jug@sad.it>
8922
8923         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8924         a change in the maintext also if we're inside an inset.
8925         (Dispatch): set the cursor again after a break line and after the
8926         screen has been updated as it could be we're in a different row.
8927
8928         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8929         to set the cursor behind the pargraph with > size().
8930         (setCursor): check also for the same paragraph when checking where
8931         to put the cursor if we have a NFR inset.
8932
8933         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8934         parts of layout read further up as it still was in the wrong
8935         position.
8936
8937 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * screen.C (drawFromTo): change sine fullRebreak always return
8940         true.
8941
8942         * buffer.C (parseSingleLyXformat2Token): reindent some
8943
8944         * BufferView_pimpl.C (update): change since fullRebreak always
8945         return true.
8946         (Dispatch): git rid of the last hardcoded "Standard"s.
8947
8948 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8949
8950         * text2.[Ch] (fullRebreak): make it return void now that we always
8951         returned true.
8952
8953 2002-04-30  Juergen Vigna  <jug@sad.it>
8954
8955         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8956         ert compatibility check for "latex" layout.
8957
8958 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8961         minipages: use col% instead of p%, and also use the current font.
8962         (makeLaTeXFile): Fix use babel condition.
8963         (parseSingleLyXformat2Token): Correct font when reading old floats.
8964
8965 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8968         inserting list of floats.
8969
8970 2002-04-25  Herbert Voss  <voss@lyx.org>
8971
8972         * MenuBackend.C (expand): don't add the graphics extensions to the
8973         export menu
8974
8975 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8978         non-existing layout, do not complain if it was the default layout
8979         of the original class (bug #342)
8980
8981 2002-04-24  Juergen Vigna  <jug@sad.it>
8982
8983         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8984         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8985
8986 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8987
8988         * buffer.C (getBibkeyList): If using \bibliography, return the
8989         option field with the reference itself. Enables us to provide natbib
8990         support when using \bibliography.
8991
8992 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8993
8994         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8995
8996         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8997         natbib is provided by the LaTeX class.
8998
8999 2002-04-23  Juergen Vigna  <jug@sad.it>
9000
9001         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9002         Wakeup functions.
9003
9004         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9005
9006 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9009
9010         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9011         ensuremath around textordmasculine, textordfeminine and
9012         textdegree.
9013
9014 2002-04-19  Juergen Vigna  <jug@sad.it>
9015
9016         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9017         reinitializing the buffer otherwise row-dimensions may be wrong.
9018         (update): reset also the selection cursors if they do exits otherwise
9019         their x/y positions may be wrong.
9020
9021         * text2.C (cursorDown): don't enter the inset if we came from a row
9022         above and are one row over the inset.
9023
9024         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9025         really leaving an inset.
9026
9027 2002-04-18  Juergen Vigna  <jug@sad.it>
9028
9029         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9030         of the selected paragraph does not have the selected layout also if
9031         the last one had!
9032
9033         * text2.C (setLayout): fixed bug which did not change last selected
9034         paragraph.
9035
9036         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9037         changed the read and substituted \\end_float with \\end_inset!
9038
9039         * BufferView_pimpl.C (cursorPrevious):
9040         (cursorNext): fixed to make it work with rows heigher than the work
9041         area without moving the cursor only the draw of the row.
9042         (workAreaMotionNotify): fix jumping over high rows.
9043
9044 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9047         Ressler.
9048
9049 2002-04-16  Juergen Vigna  <jug@sad.it>
9050
9051         * text2.C (setCursor): set also the irow().
9052         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9053         (cursorUp):
9054         (cursorDown): support for locking an inset if the x_fix value goes
9055         inside it. That way I can transverse insets too with cursor up/down.
9056
9057         * lyxrow.h: added irow helper function same as other (i) functions.
9058
9059         * BufferView_pimpl.C (cursorPrevious):
9060         (cursorNext): fixed for insets!
9061
9062 2002-04-15  Juergen Vigna  <jug@sad.it>
9063
9064         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9065         position otherwise it is wrong in some cases.
9066
9067         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9068         inside the inset before the call.
9069
9070 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9071
9072         * buffer.[Ch] (getBibkeyList): make it const.
9073
9074 2002-04-12  Juergen Vigna  <jug@sad.it>
9075
9076         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9077
9078         * text2.C (getCursorX): new helper function
9079         (setCursor): compute also ix_
9080         (setCursorFromCoordinates): set also ix.
9081
9082         * lyxcursor.h: added ix_ and helper functions.
9083
9084         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9085
9086         * buffer.C (insertStringAsLines): dont break paragraph if the this
9087         paragraph is inside an inset which does not permit it!
9088
9089         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9090         also with no chars on this paragraph.
9091         (paintRowText): only paint stuff if it's inside the workarea!
9092
9093         * paragraph.C (breakParagraph): honor keepempty flag and break the
9094         paragraph always below not above.
9095
9096         * BufferView2.C (unlockInset): update the paragraph layout on inset
9097         unlock as we changed paragraph in such a case.
9098
9099         * lyxfind.C (LyXFind): clear the former selection if not found!
9100
9101         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9102         again called in insertChar().
9103
9104         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9105         an inset which uses the whole row!
9106         (rightMargin): ditto.
9107         (insertChar): force a rebreak if we inserted an inset!
9108
9109 2002-03-28  Herbert Voss  <voss@lyx.org>
9110
9111         * lyxlength.[Ch]: add inBP() to get the right PS-point
9112         units (BigPoint). With inPixels we have rounding errors
9113
9114 2002-04-11  Juergen Vigna  <jug@sad.it>
9115
9116         * text2.C (setCursorFromCoordinates): set iy to the right value.
9117         (setCursor): add check if row->previous exists!
9118
9119         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9120         an old float_type as this was the case in the old code!
9121
9122         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9123
9124         * BufferView2.C (showLockedInsetCursor): use iy
9125         (fitLockedInsetCursor): ditto
9126
9127         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9128         locked insets as there we have the right value now.
9129
9130         * lyxcursor.C: added iy_ variable and iy functions to set to the
9131         baseline of cursor-y of the locked inset.
9132
9133         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9134         (setCursor): fixed for insets which need a full row.
9135
9136         * text.C (rowLastPrintable): don't ignore the last space when before
9137         an inset which needs a full row.
9138         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9139         as last character of a row when before a inset which needs a full row.
9140
9141 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * version.C.in: update date
9144
9145         * text2.C (fullRebreak): try to always return true and see what
9146         happens...
9147
9148 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * MenuBackend.C (expand): use Floating::listName
9151
9152         * FloatList.C (FloatList): add listName argument to the built-in
9153         floats
9154
9155         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9156         text associated with the float.
9157
9158 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9161
9162 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9163
9164         * ShareContainer.h: add a couple of missing typenames.
9165
9166 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9167
9168         * lyxrc.C (getDescription): use _() correctly rather than N_().
9169
9170 2002-03-28  Herbert Voss  <voss@lyx.org>
9171
9172         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9173         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9174
9175 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9178         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9179
9180 2002-03-29  Juergen Vigna  <jug@sad.it>
9181
9182         * lyxfunc.C (dispatch): add a missing fitCursor call.
9183
9184         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9185         it was scrolled by a cursor move, so return the bool status.
9186
9187         * BufferView.C (fitCursor): return the bool flag also to the outside
9188         world as this is needed.
9189
9190         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9191
9192         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9193         call the edit() as it is not needed (and wrong) IMO.
9194         (workAreaButtonPress): set the screen_first variable before evt.
9195         unlock the inset as this may change screen_first and then we have
9196         a wrong y position for the click!
9197
9198 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9199
9200         * MenuBackend.C (expand): another translation that I missed
9201
9202 2002-03-28  Juergen Vigna  <jug@sad.it>
9203
9204         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9205
9206         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9207
9208 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9211
9212         * MenuBackend.C (expand): fix export/view/update when there is no
9213         document open.
9214
9215 2002-03-27  Herbert Voss  <voss@lyx.org>
9216
9217         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9218         and text%
9219
9220 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9221
9222         * bufferview_funcs.C (currentState): only show paragraph number
9223         for is DEVEL_VERSION is set.
9224
9225         * lyxfunc.C (dispatch): put warning in INFO channel
9226
9227         * MenuBackend.C (expand): translate the name of floats
9228
9229         * FloatList.C (FloatList): mark the float names for translation
9230
9231         * converter.C (convert): use LibScriptSearch
9232
9233 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * MenuBackend.C (defaults): fix default menu (we might as well get
9236         rid of it...)
9237
9238 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9239
9240         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9241         directory.
9242
9243 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9244
9245         * lyxvc.C: reorder includes.
9246
9247 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9250           properly
9251
9252 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * CutAndPaste.C: change layouts earlier on paste
9255           to avoid crashing when calling getFont()
9256
9257 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9258
9259         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9260         irritating #error.
9261
9262 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * WorkArea.C: remove 'Pending' debug message.
9265
9266         * most files: ws cleanup
9267
9268         * buffer.[Ch]: ws changes
9269
9270         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9271
9272 2002-03-21  Juergen Vigna  <jug@sad.it>
9273
9274         * tabular.C (SetMultiColumn): collapse also the contents of the
9275         cells and set the last border right. Added a Buffer const * param.
9276
9277 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9280         linking or not.
9281
9282 2002-03-19  Juergen Vigna  <jug@sad.it>
9283
9284         * text2.C (clearSelection): reset also xsel_cache.
9285
9286         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9287         where it needs to be called (John tells us to do so too :)
9288         (selectionLost): reset sel_cache.
9289
9290         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9291
9292 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9293
9294         * text2.C (setCursorIntern): put debuging code in INSETS channel
9295
9296 2002-03-19  André Pönitz <poenitz@gmx.net>
9297
9298         * lyxfunc.C: tiny whitespace change
9299
9300 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9301
9302         * ToolbarDefaults.C (init):
9303         * LyXAction.C (init):
9304         * commandtags.h:
9305         * BufferView_pimpl.C (Dispatch):
9306         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9307
9308 2002-03-19  Allan Rae  <rae@lyx.org>
9309
9310         * exporter.C (Export): removeAutoInsets before doing anything else.
9311         While I've just introduced a dependency on BufferView this really is
9312         the best place to clean the buffer otherwise you need to cleanup in
9313         a dozen places before calling export or cleanup in a dozen functions
9314         that export calls.
9315
9316         * converter.C (runLaTeX):
9317         (scanLog): Better handling of removeAutoInsets and screen updates.
9318
9319         * lyxfunc.C (dispatch): small whitespace changes
9320
9321 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9322
9323         * WorkArea.C (C_WorkAreaEvent): return a value.
9324         (event_cb): return 1 if we handled the event, 0 otherwise.
9325
9326         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9327
9328 2002-03-18  Juergen Vigna  <jug@sad.it>
9329
9330         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9331         (GetAdditionalWidth): ditto.
9332         (RightLine): ditto.
9333         (LeftLine): ditto.
9334
9335         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9336         inset if we're there actually (probably not used right now but this
9337         is the direction to go for unifying code).
9338         (paste): disable code to clear the selection.
9339
9340         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9341         inside an InsetText and move the check further up as it is in the
9342         wrong place.
9343
9344         * text2.C (pasteSelection): set a selection over the pasted text.
9345
9346 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9347
9348         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9349         and libgraphics to build on Cygwin.
9350
9351 2002-03-15  Juergen Vigna  <jug@sad.it>
9352
9353         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9354         inserting an Inset into the paragraph. I know this is not the best
9355         fix but we already use current_view in CutAndPaste so we will remove
9356         all of it's using at the same time.
9357
9358         * buffer.C (sgmlError): deactivated function till it is rewritten in
9359         the right mode, now it can create problems.
9360
9361         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9362         before accessing it.
9363
9364 2002-03-14  Juergen Vigna  <jug@sad.it>
9365
9366         * undo_funcs.C (textHandleUndo): do the right thing when updating
9367         the inset after the undo/redo.
9368
9369         * text2.C (setCursor): just some testcode for #44 not ready yet.
9370
9371         * undo_funcs.C (textHandleUndo): set the next() and previous()
9372         pointers of the paragraph to 0 before deleting otherwise we have
9373         problems with the Paragraph::[destructor].
9374
9375         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9376         on a paragraph insertion.
9377
9378 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9379
9380         * buffer.C (asciiParagraph): use += operator for char append to
9381         string.
9382
9383         * paragraph.C (getFontSettings): compare >= not just >
9384         (highestFontInRange): ditto
9385         (setFont): ditto
9386
9387 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * paragraph.C: change several algorithm to be more appripriate for
9390         the problem domain. This is lookip in FontList and in the InsetList.
9391
9392 2002-03-13  André Pönitz <poenitz@gmx.net>
9393
9394         * commandtags.h:
9395         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9396
9397 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9398
9399         * commandtags.h:
9400         * LyXAction.C:
9401         * lyxfunc.C:
9402         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9403
9404 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9405
9406         * Painter.C (display): anon helper function, adjust code for this
9407         change.
9408         (pixmap): remove function.
9409
9410         * Painter.h: remove private display variable.
9411
9412         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9413
9414 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9415
9416         * WorkArea.[Ch]: remove figinset_canvas cruft.
9417
9418 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9419
9420         * lyxtextclass.C (operator): add one item cache optimization.
9421
9422         * bufferlist.h: doxy changes
9423
9424         * bufferlist.C: ws changes
9425
9426         * DepTable.[Ch] (ext_exist): place const in the right spot.
9427
9428         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9429         call resizeInsets.
9430         (workAreaExpose): call resizeInsets when the with BufferView changes.
9431         (Dispatch): adjust for protectedBlank removal
9432         (specialChar): call updateInset if the insert went ok.
9433
9434         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9435         specialChar instead.
9436
9437         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9438
9439         * BufferView.h: doxy change
9440
9441         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9442
9443         * lyxtextclass.C (operator[]): remove non-const version
9444         (defaultLayout): remove non-const version
9445
9446 2002-03-12  Juergen Vigna  <jug@sad.it>
9447
9448         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9449         did resize the LyXText too.
9450
9451         * buffer.C (readLyXformat2): set layout information on newly allocated
9452         paragraphs.
9453
9454         * tabular.C (OldFormatRead): set layout information on the paragraph.
9455
9456 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9457
9458         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9459
9460 2002-03-11  Juergen Vigna  <jug@sad.it>
9461
9462         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9463         plainly wrong.
9464         (resizeCurrentBuffer): force also the insets to resize themselfes.
9465         (moveCursorUpdate): fixed up for InsetText.
9466
9467 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9468
9469         * commandtags.h:
9470         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9471         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9472         value of Dialogs::tooltipsEnabled().
9473         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9474
9475 2002-03-08  Juergen Vigna  <jug@sad.it>
9476
9477         * BufferView_pimpl.C (updateInset): update inset inside inset also
9478         if it isn't inside theLockingInset().
9479
9480 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9481
9482         * buffer.C (asciiParagraph): redo some of the word and line length
9483         handling.
9484         (getLists): look for Caption instead of caption.
9485
9486 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * buffer.C (Buffer): initialize niceFile to true
9489         (makeLaTeXFile):
9490         (makeLinuxDocFile):
9491         (makeDocBookFile): make sure niceFile is true on exit
9492
9493 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9496
9497 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9498
9499         * LyXSendto.C: remove.
9500         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9501         * lyx_gui.C: remove now-redundant comment.
9502         * ColorHandler.h: remove forward declaration of class WorkArea.
9503         * lyxfunc.C: remove #include "WorkArea.h".
9504
9505 2002-03-07  Juergen Vigna  <jug@sad.it>
9506
9507         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9508         got moved away with the DEPM and also set the inset_owner always
9509         right which before could have been omitted.
9510
9511 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9512
9513         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9514         wanted layout is not found.
9515
9516 2002-03-07  Juergen Vigna  <jug@sad.it>
9517
9518         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9519
9520 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9521
9522         * paragraph.C (breakParagraph): use default layout not layout of
9523         prev paragraph.
9524         (Paragraph): clear ParagraphParameters.
9525
9526 2002-03-06  Juergen Vigna  <jug@sad.it>
9527
9528         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9529         otherwise it would not be a valid lenght. Fixed a special case in
9530         the minipage compatibility read where we end the document with a
9531         minipage.
9532
9533         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9534         was set as it could be 0 for InsetTexts first entry.
9535
9536 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9537
9538         * paragraph.C (writeFile): if layout is empty write out
9539         defaultLayoutName().
9540
9541         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9542         file without named layout we set layout to defaultLayoutName().
9543
9544 2002-03-06  Juergen Vigna  <jug@sad.it>
9545
9546         * CutAndPaste.C (copySelection): set layout for new paragraph.
9547
9548         * text.C (prepareToPrint): leave ERT inset left aligned
9549         (leftMargin): don't indent paragraphs inside ERT insets
9550
9551 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9552
9553         * paragraph.C (breakParagraph): dont call clear do the work manually
9554
9555         * paragraph.[Ch] (clear): remove function
9556
9557 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * paragraph.C (Paragraph): dont call clear, the work has already
9560         been done.
9561
9562         * lyxtextclass.C (operator): assert if n is empty
9563
9564         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9565         work manually instead.
9566
9567 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * BufferView_pimpl.C: protect selectionLost against text == 0
9570
9571 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * text.C (breakParagraph): fix a setting layout to '0' problem.
9574
9575 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9576
9577         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9578         final location of file, for the included files, and graphics.
9579
9580 2002-03-05  Juergen Vigna  <jug@sad.it>
9581
9582         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9583
9584 2002-03-04  Juergen Vigna  <jug@sad.it>
9585
9586         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9587
9588         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9589         last column of multicolumn cells.
9590         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9591
9592 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9593
9594         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9595         file if it doesn't go to a temporary file.
9596
9597         * buffer.C (sgmlOpenTag):
9598         (sgmlCloseTag):  remove extra newline insertion.
9599
9600 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9601
9602         * text.C (getRowNearY): comment out debug msg
9603
9604 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9605
9606         * text2.C: first -> first_y
9607
9608         * text.C (getRowNearY): add some attemts at a possible
9609         optimization, not working.
9610
9611         * tabular.[Ch]: add BufferParams to several function so that newly
9612         created paragraph can be initialized to he default layotu for the
9613         buffers textclass.
9614
9615         * tabular-old.C (ReadOld): add buf->params to call of Init
9616
9617         * screen.C: rename text->first to text->first_y
9618
9619         * paragraph.C (breakParagraph): always set layout in the broken
9620         paragraph
9621
9622         * lyxtextclass.C (Read): remove lowercase
9623         (hasLayout): ditto
9624         (operator): ditto
9625         (delete_layout): ditto
9626
9627         * lyxtext.h: rename first -> first_y
9628
9629         * lyxlayout.C (Read): remove lowercase
9630         (name): ditto
9631         (setName): ditto
9632         (obsoleted_by): ditto
9633
9634         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9635
9636         * buffer.C (insertErtContents): add params are to InsetERT
9637         (parseSingleLyXformat2Token): add code to check if a paragraphs
9638         layout really exist.
9639         (parseSingleLyXformat2Token): add params to several inset
9640         constructors
9641         (asciiParagraph): remove lowercase, do the layout comparisons with
9642         no_case
9643
9644         * BufferView_pimpl.C (cursorNext): first -> first_y
9645         (resizeCurrentBuffer): first -> first_y
9646         (updateScrollbar): first -> first_y
9647         (scrollCB): first -> first_y
9648         (workAreaMotionNotify): first -> first_y
9649         (workAreaButtonPress): first -> first_y
9650         (checkInsetHit): first -> first_y
9651         (cursorPrevious): first -> first_y
9652         (cursorNext): first -> first_y
9653         (Dispatch): add buffer_->params to severl inset contructors
9654
9655 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * lyxlayout.C (Read): remove some debug info that I forgot.
9658
9659         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9660         clean up the code slightly.
9661         (makeLinuxDocFile): ditto
9662         (makeDocBookFile): ditto
9663
9664         * text2.C: layout as string
9665
9666         * text.C: layout as string
9667
9668         * paragraph_pimpl.C: layout as string
9669
9670         * paragraph.[Ch]: layout as string
9671
9672         * lyxtextclasslist.[Ch]: layout as string
9673
9674         * lyxtextclass.[Ch]: layout as string
9675
9676         * lyxtext.h: layout as string
9677
9678         * lyxlayout.[Ch]: layout as string
9679
9680         * lyx_cb.C: layout as string
9681
9682         * bufferview_funcs.C: layout as string
9683
9684         * bufferparams.C: layout as string
9685
9686         * buffer.C: layout as string
9687
9688         * LyXView.[Ch]: layout as string
9689
9690         * LaTeXFeatures.[Ch]: layout as string
9691
9692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9693
9694         * BufferView_pimpl.C: change current_layout to string, remove
9695         lyx::layout_type.
9696         (Dispatch):
9697         (smartQuote):
9698         (insertInset):
9699         (workAreaButtonRelease): layout as string
9700
9701         * BufferView2.C (unlockInset): adjust
9702
9703         * vspace.C (asLatexCommand): use an explict temp variable.
9704
9705 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * Makefile.am: use FRONTEND_*
9708
9709 2002-03-01  Juergen Vigna  <jug@sad.it>
9710
9711         * tabular.C (SetWidthOfMulticolCell): changed to something better
9712         I hope but still work in progress.
9713         (recalculateMulticolumnsOfColumn): renamed function from
9714         recalculateMulticolCells as it is more appropriate now.
9715         (SetWidthOfCell): calculate multicols better.
9716
9717 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9720
9721         * lyxfunc.C (processKeySym): print sequence also if it is
9722         `deleted' (complete)
9723
9724         * kbsequence.C (print): print sequence even if it is deleted
9725         (complete would be a better word, actually).
9726
9727         * lyxfunc.C (dispatch): print complete options after a prefix key
9728
9729         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9730
9731 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9732
9733         * text2.C (setCharFont): eliminate setCharFont code duplication.
9734
9735 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9738         LFUN_TABULAR_FEATURE (bug #177)
9739
9740 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9741
9742         * Makefile.am: remove figure.h
9743
9744 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9745
9746         * Bufferview_pimpl.C:
9747         * CutAndPasteC:
9748         * LaTeX.C:
9749         * LyXSendto.C:
9750         * buffer.C:
9751         * bufferlist.C:
9752         * converter.C:
9753         * language.C:
9754         * lyxfunc.C:
9755         * lyxvc.C:
9756         * paragraph.C:
9757         * text.C:
9758         * text2.C: remove #include "lyx_gui_misc.h".
9759
9760         * LaTeX.C: added #include <cstdio>
9761
9762 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9765         that the paragraph following this one can have.
9766
9767         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9768
9769         * vspace.C (asLatexCommand): fix bogus gcc warning
9770
9771         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9772
9773 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9774
9775         * text2.C (setLayout): get rid of redundant code
9776
9777 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9778
9779         * text2.C (incDepth): make sure depth cannot be increased beyond
9780         reasonable values.
9781
9782 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9783
9784         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9785         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9786
9787         * PainterBase.h (image):
9788         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9789         a LyXImage const *.
9790
9791 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * BufferView.C:
9794         * BufferView.h:
9795         * BufferView_pimpl.C:
9796         * BufferView_pimpl.h:
9797         * LaTeXFeatures.C:
9798         * LyXAction.C:
9799         * LyXView.C:
9800         * Makefile.am:
9801         * UpdateList.h:
9802         * UpdateList.C:
9803         * buffer.C:
9804         * figure.h:
9805         * figureForm.C:
9806         * figureForm.h:
9807         * figure_form.C:
9808         * figure_form.h:
9809         * lyx_cb.C:
9810         * lyx_gui.C:
9811         * lyx_gui_misc.C:
9812         * lyxfunc.C:
9813         * sp_base.h:
9814         * sp_ispell.h:
9815         * sp_pspell.h:
9816         * sp_spell.C: remove fig inset, and the crap house of
9817           cards that follows it
9818
9819 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * Makefile.am:
9822         * lyxserver.C:
9823         * os2_defines.h:
9824         * os2_errortable.h:
9825         * nt_defines.h: move .h into support/
9826
9827         * vms_defines.h: remove
9828
9829         * WorkArea.C: add space in debug output
9830
9831         * text2.C:
9832         * paragraph.C:
9833         * buffer.C: add WITH_WARNINGS
9834
9835         * vc-backend.h:
9836         * vc-backend.C:
9837         * bufferlist.C: s/retrive/retrieve/, add docs
9838
9839         * vspace.h:
9840         * vspace.C:
9841         * kbmap.h:
9842         * lyxlength.h:
9843         * lyxgluelength.h:
9844         * length_common.h:
9845         * chset.h:
9846         * chset.C: add docs
9847
9848         * lyxgui.C: add ID to X error handler
9849
9850         * lyxtestclass.c: fix typo
9851
9852 2002-02-26  Juergen Vigna  <jug@sad.it>
9853
9854         * tabular_funcs.C (write_attribute): changed so that some default
9855         attributes are not written at all.
9856         (getTokenValue): set default values before trying to read the
9857         value so we have the return value always set as default if we don't
9858         find the token we search for.
9859
9860         * tabular.C (Write): write bools as bools not as strings!
9861
9862 2002-02-22  Juergen Vigna  <jug@sad.it>
9863
9864         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9865         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9866
9867         * text.C (leftMargin): don't add an indent for paragraphs inside
9868         tabular cells (fix #208).
9869
9870 2002-02-21  José Matos  <jamatos@fep.up.pt>
9871
9872         * tabular.C (docBook): fixed support for long tables.
9873
9874 2002-02-20  Juergen Vigna  <jug@sad.it>
9875
9876         * text2.C (getFont): get the drawing font of the Inset if this
9877         paragraph is inside an inset (only important for InsetERT for now).
9878
9879         * buffer.C (insertErtContents): use new lanugage params in ERT
9880         constructor.
9881
9882         * CutAndPaste.C: commenting out seemingly uneeded code.
9883
9884 2002-02-19  Allan Rae  <rae@lyx.org>
9885
9886         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9887         Iterators might be simple to use but they also get invalidated.
9888         (removeAutoInsets): renamed saved cursor tracking variables and added
9889         some comments to clarify what everything does.
9890
9891 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * Chktex.C:
9894         * LaTeX.C:
9895         * LyXSendto.C:
9896         * converter.C:
9897         * lyx_cb.C:
9898         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9899         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9900
9901         * lyxfunc.C:
9902         * vc-backend.h: remove #include "support/syscall.h"
9903
9904         * LaTeX.C:
9905         * LyXSendto.C:
9906         * converter.C: rearrange #includes in Lars' approved fashion.
9907
9908         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9909         forward declare class Timeout in the header file.
9910
9911         * XFormsView.C: changes due to the above.
9912
9913         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9914         similar to LyXView.
9915
9916         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9917         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9918
9919 2002-02-18  José Matos  <jamatos@fep.up.pt>
9920
9921         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9922         insets contents.
9923
9924 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9925
9926         * a lot of small ws changes
9927         * add a lot of using std::XXX
9928         * use std construcs some places where approp.
9929         * use some exisint stuff from lyxfunctional where approp.
9930         * Make file changes to use partial linking (lets test this now...)
9931
9932 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9933
9934         * Chktex.C:
9935         * buffer.C:
9936         remove #include "support/syscontr.h" as it's redundant. Always has been.
9937
9938         * Chktex.C:
9939         * LaTeX.C:
9940         * LyXSendto.C:
9941         * converter.C:
9942         * lyx_cb.C:
9943         * vc-backend.C:
9944         change Systemcalls::System to Systemcalls::Wait and
9945         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9946         No change of functionality, just reflects the stripped down Systemcalls
9947         class.
9948
9949 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * debug.[Ch]: add a GRAPHICS type to the enum.
9952
9953 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9956
9957         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9958         there is an inset.
9959
9960 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9963         match the changes below.
9964
9965         * text2.C (toggleInset): if there is not editable inset at cursor
9966         position, try to see if cursor is _inside_ a collapsable inset
9967         and close it.
9968
9969 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9972         document menu has a nice checkbox
9973
9974 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9975
9976         * lyxlength.C (asLatexString): change PW to output as percent of
9977         \textwidth.
9978
9979         * lengthcommon.C: change '%' to 't%'
9980
9981         * lyxfunc.C (dispatch): a few comments from Martin
9982
9983 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * WorkArea.h:
9986         * WorkArea.C:
9987         * BufferView_pimpl.h:
9988         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9989           the X selection.
9990
9991 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9992
9993         * vspace.C (inPixels): fix compiler warning
9994
9995 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyxfunc.C (getStatus): fix status message for disabled commands.
9998
9999 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * BufferView_pimpl.C: fix crash on close buffer
10002         during selection (#227)
10003
10004 2002-01-27  Herbert Voss  <voss@lyx.org>
10005
10006         * buffer.C: link old Figure to new graphic inset
10007
10008 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * FontLoader.C (getFontinfo): Change the latex font names in order
10011         to match the names of type1inst.
10012
10013 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10014
10015         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10016
10017         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10018         (extchanged): ditto
10019         (ext_exist): ditto
10020         (remove_files_with_extension): ditto
10021         (remove_file): ditto
10022         (write): ditto
10023
10024         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10025         document is smaller than the work area height. Do not initialize
10026         static variables to 0.
10027
10028 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10029
10030         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10031
10032         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10033         LFUN_LAYOUT_PARAGRAPHS.
10034
10035         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10036         tabular. It is possible to provide a possible cell, which will
10037         typically be the actcell from the corresponding insettabular
10038
10039         * lyxfunc.C (getStatus): small cleanup; disable
10040         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10041         true
10042
10043 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10046
10047         * paragraph.C (startTeXParParams):
10048         (endTeXParParams): new methods. The LaTeX code to
10049         start/end paragraph formatting
10050         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10051         empty (fixes bug #200)
10052
10053         * vspace.C (inPixels): adapt to the change below
10054         (inPixels): [later] more cleanups (remove unused variables)
10055
10056         * lyxlength.C (inPixels): change to use a width and a height as
10057         parameter.
10058
10059 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10060
10061         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10062         Replaced with \paperwidth
10063
10064         * DepTable.C (insert): add std:: qualifier
10065
10066 2002-01-18  Allan Rae  <rae@lyx.org>
10067
10068         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10069         updated also?
10070
10071         * text.C (drawInset): Turned out I didn't know enough about how
10072         rebreaking worked.  This fixes most of the redraw problems.  I see
10073         an occasional cursor trail when a line is broken now and the cursor
10074         placement can seem out by a few pixels also after a rebreak.
10075
10076 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10077
10078         * buffer.C (parseSingleLyXformat2Token): update because minipage
10079         width is now a LyXLength
10080
10081         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10082
10083         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10084         math insets
10085
10086 2002-01-17  Juergen Vigna  <jug@sad.it>
10087
10088         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10089
10090         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10091         is set correctly and the inset is updated correctly.
10092
10093 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10096         the beginning of the loop.
10097
10098 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * lyxrc.C: improve help for use_scalable_fonts
10101
10102 2002-01-17  Allan Rae  <rae@lyx.org>
10103
10104         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10105
10106 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10109         make sure to set their inset_owner to the right value (bug #171)
10110
10111 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10112
10113         * DepTable.h
10114         * DepTable.C: Implement mtime checking to reduce time spent doing
10115         CRCs.
10116
10117 2002-01-16  Juergen Vigna  <jug@sad.it>
10118
10119         * tabular.C (GetAdditionalHeight): one of error fixed.
10120
10121         * lyxrc.C (output): small fix in writing use_pspell.
10122
10123 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10124
10125         * sp_base.h: #include LString.h
10126
10127 2002-01-16  Allan Rae  <rae@lyx.org>
10128
10129         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10130         Can someone check this please?
10131
10132         * text.C (drawInset): It was possible that p.row would be removed by
10133         breakAgainOneRow upsetting a few other settings.  There may be another
10134         small tweak possible by setting need_break_row = 0 when p.row has been
10135         removed but I don't know enough about the logic here.
10136
10137 2002-01-15  Allan Rae  <rae@lyx.org>
10138
10139         * text.C (insertChar): removed conditional truism.
10140
10141         * BufferView2.C (removeAutoInsets): More tweaks.
10142         cur_par_prev could be a stray pointer.  Check for trailing empty line
10143         in case last line was cur_par and only had an error inset on it.
10144
10145 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10148         absolute
10149
10150         * vc-backend.C (most methods):
10151         * exporter.C (Export):
10152         * converter.C (convert):
10153         (runLaTeX):
10154         * LyXSendto.C (SendtoApplyCB):
10155         * lyxfunc.C (dispatch):
10156         (menuNew):
10157         (open):
10158         (doImport):
10159         * lyx_cb.C (AutoSave):
10160         (InsertAsciiFile):
10161         * BufferView_pimpl.C (MenuInsertLyXFile):
10162         * buffer.C (runChktex): use Buffer::filePath().
10163
10164         * buffer.h: rename filename to filename_; rename filepath to
10165         filepath_ and make it private
10166         (filePath): new method
10167
10168         * buffer.C (writeFile): use fileName()
10169         (getLatexName):
10170
10171         * lyx_main.C (init): fix starting  of LyX when the binary is a
10172         link from so,ewhere else.
10173
10174         * minibuffer.C: include <cctype> for isprint
10175
10176 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10177
10178         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10179         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10180         name clash with InsetCollapsable's width function.
10181
10182 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * lastfiles.C: include <iterator>
10185
10186 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10187
10188         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10189         std::count.
10190
10191         * buffer.C (makeLaTeXFile): ditto.
10192         Also make loop operation more transparent.
10193
10194 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10195
10196         * ToolbarDefaults.C: remove trailing comma closing namespace.
10197
10198         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10199
10200         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10201         as in WorkArea.
10202
10203         * trans.C (Load): comment out unused variable, allowed.
10204
10205 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10206
10207         * minibuffer.[Ch] (append_char): new method to recieve input from the
10208         drop-down completion browser. If a key was pressed, then recieve this
10209         char and append it to the existing string.
10210         (peek_event): modify the positioning data passed to the completion
10211         browser so that it can be placed above the minibuffer rather than below.
10212 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10213
10214         * LyXAction.C (init): alloe error-next for readonly documents.
10215
10216         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10217         count.
10218
10219 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * bufferlist.C (readFile): create the buffer _after_ checking that
10222         the file exists.
10223
10224         * lyxfunc.C (verboseDispatch): fix handling of arguments
10225
10226         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10227
10228         * lyxrc.C: use string::erase() instead of initializing to "".
10229
10230
10231 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * BufferView_pimpl.h:
10234         * BufferView_pimpl.C:
10235         * WorkArea.h:
10236         * WorkArea.C:
10237         * text2.C: tell X when we have made a selection for copying
10238
10239 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * BufferView_pimpl.C (MenuInsertLyXFile):
10242         * lyxfunc.C (menuNew):
10243         (open):
10244         (doImport): add shortcuts to directory buttons
10245
10246         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10247         open a float)
10248
10249         * lyxfunc.C (setStatusMessage):
10250         (getStatusMessage): new methods
10251         (getStatus):use setStatusMessage instead of setErrorMessage
10252         (dispatch): when function is disabled, set error message here
10253         [instead of in getStatus previously]
10254
10255         * BufferView_pimpl.C (workAreaButtonRelease): update
10256         toolbar/menubar here too.
10257
10258 2002-01-13  Allan Rae  <rae@lyx.org>
10259
10260         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10261         Now seems indestructible.  Remaining task is to audit all other
10262         code affected by deleteEmptyParagraphMechanism.  One small quirk
10263         left is that an empty document with an error in the preamble can
10264         be made to report an error but no error box appears.  I don't know
10265         where it goes.
10266         (removeAutoInsets): Improved comments.
10267
10268 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * Thesaurus.h:
10271         * Thesaurus.C: update for Aiksaurus 0.14
10272
10273 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10274
10275         * text2.C (firstParagraph): removed member function, all uses
10276         replaces with ownerParagraph
10277         (redoParagraphs): here
10278         (updateInset): here
10279         (toggleAppendix): here
10280         * BufferView2.C (insertErrors): here
10281         (setCursorFromRow): here
10282
10283 2002-01-13  Allan Rae  <rae@lyx.org>
10284
10285         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10286         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10287         There is still a way to segfault this although you may have to do this
10288         multiple times: Have an InsetERT with an unknown command in it.
10289         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10290         <down-arrow>, <Enter> again, View->DVI, BANG!
10291
10292         * text2.C (setCursor):
10293         (deleteEmptyParagraphMechanism):
10294         * lyxtext.h (setCursor):
10295         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10296         Making use of the return value may help fix other bugs.
10297
10298 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10299
10300         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10301
10302         * LyXView.C (updateMenubar): call MenuBar::update here
10303         (updateToolbar): but not here
10304         (showState): do not update toolbar/menubar
10305
10306         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10307         should need to care about that.
10308
10309         * lyxfunc.C (verboseDispatch): simplify a bit
10310         (getStatus): have a version which takes a pseudoaction, and
10311         another which requires a (kb_action,string).
10312
10313         * LyXAction.C (retrieveActionArg): make it work also when action
10314         is not a pseudo-action.
10315         (getActionName): simplify a bit
10316         (helpText):
10317
10318 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * lyxfunc.C (verboseDispatch): new families of methods with
10321         several ways to specify a command and a bool to indicate whether
10322         the command name and shortcut should be displayed in minibuffer
10323         (eventually, we could extend that to a finer bitmask like
10324         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10325         (dispatch): the pristine dispatch command which just, well,
10326         dispatchs! Note it still sets its result to minibuffer; I'm not
10327         sure we want that.
10328
10329         * lyxfunc.h: remove setHintMessage
10330
10331         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10332
10333 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10334
10335         * BufferView_pimpl.C (specialChar): delete new inset if we have
10336         not been able to insert it.
10337
10338         * kbmap.C: revert to using int instead of kb_action, since all we
10339         are dealing with is pseudo-actions.
10340
10341         * LyXAction.C (searchActionArg): change to return int instead of
10342         kb_action, since the result is a pseudoaction.
10343
10344 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10345
10346         * buffer.C (insertErtContents): Fix (partially) the font bug.
10347
10348 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10349
10350         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10351         as the other one is broken on my machine!
10352
10353 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10354
10355         * commandtags.h:
10356         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10357
10358 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10359
10360         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10361         reflect their actual use. Provide compatibility code for older lyxrc
10362         files.
10363
10364         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10365         FL_NORMAL_STYLE.
10366         change names of popup font variables in line with the changes to lyxrc.C
10367
10368 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * buffer.C (asciiParagraph): avoid outputing a word twice after
10371         an inset.
10372
10373         * lyxrc.C (getDescription): document that document_path and
10374         template_path can be empty.
10375
10376 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * LaTeXFeatures.C (getMacros):
10379         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10380
10381         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10382
10383         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10384         getPackages.
10385         (getPackages): rename feature "floats" to "float". Use an array to
10386         iterate over 'simple' features (i.e. just a \usepackage). Add
10387         handling of "amsmath" (renamed from "amsstyle").
10388
10389 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10390
10391         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10392         features list.
10393
10394 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10395
10396         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10397         FuncStaus::FuncStatus & FuncStaus::some_method().
10398
10399 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10400
10401         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10402         of the func_satus stuff. Edited and massaged in various ways by
10403         JMarc.
10404
10405         * lyxfunc.C (getStatus): use FuncStatus
10406
10407 2002-01-08  Juergen Vigna  <jug@sad.it>
10408
10409         * text.C (nextBreakPoint): use function Inset::isChar().
10410
10411         * paragraph.C (TeXOnePar): use function
10412         Inset::forceDefaultParagraphs.
10413
10414         * buffer.C (latexParagraphs): use function
10415         Inset::forceDefaultParagraphs.
10416
10417 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10418
10419         * lyx_gui.C (init): set the style of the menu popups to
10420         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10421
10422 2002-01-07  Juergen Vigna  <jug@sad.it>
10423
10424         * text.C (setHeightOfRow): small fix
10425         (prepareToPrint): don't look at alignment if we don't have the place
10426         for doing it.
10427
10428 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * box.C: New file. Move the Box methods and functions out of box.h,
10431         following Lars' suggestion.
10432
10433 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10434
10435         * box.h: #include "support/LOstream.h", needed for inlined function.
10436
10437         * lyxtextclass.C:
10438         * lyxtextclasslist.C: added some using std declarations.
10439
10440 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * box.h: make signed dimensions to allow insets wider than
10443           the screen (bug #162)
10444
10445         * BufferView_pimpl.C: add some insetHit debug
10446
10447 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * vc-backend.C: add FIXME
10450
10451 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * lyxfunc.C (getStatus): enable code for showing math font status
10454         in toolbar/menu.
10455
10456 2002-01-07  Juergen Vigna  <jug@sad.it>
10457
10458         * text.C (nextBreakPoint): removed debug output not needed anymore.
10459
10460 2002-01-06  Juergen Vigna  <jug@sad.it>
10461
10462         * text.C (nextBreakPoint): fixed up this function we had this bug
10463         since ever but now hopefully we break row better.
10464         (insertChar): we have to check if an inset is the next char as it
10465         could now happen that a large inset is causing a break.
10466
10467 2002-01-05  Juergen Vigna  <jug@sad.it>
10468
10469         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10470         if it doesn't like to be drawed.
10471
10472 2002-01-04  Juergen Vigna  <jug@sad.it>
10473
10474         * BufferView2.C (lockInset): forgot to set a cursor.
10475
10476         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10477
10478 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10479
10480         * FormMathsPanel.C:
10481         * FormMathsPanel.h
10482         * MathsSymbols.C:
10483         * form_maths_panel.C:
10484         * form_maths_panel.h:
10485         * form_maths_panel.fd: implemented sub- and super- buttons in math
10486         panel.
10487
10488         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10489         (or ^ space) to be used as in TeX (req'd by André).
10490
10491         * lyxfunc.C: Allow ^ and _ again to be used both as
10492         super/subscript (mathed) and as themselves (in text).
10493
10494 2002-01-03  Allan Rae  <rae@lyx.org>
10495
10496         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10497         "LyX" or the filename of the current buffer if it has one.  This is a
10498         modified form of John Levon's patch.
10499
10500         * XFormsView.C (setWindowTitle): also set icon title.
10501
10502         * LyXView.h (setWindowTitle): signature changed.
10503         * XFormsView.h (setWindowTitle): ditto.
10504
10505 2002-01-02  Juergen Vigna  <jug@sad.it>
10506
10507         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10508
10509 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10510
10511         * screen.C (topCursorVisible): introduce a temp var for
10512         text->cursor.row(), handle the case where this row is null. (kindo
10513         hachish)
10514
10515         * text2.C (setCursor): add a couple of asserts.
10516
10517         * paragraph.h (inset_iterator): add -> operator
10518
10519         * paragraph.[Ch] (autoDeleteInsets): remove member function
10520
10521         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10522         cursor pos correctly and handle inset deletion by itself.
10523         (insertErrors): move iterator declaration out of for expression
10524
10525         * lyxtextclass.C: add <algorithm>
10526
10527         * Makefile.am: added the new files to sources, removed layout.C
10528
10529         * layout.C: removed file
10530
10531         * layout.h: remove LYX_DUMMY_LAYOUT
10532
10533         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10534         layout.
10535
10536         * lyxlayout.[Ch]:
10537         * lyxtextclass.[Ch]:
10538         * lyxtextclasslist.[Ch]: new files
10539
10540         * include order changes to a lot of files, also changes because of
10541         the six new files.
10542
10543 2001-12-27  Juergen Vigna  <jug@sad.it>
10544
10545         * buffer.C (asciiParagraph): more fixes.
10546
10547         * tabular.C (ascii): make ascii export support export of only the
10548         data separated by a column-delimiter.
10549         (ascii): better support for ascii export.
10550
10551         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10552
10553 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10554
10555         * tabular_funcs.C: use a "using std::getline" instead of the
10556         previous fix from Angus (necessary for cxx + lyxstring)
10557
10558 2001-12-24  Juergen Vigna  <jug@sad.it>
10559
10560         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10561
10562         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10563         problems. First check a minipage also if we have some ert-contents
10564         (not only on par->size(), second set the right depth of the paragraph
10565         on the relink to the root-paragraph-list!
10566
10567         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10568         which then did not anymore update the main paragraphs on undo/redo!
10569
10570 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10573         code. Support all font-changing funcs (even those which are not in
10574         menu currently). Support for reporting font settings in
10575         mathed (disabled until Andre provides a function on mathed's side).
10576
10577         * func_status.h (toggle): small helper function to set toggle
10578         state on a flag.
10579
10580 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10581
10582         * tabular_funcs.C: getline -> std::getline
10583
10584 2001-12-21  Juergen Vigna  <jug@sad.it>
10585
10586         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10587         accessed and could be 0 (I couldn't generate this but it seems
10588         Michael could!).
10589
10590 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10593         * tabular_funcs.h: here and include iosfwd
10594
10595 2001-12-20  Juergen Vigna  <jug@sad.it>
10596
10597         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10598         inside inset but undo_par was.
10599
10600 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10601
10602         * Thesaurus.C: always include <config.h> in sources.
10603
10604         * Painter.h:
10605         * lyxlookup.h:
10606         * box.h: do not include <config.h> in header files
10607
10608         * text.C (paintLastRow): remove unused variable
10609
10610         * text.C (transformChar):
10611         (insertChar):
10612         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10613
10614         * Painter.C (text):
10615         * font.C (width): rewrite to use uppercase() instead of
10616         islower/toupper.
10617
10618         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10619
10620 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * lyxfind.C: clean up of find failure position change
10623
10624 2001-12-20  Juergen Vigna  <jug@sad.it>
10625
10626         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10627
10628         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10629         (TeXRow): added to LaTeX a single tabular row.
10630         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10631         (Latex): simplified and finally good LT-h/f support.
10632         (various_functions): just small adaptions for LT-h/f support.
10633
10634         * tabular_funcs.[hC]: added and moved here all not classfunctions
10635         of LyXTabular.
10636
10637 2001-12-19  Juergen Vigna  <jug@sad.it>
10638
10639         * tabular.[Ch]: better support for longtabular options (not finished
10640         yet!)
10641
10642 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * text.C (paintLastRow): use the label font instead of the font of
10645         the last character to compute the size of *_BOX. This makes more
10646         sense and avoids a crash with empty paragraphs.
10647         Use Painter::rectangle to draw EMPTY_BOX.
10648
10649 2001-12-19  Juergen Vigna  <jug@sad.it>
10650
10651         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10652         the paragraphs if the replaced paragraph is not the first one!
10653         Tried to delete not used paragraphs but does not work yet so for
10654         now it's inside #ifdef's and by default off!
10655
10656 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * MenuBackend.C: include "lyx_main.h" instead of declaring
10659         lastfiles (actually was declared as LastFiles* instead of a
10660         scoped_ptr).
10661
10662 2001-12-17  Juergen Vigna  <jug@sad.it>
10663
10664         * tabular.C (AppendColumn): applied John's fix
10665
10666 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * BufferView.h:
10669         * BufferView.C:
10670         * BufferView_pimpl.h:
10671         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10672
10673         * Makefile.am:
10674         * box.h: new start of class for above
10675
10676         * lyxfunc.C: ignore space-only minibuffer dispatches.
10677           Show the command name when it doesn't exist
10678
10679         * minibuffer.C: don't add empty lines to the history
10680
10681         * minibuffer.C: add a space on dropdown completion
10682
10683 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * text.C: fix line above/below drawing in insets
10686
10687 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10688
10689         * lyxlength.C (LyXLength): Initialize private variables.
10690
10691 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10692
10693         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10694         when inserting error insets.
10695
10696 2001-12-13  Juergen Vigna  <jug@sad.it>
10697
10698         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10699         actually sometimes the before-paragraph.
10700         (setUndo): don't clear the redostack if we're not actually undoing!
10701
10702 2001-12-06  Juergen Vigna  <jug@sad.it>
10703
10704         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10705         and fixed redoing of main paragraph, so we can use it now ;)
10706
10707         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10708
10709 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10712         Juergen's request
10713
10714 2001-12-13  André Pönitz <poenitz@gmx.net>
10715
10716         * undostack.[Ch]:
10717         * undo_func.C: minor cleanup
10718
10719 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10722         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10723         font in urw-fonts package which is marked as -urw-fontspecific and
10724         does not work (incidentally, changing the encoding in the
10725         fonts.dir of this package to -adobe-fontspecific fixes the
10726         problem).
10727
10728         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10729         is a crash when undoing first paragraph (Juergen, please take a
10730         look). THis does not mean the undo fix is wrong, just that it
10731         uncovers problems.
10732
10733         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10734         the (Paragraph*) version when needed instead of duplicating the
10735         code.
10736
10737         * text.C (workWidth): use Inset::parOwner to find out where the
10738         inset has been inserted. This is a huge performance gain for large
10739         documents with lots of insets. If Inset::parOwner is not set, fall
10740         back on the brute force method
10741
10742         * paragraph_pimpl.C (insertInset):
10743         * paragraph.C (Paragraph):
10744         (cutIntoMinibuffer): set parOwner of insets when
10745         inserting/removing them
10746
10747         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10748
10749 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10750
10751         * commandtags.h:
10752         * LyXAction.C:
10753         * lyx_main.C:
10754         * lyxfunc.C:
10755         * mathed/formulabase.C:
10756         * mathed/math_cursor.[Ch]:
10757         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10758
10759
10760 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10761
10762         * lyxlength.[Ch] (operator!=): new function
10763
10764 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10765
10766         * text.C (workWidth): use Inset::parOwner to find out where the
10767         inset has been inserted. This is a huge performance gain for large
10768         documents with lots of insets. If Inset::parOwner is not set, fall
10769         back on the brute force method
10770
10771         * paragraph_pimpl.C (insertInset):
10772         * paragraph.C (Paragraph):
10773         (cutIntoMinibuffer): set parOwner of insets when
10774         inserting/removing them
10775
10776         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10777
10778 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10779
10780         * tabular-old.C (getTokenValue):
10781         * tabular.C (getTokenValue):
10782         (write_attribute): new versions for LyXLength
10783         (everywhere): adjust the use of widths
10784
10785         * tabular.h: change the type of widths from string to LyXLength
10786
10787 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10788
10789         * paragraph.C: fixed missing line number count when exporting
10790         Environments to LaTeX file
10791
10792         * buffer.C: added informational message for checking line numbers.
10793
10794 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10797         paragraph, do the 'double space' part, but not the 'empty
10798         paragraph' one.
10799
10800         * text.C (workWidth): small optimization
10801         (getLengthMarkerHeight): use minimal size for negative lengths.
10802
10803 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10804
10805         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10806
10807         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10808
10809 2001-12-11  André Pönitz <poenitz@gmx.net>
10810
10811         * FontLoader.C:
10812         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10813
10814 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * text2.C: keep selection on a setFont()
10817
10818 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * lyx_cb.C: another bv->text misuse, from insert label
10821
10822 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * kbsequence.h:
10825         * kbsequence.C: re-instate nmodifier mask
10826
10827 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10828
10829         * lyx_main.h: make lyxGUI private.
10830
10831 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * lyxfind.C: place the cursor correctly on failed search
10834
10835 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10836
10837         * text.C (getLengthMarkerHeight): for small heights, the arrows
10838         are not always on top/bottom of the text
10839         (drawLengthMarker): smaller arrows; take the left margin in
10840         account; draw also vfills.
10841         (paintFirstRow):
10842         (paintLastRow): remove special code for vfill and standard spaces,
10843         since everything is handled in drawLengthMarker now.
10844
10845 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * buffer.C (insertErtContents): try to handle font and language
10848         interaction a bit better.g
10849
10850         * ColorHandler.C (updateColor): change the hash to cover the whole
10851         LColor enum, ws cleanup
10852         (getGCLinepars): ditto
10853         (getGCLinepars): only lookup in the linecache once.
10854
10855 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10856
10857         * iterators.C (operator++): Make the iterator more robust
10858
10859         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10860         (John's patch)
10861         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10862
10863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * lyxtext.h:
10866         * text.C: better added space drawing
10867
10868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * LyXView.C:
10871         * BufferView2.C: fix layout combo update on inset unlock
10872
10873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * Makefile.am: don't compile unused files
10876
10877 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyxfunc.C:
10880         * commandtags.h:
10881         * LyXAction.C: remove old LFUN_LAYOUTNO
10882
10883 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * paragraph_pimpl.h:
10886         * paragraph_pimpl.C: isTextAt() doesn't need font param
10887
10888 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * lyxlex.h:
10891         * lyxlex.C: little cleanup
10892
10893 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * BufferView_pimpl.C: fix insertAscii for insets
10896
10897 2001-12-05  Juergen Vigna  <jug@sad.it>
10898
10899         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10900         set the right font on the "multi" paragraph paste!
10901
10902 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * trans_decl.h:
10905         * trans_mgr.[Ch]:
10906         * trans.[Ch]:
10907         * lyxgluelength.C:
10908         * lyxlength.C: remove out-commented code.
10909
10910         * BufferView_pimpl:
10911         * CutAndPaste.C:
10912         * DepTable.C:
10913         * buffer.C:
10914         * chset.C:
10915         * lastfiles.C:
10916         * lyxlex.C:
10917         * lyxlex_pimpl.C:
10918         * lyxserver.C:
10919         * screen.C:
10920         * tabular-old.C:
10921         * tabular.C:
10922         * text.C:
10923         * trans_mgr.C:
10924         * vc-backend.C: change "while(" to "while ("
10925
10926         * lyxlength.[Ch]: add zero function to check if length is zero or
10927         not
10928         * lyxgluelength.C: use it
10929
10930 2001-12-05  Allan Rae  <rae@lyx.org>
10931
10932         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10933         Works for 2.95.3, from what I understand of Garst's reports this should
10934         work for other g++ versions.  We're screwed if the abs(int) definition
10935         changed between bugfix releases of gcc.
10936
10937 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * text.C: fix chapter label offset !
10940
10941 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * lyxtext.h:
10944         * text.C: fix hfill at end of line, clean up
10945
10946 2001-12-04  Juergen Vigna  <jug@sad.it>
10947
10948         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10949         that we force an update of the inset and it's owners if neccessary.
10950
10951 2001-12-03  Juergen Vigna  <jug@sad.it>
10952
10953         * text.C (rowLast): simplified code
10954
10955 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * lyxfunc.C: fix show options on timeout
10958
10959 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10960
10961         * screen.C (topCursorVisible): scroll half a page when the cursor
10962         reached top of bottom of screen
10963
10964 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10965
10966         * minibuffer.C: deactivate on loss of focus
10967
10968 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * vspace.[Ch] (operator!=): add operator.
10971
10972 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * BufferView_pimpl.C: refuse to open an inset when
10975         there's a selection.
10976
10977 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * BufferView_pimpl.C: allow to click on RHS of full row insets
10980
10981 2001-11-30  Juergen Vigna  <jug@sad.it>
10982
10983         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10984         insets for undo reasons.
10985
10986 2001-11-28  André Pönitz <poenitz@gmx.net>
10987
10988         * vspace.[Ch]: cosmetical changes
10989
10990 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * LyXAction.h:
10993         * LyXAction.C:
10994         * lyxfunc.h:
10995         * lyxfunc.C:
10996         * kbmap.h:
10997         * kbmap.C:
10998         * lyxrc.C:
10999         * kbsequence.h:
11000         * kbsequence.C: part re-write of old kb code
11001
11002         * Painter.C:
11003         * WorkArea.C: remove Lgb_bug_find_hack
11004
11005 2001-11-30  José Matos <jamatos@fep.up.pt>
11006
11007         * buffer.C (makeDocBookFile): add a comment to point a hack.
11008         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11009         Fixed a double write of labels.
11010
11011 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11012
11013         * LaTeX.C:
11014         * LaTeX.h Fixed bug in LaTeX class where it would not
11015         re-run latex if no depfiles were changed, but the .dvi was removed.
11016
11017 2001-11-28  André Pönitz <poenitz@gmx.net>
11018
11019         * all the files from the change on 2001/11/26:
11020         use lyx::layout_type instead of LyXTextClass::size_type
11021         use lyx::textclass_type instead of LyXTextClassList::size_type
11022
11023 2001-11-29  Juergen Vigna  <jug@sad.it>
11024
11025         * text.C: added support for paragraph::isFreeSpacing()
11026
11027         * buffer.C: same as above
11028
11029         * paragraph.h: inserted isFreeSpacing() function to enable
11030         FreeSpacing inside InsetERT.
11031
11032         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11033         of the paragraph's in the cut/copy buffer to 0!
11034
11035         * text2.C (removeRow): remove the assert as it can!
11036
11037         * lyxtext.h: added helper function firstRow returning firstrow and
11038         made firstrow private again.
11039
11040         * BufferView2.C (lockInset): don't relock if we're already locked!
11041
11042         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11043         the only paragraph.
11044         (removeRow): added Assert::(firstrow)
11045
11046         * debug.C: forgot to add INSETTEXT here.
11047
11048 2001-11-28  Juergen Vigna  <jug@sad.it>
11049
11050         * sp_spell.C (initialize): changed error text to more general
11051         spellchecker command use (not only ispell!)
11052
11053         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11054
11055         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11056
11057 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * vspace.C: initialise lyxgluelength on failure
11060
11061 2001-11-28  Allan Rae  <rae@lyx.org>
11062
11063         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11064         declaration & definition that looks like a function declaration.
11065
11066 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11067
11068         * BufferView2.C (copy):
11069         (copyEnvironment): do not clear the selection when doing a copy.
11070
11071         * text.C (paintFirstRow): compilation fix
11072
11073 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11074
11075         * tabular.C (Latex): correct line count when writing latex.
11076
11077 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * paragraph_pimpl.h:
11080         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11081           bug a bit
11082
11083 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * text.C:
11086         * LColor.h:
11087         * LColor.C: change vfillline->added_space
11088
11089         * text.C: add markers and text for added space
11090
11091         * vspace.C: fix comment
11092
11093 2001-11-28  André Pönitz <poenitz@gmx.net>
11094
11095         * paragraph.C: whitespace changes
11096         * all the other files from the change on 2001/11/26:
11097         change *::pos_type into lyx::pos_type
11098
11099 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11100
11101         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11102         language of the document when inserting error insets.
11103
11104 2001-11-26  André Pönitz <poenitz@gmx.net>
11105
11106         * BufferView_pimpl.[Ch]:
11107         *       CutAndPaste.C:
11108         * buffer.[Ch]:
11109         * lyxcursor.[Ch]:
11110         * lyxfind.C:
11111         * lyxfunc.C:
11112         * lyxrow.[Ch]:
11113         * paragraph.[Ch]:
11114         * paragraph_pimpl.[Ch]:
11115         * sp_spell.C:
11116         * text.C:
11117         * text2.C: reduce header dependencies, introduce type for positions
11118
11119 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * <various>: change to use Alert.h
11122
11123 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11126         when encountering an unknown token.
11127         (readLyXformat2): Show an error message if there were unknown tokens.
11128
11129 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * BufferView2.C:
11132         * BufferView_pimpl.C:
11133         * buffer.C:
11134         * paragraph.h:
11135         * text.C:
11136         * text2.C: use par->isInset()
11137
11138 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * paragraph_pimpl.h:
11141         * paragraph_pimpl.C: cleanup
11142
11143 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11144
11145         * text2.C (removeRow):
11146         * text.C (setHeightOfRow): remove useless (and costly) call to
11147         getRow.
11148
11149 2001-11-20  Allan Rae  <rae@lyx.org>
11150
11151         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11152         Now need Inset*::checkInsertChar() to return true for appropriate
11153         cases so that the characters in the minibuffer will actually be
11154         inserted.
11155
11156 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11157
11158         * text.C: change the order of the includes.
11159         (workWidth): initialize it at once.
11160         (workWidth): make maxw unsigned
11161         (setHeightOfRow): remove unused variable (inset)
11162         (selectSelectedWord): remove unused variable (inset)
11163         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11164
11165 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11166
11167         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11168         server is not running.
11169         (openConnection):
11170         (closeConnection): add debug info when server is disabled.
11171
11172         * ColorHandler.C (getGCForeground): send debug message to GUI
11173         channel.
11174
11175         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11176
11177         * kbmap.C (bind): modify because return conventions of
11178         kb_sequence::parse have changed.
11179
11180         * kbsequence.C (parse): only ignore spaces and not any stupid
11181         control character. This avoids tests like s[i] <= ' ', which are
11182         guaranteed to fail with 8bit characters and signed chars.
11183         Change return code to string::npos when there have been no error
11184         (0 was a bad idea when error is at first character)
11185
11186 2001-11-14  José Matos  <jamatos@fep.up.pt>
11187
11188         * buffer.h:
11189         * buffer.C (simpleDocBookOnePar): removed unused argument.
11190
11191 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11192
11193         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11194         insets which are part of a word. Paragraph::isLetter takes care of
11195         that now. Use Paragraph::isInset to identify insets.
11196         (selectSelectedWord): do not test for hyphenation break.
11197
11198         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11199         that protected spaces are considered as spaces.
11200
11201         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11202         Inset::isLetter.
11203
11204 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * lyxserver.h:
11207         * lyxserver.C: fix it. and small cleanup.
11208
11209 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * BufferView_pimpl.C: use inline helpers
11212
11213         * LaTeXFeatures.h:
11214         * LaTeXFeatures.C: fix typos
11215
11216         * Spacing.h:
11217         * Spacing.C: move spacing_string into class
11218
11219         * ToolbarDefaults.C: move stuff into namespace anon
11220
11221         * layout.h: update enum
11222
11223         * lyxfunc.C: use better debug
11224
11225         * minibuffer.h: fix typo
11226
11227         * debug.h:
11228         * debug.C:
11229         * WorkArea.C: add and use Debug::WORKAREA
11230
11231         * lyxtext.h:
11232         * text.C:
11233         * text2.C: code re-organisation, inline helpers
11234
11235 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11236
11237         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11238         std::vector.empty().
11239
11240 2001-11-09  Allan Rae  <rae@lyx.org>
11241
11242         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11243         '\n's after tables.  Tabular and ERT inset work now makes this no
11244         longer necessary.
11245
11246 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * minibuffer.h:
11249         * minibuffer.C: fix crash, improve drop-down completion
11250
11251 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * lyxserver.h:
11254         * lyxserver.C: invalidate fd's when doing endPipe()
11255
11256 2001-11-08  José Matos  <jamatos@fep.up.pt>
11257
11258         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11259         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11260
11261         * paragraph.h:
11262         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11263
11264 2001-11-07  José Matos  <jamatos@fep.up.pt>
11265
11266         * buffer.h:
11267         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11268         const qualifier.
11269
11270         * buffer.C (sgmlOpenTag):
11271         * buffer.C (sgmlCloseTag): removed debug info.
11272
11273         * buffer.h (sgmlOpenTag):
11274         * buffer.h (sgmlCloseTag): made public.
11275
11276 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11277
11278         * buffer.C (saveParamsAsDefaults):
11279         * lyx_cb.C (MenuLayoutSave): remove
11280
11281         * LyXAction.C (init):
11282         * commandtags.h:
11283         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11284
11285 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11286
11287         * buffer.C (setPaperStuff): removed from here...
11288
11289         * bufferparams.C (setPaperStuff): ... and moved there.
11290
11291 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * minibuffer.h:
11294         * minibuffer.C:
11295         * XFormsView.C: add support for drop-down completion
11296
11297 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11298
11299         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11300         commands.
11301
11302 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11303
11304         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11305         disabled.
11306
11307 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * lyx_main.C: change ref to known bugs
11310
11311 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11312
11313         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11314         to work around older babel problems.
11315
11316 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11317
11318         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11319
11320 2001-10-24  Juergen Vigna  <jug@sad.it>
11321
11322         * tabular-old.C (ReadOld): below variable changes reflected.
11323
11324         * tabular.[Ch]: added ltType struct for longtable header/footer
11325         defines and changed all instances where they are used. Added
11326         future support for double top/bottom rows.
11327
11328 2001-10-24  José Matos  <jamatos@fep.up.pt>
11329
11330         * buffer.h (docbookHandleCaption):
11331         * buffer.C (docbookHandleCaption): removed unused function.
11332         (makeDocBookFile): moved docbook supported version to v4.1.
11333
11334 2001-10-24  José Matos  <jamatos@fep.up.pt>
11335
11336         * tabular.h:
11337         * tabular.C (docbookRow): new function to export docbook code of a row.
11338         (DocBook): now honors the longtable flags.
11339
11340 2001-10-23  José Matos  <jamatos@fep.up.pt>
11341
11342         * LaTeXFeatures.h:
11343         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11344         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11345
11346         * buffer.C (makeLinuxDocFile):
11347         (makeDocBookFile): reworked the preamble, more clean, and with
11348         support for lyx defined entities. Changed the document declaration
11349         to be more XML friendly.
11350
11351         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11352         if we need to output XML that should be done with a filter.
11353
11354 2001-10-22  Juergen Vigna  <jug@sad.it>
11355
11356         * sp_pspell.h (class PSpell): add alive function needed in the
11357         controller to see if the spellchecker could be started.
11358
11359 2001-10-22  Juergen Vigna  <jug@sad.it>
11360
11361         * buffer.C (insertStringAsLines): modify the font for inserting
11362         chars in certain conditions by calling checkInsertChar(font).
11363
11364 2001-10-19  Juergen Vigna  <jug@sad.it>
11365
11366         * text.C (workWidth): use getRow instead of wrong algorithm.
11367         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11368
11369 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * lyxserver.h:
11372         * lyxserver.C:
11373         * lyx_main.h:
11374         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11375
11376 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11377
11378         * text.C (workWidth): do not search for the exact row when
11379         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11380         optimization for big documents.
11381
11382 2001-10-18  Juergen Vigna  <jug@sad.it>
11383
11384         * text.C (workWidth): new function with added Inset * parameter.
11385
11386 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11387
11388         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11389
11390         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11391         change return type of getColumnNearX.
11392
11393
11394         * text.C (changeRegionCase): use uppercase/lowercase instead of
11395         toupper/tolower.
11396         (leftMargin):
11397         (rightMargin): simplify code by factoring out the uses of
11398         textclasslist.
11399         (labelFill):
11400         (numberOfHfills):
11401         (setHeightOfRow):
11402         (appendParagraph): use Paragraph::size_type
11403
11404 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * vspace.C (asLatexString): add a missing break
11407
11408 2001-10-15  Herbert Voss  <voss@perce.de>
11409
11410         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11411
11412 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11413
11414         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11415         is not available.
11416
11417 2001-10-10  André Pönitz <poenitz@gmx.net>
11418
11419         * lyxfunc.C: removed greek_kb_flag.
11420
11421 2001-10-10  Herbert Voss  <voss@perce.de>
11422
11423         * lyx_main.C: delete global string help_lyxdir.
11424
11425 2001-10-09  Herbert Voss  <voss@perce.de>
11426
11427         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11428
11429         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11430
11431         * lyx_main.C: added global string help_lyxdir.
11432
11433         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11434
11435 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11436
11437         * lyxrc.C (set_font_norm_type): support iso8859-4
11438
11439 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11440
11441         * LaTeX.C (deplog): add another regex for MikTeX
11442
11443 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11444
11445         * lyxrc.C (set_font_norm_type): support iso8859-3
11446
11447 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11450
11451         * LaTeXFeatures.C: remove special case of french and index
11452
11453         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11454         before \begin{document}). This solves several incompatibilities.
11455
11456 2001-10-03  Garst Reese  <reese@isn.net>
11457
11458         * lyx_cb.C: change CheckTex error msg.
11459
11460 2001-10-03  José Matos  <jamatos@fep.up.pt>
11461
11462         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11463
11464 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * .cvsignore: update
11467
11468         * lyx_main.C (commandLineVersionInfo): use new style version info.
11469
11470         * buffer.C (writeFile):
11471         (makeLaTeXFile):
11472         (makeLinuxDocFile):
11473         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11474
11475         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11476
11477         * version.h: update to use stuff in version.C
11478
11479         * version.C.in: new file. Contains version information determined
11480         at compile time. This is a merging of version.h and
11481         version_info.h.in.
11482
11483 2001-10-03  Juergen Vigna  <jug@sad.it>
11484
11485         * BufferView_pimpl.C (update): don't change "dirty" status in
11486         updateInset call.
11487
11488 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * WorkArea.C (c-tor): re-position version string slightly.
11491
11492 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11493
11494         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11495         revert to previous code.
11496
11497         WorkArea.[Ch]: (show, destroySplash): methods removed.
11498
11499         WorkArea.C: rework code so that it's an amalgam of the codes before and
11500         after the splash screen was moved to WorkArea.
11501
11502 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11503
11504         * lyxrc.C (read):
11505         * vspace.C (inPixels):
11506         (lyx_advance):
11507         * kbmap.C (bind):
11508         * buffer.C (insertStringAsLines):
11509         (asciiParagraph): fix types to be large enough
11510
11511         * lyxlex_pimpl.h: change member status from short to int
11512
11513         * layout.h: fix type of endlabeltype
11514
11515         * kbmap.C (bind):
11516         * kbsequence.C (parse): change return type to string::size_type
11517
11518         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11519         variable
11520
11521         * Bullet.C (bulletSize):
11522         (bulletEntry): do not use short ints as parameters
11523
11524         * BufferView2.C (insertLyXFile): change a char to an int.
11525
11526         * WorkArea.C (WorkArea): remove unneeded floats in computation
11527
11528 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11529
11530         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11531
11532         * paragraph.C (asString): Do not ignore newline/hfill chars when
11533         copying to the clipboard.
11534
11535 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11538         after a multi-line inset.
11539
11540 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11541
11542         * paragraph.C (validate): Set NeedLyXFootnoteCode
11543
11544 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11545
11546         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11547         and decrease-error to decrease.
11548
11549 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11550
11551         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11552         it more readable (should be equivalent)
11553
11554 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11555
11556         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11557
11558 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11559
11560         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11561         of a cursor (row, etc.) after a character has been deleted
11562         (deleteEmptyParagraphMechanism): call the method above on _all_
11563         cursors held by the LyXText when a double space has been
11564         detected/deleted.
11565
11566 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11567
11568         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11569         pixmap.
11570         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11571
11572         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11573         background. Use greyOut() and the new show() methods to toggle between
11574         the foreground and background. Add code to remove the splash after
11575         its initial showing.
11576
11577         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11578         (create_forms): no longer call Dialogs::showSplash.
11579
11580 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11581
11582         * .cvsignore: add version_info.h
11583
11584 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11585
11586         * version_info.h.in: new file
11587
11588         * Makefile.am: add version_info.h.in
11589
11590         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11591         version_info.h instead of VERSION_INFO
11592
11593 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11596         The ERT inset now returns string().
11597
11598 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * lyxtext.h, text.C (selectNextWord): renamed as
11601         selectNextWordToSpellcheck.
11602
11603         * text.C (selectNextWordToSpellcheck): Modified to not select
11604         words inside an ERT inset.
11605
11606 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11607
11608         * lyx_cb.C (MenuLayoutSave): change a bit the question
11609
11610         * sp_base.h: include <sys/types.h>
11611
11612 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11613
11614         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11615
11616 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11617
11618         * several files: fix typos in user-visible strings
11619
11620 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * text2.C (pasteSelection): do not set the selection, since it
11623         will be cleared later. Actually, the intent was to fix the way the
11624         selection was set, but I figured rmoving the code was just as good.
11625
11626 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * FontLoader.C (available): Check if font is available without
11629         loading the font.
11630
11631 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11632
11633         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11634
11635 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11636
11637         * lyxrc.[Ch]: added display_graphics variable and associated code.
11638
11639 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11640
11641         * bufferparams.C (hasClassDefaults): new method. Returns true if
11642         the buffer parameters correspond to known class defaults
11643
11644 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11645
11646         * XFormsView.C (show): set minimum size to the main window.
11647
11648 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11649
11650         * text2.C (copySelection):
11651         (cutSelection):
11652         * lyxfind.C (LyXReplace):
11653         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11654         LyXText::selectionAsString.
11655
11656         * paragraph.C (asString): add "label" argument to the second form
11657
11658         * text2.C (selectionAsString): add "label" argument and pass it to
11659         Paragraph::asString.
11660
11661 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11662
11663         * lyx_main.C (commandLineHelp): remove version information
11664
11665 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11666
11667         * lyx_main.C: add -version commandline option
11668
11669 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * paragraph.h: make the optional constructor arg required instead.
11672         some modifications to other files because of this.
11673
11674         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11675
11676         * lyxserver.C (C_LyXComm_callback): make it static
11677
11678         * lyx_main.C (error_handler): make it static
11679
11680         * lyx_gui.C (LyX_XErrHandler): make it static
11681
11682         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11683
11684         * WorkArea.C: make the extern "C" methods static.
11685
11686         * Makefile.am (lyx_LDADD): simplify
11687
11688 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11689
11690         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11691         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11692
11693         * LyXAction.C (init):
11694         * lyxfunc.C (dispatch): associated code removal.
11695
11696 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * lyxfont.h (isSymbolFont): shut off warning
11699
11700         * text.C (setHeightOfRow):
11701         (getVisibleRow): fix crash with empty paragraphs which have a
11702         bottom line
11703
11704 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11705
11706         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11707         code.
11708
11709 2001-09-04  José Matos  <jamatos@fep.up.pt>
11710         * buffer.C
11711         * buffer.h
11712         * tabular.C (docbook): rename docBook method to docbook.
11713
11714 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11715
11716         * Makefile.am: add dependencies to main.o.
11717
11718 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11719
11720         * FontLoader.C (available): Return false if !lyxrc.use_gui
11721
11722 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11723
11724         * FontInfo.C (query):
11725         * converter.C (view):
11726         * importer.C (Import):
11727         * exporter.C (Export): Can not -> cannot.
11728
11729 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * BufferView_pimpl.C: allow to create index inset even if
11732           string is empty
11733
11734 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11735
11736         * buffer.C (getLists): replace boost::tie code with an explicit pair
11737         as boost::tie can break some compilers.
11738
11739         * iterators.h: Added a std:: declaration to the return type of
11740         ParIterator::size.
11741
11742 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11745           case.
11746
11747 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11748
11749         * iterators.[Ch]: New files. Provide paragraph iterators.
11750
11751         * buffer.C (changeLanguage): Use paragraph iterators.
11752         (isMultiLingual): ditto
11753
11754         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11755
11756 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11757
11758         * FontLoader.C: Support for cmr font.
11759
11760 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11761
11762         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11763         (available): New method.
11764
11765         * FontInfo.C (getFontname): Use scalable fonts even when
11766         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11767         found.
11768
11769 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * converter.C (Formats::view): reverted! Incorrect fix.
11772
11773 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11774
11775         * converter.C (Formats::view): only output the -paper option
11776         if the dvi viewer is xdvi, thereby fixing bug #233429.
11777
11778 2001-08-23  Herbert Voss  <voss@perce>
11779
11780         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11781
11782 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11783
11784         * Spacing.h (Spacing): Set space to Default on in the default
11785         constructor.
11786
11787 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * vc-backend.h (RCS::versionString): add RCS to version
11790         (CVS::versionString): add CVS to version
11791
11792         * vc-backend.C (scanMaster): do not add CVS to version.
11793         (scanMaster): do not add RCS to version
11794
11795         * lyxvc.C (versionString): new method
11796
11797         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11798
11799 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * Spacing.C (set): initialize fval
11802
11803 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11804
11805         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11806         " or \.
11807
11808 2001-08-16  Juergen Vigna  <jug@sad.it>
11809
11810         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11811
11812 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * BufferView_pimpl.C:
11815         * figureForm.C:
11816         * lyxtext.h:
11817         * text2.C: setParagraph takes linespacing now
11818
11819 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * LyxAction.C: add internal LFUN_CITATION_INSERT
11822
11823         * LyXView.C: actually apply fix
11824
11825         * bufferlist.C: fix open non-existent file
11826
11827         * lyxfind.C: fix indentation
11828
11829         * lyxfunc.C: remove unneeded assert, fix typo
11830
11831 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * MenuBackend.C: use "Floatname List"
11834
11835 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11836
11837         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11838         when converting LaTeX layout to insetERT.
11839         Generate a non-collapsed float when reading old float
11840
11841 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11842
11843         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11844         ERT insets.
11845
11846 2001-08-13  Juergen Vigna  <jug@sad.it>
11847
11848         * text.C (fill): return 0 instead of 20 as this seems to be the more
11849         correct value.
11850
11851 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11852
11853         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11854         lyxrc.font_norm.
11855
11856 2001-08-13  Juergen Vigna  <jug@sad.it>
11857
11858         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11859         casesensitive off.
11860         (SearchBackward): comment out the unlocking of the inset_owner this
11861         should not be needed!
11862
11863 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11864
11865         * Many files: Remove inherit_language, and add latex_language
11866
11867         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11868         collapsible insets.
11869
11870 2001-08-10  Juergen Vigna  <jug@sad.it>
11871
11872         * text.C (prepareToPrint): fixed hfill-width in draw!
11873
11874         * BufferView2.C (selectLastWord): save the selection cursor as this
11875         now is cleared in the function LyXText::clearSelection!
11876
11877 2001-08-08  Juergen Vigna  <jug@sad.it>
11878
11879         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11880         BACKSPACE type functions.
11881
11882         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11883         is only cutted from the document but not put in the cut-buffer, where
11884         still the old stuff should be.
11885
11886         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11887
11888         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11889
11890         * tabular.C (SetWidthOfCell): fixed special case where the width
11891         was not updated!
11892         (LeftLine): handle '|' in align_special.
11893         (RightLine): ditto
11894         (LeftAlreadyDrawed): ditto
11895         (SetWidthOfCell): ditto
11896
11897 2001-08-07  Juergen Vigna  <jug@sad.it>
11898
11899         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11900
11901 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11904         * lyxlex.[hC]: ditto
11905
11906 2001-08-06  Juergen Vigna  <jug@sad.it>
11907
11908         * text.C (getVisibleRow): fix up row clearing a bit.
11909
11910 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * minibuffer.C: make sure the X server sees the changes in the input.
11913
11914 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * paragraph.C (getFont): split into...
11917         (getLabelFont): this
11918         (getLayoutFont): and this
11919         * paragraph_pimpl.C (realizeFont): calling this
11920
11921         * text2.C (getFont): split into...
11922         (getLayoutFont): this
11923         (getLabelFont): and this
11924         (realizeFont): all three calling this
11925
11926         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11927         files where used.
11928
11929 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11930
11931         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11932
11933 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11934
11935         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11936         layouts from the Quote inset insertion.
11937
11938 2001-08-03  Juergen Vigna  <jug@sad.it>
11939
11940         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11941
11942         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11943         only if status not is already CHANGED_IN_DRAW (second level).
11944
11945         * text.C (draw): don't set the need_break_row when inside an
11946         InsetText LyXText.
11947
11948 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * buffer.C (parseSingleLyXformat2Token): handle more latex
11951         conversion cases.
11952
11953         * bufferview_funcs.[hC]: change function names to
11954         begin with small char, adjust other files.
11955
11956 2001-08-02  André Pönitz <poenitz@gmx.net>
11957
11958         * lyxfunc.C:
11959         BufferView_pimpl.C: remove broken special code for math-greek
11960
11961 2001-08-02  Juergen Vigna  <jug@sad.it>
11962
11963         * BufferView_pimpl.C (update): redone this function so that we
11964         update the text again if there was a CHANGE_IN_DRAW.
11965
11966         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11967         (drawFromTo): added a new internal bool which is used by draw() and
11968         redraw() function.
11969         (general): some cursor drawing problems fixed.
11970
11971 2001-08-01  Juergen Vigna  <jug@sad.it>
11972
11973         * lyxfind.C (LyXFind): fixed
11974         (SearchForward): ditto
11975         (SearchBackward): ditto
11976
11977         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11978         spurius drawing of the cursor in the main area.
11979
11980         * text2.C (status): small fix which could lead to a segfault!
11981         (clearSelection): remove unneeded BufferView param.
11982
11983 2001-08-01  André Pönitz <poenitz@gmx.net>
11984
11985         * lyxfunc.C: small change due to changed mathed interface
11986
11987 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11988
11989         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11990
11991 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * lyxfunc.c: fail gracefully if file doesn't exist
11994
11995         * LyXSendto.C:
11996         * buffer.C:
11997         * lyxfunc.C:
11998         * BufferView_pimpl.C: IsDirWriteable() proto changed
11999
12000         * LyXView.C: fix updateWindowTitle() to store the last title
12001
12002 2001-07-31  Juergen Vigna  <jug@sad.it>
12003
12004         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12005         the font (wrong since using of Paragraph::highestFontInRange).
12006
12007         * paragraph.C (highestFontInRange): added a default_size parameter.
12008
12009         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12010         (setHeightOfRow): reformat
12011
12012 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * converter.[hC] + affected files: move to (inital-char)lowercase
12015         function names.
12016
12017         * ParagraphParameters.C (ParagraphParameters): remove commented code
12018
12019         * PainterBase.[Ch]: remove commented code
12020
12021         * LaTeXFeatures.h: add "bool floats" for float.sty
12022
12023         * LaTeXFeatures.C (LaTeXFeatures): init floats
12024         (require): handle float
12025         (getPackages): do it with floats
12026
12027 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * BufferView_pimpl.C (Dispatch): improve handling of
12030         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12031
12032         * commandtags.h: #include lyxfont.h here temporarily to avoid
12033         keybinding bug.
12034
12035         * bufferlist.h: include LString.h here.
12036
12037 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * text2.C (getStringToIndex): new method.
12040
12041 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12042
12043         * *: Reduced header file dependencies all over.
12044
12045 2001-07-30  Baruch Even  <baruch@lyx.org>
12046
12047         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12048
12049 2001-07-29  Baruch Even  <baruch@lyx.org>
12050
12051         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12052
12053 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * ParameterStruct.h (endif): add a default constructor to make
12056         sure that all variables is initialized.
12057
12058         * ParagraphParameters.C (ParagraphParameters): adjust
12059
12060 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12061
12062         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12063         index; also, check that there is something to index, and that it
12064         does not span over several paragraphs.
12065         (doubleClick): use WHOLE_WORD_STRICT for double click.
12066
12067         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12068
12069         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12070         scheme.
12071
12072 2001-07-26  Baruch Even  <baruch@lyx.org>
12073
12074         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12075         an InsetFig figure, backwards compatible reading of old figure code.
12076
12077 2001-07-27  Juergen Vigna  <jug@sad.it>
12078
12079         * text2.C: font.realize function adaption.
12080
12081         * text.C (draw): add a warnings lyxerr text if needed.
12082
12083         * layout.C: font.realize function adaption.
12084
12085         * language.C: add inherit_language and implement it's handlings
12086
12087         * bufferview_funcs.C (StyleReset): remove language parameter from
12088         font creation (should be language_inherit now).
12089
12090         * bufferparams.C (writeFile): handle ignore_language.
12091
12092         * paragraph.C (getFontSettings): the language has to be resolved
12093         otherwise we have problems in LyXFont!
12094
12095         * lyxfont.C (lyxWriteChanges): added document_language parameter
12096         (update): removed unneeded language parameter
12097
12098         * paragraph.C (validate): fixed wrong output of color-package when
12099         using interface colors for certain fonts in certain environments,
12100         which should not seen as that on the final output.
12101
12102 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView_pimpl.C:
12105         * Thesaurus.h:
12106         * Thesaurus.C:
12107         * Makefile.am:
12108         * commandtags.h:
12109         * LyXAction.C: add thesaurus support
12110
12111         * lyxfind.h:
12112         * lyxfind.C: add "once" parameter, for thesaurus, to not
12113           move to the next match
12114
12115 2001-07-26  Juergen Vigna  <jug@sad.it>
12116
12117         * lyxfont.C (realize): honor ignore_language too!
12118         (resolved): ditto.
12119
12120         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12121
12122         * text.C (draw): one place more for ignore_language to not draw
12123         itself!
12124
12125 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12128
12129 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12132         the minipage conversion problem.
12133
12134 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12137         insert an inset.
12138
12139 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * BufferView.h: don't forward declare WorkArea
12142
12143         * BufferView.C: don't include WorkArea.h
12144
12145 2001-07-25  André Pönitz <poenitz@gmx.net>
12146
12147         * commandtags.h:
12148         * LyXAction.C:
12149         * lyxfunc.C:  new LFUN 'math-space'
12150
12151         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12152
12153 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * text2.C (toggleInset): call open/close
12156
12157 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * lyxfunc.C (dispatch): add debug for the disabled case
12160
12161         * font.C (buttonText): make similar to rectText
12162
12163         * buffer.C (readInset): comment out parsing of insetlist and
12164         insttheorem
12165
12166         * PainterBase.C (rectText): small correction
12167
12168         * BufferView_pimpl.C: comment out insettheorem and insetlist
12169         * LyXAction.C: ditto
12170         * commandtags.h: ditto
12171
12172 2001-07-24  Juergen Vigna  <jug@sad.it>
12173
12174         * text.C (draw): honor the ignore_language.
12175
12176         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12177
12178 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12181         char inset.
12182
12183 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12184
12185         * lyxtext.h: remove unused (and unimplemented) methods
12186
12187 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12188
12189         * text.C (getVisibleRow): honor background color
12190
12191         * PainterBase.h:
12192         * Painter.h: remove default color argument for fillRectangle
12193
12194         * text.C (backgroundColor): new method
12195
12196 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * text.C (getVisibleRow): adjust
12199
12200         * font.[Ch] (rectText): new method, metrics
12201         (buttonText): new method, metrics
12202
12203         * PainterBase.[hC]: make rectText and buttonText always draw and take
12204         fewer paramteres.
12205
12206 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12207
12208         * ToolbarDefaults.C (read):
12209         * MenuBackend.C (read): allow escaping in all strings
12210
12211         * BufferView_pimpl.C (insertAndEditInset): new method.
12212         (Dispatch): use insertAndEditInset whenever appropriate.
12213
12214         * BufferView_pimpl.C (insertNote): removed
12215
12216         * BufferView_pimpl.C (smartQuote): new method, moved from
12217         BufferView; if an insetquote cannot be inserted, insert a '"'
12218         character instead.
12219
12220         * BufferView2.C: remove insertCorrectQuote();
12221
12222         * lyxfunc.C (getStatus): Add support for all remaingin
12223         inset-insert lfuns.
12224
12225         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12226
12227         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12228         command (necessary to pass " as parameter of self-insert.
12229
12230         * text.C (selectWordWhenUnderCursor):
12231         (selectWord): add word_location parameter
12232         (selectWordWhenUnderCursor): same + remove special code for word
12233         boundary.
12234         (selectNextWord): use kind() to guess type of insetspecialchar,
12235         not latex().
12236
12237         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12238         (insertErtContents): create ert insets as collapsed.
12239         (readInset): better compatibility code for Info inset.
12240
12241 2001-07-20  Juergen Vigna  <jug@sad.it>
12242
12243         * lyxfunc.C (dispatch): use always LyXFind now!
12244
12245         * text2.C (init): add a reinit flag so that the LyXText can be
12246         reinited instead of deleted and reallocated (used in InsetText).
12247
12248         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12249
12250         * text.C: ditto
12251
12252         * text2.C: ditto
12253
12254 2001-07-18  Juergen Vigna  <jug@sad.it>
12255
12256         * text.C (selectNextWord): handle insets inside inset by calling
12257         always the bv->text functions so that we can go up the_locking_inset!
12258
12259         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12260         in strange locations when inside an inset!
12261
12262         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12263         handling to include insets.
12264
12265         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12266
12267 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * LyXAction.C (init):
12270         * commandtags.h:
12271         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12272         LIGATURE_BREAK, since the name is so stupid.
12273
12274 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12275
12276         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12277         InsetInfos.
12278
12279         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12280
12281         * sp_form.[Ch]: remove.
12282
12283         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12284
12285         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12286         InsetInfo.
12287
12288         * src/buffer.C (readInset): ditto.
12289
12290 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12291
12292         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12293         menuSeparator(), endOfSentenceDot(), ldots() and
12294         hyphenationPoint(), which are therefore removed.
12295         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12296
12297         * LyXAction.C (init):
12298         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12299
12300         * paragraph.C (getWord): removed.
12301
12302         * BufferView_pimpl.C (Dispatch): use last word or selection for
12303         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12304
12305         * lyx_main.C (queryUserLyXDir): do not ask before creating
12306         user_dir, except if it has been named explicitely.
12307
12308 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12311         a document of zero size.
12312
12313 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12316         approriately in the c-tor and in require().
12317         (getPackages): output the appropriate LaTeX for natbib support.
12318
12319         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12320         variables "use_natbib" and "use_numerical_citations" when reading the
12321         LyX file.
12322         (readInset): read the various natbib cite commands.
12323         (validate): white-space change.
12324
12325         * bufferparams.[Ch]: new variables "bool use_natbib" and
12326         "bool use_numerical_citations".
12327         (writeFile): output them in the LyX file.
12328
12329 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12330
12331         * lyxfunc.C (getStatus): add support for all the inset insertion
12332         commands.
12333
12334         * text2.C (insertInset):
12335         * paragraph.C (insetAllowed):
12336         * BufferView_pimpl.C (insertInset): update to take in account the
12337         renaming of insertInsetAllowed
12338
12339         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12340
12341         * text2.C (getInset): new method. returns inset at cursor position.
12342
12343         * BufferView_pimpl.C (Dispatch): changes because of this.
12344
12345         * LyXAction.C (init): rename open-stuff to inset-toggle.
12346
12347         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12348
12349         * text2.C (toggleInset): renamed from openStuff; use
12350         Inset::open().
12351
12352 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12353
12354         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12355
12356         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12357
12358 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12359
12360         * buffer.C (readLyXformat2): Add filename to the error dialog
12361
12362 2001-07-18  Juergen Vigna  <jug@sad.it>
12363
12364         * tabular.C (GetCellNumber): put an assert here instead of the check!
12365
12366 2001-07-17  Juergen Vigna  <jug@sad.it>
12367
12368         * BufferView_pimpl.C (toggleSelection): adapted too.
12369
12370         * text.C (selectNextWord): adapted for use with insets.
12371         (selectSelectedWord): ditto
12372
12373 2001-07-17  Juergen Vigna  <jug@sad.it>
12374
12375         * sp_spell.C (PSpell): fix initialitation order.
12376
12377 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * paragraph.C: spacing
12380
12381 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12382
12383         * sp_spell.C: repair language selection for pspell
12384
12385 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * lyxfunc.h: change more methods to begin with lower char.
12388
12389 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12390
12391         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12392         for unknown layouts.
12393
12394 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12395
12396         * buffer.C (readLyXformat2): Generate an error dialog if there are
12397         unknown layouts.
12398
12399 2001-07-16  Juergen Vigna  <jug@sad.it>
12400
12401         * sp_spell.C: always compile ISpell part.
12402
12403         * lyxrc.C: added use_pspell entry and it's handling.
12404
12405 2001-07-13  Juergen Vigna  <jug@sad.it>
12406
12407         * sp_spell.C: removed double includes.
12408
12409 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         Consistent use of Lsstream.h:
12412         * Lsstream.h: added using std::stringstream for consistencies sake.
12413
12414         * buffer.C: removed using std::stringstream
12415
12416         * lyxfont.C (stateText):
12417         * paragraph.C (asString):
12418         * text.C (selectNextWord, selectSelectedWord):
12419         * text2.C (setCounter):
12420         * vspace.C (asString, asLatexString):
12421         std::ostringstream -> ostringstream.
12422
12423 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12424
12425         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12426         * commandtags.h: add LFUN_HELP_ABOUTLYX
12427         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12428
12429 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12430
12431         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12432         cursorToggle()
12433         * lyx_gui_misc.C: remove spellchecker
12434         * lyxfunc.C: showSpellchecker
12435         * sp_base.h: added
12436         * sp_ispell.h: added
12437         * sp_pspell.h: added
12438         * sp_spell.C: added
12439         * sp_form.[Ch]: removed
12440         * spellchecker.[Ch]: removed
12441
12442 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12443
12444         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12445         is set.
12446         (simpleTeXSpecialChars): Simply print the input character without
12447         any special translation if pass_thru is set.
12448
12449         * layout.h: Added bool pass_thru to layout class for being able to
12450         implement pass through of a paragraph for Literate Programming.
12451
12452         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12453         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12454         * layout.C (Read): add "passthru" to list of layout tags and add
12455         code to set the pass_thru boolean when it is read.
12456
12457 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * trans_decl.h: remove allowed from KmodInfo
12460
12461         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12462         remove allowed code
12463         (Load): adjust
12464
12465         * paragraph_pimpl.C (erase): use boost::prior
12466
12467         * Painter.C (text): use data() instead of c_str() when length is
12468         also provided.
12469         * WorkArea.C (putClipboard): ditto
12470         * font.h (width): ditto
12471
12472         * BufferView2.C: use it-> instead of (*it). for iterators
12473         * texrow.C: ditto
12474         * paragraph_pimpl.C: ditto
12475         * paragraph.C: ditto
12476         * minibuffer.C: ditto
12477         * language.C: ditto
12478         * kbmap.C: ditto
12479         * encoding.C: ditto
12480         * counters.C: ditto
12481         * converter.C: ditto
12482         * chset.C: ditto
12483         * Variables.C: ditto
12484         * TextCache.C: ditto
12485         * MenuBackend.C: ditto
12486         * LyXAction.C: ditto
12487         * LColor.C: ditto
12488         * FloatList.C: ditto
12489         * DepTable.C: ditto
12490         * ColorHandler.C (LyXColorHandler): ditto
12491
12492 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12495
12496         * text2.C (openStuff): reintroduce this method (which had been
12497         nuked in NEW_INSETS frenzy).
12498
12499         * lyxfunc.C (Dispatch): when an action has not been handled, use
12500         its name in the error message, not its number.
12501
12502         * paragraph.C (inInset): change method name to begin with lowercase.
12503
12504         * undo_funcs.C:
12505         * text2.C: updates because of this.
12506
12507 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * ToolbarDefaults.C (add): add spaces in error message
12510
12511 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12512
12513         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12514         (readLyXformat2): rename return_par to first_par, use lyxlex's
12515         pushToken and remove the manual push handling.
12516         (parseSingleLyXformat2Token): add another ert comp. variable:
12517         in_tabular, rename return_par to first_par. handle newlines better
12518
12519 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12522
12523 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * text2.C (getParFromID): removed
12526
12527         * buffer.C (getParFromID): new method moved form lyxtext.
12528         * BufferView2.C (insertErrors): adjust
12529         (setCursorFromRow): adjust
12530         * BufferView_pimpl.C (restorePosition): adjust
12531         * lyxfunc.C (Dispatch): adjust
12532         * undo_funcs.C (textUndo): adjust
12533         (textRedo): adjust
12534         (textHandleUndo): adjust
12535         (textHandleUndo): adjust
12536
12537 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * buffer.C: up' the LYX_FORMAT
12540
12541         * lyxfont.h: turn NO_LATEX on as default
12542
12543         * buffer.C (insertErtContents): new methods of tex style compability.
12544         (parseSingleLyXformat2Token): use it several places.
12545         * tabular.C (OldFormatRead): and here
12546
12547 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * text2.C: remove some commented code.
12550         reindent file.
12551
12552         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12553         * trans.C: changes because of the above.
12554
12555 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * text2.C (setCounter): Fix counters bug with bibliography layout.
12558
12559 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12560
12561         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12562         own member functions
12563         (simpleTeXSpecialChars): ditto
12564
12565 2001-07-06  Juergen Vigna  <jug@sad.it>
12566
12567         * a lot of files: changed the access to LyXText::status and the
12568         call of undo-functions.
12569
12570         * undo.[Ch]: added a inset_id to the undo informations.
12571
12572         * undo_funcs.[Ch]: added and moved here all undo functions.
12573
12574         * lyxtext.h: give the status enum a weight, made status_ a private
12575         variable and made accessor functions for it, removed the whole bunch
12576         of undo-functions as they are now in their own file, make some
12577         functions publically available. Added function ownerParagraph with
12578         int parameter.
12579
12580         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12581         made InInset() a const function, added getParFromID() function.
12582
12583         * buffer.[Ch]: added const version for inset_iterator functions,
12584         added getInsetFromID() function.
12585
12586         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12587         changed undo functions for new version.
12588
12589 2001-07-05  Juergen Vigna  <jug@sad.it>
12590
12591         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12592         unknow mechanism does not call the proper constructor but only this
12593         one also if I request the other!?
12594
12595 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12598
12599         * text2.C (LyXText): use initialization lists.
12600
12601         * lyxtext.h (Selection): initialize set_ and mark_
12602         (init): remove method
12603
12604 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12605
12606         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12607
12608 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * screen.[Ch]: change method names to begin with lowercase
12611
12612         * BufferView_pimpl.C (updateScrollbar): simplify further and
12613         hopefully make it a bit faster.
12614
12615 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12618         calling directly xforms functions.
12619
12620         * Painter.C (Painter):
12621         * lyx_cb.C (MenuWrite):
12622         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12623         fl_display.
12624
12625         * lyx_gui.C: remove bogus guiruntime extern declaration.
12626
12627 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12630         in NEW_INSETS
12631         (redoDrawingOfParagraph): ditto
12632         (redoParagraphs): ditto
12633         (cutSelection): don't create a object for CutAndPaste use the
12634         static method directly
12635         (pasteSelection): ditto
12636
12637         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12638         LyXview (+ rename)
12639
12640 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * modifications to some other files because of this.
12643
12644         * Makefile.am (lyx_SOURCES): add XFormsView
12645
12646         * XFormsView.[Ch]: new files
12647
12648         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12649         the main window. Move the gui dependent stuff to XFormsView
12650
12651 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12652
12653         * tabular.C (GetCellInset): update cur_cell also in the row/col
12654         version of this function.
12655
12656         * lyxfunc.C: no need to include figure_form.h here.
12657
12658         * FontLoader.h:
12659         * lyxfunc.h:
12660         * lyxscreen.h:
12661         * text2.C:
12662         * lyxvc.C: no need to include forms.h here.
12663
12664 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12665
12666         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12667
12668         * lyxfunc.C (Dispatch):
12669         * Spacing.C (set):
12670         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12671         constructor argument.
12672
12673 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * paragraph.C (Paragraph): dont't clear, and just set layout.
12676         (makeSameLayout): use params's copy contructor.
12677
12678         * ParagraphParameters.[Ch] (makeSame): delete method
12679
12680 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * Variables.[Ch]: fix indentation, rename set to isSet
12683
12684 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * lyxfunc.C (Dispatch): fix typo
12687
12688 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12689
12690         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12691         upper_bound.
12692
12693         * bufferlist.C: include assert.h for emergencyWrite().
12694
12695 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12698           give up at last (bug #425202) !
12699
12700 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyx_gui_misc.C:
12703         * sp_form.h:
12704         * sp_form.C:
12705         * spellchecker.h:
12706         * spellchecker.C: strip spellchecker options and bring up
12707           preferences tab instead
12708
12709 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710
12711         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12712         the istringstream constructor
12713
12714 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * paragraph.C (getLayout): fix return value
12717
12718         * paragraph.h: do not declare getLayout as inline.
12719
12720         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12721
12722 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * lyxcursor.h (operator<): new func
12725         (operator>): new func
12726         (operator>=): new func
12727         (operator<=): new func
12728
12729         * text.C (changeCase): use selection.start and selection.end
12730         (changeRegionCase): require from to be <= to. Require par to be a
12731         valid paragraph.
12732
12733         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12734
12735 2001-06-27  Juergen Vigna  <jug@sad.it>
12736
12737         * text.C (cursorLeftOneWord): changed to return the cursor and added
12738         overlay with BufferView * parameter which calls this one.
12739         (getWord): added
12740         (selectWord): use new getWord function.
12741         (changeCase): renamed from changeWordCase as and extended to work
12742         also on selections.
12743
12744         * lyxtext.h: added enum word_location
12745
12746         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12747         changeCase as this operates now also on selections.
12748
12749 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12750
12751         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12752
12753         * many files: send debug output to Debug::INFO instead of
12754         Debug::ANY.
12755
12756         * converter.C (View):
12757         (Convert):
12758         (Move): send debug output to Debug::FILES instead of console.
12759
12760 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12761
12762         * lyxfunc.C (getStatus): use func_status
12763
12764         * func_status.h: new header, describing the results of
12765         LyXFunc::getStatus;
12766
12767         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12768         LFUN_MATH_HALIGN.
12769
12770 2001-06-25  The LyX Project  <jug@sad.it>
12771
12772         * buffer.C (sgmlOpenTag):
12773         (sgmlCloseTag):
12774         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12775
12776 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * text2.C: remove some dead code
12779
12780         * tabular.C (GetCellInset): store the last cell checked (gotten)
12781
12782         * tabular.h: add the helper for the speedup
12783
12784         * lyxtext.h: remove some dead code
12785
12786 2001-06-26  The LyX Project  <Asger>
12787
12788         * paragraph.C: Change export to LaTeX of alignment to
12789         \begin{center} and family for better roundtrip work with reLyX.
12790
12791         * Tune the math drawing a bit.
12792
12793 2001-06-25  The LyX Project  <Asger>
12794
12795         * LColor.C (LColor): New color for math background. New color
12796         for buttons.
12797
12798 2001-06-25  The LyX Project  <jug@sad.it>
12799
12800         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12801
12802         * lyxfunc.C (Open):
12803         * bufferlist.C (newFile): do not restrict to files ending with
12804         .lyx
12805
12806         * BufferView_pimpl.C (MenuInsertLyXFile):
12807
12808 2001-06-24  The LyX Project  <jug@sad.it>
12809
12810         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12811         of compare_no_case
12812
12813 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * lyxtext.h: rename most methods to begin with a small char.
12816         Lots of changes because of this.
12817
12818         * paragraph.C (Paragraph): do not call fitToSize
12819         (erase): call Pimpl::erase
12820         (insertChar): call Pimpl::insertChar
12821         (insertInset): call Pipl::insertInset
12822         (breakParagraph): do not call fitToSize
12823         (breakParagraphConservative): do not call fitToSize
12824         (fitToSize): remove method
12825
12826         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12827
12828 2001-06-24  The LyX Project  <Asger>
12829
12830         * Fix Qt compilation^2
12831
12832 2001-06-24  The LyX Project  <jug@sad.it>
12833
12834         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12835         depthHook(getDepth()-1).
12836
12837         * paragraph.h:
12838         * ParagraphParameters.h:
12839         * ParameterStruct.h: change type of depth to unsigned int ==
12840         depth_type. Many adaptations to other files before of that.
12841
12842 2001-06-24  The LyX Project  <Asger>
12843
12844         * Fix Qt compilation.
12845
12846 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * paragraph.h: renamed several methods to begin with small letter.
12849         several changes to many parts of the code because of this.
12850
12851 2001-06-23  The LyX Project  <jug@sad.it>
12852
12853         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12854         rewritten to discard all double spaces when KeepEmpty is off
12855         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12856         to only handle newlines but not fiddle with spaces and friends.
12857
12858         * lyxfunc.C (MenuNew): when doing 'new from template', use
12859         template_path as default directory
12860
12861 2001-06-23  The LyX Project  <Asger>
12862
12863         * Clean-up of header file includes all over
12864         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12865
12866 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * paragraph.h: renamed from lyxparagraph.h
12869
12870 2001-06-23  Asger  <lyx@violet.home.sad.it>
12871
12872         * Buffer.h: Removed Buffer::resize
12873         * BufferList.h: Removed BufferList::resize
12874         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12875         the document lazily when we change the width, or the font settings.
12876
12877 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12880
12881 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * buffer.h: remove out of date comment
12884
12885 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyxscreen.h:
12888         * screen.C: fix "theoretical" GC leak
12889
12890 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * LaTeX.C (scanAuxFile):
12893         (deplog): remove trailing \r when reading stream (useful under
12894         win32)
12895
12896 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12897
12898         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12899         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12900         and BufferView::theLockingInset(Inset*), so should use them and not
12901         access bv_->text->the_locking_inset directly.
12902
12903         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12904
12905 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * Makefile.am:
12908         * tex-defs.h: remove old unused file
12909
12910 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * BufferView_pimpl.C: fix typo, remove minibuffer message
12913           when buffer has loaded
12914
12915 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * lyxfunc.C (Dispatch): use stringstream
12918         (MenuNew): use stringstream
12919         (Open): use stringstream
12920
12921         * importer.C (Import): use stringstream
12922
12923         * bufferview_funcs.C (CurrentState): use stringstream
12924
12925         * LaTeX.C (run): use stringstream
12926
12927         * BufferView_pimpl.C (savePosition): use stringstream
12928         (restorePosition): use stringstream
12929         (MenuInsertLyXFile): use stringstream
12930
12931 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * BufferView.C:
12934         * Bullet.C:
12935         * ColorHandler.C:
12936         * FontInfo.C:
12937         * FontLoader.C:
12938         * LColor.C:
12939         * LaTeXFeatures.C:
12940         * Painter.C:
12941         * gettext.C:
12942         * lyx_gui_misc.C:
12943         * lyxserver.C:
12944         * vspace.C: removed // -*- C++ -*- as first line.
12945
12946         * lyxfind.h:
12947         * version.h: added // -*- C++ -*- as first line.
12948
12949 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12950
12951         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12952
12953         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12954         of string
12955
12956 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12959         of floats.
12960
12961 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * gettext.C: include LString.h even when --disable-nls is on.
12964
12965 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12966
12967         * converter.h (Get): changed argument type from int to
12968         FormatList::size_type to avoid unnecessary conversion.
12969
12970         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12971         before using it.
12972
12973 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12974
12975         * gettext.h: include LString.h even when --disable-nls is on.
12976
12977 2001-06-07  Juergen Vigna  <jug@sad.it>
12978
12979         * text.C (BreakAgain): subst spaces with tabs.
12980
12981         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12982         (resizeInsetsLyXText): set force on resizeLyXText.
12983
12984 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * gettext.h (gettext_init):
12987         (locale_init): use a real definition instead of a macro
12988
12989 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12990
12991         * Bufferview_pimpl.C:
12992         * LColor.h:
12993         * LColor.C: further lcolor tidies
12994
12995 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * BufferView_pimpl.C (updateScrollbar): simplify.
12998
12999         * BufferView2.C: don't include insets/insetinfo.h, change
13000         prototype for insertInset and call the Pimpl version. let
13001         updateInset call Pimpl version.
13002
13003         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13004         gotoInset to BufferView::Pimpl
13005
13006 2001-06-01  Juergen Vigna  <jug@sad.it>
13007
13008         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13009         inside a LockingInset (is the update needed at all?).
13010
13011 2001-05-31  Juergen Vigna  <jug@sad.it>
13012
13013         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13014         here not the old one otherwise how should we compare it afterwards
13015         if it's the same!
13016
13017 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * lyxfont.C:
13020         * tabular.C:
13021         * tabular-old.C:
13022         * FontInfo.C: bring C functions into global namespace when
13023         necessary
13024
13025 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * LString.h: make sure config.h has been loaded before LString.h.
13028
13029         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13030         (one for each char read by EatLine!).
13031
13032         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13033         variables.
13034
13035 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13038         to the same as the par we break from
13039
13040 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13043
13044         * MenuBackend.C (expand): also create menu entries for wide
13045         versions of the floats.
13046
13047         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13048
13049         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13050
13051         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13052         frontends/Makefile.am
13053
13054         * text2.C: adjust
13055         * text.C: adjust
13056
13057
13058         * tabular.C (getTokenValue): add std::
13059
13060         * tabular-old.C (getTokenValue): add std::
13061         (getTokenValue): ditto
13062         (getTokenValue): ditto
13063
13064         * screen.C (ToggleSelection): adjust
13065
13066         * lyxtext.h: put selection cursors inside a Selection struct.
13067
13068         * lyxfunc.C (moveCursorUpdate): adjust
13069
13070         * lyxfont.C (latexWriteStartChanges): add std::
13071
13072         * lyxfind.C: adjust
13073
13074         * font.h: delete with(char const *, LyXFont const &)
13075
13076         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13077
13078         * FontInfo.C (getFontname): add std::
13079
13080         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13081         (workAreaButtonPress): adjust
13082         (tripleClick): adjust
13083         (update): adjust
13084         (moveCursorUpdate): adjust
13085         (Dispatch): adjust
13086
13087         * BufferView2.C (gotoInset): adjust
13088
13089 2001-05-30  Juergen Vigna  <jug@sad.it>
13090
13091         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13092         to check pspell I add this as default as I now have new pspell
13093         libraries and they seem to use this.
13094
13095 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * text2.C (CutSelection): make the cursor valid before the call to
13098         ClearSelection.
13099
13100 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13103         relied on 0 terminated strings and other horrors. Bug found due to
13104         the new assert in lyxstring!
13105
13106         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13107         KP_ keys.
13108
13109 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13112         to latinkeys.bind.
13113
13114         * lyxfunc.C (processKeySym): change method of getting to the
13115         self-insert char.
13116
13117         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13118         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13119         * BufferView_pimpl.[Ch]: here as private methods.
13120
13121 2001-05-28  Juergen Vigna  <jug@sad.it>
13122
13123         * text.C (SetHeightOfRow): added the update() call again as it is
13124         needed to initialize inset dimensions!
13125
13126 2001-05-16  Juergen Vigna  <jug@sad.it>
13127
13128         * text2.C (SetCharFont): Add new function with BufferView * and
13129         bool toggleall parameters for setting insets internal fonts.
13130         (SetFont): Freeze the undo as we may change fonts in Insets and
13131         all this change should be inside only one Undo!
13132
13133         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13134         setting font's in insets as for them we have the SetFont function!
13135
13136 2001-05-15  Juergen Vigna  <jug@sad.it>
13137
13138         * text2.C (ClearSelection): to be sure we REALLY don't have any
13139         selection anymore!
13140
13141         * tabular.C (TeXCellPreamble): fixed the left border problem for
13142         multicolumn cells.
13143
13144 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13145
13146         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13147         dependancy file
13148
13149 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13152         LFUN_BREAKPARAGRAPH.
13153
13154         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13155         help test to "internal only", similar for LFUN_INSERT_URL
13156
13157         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13158         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13159         auto_region_delete and deadkeys.
13160
13161 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13162
13163         * LColor.h:
13164         * LColor.C: remove some dead entries, tidy a little
13165
13166 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13169         commented code.
13170         (Dispatch): implement LFUN_ESCAPE
13171
13172         * commandtags.h: add LFUN_ESCAPE
13173
13174         * LyXAction.C (init): add entry for LFUN_ESCAPE
13175
13176         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13177         Remove commented code.
13178         (insertNote): moved here
13179         (open_new_inset): moved here
13180
13181         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13182         BufferView_pimpl
13183
13184 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * kbmap.C (findbinding): clean it up and make it work correctly.
13187
13188         * lyx_main.C (init): do not pass argc and argv as parameters
13189
13190 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13191
13192         * buffer.C: fix path for OS/2 & Win32
13193
13194         * lyx_gui.C:
13195         * lyx_main:
13196         * lyx_main.C: Added os:: class.
13197
13198         * os2_defines.h: update
13199
13200 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13203         better by trying again with reduced state.
13204
13205 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13206
13207         * lyxrc.C (read): print error about invalid key sequence only when
13208         debugging (because not all latinX keysyms are known to some X
13209         servers)
13210
13211         * kbsequence.C (getiso): add a few std:: qualifiers
13212         (getiso): comment out extra return statement.
13213
13214 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13217         handling.
13218         (Dispatch): enhance the accent inset a bit. (not perfect)
13219
13220 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13223
13224 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * bufferlist.C (emergencyWrite): fix assert() call
13227
13228 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13229
13230         * text.C (InsertChar): Added trivial patch to only send the "you
13231         can not do multiple spaces this way" message once during a
13232         session.
13233
13234 2001-05-08  Baruch Even  <baruch@lyx.org>
13235
13236         * Makefile.am: Changed order of libraries to get LyX to link properly
13237         with the gnome frontend.
13238
13239 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13240
13241         * LaTeXFeatures.h: add a std:: qualifier
13242
13243 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * paragraph.C (String): use stringstream
13246
13247 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * paragraph.C (writeFile): remove footflag arg
13250
13251         * buffer.C (makeLaTeXFile): use stringstream
13252         (latexParagraphs): remove footnot gurba
13253
13254         * LaTeXFeatures.C (getPackages): use stringstream
13255         (getMacros): likewise
13256         (getTClassPreamble): likewise
13257         (getFloatDefinitions): new method
13258
13259         * paragraph.C (writeFile): reindent
13260         (Erase): reindent
13261
13262         * WorkArea.h: revert the xpos + etc changes.
13263
13264         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13265
13266         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13267
13268         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13269         (pasteSelection): likewise
13270         * text2.C (CreateUndo): likewise
13271
13272 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * minibuffer.C (peek_event): temporarily reduce the functionality
13275         of the minibuffer (to allow args on lfuns)
13276
13277         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13278         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13279
13280         * buffer.C (readInset): add compability reading of old float
13281         lists, add reading of new style float list.
13282         (readInset): avoid reevaluation of inscmd.getCmdName()
13283         (getLists): reindent
13284
13285         * MenuBackend.C (MenuItem): implement parsing of
13286         md_floatlistinsert and md_floatinsert.
13287         (expand::LastFiles): move initalizaton of iterators out of loop,
13288         avoid reevaluation.
13289         (expand::Documents): introduce typdedef vector<string> Strings,
13290         and use it.
13291         (expand::ExportFormats): introduce typedef vector<Format const *>
13292         Formats, and use it.
13293         (expand): implement FloatListInsert and FloatInsert.
13294
13295         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13296         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13297         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13298
13299         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13300         handling.
13301         (Dispatch::LFUN_FLOAT_LIST): implement
13302
13303 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13304
13305         * LaTeX.C (run): Fix problem with --export code.
13306
13307 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * BufferView.[Ch] (workarea): removed.
13310         (getClipboard) new method; wrapper for workarea()->getClipboard()
13311
13312         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13313         bug.
13314
13315         * WorkArea.h (width, height, xpos, ypos): These methods all
13316         returned the dimensions of the work_area sub-area of WorkArea,
13317         resulting in a position error if the WorkArea were resized. Now
13318         return the dimensions of the entire WorkArea.
13319
13320         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13321
13322 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * LaTeX.C (deplog): correct the syntax of regex reg1
13325
13326 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * undo.C: remove !NEW_INSETS cruft
13329
13330 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * text2.C: remove !NEW_INSETS cruft
13333
13334         * text.C: remove !NEW_INSETS cruft
13335
13336         * tabular.C: remove !NEW_INSETS cruft
13337
13338         * spellchecker.C: remove !NEW_INSETS cruft
13339
13340         * lyxtext.h: remove !NEW_INSETS cruft
13341
13342         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13343
13344         * lyxfunc.C: remove !NEW_INSETS cruft
13345
13346         * lyxfind.C: remove !NEW_INSETS cruft
13347
13348         * lyx_cb.C: remove !NEW_INSETS cruft
13349
13350         * figureForm.C: remove  !NEW_INSETS cruft
13351
13352         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13353
13354         * buffer.[Ch]: remove !NEW_INSETS cruft
13355
13356         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13357
13358         * CutAndPaste.C: remove !NEW_INSETS cruft
13359
13360         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13361
13362         * BufferView2.C: remove !NEW_INSETS cruft
13363
13364         * BufferView.h: remove !NEW_INSETS cruft
13365
13366 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13367
13368         * Lsstream.h: include LString.h before the sstream headers to
13369         fix problem with gcc 2.95.3 and lyxstring
13370
13371 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * lyx_main.C: add using directives when needed for C functions
13374         declared in std:: namespace.
13375
13376 2001-04-27  Juergen Vigna  <jug@sad.it>
13377
13378         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13379         (SetHeightOfRow): comment out the update call should not be needed!
13380
13381 2001-04-13  Juergen Vigna  <jug@sad.it>
13382
13383         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13384         (LyXTabular): tried to minimize operator= operations (and realized
13385         hopfully Lars wish).
13386
13387 2001-04-27  Juergen Vigna  <jug@sad.it>
13388
13389         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13390
13391 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13394
13395         * buffer.C (readInset): hack to make listof algorithm work
13396
13397         * BufferView_pimpl.C: hack to make listof algorithm work
13398
13399 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * LyXAction.C: removed all !NEW_INSETS cruft
13402         (init): moved lfun_item in method
13403
13404         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13405
13406 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * BufferView2.C (theLockingInset): white space.
13409
13410 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * minibuffer.C: include <iostream>
13413
13414         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13415
13416         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13417
13418         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13419
13420         * text.[Ch] (TransposeChars): new method
13421
13422 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * call message directly through LyXView instead of through LyXFunc
13425         * BufferView2.C: adjust
13426         * BufferView_pimpl.C: adjust
13427         * FontLoader.C: adjust
13428         * buffer.C: adjust
13429         * bufferview_funcs.C: adjust
13430         * converter.C: adjust
13431         * figureForm.C: adjust
13432         * importer.C: adjust
13433         * lyx_cb.C: adjust
13434         * lyx_gui_misc.C: adjust
13435         * lyxfunc.C: adjust
13436         * lyxvc.C: adjust
13437         * text2.C: adjust
13438         + more files in subdirs
13439
13440         * lyxparagraph.h (size): move up int file
13441         (GetLayout): ditto
13442
13443         * adjust all uses of Assert to lyx::Assert.
13444
13445         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13446         lyxfunctional in namespace lyx
13447         * layout.C (hasLayout): ditto
13448         (GetLayout): ditto
13449         (GetLayout): ditto
13450         (delete_layout): ditto
13451         (NumberOfClass): ditto
13452         * converter.C (GetFormat): ditto
13453         (GetNumber): ditto
13454         (Add): ditto
13455         (Delete): ditto
13456         (SetViewer): ditto
13457         * bufferlist.C (getFileNames): ditto
13458         (emergencyWriteAll): ditto
13459         (exists): ditto
13460         (getBuffer): ditto
13461         * MenuBackend.C (hasSubmenu): ditto
13462         (hasMenu): ditto
13463         (getMenu): ditto
13464         * BufferView_pimpl.C (getInsetByCode): ditto
13465
13466 2001-04-18  Juergen Vigna  <jug@sad.it>
13467
13468         * vspace.C (asLatexString): fixed the 100% problem.
13469
13470 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * lyxfunc.C (Dispatch):
13473         * minibuffer.C:
13474         * minibuffer.h: add a few std:: qualifiers
13475
13476 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * minibuffer.[Ch]: reimplement so that commands is initiated and
13479         run from lyxfunc, simplified som handling, and made the completion
13480         and history code for complete. wip.
13481
13482         * lyxfunc.C (processKeySym): call message
13483         (miniDispatch): new temporary method
13484         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13485         (LFUN_MESSAGE): implement
13486         (LFUN_MESSAGE_PUSH): implement
13487         (LFUN_MESSAGE_POP): implement
13488         (initMiniBuffer): the initial/defualt minibuffer message.
13489
13490         * lyxfont.[Ch]: inline some more getters
13491
13492         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13493
13494         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13495
13496         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13497         (AutoSave): use LFUN_MESSAGE
13498         (Reconfigure): ditto
13499
13500         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13501
13502         * figureForm.C: use LFUN_MESSAGE
13503
13504         * converter.C (runLaTeX): use LFUN_MESSAGE
13505
13506         * bufferview_funcs.C: use LFUN_MESSAGE
13507         (Melt): ditto
13508         (changeDepth): ditto
13509
13510         * bufferparams.h: use boost::
13511
13512         * bufferlist.h: inherit privately from noncopyable
13513
13514         * bufferlist.C (loadLyXFile): remove some commented code.
13515
13516         * buffer.C (runChktex): use LFUN_MESSAGE
13517
13518         * ShareContainer.h: inherit privately from noncopyable
13519
13520         * ParagraphParameters.[hC] (depth): inline it.
13521
13522         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13523         methods.
13524         (message): new method
13525         (messagePush): ditto
13526         (messagePop): ditto
13527         (show): init minibuffer
13528         (showState): direct call
13529
13530         * LaTeX.[Ch]: inherit privately from noncopyable
13531         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13532         instead of WriteStatus.
13533
13534         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13535
13536         * BufferView_pimpl.C (buffer): don't init minibuffer
13537         (workAreaButtonPress): use LFUN_MESSAGE
13538         (workAreaButtonRelease): ditto
13539         (savePosition): ditto
13540         (restorePosition): ditto
13541         (MenuInsertLyXFile): ditto
13542         (workAreaExpose): don't init minibuffer
13543         (update): remove commented code, simplify
13544
13545         * BufferView2.C (openStuff): use LFUN_MESSAGE
13546         (toggleFloat): ditto
13547         (menuUndo): ditto
13548         (menuRedo): ditto
13549         (copyEnvironment): ditto
13550         (pasteEnvironment): ditto
13551         (copy): ditto
13552         (cut): ditto
13553         (paste): ditto
13554         (gotoInset): ditto
13555         (updateInset): remove some commented code
13556
13557         * lastfiles.h: inherit privately from noncopyable
13558         * layout.h: ditto
13559         * lyx_gui.h: ditto
13560         * lyx_main.h: ditto
13561         * lyxlex.h: ditto
13562         * lyxlex_pimpl.h: ditto
13563
13564         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13565         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13566         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13567
13568         * LyXAction.h: inherit privately from noncopyable, add methods
13569         func_begin, func_end, returning iterators to the func map.
13570
13571         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13572         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13573         (func_begin): new method
13574         (func_end): new method
13575
13576         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13577         and not)
13578         (copySelection): ditto
13579         (pasteSelection): ditto
13580
13581         * BufferView.C: whitespace change
13582         * BufferView.h: inherit privately from noncopyable
13583
13584 2001-04-16  Allan Rae  <rae@lyx.org>
13585
13586         * tabular-old.C (l_getline):
13587         * spellchecker.C (sc_check_word):
13588         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13589         an unrecognised preprocessor directive.  So ensure they're wrapped.
13590
13591 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * src/exporter.C (Export): Give an error message when path to file
13594         contains spaces.
13595
13596 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13597
13598         * LaTeX.C (deplog): Always check that foundfile exists.
13599
13600 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * lyx_main.h:
13603         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13604
13605 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * tabular.[Ch] (getLabelList): implement new method
13608
13609         * minibuffer.h: comment ouf setTiimer
13610
13611         * minibuffer.C (ExecutingCB): constify res
13612         (peek_event): constify s
13613         (Set): constify ntext
13614         (Init): constify nicename
13615
13616         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13617
13618         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13619         (savePosition): use two params to Minibuffer::Set
13620         (restorePosition): ditto
13621
13622 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * lyx_main.C: include language.h
13625
13626         * Makefile.am (lyx_main.o): add language.h
13627
13628 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * exporter.C:
13631         * paragraph.C:
13632         * screen.C:
13633         * tabular.C:
13634         * CutAndPaste.C: include gettext.h
13635
13636         * lyxfont.h: remove old hack with ON and OFF.
13637
13638         * lyxparagraph.h:
13639         * lyxfont.h: do not include language.h...
13640
13641         * BufferView2.C:
13642         * LaTeXFeatures.C:
13643         * Painter.C:
13644         * bufferview_funcs.C:
13645         * font.C:
13646         * lyxfont.C:
13647         * text.C:
13648         * text2.C:
13649         * trans_mgr.C:
13650         * paragraph.C: ... but do it here instead
13651
13652 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13655
13656         * tabular.C: small reformat
13657
13658         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13659         NEW_INSETS version
13660         (GetChar): ditto
13661         (BreakParagraph): ditto
13662         (SetOnlyLayout): ditto
13663         (SetLayout): ditto
13664
13665         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13666         with one arg less.
13667
13668         * lastfiles.C: removed most using decl, add std:: where needed
13669
13670         * buffer.C: ws changes
13671
13672         * MenuBackend.C (class compare_format): put into anon namespace
13673         (expand): constify label, names, action, action2
13674         (expand):
13675
13676         * text.C (SingleWidth): constify font
13677         (IsBoundary): constify rtl2
13678         (GetVisibleRow): constify ww
13679
13680         * LaTeX.C (deplog): constify logfile
13681
13682         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13683         start_x, end_x
13684         (workAreaExpose): constify widthChange, heightChange
13685
13686         * lyxrow.C (par): moved
13687         (height): moved
13688         (next): moved
13689         * lyxrow.h: as inlines here
13690
13691         * lyxfont.h (shape): moved from lyxfont.C
13692         (emph): moved from lyxfont.C
13693
13694         * lyxfont.C (LyXFont): use initialization list for all
13695         constructors
13696         (shape): move to lyxfont.h as inline
13697         (emph): move to lyxfont.h as inline
13698
13699
13700 2001-04-04  Juergen Vigna  <jug@sad.it>
13701
13702         * vspace.C: had to include stdio.h for use of sscanf
13703
13704 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * BufferView.h:
13707         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13708         independent of xforms.
13709
13710 2001-04-02  Juergen Vigna  <jug@sad.it>
13711
13712         * spellchecker.C: fixed namespace placing!
13713
13714 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13717         the LyXParagraph * is 0.
13718
13719 2001-03-29  Juergen Vigna  <jug@sad.it>
13720
13721         * vspace.C: added support for %, c%, p%, l%.
13722         (stringFromUnit): added helper function.
13723         (asLatexString): changed to give right results for the %-values.
13724
13725         * buffer.C: convert the widthp in a width%.
13726
13727 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13730         figureForm.[Ch].
13731
13732         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13733         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13734
13735         * lyx_cb.[Ch]: see above.
13736
13737         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13738         form1.[Ch].
13739
13740         * form1.[Ch]:
13741         * lyx.[Ch]: replaced by figure_form.[Ch].
13742
13743         * lyx_gui.C:
13744         * lyx_gui_misc.C:
13745         * lyxfunc.C: changed headers associated with above changes.
13746
13747 2001-03-27  Juergen Vigna  <jug@sad.it>
13748
13749         * BufferView_pimpl.C: set the temporary cursor right!
13750
13751 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13754
13755 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * LString.h: removed "using std::getline"!
13758
13759         * BufferView_pimpl.C (Dispatch): changes due to changes in
13760         InsetInclude::Params.
13761
13762         * buffer.C (tag_name): removed redundant break statements as they were
13763         producing lots of warnings with my compiler.
13764
13765 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * LString.h: add "using std::getline" when using the real <string>.
13768
13769 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13770
13771         * buffer.C: removed bitset usage.
13772         PAR_TAG moved to an anonymous name space.
13773         (tag_name): new funtion, also in the anonymous namespace.
13774         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13775         (makeDocBookFile): clean code. Completed transition from string arrays
13776         to string vectors.
13777         (SimpleDocBookOnePar): code clean.
13778
13779 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13780
13781         * tabular.C: add some comments.
13782
13783 2001-03-22  Juergen Vigna  <jug@sad.it>
13784
13785         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13786         compatibility read a bit and fixed bug with minipage in different
13787         depth.
13788
13789 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13790
13791         * buffer.C (pop_tag): removed.
13792         (push_tag): removed.
13793         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13794         array replaced with vector. Added support for CDATA sections.
13795         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13796         at any nest level.
13797         (makeDocBookFile): XML conformant declaration of CDATA section,
13798         fixed bug related to <emphasis> in the first paragraph char.
13799         (sgmlOpenTag): exclude empty tags.
13800         (sgmlCloseTag): ditto.
13801
13802         * buffer.h (pop_tag): removed.
13803         (push_tag): removed.
13804
13805 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * language.h (Languages): added size_type and size().
13808
13809 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13810
13811         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13812         response on compability reading of minipages. One probliem is that
13813         the old usage of minipages was «flertydig»
13814
13815         * several files here and in subdirs: don't use static at file
13816         scope use anon namespaces instead.
13817
13818 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13819
13820         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13821         LaTeX output. This is necessary for Literate document
13822         processing.
13823
13824 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13825
13826         * buffer.C: insert hfill when needed.
13827
13828         * tabular.C (l_getline): use string::erase, small whitespace change.
13829
13830         * BufferView_pimpl.C: try the anon namespace.
13831         * WorkArea.C: ditto
13832
13833 2001-03-16  Juergen Vigna  <jug@sad.it>
13834
13835         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13836         otherwise it won't open options-dialogs.
13837
13838         * buffer.C: honor pextraWidth(p) on converting minipages.
13839
13840         * tabular.C (l_getline): changed the functions to strip trailing \r.
13841
13842 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * BufferView_pimpl.C:
13845         * minibuffer..C: added "using SigC::slot" declaration.
13846
13847 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13848
13849         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13850
13851         * text2.C: ditto
13852
13853         * text.C: ditto
13854
13855         * paragraph.C: ditto
13856
13857         * lyxtext.h: NO_PEXTRA
13858
13859         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13860
13861         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13862         * ParameterStruct.h: ditto
13863         * ParagraphParameters.h: ditto
13864         * lyxparagraph.h: ditto
13865
13866 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13867
13868         * buffer.C: add compability for minipage alignment.
13869         (latexParagraphs): remove unwanted pextra check.
13870
13871         * several files: remove CXX_WORKING_NAMESPACES
13872
13873         * buffer.C (pop_tag): tie is in namespace boost
13874
13875         * BufferView.h: noncopyable is in namespace boost
13876         * lyxlex.h: ditto
13877         * lyx_main.h: ditto
13878         * lyx_gui.h: ditto
13879         * layout.h: ditto
13880         * lastfiles.h: ditto
13881         * bufferlist.h: ditto
13882         * ShareContainer.h: ditto
13883         * LyXView.h: ditto
13884         * LyXAction.h: ditto
13885         * LaTeX.h: ditto
13886
13887 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * Merging changes from BRANCH_MVC back into HEAD.
13890
13891         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13892
13893 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13894
13895         * BufferView_pimpl.C: change from intl.C
13896
13897         * combox.h:
13898         * combox.C:
13899         * Makefile.am: move combox.*
13900
13901         * form1.h:
13902         * form1.C:
13903         * lyx_gui.C:
13904         * intl.h:
13905         * intl.C: remove dialog (covered by prefs)
13906
13907 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * lyxfunc.C (Dispatch): removed redundant break statement.
13910
13911 2001-03-14  Juergen Vigna  <jug@sad.it>
13912
13913         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13914
13915 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13916
13917         * buffer.C: add hack to fix compability reading of minipages.
13918
13919 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13920
13921         * buffer.C (getLists): Cleanup.
13922
13923 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * lyxfont.C (update): don't honor toggleall on font size.
13926
13927 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * bmtable.c:
13930         * bmtable.h:
13931         * Makefile.am: moved to frontends/xforms/
13932
13933         * lyx_gui_misc.C:
13934         * lyxfunc.C:
13935         * BufferView_pimpl.C: changes for moved mathpanel
13936
13937 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13938
13939         * gettext.h: fix gettext_init() in --disable-nls
13940
13941 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13942
13943         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13944
13945 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * lyx.C:
13948         * lyx.h: strip external form
13949
13950 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * BufferView_pimpl.C: add comment, destroySplash()
13953
13954 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * BufferView_pimpl.C:
13957         * LyXAction.C:
13958         * buffer.C:
13959         * commandtags.h:
13960         * lyxfunc.C: use re-worked insetinclude
13961
13962 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13963
13964         * buffer.C: add using std::stringstream.
13965
13966         * lyx_cb.C: readd using std::ios.
13967
13968         * buffer.C: add using std::map.
13969
13970         * BufferView_pimpl.C: add using std::vector.
13971
13972         * ShareContainer.h: add std:: to swap.
13973
13974         * buffer.h: add some typedefs
13975         * buffer.C (getLists): use them
13976         (getLists): renamed from getTocList.
13977         add a counter for the different float types and use it in the
13978         generated string.
13979         (getLists): use the same counter for the NEW_INSETS and the "non"
13980         NEW_INSETS
13981
13982         * lyx_cb.h: remove unused items, includes, using etc.
13983
13984         * ShareContainer.h: remove some commented code, add more comments
13985         and "documentation".
13986
13987 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13988
13989         * buffer.C (getTocList): make the list also when NEW_INSETS is
13990         defined.
13991
13992         * buffer.h: remove TocType
13993
13994         * buffer.C (getTocList): change to return a map<string,
13995         vector<TocItem> >, implement for dynamic number of list.
13996
13997         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13998         * text2.C (PasteSelection): adjust
13999         * CutAndPaste.C (pasteSelection): adjust
14000
14001         * FloatList.C (FloatList): update from the new_insets branch.
14002         * Floating.[Ch]: ditto
14003         * LaTeXFeatures.C: ditto
14004         * buffer.C: ditto
14005         * lyxlex_pimpl.C: ditto
14006
14007         * paragraph.C (Last): remove when NEW_INSETS is defined.
14008
14009         * other file: changes because of the above.
14010
14011 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14012
14013         * lyxparagraph.h: rename next to next_, previous to previous_,
14014         make them private for NEW_INSETS. Rename Next() to next(),
14015         Previous() to previous().
14016
14017         * other files: changes because of the above.
14018
14019 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * BufferView.h:
14022         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14023         problem.
14024
14025 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * main.C (main): pass lyx_localedir to gettext_init().
14028
14029         * gettext.h: remove locale_init and gettext_init macros
14030
14031         * gettext.C (locale_init): new function
14032         (gettext_init): new function
14033
14034         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14035         setlocale().
14036
14037 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14038
14039         * Moved credits to frontends:
14040         * credits.[Ch]: removed
14041         * credits_form.[Ch]: removed
14042         * lyx_gui_misc.C: remove credits stuff
14043         * Makefile.am:
14044
14045 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14046
14047         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14048
14049         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14050         unneeded destructor.
14051
14052         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14053         a standalone pointer again.
14054
14055         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14056
14057 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * Makefile.am:
14060         * filedlg.h:
14061         * filedlg.C:
14062         * LyXAction.C:
14063         * ToolbarDefaults.C:
14064         * bufferlist.C:
14065         * commandtags.h:
14066         * form1.C:
14067         * form1.h:
14068         * lyx_cb.C:
14069         * lyx_cb.h:
14070         * lyxfunc.h:
14071         * lyxfunc.C:
14072         * BufferView_pimpl.C: use new file dialog in GUII
14073
14074         * lyx_cb.h:
14075         * lyx_cb.C: remove LayoutsCB to Toolbar
14076
14077 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14078
14079         * ShareContainer.h (get): add std:: qualifier
14080
14081 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * ShareContainer.h: define a proper ShareContainer::value_type
14084         type (and use typename to please compaq cxx)
14085
14086 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14087
14088         * lyxparagraph.h: move serveral local vars to
14089         ParameterStruct/ParagraphParameters., use ShareContainer in
14090         FontTable., make vars in FontTable private and add getter and
14091         setter.
14092
14093         * paragraph.C: changes because of the above.
14094
14095         * lyxfont.h: remove copy constructor and copy assignment. (the
14096         default ones is ok), move number inside FontBits. move inlines to
14097         lyxfont.C
14098
14099         * lyxfont.C: add number to initializaton of statics, move several
14100         inlines here. constify several local vars. some whitespace
14101         cleanup. Dont hide outerscope variables.
14102
14103         * Spacing.h: add two new constructors to match the set methods.
14104
14105         * ShareContainer.h: new file, will perhaps be moved to support
14106
14107         * ParameterStruct.h: new file
14108
14109         * ParagraphParameters.h: new file
14110
14111         * ParagraphParameters.C: new file
14112
14113         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14114         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14115
14116         * BufferView_pimpl.C: ParagraphParameter changes.
14117         * buffer.C: Likewise.
14118         * bufferview_funcs.C: Likewise.
14119         * text.C: Likewise.
14120         * text2.C: Likewise.
14121
14122 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14123
14124         * lyxfind.C (LyXReplace): do not redefine default argument in
14125         implementation.
14126         (IsStringInText): ditto
14127         (SearchForward): ditto
14128         (SearchBackward): ditto
14129
14130 2001-03-06  Juergen Vigna  <jug@sad.it>
14131
14132         * lyxfind.C (IsStringInText): put parentes around expressions.
14133
14134 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14135
14136         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14137
14138 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14141
14142         * stl_string_fwd.h: add comment
14143
14144         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14145
14146         * tabular.h:
14147         * tabular.C: remove unused DocBook methods
14148
14149         * intl.C:
14150         * language.C:
14151         * paragraph.C:
14152         * buffer.C:
14153         killed DO_USE_DEFAULT_LANGUAGE
14154
14155 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * lyx_gui.C: do not include language.h.
14158
14159         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14160         arguments in function implementation.
14161
14162 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14163
14164         * BufferView_pimpl.C: add <ctime>
14165
14166 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14167
14168         * BufferView_pimpl.C: add using std::find_if
14169
14170 2001-02-27  José Matos  <jamatos@fep.up.pt>
14171
14172         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14173         by OnlyPath.
14174
14175 2001-02-11  José Matos  <jamatos@fep.up.pt>
14176
14177         * buffer.C (makeDocBookFile): command styles now have a parameter as
14178         "title" by default.
14179
14180 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14181
14182         * layout_forms.[Ch]: removed
14183         * lyx_cb.[Ch]: out character
14184         * lyx_gui.C: out character
14185         * lyx_gui_misc.C: out character
14186         * bufferview_funcs.C: : out character,
14187         added toggleall as parameter in ToggleAndShow
14188
14189 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14190
14191         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14192
14193         * text2.C (SetCurrentFont): Disable number property at boundary.
14194
14195 2001-02-26  Juergen Vigna  <jug@sad.it>
14196
14197         * lyxfunc.C (getStatus): added a string argument override function so
14198         that this is correctly called from LyXFunc::Dispatch if it contains a
14199         do_not_use_argument which is used!
14200         (Dispatch): added check for "custom" export and call appropriate func.
14201
14202 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * lyxrc.C: Add language_command_local, language_use_babel and
14205         language_global_options.
14206
14207         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14208
14209         * buffer.C (makeLaTeXFile): Use language_use_babel and
14210         language_global_options.
14211
14212 2001-02-23  Juergen Vigna  <jug@sad.it>
14213
14214         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14215         which works with LyXText and putted it inside BufferView. Here now we
14216         only call for that part the BufferView::Dispatch() function.
14217
14218         * BufferView.C (Dispatch): added.
14219
14220         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14221         functions which needs to use a LyXText over from LyXFunc.
14222         (MenuInsertLyXFile): added
14223         (getInsetByCode): added
14224         (moveCursorUpdate): added
14225         (static TEXT): added
14226
14227 2001-02-22  Juergen Vigna  <jug@sad.it>
14228
14229         * BufferView_pimpl.C (update): call a status update to see if LyXText
14230         needs it.
14231
14232 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14233
14234         * vc-backend.C (revert): implement for CVS
14235         (getLog): implement for CVS
14236
14237 2001-02-20  Juergen Vigna  <jug@sad.it>
14238
14239         * text2.C (ClearSelection): added BufferView param for inset_owner call
14240
14241         * lyxfunc.C (TEXT): added this function and use it instead of
14242         directly owner->view()-text of getLyXText().
14243
14244 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14245
14246         * src/layout_forms.C: out preamble
14247         * src/layout_forms.h: out preamble
14248         * src/lyx_cb.C: out preamble
14249         * src/lyx_cb.h: out preamble
14250         * src/lyx_gui.C: out preamble
14251         * src/lyx_gui_misc.C: out preamble
14252         * src/lyxfunc.C: connect with guii preamble
14253
14254 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14255
14256         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14257
14258 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14261         whether to run bibtex.
14262
14263 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14266
14267 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14268
14269         * Makefile.am (lyx_SOURCES): removed bibforms.h
14270
14271         * vspace.h: doxygen
14272
14273         * text.C (GetVisibleRow): make several local vars const
14274
14275         * tabular.C: small cleanup.
14276
14277         * lyxserver.C (callback): use compare instead of strncmp
14278
14279         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14280         inlines to after class or to paragraph.C
14281
14282         * lyxfont.h: remove friend operator!=
14283
14284         * converter.h: move friend bool operator< to non friend and after
14285         class def.
14286
14287         * combox.h: small cleanup
14288
14289         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14290         to inlines after class def.
14291
14292         * buffer.C (pop_tag): use string operations instead of strcmp
14293
14294         * bmtable.c: doxygen, small cleanup
14295
14296         * LaTeX.h: remove friend operator==
14297
14298 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14299
14300         * screen.C:
14301         * lyxrc.[Ch]:
14302         * lyxfunc.C:
14303         * lyxfont.[Ch]:
14304         * lyx_cb.C:
14305         * intl.[Ch]:
14306         * commandtags.h:
14307         * buffer.C:
14308         * WorkArea.[Ch]:
14309         * LyXAction.C:
14310         * BufferView_pimpl.C:
14311         * BufferView.[Ch]: remove cruft
14312
14313 2001-02-14  Juergen Vigna  <jug@sad.it>
14314
14315         * lyxfunc.C: removed #if 0 unused code
14316
14317         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14318
14319         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14320
14321         * text2.C (SetSelection): added a BufferView * parameter
14322
14323 2001-02-13  Juergen Vigna  <jug@sad.it>
14324
14325         * lyxfunc.C (Dispatch): fixed protected blank problem.
14326         * BufferView2.C (protectedBlank): added LyxText * parameter.
14327
14328         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14329         (AppendColumn): same as above for column_info.
14330
14331         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14332         (moveCursorUpdate): use a LyXText param for support of InsetText.
14333
14334         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14335         (tripleClick): ditto
14336
14337         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14338
14339         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14340
14341         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14342
14343         * text2.C (SetSelection): set correct update status if inset_owner
14344         (ToggleFree): ditto
14345
14346 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14347
14348         * tabular.C: remove some commented code.
14349
14350 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * BufferView_pimpl.C: call hideSplash()
14353
14354         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14355
14356         * include_form.h:
14357         * bibforms.h: remove
14358
14359         * lyxfunc.C:
14360         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14361           add LFUN_CHILD_CREATE
14362
14363         * counters.h: fix tiny typo
14364
14365         * lyx_cb.C:
14366         * lyx.h:
14367         * lyx_gui.C:
14368         * lyx.C: move splash to frontends/xforms/
14369
14370         * lyx_gui_misc.C: move Include and Bibform to frontends
14371
14372         * lyxvc.h: clarify comment
14373
14374         * vspace.C: tiny housekeeping
14375
14376 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * text.C (PrepareToPrint): RTL Fix.
14379
14380         * paragraph.C (GetUChar): New method.
14381         (String):  Use GetUChar.
14382
14383         * buffer.C (asciiParagraph): Use GetUChar.
14384
14385 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14386
14387         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14388
14389 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * buffer.h:
14392         * buffer.C: rename to getLogName(), handle
14393           build log / latex log nicely
14394
14395 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * MenuBackend.C:
14398         * MenuBackend.h: remove support for reference menuitem type.
14399
14400 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * BufferView_pimpl.C: housekeeping
14403         * BufferView_pimpl.h:
14404         * LyXView.h:
14405         * Makefile.am:
14406         * Timeout.C:
14407         * Timeout.h:
14408         * minibuffer.h: move Timeout GUI-I
14409
14410 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14411
14412         * lyxrc.C (read): Update converters data-structures.
14413
14414 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14415
14416         * LaTeX.h (operator!=): add operator != for Aux_Info
14417
14418 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14421
14422         * LaTeXLog.C: deleted, useful code moved to Buffer
14423
14424         * buffer.h:
14425         * buffer.C: new function getLatexLogName()
14426
14427         * lyx_gui_misc.C:
14428         * lyx_gui.C:
14429         * lyxvc.C:
14430         * lyxvc.h:
14431         * lyxfunc.C: use frontends for LaTeX and VC logs
14432
14433 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14434
14435         * LaTeX.h: yet another std:: that Allan forgot.
14436
14437         * Variables.C (set): renamed from isset(), because this clashes
14438         with some HP-UX macros (grr).
14439
14440 2001-02-06  Allan Rae  <rae@lyx.org>
14441
14442         * LaTeX.h: Another bug fix.  Missing std:: this time.
14443
14444 2001-02-04  Allan Rae  <rae@lyx.org>
14445
14446         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14447         floats problem. I've left it commented out because it's not quite
14448         correct.  It should also test that the current object is a table or
14449         figure inset.  But I haven't gotten around to figuring out how to do
14450         that.  I *think* it'll be something like: "table" == inset.type()
14451
14452         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14453         bool.
14454
14455 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14456
14457         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14458         all the citation/databases/styles in the auxilary file.
14459         (run): Rerun latex if there was a babel language error.
14460
14461 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14462
14463         * text.C (Backspace): Preserve the font when changing newline char
14464         with a space.
14465         (BreakParagraph): If the cursor is before a space, delete the space.
14466
14467         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14468
14469 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14470
14471         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14472         new argument (code).
14473         (ChangeCitationsIfUnique): New method.
14474
14475         * paragraph.C (GetPositionOfInset): Handle bibkey.
14476
14477 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14478
14479         * BufferView_pimpl.h: change type of Position::par_pos to
14480         LyXParagraph::size_type.
14481
14482 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14483
14484         * BufferView_pimpl.C (savePosition, restorePosition): Write
14485         messages to minibuffer.
14486
14487 2001-01-28  José Matos  <jamatos@fep.up.pt>
14488
14489         * buffer.C (makeDocBookFile): adds support for document language.
14490         A silly restriction on the name of LatexCommand types where removed.
14491         Added support for CDATA sections, allows to chars unescaped, used
14492         among others in code, to avoid escape < and >.
14493
14494 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14495
14496         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14497         saved positions instrad of a stack. Furthermore, a position is
14498         stored using paragraph id/paragraph position.
14499
14500         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14501         Remove LFUN_REF_BACK.
14502
14503 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14504
14505         * converter.C (dvipdfm_options): New method.
14506
14507 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * vspace.C (isValidLength): Fix for empty input string.
14510
14511 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14512
14513         * LyXAction.C (init): change description of LFUN_FIGURE to
14514         "Insert Graphics"
14515
14516 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14517
14518         * LaTeX.C: add using directive
14519
14520 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14521
14522         * MenuBackend.C (expand): Fix the sorting of the formats.
14523
14524 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14525
14526         * lyx_main.C: tiny error message fix
14527
14528 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14531         calling fl_initialize(). This fixes the problem with ',' as
14532         decimal separator in text files.
14533
14534 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * trans.C (process): Fix the keymap bug.
14537
14538 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * LaTeX.C (scanAuxFiles): New method. Provides support for
14541         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14542         (scanLogFile) Scan for "run BibTeX" messages.
14543
14544         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14545         OT1 font encoding. Also, load the aecompl package if the ae
14546         package is loaded.
14547
14548         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14549
14550 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * texrow.C (increasePos): turn two error messages into debug
14553         messages.
14554
14555 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14556
14557         * LaTeX.C (scanAux): Handle the \@input macro.
14558         (runBibTeX): Use scanAux().
14559
14560         * language.C (latex_options_): New field.
14561
14562         * LaTeXFeatures.C (getMacros): Add language macros.
14563
14564         * buffer.C (makeLaTeXFile): Small fix.
14565
14566 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14569
14570         * text2.C: add a using directive.
14571
14572 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * BufferView2.C:
14575         * lyx_gui_misc.h:
14576         * lyxfr1.C:
14577         * lyxfunc.C: kill LyXBell.
14578
14579 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14580
14581         * text.C (IsBoundary): Remove the error message
14582
14583         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14584
14585         * lyxrc.C (setDefaults): Correct initialization value for
14586         font_norm_type.
14587
14588 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14589
14590         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14591         gotoError().
14592
14593         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14594         and GotoNextNote().
14595
14596         * src/LyXAction.C: Added reference-next.
14597
14598         * text.C (InsertChar): Use contains instead of strchr.
14599
14600         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14601
14602 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14603
14604         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14605         alignment commands (when needed).
14606
14607         * text.C (InsertChar): Add ':' to number separator chars.