]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
more IU
[lyx.git] / src / ChangeLog
1
2
3 2004-01-30  André Pönitz  <poenitz@gmx.net>
4
5         * BufferView_pimpl.C:
6         * cursor.C:
7         * cursor.h:
8         * cursor_slice.[Ch]:
9         * lyxfunc.C:
10         * lyxtext.h:
11         * paragraph_funcs.C:
12         * paragraph_funcs.h:
13         * rowpainter.C:
14         * text.C:
15         * text2.C:
16         * text3.C: move some of the edit(x,y) handling to the insets
17         some coordinate changes.
18
19 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
20
21         * text.C: add using statements for std::advance and std::distance
22
23         * paragraph.C: add using statement for std::distance
24
25         * lyxfind.C: add using statement for std::advance
26
27         * cursor.C (region): remove std:: from swap
28         (openable): use nucleus in stead of operator->
29
30         * BufferView.C: add using statements for std::distance and std::swap
31
32 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * iterators.C: Remove the pimple, move the needed structures to
35         the header file. Create accessor for the positions stack.
36         (asPosIterator): remove function
37
38         * PosIterator.C (PosIterator): move constructors to top of file
39         (PosIterator): reimplement the constructor taking a ParIterator in
40         terms of setFrom.
41         (setFrom): new function
42         (operator!=): inline it
43
44 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
45
46         * lyxfind.C (replaceAll): use std::advance
47
48         * iterators.h: inherit from std::iterator.
49
50         * PosIterator.C (advance, distance): remove
51         * PosIterator.h: interit from std::iterator.
52
53 2004-01-26  André Pönitz  <poenitz@gmx.net>
54
55         * BufferView.[Ch]:
56         * BufferView_pimpl.[Ch]:
57         * InsetList.[Ch]:
58         * PosIterator.[Ch]:
59         * buffer.h:
60         * bufferview_funcs.C:
61         * cursor.[Ch]:
62         * cursor_slice.h:
63         * factory.[Ch]:
64         * iterators.[Ch]:
65         * lyxfind.C:
66         * lyxfunc.C:
67         * lyxtext.h:
68         * output_docbook.C:
69         * output_latex.C:
70         * output_linuxdoc.C:
71         * output_plaintext.C:
72         * paragraph.[Ch]:
73         * paragraph_funcs.[Ch]:
74         * paragraph_pimpl.[Ch]:
75         * rowpainter.C:
76         * tabular.C:
77         * tabular.h:
78         * text.C:
79         * text2.C:
80         * text3.C: more IU:  dumps most of the rest of the mathcursor
81     implementation into cursor.[Ch]; "globalize" a bit of it.
82
83 2004-01-25  Angus Leeming  <leeming@lyx.org>
84
85         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
86
87 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * LaTeXFeatures.h: add nice_ and nice() const
90         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
91
92 2004-01-20  André Pönitz  <poenitz@gmx.net>
93
94         * BufferView.[Ch]:
95         * BufferView_pimpl.C:
96         * PosIterator.C:
97         * bufferview_funcs.C:
98         * cursor.[Ch]:
99         * cursor_slice.[Ch]:
100         * factory.C:
101         * iterators.C:
102         * lyx_cb.C:
103         * lyxfind.C:
104         * lyxfunc.C:
105         * lyxtext.h:
106         * rowpainter.C:
107         * text.C:
108         * text2.C:
109         * text3.C:
110         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
111           LCursor and mathcursor parts to LCursor and InsetBase.
112
113 2004-01-15  André Pönitz  <poenitz@gmx.net>
114
115         * cursor_slice.[Ch]: add a few covienience functions
116
117         * funcrequest.[Ch]: remove BufferView * member
118
119         * BufferView_pimpl.C:
120         * cursor.C:
121         * factory.[Ch]:
122         * lyxfind.[Ch]:
123         * lyxfunc.C:
124         * lyxtext.h:
125         * text3.C:
126         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
127
128 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
129
130         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
131         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
132
133 2004-01-13  André Pönitz  <poenitz@gmx.net>
134
135         * textcursor.[Ch]:
136         * lyxtext.h: hide cursor and selection anchor behind accessor function
137
138         * BufferView.C:
139         * BufferView_pimpl.[Ch]:
140         * PosIterator.C:
141         * bufferview_funcs.C:
142         * cursor.h:
143         * lyxfind.C:
144         * lyxfunc.C:
145         * text.C:
146         * text2.C:
147         * text3.C:
148         * undo.C: adjust
149
150         * cursor.h:
151         * cursor_slice.[Ch]: some integer type changes for inset unification
152
153         * lyxcursor.[hC]: remove, it's CursorSlice now.
154
155         * Makefile.am:
156         * BufferView_pimpl.[Ch]:
157         * bufferview_funcs.C:
158         * cursor_slice.C:
159         * lyxtext.h:
160         * text.C:
161         * text2.C:
162         * text3.C:
163         * textcursor.[Ch]: adjust
164
165 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * text2.C (undoSpan): add and use
168         * text.C (breakParagraph): use undoSpan (fix bug 578)
169         * lyxtext.h: adjust
170
171 2004-01-08  Angus Leeming  <leeming@lyx.org>
172
173         * BufferView_pimpl.C (MenuInsertLyXFile):
174         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
175         * lyxfunc.C (menuNew, open, doImport):
176         FileFilterList change to the FileDialog open and save functions.
177
178 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * ShareContainer.h: make isEqual and isUnique adaptable
181
182         * CutAndPaste.C: make resetOwnerAndChanges adaptable
183
184 2004-01-07  Angus Leeming  <leeming@lyx.org>
185
186         * LyXAction.C:
187         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
188
189         * BufferView_pimpl.C (dispatch): act on these LFUNs.
190
191         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
192         functions replacing find, replace and replaceAll.
193
194         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
195         LFUN_WORDFIND(FORWARD|BACKWARD).
196
197 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * text.C (breakParagraph): remove an outdated #warning
200
201 2004-01-07  André Pönitz  <poenitz@gmx.net>
202
203         * lyxfind.C: somewhat clearer logic
204
205         * text.C: prevent crash in cursorX on unitialized row cache
206
207 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
208
209         * lyxcursor.[Ch] (operator>): add
210         * textcursor.C (selStart, selEnd): use std::min and std::max
211
212 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
213
214         * Chktex.C: include boost/format.hpp
215
216 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
217
218         * InsetList.C: replace functor MathcIt with adaptable functor
219         InsetTablePosLess
220         (insetIterator): modify accordingly
221
222         * BranchList.h: move the BranchNamesEqual functor here from...
223         * BranchList.C: ... to here
224
225         * BranchList.C: new BranchListEqual fuctor, use it. Remove
226         SameName and match.
227         (add): replace a finding loop with std::find_if.
228
229 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
230
231         * output_docbook.C: moving LatexParam functionality into
232         .layout files
233
234 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
235
236         * buffer.C: increment format to 229.
237
238 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
239
240         * LaTeXFeatures.C:
241         * lyx_sty.[Ch]: remove minipageindent_def
242
243         * LyXAction.C:
244         * factory.C:
245         * lfuns.h:
246         * lyxfunc.C:
247         * text3.C: remove LFUN_INSET_MINIPAGE
248
249 2003-12-28  Angus Leeming  <leeming@lyx.org>
250
251         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
252
253 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
254
255         * text2.C (setParagraph): fix off-by-one crash
256
257 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
258
259         * output_docbook.C: header stuff for AGU
260
261 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
262
263         * text2.C (redoCursor): remove
264         * text.C:
265         * text3.C:
266         * BufferView_pimpl.C: remove calls to redoCursor and
267         setCursor(cursor.par(), cursor.pos()) all around
268
269 2003-12-15  Angus Leeming  <leeming@lyx.org>
270
271         * buffer.C: up the format to 228.
272
273 2003-12-15  André Pönitz  <poenitz@gmx.net>
274
275         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
276         slices
277
278         * Makefile.am:
279
280         * BufferView_pimpl.C:
281         * cursor.[Ch]:
282         * lyxcursor.[Ch]:
283         * rowpainter.[Ch]:
284         * lyxtext.h:
285         * text.C:
286         * text2.C:
287         * text3.C: adjust
288
289 2003-12-15  Angus Leeming  <leeming@lyx.org>
290
291         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
292         than getFromGUIName to manipulate the color.
293
294 2003-12-14  Angus Leeming  <leeming@lyx.org>
295
296         * BranchList.[Ch]: minimize the API.
297         (Branch::getBranch, getColor): now return a 'const &'.
298         (Branch::setSelected) now returns a bool set to true if the
299         selection status changes.
300         (BranchList::clear, size, getColor, setColor, setSelected,
301         allBranches, allSelected, separator): removed.
302         (BranchList::find): new functions, returning the Branch with
303         the given name.
304         (BranchList::add, remove): return a bool indicating that
305         the operation was successful.
306
307         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
308         new InsetBranch::isBranchSlected member function.
309
310         * LColor.[Ch]: mimimize the API.
311         (fill): renamed as addColor and made private.
312         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
313         versions of these functions taking a string arg have been removed.
314
315         * bufferparams.C (readToken):
316         * lyxfunc.C (dispatch):
317         * lyxrc.C (read): changes due to the altered BranchList and
318         LColor APIs.
319
320         * factory.C (createInset, readInset): changes due to altered
321         InsetBranch c-tor.
322
323 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
324
325         * factory.C:
326         * lyxfunc.C: remove insetminipage. "minipage-insert"
327         now produces a frameless minipage box inset.
328
329 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * textcursor.[Ch] (selStart,selEnd): add new methods
332         remove selection::start, end, use LyXCursor::operator<
333         * lyxcursor.[Ch] (operator<): add
334         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
335         * BufferView.[Ch] (unsetXSel): add
336         * text2.C (clearSelection): use unsetXSel,adjust
337         * text.C: adjust
338         * text3.C: adjust
339         * rowpainter.C: adjust
340         * bufferview_funcs.C (put_selection_at): adjust
341
342 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
343
344         * BufferView_pimpl.C: small coord. correction
345
346 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
349         dragging over the splash screen.
350
351 2003-12-11  Angus Leeming  <leeming@lyx.org>
352
353         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
354         as it is now handled in LyXText::dispatch.
355
356         * text3.C (doInsertInset): remove a level of nesting.
357
358 2003-12-11  Angus Leeming  <leeming@lyx.org>
359
360         * factory.C (createInset): changes due to the changed interface to
361         InsetCommandMailer::string2params.
362
363 2003-12-10  Angus Leeming  <leeming@lyx.org>
364
365         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
366         'dialog-show-new-inset <inset name>'
367
368 2003-12-10  Angus Leeming  <leeming@lyx.org>
369
370         * buffer.C: up the format to 227.
371
372         * factory.C: the box inset is now identified simply by 'Box'.
373
374 2003-12-10  Angus Leeming  <leeming@lyx.org>
375
376         * buffer.C: up the format to 226.
377
378         * factory.C: the note inset is now identified simply by 'Note'.
379
380 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
381
382         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
383         when a pit is enough. Standarize a couple of loops.
384
385 2003-12-05  Angus Leeming  <leeming@lyx.org>
386
387         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
388         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
389         data to the re-worked "log" dialog.
390
391 2003-12-03  André Pönitz  <poenitz@gmx.net>
392
393         * PosIterator.C:
394         * iterators.C:
395         * lyxtext.h:
396         * output_latex.C:
397         * paragraph_funcs.C:
398         * text.C:
399         * text2.C: use Inset::getText instead of Inset::getParagraph
400
401 2003-12-03  André Pönitz  <poenitz@gmx.net>
402
403         * buffer.[Ch]:
404         * lyxtext.h:
405         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
406         InsetText::read() as LyXText::read()
407
408 2003-12-02  Angus Leeming  <leeming@lyx.org>
409
410         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
411         type. Add a comment in the implementation that the function uses
412         the stream's bad() function rather than fail() as the std::streams
413         would do.
414
415 2003-12-02  André Pönitz  <poenitz@gmx.net>
416
417         * lyxlex.[Ch]: make interface more similar to std::stream
418
419         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
420
421 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
424
425 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
426
427         * vspace.[Ch]: remove VSpace::NONE
428
429 2003-12-01  André Pönitz  <poenitz@gmx.net>
430
431         * buffer.[Ch]:
432         * lyxtext.h: move ParagraphList member to LyXText
433         rename LyXText::ownerParagraphs to LyXText::paragraph
434
435         * CutAndPaste.C:
436         * bufferview_funcs.C:
437         * iterators.[Ch]:
438         * lyx_cb.C:
439         * paragraph.C:
440         * rowpainter.C:
441         * tabular.C:
442         * text.C:
443         * text2.C:
444         * text3.C: adjust
445
446         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
447
448         * undo.C: fix cursor positioning
449
450 2003-12-01  John Levon  <levon@movementarian.org>
451
452         * BufferView_pimpl.C: fix a crash on exit with
453         a buffer open
454
455 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * BranchList.C: fix setSelected() method.
458
459 2003-11-28  André Pönitz  <poenitz@gmx.net>
460
461         * ParagraphParameters.[Ch]:
462         * ParameterStruct.h: remove space above/below from Paragraph to
463          InsetVSpace
464
465         * BufferView_pimpl.C:
466         * factory.C:
467         * lyxfunc.C:
468         * lyxtext.h:
469         * output_latex.C:
470         * paragraph.C:
471         * paragraph_funcs.C:
472         * rowpainter.[Ch]:
473         * text.C:
474         * text2.C:
475         * text3.C: adjust
476
477 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
478
479         * factory.C: Syntax change for CharStyles
480
481 2003-11-28  André Pönitz  <poenitz@gmx.net>
482
483         * BufferView.[Ch]:
484         * BufferView.[Ch]:
485         * buffer.[Ch]:
486         * buffer.[Ch]: move LyXText member
487
488 2003-11-28  André Pönitz  <poenitz@gmx.net>
489
490         * BufferView.[Ch]: make LyXText * text a private member
491
492         * BufferView_pimpl.C:
493         * cursor.C:
494         * iterators.C:
495         * lyx_cb.C:
496         * lyxfind.C:
497         * lyxtext.h:
498         * rowpainter.[Ch]:
499         * text.C:
500         * text2.C:
501         * undo.C: adjust
502
503         * output_plaintext.C: cleanup
504
505 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * buffer.C:
508         * lyxtextclass.[Ch]: parametrize SGML document header
509
510 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * converter.[Ch]:
513         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
514         getFlavor().
515
516 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
517
518         * text2.C (setFont): rework using PosIterator (no more recursive)
519         (setCharFont): no more needed
520         (setLayout): no more selection cursors fiddling (done by redoCursor)
521         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
522         destroy remaining ones)
523
524 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
527         * lyxtext.h: ditto
528         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
529         selection cursors
530         * lyxfunc.C: adjust
531         * text3.C: adjust + re-allow multi par depth changes
532         * textcursor.C: simplify a bit
533
534 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * src/buffer.C:
537         * src/lyxlayout.C:
538         * src/lyxlayout.h:
539         * src/lyxtext.h:
540         * src/output_docbook.C:
541         * src/output_latex.C:
542         * src/paragraph.C:
543         * src/paragraph.h:
544         * src/sgml.C:
545         * src/sgml.h:
546         * src/text2.C: Introducing a number of tags parametrizing various
547         XML formats that we may want to support
548
549 2003-11-25  André Pönitz  <poenitz@gmx.net>
550
551         * InsetList.[Ch] (begein, end): inline as suggested by profiler
552
553         * lyxtext.h (leftMargin/rightMargin): simplify interface
554
555         * rowpainter.C:
556         * text.C:
557         * text2.C:
558         * text3.C: adjust
559
560 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * lyxfunc.C (dispatch): propogate the bibtex databases from the
563         master file to any child files. Fixes bug 546.
564
565 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
568
569 2003-11-24  André Pönitz  <poenitz@gmx.net>
570
571         * rowpainter.C: simplification
572
573         * text2.C (updateCounters): remove call to redoParagraph on
574         changed labels as this is far too expensive.
575
576 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * converter.C (convert): fix a crash: this function gets
579         called with buffer == 0 from importer code.
580
581 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
582
583         * text3.C (cursorPrevious): make sure that we do not compare
584         iterators form different containers.
585         (cursorNext): ditto
586
587         * rowpainter.C (paintSelection): make sure that we do not compare
588         iterators from different containers.
589
590         * text3.C (dispatch): [PRIOR] make sure that we do not compare
591         iterators from different ParagraphList containers.
592         [NEXT] ditto
593
594         * text2.C (LyXText): change order of initialization slightly
595         (operator=): new function. copy all variables except cache_par_
596         (moveUp): make sure that we do not compare iterators from
597         different ParagraphList constainers.
598         (moveDown): ditto
599
600         * text.C (firstPar): new function
601         (lastPar): new function
602         (endPar): new function
603
604         * lyxtext.h: move things around and group public functions, public
605         variables, private functions, private variables
606
607 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
608
609         * factory.C: change call to InsetERT constructor to avoid
610         additional invocation of method status
611         * text2.C (toggleInset): remove redundant update() call
612         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
613         instead of a Bufferview pointer
614
615 2003-11-21  André Pönitz  <poenitz@gmx.net>
616
617         * rowpainter.C: simplification
618
619 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
620
621         * text3.C (dispatch): make possible to extend a word/row selection
622         with the mouse
623
624 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
625
626         * lyxtext.h: x0_,y0_ -> xo_,yo_
627         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
628         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
629         * rowpainter.C (paintRows): paint full paragraphs
630
631 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
634         screen coordinates)
635
636 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
637
638         * lyxtext.h: add x0_, y0_
639         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
640         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
641
642 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
643
644         * text2.C (setCursorIntern): move the x_target update here *
645         * text3.C: change some bv() to true/false in calls to
646         cursorUp/Down/Right/Left
647         * cursor.C: use helper function.
648
649 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
650
651         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
652         * paragraph_funcs.[Ch]: correct comment
653         * rowpainter.C: do not paint selections away from bv->cursor()
654         Fix a long standing selection painting bug.
655         * text3.C: generalize mouse-selection code to LyXTexts other that
656         top one
657         * textcursor.C: do not use y coords if we can use par offsets
658
659 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
660
661         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
662         cursor position after e.g. inset insert)
663
664 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
665
666         * lyxfind.C (replace): adjust to locking removal + some
667         code simplification
668
669 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
672         of the path
673
674 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
675
676         * lyxlayout.[Ch]:
677         * output_docbook.C: XML sanitation: new layout
678         parameters InnerTag and CommandDepth
679
680 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
681
682         * BufferView_pimpl.C:
683         * factory.C:
684         * text3.C: Fix the insertion and modification of button-style
685         insets
686
687 2003-11-13  André Pönitz  <poenitz@gmx.net>
688
689         * InsetList.[Ch]: remove deleteLyXText
690
691         * paragraph.[Ch]: cache beginOfBody position
692
693         * Bidi.C:
694         * text.C:
695         * text2.C:
696         * text3.C: remove superfluous update() calls
697
698         * vspace.C: cleanup
699
700 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
703         * BufferView.C (fitLockedInsetCursor): remove
704         * cursor.[Ch] (getDim): add
705         * text.C (getRowNearY): add faster version
706         * text3.C: remove some update calls
707
708 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
709
710         * LaTeXFeatures.C:
711         * LyXAction.C:
712         * MenuBackend.C:
713         * MenuBackend.h:
714         * dispatchresult.h:
715         * factory.C:
716         * lfuns.h:
717         * lyxfunc.C:
718         * lyxtextclass.C:
719         * lyxtextclass.h:
720         * text3.C: The Character Style /XML short element patch.
721
722 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * text3.C:
725         * factory.C: Small step to solving 'unable to insert some insets'
726         problem
727
728 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
729
730         * cursor.[Ch] (updatePos): new function for updating the y
731         position of the tip inset
732         * bufferview_funcs.C (put_selection_at):
733         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
734
735 2003-11-11  André Pönitz  <poenitz@gmx.net>
736
737         * text.C: remove big comment on invalid Paragraph pointers as it is
738         not valid anymore
739
740 2003-11-11  André Pönitz  <poenitz@gmx.net>
741
742         * text_funcs.[Ch]: merge with ...
743
744         * text.C: ... this
745
746         * lyxtext.h:
747         * text2.C:
748         * text3.C: adjust
749
750         * Makefile.am: remove text_funcs.[Ch]
751
752 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
753
754         * cursor.C (getPos): return absolute cached y coord
755
756         * BufferView_pimpl.C (fitCursor): new simplistic code
757         (workAreaDispatch): add a fitCursor call
758
759 2003-11-10  André Pönitz  <poenitz@gmx.net>
760
761         * BufferView.[Ch]:
762         * BufferView_pimpl.[Ch]: merge update() and updateInset()
763
764 2003-11-10  André Pönitz  <poenitz@gmx.net>
765
766         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
767         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
768         indicate that the cursor needs to leave an inset
769
770         * lyxtext.h: remove inset locking
771
772         * cursor.[Ch]: re-implement functionality provided by inset locking
773
774         * BufferView.[Ch]:
775         * BufferView_pimpl.[Ch]:
776         * LyXAction.C:
777         * bufferview_funcs.[Ch]:
778         * factory.C:
779         * funcrequest.[Ch]:
780         * iterators.C:
781         * lyx_cb.C:
782         * lyxfind.C:
783         * lyxfunc.C:
784         * text.C:
785         * text2.C:
786         * text3.C:
787         * undo.C: adjust
788
789 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
790
791         * PosIterator.[Ch]: replace the stack with a vector, add inset
792         accesor
793         * iterators.[C]: adjust
794
795 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
796
797         * lyxfind.C (replaceAll): mark the buffer dirty if something was
798         replaced
799         * paragraph_funcs.C (readParToken): put the correct id in the
800         error item, not the id of the top paragraph
801
802 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
803
804         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
805         * bufferview_funcs.C (put_selection_at): use the above
806
807 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
808
809         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
810
811 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * output_linuxdoc.h:
814         * output_plaintext.h:
815         * output.h:
816         * output_docbook.h: add #include statements
817
818 2003-11-05  José Matos  <jamatos@lyx.org>
819
820         * output_docbook.[Ch]:
821         * output_latex.[Ch]:
822         * output_linuxdoc.[Ch]:
823         * output_plaintext.[Ch]: New files for output formats.
824         * output.[Ch]: New file for helper functions.
825
826         * buffer.[Ch]:
827         * paragraph_funcs.[Ch]: output functions moved to new files.
828
829         * outputparams.h: rename of latexrunparams.h
830
831         * LaTeX.[Ch]:
832         * buffer.[Ch]:
833         * bufferlist.[Ch]:
834         * converter.[Ch]:
835         * exporter.C:
836         * paragraph.[Ch]:
837         * paragraph_funcs.[Ch]:
838         * paragraph_pimpl.[Ch]:
839         * tabular.[Ch]: rename ascii to plaintext
840         and LatexRunParams to OutputParams.
841
842 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
843
844         * iterators.[Ch] (text): require bv argument
845         * undo.C (recordUndo):
846         * lyxfunc.C (dispatch):
847         * bufferview_funcs.C (put_selection_at): adjust
848
849 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
850
851         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
852
853 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
854
855         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
856         nestings
857
858 2003-11-04  André Pönitz  <poenitz@gmx.net>
859
860         * cursor.[Ch]: restructure
861
862         * BufferView.[Ch]:
863         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
864
865         * iterators.[Ch] (asCursor): remove
866
867         * lfuns.h: remove LFUN_INSET_EDIT
868
869         * lyxfunc.C:
870         * tabular.C:
871         * text.C:
872         * text2.C:
873         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
874
875 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
876
877         * lyxfind.[Ch]: complete overhaul
878         * BufferView_pimpl.C:
879         * lyxfunc.C: adjust
880         * paragraph.[Ch] (insert): add
881
882 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
883
884         * BufferView.[Ch]:
885         * lyxtext.h:
886         * text.C: remove dead spellcheck code
887
888 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
889
890         * dispatchresult.h: add a val setter
891
892         * cursor.C (dispatch): use a tempvar for data_[i]
893
894 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
895
896         * PosIterator.[Ch]: compile fix
897
898 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
899
900         * text.C (cursorPar): deactivate the cursor cache
901
902 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
903
904         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
905
906 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * text3.C (dispatch): adjust for new DisptchResult semantics.
909
910         * lyxfunc.C (dispatch): handle update when return from
911         Cursor::dispatch, adjust for new DispatchResult semantics.
912
913         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
914         DispatchResult(true) mean to not update. Add class functions for
915         setting dispatched and update, as well as reading.
916
917         * cursor.C (dispatch): don't handle update here
918
919 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
922         * trans_mgr.C: adjust
923
924         * paragraph_funcs.C (readParToken): exception safety
925
926         * lyxvc.h: store the vcs pointer in a scoped_ptr
927         * lyxvc.C: adjust
928
929         * lyxsocket.C (serverCallback): exception safety
930
931         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
932
933         * ispell.C (clone): make it return a auto_ptr
934
935         * factory.C (createInset): exception safety
936         (readInset): exception safety
937
938         * bufferlist.C (newBuffer): exception safety
939
940         * Thesaurus.C (Thesaurus): use initialization for aik_
941
942         * MenuBackend.C (expandToc): exception safety.
943
944 2003-11-03  André Pönitz  <poenitz@gmx.net>
945
946         * buffer.C:
947         * buffer.h:
948         * bufferview_funcs.C: remove getInsetFromId()
949
950         * lyxcursor.[Ch]:
951         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
952
953         * lyxfunc.C:
954         * text2.C:
955         * text3.C: adjust
956
957 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
958
959         * PosIterator.C (distance, advance): new
960         * bufferview_funcs.[Ch] (put_selection_at): new
961         * iterators.[Ch] (lockPath): new
962
963 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
964
965         * iterators.[Ch] (asPosIterator): added
966         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
967         * PosIterator.[Ch]: added
968
969 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
970
971         * text3.C:
972         * lyxfunc.C:
973         * cursor.C (dispatch):
974         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
975
976         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
977         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
978         contructor, add a class function dispatched. Remove operator>=
979
980 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
981
982         * debug.C: only use the default constructor for debugstream
983         (lyxerr) here.
984
985         * main.C (main): include debug.h and setup the lyxerr streambuf
986         here.
987
988 2003-10-31  José Matos  <jamatos@lyx.org>
989
990         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
991
992         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
993         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
994         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
995         * paragraph_pimpl.C (simpleTeXSpecialC):
996         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
997         add LatexRunParams argument.
998
999         * exporter.C (Export): change call accordingly.
1000
1001         * latexrunparams.h: add new member to take care of the other backends.
1002 2003-10-30  José Matos  <jamatos@lyx.org>
1003
1004         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1005         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1006         factorise code for paragraph output.
1007         * buffer.[Ch]:
1008         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1009         move functions.
1010
1011 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1012
1013         * text3.C (dispatch):
1014         * lyxfunc.C (dispatch):
1015         * cursor.C (dispatch):
1016         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1017
1018         * dispatchresult.h: make the dispatch_result_t ctor explicit
1019
1020 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * sgml.[Ch]:
1023         * buffer.C: small refactoring of docbook stuff
1024
1025 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1028         meaning.
1029
1030 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1033         operator dispatch_result_t, and operators for == != and >=
1034
1035         * cursor.C (dispatch): adjust for operator dispatch_result_t
1036         removal. comment out call to update
1037
1038         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1039
1040 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1041
1042         * text3.C:
1043         * text2.C:
1044         * text.C:
1045         * lyxtext.h:
1046         * lyxfunc.C:
1047         * cursor.C:
1048         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1049         (dispatch):
1050
1051         * dispatchresult.h: new file, DispatchResult broken out of
1052         insets/insetbase.h
1053
1054         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1055
1056 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1057
1058         * text.C (rowBreakPoint): put a hack inside #if 0
1059
1060 2003-10-28  André Pönitz  <poenitz@gmx.net>
1061
1062         * lyxtext.h:
1063         * metricsinfo.C:
1064         * paragraph_funcs.C:
1065         * rowpainter.C:
1066         * text.C:
1067         * text2.C: general cleanup (lots of small stuff)
1068
1069 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1070
1071         * text2.C (cursorEnd): simple fix to the "end key goes to one
1072         before the end on last row" bug
1073
1074 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * text.C (backspace): fix the "zombie characters"
1077
1078 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1079
1080         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1081
1082 2003-10-27  André Pönitz  <poenitz@gmx.net>
1083
1084         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1085
1086         * factory.C: handle new InsetPagebreak, InsetLine
1087
1088         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1089         and move handling into new InsetPagebreak, InsetLine
1090
1091         * BufferView_pimpl.C:
1092         * LyXAction.C:
1093         * ParagraphParameters.C:
1094         * ParameterStruct.h:
1095         * lyxfunc.C:
1096         * lyxtext.h:
1097         * paragraph.C:
1098         * paragraph.h:
1099         * paragraph_funcs.C:
1100         * paragraph_pimpl.C:
1101         * rowpainter.C:
1102         * text.C:
1103         * text2.C:
1104         * text3.C: adjust
1105
1106 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1107
1108         * text.C:
1109         * lyxrow_funcs.[Ch]:
1110         * Bidi.C:
1111         * paragraph.C:
1112         * lyxtext.h:
1113         * rowpainter.C:
1114         * text2.C:
1115         * text3.C: remove lastPos uses in favour of Row::endpos
1116
1117 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1118
1119         * undo.C (performUndoOrRedo): fix two crashes by setting a
1120         cursor by hand and reordering some calls. Use bv->lockInset instead
1121         of inset->edit because the latter loses cursor information
1122
1123 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1124
1125         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1126         by Martin
1127         (rowBreakPoint): fix width. change point to point + 1.
1128         Add a missing check.
1129
1130 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * MenuBackend.C:
1133         * lyxfunc.C: fix (at least partly) the problems
1134         with the Nav menu and headers inside branch insets
1135         reported by Kayvan
1136
1137 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * paragraph.C (getChar): add strong asserts
1140
1141         * lyxrow_funcs.C (lastPos): remove hideous hack
1142
1143         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1144         (fill): adjust to that (avoid an infinite loop)
1145
1146 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1149
1150 2003-10-23  André Pönitz  <poenitz@gmx.net>
1151
1152         * RowList_fwd.h: change list<> to vector<> to gain speed
1153         after suggestion from Alfredo
1154
1155 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * lyxtext.h: move the bidi stuff from here...
1158         * text.C: and here
1159         * text2.C: and here
1160         * Bidi.[Ch]: ... to here
1161
1162 2003-10-23  André Pönitz  <poenitz@gmx.net>
1163
1164         * lyxtext.h:
1165         * text.C (isLastRow, isFirstRow): new functions
1166
1167         * paragraph.h: new width cache member
1168
1169         * rowpainter.C: replace RowList::iterator with Row & where possible
1170
1171         * lyxfunc.C: replace several view()->text with a single call
1172
1173         * toc.C: fix 'unused' warning
1174
1175 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1176
1177         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1178         when woring with stream::pos_type
1179         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1180
1181 2003-10-22  André Pönitz  <poenitz@gmx.net>
1182
1183         * lyxtext.h:
1184         * text.C: use Row & instead of RowList::iterator
1185
1186         * lyxrow.h: rename end() to endpos()
1187
1188         * rowpainter.C:
1189         * text.C:
1190         * text2.C: adjust
1191
1192 2003-10-22  Angus Leeming  <leeming@lyx.org>
1193
1194         * buffer.[Ch] (fully_loaded): new member function, returning true
1195         only when the file has been loaded fully.
1196         Used to prevent the premature generation of previews and by the
1197         citation inset to prevent computation of the natbib-style label.
1198
1199         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1200         templates are all set up.
1201
1202         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1203
1204 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1205
1206         * text.C: fixed an "oops" in the "is a bit silly"
1207         bug fix
1208
1209 2003-10-21  André Pönitz  <poenitz@gmx.net>
1210
1211         * FuncStatus.[Ch]: small stuff, whitespace
1212
1213         * lyxfont.[Ch]: operator<<() for debug reasons
1214
1215         * lyxfunc.C:
1216         * lyxrow_funcs.C:
1217         * lyxtext.h: whitespace, spelling
1218
1219         * paragraph.C: naming of variables
1220
1221         * text.C:
1222         * text2.C: small stuff
1223
1224
1225 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * text.C: (1) finish off the inset display() work;
1228         (2) fix the "is a bit silly" bug (accessing char
1229         past end of par).
1230
1231 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1232
1233         * text.C: re-introduce display() for insets, fixing the
1234         various bugs (stretch of line above, math inset
1235         positioning, ...)
1236
1237 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * text.C (rightMargin): remove spurious semicolon
1240
1241         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1242         1415)
1243
1244 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1245
1246         * text3.C: fix one crash due to wrong cursor def
1247
1248 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1249
1250         * vc-backend.C (scanMaster): make the regex static
1251
1252         * LaTeX.C (scanAuxFile): make the regexs static
1253
1254         * text3.C (doInsertInset, dispatch, dispatch):
1255         * text2.C (cursorUp, cursorDown):
1256         * text.C (selectNextWordToSpellcheck):
1257         * BufferView_pimpl.C (dispatch):
1258         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1259
1260 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * lyxsocket.C: include <cerrno>
1263
1264 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1265
1266         * lyxfunc.C (dispatch): remove textcache stuff
1267
1268         * bufferlist.C (release): remove textcache stuff
1269         (closeAll): ditto
1270
1271         * TextCache.C: delete file
1272         * TextCache.h: delete file
1273
1274         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1275
1276         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1277         delete of the bv_->text.
1278         (resizeCurrentBuffer): remove texcache stuff
1279         (workAreaResize): ditto
1280
1281 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1284         action.
1285
1286 2003-10-16  André Pönitz  <poenitz@gmx.net>
1287
1288         * lyxrow.[Ch]:
1289         * paragraph.h:
1290         * rowpainter.C:
1291         * text.C:
1292         * text2.C:
1293         * text3.C: speed up by storing y positions per paragraph plus per-row
1294         offset instead of having a 'full' y position in the row.
1295
1296 2003-10-15  André Pönitz  <poenitz@gmx.net>
1297
1298         * iterators.[Ch]:
1299         * iterators.[Ch]:
1300         * undo.[Ch]: make undo aware of inner insets
1301
1302 2003-10-14  Angus Leeming  <leeming@lyx.org>
1303
1304         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1305         static member functions LyX::ref() and LyX::cref.
1306         (lastfiles): new accessor functions for the new lastfiles_ member var.
1307         (addLyXView, views_): add a new LyXView to the list of views_.
1308         (updateInset): loop over all LyXViews to call their own updateInset
1309         member function, returning a pointer to the Buffer owning the inset.
1310
1311         * BufferView_pimpl.C (loadLyXFile):
1312         * MenuBackend.C (expandLastfiles):
1313         * bufferlist.C (MenuWrite, QuitLyX):
1314         lastfiles is no longer a global variable.
1315         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1316
1317         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1318         static function. Access through LyX::cref().emergencyCleanup().
1319
1320 2003-10-14  André Pönitz  <poenitz@gmx.net>
1321
1322         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1323
1324         * undo.[Ch]: restoring part of 'undo in insets'
1325
1326         * Makefile.am:
1327         * undo_funcs.[Ch]: merge with undo.[Ch]
1328
1329         * tabular.C: small cleansing stuff
1330
1331 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1332
1333         * paragraph_funcs.C (readParToken): report unknown insets as error
1334         boxes. Use the outer paragraph as location (also for unknown
1335         tokens).
1336
1337         * factory.C (readInset): do not abort on reading an unknown inset.
1338         Eat it and return 0.
1339
1340 2003-10-13  Angus Leeming  <leeming@lyx.org>
1341
1342         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1343
1344         * lyxrc.C: displayTranslator is now a function,
1345         declared in GraphicsTypes.h.
1346
1347 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1348
1349         * format.C: new placeholder $$a to pass the socket address.
1350
1351         * bufferlist.[Ch]: new function getBufferFromTmp.
1352
1353         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1354           files in the temporary dir.
1355
1356 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1357
1358         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1359
1360         * Makefile.am: add lyxsocket.[Ch].
1361
1362         * lyx_main.C (error_handler): handle SIGPIPE.
1363
1364 2003-10-13  André Pönitz  <poenitz@gmx.net>
1365
1366         * BufferView_pimpl.C:
1367         * lyxtext.h:
1368         * text.C:
1369         * text2.C:
1370         * text3.C:
1371         * undo_funcs.[Ch]: use paroffset_type instead of
1372           ParagraphList::iterators to prevent multiple conversion
1373           (and get a more robust interface)
1374
1375 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1376
1377         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1378         * lyxtext.h: ditto
1379         * text3.C (dispatch): ditto
1380
1381 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1384         move the onlyfile, use onlyfile instead of foundfile in a couple
1385         of places.
1386
1387         * DepTable.C (update): flush the error stream a bit more
1388
1389 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * lyxserver.C (callback): adjust
1392
1393         * lyxfunc.C (getStatus): add a missing brace in commented code
1394         (ensureBufferClean): reindent
1395         (dispatch): delete version taking a string
1396
1397 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1398
1399         * LaTeX.C (deplog): move found file handlig from here...
1400         (handleFoundFile): .. to new function here.
1401         (deplog): make sure to discover several files mentioned on the
1402         same log line.
1403
1404 2003-10-10  André Pönitz  <poenitz@gmx.net>
1405
1406         * lyxfunc.C:
1407         * lyxtext.h:
1408         * tabular.C:
1409         * text.C:
1410         * text2.C:
1411         * text3.C: fix some of the tabular crashes
1412
1413 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1414
1415         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1416
1417         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1418
1419 2003-10-09  André Pönitz  <poenitz@gmx.net>
1420
1421         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1422
1423         * BufferView.C:
1424         * BufferView_pimpl.C:
1425         * bufferview_funcs.C:
1426         * lyx_cb.C:
1427         * lyxcursor.C:
1428         * lyxfind.C:
1429         * lyxfunc.C:
1430         * lyxtext.h:
1431         * text.C:
1432         * text2.C:
1433         * text3.C:
1434         * text_funcs.[Ch]:
1435         * textcursor.[Ch]:
1436         * undo_funcs.C: adjust
1437
1438 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1439
1440         * text2.C (incrementItemDepth): new function, use a backtracking
1441         algorithm to discover the correct item depth.
1442         (resetEnumCounterIfNeeded): new function, use a backtracking
1443         algorithm to discover if counter reset is needed.
1444         (setCounter): use them. Simplify a bit. Add different labels for
1445         different item depths for itemize.
1446
1447         * paragraph.C (Paragraph): remove initialization of enumdepth
1448         (operator=): ditto
1449
1450         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1451         enumerate and itemize. Change the type of itemdepth to signed char.
1452
1453 2003-10-08  André Pönitz  <poenitz@gmx.net>
1454
1455         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1456           thing assignable.
1457         * text.C:
1458         * text2.C: adjust
1459
1460         * tabular.[Ch]: fix crash after 'row-insert'
1461
1462 2003-10-08  Angus Leeming  <leeming@lyx.org>
1463
1464         Fix doxygen warnings.
1465
1466         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1467         Remove CutAndPaste:: prefix from header file declaration.
1468
1469         * LColor.h (fill): remove LColor:: prefix from declaration.
1470
1471         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1472         use lyx::depth_type rather than Paragraph::depth_type so that
1473         header file and .C file match.
1474
1475         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1476
1477         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1478         * aspell.C: \file aspell_local.C -> \file aspell.C
1479         * gettext.C: \file gettext.C -> \file src/gettext.C
1480         * gettext.h: \file gettext.h -> \file src/gettext.h
1481         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1482         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1483         * text.C: \file text.C -> \file src/text.C
1484
1485         * toc.C: move comment so that doxygen is not confused.
1486
1487 2003-10-07  Angus Leeming  <leeming@lyx.org>
1488
1489         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1490
1491 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492
1493         * aspell.C:
1494         * aspell_local.h: add forgotten std::string's.
1495
1496 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1497
1498         * LaTeXFeatures.C:
1499         * LyXAction.C:
1500         * factory.C:
1501         * lfuns.h:
1502         * lyxfunc.C:
1503         * text3.C: The Box patch. Fancybox support, minipage, parbox
1504
1505 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1506
1507         * CutAndPaste.h:
1508         * DepTable.h:
1509         * FloatList.h:
1510         * LaTeXFeatures.h:
1511         * ParagraphParameters.h:
1512         * TextCache.h:
1513         * Thesaurus.h:
1514         * bufferlist.h:
1515         * exporter.h:
1516         * importer.h:
1517         * lastfiles.h:
1518         * lyxfind.h:
1519         * lyxfont.h:
1520         * lyxlex.h:
1521         * lyxtextclasslist.h:
1522         * messages.h:
1523         * paragraph.h:
1524         * paragraph_pimpl.C:
1525         * textcursor.h: add <string> and other small fixes to make Lars'
1526         std::string patch compile with STLport.
1527
1528 2003-10-06  Angus Leeming  <leeming@lyx.org>
1529
1530         * LColor.h: Add missing #include <string>.
1531
1532 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1533
1534         * All most all file in all subdirs: Make <string> be the prefered
1535         way of getting to std::string, add using declarations.
1536
1537 2003-10-06  André Pönitz  <poenitz@gmx.net>
1538
1539         * metricsinfo.C: initialize LyXFont before changing attribute.
1540         (fixes the 'math in \emph is upright' bug)
1541
1542 2003-10-06  André Pönitz  <poenitz@gmx.net>
1543
1544         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1545
1546 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1547
1548         * graph.C:
1549         * paragraph_pimpl.C: Small fixes to build using STLport
1550
1551 2003-10-02  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxfunc.C:
1554         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1555
1556 2003-10-01  André Pönitz  <poenitz@gmx.net>
1557
1558         * factory.C: assert early
1559
1560 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1561
1562         * lyx_main.C: remove the global debug object
1563
1564         * debug.h: adjust for new debugstream
1565
1566         * debug.C: adjust for new debugstream and keep the global debug
1567         object here.
1568
1569 2003-09-22  Angus Leeming  <leeming@lyx.org>
1570
1571         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1572         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1573         an incomplete class LyXFont.
1574
1575 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1576
1577         * factory.C: bug fix in branches
1578
1579 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1580
1581         * lyxfunc.C (processKeySym): adjust
1582         (dispatch): adjust
1583         (dispatch): change arg name from ev to func, adjust
1584         (sendDispatchMessage): ditto
1585
1586         * lyx_main.C (defaultKeyBindings): adjust keybindings
1587         (deadKeyBindings): ditto
1588
1589         * kbsequence.C (addkey): return a FuncRequest
1590
1591         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1592
1593         * kbmap.C (bind): take a FuncRequest as arg, adjust
1594         (read): adjust
1595         (lookup): adjust
1596         (defkey): change to take a FuncRequest as arg, adjust
1597         (findbinding): take a FuncRequest as arg, adjust.
1598
1599         * funcrequest.h (operator=): added
1600
1601         * funcrequest.C (FuncRequest): default kb_action changed from
1602         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1603
1604         * buffer.C (dispatch): simplify
1605         (dispatch): adjust to take a FuncRequest as arg, adjust
1606
1607         * boost.C (assertion_failed): change assertion message slightly
1608
1609         * ToolbarBackend.C (read): simplify
1610
1611         * MenuBackend.C (binding): adjust call to findbinding, add a
1612         message if no binding is found.
1613         (read): simplify
1614         (expandToc): correct by adding a empty FuncRequest
1615
1616         * LyXAction.C: include <boost/assert.hpp>
1617         (isPseudoAction): delete function
1618         (LookupFunc): change name to...
1619         (lookupFunc): this. change return type to FuncRequest.
1620         (getActionName): take kb_action as arg, simplify
1621         (funcHasFlag): add an assert, simplify.
1622
1623 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * toc.C (action): return a FuncRequest, simplify
1626
1627         * lyxfunc.C (processKeySym): adjust
1628         (getStatus): delete version that takes an int.
1629         (getStatus): adjust
1630         (dispatch): delete version that takes action as int
1631         (dispatch): adjust
1632         (sendDispatchMessage): simplify and adjust
1633
1634         * funcrequest.C (getArg): take unsigned int as arg
1635
1636         * ToolbarBackend.C (read): adjust
1637         (add): delete version that takes func as a string.
1638         (getIton): take a FuncRequest as arg
1639
1640         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1641         action.
1642
1643         * MenuBackend.C (MenuItem): add a new construct that only takes a
1644         Kind, simplify the constructor use for submenus.
1645         (add): adjust
1646         (expandLastfiles): adjust
1647         (expandDocuments): adjust
1648         (expandFormats): adjust
1649         (expandFloatListInsert): adjust
1650         (expandFloatInsert): adjust
1651         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1652
1653         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1654         Remove class variables lyx_pseudo_map and lyx_arg_map
1655
1656         * LyXAction.C (searchActionArg): delete function
1657         (getPseudoAction): delete function
1658         (retrieveActionArg): delete function
1659         (LookupFunc): make it return kb_action, simplify.
1660         (getActionName): simplify
1661
1662         * factory.C (createInset): fix new bug
1663
1664 2003-09-19  Angus Leeming  <leeming@lyx.org>
1665
1666         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1667         masterFilename_ parameter in the include inset.
1668
1669         * factory.C (createInset): changes due to the changes to InsetInclude.
1670
1671 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1672
1673         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1674
1675 2003-09-18  Angus Leeming  <leeming@lyx.org>
1676
1677         * buffer.C:
1678         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1679         Inset::fillWithBibKeys.
1680         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1681
1682 2003-09-18  Angus Leeming  <leeming@lyx.org>
1683
1684         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1685         variables.
1686         (ctor): pass and store a 'Buffer const &'
1687         (buffer): new member function.
1688
1689         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1690         '*this' to the LaTeXFeatures ctor.
1691
1692 2003-09-18  Angus Leeming  <leeming@lyx.org>
1693
1694         * LColor.h:
1695         * lyxfont.C:
1696         * lyxfont.h:
1697         * lyxtext.h:
1698         * text.C: rename EnumLColor as LColor_color.
1699
1700 2003-09-18  Angus Leeming  <leeming@lyx.org>
1701
1702         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1703         remove #include "insets/insetbase.h" from cursor.h.
1704
1705 2003-09-18  Angus Leeming  <leeming@lyx.org>
1706
1707         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1708         InsetOld_code to remove #include "inset.h".
1709
1710         * iterators.C: add #include "insets/inset.h"
1711
1712 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1713
1714         * BufferView.C: remove more locking stuff that apparently doesn't
1715         do anything sensible.
1716
1717 2003-09-16  André Pönitz  <poenitz@gmx.net>
1718
1719         * paragraph.[Ch]:
1720         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1721           performance boost.
1722
1723 2003-09-16  Angus Leeming  <leeming@lyx.org>
1724
1725         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1726
1727         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1728         arg/return type.
1729
1730         * paragraph.h: remove #include "lyxfont.h". Forward declare
1731         LyXFont_size.
1732
1733 2003-09-16  Angus Leeming  <leeming@lyx.org>
1734
1735         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1736         of support/textutils.h.
1737         (isWord): move the contents of support/textutils.h's IsWordChar here.
1738
1739         * buffer.C:
1740         * lyxfind.C:
1741         * rowpainter.C:
1742         * text.C:
1743         * text2.C: add #include "paragraph.h".
1744
1745         * rowpainter.C:
1746         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1747
1748 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1749
1750         * main.C:
1751         * lyx_main.C:
1752         * lyx_cb.C:
1753         * buffer.C:
1754         * LaTeX.C: use namespace alias for lyx::support::os
1755
1756 2003-09-16  Angus Leeming  <leeming@lyx.org>
1757
1758         * bufferparams.C:
1759         * bufferview_funcs.C:
1760         * factory.C:
1761         * lyxfunc.C:
1762         * paragraph_pimpl.C:
1763         * rowpainter.C:
1764         * text.C: add #include "LColor.h".
1765
1766 2003-09-16  Angus Leeming  <leeming@lyx.org>
1767
1768         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1769         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1770         return LyXFont &.
1771         Store the FontBits::color variable as an int rather than as an
1772         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1773         file.
1774
1775         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1776         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1777         string calls together.
1778
1779         * lyxrc.C: add #include "LColor.h".
1780
1781 2003-09-15  Angus Leeming  <leeming@lyx.org>
1782
1783         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1784         a cow_ptr.
1785
1786 2003-09-15  Angus Leeming  <leeming@lyx.org>
1787
1788         * LColor.h: add an EnumLColor wrapper for LColor::color.
1789
1790         * lyxfont.[Ch] (color, setColor, realColor):
1791         * lyxtext.h, text.C (backgroundColor):
1792         pass EnumLColor args to/from the functions, rather than LColor::color
1793         ones.
1794
1795         * lyxfont.h:
1796         * lyxtext.h: forward declare EnumLColor.
1797
1798         * lyx_main.C: add #include "LColor.h".
1799
1800 2003-09-15  Angus Leeming  <leeming@lyx.org>
1801
1802         * .cvsignore: add lyx-gtk.
1803
1804 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1805
1806         * Chktex.C
1807         * LaTeX.C
1808         * LaTeXFeatures.C
1809         * ParagraphParameters.C
1810         * Spacing.C
1811         * buffer.C
1812         * bufferparams.C
1813         * bufferview_funcs.C
1814         * chset.C
1815         * counters.C
1816         * funcrequest.C
1817         * lyxfont.C
1818         * lyxgluelength.C
1819         * lyxlength.C
1820         * paragraph.C
1821         * paragraph_funcs.C
1822         * text3.C
1823         * vc-backend.C: remove usage of STRCONV
1824
1825 2003-09-15  Angus Leeming  <leeming@lyx.org>
1826
1827         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1828         explicitly define the color passed to the painter.
1829
1830 2003-09-15  Angus Leeming  <leeming@lyx.org>
1831
1832         * bufferparams.C (BufferParams): reorder member initializers to avoid
1833         compiler warning.
1834
1835 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1838         * text.C (updateRowPositions): remove an unusual nop
1839
1840 2003-09-12  André Pönitz  <poenitz@gmx.net>
1841
1842         * BufferView_pimpl.C:
1843         * Bullet.C:
1844         * layout.h:
1845         * lyxfunc.C:
1846         * lyxlayout.[Ch]:
1847         * lyxtextclass.C:
1848         * rowpainter.C:
1849         * text.C:
1850         * text2.C:
1851         * Counters.[Ch]: finish the 'automatic counters' job
1852
1853 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1854
1855         * aspell.C: include <boost/assert.cpp> (compile fix)
1856
1857 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1858
1859         * boost.C (assertion_failed): use lyx::support::abort instead of
1860         assert.
1861
1862 2003-09-10  Angus Leeming  <leeming@lyx.org>
1863
1864         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1865         with their _fwd progeny.
1866
1867 2003-09-09  Angus Leeming  <leeming@lyx.org>
1868
1869         134 files throughtout the source tree: replace 'using namespace abc;'
1870         directives with the appropriate 'using abc::xyz;' declarations.
1871
1872 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1873
1874         * boost.C (emergencyCleanup): moved here from LAssert.c
1875         (assertion_failed): new function, called by BOOST_ASSERT
1876
1877         * several files: change Assert to BOOST_ASSERT
1878
1879 2003-09-09  Angus Leeming  <leeming@lyx.org>
1880
1881         * buffer.[Ch]: Add an Impl class and move Buffer's member
1882         variables into it. As a result move several header files out of
1883         buffer.h.
1884
1885         Add header files to lots of .C files all over the tree as a result.
1886
1887 2003-09-09  Angus Leeming  <leeming@lyx.org>
1888
1889         * buffer.[Ch]: make Buffer's member variables private. Add
1890         accessor functions.
1891
1892         Lots of changes all over the tree as a result.
1893
1894 2003-09-08  Angus Leeming  <leeming@lyx.org>
1895
1896         * graph.C: #include <config.h>.
1897
1898 2003-09-08  Angus Leeming  <leeming@lyx.org>
1899
1900         * BranchList.C:
1901         * BufferView.C:
1902         * BufferView_pimpl.C:
1903         * CutAndPaste.C:
1904         * DepTable.C:
1905         * LaTeX.C:
1906         * LaTeXFeatures.C:
1907         * LyXAction.C:
1908         * MenuBackend.C:
1909         * TextCache.C:
1910         * aspell.C:
1911         * buffer.C:
1912         * bufferlist.C:
1913         * changes.C:
1914         * chset.C:
1915         * converter.C:
1916         * counters.C:
1917         * debug.C:
1918         * graph.C:
1919         * ispell.C:
1920         * lyx_cb.C:
1921         * lyxfind.C:
1922         * lyxfunc.C:
1923         * lyxlex_pimpl.C:
1924         * lyxrc.C:
1925         * lyxrow.C:
1926         * paragraph.C:
1927         * rowpainter.C:
1928         * texrow.C:
1929         * text.C:
1930         * text2.C:
1931         * toc.C: remove redundant using directives.
1932
1933 2003-09-07  Angus Leeming  <leeming@lyx.org>
1934
1935         * LaTeXFeatures.h: remove #include "support/types.h".
1936         * ToolbarBackend.h: remove #include <algorithm>.
1937         * changes.h: remove #include <ctime>.
1938         * debug.h: remove #include <iosfwd>.
1939         * graph.h: remove #include "support/std_string.h".
1940         * lyx_main.h: remove #include <csignal>.
1941         * lyxlex_pimpl.h: remove #include <fstream>.
1942         * sgml.h: remove #include <algorithm>, <utility>.
1943         * toc.h: remove #include "support/std_ostream.h".
1944         Add #include <iosfwd>.
1945
1946 2003-09-07  Angus Leeming  <leeming@lyx.org>
1947
1948         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1949
1950         * converter.h: forward declare LatexRunParams.
1951         * encoding.h: remove #include "lyxrc.h".
1952         * lyxtext.h: remove #include "LColor.h".
1953         * lyxtextclass.h: remove #include "support/types.h".
1954         * trans.h: remove #include "tex-accent.h".
1955         * trans_mgr.h: remove #include "tex-accent.h".
1956         * insets/inset.h: remove #include "support/types.h", <vector>.
1957         * insets/insetcollapsable.h: remove #include "LColor.h".
1958         * insets/insetinclude.h: remove #include "dimension.h".
1959         * insets/insetlatexaccent.h: remove #include "dimension.h".
1960         * insets/insetoptarg.h:: remove #include "insettext.h".
1961         * insets/insettext.h: remove #include "dimension.h",
1962         <boost/shared_ptr.hpp>
1963
1964         * insets/renderers.h: add #include "dimension.h".
1965         * insets/updatableinset.h: add #include "support/types.h".
1966
1967         * many .C files: Associated changes.
1968
1969 2003-09-06  Angus Leeming  <leeming@lyx.org>
1970
1971         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1972         one, inside testInvariant.
1973
1974         * PrinterParams.C: new file.
1975         * PrinterParams.[Ch]: move the function bodies out of line.
1976
1977 2003-09-06  Angus Leeming  <leeming@lyx.org>
1978
1979         * ParagraphParameters.h: forward declare ParameterStruct rather than
1980         including its header file.
1981         (depth): moved out-of-line.
1982
1983 2003-09-06  Angus Leeming  <leeming@lyx.org>
1984
1985         * BufferView_pimpl.h:
1986         * kbmap.h:
1987         * kbsequence.h:
1988         * lyxfunc.h: forward declare LyXKeySym rather than
1989         #include "frontends/LyXKeySym.h".
1990
1991         * BufferView_pimpl.C:
1992         * kbmap.C:
1993         * kbsequence.C:
1994         * lyxfunc.C: associated changes.
1995
1996 2003-09-06  Angus Leeming  <leeming@lyx.org>
1997
1998         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1999         As a result, can remove the #include "insets/inset.h" from BufferView.h
2000
2001 2003-09-06  Angus Leeming  <leeming@lyx.org>
2002
2003         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2004         As a result, can remove the #include "insets/inset.h" from BufferView.h
2005
2006 2003-09-06  Angus Leeming  <leeming@lyx.org>
2007
2008         * buffer_funcs.C:
2009         * buffer.h:
2010         * bufferlist.C:
2011         * BufferView.C:
2012         * bufferview_funcs.C:
2013         * BufferView_pimpl.C:
2014         * CutAndPaste.C:
2015         * lyx_cb.C:
2016         * lyxfunc.C:
2017         * paragraph.h:
2018         * ParagraphParameters.C:
2019         * tabular.C:
2020         * text3.C:
2021         * toc.C:
2022         * undo_funcs.C:
2023         * frontends/controllers/ControlDocument.C:
2024         * insets/insetcaption.C: rearrange the #includes into some sort of
2025         coherent order.
2026
2027         * buffer.h: remove #includes ErrorList.h, undo.h
2028
2029 2003-09-06  Angus Leeming  <leeming@lyx.org>
2030
2031         * support/types.h: add a 'depth_type' typedef, used to store the
2032         nesting depth of a paragraph.
2033
2034         * paragraph.h:
2035         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2036         defining explicitly.
2037
2038         * buffer.h:
2039         * paragraph_funcs.h:
2040         * ParagraphParameters.h:
2041         * sgml.h: use lyx::depth_type rather than Paragraph or
2042         ParameterStruct's depth_type.
2043
2044         * buffer.h
2045         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2046
2047         * BufferView.C:
2048         * BufferView_pimpl.C:
2049         * CutAndPaste.C:
2050         * ParagraphParameters.C:
2051         * buffer_funcs.C:
2052         * bufferlist.C:
2053         * bufferview_funcs.C:
2054         * lyx_cb.C:
2055         * lyxfunc.C:
2056         * tabular.C:
2057         * text3.C:
2058         * toc.C:
2059         * undo_funcs.C:
2060         * frontends/LyXView.C:
2061         * frontends/controllers/ControlDocument.C:
2062         * frontends/controllers/ControlErrorList.C:
2063         * insets/insetbibitem.C:
2064         * insets/insetbranch.C:
2065         * insets/insetcaption.C:
2066         * insets/insetcollapsable.C:
2067         * insets/insetenv.C:
2068         * insets/insetert.C:
2069         * insets/insetfloat.C:
2070         * insets/insetfoot.C:
2071         * insets/insetfootlike.C:
2072         * insets/insetnewline.C:
2073         * insets/insetquotes.C:
2074         * insets/insettabular.C:
2075         * insets/insettext.C:
2076         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2077
2078         * frontends/controllers/ControlChanges.C: #include "changes.h".
2079
2080 2003-09-06  Angus Leeming  <leeming@lyx.org>
2081
2082         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2083         than #including paragraph.h.
2084
2085         * ParagraphList.h:
2086         * RowList.h: deleted. Superfluous.
2087
2088         * CutAndPaste.h:
2089         * iterators.h:
2090         * lyxcursor.h:
2091         * lyxtext.h:
2092         * text_funcs.h:
2093         * undo.h:
2094         * undo_funcs.h:
2095         * insets/inset.h:
2096         * insets/insettext.h: use ParagraphList_fwd.h rather than
2097         ParagraphList.h.
2098
2099         * paragraph.h: don't forward declare ParagraphList.
2100
2101         * buffer.h:
2102         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2103         rather than ParagraphList.h. paragraph.h is still needed for the
2104         Paragraph::depth_type parameters.
2105
2106         * textcursor.h: enable it to compile stand-alone in light of the
2107         above changes.
2108
2109         * bufferview_funcs.C:
2110         * iterators.C:
2111         * lyxfunc.C:
2112         * lyxrow_funcs.C:
2113         * paragraph.C:
2114         * rowpainter.C:
2115         * text.C:
2116         * text2.C:
2117         * text3.C:
2118         * text_funcs.C:
2119         * textcursor.C:
2120         * undo.C:
2121         * frontends/controllers/ControlParagraph.C:
2122         * frontends/controllers/ControlTabular.C:
2123         * insets/insetmarginal.C:
2124         * insets/insetminipage.C:
2125         * insets/insetnote.C:
2126         * insets/insetoptarg.C: add header files needed to compile again.
2127
2128 2003-09-06  Angus Leeming  <leeming@lyx.org>
2129
2130         * RowList_fwd.h: new file, forward-declaring Row rather than
2131         #including lyxrow.h.
2132
2133         * lyxrow_funcs.h:
2134         * lyxtext.h:
2135         * paragraph.h:
2136         * insets/insettext.h: use it instead of RowList.h
2137
2138         * bufferview_funcs.C:
2139         * lyxfunc.C:
2140         * lyxrow_funcs.C:
2141         * paragraph.C:
2142         * rowpainter.C:
2143         * text.C:
2144         * text2.C:
2145         * text3.C: #include "RowList.h".
2146
2147 2003-09-05  Angus Leeming  <leeming@lyx.org>
2148
2149         * factory.C (createInset):
2150         * vspace.C (c-tor): replace sscanf call with an istringstream.
2151         * ispell.C: re-add missing HP/UX headers.
2152         * lyxserver.C: re-add missing  os2 headers.
2153
2154 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2155
2156         * BranchList.C:
2157         * graph.C:
2158         * ispell.C:
2159         * lastfiles.C:
2160         * lyx_cb.C:
2161         * lyxserver.C:
2162         * texrow.C:
2163         * text3.C: re-add missing system headers, needed for 2.95.2.
2164
2165 2003-09-05  Angus Leeming  <leeming@lyx.org>
2166
2167         Changes most place everywhere due to the removal of using directives
2168         from support/std_sstream.h.
2169
2170 2003-09-05  Angus Leeming  <leeming@lyx.org>
2171
2172         Replace LString.h with support/std_string.h,
2173         Lsstream.h with support/std_sstream.h,
2174         support/LIstream.h with support/std_istream.h,
2175         support/LOstream.h with support/std_ostream.h.
2176
2177         Changes resulting throughout the tree.
2178
2179 2003-09-05  Angus Leeming  <leeming@lyx.org>
2180
2181         * sgml.h: ensure that the header file can be compiled stand-alone.
2182         * *.C: strip out redundant #includes. (320 in total.)
2183
2184 2003-09-04  Angus Leeming  <leeming@lyx.org>
2185
2186         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2187         here (from getPackages).
2188
2189         * debug.[Ch]: add a new EXTERNAL tag.
2190
2191 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2192
2193         * text2.C (cursorEnd): simplify
2194         (setCursor): adjust
2195         (getColumnNearX): adjust
2196
2197         * text.C (computeBidiTables): adjust
2198         (fill): adjust
2199
2200         * rowpainter.C (paintChars): adjust
2201         (paintSelection): adjust
2202         (paintChangeBar): adjust
2203         (paintText): adjust
2204
2205         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2206         lastPos instead.
2207         (numberOfSeparators): adjust
2208
2209 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2210
2211         * LyXAction.C:
2212         * box.[Ch]:
2213         * lfuns.h:
2214         * lyxfunc.C:
2215         * text3.C: Restricts the mouse click functionality
2216         of insets like bibtex, include, toc and floatlist to the visible
2217         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2218         up the dialogs. Cursor has to be in front of the inset (i.e.
2219         start of row) for this to function.
2220
2221 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2222
2223         * bufferview_funcs.C (currentState): output row information
2224
2225 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2226
2227         * bufferview_funcs.C (currentState): output paragraph position
2228
2229 2003-09-04  Angus Leeming  <leeming@lyx.org>
2230
2231         * FloatList.h: move out #include "Floating.h".
2232         * LaTeX.h: move out #include "DepTable.h".
2233         * LyXAction.h: move out #include "funcrequest.h".
2234         * buffer.h: move out #include "author.h", "iterators.h".
2235         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2236         * lyx_main.h: move out #include "errorlist.h".
2237         * lyxfunc.h: move out #include "FuncStatus.h".
2238         * lyxtext: move out #include "lyxcursor.h".
2239         * paragraph_pimpl.h: move out #include "counters.h".
2240
2241 2003-09-03  Angus Leeming  <leeming@lyx.org>
2242
2243         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2244         preamble_snippets list, enabling us to add snippets to the preamble
2245         only if the snippet was not there already.
2246
2247 2003-09-04  Angus Leeming  <leeming@lyx.org>
2248
2249         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2250
2251 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2252
2253         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2254         update
2255
2256 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2257
2258         * BranchList.C: point fix, earlier forgotten
2259
2260 2003-09-02  Angus Leeming  <leeming@lyx.org>
2261
2262         * box.C (contains): renamed from 'contained' after a fantastic
2263         amount of hot air.
2264
2265 2003-09-02  John Levon  <levon@movementarian.org>
2266
2267         * BufferView.C:
2268         * lyxcursor.h:
2269         * lyxcursor.C:
2270         * lyxfunc.C:
2271         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2272
2273 2003-09-02  John Levon  <levon@movementarian.org>
2274
2275         * text2.C: simplification of cursorEnd(), including partial
2276         fix for bug 1376
2277
2278 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2279
2280         * buffer.C (readFile): add a space
2281
2282 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2283
2284         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2285
2286 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * buffer.C (readFile): new function, take a filename and a
2289         ParagraphList::iterator
2290         (readFile): adjust
2291         (readFile): adjust, make it private. don't use setStream, make
2292         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2293         always contain the filename.
2294
2295         * BufferView.C (insertLyXFile): simplify and make it work for
2296         gzipped files.
2297
2298 2003-08-30  John Levon  <levon@movementarian.org>
2299
2300         * Makefile.am: fix dist (from Kayvan)
2301
2302 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * most files: change to use const Buffer refs
2305
2306 2003-08-27  André Pönitz  <poenitz@gmx.net>
2307
2308         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2309         on top of ownerPar().
2310
2311 2003-08-27  John Levon  <levon@movementarian.org>
2312
2313         * funcrequest.C: properly initialise POD members
2314
2315 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2316
2317         * lyxtext.h (top_y): move top_y from here
2318         * text.C:
2319         * text2.C:
2320         * text3.C:
2321         * BufferView.[Ch]:
2322         * BufferView_pimpl.[Ch]: to here
2323         * frontends/screen.C:
2324         * insets/insettabular.C:
2325         * insets/insettext.C: adjust
2326         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2327
2328 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2329
2330         * BufferView.[Ch]:
2331         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2332
2333 2003-08-26  André Pönitz  <poenitz@gmx.net>
2334
2335         * paragraph_func.[Ch] (outerPar): new function
2336
2337         * paragraph.C:
2338         * paragraph_funcs.C:
2339         * paragraph_funcs.h:
2340         * paragraph_pimpl.C:
2341         * text2.C: remove Inset::par_owner
2342
2343 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2344
2345         * lyxrow_funcs.C:
2346         * lyxtext.h:
2347         * text.C:
2348         * text2.C: eliminates the needFullRow/display() stuff
2349         altogether, putting the logic in metrics/draw in the insets.
2350
2351 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2352
2353         * text2.C (redoParagraphInternal, redoParagraphs):
2354         * text.C (redoParagraph): add a call to updateRowPositions at the
2355         end of each 'metrics-like' call. Remove all others.
2356         (getRow): remove the 'y-computing' version.
2357         (getRowNearY): do not compute nor return the real y. Solve the
2358         'y < 0' problem and simplify.
2359
2360 2003-08-22  Angus Leeming  <leeming@lyx.org>
2361
2362         * *.[Ch]: clean-up of licence and author blurbs.
2363         Also move config.h out of a few .h files and into a few .C files.
2364
2365 2003-08-22  André Pönitz  <poenitz@gmx.net>
2366
2367         * lyxrow.[Ch]: add x_ and *fill_ members
2368
2369         * lyxtext.h:
2370         * text.C:
2371         * rowpainter.C:
2372         * text2.C: adjust/remove prepareToPrint() calls
2373
2374 2003-08-22  André Pönitz  <poenitz@gmx.net>
2375
2376         * lyxrow.[Ch]: add  end_ member
2377
2378         * lyxrow_funcs.C: use LyXRow::end_
2379
2380         * lyxtext.h (singleWidth): add LyXFont parameter
2381
2382         * rowpainter.C:
2383         * text2.C: adjust LyXText::singleWidth() calls
2384
2385         * text.C (redoParagraph): simplify row breaking logic
2386
2387
2388 2003-08-19  André Pönitz  <poenitz@gmx.net>
2389
2390         * funcrequest.C: initialize button_ member
2391
2392         * text3.C:
2393         * rowpainter.[Ch]: interface consolidation
2394
2395 2003-08-18  André Pönitz  <poenitz@gmx.net>
2396
2397         * BufferView.C:
2398         * BufferView_pimpl.C:
2399         * lyxfind.C:
2400         * paragraph_funcs.C:
2401         * rowpainter.C:
2402         * text3.C: remove LyXScreen::draw() and fitCursor calls
2403
2404         * BranchList.h: remove spurious semicolons
2405
2406         * MenuBackend.C: fix branchlist related crash
2407
2408 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2409
2410         * BranchList.[Ch]:
2411         * InsetList.[Ch]:
2412         * LColor.[Ch]:
2413         * LyXAction.C:
2414         * Makefile.am:
2415         * MenuBackend.[Ch]:
2416         * bufferparams.[Ch]:
2417         * factory.C:
2418         * lfuns.h:
2419         * lyxfunc.C:
2420         * text3.C: implements the 'branch inset'
2421         idea. This allows the output of various versions of a document
2422         from a single source version, selectively outputing or suppressing
2423         output of parts of the text.
2424         This implementation contains a 'branch list editor' in a separate
2425         tab of the document settings dialog. Branches are user definable
2426         and have a "display colour" to distinguish them on-screen.
2427
2428         ColorHandler was somewhat cleaned up.
2429         (1) make possible a dynamically growing LColor list by allowing
2430         the graphic context cache to grow along (vector);
2431         (2) eliminate an IMHO unnecessary step in colour allocation.
2432
2433 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2434
2435         * BufferView_pimpl.C: compile fix
2436
2437 2003-08-15  André Pönitz  <poenitz@gmx.net>
2438
2439         * rowpainter.C: remove extra metrics calls
2440
2441         * lyxtext.h: merge the two constructors into a single one,
2442           pass reference to owner's par list
2443
2444         * BufferView_pimpl.C:
2445         * text.C:
2446         * text2.C: adjust
2447
2448 2003-08-15  André Pönitz  <poenitz@gmx.net>
2449
2450         * lyxrow_funcs.[Ch]:
2451         * lyxtext.h:
2452         * paragraph.h:
2453         * paragraph_funcs.C:
2454         * rowpainter.C:
2455         * text.C:
2456         * text2.C:
2457         * text3.C:
2458         * text_funcs.C: split LyXText::rowlist_ into individual
2459         Paragraph::rows_ chunks
2460
2461         * BufferView.[Ch]:
2462         * BufferView_pimpl.[Ch]:
2463         * lyxfind.C:
2464         * lyxtext.h:
2465         * text3.C: remove toggleSelection()
2466
2467 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2468
2469         * bufferlist.C: beautify two alerts (shorter text of buttons)
2470         * buffer.C: Remove redundant ' ' from message
2471         * tabular.h:
2472         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2473         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2474         rename VALIGN_CENTER to VALIGN_MIDDLE
2475
2476 2003-08-11  André Pönitz  <poenitz@gmx.net>
2477
2478         * lyxtext.h (getPar):
2479         * text.C: new function
2480
2481 2003-08-11  André Pönitz  <poenitz@gmx.net>
2482
2483         * Makefile.am:
2484         * tracer.[Ch]: remove unneeded files
2485
2486         * InsetList.[Ch]: remove resizeInsetsLyXText()
2487
2488         * lyxtext.h:
2489         * text.C:
2490         * text2.C:
2491         * text3.C: merge insertParagraphs() and appendParagraph()
2492         remove breakAgain(), update()
2493
2494         * BufferView_pimpl.[Ch]:
2495         * bufferview_funcs.[Ch]:
2496         * lyxfunc.C:
2497         * paragraph.[Ch]:
2498         * rowpainter.C:
2499         * tabular.C: adjust after text & InsetList changes.
2500
2501 2003-08-08  André Pönitz  <poenitz@gmx.net>
2502
2503         * text.C (insertChar, backspace): replace rowlist fiddling
2504         with rebreak of full par
2505
2506         * lyxtext.h:
2507         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2508         checkParagraph, updateInset): removed
2509
2510 2003-08-07  André Pönitz  <poenitz@gmx.net>
2511
2512         * paragraph.C:
2513         * text3.C: merge some LFUN handlers, remove dead code
2514
2515 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2518
2519 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2520
2521         * text2.C (DEPM): fix part of bug 1255 and 1256
2522
2523 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * BufferView_pimpl.C (workAreaDispatch): change to use
2526         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2527         that are no mouse related.
2528
2529 2003-08-05  André Pönitz  <poenitz@gmx.net>
2530
2531         * BufferView.[Ch]:
2532         * BufferView_pimpl.[Ch]:
2533         * bufferview_funcs.C:
2534         * text2.C:
2535         * text3.C: rip out "deep update"
2536
2537         * textcursor.[Ch] (last_sel_cursor): remove unused member
2538
2539 2003-08-04  André Pönitz  <poenitz@gmx.net>
2540
2541         * BufferView.[Ch]:
2542         * BufferView_pimpl.[Ch]:
2543         * ParagraphParameters.C:
2544         * bufferview_funcs.C:
2545         * lyx_cb.C:
2546         * lyxfind.C:
2547         * lyxfunc.C:
2548         * text.C:
2549         * text2.C:
2550         * text3.C: replace "complicated" BufferView::update(...) calls with
2551         simpler ones.
2552
2553         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2554
2555 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2556
2557         * Makefile.am (lyx_SOURCES): add paper.h
2558
2559 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2560
2561         * Makefile.am: move things around so that both lyx-qt and
2562         lyx-xforms can be built (according to --with-frontend). Then lyx
2563         is a symbolic link to lyx-[firstfrontend]
2564
2565 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2566
2567         * Always use std::endl with lyxerr
2568
2569 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2570
2571         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2572
2573 2003-08-01  André Pönitz  <poenitz@gmx.net>
2574
2575         * BufferView.[Ch]:
2576         * BufferView_pimpl.[Ch]:
2577         * lyxfunc.C:
2578         * text3.C: merge BufferView::repaint() and BufferView::update()
2579
2580 2003-08-01  José Matos  <jamatos@lyx.org>
2581
2582         * buffer.[Ch]: file_format is no longer a buffer data element.
2583
2584 2003-08-01  André Pönitz  <poenitz@gmx.net>
2585
2586         * BufferView.C:
2587         * lyxtext.h:
2588         * text.C:
2589         * text2.C: make redoParagraph more independent of current cursor
2590
2591         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2592         * text.C:
2593         * text2.C: remove unneeded members
2594
2595 2003-07-30  André Pönitz  <poenitz@gmx.net>
2596
2597         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2598
2599         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2600           create a single function...
2601
2602         * paragraph_funcs.C (moveItem): ... here.
2603
2604         * text.C:
2605           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2606
2607 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * LColor.[Ch]: Add comment and greyedout logical colors.
2610
2611 2003-07-30  André Pönitz  <poenitz@gmx.net>
2612
2613         * tabular.C: don't use Assert too heavily. This crashes where it
2614           shouldn't
2615
2616 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2619         is disabled (bug 1232)
2620
2621 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * factory.C: limited 'arg' scope
2624
2625 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2626
2627         * factory.C: fixed Note submenu issues
2628
2629 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2630
2631         * factory.C: submenu for Note/Comment/Greyedout
2632
2633 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2634
2635         * lyx_main.C (LyX):
2636         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2637
2638 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2639
2640         * LaTeXFeatures.C:
2641         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2642         greyedout. Patch provided by Jürgen Spitzmüller.
2643
2644 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * kbmap.C (read): fix error message when reading bind files
2647
2648 2003-07-29  Angus Leeming  <leeming@lyx.org>
2649
2650         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2651         certainly does not do what it purports to do. I am doing it, and
2652         us, a favour by killing it.
2653
2654 2003-07-28  José Matos  <jamatos@lyx.org>
2655
2656         * buffer.C (readBody, do_writeFile):
2657         * paragraph.C(readParagraph): \end_document replaces \the_end.
2658
2659 2003-07-29  André Pönitz  <poenitz@gmx.net>
2660
2661         * BufferView.[Ch]:
2662         * BufferView_pimpl.[Ch]:
2663         * lyxfunc.C:
2664         * text2.C:
2665         * text3.C:
2666         * textcursor.[Ch]: remove toggleToggle & Co
2667
2668 2003-07-28  José Matos  <jamatos@fep.up.pt>
2669
2670         * buffer.C (readParagraph):
2671         * params_func (readParToken, readParagraph):
2672         * paragraph.C (write): \layout -> \begin_layout.
2673
2674 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * lyxlex_pimpl.C (setFile): clean up slightly.
2677
2678         * bufferparams.h: add compressed var
2679
2680         * buffer_funcs.C (readFile): adjust for LyXLex change
2681         (newFile): ditto + simplify
2682
2683         * buffer.C (writeFile): handle writing of compressed files
2684
2685         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2686         Check if the file is compressed and set a bufferparm if so.
2687
2688         * Makefile.am (lyx_LDADD): remove explicit -lz
2689
2690 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2691
2692         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2693         makeDocBookFile): put the real LyX version in the first line of
2694         the file
2695
2696         * version.h:
2697         * version.C.in: remove lyx_docversion
2698
2699         * tabular.C (write_attribute): add a template-based version to
2700         write enums properly
2701
2702 2003-07-28  André Pönitz  <poenitz@gmx.net>
2703
2704         * lyxtext.h:
2705         * text.C:
2706         * text2.C:
2707         * text3.C: use doubles again for x-coordinates. They are needed.
2708
2709 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2710
2711         * messages.C (getLocaleDir): use lyx_localedir()
2712
2713         * lyxlex_pimpl.C (setFile): compress stuff
2714
2715         * buffer.C (writeFile): add some compression stuff
2716         (do_writeFile): new func, dont call expliti close... will this
2717         breake anything?
2718
2719         * Makefile.am (lyx_LDADD): add -lz
2720
2721 2003-07-28  José Matos  <jamatos@fep.up.pt>
2722
2723         * buffer.C: increment file format.
2724         * paragraph_funcs (readParagraph, readParToken):
2725         * paragraph.C (readParagraph): add \end_layout.
2726
2727 2003-07-27  Angus Leeming  <leeming@lyx.org>
2728
2729         * Makefile.am: remove special casing for configure-time setting of
2730         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2731
2732         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2733         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2734
2735 2003-07-26  André Pönitz  <poenitz@gmx.net>
2736
2737         * paragraph_func.[Ch]:
2738         * paragraph.C (realizeFont): inline it whereever it is used
2739
2740         * rowpainter.C:
2741         * text.C:
2742         * text2.C:
2743         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2744
2745
2746 2003-07-26  André Pönitz  <poenitz@gmx.net>
2747
2748         *       lyxtext.h:
2749         * text.C:
2750         * text2.C: get rid of LyXText::need_break_row
2751
2752 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * toc.[Ch]: put namespace toc inside namespace lyx
2755
2756         * MenuBackend.C (expandToc2): adjust for lyx::toc
2757         (expandToc): ditto
2758
2759         * lyxfunc.C (dispatch): adjust for lyx::find
2760
2761         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2762         lyx::find instead. Reorganize a bit.
2763         (LyXReplace): rename to replace
2764         (LyXFind): rename to find
2765
2766         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2767         (dispatch): ditto
2768
2769 2003-07-26  André Pönitz  <poenitz@gmx.net>
2770
2771         * text.C (setHeightOfRow): restrict scope of temporary variable
2772
2773         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2774           code (never has been used?)
2775
2776 2003-07-27  Asger Alstrup  <alstrup@local>
2777
2778         * text.C (fill): Optimise algorithm to exploit that we can reuse
2779         the LyXFont for many characters.
2780         (setHeightOfRow): Same thing.
2781         (rowBreakPoint): Same thing.
2782
2783 2003-07-26  Asger Alstrup  <alstrup@local>
2784
2785         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2786
2787         * text.C (singleWidth): Spurious font copying in hot-spot
2788         singleWidth avoided. Reorder tests for arabic for efficiency.
2789
2790         * text.C (fill): handle empty paragraphs better.
2791
2792 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2793
2794         * ispell.C:
2795         * encoding.h: add includes
2796
2797         * lyxrc.C: remove reading of bind files
2798
2799         * lyx_main.C (init): setup bindings and menus only if we have a
2800         gui.
2801
2802         * kbmap.C (read): new method. Do the actual reading of bind
2803         files.
2804
2805         * converter.C (dvipdfm_options):
2806         * bufferparams.C:
2807         * lyxrc.C (read):
2808         (output): adapt PAPER_* enums.
2809
2810         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2811
2812         * bufferparams.h: remove paper-related enums from there
2813
2814         * paper.h: New file. A trivial header file to hold paper-related
2815         enums. It should later expand to contain many paper-related
2816         horrors access.
2817
2818         * lyxrc.C: declare extern displayTranslator
2819
2820 2003-07-27  José Matos  <jamatos@fep.up.pt>
2821
2822         * tabular.[Ch] (linuxdoc): add support for tables and figures
2823         (linuxdoc).
2824
2825 2003-07-27  José Matos  <jamatos@fep.up.pt>
2826
2827         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2828         consistency in both functions.
2829         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2830
2831 2003-07-26  Asger Alstrup  <alstrup@local>
2832
2833         * rowpainter.C (paintRows): Change algorithm to work directly on
2834         the insets rather than asking every character in the document
2835         whether its an inset.
2836
2837 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * buffer.C (openFileWrite): factorize some code
2840
2841 2003-07-26  Angus Leeming  <leeming@lyx.org>
2842
2843         * lyx_cb.C:
2844         * lyx_main.[Ch]: replace occurances of system_tempdir with
2845         os::getTmpDir().
2846
2847 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * rename Inset to InsetOld
2850
2851 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2852
2853         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2854         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2855         which I think is a bit clearer. EDIT is gone, since it was
2856         premature optimisation, and broken for mathed anyway.
2857         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2858         with cursor positioning in insets as well (math insets still do not
2859         work, but that's a different story anyway.) It mysteriously
2860         crashes sometimes with undo in the first paragraph, but I'm fairly
2861         confident that this is a compiler bug.
2862
2863 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * paragraph.C (Paragraph): adjust for new clone return type
2866         (operator==): ditto
2867         (copyIntoMinibuffer): ditto
2868
2869 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2870
2871         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2872         by not having a special case, and always doing a full rebreak of
2873         the document after undo.
2874
2875 2003-07-23  Angus Leeming  <leeming@lyx.org>
2876
2877         * factory.C (createInset): InsetExternal::setParams now takes a
2878         Buffer const * arg.
2879
2880 2003-07-23  Angus Leeming  <leeming@lyx.org>
2881
2882         * factory.C (createInset): changed interface to the external and
2883         graphics mailers' string2params functions.
2884
2885 2003-07-23  Angus Leeming  <leeming@lyx.org>
2886
2887         * factory.C (createInset): pass a
2888         Buffer const * parameter to InsetExternalMailer's string2params.
2889
2890 2003-07-22  John Levon  <levon@movementarian.org>
2891
2892         * Thesaurus.h: include the right aiksaurus header
2893
2894 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2895
2896         * MenuBackend.C (expand): check menu shortcuts unconditionally
2897
2898 2003-07-21  Angus Leeming  <leeming@lyx.org>
2899
2900         * factory.C (createInset): pass a
2901         buffer_path parameter to InsetGraphicsMailer's string2params.
2902
2903 2003-07-21  Angus Leeming  <leeming@lyx.org>
2904
2905         * BufferView_pimpl.C (buffer):
2906         * buffer.C (d-tor):
2907         * lyx_main.C (LyX):
2908         * lyxfunc.C (dispatch):
2909         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2910         rather than the grfx shortcut.
2911
2912 2003-07-21  André Pönitz  <poenitz@gmx.net>
2913
2914         * rowpainter.C: remove unused variables
2915
2916         * tabular_funcs.C:
2917         * tabular_funcs.h: move to tabular.C
2918         * Makefile.am: adjust
2919
2920         * tabular.[Ch]: basic optical cleaning
2921
2922         * author.h: pass references, not values
2923
2924 2003-07-18  André Pönitz  <poenitz@gmx.net>
2925
2926         * lyxtext.h:
2927         * metricsinfo.C:
2928         * metricsinfo.h:
2929         * rowpainter.C:
2930         * text.C:
2931         * text2.C:
2932         * text3.C: two-phase drawing for InsetText and InsetTabular
2933         some float -> int changes.
2934
2935 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * lyx_main.C: fix the fix
2938
2939 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * lyx_main.C: fix a crash in batch mode if no files specified
2942         * converter.C: ws
2943
2944 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * format.[Ch] (papersize): moved to BufferParams
2947         * converter.[Ch] (dvips_options): moved to BufferParams
2948         (dvipdfm_options): moved to anon namespace
2949         * bufferparams.[Ch]: added above functions.
2950
2951 2003-07-17  André Pönitz  <poenitz@gmx.net>
2952
2953         * lyxtext.h:
2954         * rowpainter.C:
2955         * text2.C: don't call inset->update() anymore
2956
2957         * metricsinfo.[Ch]: add convenience constructor
2958
2959 2003-07-16  André Pönitz  <poenitz@gmx.net>
2960
2961         * lyxcursor.[Ch]:
2962         * lyxfunc.[Ch]:
2963         * text.C:
2964         * text2.C: replace the LyXCursor::irow_ member with
2965          on-demand computation of the value
2966
2967 2003-07-16  John Levon  <levon@movementarian.org>
2968
2969         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2970
2971 2003-07-15  André Pönitz  <poenitz@gmx.net>
2972
2973         * text.C:
2974         * text2.C: remove no more needed refresh_row
2975
2976 2003-07-15  André Pönitz  <poenitz@gmx.net>
2977
2978         * lyxtext.h:
2979         * rowpainter.C:
2980         * text2.C:
2981         * text3.C: refresh_status tristate -> need_update bool
2982
2983 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2984
2985         * lyxtext.h (init): remove reinit argument (act as if always true)
2986         * text2.C: adjust to that
2987
2988 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2989
2990         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2991         * text3.C: use it to delete selections in some cases
2992         (bugs 441, 673, 702, 954).
2993
2994 2003-07-14  André Pönitz  <poenitz@gmx.net>
2995
2996         * rowpainter.[Ch]: reduce interface
2997
2998 2003-07-14  André Pönitz  <poenitz@gmx.net>
2999
3000         * BufferView_pimpl.C:
3001         * text2.C: adjust after removing unused BufferView * argument
3002
3003 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * text2.C (init): fix a crash fired on resize
3006
3007 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * buffer.[Ch]: added new closing signal
3010         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3011         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3012         BufferView::Pimpl via the closing the signal
3013
3014 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3015
3016         * buffer.[Ch]: take out all bv-related from buffer
3017         * BufferView.C:
3018         * BufferView_pimpl.[Ch]: connect to new signals
3019         * CutAndPaste.C: removed useless asserts
3020         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3021         * lyxvc.[Ch]:
3022         * vc-backend.[Ch]:
3023         * lyxfunc.C: moved view-related funciontality from vc here
3024         * paragraph.C: removed outdated comments
3025         * text.C: ws
3026
3027 2003-07-10  André Pönitz  <poenitz@gmx.net>
3028
3029         * BufferView_pimpl.C:
3030         * tabular.h:
3031         * tabular_funcs.C:
3032         * text.C:
3033         * text2.C: remove InsetText::InnerCache, clean up consequences
3034
3035 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3036
3037         * ispell.C: fix two typos in error messages
3038
3039 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3040
3041         * Extend Note inset to other forms of annotation like Comment
3042         and Greyedout. Right button click gives dialog.
3043
3044         Files modified or added (+):
3045
3046         * insetnote.[Ch]
3047         * FormNote.[Ch]      +
3048         * ControlNote.[Ch]   +
3049         * form_note.fd       +
3050         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3051         frontends/controllers
3052         * xforms/Dialogs.C
3053         * factory.C
3054
3055 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3056
3057         * aspell.C: add missing namespace lyx::support
3058
3059 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * BufferView.[Ch] (newFile): Add
3062         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3063         * LaTeX.[Ch] (message): added this signal and use it
3064         * buffer.[Ch] (busy, message): added these signals and use them
3065         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3066         * converter.C:
3067         * exporter.C:
3068         * format.C:
3069         * importer.C: use buffer signals instead of direct bv calling
3070         * lyx_cb.[Ch] (ShowMessage): removed
3071         * lyx_main.C:
3072         * lyxfunc.C:
3073         * paragraph_funcs.C:
3074         * text2.C: use buffer signals
3075
3076 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * introduce namespace lyx::graphics
3079
3080 2003-07-02  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3083
3084 2003-07-01  André Pönitz  <poenitz@gmx.net>
3085
3086         * text.C:
3087         * text2.C:
3088         * text3.C:
3089         * text_funcs.[Ch]:
3090         * textcursor.h:
3091         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3092           text*.C to text_func.C
3093
3094 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * introduce namespace lyx::support
3097
3098 2003-06-30  André Pönitz  <poenitz@gmx.net>
3099
3100         * Chktex.C:
3101         * funcrequest.C:
3102         * lyxtext.h:
3103         * text.C: re-enable --with-included-string
3104
3105 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * textcursor.C: add <config.h>
3108
3109         * text.C (getWord): remove const from word_location arg
3110
3111         * lyxvc.C (getLogFile): fix const type order
3112
3113         * lyxtext.h: remove const from word_location arg, add arg name
3114
3115         * lyxlayout.h: currect type on labeltype.
3116
3117         * importer.C: correct \file
3118
3119         * converter.C (intToFormat): use std:: on ret val, ws changes
3120
3121         * bufferlist.h: correct \file
3122
3123         * buffer.C (makeLinuxDocFile): fix const type order
3124         (makeDocBookFile): ditto
3125         (fillWithBibKeys): use std:: on stdlib args.
3126
3127         * CutAndPaste.C: fix authors.
3128         (availableSelections): use std:: on return vector
3129
3130 2003-06-27  André Pönitz  <poenitz@gmx.net>
3131
3132         * BufferView_pimpl.C:
3133         * bufferview_funcs.C:
3134         * lyxcursor.C:
3135         * lyxcursor.h:
3136         * lyxfunc.C:
3137         * lyxtext.h:
3138         * rowpainter.C:
3139         * text.C:
3140         * text2.C:
3141         * text3.C: remove LyXCursor::row_ member
3142
3143         * lyxtext.h:
3144         * text.C: rename fullRebreak() to partialRebreak() and implement
3145           a fullRebreak() that really bereks fully
3146
3147         * textcursor.h: new struct for cursor-related data
3148
3149 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * lyx_main.C (LyX): get full path of document loaded on the
3152         command line
3153
3154 2003-06-26  André Pönitz  <poenitz@gmx.net>
3155
3156         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3157           remove unused/broken operator>,<,>=.
3158
3159         *       text.C: remove only use of broken operator<= in an Assert().
3160
3161 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3164         moved errorlist_.clear to showErrorList
3165
3166 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3167
3168         * converter.C (scanLog, runLaTeX):
3169         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3170         move the bv->showErrorList call to the callers
3171         * lyxfunc.C: i.e. here...
3172         * text2.C: and here
3173         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3174         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3175         namespace, the second to...
3176         * buffer_funcs (BufferFormat, parseErrors): added
3177         * errorlist.C (ErrorList(TeXErrors const &)): removed
3178
3179 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3182
3183 2003-06-24  "Garst R. Reese" <reese@isn.net>
3184
3185         * debug.C: fix typo
3186
3187 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3188
3189         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3190
3191         * version.C.in: change docversion to 1.4
3192
3193 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * buffer.C: fix a bug just introduced
3196
3197 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3198
3199         * buffer.[Ch]: added the parseError signal and use it, removed
3200         sgmlError
3201         * BufferView.[Ch] (addError): moved to ...
3202         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3203         to the Buffer::parseError signal to catch (guess what) parse errors
3204         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3205
3206 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3209         ability to create a buffer and to return an existing one from
3210         the list. Moved these functions to...
3211         * buffer_funcs.[Ch]: added
3212         * BufferView.[Ch] (loadLyXFile): added
3213         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3214         job removed from bufferlist::loadLyXFile.
3215         * buffer.C (setReadOnly): make it work without view
3216         (i.e added an if (users))
3217
3218 2003-06-19  Angus Leeming  <leeming@lyx.org>
3219
3220         * lfuns.h:
3221         * LyXAction.C (init):
3222         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3223         with LFUN_DIALOG_SHOW <name> <data>.
3224
3225 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3226
3227         * CutAndPaste.C (availableSelections): small compilation fix for
3228         ancient (gcc 2.9x) compilers
3229
3230 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * text3.C (cursorNext): add tmp var
3233
3234         * text2.C (updateCounters): for function calling out of for clause
3235         (replaceSelectionWithString): ditto
3236         (insertStringAsParagraphs): ditto
3237         (getColumnNearX): add tmp var
3238         (setCursorFromCoordinates): add tmp var
3239         (cursorDownParagraph): add tmp var
3240         (deleteEmptyParagraphMechanism): add tmp var
3241
3242         * text.C (insertChar): add tmp var
3243
3244         * rowpainter.C (paintDepthBar): add tmp var
3245
3246         * CutAndPaste.C (availableSelections): potentially check all
3247         paragraphs in a cut to fill the shown strings.
3248
3249 2003-06-18  André Pönitz  <poenitz@gmx.net>
3250
3251         * kbmap.[Ch]: use vector<> instead of list<>
3252
3253 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3254
3255         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3256         pasteSelection with index
3257
3258         * text2.C (pasteSelection): modify, call pasteSelection with index
3259
3260         * paragraph.C (asString): reimplement version with no interval to
3261         call the one with interval.
3262
3263         * lyxtext.h: add index arg to pasteSelection
3264
3265         * MenuBackend.C (MenuItem): handle PasteRecent
3266         (Menu::read::Menutags): add md_pasterecent
3267         (read): handle it
3268         (expandPasteRecent): new function
3269         (expand): use it
3270
3271         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3272
3273         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3274         the limited stack
3275         (availableSelections): new function
3276
3277 2003-06-17  Angus Leeming  <leeming@lyx.org>
3278
3279         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3280
3281 2003-06-17  Angus Leeming  <leeming@lyx.org>
3282
3283         * lfuns.h:
3284         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3285
3286         * lyxfunc.C (dispatch): invoke it.
3287
3288 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3289
3290         * iterators.C (operator++, ParPosition): reintroduce some
3291         const_cast for the benefit of older compilers.
3292
3293 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * text3.C (dispatch): do not modify clipboard when doing
3296         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3297         LFUN_DELETE_SKIP on a selection selection
3298
3299 2003-06-16  André Pönitz  <poenitz@gmx.net>
3300
3301         * BufferView.C:
3302         * buffer.C:
3303         * buffer.h:
3304         * paragraph.C:
3305         * tabular.[Ch]: IU of clone() and getLabelList();
3306
3307 2003-06-13  André Pönitz  <poenitz@gmx.net>
3308
3309         * tabular.h: compactification
3310
3311 2003-06-12  André Pönitz  <poenitz@gmx.net>
3312
3313         * tabular.C:
3314         * tabular.h:
3315         * tabular_funcs.h: some renaming plus whitespace
3316
3317 2003-06-12  André Pönitz  <poenitz@gmx.net>
3318
3319         * BufferView.C:
3320         * BufferView_pimpl.C:
3321         * CutAndPaste.C:
3322         * buffer.C:
3323         * iterators.[Ch]:
3324         * lyxfunc.C:
3325         * text.C:
3326         * toc.C: Return a Paragraph & for ParIterator::operator*()
3327
3328 2003-06-11  John Levon  <levon@movementarian.org>
3329
3330         * lyx_main.C:
3331         * ToolbarBackend.h:
3332         * ToolbarBackend.C: add "Toolbars" section and
3333         put the flags there
3334
3335 2003-06-10  Angus Leeming  <leeming@lyx.org>
3336
3337         * lfuns.h:
3338         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3339
3340         * lyxfunc.C (dispatch): invoke it.
3341
3342 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3343
3344         * main.C: protect <ios> with HAVE_IOS
3345         (main): protect sync_with_stdio with HAVE_IOS
3346
3347 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3348
3349         * text2.C (cutSelection): adjust
3350         (pasteSelection): adjust
3351
3352         * messages.C: handle get of empty string
3353
3354         * main.C (main): use sync_with_stdio(false)
3355
3356         * lyxfunc.C (dispatch): adjust
3357
3358         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3359         (WriteAs): remove unneeded BufferView arg.
3360
3361         * bufferparams.h: use correct types on papersize, papersize2 and
3362         paperpackage.
3363
3364         * bufferparams.C (readToken): adjust for type
3365         (writeLaTeX): add missing cases to switch.
3366
3367         * bufferlist.C (quitWriteBuffer): adjust
3368         (close): adjust
3369
3370         * buffer.C (asciiParagraph): remove some commented code.
3371
3372         * CutAndPaste.C: remove current_view extern variable.
3373         (cutSelection): add BufferParams arg.
3374         (eraseSelection): add BufferParams arg.
3375         (pasteSelection): add Buffer const & arg
3376
3377 2003-06-07  John Levon  <levon@movementarian.org>
3378
3379         * buffer.C:
3380         * paragraph_funcs.C:
3381         * paragraph_pimpl.C:
3382         * text.C:
3383         * text2.C:
3384         * paragraph.h:
3385         * paragraph.C: allow InsetERT to freely space lines,
3386         and some consolidation of code
3387
3388 2003-06-06  José Matos  <jamatos@fep.up.pt>
3389
3390         * buffer.C (makeDocBookFile): fix bug #821
3391
3392 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3395
3396 2003-06-04  Angus Leeming  <leeming@lyx.org>
3397
3398         * buffer.C: bump format to 224.
3399
3400 2003-06-05  André Pönitz  <poenitz@gmx.net>
3401
3402         * text2.C (redoParagraphs): remove two const_cast<>
3403
3404 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3405
3406         * ParagraphList.h: remove last remnants of NO_STD_LIST
3407
3408 2003-06-03  Angus Leeming  <leeming@lyx.org>
3409
3410         * factory.C (createInset): small change to the way InsetExternal's params
3411         are set.
3412
3413 2003-06-04  André Pönitz  <poenitz@gmx.net>
3414
3415         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3416
3417         * paragraph_pimpl.h:
3418         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3419
3420         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3421
3422         * undo_funcs.C: make some simple cases of undo work again
3423
3424 2003-06-03  John Levon  <levon@movementarian.org>
3425
3426         * ispell.C: HPUX doesn't have sys/select.h
3427         (from Albert Chin)
3428
3429 2003-06-03  John Levon  <levon@movementarian.org>
3430
3431         * CutAndPaste.C: update tabular and include inset
3432         buffer references
3433
3434         * buffer.h:
3435         * paragraph.h:
3436         * paragraph.C: remove owningBuffer(), don't pass Buffer
3437         to clone()
3438
3439         * factory.C: insetGraphicsParams changed
3440
3441 2003-06-02  John Levon  <levon@movementarian.org>
3442
3443         * LyXAction.C:
3444         * factory.C:
3445         * lfuns.h:
3446         * lyxfunc.C:
3447         * text3.C: remove insetparent
3448
3449 2003-06-02  John Levon  <levon@movementarian.org>
3450
3451         * buffer.h:
3452         * buffer.C: fix inset_iterator.end(), move out of line
3453         (bug 1149)
3454
3455 2003-06-01  John Levon  <levon@movementarian.org>
3456
3457         * text3.C: use a proper cut/paste when doing inset
3458         insert (from Jürgen Spitzmüller)
3459
3460 2003-06-01  John Levon  <levon@movementarian.org>
3461
3462         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3463
3464 2003-05-30  André Pönitz  <poenitz@gmx.net>
3465
3466         * rowpainter.C: unify second drawing phase
3467
3468 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * trans_mgr.C: remove one case of current_view
3471
3472         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3473
3474         * paragraph_funcs.h: remove paragraph.h include
3475
3476         * paragraph.h: delete NO_STD_LIST stuff
3477
3478         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3479
3480         * buffer.h: remove paragraph.h include
3481
3482         * ParagraphList.C: delete file
3483
3484         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3485
3486         * toc.C (getTocList): adjust
3487
3488         * paragraph_pimpl.C (validate): adjust
3489
3490         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3491
3492         * paragraph.C (Paragraph): adjust
3493         (getPositionOfInset): use const_iterator, adjust
3494         (bibitem): use const_iterator, adjust
3495         (setInsetOwner): adjust
3496
3497         * iterators.C (operator++): adjust
3498
3499         * InsetList.[Ch]: Replace selfmade iterator with standard
3500         vector::iterator also introduce const_iterator. Remove getPos,
3501         getInset and setInset from InsetTable. Adjust accordingly.
3502
3503         * BufferView.C (lockInset): adjust
3504         (ChangeInsets): adjust
3505
3506         * tabular.[Ch]: delete commented same_id functions
3507
3508 2003-05-28  John Levon  <levon@movementarian.org>
3509
3510         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3511
3512 2003-05-28  André Pönitz  <poenitz@gmx.net>
3513
3514         * metricsinfo.[Ch]: remove 'fullredraw' member
3515
3516 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3517
3518         * lyxtextclass.C (operator): remove caching.
3519
3520 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * text3.C: adjust
3523
3524         * text2.C (cursorBottom): adjust
3525         (setCounter): use ParagraphList::find, adjust
3526
3527         * text.C (workWidth): use ParagraphList::find, adjust
3528
3529         * lyxcursor.C (LyXCursor): adjust
3530
3531         * buffer.C (inset_iterator): adjust
3532
3533         * ParagraphList.h: make iterator(value_type) private, make
3534         ParagraphList a friend of iterator.
3535
3536         * ParagraphList.C (find): new function
3537
3538         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3539
3540 2003-05-27  André Pönitz  <poenitz@gmx.net>
3541
3542         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3543
3544 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3545
3546         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3547
3548 2003-05-26  John Levon  <levon@movementarian.org>
3549
3550         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3551
3552 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * remove same_id from function signatures, adjust.
3555
3556 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3559
3560         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3561
3562         * paragraph.C (Paragraph): get rid of same_ids parameter
3563
3564         * ParagraphList.C (insert): adjust
3565         (push_back): adjust
3566
3567 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * paragraph_funcs.C (breakParagraph): adjust
3570         (breakParagraphConservative): adjust
3571
3572         * buffer.C (readParagraph): adjust
3573
3574         * ParagraphList.C (insert): take a reference instead of a pointer
3575         (insert): adjust
3576
3577         * paragraph.[Ch] (id): new function
3578
3579         * bufferlist.C (newFile): adjust
3580
3581         * ParagraphList.C (ParagraphList): adjust
3582         (assign): adjust
3583         (push_back): take a reference instead of a pointer.
3584
3585         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3586
3587         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3588         instead.
3589
3590         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3591         set else use old code.
3592
3593         * ParagraphList.C: remove all NO_NEXT code and only compile this
3594         code of NO_STD_LIST is set.
3595
3596 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * BufferView_pimpl.C:
3599         * TextCache.C:
3600         * TextCache.h:
3601         * bufferlist.C:
3602         * errorlist.h:
3603         * format.C:
3604         * format.h:
3605         * graph.C:
3606         * lyxfunc.C:
3607         * lyxrc.C:
3608         * graphics/GraphicsConverter.C:
3609         * graphics/PreviewLoader.C: header adjustment
3610
3611 2003-05-23  Angus Leeming  <leeming@lyx.org>
3612
3613         * LaTeXFeatures.[Ch] (useBabel): new method.
3614         * bufferparams.C (writeLaTeX): use it.
3615
3616 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * ParagraphList.h (set): remove unused function.
3619
3620 2003-05-23  André Pönitz  <poenitz@gmx.net>
3621
3622         * BufferView.C:
3623         * BufferView_pimpl.C:
3624         * buffer.C:
3625         * buffer.h:
3626         * lyxfunc.C:
3627         * undo_funcs.C: setUndo reworked
3628
3629         * iterators.[Ch]: add access to topmost ParagraphList
3630
3631         * lyxtext.[Ch] (workWidth): add a const
3632
3633 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * texrow.[Ch] (increasePos): remove function
3636         * exporter.C (export): removed unused var and outdated comment
3637
3638 2003-05-23  Angus Leeming  <leeming@lyx.org>
3639
3640         * latexrunparams.h: rename fragile as moving_arg.
3641         * paragraph.C (simpleTeXOnePar): ditto.
3642         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3643
3644 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3645
3646         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3647         (createUndo): ditto
3648         (textUndoOrRedo): comment out a currently unused var.
3649
3650         * paragraph.h (NO_NEXT): enable NO_NEXT
3651
3652         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3653
3654         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3655
3656         * exporter.C (Export): adjust for removeAutoInsets removal.
3657
3658         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3659
3660         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3661
3662         * BufferView.[Ch] (removeAutoInsets): delete function
3663
3664 2003-05-22  Angus Leeming  <leeming@lyx.org>
3665
3666         * latexrunparams.h: add a free_spacing variable.
3667
3668         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3669         to pass moving_arg, as the data is stored in runparams.fragile.
3670
3671         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3672         to Inset::latexOptional or to simpleTeXOnePar.
3673
3674         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3675         free_spacing arg to Inset::latexOptional.
3676
3677         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3678         free_spacing arg.
3679
3680 2003-05-22  Angus Leeming  <leeming@lyx.org>
3681
3682         * latexrunparams.h: add fragile and use_babel variables.
3683
3684         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3685         * buffer.C (makeLaTeXFile): store this returned value in
3686         runparams.use_babel, thus passing it to the inset::latex methods.
3687
3688         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3689         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3690
3691         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3692         longer has a fragile arg, as it is stored in runparams.fragile.
3693
3694         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3695         moving_arg parameter as the data is stored in runparams.fragile.
3696
3697         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3698         a fragile parameter as the data is stored in runparams.fragile.
3699
3700 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3703
3704 2003-05-22  Angus Leeming  <leeming@lyx.org>
3705
3706         * latexrunparams.h: add a 'bool nice' which defaults to false.
3707
3708         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3709         now encapsulated within runparams.
3710
3711         * bufferlist.C (updateIncludedTeXfiles):
3712         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3713
3714 2003-05-22  Angus Leeming  <leeming@lyx.org>
3715
3716         * latexrunparams.h: new file containing struct LatexRunParams.
3717         * Makefile.am: add new file.
3718
3719         * LaTeX.[Ch] (c-tor, run):
3720         * buffer.[Ch] (makeLaTeXFile):
3721         * bufferlist.[Ch] (updateIncludedTeXfiles):
3722         * converter.C (convert, scanLog):
3723         * converter.[Ch] (runLaTeX):
3724         * exporter.C (Export):
3725         * paragraph.[Ch] (simpleTeXOnePar):
3726         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3727         * paragraph_funcs.[Ch] (latexParagraphs):
3728         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3729         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3730         pass around a LatexRunParams parameter.
3731
3732 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * paragraph.[Ch]: remove unused constructor
3735
3736         * ParagraphList.C (erase): new function, taking two iterators
3737
3738 2003-05-22  André Pönitz  <poenitz@gmx.net>
3739
3740         * undo_funcs.C: remove duplicated code
3741
3742         * iterator.[Ch]: operator=
3743
3744 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * tabular.C (SetMultiColumn): ws changes
3747
3748         * rowpainter.C (paintFirst): get rid of a ->previous
3749
3750         * lyx_cb.C (getPossibleLabel): parlist simplification
3751
3752         * BufferView.C (ChangeInsets): simplify slightly.
3753
3754 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3755
3756         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3757         * lfuns.h: new LFUN_SPACE
3758         * lyxfunc.C: protected space has a new lfun
3759         * paragraph_funcs.C: read new space insets
3760         * text3.C:
3761         * factory.C: handle new space insets
3762
3763 2003-05-22  André Pönitz  <poenitz@gmx.net>
3764
3765         * BufferView.C:
3766         * BufferView_pimpl.C:
3767         * buffer.[Ch]:
3768         * lyxfunc.C:
3769         * undo_funcs.C: return a ParIterator from getParFromID.
3770
3771         * iterators.[Ch]: add two const's
3772
3773 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * toc.C (getTocList): adjust
3776
3777         * iterators.[Ch]: rework for parlist
3778
3779         * buffer.C (par_iterator_begin): adjust
3780         (par_iterator_end): adjust
3781
3782         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3783
3784         * BufferView.C (removeAutoInsets): adjust
3785         (ChangeInsets): adjust
3786
3787 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * text.C (top_y): fix bug 1110
3790
3791 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * errorlist.[Ch]: added
3794         * buffer.C:
3795         * BufferView.[Ch]:
3796         * BufferView_pimpl.C:
3797         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3798         instead
3799
3800 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * Makefile.am: ensure that lyx is relinked upon changes to the
3803         various "convenience" libs.
3804
3805 2003-05-20  Angus Leeming  <leeming@lyx.org>
3806
3807         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3808         files are compiled in alphabetical order again.
3809
3810         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3811
3812 2003-05-19  Angus Leeming  <leeming@lyx.org>
3813
3814         * gettext.[Ch]: remove "char const * _(char const *)".
3815
3816 2003-05-19  André Pönitz  <poenitz@gmx.net>
3817
3818         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3819
3820         * Makefile.am:
3821         * BufferView.C:
3822         * DepTable.h:
3823         * LaTeXFeatures.C:
3824         * buffer.C:
3825         * lyxfont.C:
3826         * lyxlex.h:
3827         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3828
3829 2003-05-19  André Pönitz  <poenitz@gmx.net>
3830
3831         * buffer.C:
3832         * lyxlayout.[Ch]:
3833         * lyxtextclass.[Ch]:
3834         * paragraph.C:
3835         * paragraph_funcs.[Ch]:
3836         * text2.C:
3837         * text3.C: more insetenv work
3838
3839 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * ParagraphParameters.C (params2string): small bug fixed
3842
3843 2003-05-16  André Pönitz  <poenitz@gmx.net>
3844
3845         * debug.C:
3846         * bufferview_funcs.C: patch from Kornel Benko to prevent
3847           crash when _(...) is called twice in a statement
3848
3849 2003-05-16  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView.C:
3852         * lyxfunc.C:
3853         * text.C:
3854         * text2.C:
3855         * text3.C:
3856         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3857
3858 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * lyx_main.C (init): remove spurious static_cast
3861
3862 2003-05-14  André Pönitz  <poenitz@gmx.net>
3863
3864         * BufferView.C: fix format string
3865
3866 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3867
3868         * BufferView.[Ch] (insertErrors): removed
3869         * BufferView.[Ch] (showErrorList): added
3870         * buffer.C (runChkTeX):
3871         * converter.C (scanLog): call showErrorList instead of inserterrors
3872
3873 2003-05-13  André Pönitz  <poenitz@gmx.net>
3874
3875         * BufferView_pimpl.C:
3876         * buffer.C:
3877         * bufferview_func.C:
3878         * MenuBackend.C:
3879         * lyxfunc.C:
3880         * lyxrc.C:
3881         * tex-accent.C:
3882         * text3.C:
3883         * toc.C:
3884         * tabular_funcs.h: tostr() from its own header
3885
3886         * ParagraphParameters.C:
3887         * ToolbarBackend.C:
3888         * bufferparams.C:
3889         * format.C:
3890         * lyxlex_pimpl.C:
3891         * text3.C: STRCONV()
3892
3893 2003-05-12  André Pönitz  <poenitz@gmx.net>
3894
3895         * BufferView.C:
3896         * BufferView_pimpl.C:
3897         * CutAndPaste.C:
3898         * LaTeX.C:
3899         * LaTeXFeatures.C:
3900         * ParagraphParameters.C:
3901         * buffer.C:
3902         * bufferlist.C:
3903         * bufferparams.C:
3904         * bufferview_funcs.C:
3905         * converter.C:
3906         * counters.C:
3907         * debug.C:
3908         * exporter.C:
3909         * format.C:
3910         * importer.C:
3911         * lyx_cb.C:
3912         * lyx_main.C:
3913         * lyxfont.C:
3914         * lyxfunc.C:
3915         * lyxvc.C:
3916         * paragraph.C:
3917         * paragraph_funcs.C:
3918         * tabular.C:
3919         * tabular_funcs.C:
3920         * text2.C:
3921         * text3.C:  boost::format -> bformat  all over the place
3922
3923
3924 2003-05-09  André Pönitz  <poenitz@gmx.net>
3925
3926         * LColor.[Ch]: Pimpl the #include <map> away
3927
3928 2003-05-09  John Levon  <levon@movementarian.org>
3929
3930         * bufferlist.C: never remove emergency saves
3931
3932 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * Makefile.am: better lib building
3935
3936 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3939         instead.
3940         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3941         (simpleTeXSpecialChars): adjust
3942         (simpleTeXSpecialChars): adjust
3943         * paragraph.C (simpleTeXOnePar): adjust
3944         * buffer.C (makeLaTeXFile): adjust
3945
3946         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3947
3948         * text2.C (changeDepth): parlist cleanup
3949         (getColumnNearX): ditto
3950
3951         * rowpainter.C (getLabelFont): parlist cleanup
3952
3953         * bufferlist.C (newFile): parlist cleanup
3954
3955         * CutAndPaste.C (eraseSelection): parlist cleanup
3956
3957         * BufferView_pimpl.C (trackChanges): parlist cleanup
3958         (dispatch): ditto
3959
3960         * BufferView.C (lockInset): parlist cleanup.
3961         (ChangeInsets): ditto
3962
3963 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * CutAndPaste.h: Update file header.
3966
3967         * CutAndPaste.C: Update file header.
3968         Store the parts cut out of the Document in a limited_stack.
3969         (copySelection): adjust
3970         (pasteSelection): new function, takes the index in the limited stack.
3971         (nrOfParagraphs): adjust
3972         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3973         simplify error inset insertion.
3974         (checkPastePossible): adjust
3975
3976 2003-05-06  John Levon  <levon@movementarian.org>
3977
3978         * text2.C: don't cast wrap inset to float
3979
3980 2003-05-05  André Pönitz  <poenitz@gmx.net>
3981
3982         * iterator.C:
3983         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3984
3985         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3986           few naked Paragraph *.
3987
3988 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3989
3990         * bufferparams.C: Output warning if a document with missing
3991         TeX document class is loaded
3992         * exporter.C: Disable TeX exports if the document class is missing
3993         * lyxtextclass.C:
3994         * lyxtextclass.h:
3995         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3996         isTeXClassAvailable()
3997
3998 2003-05-03  John Levon  <levon@movementarian.org>
3999
4000         * BufferView.h:
4001         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4002         explicit cursor show/hide
4003
4004         * BufferView_pimpl.h:
4005         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4006         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4007
4008         * lyxfunc.C: hide cursor before dispatching.
4009
4010         * lyx_cb.C:
4011         * lyxfind.C:
4012         * text.C:
4013         * text3.C: remove explicit cursor hides
4014
4015 2003-05-02  André Pönitz  <poenitz@gmx.net>
4016
4017         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4018
4019         * undo_funcs.C:
4020         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4021           linked lists
4022
4023         * text2.C: tiny whitespace
4024
4025 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * undo_funcs.C: almost only ws changes.
4028
4029         * ParagraphList.C (splice): just return if pl is empty.
4030
4031 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * ParagraphList.C (splice): new function.
4034
4035         * CutAndPaste.C (pasteSelection): use it
4036
4037 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * CutAndPaste.C (pasteSelection): remove the last next and
4040         previous from this file.
4041
4042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * CutAndPaste.C (pasteSelection): more clean up, user proper
4045         ParagraphList functions for pasteing.
4046
4047         * ParagraphList.C (insert): new function, three arg insert
4048
4049 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * ParagraphList.C (insert): new function, three arg insert
4052
4053         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4054         not on paragraphs.
4055
4056 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4059
4060 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4063
4064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4067         (copySelection): clean up a bit.
4068         (pasteSelection): use make_pair
4069
4070         * ParagraphList.C (ParagraphList): implement copy constructor
4071         (operator=): implement, base on copy constructor.
4072         (assign): new func
4073
4074         * paragraph.C (erase): return a bool
4075
4076         * paragraph_pimpl.C (erasePos): remove function, move contents...
4077         (erase): ... here. Return a bool.
4078         (erase): call erase instead of erasePos.
4079
4080 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * ParagraphList.h: define PitPosPair
4083         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4084         ParagraphList, fix a bug on pasting multiple pars
4085         * text2.C: change interface to C&P
4086
4087 2003-04-30  André Pönitz  <poenitz@gmx.net>
4088
4089         * undo_func.C: revert part of yesterday's patch 2
4090
4091 2003-04-30  John Levon  <levon@movementarian.org>
4092
4093         * LColor.C: s/tabular/table/
4094
4095 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * text3.C (dispatch): do not convert iterator -> pointer
4098         * undo_funcs.C (setCursorParUndo): ditto
4099         * text_funcs.C (transposeChars): ditto
4100
4101         * text2.C (setLayout): ws changes only
4102
4103         * text.C (breakParagraph): do not convert iterator -> pointer
4104         (insertChar): ditto
4105         (acceptChange): ditto
4106         (rejectChange): ditto
4107         (changeCase): ditto
4108         (Delete): ditto
4109         (backspace): ditto
4110
4111         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4112         pointer
4113
4114 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4115
4116         * text3.C (gotoInset): YABG (yet another bad getChar)
4117
4118 2003-04-29  André Pönitz  <poenitz@gmx.net>
4119
4120         * paragraph.h: make operator= private unimplemented as long as
4121           it is unusable
4122
4123         * ParagraphList.C: whitespace
4124
4125         * paragraph.[Ch]:
4126         * paragraph_pimpl.[Ch]:
4127         * paragraph_funcs.C:
4128         * CutAndPaste.C:
4129         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4130
4131         * text2.C:
4132           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4133
4134 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4137         * paragraph.[Ch] (erase):
4138         * paragraph_pimpl.[Ch] (erase): change return type and value
4139         * text2.C (cutSelection): some rework
4140
4141 2003-04-28  John Levon  <levon@movementarian.org>
4142
4143         * bufferlist.C: changes for unsaved changes dialog
4144
4145 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * bufferlist.C (newFile): set language (messages_) for new
4148         documents also.
4149
4150         * buffer.C (readFile): ws changes only.
4151
4152 2003-04-28  André Pönitz  <poenitz@gmx.net>
4153
4154         * undo_funcs.C:
4155         * lyxfunc.C:
4156         * buffer.[Ch]:
4157         * BufferView_pimpl.C:
4158         * BufferView.C: getParFromID related ParagraphList::iterator changes
4159
4160 2003-04-28  André Pönitz  <poenitz@gmx.net>
4161
4162         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4163           Changes
4164
4165 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * messages.C: remove one more localedir class variable.
4168
4169 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * messages.C (getLocaleDir): singleton generation function
4172         (Pimpl): use it.
4173         (Messages): add a default constructor.
4174
4175         * main.C (main): do not setup localedir here, do not call
4176         gettext_init.
4177
4178         * gettext.C (_): use it.
4179         (gettext_init): delete funciton
4180
4181 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * gettext.C (getLyXMessages): new singleton generating function.
4184
4185         * buffer.C (updateDocLang): adjust
4186
4187         * Makefile.am (messages.o): add target
4188         (main.o): remove target
4189
4190 2003-04-27  John Levon  <levon@movementarian.org>
4191
4192         * bufferlist.C:
4193         * lyx_cb.C:
4194         * lyxfunc.C:
4195         * lyxvc.C: specify cancel button in Alert::prompt
4196
4197 2003-04-26  John Levon  <levon@movementarian.org>
4198
4199         * text3.C:
4200         * lyxfunc.C:
4201         * lfuns.h:
4202         * LyXAction.C: add LFUN_INSET_SETTINGS
4203
4204         * lyxfunc.C: don't enable tabular-feature when there's
4205         just any locking inset
4206
4207 2003-04-26  John Levon  <levon@movementarian.org>
4208
4209         * bufferlist.C: re-add Cancel to buffer close question
4210
4211         * lyxfunc.C: fix import UI a bit
4212
4213 2003-04-25  John Levon  <levon@movementarian.org>
4214
4215         * gettext.C: remove the broken asserts for now
4216
4217 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * messages.C: make case where setlocale cannot comply work better.
4220
4221         * buffer.C (updateDocLang): new function
4222         (changeLanguage): use it
4223         (readFile): use it
4224
4225         * text2.C (setCounter): use B_ a bit.
4226
4227         * lyxlayout.C (Read): be sure to trim the label strings.
4228
4229         * messages.C (Messages): fix typo in comment
4230
4231         * buffer.C (readFile): set message_ after file is loaded.
4232         (makeDocBookFile): remove double return
4233         (changeLanguage): reset message_ upon language change.
4234         (B_): new func, use this to get translated buffer strings.
4235
4236         * main.C: add myself and Jean Marc as authors.
4237
4238 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * messages.[hC]: pimplify Messages, and three different pimpls to be
4241         used in different circumstances.
4242
4243         * gettext.[Ch]: change for use with new message code.
4244
4245 2003-04-24 André Pönitz <poenitz@gmx.net>
4246
4247         * factory.C: support for eqref
4248
4249 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * messages.[Ch]: add missing char
4252
4253         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4254
4255         * messages.[Ch]: New files
4256
4257 2003-04-18  John Levon  <levon@movementarian.org>
4258
4259         * BufferView.h:
4260         * BufferView.C:
4261         * BufferView_pimpl.C:
4262         * lfuns.h:
4263         * LyXAction.C:
4264         * lyxtext.h:
4265         * text2.C: remove layout-copy/paste (bug 778)
4266
4267 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4270
4271 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4274         if they succeed. Act accordingly.
4275
4276 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * text2.C (setCharFont): adjust
4279         (setCounter): adjust
4280         (insertStringAsLines): adjust
4281
4282         * text.C (leftMargin): adjust
4283         (setHeightOfRow): adjust
4284
4285         * rowpainter.C (paintFirst): adjust
4286         (paintLast): adjust
4287
4288         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4289         (outerHook): ditto
4290         (isFirstInSequence): ditto
4291         (getEndLabel): ditto
4292         (outerFont): adjust
4293
4294         * paragraph.C (getParLanguage): comment out some hard stuff.
4295
4296         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4297         (sgmlError): ditto
4298         (simpleDocBookOnePar): ditto
4299         (makeDocBookFile): use ParagraphList::iterator
4300
4301         * CutAndPaste.C (pasteSelection): adjust
4302
4303 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * text2.C (getFont): adjust
4306         (getLayoutFont): adjust
4307         (getLabelFont): adjust
4308
4309         * paragraph_funcs.C (TeXOnePar): adjust
4310
4311         * buffer.C (simpleLinuxDocOnePar): adjust
4312         (simpleDocBookOnePar): adjust
4313
4314         * CutAndPaste.C (pasteSelection): adjust
4315
4316         * BufferView.C (getEncoding): adjust
4317
4318         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4319
4320 2003-04-16  John Levon  <levon@movementarian.org>
4321
4322         * lyxfind.C: use parlist stuff for search/changes
4323
4324 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4327
4328         * text2.C (deleteEmptyParagraphMechanism): adjust
4329
4330         * text2.[Ch] (ownerParagraph): delete func (both of them
4331
4332 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4335
4336 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * ParagraphList.C: prepare for NO_NEXT
4339
4340 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * text2.C (getFont): adjust
4343         (getLayoutFont): adjust
4344         (getLabelFont): adjust
4345
4346         * paragraph.C (getFont): adjust
4347         (getLabelFont): adjust
4348         (getLayoutFont): adjust
4349
4350         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4351
4352 2003-04-15  John Levon  <levon@movementarian.org>
4353
4354         From Angus Leeming
4355
4356         * lyx_main.C: handle Include in .ui files
4357
4358 2003-04-15  John Levon  <levon@movementarian.org>
4359
4360         * MenuBackend.C: make the doc files length shorter
4361
4362         * ToolbarBackend.h:
4363         * ToolbarBackend.C: handle toolbar placement flags,
4364         Minibuffer
4365
4366 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4369         adjust
4370
4371         * paragraph_funcs.C (TeXOnePar): adjust
4372
4373         * paragraph.C (getLabelFont): add outerfont arg, adjust
4374         (getLayoutFont): ditto
4375         (simpleTeXOnePar): adjust
4376
4377         * paragraph_pimpl.C (realizeFont): delete func
4378
4379 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4382         row argument, constify cur argument.
4383
4384 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * text2.C (getFont): adjust
4387         (getLayoutFont): adjust
4388         (getLabelFont): adjust
4389
4390         * paragraph_funcs.C (TeXOnePar): adjust
4391         (outerFont): new func...
4392         (realizeFont): ...moved out from here, changed this to facilitate
4393         transition
4394
4395         * paragraph.C (getFont): take outerfont as arg, adjust
4396         (simpleTeXOnePar): add outerfont arg, adjust
4397
4398         * buffer.C (simpleLinuxDocOnePar): adjust
4399         (simpleDocBookOnePar): adjust
4400
4401         * CutAndPaste.C (pasteSelection): adjust
4402
4403         * BufferView.C (getEncoding): adjust
4404
4405 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * text2.C (setCharFont): adjust
4408         (setCounter): adjust
4409
4410         * text.C (leftMargin): adjust
4411         (setHeightOfRow): adjust
4412
4413         * rowpainter.C (paintFirst): adjust
4414         (paintLast): adjust
4415
4416         * paragraph_pimpl.C (realizeFont): adjust
4417
4418         * paragraph.C (isFirstInSequence): move from here...
4419         * paragraph_funcs.C (isFirstInSequence): ...to here
4420
4421         * paragraph.C (outerHook): move from here...
4422         * paragraph_funcs.C (outerHook): ...to here
4423
4424         * paragraph.C (depthHook): move from here...
4425         * paragraph_funcs.C (depthHook): ...to here
4426
4427         * paragraph.C (getEndLabel): move from here...
4428         * paragraph_funcs.C (getEndLabel): ...to here
4429
4430         * text2.C (realizeFont): move from here...
4431         * paragraph_funcs.C (realizeFont): ...to here
4432
4433 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4436
4437 2003-04-14  Angus Leeming  <leeming@lyx.org>
4438
4439         * LColor.[Ch]: scrap LColor mathcursor.
4440
4441 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * lyxlex.[Ch] (text): delete function
4444         * trans.C (Load): adjust
4445         * paragraph_funcs.C (readParToken): adjust
4446
4447 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4450         vector<char> instead of a char[].
4451
4452         * lyxlex_pimpl.C (getString): adjust
4453         (next): adjust
4454         (lex): use getString
4455         (eatLine): adjust
4456         (nextToken): adjust
4457
4458         * lyxlex.C (text): use pimpl_->getString()
4459         (getBool): ditto
4460         (findToken): ditto
4461
4462 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4465         (makeFontEntriesLayoutSpecific): temp var for par.size()
4466         (setLayout): temp var for ownerParagraphs().end()
4467         (fullRebreak): temp var for rows().end()
4468         (selectionAsString): temp var for boost::next(startpit), realize
4469         that the while really is a regular for loop.
4470         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4471         setCursor in one place.
4472         (setParagraph): temp vr for ownerParagraphs().end()
4473         (updateCounters): make the while loop a for loop
4474         (cutSelection): temp var for ownerParagraphs().end()
4475         (updateInset): make the do {} while() a regular for loop
4476         (getCursorX): use temp vars
4477         (setCurrentFont): use temp vars
4478         (getColumnNearX): use temp vars
4479
4480 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * text.C (transformChar): use temp var for getChar
4483         (computeBidiTables): use temp var for row->par()
4484         (fill): move temp vars for row->par() and pit->layout() earlier in
4485         the function.
4486         (labelFill): use temp var for row->par()
4487         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4488         asc and desc, realize that pit never changes and that firstpit is
4489         just a duplicate and not needed. Exchange rit->par() with pit in a
4490         lot of places.
4491         (breakAgain): use a temp var for boost::next(rit)
4492         (breakAgainOneRow): ditto
4493         (breakParagraph): use a temp var for rows().begin()
4494         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4495         (cursorRightOneWord): use temp var for cursor.par() and
4496         cursor.pos(), remove usage of tmpcursor.
4497         (cursorLeftOneWord): use temp var for cursor.par() and
4498         cursor.pos() only set cur at end of function.
4499
4500 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * text.C, text2.C: exchange all usage of Paragraph::next with
4503         boost::next(ParagraphList::iterator)
4504
4505         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4506
4507         * text2.C (cursorTop): simplify implementation
4508         (cursorBottom): ditto
4509         (setParagraph): use ParagraphList::iterator
4510         (setCurrentFont): adjust
4511         (getColumnNearX): adjust
4512         (cursorRight): adjust
4513         (cursorLeft): remove usage of Paragraph::previous
4514         (cursorUpParagraph): ditto
4515         (deleteEmptyParagraphMechanism): slight cleanup
4516
4517         * text.C (isBoundary): take a Paragraph const & instead of a
4518         pointer as arg.
4519         (addressBreakPoint): ditto
4520         (leftMargin): remove usage of Paragraph::previous.
4521         (setHeightOfRow): ditto
4522         (cursorLeftOneWord): ditto
4523         (selectNextWordToSpellcheck): ditto
4524         (Delete): ditto
4525         (backspace): ditto
4526         (breakParagraph): remove one usage of Paragraph::next
4527         (redoParagraph): ditto
4528         (acceptChange): ditto
4529         (insertChar): adjust
4530         (rowBreakPoint): adjust
4531
4532         * bufferview_funcs.C (toggleAndShow): adjust
4533
4534 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4537         methods to access it.
4538         * lyxtext.h:
4539         * text.C: Added updateRowPositions to compute all row positions.
4540         Make top_y and getRowNearY() to use the cached y position
4541
4542 2003-04-11  John Levon  <levon@movementarian.org>
4543
4544         * text.C (rowBreakPoint): reintroduce the labelEnd
4545         checks, code copied from the row fill stuff. Deep voodoo.
4546
4547         * text.C (fill): add a comment and debugging for the
4548         next poor soul.
4549
4550 2003-04-11  John Levon  <levon@movementarian.org>
4551
4552         * text.C: make sure fullrow insets get wrapped to the next line,
4553         even when they're in a manual label
4554
4555 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * text2.C (insertParagraph): make it take ParagraphList::iterator
4558         as arg.
4559         (setLayout): make it return ParagraphList::iterator
4560         (redoParagraphs): ditto
4561         (setCounter): ditto
4562         (checkParagraph): ditto
4563
4564         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4565
4566         * text2.C: adjust several funcs.
4567         (realizeFont): take a ParagraphList::iterator as arg.
4568         (getLayoutFont): ditto
4569         (getLabelFont): ditto
4570         (setCharFont): ditto
4571
4572         * text.C: adjust several funcs.
4573
4574 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * text.C (selectNextWordToSpellcheck): don't accidentally
4577         skip insets
4578
4579 2003-04-10  John Levon  <levon@movementarian.org>
4580
4581         * ToolbarBackend.C (getIcon): special handling for
4582         LFUN_MATH_DELIM
4583
4584 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * text2.C (cursorRight): a getChar assert fixed
4587
4588 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * text2.C (getFont): change to take a ParagraphList::iterator
4591         instead of Paragraph*
4592         Adjust several functions.
4593
4594         * text.C (transformChar): change to take a ParagraphList::iterator
4595         instead of Paragraph*
4596         (singleWidth): ditto
4597         Adjust several functions.
4598
4599         * rowpainter.C: adjust several functions
4600         * rowpainter.h:store a ParagraphList::iterator and not a
4601         Paragraph&.
4602
4603
4604 2003-04-09  John Levon  <levon@movementarian.org>
4605
4606         * lyxfunc.C:
4607         * lfuns.h:
4608         * LyXAction.h:
4609         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4610         and the "help" bits as well
4611
4612 2003-04-09  John Levon  <levon@movementarian.org>
4613
4614         * ToolbarBackend.h:
4615         * ToolbarBackend.C: allow multiple toolbars
4616
4617 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * undo_funcs.C (setCursorParUndo): adjust
4620
4621         * text_funcs.C (transposeChars): adjust
4622
4623         * text3.C (gotoNextInset): adjust
4624         (dispatch): adjust
4625
4626         * text2.C (setLayout): adjust
4627         (changeDepth): adjust
4628         (setFont): adjust
4629         (redoParagraphs): adjust
4630         (selectionAsString): adjust
4631         (setParagraph): adjust
4632         (insertInset): adjust
4633         (cutSelection): adjust
4634         (copySelection): adjust
4635         (pasteSelection): adjust
4636         (insertStringAsLines): adjust
4637         (updateInset): adjust
4638         (setCursor): change to take a ParagraphList::iterator parameter
4639         (setCursorIntern): change to take a ParagraphList::iterator parameter
4640         (setCurrentFont): adjust
4641         (cursorLeft): adjust
4642         (cursorRight): adjust
4643         (deleteEmptyParagraphMechanism): adjust
4644
4645         * text.C (breakParagraph): adjust
4646         (insertChar): adjust
4647         (acceptChange): adjust
4648         (rejectChange): adjust
4649         (selectNextWordToSpellcheck): adjust
4650         (changeCase): adjust
4651         (Delete): adjust
4652         (backspace): adjust
4653
4654         * lyxfind.C (SearchForward): adjust
4655         (SearchBackward): adjust
4656         (nextChange): adjust
4657
4658         * lyxcursor.C (par): adjust
4659
4660         * lyxcursor.h: store a ParagraphList::iterator instead of a
4661         Paragraph*
4662
4663         * lyx_cb.C (getPossibleLabel): adjust
4664
4665         * bufferview_funcs.C (toggleAndShow): adjust
4666
4667         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4668         (dispatch): adjust
4669
4670         * BufferView.C (removeAutoInsets): adjust
4671         (lockedInsetStoreUndo): adjust
4672
4673 2003-04-09  John Levon  <levon@movementarian.org>
4674
4675         * ToolbarBackend.C: try icon without argument
4676         if with argument fails
4677
4678 2003-04-08  John Levon  <levon@movementarian.org>
4679
4680         * ToolbarBackend.h:
4681         * ToolbarBackend.C: add getIcon(), handle tooltip,
4682         and change from "Icon" to "Item".
4683
4684 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * BufferView.C (lockInset): another bad getchar crunched
4687
4688 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4691         again)
4692
4693 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * lyxfind.C (searchForward, searchBackwards): bug 782
4696
4697 2003-04-07  John Levon  <levon@movementarian.org>
4698
4699         * paragraph.C: remove dead comment
4700
4701         * text.C: remove troublesome depth-fiddling code
4702         in leftMargin() and rightMargin() (bug 1017)
4703
4704         * text.C: fix breaking of rows in nested lists
4705         (bug 1004)
4706
4707         * text2.C (updateCounters): fix up depth values
4708         (bug 1013)
4709
4710 2003-04-07  John Levon  <levon@movementarian.org>
4711
4712         * BufferView_pimpl.C: clear message when doc finishes resizing,
4713         and after a mouse event
4714
4715         * lyxfunc.C: clear message after exiting inset
4716
4717 2003-04-07  John Levon  <levon@movementarian.org>
4718
4719         * bufferview_funcs.C: show math status not outside
4720         status in the statusbar
4721
4722 2003-04-07  John Levon  <levon@movementarian.org>
4723
4724         * lyxfunc.C: note status changed after a depth change
4725
4726 2003-04-04  Angus Leeming  <leeming@lyx.org>
4727
4728         * LaTeX.h: move AuxInfo operator==, != out of line.
4729         Remove LaTeX virtual destructor; nothing derives from it.
4730         Move operator()() out of public area and rename it startscript().
4731         Change protected for private.
4732
4733 2003-04-04  Angus Leeming  <leeming@lyx.org>
4734
4735         * lyxfunc.C:
4736         * text2.C: remove unneeded #includes.
4737
4738 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4739
4740         * text2.C (dEPM): fix the heigth of the next row
4741
4742 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4743
4744         * text.C: squashed an invalid getChar requester + some ws changes
4745
4746 2003-04-03  John Levon  <levon@movementarian.org>
4747
4748         * bufferview_funcs.h:
4749         * bufferview_funcs.C:
4750         * lyxfunc.C:
4751         * lyxtext.h:
4752         * text2.C: make getStatus work for the env depth lfuns
4753
4754 2003-04-03  John Levon  <levon@movementarian.org>
4755
4756         * bufferview_funcs.h:
4757         * bufferview_funcs.C:
4758         * lyxfunc.C:
4759         * lyxtext.h:
4760         * text2.C: parlistize decDepth(), by merging it with incDepth()
4761
4762 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * lyxrow.h: store a ParagraphList::iterator instead of a
4765         Paragraph* and adjust other class functions to suit.
4766
4767         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4768         above.
4769
4770 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * text2.C (setCursor): do not anchor to cursor row for the time being
4773
4774 2003-04-02  John Levon  <levon@movementarian.org>
4775
4776         * LyXAction.C:
4777         * lfuns.h:
4778         * lyx_main.C:
4779         * lyxtext.h:
4780         * text.C:
4781         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4782
4783 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * paragraph.h: make ParagraphList and ParagraphList::iterator
4786         friends of Paragraph.
4787
4788         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4789
4790         * ParagraphList.C: Use the private next_ and previous_ from
4791         Paragraph.
4792
4793 2003-04-01  John Levon  <levon@movementarian.org>
4794
4795         * ToolbarBackend.h:
4796         * ToolbarBackend.C:
4797         * Makefile.am: rename, remove defaults gunk
4798
4799         * MenuBackend.h:
4800         * MenuBackend.C: remove defaults gunk
4801
4802         * Languages.h:
4803         * Languages.C: remove defaults gunk
4804
4805         * lyx_main.h:
4806         * lyx_main.C: error out if files couldn't be found.
4807
4808 2003-04-02  John Levon  <levon@movementarian.org>
4809
4810         * text2.C: make incDepth() use parlist
4811
4812 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * undo_funcs.C (firstUndoParagraph): adjust
4815
4816         * text3.C (gotoInset): adjust
4817         (dispatch): adjust, and rewrite loop.
4818
4819         * text2.C (init): adjust, and rewrite loop.
4820         (redoParagraphs): adjust
4821         (updateInset): adjust, and rewrite loop.
4822         (deleteEmptyParagraphMechanism): adjust
4823
4824         * tabular.C (LyXTabular): adjust
4825         (SetMultiColumn): adjust
4826         (TeXRow): adjust
4827
4828         * lyxtext.[Ch] (ownerParagraph): delete function
4829         (ownerParagraphs): new function returns a ParagraphList.
4830
4831         * BufferView.C (removeAutoInsets): adjust
4832         (insertErrors): adjust
4833         (setCursorFromRow): adjust
4834
4835 2003-04-01  Angus Leeming  <leeming@lyx.org>
4836
4837         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4838         in the frontends.
4839
4840 2003-04-02  John Levon  <levon@movementarian.org>
4841
4842         * lyxtext.h:
4843         * text.C:
4844         * Makefile.am:
4845         * text_funcs.h:
4846         * text_funcs.C: make transposeChars a free function
4847
4848         * lyxrow_funcs.C: remove wrong comment
4849
4850 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * lyxtext.h: adjust
4853         * rowpainter.C: adjust
4854         * text.C: adjust
4855         * text2.C: adjust
4856         * text3.C: adjust
4857
4858         * lyxrow_funcs. [Ch]: new files
4859
4860         * lyxrow.[Ch]: remove next and previous pointers
4861         (next,previous): remove accessor functions
4862         (isParEnd): move to lyxrow_funcs
4863         (lastPos): move to lyxrow_funcs
4864         (nextRowIsAllInset): move to lyxrow_funcs
4865         (lastPrintablePos): move to lyxrow_funcs
4866         (numberOfSeparators): move to lyxrow_funcs
4867         (numberOfHfills): move to lyxrow_funcs
4868         (numberOfLabelHfills): move to lyxrow_funcs
4869         (hfillExpansion): move to lyxrow_funcs
4870
4871         * lyxfunc.C: adjust
4872
4873         * bufferview_funcs.C (toggleAndShow): adjust
4874
4875         * RowList.h: Remove class RowList from file leave just a
4876         std::list<Row>.
4877
4878         * RowList.C: delete file
4879
4880         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4881         and lyxrow_funcs.h
4882
4883 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * text3.C (cursorPrevious): adjust
4886         (cursorNext): adjust
4887         (dispatch): adjust
4888
4889         * text2.C (redoHeightOfParagraph): adjust
4890         (redoDrawingOfParagraph): adjust
4891         (setCursor): adjust
4892
4893         * text.C (breakParagraph): adjust
4894         (insertChar): adjust
4895         (backspace): adjust
4896
4897         * rowpainter.C (RowPainter): adjust
4898         (leftMargin): simplify and adjust
4899         (most rowpainter functions): adjust.
4900
4901         * rowpainter.h: store the row as RowList::iterator not as Row*
4902
4903         * lyxcursor.C (row): taka RowList::iterator as arg
4904         (irow): ditto
4905
4906         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4907         of Row*.
4908
4909 2003-04-01  Angus Leeming  <leeming@lyx.org>
4910
4911         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4912         stuff like bool Bool.
4913
4914 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4917         rewrite a loop
4918
4919 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4922         RowList::iterator.
4923
4924         * lyxtext.h (rows): drop one version and leve a const variant that
4925         returns a RowList::iterator.
4926
4927 2003-03-31  Angus Leeming  <leeming@lyx.org>
4928
4929         * text.C (fill): ensure that the signature is the same as that in the
4930         header file.
4931
4932 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text2.C (redoParagraphs): adjust
4935         (updateCounters): adjust
4936         (checkParagraph): adjust
4937         (getColumnNearX): adjust and reformat a bit.
4938
4939         * text.C (top_y): adjust
4940         (workWidth): adjust
4941         (leftMargin): adjust
4942         (prepareToPrint): adjust
4943         (getRow): adjust
4944         (getRowNearY): adjust
4945
4946         * lyxtext.h: make rowlist_ mutable.
4947
4948         * RowList.h: add const_iterator
4949         * RowList.C: adjust for RowList::const_iterator.
4950
4951         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4952         adjust.
4953
4954 2003-03-31  John Levon  <levon@movementarian.org>
4955
4956         * lyxrc.h:
4957         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4958
4959         * lyx_main.C: set default fonts from using lyx_gui funcs
4960
4961         * exporter.C: pdf_mode moved from lyxrc
4962
4963         * lyx_cb.C:
4964         * lyxfunc.C: changes from above
4965
4966 2003-03-31  John Levon  <levon@movementarian.org>
4967
4968         * lyx_main.C: fix to the last fix
4969
4970 2003-03-31  John Levon  <levon@movementarian.org>
4971
4972         * bufferlist.C: "Load original" -> "Load Original"
4973
4974         * converter.C:
4975         * exporter.C:
4976         * importer.C:
4977         * lyx_main.C:
4978         * format.C: more Alert cleanups
4979
4980 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * text2.C (removeParagraph): make it take a RowList::iterator as
4983         arg, adjust.
4984         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4985         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4986
4987         * text.C (anchor_row): make it take a RowList::iterator as arg,
4988         adjust.
4989         (computeBidiTables): make it take a const reference to Row instead
4990         of Row pointer, adjust.
4991         (leftMargin): make it take a RowList::iterator as arg, adjust.
4992         (rowBreakPoint): adjust
4993         (breakAgainOneRow): make it take a RowList::iterator as arg,
4994         adjust.
4995         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4996
4997         * bufferview_funcs.C (toggleAndShow): adjust
4998
4999 2003-03-30  John Levon  <levon@movementarian.org>
5000
5001         * Makefile.am:
5002         * BoostFormat.h:
5003         * boost-inst.C: moved to support
5004
5005         * several files: changes as a result
5006
5007 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * text2.C (LyXText): adjust.
5010         (init): adjust
5011         (removeRow): make it take a RowList::iterator as arg, adjust.
5012         (fullRebreak): adjust
5013         (deleteEmptyParagraphMechanism): adjust
5014         (clearPaint): adjust
5015         (postPaint): adjust
5016
5017         * text.C (top_y): adjust
5018         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5019         (breakAgain): make it take a RowList::iterator as arg, adjust.
5020         (breakParagraph): adjust
5021         (insertChar): adjust
5022         (backspace): adjust
5023
5024         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5025         need_break_row, and refresh_row.
5026
5027         * text3.C (dispatch): adjust
5028
5029         * text2.C (checkParagraph): adjust
5030         (setCursor): adjust
5031         (setCursorFromCoordinates): adjust
5032
5033         * text.C (top_y): adjust
5034         (workWidth): adjust
5035         (getRow): make it return a RowList::iterator, adjust
5036         (getRowNearY): make it return a RowList::iterator, adjust
5037
5038         * text2.C (init): adjust
5039         (insertRow): remove function
5040         (insertParagraph): adjust
5041         (redoParagraphs): adjust
5042         (fullRebreak): adjust
5043         (updateCounters): adjust
5044
5045         * text.C (top_y): rewrite to use RowList iterators.
5046         (top_y): adjust
5047         (setHeightOfRow): rewrite to sue RowList iterators.
5048         (appendParagraph): adjust
5049         (breakAgain): adjust
5050         (breakAgainOneRow): adjust
5051         (breakParagraph): adjust
5052         (getRow): adjust
5053         (getRowNearY): adjust, and remove commented code.
5054
5055         * lyxtext.h (firstRow): delete function
5056         (lastRow): delete function
5057         (rows): new function (const and non-const versions.)
5058         (insertRow): delete function
5059
5060         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5061
5062 2003-03-29  John Levon  <levon@movementarian.org>
5063
5064         * BufferView_pimpl.C: always update scrollbar top
5065         because pasting text when we're anchored could mean we
5066         miss an update altogether
5067
5068 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * text2.C (init): use rowlist_.end() and not 0.
5071         (insertRow): change to take a RowList::iterator as arg, adjust
5072         for this.
5073         (insertParagraph): change to take a RowList::iterator as arg,
5074         adjust for this.
5075         (redoParagraphs): remove some debug msgs.
5076
5077         * text.C (appendParagraph): change to take a RowList::iterator
5078         arg, adjust for this.
5079         (breakAgain): add an assert
5080         (breakAgainOneRow): ditto
5081
5082 2003-03-29  John Levon  <levon@movementarian.org>
5083
5084         * text2.C: do not clear selection after inc/decDepth
5085         (bug 550)
5086
5087 2003-03-29  John Levon  <levon@movementarian.org>
5088
5089         * BufferView.C:
5090         * buffer.C: fix broken strerrors according to Lars
5091
5092 2003-03-29  John Levon  <levon@movementarian.org>
5093
5094         * converters.C: more Alert cleanups
5095
5096 2003-03-29  John Levon  <levon@movementarian.org>
5097
5098         * bufferview_funcs.C: remove pointless Alert
5099
5100         * buffer.C: fix confusing error message when
5101         a template is chmoded 000
5102
5103 2003-03-29  John Levon  <levon@movementarian.org>
5104
5105         * BufferView.C:
5106         * BufferView.h:
5107         * BufferView_pimpl.C: Alert fixes
5108
5109         * Makefile.am:
5110         * tabular.C:
5111         * tabular-old.C: remove unused table compat reading
5112
5113 2003-03-29  John Levon  <levon@movementarian.org>
5114
5115         * BufferView.C:
5116         * buffer.C:
5117         * lyx_cb.h:
5118         * lyx_cb.C: more Alert cleanups
5119
5120         * lyxfunc.C: don't allow chktex if not latex document
5121
5122 2003-03-29  John Levon  <levon@movementarian.org>
5123
5124         * lyx_cb.C:
5125         * BufferView.C:
5126         * buffer.C: warnings pushed down from support/,
5127         kill err_alert
5128
5129 2003-03-29  John Levon  <levon@movementarian.org>
5130
5131         * lyxfunc.C: safety check for C-r (revert)
5132
5133 2003-03-29  John Levon  <levon@movementarian.org>
5134
5135         * bufferlist.h:
5136         * bufferlist.C: several UI fixes using Alert::prompt.
5137         Fix the pointless looping quit code. Fix stupid revert
5138         behaviour (bug 938)
5139
5140         * lyxvc.h:
5141         * lyxvc.C:
5142         * lyx_cb.C: use Alert::prompt
5143
5144         * lyx_main.C: remove a silly question
5145
5146         * lyxfunc.C: remove a couple of silly questions,
5147         use Alert::prompt
5148
5149 2003-03-28  John Levon  <levon@movementarian.org>
5150
5151         * text2.C: fix bug 974 (End on empty par)
5152
5153 2003-03-28  John Levon  <levon@movementarian.org>
5154
5155         * BufferView_pimpl.C:
5156         * LyXAction.C:
5157         * lfuns.h: remove do-nothing math greek lfuns
5158
5159 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * lyxgluelength.h (isValidGlueLength): add default arg on
5162         parameter 2. Remove default arg from friend in class.
5163
5164         * lyxlength.h (isValidLength): add default arg on parameter 2.
5165         Remove default arg from friend in class.
5166
5167         * text2.C (LyXText): adjust, initialize refresh_row.
5168         (init): adjust
5169         (removeRow): adjust
5170         (insertRow): adjust
5171         (insertParagraph): adjst
5172         (redoParagraphs): adjust
5173         (fullRebreak): adjust
5174         (updateCounters): adjust
5175         (deleteEmptyParagraphMechanism): first attempt at fixing a
5176         crashing bug.
5177
5178         * text.C (top_y): adjust
5179         (setHeightOfRow): adjust
5180         (getRow): adjust
5181         (getRowNearY): adjust
5182
5183         * lyxtext.h: include RowList.h
5184         (~LyXText): not needed anymore, deleted.
5185         (firstRow): modify for RowList
5186         (lastRow): new function
5187         Delete firstrow and lastrow class variables, add a Rowlist
5188         rowlist_ class variable.
5189
5190         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5191         paragraph is empty.
5192
5193         * RowList.C (insert): fix case where it == begin().
5194
5195 2003-03-26  Angus Leeming  <leeming@lyx.org>
5196
5197         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5198         the thesaurus dialog.
5199
5200 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5203
5204         * RowList.[Ch]: new files
5205
5206         * ParagraphList.C (erase): handle the case where it == begin
5207         correctly.
5208
5209 2003-03-25  John Levon  <levon@movementarian.org>
5210
5211         * Makefile.am:
5212         * aspell_local.h:
5213         * aspell.C: add new aspell support
5214
5215         * lyxrc.h:
5216         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5217         have it accessible.
5218
5219 2003-03-25  Angus Leeming  <leeming@lyx.org>
5220
5221         * lfuns.h:
5222         * LyXAction.C (init): new LFUN_INSET_INSERT.
5223
5224         * BufferView_pimpl.C (dispatch): split out part of the
5225         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5226
5227         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5228         LFUN_INSET_APPLY.
5229
5230 2003-03-25  Angus Leeming  <leeming@lyx.org>
5231
5232         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5233
5234 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text2.C:
5237         * text3.C: remove useless row->height(0)
5238
5239 2003-03-25  John Levon  <levon@movementarian.org>
5240
5241         * lyxtext.h:
5242         * text2.C:
5243         * text3.C: rename the refreshing stuff to better names
5244
5245 2003-03-24  John Levon  <levon@movementarian.org>
5246
5247         * BufferView_pimpl.h:
5248         * BufferView_pimpl.C: update layout choice on a mouse
5249         press/release
5250
5251 2003-03-23  John Levon  <levon@movementarian.org>
5252
5253         * Makefile.am: fix commandtags.h reference
5254
5255 2003-03-22  John Levon  <levon@movementarian.org>
5256
5257         * BufferView_pimpl.C:
5258         * lyxtext.h:
5259         * rowpainter.C:
5260         * rowpainter.h:
5261         * text.C:
5262         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5263
5264 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * lyxtext.h:
5267         * text.C: take the rtl methods out of line
5268
5269 2003-03-21 André Pönitz <poenitz@gmx.net>
5270
5271         * metricsinfo.[Ch]: new files containing structures to be passed around
5272         during the two-phase-drawing...
5273
5274 2003-03-21 André Pönitz <poenitz@gmx.net>
5275
5276         * lyxtextclass.C: read 'environment' tag.
5277
5278 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * text2.C (removeRow): fix bug 964
5281
5282 2003-03-20  John Levon  <levon@movementarian.org>
5283
5284         * rowpainter.C:
5285         * text.C:
5286         * text2.C: paint cleanups. Inset::update() dropped font
5287         parameter
5288
5289 2003-03-19  John Levon  <levon@movementarian.org>
5290
5291         * lyxfunc.C: only fitcursor/markDirty if available()
5292
5293 2003-03-19  John Levon  <levon@movementarian.org>
5294
5295         * commandtags.h: rename to ...
5296
5297         * lfuns.h: ... this, and renumber / cleanup
5298
5299 2003-03-19  John Levon  <levon@movementarian.org>
5300
5301         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5302         fit the cursor after an lfun
5303
5304         * BufferView.h:
5305         * BufferView.C:
5306         * BufferView_pimpl.h:
5307         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5308
5309         * LyXAction.C: layout-character should have ReadOnly
5310
5311         * ParagraphParameters.C:
5312         * buffer.C:
5313         * bufferview_funcs.C:
5314         * lyx_cb.C:
5315         * lyxfind.C:
5316         * lyxtext.h:
5317         * text.C:
5318         * text2.C:
5319         * text3.C:
5320         * undo_funcs.C: changes from above
5321
5322 2003-03-18  John Levon  <levon@movementarian.org>
5323
5324         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5325         remove it from update()
5326
5327         * lyxfunc.C: update layout choice after an lfun
5328
5329         * text3.C: remove extra updateLayoutChoice()s
5330
5331 2003-03-18  John Levon  <levon@movementarian.org>
5332
5333         * text.C: top_y change means full repaint, fix
5334         a drawing bug with cursor movement
5335
5336 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5337
5338         * lyxtext.h:
5339         * text.C:
5340         * text2.C: anchor row on setCursor
5341
5342 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5343
5344         * lyxtext.h: remove almost all mutable keywords
5345         * text.C:
5346         * text2.C:
5347         * text3.C: remove const keywords accordingly
5348
5349 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5352         anon namespace
5353         (TeXEnvironment): ditto
5354         (TeXOnePar): ditto
5355
5356 2003-03-17  John Levon  <levon@movementarian.org>
5357
5358         * text.C (rowBreakPoint): remove attempt to fix displayed
5359         math insets inside a manual label
5360
5361 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * lyxtext.h: remove BufferView* as first arg from almost all class
5364         functions.
5365         * other files: adjust.
5366
5367 2003-03-17  John Levon  <levon@movementarian.org>
5368
5369         * lyxtext.h:
5370         * undo_funcs.C:
5371         * text2.C: more paint cleanups
5372
5373         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5374
5375         * rowpainter.h:
5376         * rowpainter.C: remove "smart" background painting code
5377
5378 2003-03-16  John Levon  <levon@movementarian.org>
5379
5380         * lyxtext.h:
5381         * text.C:
5382         * text2.C:
5383         * text3.C: add helper functions for setting refresh_row/y
5384
5385 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5386
5387         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5388         newline inset which *can* get inserted in the pass_thru layouts.
5389         This is primarily for literate documents.
5390
5391 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5392
5393         * buffer.C: increment LYX_FORMAT to 223
5394
5395 2003-03-14 André Pönitz <poenitz@gmx.net>
5396
5397         * textclass.h: prepare for environment handling, ws changes
5398         * lyxlayout.C: read latexheader and latexfooter tags
5399
5400 2003-03-14  John Levon  <levon@movementarian.org>
5401
5402         * text2.C: rewrite ::status() a bit
5403
5404 2003-03-13  John Levon  <levon@movementarian.org>
5405
5406         * lyxtext.h: add some docs
5407
5408 2003-03-13  John Levon  <levon@movementarian.org>
5409
5410         * lyxtext.h:
5411         * text.C:
5412         * text2.C:
5413         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5414
5415 2003-03-13  John Levon  <levon@movementarian.org>
5416
5417         * text3.C: fix appendix redrawing
5418
5419 2003-03-13  John Levon  <levon@movementarian.org>
5420
5421         * text.C (setHeightOfRow):
5422         * rowpainter.h:
5423         * rowpainter.C: make appendix mark have the text
5424           "Appendix" so the user knows what it is
5425
5426         * LColor.h:
5427         * LColor.C: s/appendixline/appendix/ from above
5428
5429 2003-03-13  John Levon  <levon@movementarian.org>
5430
5431         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5432
5433         * text.C: fix a getChar(pos) bug properly
5434
5435 2003-03-13  Angus Leeming  <leeming@lyx.org>
5436
5437         * commandtags.h:
5438         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5439         Probably only temporary. Let's see how things pan out.
5440
5441         * BufferView.C (unlockInset):
5442         * BufferView_pimpl.C (fitCursor):
5443         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5444
5445         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5446         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5447
5448         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5449         new functions that convert ParagraphParameters to and from a string.
5450
5451         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5452         BufferView::Pimpl's dispatch.
5453         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5454
5455 2003-03-13 André Pönitz <poenitz@gmx.net>
5456
5457         * lyxfunc.C:
5458         * text3.C:
5459         * factory.C: make it aware of InsetEnv
5460
5461 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * text2.C (setCursor): never ask for one past last
5464         (setCursor): add some debugging messages.
5465
5466         * text.C (singleWidth): never ask for one past last
5467         (singleWidth): ditto
5468         (leftMargin): ditto
5469         (rightMargin): ditto
5470         (rowBreakPoint): ditto
5471         (setHeightOfRow): ditto
5472         (prepareToPrint): ditto
5473
5474         * rowpainter.C (paintBackground): never ask for one past last
5475         (paintText): never ask for one past last
5476
5477         * paragraph_pimpl.C (getChar): make the assert stricter, never
5478         allow the one past last pos to be taken
5479
5480         * paragraph.C (getChar): ws changes only
5481
5482         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5483         (numberOfSeparators): ditto
5484         (numberOfHfills): ditto
5485
5486 2003-03-12  John Levon  <levon@movementarian.org>
5487
5488         * author.h:
5489         * author.C:
5490         * bufferparams.h:
5491         * bufferparams.C:
5492         * paragraph_funcs.C: fix per-buffer authorlists
5493
5494 2003-03-12  John Levon  <levon@movementarian.org>
5495
5496         * text.C: fix newline in right address
5497
5498 2003-03-12  Angus Leeming  <leeming@lyx.org>
5499
5500         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5501         duplicate those in LyXFunc::dispatch.
5502
5503         * commandtags.h:
5504         * LyXAction.C:
5505         * ToolbarDefaults.C:
5506         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5507         Add LFUN_FONTFREE_UPDATE.
5508
5509         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5510         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5511
5512         * bufferview_func.[Ch]: several new functions to facilliate
5513         transfer of data to and from the character dialog.
5514
5515 2003-03-12  John Levon  <levon@movementarian.org>
5516
5517         * buffer.C:
5518         * paragraph.h:
5519         * paragraph.C:
5520         * paragraph_funcs.C:
5521         * paragraph_pimpl.C:
5522         * sgml.C:
5523         * tabular.C:
5524         * text.C:
5525         * text3.C: remove META_NEWLINE in favour of an inset
5526
5527         * rowpainter.h:
5528         * rowpainter.C: remove paintNewline (done by inset)
5529
5530 2003-03-12  John Levon  <levon@movementarian.org>
5531
5532         * paragraph_pimpl.C: complain about bad getChar()s
5533         for a while at least
5534
5535 2003-03-12  John Levon  <levon@movementarian.org>
5536
5537         * buffer.h:
5538         * buffer.C: move paragraph read into a separate function,
5539         a little renaming to reflect that.
5540
5541         * bufferparams.h:
5542         * bufferparams.C: remove the author_ids map, not necessary now
5543
5544         * factory.h:
5545         * factory.C: moved Buffer::readInset to here
5546
5547         * paragraph_funcs.h:
5548         * paragraph_funcs.C: readParagraph free function moved from
5549         buffer.C
5550
5551         * tabular.C: name change
5552
5553 2003-03-12  John Levon  <levon@movementarian.org>
5554
5555         * buffer.C:
5556         * ParagraphParameters.C: move par params input to
5557         a read() method
5558
5559         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5560         behave like a normal read from the stream wrt reading
5561         a line vs. a \\token
5562
5563 2003-03-12  John Levon  <levon@movementarian.org>
5564
5565         * paragraph.C:
5566         * ParagraphParameters.h:
5567         * ParagraphParameters.C: move output code to a
5568         ::write() method
5569
5570 2003-03-12  John Levon  <levon@movementarian.org>
5571
5572         * BufferView.C (insertLyXFile):
5573         * buffer.h:
5574         * buffer.C:
5575         * tabular.C: use a parlist iterator for creating the
5576           document.
5577
5578 2003-03-12  John Levon  <levon@movementarian.org>
5579
5580         * buffer.C: make current_change static local not
5581           static file-scope
5582
5583 2003-03-12  John Levon  <levon@movementarian.org>
5584
5585         * buffer.C: fix insertStringAsLines for change tracking
5586
5587 2003-03-12  John Levon  <levon@movementarian.org>
5588
5589         * BufferView.C:
5590         * tabular.C:
5591         * buffer.h:
5592         * buffer.C:
5593         * bufferparams.h:
5594         * bufferparams.C: move author list into params. Rename some
5595           functions. Move the header reading into a separate token
5596           loop. Move the header token reading into BufferParams.
5597
5598 2003-03-12  John Levon  <levon@movementarian.org>
5599
5600         * changes.C: put debug inside lyxerr.debugging() checks
5601
5602 2003-03-11 André Pönitz <poenitz@gmx.net>
5603
5604         * factory.C: make it aware of InsetHFill
5605
5606 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5607
5608         * buffer.C (latexParagraphs): move function from here...
5609         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5610         args.
5611
5612 2003-03-10  Angus Leeming  <leeming@lyx.org>
5613
5614         * LyXAction.C (init): fix bug in poplating array with multiple entries
5615         with the same LFUN (spotted by JMarc).
5616
5617 2003-03-10  John Levon  <levon@movementarian.org>
5618
5619         * text.C:
5620         * text2.C: move getColumnNearX() near its
5621         only call site
5622
5623 2003-03-10  John Levon  <levon@movementarian.org>
5624
5625         * text.C: fix break before a minipage
5626
5627 2003-03-10  John Levon  <levon@movementarian.org>
5628
5629         * text.C: fix the last commit
5630
5631 2003-03-09  John Levon  <levon@movementarian.org>
5632
5633         * lyxtext.h:
5634         * text.C:
5635         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5636         bug 365 (don't break before insets unless needed). Don't
5637         return a value > last under any circumstances.
5638
5639 2003-03-09  Angus Leeming  <leeming@lyx.org>
5640
5641         * BufferView_pimpl.C (trackChanges, dispatch): call
5642         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5643
5644 2003-03-09  Angus Leeming  <leeming@lyx.org>
5645
5646         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5647         than Dialogs::showAboutlyx().
5648
5649 2003-03-09  Angus Leeming  <leeming@lyx.org>
5650
5651         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5652         than Dialogs::showTabularCreate().
5653
5654 2003-03-09  John Levon  <levon@movementarian.org>
5655
5656         * lyxtext.h:
5657         * text.C:
5658         * text2.C: 3rd arg to nextBreakPoint was always the same.
5659           Use references.
5660
5661 2003-03-08  John Levon  <levon@movementarian.org>
5662
5663         * lyxrow.C:
5664         * paragraph.C:
5665         * paragraph.h:
5666         * rowpainter.C:
5667         * text.C:
5668         * text2.C: Remove the "main" bit from the "main body"
5669           notion.
5670
5671 2003-03-08  John Levon  <levon@movementarian.org>
5672
5673         * text.C (leftMargin): The left margin of an empty
5674         manual label paragraph should not include the label width
5675         string length.
5676
5677         * text.C (prepareToPrint): don't attempt to measure hfills
5678         for empty manual label paragraphs - the answer should be 0
5679
5680 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * CutAndPaste.C: remove commented code and reindent.
5683
5684 2003-03-08  John Levon  <levon@movementarian.org>
5685
5686         * lyxfunc.h:
5687         * lyxfunc.C: move reloadBuffer()
5688
5689         * BufferView.h:
5690         * BufferView.C: to here
5691
5692         * lyxvc.C: add comment
5693
5694         * vc-backend.h:
5695         * vc-backend.C: call bv->reload() to avoid
5696           getStatus() check on MENURELOAD
5697
5698 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5699
5700         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5701         to an old format .dep file.
5702
5703 2003-03-07  Angus Leeming  <leeming@lyx.org>
5704
5705         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5706         when the LFUN_MOUSE_RELEASE should have been handled by
5707         inset->localDispatch.
5708
5709 2003-03-07  Angus Leeming  <leeming@lyx.org>
5710
5711         * BufferView_pimpl.C (dispatch):
5712         * LyXAction.C (init):
5713         * ToolbarDefaults.C (init):
5714         * commandtags.h:
5715         * lyxfunc.C (getStatus):
5716         remove LFUN_INSET_GRAPHICS.
5717
5718         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5719
5720 2003-03-07  Angus Leeming  <leeming@lyx.org>
5721
5722         * commandtags.h:
5723         * LyXAction.C (init):
5724         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5725
5726         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5727
5728         * commandtags.h:
5729         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5730
5731         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5732         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5733
5734 2003-03-07  Angus Leeming  <leeming@lyx.org>
5735
5736         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5737         remove "ert".
5738
5739 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * ParagraphList.C (front): new function
5742         (back): implement
5743
5744 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5747         and top_row_offset_. removed var first_y.
5748         * text.C (top_y):
5749         * text2.C (LyXText, removeRow):
5750         * text3.C:
5751         * BufferView_pimpl.C:
5752         use these methods instead of using first_y
5753
5754 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * text2.C (pasteSelection): adjust for checkPastePossible
5757
5758         * CutAndPaste.C: remove Paragraph * buf and replace with
5759         ParagraphList paragraphs.
5760         (DeleteBuffer): delete
5761         (cutSelection): change the tc type to textclass_type
5762         (copySelection): change the tc type to textclass_type
5763         (copySelection): adjust for ParagraphList
5764         (pasteSelection): change the tc type to textclass_type
5765         (pasteSelection): adjust for Paragraphlist
5766         (nrOfParagraphs): simplify for ParagraphList
5767         (checkPastePossible): simplify for ParagraphList
5768         (checkPastePossible): remove unused arg
5769
5770         * ParagraphList.C (insert): handle the case where there are no
5771         paragraphs yet.
5772
5773         * CutAndPaste.h: make CutAndPaste a namespace.
5774
5775         * text3.C (dispatch): adjust
5776
5777         * text.C (breakParagraph): add a ParagraphList as arg
5778
5779         * paragraph_funcs.C (breakParagraph): change to take a
5780         BufferParams and a ParagraphList as args.
5781         (breakParagraphConservative): ditto
5782         (mergeParagraph): ditto
5783         (TeXDeeper): add a ParagraphList arg
5784         (TeXEnvironment): ditto
5785         (TeXOnePar): ditto
5786
5787         * buffer.C (readLyXformat2): adjust
5788         (insertStringAsLines): adjust
5789         (latexParagraphs): adjust
5790
5791         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5792         (cutSelection): adjust
5793         (pasteSelection): adjust
5794
5795         * BufferView_pimpl.C (insertInset): adjust
5796
5797 2003-03-05  Angus Leeming  <leeming@lyx.org>
5798
5799         * commandtags.h:
5800         * LyXAction.C (init):
5801         * BufferView_pimpl.C (dispatch):
5802         * lyxfunc.C (getStatus):
5803         remove LFUN_CHILD_INSERT.
5804
5805         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5806
5807 2003-03-05  Angus Leeming  <leeming@lyx.org>
5808
5809         * commandtags.h:
5810         * LyXAction.C (init):
5811         * src/factory.C (createInset):
5812         * lyxfunc.C (getStatus):
5813         * text3.C (dispatch):
5814         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5815
5816         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5817
5818 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * ParagraphList.C (insert): handle insert right before end()
5821         (erase): fix cases where it can be first or last paragraph.
5822
5823 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5824
5825         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5826         Paragraph::next and Paragraph::previous
5827         (TeXOnePar): ditto
5828
5829         * text.C (breakParagraph): adjust
5830
5831         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5832         BufferParams& as arg.
5833         (breakParagraph): use ParagraphList::insert
5834         (breakParagraphConservative): take a Buffer* instead of a
5835         BufferParams& as arg.
5836         (breakParagraphConservative): use ParagraphList::insert.
5837
5838         * buffer.C (insertStringAsLines): un-const it
5839         (insertStringAsLines): adjust
5840
5841         * ParagraphList.C (insert): new function
5842
5843         * CutAndPaste.C (pasteSelection): adjust
5844
5845         * text.C (backspace): adjust
5846
5847         * tabular.C (SetMultiColumn): adjust
5848
5849         * CutAndPaste.C (cutSelection): adjust
5850         (pasteSelection): adjust
5851
5852         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5853         Buffer const * as arg
5854
5855         * ParagraphList.C (erase): new function
5856         * paragraph_funcs.C (mergeParagraph): use it
5857         (mergeParagraph): make it take a Buffer* instead of a
5858         BufferParams* as arg
5859
5860         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5861         as arg
5862         (breakParagraphConservative): ditto
5863
5864         * paragraph.h: remove the breakParagraph friend
5865
5866         * paragraph.C (eraseIntern): new function
5867         (setChange): new function
5868
5869         * paragraph_funcs.C (mergeParagraph): make it take a
5870         ParagraphList::iterator instead of a Paragraph *, adjust
5871         accordingly.
5872
5873         * paragraph.h: move an #endif so that the change tracking stuff
5874         also works in the NO_NEXT case.
5875
5876 2003-03-04  Angus Leeming  <leeming@lyx.org>
5877
5878         * commandtags.h:
5879         * LyXAction.C: new LFUN_INSET_MODIFY.
5880
5881         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5882         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5883
5884 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * several files: ws changes only
5887
5888         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5889         (TeXEnvironment): ditto
5890         (TeXDeeper): ditto
5891
5892         * buffer.C (makeLaTeXFile): adjust
5893         (latexParagraphs): make it take ParagraphList::iterator as args
5894
5895 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * buffer.C (latexParagraphs): adjust
5898
5899         * paragraph.C (TeXOnePar): move function...
5900         (optArgInset): move function...
5901         (TeXEnvironment): move function...
5902         * paragraph_pimpl.C (TeXDeeper): move function...
5903         * paragraph_funcs.C: ...here
5904
5905         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5906
5907 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * buffer.C (readInset): remove compability code for old Figure and
5910         InsetInfo insets
5911
5912 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * buffer.C: ws changes
5915         (readInset):
5916
5917         * BufferView_pimpl.C: ditto
5918         * author.C: ditto
5919         * buffer.h: ditto
5920         * bufferlist.h: ditto
5921         * changes.h: ditto
5922         * lyxfunc.C: ditto
5923
5924 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5925
5926         * converter.[Ch]: split into itself +
5927         * graph.[Ch]
5928         * format.[Ch]
5929         * Makefile.am: += graph.[Ch] + format.[Ch]
5930         * MenuBackend.C
5931         * buffer.C
5932         * exporter.C
5933         * importer.C
5934         * lyx_main.C
5935         * lyxfunc.C
5936         * lyxrc.C: added #include "format.h"
5937
5938 2003-02-27  Angus Leeming  <leeming@lyx.org>
5939
5940         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5941           a label.
5942
5943         * factory.C (createInset): add "label" to the factory.
5944
5945         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5946           string and do no more.
5947
5948 2003-02-27  Angus Leeming  <leeming@lyx.org>
5949
5950         * commandtags.h:
5951         * LyXAction.C (init):
5952         * factory.C (createInset):
5953         * BufferView_pimpl.C (dispatch):
5954           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5955
5956         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5957
5958         * lyxfunc.C (dispatch):
5959         * text3.C (dispatch): pass name to params2string.
5960
5961 2003-02-26  Angus Leeming  <leeming@lyx.org>
5962
5963         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5964           blocks together.
5965           Rearrange the ~includes. Strip out the unnecessary ones.
5966
5967         * factory.C (createInset): reformat.
5968           create new insets for the various LFUN_XYZ_APPLY lfuns.
5969
5970 2003-02-26  John Levon  <levon@movementarian.org>
5971
5972         * lyxrow.h:
5973         * lyxrow.C: add isParStart,isParEnd helpers
5974
5975         * paragraph.h: make isInserted/DeletedText take refs
5976
5977         * paragraph_funcs.h:
5978         * paragraph_funcs.C: remove #if 0'd code
5979
5980         * lyxtext.h:
5981         * text3.C:
5982         * text2.C:
5983         * text.C: use lyxrow helpers above.
5984           Move draw and paint routines to RowPainter.
5985           Make several methods use refs not pointers.
5986           Make backgroundColor() const.
5987           Add markChangeInDraw(), isInInset().
5988           Merge changeRegionCase into changeCase.
5989           Make workWidth() shouldn't-happen code into an Assert.
5990
5991         * rowpainter.h:
5992         * rowpainter.C: new class for painting a row.
5993
5994         * vspace.h:
5995         * vspace.C: make inPixels take a ref
5996
5997 2003-02-26  Angus Leeming  <leeming@lyx.org>
5998
5999         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6000         LFUN_REF_APPLY.
6001
6002 2003-02-25  John Levon  <levon@movementarian.org>
6003
6004         * ispell.C: give the forked command a more accurate name
6005
6006 2003-02-22  John Levon  <levon@movementarian.org>
6007
6008         * toc.h:
6009         * toc.C: make TocItem store an id not a Paragraph *
6010           (bug #913)
6011
6012 2003-02-21  Angus Leeming  <leeming@lyx.org>
6013
6014         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6015           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6016           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6017           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6018           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6019           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6020
6021         * BufferView_pimpl.C (dispatch):
6022         * LyXAction.C (init):
6023         * factory.C (createInset):
6024         * lyxfunc.C (getStatus, dispatch):
6025         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6026
6027 2003-02-21  Angus Leeming  <leeming@lyx.org>
6028
6029         * BufferView_pimpl.C (MenuInsertLyXFile):
6030         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6031         * lyxfunc.C (menuNew, open, doImport):
6032           no longer pass a LyXView & to fileDlg.
6033
6034 2003-02-21  Angus Leeming  <leeming@lyx.org>
6035
6036         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6037         * LyXAction.C: change, BIBKEY to BIBITEM.
6038         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6039         Change InsetBibKey to InsetBibitem.
6040         Change BIBKEY_CODE to BIBITEM_CODE.
6041         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6042         * factory.C: replace insetbib.h with insetbibitem.h.
6043         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6044         * paragraph.C: replace insetbib.h with insetbibitem.h.
6045         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6046         Change bibkey() to bibitem().
6047         * text.C: remove insetbib.h.
6048         * text2.C: replace insetbib.h with insetbibitem.h.
6049         change bibkey() to bibitem().
6050         * text3.C: remove insetbib.h.
6051         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6052
6053 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6054
6055         * lyxrc.C (output): enclose user email in quotes (in case there are
6056         several words)
6057
6058 2003-02-18  John Levon  <levon@movementarian.org>
6059
6060         * buffer.h: add std::
6061
6062 2003-02-17  John Levon  <levon@movementarian.org>
6063
6064         * SpellBase.h:
6065         * ispell.h:
6066         * ispell.C:
6067         * pspell.h:
6068         * pspell.C: reworking. Especially in ispell, a large
6069           number of clean ups and bug fixes.
6070
6071         * lyxfunc.C: fix revert to behave sensibly
6072
6073 2003-02-17 André Pönitz <poenitz@gmx.net>
6074
6075         * LyXAction.C:
6076         * commandtags.h: new LFUN_INSERT_BIBKEY
6077
6078         * layout.h:
6079         * lyxlayout.C:
6080         * buffer.C:
6081         * factory.C:
6082         * text.C:
6083         * text2.C:
6084         * text3.C:
6085         * paragraph.[Ch]:
6086         * paragraph_func.C: remove special bibkey handling
6087
6088 2003-02-17  John Levon  <levon@movementarian.org>
6089
6090         * text.C (Delete): fix case where delete at the end of
6091           the very first paragraph would not merge the pars
6092
6093 2003-02-17  John Levon  <levon@movementarian.org>
6094
6095         * lyxrow.C: fix lastPrintablePos()
6096
6097 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6098
6099         * bufferparams.C (writeLaTeX): add a std:here
6100
6101         * buffer.C: and remove a using directive there
6102
6103 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6104
6105         * buffer.C (makeLaTeXFile): move the code that generates the
6106           preamble...
6107
6108         * bufferparams.C (writeLaTeX): ... in this new method
6109
6110         * LaTeXFeatures.C (getEncodingSet): make const
6111           (getLanguages): make const
6112
6113         * MenuBackend.C (binding): returns the binding associated to this
6114           action
6115           (add): sets the status of each item by calling getStatus. Adds
6116           some intelligence.
6117           (read): add support for OptSubMenu
6118           (expand): remove extra separator at the end of expanded menu
6119
6120 2003-02-15  John Levon  <levon@movementarian.org>
6121
6122         * BufferView.C:
6123         * BufferView_pimpl.C:
6124         * bufferlist.h:
6125         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6126           inset code that had no actual effect. Remove unneeded status
6127           code.
6128
6129 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6130
6131         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6132           in preamble
6133
6134 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6135
6136         * text.C (drawLengthMarker): also draw an arrow marker for
6137           symbolic lengths (medskip...)
6138
6139 2003-02-14  John Levon  <levon@movementarian.org>
6140
6141         * tabular.h:
6142         * tabular.C: better method names
6143
6144 2003-02-14  John Levon  <levon@movementarian.org>
6145
6146         * BufferView_pimpl.C:
6147         * bufferlist.C:
6148         * buffer.C:
6149         * converter.C:
6150         * lyx_cb.C:
6151         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6152           it's a more accurate name. Remove some pointless uses.
6153
6154 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6155
6156         * text2.C (LyXText): change order of initilizers to shut off
6157           warnings
6158
6159 2003-02-14  John Levon  <levon@movementarian.org>
6160
6161         * buffer.C: use ParIterator for getParFromID()
6162
6163         * paragraph.h:
6164         * paragraph.C:
6165         * paragraph_pimpl.h:
6166         * paragraph_pimpl.C: remove unused getParFromID()
6167
6168 2003-02-14  John Levon  <levon@movementarian.org>
6169
6170         * buffer.C: remove some very old #if 0'd parse code
6171
6172 2003-02-13  John Levon  <levon@movementarian.org>
6173
6174         * text.h:
6175         * text.C:
6176         * text2.C: move hfillExpansion(), numberOfSeparators(),
6177           rowLast(), rowLastPrintable(), numberofHfills(),
6178           numberOfLabelHfills() ...
6179
6180         * lyxrow.h:
6181         * lyxrow.C: ... to member functions here.
6182
6183         * paragraph.h:
6184         * paragraph.C:
6185         * lyxtext.h:
6186         * text.C: remove LyXText::beginningOfMainBody(), and call
6187           p->beginningOfMainBody() directly. Move the check for
6188           LABEL_MANUAL into the latter.
6189
6190         * text.h:
6191         * text.C:
6192         * text2.C:
6193         * vspace.C:
6194         * BufferView.h:
6195         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6196
6197         * text.h:
6198         * text.C:
6199         * text2.C:
6200         * text3.C:
6201         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6202           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6203
6204 2003-02-13  John Levon  <levon@movementarian.org>
6205
6206         * CutAndPaste.C: remove debug
6207
6208 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6209
6210         * paragraph.C (asString): remove two unused variables
6211
6212         * lyxtextclass.C (readTitleType):
6213           (Read):
6214           (LyXTextClass): handle new members titletype_ and titlename_
6215
6216         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6217
6218 2003-02-09  John Levon  <levon@movementarian.org>
6219
6220         * buffer.h:
6221         * buffer.C: replace hand-coded list with a map for the dep clean
6222
6223 2003-02-08  John Levon  <levon@movementarian.org>
6224
6225         * LaTeX.C: consolidate code into showRunMessage() helper
6226
6227 2003-02-08  John Levon  <levon@movementarian.org>
6228
6229         * lyxfind.C:
6230         * lyxtext.h:
6231         * text2.C:
6232         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6233           and pass the size in explicitly
6234
6235         * BufferView_pimpl.h:
6236         * BufferView_pimpl.C:
6237         * BufferView.h:
6238         * BufferView.C: add getCurrentChange()
6239
6240         * BufferView_pimpl.h:
6241         * BufferView_pimpl.C: handle change lfuns
6242
6243         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6244           for changes. Mark pasted paragraphs as new.
6245
6246         * support/lyxtime.h:
6247         * support/lyxtime.C:
6248         * DepTable.C: abstract time_t as lyx::time_type
6249
6250         * LColor.h:
6251         * LColor.C: add colours for new text, deleted text, changebars
6252
6253         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6254           package use "usenames" option.
6255
6256         * commandtags.h:
6257         * lyxfunc.C:
6258         * LyXAction.C: add change lfuns
6259
6260         * Makefile.am:
6261         * author.h:
6262         * author.C: author handling
6263
6264         * buffer.h:
6265         * buffer.C: add a per-buffer author list, with first entry as
6266           current author. Handle new .lyx tokens for change tracking. Output
6267           author list to .lyx file. Output dvipost stuff to .tex preamble.
6268           Bump lyx format to 222.
6269
6270         * bufferlist.h:
6271         * bufferlist.C: add setCurrentAuthor() to reset current author details
6272           in all buffers.
6273
6274         * bufferparams.h:
6275         * bufferparams.C: add param for tracking
6276
6277         * bufferview_funcs.C: output change info in minibuffer
6278
6279         * Makefile.am:
6280         * changes.h:
6281         * changes.C: add change-tracking structure
6282
6283         * debug.h:
6284         * debug.C: add CHANGES debug flag
6285
6286         * lyxfind.h:
6287         * lyxfind.C: add code for finding the next change piece
6288
6289         * lyxrc.h:
6290         * lyxrc.C: add user_name and user_email
6291
6292         * lyxrow.h:
6293         * lyxrow.C: add a metric for the top of the text line
6294
6295         * lyxtext.h:
6296         * text.C: implement accept/rejectChange()
6297
6298         * lyxtext.h:
6299         * text.C: paint changebars. Paint new/deleted text in the chosen
6300         colours. Strike through deleted text.
6301
6302         * paragraph.h:
6303         * paragraph.C:
6304         * paragraph_pimpl.h:
6305         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6306           in the current change to the insert functions. Rework erase to
6307           mark text as deleted, adding an eraseIntern() and a range-based
6308           erase(). Implement per-paragraph change lookup and
6309           accept/reject.
6310
6311         * paragraph_funcs.C: Fixup paste for change tracking.
6312
6313         * tabular.C: mark added row/columns as new.
6314
6315         * text.C: fix rowLast() to never return -1. Don't allow
6316           spellchecking of deleted text. Track transpose changes. Don't
6317           allow paragraph break or merge where appropriate.
6318
6319         * text2.C: leave cursor at end of selection after a cut.
6320
6321 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6322
6323         * text.C (getLengthMarkerHeight):
6324         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6325         visible on screen too.
6326
6327 2003-02-07  John Levon  <levon@movementarian.org>
6328
6329         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6330
6331 2003-02-05  Angus Leeming  <leeming@lyx.org>
6332
6333         * lyxserver.C (read_ready): revert my patch of 11 September last year
6334         as it sends PC cpu through the roof. Presumably this means that
6335         the lyxserver will no longer run on an Alpha...
6336
6337 2003-01-30  Angus Leeming  <leeming@lyx.org>
6338
6339         * factory.C (createInset): create an InsetCommandParam of type "index"
6340         and use it to 'do the right thing'.
6341
6342         * text2.C (getStringToIndex): ensure that cursor position is always
6343         reset to the reset_cursor position.
6344
6345 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6346
6347         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6348         disabled.
6349
6350 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6351
6352         * bufferview.C:
6353         * lyxcb.C:
6354         * lyxfunc.C: Output messages with identical spelling, punctuation,
6355         and spaces
6356
6357 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6358
6359         * MenuBackend.C (expandFormats): List only viewable export formats
6360         in "View" menu
6361
6362         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6363         message
6364
6365         * lyxfunc.C (getStatus): Make sure that formats other than
6366         "fax" can also be disabled
6367
6368 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6369
6370         * text3.C (dispatch): put the lfuns that insert insets in 3
6371         groups, and call doInsertInset with appropriate arguments.
6372         (doInsertInset): new function, that creates an inset and inserts
6373         it according to some boolean parameters.
6374
6375 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * buffer.C (readFile): remember to pass on 'par' when calling
6378         readFile recursively.
6379
6380 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6381
6382         * MenuBackend.C (expandFormats): add "..." to import formats.
6383
6384 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6385
6386         * paragraph.C (asString): Remove XForms RTL hacks.
6387
6388 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6389         * buffer.C: fix typo
6390
6391 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * Makefile.am (LIBS): delete var
6394         (lyx_LDADD): add @LIBS@ here instead.
6395
6396 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6397
6398         * Clarify the meaning of "wheel mouse jump"
6399
6400 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6401
6402         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6403         tabular in a float
6404
6405 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6406
6407         * importer.C (Loaders): do not preallocate 3 elements in the
6408         vector, since one ends up with 6 elements otherwise
6409
6410 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6411
6412         * DepTable.C (write): write the file name as last element of the
6413         .dep file (because it may contain spaces)
6414         (read): read info in the right order
6415
6416 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6417
6418         * paragraph_pimpl.C (simpleTeXBlanks):
6419         (simpleTeXSpecialChars):
6420         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6421
6422         * tabular.C (latex): add some missing case statements. Reindent.
6423
6424         * MenuBackend.C (expandToc): remove unused variable.
6425
6426 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6427
6428         * LColor.C:
6429         * LaTeX.C:
6430         * LyXAction.C:
6431         * MenuBackend.C:
6432         * buffer.C:
6433         * exporter.C:
6434         * lyxfunc.C:
6435         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6436         and the like.
6437
6438 2003-01-05  John Levon  <levon@movementarian.org>
6439
6440         * BufferView.h:
6441         * BufferView.C: add getEncoding()
6442
6443         * kbsequence.h:
6444         * kbsequence.C: do not store last keypress
6445
6446         * lyxfunc.h:
6447         * lyxfunc.C: store last keypress here instead. Pass encoding
6448           to getISOEncoded()
6449
6450 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6451
6452         * lyx_main.C (init): remove annoying error message when following
6453         symbolic links (bug #780)
6454
6455 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6456
6457         * text.C (insertChar):
6458         * lyxrc.C (getDescription): remove extra spaces
6459
6460 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6461
6462         * lyxrc.C (getDescription): remove extra spaces
6463
6464 2002-12-20  John Levon  <levon@movementarian.org>
6465
6466         * text3.C: hack fix for page up/down across tall rows
6467
6468 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6469
6470         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6471         not been invoked
6472
6473 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6474
6475         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6476         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6477         thesaurus is not compiled in
6478
6479 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6480
6481         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6482
6483 2002-12-16  Angus Leeming  <leeming@lyx.org>
6484
6485         * lyxrc.[Ch]:
6486         * lyx_main.C (init): remove override_x_deadkeys stuff.
6487
6488 2002-12-12  John Levon  <levon@movementarian.org>
6489
6490         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6491           insert. Only remove shift modifier under strict
6492           circumstances.
6493
6494 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * MenuBackend.C (expandToc): fix crash.
6497
6498 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6499
6500         * MenuBackend.C (expandToc): gettext on float names.
6501
6502 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6503
6504         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6505         implement bool empty() [bug 490]
6506
6507 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6510
6511 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * several files: ws changes
6514
6515 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * text2.C (setCounter): clean up a bit, use boost.format.
6518         (updateCounters): initialize par upon declaration.
6519
6520         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6521         if the layout exists. We do not just store the layout any more.
6522         (SwitchLayoutsBetweenClasses): use boost.format
6523
6524 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6525
6526         * converter.C (convert): if from and to files are the same, use a
6527         temporary files as intermediary
6528
6529 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6530
6531         * commandtags.h:
6532         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6533
6534 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6535
6536         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6537
6538 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * tabular.C (asciiPrintCell): use string(size, char) instead of
6541         explicit loop.
6542
6543         * sgml.C (openTag): fix order of arguments to string constructor
6544         (closeTag): ditto
6545
6546         * lyxfunc.C (dispatch): use boost.format
6547
6548         * lots of files: change "c" -> 'c'
6549
6550 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6551
6552         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6553
6554 2002-11-25  Angus Leeming  <leeming@lyx.org>
6555
6556         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6557
6558         * lyx_main.C (init): compile fix.
6559
6560 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * lyx_cb.C (start): boost.formatify
6563         do not include <iostream>
6564
6565         * lengthcommon.C: ws only
6566
6567         * boost-inst.C,BoostFormat.h: add more explict instantations
6568
6569 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * lots of files: handle USE_BOOST_FORMAT
6572
6573 2002-11-21  John Levon  <levon@movementarian.org>
6574
6575         * pspell.C: fix compile
6576
6577 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6578
6579         * lyxfunc.C (dispatch): use boost::format
6580         (open): ditto
6581         (doImport): ditto
6582
6583         * lyxfont.C (stateText): use boost::format
6584
6585         * lyx_main.C (LyX): use boost::format
6586         (init): ditto
6587         (queryUserLyXDir): ditto
6588         (readRcFile): ditto
6589         (parse_dbg): ditto
6590         (typedef boost::function): use the recommened syntax.
6591
6592         * importer.C (Import): use boost::format
6593
6594         * debug.C (showLevel): use boost::format
6595
6596         * converter.C (view): use boost::format
6597         (convert): ditto
6598         (move): ditto
6599         (scanLog): ditto
6600
6601         * bufferview_funcs.C (currentState): use boost::format
6602
6603         * bufferlist.C (emergencyWrite): use boost::format
6604
6605         * buffer.C (readLyXformat2): use boost::format
6606         (parseSingleLyXformat2Token): ditto
6607
6608         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6609
6610         * LaTeX.C (run): use boost::format
6611
6612         * Chktex.C (scanLogFile): use boost::format
6613
6614         * BufferView_pimpl.C (savePosition): use boost::format
6615         (restorePosition): ditto
6616         (MenuInsertLyXFile): ditto
6617
6618         * BoostFormat.h: help file for explicit instation.
6619
6620 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6621
6622         * tabular.C (latex): Support for block alignment in fixed width
6623         columns.
6624
6625 2002-11-17  John Levon  <levon@movementarian.org>
6626
6627         * BufferView_pimpl.C:
6628         * lyx_cb.C:
6629         * lyxfunc.C: split filedialog into open/save
6630
6631 2002-11-08  Juergen Vigna  <jug@sad.it>
6632
6633         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6634         by my last patch (hopefully).
6635
6636 2002-11-08  John Levon  <levon@movementarian.org>
6637
6638         * iterators.h:
6639         * iterators.C:
6640         * buffer.h:
6641         * buffer.C:
6642         * paragraph.h:
6643         * paragraph.C:
6644         * toc.h:
6645         * toc.C: ParConstIterator, and use it (from Lars)
6646
6647 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6648
6649         * lyxtextclass.[Ch]: revise and add doxygen comments
6650
6651 2002-11-07  John Levon  <levon@movementarian.org>
6652
6653         * text.C: fix progress value for spellchecker
6654
6655         * toc.C: fix navigate menu for insetwrap inside minipage
6656
6657         * paragraph_funcs.C: added FIXME for suspect code
6658
6659 2002-11-07  John Levon  <levon@movementarian.org>
6660
6661         * BufferView_pimpl.C: fix redrawing of insets
6662           on buffer switch
6663
6664 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6665
6666         * text2.C (updateCounters): fix bug 668
6667
6668 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6669
6670         * text3.C (dispatch): Do not make the buffer dirty when moving the
6671         cursor.
6672
6673 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * vc-backend.C: STRCONV
6676         (scanMaster): ditto
6677
6678         * text2.C (setCounter): STRCONV
6679
6680         * paragraph.C (asString): STRCONV
6681
6682         * lyxlength.C (asString): STRCONV
6683         (asLatexString): ditto
6684
6685         * lyxgluelength.C (asString): STRCONV
6686         (asLatexString): ditto
6687
6688         * lyxfunc.C (dispatch): STRCONV
6689         (open): ditto
6690
6691         * lyxfont.C (stateText): STRCONV
6692
6693         * importer.C (Import): STRCONV
6694
6695         * counters.C (labelItem): STRCONV
6696         (numberLabel): ditto
6697         (numberLabel): remove unused ostringstream o
6698
6699         * chset.C: STRCONV
6700         (loadFile): ditto
6701
6702         * bufferview_funcs.C (currentState): STRCONV
6703
6704         * buffer.C (readFile): STRCONV
6705         (asciiParagraph): ditto
6706         (makeLaTeXFile): ditto
6707
6708         * Spacing.C (writeEnvirBegin): STRCONV
6709
6710         * LaTeXFeatures.C (getLanguages): STRCONV
6711         (getPackages): ditto
6712         (getMacros): ditto
6713         (getBabelOptions): ditto
6714         (getTClassPreamble): ditto
6715         (getLyXSGMLEntities): ditto
6716         (getIncludedFiles): ditto
6717
6718         * LaTeX.C: STRCONV
6719         (run): ditto
6720         (scanAuxFile): ditto
6721         (deplog): ditto
6722
6723         * LString.h: add the STRCONV macros
6724
6725         * BufferView_pimpl.C (savePosition): STRCONV
6726         (restorePosition): ditto
6727         (MenuInsertLyXFile): ditto
6728
6729         * vc-backend.C (scanMaster): change from submatch[...] to
6730         submatch.str(...)
6731
6732         * funcrequest.C: include config.h
6733
6734         * factory.C: include config.h
6735
6736         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6737
6738         * box.C: include config.h
6739
6740         * LaTeX.C (scanAuxFile): change from submatch[...] to
6741         submatch.str(...)
6742         (deplog): ditto
6743
6744 2002-10-25  Angus Leeming  <leeming@lyx.org>
6745
6746         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6747
6748         * ispell.[Ch] (setError): new method.
6749         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6750         Use setError() insetead of goto END.
6751
6752         * lyx_cb.C (AutoSave): move out child process into new class
6753         AutoSaveBuffer.
6754
6755 2002-10-30  John Levon  <levon@movementarian.org>
6756
6757         * text3.C: make start appendix undoable
6758
6759 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * lyxlength.C (inPixels): Fix returned value.
6762
6763         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6764         environment.
6765
6766 2002-10-24  Angus Leeming  <leeming@lyx.org>
6767
6768         * lyxgluelength.h: no need to forward declare BufferParams
6769         or BufferView, so don't.
6770
6771 2002-10-21  John Levon  <levon@movementarian.org>
6772
6773         * BufferView.C: menuUndo ->undo, redo
6774
6775         * BufferView.h: document, remove dead, make some methods private
6776
6777         * paragraph_funcs.h:
6778         * paragraph_funcs.C:
6779         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6780
6781         * buffer.h:
6782         * buffer.C:
6783         * sgml.h:
6784         * sgml.C: move sgml open/close tag into sgml.C
6785
6786         * bufferview_funcs.h: unused prototype
6787
6788         * lyxfunc.h:
6789         * lyxfunc.C: remove unused
6790
6791         * lyxtext.h:
6792         * text.C: remove unused
6793
6794 2002-10-21  John Levon  <levon@movementarian.org>
6795
6796         * BufferView.h:
6797         * BufferView.C:
6798         * BufferView_pimpl.h:
6799         * BufferView_pimpl.C: fix mouse wheel handling based on
6800           patch from Darren Freeman
6801
6802 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6803
6804         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6805
6806 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6807
6808         * lyxlength.C (inPixels): Fix hanfling of negative length.
6809         Fix LyXLength::MU case.
6810
6811 2002-10-16  John Levon  <levon@movementarian.org>
6812
6813         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6814
6815 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6816
6817         * converter.C (view): add support for $$i (file name) and $$p
6818         (file path) for the viewer command. If $$i is not specified, then
6819         it is appended to the command (for compatibility with old syntax)
6820
6821 2002-10-14  Juergen Vigna  <jug@sad.it>
6822
6823         * undo_funcs.C (textHandleUndo): alter the order in which the
6824         new undopar is added to the LyXText, as we have to set first
6825         the right prev/next and then add it as otherwise the rebuild of
6826         LyXText is not correct. Also reset the cursor to the right paragraph,
6827         with this IMO we could remove the hack in "redoParagraphs()".
6828
6829 2002-10-09  Angus Leeming  <leeming@lyx.org>
6830
6831         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6832         to turn off an optimisation if a new inset is to be inserted.
6833
6834 2002-10-11 André Pönitz <poenitz@gmx.net>
6835
6836         * lyxtext.h: make some functions public to allow access
6837         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6838
6839 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6840
6841         * text3.C (dispatch): when changing layout, avoid an infinite loop
6842         [bug #652]
6843
6844 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6845
6846         * lyxrc.C (read): treat a viewer or converter command of "none" as
6847         if it were empty.
6848
6849         * MenuBackend.C (expandFormats): for an update, also allow the
6850         formats that are not viewable
6851
6852         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6853         script if it is newer than the lyxrc.defaults in user directory
6854
6855 2002-10-07 André Pönitz <poenitz@gmx.net>
6856
6857         * text.C: Vitaly Lipatov's small i18n fix
6858
6859 2002-09-25  Angus Leeming  <leeming@lyx.org>
6860
6861         * ispell.h: doxygen fix.
6862
6863 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6864
6865         * buffer.h (readFile): Add a new argument to the method, to allow
6866         reading of old-format templates.
6867
6868 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6869
6870         * toc.C (getTocList): Get TOC from InsetWrap.
6871
6872 2002-09-16  John Levon  <levon@movementarian.org>
6873
6874         * lyxfunc.C: check tabular for cut/copy too
6875
6876 2002-09-12  John Levon  <levon@movementarian.org>
6877
6878         * LyXAction.C: tidy
6879
6880         * factory.h:
6881         * factory.C: add header
6882
6883         * paragraph_funcs.h:
6884         * paragraph_funcs.C: cleanup
6885
6886 2002-09-11  John Levon  <levon@movementarian.org>
6887
6888         * PrinterParams.h: odd/even default to true
6889
6890 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6891
6892         * PrinterParams.h: update printer parameters for new xforms dialog
6893
6894 2002-09-11  Angus Leeming  <leeming@lyx.org>
6895
6896         * lyxserver.C (read_ready): re-write to make it more transparent
6897         and to make it work in coherent fashion under Tru64 Unix.
6898
6899 2002-09-11  André Pönitz <poenitz@gmx.net>
6900
6901         * commandtags.h:
6902         * LyXAction.C:
6903         * text3.C: implement LFUN_WORDSEL
6904
6905 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6908         make floatlist_ a boost::shared_ptr<FloatList>
6909
6910         * lyxtextclass.C: include FloatList.h
6911         (LyXTextClass): initialize floatlist_
6912         (TextClassTags): add TC_NOFLOAT
6913         (Read): match "nofloat" to TC_NOFLOAT and use it.
6914         (readFloat): modify call to floatlist_
6915         (floats): ditto
6916         (floats): ditto
6917
6918         * FloatList.[Ch] (FloatList): remove commented out float
6919         initialization.
6920         (erase): new function
6921
6922 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6923
6924         * MenuBackend.C (expandToc): fix crash when there is no document
6925         open
6926
6927 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6928
6929         * many files: Add insetwrap.
6930
6931 2002-09-09  John Levon  <levon@movementarian.org>
6932
6933         * text2.C: remove confusing and awkward depth wraparound
6934
6935 2002-09-09  John Levon  <levon@movementarian.org>
6936
6937         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6938
6939         * buffer.h:
6940         * buffer.C: remove getIncludeonlyList()
6941
6942         * paragraph.C:
6943         * lyxfunc.C: remove headers
6944
6945 2002-09-09  Juergen Vigna  <jug@sad.it>
6946
6947         * text.C (getColumnNearX): fix form Michael this is most
6948         probably a cut&paste bug.
6949
6950 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6953
6954         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6955         references, ws changes.
6956
6957         * text2.C (init): update counters after init
6958         (insertParagraph): no need to set counter on idividual paragraphs.
6959         (setCounter): access the counters object in the textclass object
6960         on in the buffer object.
6961         (updateCounters): ditto
6962
6963         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6964         shared_ptr<Counters> to avoid loading counters.h in all
6965         compilation units.
6966         (LyXTextClass): initialize ctrs_
6967         (TextClassTags): add TC_COUNTER, and ...
6968         (Read): use it here.
6969         (CounterTags): new tags
6970         (readCounter): new function
6971         (counters): new funtion
6972         (defaultLayoutName): return a const reference
6973
6974         * counters.C (Counters): remove contructor
6975         (newCounter): remove a couple of unneeded statements.
6976         (newCounter): simplify a bit.
6977         (numberLabel): some small formatting changes.
6978
6979         * buffer.[Ch]: remove all traces of counters, move the Counters
6980         object to the LyXTextClass.
6981
6982 2002-09-06  Alain Castera  <castera@in2p3.fr>
6983
6984         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6985         package to set the horizontal alignment on fixed width columns.
6986
6987         * lyx_sty.C:
6988         * lyx_sty.h: added tabularnewline macro def.
6989
6990         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6991
6992 2002-09-06  John Levon  <levon@movementarian.org>
6993
6994         * LyXAction.C: tooltips for sub/superscript
6995
6996         * MenuBackend.C: a bit more verbose
6997
6998         * lyxfunc.C: tiny clean
6999
7000         * undo_funcs.C: document undo_frozen
7001
7002 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * counters.C (Counters): add missing algorithm counter.
7005
7006         * text2.C (setCounter): lookup the counter with layouts latexname
7007         instead of by section number.
7008         (setCounter): use a hackish way to lookup the correct enum
7009         counter.
7010         a float name->type change
7011         reset enum couners with counter name directly instead of depth value.
7012
7013         * counters.C (Counters): remove the push_backs, change to use the
7014         float type not the float name.
7015         (labelItem): remove unused string, float name->type change
7016
7017         * counters.h: don't include vector, loose the enums and sects vectors
7018
7019 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7022         (Read): add float->TC_FLOAT to textclassTags
7023         (Read): and handle it in the switch
7024         (readFloat): new function
7025
7026         * FloatList.C (FloatList): comment out the hardcoded float
7027         definitions.
7028
7029         * lyxlayout.h: ws change.
7030
7031 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7032
7033         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7034
7035 2002-09-03  Angus Leeming  <leeming@lyx.org>
7036
7037         * BufferView_pimpl.h: qualified name is not allowed in member
7038         declaration: WorkArea & Pimpl::workarea() const;
7039
7040         * factory.C: added using std::endl directive.
7041
7042         * text3.C: added using std::find and std::vector directives.
7043
7044 2002-08-29  André Pönitz <poenitz@gmx.net>
7045
7046         * lyxtext.h:
7047         * text2.C: remove unused member number_of_rows
7048
7049         * Makefile.am:
7050         * BufferView2.C: remove file, move contents to...
7051         * BufferView.C: ... here
7052
7053         * BufferView_pimpl.C:
7054         * factory.C: move more inset creation to factory
7055
7056         * vspace.C: avoid direct usage of LyXText, ws changes
7057
7058         * BufferView.[Ch]:
7059                 don't provide direct access to WorkArea, use two simple
7060                 acessors haveSelction() and workHeight() instead
7061
7062
7063 2002-08-29  John Levon  <levon@movementarian.org>
7064
7065         * BufferView_pimpl.C (dispatch): do not continue when
7066           no buffer
7067
7068 2002-08-28  André Pönitz <poenitz@gmx.net>
7069
7070         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7071
7072         * BufferView.h:
7073         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7074
7075 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7076
7077         * buffer.C: increment LYX_FORMAT to 221
7078
7079         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7080         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7081
7082         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7083
7084         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7085
7086 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7087
7088         * factory.C (createInset): use LyXTextClass::floats
7089
7090         * MenuBackend.C (expandFloatListInsert):
7091         (expandFloatInsert):
7092         (expandToc):
7093
7094         * text2.C (setCounter):
7095
7096         * LaTeXFeatures.C (useFloat):
7097         (getFloatDefinitions):
7098
7099         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7100
7101         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7102         floatlist_, with accessor floats().
7103
7104         * FloatList.h: remove global FloatList
7105
7106 2002-08-26  André Pönitz <poenitz@gmx.net>
7107
7108         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7109
7110         * BufferView.h:
7111         * BufferView2.C:
7112         * BufferView_pimpl.C:
7113         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7114
7115 2002-08-25  John Levon  <levon@movementarian.org>
7116
7117         * LyXAction.C: fix margin note description
7118
7119 2002-08-24  John Levon  <levon@movementarian.org>
7120
7121         * buffer.C:
7122         * bufferlist.C:
7123         * bufferview_funcs.C:
7124         * lyxfont.C:
7125         * undo_funcs.C: cleanups
7126
7127         * lyxfunc.C: disable CUT/COPY when no selection
7128
7129 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7130
7131         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7132         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7133
7134         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7135         Add backward compatibility to "mono", "gray" and "no".
7136
7137 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7138
7139         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7140         (and file_format >= 200).
7141
7142 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7143
7144         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7145
7146 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7147
7148         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7149
7150 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7151
7152         * BufferView_pimpl.C:
7153         * LyXAction.C:
7154         * buffer.C:
7155         * commandtags.h:
7156         * lyxfunc.C:
7157         * paragraph.[Ch]:
7158         * text2.C:
7159         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7160         inset and code to make it  work with the paragraph code. The inset
7161         can be anywhere in the paragraph, but will only do the expected
7162         thing in LaTeX if the layout file contains the parameter line
7163                         OptionalArgs    1
7164         (or more generally, a nonzero value) for that layout.
7165
7166 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph.h: remove the declaration of undefined counters class
7169         function.
7170
7171 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7172
7173         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7174         Dr. Richard Hawkins.
7175
7176 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7177
7178         * paragraph_funcs.h: remove some unneeded includes
7179
7180         * text.C (backspace): pasteParagraph now in global scipe
7181
7182         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7183         (pasteSelection): ditto
7184
7185         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7186         * paragraph_funcs.C (pasteParagraph): ... here
7187
7188 2002-08-20  André Pönitz <poenitz@gmx.net>
7189
7190         * commandtags.h: new LFUNs for swapping/copying table row/colums
7191
7192         * LyXAction.C:
7193         * lyxfunc.C: support for new lfuns
7194
7195 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * tabular.C:
7198         * buffer.[Ch]: remove NO_COMPABILITY stuff
7199
7200 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7201
7202         * boost.C (throw_exception): new file, with helper function for
7203         boost compiled without exceptions.
7204
7205         * paragraph.h:
7206         * lyxlength.C:
7207         * buffer.C:
7208         * ParameterStruct.h:
7209         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7210
7211         * bufferlist.C (emergencyWriteAll): use boost bind
7212
7213         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7214
7215         * text.C: include paragraph_funcs.h
7216         (breakParagraph): breakParagraph is now in global scope
7217
7218         * paragraph_funcs.[Ch]: new files
7219
7220         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7221         global scope
7222
7223         * buffer.C: include paragraph_funcs.h
7224         (insertStringAsLines): breakParagraph is now in global scope
7225
7226         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7227         paragraph_funcs.C
7228
7229         * CutAndPaste.C: include paragraph_funcs.h
7230         (cutSelection): breakParagraphConservative is now in global scope
7231         (pasteSelection): ditto
7232
7233         * buffer.h: declare oprator== and operator!= for
7234         Buffer::inset_iterator
7235
7236         * bufferlist.C (emergencyWrite): don't use fmt(...)
7237
7238         * text3.C: add using std::endl
7239
7240         * BufferView.C (moveCursorUpdate): remove default arg
7241
7242 2002-08-20  André Pönitz <poenitz@gmx.net>
7243
7244         * buffer.[Ch]: move inline functions to .C
7245
7246         * BufferView2.C:
7247         * BufferView_pimpl.C:
7248         * text.C:
7249         * buffer.[Ch]: use improved inset_iterator
7250
7251         * buffer.C:
7252         * paragraph.[Ch]: write one paragraph at a time
7253
7254 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7255
7256         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7257         style if style is not specified.
7258
7259 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7260
7261         * text2.C (setCounter): when searching for right label for a
7262         caption, make sure to recurse to parent insets (so that a caption
7263         in a minipage in a figure float works) (bug #568)
7264
7265 2002-08-20  André Pönitz <poenitz@gmx.net>
7266
7267         * text3.C: new file for LyXText::dispatch() and helpers
7268
7269         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7270
7271         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7272
7273 2002-08-19  André Pönitz <poenitz@gmx.net>
7274
7275         * lyxtext.h:
7276         * text.C: new LyXText::dispatch()
7277
7278         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7279
7280 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7281
7282         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7283
7284         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7285         Hebrew text.
7286
7287 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7288
7289         * Makefile.am: use $(variables) instead of @substitutions@
7290
7291 2002-08-15  André Pönitz <poenitz@gmx.net>
7292
7293         * lyxfunc.C:
7294         * BufferView_pimpl.C: streamlining mathed <-> outer world
7295         interaction
7296
7297         * commandtags.h:
7298         * LyXAction.C: remove unused LFUN_MATH
7299
7300 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7303
7304 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * paragraph.C (Paragraph): reformat a bit
7307         (cutIntoMinibuffer): use builtin InsetList function instad of
7308         doing it manually.
7309         (getInset): ditto
7310
7311         * buffer.C: include boost/bind.hpp, add using std::for_each
7312         (writeFileAscii): use ParagraphList iterators
7313         (validate): use for_each for validate traversal of paragraphs
7314         (getBibkeyList): use ParagraphList iterators
7315         (resizeInsets): use for_each to resizeInsetsLyXText for all
7316         paragraphs.
7317         (getParFromID): use ParagraphList iterators
7318
7319         * BufferView2.C (lockInset): use paragraph list and iterators
7320
7321 2002-08-14  John Levon  <levon@movementarian.org>
7322
7323         * lyxserver.C: remove spurious xforms include
7324
7325 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7326
7327         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7328
7329 2002-08-13  André Pönitz <poenitz@gmx.net>
7330
7331         * LyXAction.[Ch]:
7332         * lyxfunc.C: further cleaning
7333
7334 2002-08-13  André Pönitz <poenitz@gmx.net>
7335
7336         * funcrequest.h: new constructor
7337
7338         * funcrequest.C: move stuff here from .h
7339
7340         * Makefile.am:
7341         * BufferView_pimpl.C:
7342         * LyXAction.C:
7343         * toc.C:
7344         * lyxfunc.C: subsequent changes
7345
7346         * lyxfunc.h: new view() member function
7347
7348         * lyxfunc.C: subsequent changes
7349
7350 2002-08-13  Angus Leeming  <leeming@lyx.org>
7351
7352         * BufferView2.C:
7353         * BufferView_pimpl.C:
7354         * buffer.C:
7355         * converter.C:
7356         * importer.C:
7357         * lyxfunc.C:
7358         * lyxvc.C:
7359         * toc.C:
7360         * vc-backend.C:
7361         changes due to the changed LyXView interface that now returns references
7362         to member variables not pointers.
7363
7364 2002-08-13  Angus Leeming  <leeming@lyx.org>
7365
7366         * WordLangTuple (word, lang_code): return references to strings,
7367         not strings.
7368
7369         * BufferView.h:
7370         * SpellBase.h:
7371         * lyxtext.h: forward-declare WordLangTuple.
7372
7373         * BufferView2.C:
7374         * ispell.C:
7375         * pspell.C:
7376         * text.C: #include "WordLangTuple.h".
7377
7378         * lyxtext.h:
7379         * text.C: (selectNextWordToSpellcheck): constify return type.
7380
7381 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7382
7383         * buffer.C:
7384         * buffer.h:
7385         * lyxtext.h:
7386         * paragraph.C:
7387         * paragraph_pimpl.h:
7388         * text.C:
7389         * text2.C:
7390         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7391         suggested by Angus.
7392         Made updateCounter always count from start of buffer, and removed
7393         second argument (par).
7394         Reverted floats number display to '#'. Perhaps I'll try again when the
7395         code base is sanitized a bit.
7396
7397 2002-08-12  Angus Leeming  <leeming@lyx.org>
7398
7399         * buffer.[Ch] (getLabelList): constify.
7400
7401 2002-08-07  André Pönitz <poenitz@gmx.net>
7402
7403         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7404
7405         * funcrequest.h: extension to keep mouse (x,y) position
7406
7407 2002-08-12  Juergen Vigna  <jug@sad.it>
7408
7409         * BufferView2.C (insertErrors): forbid undo when inserting error
7410         insets.
7411
7412         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7413
7414 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * ParagraphList.[Ch]: new files
7417
7418         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7419
7420         * BufferView2.C (lockInset): ParagraphList changes
7421         * toc.C: ditto
7422         * text2.C: ditto
7423         * bufferlist.C: ditto
7424         * buffer.h: ditto
7425         * buffer.C: ditto
7426
7427 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7430         unused class variable counter_,
7431
7432         * paragraph.[Ch] (getFirstCounter): delete unused function
7433
7434         * counters.C: include LAssert.h
7435         (reset): add a new function with no arg, change other version to
7436         not have def. arg and to not allow empty arg.
7437
7438         * text2.C (setCounter): remove empty arg from call to Counters::reset
7439
7440 2002-08-11  John Levon  <levon@movementarian.org>
7441
7442         * Makefile.am: add WordLangTuple.h
7443
7444 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7447         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7448
7449         * insets/insettext.C: InsetList changes
7450
7451         * graphics/GraphicsSupport.C (operator()): InsetList changes
7452
7453         * toc.C (getTocList): InsetList changes
7454
7455         * paragraph_pimpl.[Ch]: InsetList changes
7456
7457         * paragraph.[Ch]: InsetList changes
7458
7459         * buffer.C (inset_iterator): InsetList changes
7460         (setParagraph): ditto
7461         * buffer.h (inset_iterator): ditto
7462         * iterators.C (operator++): ditto
7463         * iterators.h: ditto
7464
7465         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7466
7467         * InsetList.[Ch]: new files, most InsetList handling moved out of
7468         paragraph.C.
7469
7470         * BufferView2.C (removeAutoInsets): InsetList changes
7471         (lockInset): ditto
7472         (ChangeInsets): ditto
7473
7474 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * paragraph_pimpl.h (empty): new function
7477
7478         * paragraph.[Ch] (empty): new function
7479
7480         * other files: use the new Paragraph::empty function
7481
7482 2002-08-09  John Levon  <levon@movementarian.org>
7483
7484         * lyxtext.h: remove unused refresh_height
7485
7486 2002-08-09  John Levon  <levon@movementarian.org>
7487
7488         * Makefile.am:
7489         * sgml.h:
7490         * sgml.C:
7491         * buffer.C:
7492         * paragraph.h:
7493         * paragraph.C: move sgml char escaping out of paragraph
7494
7495         * paragraph.h:
7496         * paragraph.C: remove id setter
7497
7498         * buffer.C:
7499         * paragraph.C:
7500         * paragraph_pimpl.C: remove dead tex_code_break_column
7501
7502         * bufferview_funcs.C: small cleanup
7503
7504         * lyxfunc.C: remove dead proto
7505
7506         * lyxtext.h: make some stuff private. Remove some dead stuff.
7507
7508         * lyxgluelength.C: make as[LyX]String() readable
7509
7510 2002-08-08  John Levon  <levon@movementarian.org>
7511
7512         * LyXAction.h:
7513         * LyXAction.C:
7514         * MenuBackend.C:
7515         * ToolbarDefaults.C:
7516         * lyxfunc.C:
7517         * lyxrc.C:
7518         * toc.C: lyxaction cleanup
7519
7520 2002-08-08  John Levon  <levon@movementarian.org>
7521
7522         * BufferView2.C: small cleanup
7523
7524         * lyxfind.h:
7525         * lyxfind.C: move unnecessary header into the .C
7526
7527 2002-08-08  John Levon  <levon@movementarian.org>
7528
7529         * funcrequest.h: just tedious nonsense
7530
7531         * lyx_main.h:
7532         * lyx_main.C: cleanups
7533
7534         * buffer.C:
7535         * vspace.C: remove dead header lyx_main.h
7536
7537 2002-08-07  Angus Leeming  <leeming@lyx.org>
7538
7539         * Paragraph.[Ch]:
7540         * paragraph_pimpl.h:
7541         Forward declare class Counters in paragraph.h by moving the ctrs member
7542         variable into Paragraph::Pimpl.
7543         (counters): new method, returning a reference to pimpl_->ctrs.
7544
7545         * text2.C: ensuing changes.
7546
7547 2002-08-07  John Levon  <levon@movementarian.org>
7548
7549         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7550
7551         * BufferView_pimpl.C: announce X selection on double/triple
7552           click
7553
7554         * lyx_main.C: use correct bool in batch dispatch
7555
7556         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7557
7558 2002-08-07  André Pönitz <poenitz@gmx.net>
7559
7560         * funcrequest.h: new class to wrap a kb_action and its argument
7561
7562         * BufferView.[Ch]:
7563         * BufferView_pimpl[Ch]:
7564         * LaTeX.C:
7565         * LyXAction.[Ch]:
7566         * lyxfunc.[Ch]:
7567         * lyxrc.C: subsequent changes
7568
7569
7570 2002-08-07  John Levon  <levon@movementarian.org>
7571
7572         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7573           document options change.
7574
7575 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7576
7577         * counters.[Ch]
7578         * text2.C
7579         * paragraph.[Ch]
7580         * makefile.am: move counters functionality over from
7581         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7582
7583 2002-08-06  John Levon  <levon@movementarian.org>
7584
7585         * WordLangTuple.h: new file for word + language code tuple
7586
7587         * SpellBase.h:
7588         * pspell.h:
7589         * pspell.C:
7590         * ispell.h:
7591         * ispell.C:
7592         * lyxtext.h:
7593         * text.C:
7594         * text2.C:
7595         * BufferView.h:
7596         * BufferView2.C: use WordLangTuple
7597
7598         * layout.h:
7599         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7600
7601 2002-08-06  John Levon  <levon@movementarian.org>
7602
7603         * lyx_main.C: fix cmdline batch handling
7604
7605 2002-08-06  André Pönitz <poenitz@gmx.net>
7606
7607         * lyxrc.C: set default for show_banner to true
7608
7609 2002-08-06  John Levon  <levon@movementarian.org>
7610
7611         * pspell.C: fix a crash, and allow new aspell to work
7612
7613 2002-08-06  John Levon  <levon@movementarian.org>
7614
7615         * lyxfunc.C:
7616         * kbmap.C: small cleanup
7617
7618         * vspace.h:
7619         * vspace.C: add const
7620
7621 2002-08-05  John Levon  <levon@movementarian.org>
7622
7623         * LyXAction.C: back to tabular-insert
7624
7625 2002-08-04  John Levon  <levon@movementarian.org>
7626
7627         * BufferView.h:
7628         * BufferView.C: cosmetic change
7629
7630         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7631
7632         * bufferlist.C:
7633         * buffer.h:
7634         * buffer.C:
7635         * lyxcb.h:
7636         * lyxcb.C:
7637         * lyxserver.C:
7638         * lyxvc.C:
7639         * vc-backend.C:
7640         * BufferView2.C: purge all "Lyx" not "LyX" strings
7641
7642         * lyxcursor.h:
7643         * lyxcursor.C: attempt to add some documentation
7644
7645         * lyxfunc.C:
7646         * commandtags.h:
7647         * LyXAction.C:
7648         * ToolbarDefaults.C:
7649         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7650           merge with LFUN_TABULAR_INSERT
7651
7652         * Makefile.am:
7653         * SpellBase.h:
7654         * ispell.h:
7655         * ispell.C:
7656         * pspell.h:
7657         * pspell.C: split up i/pspell implementations into separate
7658           files, many cleanups
7659
7660         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7661
7662         * text2.C: some cleanup
7663
7664         * lyxfunc.C: don't check for isp_command == "none" any more, it
7665           didn't make any sense
7666
7667 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7668
7669         * counters.[Ch]
7670         * text2.C
7671         * paragraph.[Ch]
7672         * makefile.am: move counters functionality over
7673         from text2.C/paragraph.[Ch] to counters.[Ch], and
7674         make proper C++.
7675 2002-08-02  John Levon  <levon@movementarian.org>
7676
7677         * buffer.C: s/lyxconvert/lyx2lyx/
7678
7679 2002-08-02  Angus Leeming  <leeming@lyx.org>
7680
7681         * lyxlex.C: revert John's change as it breaks reading of the user
7682         preamble.
7683
7684 2002-08-02  Angus Leeming  <leeming@lyx.org>
7685
7686         * importer.C (Import):
7687         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7688         changes due to LyXView::view() now returning a boost::shared_ptr.
7689
7690 2002-08-02  John Levon  <levon@movementarian.org>
7691
7692         * lyxlex.C: small cleanup
7693
7694 2002-08-02  John Levon  <levon@movementarian.org>
7695
7696         * text2.C (status): small cleanup, no logic change
7697
7698 2002-08-01  John Levon  <levon@movementarian.org>
7699
7700         * buffer.h:
7701         * buffer.C (writeFile): don't output alerts, caller
7702           handles this
7703
7704         * bufferlist.C:
7705         * lyx_cb.C: from above
7706
7707         * lyxfunc.C: allow to open non-existent files
7708
7709 2002-07-31  John Levon  <levon@movementarian.org>
7710
7711         * lyxserver.C: don't let incidental errors get
7712           in the way (errno)
7713
7714 2002-07-30  John Levon  <levon@movementarian.org>
7715
7716         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7717
7718 2002-07-30  John Levon  <levon@movementarian.org>
7719
7720         * lyxserver.h:
7721         * lyxserver.C: remove I/O callback too
7722
7723 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7726         log.
7727
7728 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * many files: strip,frontStrip -> trim,ltrim,rtrim
7731
7732 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * PrinterParams.h: remove extern containsOnly, and include
7735         support/lstrings.h instead.
7736
7737         * LaTeX.C (scanAuxFile): modify because of strip changes
7738         (deplog): ditto
7739         * buffer.C (makeLaTeXFile): ditto
7740         * bufferparams.C (writeFile): ditt
7741         * lyxfont.C (stateText): ditto
7742         * lyxserver.C (read_ready): ditto
7743         * vc-backend.C (scanMaster): ditto
7744
7745         * BufferView_pimpl.h: ws changes
7746
7747         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7748
7749 2002-07-26  André Pönitz <poenitz@gmx.net>
7750
7751         * kb_sequence.C: remove unnedred usings
7752
7753 2002-07-26  Juergen Vigna  <jug@sad.it>
7754
7755         * lyxfind.C (LyXReplace): we have to check better if the returned
7756         text is not of theLockingInset()->getLockingInset().
7757
7758 2002-07-25  Juergen Vigna  <jug@sad.it>
7759
7760         * lyxfind.C (LyXReplace): don't replace if we don't get the
7761         right LyXText.
7762
7763         * undo_funcs.C (createUndo): remove debugging code.
7764
7765 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7766
7767         * buffer.C (parseSingleLyXformat2Token): Use default placement
7768         when reading old floats.
7769
7770         * FloatList.C (FloatList): Change the default placement of figure
7771         and tables to "tbp".
7772
7773 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * MenuBackend.C: using std::max
7776
7777 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7778
7779         * MenuBackend.C (expandToc):
7780         (expandToc2): code moved from xforms menu frontend. It is now
7781         generic and TOCs are transparent to menu frontends.
7782
7783 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7784
7785         * toc.C (getTocList): protect against buf=0
7786
7787         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7788         Menu as first parameter. Now, this calls itself recursively to
7789         expand a whole tree (this will be useful for TOC handling)
7790         (expandFloatInsert): remove 'wide' version of floats
7791
7792         * MenuBackend.h (submenuname): returns the name of the submenu.
7793         (submenu): returns the submenu itself, provided it has been
7794         created by MenuBackend::expand
7795
7796 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7797
7798         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7799         insets which have noFontChange == true. (bug #172)
7800
7801 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7802
7803         * BufferView_pimpl.C: add connection objects and use them...
7804         (Pimpl): here.
7805
7806 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7807
7808         * MenuBackend.C (expandLastfiles):
7809         (expandDocuments):
7810         (expandFormats):
7811         (expandFloatListInsert):
7812         (expandFloatInsert):
7813         (expand): split expand in parts
7814
7815 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7816
7817         * lyx_gui.C: use lyx_gui::exit()
7818
7819 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * LyXAction.C: show the failing pseudo action
7822
7823 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7824
7825         * buffer.C (readFile): Run the lyxconvert script in order to read
7826         old files.
7827
7828 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7829
7830         * LyXAction.C:
7831         * commandtags.h:
7832         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7833
7834 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7835
7836         * LyXAction.C:
7837         * commandtags.h:
7838         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7839
7840 2002-07-22  Herbert Voss  <voss@lyx.org>
7841
7842         * lengthcommon.C:
7843         * lyxlength.[Ch]: add support for the vertical lengths
7844
7845 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * toc.[Ch]: std:: fixes
7848
7849 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7850
7851         * lyxrc.C: do not include lyx_main.h
7852
7853         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7854         for layouts
7855
7856         * lyxrc.C:
7857         * encoding.C:
7858         * bufferlist.C:
7859         * BufferView2.C: include "lyxlex.h"
7860
7861         * tabular.h:
7862         * bufferparams.h: do not #include "lyxlex.h"
7863
7864         * lyxtextclasslist.C (Add): remove method
7865         (classlist): renamed to classlist_
7866
7867         * paragraph_pimpl.C:
7868         * paragraph.C:
7869         * text2.C:
7870         * CutAndPaste.C:
7871         * bufferview_funcs.C:
7872         * bufferlist.C:
7873         * text.C:
7874         * LaTeXFeatures.C:
7875         * buffer.C:
7876         * toc.C (getTocList): use BufferParams::getLyXTextClass
7877
7878         * toc.C (getTocList): use InsetFloat::addToToc
7879
7880         * toc.[Ch]: new files, containing helper functions to handle table
7881         of contents
7882
7883         * lyxfunc.C (dispatch): no need to remove spaces around command
7884         given as a string
7885         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7886         first command of the sequence; it is not very clever, but I do not
7887         have a better idea, actually
7888
7889         * LyXAction.C (LookupFunc): make sure to remove space at the
7890         beginning and end of the command
7891
7892 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * MenuBackend.C (getMenubar): new method: return the menubar of
7895         this menu set
7896         (read): treat differently reading of menu and menubar (in
7897         particular, the menubar has no name now)
7898         (Menu::menubar): remove
7899
7900         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7901         saving is finished
7902
7903 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7904
7905         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7906         a bibitem inset in a RTL paragraph.
7907
7908 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * paragraph_pimpl.C: constify
7911
7912         * BufferView_pimpl.C:
7913         * LaTeX.C:
7914         * lyxfunc.C: fix dispatch in a nicer way
7915
7916 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7917
7918         * lyxfunc.C (dispatch):
7919         * BufferView_pimpl.C:
7920         * BufferView_pimpl.h:
7921         * BufferView.C:
7922         * BufferView.h: rename Dispatch() to dispatch()
7923
7924         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7925
7926         * lyxlayout.C (Read): honor DependsOn tag
7927
7928         * lyxlayout.[Ch] (depends_on): new method
7929
7930         * version.C.in: update lyx_docversion
7931
7932         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7933
7934         * paragraph.C (validate): remove from here...
7935         * paragraph_pimpl.C (validate): ... and move here
7936         (isTextAt): make it const
7937
7938         * buffer.C (getLists): ws cleanup
7939
7940 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7941
7942         * language.C (read): Use iso8859-1 encoding in latex_lang
7943         (this prevents LyX from crashing when using iso10646-1 encoding).
7944
7945 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7946
7947         * text2.C (toggleInset): if cursor is inside an inset, close the
7948         inset and leave cursor _after_ it
7949
7950 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7951
7952         * lyxfunc.C: move minibuffer completion handling out of here
7953
7954 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * BufferView_pimpl.C:
7957         * LaTeX.C: fix dispatch calls
7958
7959 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7960
7961         * text.C (drawChars): Fix Arabic text rendering.
7962
7963 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * LyXAction.C:
7966         * commandtags.h:
7967         * lyxfunc.C: remove message-push/pop
7968
7969         * lyxserver.C:
7970         * lyxfunc.h:
7971         * lyxfunc.C: rationalise some code by removing verboseDispatch
7972           in favour of a bool argument to dispatch()
7973
7974 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7975
7976         * lyx_main.C (init): make sure to read symlinks as absolute paths
7977
7978 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7979
7980         * lyxfunc.h:
7981         * lyxfunc.C: no need for commandshortcut to be a member
7982
7983 2002-07-15  André Pönitz <poenitz@gmx.net>
7984
7985         * converter.C: add support for $$s (scripts from lib/scripts dir)
7986         * lyx_main.C: white space
7987
7988 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7989
7990         * bufferlist.C:
7991         * lyxrc.h:
7992         * lyxrc.C: remove second exit confirmation
7993
7994 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * BufferView.h:
7997         * BufferView.C:
7998         * BufferView2.C:
7999         * BufferView_pimpl.h:
8000         * BufferView_pimpl.C:
8001         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8002
8003 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8004
8005         * MenuBackend.C (expand): add numeric shortcuts to document menu
8006
8007         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8008
8009 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * lyxfont.C (setLyXFamily):
8012         (setLyXSeries):
8013         (setLyXShape):
8014         (setLyXSize):
8015         (setLyXMisc):
8016         (lyxRead):
8017         * debug.C (value):
8018         * buffer.C (asciiParagraph): use ascii_lowercase
8019
8020 2002-07-15  Mike Fabian  <mfabian@suse.de>
8021
8022         * lyxlex_pimpl.C (search_kw):
8023         * lyxlex.C (getLongString):
8024         * converter.h (operator<):
8025         * converter.C (operator<):
8026         * buffer.C (parseSingleLyXformat2Token):
8027         (asciiParagraph):
8028         * ToolbarDefaults.C (read):
8029         * MenuBackend.C (checkShortcuts):
8030         (read):
8031         * LColor.C (getFromGUIName):
8032         (getFromLyXName): use the compare_ascii_no_case instead of
8033         compare_no_case, because in turkish, 'i' is not the lowercase
8034         version of 'I', and thus turkish locale breaks parsing of tags.
8035
8036 2002-07-16  Angus Leeming  <leeming@lyx.org>
8037
8038         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8039         now takes a Buffer const & argument.
8040
8041 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * BufferView.C (resize): check there's a buffer to resize
8044
8045 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * lyxfunc.C: remove dead code
8048
8049         * lyxserver.h:
8050         * lyxserver.C: use lyx_guii::set_read_callback
8051
8052 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8053
8054         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8055         an inset in a RTL paragraph.
8056
8057 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * lyxfunc.C: repaint after a font size update
8060
8061 2002-07-15  André Pönitz <poenitz@gmx.net>
8062
8063         * lyxlength.C: inBP should be able to return negative values
8064
8065 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * lyxfunc.C: use lyx_gui::update_fonts()
8068
8069 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * lyxfunc.C: use lyx_gui::update_color()
8072
8073 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * bufferlist.C:
8076         * lyxfunc.h:
8077         * lyxfunc.C:
8078         * lyxrc.h:
8079         * lyxrc.C: remove file->new asks for name option, and let
8080           buffer-new take an argument
8081
8082 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * BufferView_pimpl.C: remove unneeded extra repaint()
8085
8086 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * LyXAction.C: allow command-sequence with NoBuffer
8089
8090         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8091
8092 2002-07-10  Angus Leeming  <leeming@lyx.org>
8093
8094         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8095
8096 2002-07-09  Angus Leeming  <leeming@lyx.org>
8097
8098         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8099
8100 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * lengthcommon.h: whitespace
8103
8104         * lyxfunc.C: update scrollbar after goto paragraph
8105
8106         * lyxtext.h: factor out page break drawing, and fix it so
8107           page break/added space paints as selected nicely
8108
8109 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * BufferView_pimpl.C: add FIXMEs, clean up a little
8112
8113 2002-07-09  André Pönitz <poenitz@gmx.net>
8114
8115         * lyxfont.[Ch]: support for wasy symbols
8116
8117 2002-07-08  André Pönitz <poenitz@gmx.net>
8118
8119         * BufferView_pimpl.C: apply John's patch for #93.
8120
8121 2002-07-05  Angus Leeming  <leeming@lyx.org>
8122
8123         * BufferView_pimpl.C (buffer): generate previews if desired.
8124
8125         * LColor.h: add "preview" to the color enum.
8126
8127         * LColor.C (LColor): add a corresponding entry to the items array.
8128
8129         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8130         with this buffer.
8131
8132 2002-07-05  Angus Leeming  <leeming@lyx.org>
8133
8134         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8135         The body of the code is now in the method that is passed an ostream &
8136         rather than a file name.
8137         Pass an additional only_preamble parameter, useful for the forthcoming
8138         preview stuff.
8139
8140 2002-07-03  André Pönitz <poenitz@gmx.net>
8141
8142         * lyxfunc.C: simplify getStatus() a bit for math stuff
8143
8144 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8145
8146         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8147
8148 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8149
8150         * text.C (changeRegionCase): do not change case of all the
8151         document when region ends at paragraph end (bug #461)
8152
8153 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8154
8155         * paragraph.C (startTeXParParams):
8156         (endTeXParParams): add \protect when necessary
8157
8158 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8159
8160         * BufferView_pimpl.C (workAreaExpose): remove warning
8161
8162 2002-06-27  Angus Leeming  <leeming@lyx.org>
8163
8164         * Makefile.am: add lyxlayout_ptr_fwd.h.
8165
8166 2002-06-26  André Pönitz <poenitz@gmx.net>
8167
8168         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8169
8170 2002-06-25  Angus Leeming  <leeming@lyx.org>
8171
8172         * lyxfunc.C (dispatch): Comment out the call to
8173         grfx::GCache::changeDisplay. The method no longer exists now that the
8174         pixmap generation part of the graphics loader has been moved into
8175         InsetGraphics.
8176
8177 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8178
8179         * text2.C: layout as layout
8180
8181         * text.C: layout as layout
8182
8183         * tabular.C (OldFormatRead): layout as layout
8184
8185         * paragraph_pimpl.C (TeXDeeper): layout as layout
8186         (realizeFont): layout as layout
8187
8188         * paragraph.C (writeFile): layout as layout
8189         (validate): layout as layout
8190         (getFont): layout as layout
8191         (getLabelFont): layout as layout
8192         (getLayoutFont): layout as layout
8193         (breakParagraph): layout as layout
8194         (stripLeadingSpaces): layout as layout
8195         (getEndLabel): layout as layout
8196         (getMaxDepthAfter): layout as layout
8197         (applyLayout): layout as layout
8198         (TeXOnePar): layout as layout
8199         (simpleTeXOnePar): layout as layout
8200         (TeXEnvironment): layout as layout
8201         (layout): layout as layout
8202         (layout): layout as layout
8203
8204         * lyxtextclass.C (compare_name): new functor to work with
8205         shared_ptr, layout as layout
8206         (Read): layout as layout
8207         (hasLayout): layout as layout
8208         (operator): layout as layout
8209         (delete_layout): layout as layout
8210         (defaultLayout): layout as layout
8211
8212         * lyxlayout_ptr_fwd.h: new file
8213
8214         * lyxlayout.C (Read): layout as layout
8215
8216         * lyx_cb.C (MenuInsertLabel): layout as layout
8217
8218         * bufferlist.C (newFile): layout as layout
8219
8220         * buffer.C (readLyXformat2): layout as layout
8221         (parseSingleLyXformat2Token): layout as layout
8222         (insertStringAsLines): layout as layout
8223         (asciiParagraph): layout as layout
8224         (latexParagraphs): layout as layout
8225         (makeLinuxDocFile): layout as layout
8226         (simpleLinuxDocOnePar): layout as layout
8227         (makeDocBookFile): layout as layout
8228         (simpleDocBookOnePar): layout as layout
8229         (getLists): layout as layout
8230
8231         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8232
8233         * CutAndPaste.C (cutSelection): layout as layout
8234         (pasteSelection): layout as layout
8235         (SwitchLayoutsBetweenClasses): layout as layout
8236
8237         * BufferView_pimpl.C (Dispatch): layout as layout
8238         (smartQuote): layout as layout
8239
8240         * BufferView2.C (unlockInset): layout as layout
8241
8242 2002-06-24  André Pönitz <poenitz@gmx.net>
8243
8244         * lyxfunc.C: fix #487
8245
8246 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * lyxrc.h:
8249         * lyxrc.C:
8250         * lyxfunc.C: remove display_shortcuts, show_banner
8251
8252 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * Buffer_pimpl.C: oops, update on resize
8255
8256 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * buffer.C:
8259         * converter.C:
8260         * exporter.C:
8261         * lyxfunc.C:
8262         * BufferView.h:
8263         * BufferView.C: use repaint()
8264
8265         * BufferView_pimpl.h:
8266         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8267           as it's a clearer description. Remove superfluous
8268           redraws.
8269
8270 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8271
8272         * text.C: fix bug 488. Not ideal, but getting
8273           getWord() to work properly for the insets that
8274           matter is more difficult ...
8275
8276 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * BufferView_pimpl.C:
8279         * LyXAction.C:
8280         * commandtags.h:
8281         * lyxfunc.C: remove the six million index lyxfuncs to just
8282           one, and DTRT (bug 458)
8283
8284 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8285
8286         * BufferView.h:
8287         * BufferView.C:
8288         * BufferView_pimpl.h:
8289         * BufferView_pimpl.C: clean up resize() stuff,
8290           and unnecessary updateScreen()s
8291
8292 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * BufferView.h:
8295         * BufferView.C:
8296         * BufferView_pimpl.h:
8297         * BufferView_pimpl.C:
8298         * lyxfind.h:
8299         * lyxfind.C:
8300         * minibuffer.C: remove focus management of workarea,
8301           not needed. Use screen's greyOut()
8302
8303 2002-06-17  Herbert Voss  <voss@lyx.org>
8304
8305         * converter.C: (convert) do not post a message, when converting
8306         fails, let the calling function decide what to do in this case
8307
8308 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8309
8310         * lyxfunc.C: tidy up a little
8311
8312 2002-06-16    <alstrup@diku.dk>
8313
8314         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8315         Got rid of FORMS_H_LOCATION include. Now we are
8316         GUII.
8317
8318 2002-06-15  LyX Development team  <lyx@rilke>
8319
8320         * buffer.[Ch] (sgmlOpenTag):
8321         (sgmlCloseTag): Added support for avoiding pernicious mixed
8322         content. Return number of lines written.
8323
8324         (makeLinuxDocFile):
8325         (makeDocBookFile): Fixed calls to sgml*Tag.
8326         Simple white space clean.
8327
8328         (simpleDocBookOnePar): Simple white space clean.
8329
8330         * tabular.[Ch] (docBook): Renamed to docbook and got another
8331         argument to related with the pernicious mixed content.
8332
8333         (docbookRow): Fixed calls for docbook inset method.
8334
8335 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8336
8337         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8338         so it's X11 independent.
8339
8340         * kb*.[Ch]: ditto.
8341
8342         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8343
8344 2002-06-15  Lyx Development team  <lyx@electronia>
8345
8346         * intl.h: Renamed getTrans to getTransManager.
8347
8348 2002-06-14  Angus Leeming  <leeming@lyx.org>
8349
8350         * Makefile.am: nuke forgotten stl_string_fwd.h.
8351
8352 2002-06-12  Angus Leeming  <leeming@lyx.org>
8353
8354         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8355
8356 2002-06-13  Angus Leeming  <leeming@lyx.org>
8357
8358         * LaTeX.C:
8359         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8360
8361 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8362
8363         * kbmap.C (getiso): add support for cyrillic and greek
8364
8365 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * BufferView.h:
8368         * BufferView.C:
8369         * BufferView_pimpl.h:
8370         * BufferView_pimpl.C: move bogus scrolling logic
8371           to xforms
8372
8373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8374
8375         * lyxfunc.C:
8376         * BufferView_pimpl.C: view->resize() change
8377
8378 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * BufferView_pimpl.C: topCursorVisible
8381           prototype change
8382
8383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8384
8385         * Makefile.am:
8386         * lyx_gui.h:
8387         * lyx_gui.C: move to frontends/
8388
8389         * main.C:
8390         * lyx_main.h:
8391         * lyx_main.C: changes from above
8392
8393 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * intl.C:
8396         * intl.h:
8397         * kbmap.C:
8398         * kbsequence.C:
8399         * lyx_cb.C:
8400         * lyx_main.C: minor tidy
8401
8402 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * BufferView_pimpl.h:
8405         * BufferView_pimpl.C:
8406         * BufferView.h:
8407         * BufferView.C: make painter() const,
8408           remove dead code
8409
8410         * BufferView2.C: use screen() accessor
8411
8412         * lyx_main.h:
8413         * lyx_main.C: some minor cleanup
8414
8415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * BufferView_pimpl.h:
8418         * BufferView_pimpl.C: remove enter/leaveView,
8419           use workHeight()
8420
8421 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8422
8423         * BufferView.h:
8424         * BufferView.C:
8425         * BufferView2.C:
8426         * BufferView_pimpl.h:
8427         * BufferView_pimpl.C: only construct screen once,
8428           rename
8429
8430         * lyxrc.C: remove pointless comment
8431
8432 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * BufferView.h:
8435         * BufferView.C: remove active() and belowMouse()
8436
8437         * BufferView_pimpl.h:
8438         * BufferView_pimpl.C: use workarea() not workarea_,
8439           and make it use a scoped_ptr instead
8440
8441 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * lyx_gui.C: add debug message on BadWindow
8444
8445 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8446
8447         * sp_spell.C: fdopen is not part of the C++ standard.
8448
8449         * paragraph.C (InsetIterator): use >= instead of ==
8450
8451 2002-06-07  Angus Leeming  <leeming@lyx.org>
8452
8453         Fixes needed to compile with Compaq cxx 6.5.
8454         * BufferView_pimpl.C:
8455         * DepTable.C:
8456         * buffer.C:
8457         * converter.C:
8458         * encoding.C:
8459         * lyx_gui.C:
8460         * lyx_main.C:
8461         * lyxtextclasslist.C:
8462         * minibuffer.C:
8463         * sp_spell.C:
8464         * tabular_funcs.C:
8465         * vc-backend.C:
8466         all c-library variables have been moved into namespace std. Wrap
8467         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8468
8469         * lyxlength.C:
8470         * tabular-old.C:
8471         * tabular.C:
8472         Add a using std::abs declaration.
8473
8474         * kbmap.h (modifier_pair):
8475         * paragraph.h (InsetTable, InsetList):
8476         * lyxfont.h (FontBits):
8477         type definition made public.
8478
8479         * bufferlist.C (emergencyWriteAll): the compiler complains that
8480         there is more than one possible lyx::class_fun template to choose from.
8481         I re-named the void specialisation as lyx::void_class_fun.
8482
8483         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8484
8485         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8486         the compiler is is unable to find tostr in write_attribute.
8487
8488 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * buffer.C (sgmlError): hide #warning
8491
8492 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8493
8494         * xtl/*: get rid of xtl, which is not in use anyway
8495
8496         * LyXAction.C (init):
8497         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8498         were unimplemented xtl experimentation
8499
8500 2002-06-04  André Pönitz <poenitz@gmx.net>
8501
8502         * lyxfunc.C: disable array operation on simple formulae
8503
8504 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * converter.C: constify a bit
8507
8508 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * lyx_gui.C: check xforms version correctly
8511
8512 2002-04-30  Herbert Voss  <voss@lyx.org>
8513
8514         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8515         "keep" option
8516
8517 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8518
8519         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8520           attempt to register it with a VCS)
8521
8522 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8523
8524         * lyx_main.C (init): honor variables LYX_DIR_13x and
8525         LYX_USERDIR_13x
8526
8527 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * buffer.h:
8530         * buffer.C:
8531         * lyx_main.C: fix a crash on bad command line,
8532           and give a useful exit status on error
8533
8534         * lyxfunc.C (doImport): allow -i lyx to work
8535
8536 2002-03-30  André Pönitz <poenitz@gmx.net>
8537
8538         * lyxfunc.C: mathed font changes
8539
8540 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * LaTeX.C:
8543         * importer.h:
8544         * importer.C:
8545         * lyx_sty.h:
8546         * lyx_sty.C:
8547         * lyxlex.C:
8548         * lyxrow.h:
8549         * lyxtext.h:
8550         * paragraph.h:
8551         * paragraph.C:
8552         * texrow.h:
8553         * texrow.C:
8554         * text.C:
8555         * trans_mgr.h: srcdocs, and some minor cleanups
8556
8557 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8560         call getFont all the time)
8561
8562 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * switch from SigC signals to boost::signals
8565
8566 2002-05-29  André Pönitz <poenitz@gmx.net>
8567
8568         * paragraph_pimpl.C (getChar): don't call size() too often...
8569
8570 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * paragraph_pimpl.C (insertChar): do not try to update tables when
8573         appending (pos == size())
8574
8575         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8576         in order to reduce drastically the number of comparisons needed to
8577         parse a large document
8578
8579 2002-05-29  André Pönitz <poenitz@gmx.net>
8580
8581         * text.C:
8582         * text2.C:
8583         * lyxtextclass.C:
8584         * sp_pspell.h:
8585         * textclasslist.[Ch]:
8586         * sp_ispell.h: whitespace change
8587
8588 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8589
8590         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8591         lyxaction directly now.
8592
8593 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * trans.C:
8596         * lyxfont.C:
8597         * lyxvc.C: remove unused headers
8598
8599 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * Makefile.am:
8602         * buffer.h:
8603         * undostack.h:
8604         * undostack.C:
8605         * undo_funcs.h:
8606         * undo_funcs.C: some cleanups. Use shared_ptr
8607           and a template for the undo stacks.
8608
8609 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8610
8611         * BufferView_pimpl.h:
8612         * BufferView_pimpl.C:
8613         * kbmap.h:
8614         * kbmap.C:
8615         * kbsequence.h:
8616         * kbsequence.C:
8617         * lyxfunc.h:
8618         * lyxfunc.C:
8619         * text2.C: use key_state/mouse_state
8620
8621 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8622
8623         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8624         and LSubstring
8625
8626         * chset.C: change include order
8627         (loadFile): use boost regex and get rid of LRegex and LSubstring
8628
8629         * Makefile.am (BOOST_LIBS): new variable
8630         (lyx_LDADD): use it
8631
8632         * LaTeX.C: change include order.
8633         (scanAuxFile): use boost regex and get rid of LRegex and
8634         LSubstring
8635         (deplog): ditto
8636
8637 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8638
8639         * ColorHandler.h:
8640         * ColorHandler.C:
8641         * FontInfo.h:
8642         * FontInfo.C: moved to frontends/xforms/
8643
8644         * FontLoader.h:
8645         * FontLoader.C: moved into frontends for GUIIzation
8646
8647         * Makefile.am:
8648         * lyx_gui.C:
8649         * lyxfont.C:
8650         * lyxfunc.C: changes from above
8651
8652 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * LColor.C: remove spurious X include
8655
8656         * BufferView_pimpl.C:
8657         * Makefile.am:
8658         * font.h:
8659         * font.C:
8660         * text.C:
8661         * text2.C: move font metrics to frontends/
8662
8663 2002-05-24  Juergen Vigna  <jug@sad.it>
8664
8665         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8666         setting the undo_cursor.
8667
8668         * ParagraphParameters.h: include local includes first.
8669
8670 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8671
8672         * BufferView_pimpl.C:
8673         * BufferView_pimpl.h:
8674         * Makefile.am:
8675         * WorkArea.h:
8676         * WorkArea.C:
8677         * screen.C: move WorkArea into frontends/
8678
8679         * lyxscreen.h:
8680         * screen.C:
8681         * text.C:
8682         * BufferView.C:
8683         * BufferView2.C: move LyXScreen into frontends/
8684
8685         * lyxlookup.h:
8686         * lyxlookup.C:
8687         * lyx_gui.C: move lyxlookup into frontends/xforms/
8688
8689 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8690
8691         * BufferView2.C:
8692         * BufferView_pimpl.C:
8693         * FontLoader.C:
8694         * LyXView.h:
8695         * LyXView.C:
8696         * Makefile.am:
8697         * WorkArea.C:
8698         * XFormsView.h:
8699         * XFormsView.C:
8700         * buffer.C:
8701         * bufferlist.C:
8702         * bufferview_funcs.C:
8703         * converter.C:
8704         * importer.C:
8705         * lyx_cb.C:
8706         * lyx_gui.C:
8707         * lyx_main.C:
8708         * lyx_find.C:
8709         * lyxfunc.C:
8710         * lyxvc.C:
8711         * minibuffer.C:
8712         * text.C:
8713         * text2.C:
8714         * trans.C:
8715         * vc-backend.C: move LyX/XFormsView into frontends/
8716
8717 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8718
8719         * Makefile.am:
8720         * PainterBase.C:
8721         * PainterBase.h:
8722         * Painter.C:
8723         * Painter.h:
8724         * WorkArea.C:
8725         * WorkArea.h:
8726         * screen.C:
8727         * tabular.C:
8728         * text.C:
8729         * text2.C: move Painter to frontends/
8730
8731 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8732
8733         * buffer.C: comment out some some code that depend upon lyx_format
8734         < 220
8735
8736         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8737         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8738
8739         * buffer.h (NO_COMPABILITY): turn off compability
8740
8741         * ColorHandler.C: include scoped_array.hpp
8742
8743         * font.C: Use more specific smart_ptr header.
8744         * Painter.C: ditto
8745         * gettext.C: ditto
8746         * ShareContainer.h: ditto
8747         * lyx_main.h: ditto
8748         * kbmap.h: ditto
8749         * FontInfo.h: ditto
8750         * BufferView_pimpl.h: ditto
8751         * ColorHandler.h: ditto
8752
8753         * kbmap.C (defkey): change call to shared_ptr::reset
8754
8755 2002-05-21  Juergen Vigna  <jug@sad.it>
8756
8757         * buffer.C (insertErtContents): fix to insert ert asis if it is
8758         non empty. Skip it completely if it contains only whitespaces.
8759
8760 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8761
8762         * BufferView_pimpl.C:
8763         * BufferView2.C: clear selection on paste (bug 393)
8764
8765 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8766
8767         * DepTable.C: include ctime
8768
8769 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8770
8771         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8772
8773 2002-05-14  Juergen Vigna  <jug@sad.it>
8774
8775         * text.C (breakParagraph): fixed function to honor the keepempty
8776         layout in the right maner and also to permit the right breaking
8777         algorithm on empty or non empyt keepempty paragraphs.
8778
8779         * paragraph.C (breakParagraph): we have to check also if the par
8780         is really empty (!size()) for isempty otherwise we do the wrong
8781         paragraph break.
8782
8783 2002-05-10  Juergen Vigna  <jug@sad.it>
8784
8785         * buffer.[Ch] : The following are only changes to the ert
8786         compatibility read reading old LaTeX layout and font stuff and
8787         convert it to ERTInsets.
8788
8789         * buffer.h: added isErtInset().
8790
8791         * buffer.C (struct ErtComp): add a fromlayout bool to check
8792         if we're inside a LaTeX layout.
8793         (isErtInset): new helper function.
8794         (insertErtContents): look for other ert insets before this one
8795         and insert the contents there, so that we don't have subsequent
8796         ERT insets with nothing between them. This way we create only one
8797         inset with multiple paragraphs. Also check if we don't insert only
8798         spaces ' ' as they are ignored anyway afterwards in the .tex file
8799         so if we have only spaces we will ignore this latex part in the
8800         new file.
8801         (parseSingleLyXformat2Token \\layout): better compatibility when
8802         reading layout-latex stuff.
8803         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8804         language tag.
8805         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8806         stuff after reading the inset only get the information back from
8807         the stack.
8808
8809 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8810
8811         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8812
8813         * LaTeXFeatures.C (getBabelOptions): New method.
8814
8815 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8816
8817         * BufferView_pimpl.C (Dispatch): work around missing argument for
8818         'layout'
8819
8820 2002-05-08  Juergen Vigna  <jug@sad.it>
8821
8822         * text.C (leftMargin): handle paragraph leftindent.
8823
8824         * paragraph.C (writeFile): write the new \\leftindent tag.
8825         (validate): handle leftindent code.
8826         (TeXEnvironment): handle paragraphleftindent code again.
8827
8828         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8829
8830         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8831         for paragrap_extra indent code and new token \\leftindent.
8832         (latexParagraphs): handle the leftindent as environment.
8833
8834         * ParameterStruct.h: added leftindent support.
8835
8836         * ParagraphParameters.C (leftIndent): added support functions for
8837         the paragraph left indent.
8838
8839         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8840         more appropriate.
8841
8842 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8843
8844         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8845         inside insetERT.
8846
8847         * text.C (computeBidiTables): No bidi in insetERT.
8848
8849         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8850         in RTL documents.
8851
8852 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * version.C.in: pre 5
8855
8856 2002-05-02  José Matos  <jamatos@fep.up.pt>
8857         * buffer.C (makeDocBookFile): white space changes, add newline to
8858         command styles.
8859         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8860
8861         * tabular.C (docBook): fix typo.
8862
8863 2002-05-03  Juergen Vigna  <jug@sad.it>
8864
8865         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8866         change in LyXText as we can not be sure it was not freed.
8867         (drawOneRow): remove unused code.
8868
8869         * text.C (drawInset): redo the calculation of the need_break_row as
8870         it could have a row which was already freed.
8871         (draw): look at the return value of drawInset and return false if
8872         it also returned false.
8873         (paintRowText): look at the return value of draw and return false if
8874         it also returned false.
8875
8876         * lyxtext.h: added bool return type to drawInset() and draw() so that
8877         if we have a change in the row so that the rowbreak has to be redone
8878         we abort drawing as it will be called again.
8879
8880 2002-05-02  Juergen Vigna  <jug@sad.it>
8881
8882         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8883         a change in the maintext also if we're inside an inset.
8884         (Dispatch): set the cursor again after a break line and after the
8885         screen has been updated as it could be we're in a different row.
8886
8887         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8888         to set the cursor behind the pargraph with > size().
8889         (setCursor): check also for the same paragraph when checking where
8890         to put the cursor if we have a NFR inset.
8891
8892         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8893         parts of layout read further up as it still was in the wrong
8894         position.
8895
8896 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8897
8898         * screen.C (drawFromTo): change sine fullRebreak always return
8899         true.
8900
8901         * buffer.C (parseSingleLyXformat2Token): reindent some
8902
8903         * BufferView_pimpl.C (update): change since fullRebreak always
8904         return true.
8905         (Dispatch): git rid of the last hardcoded "Standard"s.
8906
8907 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8908
8909         * text2.[Ch] (fullRebreak): make it return void now that we always
8910         returned true.
8911
8912 2002-04-30  Juergen Vigna  <jug@sad.it>
8913
8914         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8915         ert compatibility check for "latex" layout.
8916
8917 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8920         minipages: use col% instead of p%, and also use the current font.
8921         (makeLaTeXFile): Fix use babel condition.
8922         (parseSingleLyXformat2Token): Correct font when reading old floats.
8923
8924 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8925
8926         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8927         inserting list of floats.
8928
8929 2002-04-25  Herbert Voss  <voss@lyx.org>
8930
8931         * MenuBackend.C (expand): don't add the graphics extensions to the
8932         export menu
8933
8934 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8937         non-existing layout, do not complain if it was the default layout
8938         of the original class (bug #342)
8939
8940 2002-04-24  Juergen Vigna  <jug@sad.it>
8941
8942         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8943         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8944
8945 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8946
8947         * buffer.C (getBibkeyList): If using \bibliography, return the
8948         option field with the reference itself. Enables us to provide natbib
8949         support when using \bibliography.
8950
8951 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8952
8953         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8954
8955         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8956         natbib is provided by the LaTeX class.
8957
8958 2002-04-23  Juergen Vigna  <jug@sad.it>
8959
8960         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8961         Wakeup functions.
8962
8963         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8964
8965 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8968
8969         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8970         ensuremath around textordmasculine, textordfeminine and
8971         textdegree.
8972
8973 2002-04-19  Juergen Vigna  <jug@sad.it>
8974
8975         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8976         reinitializing the buffer otherwise row-dimensions may be wrong.
8977         (update): reset also the selection cursors if they do exits otherwise
8978         their x/y positions may be wrong.
8979
8980         * text2.C (cursorDown): don't enter the inset if we came from a row
8981         above and are one row over the inset.
8982
8983         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8984         really leaving an inset.
8985
8986 2002-04-18  Juergen Vigna  <jug@sad.it>
8987
8988         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8989         of the selected paragraph does not have the selected layout also if
8990         the last one had!
8991
8992         * text2.C (setLayout): fixed bug which did not change last selected
8993         paragraph.
8994
8995         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8996         changed the read and substituted \\end_float with \\end_inset!
8997
8998         * BufferView_pimpl.C (cursorPrevious):
8999         (cursorNext): fixed to make it work with rows heigher than the work
9000         area without moving the cursor only the draw of the row.
9001         (workAreaMotionNotify): fix jumping over high rows.
9002
9003 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9004
9005         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9006         Ressler.
9007
9008 2002-04-16  Juergen Vigna  <jug@sad.it>
9009
9010         * text2.C (setCursor): set also the irow().
9011         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9012         (cursorUp):
9013         (cursorDown): support for locking an inset if the x_fix value goes
9014         inside it. That way I can transverse insets too with cursor up/down.
9015
9016         * lyxrow.h: added irow helper function same as other (i) functions.
9017
9018         * BufferView_pimpl.C (cursorPrevious):
9019         (cursorNext): fixed for insets!
9020
9021 2002-04-15  Juergen Vigna  <jug@sad.it>
9022
9023         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9024         position otherwise it is wrong in some cases.
9025
9026         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9027         inside the inset before the call.
9028
9029 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9030
9031         * buffer.[Ch] (getBibkeyList): make it const.
9032
9033 2002-04-12  Juergen Vigna  <jug@sad.it>
9034
9035         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9036
9037         * text2.C (getCursorX): new helper function
9038         (setCursor): compute also ix_
9039         (setCursorFromCoordinates): set also ix.
9040
9041         * lyxcursor.h: added ix_ and helper functions.
9042
9043         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9044
9045         * buffer.C (insertStringAsLines): dont break paragraph if the this
9046         paragraph is inside an inset which does not permit it!
9047
9048         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9049         also with no chars on this paragraph.
9050         (paintRowText): only paint stuff if it's inside the workarea!
9051
9052         * paragraph.C (breakParagraph): honor keepempty flag and break the
9053         paragraph always below not above.
9054
9055         * BufferView2.C (unlockInset): update the paragraph layout on inset
9056         unlock as we changed paragraph in such a case.
9057
9058         * lyxfind.C (LyXFind): clear the former selection if not found!
9059
9060         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9061         again called in insertChar().
9062
9063         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9064         an inset which uses the whole row!
9065         (rightMargin): ditto.
9066         (insertChar): force a rebreak if we inserted an inset!
9067
9068 2002-03-28  Herbert Voss  <voss@lyx.org>
9069
9070         * lyxlength.[Ch]: add inBP() to get the right PS-point
9071         units (BigPoint). With inPixels we have rounding errors
9072
9073 2002-04-11  Juergen Vigna  <jug@sad.it>
9074
9075         * text2.C (setCursorFromCoordinates): set iy to the right value.
9076         (setCursor): add check if row->previous exists!
9077
9078         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9079         an old float_type as this was the case in the old code!
9080
9081         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9082
9083         * BufferView2.C (showLockedInsetCursor): use iy
9084         (fitLockedInsetCursor): ditto
9085
9086         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9087         locked insets as there we have the right value now.
9088
9089         * lyxcursor.C: added iy_ variable and iy functions to set to the
9090         baseline of cursor-y of the locked inset.
9091
9092         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9093         (setCursor): fixed for insets which need a full row.
9094
9095         * text.C (rowLastPrintable): don't ignore the last space when before
9096         an inset which needs a full row.
9097         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9098         as last character of a row when before a inset which needs a full row.
9099
9100 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9101
9102         * version.C.in: update date
9103
9104         * text2.C (fullRebreak): try to always return true and see what
9105         happens...
9106
9107 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * MenuBackend.C (expand): use Floating::listName
9110
9111         * FloatList.C (FloatList): add listName argument to the built-in
9112         floats
9113
9114         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9115         text associated with the float.
9116
9117 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9120
9121 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9122
9123         * ShareContainer.h: add a couple of missing typenames.
9124
9125 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9126
9127         * lyxrc.C (getDescription): use _() correctly rather than N_().
9128
9129 2002-03-28  Herbert Voss  <voss@lyx.org>
9130
9131         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9132         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9133
9134 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9137         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9138
9139 2002-03-29  Juergen Vigna  <jug@sad.it>
9140
9141         * lyxfunc.C (dispatch): add a missing fitCursor call.
9142
9143         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9144         it was scrolled by a cursor move, so return the bool status.
9145
9146         * BufferView.C (fitCursor): return the bool flag also to the outside
9147         world as this is needed.
9148
9149         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9150
9151         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9152         call the edit() as it is not needed (and wrong) IMO.
9153         (workAreaButtonPress): set the screen_first variable before evt.
9154         unlock the inset as this may change screen_first and then we have
9155         a wrong y position for the click!
9156
9157 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * MenuBackend.C (expand): another translation that I missed
9160
9161 2002-03-28  Juergen Vigna  <jug@sad.it>
9162
9163         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9164
9165         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9166
9167 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9168
9169         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9170
9171         * MenuBackend.C (expand): fix export/view/update when there is no
9172         document open.
9173
9174 2002-03-27  Herbert Voss  <voss@lyx.org>
9175
9176         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9177         and text%
9178
9179 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * bufferview_funcs.C (currentState): only show paragraph number
9182         for is DEVEL_VERSION is set.
9183
9184         * lyxfunc.C (dispatch): put warning in INFO channel
9185
9186         * MenuBackend.C (expand): translate the name of floats
9187
9188         * FloatList.C (FloatList): mark the float names for translation
9189
9190         * converter.C (convert): use LibScriptSearch
9191
9192 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * MenuBackend.C (defaults): fix default menu (we might as well get
9195         rid of it...)
9196
9197 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9198
9199         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9200         directory.
9201
9202 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9203
9204         * lyxvc.C: reorder includes.
9205
9206 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9209           properly
9210
9211 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9212
9213         * CutAndPaste.C: change layouts earlier on paste
9214           to avoid crashing when calling getFont()
9215
9216 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9217
9218         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9219         irritating #error.
9220
9221 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9222
9223         * WorkArea.C: remove 'Pending' debug message.
9224
9225         * most files: ws cleanup
9226
9227         * buffer.[Ch]: ws changes
9228
9229         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9230
9231 2002-03-21  Juergen Vigna  <jug@sad.it>
9232
9233         * tabular.C (SetMultiColumn): collapse also the contents of the
9234         cells and set the last border right. Added a Buffer const * param.
9235
9236 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9239         linking or not.
9240
9241 2002-03-19  Juergen Vigna  <jug@sad.it>
9242
9243         * text2.C (clearSelection): reset also xsel_cache.
9244
9245         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9246         where it needs to be called (John tells us to do so too :)
9247         (selectionLost): reset sel_cache.
9248
9249         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9250
9251 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * text2.C (setCursorIntern): put debuging code in INSETS channel
9254
9255 2002-03-19  André Pönitz <poenitz@gmx.net>
9256
9257         * lyxfunc.C: tiny whitespace change
9258
9259 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * ToolbarDefaults.C (init):
9262         * LyXAction.C (init):
9263         * commandtags.h:
9264         * BufferView_pimpl.C (Dispatch):
9265         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9266
9267 2002-03-19  Allan Rae  <rae@lyx.org>
9268
9269         * exporter.C (Export): removeAutoInsets before doing anything else.
9270         While I've just introduced a dependency on BufferView this really is
9271         the best place to clean the buffer otherwise you need to cleanup in
9272         a dozen places before calling export or cleanup in a dozen functions
9273         that export calls.
9274
9275         * converter.C (runLaTeX):
9276         (scanLog): Better handling of removeAutoInsets and screen updates.
9277
9278         * lyxfunc.C (dispatch): small whitespace changes
9279
9280 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * WorkArea.C (C_WorkAreaEvent): return a value.
9283         (event_cb): return 1 if we handled the event, 0 otherwise.
9284
9285         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9286
9287 2002-03-18  Juergen Vigna  <jug@sad.it>
9288
9289         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9290         (GetAdditionalWidth): ditto.
9291         (RightLine): ditto.
9292         (LeftLine): ditto.
9293
9294         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9295         inset if we're there actually (probably not used right now but this
9296         is the direction to go for unifying code).
9297         (paste): disable code to clear the selection.
9298
9299         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9300         inside an InsetText and move the check further up as it is in the
9301         wrong place.
9302
9303         * text2.C (pasteSelection): set a selection over the pasted text.
9304
9305 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9306
9307         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9308         and libgraphics to build on Cygwin.
9309
9310 2002-03-15  Juergen Vigna  <jug@sad.it>
9311
9312         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9313         inserting an Inset into the paragraph. I know this is not the best
9314         fix but we already use current_view in CutAndPaste so we will remove
9315         all of it's using at the same time.
9316
9317         * buffer.C (sgmlError): deactivated function till it is rewritten in
9318         the right mode, now it can create problems.
9319
9320         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9321         before accessing it.
9322
9323 2002-03-14  Juergen Vigna  <jug@sad.it>
9324
9325         * undo_funcs.C (textHandleUndo): do the right thing when updating
9326         the inset after the undo/redo.
9327
9328         * text2.C (setCursor): just some testcode for #44 not ready yet.
9329
9330         * undo_funcs.C (textHandleUndo): set the next() and previous()
9331         pointers of the paragraph to 0 before deleting otherwise we have
9332         problems with the Paragraph::[destructor].
9333
9334         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9335         on a paragraph insertion.
9336
9337 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9338
9339         * buffer.C (asciiParagraph): use += operator for char append to
9340         string.
9341
9342         * paragraph.C (getFontSettings): compare >= not just >
9343         (highestFontInRange): ditto
9344         (setFont): ditto
9345
9346 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9347
9348         * paragraph.C: change several algorithm to be more appripriate for
9349         the problem domain. This is lookip in FontList and in the InsetList.
9350
9351 2002-03-13  André Pönitz <poenitz@gmx.net>
9352
9353         * commandtags.h:
9354         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9355
9356 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * commandtags.h:
9359         * LyXAction.C:
9360         * lyxfunc.C:
9361         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9362
9363 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * Painter.C (display): anon helper function, adjust code for this
9366         change.
9367         (pixmap): remove function.
9368
9369         * Painter.h: remove private display variable.
9370
9371         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9372
9373 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9374
9375         * WorkArea.[Ch]: remove figinset_canvas cruft.
9376
9377 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9378
9379         * lyxtextclass.C (operator): add one item cache optimization.
9380
9381         * bufferlist.h: doxy changes
9382
9383         * bufferlist.C: ws changes
9384
9385         * DepTable.[Ch] (ext_exist): place const in the right spot.
9386
9387         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9388         call resizeInsets.
9389         (workAreaExpose): call resizeInsets when the with BufferView changes.
9390         (Dispatch): adjust for protectedBlank removal
9391         (specialChar): call updateInset if the insert went ok.
9392
9393         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9394         specialChar instead.
9395
9396         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9397
9398         * BufferView.h: doxy change
9399
9400         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9401
9402         * lyxtextclass.C (operator[]): remove non-const version
9403         (defaultLayout): remove non-const version
9404
9405 2002-03-12  Juergen Vigna  <jug@sad.it>
9406
9407         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9408         did resize the LyXText too.
9409
9410         * buffer.C (readLyXformat2): set layout information on newly allocated
9411         paragraphs.
9412
9413         * tabular.C (OldFormatRead): set layout information on the paragraph.
9414
9415 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9416
9417         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9418
9419 2002-03-11  Juergen Vigna  <jug@sad.it>
9420
9421         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9422         plainly wrong.
9423         (resizeCurrentBuffer): force also the insets to resize themselfes.
9424         (moveCursorUpdate): fixed up for InsetText.
9425
9426 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9427
9428         * commandtags.h:
9429         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9430         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9431         value of Dialogs::tooltipsEnabled().
9432         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9433
9434 2002-03-08  Juergen Vigna  <jug@sad.it>
9435
9436         * BufferView_pimpl.C (updateInset): update inset inside inset also
9437         if it isn't inside theLockingInset().
9438
9439 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * buffer.C (asciiParagraph): redo some of the word and line length
9442         handling.
9443         (getLists): look for Caption instead of caption.
9444
9445 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * buffer.C (Buffer): initialize niceFile to true
9448         (makeLaTeXFile):
9449         (makeLinuxDocFile):
9450         (makeDocBookFile): make sure niceFile is true on exit
9451
9452 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9455
9456 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9457
9458         * LyXSendto.C: remove.
9459         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9460         * lyx_gui.C: remove now-redundant comment.
9461         * ColorHandler.h: remove forward declaration of class WorkArea.
9462         * lyxfunc.C: remove #include "WorkArea.h".
9463
9464 2002-03-07  Juergen Vigna  <jug@sad.it>
9465
9466         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9467         got moved away with the DEPM and also set the inset_owner always
9468         right which before could have been omitted.
9469
9470 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9471
9472         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9473         wanted layout is not found.
9474
9475 2002-03-07  Juergen Vigna  <jug@sad.it>
9476
9477         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9478
9479 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9480
9481         * paragraph.C (breakParagraph): use default layout not layout of
9482         prev paragraph.
9483         (Paragraph): clear ParagraphParameters.
9484
9485 2002-03-06  Juergen Vigna  <jug@sad.it>
9486
9487         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9488         otherwise it would not be a valid lenght. Fixed a special case in
9489         the minipage compatibility read where we end the document with a
9490         minipage.
9491
9492         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9493         was set as it could be 0 for InsetTexts first entry.
9494
9495 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * paragraph.C (writeFile): if layout is empty write out
9498         defaultLayoutName().
9499
9500         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9501         file without named layout we set layout to defaultLayoutName().
9502
9503 2002-03-06  Juergen Vigna  <jug@sad.it>
9504
9505         * CutAndPaste.C (copySelection): set layout for new paragraph.
9506
9507         * text.C (prepareToPrint): leave ERT inset left aligned
9508         (leftMargin): don't indent paragraphs inside ERT insets
9509
9510 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9511
9512         * paragraph.C (breakParagraph): dont call clear do the work manually
9513
9514         * paragraph.[Ch] (clear): remove function
9515
9516 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9517
9518         * paragraph.C (Paragraph): dont call clear, the work has already
9519         been done.
9520
9521         * lyxtextclass.C (operator): assert if n is empty
9522
9523         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9524         work manually instead.
9525
9526 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * BufferView_pimpl.C: protect selectionLost against text == 0
9529
9530 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * text.C (breakParagraph): fix a setting layout to '0' problem.
9533
9534 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9535
9536         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9537         final location of file, for the included files, and graphics.
9538
9539 2002-03-05  Juergen Vigna  <jug@sad.it>
9540
9541         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9542
9543 2002-03-04  Juergen Vigna  <jug@sad.it>
9544
9545         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9546
9547         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9548         last column of multicolumn cells.
9549         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9550
9551 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9552
9553         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9554         file if it doesn't go to a temporary file.
9555
9556         * buffer.C (sgmlOpenTag):
9557         (sgmlCloseTag):  remove extra newline insertion.
9558
9559 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9560
9561         * text.C (getRowNearY): comment out debug msg
9562
9563 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * text2.C: first -> first_y
9566
9567         * text.C (getRowNearY): add some attemts at a possible
9568         optimization, not working.
9569
9570         * tabular.[Ch]: add BufferParams to several function so that newly
9571         created paragraph can be initialized to he default layotu for the
9572         buffers textclass.
9573
9574         * tabular-old.C (ReadOld): add buf->params to call of Init
9575
9576         * screen.C: rename text->first to text->first_y
9577
9578         * paragraph.C (breakParagraph): always set layout in the broken
9579         paragraph
9580
9581         * lyxtextclass.C (Read): remove lowercase
9582         (hasLayout): ditto
9583         (operator): ditto
9584         (delete_layout): ditto
9585
9586         * lyxtext.h: rename first -> first_y
9587
9588         * lyxlayout.C (Read): remove lowercase
9589         (name): ditto
9590         (setName): ditto
9591         (obsoleted_by): ditto
9592
9593         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9594
9595         * buffer.C (insertErtContents): add params are to InsetERT
9596         (parseSingleLyXformat2Token): add code to check if a paragraphs
9597         layout really exist.
9598         (parseSingleLyXformat2Token): add params to several inset
9599         constructors
9600         (asciiParagraph): remove lowercase, do the layout comparisons with
9601         no_case
9602
9603         * BufferView_pimpl.C (cursorNext): first -> first_y
9604         (resizeCurrentBuffer): first -> first_y
9605         (updateScrollbar): first -> first_y
9606         (scrollCB): first -> first_y
9607         (workAreaMotionNotify): first -> first_y
9608         (workAreaButtonPress): first -> first_y
9609         (checkInsetHit): first -> first_y
9610         (cursorPrevious): first -> first_y
9611         (cursorNext): first -> first_y
9612         (Dispatch): add buffer_->params to severl inset contructors
9613
9614 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * lyxlayout.C (Read): remove some debug info that I forgot.
9617
9618         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9619         clean up the code slightly.
9620         (makeLinuxDocFile): ditto
9621         (makeDocBookFile): ditto
9622
9623         * text2.C: layout as string
9624
9625         * text.C: layout as string
9626
9627         * paragraph_pimpl.C: layout as string
9628
9629         * paragraph.[Ch]: layout as string
9630
9631         * lyxtextclasslist.[Ch]: layout as string
9632
9633         * lyxtextclass.[Ch]: layout as string
9634
9635         * lyxtext.h: layout as string
9636
9637         * lyxlayout.[Ch]: layout as string
9638
9639         * lyx_cb.C: layout as string
9640
9641         * bufferview_funcs.C: layout as string
9642
9643         * bufferparams.C: layout as string
9644
9645         * buffer.C: layout as string
9646
9647         * LyXView.[Ch]: layout as string
9648
9649         * LaTeXFeatures.[Ch]: layout as string
9650
9651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9652
9653         * BufferView_pimpl.C: change current_layout to string, remove
9654         lyx::layout_type.
9655         (Dispatch):
9656         (smartQuote):
9657         (insertInset):
9658         (workAreaButtonRelease): layout as string
9659
9660         * BufferView2.C (unlockInset): adjust
9661
9662         * vspace.C (asLatexCommand): use an explict temp variable.
9663
9664 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * Makefile.am: use FRONTEND_*
9667
9668 2002-03-01  Juergen Vigna  <jug@sad.it>
9669
9670         * tabular.C (SetWidthOfMulticolCell): changed to something better
9671         I hope but still work in progress.
9672         (recalculateMulticolumnsOfColumn): renamed function from
9673         recalculateMulticolCells as it is more appropriate now.
9674         (SetWidthOfCell): calculate multicols better.
9675
9676 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9679
9680         * lyxfunc.C (processKeySym): print sequence also if it is
9681         `deleted' (complete)
9682
9683         * kbsequence.C (print): print sequence even if it is deleted
9684         (complete would be a better word, actually).
9685
9686         * lyxfunc.C (dispatch): print complete options after a prefix key
9687
9688         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9689
9690 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9691
9692         * text2.C (setCharFont): eliminate setCharFont code duplication.
9693
9694 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9697         LFUN_TABULAR_FEATURE (bug #177)
9698
9699 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9700
9701         * Makefile.am: remove figure.h
9702
9703 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * Bufferview_pimpl.C:
9706         * CutAndPasteC:
9707         * LaTeX.C:
9708         * LyXSendto.C:
9709         * buffer.C:
9710         * bufferlist.C:
9711         * converter.C:
9712         * language.C:
9713         * lyxfunc.C:
9714         * lyxvc.C:
9715         * paragraph.C:
9716         * text.C:
9717         * text2.C: remove #include "lyx_gui_misc.h".
9718
9719         * LaTeX.C: added #include <cstdio>
9720
9721 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9724         that the paragraph following this one can have.
9725
9726         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9727
9728         * vspace.C (asLatexCommand): fix bogus gcc warning
9729
9730         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9731
9732 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9733
9734         * text2.C (setLayout): get rid of redundant code
9735
9736 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9737
9738         * text2.C (incDepth): make sure depth cannot be increased beyond
9739         reasonable values.
9740
9741 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9744         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9745
9746         * PainterBase.h (image):
9747         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9748         a LyXImage const *.
9749
9750 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * BufferView.C:
9753         * BufferView.h:
9754         * BufferView_pimpl.C:
9755         * BufferView_pimpl.h:
9756         * LaTeXFeatures.C:
9757         * LyXAction.C:
9758         * LyXView.C:
9759         * Makefile.am:
9760         * UpdateList.h:
9761         * UpdateList.C:
9762         * buffer.C:
9763         * figure.h:
9764         * figureForm.C:
9765         * figureForm.h:
9766         * figure_form.C:
9767         * figure_form.h:
9768         * lyx_cb.C:
9769         * lyx_gui.C:
9770         * lyx_gui_misc.C:
9771         * lyxfunc.C:
9772         * sp_base.h:
9773         * sp_ispell.h:
9774         * sp_pspell.h:
9775         * sp_spell.C: remove fig inset, and the crap house of
9776           cards that follows it
9777
9778 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * Makefile.am:
9781         * lyxserver.C:
9782         * os2_defines.h:
9783         * os2_errortable.h:
9784         * nt_defines.h: move .h into support/
9785
9786         * vms_defines.h: remove
9787
9788         * WorkArea.C: add space in debug output
9789
9790         * text2.C:
9791         * paragraph.C:
9792         * buffer.C: add WITH_WARNINGS
9793
9794         * vc-backend.h:
9795         * vc-backend.C:
9796         * bufferlist.C: s/retrive/retrieve/, add docs
9797
9798         * vspace.h:
9799         * vspace.C:
9800         * kbmap.h:
9801         * lyxlength.h:
9802         * lyxgluelength.h:
9803         * length_common.h:
9804         * chset.h:
9805         * chset.C: add docs
9806
9807         * lyxgui.C: add ID to X error handler
9808
9809         * lyxtestclass.c: fix typo
9810
9811 2002-02-26  Juergen Vigna  <jug@sad.it>
9812
9813         * tabular_funcs.C (write_attribute): changed so that some default
9814         attributes are not written at all.
9815         (getTokenValue): set default values before trying to read the
9816         value so we have the return value always set as default if we don't
9817         find the token we search for.
9818
9819         * tabular.C (Write): write bools as bools not as strings!
9820
9821 2002-02-22  Juergen Vigna  <jug@sad.it>
9822
9823         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9824         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9825
9826         * text.C (leftMargin): don't add an indent for paragraphs inside
9827         tabular cells (fix #208).
9828
9829 2002-02-21  José Matos  <jamatos@fep.up.pt>
9830
9831         * tabular.C (docBook): fixed support for long tables.
9832
9833 2002-02-20  Juergen Vigna  <jug@sad.it>
9834
9835         * text2.C (getFont): get the drawing font of the Inset if this
9836         paragraph is inside an inset (only important for InsetERT for now).
9837
9838         * buffer.C (insertErtContents): use new lanugage params in ERT
9839         constructor.
9840
9841         * CutAndPaste.C: commenting out seemingly uneeded code.
9842
9843 2002-02-19  Allan Rae  <rae@lyx.org>
9844
9845         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9846         Iterators might be simple to use but they also get invalidated.
9847         (removeAutoInsets): renamed saved cursor tracking variables and added
9848         some comments to clarify what everything does.
9849
9850 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9851
9852         * Chktex.C:
9853         * LaTeX.C:
9854         * LyXSendto.C:
9855         * converter.C:
9856         * lyx_cb.C:
9857         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9858         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9859
9860         * lyxfunc.C:
9861         * vc-backend.h: remove #include "support/syscall.h"
9862
9863         * LaTeX.C:
9864         * LyXSendto.C:
9865         * converter.C: rearrange #includes in Lars' approved fashion.
9866
9867         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9868         forward declare class Timeout in the header file.
9869
9870         * XFormsView.C: changes due to the above.
9871
9872         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9873         similar to LyXView.
9874
9875         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9876         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9877
9878 2002-02-18  José Matos  <jamatos@fep.up.pt>
9879
9880         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9881         insets contents.
9882
9883 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9884
9885         * a lot of small ws changes
9886         * add a lot of using std::XXX
9887         * use std construcs some places where approp.
9888         * use some exisint stuff from lyxfunctional where approp.
9889         * Make file changes to use partial linking (lets test this now...)
9890
9891 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * Chktex.C:
9894         * buffer.C:
9895         remove #include "support/syscontr.h" as it's redundant. Always has been.
9896
9897         * Chktex.C:
9898         * LaTeX.C:
9899         * LyXSendto.C:
9900         * converter.C:
9901         * lyx_cb.C:
9902         * vc-backend.C:
9903         change Systemcalls::System to Systemcalls::Wait and
9904         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9905         No change of functionality, just reflects the stripped down Systemcalls
9906         class.
9907
9908 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * debug.[Ch]: add a GRAPHICS type to the enum.
9911
9912 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9915
9916         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9917         there is an inset.
9918
9919 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9922         match the changes below.
9923
9924         * text2.C (toggleInset): if there is not editable inset at cursor
9925         position, try to see if cursor is _inside_ a collapsable inset
9926         and close it.
9927
9928 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9931         document menu has a nice checkbox
9932
9933 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9934
9935         * lyxlength.C (asLatexString): change PW to output as percent of
9936         \textwidth.
9937
9938         * lengthcommon.C: change '%' to 't%'
9939
9940         * lyxfunc.C (dispatch): a few comments from Martin
9941
9942 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * WorkArea.h:
9945         * WorkArea.C:
9946         * BufferView_pimpl.h:
9947         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9948           the X selection.
9949
9950 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * vspace.C (inPixels): fix compiler warning
9953
9954 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyxfunc.C (getStatus): fix status message for disabled commands.
9957
9958 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * BufferView_pimpl.C: fix crash on close buffer
9961         during selection (#227)
9962
9963 2002-01-27  Herbert Voss  <voss@lyx.org>
9964
9965         * buffer.C: link old Figure to new graphic inset
9966
9967 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * FontLoader.C (getFontinfo): Change the latex font names in order
9970         to match the names of type1inst.
9971
9972 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9975
9976         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9977         (extchanged): ditto
9978         (ext_exist): ditto
9979         (remove_files_with_extension): ditto
9980         (remove_file): ditto
9981         (write): ditto
9982
9983         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9984         document is smaller than the work area height. Do not initialize
9985         static variables to 0.
9986
9987 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9990
9991         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9992         LFUN_LAYOUT_PARAGRAPHS.
9993
9994         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9995         tabular. It is possible to provide a possible cell, which will
9996         typically be the actcell from the corresponding insettabular
9997
9998         * lyxfunc.C (getStatus): small cleanup; disable
9999         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10000         true
10001
10002 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10005
10006         * paragraph.C (startTeXParParams):
10007         (endTeXParParams): new methods. The LaTeX code to
10008         start/end paragraph formatting
10009         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10010         empty (fixes bug #200)
10011
10012         * vspace.C (inPixels): adapt to the change below
10013         (inPixels): [later] more cleanups (remove unused variables)
10014
10015         * lyxlength.C (inPixels): change to use a width and a height as
10016         parameter.
10017
10018 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10021         Replaced with \paperwidth
10022
10023         * DepTable.C (insert): add std:: qualifier
10024
10025 2002-01-18  Allan Rae  <rae@lyx.org>
10026
10027         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10028         updated also?
10029
10030         * text.C (drawInset): Turned out I didn't know enough about how
10031         rebreaking worked.  This fixes most of the redraw problems.  I see
10032         an occasional cursor trail when a line is broken now and the cursor
10033         placement can seem out by a few pixels also after a rebreak.
10034
10035 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * buffer.C (parseSingleLyXformat2Token): update because minipage
10038         width is now a LyXLength
10039
10040         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10041
10042         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10043         math insets
10044
10045 2002-01-17  Juergen Vigna  <jug@sad.it>
10046
10047         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10048
10049         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10050         is set correctly and the inset is updated correctly.
10051
10052 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10055         the beginning of the loop.
10056
10057 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * lyxrc.C: improve help for use_scalable_fonts
10060
10061 2002-01-17  Allan Rae  <rae@lyx.org>
10062
10063         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10064
10065 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10068         make sure to set their inset_owner to the right value (bug #171)
10069
10070 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10071
10072         * DepTable.h
10073         * DepTable.C: Implement mtime checking to reduce time spent doing
10074         CRCs.
10075
10076 2002-01-16  Juergen Vigna  <jug@sad.it>
10077
10078         * tabular.C (GetAdditionalHeight): one of error fixed.
10079
10080         * lyxrc.C (output): small fix in writing use_pspell.
10081
10082 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10083
10084         * sp_base.h: #include LString.h
10085
10086 2002-01-16  Allan Rae  <rae@lyx.org>
10087
10088         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10089         Can someone check this please?
10090
10091         * text.C (drawInset): It was possible that p.row would be removed by
10092         breakAgainOneRow upsetting a few other settings.  There may be another
10093         small tweak possible by setting need_break_row = 0 when p.row has been
10094         removed but I don't know enough about the logic here.
10095
10096 2002-01-15  Allan Rae  <rae@lyx.org>
10097
10098         * text.C (insertChar): removed conditional truism.
10099
10100         * BufferView2.C (removeAutoInsets): More tweaks.
10101         cur_par_prev could be a stray pointer.  Check for trailing empty line
10102         in case last line was cur_par and only had an error inset on it.
10103
10104 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10107         absolute
10108
10109         * vc-backend.C (most methods):
10110         * exporter.C (Export):
10111         * converter.C (convert):
10112         (runLaTeX):
10113         * LyXSendto.C (SendtoApplyCB):
10114         * lyxfunc.C (dispatch):
10115         (menuNew):
10116         (open):
10117         (doImport):
10118         * lyx_cb.C (AutoSave):
10119         (InsertAsciiFile):
10120         * BufferView_pimpl.C (MenuInsertLyXFile):
10121         * buffer.C (runChktex): use Buffer::filePath().
10122
10123         * buffer.h: rename filename to filename_; rename filepath to
10124         filepath_ and make it private
10125         (filePath): new method
10126
10127         * buffer.C (writeFile): use fileName()
10128         (getLatexName):
10129
10130         * lyx_main.C (init): fix starting  of LyX when the binary is a
10131         link from so,ewhere else.
10132
10133         * minibuffer.C: include <cctype> for isprint
10134
10135 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10136
10137         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10138         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10139         name clash with InsetCollapsable's width function.
10140
10141 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10142
10143         * lastfiles.C: include <iterator>
10144
10145 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10146
10147         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10148         std::count.
10149
10150         * buffer.C (makeLaTeXFile): ditto.
10151         Also make loop operation more transparent.
10152
10153 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10154
10155         * ToolbarDefaults.C: remove trailing comma closing namespace.
10156
10157         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10158
10159         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10160         as in WorkArea.
10161
10162         * trans.C (Load): comment out unused variable, allowed.
10163
10164 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * minibuffer.[Ch] (append_char): new method to recieve input from the
10167         drop-down completion browser. If a key was pressed, then recieve this
10168         char and append it to the existing string.
10169         (peek_event): modify the positioning data passed to the completion
10170         browser so that it can be placed above the minibuffer rather than below.
10171 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * LyXAction.C (init): alloe error-next for readonly documents.
10174
10175         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10176         count.
10177
10178 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * bufferlist.C (readFile): create the buffer _after_ checking that
10181         the file exists.
10182
10183         * lyxfunc.C (verboseDispatch): fix handling of arguments
10184
10185         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10186
10187         * lyxrc.C: use string::erase() instead of initializing to "".
10188
10189
10190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * BufferView_pimpl.h:
10193         * BufferView_pimpl.C:
10194         * WorkArea.h:
10195         * WorkArea.C:
10196         * text2.C: tell X when we have made a selection for copying
10197
10198 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10199
10200         * BufferView_pimpl.C (MenuInsertLyXFile):
10201         * lyxfunc.C (menuNew):
10202         (open):
10203         (doImport): add shortcuts to directory buttons
10204
10205         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10206         open a float)
10207
10208         * lyxfunc.C (setStatusMessage):
10209         (getStatusMessage): new methods
10210         (getStatus):use setStatusMessage instead of setErrorMessage
10211         (dispatch): when function is disabled, set error message here
10212         [instead of in getStatus previously]
10213
10214         * BufferView_pimpl.C (workAreaButtonRelease): update
10215         toolbar/menubar here too.
10216
10217 2002-01-13  Allan Rae  <rae@lyx.org>
10218
10219         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10220         Now seems indestructible.  Remaining task is to audit all other
10221         code affected by deleteEmptyParagraphMechanism.  One small quirk
10222         left is that an empty document with an error in the preamble can
10223         be made to report an error but no error box appears.  I don't know
10224         where it goes.
10225         (removeAutoInsets): Improved comments.
10226
10227 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * Thesaurus.h:
10230         * Thesaurus.C: update for Aiksaurus 0.14
10231
10232 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * text2.C (firstParagraph): removed member function, all uses
10235         replaces with ownerParagraph
10236         (redoParagraphs): here
10237         (updateInset): here
10238         (toggleAppendix): here
10239         * BufferView2.C (insertErrors): here
10240         (setCursorFromRow): here
10241
10242 2002-01-13  Allan Rae  <rae@lyx.org>
10243
10244         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10245         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10246         There is still a way to segfault this although you may have to do this
10247         multiple times: Have an InsetERT with an unknown command in it.
10248         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10249         <down-arrow>, <Enter> again, View->DVI, BANG!
10250
10251         * text2.C (setCursor):
10252         (deleteEmptyParagraphMechanism):
10253         * lyxtext.h (setCursor):
10254         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10255         Making use of the return value may help fix other bugs.
10256
10257 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10258
10259         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10260
10261         * LyXView.C (updateMenubar): call MenuBar::update here
10262         (updateToolbar): but not here
10263         (showState): do not update toolbar/menubar
10264
10265         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10266         should need to care about that.
10267
10268         * lyxfunc.C (verboseDispatch): simplify a bit
10269         (getStatus): have a version which takes a pseudoaction, and
10270         another which requires a (kb_action,string).
10271
10272         * LyXAction.C (retrieveActionArg): make it work also when action
10273         is not a pseudo-action.
10274         (getActionName): simplify a bit
10275         (helpText):
10276
10277 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * lyxfunc.C (verboseDispatch): new families of methods with
10280         several ways to specify a command and a bool to indicate whether
10281         the command name and shortcut should be displayed in minibuffer
10282         (eventually, we could extend that to a finer bitmask like
10283         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10284         (dispatch): the pristine dispatch command which just, well,
10285         dispatchs! Note it still sets its result to minibuffer; I'm not
10286         sure we want that.
10287
10288         * lyxfunc.h: remove setHintMessage
10289
10290         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10291
10292 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * BufferView_pimpl.C (specialChar): delete new inset if we have
10295         not been able to insert it.
10296
10297         * kbmap.C: revert to using int instead of kb_action, since all we
10298         are dealing with is pseudo-actions.
10299
10300         * LyXAction.C (searchActionArg): change to return int instead of
10301         kb_action, since the result is a pseudoaction.
10302
10303 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10304
10305         * buffer.C (insertErtContents): Fix (partially) the font bug.
10306
10307 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10308
10309         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10310         as the other one is broken on my machine!
10311
10312 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10313
10314         * commandtags.h:
10315         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10316
10317 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10318
10319         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10320         reflect their actual use. Provide compatibility code for older lyxrc
10321         files.
10322
10323         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10324         FL_NORMAL_STYLE.
10325         change names of popup font variables in line with the changes to lyxrc.C
10326
10327 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * buffer.C (asciiParagraph): avoid outputing a word twice after
10330         an inset.
10331
10332         * lyxrc.C (getDescription): document that document_path and
10333         template_path can be empty.
10334
10335 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10336
10337         * LaTeXFeatures.C (getMacros):
10338         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10339
10340         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10341
10342         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10343         getPackages.
10344         (getPackages): rename feature "floats" to "float". Use an array to
10345         iterate over 'simple' features (i.e. just a \usepackage). Add
10346         handling of "amsmath" (renamed from "amsstyle").
10347
10348 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10349
10350         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10351         features list.
10352
10353 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10354
10355         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10356         FuncStaus::FuncStatus & FuncStaus::some_method().
10357
10358 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10359
10360         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10361         of the func_satus stuff. Edited and massaged in various ways by
10362         JMarc.
10363
10364         * lyxfunc.C (getStatus): use FuncStatus
10365
10366 2002-01-08  Juergen Vigna  <jug@sad.it>
10367
10368         * text.C (nextBreakPoint): use function Inset::isChar().
10369
10370         * paragraph.C (TeXOnePar): use function
10371         Inset::forceDefaultParagraphs.
10372
10373         * buffer.C (latexParagraphs): use function
10374         Inset::forceDefaultParagraphs.
10375
10376 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10377
10378         * lyx_gui.C (init): set the style of the menu popups to
10379         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10380
10381 2002-01-07  Juergen Vigna  <jug@sad.it>
10382
10383         * text.C (setHeightOfRow): small fix
10384         (prepareToPrint): don't look at alignment if we don't have the place
10385         for doing it.
10386
10387 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * box.C: New file. Move the Box methods and functions out of box.h,
10390         following Lars' suggestion.
10391
10392 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10393
10394         * box.h: #include "support/LOstream.h", needed for inlined function.
10395
10396         * lyxtextclass.C:
10397         * lyxtextclasslist.C: added some using std declarations.
10398
10399 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * box.h: make signed dimensions to allow insets wider than
10402           the screen (bug #162)
10403
10404         * BufferView_pimpl.C: add some insetHit debug
10405
10406 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * vc-backend.C: add FIXME
10409
10410 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * lyxfunc.C (getStatus): enable code for showing math font status
10413         in toolbar/menu.
10414
10415 2002-01-07  Juergen Vigna  <jug@sad.it>
10416
10417         * text.C (nextBreakPoint): removed debug output not needed anymore.
10418
10419 2002-01-06  Juergen Vigna  <jug@sad.it>
10420
10421         * text.C (nextBreakPoint): fixed up this function we had this bug
10422         since ever but now hopefully we break row better.
10423         (insertChar): we have to check if an inset is the next char as it
10424         could now happen that a large inset is causing a break.
10425
10426 2002-01-05  Juergen Vigna  <jug@sad.it>
10427
10428         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10429         if it doesn't like to be drawed.
10430
10431 2002-01-04  Juergen Vigna  <jug@sad.it>
10432
10433         * BufferView2.C (lockInset): forgot to set a cursor.
10434
10435         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10436
10437 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10438
10439         * FormMathsPanel.C:
10440         * FormMathsPanel.h
10441         * MathsSymbols.C:
10442         * form_maths_panel.C:
10443         * form_maths_panel.h:
10444         * form_maths_panel.fd: implemented sub- and super- buttons in math
10445         panel.
10446
10447         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10448         (or ^ space) to be used as in TeX (req'd by André).
10449
10450         * lyxfunc.C: Allow ^ and _ again to be used both as
10451         super/subscript (mathed) and as themselves (in text).
10452
10453 2002-01-03  Allan Rae  <rae@lyx.org>
10454
10455         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10456         "LyX" or the filename of the current buffer if it has one.  This is a
10457         modified form of John Levon's patch.
10458
10459         * XFormsView.C (setWindowTitle): also set icon title.
10460
10461         * LyXView.h (setWindowTitle): signature changed.
10462         * XFormsView.h (setWindowTitle): ditto.
10463
10464 2002-01-02  Juergen Vigna  <jug@sad.it>
10465
10466         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10467
10468 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * screen.C (topCursorVisible): introduce a temp var for
10471         text->cursor.row(), handle the case where this row is null. (kindo
10472         hachish)
10473
10474         * text2.C (setCursor): add a couple of asserts.
10475
10476         * paragraph.h (inset_iterator): add -> operator
10477
10478         * paragraph.[Ch] (autoDeleteInsets): remove member function
10479
10480         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10481         cursor pos correctly and handle inset deletion by itself.
10482         (insertErrors): move iterator declaration out of for expression
10483
10484         * lyxtextclass.C: add <algorithm>
10485
10486         * Makefile.am: added the new files to sources, removed layout.C
10487
10488         * layout.C: removed file
10489
10490         * layout.h: remove LYX_DUMMY_LAYOUT
10491
10492         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10493         layout.
10494
10495         * lyxlayout.[Ch]:
10496         * lyxtextclass.[Ch]:
10497         * lyxtextclasslist.[Ch]: new files
10498
10499         * include order changes to a lot of files, also changes because of
10500         the six new files.
10501
10502 2001-12-27  Juergen Vigna  <jug@sad.it>
10503
10504         * buffer.C (asciiParagraph): more fixes.
10505
10506         * tabular.C (ascii): make ascii export support export of only the
10507         data separated by a column-delimiter.
10508         (ascii): better support for ascii export.
10509
10510         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10511
10512 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10513
10514         * tabular_funcs.C: use a "using std::getline" instead of the
10515         previous fix from Angus (necessary for cxx + lyxstring)
10516
10517 2001-12-24  Juergen Vigna  <jug@sad.it>
10518
10519         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10520
10521         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10522         problems. First check a minipage also if we have some ert-contents
10523         (not only on par->size(), second set the right depth of the paragraph
10524         on the relink to the root-paragraph-list!
10525
10526         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10527         which then did not anymore update the main paragraphs on undo/redo!
10528
10529 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10532         code. Support all font-changing funcs (even those which are not in
10533         menu currently). Support for reporting font settings in
10534         mathed (disabled until Andre provides a function on mathed's side).
10535
10536         * func_status.h (toggle): small helper function to set toggle
10537         state on a flag.
10538
10539 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * tabular_funcs.C: getline -> std::getline
10542
10543 2001-12-21  Juergen Vigna  <jug@sad.it>
10544
10545         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10546         accessed and could be 0 (I couldn't generate this but it seems
10547         Michael could!).
10548
10549 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10550
10551         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10552         * tabular_funcs.h: here and include iosfwd
10553
10554 2001-12-20  Juergen Vigna  <jug@sad.it>
10555
10556         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10557         inside inset but undo_par was.
10558
10559 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * Thesaurus.C: always include <config.h> in sources.
10562
10563         * Painter.h:
10564         * lyxlookup.h:
10565         * box.h: do not include <config.h> in header files
10566
10567         * text.C (paintLastRow): remove unused variable
10568
10569         * text.C (transformChar):
10570         (insertChar):
10571         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10572
10573         * Painter.C (text):
10574         * font.C (width): rewrite to use uppercase() instead of
10575         islower/toupper.
10576
10577         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10578
10579 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * lyxfind.C: clean up of find failure position change
10582
10583 2001-12-20  Juergen Vigna  <jug@sad.it>
10584
10585         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10586
10587         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10588         (TeXRow): added to LaTeX a single tabular row.
10589         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10590         (Latex): simplified and finally good LT-h/f support.
10591         (various_functions): just small adaptions for LT-h/f support.
10592
10593         * tabular_funcs.[hC]: added and moved here all not classfunctions
10594         of LyXTabular.
10595
10596 2001-12-19  Juergen Vigna  <jug@sad.it>
10597
10598         * tabular.[Ch]: better support for longtabular options (not finished
10599         yet!)
10600
10601 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * text.C (paintLastRow): use the label font instead of the font of
10604         the last character to compute the size of *_BOX. This makes more
10605         sense and avoids a crash with empty paragraphs.
10606         Use Painter::rectangle to draw EMPTY_BOX.
10607
10608 2001-12-19  Juergen Vigna  <jug@sad.it>
10609
10610         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10611         the paragraphs if the replaced paragraph is not the first one!
10612         Tried to delete not used paragraphs but does not work yet so for
10613         now it's inside #ifdef's and by default off!
10614
10615 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10616
10617         * MenuBackend.C: include "lyx_main.h" instead of declaring
10618         lastfiles (actually was declared as LastFiles* instead of a
10619         scoped_ptr).
10620
10621 2001-12-17  Juergen Vigna  <jug@sad.it>
10622
10623         * tabular.C (AppendColumn): applied John's fix
10624
10625 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * BufferView.h:
10628         * BufferView.C:
10629         * BufferView_pimpl.h:
10630         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10631
10632         * Makefile.am:
10633         * box.h: new start of class for above
10634
10635         * lyxfunc.C: ignore space-only minibuffer dispatches.
10636           Show the command name when it doesn't exist
10637
10638         * minibuffer.C: don't add empty lines to the history
10639
10640         * minibuffer.C: add a space on dropdown completion
10641
10642 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * text.C: fix line above/below drawing in insets
10645
10646 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * lyxlength.C (LyXLength): Initialize private variables.
10649
10650 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10653         when inserting error insets.
10654
10655 2001-12-13  Juergen Vigna  <jug@sad.it>
10656
10657         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10658         actually sometimes the before-paragraph.
10659         (setUndo): don't clear the redostack if we're not actually undoing!
10660
10661 2001-12-06  Juergen Vigna  <jug@sad.it>
10662
10663         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10664         and fixed redoing of main paragraph, so we can use it now ;)
10665
10666         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10667
10668 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10671         Juergen's request
10672
10673 2001-12-13  André Pönitz <poenitz@gmx.net>
10674
10675         * undostack.[Ch]:
10676         * undo_func.C: minor cleanup
10677
10678 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10681         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10682         font in urw-fonts package which is marked as -urw-fontspecific and
10683         does not work (incidentally, changing the encoding in the
10684         fonts.dir of this package to -adobe-fontspecific fixes the
10685         problem).
10686
10687         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10688         is a crash when undoing first paragraph (Juergen, please take a
10689         look). THis does not mean the undo fix is wrong, just that it
10690         uncovers problems.
10691
10692         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10693         the (Paragraph*) version when needed instead of duplicating the
10694         code.
10695
10696         * text.C (workWidth): use Inset::parOwner to find out where the
10697         inset has been inserted. This is a huge performance gain for large
10698         documents with lots of insets. If Inset::parOwner is not set, fall
10699         back on the brute force method
10700
10701         * paragraph_pimpl.C (insertInset):
10702         * paragraph.C (Paragraph):
10703         (cutIntoMinibuffer): set parOwner of insets when
10704         inserting/removing them
10705
10706         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10707
10708 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10709
10710         * commandtags.h:
10711         * LyXAction.C:
10712         * lyx_main.C:
10713         * lyxfunc.C:
10714         * mathed/formulabase.C:
10715         * mathed/math_cursor.[Ch]:
10716         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10717
10718
10719 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10720
10721         * lyxlength.[Ch] (operator!=): new function
10722
10723 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * text.C (workWidth): use Inset::parOwner to find out where the
10726         inset has been inserted. This is a huge performance gain for large
10727         documents with lots of insets. If Inset::parOwner is not set, fall
10728         back on the brute force method
10729
10730         * paragraph_pimpl.C (insertInset):
10731         * paragraph.C (Paragraph):
10732         (cutIntoMinibuffer): set parOwner of insets when
10733         inserting/removing them
10734
10735         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10736
10737 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * tabular-old.C (getTokenValue):
10740         * tabular.C (getTokenValue):
10741         (write_attribute): new versions for LyXLength
10742         (everywhere): adjust the use of widths
10743
10744         * tabular.h: change the type of widths from string to LyXLength
10745
10746 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10747
10748         * paragraph.C: fixed missing line number count when exporting
10749         Environments to LaTeX file
10750
10751         * buffer.C: added informational message for checking line numbers.
10752
10753 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10756         paragraph, do the 'double space' part, but not the 'empty
10757         paragraph' one.
10758
10759         * text.C (workWidth): small optimization
10760         (getLengthMarkerHeight): use minimal size for negative lengths.
10761
10762 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10763
10764         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10765
10766         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10767
10768 2001-12-11  André Pönitz <poenitz@gmx.net>
10769
10770         * FontLoader.C:
10771         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10772
10773 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * text2.C: keep selection on a setFont()
10776
10777 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * lyx_cb.C: another bv->text misuse, from insert label
10780
10781 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * kbsequence.h:
10784         * kbsequence.C: re-instate nmodifier mask
10785
10786 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10787
10788         * lyx_main.h: make lyxGUI private.
10789
10790 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * lyxfind.C: place the cursor correctly on failed search
10793
10794 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * text.C (getLengthMarkerHeight): for small heights, the arrows
10797         are not always on top/bottom of the text
10798         (drawLengthMarker): smaller arrows; take the left margin in
10799         account; draw also vfills.
10800         (paintFirstRow):
10801         (paintLastRow): remove special code for vfill and standard spaces,
10802         since everything is handled in drawLengthMarker now.
10803
10804 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10805
10806         * buffer.C (insertErtContents): try to handle font and language
10807         interaction a bit better.g
10808
10809         * ColorHandler.C (updateColor): change the hash to cover the whole
10810         LColor enum, ws cleanup
10811         (getGCLinepars): ditto
10812         (getGCLinepars): only lookup in the linecache once.
10813
10814 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10815
10816         * iterators.C (operator++): Make the iterator more robust
10817
10818         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10819         (John's patch)
10820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10821
10822 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * lyxtext.h:
10825         * text.C: better added space drawing
10826
10827 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * LyXView.C:
10830         * BufferView2.C: fix layout combo update on inset unlock
10831
10832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * Makefile.am: don't compile unused files
10835
10836 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * lyxfunc.C:
10839         * commandtags.h:
10840         * LyXAction.C: remove old LFUN_LAYOUTNO
10841
10842 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * paragraph_pimpl.h:
10845         * paragraph_pimpl.C: isTextAt() doesn't need font param
10846
10847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10848
10849         * lyxlex.h:
10850         * lyxlex.C: little cleanup
10851
10852 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView_pimpl.C: fix insertAscii for insets
10855
10856 2001-12-05  Juergen Vigna  <jug@sad.it>
10857
10858         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10859         set the right font on the "multi" paragraph paste!
10860
10861 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10862
10863         * trans_decl.h:
10864         * trans_mgr.[Ch]:
10865         * trans.[Ch]:
10866         * lyxgluelength.C:
10867         * lyxlength.C: remove out-commented code.
10868
10869         * BufferView_pimpl:
10870         * CutAndPaste.C:
10871         * DepTable.C:
10872         * buffer.C:
10873         * chset.C:
10874         * lastfiles.C:
10875         * lyxlex.C:
10876         * lyxlex_pimpl.C:
10877         * lyxserver.C:
10878         * screen.C:
10879         * tabular-old.C:
10880         * tabular.C:
10881         * text.C:
10882         * trans_mgr.C:
10883         * vc-backend.C: change "while(" to "while ("
10884
10885         * lyxlength.[Ch]: add zero function to check if length is zero or
10886         not
10887         * lyxgluelength.C: use it
10888
10889 2001-12-05  Allan Rae  <rae@lyx.org>
10890
10891         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10892         Works for 2.95.3, from what I understand of Garst's reports this should
10893         work for other g++ versions.  We're screwed if the abs(int) definition
10894         changed between bugfix releases of gcc.
10895
10896 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * text.C: fix chapter label offset !
10899
10900 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * lyxtext.h:
10903         * text.C: fix hfill at end of line, clean up
10904
10905 2001-12-04  Juergen Vigna  <jug@sad.it>
10906
10907         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10908         that we force an update of the inset and it's owners if neccessary.
10909
10910 2001-12-03  Juergen Vigna  <jug@sad.it>
10911
10912         * text.C (rowLast): simplified code
10913
10914 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10915
10916         * lyxfunc.C: fix show options on timeout
10917
10918 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * screen.C (topCursorVisible): scroll half a page when the cursor
10921         reached top of bottom of screen
10922
10923 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * minibuffer.C: deactivate on loss of focus
10926
10927 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10928
10929         * vspace.[Ch] (operator!=): add operator.
10930
10931 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * BufferView_pimpl.C: refuse to open an inset when
10934         there's a selection.
10935
10936 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * BufferView_pimpl.C: allow to click on RHS of full row insets
10939
10940 2001-11-30  Juergen Vigna  <jug@sad.it>
10941
10942         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10943         insets for undo reasons.
10944
10945 2001-11-28  André Pönitz <poenitz@gmx.net>
10946
10947         * vspace.[Ch]: cosmetical changes
10948
10949 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * LyXAction.h:
10952         * LyXAction.C:
10953         * lyxfunc.h:
10954         * lyxfunc.C:
10955         * kbmap.h:
10956         * kbmap.C:
10957         * lyxrc.C:
10958         * kbsequence.h:
10959         * kbsequence.C: part re-write of old kb code
10960
10961         * Painter.C:
10962         * WorkArea.C: remove Lgb_bug_find_hack
10963
10964 2001-11-30  José Matos <jamatos@fep.up.pt>
10965
10966         * buffer.C (makeDocBookFile): add a comment to point a hack.
10967         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10968         Fixed a double write of labels.
10969
10970 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10971
10972         * LaTeX.C:
10973         * LaTeX.h Fixed bug in LaTeX class where it would not
10974         re-run latex if no depfiles were changed, but the .dvi was removed.
10975
10976 2001-11-28  André Pönitz <poenitz@gmx.net>
10977
10978         * all the files from the change on 2001/11/26:
10979         use lyx::layout_type instead of LyXTextClass::size_type
10980         use lyx::textclass_type instead of LyXTextClassList::size_type
10981
10982 2001-11-29  Juergen Vigna  <jug@sad.it>
10983
10984         * text.C: added support for paragraph::isFreeSpacing()
10985
10986         * buffer.C: same as above
10987
10988         * paragraph.h: inserted isFreeSpacing() function to enable
10989         FreeSpacing inside InsetERT.
10990
10991         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10992         of the paragraph's in the cut/copy buffer to 0!
10993
10994         * text2.C (removeRow): remove the assert as it can!
10995
10996         * lyxtext.h: added helper function firstRow returning firstrow and
10997         made firstrow private again.
10998
10999         * BufferView2.C (lockInset): don't relock if we're already locked!
11000
11001         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11002         the only paragraph.
11003         (removeRow): added Assert::(firstrow)
11004
11005         * debug.C: forgot to add INSETTEXT here.
11006
11007 2001-11-28  Juergen Vigna  <jug@sad.it>
11008
11009         * sp_spell.C (initialize): changed error text to more general
11010         spellchecker command use (not only ispell!)
11011
11012         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11013
11014         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11015
11016 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * vspace.C: initialise lyxgluelength on failure
11019
11020 2001-11-28  Allan Rae  <rae@lyx.org>
11021
11022         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11023         declaration & definition that looks like a function declaration.
11024
11025 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11026
11027         * BufferView2.C (copy):
11028         (copyEnvironment): do not clear the selection when doing a copy.
11029
11030         * text.C (paintFirstRow): compilation fix
11031
11032 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11033
11034         * tabular.C (Latex): correct line count when writing latex.
11035
11036 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * paragraph_pimpl.h:
11039         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11040           bug a bit
11041
11042 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * text.C:
11045         * LColor.h:
11046         * LColor.C: change vfillline->added_space
11047
11048         * text.C: add markers and text for added space
11049
11050         * vspace.C: fix comment
11051
11052 2001-11-28  André Pönitz <poenitz@gmx.net>
11053
11054         * paragraph.C: whitespace changes
11055         * all the other files from the change on 2001/11/26:
11056         change *::pos_type into lyx::pos_type
11057
11058 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11059
11060         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11061         language of the document when inserting error insets.
11062
11063 2001-11-26  André Pönitz <poenitz@gmx.net>
11064
11065         * BufferView_pimpl.[Ch]:
11066         *       CutAndPaste.C:
11067         * buffer.[Ch]:
11068         * lyxcursor.[Ch]:
11069         * lyxfind.C:
11070         * lyxfunc.C:
11071         * lyxrow.[Ch]:
11072         * paragraph.[Ch]:
11073         * paragraph_pimpl.[Ch]:
11074         * sp_spell.C:
11075         * text.C:
11076         * text2.C: reduce header dependencies, introduce type for positions
11077
11078 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * <various>: change to use Alert.h
11081
11082 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11083
11084         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11085         when encountering an unknown token.
11086         (readLyXformat2): Show an error message if there were unknown tokens.
11087
11088 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * BufferView2.C:
11091         * BufferView_pimpl.C:
11092         * buffer.C:
11093         * paragraph.h:
11094         * text.C:
11095         * text2.C: use par->isInset()
11096
11097 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * paragraph_pimpl.h:
11100         * paragraph_pimpl.C: cleanup
11101
11102 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11103
11104         * text2.C (removeRow):
11105         * text.C (setHeightOfRow): remove useless (and costly) call to
11106         getRow.
11107
11108 2001-11-20  Allan Rae  <rae@lyx.org>
11109
11110         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11111         Now need Inset*::checkInsertChar() to return true for appropriate
11112         cases so that the characters in the minibuffer will actually be
11113         inserted.
11114
11115 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * text.C: change the order of the includes.
11118         (workWidth): initialize it at once.
11119         (workWidth): make maxw unsigned
11120         (setHeightOfRow): remove unused variable (inset)
11121         (selectSelectedWord): remove unused variable (inset)
11122         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11123
11124 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11127         server is not running.
11128         (openConnection):
11129         (closeConnection): add debug info when server is disabled.
11130
11131         * ColorHandler.C (getGCForeground): send debug message to GUI
11132         channel.
11133
11134         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11135
11136         * kbmap.C (bind): modify because return conventions of
11137         kb_sequence::parse have changed.
11138
11139         * kbsequence.C (parse): only ignore spaces and not any stupid
11140         control character. This avoids tests like s[i] <= ' ', which are
11141         guaranteed to fail with 8bit characters and signed chars.
11142         Change return code to string::npos when there have been no error
11143         (0 was a bad idea when error is at first character)
11144
11145 2001-11-14  José Matos  <jamatos@fep.up.pt>
11146
11147         * buffer.h:
11148         * buffer.C (simpleDocBookOnePar): removed unused argument.
11149
11150 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11153         insets which are part of a word. Paragraph::isLetter takes care of
11154         that now. Use Paragraph::isInset to identify insets.
11155         (selectSelectedWord): do not test for hyphenation break.
11156
11157         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11158         that protected spaces are considered as spaces.
11159
11160         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11161         Inset::isLetter.
11162
11163 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * lyxserver.h:
11166         * lyxserver.C: fix it. and small cleanup.
11167
11168 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * BufferView_pimpl.C: use inline helpers
11171
11172         * LaTeXFeatures.h:
11173         * LaTeXFeatures.C: fix typos
11174
11175         * Spacing.h:
11176         * Spacing.C: move spacing_string into class
11177
11178         * ToolbarDefaults.C: move stuff into namespace anon
11179
11180         * layout.h: update enum
11181
11182         * lyxfunc.C: use better debug
11183
11184         * minibuffer.h: fix typo
11185
11186         * debug.h:
11187         * debug.C:
11188         * WorkArea.C: add and use Debug::WORKAREA
11189
11190         * lyxtext.h:
11191         * text.C:
11192         * text2.C: code re-organisation, inline helpers
11193
11194 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11195
11196         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11197         std::vector.empty().
11198
11199 2001-11-09  Allan Rae  <rae@lyx.org>
11200
11201         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11202         '\n's after tables.  Tabular and ERT inset work now makes this no
11203         longer necessary.
11204
11205 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11206
11207         * minibuffer.h:
11208         * minibuffer.C: fix crash, improve drop-down completion
11209
11210 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * lyxserver.h:
11213         * lyxserver.C: invalidate fd's when doing endPipe()
11214
11215 2001-11-08  José Matos  <jamatos@fep.up.pt>
11216
11217         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11218         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11219
11220         * paragraph.h:
11221         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11222
11223 2001-11-07  José Matos  <jamatos@fep.up.pt>
11224
11225         * buffer.h:
11226         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11227         const qualifier.
11228
11229         * buffer.C (sgmlOpenTag):
11230         * buffer.C (sgmlCloseTag): removed debug info.
11231
11232         * buffer.h (sgmlOpenTag):
11233         * buffer.h (sgmlCloseTag): made public.
11234
11235 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11236
11237         * buffer.C (saveParamsAsDefaults):
11238         * lyx_cb.C (MenuLayoutSave): remove
11239
11240         * LyXAction.C (init):
11241         * commandtags.h:
11242         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11243
11244 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * buffer.C (setPaperStuff): removed from here...
11247
11248         * bufferparams.C (setPaperStuff): ... and moved there.
11249
11250 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * minibuffer.h:
11253         * minibuffer.C:
11254         * XFormsView.C: add support for drop-down completion
11255
11256 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11257
11258         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11259         commands.
11260
11261 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11262
11263         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11264         disabled.
11265
11266 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * lyx_main.C: change ref to known bugs
11269
11270 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11271
11272         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11273         to work around older babel problems.
11274
11275 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11276
11277         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11278
11279 2001-10-24  Juergen Vigna  <jug@sad.it>
11280
11281         * tabular-old.C (ReadOld): below variable changes reflected.
11282
11283         * tabular.[Ch]: added ltType struct for longtable header/footer
11284         defines and changed all instances where they are used. Added
11285         future support for double top/bottom rows.
11286
11287 2001-10-24  José Matos  <jamatos@fep.up.pt>
11288
11289         * buffer.h (docbookHandleCaption):
11290         * buffer.C (docbookHandleCaption): removed unused function.
11291         (makeDocBookFile): moved docbook supported version to v4.1.
11292
11293 2001-10-24  José Matos  <jamatos@fep.up.pt>
11294
11295         * tabular.h:
11296         * tabular.C (docbookRow): new function to export docbook code of a row.
11297         (DocBook): now honors the longtable flags.
11298
11299 2001-10-23  José Matos  <jamatos@fep.up.pt>
11300
11301         * LaTeXFeatures.h:
11302         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11303         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11304
11305         * buffer.C (makeLinuxDocFile):
11306         (makeDocBookFile): reworked the preamble, more clean, and with
11307         support for lyx defined entities. Changed the document declaration
11308         to be more XML friendly.
11309
11310         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11311         if we need to output XML that should be done with a filter.
11312
11313 2001-10-22  Juergen Vigna  <jug@sad.it>
11314
11315         * sp_pspell.h (class PSpell): add alive function needed in the
11316         controller to see if the spellchecker could be started.
11317
11318 2001-10-22  Juergen Vigna  <jug@sad.it>
11319
11320         * buffer.C (insertStringAsLines): modify the font for inserting
11321         chars in certain conditions by calling checkInsertChar(font).
11322
11323 2001-10-19  Juergen Vigna  <jug@sad.it>
11324
11325         * text.C (workWidth): use getRow instead of wrong algorithm.
11326         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11327
11328 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * lyxserver.h:
11331         * lyxserver.C:
11332         * lyx_main.h:
11333         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11334
11335 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11336
11337         * text.C (workWidth): do not search for the exact row when
11338         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11339         optimization for big documents.
11340
11341 2001-10-18  Juergen Vigna  <jug@sad.it>
11342
11343         * text.C (workWidth): new function with added Inset * parameter.
11344
11345 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11346
11347         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11348
11349         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11350         change return type of getColumnNearX.
11351
11352
11353         * text.C (changeRegionCase): use uppercase/lowercase instead of
11354         toupper/tolower.
11355         (leftMargin):
11356         (rightMargin): simplify code by factoring out the uses of
11357         textclasslist.
11358         (labelFill):
11359         (numberOfHfills):
11360         (setHeightOfRow):
11361         (appendParagraph): use Paragraph::size_type
11362
11363 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11364
11365         * vspace.C (asLatexString): add a missing break
11366
11367 2001-10-15  Herbert Voss  <voss@perce.de>
11368
11369         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11370
11371 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11374         is not available.
11375
11376 2001-10-10  André Pönitz <poenitz@gmx.net>
11377
11378         * lyxfunc.C: removed greek_kb_flag.
11379
11380 2001-10-10  Herbert Voss  <voss@perce.de>
11381
11382         * lyx_main.C: delete global string help_lyxdir.
11383
11384 2001-10-09  Herbert Voss  <voss@perce.de>
11385
11386         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11387
11388         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11389
11390         * lyx_main.C: added global string help_lyxdir.
11391
11392         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11393
11394 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11395
11396         * lyxrc.C (set_font_norm_type): support iso8859-4
11397
11398 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11399
11400         * LaTeX.C (deplog): add another regex for MikTeX
11401
11402 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11403
11404         * lyxrc.C (set_font_norm_type): support iso8859-3
11405
11406 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11409
11410         * LaTeXFeatures.C: remove special case of french and index
11411
11412         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11413         before \begin{document}). This solves several incompatibilities.
11414
11415 2001-10-03  Garst Reese  <reese@isn.net>
11416
11417         * lyx_cb.C: change CheckTex error msg.
11418
11419 2001-10-03  José Matos  <jamatos@fep.up.pt>
11420
11421         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11422
11423 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11424
11425         * .cvsignore: update
11426
11427         * lyx_main.C (commandLineVersionInfo): use new style version info.
11428
11429         * buffer.C (writeFile):
11430         (makeLaTeXFile):
11431         (makeLinuxDocFile):
11432         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11433
11434         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11435
11436         * version.h: update to use stuff in version.C
11437
11438         * version.C.in: new file. Contains version information determined
11439         at compile time. This is a merging of version.h and
11440         version_info.h.in.
11441
11442 2001-10-03  Juergen Vigna  <jug@sad.it>
11443
11444         * BufferView_pimpl.C (update): don't change "dirty" status in
11445         updateInset call.
11446
11447 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11448
11449         * WorkArea.C (c-tor): re-position version string slightly.
11450
11451 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11452
11453         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11454         revert to previous code.
11455
11456         WorkArea.[Ch]: (show, destroySplash): methods removed.
11457
11458         WorkArea.C: rework code so that it's an amalgam of the codes before and
11459         after the splash screen was moved to WorkArea.
11460
11461 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * lyxrc.C (read):
11464         * vspace.C (inPixels):
11465         (lyx_advance):
11466         * kbmap.C (bind):
11467         * buffer.C (insertStringAsLines):
11468         (asciiParagraph): fix types to be large enough
11469
11470         * lyxlex_pimpl.h: change member status from short to int
11471
11472         * layout.h: fix type of endlabeltype
11473
11474         * kbmap.C (bind):
11475         * kbsequence.C (parse): change return type to string::size_type
11476
11477         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11478         variable
11479
11480         * Bullet.C (bulletSize):
11481         (bulletEntry): do not use short ints as parameters
11482
11483         * BufferView2.C (insertLyXFile): change a char to an int.
11484
11485         * WorkArea.C (WorkArea): remove unneeded floats in computation
11486
11487 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11490
11491         * paragraph.C (asString): Do not ignore newline/hfill chars when
11492         copying to the clipboard.
11493
11494 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11497         after a multi-line inset.
11498
11499 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11500
11501         * paragraph.C (validate): Set NeedLyXFootnoteCode
11502
11503 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11504
11505         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11506         and decrease-error to decrease.
11507
11508 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11509
11510         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11511         it more readable (should be equivalent)
11512
11513 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11514
11515         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11516
11517 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11518
11519         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11520         of a cursor (row, etc.) after a character has been deleted
11521         (deleteEmptyParagraphMechanism): call the method above on _all_
11522         cursors held by the LyXText when a double space has been
11523         detected/deleted.
11524
11525 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11528         pixmap.
11529         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11530
11531         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11532         background. Use greyOut() and the new show() methods to toggle between
11533         the foreground and background. Add code to remove the splash after
11534         its initial showing.
11535
11536         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11537         (create_forms): no longer call Dialogs::showSplash.
11538
11539 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * .cvsignore: add version_info.h
11542
11543 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11544
11545         * version_info.h.in: new file
11546
11547         * Makefile.am: add version_info.h.in
11548
11549         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11550         version_info.h instead of VERSION_INFO
11551
11552 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11553
11554         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11555         The ERT inset now returns string().
11556
11557 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11558
11559         * lyxtext.h, text.C (selectNextWord): renamed as
11560         selectNextWordToSpellcheck.
11561
11562         * text.C (selectNextWordToSpellcheck): Modified to not select
11563         words inside an ERT inset.
11564
11565 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * lyx_cb.C (MenuLayoutSave): change a bit the question
11568
11569         * sp_base.h: include <sys/types.h>
11570
11571 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11572
11573         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11574
11575 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11576
11577         * several files: fix typos in user-visible strings
11578
11579 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * text2.C (pasteSelection): do not set the selection, since it
11582         will be cleared later. Actually, the intent was to fix the way the
11583         selection was set, but I figured rmoving the code was just as good.
11584
11585 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * FontLoader.C (available): Check if font is available without
11588         loading the font.
11589
11590 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11591
11592         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11593
11594 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * lyxrc.[Ch]: added display_graphics variable and associated code.
11597
11598 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * bufferparams.C (hasClassDefaults): new method. Returns true if
11601         the buffer parameters correspond to known class defaults
11602
11603 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11604
11605         * XFormsView.C (show): set minimum size to the main window.
11606
11607 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * text2.C (copySelection):
11610         (cutSelection):
11611         * lyxfind.C (LyXReplace):
11612         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11613         LyXText::selectionAsString.
11614
11615         * paragraph.C (asString): add "label" argument to the second form
11616
11617         * text2.C (selectionAsString): add "label" argument and pass it to
11618         Paragraph::asString.
11619
11620 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * lyx_main.C (commandLineHelp): remove version information
11623
11624 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11625
11626         * lyx_main.C: add -version commandline option
11627
11628 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * paragraph.h: make the optional constructor arg required instead.
11631         some modifications to other files because of this.
11632
11633         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11634
11635         * lyxserver.C (C_LyXComm_callback): make it static
11636
11637         * lyx_main.C (error_handler): make it static
11638
11639         * lyx_gui.C (LyX_XErrHandler): make it static
11640
11641         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11642
11643         * WorkArea.C: make the extern "C" methods static.
11644
11645         * Makefile.am (lyx_LDADD): simplify
11646
11647 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11648
11649         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11650         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11651
11652         * LyXAction.C (init):
11653         * lyxfunc.C (dispatch): associated code removal.
11654
11655 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * lyxfont.h (isSymbolFont): shut off warning
11658
11659         * text.C (setHeightOfRow):
11660         (getVisibleRow): fix crash with empty paragraphs which have a
11661         bottom line
11662
11663 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11664
11665         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11666         code.
11667
11668 2001-09-04  José Matos  <jamatos@fep.up.pt>
11669         * buffer.C
11670         * buffer.h
11671         * tabular.C (docbook): rename docBook method to docbook.
11672
11673 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11674
11675         * Makefile.am: add dependencies to main.o.
11676
11677 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11678
11679         * FontLoader.C (available): Return false if !lyxrc.use_gui
11680
11681 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11682
11683         * FontInfo.C (query):
11684         * converter.C (view):
11685         * importer.C (Import):
11686         * exporter.C (Export): Can not -> cannot.
11687
11688 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * BufferView_pimpl.C: allow to create index inset even if
11691           string is empty
11692
11693 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11694
11695         * buffer.C (getLists): replace boost::tie code with an explicit pair
11696         as boost::tie can break some compilers.
11697
11698         * iterators.h: Added a std:: declaration to the return type of
11699         ParIterator::size.
11700
11701 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11704           case.
11705
11706 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11707
11708         * iterators.[Ch]: New files. Provide paragraph iterators.
11709
11710         * buffer.C (changeLanguage): Use paragraph iterators.
11711         (isMultiLingual): ditto
11712
11713         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11714
11715 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11716
11717         * FontLoader.C: Support for cmr font.
11718
11719 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11720
11721         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11722         (available): New method.
11723
11724         * FontInfo.C (getFontname): Use scalable fonts even when
11725         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11726         found.
11727
11728 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11729
11730         * converter.C (Formats::view): reverted! Incorrect fix.
11731
11732 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * converter.C (Formats::view): only output the -paper option
11735         if the dvi viewer is xdvi, thereby fixing bug #233429.
11736
11737 2001-08-23  Herbert Voss  <voss@perce>
11738
11739         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11740
11741 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11742
11743         * Spacing.h (Spacing): Set space to Default on in the default
11744         constructor.
11745
11746 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * vc-backend.h (RCS::versionString): add RCS to version
11749         (CVS::versionString): add CVS to version
11750
11751         * vc-backend.C (scanMaster): do not add CVS to version.
11752         (scanMaster): do not add RCS to version
11753
11754         * lyxvc.C (versionString): new method
11755
11756         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11757
11758 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * Spacing.C (set): initialize fval
11761
11762 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11763
11764         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11765         " or \.
11766
11767 2001-08-16  Juergen Vigna  <jug@sad.it>
11768
11769         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11770
11771 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * BufferView_pimpl.C:
11774         * figureForm.C:
11775         * lyxtext.h:
11776         * text2.C: setParagraph takes linespacing now
11777
11778 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * LyxAction.C: add internal LFUN_CITATION_INSERT
11781
11782         * LyXView.C: actually apply fix
11783
11784         * bufferlist.C: fix open non-existent file
11785
11786         * lyxfind.C: fix indentation
11787
11788         * lyxfunc.C: remove unneeded assert, fix typo
11789
11790 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * MenuBackend.C: use "Floatname List"
11793
11794 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11795
11796         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11797         when converting LaTeX layout to insetERT.
11798         Generate a non-collapsed float when reading old float
11799
11800 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11801
11802         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11803         ERT insets.
11804
11805 2001-08-13  Juergen Vigna  <jug@sad.it>
11806
11807         * text.C (fill): return 0 instead of 20 as this seems to be the more
11808         correct value.
11809
11810 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11811
11812         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11813         lyxrc.font_norm.
11814
11815 2001-08-13  Juergen Vigna  <jug@sad.it>
11816
11817         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11818         casesensitive off.
11819         (SearchBackward): comment out the unlocking of the inset_owner this
11820         should not be needed!
11821
11822 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11823
11824         * Many files: Remove inherit_language, and add latex_language
11825
11826         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11827         collapsible insets.
11828
11829 2001-08-10  Juergen Vigna  <jug@sad.it>
11830
11831         * text.C (prepareToPrint): fixed hfill-width in draw!
11832
11833         * BufferView2.C (selectLastWord): save the selection cursor as this
11834         now is cleared in the function LyXText::clearSelection!
11835
11836 2001-08-08  Juergen Vigna  <jug@sad.it>
11837
11838         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11839         BACKSPACE type functions.
11840
11841         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11842         is only cutted from the document but not put in the cut-buffer, where
11843         still the old stuff should be.
11844
11845         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11846
11847         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11848
11849         * tabular.C (SetWidthOfCell): fixed special case where the width
11850         was not updated!
11851         (LeftLine): handle '|' in align_special.
11852         (RightLine): ditto
11853         (LeftAlreadyDrawed): ditto
11854         (SetWidthOfCell): ditto
11855
11856 2001-08-07  Juergen Vigna  <jug@sad.it>
11857
11858         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11859
11860 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11863         * lyxlex.[hC]: ditto
11864
11865 2001-08-06  Juergen Vigna  <jug@sad.it>
11866
11867         * text.C (getVisibleRow): fix up row clearing a bit.
11868
11869 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * minibuffer.C: make sure the X server sees the changes in the input.
11872
11873 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * paragraph.C (getFont): split into...
11876         (getLabelFont): this
11877         (getLayoutFont): and this
11878         * paragraph_pimpl.C (realizeFont): calling this
11879
11880         * text2.C (getFont): split into...
11881         (getLayoutFont): this
11882         (getLabelFont): and this
11883         (realizeFont): all three calling this
11884
11885         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11886         files where used.
11887
11888 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11889
11890         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11891
11892 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11893
11894         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11895         layouts from the Quote inset insertion.
11896
11897 2001-08-03  Juergen Vigna  <jug@sad.it>
11898
11899         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11900
11901         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11902         only if status not is already CHANGED_IN_DRAW (second level).
11903
11904         * text.C (draw): don't set the need_break_row when inside an
11905         InsetText LyXText.
11906
11907 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * buffer.C (parseSingleLyXformat2Token): handle more latex
11910         conversion cases.
11911
11912         * bufferview_funcs.[hC]: change function names to
11913         begin with small char, adjust other files.
11914
11915 2001-08-02  André Pönitz <poenitz@gmx.net>
11916
11917         * lyxfunc.C:
11918         BufferView_pimpl.C: remove broken special code for math-greek
11919
11920 2001-08-02  Juergen Vigna  <jug@sad.it>
11921
11922         * BufferView_pimpl.C (update): redone this function so that we
11923         update the text again if there was a CHANGE_IN_DRAW.
11924
11925         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11926         (drawFromTo): added a new internal bool which is used by draw() and
11927         redraw() function.
11928         (general): some cursor drawing problems fixed.
11929
11930 2001-08-01  Juergen Vigna  <jug@sad.it>
11931
11932         * lyxfind.C (LyXFind): fixed
11933         (SearchForward): ditto
11934         (SearchBackward): ditto
11935
11936         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11937         spurius drawing of the cursor in the main area.
11938
11939         * text2.C (status): small fix which could lead to a segfault!
11940         (clearSelection): remove unneeded BufferView param.
11941
11942 2001-08-01  André Pönitz <poenitz@gmx.net>
11943
11944         * lyxfunc.C: small change due to changed mathed interface
11945
11946 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11949
11950 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * lyxfunc.c: fail gracefully if file doesn't exist
11953
11954         * LyXSendto.C:
11955         * buffer.C:
11956         * lyxfunc.C:
11957         * BufferView_pimpl.C: IsDirWriteable() proto changed
11958
11959         * LyXView.C: fix updateWindowTitle() to store the last title
11960
11961 2001-07-31  Juergen Vigna  <jug@sad.it>
11962
11963         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11964         the font (wrong since using of Paragraph::highestFontInRange).
11965
11966         * paragraph.C (highestFontInRange): added a default_size parameter.
11967
11968         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11969         (setHeightOfRow): reformat
11970
11971 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * converter.[hC] + affected files: move to (inital-char)lowercase
11974         function names.
11975
11976         * ParagraphParameters.C (ParagraphParameters): remove commented code
11977
11978         * PainterBase.[Ch]: remove commented code
11979
11980         * LaTeXFeatures.h: add "bool floats" for float.sty
11981
11982         * LaTeXFeatures.C (LaTeXFeatures): init floats
11983         (require): handle float
11984         (getPackages): do it with floats
11985
11986 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11987
11988         * BufferView_pimpl.C (Dispatch): improve handling of
11989         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11990
11991         * commandtags.h: #include lyxfont.h here temporarily to avoid
11992         keybinding bug.
11993
11994         * bufferlist.h: include LString.h here.
11995
11996 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11997
11998         * text2.C (getStringToIndex): new method.
11999
12000 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12001
12002         * *: Reduced header file dependencies all over.
12003
12004 2001-07-30  Baruch Even  <baruch@lyx.org>
12005
12006         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12007
12008 2001-07-29  Baruch Even  <baruch@lyx.org>
12009
12010         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12011
12012 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * ParameterStruct.h (endif): add a default constructor to make
12015         sure that all variables is initialized.
12016
12017         * ParagraphParameters.C (ParagraphParameters): adjust
12018
12019 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12022         index; also, check that there is something to index, and that it
12023         does not span over several paragraphs.
12024         (doubleClick): use WHOLE_WORD_STRICT for double click.
12025
12026         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12027
12028         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12029         scheme.
12030
12031 2001-07-26  Baruch Even  <baruch@lyx.org>
12032
12033         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12034         an InsetFig figure, backwards compatible reading of old figure code.
12035
12036 2001-07-27  Juergen Vigna  <jug@sad.it>
12037
12038         * text2.C: font.realize function adaption.
12039
12040         * text.C (draw): add a warnings lyxerr text if needed.
12041
12042         * layout.C: font.realize function adaption.
12043
12044         * language.C: add inherit_language and implement it's handlings
12045
12046         * bufferview_funcs.C (StyleReset): remove language parameter from
12047         font creation (should be language_inherit now).
12048
12049         * bufferparams.C (writeFile): handle ignore_language.
12050
12051         * paragraph.C (getFontSettings): the language has to be resolved
12052         otherwise we have problems in LyXFont!
12053
12054         * lyxfont.C (lyxWriteChanges): added document_language parameter
12055         (update): removed unneeded language parameter
12056
12057         * paragraph.C (validate): fixed wrong output of color-package when
12058         using interface colors for certain fonts in certain environments,
12059         which should not seen as that on the final output.
12060
12061 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * BufferView_pimpl.C:
12064         * Thesaurus.h:
12065         * Thesaurus.C:
12066         * Makefile.am:
12067         * commandtags.h:
12068         * LyXAction.C: add thesaurus support
12069
12070         * lyxfind.h:
12071         * lyxfind.C: add "once" parameter, for thesaurus, to not
12072           move to the next match
12073
12074 2001-07-26  Juergen Vigna  <jug@sad.it>
12075
12076         * lyxfont.C (realize): honor ignore_language too!
12077         (resolved): ditto.
12078
12079         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12080
12081         * text.C (draw): one place more for ignore_language to not draw
12082         itself!
12083
12084 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12085
12086         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12087
12088 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12091         the minipage conversion problem.
12092
12093 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12094
12095         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12096         insert an inset.
12097
12098 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * BufferView.h: don't forward declare WorkArea
12101
12102         * BufferView.C: don't include WorkArea.h
12103
12104 2001-07-25  André Pönitz <poenitz@gmx.net>
12105
12106         * commandtags.h:
12107         * LyXAction.C:
12108         * lyxfunc.C:  new LFUN 'math-space'
12109
12110         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12111
12112 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * text2.C (toggleInset): call open/close
12115
12116 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * lyxfunc.C (dispatch): add debug for the disabled case
12119
12120         * font.C (buttonText): make similar to rectText
12121
12122         * buffer.C (readInset): comment out parsing of insetlist and
12123         insttheorem
12124
12125         * PainterBase.C (rectText): small correction
12126
12127         * BufferView_pimpl.C: comment out insettheorem and insetlist
12128         * LyXAction.C: ditto
12129         * commandtags.h: ditto
12130
12131 2001-07-24  Juergen Vigna  <jug@sad.it>
12132
12133         * text.C (draw): honor the ignore_language.
12134
12135         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12136
12137 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12138
12139         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12140         char inset.
12141
12142 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12143
12144         * lyxtext.h: remove unused (and unimplemented) methods
12145
12146 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12147
12148         * text.C (getVisibleRow): honor background color
12149
12150         * PainterBase.h:
12151         * Painter.h: remove default color argument for fillRectangle
12152
12153         * text.C (backgroundColor): new method
12154
12155 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * text.C (getVisibleRow): adjust
12158
12159         * font.[Ch] (rectText): new method, metrics
12160         (buttonText): new method, metrics
12161
12162         * PainterBase.[hC]: make rectText and buttonText always draw and take
12163         fewer paramteres.
12164
12165 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12166
12167         * ToolbarDefaults.C (read):
12168         * MenuBackend.C (read): allow escaping in all strings
12169
12170         * BufferView_pimpl.C (insertAndEditInset): new method.
12171         (Dispatch): use insertAndEditInset whenever appropriate.
12172
12173         * BufferView_pimpl.C (insertNote): removed
12174
12175         * BufferView_pimpl.C (smartQuote): new method, moved from
12176         BufferView; if an insetquote cannot be inserted, insert a '"'
12177         character instead.
12178
12179         * BufferView2.C: remove insertCorrectQuote();
12180
12181         * lyxfunc.C (getStatus): Add support for all remaingin
12182         inset-insert lfuns.
12183
12184         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12185
12186         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12187         command (necessary to pass " as parameter of self-insert.
12188
12189         * text.C (selectWordWhenUnderCursor):
12190         (selectWord): add word_location parameter
12191         (selectWordWhenUnderCursor): same + remove special code for word
12192         boundary.
12193         (selectNextWord): use kind() to guess type of insetspecialchar,
12194         not latex().
12195
12196         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12197         (insertErtContents): create ert insets as collapsed.
12198         (readInset): better compatibility code for Info inset.
12199
12200 2001-07-20  Juergen Vigna  <jug@sad.it>
12201
12202         * lyxfunc.C (dispatch): use always LyXFind now!
12203
12204         * text2.C (init): add a reinit flag so that the LyXText can be
12205         reinited instead of deleted and reallocated (used in InsetText).
12206
12207         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12208
12209         * text.C: ditto
12210
12211         * text2.C: ditto
12212
12213 2001-07-18  Juergen Vigna  <jug@sad.it>
12214
12215         * text.C (selectNextWord): handle insets inside inset by calling
12216         always the bv->text functions so that we can go up the_locking_inset!
12217
12218         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12219         in strange locations when inside an inset!
12220
12221         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12222         handling to include insets.
12223
12224         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12225
12226 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * LyXAction.C (init):
12229         * commandtags.h:
12230         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12231         LIGATURE_BREAK, since the name is so stupid.
12232
12233 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12236         InsetInfos.
12237
12238         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12239
12240         * sp_form.[Ch]: remove.
12241
12242         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12243
12244         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12245         InsetInfo.
12246
12247         * src/buffer.C (readInset): ditto.
12248
12249 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12250
12251         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12252         menuSeparator(), endOfSentenceDot(), ldots() and
12253         hyphenationPoint(), which are therefore removed.
12254         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12255
12256         * LyXAction.C (init):
12257         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12258
12259         * paragraph.C (getWord): removed.
12260
12261         * BufferView_pimpl.C (Dispatch): use last word or selection for
12262         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12263
12264         * lyx_main.C (queryUserLyXDir): do not ask before creating
12265         user_dir, except if it has been named explicitely.
12266
12267 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12270         a document of zero size.
12271
12272 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12275         approriately in the c-tor and in require().
12276         (getPackages): output the appropriate LaTeX for natbib support.
12277
12278         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12279         variables "use_natbib" and "use_numerical_citations" when reading the
12280         LyX file.
12281         (readInset): read the various natbib cite commands.
12282         (validate): white-space change.
12283
12284         * bufferparams.[Ch]: new variables "bool use_natbib" and
12285         "bool use_numerical_citations".
12286         (writeFile): output them in the LyX file.
12287
12288 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12289
12290         * lyxfunc.C (getStatus): add support for all the inset insertion
12291         commands.
12292
12293         * text2.C (insertInset):
12294         * paragraph.C (insetAllowed):
12295         * BufferView_pimpl.C (insertInset): update to take in account the
12296         renaming of insertInsetAllowed
12297
12298         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12299
12300         * text2.C (getInset): new method. returns inset at cursor position.
12301
12302         * BufferView_pimpl.C (Dispatch): changes because of this.
12303
12304         * LyXAction.C (init): rename open-stuff to inset-toggle.
12305
12306         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12307
12308         * text2.C (toggleInset): renamed from openStuff; use
12309         Inset::open().
12310
12311 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12312
12313         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12314
12315         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12316
12317 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12318
12319         * buffer.C (readLyXformat2): Add filename to the error dialog
12320
12321 2001-07-18  Juergen Vigna  <jug@sad.it>
12322
12323         * tabular.C (GetCellNumber): put an assert here instead of the check!
12324
12325 2001-07-17  Juergen Vigna  <jug@sad.it>
12326
12327         * BufferView_pimpl.C (toggleSelection): adapted too.
12328
12329         * text.C (selectNextWord): adapted for use with insets.
12330         (selectSelectedWord): ditto
12331
12332 2001-07-17  Juergen Vigna  <jug@sad.it>
12333
12334         * sp_spell.C (PSpell): fix initialitation order.
12335
12336 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * paragraph.C: spacing
12339
12340 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12341
12342         * sp_spell.C: repair language selection for pspell
12343
12344 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * lyxfunc.h: change more methods to begin with lower char.
12347
12348 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12351         for unknown layouts.
12352
12353 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12354
12355         * buffer.C (readLyXformat2): Generate an error dialog if there are
12356         unknown layouts.
12357
12358 2001-07-16  Juergen Vigna  <jug@sad.it>
12359
12360         * sp_spell.C: always compile ISpell part.
12361
12362         * lyxrc.C: added use_pspell entry and it's handling.
12363
12364 2001-07-13  Juergen Vigna  <jug@sad.it>
12365
12366         * sp_spell.C: removed double includes.
12367
12368 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         Consistent use of Lsstream.h:
12371         * Lsstream.h: added using std::stringstream for consistencies sake.
12372
12373         * buffer.C: removed using std::stringstream
12374
12375         * lyxfont.C (stateText):
12376         * paragraph.C (asString):
12377         * text.C (selectNextWord, selectSelectedWord):
12378         * text2.C (setCounter):
12379         * vspace.C (asString, asLatexString):
12380         std::ostringstream -> ostringstream.
12381
12382 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12383
12384         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12385         * commandtags.h: add LFUN_HELP_ABOUTLYX
12386         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12387
12388 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12389
12390         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12391         cursorToggle()
12392         * lyx_gui_misc.C: remove spellchecker
12393         * lyxfunc.C: showSpellchecker
12394         * sp_base.h: added
12395         * sp_ispell.h: added
12396         * sp_pspell.h: added
12397         * sp_spell.C: added
12398         * sp_form.[Ch]: removed
12399         * spellchecker.[Ch]: removed
12400
12401 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12402
12403         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12404         is set.
12405         (simpleTeXSpecialChars): Simply print the input character without
12406         any special translation if pass_thru is set.
12407
12408         * layout.h: Added bool pass_thru to layout class for being able to
12409         implement pass through of a paragraph for Literate Programming.
12410
12411         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12412         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12413         * layout.C (Read): add "passthru" to list of layout tags and add
12414         code to set the pass_thru boolean when it is read.
12415
12416 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * trans_decl.h: remove allowed from KmodInfo
12419
12420         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12421         remove allowed code
12422         (Load): adjust
12423
12424         * paragraph_pimpl.C (erase): use boost::prior
12425
12426         * Painter.C (text): use data() instead of c_str() when length is
12427         also provided.
12428         * WorkArea.C (putClipboard): ditto
12429         * font.h (width): ditto
12430
12431         * BufferView2.C: use it-> instead of (*it). for iterators
12432         * texrow.C: ditto
12433         * paragraph_pimpl.C: ditto
12434         * paragraph.C: ditto
12435         * minibuffer.C: ditto
12436         * language.C: ditto
12437         * kbmap.C: ditto
12438         * encoding.C: ditto
12439         * counters.C: ditto
12440         * converter.C: ditto
12441         * chset.C: ditto
12442         * Variables.C: ditto
12443         * TextCache.C: ditto
12444         * MenuBackend.C: ditto
12445         * LyXAction.C: ditto
12446         * LColor.C: ditto
12447         * FloatList.C: ditto
12448         * DepTable.C: ditto
12449         * ColorHandler.C (LyXColorHandler): ditto
12450
12451 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12454
12455         * text2.C (openStuff): reintroduce this method (which had been
12456         nuked in NEW_INSETS frenzy).
12457
12458         * lyxfunc.C (Dispatch): when an action has not been handled, use
12459         its name in the error message, not its number.
12460
12461         * paragraph.C (inInset): change method name to begin with lowercase.
12462
12463         * undo_funcs.C:
12464         * text2.C: updates because of this.
12465
12466 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12467
12468         * ToolbarDefaults.C (add): add spaces in error message
12469
12470 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12471
12472         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12473         (readLyXformat2): rename return_par to first_par, use lyxlex's
12474         pushToken and remove the manual push handling.
12475         (parseSingleLyXformat2Token): add another ert comp. variable:
12476         in_tabular, rename return_par to first_par. handle newlines better
12477
12478 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12481
12482 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * text2.C (getParFromID): removed
12485
12486         * buffer.C (getParFromID): new method moved form lyxtext.
12487         * BufferView2.C (insertErrors): adjust
12488         (setCursorFromRow): adjust
12489         * BufferView_pimpl.C (restorePosition): adjust
12490         * lyxfunc.C (Dispatch): adjust
12491         * undo_funcs.C (textUndo): adjust
12492         (textRedo): adjust
12493         (textHandleUndo): adjust
12494         (textHandleUndo): adjust
12495
12496 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * buffer.C: up' the LYX_FORMAT
12499
12500         * lyxfont.h: turn NO_LATEX on as default
12501
12502         * buffer.C (insertErtContents): new methods of tex style compability.
12503         (parseSingleLyXformat2Token): use it several places.
12504         * tabular.C (OldFormatRead): and here
12505
12506 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * text2.C: remove some commented code.
12509         reindent file.
12510
12511         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12512         * trans.C: changes because of the above.
12513
12514 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * text2.C (setCounter): Fix counters bug with bibliography layout.
12517
12518 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12521         own member functions
12522         (simpleTeXSpecialChars): ditto
12523
12524 2001-07-06  Juergen Vigna  <jug@sad.it>
12525
12526         * a lot of files: changed the access to LyXText::status and the
12527         call of undo-functions.
12528
12529         * undo.[Ch]: added a inset_id to the undo informations.
12530
12531         * undo_funcs.[Ch]: added and moved here all undo functions.
12532
12533         * lyxtext.h: give the status enum a weight, made status_ a private
12534         variable and made accessor functions for it, removed the whole bunch
12535         of undo-functions as they are now in their own file, make some
12536         functions publically available. Added function ownerParagraph with
12537         int parameter.
12538
12539         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12540         made InInset() a const function, added getParFromID() function.
12541
12542         * buffer.[Ch]: added const version for inset_iterator functions,
12543         added getInsetFromID() function.
12544
12545         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12546         changed undo functions for new version.
12547
12548 2001-07-05  Juergen Vigna  <jug@sad.it>
12549
12550         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12551         unknow mechanism does not call the proper constructor but only this
12552         one also if I request the other!?
12553
12554 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12557
12558         * text2.C (LyXText): use initialization lists.
12559
12560         * lyxtext.h (Selection): initialize set_ and mark_
12561         (init): remove method
12562
12563 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12564
12565         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12566
12567 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * screen.[Ch]: change method names to begin with lowercase
12570
12571         * BufferView_pimpl.C (updateScrollbar): simplify further and
12572         hopefully make it a bit faster.
12573
12574 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12577         calling directly xforms functions.
12578
12579         * Painter.C (Painter):
12580         * lyx_cb.C (MenuWrite):
12581         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12582         fl_display.
12583
12584         * lyx_gui.C: remove bogus guiruntime extern declaration.
12585
12586 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12589         in NEW_INSETS
12590         (redoDrawingOfParagraph): ditto
12591         (redoParagraphs): ditto
12592         (cutSelection): don't create a object for CutAndPaste use the
12593         static method directly
12594         (pasteSelection): ditto
12595
12596         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12597         LyXview (+ rename)
12598
12599 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * modifications to some other files because of this.
12602
12603         * Makefile.am (lyx_SOURCES): add XFormsView
12604
12605         * XFormsView.[Ch]: new files
12606
12607         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12608         the main window. Move the gui dependent stuff to XFormsView
12609
12610 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * tabular.C (GetCellInset): update cur_cell also in the row/col
12613         version of this function.
12614
12615         * lyxfunc.C: no need to include figure_form.h here.
12616
12617         * FontLoader.h:
12618         * lyxfunc.h:
12619         * lyxscreen.h:
12620         * text2.C:
12621         * lyxvc.C: no need to include forms.h here.
12622
12623 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12626
12627         * lyxfunc.C (Dispatch):
12628         * Spacing.C (set):
12629         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12630         constructor argument.
12631
12632 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * paragraph.C (Paragraph): dont't clear, and just set layout.
12635         (makeSameLayout): use params's copy contructor.
12636
12637         * ParagraphParameters.[Ch] (makeSame): delete method
12638
12639 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * Variables.[Ch]: fix indentation, rename set to isSet
12642
12643 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * lyxfunc.C (Dispatch): fix typo
12646
12647 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12648
12649         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12650         upper_bound.
12651
12652         * bufferlist.C: include assert.h for emergencyWrite().
12653
12654 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12657           give up at last (bug #425202) !
12658
12659 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * lyx_gui_misc.C:
12662         * sp_form.h:
12663         * sp_form.C:
12664         * spellchecker.h:
12665         * spellchecker.C: strip spellchecker options and bring up
12666           preferences tab instead
12667
12668 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12669
12670         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12671         the istringstream constructor
12672
12673 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12674
12675         * paragraph.C (getLayout): fix return value
12676
12677         * paragraph.h: do not declare getLayout as inline.
12678
12679         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12680
12681 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * lyxcursor.h (operator<): new func
12684         (operator>): new func
12685         (operator>=): new func
12686         (operator<=): new func
12687
12688         * text.C (changeCase): use selection.start and selection.end
12689         (changeRegionCase): require from to be <= to. Require par to be a
12690         valid paragraph.
12691
12692         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12693
12694 2001-06-27  Juergen Vigna  <jug@sad.it>
12695
12696         * text.C (cursorLeftOneWord): changed to return the cursor and added
12697         overlay with BufferView * parameter which calls this one.
12698         (getWord): added
12699         (selectWord): use new getWord function.
12700         (changeCase): renamed from changeWordCase as and extended to work
12701         also on selections.
12702
12703         * lyxtext.h: added enum word_location
12704
12705         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12706         changeCase as this operates now also on selections.
12707
12708 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12709
12710         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12711
12712         * many files: send debug output to Debug::INFO instead of
12713         Debug::ANY.
12714
12715         * converter.C (View):
12716         (Convert):
12717         (Move): send debug output to Debug::FILES instead of console.
12718
12719 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12720
12721         * lyxfunc.C (getStatus): use func_status
12722
12723         * func_status.h: new header, describing the results of
12724         LyXFunc::getStatus;
12725
12726         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12727         LFUN_MATH_HALIGN.
12728
12729 2001-06-25  The LyX Project  <jug@sad.it>
12730
12731         * buffer.C (sgmlOpenTag):
12732         (sgmlCloseTag):
12733         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12734
12735 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * text2.C: remove some dead code
12738
12739         * tabular.C (GetCellInset): store the last cell checked (gotten)
12740
12741         * tabular.h: add the helper for the speedup
12742
12743         * lyxtext.h: remove some dead code
12744
12745 2001-06-26  The LyX Project  <Asger>
12746
12747         * paragraph.C: Change export to LaTeX of alignment to
12748         \begin{center} and family for better roundtrip work with reLyX.
12749
12750         * Tune the math drawing a bit.
12751
12752 2001-06-25  The LyX Project  <Asger>
12753
12754         * LColor.C (LColor): New color for math background. New color
12755         for buttons.
12756
12757 2001-06-25  The LyX Project  <jug@sad.it>
12758
12759         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12760
12761         * lyxfunc.C (Open):
12762         * bufferlist.C (newFile): do not restrict to files ending with
12763         .lyx
12764
12765         * BufferView_pimpl.C (MenuInsertLyXFile):
12766
12767 2001-06-24  The LyX Project  <jug@sad.it>
12768
12769         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12770         of compare_no_case
12771
12772 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * lyxtext.h: rename most methods to begin with a small char.
12775         Lots of changes because of this.
12776
12777         * paragraph.C (Paragraph): do not call fitToSize
12778         (erase): call Pimpl::erase
12779         (insertChar): call Pimpl::insertChar
12780         (insertInset): call Pipl::insertInset
12781         (breakParagraph): do not call fitToSize
12782         (breakParagraphConservative): do not call fitToSize
12783         (fitToSize): remove method
12784
12785         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12786
12787 2001-06-24  The LyX Project  <Asger>
12788
12789         * Fix Qt compilation^2
12790
12791 2001-06-24  The LyX Project  <jug@sad.it>
12792
12793         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12794         depthHook(getDepth()-1).
12795
12796         * paragraph.h:
12797         * ParagraphParameters.h:
12798         * ParameterStruct.h: change type of depth to unsigned int ==
12799         depth_type. Many adaptations to other files before of that.
12800
12801 2001-06-24  The LyX Project  <Asger>
12802
12803         * Fix Qt compilation.
12804
12805 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12806
12807         * paragraph.h: renamed several methods to begin with small letter.
12808         several changes to many parts of the code because of this.
12809
12810 2001-06-23  The LyX Project  <jug@sad.it>
12811
12812         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12813         rewritten to discard all double spaces when KeepEmpty is off
12814         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12815         to only handle newlines but not fiddle with spaces and friends.
12816
12817         * lyxfunc.C (MenuNew): when doing 'new from template', use
12818         template_path as default directory
12819
12820 2001-06-23  The LyX Project  <Asger>
12821
12822         * Clean-up of header file includes all over
12823         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12824
12825 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * paragraph.h: renamed from lyxparagraph.h
12828
12829 2001-06-23  Asger  <lyx@violet.home.sad.it>
12830
12831         * Buffer.h: Removed Buffer::resize
12832         * BufferList.h: Removed BufferList::resize
12833         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12834         the document lazily when we change the width, or the font settings.
12835
12836 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12837
12838         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12839
12840 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * buffer.h: remove out of date comment
12843
12844 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * lyxscreen.h:
12847         * screen.C: fix "theoretical" GC leak
12848
12849 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * LaTeX.C (scanAuxFile):
12852         (deplog): remove trailing \r when reading stream (useful under
12853         win32)
12854
12855 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12858         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12859         and BufferView::theLockingInset(Inset*), so should use them and not
12860         access bv_->text->the_locking_inset directly.
12861
12862         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12863
12864 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * Makefile.am:
12867         * tex-defs.h: remove old unused file
12868
12869 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * BufferView_pimpl.C: fix typo, remove minibuffer message
12872           when buffer has loaded
12873
12874 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * lyxfunc.C (Dispatch): use stringstream
12877         (MenuNew): use stringstream
12878         (Open): use stringstream
12879
12880         * importer.C (Import): use stringstream
12881
12882         * bufferview_funcs.C (CurrentState): use stringstream
12883
12884         * LaTeX.C (run): use stringstream
12885
12886         * BufferView_pimpl.C (savePosition): use stringstream
12887         (restorePosition): use stringstream
12888         (MenuInsertLyXFile): use stringstream
12889
12890 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * BufferView.C:
12893         * Bullet.C:
12894         * ColorHandler.C:
12895         * FontInfo.C:
12896         * FontLoader.C:
12897         * LColor.C:
12898         * LaTeXFeatures.C:
12899         * Painter.C:
12900         * gettext.C:
12901         * lyx_gui_misc.C:
12902         * lyxserver.C:
12903         * vspace.C: removed // -*- C++ -*- as first line.
12904
12905         * lyxfind.h:
12906         * version.h: added // -*- C++ -*- as first line.
12907
12908 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12911
12912         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12913         of string
12914
12915 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12918         of floats.
12919
12920 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12921
12922         * gettext.C: include LString.h even when --disable-nls is on.
12923
12924 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * converter.h (Get): changed argument type from int to
12927         FormatList::size_type to avoid unnecessary conversion.
12928
12929         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12930         before using it.
12931
12932 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * gettext.h: include LString.h even when --disable-nls is on.
12935
12936 2001-06-07  Juergen Vigna  <jug@sad.it>
12937
12938         * text.C (BreakAgain): subst spaces with tabs.
12939
12940         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12941         (resizeInsetsLyXText): set force on resizeLyXText.
12942
12943 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12944
12945         * gettext.h (gettext_init):
12946         (locale_init): use a real definition instead of a macro
12947
12948 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * Bufferview_pimpl.C:
12951         * LColor.h:
12952         * LColor.C: further lcolor tidies
12953
12954 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * BufferView_pimpl.C (updateScrollbar): simplify.
12957
12958         * BufferView2.C: don't include insets/insetinfo.h, change
12959         prototype for insertInset and call the Pimpl version. let
12960         updateInset call Pimpl version.
12961
12962         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12963         gotoInset to BufferView::Pimpl
12964
12965 2001-06-01  Juergen Vigna  <jug@sad.it>
12966
12967         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12968         inside a LockingInset (is the update needed at all?).
12969
12970 2001-05-31  Juergen Vigna  <jug@sad.it>
12971
12972         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12973         here not the old one otherwise how should we compare it afterwards
12974         if it's the same!
12975
12976 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * lyxfont.C:
12979         * tabular.C:
12980         * tabular-old.C:
12981         * FontInfo.C: bring C functions into global namespace when
12982         necessary
12983
12984 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * LString.h: make sure config.h has been loaded before LString.h.
12987
12988         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12989         (one for each char read by EatLine!).
12990
12991         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12992         variables.
12993
12994 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12997         to the same as the par we break from
12998
12999 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13002
13003         * MenuBackend.C (expand): also create menu entries for wide
13004         versions of the floats.
13005
13006         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13007
13008         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13009
13010         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13011         frontends/Makefile.am
13012
13013         * text2.C: adjust
13014         * text.C: adjust
13015
13016
13017         * tabular.C (getTokenValue): add std::
13018
13019         * tabular-old.C (getTokenValue): add std::
13020         (getTokenValue): ditto
13021         (getTokenValue): ditto
13022
13023         * screen.C (ToggleSelection): adjust
13024
13025         * lyxtext.h: put selection cursors inside a Selection struct.
13026
13027         * lyxfunc.C (moveCursorUpdate): adjust
13028
13029         * lyxfont.C (latexWriteStartChanges): add std::
13030
13031         * lyxfind.C: adjust
13032
13033         * font.h: delete with(char const *, LyXFont const &)
13034
13035         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13036
13037         * FontInfo.C (getFontname): add std::
13038
13039         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13040         (workAreaButtonPress): adjust
13041         (tripleClick): adjust
13042         (update): adjust
13043         (moveCursorUpdate): adjust
13044         (Dispatch): adjust
13045
13046         * BufferView2.C (gotoInset): adjust
13047
13048 2001-05-30  Juergen Vigna  <jug@sad.it>
13049
13050         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13051         to check pspell I add this as default as I now have new pspell
13052         libraries and they seem to use this.
13053
13054 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * text2.C (CutSelection): make the cursor valid before the call to
13057         ClearSelection.
13058
13059 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13062         relied on 0 terminated strings and other horrors. Bug found due to
13063         the new assert in lyxstring!
13064
13065         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13066         KP_ keys.
13067
13068 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13071         to latinkeys.bind.
13072
13073         * lyxfunc.C (processKeySym): change method of getting to the
13074         self-insert char.
13075
13076         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13077         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13078         * BufferView_pimpl.[Ch]: here as private methods.
13079
13080 2001-05-28  Juergen Vigna  <jug@sad.it>
13081
13082         * text.C (SetHeightOfRow): added the update() call again as it is
13083         needed to initialize inset dimensions!
13084
13085 2001-05-16  Juergen Vigna  <jug@sad.it>
13086
13087         * text2.C (SetCharFont): Add new function with BufferView * and
13088         bool toggleall parameters for setting insets internal fonts.
13089         (SetFont): Freeze the undo as we may change fonts in Insets and
13090         all this change should be inside only one Undo!
13091
13092         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13093         setting font's in insets as for them we have the SetFont function!
13094
13095 2001-05-15  Juergen Vigna  <jug@sad.it>
13096
13097         * text2.C (ClearSelection): to be sure we REALLY don't have any
13098         selection anymore!
13099
13100         * tabular.C (TeXCellPreamble): fixed the left border problem for
13101         multicolumn cells.
13102
13103 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13106         dependancy file
13107
13108 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13111         LFUN_BREAKPARAGRAPH.
13112
13113         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13114         help test to "internal only", similar for LFUN_INSERT_URL
13115
13116         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13117         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13118         auto_region_delete and deadkeys.
13119
13120 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13121
13122         * LColor.h:
13123         * LColor.C: remove some dead entries, tidy a little
13124
13125 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13128         commented code.
13129         (Dispatch): implement LFUN_ESCAPE
13130
13131         * commandtags.h: add LFUN_ESCAPE
13132
13133         * LyXAction.C (init): add entry for LFUN_ESCAPE
13134
13135         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13136         Remove commented code.
13137         (insertNote): moved here
13138         (open_new_inset): moved here
13139
13140         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13141         BufferView_pimpl
13142
13143 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * kbmap.C (findbinding): clean it up and make it work correctly.
13146
13147         * lyx_main.C (init): do not pass argc and argv as parameters
13148
13149 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13150
13151         * buffer.C: fix path for OS/2 & Win32
13152
13153         * lyx_gui.C:
13154         * lyx_main:
13155         * lyx_main.C: Added os:: class.
13156
13157         * os2_defines.h: update
13158
13159 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13162         better by trying again with reduced state.
13163
13164 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * lyxrc.C (read): print error about invalid key sequence only when
13167         debugging (because not all latinX keysyms are known to some X
13168         servers)
13169
13170         * kbsequence.C (getiso): add a few std:: qualifiers
13171         (getiso): comment out extra return statement.
13172
13173 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13176         handling.
13177         (Dispatch): enhance the accent inset a bit. (not perfect)
13178
13179 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13182
13183 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13184
13185         * bufferlist.C (emergencyWrite): fix assert() call
13186
13187 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13188
13189         * text.C (InsertChar): Added trivial patch to only send the "you
13190         can not do multiple spaces this way" message once during a
13191         session.
13192
13193 2001-05-08  Baruch Even  <baruch@lyx.org>
13194
13195         * Makefile.am: Changed order of libraries to get LyX to link properly
13196         with the gnome frontend.
13197
13198 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * LaTeXFeatures.h: add a std:: qualifier
13201
13202 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * paragraph.C (String): use stringstream
13205
13206 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13207
13208         * paragraph.C (writeFile): remove footflag arg
13209
13210         * buffer.C (makeLaTeXFile): use stringstream
13211         (latexParagraphs): remove footnot gurba
13212
13213         * LaTeXFeatures.C (getPackages): use stringstream
13214         (getMacros): likewise
13215         (getTClassPreamble): likewise
13216         (getFloatDefinitions): new method
13217
13218         * paragraph.C (writeFile): reindent
13219         (Erase): reindent
13220
13221         * WorkArea.h: revert the xpos + etc changes.
13222
13223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13224
13225         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13226
13227         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13228         (pasteSelection): likewise
13229         * text2.C (CreateUndo): likewise
13230
13231 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * minibuffer.C (peek_event): temporarily reduce the functionality
13234         of the minibuffer (to allow args on lfuns)
13235
13236         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13237         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13238
13239         * buffer.C (readInset): add compability reading of old float
13240         lists, add reading of new style float list.
13241         (readInset): avoid reevaluation of inscmd.getCmdName()
13242         (getLists): reindent
13243
13244         * MenuBackend.C (MenuItem): implement parsing of
13245         md_floatlistinsert and md_floatinsert.
13246         (expand::LastFiles): move initalizaton of iterators out of loop,
13247         avoid reevaluation.
13248         (expand::Documents): introduce typdedef vector<string> Strings,
13249         and use it.
13250         (expand::ExportFormats): introduce typedef vector<Format const *>
13251         Formats, and use it.
13252         (expand): implement FloatListInsert and FloatInsert.
13253
13254         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13255         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13256         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13257
13258         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13259         handling.
13260         (Dispatch::LFUN_FLOAT_LIST): implement
13261
13262 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13263
13264         * LaTeX.C (run): Fix problem with --export code.
13265
13266 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13267
13268         * BufferView.[Ch] (workarea): removed.
13269         (getClipboard) new method; wrapper for workarea()->getClipboard()
13270
13271         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13272         bug.
13273
13274         * WorkArea.h (width, height, xpos, ypos): These methods all
13275         returned the dimensions of the work_area sub-area of WorkArea,
13276         resulting in a position error if the WorkArea were resized. Now
13277         return the dimensions of the entire WorkArea.
13278
13279         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13280
13281 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * LaTeX.C (deplog): correct the syntax of regex reg1
13284
13285 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * undo.C: remove !NEW_INSETS cruft
13288
13289 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * text2.C: remove !NEW_INSETS cruft
13292
13293         * text.C: remove !NEW_INSETS cruft
13294
13295         * tabular.C: remove !NEW_INSETS cruft
13296
13297         * spellchecker.C: remove !NEW_INSETS cruft
13298
13299         * lyxtext.h: remove !NEW_INSETS cruft
13300
13301         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13302
13303         * lyxfunc.C: remove !NEW_INSETS cruft
13304
13305         * lyxfind.C: remove !NEW_INSETS cruft
13306
13307         * lyx_cb.C: remove !NEW_INSETS cruft
13308
13309         * figureForm.C: remove  !NEW_INSETS cruft
13310
13311         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13312
13313         * buffer.[Ch]: remove !NEW_INSETS cruft
13314
13315         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13316
13317         * CutAndPaste.C: remove !NEW_INSETS cruft
13318
13319         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13320
13321         * BufferView2.C: remove !NEW_INSETS cruft
13322
13323         * BufferView.h: remove !NEW_INSETS cruft
13324
13325 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * Lsstream.h: include LString.h before the sstream headers to
13328         fix problem with gcc 2.95.3 and lyxstring
13329
13330 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * lyx_main.C: add using directives when needed for C functions
13333         declared in std:: namespace.
13334
13335 2001-04-27  Juergen Vigna  <jug@sad.it>
13336
13337         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13338         (SetHeightOfRow): comment out the update call should not be needed!
13339
13340 2001-04-13  Juergen Vigna  <jug@sad.it>
13341
13342         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13343         (LyXTabular): tried to minimize operator= operations (and realized
13344         hopfully Lars wish).
13345
13346 2001-04-27  Juergen Vigna  <jug@sad.it>
13347
13348         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13349
13350 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13351
13352         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13353
13354         * buffer.C (readInset): hack to make listof algorithm work
13355
13356         * BufferView_pimpl.C: hack to make listof algorithm work
13357
13358 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * LyXAction.C: removed all !NEW_INSETS cruft
13361         (init): moved lfun_item in method
13362
13363         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13364
13365 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * BufferView2.C (theLockingInset): white space.
13368
13369 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * minibuffer.C: include <iostream>
13372
13373         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13374
13375         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13376
13377         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13378
13379         * text.[Ch] (TransposeChars): new method
13380
13381 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * call message directly through LyXView instead of through LyXFunc
13384         * BufferView2.C: adjust
13385         * BufferView_pimpl.C: adjust
13386         * FontLoader.C: adjust
13387         * buffer.C: adjust
13388         * bufferview_funcs.C: adjust
13389         * converter.C: adjust
13390         * figureForm.C: adjust
13391         * importer.C: adjust
13392         * lyx_cb.C: adjust
13393         * lyx_gui_misc.C: adjust
13394         * lyxfunc.C: adjust
13395         * lyxvc.C: adjust
13396         * text2.C: adjust
13397         + more files in subdirs
13398
13399         * lyxparagraph.h (size): move up int file
13400         (GetLayout): ditto
13401
13402         * adjust all uses of Assert to lyx::Assert.
13403
13404         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13405         lyxfunctional in namespace lyx
13406         * layout.C (hasLayout): ditto
13407         (GetLayout): ditto
13408         (GetLayout): ditto
13409         (delete_layout): ditto
13410         (NumberOfClass): ditto
13411         * converter.C (GetFormat): ditto
13412         (GetNumber): ditto
13413         (Add): ditto
13414         (Delete): ditto
13415         (SetViewer): ditto
13416         * bufferlist.C (getFileNames): ditto
13417         (emergencyWriteAll): ditto
13418         (exists): ditto
13419         (getBuffer): ditto
13420         * MenuBackend.C (hasSubmenu): ditto
13421         (hasMenu): ditto
13422         (getMenu): ditto
13423         * BufferView_pimpl.C (getInsetByCode): ditto
13424
13425 2001-04-18  Juergen Vigna  <jug@sad.it>
13426
13427         * vspace.C (asLatexString): fixed the 100% problem.
13428
13429 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * lyxfunc.C (Dispatch):
13432         * minibuffer.C:
13433         * minibuffer.h: add a few std:: qualifiers
13434
13435 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * minibuffer.[Ch]: reimplement so that commands is initiated and
13438         run from lyxfunc, simplified som handling, and made the completion
13439         and history code for complete. wip.
13440
13441         * lyxfunc.C (processKeySym): call message
13442         (miniDispatch): new temporary method
13443         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13444         (LFUN_MESSAGE): implement
13445         (LFUN_MESSAGE_PUSH): implement
13446         (LFUN_MESSAGE_POP): implement
13447         (initMiniBuffer): the initial/defualt minibuffer message.
13448
13449         * lyxfont.[Ch]: inline some more getters
13450
13451         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13452
13453         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13454
13455         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13456         (AutoSave): use LFUN_MESSAGE
13457         (Reconfigure): ditto
13458
13459         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13460
13461         * figureForm.C: use LFUN_MESSAGE
13462
13463         * converter.C (runLaTeX): use LFUN_MESSAGE
13464
13465         * bufferview_funcs.C: use LFUN_MESSAGE
13466         (Melt): ditto
13467         (changeDepth): ditto
13468
13469         * bufferparams.h: use boost::
13470
13471         * bufferlist.h: inherit privately from noncopyable
13472
13473         * bufferlist.C (loadLyXFile): remove some commented code.
13474
13475         * buffer.C (runChktex): use LFUN_MESSAGE
13476
13477         * ShareContainer.h: inherit privately from noncopyable
13478
13479         * ParagraphParameters.[hC] (depth): inline it.
13480
13481         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13482         methods.
13483         (message): new method
13484         (messagePush): ditto
13485         (messagePop): ditto
13486         (show): init minibuffer
13487         (showState): direct call
13488
13489         * LaTeX.[Ch]: inherit privately from noncopyable
13490         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13491         instead of WriteStatus.
13492
13493         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13494
13495         * BufferView_pimpl.C (buffer): don't init minibuffer
13496         (workAreaButtonPress): use LFUN_MESSAGE
13497         (workAreaButtonRelease): ditto
13498         (savePosition): ditto
13499         (restorePosition): ditto
13500         (MenuInsertLyXFile): ditto
13501         (workAreaExpose): don't init minibuffer
13502         (update): remove commented code, simplify
13503
13504         * BufferView2.C (openStuff): use LFUN_MESSAGE
13505         (toggleFloat): ditto
13506         (menuUndo): ditto
13507         (menuRedo): ditto
13508         (copyEnvironment): ditto
13509         (pasteEnvironment): ditto
13510         (copy): ditto
13511         (cut): ditto
13512         (paste): ditto
13513         (gotoInset): ditto
13514         (updateInset): remove some commented code
13515
13516         * lastfiles.h: inherit privately from noncopyable
13517         * layout.h: ditto
13518         * lyx_gui.h: ditto
13519         * lyx_main.h: ditto
13520         * lyxlex.h: ditto
13521         * lyxlex_pimpl.h: ditto
13522
13523         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13524         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13525         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13526
13527         * LyXAction.h: inherit privately from noncopyable, add methods
13528         func_begin, func_end, returning iterators to the func map.
13529
13530         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13531         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13532         (func_begin): new method
13533         (func_end): new method
13534
13535         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13536         and not)
13537         (copySelection): ditto
13538         (pasteSelection): ditto
13539
13540         * BufferView.C: whitespace change
13541         * BufferView.h: inherit privately from noncopyable
13542
13543 2001-04-16  Allan Rae  <rae@lyx.org>
13544
13545         * tabular-old.C (l_getline):
13546         * spellchecker.C (sc_check_word):
13547         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13548         an unrecognised preprocessor directive.  So ensure they're wrapped.
13549
13550 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * src/exporter.C (Export): Give an error message when path to file
13553         contains spaces.
13554
13555 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13556
13557         * LaTeX.C (deplog): Always check that foundfile exists.
13558
13559 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13560
13561         * lyx_main.h:
13562         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13563
13564 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * tabular.[Ch] (getLabelList): implement new method
13567
13568         * minibuffer.h: comment ouf setTiimer
13569
13570         * minibuffer.C (ExecutingCB): constify res
13571         (peek_event): constify s
13572         (Set): constify ntext
13573         (Init): constify nicename
13574
13575         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13576
13577         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13578         (savePosition): use two params to Minibuffer::Set
13579         (restorePosition): ditto
13580
13581 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * lyx_main.C: include language.h
13584
13585         * Makefile.am (lyx_main.o): add language.h
13586
13587 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * exporter.C:
13590         * paragraph.C:
13591         * screen.C:
13592         * tabular.C:
13593         * CutAndPaste.C: include gettext.h
13594
13595         * lyxfont.h: remove old hack with ON and OFF.
13596
13597         * lyxparagraph.h:
13598         * lyxfont.h: do not include language.h...
13599
13600         * BufferView2.C:
13601         * LaTeXFeatures.C:
13602         * Painter.C:
13603         * bufferview_funcs.C:
13604         * font.C:
13605         * lyxfont.C:
13606         * text.C:
13607         * text2.C:
13608         * trans_mgr.C:
13609         * paragraph.C: ... but do it here instead
13610
13611 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13614
13615         * tabular.C: small reformat
13616
13617         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13618         NEW_INSETS version
13619         (GetChar): ditto
13620         (BreakParagraph): ditto
13621         (SetOnlyLayout): ditto
13622         (SetLayout): ditto
13623
13624         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13625         with one arg less.
13626
13627         * lastfiles.C: removed most using decl, add std:: where needed
13628
13629         * buffer.C: ws changes
13630
13631         * MenuBackend.C (class compare_format): put into anon namespace
13632         (expand): constify label, names, action, action2
13633         (expand):
13634
13635         * text.C (SingleWidth): constify font
13636         (IsBoundary): constify rtl2
13637         (GetVisibleRow): constify ww
13638
13639         * LaTeX.C (deplog): constify logfile
13640
13641         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13642         start_x, end_x
13643         (workAreaExpose): constify widthChange, heightChange
13644
13645         * lyxrow.C (par): moved
13646         (height): moved
13647         (next): moved
13648         * lyxrow.h: as inlines here
13649
13650         * lyxfont.h (shape): moved from lyxfont.C
13651         (emph): moved from lyxfont.C
13652
13653         * lyxfont.C (LyXFont): use initialization list for all
13654         constructors
13655         (shape): move to lyxfont.h as inline
13656         (emph): move to lyxfont.h as inline
13657
13658
13659 2001-04-04  Juergen Vigna  <jug@sad.it>
13660
13661         * vspace.C: had to include stdio.h for use of sscanf
13662
13663 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * BufferView.h:
13666         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13667         independent of xforms.
13668
13669 2001-04-02  Juergen Vigna  <jug@sad.it>
13670
13671         * spellchecker.C: fixed namespace placing!
13672
13673 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13674
13675         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13676         the LyXParagraph * is 0.
13677
13678 2001-03-29  Juergen Vigna  <jug@sad.it>
13679
13680         * vspace.C: added support for %, c%, p%, l%.
13681         (stringFromUnit): added helper function.
13682         (asLatexString): changed to give right results for the %-values.
13683
13684         * buffer.C: convert the widthp in a width%.
13685
13686 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13687
13688         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13689         figureForm.[Ch].
13690
13691         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13692         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13693
13694         * lyx_cb.[Ch]: see above.
13695
13696         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13697         form1.[Ch].
13698
13699         * form1.[Ch]:
13700         * lyx.[Ch]: replaced by figure_form.[Ch].
13701
13702         * lyx_gui.C:
13703         * lyx_gui_misc.C:
13704         * lyxfunc.C: changed headers associated with above changes.
13705
13706 2001-03-27  Juergen Vigna  <jug@sad.it>
13707
13708         * BufferView_pimpl.C: set the temporary cursor right!
13709
13710 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13711
13712         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13713
13714 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * LString.h: removed "using std::getline"!
13717
13718         * BufferView_pimpl.C (Dispatch): changes due to changes in
13719         InsetInclude::Params.
13720
13721         * buffer.C (tag_name): removed redundant break statements as they were
13722         producing lots of warnings with my compiler.
13723
13724 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * LString.h: add "using std::getline" when using the real <string>.
13727
13728 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13729
13730         * buffer.C: removed bitset usage.
13731         PAR_TAG moved to an anonymous name space.
13732         (tag_name): new funtion, also in the anonymous namespace.
13733         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13734         (makeDocBookFile): clean code. Completed transition from string arrays
13735         to string vectors.
13736         (SimpleDocBookOnePar): code clean.
13737
13738 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13739
13740         * tabular.C: add some comments.
13741
13742 2001-03-22  Juergen Vigna  <jug@sad.it>
13743
13744         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13745         compatibility read a bit and fixed bug with minipage in different
13746         depth.
13747
13748 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13749
13750         * buffer.C (pop_tag): removed.
13751         (push_tag): removed.
13752         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13753         array replaced with vector. Added support for CDATA sections.
13754         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13755         at any nest level.
13756         (makeDocBookFile): XML conformant declaration of CDATA section,
13757         fixed bug related to <emphasis> in the first paragraph char.
13758         (sgmlOpenTag): exclude empty tags.
13759         (sgmlCloseTag): ditto.
13760
13761         * buffer.h (pop_tag): removed.
13762         (push_tag): removed.
13763
13764 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * language.h (Languages): added size_type and size().
13767
13768 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13769
13770         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13771         response on compability reading of minipages. One probliem is that
13772         the old usage of minipages was «flertydig»
13773
13774         * several files here and in subdirs: don't use static at file
13775         scope use anon namespaces instead.
13776
13777 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13778
13779         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13780         LaTeX output. This is necessary for Literate document
13781         processing.
13782
13783 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13784
13785         * buffer.C: insert hfill when needed.
13786
13787         * tabular.C (l_getline): use string::erase, small whitespace change.
13788
13789         * BufferView_pimpl.C: try the anon namespace.
13790         * WorkArea.C: ditto
13791
13792 2001-03-16  Juergen Vigna  <jug@sad.it>
13793
13794         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13795         otherwise it won't open options-dialogs.
13796
13797         * buffer.C: honor pextraWidth(p) on converting minipages.
13798
13799         * tabular.C (l_getline): changed the functions to strip trailing \r.
13800
13801 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * BufferView_pimpl.C:
13804         * minibuffer..C: added "using SigC::slot" declaration.
13805
13806 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13807
13808         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13809
13810         * text2.C: ditto
13811
13812         * text.C: ditto
13813
13814         * paragraph.C: ditto
13815
13816         * lyxtext.h: NO_PEXTRA
13817
13818         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13819
13820         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13821         * ParameterStruct.h: ditto
13822         * ParagraphParameters.h: ditto
13823         * lyxparagraph.h: ditto
13824
13825 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13826
13827         * buffer.C: add compability for minipage alignment.
13828         (latexParagraphs): remove unwanted pextra check.
13829
13830         * several files: remove CXX_WORKING_NAMESPACES
13831
13832         * buffer.C (pop_tag): tie is in namespace boost
13833
13834         * BufferView.h: noncopyable is in namespace boost
13835         * lyxlex.h: ditto
13836         * lyx_main.h: ditto
13837         * lyx_gui.h: ditto
13838         * layout.h: ditto
13839         * lastfiles.h: ditto
13840         * bufferlist.h: ditto
13841         * ShareContainer.h: ditto
13842         * LyXView.h: ditto
13843         * LyXAction.h: ditto
13844         * LaTeX.h: ditto
13845
13846 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * Merging changes from BRANCH_MVC back into HEAD.
13849
13850         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13851
13852 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * BufferView_pimpl.C: change from intl.C
13855
13856         * combox.h:
13857         * combox.C:
13858         * Makefile.am: move combox.*
13859
13860         * form1.h:
13861         * form1.C:
13862         * lyx_gui.C:
13863         * intl.h:
13864         * intl.C: remove dialog (covered by prefs)
13865
13866 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * lyxfunc.C (Dispatch): removed redundant break statement.
13869
13870 2001-03-14  Juergen Vigna  <jug@sad.it>
13871
13872         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13873
13874 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13875
13876         * buffer.C: add hack to fix compability reading of minipages.
13877
13878 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * buffer.C (getLists): Cleanup.
13881
13882 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13883
13884         * lyxfont.C (update): don't honor toggleall on font size.
13885
13886 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * bmtable.c:
13889         * bmtable.h:
13890         * Makefile.am: moved to frontends/xforms/
13891
13892         * lyx_gui_misc.C:
13893         * lyxfunc.C:
13894         * BufferView_pimpl.C: changes for moved mathpanel
13895
13896 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * gettext.h: fix gettext_init() in --disable-nls
13899
13900 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13903
13904 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13905
13906         * lyx.C:
13907         * lyx.h: strip external form
13908
13909 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13910
13911         * BufferView_pimpl.C: add comment, destroySplash()
13912
13913 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13914
13915         * BufferView_pimpl.C:
13916         * LyXAction.C:
13917         * buffer.C:
13918         * commandtags.h:
13919         * lyxfunc.C: use re-worked insetinclude
13920
13921 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13922
13923         * buffer.C: add using std::stringstream.
13924
13925         * lyx_cb.C: readd using std::ios.
13926
13927         * buffer.C: add using std::map.
13928
13929         * BufferView_pimpl.C: add using std::vector.
13930
13931         * ShareContainer.h: add std:: to swap.
13932
13933         * buffer.h: add some typedefs
13934         * buffer.C (getLists): use them
13935         (getLists): renamed from getTocList.
13936         add a counter for the different float types and use it in the
13937         generated string.
13938         (getLists): use the same counter for the NEW_INSETS and the "non"
13939         NEW_INSETS
13940
13941         * lyx_cb.h: remove unused items, includes, using etc.
13942
13943         * ShareContainer.h: remove some commented code, add more comments
13944         and "documentation".
13945
13946 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13947
13948         * buffer.C (getTocList): make the list also when NEW_INSETS is
13949         defined.
13950
13951         * buffer.h: remove TocType
13952
13953         * buffer.C (getTocList): change to return a map<string,
13954         vector<TocItem> >, implement for dynamic number of list.
13955
13956         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13957         * text2.C (PasteSelection): adjust
13958         * CutAndPaste.C (pasteSelection): adjust
13959
13960         * FloatList.C (FloatList): update from the new_insets branch.
13961         * Floating.[Ch]: ditto
13962         * LaTeXFeatures.C: ditto
13963         * buffer.C: ditto
13964         * lyxlex_pimpl.C: ditto
13965
13966         * paragraph.C (Last): remove when NEW_INSETS is defined.
13967
13968         * other file: changes because of the above.
13969
13970 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13971
13972         * lyxparagraph.h: rename next to next_, previous to previous_,
13973         make them private for NEW_INSETS. Rename Next() to next(),
13974         Previous() to previous().
13975
13976         * other files: changes because of the above.
13977
13978 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * BufferView.h:
13981         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13982         problem.
13983
13984 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13985
13986         * main.C (main): pass lyx_localedir to gettext_init().
13987
13988         * gettext.h: remove locale_init and gettext_init macros
13989
13990         * gettext.C (locale_init): new function
13991         (gettext_init): new function
13992
13993         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13994         setlocale().
13995
13996 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13997
13998         * Moved credits to frontends:
13999         * credits.[Ch]: removed
14000         * credits_form.[Ch]: removed
14001         * lyx_gui_misc.C: remove credits stuff
14002         * Makefile.am:
14003
14004 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14005
14006         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14007
14008         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14009         unneeded destructor.
14010
14011         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14012         a standalone pointer again.
14013
14014         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14015
14016 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * Makefile.am:
14019         * filedlg.h:
14020         * filedlg.C:
14021         * LyXAction.C:
14022         * ToolbarDefaults.C:
14023         * bufferlist.C:
14024         * commandtags.h:
14025         * form1.C:
14026         * form1.h:
14027         * lyx_cb.C:
14028         * lyx_cb.h:
14029         * lyxfunc.h:
14030         * lyxfunc.C:
14031         * BufferView_pimpl.C: use new file dialog in GUII
14032
14033         * lyx_cb.h:
14034         * lyx_cb.C: remove LayoutsCB to Toolbar
14035
14036 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * ShareContainer.h (get): add std:: qualifier
14039
14040 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * ShareContainer.h: define a proper ShareContainer::value_type
14043         type (and use typename to please compaq cxx)
14044
14045 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14046
14047         * lyxparagraph.h: move serveral local vars to
14048         ParameterStruct/ParagraphParameters., use ShareContainer in
14049         FontTable., make vars in FontTable private and add getter and
14050         setter.
14051
14052         * paragraph.C: changes because of the above.
14053
14054         * lyxfont.h: remove copy constructor and copy assignment. (the
14055         default ones is ok), move number inside FontBits. move inlines to
14056         lyxfont.C
14057
14058         * lyxfont.C: add number to initializaton of statics, move several
14059         inlines here. constify several local vars. some whitespace
14060         cleanup. Dont hide outerscope variables.
14061
14062         * Spacing.h: add two new constructors to match the set methods.
14063
14064         * ShareContainer.h: new file, will perhaps be moved to support
14065
14066         * ParameterStruct.h: new file
14067
14068         * ParagraphParameters.h: new file
14069
14070         * ParagraphParameters.C: new file
14071
14072         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14073         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14074
14075         * BufferView_pimpl.C: ParagraphParameter changes.
14076         * buffer.C: Likewise.
14077         * bufferview_funcs.C: Likewise.
14078         * text.C: Likewise.
14079         * text2.C: Likewise.
14080
14081 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * lyxfind.C (LyXReplace): do not redefine default argument in
14084         implementation.
14085         (IsStringInText): ditto
14086         (SearchForward): ditto
14087         (SearchBackward): ditto
14088
14089 2001-03-06  Juergen Vigna  <jug@sad.it>
14090
14091         * lyxfind.C (IsStringInText): put parentes around expressions.
14092
14093 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14094
14095         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14096
14097 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14100
14101         * stl_string_fwd.h: add comment
14102
14103         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14104
14105         * tabular.h:
14106         * tabular.C: remove unused DocBook methods
14107
14108         * intl.C:
14109         * language.C:
14110         * paragraph.C:
14111         * buffer.C:
14112         killed DO_USE_DEFAULT_LANGUAGE
14113
14114 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyx_gui.C: do not include language.h.
14117
14118         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14119         arguments in function implementation.
14120
14121 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14122
14123         * BufferView_pimpl.C: add <ctime>
14124
14125 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14126
14127         * BufferView_pimpl.C: add using std::find_if
14128
14129 2001-02-27  José Matos  <jamatos@fep.up.pt>
14130
14131         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14132         by OnlyPath.
14133
14134 2001-02-11  José Matos  <jamatos@fep.up.pt>
14135
14136         * buffer.C (makeDocBookFile): command styles now have a parameter as
14137         "title" by default.
14138
14139 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14140
14141         * layout_forms.[Ch]: removed
14142         * lyx_cb.[Ch]: out character
14143         * lyx_gui.C: out character
14144         * lyx_gui_misc.C: out character
14145         * bufferview_funcs.C: : out character,
14146         added toggleall as parameter in ToggleAndShow
14147
14148 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14151
14152         * text2.C (SetCurrentFont): Disable number property at boundary.
14153
14154 2001-02-26  Juergen Vigna  <jug@sad.it>
14155
14156         * lyxfunc.C (getStatus): added a string argument override function so
14157         that this is correctly called from LyXFunc::Dispatch if it contains a
14158         do_not_use_argument which is used!
14159         (Dispatch): added check for "custom" export and call appropriate func.
14160
14161 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * lyxrc.C: Add language_command_local, language_use_babel and
14164         language_global_options.
14165
14166         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14167
14168         * buffer.C (makeLaTeXFile): Use language_use_babel and
14169         language_global_options.
14170
14171 2001-02-23  Juergen Vigna  <jug@sad.it>
14172
14173         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14174         which works with LyXText and putted it inside BufferView. Here now we
14175         only call for that part the BufferView::Dispatch() function.
14176
14177         * BufferView.C (Dispatch): added.
14178
14179         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14180         functions which needs to use a LyXText over from LyXFunc.
14181         (MenuInsertLyXFile): added
14182         (getInsetByCode): added
14183         (moveCursorUpdate): added
14184         (static TEXT): added
14185
14186 2001-02-22  Juergen Vigna  <jug@sad.it>
14187
14188         * BufferView_pimpl.C (update): call a status update to see if LyXText
14189         needs it.
14190
14191 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14192
14193         * vc-backend.C (revert): implement for CVS
14194         (getLog): implement for CVS
14195
14196 2001-02-20  Juergen Vigna  <jug@sad.it>
14197
14198         * text2.C (ClearSelection): added BufferView param for inset_owner call
14199
14200         * lyxfunc.C (TEXT): added this function and use it instead of
14201         directly owner->view()-text of getLyXText().
14202
14203 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14204
14205         * src/layout_forms.C: out preamble
14206         * src/layout_forms.h: out preamble
14207         * src/lyx_cb.C: out preamble
14208         * src/lyx_cb.h: out preamble
14209         * src/lyx_gui.C: out preamble
14210         * src/lyx_gui_misc.C: out preamble
14211         * src/lyxfunc.C: connect with guii preamble
14212
14213 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14216
14217 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14218
14219         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14220         whether to run bibtex.
14221
14222 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14223
14224         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14225
14226 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14227
14228         * Makefile.am (lyx_SOURCES): removed bibforms.h
14229
14230         * vspace.h: doxygen
14231
14232         * text.C (GetVisibleRow): make several local vars const
14233
14234         * tabular.C: small cleanup.
14235
14236         * lyxserver.C (callback): use compare instead of strncmp
14237
14238         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14239         inlines to after class or to paragraph.C
14240
14241         * lyxfont.h: remove friend operator!=
14242
14243         * converter.h: move friend bool operator< to non friend and after
14244         class def.
14245
14246         * combox.h: small cleanup
14247
14248         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14249         to inlines after class def.
14250
14251         * buffer.C (pop_tag): use string operations instead of strcmp
14252
14253         * bmtable.c: doxygen, small cleanup
14254
14255         * LaTeX.h: remove friend operator==
14256
14257 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14258
14259         * screen.C:
14260         * lyxrc.[Ch]:
14261         * lyxfunc.C:
14262         * lyxfont.[Ch]:
14263         * lyx_cb.C:
14264         * intl.[Ch]:
14265         * commandtags.h:
14266         * buffer.C:
14267         * WorkArea.[Ch]:
14268         * LyXAction.C:
14269         * BufferView_pimpl.C:
14270         * BufferView.[Ch]: remove cruft
14271
14272 2001-02-14  Juergen Vigna  <jug@sad.it>
14273
14274         * lyxfunc.C: removed #if 0 unused code
14275
14276         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14277
14278         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14279
14280         * text2.C (SetSelection): added a BufferView * parameter
14281
14282 2001-02-13  Juergen Vigna  <jug@sad.it>
14283
14284         * lyxfunc.C (Dispatch): fixed protected blank problem.
14285         * BufferView2.C (protectedBlank): added LyxText * parameter.
14286
14287         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14288         (AppendColumn): same as above for column_info.
14289
14290         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14291         (moveCursorUpdate): use a LyXText param for support of InsetText.
14292
14293         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14294         (tripleClick): ditto
14295
14296         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14297
14298         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14299
14300         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14301
14302         * text2.C (SetSelection): set correct update status if inset_owner
14303         (ToggleFree): ditto
14304
14305 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14306
14307         * tabular.C: remove some commented code.
14308
14309 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * BufferView_pimpl.C: call hideSplash()
14312
14313         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14314
14315         * include_form.h:
14316         * bibforms.h: remove
14317
14318         * lyxfunc.C:
14319         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14320           add LFUN_CHILD_CREATE
14321
14322         * counters.h: fix tiny typo
14323
14324         * lyx_cb.C:
14325         * lyx.h:
14326         * lyx_gui.C:
14327         * lyx.C: move splash to frontends/xforms/
14328
14329         * lyx_gui_misc.C: move Include and Bibform to frontends
14330
14331         * lyxvc.h: clarify comment
14332
14333         * vspace.C: tiny housekeeping
14334
14335 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14336
14337         * text.C (PrepareToPrint): RTL Fix.
14338
14339         * paragraph.C (GetUChar): New method.
14340         (String):  Use GetUChar.
14341
14342         * buffer.C (asciiParagraph): Use GetUChar.
14343
14344 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14345
14346         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14347
14348 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * buffer.h:
14351         * buffer.C: rename to getLogName(), handle
14352           build log / latex log nicely
14353
14354 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * MenuBackend.C:
14357         * MenuBackend.h: remove support for reference menuitem type.
14358
14359 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14360
14361         * BufferView_pimpl.C: housekeeping
14362         * BufferView_pimpl.h:
14363         * LyXView.h:
14364         * Makefile.am:
14365         * Timeout.C:
14366         * Timeout.h:
14367         * minibuffer.h: move Timeout GUI-I
14368
14369 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14370
14371         * lyxrc.C (read): Update converters data-structures.
14372
14373 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14374
14375         * LaTeX.h (operator!=): add operator != for Aux_Info
14376
14377 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14378
14379         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14380
14381         * LaTeXLog.C: deleted, useful code moved to Buffer
14382
14383         * buffer.h:
14384         * buffer.C: new function getLatexLogName()
14385
14386         * lyx_gui_misc.C:
14387         * lyx_gui.C:
14388         * lyxvc.C:
14389         * lyxvc.h:
14390         * lyxfunc.C: use frontends for LaTeX and VC logs
14391
14392 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * LaTeX.h: yet another std:: that Allan forgot.
14395
14396         * Variables.C (set): renamed from isset(), because this clashes
14397         with some HP-UX macros (grr).
14398
14399 2001-02-06  Allan Rae  <rae@lyx.org>
14400
14401         * LaTeX.h: Another bug fix.  Missing std:: this time.
14402
14403 2001-02-04  Allan Rae  <rae@lyx.org>
14404
14405         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14406         floats problem. I've left it commented out because it's not quite
14407         correct.  It should also test that the current object is a table or
14408         figure inset.  But I haven't gotten around to figuring out how to do
14409         that.  I *think* it'll be something like: "table" == inset.type()
14410
14411         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14412         bool.
14413
14414 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14415
14416         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14417         all the citation/databases/styles in the auxilary file.
14418         (run): Rerun latex if there was a babel language error.
14419
14420 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * text.C (Backspace): Preserve the font when changing newline char
14423         with a space.
14424         (BreakParagraph): If the cursor is before a space, delete the space.
14425
14426         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14427
14428 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14431         new argument (code).
14432         (ChangeCitationsIfUnique): New method.
14433
14434         * paragraph.C (GetPositionOfInset): Handle bibkey.
14435
14436 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * BufferView_pimpl.h: change type of Position::par_pos to
14439         LyXParagraph::size_type.
14440
14441 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14442
14443         * BufferView_pimpl.C (savePosition, restorePosition): Write
14444         messages to minibuffer.
14445
14446 2001-01-28  José Matos  <jamatos@fep.up.pt>
14447
14448         * buffer.C (makeDocBookFile): adds support for document language.
14449         A silly restriction on the name of LatexCommand types where removed.
14450         Added support for CDATA sections, allows to chars unescaped, used
14451         among others in code, to avoid escape < and >.
14452
14453 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14454
14455         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14456         saved positions instrad of a stack. Furthermore, a position is
14457         stored using paragraph id/paragraph position.
14458
14459         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14460         Remove LFUN_REF_BACK.
14461
14462 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * converter.C (dvipdfm_options): New method.
14465
14466 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14467
14468         * vspace.C (isValidLength): Fix for empty input string.
14469
14470 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14471
14472         * LyXAction.C (init): change description of LFUN_FIGURE to
14473         "Insert Graphics"
14474
14475 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14476
14477         * LaTeX.C: add using directive
14478
14479 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * MenuBackend.C (expand): Fix the sorting of the formats.
14482
14483 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * lyx_main.C: tiny error message fix
14486
14487 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14490         calling fl_initialize(). This fixes the problem with ',' as
14491         decimal separator in text files.
14492
14493 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14494
14495         * trans.C (process): Fix the keymap bug.
14496
14497 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14498
14499         * LaTeX.C (scanAuxFiles): New method. Provides support for
14500         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14501         (scanLogFile) Scan for "run BibTeX" messages.
14502
14503         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14504         OT1 font encoding. Also, load the aecompl package if the ae
14505         package is loaded.
14506
14507         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14508
14509 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * texrow.C (increasePos): turn two error messages into debug
14512         messages.
14513
14514 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * LaTeX.C (scanAux): Handle the \@input macro.
14517         (runBibTeX): Use scanAux().
14518
14519         * language.C (latex_options_): New field.
14520
14521         * LaTeXFeatures.C (getMacros): Add language macros.
14522
14523         * buffer.C (makeLaTeXFile): Small fix.
14524
14525 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14526
14527         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14528
14529         * text2.C: add a using directive.
14530
14531 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * BufferView2.C:
14534         * lyx_gui_misc.h:
14535         * lyxfr1.C:
14536         * lyxfunc.C: kill LyXBell.
14537
14538 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * text.C (IsBoundary): Remove the error message
14541
14542         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14543
14544         * lyxrc.C (setDefaults): Correct initialization value for
14545         font_norm_type.
14546
14547 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14548
14549         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14550         gotoError().
14551
14552         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14553         and GotoNextNote().
14554
14555         * src/LyXAction.C: Added reference-next.
14556
14557         * text.C (InsertChar): Use contains instead of strchr.
14558
14559         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14560
14561 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14564         alignment commands (when needed).
14565
14566         * text.C (InsertChar): Add ':' to number separator chars.