]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
90e892a4df339a4e5015a6dba1f62b8c8be213c1
[lyx.git] / src / ChangeLog
1 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * iterators.C: Remove the pimple, move the needed structures to
4         the header file. Create accessor for the positions stack.
5         (asPosIterator): remove function
6
7         * PosIterator.C (PosIterator): move constructors to top of file
8         (PosIterator): reimplement the constructor taking a ParIterator in
9         terms of setFrom.
10         (setFrom): new function
11         (operator!=): inline it
12
13 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
14
15         * lyxfind.C (replaceAll): use std::advance
16
17         * iterators.h: inherit from std::iterator.
18
19         * PosIterator.C (advance, distance): remove
20         * PosIterator.h: interit from std::iterator.
21
22 2004-01-26  André Pönitz  <poenitz@gmx.net>
23
24         * BufferView.[Ch]:
25         * BufferView_pimpl.[Ch]:
26         * InsetList.[Ch]:
27         * PosIterator.[Ch]:
28         * buffer.h:
29         * bufferview_funcs.C:
30         * cursor.[Ch]:
31         * cursor_slice.h:
32         * factory.[Ch]:
33         * iterators.[Ch]:
34         * lyxfind.C:
35         * lyxfunc.C:
36         * lyxtext.h:
37         * output_docbook.C:
38         * output_latex.C:
39         * output_linuxdoc.C:
40         * output_plaintext.C:
41         * paragraph.[Ch]:
42         * paragraph_funcs.[Ch]:
43         * paragraph_pimpl.[Ch]:
44         * rowpainter.C:
45         * tabular.C:
46         * tabular.h:
47         * text.C:
48         * text2.C:
49         * text3.C: more IU:  dumps most of the rest of the mathcursor
50     implementation into cursor.[Ch]; "globalize" a bit of it.
51
52 2004-01-25  Angus Leeming  <leeming@lyx.org>
53
54         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
55
56 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * LaTeXFeatures.h: add nice_ and nice() const
59         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
60
61 2004-01-20  André Pönitz  <poenitz@gmx.net>
62
63         * BufferView.[Ch]:
64         * BufferView_pimpl.C:
65         * PosIterator.C:
66         * bufferview_funcs.C:
67         * cursor.[Ch]:
68         * cursor_slice.[Ch]:
69         * factory.C:
70         * iterators.C:
71         * lyx_cb.C:
72         * lyxfind.C:
73         * lyxfunc.C:
74         * lyxtext.h:
75         * rowpainter.C:
76         * text.C:
77         * text2.C:
78         * text3.C:
79         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
80           LCursor and mathcursor parts to LCursor and InsetBase.
81
82 2004-01-15  André Pönitz  <poenitz@gmx.net>
83
84         * cursor_slice.[Ch]: add a few covienience functions
85
86         * funcrequest.[Ch]: remove BufferView * member
87
88         * BufferView_pimpl.C:
89         * cursor.C:
90         * factory.[Ch]:
91         * lyxfind.[Ch]:
92         * lyxfunc.C:
93         * lyxtext.h:
94         * text3.C:
95         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
96
97 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
98
99         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
100         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
101
102 2004-01-13  André Pönitz  <poenitz@gmx.net>
103
104         * textcursor.[Ch]:
105         * lyxtext.h: hide cursor and selection anchor behind accessor function
106
107         * BufferView.C:
108         * BufferView_pimpl.[Ch]:
109         * PosIterator.C:
110         * bufferview_funcs.C:
111         * cursor.h:
112         * lyxfind.C:
113         * lyxfunc.C:
114         * text.C:
115         * text2.C:
116         * text3.C:
117         * undo.C: adjust
118
119         * cursor.h:
120         * cursor_slice.[Ch]: some integer type changes for inset unification
121
122         * lyxcursor.[hC]: remove, it's CursorSlice now.
123
124         * Makefile.am:
125         * BufferView_pimpl.[Ch]:
126         * bufferview_funcs.C:
127         * cursor_slice.C:
128         * lyxtext.h:
129         * text.C:
130         * text2.C:
131         * text3.C:
132         * textcursor.[Ch]: adjust
133
134 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * text2.C (undoSpan): add and use
137         * text.C (breakParagraph): use undoSpan (fix bug 578)
138         * lyxtext.h: adjust
139
140 2004-01-08  Angus Leeming  <leeming@lyx.org>
141
142         * BufferView_pimpl.C (MenuInsertLyXFile):
143         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
144         * lyxfunc.C (menuNew, open, doImport):
145         FileFilterList change to the FileDialog open and save functions.
146
147 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
148
149         * ShareContainer.h: make isEqual and isUnique adaptable
150
151         * CutAndPaste.C: make resetOwnerAndChanges adaptable
152
153 2004-01-07  Angus Leeming  <leeming@lyx.org>
154
155         * LyXAction.C:
156         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
157
158         * BufferView_pimpl.C (dispatch): act on these LFUNs.
159
160         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
161         functions replacing find, replace and replaceAll.
162
163         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
164         LFUN_WORDFIND(FORWARD|BACKWARD).
165
166 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
167
168         * text.C (breakParagraph): remove an outdated #warning
169
170 2004-01-07  André Pönitz  <poenitz@gmx.net>
171
172         * lyxfind.C: somewhat clearer logic
173
174         * text.C: prevent crash in cursorX on unitialized row cache
175
176 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
177
178         * lyxcursor.[Ch] (operator>): add
179         * textcursor.C (selStart, selEnd): use std::min and std::max
180
181 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
182
183         * Chktex.C: include boost/format.hpp
184
185 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
186
187         * InsetList.C: replace functor MathcIt with adaptable functor
188         InsetTablePosLess
189         (insetIterator): modify accordingly
190
191         * BranchList.h: move the BranchNamesEqual functor here from...
192         * BranchList.C: ... to here
193
194         * BranchList.C: new BranchListEqual fuctor, use it. Remove
195         SameName and match.
196         (add): replace a finding loop with std::find_if.
197
198 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * output_docbook.C: moving LatexParam functionality into
201         .layout files
202
203 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
204
205         * buffer.C: increment format to 229.
206
207 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
208
209         * LaTeXFeatures.C:
210         * lyx_sty.[Ch]: remove minipageindent_def
211
212         * LyXAction.C:
213         * factory.C:
214         * lfuns.h:
215         * lyxfunc.C:
216         * text3.C: remove LFUN_INSET_MINIPAGE
217
218 2003-12-28  Angus Leeming  <leeming@lyx.org>
219
220         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
221
222 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * text2.C (setParagraph): fix off-by-one crash
225
226 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * output_docbook.C: header stuff for AGU
229
230 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * text2.C (redoCursor): remove
233         * text.C:
234         * text3.C:
235         * BufferView_pimpl.C: remove calls to redoCursor and
236         setCursor(cursor.par(), cursor.pos()) all around
237
238 2003-12-15  Angus Leeming  <leeming@lyx.org>
239
240         * buffer.C: up the format to 228.
241
242 2003-12-15  André Pönitz  <poenitz@gmx.net>
243
244         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
245         slices
246
247         * Makefile.am:
248
249         * BufferView_pimpl.C:
250         * cursor.[Ch]:
251         * lyxcursor.[Ch]:
252         * rowpainter.[Ch]:
253         * lyxtext.h:
254         * text.C:
255         * text2.C:
256         * text3.C: adjust
257
258 2003-12-15  Angus Leeming  <leeming@lyx.org>
259
260         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
261         than getFromGUIName to manipulate the color.
262
263 2003-12-14  Angus Leeming  <leeming@lyx.org>
264
265         * BranchList.[Ch]: minimize the API.
266         (Branch::getBranch, getColor): now return a 'const &'.
267         (Branch::setSelected) now returns a bool set to true if the
268         selection status changes.
269         (BranchList::clear, size, getColor, setColor, setSelected,
270         allBranches, allSelected, separator): removed.
271         (BranchList::find): new functions, returning the Branch with
272         the given name.
273         (BranchList::add, remove): return a bool indicating that
274         the operation was successful.
275
276         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
277         new InsetBranch::isBranchSlected member function.
278
279         * LColor.[Ch]: mimimize the API.
280         (fill): renamed as addColor and made private.
281         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
282         versions of these functions taking a string arg have been removed.
283
284         * bufferparams.C (readToken):
285         * lyxfunc.C (dispatch):
286         * lyxrc.C (read): changes due to the altered BranchList and
287         LColor APIs.
288
289         * factory.C (createInset, readInset): changes due to altered
290         InsetBranch c-tor.
291
292 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
293
294         * factory.C:
295         * lyxfunc.C: remove insetminipage. "minipage-insert"
296         now produces a frameless minipage box inset.
297
298 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
299
300         * textcursor.[Ch] (selStart,selEnd): add new methods
301         remove selection::start, end, use LyXCursor::operator<
302         * lyxcursor.[Ch] (operator<): add
303         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
304         * BufferView.[Ch] (unsetXSel): add
305         * text2.C (clearSelection): use unsetXSel,adjust
306         * text.C: adjust
307         * text3.C: adjust
308         * rowpainter.C: adjust
309         * bufferview_funcs.C (put_selection_at): adjust
310
311 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * BufferView_pimpl.C: small coord. correction
314
315 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
316
317         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
318         dragging over the splash screen.
319
320 2003-12-11  Angus Leeming  <leeming@lyx.org>
321
322         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
323         as it is now handled in LyXText::dispatch.
324
325         * text3.C (doInsertInset): remove a level of nesting.
326
327 2003-12-11  Angus Leeming  <leeming@lyx.org>
328
329         * factory.C (createInset): changes due to the changed interface to
330         InsetCommandMailer::string2params.
331
332 2003-12-10  Angus Leeming  <leeming@lyx.org>
333
334         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
335         'dialog-show-new-inset <inset name>'
336
337 2003-12-10  Angus Leeming  <leeming@lyx.org>
338
339         * buffer.C: up the format to 227.
340
341         * factory.C: the box inset is now identified simply by 'Box'.
342
343 2003-12-10  Angus Leeming  <leeming@lyx.org>
344
345         * buffer.C: up the format to 226.
346
347         * factory.C: the note inset is now identified simply by 'Note'.
348
349 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
350
351         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
352         when a pit is enough. Standarize a couple of loops.
353
354 2003-12-05  Angus Leeming  <leeming@lyx.org>
355
356         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
357         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
358         data to the re-worked "log" dialog.
359
360 2003-12-03  André Pönitz  <poenitz@gmx.net>
361
362         * PosIterator.C:
363         * iterators.C:
364         * lyxtext.h:
365         * output_latex.C:
366         * paragraph_funcs.C:
367         * text.C:
368         * text2.C: use Inset::getText instead of Inset::getParagraph
369
370 2003-12-03  André Pönitz  <poenitz@gmx.net>
371
372         * buffer.[Ch]:
373         * lyxtext.h:
374         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
375         InsetText::read() as LyXText::read()
376
377 2003-12-02  Angus Leeming  <leeming@lyx.org>
378
379         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
380         type. Add a comment in the implementation that the function uses
381         the stream's bad() function rather than fail() as the std::streams
382         would do.
383
384 2003-12-02  André Pönitz  <poenitz@gmx.net>
385
386         * lyxlex.[Ch]: make interface more similar to std::stream
387
388         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
389
390 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
393
394 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
395
396         * vspace.[Ch]: remove VSpace::NONE
397
398 2003-12-01  André Pönitz  <poenitz@gmx.net>
399
400         * buffer.[Ch]:
401         * lyxtext.h: move ParagraphList member to LyXText
402         rename LyXText::ownerParagraphs to LyXText::paragraph
403
404         * CutAndPaste.C:
405         * bufferview_funcs.C:
406         * iterators.[Ch]:
407         * lyx_cb.C:
408         * paragraph.C:
409         * rowpainter.C:
410         * tabular.C:
411         * text.C:
412         * text2.C:
413         * text3.C: adjust
414
415         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
416
417         * undo.C: fix cursor positioning
418
419 2003-12-01  John Levon  <levon@movementarian.org>
420
421         * BufferView_pimpl.C: fix a crash on exit with
422         a buffer open
423
424 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * BranchList.C: fix setSelected() method.
427
428 2003-11-28  André Pönitz  <poenitz@gmx.net>
429
430         * ParagraphParameters.[Ch]:
431         * ParameterStruct.h: remove space above/below from Paragraph to
432          InsetVSpace
433
434         * BufferView_pimpl.C:
435         * factory.C:
436         * lyxfunc.C:
437         * lyxtext.h:
438         * output_latex.C:
439         * paragraph.C:
440         * paragraph_funcs.C:
441         * rowpainter.[Ch]:
442         * text.C:
443         * text2.C:
444         * text3.C: adjust
445
446 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * factory.C: Syntax change for CharStyles
449
450 2003-11-28  André Pönitz  <poenitz@gmx.net>
451
452         * BufferView.[Ch]:
453         * BufferView.[Ch]:
454         * buffer.[Ch]:
455         * buffer.[Ch]: move LyXText member
456
457 2003-11-28  André Pönitz  <poenitz@gmx.net>
458
459         * BufferView.[Ch]: make LyXText * text a private member
460
461         * BufferView_pimpl.C:
462         * cursor.C:
463         * iterators.C:
464         * lyx_cb.C:
465         * lyxfind.C:
466         * lyxtext.h:
467         * rowpainter.[Ch]:
468         * text.C:
469         * text2.C:
470         * undo.C: adjust
471
472         * output_plaintext.C: cleanup
473
474 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * buffer.C:
477         * lyxtextclass.[Ch]: parametrize SGML document header
478
479 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * converter.[Ch]:
482         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
483         getFlavor().
484
485 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * text2.C (setFont): rework using PosIterator (no more recursive)
488         (setCharFont): no more needed
489         (setLayout): no more selection cursors fiddling (done by redoCursor)
490         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
491         destroy remaining ones)
492
493 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
496         * lyxtext.h: ditto
497         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
498         selection cursors
499         * lyxfunc.C: adjust
500         * text3.C: adjust + re-allow multi par depth changes
501         * textcursor.C: simplify a bit
502
503 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * src/buffer.C:
506         * src/lyxlayout.C:
507         * src/lyxlayout.h:
508         * src/lyxtext.h:
509         * src/output_docbook.C:
510         * src/output_latex.C:
511         * src/paragraph.C:
512         * src/paragraph.h:
513         * src/sgml.C:
514         * src/sgml.h:
515         * src/text2.C: Introducing a number of tags parametrizing various
516         XML formats that we may want to support
517
518 2003-11-25  André Pönitz  <poenitz@gmx.net>
519
520         * InsetList.[Ch] (begein, end): inline as suggested by profiler
521
522         * lyxtext.h (leftMargin/rightMargin): simplify interface
523
524         * rowpainter.C:
525         * text.C:
526         * text2.C:
527         * text3.C: adjust
528
529 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
530
531         * lyxfunc.C (dispatch): propogate the bibtex databases from the
532         master file to any child files. Fixes bug 546.
533
534 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
537
538 2003-11-24  André Pönitz  <poenitz@gmx.net>
539
540         * rowpainter.C: simplification
541
542         * text2.C (updateCounters): remove call to redoParagraph on
543         changed labels as this is far too expensive.
544
545 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * converter.C (convert): fix a crash: this function gets
548         called with buffer == 0 from importer code.
549
550 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * text3.C (cursorPrevious): make sure that we do not compare
553         iterators form different containers.
554         (cursorNext): ditto
555
556         * rowpainter.C (paintSelection): make sure that we do not compare
557         iterators from different containers.
558
559         * text3.C (dispatch): [PRIOR] make sure that we do not compare
560         iterators from different ParagraphList containers.
561         [NEXT] ditto
562
563         * text2.C (LyXText): change order of initialization slightly
564         (operator=): new function. copy all variables except cache_par_
565         (moveUp): make sure that we do not compare iterators from
566         different ParagraphList constainers.
567         (moveDown): ditto
568
569         * text.C (firstPar): new function
570         (lastPar): new function
571         (endPar): new function
572
573         * lyxtext.h: move things around and group public functions, public
574         variables, private functions, private variables
575
576 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
577
578         * factory.C: change call to InsetERT constructor to avoid
579         additional invocation of method status
580         * text2.C (toggleInset): remove redundant update() call
581         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
582         instead of a Bufferview pointer
583
584 2003-11-21  André Pönitz  <poenitz@gmx.net>
585
586         * rowpainter.C: simplification
587
588 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * text3.C (dispatch): make possible to extend a word/row selection
591         with the mouse
592
593 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * lyxtext.h: x0_,y0_ -> xo_,yo_
596         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
597         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
598         * rowpainter.C (paintRows): paint full paragraphs
599
600 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
601
602         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
603         screen coordinates)
604
605 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
606
607         * lyxtext.h: add x0_, y0_
608         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
609         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
610
611 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * text2.C (setCursorIntern): move the x_target update here *
614         * text3.C: change some bv() to true/false in calls to
615         cursorUp/Down/Right/Left
616         * cursor.C: use helper function.
617
618 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
621         * paragraph_funcs.[Ch]: correct comment
622         * rowpainter.C: do not paint selections away from bv->cursor()
623         Fix a long standing selection painting bug.
624         * text3.C: generalize mouse-selection code to LyXTexts other that
625         top one
626         * textcursor.C: do not use y coords if we can use par offsets
627
628 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
629
630         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
631         cursor position after e.g. inset insert)
632
633 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
634
635         * lyxfind.C (replace): adjust to locking removal + some
636         code simplification
637
638 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
639
640         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
641         of the path
642
643 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
644
645         * lyxlayout.[Ch]:
646         * output_docbook.C: XML sanitation: new layout
647         parameters InnerTag and CommandDepth
648
649 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * BufferView_pimpl.C:
652         * factory.C:
653         * text3.C: Fix the insertion and modification of button-style
654         insets
655
656 2003-11-13  André Pönitz  <poenitz@gmx.net>
657
658         * InsetList.[Ch]: remove deleteLyXText
659
660         * paragraph.[Ch]: cache beginOfBody position
661
662         * Bidi.C:
663         * text.C:
664         * text2.C:
665         * text3.C: remove superfluous update() calls
666
667         * vspace.C: cleanup
668
669 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
672         * BufferView.C (fitLockedInsetCursor): remove
673         * cursor.[Ch] (getDim): add
674         * text.C (getRowNearY): add faster version
675         * text3.C: remove some update calls
676
677 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
678
679         * LaTeXFeatures.C:
680         * LyXAction.C:
681         * MenuBackend.C:
682         * MenuBackend.h:
683         * dispatchresult.h:
684         * factory.C:
685         * lfuns.h:
686         * lyxfunc.C:
687         * lyxtextclass.C:
688         * lyxtextclass.h:
689         * text3.C: The Character Style /XML short element patch.
690
691 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
692
693         * text3.C:
694         * factory.C: Small step to solving 'unable to insert some insets'
695         problem
696
697 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * cursor.[Ch] (updatePos): new function for updating the y
700         position of the tip inset
701         * bufferview_funcs.C (put_selection_at):
702         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
703
704 2003-11-11  André Pönitz  <poenitz@gmx.net>
705
706         * text.C: remove big comment on invalid Paragraph pointers as it is
707         not valid anymore
708
709 2003-11-11  André Pönitz  <poenitz@gmx.net>
710
711         * text_funcs.[Ch]: merge with ...
712
713         * text.C: ... this
714
715         * lyxtext.h:
716         * text2.C:
717         * text3.C: adjust
718
719         * Makefile.am: remove text_funcs.[Ch]
720
721 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
722
723         * cursor.C (getPos): return absolute cached y coord
724
725         * BufferView_pimpl.C (fitCursor): new simplistic code
726         (workAreaDispatch): add a fitCursor call
727
728 2003-11-10  André Pönitz  <poenitz@gmx.net>
729
730         * BufferView.[Ch]:
731         * BufferView_pimpl.[Ch]: merge update() and updateInset()
732
733 2003-11-10  André Pönitz  <poenitz@gmx.net>
734
735         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
736         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
737         indicate that the cursor needs to leave an inset
738
739         * lyxtext.h: remove inset locking
740
741         * cursor.[Ch]: re-implement functionality provided by inset locking
742
743         * BufferView.[Ch]:
744         * BufferView_pimpl.[Ch]:
745         * LyXAction.C:
746         * bufferview_funcs.[Ch]:
747         * factory.C:
748         * funcrequest.[Ch]:
749         * iterators.C:
750         * lyx_cb.C:
751         * lyxfind.C:
752         * lyxfunc.C:
753         * text.C:
754         * text2.C:
755         * text3.C:
756         * undo.C: adjust
757
758 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
759
760         * PosIterator.[Ch]: replace the stack with a vector, add inset
761         accesor
762         * iterators.[C]: adjust
763
764 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
765
766         * lyxfind.C (replaceAll): mark the buffer dirty if something was
767         replaced
768         * paragraph_funcs.C (readParToken): put the correct id in the
769         error item, not the id of the top paragraph
770
771 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
772
773         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
774         * bufferview_funcs.C (put_selection_at): use the above
775
776 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
777
778         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
779
780 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * output_linuxdoc.h:
783         * output_plaintext.h:
784         * output.h:
785         * output_docbook.h: add #include statements
786
787 2003-11-05  José Matos  <jamatos@lyx.org>
788
789         * output_docbook.[Ch]:
790         * output_latex.[Ch]:
791         * output_linuxdoc.[Ch]:
792         * output_plaintext.[Ch]: New files for output formats.
793         * output.[Ch]: New file for helper functions.
794
795         * buffer.[Ch]:
796         * paragraph_funcs.[Ch]: output functions moved to new files.
797
798         * outputparams.h: rename of latexrunparams.h
799
800         * LaTeX.[Ch]:
801         * buffer.[Ch]:
802         * bufferlist.[Ch]:
803         * converter.[Ch]:
804         * exporter.C:
805         * paragraph.[Ch]:
806         * paragraph_funcs.[Ch]:
807         * paragraph_pimpl.[Ch]:
808         * tabular.[Ch]: rename ascii to plaintext
809         and LatexRunParams to OutputParams.
810
811 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
812
813         * iterators.[Ch] (text): require bv argument
814         * undo.C (recordUndo):
815         * lyxfunc.C (dispatch):
816         * bufferview_funcs.C (put_selection_at): adjust
817
818 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
819
820         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
821
822 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
823
824         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
825         nestings
826
827 2003-11-04  André Pönitz  <poenitz@gmx.net>
828
829         * cursor.[Ch]: restructure
830
831         * BufferView.[Ch]:
832         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
833
834         * iterators.[Ch] (asCursor): remove
835
836         * lfuns.h: remove LFUN_INSET_EDIT
837
838         * lyxfunc.C:
839         * tabular.C:
840         * text.C:
841         * text2.C:
842         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
843
844 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
845
846         * lyxfind.[Ch]: complete overhaul
847         * BufferView_pimpl.C:
848         * lyxfunc.C: adjust
849         * paragraph.[Ch] (insert): add
850
851 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
852
853         * BufferView.[Ch]:
854         * lyxtext.h:
855         * text.C: remove dead spellcheck code
856
857 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * dispatchresult.h: add a val setter
860
861         * cursor.C (dispatch): use a tempvar for data_[i]
862
863 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
864
865         * PosIterator.[Ch]: compile fix
866
867 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
868
869         * text.C (cursorPar): deactivate the cursor cache
870
871 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
872
873         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
874
875 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
876
877         * text3.C (dispatch): adjust for new DisptchResult semantics.
878
879         * lyxfunc.C (dispatch): handle update when return from
880         Cursor::dispatch, adjust for new DispatchResult semantics.
881
882         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
883         DispatchResult(true) mean to not update. Add class functions for
884         setting dispatched and update, as well as reading.
885
886         * cursor.C (dispatch): don't handle update here
887
888 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
889
890         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
891         * trans_mgr.C: adjust
892
893         * paragraph_funcs.C (readParToken): exception safety
894
895         * lyxvc.h: store the vcs pointer in a scoped_ptr
896         * lyxvc.C: adjust
897
898         * lyxsocket.C (serverCallback): exception safety
899
900         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
901
902         * ispell.C (clone): make it return a auto_ptr
903
904         * factory.C (createInset): exception safety
905         (readInset): exception safety
906
907         * bufferlist.C (newBuffer): exception safety
908
909         * Thesaurus.C (Thesaurus): use initialization for aik_
910
911         * MenuBackend.C (expandToc): exception safety.
912
913 2003-11-03  André Pönitz  <poenitz@gmx.net>
914
915         * buffer.C:
916         * buffer.h:
917         * bufferview_funcs.C: remove getInsetFromId()
918
919         * lyxcursor.[Ch]:
920         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
921
922         * lyxfunc.C:
923         * text2.C:
924         * text3.C: adjust
925
926 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
927
928         * PosIterator.C (distance, advance): new
929         * bufferview_funcs.[Ch] (put_selection_at): new
930         * iterators.[Ch] (lockPath): new
931
932 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
933
934         * iterators.[Ch] (asPosIterator): added
935         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
936         * PosIterator.[Ch]: added
937
938 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
939
940         * text3.C:
941         * lyxfunc.C:
942         * cursor.C (dispatch):
943         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
944
945         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
946         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
947         contructor, add a class function dispatched. Remove operator>=
948
949 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
950
951         * debug.C: only use the default constructor for debugstream
952         (lyxerr) here.
953
954         * main.C (main): include debug.h and setup the lyxerr streambuf
955         here.
956
957 2003-10-31  José Matos  <jamatos@lyx.org>
958
959         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
960
961         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
962         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
963         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
964         * paragraph_pimpl.C (simpleTeXSpecialC):
965         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
966         add LatexRunParams argument.
967
968         * exporter.C (Export): change call accordingly.
969
970         * latexrunparams.h: add new member to take care of the other backends.
971 2003-10-30  José Matos  <jamatos@lyx.org>
972
973         * buffer.C (makeLinuxDocFile, makeDocBookFile):
974         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
975         factorise code for paragraph output.
976         * buffer.[Ch]:
977         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
978         move functions.
979
980 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
981
982         * text3.C (dispatch):
983         * lyxfunc.C (dispatch):
984         * cursor.C (dispatch):
985         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
986
987         * dispatchresult.h: make the dispatch_result_t ctor explicit
988
989 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
990
991         * sgml.[Ch]:
992         * buffer.C: small refactoring of docbook stuff
993
994 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
995
996         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
997         meaning.
998
999 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1000
1001         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1002         operator dispatch_result_t, and operators for == != and >=
1003
1004         * cursor.C (dispatch): adjust for operator dispatch_result_t
1005         removal. comment out call to update
1006
1007         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1008
1009 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1010
1011         * text3.C:
1012         * text2.C:
1013         * text.C:
1014         * lyxtext.h:
1015         * lyxfunc.C:
1016         * cursor.C:
1017         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1018         (dispatch):
1019
1020         * dispatchresult.h: new file, DispatchResult broken out of
1021         insets/insetbase.h
1022
1023         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1024
1025 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1026
1027         * text.C (rowBreakPoint): put a hack inside #if 0
1028
1029 2003-10-28  André Pönitz  <poenitz@gmx.net>
1030
1031         * lyxtext.h:
1032         * metricsinfo.C:
1033         * paragraph_funcs.C:
1034         * rowpainter.C:
1035         * text.C:
1036         * text2.C: general cleanup (lots of small stuff)
1037
1038 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1039
1040         * text2.C (cursorEnd): simple fix to the "end key goes to one
1041         before the end on last row" bug
1042
1043 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1044
1045         * text.C (backspace): fix the "zombie characters"
1046
1047 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1048
1049         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1050
1051 2003-10-27  André Pönitz  <poenitz@gmx.net>
1052
1053         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1054
1055         * factory.C: handle new InsetPagebreak, InsetLine
1056
1057         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1058         and move handling into new InsetPagebreak, InsetLine
1059
1060         * BufferView_pimpl.C:
1061         * LyXAction.C:
1062         * ParagraphParameters.C:
1063         * ParameterStruct.h:
1064         * lyxfunc.C:
1065         * lyxtext.h:
1066         * paragraph.C:
1067         * paragraph.h:
1068         * paragraph_funcs.C:
1069         * paragraph_pimpl.C:
1070         * rowpainter.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C: adjust
1074
1075 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1076
1077         * text.C:
1078         * lyxrow_funcs.[Ch]:
1079         * Bidi.C:
1080         * paragraph.C:
1081         * lyxtext.h:
1082         * rowpainter.C:
1083         * text2.C:
1084         * text3.C: remove lastPos uses in favour of Row::endpos
1085
1086 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1087
1088         * undo.C (performUndoOrRedo): fix two crashes by setting a
1089         cursor by hand and reordering some calls. Use bv->lockInset instead
1090         of inset->edit because the latter loses cursor information
1091
1092 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1093
1094         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1095         by Martin
1096         (rowBreakPoint): fix width. change point to point + 1.
1097         Add a missing check.
1098
1099 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * MenuBackend.C:
1102         * lyxfunc.C: fix (at least partly) the problems
1103         with the Nav menu and headers inside branch insets
1104         reported by Kayvan
1105
1106 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1107
1108         * paragraph.C (getChar): add strong asserts
1109
1110         * lyxrow_funcs.C (lastPos): remove hideous hack
1111
1112         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1113         (fill): adjust to that (avoid an infinite loop)
1114
1115 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1116
1117         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1118
1119 2003-10-23  André Pönitz  <poenitz@gmx.net>
1120
1121         * RowList_fwd.h: change list<> to vector<> to gain speed
1122         after suggestion from Alfredo
1123
1124 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1125
1126         * lyxtext.h: move the bidi stuff from here...
1127         * text.C: and here
1128         * text2.C: and here
1129         * Bidi.[Ch]: ... to here
1130
1131 2003-10-23  André Pönitz  <poenitz@gmx.net>
1132
1133         * lyxtext.h:
1134         * text.C (isLastRow, isFirstRow): new functions
1135
1136         * paragraph.h: new width cache member
1137
1138         * rowpainter.C: replace RowList::iterator with Row & where possible
1139
1140         * lyxfunc.C: replace several view()->text with a single call
1141
1142         * toc.C: fix 'unused' warning
1143
1144 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1145
1146         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1147         when woring with stream::pos_type
1148         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1149
1150 2003-10-22  André Pönitz  <poenitz@gmx.net>
1151
1152         * lyxtext.h:
1153         * text.C: use Row & instead of RowList::iterator
1154
1155         * lyxrow.h: rename end() to endpos()
1156
1157         * rowpainter.C:
1158         * text.C:
1159         * text2.C: adjust
1160
1161 2003-10-22  Angus Leeming  <leeming@lyx.org>
1162
1163         * buffer.[Ch] (fully_loaded): new member function, returning true
1164         only when the file has been loaded fully.
1165         Used to prevent the premature generation of previews and by the
1166         citation inset to prevent computation of the natbib-style label.
1167
1168         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1169         templates are all set up.
1170
1171         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1172
1173 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1174
1175         * text.C: fixed an "oops" in the "is a bit silly"
1176         bug fix
1177
1178 2003-10-21  André Pönitz  <poenitz@gmx.net>
1179
1180         * FuncStatus.[Ch]: small stuff, whitespace
1181
1182         * lyxfont.[Ch]: operator<<() for debug reasons
1183
1184         * lyxfunc.C:
1185         * lyxrow_funcs.C:
1186         * lyxtext.h: whitespace, spelling
1187
1188         * paragraph.C: naming of variables
1189
1190         * text.C:
1191         * text2.C: small stuff
1192
1193
1194 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * text.C: (1) finish off the inset display() work;
1197         (2) fix the "is a bit silly" bug (accessing char
1198         past end of par).
1199
1200 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1201
1202         * text.C: re-introduce display() for insets, fixing the
1203         various bugs (stretch of line above, math inset
1204         positioning, ...)
1205
1206 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * text.C (rightMargin): remove spurious semicolon
1209
1210         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1211         1415)
1212
1213 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1214
1215         * text3.C: fix one crash due to wrong cursor def
1216
1217 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * vc-backend.C (scanMaster): make the regex static
1220
1221         * LaTeX.C (scanAuxFile): make the regexs static
1222
1223         * text3.C (doInsertInset, dispatch, dispatch):
1224         * text2.C (cursorUp, cursorDown):
1225         * text.C (selectNextWordToSpellcheck):
1226         * BufferView_pimpl.C (dispatch):
1227         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1228
1229 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * lyxsocket.C: include <cerrno>
1232
1233 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1234
1235         * lyxfunc.C (dispatch): remove textcache stuff
1236
1237         * bufferlist.C (release): remove textcache stuff
1238         (closeAll): ditto
1239
1240         * TextCache.C: delete file
1241         * TextCache.h: delete file
1242
1243         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1244
1245         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1246         delete of the bv_->text.
1247         (resizeCurrentBuffer): remove texcache stuff
1248         (workAreaResize): ditto
1249
1250 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1253         action.
1254
1255 2003-10-16  André Pönitz  <poenitz@gmx.net>
1256
1257         * lyxrow.[Ch]:
1258         * paragraph.h:
1259         * rowpainter.C:
1260         * text.C:
1261         * text2.C:
1262         * text3.C: speed up by storing y positions per paragraph plus per-row
1263         offset instead of having a 'full' y position in the row.
1264
1265 2003-10-15  André Pönitz  <poenitz@gmx.net>
1266
1267         * iterators.[Ch]:
1268         * iterators.[Ch]:
1269         * undo.[Ch]: make undo aware of inner insets
1270
1271 2003-10-14  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1274         static member functions LyX::ref() and LyX::cref.
1275         (lastfiles): new accessor functions for the new lastfiles_ member var.
1276         (addLyXView, views_): add a new LyXView to the list of views_.
1277         (updateInset): loop over all LyXViews to call their own updateInset
1278         member function, returning a pointer to the Buffer owning the inset.
1279
1280         * BufferView_pimpl.C (loadLyXFile):
1281         * MenuBackend.C (expandLastfiles):
1282         * bufferlist.C (MenuWrite, QuitLyX):
1283         lastfiles is no longer a global variable.
1284         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1285
1286         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1287         static function. Access through LyX::cref().emergencyCleanup().
1288
1289 2003-10-14  André Pönitz  <poenitz@gmx.net>
1290
1291         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1292
1293         * undo.[Ch]: restoring part of 'undo in insets'
1294
1295         * Makefile.am:
1296         * undo_funcs.[Ch]: merge with undo.[Ch]
1297
1298         * tabular.C: small cleansing stuff
1299
1300 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1301
1302         * paragraph_funcs.C (readParToken): report unknown insets as error
1303         boxes. Use the outer paragraph as location (also for unknown
1304         tokens).
1305
1306         * factory.C (readInset): do not abort on reading an unknown inset.
1307         Eat it and return 0.
1308
1309 2003-10-13  Angus Leeming  <leeming@lyx.org>
1310
1311         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1312
1313         * lyxrc.C: displayTranslator is now a function,
1314         declared in GraphicsTypes.h.
1315
1316 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1317
1318         * format.C: new placeholder $$a to pass the socket address.
1319
1320         * bufferlist.[Ch]: new function getBufferFromTmp.
1321
1322         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1323           files in the temporary dir.
1324
1325 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1326
1327         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1328
1329         * Makefile.am: add lyxsocket.[Ch].
1330
1331         * lyx_main.C (error_handler): handle SIGPIPE.
1332
1333 2003-10-13  André Pönitz  <poenitz@gmx.net>
1334
1335         * BufferView_pimpl.C:
1336         * lyxtext.h:
1337         * text.C:
1338         * text2.C:
1339         * text3.C:
1340         * undo_funcs.[Ch]: use paroffset_type instead of
1341           ParagraphList::iterators to prevent multiple conversion
1342           (and get a more robust interface)
1343
1344 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1347         * lyxtext.h: ditto
1348         * text3.C (dispatch): ditto
1349
1350 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1351
1352         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1353         move the onlyfile, use onlyfile instead of foundfile in a couple
1354         of places.
1355
1356         * DepTable.C (update): flush the error stream a bit more
1357
1358 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1359
1360         * lyxserver.C (callback): adjust
1361
1362         * lyxfunc.C (getStatus): add a missing brace in commented code
1363         (ensureBufferClean): reindent
1364         (dispatch): delete version taking a string
1365
1366 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * LaTeX.C (deplog): move found file handlig from here...
1369         (handleFoundFile): .. to new function here.
1370         (deplog): make sure to discover several files mentioned on the
1371         same log line.
1372
1373 2003-10-10  André Pönitz  <poenitz@gmx.net>
1374
1375         * lyxfunc.C:
1376         * lyxtext.h:
1377         * tabular.C:
1378         * text.C:
1379         * text2.C:
1380         * text3.C: fix some of the tabular crashes
1381
1382 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1383
1384         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1385
1386         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1387
1388 2003-10-09  André Pönitz  <poenitz@gmx.net>
1389
1390         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1391
1392         * BufferView.C:
1393         * BufferView_pimpl.C:
1394         * bufferview_funcs.C:
1395         * lyx_cb.C:
1396         * lyxcursor.C:
1397         * lyxfind.C:
1398         * lyxfunc.C:
1399         * lyxtext.h:
1400         * text.C:
1401         * text2.C:
1402         * text3.C:
1403         * text_funcs.[Ch]:
1404         * textcursor.[Ch]:
1405         * undo_funcs.C: adjust
1406
1407 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1408
1409         * text2.C (incrementItemDepth): new function, use a backtracking
1410         algorithm to discover the correct item depth.
1411         (resetEnumCounterIfNeeded): new function, use a backtracking
1412         algorithm to discover if counter reset is needed.
1413         (setCounter): use them. Simplify a bit. Add different labels for
1414         different item depths for itemize.
1415
1416         * paragraph.C (Paragraph): remove initialization of enumdepth
1417         (operator=): ditto
1418
1419         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1420         enumerate and itemize. Change the type of itemdepth to signed char.
1421
1422 2003-10-08  André Pönitz  <poenitz@gmx.net>
1423
1424         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1425           thing assignable.
1426         * text.C:
1427         * text2.C: adjust
1428
1429         * tabular.[Ch]: fix crash after 'row-insert'
1430
1431 2003-10-08  Angus Leeming  <leeming@lyx.org>
1432
1433         Fix doxygen warnings.
1434
1435         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1436         Remove CutAndPaste:: prefix from header file declaration.
1437
1438         * LColor.h (fill): remove LColor:: prefix from declaration.
1439
1440         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1441         use lyx::depth_type rather than Paragraph::depth_type so that
1442         header file and .C file match.
1443
1444         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1445
1446         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1447         * aspell.C: \file aspell_local.C -> \file aspell.C
1448         * gettext.C: \file gettext.C -> \file src/gettext.C
1449         * gettext.h: \file gettext.h -> \file src/gettext.h
1450         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1451         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1452         * text.C: \file text.C -> \file src/text.C
1453
1454         * toc.C: move comment so that doxygen is not confused.
1455
1456 2003-10-07  Angus Leeming  <leeming@lyx.org>
1457
1458         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1459
1460 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1461
1462         * aspell.C:
1463         * aspell_local.h: add forgotten std::string's.
1464
1465 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1466
1467         * LaTeXFeatures.C:
1468         * LyXAction.C:
1469         * factory.C:
1470         * lfuns.h:
1471         * lyxfunc.C:
1472         * text3.C: The Box patch. Fancybox support, minipage, parbox
1473
1474 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1475
1476         * CutAndPaste.h:
1477         * DepTable.h:
1478         * FloatList.h:
1479         * LaTeXFeatures.h:
1480         * ParagraphParameters.h:
1481         * TextCache.h:
1482         * Thesaurus.h:
1483         * bufferlist.h:
1484         * exporter.h:
1485         * importer.h:
1486         * lastfiles.h:
1487         * lyxfind.h:
1488         * lyxfont.h:
1489         * lyxlex.h:
1490         * lyxtextclasslist.h:
1491         * messages.h:
1492         * paragraph.h:
1493         * paragraph_pimpl.C:
1494         * textcursor.h: add <string> and other small fixes to make Lars'
1495         std::string patch compile with STLport.
1496
1497 2003-10-06  Angus Leeming  <leeming@lyx.org>
1498
1499         * LColor.h: Add missing #include <string>.
1500
1501 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1502
1503         * All most all file in all subdirs: Make <string> be the prefered
1504         way of getting to std::string, add using declarations.
1505
1506 2003-10-06  André Pönitz  <poenitz@gmx.net>
1507
1508         * metricsinfo.C: initialize LyXFont before changing attribute.
1509         (fixes the 'math in \emph is upright' bug)
1510
1511 2003-10-06  André Pönitz  <poenitz@gmx.net>
1512
1513         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1514
1515 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1516
1517         * graph.C:
1518         * paragraph_pimpl.C: Small fixes to build using STLport
1519
1520 2003-10-02  André Pönitz  <poenitz@gmx.net>
1521
1522         * lyxfunc.C:
1523         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1524
1525 2003-10-01  André Pönitz  <poenitz@gmx.net>
1526
1527         * factory.C: assert early
1528
1529 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * lyx_main.C: remove the global debug object
1532
1533         * debug.h: adjust for new debugstream
1534
1535         * debug.C: adjust for new debugstream and keep the global debug
1536         object here.
1537
1538 2003-09-22  Angus Leeming  <leeming@lyx.org>
1539
1540         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1541         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1542         an incomplete class LyXFont.
1543
1544 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1545
1546         * factory.C: bug fix in branches
1547
1548 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1549
1550         * lyxfunc.C (processKeySym): adjust
1551         (dispatch): adjust
1552         (dispatch): change arg name from ev to func, adjust
1553         (sendDispatchMessage): ditto
1554
1555         * lyx_main.C (defaultKeyBindings): adjust keybindings
1556         (deadKeyBindings): ditto
1557
1558         * kbsequence.C (addkey): return a FuncRequest
1559
1560         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1561
1562         * kbmap.C (bind): take a FuncRequest as arg, adjust
1563         (read): adjust
1564         (lookup): adjust
1565         (defkey): change to take a FuncRequest as arg, adjust
1566         (findbinding): take a FuncRequest as arg, adjust.
1567
1568         * funcrequest.h (operator=): added
1569
1570         * funcrequest.C (FuncRequest): default kb_action changed from
1571         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1572
1573         * buffer.C (dispatch): simplify
1574         (dispatch): adjust to take a FuncRequest as arg, adjust
1575
1576         * boost.C (assertion_failed): change assertion message slightly
1577
1578         * ToolbarBackend.C (read): simplify
1579
1580         * MenuBackend.C (binding): adjust call to findbinding, add a
1581         message if no binding is found.
1582         (read): simplify
1583         (expandToc): correct by adding a empty FuncRequest
1584
1585         * LyXAction.C: include <boost/assert.hpp>
1586         (isPseudoAction): delete function
1587         (LookupFunc): change name to...
1588         (lookupFunc): this. change return type to FuncRequest.
1589         (getActionName): take kb_action as arg, simplify
1590         (funcHasFlag): add an assert, simplify.
1591
1592 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * toc.C (action): return a FuncRequest, simplify
1595
1596         * lyxfunc.C (processKeySym): adjust
1597         (getStatus): delete version that takes an int.
1598         (getStatus): adjust
1599         (dispatch): delete version that takes action as int
1600         (dispatch): adjust
1601         (sendDispatchMessage): simplify and adjust
1602
1603         * funcrequest.C (getArg): take unsigned int as arg
1604
1605         * ToolbarBackend.C (read): adjust
1606         (add): delete version that takes func as a string.
1607         (getIton): take a FuncRequest as arg
1608
1609         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1610         action.
1611
1612         * MenuBackend.C (MenuItem): add a new construct that only takes a
1613         Kind, simplify the constructor use for submenus.
1614         (add): adjust
1615         (expandLastfiles): adjust
1616         (expandDocuments): adjust
1617         (expandFormats): adjust
1618         (expandFloatListInsert): adjust
1619         (expandFloatInsert): adjust
1620         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1621
1622         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1623         Remove class variables lyx_pseudo_map and lyx_arg_map
1624
1625         * LyXAction.C (searchActionArg): delete function
1626         (getPseudoAction): delete function
1627         (retrieveActionArg): delete function
1628         (LookupFunc): make it return kb_action, simplify.
1629         (getActionName): simplify
1630
1631         * factory.C (createInset): fix new bug
1632
1633 2003-09-19  Angus Leeming  <leeming@lyx.org>
1634
1635         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1636         masterFilename_ parameter in the include inset.
1637
1638         * factory.C (createInset): changes due to the changes to InsetInclude.
1639
1640 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1641
1642         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1643
1644 2003-09-18  Angus Leeming  <leeming@lyx.org>
1645
1646         * buffer.C:
1647         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1648         Inset::fillWithBibKeys.
1649         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1650
1651 2003-09-18  Angus Leeming  <leeming@lyx.org>
1652
1653         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1654         variables.
1655         (ctor): pass and store a 'Buffer const &'
1656         (buffer): new member function.
1657
1658         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1659         '*this' to the LaTeXFeatures ctor.
1660
1661 2003-09-18  Angus Leeming  <leeming@lyx.org>
1662
1663         * LColor.h:
1664         * lyxfont.C:
1665         * lyxfont.h:
1666         * lyxtext.h:
1667         * text.C: rename EnumLColor as LColor_color.
1668
1669 2003-09-18  Angus Leeming  <leeming@lyx.org>
1670
1671         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1672         remove #include "insets/insetbase.h" from cursor.h.
1673
1674 2003-09-18  Angus Leeming  <leeming@lyx.org>
1675
1676         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1677         InsetOld_code to remove #include "inset.h".
1678
1679         * iterators.C: add #include "insets/inset.h"
1680
1681 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * BufferView.C: remove more locking stuff that apparently doesn't
1684         do anything sensible.
1685
1686 2003-09-16  André Pönitz  <poenitz@gmx.net>
1687
1688         * paragraph.[Ch]:
1689         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1690           performance boost.
1691
1692 2003-09-16  Angus Leeming  <leeming@lyx.org>
1693
1694         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1695
1696         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1697         arg/return type.
1698
1699         * paragraph.h: remove #include "lyxfont.h". Forward declare
1700         LyXFont_size.
1701
1702 2003-09-16  Angus Leeming  <leeming@lyx.org>
1703
1704         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1705         of support/textutils.h.
1706         (isWord): move the contents of support/textutils.h's IsWordChar here.
1707
1708         * buffer.C:
1709         * lyxfind.C:
1710         * rowpainter.C:
1711         * text.C:
1712         * text2.C: add #include "paragraph.h".
1713
1714         * rowpainter.C:
1715         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1716
1717 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * main.C:
1720         * lyx_main.C:
1721         * lyx_cb.C:
1722         * buffer.C:
1723         * LaTeX.C: use namespace alias for lyx::support::os
1724
1725 2003-09-16  Angus Leeming  <leeming@lyx.org>
1726
1727         * bufferparams.C:
1728         * bufferview_funcs.C:
1729         * factory.C:
1730         * lyxfunc.C:
1731         * paragraph_pimpl.C:
1732         * rowpainter.C:
1733         * text.C: add #include "LColor.h".
1734
1735 2003-09-16  Angus Leeming  <leeming@lyx.org>
1736
1737         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1738         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1739         return LyXFont &.
1740         Store the FontBits::color variable as an int rather than as an
1741         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1742         file.
1743
1744         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1745         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1746         string calls together.
1747
1748         * lyxrc.C: add #include "LColor.h".
1749
1750 2003-09-15  Angus Leeming  <leeming@lyx.org>
1751
1752         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1753         a cow_ptr.
1754
1755 2003-09-15  Angus Leeming  <leeming@lyx.org>
1756
1757         * LColor.h: add an EnumLColor wrapper for LColor::color.
1758
1759         * lyxfont.[Ch] (color, setColor, realColor):
1760         * lyxtext.h, text.C (backgroundColor):
1761         pass EnumLColor args to/from the functions, rather than LColor::color
1762         ones.
1763
1764         * lyxfont.h:
1765         * lyxtext.h: forward declare EnumLColor.
1766
1767         * lyx_main.C: add #include "LColor.h".
1768
1769 2003-09-15  Angus Leeming  <leeming@lyx.org>
1770
1771         * .cvsignore: add lyx-gtk.
1772
1773 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * Chktex.C
1776         * LaTeX.C
1777         * LaTeXFeatures.C
1778         * ParagraphParameters.C
1779         * Spacing.C
1780         * buffer.C
1781         * bufferparams.C
1782         * bufferview_funcs.C
1783         * chset.C
1784         * counters.C
1785         * funcrequest.C
1786         * lyxfont.C
1787         * lyxgluelength.C
1788         * lyxlength.C
1789         * paragraph.C
1790         * paragraph_funcs.C
1791         * text3.C
1792         * vc-backend.C: remove usage of STRCONV
1793
1794 2003-09-15  Angus Leeming  <leeming@lyx.org>
1795
1796         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1797         explicitly define the color passed to the painter.
1798
1799 2003-09-15  Angus Leeming  <leeming@lyx.org>
1800
1801         * bufferparams.C (BufferParams): reorder member initializers to avoid
1802         compiler warning.
1803
1804 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1807         * text.C (updateRowPositions): remove an unusual nop
1808
1809 2003-09-12  André Pönitz  <poenitz@gmx.net>
1810
1811         * BufferView_pimpl.C:
1812         * Bullet.C:
1813         * layout.h:
1814         * lyxfunc.C:
1815         * lyxlayout.[Ch]:
1816         * lyxtextclass.C:
1817         * rowpainter.C:
1818         * text.C:
1819         * text2.C:
1820         * Counters.[Ch]: finish the 'automatic counters' job
1821
1822 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1823
1824         * aspell.C: include <boost/assert.cpp> (compile fix)
1825
1826 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1827
1828         * boost.C (assertion_failed): use lyx::support::abort instead of
1829         assert.
1830
1831 2003-09-10  Angus Leeming  <leeming@lyx.org>
1832
1833         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1834         with their _fwd progeny.
1835
1836 2003-09-09  Angus Leeming  <leeming@lyx.org>
1837
1838         134 files throughtout the source tree: replace 'using namespace abc;'
1839         directives with the appropriate 'using abc::xyz;' declarations.
1840
1841 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1842
1843         * boost.C (emergencyCleanup): moved here from LAssert.c
1844         (assertion_failed): new function, called by BOOST_ASSERT
1845
1846         * several files: change Assert to BOOST_ASSERT
1847
1848 2003-09-09  Angus Leeming  <leeming@lyx.org>
1849
1850         * buffer.[Ch]: Add an Impl class and move Buffer's member
1851         variables into it. As a result move several header files out of
1852         buffer.h.
1853
1854         Add header files to lots of .C files all over the tree as a result.
1855
1856 2003-09-09  Angus Leeming  <leeming@lyx.org>
1857
1858         * buffer.[Ch]: make Buffer's member variables private. Add
1859         accessor functions.
1860
1861         Lots of changes all over the tree as a result.
1862
1863 2003-09-08  Angus Leeming  <leeming@lyx.org>
1864
1865         * graph.C: #include <config.h>.
1866
1867 2003-09-08  Angus Leeming  <leeming@lyx.org>
1868
1869         * BranchList.C:
1870         * BufferView.C:
1871         * BufferView_pimpl.C:
1872         * CutAndPaste.C:
1873         * DepTable.C:
1874         * LaTeX.C:
1875         * LaTeXFeatures.C:
1876         * LyXAction.C:
1877         * MenuBackend.C:
1878         * TextCache.C:
1879         * aspell.C:
1880         * buffer.C:
1881         * bufferlist.C:
1882         * changes.C:
1883         * chset.C:
1884         * converter.C:
1885         * counters.C:
1886         * debug.C:
1887         * graph.C:
1888         * ispell.C:
1889         * lyx_cb.C:
1890         * lyxfind.C:
1891         * lyxfunc.C:
1892         * lyxlex_pimpl.C:
1893         * lyxrc.C:
1894         * lyxrow.C:
1895         * paragraph.C:
1896         * rowpainter.C:
1897         * texrow.C:
1898         * text.C:
1899         * text2.C:
1900         * toc.C: remove redundant using directives.
1901
1902 2003-09-07  Angus Leeming  <leeming@lyx.org>
1903
1904         * LaTeXFeatures.h: remove #include "support/types.h".
1905         * ToolbarBackend.h: remove #include <algorithm>.
1906         * changes.h: remove #include <ctime>.
1907         * debug.h: remove #include <iosfwd>.
1908         * graph.h: remove #include "support/std_string.h".
1909         * lyx_main.h: remove #include <csignal>.
1910         * lyxlex_pimpl.h: remove #include <fstream>.
1911         * sgml.h: remove #include <algorithm>, <utility>.
1912         * toc.h: remove #include "support/std_ostream.h".
1913         Add #include <iosfwd>.
1914
1915 2003-09-07  Angus Leeming  <leeming@lyx.org>
1916
1917         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1918
1919         * converter.h: forward declare LatexRunParams.
1920         * encoding.h: remove #include "lyxrc.h".
1921         * lyxtext.h: remove #include "LColor.h".
1922         * lyxtextclass.h: remove #include "support/types.h".
1923         * trans.h: remove #include "tex-accent.h".
1924         * trans_mgr.h: remove #include "tex-accent.h".
1925         * insets/inset.h: remove #include "support/types.h", <vector>.
1926         * insets/insetcollapsable.h: remove #include "LColor.h".
1927         * insets/insetinclude.h: remove #include "dimension.h".
1928         * insets/insetlatexaccent.h: remove #include "dimension.h".
1929         * insets/insetoptarg.h:: remove #include "insettext.h".
1930         * insets/insettext.h: remove #include "dimension.h",
1931         <boost/shared_ptr.hpp>
1932
1933         * insets/renderers.h: add #include "dimension.h".
1934         * insets/updatableinset.h: add #include "support/types.h".
1935
1936         * many .C files: Associated changes.
1937
1938 2003-09-06  Angus Leeming  <leeming@lyx.org>
1939
1940         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1941         one, inside testInvariant.
1942
1943         * PrinterParams.C: new file.
1944         * PrinterParams.[Ch]: move the function bodies out of line.
1945
1946 2003-09-06  Angus Leeming  <leeming@lyx.org>
1947
1948         * ParagraphParameters.h: forward declare ParameterStruct rather than
1949         including its header file.
1950         (depth): moved out-of-line.
1951
1952 2003-09-06  Angus Leeming  <leeming@lyx.org>
1953
1954         * BufferView_pimpl.h:
1955         * kbmap.h:
1956         * kbsequence.h:
1957         * lyxfunc.h: forward declare LyXKeySym rather than
1958         #include "frontends/LyXKeySym.h".
1959
1960         * BufferView_pimpl.C:
1961         * kbmap.C:
1962         * kbsequence.C:
1963         * lyxfunc.C: associated changes.
1964
1965 2003-09-06  Angus Leeming  <leeming@lyx.org>
1966
1967         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1968         As a result, can remove the #include "insets/inset.h" from BufferView.h
1969
1970 2003-09-06  Angus Leeming  <leeming@lyx.org>
1971
1972         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1973         As a result, can remove the #include "insets/inset.h" from BufferView.h
1974
1975 2003-09-06  Angus Leeming  <leeming@lyx.org>
1976
1977         * buffer_funcs.C:
1978         * buffer.h:
1979         * bufferlist.C:
1980         * BufferView.C:
1981         * bufferview_funcs.C:
1982         * BufferView_pimpl.C:
1983         * CutAndPaste.C:
1984         * lyx_cb.C:
1985         * lyxfunc.C:
1986         * paragraph.h:
1987         * ParagraphParameters.C:
1988         * tabular.C:
1989         * text3.C:
1990         * toc.C:
1991         * undo_funcs.C:
1992         * frontends/controllers/ControlDocument.C:
1993         * insets/insetcaption.C: rearrange the #includes into some sort of
1994         coherent order.
1995
1996         * buffer.h: remove #includes ErrorList.h, undo.h
1997
1998 2003-09-06  Angus Leeming  <leeming@lyx.org>
1999
2000         * support/types.h: add a 'depth_type' typedef, used to store the
2001         nesting depth of a paragraph.
2002
2003         * paragraph.h:
2004         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2005         defining explicitly.
2006
2007         * buffer.h:
2008         * paragraph_funcs.h:
2009         * ParagraphParameters.h:
2010         * sgml.h: use lyx::depth_type rather than Paragraph or
2011         ParameterStruct's depth_type.
2012
2013         * buffer.h
2014         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2015
2016         * BufferView.C:
2017         * BufferView_pimpl.C:
2018         * CutAndPaste.C:
2019         * ParagraphParameters.C:
2020         * buffer_funcs.C:
2021         * bufferlist.C:
2022         * bufferview_funcs.C:
2023         * lyx_cb.C:
2024         * lyxfunc.C:
2025         * tabular.C:
2026         * text3.C:
2027         * toc.C:
2028         * undo_funcs.C:
2029         * frontends/LyXView.C:
2030         * frontends/controllers/ControlDocument.C:
2031         * frontends/controllers/ControlErrorList.C:
2032         * insets/insetbibitem.C:
2033         * insets/insetbranch.C:
2034         * insets/insetcaption.C:
2035         * insets/insetcollapsable.C:
2036         * insets/insetenv.C:
2037         * insets/insetert.C:
2038         * insets/insetfloat.C:
2039         * insets/insetfoot.C:
2040         * insets/insetfootlike.C:
2041         * insets/insetnewline.C:
2042         * insets/insetquotes.C:
2043         * insets/insettabular.C:
2044         * insets/insettext.C:
2045         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2046
2047         * frontends/controllers/ControlChanges.C: #include "changes.h".
2048
2049 2003-09-06  Angus Leeming  <leeming@lyx.org>
2050
2051         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2052         than #including paragraph.h.
2053
2054         * ParagraphList.h:
2055         * RowList.h: deleted. Superfluous.
2056
2057         * CutAndPaste.h:
2058         * iterators.h:
2059         * lyxcursor.h:
2060         * lyxtext.h:
2061         * text_funcs.h:
2062         * undo.h:
2063         * undo_funcs.h:
2064         * insets/inset.h:
2065         * insets/insettext.h: use ParagraphList_fwd.h rather than
2066         ParagraphList.h.
2067
2068         * paragraph.h: don't forward declare ParagraphList.
2069
2070         * buffer.h:
2071         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2072         rather than ParagraphList.h. paragraph.h is still needed for the
2073         Paragraph::depth_type parameters.
2074
2075         * textcursor.h: enable it to compile stand-alone in light of the
2076         above changes.
2077
2078         * bufferview_funcs.C:
2079         * iterators.C:
2080         * lyxfunc.C:
2081         * lyxrow_funcs.C:
2082         * paragraph.C:
2083         * rowpainter.C:
2084         * text.C:
2085         * text2.C:
2086         * text3.C:
2087         * text_funcs.C:
2088         * textcursor.C:
2089         * undo.C:
2090         * frontends/controllers/ControlParagraph.C:
2091         * frontends/controllers/ControlTabular.C:
2092         * insets/insetmarginal.C:
2093         * insets/insetminipage.C:
2094         * insets/insetnote.C:
2095         * insets/insetoptarg.C: add header files needed to compile again.
2096
2097 2003-09-06  Angus Leeming  <leeming@lyx.org>
2098
2099         * RowList_fwd.h: new file, forward-declaring Row rather than
2100         #including lyxrow.h.
2101
2102         * lyxrow_funcs.h:
2103         * lyxtext.h:
2104         * paragraph.h:
2105         * insets/insettext.h: use it instead of RowList.h
2106
2107         * bufferview_funcs.C:
2108         * lyxfunc.C:
2109         * lyxrow_funcs.C:
2110         * paragraph.C:
2111         * rowpainter.C:
2112         * text.C:
2113         * text2.C:
2114         * text3.C: #include "RowList.h".
2115
2116 2003-09-05  Angus Leeming  <leeming@lyx.org>
2117
2118         * factory.C (createInset):
2119         * vspace.C (c-tor): replace sscanf call with an istringstream.
2120         * ispell.C: re-add missing HP/UX headers.
2121         * lyxserver.C: re-add missing  os2 headers.
2122
2123 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2124
2125         * BranchList.C:
2126         * graph.C:
2127         * ispell.C:
2128         * lastfiles.C:
2129         * lyx_cb.C:
2130         * lyxserver.C:
2131         * texrow.C:
2132         * text3.C: re-add missing system headers, needed for 2.95.2.
2133
2134 2003-09-05  Angus Leeming  <leeming@lyx.org>
2135
2136         Changes most place everywhere due to the removal of using directives
2137         from support/std_sstream.h.
2138
2139 2003-09-05  Angus Leeming  <leeming@lyx.org>
2140
2141         Replace LString.h with support/std_string.h,
2142         Lsstream.h with support/std_sstream.h,
2143         support/LIstream.h with support/std_istream.h,
2144         support/LOstream.h with support/std_ostream.h.
2145
2146         Changes resulting throughout the tree.
2147
2148 2003-09-05  Angus Leeming  <leeming@lyx.org>
2149
2150         * sgml.h: ensure that the header file can be compiled stand-alone.
2151         * *.C: strip out redundant #includes. (320 in total.)
2152
2153 2003-09-04  Angus Leeming  <leeming@lyx.org>
2154
2155         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2156         here (from getPackages).
2157
2158         * debug.[Ch]: add a new EXTERNAL tag.
2159
2160 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2161
2162         * text2.C (cursorEnd): simplify
2163         (setCursor): adjust
2164         (getColumnNearX): adjust
2165
2166         * text.C (computeBidiTables): adjust
2167         (fill): adjust
2168
2169         * rowpainter.C (paintChars): adjust
2170         (paintSelection): adjust
2171         (paintChangeBar): adjust
2172         (paintText): adjust
2173
2174         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2175         lastPos instead.
2176         (numberOfSeparators): adjust
2177
2178 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2179
2180         * LyXAction.C:
2181         * box.[Ch]:
2182         * lfuns.h:
2183         * lyxfunc.C:
2184         * text3.C: Restricts the mouse click functionality
2185         of insets like bibtex, include, toc and floatlist to the visible
2186         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2187         up the dialogs. Cursor has to be in front of the inset (i.e.
2188         start of row) for this to function.
2189
2190 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2191
2192         * bufferview_funcs.C (currentState): output row information
2193
2194 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2195
2196         * bufferview_funcs.C (currentState): output paragraph position
2197
2198 2003-09-04  Angus Leeming  <leeming@lyx.org>
2199
2200         * FloatList.h: move out #include "Floating.h".
2201         * LaTeX.h: move out #include "DepTable.h".
2202         * LyXAction.h: move out #include "funcrequest.h".
2203         * buffer.h: move out #include "author.h", "iterators.h".
2204         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2205         * lyx_main.h: move out #include "errorlist.h".
2206         * lyxfunc.h: move out #include "FuncStatus.h".
2207         * lyxtext: move out #include "lyxcursor.h".
2208         * paragraph_pimpl.h: move out #include "counters.h".
2209
2210 2003-09-03  Angus Leeming  <leeming@lyx.org>
2211
2212         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2213         preamble_snippets list, enabling us to add snippets to the preamble
2214         only if the snippet was not there already.
2215
2216 2003-09-04  Angus Leeming  <leeming@lyx.org>
2217
2218         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2219
2220 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2221
2222         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2223         update
2224
2225 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2226
2227         * BranchList.C: point fix, earlier forgotten
2228
2229 2003-09-02  Angus Leeming  <leeming@lyx.org>
2230
2231         * box.C (contains): renamed from 'contained' after a fantastic
2232         amount of hot air.
2233
2234 2003-09-02  John Levon  <levon@movementarian.org>
2235
2236         * BufferView.C:
2237         * lyxcursor.h:
2238         * lyxcursor.C:
2239         * lyxfunc.C:
2240         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2241
2242 2003-09-02  John Levon  <levon@movementarian.org>
2243
2244         * text2.C: simplification of cursorEnd(), including partial
2245         fix for bug 1376
2246
2247 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * buffer.C (readFile): add a space
2250
2251 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2252
2253         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2254
2255 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2256
2257         * buffer.C (readFile): new function, take a filename and a
2258         ParagraphList::iterator
2259         (readFile): adjust
2260         (readFile): adjust, make it private. don't use setStream, make
2261         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2262         always contain the filename.
2263
2264         * BufferView.C (insertLyXFile): simplify and make it work for
2265         gzipped files.
2266
2267 2003-08-30  John Levon  <levon@movementarian.org>
2268
2269         * Makefile.am: fix dist (from Kayvan)
2270
2271 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * most files: change to use const Buffer refs
2274
2275 2003-08-27  André Pönitz  <poenitz@gmx.net>
2276
2277         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2278         on top of ownerPar().
2279
2280 2003-08-27  John Levon  <levon@movementarian.org>
2281
2282         * funcrequest.C: properly initialise POD members
2283
2284 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2285
2286         * lyxtext.h (top_y): move top_y from here
2287         * text.C:
2288         * text2.C:
2289         * text3.C:
2290         * BufferView.[Ch]:
2291         * BufferView_pimpl.[Ch]: to here
2292         * frontends/screen.C:
2293         * insets/insettabular.C:
2294         * insets/insettext.C: adjust
2295         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2296
2297 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2298
2299         * BufferView.[Ch]:
2300         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2301
2302 2003-08-26  André Pönitz  <poenitz@gmx.net>
2303
2304         * paragraph_func.[Ch] (outerPar): new function
2305
2306         * paragraph.C:
2307         * paragraph_funcs.C:
2308         * paragraph_funcs.h:
2309         * paragraph_pimpl.C:
2310         * text2.C: remove Inset::par_owner
2311
2312 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2313
2314         * lyxrow_funcs.C:
2315         * lyxtext.h:
2316         * text.C:
2317         * text2.C: eliminates the needFullRow/display() stuff
2318         altogether, putting the logic in metrics/draw in the insets.
2319
2320 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2321
2322         * text2.C (redoParagraphInternal, redoParagraphs):
2323         * text.C (redoParagraph): add a call to updateRowPositions at the
2324         end of each 'metrics-like' call. Remove all others.
2325         (getRow): remove the 'y-computing' version.
2326         (getRowNearY): do not compute nor return the real y. Solve the
2327         'y < 0' problem and simplify.
2328
2329 2003-08-22  Angus Leeming  <leeming@lyx.org>
2330
2331         * *.[Ch]: clean-up of licence and author blurbs.
2332         Also move config.h out of a few .h files and into a few .C files.
2333
2334 2003-08-22  André Pönitz  <poenitz@gmx.net>
2335
2336         * lyxrow.[Ch]: add x_ and *fill_ members
2337
2338         * lyxtext.h:
2339         * text.C:
2340         * rowpainter.C:
2341         * text2.C: adjust/remove prepareToPrint() calls
2342
2343 2003-08-22  André Pönitz  <poenitz@gmx.net>
2344
2345         * lyxrow.[Ch]: add  end_ member
2346
2347         * lyxrow_funcs.C: use LyXRow::end_
2348
2349         * lyxtext.h (singleWidth): add LyXFont parameter
2350
2351         * rowpainter.C:
2352         * text2.C: adjust LyXText::singleWidth() calls
2353
2354         * text.C (redoParagraph): simplify row breaking logic
2355
2356
2357 2003-08-19  André Pönitz  <poenitz@gmx.net>
2358
2359         * funcrequest.C: initialize button_ member
2360
2361         * text3.C:
2362         * rowpainter.[Ch]: interface consolidation
2363
2364 2003-08-18  André Pönitz  <poenitz@gmx.net>
2365
2366         * BufferView.C:
2367         * BufferView_pimpl.C:
2368         * lyxfind.C:
2369         * paragraph_funcs.C:
2370         * rowpainter.C:
2371         * text3.C: remove LyXScreen::draw() and fitCursor calls
2372
2373         * BranchList.h: remove spurious semicolons
2374
2375         * MenuBackend.C: fix branchlist related crash
2376
2377 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2378
2379         * BranchList.[Ch]:
2380         * InsetList.[Ch]:
2381         * LColor.[Ch]:
2382         * LyXAction.C:
2383         * Makefile.am:
2384         * MenuBackend.[Ch]:
2385         * bufferparams.[Ch]:
2386         * factory.C:
2387         * lfuns.h:
2388         * lyxfunc.C:
2389         * text3.C: implements the 'branch inset'
2390         idea. This allows the output of various versions of a document
2391         from a single source version, selectively outputing or suppressing
2392         output of parts of the text.
2393         This implementation contains a 'branch list editor' in a separate
2394         tab of the document settings dialog. Branches are user definable
2395         and have a "display colour" to distinguish them on-screen.
2396
2397         ColorHandler was somewhat cleaned up.
2398         (1) make possible a dynamically growing LColor list by allowing
2399         the graphic context cache to grow along (vector);
2400         (2) eliminate an IMHO unnecessary step in colour allocation.
2401
2402 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2403
2404         * BufferView_pimpl.C: compile fix
2405
2406 2003-08-15  André Pönitz  <poenitz@gmx.net>
2407
2408         * rowpainter.C: remove extra metrics calls
2409
2410         * lyxtext.h: merge the two constructors into a single one,
2411           pass reference to owner's par list
2412
2413         * BufferView_pimpl.C:
2414         * text.C:
2415         * text2.C: adjust
2416
2417 2003-08-15  André Pönitz  <poenitz@gmx.net>
2418
2419         * lyxrow_funcs.[Ch]:
2420         * lyxtext.h:
2421         * paragraph.h:
2422         * paragraph_funcs.C:
2423         * rowpainter.C:
2424         * text.C:
2425         * text2.C:
2426         * text3.C:
2427         * text_funcs.C: split LyXText::rowlist_ into individual
2428         Paragraph::rows_ chunks
2429
2430         * BufferView.[Ch]:
2431         * BufferView_pimpl.[Ch]:
2432         * lyxfind.C:
2433         * lyxtext.h:
2434         * text3.C: remove toggleSelection()
2435
2436 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2437
2438         * bufferlist.C: beautify two alerts (shorter text of buttons)
2439         * buffer.C: Remove redundant ' ' from message
2440         * tabular.h:
2441         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2442         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2443         rename VALIGN_CENTER to VALIGN_MIDDLE
2444
2445 2003-08-11  André Pönitz  <poenitz@gmx.net>
2446
2447         * lyxtext.h (getPar):
2448         * text.C: new function
2449
2450 2003-08-11  André Pönitz  <poenitz@gmx.net>
2451
2452         * Makefile.am:
2453         * tracer.[Ch]: remove unneeded files
2454
2455         * InsetList.[Ch]: remove resizeInsetsLyXText()
2456
2457         * lyxtext.h:
2458         * text.C:
2459         * text2.C:
2460         * text3.C: merge insertParagraphs() and appendParagraph()
2461         remove breakAgain(), update()
2462
2463         * BufferView_pimpl.[Ch]:
2464         * bufferview_funcs.[Ch]:
2465         * lyxfunc.C:
2466         * paragraph.[Ch]:
2467         * rowpainter.C:
2468         * tabular.C: adjust after text & InsetList changes.
2469
2470 2003-08-08  André Pönitz  <poenitz@gmx.net>
2471
2472         * text.C (insertChar, backspace): replace rowlist fiddling
2473         with rebreak of full par
2474
2475         * lyxtext.h:
2476         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2477         checkParagraph, updateInset): removed
2478
2479 2003-08-07  André Pönitz  <poenitz@gmx.net>
2480
2481         * paragraph.C:
2482         * text3.C: merge some LFUN handlers, remove dead code
2483
2484 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2487
2488 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2489
2490         * text2.C (DEPM): fix part of bug 1255 and 1256
2491
2492 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * BufferView_pimpl.C (workAreaDispatch): change to use
2495         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2496         that are no mouse related.
2497
2498 2003-08-05  André Pönitz  <poenitz@gmx.net>
2499
2500         * BufferView.[Ch]:
2501         * BufferView_pimpl.[Ch]:
2502         * bufferview_funcs.C:
2503         * text2.C:
2504         * text3.C: rip out "deep update"
2505
2506         * textcursor.[Ch] (last_sel_cursor): remove unused member
2507
2508 2003-08-04  André Pönitz  <poenitz@gmx.net>
2509
2510         * BufferView.[Ch]:
2511         * BufferView_pimpl.[Ch]:
2512         * ParagraphParameters.C:
2513         * bufferview_funcs.C:
2514         * lyx_cb.C:
2515         * lyxfind.C:
2516         * lyxfunc.C:
2517         * text.C:
2518         * text2.C:
2519         * text3.C: replace "complicated" BufferView::update(...) calls with
2520         simpler ones.
2521
2522         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2523
2524 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2525
2526         * Makefile.am (lyx_SOURCES): add paper.h
2527
2528 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2529
2530         * Makefile.am: move things around so that both lyx-qt and
2531         lyx-xforms can be built (according to --with-frontend). Then lyx
2532         is a symbolic link to lyx-[firstfrontend]
2533
2534 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2535
2536         * Always use std::endl with lyxerr
2537
2538 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2539
2540         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2541
2542 2003-08-01  André Pönitz  <poenitz@gmx.net>
2543
2544         * BufferView.[Ch]:
2545         * BufferView_pimpl.[Ch]:
2546         * lyxfunc.C:
2547         * text3.C: merge BufferView::repaint() and BufferView::update()
2548
2549 2003-08-01  José Matos  <jamatos@lyx.org>
2550
2551         * buffer.[Ch]: file_format is no longer a buffer data element.
2552
2553 2003-08-01  André Pönitz  <poenitz@gmx.net>
2554
2555         * BufferView.C:
2556         * lyxtext.h:
2557         * text.C:
2558         * text2.C: make redoParagraph more independent of current cursor
2559
2560         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2561         * text.C:
2562         * text2.C: remove unneeded members
2563
2564 2003-07-30  André Pönitz  <poenitz@gmx.net>
2565
2566         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2567
2568         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2569           create a single function...
2570
2571         * paragraph_funcs.C (moveItem): ... here.
2572
2573         * text.C:
2574           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2575
2576 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2577
2578         * LColor.[Ch]: Add comment and greyedout logical colors.
2579
2580 2003-07-30  André Pönitz  <poenitz@gmx.net>
2581
2582         * tabular.C: don't use Assert too heavily. This crashes where it
2583           shouldn't
2584
2585 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2588         is disabled (bug 1232)
2589
2590 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2591
2592         * factory.C: limited 'arg' scope
2593
2594 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2595
2596         * factory.C: fixed Note submenu issues
2597
2598 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2599
2600         * factory.C: submenu for Note/Comment/Greyedout
2601
2602 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * lyx_main.C (LyX):
2605         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2606
2607 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * LaTeXFeatures.C:
2610         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2611         greyedout. Patch provided by Jürgen Spitzmüller.
2612
2613 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * kbmap.C (read): fix error message when reading bind files
2616
2617 2003-07-29  Angus Leeming  <leeming@lyx.org>
2618
2619         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2620         certainly does not do what it purports to do. I am doing it, and
2621         us, a favour by killing it.
2622
2623 2003-07-28  José Matos  <jamatos@lyx.org>
2624
2625         * buffer.C (readBody, do_writeFile):
2626         * paragraph.C(readParagraph): \end_document replaces \the_end.
2627
2628 2003-07-29  André Pönitz  <poenitz@gmx.net>
2629
2630         * BufferView.[Ch]:
2631         * BufferView_pimpl.[Ch]:
2632         * lyxfunc.C:
2633         * text2.C:
2634         * text3.C:
2635         * textcursor.[Ch]: remove toggleToggle & Co
2636
2637 2003-07-28  José Matos  <jamatos@fep.up.pt>
2638
2639         * buffer.C (readParagraph):
2640         * params_func (readParToken, readParagraph):
2641         * paragraph.C (write): \layout -> \begin_layout.
2642
2643 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * lyxlex_pimpl.C (setFile): clean up slightly.
2646
2647         * bufferparams.h: add compressed var
2648
2649         * buffer_funcs.C (readFile): adjust for LyXLex change
2650         (newFile): ditto + simplify
2651
2652         * buffer.C (writeFile): handle writing of compressed files
2653
2654         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2655         Check if the file is compressed and set a bufferparm if so.
2656
2657         * Makefile.am (lyx_LDADD): remove explicit -lz
2658
2659 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2660
2661         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2662         makeDocBookFile): put the real LyX version in the first line of
2663         the file
2664
2665         * version.h:
2666         * version.C.in: remove lyx_docversion
2667
2668         * tabular.C (write_attribute): add a template-based version to
2669         write enums properly
2670
2671 2003-07-28  André Pönitz  <poenitz@gmx.net>
2672
2673         * lyxtext.h:
2674         * text.C:
2675         * text2.C:
2676         * text3.C: use doubles again for x-coordinates. They are needed.
2677
2678 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * messages.C (getLocaleDir): use lyx_localedir()
2681
2682         * lyxlex_pimpl.C (setFile): compress stuff
2683
2684         * buffer.C (writeFile): add some compression stuff
2685         (do_writeFile): new func, dont call expliti close... will this
2686         breake anything?
2687
2688         * Makefile.am (lyx_LDADD): add -lz
2689
2690 2003-07-28  José Matos  <jamatos@fep.up.pt>
2691
2692         * buffer.C: increment file format.
2693         * paragraph_funcs (readParagraph, readParToken):
2694         * paragraph.C (readParagraph): add \end_layout.
2695
2696 2003-07-27  Angus Leeming  <leeming@lyx.org>
2697
2698         * Makefile.am: remove special casing for configure-time setting of
2699         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2700
2701         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2702         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2703
2704 2003-07-26  André Pönitz  <poenitz@gmx.net>
2705
2706         * paragraph_func.[Ch]:
2707         * paragraph.C (realizeFont): inline it whereever it is used
2708
2709         * rowpainter.C:
2710         * text.C:
2711         * text2.C:
2712         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2713
2714
2715 2003-07-26  André Pönitz  <poenitz@gmx.net>
2716
2717         *       lyxtext.h:
2718         * text.C:
2719         * text2.C: get rid of LyXText::need_break_row
2720
2721 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * toc.[Ch]: put namespace toc inside namespace lyx
2724
2725         * MenuBackend.C (expandToc2): adjust for lyx::toc
2726         (expandToc): ditto
2727
2728         * lyxfunc.C (dispatch): adjust for lyx::find
2729
2730         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2731         lyx::find instead. Reorganize a bit.
2732         (LyXReplace): rename to replace
2733         (LyXFind): rename to find
2734
2735         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2736         (dispatch): ditto
2737
2738 2003-07-26  André Pönitz  <poenitz@gmx.net>
2739
2740         * text.C (setHeightOfRow): restrict scope of temporary variable
2741
2742         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2743           code (never has been used?)
2744
2745 2003-07-27  Asger Alstrup  <alstrup@local>
2746
2747         * text.C (fill): Optimise algorithm to exploit that we can reuse
2748         the LyXFont for many characters.
2749         (setHeightOfRow): Same thing.
2750         (rowBreakPoint): Same thing.
2751
2752 2003-07-26  Asger Alstrup  <alstrup@local>
2753
2754         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2755
2756         * text.C (singleWidth): Spurious font copying in hot-spot
2757         singleWidth avoided. Reorder tests for arabic for efficiency.
2758
2759         * text.C (fill): handle empty paragraphs better.
2760
2761 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2762
2763         * ispell.C:
2764         * encoding.h: add includes
2765
2766         * lyxrc.C: remove reading of bind files
2767
2768         * lyx_main.C (init): setup bindings and menus only if we have a
2769         gui.
2770
2771         * kbmap.C (read): new method. Do the actual reading of bind
2772         files.
2773
2774         * converter.C (dvipdfm_options):
2775         * bufferparams.C:
2776         * lyxrc.C (read):
2777         (output): adapt PAPER_* enums.
2778
2779         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2780
2781         * bufferparams.h: remove paper-related enums from there
2782
2783         * paper.h: New file. A trivial header file to hold paper-related
2784         enums. It should later expand to contain many paper-related
2785         horrors access.
2786
2787         * lyxrc.C: declare extern displayTranslator
2788
2789 2003-07-27  José Matos  <jamatos@fep.up.pt>
2790
2791         * tabular.[Ch] (linuxdoc): add support for tables and figures
2792         (linuxdoc).
2793
2794 2003-07-27  José Matos  <jamatos@fep.up.pt>
2795
2796         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2797         consistency in both functions.
2798         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2799
2800 2003-07-26  Asger Alstrup  <alstrup@local>
2801
2802         * rowpainter.C (paintRows): Change algorithm to work directly on
2803         the insets rather than asking every character in the document
2804         whether its an inset.
2805
2806 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2807
2808         * buffer.C (openFileWrite): factorize some code
2809
2810 2003-07-26  Angus Leeming  <leeming@lyx.org>
2811
2812         * lyx_cb.C:
2813         * lyx_main.[Ch]: replace occurances of system_tempdir with
2814         os::getTmpDir().
2815
2816 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * rename Inset to InsetOld
2819
2820 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2821
2822         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2823         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2824         which I think is a bit clearer. EDIT is gone, since it was
2825         premature optimisation, and broken for mathed anyway.
2826         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2827         with cursor positioning in insets as well (math insets still do not
2828         work, but that's a different story anyway.) It mysteriously
2829         crashes sometimes with undo in the first paragraph, but I'm fairly
2830         confident that this is a compiler bug.
2831
2832 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2833
2834         * paragraph.C (Paragraph): adjust for new clone return type
2835         (operator==): ditto
2836         (copyIntoMinibuffer): ditto
2837
2838 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2839
2840         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2841         by not having a special case, and always doing a full rebreak of
2842         the document after undo.
2843
2844 2003-07-23  Angus Leeming  <leeming@lyx.org>
2845
2846         * factory.C (createInset): InsetExternal::setParams now takes a
2847         Buffer const * arg.
2848
2849 2003-07-23  Angus Leeming  <leeming@lyx.org>
2850
2851         * factory.C (createInset): changed interface to the external and
2852         graphics mailers' string2params functions.
2853
2854 2003-07-23  Angus Leeming  <leeming@lyx.org>
2855
2856         * factory.C (createInset): pass a
2857         Buffer const * parameter to InsetExternalMailer's string2params.
2858
2859 2003-07-22  John Levon  <levon@movementarian.org>
2860
2861         * Thesaurus.h: include the right aiksaurus header
2862
2863 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * MenuBackend.C (expand): check menu shortcuts unconditionally
2866
2867 2003-07-21  Angus Leeming  <leeming@lyx.org>
2868
2869         * factory.C (createInset): pass a
2870         buffer_path parameter to InsetGraphicsMailer's string2params.
2871
2872 2003-07-21  Angus Leeming  <leeming@lyx.org>
2873
2874         * BufferView_pimpl.C (buffer):
2875         * buffer.C (d-tor):
2876         * lyx_main.C (LyX):
2877         * lyxfunc.C (dispatch):
2878         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2879         rather than the grfx shortcut.
2880
2881 2003-07-21  André Pönitz  <poenitz@gmx.net>
2882
2883         * rowpainter.C: remove unused variables
2884
2885         * tabular_funcs.C:
2886         * tabular_funcs.h: move to tabular.C
2887         * Makefile.am: adjust
2888
2889         * tabular.[Ch]: basic optical cleaning
2890
2891         * author.h: pass references, not values
2892
2893 2003-07-18  André Pönitz  <poenitz@gmx.net>
2894
2895         * lyxtext.h:
2896         * metricsinfo.C:
2897         * metricsinfo.h:
2898         * rowpainter.C:
2899         * text.C:
2900         * text2.C:
2901         * text3.C: two-phase drawing for InsetText and InsetTabular
2902         some float -> int changes.
2903
2904 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * lyx_main.C: fix the fix
2907
2908 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2909
2910         * lyx_main.C: fix a crash in batch mode if no files specified
2911         * converter.C: ws
2912
2913 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * format.[Ch] (papersize): moved to BufferParams
2916         * converter.[Ch] (dvips_options): moved to BufferParams
2917         (dvipdfm_options): moved to anon namespace
2918         * bufferparams.[Ch]: added above functions.
2919
2920 2003-07-17  André Pönitz  <poenitz@gmx.net>
2921
2922         * lyxtext.h:
2923         * rowpainter.C:
2924         * text2.C: don't call inset->update() anymore
2925
2926         * metricsinfo.[Ch]: add convenience constructor
2927
2928 2003-07-16  André Pönitz  <poenitz@gmx.net>
2929
2930         * lyxcursor.[Ch]:
2931         * lyxfunc.[Ch]:
2932         * text.C:
2933         * text2.C: replace the LyXCursor::irow_ member with
2934          on-demand computation of the value
2935
2936 2003-07-16  John Levon  <levon@movementarian.org>
2937
2938         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2939
2940 2003-07-15  André Pönitz  <poenitz@gmx.net>
2941
2942         * text.C:
2943         * text2.C: remove no more needed refresh_row
2944
2945 2003-07-15  André Pönitz  <poenitz@gmx.net>
2946
2947         * lyxtext.h:
2948         * rowpainter.C:
2949         * text2.C:
2950         * text3.C: refresh_status tristate -> need_update bool
2951
2952 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2953
2954         * lyxtext.h (init): remove reinit argument (act as if always true)
2955         * text2.C: adjust to that
2956
2957 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2958
2959         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2960         * text3.C: use it to delete selections in some cases
2961         (bugs 441, 673, 702, 954).
2962
2963 2003-07-14  André Pönitz  <poenitz@gmx.net>
2964
2965         * rowpainter.[Ch]: reduce interface
2966
2967 2003-07-14  André Pönitz  <poenitz@gmx.net>
2968
2969         * BufferView_pimpl.C:
2970         * text2.C: adjust after removing unused BufferView * argument
2971
2972 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * text2.C (init): fix a crash fired on resize
2975
2976 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * buffer.[Ch]: added new closing signal
2979         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2980         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2981         BufferView::Pimpl via the closing the signal
2982
2983 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2984
2985         * buffer.[Ch]: take out all bv-related from buffer
2986         * BufferView.C:
2987         * BufferView_pimpl.[Ch]: connect to new signals
2988         * CutAndPaste.C: removed useless asserts
2989         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2990         * lyxvc.[Ch]:
2991         * vc-backend.[Ch]:
2992         * lyxfunc.C: moved view-related funciontality from vc here
2993         * paragraph.C: removed outdated comments
2994         * text.C: ws
2995
2996 2003-07-10  André Pönitz  <poenitz@gmx.net>
2997
2998         * BufferView_pimpl.C:
2999         * tabular.h:
3000         * tabular_funcs.C:
3001         * text.C:
3002         * text2.C: remove InsetText::InnerCache, clean up consequences
3003
3004 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3005
3006         * ispell.C: fix two typos in error messages
3007
3008 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3009
3010         * Extend Note inset to other forms of annotation like Comment
3011         and Greyedout. Right button click gives dialog.
3012
3013         Files modified or added (+):
3014
3015         * insetnote.[Ch]
3016         * FormNote.[Ch]      +
3017         * ControlNote.[Ch]   +
3018         * form_note.fd       +
3019         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3020         frontends/controllers
3021         * xforms/Dialogs.C
3022         * factory.C
3023
3024 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3025
3026         * aspell.C: add missing namespace lyx::support
3027
3028 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3029
3030         * BufferView.[Ch] (newFile): Add
3031         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3032         * LaTeX.[Ch] (message): added this signal and use it
3033         * buffer.[Ch] (busy, message): added these signals and use them
3034         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3035         * converter.C:
3036         * exporter.C:
3037         * format.C:
3038         * importer.C: use buffer signals instead of direct bv calling
3039         * lyx_cb.[Ch] (ShowMessage): removed
3040         * lyx_main.C:
3041         * lyxfunc.C:
3042         * paragraph_funcs.C:
3043         * text2.C: use buffer signals
3044
3045 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * introduce namespace lyx::graphics
3048
3049 2003-07-02  André Pönitz  <poenitz@gmx.net>
3050
3051         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3052
3053 2003-07-01  André Pönitz  <poenitz@gmx.net>
3054
3055         * text.C:
3056         * text2.C:
3057         * text3.C:
3058         * text_funcs.[Ch]:
3059         * textcursor.h:
3060         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3061           text*.C to text_func.C
3062
3063 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * introduce namespace lyx::support
3066
3067 2003-06-30  André Pönitz  <poenitz@gmx.net>
3068
3069         * Chktex.C:
3070         * funcrequest.C:
3071         * lyxtext.h:
3072         * text.C: re-enable --with-included-string
3073
3074 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * textcursor.C: add <config.h>
3077
3078         * text.C (getWord): remove const from word_location arg
3079
3080         * lyxvc.C (getLogFile): fix const type order
3081
3082         * lyxtext.h: remove const from word_location arg, add arg name
3083
3084         * lyxlayout.h: currect type on labeltype.
3085
3086         * importer.C: correct \file
3087
3088         * converter.C (intToFormat): use std:: on ret val, ws changes
3089
3090         * bufferlist.h: correct \file
3091
3092         * buffer.C (makeLinuxDocFile): fix const type order
3093         (makeDocBookFile): ditto
3094         (fillWithBibKeys): use std:: on stdlib args.
3095
3096         * CutAndPaste.C: fix authors.
3097         (availableSelections): use std:: on return vector
3098
3099 2003-06-27  André Pönitz  <poenitz@gmx.net>
3100
3101         * BufferView_pimpl.C:
3102         * bufferview_funcs.C:
3103         * lyxcursor.C:
3104         * lyxcursor.h:
3105         * lyxfunc.C:
3106         * lyxtext.h:
3107         * rowpainter.C:
3108         * text.C:
3109         * text2.C:
3110         * text3.C: remove LyXCursor::row_ member
3111
3112         * lyxtext.h:
3113         * text.C: rename fullRebreak() to partialRebreak() and implement
3114           a fullRebreak() that really bereks fully
3115
3116         * textcursor.h: new struct for cursor-related data
3117
3118 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3119
3120         * lyx_main.C (LyX): get full path of document loaded on the
3121         command line
3122
3123 2003-06-26  André Pönitz  <poenitz@gmx.net>
3124
3125         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3126           remove unused/broken operator>,<,>=.
3127
3128         *       text.C: remove only use of broken operator<= in an Assert().
3129
3130 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3133         moved errorlist_.clear to showErrorList
3134
3135 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * converter.C (scanLog, runLaTeX):
3138         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3139         move the bv->showErrorList call to the callers
3140         * lyxfunc.C: i.e. here...
3141         * text2.C: and here
3142         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3143         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3144         namespace, the second to...
3145         * buffer_funcs (BufferFormat, parseErrors): added
3146         * errorlist.C (ErrorList(TeXErrors const &)): removed
3147
3148 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3149
3150         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3151
3152 2003-06-24  "Garst R. Reese" <reese@isn.net>
3153
3154         * debug.C: fix typo
3155
3156 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3157
3158         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3159
3160         * version.C.in: change docversion to 1.4
3161
3162 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * buffer.C: fix a bug just introduced
3165
3166 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * buffer.[Ch]: added the parseError signal and use it, removed
3169         sgmlError
3170         * BufferView.[Ch] (addError): moved to ...
3171         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3172         to the Buffer::parseError signal to catch (guess what) parse errors
3173         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3174
3175 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3176
3177         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3178         ability to create a buffer and to return an existing one from
3179         the list. Moved these functions to...
3180         * buffer_funcs.[Ch]: added
3181         * BufferView.[Ch] (loadLyXFile): added
3182         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3183         job removed from bufferlist::loadLyXFile.
3184         * buffer.C (setReadOnly): make it work without view
3185         (i.e added an if (users))
3186
3187 2003-06-19  Angus Leeming  <leeming@lyx.org>
3188
3189         * lfuns.h:
3190         * LyXAction.C (init):
3191         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3192         with LFUN_DIALOG_SHOW <name> <data>.
3193
3194 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3195
3196         * CutAndPaste.C (availableSelections): small compilation fix for
3197         ancient (gcc 2.9x) compilers
3198
3199 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * text3.C (cursorNext): add tmp var
3202
3203         * text2.C (updateCounters): for function calling out of for clause
3204         (replaceSelectionWithString): ditto
3205         (insertStringAsParagraphs): ditto
3206         (getColumnNearX): add tmp var
3207         (setCursorFromCoordinates): add tmp var
3208         (cursorDownParagraph): add tmp var
3209         (deleteEmptyParagraphMechanism): add tmp var
3210
3211         * text.C (insertChar): add tmp var
3212
3213         * rowpainter.C (paintDepthBar): add tmp var
3214
3215         * CutAndPaste.C (availableSelections): potentially check all
3216         paragraphs in a cut to fill the shown strings.
3217
3218 2003-06-18  André Pönitz  <poenitz@gmx.net>
3219
3220         * kbmap.[Ch]: use vector<> instead of list<>
3221
3222 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3223
3224         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3225         pasteSelection with index
3226
3227         * text2.C (pasteSelection): modify, call pasteSelection with index
3228
3229         * paragraph.C (asString): reimplement version with no interval to
3230         call the one with interval.
3231
3232         * lyxtext.h: add index arg to pasteSelection
3233
3234         * MenuBackend.C (MenuItem): handle PasteRecent
3235         (Menu::read::Menutags): add md_pasterecent
3236         (read): handle it
3237         (expandPasteRecent): new function
3238         (expand): use it
3239
3240         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3241
3242         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3243         the limited stack
3244         (availableSelections): new function
3245
3246 2003-06-17  Angus Leeming  <leeming@lyx.org>
3247
3248         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3249
3250 2003-06-17  Angus Leeming  <leeming@lyx.org>
3251
3252         * lfuns.h:
3253         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3254
3255         * lyxfunc.C (dispatch): invoke it.
3256
3257 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3258
3259         * iterators.C (operator++, ParPosition): reintroduce some
3260         const_cast for the benefit of older compilers.
3261
3262 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3263
3264         * text3.C (dispatch): do not modify clipboard when doing
3265         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3266         LFUN_DELETE_SKIP on a selection selection
3267
3268 2003-06-16  André Pönitz  <poenitz@gmx.net>
3269
3270         * BufferView.C:
3271         * buffer.C:
3272         * buffer.h:
3273         * paragraph.C:
3274         * tabular.[Ch]: IU of clone() and getLabelList();
3275
3276 2003-06-13  André Pönitz  <poenitz@gmx.net>
3277
3278         * tabular.h: compactification
3279
3280 2003-06-12  André Pönitz  <poenitz@gmx.net>
3281
3282         * tabular.C:
3283         * tabular.h:
3284         * tabular_funcs.h: some renaming plus whitespace
3285
3286 2003-06-12  André Pönitz  <poenitz@gmx.net>
3287
3288         * BufferView.C:
3289         * BufferView_pimpl.C:
3290         * CutAndPaste.C:
3291         * buffer.C:
3292         * iterators.[Ch]:
3293         * lyxfunc.C:
3294         * text.C:
3295         * toc.C: Return a Paragraph & for ParIterator::operator*()
3296
3297 2003-06-11  John Levon  <levon@movementarian.org>
3298
3299         * lyx_main.C:
3300         * ToolbarBackend.h:
3301         * ToolbarBackend.C: add "Toolbars" section and
3302         put the flags there
3303
3304 2003-06-10  Angus Leeming  <leeming@lyx.org>
3305
3306         * lfuns.h:
3307         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3308
3309         * lyxfunc.C (dispatch): invoke it.
3310
3311 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * main.C: protect <ios> with HAVE_IOS
3314         (main): protect sync_with_stdio with HAVE_IOS
3315
3316 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3317
3318         * text2.C (cutSelection): adjust
3319         (pasteSelection): adjust
3320
3321         * messages.C: handle get of empty string
3322
3323         * main.C (main): use sync_with_stdio(false)
3324
3325         * lyxfunc.C (dispatch): adjust
3326
3327         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3328         (WriteAs): remove unneeded BufferView arg.
3329
3330         * bufferparams.h: use correct types on papersize, papersize2 and
3331         paperpackage.
3332
3333         * bufferparams.C (readToken): adjust for type
3334         (writeLaTeX): add missing cases to switch.
3335
3336         * bufferlist.C (quitWriteBuffer): adjust
3337         (close): adjust
3338
3339         * buffer.C (asciiParagraph): remove some commented code.
3340
3341         * CutAndPaste.C: remove current_view extern variable.
3342         (cutSelection): add BufferParams arg.
3343         (eraseSelection): add BufferParams arg.
3344         (pasteSelection): add Buffer const & arg
3345
3346 2003-06-07  John Levon  <levon@movementarian.org>
3347
3348         * buffer.C:
3349         * paragraph_funcs.C:
3350         * paragraph_pimpl.C:
3351         * text.C:
3352         * text2.C:
3353         * paragraph.h:
3354         * paragraph.C: allow InsetERT to freely space lines,
3355         and some consolidation of code
3356
3357 2003-06-06  José Matos  <jamatos@fep.up.pt>
3358
3359         * buffer.C (makeDocBookFile): fix bug #821
3360
3361 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3362
3363         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3364
3365 2003-06-04  Angus Leeming  <leeming@lyx.org>
3366
3367         * buffer.C: bump format to 224.
3368
3369 2003-06-05  André Pönitz  <poenitz@gmx.net>
3370
3371         * text2.C (redoParagraphs): remove two const_cast<>
3372
3373 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3374
3375         * ParagraphList.h: remove last remnants of NO_STD_LIST
3376
3377 2003-06-03  Angus Leeming  <leeming@lyx.org>
3378
3379         * factory.C (createInset): small change to the way InsetExternal's params
3380         are set.
3381
3382 2003-06-04  André Pönitz  <poenitz@gmx.net>
3383
3384         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3385
3386         * paragraph_pimpl.h:
3387         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3388
3389         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3390
3391         * undo_funcs.C: make some simple cases of undo work again
3392
3393 2003-06-03  John Levon  <levon@movementarian.org>
3394
3395         * ispell.C: HPUX doesn't have sys/select.h
3396         (from Albert Chin)
3397
3398 2003-06-03  John Levon  <levon@movementarian.org>
3399
3400         * CutAndPaste.C: update tabular and include inset
3401         buffer references
3402
3403         * buffer.h:
3404         * paragraph.h:
3405         * paragraph.C: remove owningBuffer(), don't pass Buffer
3406         to clone()
3407
3408         * factory.C: insetGraphicsParams changed
3409
3410 2003-06-02  John Levon  <levon@movementarian.org>
3411
3412         * LyXAction.C:
3413         * factory.C:
3414         * lfuns.h:
3415         * lyxfunc.C:
3416         * text3.C: remove insetparent
3417
3418 2003-06-02  John Levon  <levon@movementarian.org>
3419
3420         * buffer.h:
3421         * buffer.C: fix inset_iterator.end(), move out of line
3422         (bug 1149)
3423
3424 2003-06-01  John Levon  <levon@movementarian.org>
3425
3426         * text3.C: use a proper cut/paste when doing inset
3427         insert (from Jürgen Spitzmüller)
3428
3429 2003-06-01  John Levon  <levon@movementarian.org>
3430
3431         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3432
3433 2003-05-30  André Pönitz  <poenitz@gmx.net>
3434
3435         * rowpainter.C: unify second drawing phase
3436
3437 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * trans_mgr.C: remove one case of current_view
3440
3441         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3442
3443         * paragraph_funcs.h: remove paragraph.h include
3444
3445         * paragraph.h: delete NO_STD_LIST stuff
3446
3447         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3448
3449         * buffer.h: remove paragraph.h include
3450
3451         * ParagraphList.C: delete file
3452
3453         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3454
3455         * toc.C (getTocList): adjust
3456
3457         * paragraph_pimpl.C (validate): adjust
3458
3459         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3460
3461         * paragraph.C (Paragraph): adjust
3462         (getPositionOfInset): use const_iterator, adjust
3463         (bibitem): use const_iterator, adjust
3464         (setInsetOwner): adjust
3465
3466         * iterators.C (operator++): adjust
3467
3468         * InsetList.[Ch]: Replace selfmade iterator with standard
3469         vector::iterator also introduce const_iterator. Remove getPos,
3470         getInset and setInset from InsetTable. Adjust accordingly.
3471
3472         * BufferView.C (lockInset): adjust
3473         (ChangeInsets): adjust
3474
3475         * tabular.[Ch]: delete commented same_id functions
3476
3477 2003-05-28  John Levon  <levon@movementarian.org>
3478
3479         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3480
3481 2003-05-28  André Pönitz  <poenitz@gmx.net>
3482
3483         * metricsinfo.[Ch]: remove 'fullredraw' member
3484
3485 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3486
3487         * lyxtextclass.C (operator): remove caching.
3488
3489 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * text3.C: adjust
3492
3493         * text2.C (cursorBottom): adjust
3494         (setCounter): use ParagraphList::find, adjust
3495
3496         * text.C (workWidth): use ParagraphList::find, adjust
3497
3498         * lyxcursor.C (LyXCursor): adjust
3499
3500         * buffer.C (inset_iterator): adjust
3501
3502         * ParagraphList.h: make iterator(value_type) private, make
3503         ParagraphList a friend of iterator.
3504
3505         * ParagraphList.C (find): new function
3506
3507         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3508
3509 2003-05-27  André Pönitz  <poenitz@gmx.net>
3510
3511         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3512
3513 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3514
3515         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3516
3517 2003-05-26  John Levon  <levon@movementarian.org>
3518
3519         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3520
3521 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * remove same_id from function signatures, adjust.
3524
3525 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3528
3529         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3530
3531         * paragraph.C (Paragraph): get rid of same_ids parameter
3532
3533         * ParagraphList.C (insert): adjust
3534         (push_back): adjust
3535
3536 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * paragraph_funcs.C (breakParagraph): adjust
3539         (breakParagraphConservative): adjust
3540
3541         * buffer.C (readParagraph): adjust
3542
3543         * ParagraphList.C (insert): take a reference instead of a pointer
3544         (insert): adjust
3545
3546         * paragraph.[Ch] (id): new function
3547
3548         * bufferlist.C (newFile): adjust
3549
3550         * ParagraphList.C (ParagraphList): adjust
3551         (assign): adjust
3552         (push_back): take a reference instead of a pointer.
3553
3554         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3555
3556         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3557         instead.
3558
3559         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3560         set else use old code.
3561
3562         * ParagraphList.C: remove all NO_NEXT code and only compile this
3563         code of NO_STD_LIST is set.
3564
3565 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * BufferView_pimpl.C:
3568         * TextCache.C:
3569         * TextCache.h:
3570         * bufferlist.C:
3571         * errorlist.h:
3572         * format.C:
3573         * format.h:
3574         * graph.C:
3575         * lyxfunc.C:
3576         * lyxrc.C:
3577         * graphics/GraphicsConverter.C:
3578         * graphics/PreviewLoader.C: header adjustment
3579
3580 2003-05-23  Angus Leeming  <leeming@lyx.org>
3581
3582         * LaTeXFeatures.[Ch] (useBabel): new method.
3583         * bufferparams.C (writeLaTeX): use it.
3584
3585 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * ParagraphList.h (set): remove unused function.
3588
3589 2003-05-23  André Pönitz  <poenitz@gmx.net>
3590
3591         * BufferView.C:
3592         * BufferView_pimpl.C:
3593         * buffer.C:
3594         * buffer.h:
3595         * lyxfunc.C:
3596         * undo_funcs.C: setUndo reworked
3597
3598         * iterators.[Ch]: add access to topmost ParagraphList
3599
3600         * lyxtext.[Ch] (workWidth): add a const
3601
3602 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * texrow.[Ch] (increasePos): remove function
3605         * exporter.C (export): removed unused var and outdated comment
3606
3607 2003-05-23  Angus Leeming  <leeming@lyx.org>
3608
3609         * latexrunparams.h: rename fragile as moving_arg.
3610         * paragraph.C (simpleTeXOnePar): ditto.
3611         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3612
3613 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3616         (createUndo): ditto
3617         (textUndoOrRedo): comment out a currently unused var.
3618
3619         * paragraph.h (NO_NEXT): enable NO_NEXT
3620
3621         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3622
3623         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3624
3625         * exporter.C (Export): adjust for removeAutoInsets removal.
3626
3627         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3628
3629         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3630
3631         * BufferView.[Ch] (removeAutoInsets): delete function
3632
3633 2003-05-22  Angus Leeming  <leeming@lyx.org>
3634
3635         * latexrunparams.h: add a free_spacing variable.
3636
3637         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3638         to pass moving_arg, as the data is stored in runparams.fragile.
3639
3640         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3641         to Inset::latexOptional or to simpleTeXOnePar.
3642
3643         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3644         free_spacing arg to Inset::latexOptional.
3645
3646         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3647         free_spacing arg.
3648
3649 2003-05-22  Angus Leeming  <leeming@lyx.org>
3650
3651         * latexrunparams.h: add fragile and use_babel variables.
3652
3653         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3654         * buffer.C (makeLaTeXFile): store this returned value in
3655         runparams.use_babel, thus passing it to the inset::latex methods.
3656
3657         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3658         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3659
3660         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3661         longer has a fragile arg, as it is stored in runparams.fragile.
3662
3663         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3664         moving_arg parameter as the data is stored in runparams.fragile.
3665
3666         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3667         a fragile parameter as the data is stored in runparams.fragile.
3668
3669 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3672
3673 2003-05-22  Angus Leeming  <leeming@lyx.org>
3674
3675         * latexrunparams.h: add a 'bool nice' which defaults to false.
3676
3677         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3678         now encapsulated within runparams.
3679
3680         * bufferlist.C (updateIncludedTeXfiles):
3681         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3682
3683 2003-05-22  Angus Leeming  <leeming@lyx.org>
3684
3685         * latexrunparams.h: new file containing struct LatexRunParams.
3686         * Makefile.am: add new file.
3687
3688         * LaTeX.[Ch] (c-tor, run):
3689         * buffer.[Ch] (makeLaTeXFile):
3690         * bufferlist.[Ch] (updateIncludedTeXfiles):
3691         * converter.C (convert, scanLog):
3692         * converter.[Ch] (runLaTeX):
3693         * exporter.C (Export):
3694         * paragraph.[Ch] (simpleTeXOnePar):
3695         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3696         * paragraph_funcs.[Ch] (latexParagraphs):
3697         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3698         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3699         pass around a LatexRunParams parameter.
3700
3701 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * paragraph.[Ch]: remove unused constructor
3704
3705         * ParagraphList.C (erase): new function, taking two iterators
3706
3707 2003-05-22  André Pönitz  <poenitz@gmx.net>
3708
3709         * undo_funcs.C: remove duplicated code
3710
3711         * iterator.[Ch]: operator=
3712
3713 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * tabular.C (SetMultiColumn): ws changes
3716
3717         * rowpainter.C (paintFirst): get rid of a ->previous
3718
3719         * lyx_cb.C (getPossibleLabel): parlist simplification
3720
3721         * BufferView.C (ChangeInsets): simplify slightly.
3722
3723 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3724
3725         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3726         * lfuns.h: new LFUN_SPACE
3727         * lyxfunc.C: protected space has a new lfun
3728         * paragraph_funcs.C: read new space insets
3729         * text3.C:
3730         * factory.C: handle new space insets
3731
3732 2003-05-22  André Pönitz  <poenitz@gmx.net>
3733
3734         * BufferView.C:
3735         * BufferView_pimpl.C:
3736         * buffer.[Ch]:
3737         * lyxfunc.C:
3738         * undo_funcs.C: return a ParIterator from getParFromID.
3739
3740         * iterators.[Ch]: add two const's
3741
3742 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * toc.C (getTocList): adjust
3745
3746         * iterators.[Ch]: rework for parlist
3747
3748         * buffer.C (par_iterator_begin): adjust
3749         (par_iterator_end): adjust
3750
3751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3752
3753         * BufferView.C (removeAutoInsets): adjust
3754         (ChangeInsets): adjust
3755
3756 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * text.C (top_y): fix bug 1110
3759
3760 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3761
3762         * errorlist.[Ch]: added
3763         * buffer.C:
3764         * BufferView.[Ch]:
3765         * BufferView_pimpl.C:
3766         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3767         instead
3768
3769 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3770
3771         * Makefile.am: ensure that lyx is relinked upon changes to the
3772         various "convenience" libs.
3773
3774 2003-05-20  Angus Leeming  <leeming@lyx.org>
3775
3776         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3777         files are compiled in alphabetical order again.
3778
3779         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3780
3781 2003-05-19  Angus Leeming  <leeming@lyx.org>
3782
3783         * gettext.[Ch]: remove "char const * _(char const *)".
3784
3785 2003-05-19  André Pönitz  <poenitz@gmx.net>
3786
3787         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3788
3789         * Makefile.am:
3790         * BufferView.C:
3791         * DepTable.h:
3792         * LaTeXFeatures.C:
3793         * buffer.C:
3794         * lyxfont.C:
3795         * lyxlex.h:
3796         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3797
3798 2003-05-19  André Pönitz  <poenitz@gmx.net>
3799
3800         * buffer.C:
3801         * lyxlayout.[Ch]:
3802         * lyxtextclass.[Ch]:
3803         * paragraph.C:
3804         * paragraph_funcs.[Ch]:
3805         * text2.C:
3806         * text3.C: more insetenv work
3807
3808 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * ParagraphParameters.C (params2string): small bug fixed
3811
3812 2003-05-16  André Pönitz  <poenitz@gmx.net>
3813
3814         * debug.C:
3815         * bufferview_funcs.C: patch from Kornel Benko to prevent
3816           crash when _(...) is called twice in a statement
3817
3818 2003-05-16  André Pönitz  <poenitz@gmx.net>
3819
3820         * BufferView.C:
3821         * lyxfunc.C:
3822         * text.C:
3823         * text2.C:
3824         * text3.C:
3825         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3826
3827 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3828
3829         * lyx_main.C (init): remove spurious static_cast
3830
3831 2003-05-14  André Pönitz  <poenitz@gmx.net>
3832
3833         * BufferView.C: fix format string
3834
3835 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3836
3837         * BufferView.[Ch] (insertErrors): removed
3838         * BufferView.[Ch] (showErrorList): added
3839         * buffer.C (runChkTeX):
3840         * converter.C (scanLog): call showErrorList instead of inserterrors
3841
3842 2003-05-13  André Pönitz  <poenitz@gmx.net>
3843
3844         * BufferView_pimpl.C:
3845         * buffer.C:
3846         * bufferview_func.C:
3847         * MenuBackend.C:
3848         * lyxfunc.C:
3849         * lyxrc.C:
3850         * tex-accent.C:
3851         * text3.C:
3852         * toc.C:
3853         * tabular_funcs.h: tostr() from its own header
3854
3855         * ParagraphParameters.C:
3856         * ToolbarBackend.C:
3857         * bufferparams.C:
3858         * format.C:
3859         * lyxlex_pimpl.C:
3860         * text3.C: STRCONV()
3861
3862 2003-05-12  André Pönitz  <poenitz@gmx.net>
3863
3864         * BufferView.C:
3865         * BufferView_pimpl.C:
3866         * CutAndPaste.C:
3867         * LaTeX.C:
3868         * LaTeXFeatures.C:
3869         * ParagraphParameters.C:
3870         * buffer.C:
3871         * bufferlist.C:
3872         * bufferparams.C:
3873         * bufferview_funcs.C:
3874         * converter.C:
3875         * counters.C:
3876         * debug.C:
3877         * exporter.C:
3878         * format.C:
3879         * importer.C:
3880         * lyx_cb.C:
3881         * lyx_main.C:
3882         * lyxfont.C:
3883         * lyxfunc.C:
3884         * lyxvc.C:
3885         * paragraph.C:
3886         * paragraph_funcs.C:
3887         * tabular.C:
3888         * tabular_funcs.C:
3889         * text2.C:
3890         * text3.C:  boost::format -> bformat  all over the place
3891
3892
3893 2003-05-09  André Pönitz  <poenitz@gmx.net>
3894
3895         * LColor.[Ch]: Pimpl the #include <map> away
3896
3897 2003-05-09  John Levon  <levon@movementarian.org>
3898
3899         * bufferlist.C: never remove emergency saves
3900
3901 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3902
3903         * Makefile.am: better lib building
3904
3905 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3908         instead.
3909         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3910         (simpleTeXSpecialChars): adjust
3911         (simpleTeXSpecialChars): adjust
3912         * paragraph.C (simpleTeXOnePar): adjust
3913         * buffer.C (makeLaTeXFile): adjust
3914
3915         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3916
3917         * text2.C (changeDepth): parlist cleanup
3918         (getColumnNearX): ditto
3919
3920         * rowpainter.C (getLabelFont): parlist cleanup
3921
3922         * bufferlist.C (newFile): parlist cleanup
3923
3924         * CutAndPaste.C (eraseSelection): parlist cleanup
3925
3926         * BufferView_pimpl.C (trackChanges): parlist cleanup
3927         (dispatch): ditto
3928
3929         * BufferView.C (lockInset): parlist cleanup.
3930         (ChangeInsets): ditto
3931
3932 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * CutAndPaste.h: Update file header.
3935
3936         * CutAndPaste.C: Update file header.
3937         Store the parts cut out of the Document in a limited_stack.
3938         (copySelection): adjust
3939         (pasteSelection): new function, takes the index in the limited stack.
3940         (nrOfParagraphs): adjust
3941         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3942         simplify error inset insertion.
3943         (checkPastePossible): adjust
3944
3945 2003-05-06  John Levon  <levon@movementarian.org>
3946
3947         * text2.C: don't cast wrap inset to float
3948
3949 2003-05-05  André Pönitz  <poenitz@gmx.net>
3950
3951         * iterator.C:
3952         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3953
3954         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3955           few naked Paragraph *.
3956
3957 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3958
3959         * bufferparams.C: Output warning if a document with missing
3960         TeX document class is loaded
3961         * exporter.C: Disable TeX exports if the document class is missing
3962         * lyxtextclass.C:
3963         * lyxtextclass.h:
3964         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3965         isTeXClassAvailable()
3966
3967 2003-05-03  John Levon  <levon@movementarian.org>
3968
3969         * BufferView.h:
3970         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3971         explicit cursor show/hide
3972
3973         * BufferView_pimpl.h:
3974         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3975         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3976
3977         * lyxfunc.C: hide cursor before dispatching.
3978
3979         * lyx_cb.C:
3980         * lyxfind.C:
3981         * text.C:
3982         * text3.C: remove explicit cursor hides
3983
3984 2003-05-02  André Pönitz  <poenitz@gmx.net>
3985
3986         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3987
3988         * undo_funcs.C:
3989         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3990           linked lists
3991
3992         * text2.C: tiny whitespace
3993
3994 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * undo_funcs.C: almost only ws changes.
3997
3998         * ParagraphList.C (splice): just return if pl is empty.
3999
4000 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * ParagraphList.C (splice): new function.
4003
4004         * CutAndPaste.C (pasteSelection): use it
4005
4006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * CutAndPaste.C (pasteSelection): remove the last next and
4009         previous from this file.
4010
4011 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * CutAndPaste.C (pasteSelection): more clean up, user proper
4014         ParagraphList functions for pasteing.
4015
4016         * ParagraphList.C (insert): new function, three arg insert
4017
4018 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * ParagraphList.C (insert): new function, three arg insert
4021
4022         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4023         not on paragraphs.
4024
4025 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4028
4029 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4032
4033 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4036         (copySelection): clean up a bit.
4037         (pasteSelection): use make_pair
4038
4039         * ParagraphList.C (ParagraphList): implement copy constructor
4040         (operator=): implement, base on copy constructor.
4041         (assign): new func
4042
4043         * paragraph.C (erase): return a bool
4044
4045         * paragraph_pimpl.C (erasePos): remove function, move contents...
4046         (erase): ... here. Return a bool.
4047         (erase): call erase instead of erasePos.
4048
4049 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4050
4051         * ParagraphList.h: define PitPosPair
4052         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4053         ParagraphList, fix a bug on pasting multiple pars
4054         * text2.C: change interface to C&P
4055
4056 2003-04-30  André Pönitz  <poenitz@gmx.net>
4057
4058         * undo_func.C: revert part of yesterday's patch 2
4059
4060 2003-04-30  John Levon  <levon@movementarian.org>
4061
4062         * LColor.C: s/tabular/table/
4063
4064 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * text3.C (dispatch): do not convert iterator -> pointer
4067         * undo_funcs.C (setCursorParUndo): ditto
4068         * text_funcs.C (transposeChars): ditto
4069
4070         * text2.C (setLayout): ws changes only
4071
4072         * text.C (breakParagraph): do not convert iterator -> pointer
4073         (insertChar): ditto
4074         (acceptChange): ditto
4075         (rejectChange): ditto
4076         (changeCase): ditto
4077         (Delete): ditto
4078         (backspace): ditto
4079
4080         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4081         pointer
4082
4083 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * text3.C (gotoInset): YABG (yet another bad getChar)
4086
4087 2003-04-29  André Pönitz  <poenitz@gmx.net>
4088
4089         * paragraph.h: make operator= private unimplemented as long as
4090           it is unusable
4091
4092         * ParagraphList.C: whitespace
4093
4094         * paragraph.[Ch]:
4095         * paragraph_pimpl.[Ch]:
4096         * paragraph_funcs.C:
4097         * CutAndPaste.C:
4098         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4099
4100         * text2.C:
4101           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4102
4103 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4104
4105         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4106         * paragraph.[Ch] (erase):
4107         * paragraph_pimpl.[Ch] (erase): change return type and value
4108         * text2.C (cutSelection): some rework
4109
4110 2003-04-28  John Levon  <levon@movementarian.org>
4111
4112         * bufferlist.C: changes for unsaved changes dialog
4113
4114 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * bufferlist.C (newFile): set language (messages_) for new
4117         documents also.
4118
4119         * buffer.C (readFile): ws changes only.
4120
4121 2003-04-28  André Pönitz  <poenitz@gmx.net>
4122
4123         * undo_funcs.C:
4124         * lyxfunc.C:
4125         * buffer.[Ch]:
4126         * BufferView_pimpl.C:
4127         * BufferView.C: getParFromID related ParagraphList::iterator changes
4128
4129 2003-04-28  André Pönitz  <poenitz@gmx.net>
4130
4131         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4132           Changes
4133
4134 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * messages.C: remove one more localedir class variable.
4137
4138 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * messages.C (getLocaleDir): singleton generation function
4141         (Pimpl): use it.
4142         (Messages): add a default constructor.
4143
4144         * main.C (main): do not setup localedir here, do not call
4145         gettext_init.
4146
4147         * gettext.C (_): use it.
4148         (gettext_init): delete funciton
4149
4150 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * gettext.C (getLyXMessages): new singleton generating function.
4153
4154         * buffer.C (updateDocLang): adjust
4155
4156         * Makefile.am (messages.o): add target
4157         (main.o): remove target
4158
4159 2003-04-27  John Levon  <levon@movementarian.org>
4160
4161         * bufferlist.C:
4162         * lyx_cb.C:
4163         * lyxfunc.C:
4164         * lyxvc.C: specify cancel button in Alert::prompt
4165
4166 2003-04-26  John Levon  <levon@movementarian.org>
4167
4168         * text3.C:
4169         * lyxfunc.C:
4170         * lfuns.h:
4171         * LyXAction.C: add LFUN_INSET_SETTINGS
4172
4173         * lyxfunc.C: don't enable tabular-feature when there's
4174         just any locking inset
4175
4176 2003-04-26  John Levon  <levon@movementarian.org>
4177
4178         * bufferlist.C: re-add Cancel to buffer close question
4179
4180         * lyxfunc.C: fix import UI a bit
4181
4182 2003-04-25  John Levon  <levon@movementarian.org>
4183
4184         * gettext.C: remove the broken asserts for now
4185
4186 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * messages.C: make case where setlocale cannot comply work better.
4189
4190         * buffer.C (updateDocLang): new function
4191         (changeLanguage): use it
4192         (readFile): use it
4193
4194         * text2.C (setCounter): use B_ a bit.
4195
4196         * lyxlayout.C (Read): be sure to trim the label strings.
4197
4198         * messages.C (Messages): fix typo in comment
4199
4200         * buffer.C (readFile): set message_ after file is loaded.
4201         (makeDocBookFile): remove double return
4202         (changeLanguage): reset message_ upon language change.
4203         (B_): new func, use this to get translated buffer strings.
4204
4205         * main.C: add myself and Jean Marc as authors.
4206
4207 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * messages.[hC]: pimplify Messages, and three different pimpls to be
4210         used in different circumstances.
4211
4212         * gettext.[Ch]: change for use with new message code.
4213
4214 2003-04-24 André Pönitz <poenitz@gmx.net>
4215
4216         * factory.C: support for eqref
4217
4218 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * messages.[Ch]: add missing char
4221
4222         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4223
4224         * messages.[Ch]: New files
4225
4226 2003-04-18  John Levon  <levon@movementarian.org>
4227
4228         * BufferView.h:
4229         * BufferView.C:
4230         * BufferView_pimpl.C:
4231         * lfuns.h:
4232         * LyXAction.C:
4233         * lyxtext.h:
4234         * text2.C: remove layout-copy/paste (bug 778)
4235
4236 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4239
4240 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4243         if they succeed. Act accordingly.
4244
4245 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * text2.C (setCharFont): adjust
4248         (setCounter): adjust
4249         (insertStringAsLines): adjust
4250
4251         * text.C (leftMargin): adjust
4252         (setHeightOfRow): adjust
4253
4254         * rowpainter.C (paintFirst): adjust
4255         (paintLast): adjust
4256
4257         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4258         (outerHook): ditto
4259         (isFirstInSequence): ditto
4260         (getEndLabel): ditto
4261         (outerFont): adjust
4262
4263         * paragraph.C (getParLanguage): comment out some hard stuff.
4264
4265         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4266         (sgmlError): ditto
4267         (simpleDocBookOnePar): ditto
4268         (makeDocBookFile): use ParagraphList::iterator
4269
4270         * CutAndPaste.C (pasteSelection): adjust
4271
4272 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * text2.C (getFont): adjust
4275         (getLayoutFont): adjust
4276         (getLabelFont): adjust
4277
4278         * paragraph_funcs.C (TeXOnePar): adjust
4279
4280         * buffer.C (simpleLinuxDocOnePar): adjust
4281         (simpleDocBookOnePar): adjust
4282
4283         * CutAndPaste.C (pasteSelection): adjust
4284
4285         * BufferView.C (getEncoding): adjust
4286
4287         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4288
4289 2003-04-16  John Levon  <levon@movementarian.org>
4290
4291         * lyxfind.C: use parlist stuff for search/changes
4292
4293 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4296
4297         * text2.C (deleteEmptyParagraphMechanism): adjust
4298
4299         * text2.[Ch] (ownerParagraph): delete func (both of them
4300
4301 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4304
4305 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * ParagraphList.C: prepare for NO_NEXT
4308
4309 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * text2.C (getFont): adjust
4312         (getLayoutFont): adjust
4313         (getLabelFont): adjust
4314
4315         * paragraph.C (getFont): adjust
4316         (getLabelFont): adjust
4317         (getLayoutFont): adjust
4318
4319         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4320
4321 2003-04-15  John Levon  <levon@movementarian.org>
4322
4323         From Angus Leeming
4324
4325         * lyx_main.C: handle Include in .ui files
4326
4327 2003-04-15  John Levon  <levon@movementarian.org>
4328
4329         * MenuBackend.C: make the doc files length shorter
4330
4331         * ToolbarBackend.h:
4332         * ToolbarBackend.C: handle toolbar placement flags,
4333         Minibuffer
4334
4335 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4338         adjust
4339
4340         * paragraph_funcs.C (TeXOnePar): adjust
4341
4342         * paragraph.C (getLabelFont): add outerfont arg, adjust
4343         (getLayoutFont): ditto
4344         (simpleTeXOnePar): adjust
4345
4346         * paragraph_pimpl.C (realizeFont): delete func
4347
4348 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4351         row argument, constify cur argument.
4352
4353 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * text2.C (getFont): adjust
4356         (getLayoutFont): adjust
4357         (getLabelFont): adjust
4358
4359         * paragraph_funcs.C (TeXOnePar): adjust
4360         (outerFont): new func...
4361         (realizeFont): ...moved out from here, changed this to facilitate
4362         transition
4363
4364         * paragraph.C (getFont): take outerfont as arg, adjust
4365         (simpleTeXOnePar): add outerfont arg, adjust
4366
4367         * buffer.C (simpleLinuxDocOnePar): adjust
4368         (simpleDocBookOnePar): adjust
4369
4370         * CutAndPaste.C (pasteSelection): adjust
4371
4372         * BufferView.C (getEncoding): adjust
4373
4374 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * text2.C (setCharFont): adjust
4377         (setCounter): adjust
4378
4379         * text.C (leftMargin): adjust
4380         (setHeightOfRow): adjust
4381
4382         * rowpainter.C (paintFirst): adjust
4383         (paintLast): adjust
4384
4385         * paragraph_pimpl.C (realizeFont): adjust
4386
4387         * paragraph.C (isFirstInSequence): move from here...
4388         * paragraph_funcs.C (isFirstInSequence): ...to here
4389
4390         * paragraph.C (outerHook): move from here...
4391         * paragraph_funcs.C (outerHook): ...to here
4392
4393         * paragraph.C (depthHook): move from here...
4394         * paragraph_funcs.C (depthHook): ...to here
4395
4396         * paragraph.C (getEndLabel): move from here...
4397         * paragraph_funcs.C (getEndLabel): ...to here
4398
4399         * text2.C (realizeFont): move from here...
4400         * paragraph_funcs.C (realizeFont): ...to here
4401
4402 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4405
4406 2003-04-14  Angus Leeming  <leeming@lyx.org>
4407
4408         * LColor.[Ch]: scrap LColor mathcursor.
4409
4410 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * lyxlex.[Ch] (text): delete function
4413         * trans.C (Load): adjust
4414         * paragraph_funcs.C (readParToken): adjust
4415
4416 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4419         vector<char> instead of a char[].
4420
4421         * lyxlex_pimpl.C (getString): adjust
4422         (next): adjust
4423         (lex): use getString
4424         (eatLine): adjust
4425         (nextToken): adjust
4426
4427         * lyxlex.C (text): use pimpl_->getString()
4428         (getBool): ditto
4429         (findToken): ditto
4430
4431 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4434         (makeFontEntriesLayoutSpecific): temp var for par.size()
4435         (setLayout): temp var for ownerParagraphs().end()
4436         (fullRebreak): temp var for rows().end()
4437         (selectionAsString): temp var for boost::next(startpit), realize
4438         that the while really is a regular for loop.
4439         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4440         setCursor in one place.
4441         (setParagraph): temp vr for ownerParagraphs().end()
4442         (updateCounters): make the while loop a for loop
4443         (cutSelection): temp var for ownerParagraphs().end()
4444         (updateInset): make the do {} while() a regular for loop
4445         (getCursorX): use temp vars
4446         (setCurrentFont): use temp vars
4447         (getColumnNearX): use temp vars
4448
4449 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * text.C (transformChar): use temp var for getChar
4452         (computeBidiTables): use temp var for row->par()
4453         (fill): move temp vars for row->par() and pit->layout() earlier in
4454         the function.
4455         (labelFill): use temp var for row->par()
4456         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4457         asc and desc, realize that pit never changes and that firstpit is
4458         just a duplicate and not needed. Exchange rit->par() with pit in a
4459         lot of places.
4460         (breakAgain): use a temp var for boost::next(rit)
4461         (breakAgainOneRow): ditto
4462         (breakParagraph): use a temp var for rows().begin()
4463         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4464         (cursorRightOneWord): use temp var for cursor.par() and
4465         cursor.pos(), remove usage of tmpcursor.
4466         (cursorLeftOneWord): use temp var for cursor.par() and
4467         cursor.pos() only set cur at end of function.
4468
4469 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * text.C, text2.C: exchange all usage of Paragraph::next with
4472         boost::next(ParagraphList::iterator)
4473
4474         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4475
4476         * text2.C (cursorTop): simplify implementation
4477         (cursorBottom): ditto
4478         (setParagraph): use ParagraphList::iterator
4479         (setCurrentFont): adjust
4480         (getColumnNearX): adjust
4481         (cursorRight): adjust
4482         (cursorLeft): remove usage of Paragraph::previous
4483         (cursorUpParagraph): ditto
4484         (deleteEmptyParagraphMechanism): slight cleanup
4485
4486         * text.C (isBoundary): take a Paragraph const & instead of a
4487         pointer as arg.
4488         (addressBreakPoint): ditto
4489         (leftMargin): remove usage of Paragraph::previous.
4490         (setHeightOfRow): ditto
4491         (cursorLeftOneWord): ditto
4492         (selectNextWordToSpellcheck): ditto
4493         (Delete): ditto
4494         (backspace): ditto
4495         (breakParagraph): remove one usage of Paragraph::next
4496         (redoParagraph): ditto
4497         (acceptChange): ditto
4498         (insertChar): adjust
4499         (rowBreakPoint): adjust
4500
4501         * bufferview_funcs.C (toggleAndShow): adjust
4502
4503 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4506         methods to access it.
4507         * lyxtext.h:
4508         * text.C: Added updateRowPositions to compute all row positions.
4509         Make top_y and getRowNearY() to use the cached y position
4510
4511 2003-04-11  John Levon  <levon@movementarian.org>
4512
4513         * text.C (rowBreakPoint): reintroduce the labelEnd
4514         checks, code copied from the row fill stuff. Deep voodoo.
4515
4516         * text.C (fill): add a comment and debugging for the
4517         next poor soul.
4518
4519 2003-04-11  John Levon  <levon@movementarian.org>
4520
4521         * text.C: make sure fullrow insets get wrapped to the next line,
4522         even when they're in a manual label
4523
4524 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text2.C (insertParagraph): make it take ParagraphList::iterator
4527         as arg.
4528         (setLayout): make it return ParagraphList::iterator
4529         (redoParagraphs): ditto
4530         (setCounter): ditto
4531         (checkParagraph): ditto
4532
4533         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4534
4535         * text2.C: adjust several funcs.
4536         (realizeFont): take a ParagraphList::iterator as arg.
4537         (getLayoutFont): ditto
4538         (getLabelFont): ditto
4539         (setCharFont): ditto
4540
4541         * text.C: adjust several funcs.
4542
4543 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4544
4545         * text.C (selectNextWordToSpellcheck): don't accidentally
4546         skip insets
4547
4548 2003-04-10  John Levon  <levon@movementarian.org>
4549
4550         * ToolbarBackend.C (getIcon): special handling for
4551         LFUN_MATH_DELIM
4552
4553 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4554
4555         * text2.C (cursorRight): a getChar assert fixed
4556
4557 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * text2.C (getFont): change to take a ParagraphList::iterator
4560         instead of Paragraph*
4561         Adjust several functions.
4562
4563         * text.C (transformChar): change to take a ParagraphList::iterator
4564         instead of Paragraph*
4565         (singleWidth): ditto
4566         Adjust several functions.
4567
4568         * rowpainter.C: adjust several functions
4569         * rowpainter.h:store a ParagraphList::iterator and not a
4570         Paragraph&.
4571
4572
4573 2003-04-09  John Levon  <levon@movementarian.org>
4574
4575         * lyxfunc.C:
4576         * lfuns.h:
4577         * LyXAction.h:
4578         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4579         and the "help" bits as well
4580
4581 2003-04-09  John Levon  <levon@movementarian.org>
4582
4583         * ToolbarBackend.h:
4584         * ToolbarBackend.C: allow multiple toolbars
4585
4586 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * undo_funcs.C (setCursorParUndo): adjust
4589
4590         * text_funcs.C (transposeChars): adjust
4591
4592         * text3.C (gotoNextInset): adjust
4593         (dispatch): adjust
4594
4595         * text2.C (setLayout): adjust
4596         (changeDepth): adjust
4597         (setFont): adjust
4598         (redoParagraphs): adjust
4599         (selectionAsString): adjust
4600         (setParagraph): adjust
4601         (insertInset): adjust
4602         (cutSelection): adjust
4603         (copySelection): adjust
4604         (pasteSelection): adjust
4605         (insertStringAsLines): adjust
4606         (updateInset): adjust
4607         (setCursor): change to take a ParagraphList::iterator parameter
4608         (setCursorIntern): change to take a ParagraphList::iterator parameter
4609         (setCurrentFont): adjust
4610         (cursorLeft): adjust
4611         (cursorRight): adjust
4612         (deleteEmptyParagraphMechanism): adjust
4613
4614         * text.C (breakParagraph): adjust
4615         (insertChar): adjust
4616         (acceptChange): adjust
4617         (rejectChange): adjust
4618         (selectNextWordToSpellcheck): adjust
4619         (changeCase): adjust
4620         (Delete): adjust
4621         (backspace): adjust
4622
4623         * lyxfind.C (SearchForward): adjust
4624         (SearchBackward): adjust
4625         (nextChange): adjust
4626
4627         * lyxcursor.C (par): adjust
4628
4629         * lyxcursor.h: store a ParagraphList::iterator instead of a
4630         Paragraph*
4631
4632         * lyx_cb.C (getPossibleLabel): adjust
4633
4634         * bufferview_funcs.C (toggleAndShow): adjust
4635
4636         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4637         (dispatch): adjust
4638
4639         * BufferView.C (removeAutoInsets): adjust
4640         (lockedInsetStoreUndo): adjust
4641
4642 2003-04-09  John Levon  <levon@movementarian.org>
4643
4644         * ToolbarBackend.C: try icon without argument
4645         if with argument fails
4646
4647 2003-04-08  John Levon  <levon@movementarian.org>
4648
4649         * ToolbarBackend.h:
4650         * ToolbarBackend.C: add getIcon(), handle tooltip,
4651         and change from "Icon" to "Item".
4652
4653 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4654
4655         * BufferView.C (lockInset): another bad getchar crunched
4656
4657 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4658
4659         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4660         again)
4661
4662 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * lyxfind.C (searchForward, searchBackwards): bug 782
4665
4666 2003-04-07  John Levon  <levon@movementarian.org>
4667
4668         * paragraph.C: remove dead comment
4669
4670         * text.C: remove troublesome depth-fiddling code
4671         in leftMargin() and rightMargin() (bug 1017)
4672
4673         * text.C: fix breaking of rows in nested lists
4674         (bug 1004)
4675
4676         * text2.C (updateCounters): fix up depth values
4677         (bug 1013)
4678
4679 2003-04-07  John Levon  <levon@movementarian.org>
4680
4681         * BufferView_pimpl.C: clear message when doc finishes resizing,
4682         and after a mouse event
4683
4684         * lyxfunc.C: clear message after exiting inset
4685
4686 2003-04-07  John Levon  <levon@movementarian.org>
4687
4688         * bufferview_funcs.C: show math status not outside
4689         status in the statusbar
4690
4691 2003-04-07  John Levon  <levon@movementarian.org>
4692
4693         * lyxfunc.C: note status changed after a depth change
4694
4695 2003-04-04  Angus Leeming  <leeming@lyx.org>
4696
4697         * LaTeX.h: move AuxInfo operator==, != out of line.
4698         Remove LaTeX virtual destructor; nothing derives from it.
4699         Move operator()() out of public area and rename it startscript().
4700         Change protected for private.
4701
4702 2003-04-04  Angus Leeming  <leeming@lyx.org>
4703
4704         * lyxfunc.C:
4705         * text2.C: remove unneeded #includes.
4706
4707 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4708
4709         * text2.C (dEPM): fix the heigth of the next row
4710
4711 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * text.C: squashed an invalid getChar requester + some ws changes
4714
4715 2003-04-03  John Levon  <levon@movementarian.org>
4716
4717         * bufferview_funcs.h:
4718         * bufferview_funcs.C:
4719         * lyxfunc.C:
4720         * lyxtext.h:
4721         * text2.C: make getStatus work for the env depth lfuns
4722
4723 2003-04-03  John Levon  <levon@movementarian.org>
4724
4725         * bufferview_funcs.h:
4726         * bufferview_funcs.C:
4727         * lyxfunc.C:
4728         * lyxtext.h:
4729         * text2.C: parlistize decDepth(), by merging it with incDepth()
4730
4731 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * lyxrow.h: store a ParagraphList::iterator instead of a
4734         Paragraph* and adjust other class functions to suit.
4735
4736         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4737         above.
4738
4739 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * text2.C (setCursor): do not anchor to cursor row for the time being
4742
4743 2003-04-02  John Levon  <levon@movementarian.org>
4744
4745         * LyXAction.C:
4746         * lfuns.h:
4747         * lyx_main.C:
4748         * lyxtext.h:
4749         * text.C:
4750         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4751
4752 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * paragraph.h: make ParagraphList and ParagraphList::iterator
4755         friends of Paragraph.
4756
4757         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4758
4759         * ParagraphList.C: Use the private next_ and previous_ from
4760         Paragraph.
4761
4762 2003-04-01  John Levon  <levon@movementarian.org>
4763
4764         * ToolbarBackend.h:
4765         * ToolbarBackend.C:
4766         * Makefile.am: rename, remove defaults gunk
4767
4768         * MenuBackend.h:
4769         * MenuBackend.C: remove defaults gunk
4770
4771         * Languages.h:
4772         * Languages.C: remove defaults gunk
4773
4774         * lyx_main.h:
4775         * lyx_main.C: error out if files couldn't be found.
4776
4777 2003-04-02  John Levon  <levon@movementarian.org>
4778
4779         * text2.C: make incDepth() use parlist
4780
4781 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * undo_funcs.C (firstUndoParagraph): adjust
4784
4785         * text3.C (gotoInset): adjust
4786         (dispatch): adjust, and rewrite loop.
4787
4788         * text2.C (init): adjust, and rewrite loop.
4789         (redoParagraphs): adjust
4790         (updateInset): adjust, and rewrite loop.
4791         (deleteEmptyParagraphMechanism): adjust
4792
4793         * tabular.C (LyXTabular): adjust
4794         (SetMultiColumn): adjust
4795         (TeXRow): adjust
4796
4797         * lyxtext.[Ch] (ownerParagraph): delete function
4798         (ownerParagraphs): new function returns a ParagraphList.
4799
4800         * BufferView.C (removeAutoInsets): adjust
4801         (insertErrors): adjust
4802         (setCursorFromRow): adjust
4803
4804 2003-04-01  Angus Leeming  <leeming@lyx.org>
4805
4806         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4807         in the frontends.
4808
4809 2003-04-02  John Levon  <levon@movementarian.org>
4810
4811         * lyxtext.h:
4812         * text.C:
4813         * Makefile.am:
4814         * text_funcs.h:
4815         * text_funcs.C: make transposeChars a free function
4816
4817         * lyxrow_funcs.C: remove wrong comment
4818
4819 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * lyxtext.h: adjust
4822         * rowpainter.C: adjust
4823         * text.C: adjust
4824         * text2.C: adjust
4825         * text3.C: adjust
4826
4827         * lyxrow_funcs. [Ch]: new files
4828
4829         * lyxrow.[Ch]: remove next and previous pointers
4830         (next,previous): remove accessor functions
4831         (isParEnd): move to lyxrow_funcs
4832         (lastPos): move to lyxrow_funcs
4833         (nextRowIsAllInset): move to lyxrow_funcs
4834         (lastPrintablePos): move to lyxrow_funcs
4835         (numberOfSeparators): move to lyxrow_funcs
4836         (numberOfHfills): move to lyxrow_funcs
4837         (numberOfLabelHfills): move to lyxrow_funcs
4838         (hfillExpansion): move to lyxrow_funcs
4839
4840         * lyxfunc.C: adjust
4841
4842         * bufferview_funcs.C (toggleAndShow): adjust
4843
4844         * RowList.h: Remove class RowList from file leave just a
4845         std::list<Row>.
4846
4847         * RowList.C: delete file
4848
4849         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4850         and lyxrow_funcs.h
4851
4852 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * text3.C (cursorPrevious): adjust
4855         (cursorNext): adjust
4856         (dispatch): adjust
4857
4858         * text2.C (redoHeightOfParagraph): adjust
4859         (redoDrawingOfParagraph): adjust
4860         (setCursor): adjust
4861
4862         * text.C (breakParagraph): adjust
4863         (insertChar): adjust
4864         (backspace): adjust
4865
4866         * rowpainter.C (RowPainter): adjust
4867         (leftMargin): simplify and adjust
4868         (most rowpainter functions): adjust.
4869
4870         * rowpainter.h: store the row as RowList::iterator not as Row*
4871
4872         * lyxcursor.C (row): taka RowList::iterator as arg
4873         (irow): ditto
4874
4875         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4876         of Row*.
4877
4878 2003-04-01  Angus Leeming  <leeming@lyx.org>
4879
4880         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4881         stuff like bool Bool.
4882
4883 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4886         rewrite a loop
4887
4888 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4891         RowList::iterator.
4892
4893         * lyxtext.h (rows): drop one version and leve a const variant that
4894         returns a RowList::iterator.
4895
4896 2003-03-31  Angus Leeming  <leeming@lyx.org>
4897
4898         * text.C (fill): ensure that the signature is the same as that in the
4899         header file.
4900
4901 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * text2.C (redoParagraphs): adjust
4904         (updateCounters): adjust
4905         (checkParagraph): adjust
4906         (getColumnNearX): adjust and reformat a bit.
4907
4908         * text.C (top_y): adjust
4909         (workWidth): adjust
4910         (leftMargin): adjust
4911         (prepareToPrint): adjust
4912         (getRow): adjust
4913         (getRowNearY): adjust
4914
4915         * lyxtext.h: make rowlist_ mutable.
4916
4917         * RowList.h: add const_iterator
4918         * RowList.C: adjust for RowList::const_iterator.
4919
4920         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4921         adjust.
4922
4923 2003-03-31  John Levon  <levon@movementarian.org>
4924
4925         * lyxrc.h:
4926         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4927
4928         * lyx_main.C: set default fonts from using lyx_gui funcs
4929
4930         * exporter.C: pdf_mode moved from lyxrc
4931
4932         * lyx_cb.C:
4933         * lyxfunc.C: changes from above
4934
4935 2003-03-31  John Levon  <levon@movementarian.org>
4936
4937         * lyx_main.C: fix to the last fix
4938
4939 2003-03-31  John Levon  <levon@movementarian.org>
4940
4941         * bufferlist.C: "Load original" -> "Load Original"
4942
4943         * converter.C:
4944         * exporter.C:
4945         * importer.C:
4946         * lyx_main.C:
4947         * format.C: more Alert cleanups
4948
4949 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * text2.C (removeParagraph): make it take a RowList::iterator as
4952         arg, adjust.
4953         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4954         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4955
4956         * text.C (anchor_row): make it take a RowList::iterator as arg,
4957         adjust.
4958         (computeBidiTables): make it take a const reference to Row instead
4959         of Row pointer, adjust.
4960         (leftMargin): make it take a RowList::iterator as arg, adjust.
4961         (rowBreakPoint): adjust
4962         (breakAgainOneRow): make it take a RowList::iterator as arg,
4963         adjust.
4964         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4965
4966         * bufferview_funcs.C (toggleAndShow): adjust
4967
4968 2003-03-30  John Levon  <levon@movementarian.org>
4969
4970         * Makefile.am:
4971         * BoostFormat.h:
4972         * boost-inst.C: moved to support
4973
4974         * several files: changes as a result
4975
4976 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * text2.C (LyXText): adjust.
4979         (init): adjust
4980         (removeRow): make it take a RowList::iterator as arg, adjust.
4981         (fullRebreak): adjust
4982         (deleteEmptyParagraphMechanism): adjust
4983         (clearPaint): adjust
4984         (postPaint): adjust
4985
4986         * text.C (top_y): adjust
4987         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4988         (breakAgain): make it take a RowList::iterator as arg, adjust.
4989         (breakParagraph): adjust
4990         (insertChar): adjust
4991         (backspace): adjust
4992
4993         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4994         need_break_row, and refresh_row.
4995
4996         * text3.C (dispatch): adjust
4997
4998         * text2.C (checkParagraph): adjust
4999         (setCursor): adjust
5000         (setCursorFromCoordinates): adjust
5001
5002         * text.C (top_y): adjust
5003         (workWidth): adjust
5004         (getRow): make it return a RowList::iterator, adjust
5005         (getRowNearY): make it return a RowList::iterator, adjust
5006
5007         * text2.C (init): adjust
5008         (insertRow): remove function
5009         (insertParagraph): adjust
5010         (redoParagraphs): adjust
5011         (fullRebreak): adjust
5012         (updateCounters): adjust
5013
5014         * text.C (top_y): rewrite to use RowList iterators.
5015         (top_y): adjust
5016         (setHeightOfRow): rewrite to sue RowList iterators.
5017         (appendParagraph): adjust
5018         (breakAgain): adjust
5019         (breakAgainOneRow): adjust
5020         (breakParagraph): adjust
5021         (getRow): adjust
5022         (getRowNearY): adjust, and remove commented code.
5023
5024         * lyxtext.h (firstRow): delete function
5025         (lastRow): delete function
5026         (rows): new function (const and non-const versions.)
5027         (insertRow): delete function
5028
5029         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5030
5031 2003-03-29  John Levon  <levon@movementarian.org>
5032
5033         * BufferView_pimpl.C: always update scrollbar top
5034         because pasting text when we're anchored could mean we
5035         miss an update altogether
5036
5037 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text2.C (init): use rowlist_.end() and not 0.
5040         (insertRow): change to take a RowList::iterator as arg, adjust
5041         for this.
5042         (insertParagraph): change to take a RowList::iterator as arg,
5043         adjust for this.
5044         (redoParagraphs): remove some debug msgs.
5045
5046         * text.C (appendParagraph): change to take a RowList::iterator
5047         arg, adjust for this.
5048         (breakAgain): add an assert
5049         (breakAgainOneRow): ditto
5050
5051 2003-03-29  John Levon  <levon@movementarian.org>
5052
5053         * text2.C: do not clear selection after inc/decDepth
5054         (bug 550)
5055
5056 2003-03-29  John Levon  <levon@movementarian.org>
5057
5058         * BufferView.C:
5059         * buffer.C: fix broken strerrors according to Lars
5060
5061 2003-03-29  John Levon  <levon@movementarian.org>
5062
5063         * converters.C: more Alert cleanups
5064
5065 2003-03-29  John Levon  <levon@movementarian.org>
5066
5067         * bufferview_funcs.C: remove pointless Alert
5068
5069         * buffer.C: fix confusing error message when
5070         a template is chmoded 000
5071
5072 2003-03-29  John Levon  <levon@movementarian.org>
5073
5074         * BufferView.C:
5075         * BufferView.h:
5076         * BufferView_pimpl.C: Alert fixes
5077
5078         * Makefile.am:
5079         * tabular.C:
5080         * tabular-old.C: remove unused table compat reading
5081
5082 2003-03-29  John Levon  <levon@movementarian.org>
5083
5084         * BufferView.C:
5085         * buffer.C:
5086         * lyx_cb.h:
5087         * lyx_cb.C: more Alert cleanups
5088
5089         * lyxfunc.C: don't allow chktex if not latex document
5090
5091 2003-03-29  John Levon  <levon@movementarian.org>
5092
5093         * lyx_cb.C:
5094         * BufferView.C:
5095         * buffer.C: warnings pushed down from support/,
5096         kill err_alert
5097
5098 2003-03-29  John Levon  <levon@movementarian.org>
5099
5100         * lyxfunc.C: safety check for C-r (revert)
5101
5102 2003-03-29  John Levon  <levon@movementarian.org>
5103
5104         * bufferlist.h:
5105         * bufferlist.C: several UI fixes using Alert::prompt.
5106         Fix the pointless looping quit code. Fix stupid revert
5107         behaviour (bug 938)
5108
5109         * lyxvc.h:
5110         * lyxvc.C:
5111         * lyx_cb.C: use Alert::prompt
5112
5113         * lyx_main.C: remove a silly question
5114
5115         * lyxfunc.C: remove a couple of silly questions,
5116         use Alert::prompt
5117
5118 2003-03-28  John Levon  <levon@movementarian.org>
5119
5120         * text2.C: fix bug 974 (End on empty par)
5121
5122 2003-03-28  John Levon  <levon@movementarian.org>
5123
5124         * BufferView_pimpl.C:
5125         * LyXAction.C:
5126         * lfuns.h: remove do-nothing math greek lfuns
5127
5128 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * lyxgluelength.h (isValidGlueLength): add default arg on
5131         parameter 2. Remove default arg from friend in class.
5132
5133         * lyxlength.h (isValidLength): add default arg on parameter 2.
5134         Remove default arg from friend in class.
5135
5136         * text2.C (LyXText): adjust, initialize refresh_row.
5137         (init): adjust
5138         (removeRow): adjust
5139         (insertRow): adjust
5140         (insertParagraph): adjst
5141         (redoParagraphs): adjust
5142         (fullRebreak): adjust
5143         (updateCounters): adjust
5144         (deleteEmptyParagraphMechanism): first attempt at fixing a
5145         crashing bug.
5146
5147         * text.C (top_y): adjust
5148         (setHeightOfRow): adjust
5149         (getRow): adjust
5150         (getRowNearY): adjust
5151
5152         * lyxtext.h: include RowList.h
5153         (~LyXText): not needed anymore, deleted.
5154         (firstRow): modify for RowList
5155         (lastRow): new function
5156         Delete firstrow and lastrow class variables, add a Rowlist
5157         rowlist_ class variable.
5158
5159         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5160         paragraph is empty.
5161
5162         * RowList.C (insert): fix case where it == begin().
5163
5164 2003-03-26  Angus Leeming  <leeming@lyx.org>
5165
5166         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5167         the thesaurus dialog.
5168
5169 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5172
5173         * RowList.[Ch]: new files
5174
5175         * ParagraphList.C (erase): handle the case where it == begin
5176         correctly.
5177
5178 2003-03-25  John Levon  <levon@movementarian.org>
5179
5180         * Makefile.am:
5181         * aspell_local.h:
5182         * aspell.C: add new aspell support
5183
5184         * lyxrc.h:
5185         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5186         have it accessible.
5187
5188 2003-03-25  Angus Leeming  <leeming@lyx.org>
5189
5190         * lfuns.h:
5191         * LyXAction.C (init): new LFUN_INSET_INSERT.
5192
5193         * BufferView_pimpl.C (dispatch): split out part of the
5194         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5195
5196         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5197         LFUN_INSET_APPLY.
5198
5199 2003-03-25  Angus Leeming  <leeming@lyx.org>
5200
5201         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5202
5203 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * text2.C:
5206         * text3.C: remove useless row->height(0)
5207
5208 2003-03-25  John Levon  <levon@movementarian.org>
5209
5210         * lyxtext.h:
5211         * text2.C:
5212         * text3.C: rename the refreshing stuff to better names
5213
5214 2003-03-24  John Levon  <levon@movementarian.org>
5215
5216         * BufferView_pimpl.h:
5217         * BufferView_pimpl.C: update layout choice on a mouse
5218         press/release
5219
5220 2003-03-23  John Levon  <levon@movementarian.org>
5221
5222         * Makefile.am: fix commandtags.h reference
5223
5224 2003-03-22  John Levon  <levon@movementarian.org>
5225
5226         * BufferView_pimpl.C:
5227         * lyxtext.h:
5228         * rowpainter.C:
5229         * rowpainter.h:
5230         * text.C:
5231         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5232
5233 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * lyxtext.h:
5236         * text.C: take the rtl methods out of line
5237
5238 2003-03-21 André Pönitz <poenitz@gmx.net>
5239
5240         * metricsinfo.[Ch]: new files containing structures to be passed around
5241         during the two-phase-drawing...
5242
5243 2003-03-21 André Pönitz <poenitz@gmx.net>
5244
5245         * lyxtextclass.C: read 'environment' tag.
5246
5247 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * text2.C (removeRow): fix bug 964
5250
5251 2003-03-20  John Levon  <levon@movementarian.org>
5252
5253         * rowpainter.C:
5254         * text.C:
5255         * text2.C: paint cleanups. Inset::update() dropped font
5256         parameter
5257
5258 2003-03-19  John Levon  <levon@movementarian.org>
5259
5260         * lyxfunc.C: only fitcursor/markDirty if available()
5261
5262 2003-03-19  John Levon  <levon@movementarian.org>
5263
5264         * commandtags.h: rename to ...
5265
5266         * lfuns.h: ... this, and renumber / cleanup
5267
5268 2003-03-19  John Levon  <levon@movementarian.org>
5269
5270         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5271         fit the cursor after an lfun
5272
5273         * BufferView.h:
5274         * BufferView.C:
5275         * BufferView_pimpl.h:
5276         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5277
5278         * LyXAction.C: layout-character should have ReadOnly
5279
5280         * ParagraphParameters.C:
5281         * buffer.C:
5282         * bufferview_funcs.C:
5283         * lyx_cb.C:
5284         * lyxfind.C:
5285         * lyxtext.h:
5286         * text.C:
5287         * text2.C:
5288         * text3.C:
5289         * undo_funcs.C: changes from above
5290
5291 2003-03-18  John Levon  <levon@movementarian.org>
5292
5293         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5294         remove it from update()
5295
5296         * lyxfunc.C: update layout choice after an lfun
5297
5298         * text3.C: remove extra updateLayoutChoice()s
5299
5300 2003-03-18  John Levon  <levon@movementarian.org>
5301
5302         * text.C: top_y change means full repaint, fix
5303         a drawing bug with cursor movement
5304
5305 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * lyxtext.h:
5308         * text.C:
5309         * text2.C: anchor row on setCursor
5310
5311 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * lyxtext.h: remove almost all mutable keywords
5314         * text.C:
5315         * text2.C:
5316         * text3.C: remove const keywords accordingly
5317
5318 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5321         anon namespace
5322         (TeXEnvironment): ditto
5323         (TeXOnePar): ditto
5324
5325 2003-03-17  John Levon  <levon@movementarian.org>
5326
5327         * text.C (rowBreakPoint): remove attempt to fix displayed
5328         math insets inside a manual label
5329
5330 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * lyxtext.h: remove BufferView* as first arg from almost all class
5333         functions.
5334         * other files: adjust.
5335
5336 2003-03-17  John Levon  <levon@movementarian.org>
5337
5338         * lyxtext.h:
5339         * undo_funcs.C:
5340         * text2.C: more paint cleanups
5341
5342         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5343
5344         * rowpainter.h:
5345         * rowpainter.C: remove "smart" background painting code
5346
5347 2003-03-16  John Levon  <levon@movementarian.org>
5348
5349         * lyxtext.h:
5350         * text.C:
5351         * text2.C:
5352         * text3.C: add helper functions for setting refresh_row/y
5353
5354 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5355
5356         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5357         newline inset which *can* get inserted in the pass_thru layouts.
5358         This is primarily for literate documents.
5359
5360 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5361
5362         * buffer.C: increment LYX_FORMAT to 223
5363
5364 2003-03-14 André Pönitz <poenitz@gmx.net>
5365
5366         * textclass.h: prepare for environment handling, ws changes
5367         * lyxlayout.C: read latexheader and latexfooter tags
5368
5369 2003-03-14  John Levon  <levon@movementarian.org>
5370
5371         * text2.C: rewrite ::status() a bit
5372
5373 2003-03-13  John Levon  <levon@movementarian.org>
5374
5375         * lyxtext.h: add some docs
5376
5377 2003-03-13  John Levon  <levon@movementarian.org>
5378
5379         * lyxtext.h:
5380         * text.C:
5381         * text2.C:
5382         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5383
5384 2003-03-13  John Levon  <levon@movementarian.org>
5385
5386         * text3.C: fix appendix redrawing
5387
5388 2003-03-13  John Levon  <levon@movementarian.org>
5389
5390         * text.C (setHeightOfRow):
5391         * rowpainter.h:
5392         * rowpainter.C: make appendix mark have the text
5393           "Appendix" so the user knows what it is
5394
5395         * LColor.h:
5396         * LColor.C: s/appendixline/appendix/ from above
5397
5398 2003-03-13  John Levon  <levon@movementarian.org>
5399
5400         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5401
5402         * text.C: fix a getChar(pos) bug properly
5403
5404 2003-03-13  Angus Leeming  <leeming@lyx.org>
5405
5406         * commandtags.h:
5407         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5408         Probably only temporary. Let's see how things pan out.
5409
5410         * BufferView.C (unlockInset):
5411         * BufferView_pimpl.C (fitCursor):
5412         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5413
5414         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5415         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5416
5417         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5418         new functions that convert ParagraphParameters to and from a string.
5419
5420         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5421         BufferView::Pimpl's dispatch.
5422         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5423
5424 2003-03-13 André Pönitz <poenitz@gmx.net>
5425
5426         * lyxfunc.C:
5427         * text3.C:
5428         * factory.C: make it aware of InsetEnv
5429
5430 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * text2.C (setCursor): never ask for one past last
5433         (setCursor): add some debugging messages.
5434
5435         * text.C (singleWidth): never ask for one past last
5436         (singleWidth): ditto
5437         (leftMargin): ditto
5438         (rightMargin): ditto
5439         (rowBreakPoint): ditto
5440         (setHeightOfRow): ditto
5441         (prepareToPrint): ditto
5442
5443         * rowpainter.C (paintBackground): never ask for one past last
5444         (paintText): never ask for one past last
5445
5446         * paragraph_pimpl.C (getChar): make the assert stricter, never
5447         allow the one past last pos to be taken
5448
5449         * paragraph.C (getChar): ws changes only
5450
5451         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5452         (numberOfSeparators): ditto
5453         (numberOfHfills): ditto
5454
5455 2003-03-12  John Levon  <levon@movementarian.org>
5456
5457         * author.h:
5458         * author.C:
5459         * bufferparams.h:
5460         * bufferparams.C:
5461         * paragraph_funcs.C: fix per-buffer authorlists
5462
5463 2003-03-12  John Levon  <levon@movementarian.org>
5464
5465         * text.C: fix newline in right address
5466
5467 2003-03-12  Angus Leeming  <leeming@lyx.org>
5468
5469         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5470         duplicate those in LyXFunc::dispatch.
5471
5472         * commandtags.h:
5473         * LyXAction.C:
5474         * ToolbarDefaults.C:
5475         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5476         Add LFUN_FONTFREE_UPDATE.
5477
5478         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5479         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5480
5481         * bufferview_func.[Ch]: several new functions to facilliate
5482         transfer of data to and from the character dialog.
5483
5484 2003-03-12  John Levon  <levon@movementarian.org>
5485
5486         * buffer.C:
5487         * paragraph.h:
5488         * paragraph.C:
5489         * paragraph_funcs.C:
5490         * paragraph_pimpl.C:
5491         * sgml.C:
5492         * tabular.C:
5493         * text.C:
5494         * text3.C: remove META_NEWLINE in favour of an inset
5495
5496         * rowpainter.h:
5497         * rowpainter.C: remove paintNewline (done by inset)
5498
5499 2003-03-12  John Levon  <levon@movementarian.org>
5500
5501         * paragraph_pimpl.C: complain about bad getChar()s
5502         for a while at least
5503
5504 2003-03-12  John Levon  <levon@movementarian.org>
5505
5506         * buffer.h:
5507         * buffer.C: move paragraph read into a separate function,
5508         a little renaming to reflect that.
5509
5510         * bufferparams.h:
5511         * bufferparams.C: remove the author_ids map, not necessary now
5512
5513         * factory.h:
5514         * factory.C: moved Buffer::readInset to here
5515
5516         * paragraph_funcs.h:
5517         * paragraph_funcs.C: readParagraph free function moved from
5518         buffer.C
5519
5520         * tabular.C: name change
5521
5522 2003-03-12  John Levon  <levon@movementarian.org>
5523
5524         * buffer.C:
5525         * ParagraphParameters.C: move par params input to
5526         a read() method
5527
5528         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5529         behave like a normal read from the stream wrt reading
5530         a line vs. a \\token
5531
5532 2003-03-12  John Levon  <levon@movementarian.org>
5533
5534         * paragraph.C:
5535         * ParagraphParameters.h:
5536         * ParagraphParameters.C: move output code to a
5537         ::write() method
5538
5539 2003-03-12  John Levon  <levon@movementarian.org>
5540
5541         * BufferView.C (insertLyXFile):
5542         * buffer.h:
5543         * buffer.C:
5544         * tabular.C: use a parlist iterator for creating the
5545           document.
5546
5547 2003-03-12  John Levon  <levon@movementarian.org>
5548
5549         * buffer.C: make current_change static local not
5550           static file-scope
5551
5552 2003-03-12  John Levon  <levon@movementarian.org>
5553
5554         * buffer.C: fix insertStringAsLines for change tracking
5555
5556 2003-03-12  John Levon  <levon@movementarian.org>
5557
5558         * BufferView.C:
5559         * tabular.C:
5560         * buffer.h:
5561         * buffer.C:
5562         * bufferparams.h:
5563         * bufferparams.C: move author list into params. Rename some
5564           functions. Move the header reading into a separate token
5565           loop. Move the header token reading into BufferParams.
5566
5567 2003-03-12  John Levon  <levon@movementarian.org>
5568
5569         * changes.C: put debug inside lyxerr.debugging() checks
5570
5571 2003-03-11 André Pönitz <poenitz@gmx.net>
5572
5573         * factory.C: make it aware of InsetHFill
5574
5575 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5576
5577         * buffer.C (latexParagraphs): move function from here...
5578         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5579         args.
5580
5581 2003-03-10  Angus Leeming  <leeming@lyx.org>
5582
5583         * LyXAction.C (init): fix bug in poplating array with multiple entries
5584         with the same LFUN (spotted by JMarc).
5585
5586 2003-03-10  John Levon  <levon@movementarian.org>
5587
5588         * text.C:
5589         * text2.C: move getColumnNearX() near its
5590         only call site
5591
5592 2003-03-10  John Levon  <levon@movementarian.org>
5593
5594         * text.C: fix break before a minipage
5595
5596 2003-03-10  John Levon  <levon@movementarian.org>
5597
5598         * text.C: fix the last commit
5599
5600 2003-03-09  John Levon  <levon@movementarian.org>
5601
5602         * lyxtext.h:
5603         * text.C:
5604         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5605         bug 365 (don't break before insets unless needed). Don't
5606         return a value > last under any circumstances.
5607
5608 2003-03-09  Angus Leeming  <leeming@lyx.org>
5609
5610         * BufferView_pimpl.C (trackChanges, dispatch): call
5611         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5612
5613 2003-03-09  Angus Leeming  <leeming@lyx.org>
5614
5615         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5616         than Dialogs::showAboutlyx().
5617
5618 2003-03-09  Angus Leeming  <leeming@lyx.org>
5619
5620         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5621         than Dialogs::showTabularCreate().
5622
5623 2003-03-09  John Levon  <levon@movementarian.org>
5624
5625         * lyxtext.h:
5626         * text.C:
5627         * text2.C: 3rd arg to nextBreakPoint was always the same.
5628           Use references.
5629
5630 2003-03-08  John Levon  <levon@movementarian.org>
5631
5632         * lyxrow.C:
5633         * paragraph.C:
5634         * paragraph.h:
5635         * rowpainter.C:
5636         * text.C:
5637         * text2.C: Remove the "main" bit from the "main body"
5638           notion.
5639
5640 2003-03-08  John Levon  <levon@movementarian.org>
5641
5642         * text.C (leftMargin): The left margin of an empty
5643         manual label paragraph should not include the label width
5644         string length.
5645
5646         * text.C (prepareToPrint): don't attempt to measure hfills
5647         for empty manual label paragraphs - the answer should be 0
5648
5649 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * CutAndPaste.C: remove commented code and reindent.
5652
5653 2003-03-08  John Levon  <levon@movementarian.org>
5654
5655         * lyxfunc.h:
5656         * lyxfunc.C: move reloadBuffer()
5657
5658         * BufferView.h:
5659         * BufferView.C: to here
5660
5661         * lyxvc.C: add comment
5662
5663         * vc-backend.h:
5664         * vc-backend.C: call bv->reload() to avoid
5665           getStatus() check on MENURELOAD
5666
5667 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5668
5669         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5670         to an old format .dep file.
5671
5672 2003-03-07  Angus Leeming  <leeming@lyx.org>
5673
5674         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5675         when the LFUN_MOUSE_RELEASE should have been handled by
5676         inset->localDispatch.
5677
5678 2003-03-07  Angus Leeming  <leeming@lyx.org>
5679
5680         * BufferView_pimpl.C (dispatch):
5681         * LyXAction.C (init):
5682         * ToolbarDefaults.C (init):
5683         * commandtags.h:
5684         * lyxfunc.C (getStatus):
5685         remove LFUN_INSET_GRAPHICS.
5686
5687         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5688
5689 2003-03-07  Angus Leeming  <leeming@lyx.org>
5690
5691         * commandtags.h:
5692         * LyXAction.C (init):
5693         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5694
5695         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5696
5697         * commandtags.h:
5698         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5699
5700         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5701         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5702
5703 2003-03-07  Angus Leeming  <leeming@lyx.org>
5704
5705         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5706         remove "ert".
5707
5708 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * ParagraphList.C (front): new function
5711         (back): implement
5712
5713 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5716         and top_row_offset_. removed var first_y.
5717         * text.C (top_y):
5718         * text2.C (LyXText, removeRow):
5719         * text3.C:
5720         * BufferView_pimpl.C:
5721         use these methods instead of using first_y
5722
5723 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724
5725         * text2.C (pasteSelection): adjust for checkPastePossible
5726
5727         * CutAndPaste.C: remove Paragraph * buf and replace with
5728         ParagraphList paragraphs.
5729         (DeleteBuffer): delete
5730         (cutSelection): change the tc type to textclass_type
5731         (copySelection): change the tc type to textclass_type
5732         (copySelection): adjust for ParagraphList
5733         (pasteSelection): change the tc type to textclass_type
5734         (pasteSelection): adjust for Paragraphlist
5735         (nrOfParagraphs): simplify for ParagraphList
5736         (checkPastePossible): simplify for ParagraphList
5737         (checkPastePossible): remove unused arg
5738
5739         * ParagraphList.C (insert): handle the case where there are no
5740         paragraphs yet.
5741
5742         * CutAndPaste.h: make CutAndPaste a namespace.
5743
5744         * text3.C (dispatch): adjust
5745
5746         * text.C (breakParagraph): add a ParagraphList as arg
5747
5748         * paragraph_funcs.C (breakParagraph): change to take a
5749         BufferParams and a ParagraphList as args.
5750         (breakParagraphConservative): ditto
5751         (mergeParagraph): ditto
5752         (TeXDeeper): add a ParagraphList arg
5753         (TeXEnvironment): ditto
5754         (TeXOnePar): ditto
5755
5756         * buffer.C (readLyXformat2): adjust
5757         (insertStringAsLines): adjust
5758         (latexParagraphs): adjust
5759
5760         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5761         (cutSelection): adjust
5762         (pasteSelection): adjust
5763
5764         * BufferView_pimpl.C (insertInset): adjust
5765
5766 2003-03-05  Angus Leeming  <leeming@lyx.org>
5767
5768         * commandtags.h:
5769         * LyXAction.C (init):
5770         * BufferView_pimpl.C (dispatch):
5771         * lyxfunc.C (getStatus):
5772         remove LFUN_CHILD_INSERT.
5773
5774         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5775
5776 2003-03-05  Angus Leeming  <leeming@lyx.org>
5777
5778         * commandtags.h:
5779         * LyXAction.C (init):
5780         * src/factory.C (createInset):
5781         * lyxfunc.C (getStatus):
5782         * text3.C (dispatch):
5783         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5784
5785         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5786
5787 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * ParagraphList.C (insert): handle insert right before end()
5790         (erase): fix cases where it can be first or last paragraph.
5791
5792 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5795         Paragraph::next and Paragraph::previous
5796         (TeXOnePar): ditto
5797
5798         * text.C (breakParagraph): adjust
5799
5800         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5801         BufferParams& as arg.
5802         (breakParagraph): use ParagraphList::insert
5803         (breakParagraphConservative): take a Buffer* instead of a
5804         BufferParams& as arg.
5805         (breakParagraphConservative): use ParagraphList::insert.
5806
5807         * buffer.C (insertStringAsLines): un-const it
5808         (insertStringAsLines): adjust
5809
5810         * ParagraphList.C (insert): new function
5811
5812         * CutAndPaste.C (pasteSelection): adjust
5813
5814         * text.C (backspace): adjust
5815
5816         * tabular.C (SetMultiColumn): adjust
5817
5818         * CutAndPaste.C (cutSelection): adjust
5819         (pasteSelection): adjust
5820
5821         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5822         Buffer const * as arg
5823
5824         * ParagraphList.C (erase): new function
5825         * paragraph_funcs.C (mergeParagraph): use it
5826         (mergeParagraph): make it take a Buffer* instead of a
5827         BufferParams* as arg
5828
5829         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5830         as arg
5831         (breakParagraphConservative): ditto
5832
5833         * paragraph.h: remove the breakParagraph friend
5834
5835         * paragraph.C (eraseIntern): new function
5836         (setChange): new function
5837
5838         * paragraph_funcs.C (mergeParagraph): make it take a
5839         ParagraphList::iterator instead of a Paragraph *, adjust
5840         accordingly.
5841
5842         * paragraph.h: move an #endif so that the change tracking stuff
5843         also works in the NO_NEXT case.
5844
5845 2003-03-04  Angus Leeming  <leeming@lyx.org>
5846
5847         * commandtags.h:
5848         * LyXAction.C: new LFUN_INSET_MODIFY.
5849
5850         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5851         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5852
5853 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * several files: ws changes only
5856
5857         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5858         (TeXEnvironment): ditto
5859         (TeXDeeper): ditto
5860
5861         * buffer.C (makeLaTeXFile): adjust
5862         (latexParagraphs): make it take ParagraphList::iterator as args
5863
5864 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * buffer.C (latexParagraphs): adjust
5867
5868         * paragraph.C (TeXOnePar): move function...
5869         (optArgInset): move function...
5870         (TeXEnvironment): move function...
5871         * paragraph_pimpl.C (TeXDeeper): move function...
5872         * paragraph_funcs.C: ...here
5873
5874         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5875
5876 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * buffer.C (readInset): remove compability code for old Figure and
5879         InsetInfo insets
5880
5881 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * buffer.C: ws changes
5884         (readInset):
5885
5886         * BufferView_pimpl.C: ditto
5887         * author.C: ditto
5888         * buffer.h: ditto
5889         * bufferlist.h: ditto
5890         * changes.h: ditto
5891         * lyxfunc.C: ditto
5892
5893 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5894
5895         * converter.[Ch]: split into itself +
5896         * graph.[Ch]
5897         * format.[Ch]
5898         * Makefile.am: += graph.[Ch] + format.[Ch]
5899         * MenuBackend.C
5900         * buffer.C
5901         * exporter.C
5902         * importer.C
5903         * lyx_main.C
5904         * lyxfunc.C
5905         * lyxrc.C: added #include "format.h"
5906
5907 2003-02-27  Angus Leeming  <leeming@lyx.org>
5908
5909         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5910           a label.
5911
5912         * factory.C (createInset): add "label" to the factory.
5913
5914         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5915           string and do no more.
5916
5917 2003-02-27  Angus Leeming  <leeming@lyx.org>
5918
5919         * commandtags.h:
5920         * LyXAction.C (init):
5921         * factory.C (createInset):
5922         * BufferView_pimpl.C (dispatch):
5923           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5924
5925         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5926
5927         * lyxfunc.C (dispatch):
5928         * text3.C (dispatch): pass name to params2string.
5929
5930 2003-02-26  Angus Leeming  <leeming@lyx.org>
5931
5932         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5933           blocks together.
5934           Rearrange the ~includes. Strip out the unnecessary ones.
5935
5936         * factory.C (createInset): reformat.
5937           create new insets for the various LFUN_XYZ_APPLY lfuns.
5938
5939 2003-02-26  John Levon  <levon@movementarian.org>
5940
5941         * lyxrow.h:
5942         * lyxrow.C: add isParStart,isParEnd helpers
5943
5944         * paragraph.h: make isInserted/DeletedText take refs
5945
5946         * paragraph_funcs.h:
5947         * paragraph_funcs.C: remove #if 0'd code
5948
5949         * lyxtext.h:
5950         * text3.C:
5951         * text2.C:
5952         * text.C: use lyxrow helpers above.
5953           Move draw and paint routines to RowPainter.
5954           Make several methods use refs not pointers.
5955           Make backgroundColor() const.
5956           Add markChangeInDraw(), isInInset().
5957           Merge changeRegionCase into changeCase.
5958           Make workWidth() shouldn't-happen code into an Assert.
5959
5960         * rowpainter.h:
5961         * rowpainter.C: new class for painting a row.
5962
5963         * vspace.h:
5964         * vspace.C: make inPixels take a ref
5965
5966 2003-02-26  Angus Leeming  <leeming@lyx.org>
5967
5968         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5969         LFUN_REF_APPLY.
5970
5971 2003-02-25  John Levon  <levon@movementarian.org>
5972
5973         * ispell.C: give the forked command a more accurate name
5974
5975 2003-02-22  John Levon  <levon@movementarian.org>
5976
5977         * toc.h:
5978         * toc.C: make TocItem store an id not a Paragraph *
5979           (bug #913)
5980
5981 2003-02-21  Angus Leeming  <leeming@lyx.org>
5982
5983         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5984           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5985           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5986           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5987           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5988           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5989
5990         * BufferView_pimpl.C (dispatch):
5991         * LyXAction.C (init):
5992         * factory.C (createInset):
5993         * lyxfunc.C (getStatus, dispatch):
5994         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5995
5996 2003-02-21  Angus Leeming  <leeming@lyx.org>
5997
5998         * BufferView_pimpl.C (MenuInsertLyXFile):
5999         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6000         * lyxfunc.C (menuNew, open, doImport):
6001           no longer pass a LyXView & to fileDlg.
6002
6003 2003-02-21  Angus Leeming  <leeming@lyx.org>
6004
6005         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6006         * LyXAction.C: change, BIBKEY to BIBITEM.
6007         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6008         Change InsetBibKey to InsetBibitem.
6009         Change BIBKEY_CODE to BIBITEM_CODE.
6010         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6011         * factory.C: replace insetbib.h with insetbibitem.h.
6012         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6013         * paragraph.C: replace insetbib.h with insetbibitem.h.
6014         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6015         Change bibkey() to bibitem().
6016         * text.C: remove insetbib.h.
6017         * text2.C: replace insetbib.h with insetbibitem.h.
6018         change bibkey() to bibitem().
6019         * text3.C: remove insetbib.h.
6020         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6021
6022 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6023
6024         * lyxrc.C (output): enclose user email in quotes (in case there are
6025         several words)
6026
6027 2003-02-18  John Levon  <levon@movementarian.org>
6028
6029         * buffer.h: add std::
6030
6031 2003-02-17  John Levon  <levon@movementarian.org>
6032
6033         * SpellBase.h:
6034         * ispell.h:
6035         * ispell.C:
6036         * pspell.h:
6037         * pspell.C: reworking. Especially in ispell, a large
6038           number of clean ups and bug fixes.
6039
6040         * lyxfunc.C: fix revert to behave sensibly
6041
6042 2003-02-17 André Pönitz <poenitz@gmx.net>
6043
6044         * LyXAction.C:
6045         * commandtags.h: new LFUN_INSERT_BIBKEY
6046
6047         * layout.h:
6048         * lyxlayout.C:
6049         * buffer.C:
6050         * factory.C:
6051         * text.C:
6052         * text2.C:
6053         * text3.C:
6054         * paragraph.[Ch]:
6055         * paragraph_func.C: remove special bibkey handling
6056
6057 2003-02-17  John Levon  <levon@movementarian.org>
6058
6059         * text.C (Delete): fix case where delete at the end of
6060           the very first paragraph would not merge the pars
6061
6062 2003-02-17  John Levon  <levon@movementarian.org>
6063
6064         * lyxrow.C: fix lastPrintablePos()
6065
6066 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6067
6068         * bufferparams.C (writeLaTeX): add a std:here
6069
6070         * buffer.C: and remove a using directive there
6071
6072 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6073
6074         * buffer.C (makeLaTeXFile): move the code that generates the
6075           preamble...
6076
6077         * bufferparams.C (writeLaTeX): ... in this new method
6078
6079         * LaTeXFeatures.C (getEncodingSet): make const
6080           (getLanguages): make const
6081
6082         * MenuBackend.C (binding): returns the binding associated to this
6083           action
6084           (add): sets the status of each item by calling getStatus. Adds
6085           some intelligence.
6086           (read): add support for OptSubMenu
6087           (expand): remove extra separator at the end of expanded menu
6088
6089 2003-02-15  John Levon  <levon@movementarian.org>
6090
6091         * BufferView.C:
6092         * BufferView_pimpl.C:
6093         * bufferlist.h:
6094         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6095           inset code that had no actual effect. Remove unneeded status
6096           code.
6097
6098 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6099
6100         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6101           in preamble
6102
6103 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6104
6105         * text.C (drawLengthMarker): also draw an arrow marker for
6106           symbolic lengths (medskip...)
6107
6108 2003-02-14  John Levon  <levon@movementarian.org>
6109
6110         * tabular.h:
6111         * tabular.C: better method names
6112
6113 2003-02-14  John Levon  <levon@movementarian.org>
6114
6115         * BufferView_pimpl.C:
6116         * bufferlist.C:
6117         * buffer.C:
6118         * converter.C:
6119         * lyx_cb.C:
6120         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6121           it's a more accurate name. Remove some pointless uses.
6122
6123 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6124
6125         * text2.C (LyXText): change order of initilizers to shut off
6126           warnings
6127
6128 2003-02-14  John Levon  <levon@movementarian.org>
6129
6130         * buffer.C: use ParIterator for getParFromID()
6131
6132         * paragraph.h:
6133         * paragraph.C:
6134         * paragraph_pimpl.h:
6135         * paragraph_pimpl.C: remove unused getParFromID()
6136
6137 2003-02-14  John Levon  <levon@movementarian.org>
6138
6139         * buffer.C: remove some very old #if 0'd parse code
6140
6141 2003-02-13  John Levon  <levon@movementarian.org>
6142
6143         * text.h:
6144         * text.C:
6145         * text2.C: move hfillExpansion(), numberOfSeparators(),
6146           rowLast(), rowLastPrintable(), numberofHfills(),
6147           numberOfLabelHfills() ...
6148
6149         * lyxrow.h:
6150         * lyxrow.C: ... to member functions here.
6151
6152         * paragraph.h:
6153         * paragraph.C:
6154         * lyxtext.h:
6155         * text.C: remove LyXText::beginningOfMainBody(), and call
6156           p->beginningOfMainBody() directly. Move the check for
6157           LABEL_MANUAL into the latter.
6158
6159         * text.h:
6160         * text.C:
6161         * text2.C:
6162         * vspace.C:
6163         * BufferView.h:
6164         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6165
6166         * text.h:
6167         * text.C:
6168         * text2.C:
6169         * text3.C:
6170         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6171           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6172
6173 2003-02-13  John Levon  <levon@movementarian.org>
6174
6175         * CutAndPaste.C: remove debug
6176
6177 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6178
6179         * paragraph.C (asString): remove two unused variables
6180
6181         * lyxtextclass.C (readTitleType):
6182           (Read):
6183           (LyXTextClass): handle new members titletype_ and titlename_
6184
6185         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6186
6187 2003-02-09  John Levon  <levon@movementarian.org>
6188
6189         * buffer.h:
6190         * buffer.C: replace hand-coded list with a map for the dep clean
6191
6192 2003-02-08  John Levon  <levon@movementarian.org>
6193
6194         * LaTeX.C: consolidate code into showRunMessage() helper
6195
6196 2003-02-08  John Levon  <levon@movementarian.org>
6197
6198         * lyxfind.C:
6199         * lyxtext.h:
6200         * text2.C:
6201         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6202           and pass the size in explicitly
6203
6204         * BufferView_pimpl.h:
6205         * BufferView_pimpl.C:
6206         * BufferView.h:
6207         * BufferView.C: add getCurrentChange()
6208
6209         * BufferView_pimpl.h:
6210         * BufferView_pimpl.C: handle change lfuns
6211
6212         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6213           for changes. Mark pasted paragraphs as new.
6214
6215         * support/lyxtime.h:
6216         * support/lyxtime.C:
6217         * DepTable.C: abstract time_t as lyx::time_type
6218
6219         * LColor.h:
6220         * LColor.C: add colours for new text, deleted text, changebars
6221
6222         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6223           package use "usenames" option.
6224
6225         * commandtags.h:
6226         * lyxfunc.C:
6227         * LyXAction.C: add change lfuns
6228
6229         * Makefile.am:
6230         * author.h:
6231         * author.C: author handling
6232
6233         * buffer.h:
6234         * buffer.C: add a per-buffer author list, with first entry as
6235           current author. Handle new .lyx tokens for change tracking. Output
6236           author list to .lyx file. Output dvipost stuff to .tex preamble.
6237           Bump lyx format to 222.
6238
6239         * bufferlist.h:
6240         * bufferlist.C: add setCurrentAuthor() to reset current author details
6241           in all buffers.
6242
6243         * bufferparams.h:
6244         * bufferparams.C: add param for tracking
6245
6246         * bufferview_funcs.C: output change info in minibuffer
6247
6248         * Makefile.am:
6249         * changes.h:
6250         * changes.C: add change-tracking structure
6251
6252         * debug.h:
6253         * debug.C: add CHANGES debug flag
6254
6255         * lyxfind.h:
6256         * lyxfind.C: add code for finding the next change piece
6257
6258         * lyxrc.h:
6259         * lyxrc.C: add user_name and user_email
6260
6261         * lyxrow.h:
6262         * lyxrow.C: add a metric for the top of the text line
6263
6264         * lyxtext.h:
6265         * text.C: implement accept/rejectChange()
6266
6267         * lyxtext.h:
6268         * text.C: paint changebars. Paint new/deleted text in the chosen
6269         colours. Strike through deleted text.
6270
6271         * paragraph.h:
6272         * paragraph.C:
6273         * paragraph_pimpl.h:
6274         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6275           in the current change to the insert functions. Rework erase to
6276           mark text as deleted, adding an eraseIntern() and a range-based
6277           erase(). Implement per-paragraph change lookup and
6278           accept/reject.
6279
6280         * paragraph_funcs.C: Fixup paste for change tracking.
6281
6282         * tabular.C: mark added row/columns as new.
6283
6284         * text.C: fix rowLast() to never return -1. Don't allow
6285           spellchecking of deleted text. Track transpose changes. Don't
6286           allow paragraph break or merge where appropriate.
6287
6288         * text2.C: leave cursor at end of selection after a cut.
6289
6290 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6291
6292         * text.C (getLengthMarkerHeight):
6293         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6294         visible on screen too.
6295
6296 2003-02-07  John Levon  <levon@movementarian.org>
6297
6298         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6299
6300 2003-02-05  Angus Leeming  <leeming@lyx.org>
6301
6302         * lyxserver.C (read_ready): revert my patch of 11 September last year
6303         as it sends PC cpu through the roof. Presumably this means that
6304         the lyxserver will no longer run on an Alpha...
6305
6306 2003-01-30  Angus Leeming  <leeming@lyx.org>
6307
6308         * factory.C (createInset): create an InsetCommandParam of type "index"
6309         and use it to 'do the right thing'.
6310
6311         * text2.C (getStringToIndex): ensure that cursor position is always
6312         reset to the reset_cursor position.
6313
6314 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6315
6316         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6317         disabled.
6318
6319 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6320
6321         * bufferview.C:
6322         * lyxcb.C:
6323         * lyxfunc.C: Output messages with identical spelling, punctuation,
6324         and spaces
6325
6326 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6327
6328         * MenuBackend.C (expandFormats): List only viewable export formats
6329         in "View" menu
6330
6331         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6332         message
6333
6334         * lyxfunc.C (getStatus): Make sure that formats other than
6335         "fax" can also be disabled
6336
6337 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6338
6339         * text3.C (dispatch): put the lfuns that insert insets in 3
6340         groups, and call doInsertInset with appropriate arguments.
6341         (doInsertInset): new function, that creates an inset and inserts
6342         it according to some boolean parameters.
6343
6344 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * buffer.C (readFile): remember to pass on 'par' when calling
6347         readFile recursively.
6348
6349 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6350
6351         * MenuBackend.C (expandFormats): add "..." to import formats.
6352
6353 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6354
6355         * paragraph.C (asString): Remove XForms RTL hacks.
6356
6357 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6358         * buffer.C: fix typo
6359
6360 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * Makefile.am (LIBS): delete var
6363         (lyx_LDADD): add @LIBS@ here instead.
6364
6365 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6366
6367         * Clarify the meaning of "wheel mouse jump"
6368
6369 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6370
6371         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6372         tabular in a float
6373
6374 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6375
6376         * importer.C (Loaders): do not preallocate 3 elements in the
6377         vector, since one ends up with 6 elements otherwise
6378
6379 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6380
6381         * DepTable.C (write): write the file name as last element of the
6382         .dep file (because it may contain spaces)
6383         (read): read info in the right order
6384
6385 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6386
6387         * paragraph_pimpl.C (simpleTeXBlanks):
6388         (simpleTeXSpecialChars):
6389         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6390
6391         * tabular.C (latex): add some missing case statements. Reindent.
6392
6393         * MenuBackend.C (expandToc): remove unused variable.
6394
6395 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6396
6397         * LColor.C:
6398         * LaTeX.C:
6399         * LyXAction.C:
6400         * MenuBackend.C:
6401         * buffer.C:
6402         * exporter.C:
6403         * lyxfunc.C:
6404         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6405         and the like.
6406
6407 2003-01-05  John Levon  <levon@movementarian.org>
6408
6409         * BufferView.h:
6410         * BufferView.C: add getEncoding()
6411
6412         * kbsequence.h:
6413         * kbsequence.C: do not store last keypress
6414
6415         * lyxfunc.h:
6416         * lyxfunc.C: store last keypress here instead. Pass encoding
6417           to getISOEncoded()
6418
6419 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6420
6421         * lyx_main.C (init): remove annoying error message when following
6422         symbolic links (bug #780)
6423
6424 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6425
6426         * text.C (insertChar):
6427         * lyxrc.C (getDescription): remove extra spaces
6428
6429 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6430
6431         * lyxrc.C (getDescription): remove extra spaces
6432
6433 2002-12-20  John Levon  <levon@movementarian.org>
6434
6435         * text3.C: hack fix for page up/down across tall rows
6436
6437 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6438
6439         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6440         not been invoked
6441
6442 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6443
6444         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6445         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6446         thesaurus is not compiled in
6447
6448 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6449
6450         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6451
6452 2002-12-16  Angus Leeming  <leeming@lyx.org>
6453
6454         * lyxrc.[Ch]:
6455         * lyx_main.C (init): remove override_x_deadkeys stuff.
6456
6457 2002-12-12  John Levon  <levon@movementarian.org>
6458
6459         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6460           insert. Only remove shift modifier under strict
6461           circumstances.
6462
6463 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * MenuBackend.C (expandToc): fix crash.
6466
6467 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * MenuBackend.C (expandToc): gettext on float names.
6470
6471 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6472
6473         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6474         implement bool empty() [bug 490]
6475
6476 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6479
6480 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * several files: ws changes
6483
6484 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * text2.C (setCounter): clean up a bit, use boost.format.
6487         (updateCounters): initialize par upon declaration.
6488
6489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6490         if the layout exists. We do not just store the layout any more.
6491         (SwitchLayoutsBetweenClasses): use boost.format
6492
6493 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6494
6495         * converter.C (convert): if from and to files are the same, use a
6496         temporary files as intermediary
6497
6498 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6499
6500         * commandtags.h:
6501         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6502
6503 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6504
6505         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6506
6507 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * tabular.C (asciiPrintCell): use string(size, char) instead of
6510         explicit loop.
6511
6512         * sgml.C (openTag): fix order of arguments to string constructor
6513         (closeTag): ditto
6514
6515         * lyxfunc.C (dispatch): use boost.format
6516
6517         * lots of files: change "c" -> 'c'
6518
6519 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6520
6521         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6522
6523 2002-11-25  Angus Leeming  <leeming@lyx.org>
6524
6525         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6526
6527         * lyx_main.C (init): compile fix.
6528
6529 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * lyx_cb.C (start): boost.formatify
6532         do not include <iostream>
6533
6534         * lengthcommon.C: ws only
6535
6536         * boost-inst.C,BoostFormat.h: add more explict instantations
6537
6538 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * lots of files: handle USE_BOOST_FORMAT
6541
6542 2002-11-21  John Levon  <levon@movementarian.org>
6543
6544         * pspell.C: fix compile
6545
6546 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6547
6548         * lyxfunc.C (dispatch): use boost::format
6549         (open): ditto
6550         (doImport): ditto
6551
6552         * lyxfont.C (stateText): use boost::format
6553
6554         * lyx_main.C (LyX): use boost::format
6555         (init): ditto
6556         (queryUserLyXDir): ditto
6557         (readRcFile): ditto
6558         (parse_dbg): ditto
6559         (typedef boost::function): use the recommened syntax.
6560
6561         * importer.C (Import): use boost::format
6562
6563         * debug.C (showLevel): use boost::format
6564
6565         * converter.C (view): use boost::format
6566         (convert): ditto
6567         (move): ditto
6568         (scanLog): ditto
6569
6570         * bufferview_funcs.C (currentState): use boost::format
6571
6572         * bufferlist.C (emergencyWrite): use boost::format
6573
6574         * buffer.C (readLyXformat2): use boost::format
6575         (parseSingleLyXformat2Token): ditto
6576
6577         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6578
6579         * LaTeX.C (run): use boost::format
6580
6581         * Chktex.C (scanLogFile): use boost::format
6582
6583         * BufferView_pimpl.C (savePosition): use boost::format
6584         (restorePosition): ditto
6585         (MenuInsertLyXFile): ditto
6586
6587         * BoostFormat.h: help file for explicit instation.
6588
6589 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6590
6591         * tabular.C (latex): Support for block alignment in fixed width
6592         columns.
6593
6594 2002-11-17  John Levon  <levon@movementarian.org>
6595
6596         * BufferView_pimpl.C:
6597         * lyx_cb.C:
6598         * lyxfunc.C: split filedialog into open/save
6599
6600 2002-11-08  Juergen Vigna  <jug@sad.it>
6601
6602         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6603         by my last patch (hopefully).
6604
6605 2002-11-08  John Levon  <levon@movementarian.org>
6606
6607         * iterators.h:
6608         * iterators.C:
6609         * buffer.h:
6610         * buffer.C:
6611         * paragraph.h:
6612         * paragraph.C:
6613         * toc.h:
6614         * toc.C: ParConstIterator, and use it (from Lars)
6615
6616 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6617
6618         * lyxtextclass.[Ch]: revise and add doxygen comments
6619
6620 2002-11-07  John Levon  <levon@movementarian.org>
6621
6622         * text.C: fix progress value for spellchecker
6623
6624         * toc.C: fix navigate menu for insetwrap inside minipage
6625
6626         * paragraph_funcs.C: added FIXME for suspect code
6627
6628 2002-11-07  John Levon  <levon@movementarian.org>
6629
6630         * BufferView_pimpl.C: fix redrawing of insets
6631           on buffer switch
6632
6633 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6634
6635         * text2.C (updateCounters): fix bug 668
6636
6637 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6638
6639         * text3.C (dispatch): Do not make the buffer dirty when moving the
6640         cursor.
6641
6642 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * vc-backend.C: STRCONV
6645         (scanMaster): ditto
6646
6647         * text2.C (setCounter): STRCONV
6648
6649         * paragraph.C (asString): STRCONV
6650
6651         * lyxlength.C (asString): STRCONV
6652         (asLatexString): ditto
6653
6654         * lyxgluelength.C (asString): STRCONV
6655         (asLatexString): ditto
6656
6657         * lyxfunc.C (dispatch): STRCONV
6658         (open): ditto
6659
6660         * lyxfont.C (stateText): STRCONV
6661
6662         * importer.C (Import): STRCONV
6663
6664         * counters.C (labelItem): STRCONV
6665         (numberLabel): ditto
6666         (numberLabel): remove unused ostringstream o
6667
6668         * chset.C: STRCONV
6669         (loadFile): ditto
6670
6671         * bufferview_funcs.C (currentState): STRCONV
6672
6673         * buffer.C (readFile): STRCONV
6674         (asciiParagraph): ditto
6675         (makeLaTeXFile): ditto
6676
6677         * Spacing.C (writeEnvirBegin): STRCONV
6678
6679         * LaTeXFeatures.C (getLanguages): STRCONV
6680         (getPackages): ditto
6681         (getMacros): ditto
6682         (getBabelOptions): ditto
6683         (getTClassPreamble): ditto
6684         (getLyXSGMLEntities): ditto
6685         (getIncludedFiles): ditto
6686
6687         * LaTeX.C: STRCONV
6688         (run): ditto
6689         (scanAuxFile): ditto
6690         (deplog): ditto
6691
6692         * LString.h: add the STRCONV macros
6693
6694         * BufferView_pimpl.C (savePosition): STRCONV
6695         (restorePosition): ditto
6696         (MenuInsertLyXFile): ditto
6697
6698         * vc-backend.C (scanMaster): change from submatch[...] to
6699         submatch.str(...)
6700
6701         * funcrequest.C: include config.h
6702
6703         * factory.C: include config.h
6704
6705         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6706
6707         * box.C: include config.h
6708
6709         * LaTeX.C (scanAuxFile): change from submatch[...] to
6710         submatch.str(...)
6711         (deplog): ditto
6712
6713 2002-10-25  Angus Leeming  <leeming@lyx.org>
6714
6715         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6716
6717         * ispell.[Ch] (setError): new method.
6718         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6719         Use setError() insetead of goto END.
6720
6721         * lyx_cb.C (AutoSave): move out child process into new class
6722         AutoSaveBuffer.
6723
6724 2002-10-30  John Levon  <levon@movementarian.org>
6725
6726         * text3.C: make start appendix undoable
6727
6728 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6729
6730         * lyxlength.C (inPixels): Fix returned value.
6731
6732         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6733         environment.
6734
6735 2002-10-24  Angus Leeming  <leeming@lyx.org>
6736
6737         * lyxgluelength.h: no need to forward declare BufferParams
6738         or BufferView, so don't.
6739
6740 2002-10-21  John Levon  <levon@movementarian.org>
6741
6742         * BufferView.C: menuUndo ->undo, redo
6743
6744         * BufferView.h: document, remove dead, make some methods private
6745
6746         * paragraph_funcs.h:
6747         * paragraph_funcs.C:
6748         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6749
6750         * buffer.h:
6751         * buffer.C:
6752         * sgml.h:
6753         * sgml.C: move sgml open/close tag into sgml.C
6754
6755         * bufferview_funcs.h: unused prototype
6756
6757         * lyxfunc.h:
6758         * lyxfunc.C: remove unused
6759
6760         * lyxtext.h:
6761         * text.C: remove unused
6762
6763 2002-10-21  John Levon  <levon@movementarian.org>
6764
6765         * BufferView.h:
6766         * BufferView.C:
6767         * BufferView_pimpl.h:
6768         * BufferView_pimpl.C: fix mouse wheel handling based on
6769           patch from Darren Freeman
6770
6771 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6772
6773         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6774
6775 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * lyxlength.C (inPixels): Fix hanfling of negative length.
6778         Fix LyXLength::MU case.
6779
6780 2002-10-16  John Levon  <levon@movementarian.org>
6781
6782         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6783
6784 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6785
6786         * converter.C (view): add support for $$i (file name) and $$p
6787         (file path) for the viewer command. If $$i is not specified, then
6788         it is appended to the command (for compatibility with old syntax)
6789
6790 2002-10-14  Juergen Vigna  <jug@sad.it>
6791
6792         * undo_funcs.C (textHandleUndo): alter the order in which the
6793         new undopar is added to the LyXText, as we have to set first
6794         the right prev/next and then add it as otherwise the rebuild of
6795         LyXText is not correct. Also reset the cursor to the right paragraph,
6796         with this IMO we could remove the hack in "redoParagraphs()".
6797
6798 2002-10-09  Angus Leeming  <leeming@lyx.org>
6799
6800         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6801         to turn off an optimisation if a new inset is to be inserted.
6802
6803 2002-10-11 André Pönitz <poenitz@gmx.net>
6804
6805         * lyxtext.h: make some functions public to allow access
6806         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6807
6808 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6809
6810         * text3.C (dispatch): when changing layout, avoid an infinite loop
6811         [bug #652]
6812
6813 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6814
6815         * lyxrc.C (read): treat a viewer or converter command of "none" as
6816         if it were empty.
6817
6818         * MenuBackend.C (expandFormats): for an update, also allow the
6819         formats that are not viewable
6820
6821         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6822         script if it is newer than the lyxrc.defaults in user directory
6823
6824 2002-10-07 André Pönitz <poenitz@gmx.net>
6825
6826         * text.C: Vitaly Lipatov's small i18n fix
6827
6828 2002-09-25  Angus Leeming  <leeming@lyx.org>
6829
6830         * ispell.h: doxygen fix.
6831
6832 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6833
6834         * buffer.h (readFile): Add a new argument to the method, to allow
6835         reading of old-format templates.
6836
6837 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6838
6839         * toc.C (getTocList): Get TOC from InsetWrap.
6840
6841 2002-09-16  John Levon  <levon@movementarian.org>
6842
6843         * lyxfunc.C: check tabular for cut/copy too
6844
6845 2002-09-12  John Levon  <levon@movementarian.org>
6846
6847         * LyXAction.C: tidy
6848
6849         * factory.h:
6850         * factory.C: add header
6851
6852         * paragraph_funcs.h:
6853         * paragraph_funcs.C: cleanup
6854
6855 2002-09-11  John Levon  <levon@movementarian.org>
6856
6857         * PrinterParams.h: odd/even default to true
6858
6859 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6860
6861         * PrinterParams.h: update printer parameters for new xforms dialog
6862
6863 2002-09-11  Angus Leeming  <leeming@lyx.org>
6864
6865         * lyxserver.C (read_ready): re-write to make it more transparent
6866         and to make it work in coherent fashion under Tru64 Unix.
6867
6868 2002-09-11  André Pönitz <poenitz@gmx.net>
6869
6870         * commandtags.h:
6871         * LyXAction.C:
6872         * text3.C: implement LFUN_WORDSEL
6873
6874 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6877         make floatlist_ a boost::shared_ptr<FloatList>
6878
6879         * lyxtextclass.C: include FloatList.h
6880         (LyXTextClass): initialize floatlist_
6881         (TextClassTags): add TC_NOFLOAT
6882         (Read): match "nofloat" to TC_NOFLOAT and use it.
6883         (readFloat): modify call to floatlist_
6884         (floats): ditto
6885         (floats): ditto
6886
6887         * FloatList.[Ch] (FloatList): remove commented out float
6888         initialization.
6889         (erase): new function
6890
6891 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6892
6893         * MenuBackend.C (expandToc): fix crash when there is no document
6894         open
6895
6896 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6897
6898         * many files: Add insetwrap.
6899
6900 2002-09-09  John Levon  <levon@movementarian.org>
6901
6902         * text2.C: remove confusing and awkward depth wraparound
6903
6904 2002-09-09  John Levon  <levon@movementarian.org>
6905
6906         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6907
6908         * buffer.h:
6909         * buffer.C: remove getIncludeonlyList()
6910
6911         * paragraph.C:
6912         * lyxfunc.C: remove headers
6913
6914 2002-09-09  Juergen Vigna  <jug@sad.it>
6915
6916         * text.C (getColumnNearX): fix form Michael this is most
6917         probably a cut&paste bug.
6918
6919 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6922
6923         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6924         references, ws changes.
6925
6926         * text2.C (init): update counters after init
6927         (insertParagraph): no need to set counter on idividual paragraphs.
6928         (setCounter): access the counters object in the textclass object
6929         on in the buffer object.
6930         (updateCounters): ditto
6931
6932         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6933         shared_ptr<Counters> to avoid loading counters.h in all
6934         compilation units.
6935         (LyXTextClass): initialize ctrs_
6936         (TextClassTags): add TC_COUNTER, and ...
6937         (Read): use it here.
6938         (CounterTags): new tags
6939         (readCounter): new function
6940         (counters): new funtion
6941         (defaultLayoutName): return a const reference
6942
6943         * counters.C (Counters): remove contructor
6944         (newCounter): remove a couple of unneeded statements.
6945         (newCounter): simplify a bit.
6946         (numberLabel): some small formatting changes.
6947
6948         * buffer.[Ch]: remove all traces of counters, move the Counters
6949         object to the LyXTextClass.
6950
6951 2002-09-06  Alain Castera  <castera@in2p3.fr>
6952
6953         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6954         package to set the horizontal alignment on fixed width columns.
6955
6956         * lyx_sty.C:
6957         * lyx_sty.h: added tabularnewline macro def.
6958
6959         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6960
6961 2002-09-06  John Levon  <levon@movementarian.org>
6962
6963         * LyXAction.C: tooltips for sub/superscript
6964
6965         * MenuBackend.C: a bit more verbose
6966
6967         * lyxfunc.C: tiny clean
6968
6969         * undo_funcs.C: document undo_frozen
6970
6971 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * counters.C (Counters): add missing algorithm counter.
6974
6975         * text2.C (setCounter): lookup the counter with layouts latexname
6976         instead of by section number.
6977         (setCounter): use a hackish way to lookup the correct enum
6978         counter.
6979         a float name->type change
6980         reset enum couners with counter name directly instead of depth value.
6981
6982         * counters.C (Counters): remove the push_backs, change to use the
6983         float type not the float name.
6984         (labelItem): remove unused string, float name->type change
6985
6986         * counters.h: don't include vector, loose the enums and sects vectors
6987
6988 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6991         (Read): add float->TC_FLOAT to textclassTags
6992         (Read): and handle it in the switch
6993         (readFloat): new function
6994
6995         * FloatList.C (FloatList): comment out the hardcoded float
6996         definitions.
6997
6998         * lyxlayout.h: ws change.
6999
7000 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7001
7002         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7003
7004 2002-09-03  Angus Leeming  <leeming@lyx.org>
7005
7006         * BufferView_pimpl.h: qualified name is not allowed in member
7007         declaration: WorkArea & Pimpl::workarea() const;
7008
7009         * factory.C: added using std::endl directive.
7010
7011         * text3.C: added using std::find and std::vector directives.
7012
7013 2002-08-29  André Pönitz <poenitz@gmx.net>
7014
7015         * lyxtext.h:
7016         * text2.C: remove unused member number_of_rows
7017
7018         * Makefile.am:
7019         * BufferView2.C: remove file, move contents to...
7020         * BufferView.C: ... here
7021
7022         * BufferView_pimpl.C:
7023         * factory.C: move more inset creation to factory
7024
7025         * vspace.C: avoid direct usage of LyXText, ws changes
7026
7027         * BufferView.[Ch]:
7028                 don't provide direct access to WorkArea, use two simple
7029                 acessors haveSelction() and workHeight() instead
7030
7031
7032 2002-08-29  John Levon  <levon@movementarian.org>
7033
7034         * BufferView_pimpl.C (dispatch): do not continue when
7035           no buffer
7036
7037 2002-08-28  André Pönitz <poenitz@gmx.net>
7038
7039         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7040
7041         * BufferView.h:
7042         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7043
7044 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7045
7046         * buffer.C: increment LYX_FORMAT to 221
7047
7048         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7049         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7050
7051         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7052
7053         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7054
7055 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7056
7057         * factory.C (createInset): use LyXTextClass::floats
7058
7059         * MenuBackend.C (expandFloatListInsert):
7060         (expandFloatInsert):
7061         (expandToc):
7062
7063         * text2.C (setCounter):
7064
7065         * LaTeXFeatures.C (useFloat):
7066         (getFloatDefinitions):
7067
7068         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7069
7070         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7071         floatlist_, with accessor floats().
7072
7073         * FloatList.h: remove global FloatList
7074
7075 2002-08-26  André Pönitz <poenitz@gmx.net>
7076
7077         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7078
7079         * BufferView.h:
7080         * BufferView2.C:
7081         * BufferView_pimpl.C:
7082         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7083
7084 2002-08-25  John Levon  <levon@movementarian.org>
7085
7086         * LyXAction.C: fix margin note description
7087
7088 2002-08-24  John Levon  <levon@movementarian.org>
7089
7090         * buffer.C:
7091         * bufferlist.C:
7092         * bufferview_funcs.C:
7093         * lyxfont.C:
7094         * undo_funcs.C: cleanups
7095
7096         * lyxfunc.C: disable CUT/COPY when no selection
7097
7098 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7099
7100         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7101         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7102
7103         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7104         Add backward compatibility to "mono", "gray" and "no".
7105
7106 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7107
7108         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7109         (and file_format >= 200).
7110
7111 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7112
7113         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7114
7115 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7116
7117         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7118
7119 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7120
7121         * BufferView_pimpl.C:
7122         * LyXAction.C:
7123         * buffer.C:
7124         * commandtags.h:
7125         * lyxfunc.C:
7126         * paragraph.[Ch]:
7127         * text2.C:
7128         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7129         inset and code to make it  work with the paragraph code. The inset
7130         can be anywhere in the paragraph, but will only do the expected
7131         thing in LaTeX if the layout file contains the parameter line
7132                         OptionalArgs    1
7133         (or more generally, a nonzero value) for that layout.
7134
7135 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7136
7137         * paragraph.h: remove the declaration of undefined counters class
7138         function.
7139
7140 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7141
7142         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7143         Dr. Richard Hawkins.
7144
7145 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7146
7147         * paragraph_funcs.h: remove some unneeded includes
7148
7149         * text.C (backspace): pasteParagraph now in global scipe
7150
7151         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7152         (pasteSelection): ditto
7153
7154         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7155         * paragraph_funcs.C (pasteParagraph): ... here
7156
7157 2002-08-20  André Pönitz <poenitz@gmx.net>
7158
7159         * commandtags.h: new LFUNs for swapping/copying table row/colums
7160
7161         * LyXAction.C:
7162         * lyxfunc.C: support for new lfuns
7163
7164 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * tabular.C:
7167         * buffer.[Ch]: remove NO_COMPABILITY stuff
7168
7169 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * boost.C (throw_exception): new file, with helper function for
7172         boost compiled without exceptions.
7173
7174         * paragraph.h:
7175         * lyxlength.C:
7176         * buffer.C:
7177         * ParameterStruct.h:
7178         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7179
7180         * bufferlist.C (emergencyWriteAll): use boost bind
7181
7182         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7183
7184         * text.C: include paragraph_funcs.h
7185         (breakParagraph): breakParagraph is now in global scope
7186
7187         * paragraph_funcs.[Ch]: new files
7188
7189         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7190         global scope
7191
7192         * buffer.C: include paragraph_funcs.h
7193         (insertStringAsLines): breakParagraph is now in global scope
7194
7195         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7196         paragraph_funcs.C
7197
7198         * CutAndPaste.C: include paragraph_funcs.h
7199         (cutSelection): breakParagraphConservative is now in global scope
7200         (pasteSelection): ditto
7201
7202         * buffer.h: declare oprator== and operator!= for
7203         Buffer::inset_iterator
7204
7205         * bufferlist.C (emergencyWrite): don't use fmt(...)
7206
7207         * text3.C: add using std::endl
7208
7209         * BufferView.C (moveCursorUpdate): remove default arg
7210
7211 2002-08-20  André Pönitz <poenitz@gmx.net>
7212
7213         * buffer.[Ch]: move inline functions to .C
7214
7215         * BufferView2.C:
7216         * BufferView_pimpl.C:
7217         * text.C:
7218         * buffer.[Ch]: use improved inset_iterator
7219
7220         * buffer.C:
7221         * paragraph.[Ch]: write one paragraph at a time
7222
7223 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7224
7225         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7226         style if style is not specified.
7227
7228 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7229
7230         * text2.C (setCounter): when searching for right label for a
7231         caption, make sure to recurse to parent insets (so that a caption
7232         in a minipage in a figure float works) (bug #568)
7233
7234 2002-08-20  André Pönitz <poenitz@gmx.net>
7235
7236         * text3.C: new file for LyXText::dispatch() and helpers
7237
7238         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7239
7240         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7241
7242 2002-08-19  André Pönitz <poenitz@gmx.net>
7243
7244         * lyxtext.h:
7245         * text.C: new LyXText::dispatch()
7246
7247         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7248
7249 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7250
7251         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7252
7253         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7254         Hebrew text.
7255
7256 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7257
7258         * Makefile.am: use $(variables) instead of @substitutions@
7259
7260 2002-08-15  André Pönitz <poenitz@gmx.net>
7261
7262         * lyxfunc.C:
7263         * BufferView_pimpl.C: streamlining mathed <-> outer world
7264         interaction
7265
7266         * commandtags.h:
7267         * LyXAction.C: remove unused LFUN_MATH
7268
7269 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7272
7273 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * paragraph.C (Paragraph): reformat a bit
7276         (cutIntoMinibuffer): use builtin InsetList function instad of
7277         doing it manually.
7278         (getInset): ditto
7279
7280         * buffer.C: include boost/bind.hpp, add using std::for_each
7281         (writeFileAscii): use ParagraphList iterators
7282         (validate): use for_each for validate traversal of paragraphs
7283         (getBibkeyList): use ParagraphList iterators
7284         (resizeInsets): use for_each to resizeInsetsLyXText for all
7285         paragraphs.
7286         (getParFromID): use ParagraphList iterators
7287
7288         * BufferView2.C (lockInset): use paragraph list and iterators
7289
7290 2002-08-14  John Levon  <levon@movementarian.org>
7291
7292         * lyxserver.C: remove spurious xforms include
7293
7294 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7295
7296         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7297
7298 2002-08-13  André Pönitz <poenitz@gmx.net>
7299
7300         * LyXAction.[Ch]:
7301         * lyxfunc.C: further cleaning
7302
7303 2002-08-13  André Pönitz <poenitz@gmx.net>
7304
7305         * funcrequest.h: new constructor
7306
7307         * funcrequest.C: move stuff here from .h
7308
7309         * Makefile.am:
7310         * BufferView_pimpl.C:
7311         * LyXAction.C:
7312         * toc.C:
7313         * lyxfunc.C: subsequent changes
7314
7315         * lyxfunc.h: new view() member function
7316
7317         * lyxfunc.C: subsequent changes
7318
7319 2002-08-13  Angus Leeming  <leeming@lyx.org>
7320
7321         * BufferView2.C:
7322         * BufferView_pimpl.C:
7323         * buffer.C:
7324         * converter.C:
7325         * importer.C:
7326         * lyxfunc.C:
7327         * lyxvc.C:
7328         * toc.C:
7329         * vc-backend.C:
7330         changes due to the changed LyXView interface that now returns references
7331         to member variables not pointers.
7332
7333 2002-08-13  Angus Leeming  <leeming@lyx.org>
7334
7335         * WordLangTuple (word, lang_code): return references to strings,
7336         not strings.
7337
7338         * BufferView.h:
7339         * SpellBase.h:
7340         * lyxtext.h: forward-declare WordLangTuple.
7341
7342         * BufferView2.C:
7343         * ispell.C:
7344         * pspell.C:
7345         * text.C: #include "WordLangTuple.h".
7346
7347         * lyxtext.h:
7348         * text.C: (selectNextWordToSpellcheck): constify return type.
7349
7350 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7351
7352         * buffer.C:
7353         * buffer.h:
7354         * lyxtext.h:
7355         * paragraph.C:
7356         * paragraph_pimpl.h:
7357         * text.C:
7358         * text2.C:
7359         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7360         suggested by Angus.
7361         Made updateCounter always count from start of buffer, and removed
7362         second argument (par).
7363         Reverted floats number display to '#'. Perhaps I'll try again when the
7364         code base is sanitized a bit.
7365
7366 2002-08-12  Angus Leeming  <leeming@lyx.org>
7367
7368         * buffer.[Ch] (getLabelList): constify.
7369
7370 2002-08-07  André Pönitz <poenitz@gmx.net>
7371
7372         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7373
7374         * funcrequest.h: extension to keep mouse (x,y) position
7375
7376 2002-08-12  Juergen Vigna  <jug@sad.it>
7377
7378         * BufferView2.C (insertErrors): forbid undo when inserting error
7379         insets.
7380
7381         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7382
7383 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * ParagraphList.[Ch]: new files
7386
7387         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7388
7389         * BufferView2.C (lockInset): ParagraphList changes
7390         * toc.C: ditto
7391         * text2.C: ditto
7392         * bufferlist.C: ditto
7393         * buffer.h: ditto
7394         * buffer.C: ditto
7395
7396 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7397
7398         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7399         unused class variable counter_,
7400
7401         * paragraph.[Ch] (getFirstCounter): delete unused function
7402
7403         * counters.C: include LAssert.h
7404         (reset): add a new function with no arg, change other version to
7405         not have def. arg and to not allow empty arg.
7406
7407         * text2.C (setCounter): remove empty arg from call to Counters::reset
7408
7409 2002-08-11  John Levon  <levon@movementarian.org>
7410
7411         * Makefile.am: add WordLangTuple.h
7412
7413 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7416         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7417
7418         * insets/insettext.C: InsetList changes
7419
7420         * graphics/GraphicsSupport.C (operator()): InsetList changes
7421
7422         * toc.C (getTocList): InsetList changes
7423
7424         * paragraph_pimpl.[Ch]: InsetList changes
7425
7426         * paragraph.[Ch]: InsetList changes
7427
7428         * buffer.C (inset_iterator): InsetList changes
7429         (setParagraph): ditto
7430         * buffer.h (inset_iterator): ditto
7431         * iterators.C (operator++): ditto
7432         * iterators.h: ditto
7433
7434         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7435
7436         * InsetList.[Ch]: new files, most InsetList handling moved out of
7437         paragraph.C.
7438
7439         * BufferView2.C (removeAutoInsets): InsetList changes
7440         (lockInset): ditto
7441         (ChangeInsets): ditto
7442
7443 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * paragraph_pimpl.h (empty): new function
7446
7447         * paragraph.[Ch] (empty): new function
7448
7449         * other files: use the new Paragraph::empty function
7450
7451 2002-08-09  John Levon  <levon@movementarian.org>
7452
7453         * lyxtext.h: remove unused refresh_height
7454
7455 2002-08-09  John Levon  <levon@movementarian.org>
7456
7457         * Makefile.am:
7458         * sgml.h:
7459         * sgml.C:
7460         * buffer.C:
7461         * paragraph.h:
7462         * paragraph.C: move sgml char escaping out of paragraph
7463
7464         * paragraph.h:
7465         * paragraph.C: remove id setter
7466
7467         * buffer.C:
7468         * paragraph.C:
7469         * paragraph_pimpl.C: remove dead tex_code_break_column
7470
7471         * bufferview_funcs.C: small cleanup
7472
7473         * lyxfunc.C: remove dead proto
7474
7475         * lyxtext.h: make some stuff private. Remove some dead stuff.
7476
7477         * lyxgluelength.C: make as[LyX]String() readable
7478
7479 2002-08-08  John Levon  <levon@movementarian.org>
7480
7481         * LyXAction.h:
7482         * LyXAction.C:
7483         * MenuBackend.C:
7484         * ToolbarDefaults.C:
7485         * lyxfunc.C:
7486         * lyxrc.C:
7487         * toc.C: lyxaction cleanup
7488
7489 2002-08-08  John Levon  <levon@movementarian.org>
7490
7491         * BufferView2.C: small cleanup
7492
7493         * lyxfind.h:
7494         * lyxfind.C: move unnecessary header into the .C
7495
7496 2002-08-08  John Levon  <levon@movementarian.org>
7497
7498         * funcrequest.h: just tedious nonsense
7499
7500         * lyx_main.h:
7501         * lyx_main.C: cleanups
7502
7503         * buffer.C:
7504         * vspace.C: remove dead header lyx_main.h
7505
7506 2002-08-07  Angus Leeming  <leeming@lyx.org>
7507
7508         * Paragraph.[Ch]:
7509         * paragraph_pimpl.h:
7510         Forward declare class Counters in paragraph.h by moving the ctrs member
7511         variable into Paragraph::Pimpl.
7512         (counters): new method, returning a reference to pimpl_->ctrs.
7513
7514         * text2.C: ensuing changes.
7515
7516 2002-08-07  John Levon  <levon@movementarian.org>
7517
7518         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7519
7520         * BufferView_pimpl.C: announce X selection on double/triple
7521           click
7522
7523         * lyx_main.C: use correct bool in batch dispatch
7524
7525         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7526
7527 2002-08-07  André Pönitz <poenitz@gmx.net>
7528
7529         * funcrequest.h: new class to wrap a kb_action and its argument
7530
7531         * BufferView.[Ch]:
7532         * BufferView_pimpl[Ch]:
7533         * LaTeX.C:
7534         * LyXAction.[Ch]:
7535         * lyxfunc.[Ch]:
7536         * lyxrc.C: subsequent changes
7537
7538
7539 2002-08-07  John Levon  <levon@movementarian.org>
7540
7541         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7542           document options change.
7543
7544 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7545
7546         * counters.[Ch]
7547         * text2.C
7548         * paragraph.[Ch]
7549         * makefile.am: move counters functionality over from
7550         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7551
7552 2002-08-06  John Levon  <levon@movementarian.org>
7553
7554         * WordLangTuple.h: new file for word + language code tuple
7555
7556         * SpellBase.h:
7557         * pspell.h:
7558         * pspell.C:
7559         * ispell.h:
7560         * ispell.C:
7561         * lyxtext.h:
7562         * text.C:
7563         * text2.C:
7564         * BufferView.h:
7565         * BufferView2.C: use WordLangTuple
7566
7567         * layout.h:
7568         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7569
7570 2002-08-06  John Levon  <levon@movementarian.org>
7571
7572         * lyx_main.C: fix cmdline batch handling
7573
7574 2002-08-06  André Pönitz <poenitz@gmx.net>
7575
7576         * lyxrc.C: set default for show_banner to true
7577
7578 2002-08-06  John Levon  <levon@movementarian.org>
7579
7580         * pspell.C: fix a crash, and allow new aspell to work
7581
7582 2002-08-06  John Levon  <levon@movementarian.org>
7583
7584         * lyxfunc.C:
7585         * kbmap.C: small cleanup
7586
7587         * vspace.h:
7588         * vspace.C: add const
7589
7590 2002-08-05  John Levon  <levon@movementarian.org>
7591
7592         * LyXAction.C: back to tabular-insert
7593
7594 2002-08-04  John Levon  <levon@movementarian.org>
7595
7596         * BufferView.h:
7597         * BufferView.C: cosmetic change
7598
7599         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7600
7601         * bufferlist.C:
7602         * buffer.h:
7603         * buffer.C:
7604         * lyxcb.h:
7605         * lyxcb.C:
7606         * lyxserver.C:
7607         * lyxvc.C:
7608         * vc-backend.C:
7609         * BufferView2.C: purge all "Lyx" not "LyX" strings
7610
7611         * lyxcursor.h:
7612         * lyxcursor.C: attempt to add some documentation
7613
7614         * lyxfunc.C:
7615         * commandtags.h:
7616         * LyXAction.C:
7617         * ToolbarDefaults.C:
7618         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7619           merge with LFUN_TABULAR_INSERT
7620
7621         * Makefile.am:
7622         * SpellBase.h:
7623         * ispell.h:
7624         * ispell.C:
7625         * pspell.h:
7626         * pspell.C: split up i/pspell implementations into separate
7627           files, many cleanups
7628
7629         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7630
7631         * text2.C: some cleanup
7632
7633         * lyxfunc.C: don't check for isp_command == "none" any more, it
7634           didn't make any sense
7635
7636 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7637
7638         * counters.[Ch]
7639         * text2.C
7640         * paragraph.[Ch]
7641         * makefile.am: move counters functionality over
7642         from text2.C/paragraph.[Ch] to counters.[Ch], and
7643         make proper C++.
7644 2002-08-02  John Levon  <levon@movementarian.org>
7645
7646         * buffer.C: s/lyxconvert/lyx2lyx/
7647
7648 2002-08-02  Angus Leeming  <leeming@lyx.org>
7649
7650         * lyxlex.C: revert John's change as it breaks reading of the user
7651         preamble.
7652
7653 2002-08-02  Angus Leeming  <leeming@lyx.org>
7654
7655         * importer.C (Import):
7656         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7657         changes due to LyXView::view() now returning a boost::shared_ptr.
7658
7659 2002-08-02  John Levon  <levon@movementarian.org>
7660
7661         * lyxlex.C: small cleanup
7662
7663 2002-08-02  John Levon  <levon@movementarian.org>
7664
7665         * text2.C (status): small cleanup, no logic change
7666
7667 2002-08-01  John Levon  <levon@movementarian.org>
7668
7669         * buffer.h:
7670         * buffer.C (writeFile): don't output alerts, caller
7671           handles this
7672
7673         * bufferlist.C:
7674         * lyx_cb.C: from above
7675
7676         * lyxfunc.C: allow to open non-existent files
7677
7678 2002-07-31  John Levon  <levon@movementarian.org>
7679
7680         * lyxserver.C: don't let incidental errors get
7681           in the way (errno)
7682
7683 2002-07-30  John Levon  <levon@movementarian.org>
7684
7685         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7686
7687 2002-07-30  John Levon  <levon@movementarian.org>
7688
7689         * lyxserver.h:
7690         * lyxserver.C: remove I/O callback too
7691
7692 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7693
7694         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7695         log.
7696
7697 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * many files: strip,frontStrip -> trim,ltrim,rtrim
7700
7701 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * PrinterParams.h: remove extern containsOnly, and include
7704         support/lstrings.h instead.
7705
7706         * LaTeX.C (scanAuxFile): modify because of strip changes
7707         (deplog): ditto
7708         * buffer.C (makeLaTeXFile): ditto
7709         * bufferparams.C (writeFile): ditt
7710         * lyxfont.C (stateText): ditto
7711         * lyxserver.C (read_ready): ditto
7712         * vc-backend.C (scanMaster): ditto
7713
7714         * BufferView_pimpl.h: ws changes
7715
7716         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7717
7718 2002-07-26  André Pönitz <poenitz@gmx.net>
7719
7720         * kb_sequence.C: remove unnedred usings
7721
7722 2002-07-26  Juergen Vigna  <jug@sad.it>
7723
7724         * lyxfind.C (LyXReplace): we have to check better if the returned
7725         text is not of theLockingInset()->getLockingInset().
7726
7727 2002-07-25  Juergen Vigna  <jug@sad.it>
7728
7729         * lyxfind.C (LyXReplace): don't replace if we don't get the
7730         right LyXText.
7731
7732         * undo_funcs.C (createUndo): remove debugging code.
7733
7734 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7735
7736         * buffer.C (parseSingleLyXformat2Token): Use default placement
7737         when reading old floats.
7738
7739         * FloatList.C (FloatList): Change the default placement of figure
7740         and tables to "tbp".
7741
7742 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7743
7744         * MenuBackend.C: using std::max
7745
7746 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * MenuBackend.C (expandToc):
7749         (expandToc2): code moved from xforms menu frontend. It is now
7750         generic and TOCs are transparent to menu frontends.
7751
7752 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * toc.C (getTocList): protect against buf=0
7755
7756         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7757         Menu as first parameter. Now, this calls itself recursively to
7758         expand a whole tree (this will be useful for TOC handling)
7759         (expandFloatInsert): remove 'wide' version of floats
7760
7761         * MenuBackend.h (submenuname): returns the name of the submenu.
7762         (submenu): returns the submenu itself, provided it has been
7763         created by MenuBackend::expand
7764
7765 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7768         insets which have noFontChange == true. (bug #172)
7769
7770 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7771
7772         * BufferView_pimpl.C: add connection objects and use them...
7773         (Pimpl): here.
7774
7775 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7776
7777         * MenuBackend.C (expandLastfiles):
7778         (expandDocuments):
7779         (expandFormats):
7780         (expandFloatListInsert):
7781         (expandFloatInsert):
7782         (expand): split expand in parts
7783
7784 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7785
7786         * lyx_gui.C: use lyx_gui::exit()
7787
7788 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7789
7790         * LyXAction.C: show the failing pseudo action
7791
7792 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7793
7794         * buffer.C (readFile): Run the lyxconvert script in order to read
7795         old files.
7796
7797 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * LyXAction.C:
7800         * commandtags.h:
7801         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7802
7803 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * LyXAction.C:
7806         * commandtags.h:
7807         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7808
7809 2002-07-22  Herbert Voss  <voss@lyx.org>
7810
7811         * lengthcommon.C:
7812         * lyxlength.[Ch]: add support for the vertical lengths
7813
7814 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * toc.[Ch]: std:: fixes
7817
7818 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * lyxrc.C: do not include lyx_main.h
7821
7822         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7823         for layouts
7824
7825         * lyxrc.C:
7826         * encoding.C:
7827         * bufferlist.C:
7828         * BufferView2.C: include "lyxlex.h"
7829
7830         * tabular.h:
7831         * bufferparams.h: do not #include "lyxlex.h"
7832
7833         * lyxtextclasslist.C (Add): remove method
7834         (classlist): renamed to classlist_
7835
7836         * paragraph_pimpl.C:
7837         * paragraph.C:
7838         * text2.C:
7839         * CutAndPaste.C:
7840         * bufferview_funcs.C:
7841         * bufferlist.C:
7842         * text.C:
7843         * LaTeXFeatures.C:
7844         * buffer.C:
7845         * toc.C (getTocList): use BufferParams::getLyXTextClass
7846
7847         * toc.C (getTocList): use InsetFloat::addToToc
7848
7849         * toc.[Ch]: new files, containing helper functions to handle table
7850         of contents
7851
7852         * lyxfunc.C (dispatch): no need to remove spaces around command
7853         given as a string
7854         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7855         first command of the sequence; it is not very clever, but I do not
7856         have a better idea, actually
7857
7858         * LyXAction.C (LookupFunc): make sure to remove space at the
7859         beginning and end of the command
7860
7861 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7862
7863         * MenuBackend.C (getMenubar): new method: return the menubar of
7864         this menu set
7865         (read): treat differently reading of menu and menubar (in
7866         particular, the menubar has no name now)
7867         (Menu::menubar): remove
7868
7869         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7870         saving is finished
7871
7872 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7873
7874         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7875         a bibitem inset in a RTL paragraph.
7876
7877 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * paragraph_pimpl.C: constify
7880
7881         * BufferView_pimpl.C:
7882         * LaTeX.C:
7883         * lyxfunc.C: fix dispatch in a nicer way
7884
7885 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7886
7887         * lyxfunc.C (dispatch):
7888         * BufferView_pimpl.C:
7889         * BufferView_pimpl.h:
7890         * BufferView.C:
7891         * BufferView.h: rename Dispatch() to dispatch()
7892
7893         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7894
7895         * lyxlayout.C (Read): honor DependsOn tag
7896
7897         * lyxlayout.[Ch] (depends_on): new method
7898
7899         * version.C.in: update lyx_docversion
7900
7901         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7902
7903         * paragraph.C (validate): remove from here...
7904         * paragraph_pimpl.C (validate): ... and move here
7905         (isTextAt): make it const
7906
7907         * buffer.C (getLists): ws cleanup
7908
7909 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7910
7911         * language.C (read): Use iso8859-1 encoding in latex_lang
7912         (this prevents LyX from crashing when using iso10646-1 encoding).
7913
7914 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7915
7916         * text2.C (toggleInset): if cursor is inside an inset, close the
7917         inset and leave cursor _after_ it
7918
7919 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * lyxfunc.C: move minibuffer completion handling out of here
7922
7923 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * BufferView_pimpl.C:
7926         * LaTeX.C: fix dispatch calls
7927
7928 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7929
7930         * text.C (drawChars): Fix Arabic text rendering.
7931
7932 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7933
7934         * LyXAction.C:
7935         * commandtags.h:
7936         * lyxfunc.C: remove message-push/pop
7937
7938         * lyxserver.C:
7939         * lyxfunc.h:
7940         * lyxfunc.C: rationalise some code by removing verboseDispatch
7941           in favour of a bool argument to dispatch()
7942
7943 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * lyx_main.C (init): make sure to read symlinks as absolute paths
7946
7947 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7948
7949         * lyxfunc.h:
7950         * lyxfunc.C: no need for commandshortcut to be a member
7951
7952 2002-07-15  André Pönitz <poenitz@gmx.net>
7953
7954         * converter.C: add support for $$s (scripts from lib/scripts dir)
7955         * lyx_main.C: white space
7956
7957 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7958
7959         * bufferlist.C:
7960         * lyxrc.h:
7961         * lyxrc.C: remove second exit confirmation
7962
7963 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * BufferView.h:
7966         * BufferView.C:
7967         * BufferView2.C:
7968         * BufferView_pimpl.h:
7969         * BufferView_pimpl.C:
7970         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7971
7972 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7973
7974         * MenuBackend.C (expand): add numeric shortcuts to document menu
7975
7976         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7977
7978 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7979
7980         * lyxfont.C (setLyXFamily):
7981         (setLyXSeries):
7982         (setLyXShape):
7983         (setLyXSize):
7984         (setLyXMisc):
7985         (lyxRead):
7986         * debug.C (value):
7987         * buffer.C (asciiParagraph): use ascii_lowercase
7988
7989 2002-07-15  Mike Fabian  <mfabian@suse.de>
7990
7991         * lyxlex_pimpl.C (search_kw):
7992         * lyxlex.C (getLongString):
7993         * converter.h (operator<):
7994         * converter.C (operator<):
7995         * buffer.C (parseSingleLyXformat2Token):
7996         (asciiParagraph):
7997         * ToolbarDefaults.C (read):
7998         * MenuBackend.C (checkShortcuts):
7999         (read):
8000         * LColor.C (getFromGUIName):
8001         (getFromLyXName): use the compare_ascii_no_case instead of
8002         compare_no_case, because in turkish, 'i' is not the lowercase
8003         version of 'I', and thus turkish locale breaks parsing of tags.
8004
8005 2002-07-16  Angus Leeming  <leeming@lyx.org>
8006
8007         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8008         now takes a Buffer const & argument.
8009
8010 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8011
8012         * BufferView.C (resize): check there's a buffer to resize
8013
8014 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * lyxfunc.C: remove dead code
8017
8018         * lyxserver.h:
8019         * lyxserver.C: use lyx_guii::set_read_callback
8020
8021 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8022
8023         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8024         an inset in a RTL paragraph.
8025
8026 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * lyxfunc.C: repaint after a font size update
8029
8030 2002-07-15  André Pönitz <poenitz@gmx.net>
8031
8032         * lyxlength.C: inBP should be able to return negative values
8033
8034 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * lyxfunc.C: use lyx_gui::update_fonts()
8037
8038 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8039
8040         * lyxfunc.C: use lyx_gui::update_color()
8041
8042 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * bufferlist.C:
8045         * lyxfunc.h:
8046         * lyxfunc.C:
8047         * lyxrc.h:
8048         * lyxrc.C: remove file->new asks for name option, and let
8049           buffer-new take an argument
8050
8051 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * BufferView_pimpl.C: remove unneeded extra repaint()
8054
8055 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * LyXAction.C: allow command-sequence with NoBuffer
8058
8059         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8060
8061 2002-07-10  Angus Leeming  <leeming@lyx.org>
8062
8063         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8064
8065 2002-07-09  Angus Leeming  <leeming@lyx.org>
8066
8067         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8068
8069 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * lengthcommon.h: whitespace
8072
8073         * lyxfunc.C: update scrollbar after goto paragraph
8074
8075         * lyxtext.h: factor out page break drawing, and fix it so
8076           page break/added space paints as selected nicely
8077
8078 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8079
8080         * BufferView_pimpl.C: add FIXMEs, clean up a little
8081
8082 2002-07-09  André Pönitz <poenitz@gmx.net>
8083
8084         * lyxfont.[Ch]: support for wasy symbols
8085
8086 2002-07-08  André Pönitz <poenitz@gmx.net>
8087
8088         * BufferView_pimpl.C: apply John's patch for #93.
8089
8090 2002-07-05  Angus Leeming  <leeming@lyx.org>
8091
8092         * BufferView_pimpl.C (buffer): generate previews if desired.
8093
8094         * LColor.h: add "preview" to the color enum.
8095
8096         * LColor.C (LColor): add a corresponding entry to the items array.
8097
8098         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8099         with this buffer.
8100
8101 2002-07-05  Angus Leeming  <leeming@lyx.org>
8102
8103         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8104         The body of the code is now in the method that is passed an ostream &
8105         rather than a file name.
8106         Pass an additional only_preamble parameter, useful for the forthcoming
8107         preview stuff.
8108
8109 2002-07-03  André Pönitz <poenitz@gmx.net>
8110
8111         * lyxfunc.C: simplify getStatus() a bit for math stuff
8112
8113 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8116
8117 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8118
8119         * text.C (changeRegionCase): do not change case of all the
8120         document when region ends at paragraph end (bug #461)
8121
8122 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8123
8124         * paragraph.C (startTeXParParams):
8125         (endTeXParParams): add \protect when necessary
8126
8127 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8128
8129         * BufferView_pimpl.C (workAreaExpose): remove warning
8130
8131 2002-06-27  Angus Leeming  <leeming@lyx.org>
8132
8133         * Makefile.am: add lyxlayout_ptr_fwd.h.
8134
8135 2002-06-26  André Pönitz <poenitz@gmx.net>
8136
8137         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8138
8139 2002-06-25  Angus Leeming  <leeming@lyx.org>
8140
8141         * lyxfunc.C (dispatch): Comment out the call to
8142         grfx::GCache::changeDisplay. The method no longer exists now that the
8143         pixmap generation part of the graphics loader has been moved into
8144         InsetGraphics.
8145
8146 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8147
8148         * text2.C: layout as layout
8149
8150         * text.C: layout as layout
8151
8152         * tabular.C (OldFormatRead): layout as layout
8153
8154         * paragraph_pimpl.C (TeXDeeper): layout as layout
8155         (realizeFont): layout as layout
8156
8157         * paragraph.C (writeFile): layout as layout
8158         (validate): layout as layout
8159         (getFont): layout as layout
8160         (getLabelFont): layout as layout
8161         (getLayoutFont): layout as layout
8162         (breakParagraph): layout as layout
8163         (stripLeadingSpaces): layout as layout
8164         (getEndLabel): layout as layout
8165         (getMaxDepthAfter): layout as layout
8166         (applyLayout): layout as layout
8167         (TeXOnePar): layout as layout
8168         (simpleTeXOnePar): layout as layout
8169         (TeXEnvironment): layout as layout
8170         (layout): layout as layout
8171         (layout): layout as layout
8172
8173         * lyxtextclass.C (compare_name): new functor to work with
8174         shared_ptr, layout as layout
8175         (Read): layout as layout
8176         (hasLayout): layout as layout
8177         (operator): layout as layout
8178         (delete_layout): layout as layout
8179         (defaultLayout): layout as layout
8180
8181         * lyxlayout_ptr_fwd.h: new file
8182
8183         * lyxlayout.C (Read): layout as layout
8184
8185         * lyx_cb.C (MenuInsertLabel): layout as layout
8186
8187         * bufferlist.C (newFile): layout as layout
8188
8189         * buffer.C (readLyXformat2): layout as layout
8190         (parseSingleLyXformat2Token): layout as layout
8191         (insertStringAsLines): layout as layout
8192         (asciiParagraph): layout as layout
8193         (latexParagraphs): layout as layout
8194         (makeLinuxDocFile): layout as layout
8195         (simpleLinuxDocOnePar): layout as layout
8196         (makeDocBookFile): layout as layout
8197         (simpleDocBookOnePar): layout as layout
8198         (getLists): layout as layout
8199
8200         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8201
8202         * CutAndPaste.C (cutSelection): layout as layout
8203         (pasteSelection): layout as layout
8204         (SwitchLayoutsBetweenClasses): layout as layout
8205
8206         * BufferView_pimpl.C (Dispatch): layout as layout
8207         (smartQuote): layout as layout
8208
8209         * BufferView2.C (unlockInset): layout as layout
8210
8211 2002-06-24  André Pönitz <poenitz@gmx.net>
8212
8213         * lyxfunc.C: fix #487
8214
8215 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * lyxrc.h:
8218         * lyxrc.C:
8219         * lyxfunc.C: remove display_shortcuts, show_banner
8220
8221 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8222
8223         * Buffer_pimpl.C: oops, update on resize
8224
8225 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * buffer.C:
8228         * converter.C:
8229         * exporter.C:
8230         * lyxfunc.C:
8231         * BufferView.h:
8232         * BufferView.C: use repaint()
8233
8234         * BufferView_pimpl.h:
8235         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8236           as it's a clearer description. Remove superfluous
8237           redraws.
8238
8239 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8240
8241         * text.C: fix bug 488. Not ideal, but getting
8242           getWord() to work properly for the insets that
8243           matter is more difficult ...
8244
8245 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8246
8247         * BufferView_pimpl.C:
8248         * LyXAction.C:
8249         * commandtags.h:
8250         * lyxfunc.C: remove the six million index lyxfuncs to just
8251           one, and DTRT (bug 458)
8252
8253 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * BufferView.h:
8256         * BufferView.C:
8257         * BufferView_pimpl.h:
8258         * BufferView_pimpl.C: clean up resize() stuff,
8259           and unnecessary updateScreen()s
8260
8261 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8262
8263         * BufferView.h:
8264         * BufferView.C:
8265         * BufferView_pimpl.h:
8266         * BufferView_pimpl.C:
8267         * lyxfind.h:
8268         * lyxfind.C:
8269         * minibuffer.C: remove focus management of workarea,
8270           not needed. Use screen's greyOut()
8271
8272 2002-06-17  Herbert Voss  <voss@lyx.org>
8273
8274         * converter.C: (convert) do not post a message, when converting
8275         fails, let the calling function decide what to do in this case
8276
8277 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * lyxfunc.C: tidy up a little
8280
8281 2002-06-16    <alstrup@diku.dk>
8282
8283         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8284         Got rid of FORMS_H_LOCATION include. Now we are
8285         GUII.
8286
8287 2002-06-15  LyX Development team  <lyx@rilke>
8288
8289         * buffer.[Ch] (sgmlOpenTag):
8290         (sgmlCloseTag): Added support for avoiding pernicious mixed
8291         content. Return number of lines written.
8292
8293         (makeLinuxDocFile):
8294         (makeDocBookFile): Fixed calls to sgml*Tag.
8295         Simple white space clean.
8296
8297         (simpleDocBookOnePar): Simple white space clean.
8298
8299         * tabular.[Ch] (docBook): Renamed to docbook and got another
8300         argument to related with the pernicious mixed content.
8301
8302         (docbookRow): Fixed calls for docbook inset method.
8303
8304 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8305
8306         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8307         so it's X11 independent.
8308
8309         * kb*.[Ch]: ditto.
8310
8311         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8312
8313 2002-06-15  Lyx Development team  <lyx@electronia>
8314
8315         * intl.h: Renamed getTrans to getTransManager.
8316
8317 2002-06-14  Angus Leeming  <leeming@lyx.org>
8318
8319         * Makefile.am: nuke forgotten stl_string_fwd.h.
8320
8321 2002-06-12  Angus Leeming  <leeming@lyx.org>
8322
8323         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8324
8325 2002-06-13  Angus Leeming  <leeming@lyx.org>
8326
8327         * LaTeX.C:
8328         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8329
8330 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8331
8332         * kbmap.C (getiso): add support for cyrillic and greek
8333
8334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * BufferView.h:
8337         * BufferView.C:
8338         * BufferView_pimpl.h:
8339         * BufferView_pimpl.C: move bogus scrolling logic
8340           to xforms
8341
8342 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * lyxfunc.C:
8345         * BufferView_pimpl.C: view->resize() change
8346
8347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * BufferView_pimpl.C: topCursorVisible
8350           prototype change
8351
8352 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * Makefile.am:
8355         * lyx_gui.h:
8356         * lyx_gui.C: move to frontends/
8357
8358         * main.C:
8359         * lyx_main.h:
8360         * lyx_main.C: changes from above
8361
8362 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * intl.C:
8365         * intl.h:
8366         * kbmap.C:
8367         * kbsequence.C:
8368         * lyx_cb.C:
8369         * lyx_main.C: minor tidy
8370
8371 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * BufferView_pimpl.h:
8374         * BufferView_pimpl.C:
8375         * BufferView.h:
8376         * BufferView.C: make painter() const,
8377           remove dead code
8378
8379         * BufferView2.C: use screen() accessor
8380
8381         * lyx_main.h:
8382         * lyx_main.C: some minor cleanup
8383
8384 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * BufferView_pimpl.h:
8387         * BufferView_pimpl.C: remove enter/leaveView,
8388           use workHeight()
8389
8390 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * BufferView.h:
8393         * BufferView.C:
8394         * BufferView2.C:
8395         * BufferView_pimpl.h:
8396         * BufferView_pimpl.C: only construct screen once,
8397           rename
8398
8399         * lyxrc.C: remove pointless comment
8400
8401 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * BufferView.h:
8404         * BufferView.C: remove active() and belowMouse()
8405
8406         * BufferView_pimpl.h:
8407         * BufferView_pimpl.C: use workarea() not workarea_,
8408           and make it use a scoped_ptr instead
8409
8410 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * lyx_gui.C: add debug message on BadWindow
8413
8414 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * sp_spell.C: fdopen is not part of the C++ standard.
8417
8418         * paragraph.C (InsetIterator): use >= instead of ==
8419
8420 2002-06-07  Angus Leeming  <leeming@lyx.org>
8421
8422         Fixes needed to compile with Compaq cxx 6.5.
8423         * BufferView_pimpl.C:
8424         * DepTable.C:
8425         * buffer.C:
8426         * converter.C:
8427         * encoding.C:
8428         * lyx_gui.C:
8429         * lyx_main.C:
8430         * lyxtextclasslist.C:
8431         * minibuffer.C:
8432         * sp_spell.C:
8433         * tabular_funcs.C:
8434         * vc-backend.C:
8435         all c-library variables have been moved into namespace std. Wrap
8436         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8437
8438         * lyxlength.C:
8439         * tabular-old.C:
8440         * tabular.C:
8441         Add a using std::abs declaration.
8442
8443         * kbmap.h (modifier_pair):
8444         * paragraph.h (InsetTable, InsetList):
8445         * lyxfont.h (FontBits):
8446         type definition made public.
8447
8448         * bufferlist.C (emergencyWriteAll): the compiler complains that
8449         there is more than one possible lyx::class_fun template to choose from.
8450         I re-named the void specialisation as lyx::void_class_fun.
8451
8452         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8453
8454         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8455         the compiler is is unable to find tostr in write_attribute.
8456
8457 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * buffer.C (sgmlError): hide #warning
8460
8461 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8462
8463         * xtl/*: get rid of xtl, which is not in use anyway
8464
8465         * LyXAction.C (init):
8466         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8467         were unimplemented xtl experimentation
8468
8469 2002-06-04  André Pönitz <poenitz@gmx.net>
8470
8471         * lyxfunc.C: disable array operation on simple formulae
8472
8473 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * converter.C: constify a bit
8476
8477 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * lyx_gui.C: check xforms version correctly
8480
8481 2002-04-30  Herbert Voss  <voss@lyx.org>
8482
8483         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8484         "keep" option
8485
8486 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8487
8488         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8489           attempt to register it with a VCS)
8490
8491 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * lyx_main.C (init): honor variables LYX_DIR_13x and
8494         LYX_USERDIR_13x
8495
8496 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8497
8498         * buffer.h:
8499         * buffer.C:
8500         * lyx_main.C: fix a crash on bad command line,
8501           and give a useful exit status on error
8502
8503         * lyxfunc.C (doImport): allow -i lyx to work
8504
8505 2002-03-30  André Pönitz <poenitz@gmx.net>
8506
8507         * lyxfunc.C: mathed font changes
8508
8509 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * LaTeX.C:
8512         * importer.h:
8513         * importer.C:
8514         * lyx_sty.h:
8515         * lyx_sty.C:
8516         * lyxlex.C:
8517         * lyxrow.h:
8518         * lyxtext.h:
8519         * paragraph.h:
8520         * paragraph.C:
8521         * texrow.h:
8522         * texrow.C:
8523         * text.C:
8524         * trans_mgr.h: srcdocs, and some minor cleanups
8525
8526 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8529         call getFont all the time)
8530
8531 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8532
8533         * switch from SigC signals to boost::signals
8534
8535 2002-05-29  André Pönitz <poenitz@gmx.net>
8536
8537         * paragraph_pimpl.C (getChar): don't call size() too often...
8538
8539 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8540
8541         * paragraph_pimpl.C (insertChar): do not try to update tables when
8542         appending (pos == size())
8543
8544         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8545         in order to reduce drastically the number of comparisons needed to
8546         parse a large document
8547
8548 2002-05-29  André Pönitz <poenitz@gmx.net>
8549
8550         * text.C:
8551         * text2.C:
8552         * lyxtextclass.C:
8553         * sp_pspell.h:
8554         * textclasslist.[Ch]:
8555         * sp_ispell.h: whitespace change
8556
8557 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8560         lyxaction directly now.
8561
8562 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * trans.C:
8565         * lyxfont.C:
8566         * lyxvc.C: remove unused headers
8567
8568 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8569
8570         * Makefile.am:
8571         * buffer.h:
8572         * undostack.h:
8573         * undostack.C:
8574         * undo_funcs.h:
8575         * undo_funcs.C: some cleanups. Use shared_ptr
8576           and a template for the undo stacks.
8577
8578 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * BufferView_pimpl.h:
8581         * BufferView_pimpl.C:
8582         * kbmap.h:
8583         * kbmap.C:
8584         * kbsequence.h:
8585         * kbsequence.C:
8586         * lyxfunc.h:
8587         * lyxfunc.C:
8588         * text2.C: use key_state/mouse_state
8589
8590 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8591
8592         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8593         and LSubstring
8594
8595         * chset.C: change include order
8596         (loadFile): use boost regex and get rid of LRegex and LSubstring
8597
8598         * Makefile.am (BOOST_LIBS): new variable
8599         (lyx_LDADD): use it
8600
8601         * LaTeX.C: change include order.
8602         (scanAuxFile): use boost regex and get rid of LRegex and
8603         LSubstring
8604         (deplog): ditto
8605
8606 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * ColorHandler.h:
8609         * ColorHandler.C:
8610         * FontInfo.h:
8611         * FontInfo.C: moved to frontends/xforms/
8612
8613         * FontLoader.h:
8614         * FontLoader.C: moved into frontends for GUIIzation
8615
8616         * Makefile.am:
8617         * lyx_gui.C:
8618         * lyxfont.C:
8619         * lyxfunc.C: changes from above
8620
8621 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * LColor.C: remove spurious X include
8624
8625         * BufferView_pimpl.C:
8626         * Makefile.am:
8627         * font.h:
8628         * font.C:
8629         * text.C:
8630         * text2.C: move font metrics to frontends/
8631
8632 2002-05-24  Juergen Vigna  <jug@sad.it>
8633
8634         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8635         setting the undo_cursor.
8636
8637         * ParagraphParameters.h: include local includes first.
8638
8639 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * BufferView_pimpl.C:
8642         * BufferView_pimpl.h:
8643         * Makefile.am:
8644         * WorkArea.h:
8645         * WorkArea.C:
8646         * screen.C: move WorkArea into frontends/
8647
8648         * lyxscreen.h:
8649         * screen.C:
8650         * text.C:
8651         * BufferView.C:
8652         * BufferView2.C: move LyXScreen into frontends/
8653
8654         * lyxlookup.h:
8655         * lyxlookup.C:
8656         * lyx_gui.C: move lyxlookup into frontends/xforms/
8657
8658 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * BufferView2.C:
8661         * BufferView_pimpl.C:
8662         * FontLoader.C:
8663         * LyXView.h:
8664         * LyXView.C:
8665         * Makefile.am:
8666         * WorkArea.C:
8667         * XFormsView.h:
8668         * XFormsView.C:
8669         * buffer.C:
8670         * bufferlist.C:
8671         * bufferview_funcs.C:
8672         * converter.C:
8673         * importer.C:
8674         * lyx_cb.C:
8675         * lyx_gui.C:
8676         * lyx_main.C:
8677         * lyx_find.C:
8678         * lyxfunc.C:
8679         * lyxvc.C:
8680         * minibuffer.C:
8681         * text.C:
8682         * text2.C:
8683         * trans.C:
8684         * vc-backend.C: move LyX/XFormsView into frontends/
8685
8686 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * Makefile.am:
8689         * PainterBase.C:
8690         * PainterBase.h:
8691         * Painter.C:
8692         * Painter.h:
8693         * WorkArea.C:
8694         * WorkArea.h:
8695         * screen.C:
8696         * tabular.C:
8697         * text.C:
8698         * text2.C: move Painter to frontends/
8699
8700 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8701
8702         * buffer.C: comment out some some code that depend upon lyx_format
8703         < 220
8704
8705         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8706         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8707
8708         * buffer.h (NO_COMPABILITY): turn off compability
8709
8710         * ColorHandler.C: include scoped_array.hpp
8711
8712         * font.C: Use more specific smart_ptr header.
8713         * Painter.C: ditto
8714         * gettext.C: ditto
8715         * ShareContainer.h: ditto
8716         * lyx_main.h: ditto
8717         * kbmap.h: ditto
8718         * FontInfo.h: ditto
8719         * BufferView_pimpl.h: ditto
8720         * ColorHandler.h: ditto
8721
8722         * kbmap.C (defkey): change call to shared_ptr::reset
8723
8724 2002-05-21  Juergen Vigna  <jug@sad.it>
8725
8726         * buffer.C (insertErtContents): fix to insert ert asis if it is
8727         non empty. Skip it completely if it contains only whitespaces.
8728
8729 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView_pimpl.C:
8732         * BufferView2.C: clear selection on paste (bug 393)
8733
8734 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8735
8736         * DepTable.C: include ctime
8737
8738 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8739
8740         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8741
8742 2002-05-14  Juergen Vigna  <jug@sad.it>
8743
8744         * text.C (breakParagraph): fixed function to honor the keepempty
8745         layout in the right maner and also to permit the right breaking
8746         algorithm on empty or non empyt keepempty paragraphs.
8747
8748         * paragraph.C (breakParagraph): we have to check also if the par
8749         is really empty (!size()) for isempty otherwise we do the wrong
8750         paragraph break.
8751
8752 2002-05-10  Juergen Vigna  <jug@sad.it>
8753
8754         * buffer.[Ch] : The following are only changes to the ert
8755         compatibility read reading old LaTeX layout and font stuff and
8756         convert it to ERTInsets.
8757
8758         * buffer.h: added isErtInset().
8759
8760         * buffer.C (struct ErtComp): add a fromlayout bool to check
8761         if we're inside a LaTeX layout.
8762         (isErtInset): new helper function.
8763         (insertErtContents): look for other ert insets before this one
8764         and insert the contents there, so that we don't have subsequent
8765         ERT insets with nothing between them. This way we create only one
8766         inset with multiple paragraphs. Also check if we don't insert only
8767         spaces ' ' as they are ignored anyway afterwards in the .tex file
8768         so if we have only spaces we will ignore this latex part in the
8769         new file.
8770         (parseSingleLyXformat2Token \\layout): better compatibility when
8771         reading layout-latex stuff.
8772         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8773         language tag.
8774         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8775         stuff after reading the inset only get the information back from
8776         the stack.
8777
8778 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8779
8780         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8781
8782         * LaTeXFeatures.C (getBabelOptions): New method.
8783
8784 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8785
8786         * BufferView_pimpl.C (Dispatch): work around missing argument for
8787         'layout'
8788
8789 2002-05-08  Juergen Vigna  <jug@sad.it>
8790
8791         * text.C (leftMargin): handle paragraph leftindent.
8792
8793         * paragraph.C (writeFile): write the new \\leftindent tag.
8794         (validate): handle leftindent code.
8795         (TeXEnvironment): handle paragraphleftindent code again.
8796
8797         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8798
8799         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8800         for paragrap_extra indent code and new token \\leftindent.
8801         (latexParagraphs): handle the leftindent as environment.
8802
8803         * ParameterStruct.h: added leftindent support.
8804
8805         * ParagraphParameters.C (leftIndent): added support functions for
8806         the paragraph left indent.
8807
8808         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8809         more appropriate.
8810
8811 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8812
8813         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8814         inside insetERT.
8815
8816         * text.C (computeBidiTables): No bidi in insetERT.
8817
8818         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8819         in RTL documents.
8820
8821 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * version.C.in: pre 5
8824
8825 2002-05-02  José Matos  <jamatos@fep.up.pt>
8826         * buffer.C (makeDocBookFile): white space changes, add newline to
8827         command styles.
8828         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8829
8830         * tabular.C (docBook): fix typo.
8831
8832 2002-05-03  Juergen Vigna  <jug@sad.it>
8833
8834         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8835         change in LyXText as we can not be sure it was not freed.
8836         (drawOneRow): remove unused code.
8837
8838         * text.C (drawInset): redo the calculation of the need_break_row as
8839         it could have a row which was already freed.
8840         (draw): look at the return value of drawInset and return false if
8841         it also returned false.
8842         (paintRowText): look at the return value of draw and return false if
8843         it also returned false.
8844
8845         * lyxtext.h: added bool return type to drawInset() and draw() so that
8846         if we have a change in the row so that the rowbreak has to be redone
8847         we abort drawing as it will be called again.
8848
8849 2002-05-02  Juergen Vigna  <jug@sad.it>
8850
8851         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8852         a change in the maintext also if we're inside an inset.
8853         (Dispatch): set the cursor again after a break line and after the
8854         screen has been updated as it could be we're in a different row.
8855
8856         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8857         to set the cursor behind the pargraph with > size().
8858         (setCursor): check also for the same paragraph when checking where
8859         to put the cursor if we have a NFR inset.
8860
8861         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8862         parts of layout read further up as it still was in the wrong
8863         position.
8864
8865 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8866
8867         * screen.C (drawFromTo): change sine fullRebreak always return
8868         true.
8869
8870         * buffer.C (parseSingleLyXformat2Token): reindent some
8871
8872         * BufferView_pimpl.C (update): change since fullRebreak always
8873         return true.
8874         (Dispatch): git rid of the last hardcoded "Standard"s.
8875
8876 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8877
8878         * text2.[Ch] (fullRebreak): make it return void now that we always
8879         returned true.
8880
8881 2002-04-30  Juergen Vigna  <jug@sad.it>
8882
8883         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8884         ert compatibility check for "latex" layout.
8885
8886 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8887
8888         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8889         minipages: use col% instead of p%, and also use the current font.
8890         (makeLaTeXFile): Fix use babel condition.
8891         (parseSingleLyXformat2Token): Correct font when reading old floats.
8892
8893 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8894
8895         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8896         inserting list of floats.
8897
8898 2002-04-25  Herbert Voss  <voss@lyx.org>
8899
8900         * MenuBackend.C (expand): don't add the graphics extensions to the
8901         export menu
8902
8903 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8906         non-existing layout, do not complain if it was the default layout
8907         of the original class (bug #342)
8908
8909 2002-04-24  Juergen Vigna  <jug@sad.it>
8910
8911         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8912         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8913
8914 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8915
8916         * buffer.C (getBibkeyList): If using \bibliography, return the
8917         option field with the reference itself. Enables us to provide natbib
8918         support when using \bibliography.
8919
8920 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8921
8922         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8923
8924         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8925         natbib is provided by the LaTeX class.
8926
8927 2002-04-23  Juergen Vigna  <jug@sad.it>
8928
8929         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8930         Wakeup functions.
8931
8932         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8933
8934 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8937
8938         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8939         ensuremath around textordmasculine, textordfeminine and
8940         textdegree.
8941
8942 2002-04-19  Juergen Vigna  <jug@sad.it>
8943
8944         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8945         reinitializing the buffer otherwise row-dimensions may be wrong.
8946         (update): reset also the selection cursors if they do exits otherwise
8947         their x/y positions may be wrong.
8948
8949         * text2.C (cursorDown): don't enter the inset if we came from a row
8950         above and are one row over the inset.
8951
8952         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8953         really leaving an inset.
8954
8955 2002-04-18  Juergen Vigna  <jug@sad.it>
8956
8957         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8958         of the selected paragraph does not have the selected layout also if
8959         the last one had!
8960
8961         * text2.C (setLayout): fixed bug which did not change last selected
8962         paragraph.
8963
8964         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8965         changed the read and substituted \\end_float with \\end_inset!
8966
8967         * BufferView_pimpl.C (cursorPrevious):
8968         (cursorNext): fixed to make it work with rows heigher than the work
8969         area without moving the cursor only the draw of the row.
8970         (workAreaMotionNotify): fix jumping over high rows.
8971
8972 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8975         Ressler.
8976
8977 2002-04-16  Juergen Vigna  <jug@sad.it>
8978
8979         * text2.C (setCursor): set also the irow().
8980         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8981         (cursorUp):
8982         (cursorDown): support for locking an inset if the x_fix value goes
8983         inside it. That way I can transverse insets too with cursor up/down.
8984
8985         * lyxrow.h: added irow helper function same as other (i) functions.
8986
8987         * BufferView_pimpl.C (cursorPrevious):
8988         (cursorNext): fixed for insets!
8989
8990 2002-04-15  Juergen Vigna  <jug@sad.it>
8991
8992         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8993         position otherwise it is wrong in some cases.
8994
8995         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8996         inside the inset before the call.
8997
8998 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8999
9000         * buffer.[Ch] (getBibkeyList): make it const.
9001
9002 2002-04-12  Juergen Vigna  <jug@sad.it>
9003
9004         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9005
9006         * text2.C (getCursorX): new helper function
9007         (setCursor): compute also ix_
9008         (setCursorFromCoordinates): set also ix.
9009
9010         * lyxcursor.h: added ix_ and helper functions.
9011
9012         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9013
9014         * buffer.C (insertStringAsLines): dont break paragraph if the this
9015         paragraph is inside an inset which does not permit it!
9016
9017         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9018         also with no chars on this paragraph.
9019         (paintRowText): only paint stuff if it's inside the workarea!
9020
9021         * paragraph.C (breakParagraph): honor keepempty flag and break the
9022         paragraph always below not above.
9023
9024         * BufferView2.C (unlockInset): update the paragraph layout on inset
9025         unlock as we changed paragraph in such a case.
9026
9027         * lyxfind.C (LyXFind): clear the former selection if not found!
9028
9029         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9030         again called in insertChar().
9031
9032         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9033         an inset which uses the whole row!
9034         (rightMargin): ditto.
9035         (insertChar): force a rebreak if we inserted an inset!
9036
9037 2002-03-28  Herbert Voss  <voss@lyx.org>
9038
9039         * lyxlength.[Ch]: add inBP() to get the right PS-point
9040         units (BigPoint). With inPixels we have rounding errors
9041
9042 2002-04-11  Juergen Vigna  <jug@sad.it>
9043
9044         * text2.C (setCursorFromCoordinates): set iy to the right value.
9045         (setCursor): add check if row->previous exists!
9046
9047         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9048         an old float_type as this was the case in the old code!
9049
9050         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9051
9052         * BufferView2.C (showLockedInsetCursor): use iy
9053         (fitLockedInsetCursor): ditto
9054
9055         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9056         locked insets as there we have the right value now.
9057
9058         * lyxcursor.C: added iy_ variable and iy functions to set to the
9059         baseline of cursor-y of the locked inset.
9060
9061         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9062         (setCursor): fixed for insets which need a full row.
9063
9064         * text.C (rowLastPrintable): don't ignore the last space when before
9065         an inset which needs a full row.
9066         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9067         as last character of a row when before a inset which needs a full row.
9068
9069 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9070
9071         * version.C.in: update date
9072
9073         * text2.C (fullRebreak): try to always return true and see what
9074         happens...
9075
9076 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * MenuBackend.C (expand): use Floating::listName
9079
9080         * FloatList.C (FloatList): add listName argument to the built-in
9081         floats
9082
9083         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9084         text associated with the float.
9085
9086 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9087
9088         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9089
9090 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * ShareContainer.h: add a couple of missing typenames.
9093
9094 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9095
9096         * lyxrc.C (getDescription): use _() correctly rather than N_().
9097
9098 2002-03-28  Herbert Voss  <voss@lyx.org>
9099
9100         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9101         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9102
9103 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9106         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9107
9108 2002-03-29  Juergen Vigna  <jug@sad.it>
9109
9110         * lyxfunc.C (dispatch): add a missing fitCursor call.
9111
9112         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9113         it was scrolled by a cursor move, so return the bool status.
9114
9115         * BufferView.C (fitCursor): return the bool flag also to the outside
9116         world as this is needed.
9117
9118         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9119
9120         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9121         call the edit() as it is not needed (and wrong) IMO.
9122         (workAreaButtonPress): set the screen_first variable before evt.
9123         unlock the inset as this may change screen_first and then we have
9124         a wrong y position for the click!
9125
9126 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9127
9128         * MenuBackend.C (expand): another translation that I missed
9129
9130 2002-03-28  Juergen Vigna  <jug@sad.it>
9131
9132         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9133
9134         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9135
9136 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9137
9138         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9139
9140         * MenuBackend.C (expand): fix export/view/update when there is no
9141         document open.
9142
9143 2002-03-27  Herbert Voss  <voss@lyx.org>
9144
9145         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9146         and text%
9147
9148 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * bufferview_funcs.C (currentState): only show paragraph number
9151         for is DEVEL_VERSION is set.
9152
9153         * lyxfunc.C (dispatch): put warning in INFO channel
9154
9155         * MenuBackend.C (expand): translate the name of floats
9156
9157         * FloatList.C (FloatList): mark the float names for translation
9158
9159         * converter.C (convert): use LibScriptSearch
9160
9161 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9162
9163         * MenuBackend.C (defaults): fix default menu (we might as well get
9164         rid of it...)
9165
9166 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9167
9168         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9169         directory.
9170
9171 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9172
9173         * lyxvc.C: reorder includes.
9174
9175 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9178           properly
9179
9180 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9181
9182         * CutAndPaste.C: change layouts earlier on paste
9183           to avoid crashing when calling getFont()
9184
9185 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9188         irritating #error.
9189
9190 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * WorkArea.C: remove 'Pending' debug message.
9193
9194         * most files: ws cleanup
9195
9196         * buffer.[Ch]: ws changes
9197
9198         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9199
9200 2002-03-21  Juergen Vigna  <jug@sad.it>
9201
9202         * tabular.C (SetMultiColumn): collapse also the contents of the
9203         cells and set the last border right. Added a Buffer const * param.
9204
9205 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9206
9207         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9208         linking or not.
9209
9210 2002-03-19  Juergen Vigna  <jug@sad.it>
9211
9212         * text2.C (clearSelection): reset also xsel_cache.
9213
9214         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9215         where it needs to be called (John tells us to do so too :)
9216         (selectionLost): reset sel_cache.
9217
9218         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9219
9220 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9221
9222         * text2.C (setCursorIntern): put debuging code in INSETS channel
9223
9224 2002-03-19  André Pönitz <poenitz@gmx.net>
9225
9226         * lyxfunc.C: tiny whitespace change
9227
9228 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9229
9230         * ToolbarDefaults.C (init):
9231         * LyXAction.C (init):
9232         * commandtags.h:
9233         * BufferView_pimpl.C (Dispatch):
9234         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9235
9236 2002-03-19  Allan Rae  <rae@lyx.org>
9237
9238         * exporter.C (Export): removeAutoInsets before doing anything else.
9239         While I've just introduced a dependency on BufferView this really is
9240         the best place to clean the buffer otherwise you need to cleanup in
9241         a dozen places before calling export or cleanup in a dozen functions
9242         that export calls.
9243
9244         * converter.C (runLaTeX):
9245         (scanLog): Better handling of removeAutoInsets and screen updates.
9246
9247         * lyxfunc.C (dispatch): small whitespace changes
9248
9249 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9250
9251         * WorkArea.C (C_WorkAreaEvent): return a value.
9252         (event_cb): return 1 if we handled the event, 0 otherwise.
9253
9254         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9255
9256 2002-03-18  Juergen Vigna  <jug@sad.it>
9257
9258         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9259         (GetAdditionalWidth): ditto.
9260         (RightLine): ditto.
9261         (LeftLine): ditto.
9262
9263         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9264         inset if we're there actually (probably not used right now but this
9265         is the direction to go for unifying code).
9266         (paste): disable code to clear the selection.
9267
9268         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9269         inside an InsetText and move the check further up as it is in the
9270         wrong place.
9271
9272         * text2.C (pasteSelection): set a selection over the pasted text.
9273
9274 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9275
9276         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9277         and libgraphics to build on Cygwin.
9278
9279 2002-03-15  Juergen Vigna  <jug@sad.it>
9280
9281         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9282         inserting an Inset into the paragraph. I know this is not the best
9283         fix but we already use current_view in CutAndPaste so we will remove
9284         all of it's using at the same time.
9285
9286         * buffer.C (sgmlError): deactivated function till it is rewritten in
9287         the right mode, now it can create problems.
9288
9289         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9290         before accessing it.
9291
9292 2002-03-14  Juergen Vigna  <jug@sad.it>
9293
9294         * undo_funcs.C (textHandleUndo): do the right thing when updating
9295         the inset after the undo/redo.
9296
9297         * text2.C (setCursor): just some testcode for #44 not ready yet.
9298
9299         * undo_funcs.C (textHandleUndo): set the next() and previous()
9300         pointers of the paragraph to 0 before deleting otherwise we have
9301         problems with the Paragraph::[destructor].
9302
9303         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9304         on a paragraph insertion.
9305
9306 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9307
9308         * buffer.C (asciiParagraph): use += operator for char append to
9309         string.
9310
9311         * paragraph.C (getFontSettings): compare >= not just >
9312         (highestFontInRange): ditto
9313         (setFont): ditto
9314
9315 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * paragraph.C: change several algorithm to be more appripriate for
9318         the problem domain. This is lookip in FontList and in the InsetList.
9319
9320 2002-03-13  André Pönitz <poenitz@gmx.net>
9321
9322         * commandtags.h:
9323         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9324
9325 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * commandtags.h:
9328         * LyXAction.C:
9329         * lyxfunc.C:
9330         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9331
9332 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * Painter.C (display): anon helper function, adjust code for this
9335         change.
9336         (pixmap): remove function.
9337
9338         * Painter.h: remove private display variable.
9339
9340         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9341
9342 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9343
9344         * WorkArea.[Ch]: remove figinset_canvas cruft.
9345
9346 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9347
9348         * lyxtextclass.C (operator): add one item cache optimization.
9349
9350         * bufferlist.h: doxy changes
9351
9352         * bufferlist.C: ws changes
9353
9354         * DepTable.[Ch] (ext_exist): place const in the right spot.
9355
9356         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9357         call resizeInsets.
9358         (workAreaExpose): call resizeInsets when the with BufferView changes.
9359         (Dispatch): adjust for protectedBlank removal
9360         (specialChar): call updateInset if the insert went ok.
9361
9362         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9363         specialChar instead.
9364
9365         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9366
9367         * BufferView.h: doxy change
9368
9369         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9370
9371         * lyxtextclass.C (operator[]): remove non-const version
9372         (defaultLayout): remove non-const version
9373
9374 2002-03-12  Juergen Vigna  <jug@sad.it>
9375
9376         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9377         did resize the LyXText too.
9378
9379         * buffer.C (readLyXformat2): set layout information on newly allocated
9380         paragraphs.
9381
9382         * tabular.C (OldFormatRead): set layout information on the paragraph.
9383
9384 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9385
9386         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9387
9388 2002-03-11  Juergen Vigna  <jug@sad.it>
9389
9390         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9391         plainly wrong.
9392         (resizeCurrentBuffer): force also the insets to resize themselfes.
9393         (moveCursorUpdate): fixed up for InsetText.
9394
9395 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9396
9397         * commandtags.h:
9398         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9399         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9400         value of Dialogs::tooltipsEnabled().
9401         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9402
9403 2002-03-08  Juergen Vigna  <jug@sad.it>
9404
9405         * BufferView_pimpl.C (updateInset): update inset inside inset also
9406         if it isn't inside theLockingInset().
9407
9408 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9409
9410         * buffer.C (asciiParagraph): redo some of the word and line length
9411         handling.
9412         (getLists): look for Caption instead of caption.
9413
9414 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * buffer.C (Buffer): initialize niceFile to true
9417         (makeLaTeXFile):
9418         (makeLinuxDocFile):
9419         (makeDocBookFile): make sure niceFile is true on exit
9420
9421 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9424
9425 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9426
9427         * LyXSendto.C: remove.
9428         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9429         * lyx_gui.C: remove now-redundant comment.
9430         * ColorHandler.h: remove forward declaration of class WorkArea.
9431         * lyxfunc.C: remove #include "WorkArea.h".
9432
9433 2002-03-07  Juergen Vigna  <jug@sad.it>
9434
9435         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9436         got moved away with the DEPM and also set the inset_owner always
9437         right which before could have been omitted.
9438
9439 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9442         wanted layout is not found.
9443
9444 2002-03-07  Juergen Vigna  <jug@sad.it>
9445
9446         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9447
9448 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * paragraph.C (breakParagraph): use default layout not layout of
9451         prev paragraph.
9452         (Paragraph): clear ParagraphParameters.
9453
9454 2002-03-06  Juergen Vigna  <jug@sad.it>
9455
9456         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9457         otherwise it would not be a valid lenght. Fixed a special case in
9458         the minipage compatibility read where we end the document with a
9459         minipage.
9460
9461         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9462         was set as it could be 0 for InsetTexts first entry.
9463
9464 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9465
9466         * paragraph.C (writeFile): if layout is empty write out
9467         defaultLayoutName().
9468
9469         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9470         file without named layout we set layout to defaultLayoutName().
9471
9472 2002-03-06  Juergen Vigna  <jug@sad.it>
9473
9474         * CutAndPaste.C (copySelection): set layout for new paragraph.
9475
9476         * text.C (prepareToPrint): leave ERT inset left aligned
9477         (leftMargin): don't indent paragraphs inside ERT insets
9478
9479 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9480
9481         * paragraph.C (breakParagraph): dont call clear do the work manually
9482
9483         * paragraph.[Ch] (clear): remove function
9484
9485 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9486
9487         * paragraph.C (Paragraph): dont call clear, the work has already
9488         been done.
9489
9490         * lyxtextclass.C (operator): assert if n is empty
9491
9492         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9493         work manually instead.
9494
9495 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * BufferView_pimpl.C: protect selectionLost against text == 0
9498
9499 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * text.C (breakParagraph): fix a setting layout to '0' problem.
9502
9503 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9504
9505         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9506         final location of file, for the included files, and graphics.
9507
9508 2002-03-05  Juergen Vigna  <jug@sad.it>
9509
9510         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9511
9512 2002-03-04  Juergen Vigna  <jug@sad.it>
9513
9514         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9515
9516         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9517         last column of multicolumn cells.
9518         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9519
9520 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9521
9522         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9523         file if it doesn't go to a temporary file.
9524
9525         * buffer.C (sgmlOpenTag):
9526         (sgmlCloseTag):  remove extra newline insertion.
9527
9528 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9529
9530         * text.C (getRowNearY): comment out debug msg
9531
9532 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9533
9534         * text2.C: first -> first_y
9535
9536         * text.C (getRowNearY): add some attemts at a possible
9537         optimization, not working.
9538
9539         * tabular.[Ch]: add BufferParams to several function so that newly
9540         created paragraph can be initialized to he default layotu for the
9541         buffers textclass.
9542
9543         * tabular-old.C (ReadOld): add buf->params to call of Init
9544
9545         * screen.C: rename text->first to text->first_y
9546
9547         * paragraph.C (breakParagraph): always set layout in the broken
9548         paragraph
9549
9550         * lyxtextclass.C (Read): remove lowercase
9551         (hasLayout): ditto
9552         (operator): ditto
9553         (delete_layout): ditto
9554
9555         * lyxtext.h: rename first -> first_y
9556
9557         * lyxlayout.C (Read): remove lowercase
9558         (name): ditto
9559         (setName): ditto
9560         (obsoleted_by): ditto
9561
9562         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9563
9564         * buffer.C (insertErtContents): add params are to InsetERT
9565         (parseSingleLyXformat2Token): add code to check if a paragraphs
9566         layout really exist.
9567         (parseSingleLyXformat2Token): add params to several inset
9568         constructors
9569         (asciiParagraph): remove lowercase, do the layout comparisons with
9570         no_case
9571
9572         * BufferView_pimpl.C (cursorNext): first -> first_y
9573         (resizeCurrentBuffer): first -> first_y
9574         (updateScrollbar): first -> first_y
9575         (scrollCB): first -> first_y
9576         (workAreaMotionNotify): first -> first_y
9577         (workAreaButtonPress): first -> first_y
9578         (checkInsetHit): first -> first_y
9579         (cursorPrevious): first -> first_y
9580         (cursorNext): first -> first_y
9581         (Dispatch): add buffer_->params to severl inset contructors
9582
9583 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9584
9585         * lyxlayout.C (Read): remove some debug info that I forgot.
9586
9587         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9588         clean up the code slightly.
9589         (makeLinuxDocFile): ditto
9590         (makeDocBookFile): ditto
9591
9592         * text2.C: layout as string
9593
9594         * text.C: layout as string
9595
9596         * paragraph_pimpl.C: layout as string
9597
9598         * paragraph.[Ch]: layout as string
9599
9600         * lyxtextclasslist.[Ch]: layout as string
9601
9602         * lyxtextclass.[Ch]: layout as string
9603
9604         * lyxtext.h: layout as string
9605
9606         * lyxlayout.[Ch]: layout as string
9607
9608         * lyx_cb.C: layout as string
9609
9610         * bufferview_funcs.C: layout as string
9611
9612         * bufferparams.C: layout as string
9613
9614         * buffer.C: layout as string
9615
9616         * LyXView.[Ch]: layout as string
9617
9618         * LaTeXFeatures.[Ch]: layout as string
9619
9620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9621
9622         * BufferView_pimpl.C: change current_layout to string, remove
9623         lyx::layout_type.
9624         (Dispatch):
9625         (smartQuote):
9626         (insertInset):
9627         (workAreaButtonRelease): layout as string
9628
9629         * BufferView2.C (unlockInset): adjust
9630
9631         * vspace.C (asLatexCommand): use an explict temp variable.
9632
9633 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * Makefile.am: use FRONTEND_*
9636
9637 2002-03-01  Juergen Vigna  <jug@sad.it>
9638
9639         * tabular.C (SetWidthOfMulticolCell): changed to something better
9640         I hope but still work in progress.
9641         (recalculateMulticolumnsOfColumn): renamed function from
9642         recalculateMulticolCells as it is more appropriate now.
9643         (SetWidthOfCell): calculate multicols better.
9644
9645 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9648
9649         * lyxfunc.C (processKeySym): print sequence also if it is
9650         `deleted' (complete)
9651
9652         * kbsequence.C (print): print sequence even if it is deleted
9653         (complete would be a better word, actually).
9654
9655         * lyxfunc.C (dispatch): print complete options after a prefix key
9656
9657         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9658
9659 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9660
9661         * text2.C (setCharFont): eliminate setCharFont code duplication.
9662
9663 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9666         LFUN_TABULAR_FEATURE (bug #177)
9667
9668 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9669
9670         * Makefile.am: remove figure.h
9671
9672 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9673
9674         * Bufferview_pimpl.C:
9675         * CutAndPasteC:
9676         * LaTeX.C:
9677         * LyXSendto.C:
9678         * buffer.C:
9679         * bufferlist.C:
9680         * converter.C:
9681         * language.C:
9682         * lyxfunc.C:
9683         * lyxvc.C:
9684         * paragraph.C:
9685         * text.C:
9686         * text2.C: remove #include "lyx_gui_misc.h".
9687
9688         * LaTeX.C: added #include <cstdio>
9689
9690 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9693         that the paragraph following this one can have.
9694
9695         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9696
9697         * vspace.C (asLatexCommand): fix bogus gcc warning
9698
9699         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9700
9701 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9702
9703         * text2.C (setLayout): get rid of redundant code
9704
9705 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9706
9707         * text2.C (incDepth): make sure depth cannot be increased beyond
9708         reasonable values.
9709
9710 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9711
9712         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9713         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9714
9715         * PainterBase.h (image):
9716         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9717         a LyXImage const *.
9718
9719 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * BufferView.C:
9722         * BufferView.h:
9723         * BufferView_pimpl.C:
9724         * BufferView_pimpl.h:
9725         * LaTeXFeatures.C:
9726         * LyXAction.C:
9727         * LyXView.C:
9728         * Makefile.am:
9729         * UpdateList.h:
9730         * UpdateList.C:
9731         * buffer.C:
9732         * figure.h:
9733         * figureForm.C:
9734         * figureForm.h:
9735         * figure_form.C:
9736         * figure_form.h:
9737         * lyx_cb.C:
9738         * lyx_gui.C:
9739         * lyx_gui_misc.C:
9740         * lyxfunc.C:
9741         * sp_base.h:
9742         * sp_ispell.h:
9743         * sp_pspell.h:
9744         * sp_spell.C: remove fig inset, and the crap house of
9745           cards that follows it
9746
9747 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * Makefile.am:
9750         * lyxserver.C:
9751         * os2_defines.h:
9752         * os2_errortable.h:
9753         * nt_defines.h: move .h into support/
9754
9755         * vms_defines.h: remove
9756
9757         * WorkArea.C: add space in debug output
9758
9759         * text2.C:
9760         * paragraph.C:
9761         * buffer.C: add WITH_WARNINGS
9762
9763         * vc-backend.h:
9764         * vc-backend.C:
9765         * bufferlist.C: s/retrive/retrieve/, add docs
9766
9767         * vspace.h:
9768         * vspace.C:
9769         * kbmap.h:
9770         * lyxlength.h:
9771         * lyxgluelength.h:
9772         * length_common.h:
9773         * chset.h:
9774         * chset.C: add docs
9775
9776         * lyxgui.C: add ID to X error handler
9777
9778         * lyxtestclass.c: fix typo
9779
9780 2002-02-26  Juergen Vigna  <jug@sad.it>
9781
9782         * tabular_funcs.C (write_attribute): changed so that some default
9783         attributes are not written at all.
9784         (getTokenValue): set default values before trying to read the
9785         value so we have the return value always set as default if we don't
9786         find the token we search for.
9787
9788         * tabular.C (Write): write bools as bools not as strings!
9789
9790 2002-02-22  Juergen Vigna  <jug@sad.it>
9791
9792         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9793         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9794
9795         * text.C (leftMargin): don't add an indent for paragraphs inside
9796         tabular cells (fix #208).
9797
9798 2002-02-21  José Matos  <jamatos@fep.up.pt>
9799
9800         * tabular.C (docBook): fixed support for long tables.
9801
9802 2002-02-20  Juergen Vigna  <jug@sad.it>
9803
9804         * text2.C (getFont): get the drawing font of the Inset if this
9805         paragraph is inside an inset (only important for InsetERT for now).
9806
9807         * buffer.C (insertErtContents): use new lanugage params in ERT
9808         constructor.
9809
9810         * CutAndPaste.C: commenting out seemingly uneeded code.
9811
9812 2002-02-19  Allan Rae  <rae@lyx.org>
9813
9814         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9815         Iterators might be simple to use but they also get invalidated.
9816         (removeAutoInsets): renamed saved cursor tracking variables and added
9817         some comments to clarify what everything does.
9818
9819 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9820
9821         * Chktex.C:
9822         * LaTeX.C:
9823         * LyXSendto.C:
9824         * converter.C:
9825         * lyx_cb.C:
9826         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9827         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9828
9829         * lyxfunc.C:
9830         * vc-backend.h: remove #include "support/syscall.h"
9831
9832         * LaTeX.C:
9833         * LyXSendto.C:
9834         * converter.C: rearrange #includes in Lars' approved fashion.
9835
9836         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9837         forward declare class Timeout in the header file.
9838
9839         * XFormsView.C: changes due to the above.
9840
9841         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9842         similar to LyXView.
9843
9844         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9845         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9846
9847 2002-02-18  José Matos  <jamatos@fep.up.pt>
9848
9849         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9850         insets contents.
9851
9852 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9853
9854         * a lot of small ws changes
9855         * add a lot of using std::XXX
9856         * use std construcs some places where approp.
9857         * use some exisint stuff from lyxfunctional where approp.
9858         * Make file changes to use partial linking (lets test this now...)
9859
9860 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9861
9862         * Chktex.C:
9863         * buffer.C:
9864         remove #include "support/syscontr.h" as it's redundant. Always has been.
9865
9866         * Chktex.C:
9867         * LaTeX.C:
9868         * LyXSendto.C:
9869         * converter.C:
9870         * lyx_cb.C:
9871         * vc-backend.C:
9872         change Systemcalls::System to Systemcalls::Wait and
9873         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9874         No change of functionality, just reflects the stripped down Systemcalls
9875         class.
9876
9877 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9878
9879         * debug.[Ch]: add a GRAPHICS type to the enum.
9880
9881 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9882
9883         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9884
9885         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9886         there is an inset.
9887
9888 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9891         match the changes below.
9892
9893         * text2.C (toggleInset): if there is not editable inset at cursor
9894         position, try to see if cursor is _inside_ a collapsable inset
9895         and close it.
9896
9897 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9898
9899         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9900         document menu has a nice checkbox
9901
9902 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * lyxlength.C (asLatexString): change PW to output as percent of
9905         \textwidth.
9906
9907         * lengthcommon.C: change '%' to 't%'
9908
9909         * lyxfunc.C (dispatch): a few comments from Martin
9910
9911 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * WorkArea.h:
9914         * WorkArea.C:
9915         * BufferView_pimpl.h:
9916         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9917           the X selection.
9918
9919 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * vspace.C (inPixels): fix compiler warning
9922
9923 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9924
9925         * lyxfunc.C (getStatus): fix status message for disabled commands.
9926
9927 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * BufferView_pimpl.C: fix crash on close buffer
9930         during selection (#227)
9931
9932 2002-01-27  Herbert Voss  <voss@lyx.org>
9933
9934         * buffer.C: link old Figure to new graphic inset
9935
9936 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9937
9938         * FontLoader.C (getFontinfo): Change the latex font names in order
9939         to match the names of type1inst.
9940
9941 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9944
9945         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9946         (extchanged): ditto
9947         (ext_exist): ditto
9948         (remove_files_with_extension): ditto
9949         (remove_file): ditto
9950         (write): ditto
9951
9952         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9953         document is smaller than the work area height. Do not initialize
9954         static variables to 0.
9955
9956 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9959
9960         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9961         LFUN_LAYOUT_PARAGRAPHS.
9962
9963         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9964         tabular. It is possible to provide a possible cell, which will
9965         typically be the actcell from the corresponding insettabular
9966
9967         * lyxfunc.C (getStatus): small cleanup; disable
9968         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9969         true
9970
9971 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9974
9975         * paragraph.C (startTeXParParams):
9976         (endTeXParParams): new methods. The LaTeX code to
9977         start/end paragraph formatting
9978         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9979         empty (fixes bug #200)
9980
9981         * vspace.C (inPixels): adapt to the change below
9982         (inPixels): [later] more cleanups (remove unused variables)
9983
9984         * lyxlength.C (inPixels): change to use a width and a height as
9985         parameter.
9986
9987 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9990         Replaced with \paperwidth
9991
9992         * DepTable.C (insert): add std:: qualifier
9993
9994 2002-01-18  Allan Rae  <rae@lyx.org>
9995
9996         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9997         updated also?
9998
9999         * text.C (drawInset): Turned out I didn't know enough about how
10000         rebreaking worked.  This fixes most of the redraw problems.  I see
10001         an occasional cursor trail when a line is broken now and the cursor
10002         placement can seem out by a few pixels also after a rebreak.
10003
10004 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * buffer.C (parseSingleLyXformat2Token): update because minipage
10007         width is now a LyXLength
10008
10009         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10010
10011         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10012         math insets
10013
10014 2002-01-17  Juergen Vigna  <jug@sad.it>
10015
10016         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10017
10018         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10019         is set correctly and the inset is updated correctly.
10020
10021 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10024         the beginning of the loop.
10025
10026 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * lyxrc.C: improve help for use_scalable_fonts
10029
10030 2002-01-17  Allan Rae  <rae@lyx.org>
10031
10032         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10033
10034 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10035
10036         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10037         make sure to set their inset_owner to the right value (bug #171)
10038
10039 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10040
10041         * DepTable.h
10042         * DepTable.C: Implement mtime checking to reduce time spent doing
10043         CRCs.
10044
10045 2002-01-16  Juergen Vigna  <jug@sad.it>
10046
10047         * tabular.C (GetAdditionalHeight): one of error fixed.
10048
10049         * lyxrc.C (output): small fix in writing use_pspell.
10050
10051 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * sp_base.h: #include LString.h
10054
10055 2002-01-16  Allan Rae  <rae@lyx.org>
10056
10057         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10058         Can someone check this please?
10059
10060         * text.C (drawInset): It was possible that p.row would be removed by
10061         breakAgainOneRow upsetting a few other settings.  There may be another
10062         small tweak possible by setting need_break_row = 0 when p.row has been
10063         removed but I don't know enough about the logic here.
10064
10065 2002-01-15  Allan Rae  <rae@lyx.org>
10066
10067         * text.C (insertChar): removed conditional truism.
10068
10069         * BufferView2.C (removeAutoInsets): More tweaks.
10070         cur_par_prev could be a stray pointer.  Check for trailing empty line
10071         in case last line was cur_par and only had an error inset on it.
10072
10073 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10076         absolute
10077
10078         * vc-backend.C (most methods):
10079         * exporter.C (Export):
10080         * converter.C (convert):
10081         (runLaTeX):
10082         * LyXSendto.C (SendtoApplyCB):
10083         * lyxfunc.C (dispatch):
10084         (menuNew):
10085         (open):
10086         (doImport):
10087         * lyx_cb.C (AutoSave):
10088         (InsertAsciiFile):
10089         * BufferView_pimpl.C (MenuInsertLyXFile):
10090         * buffer.C (runChktex): use Buffer::filePath().
10091
10092         * buffer.h: rename filename to filename_; rename filepath to
10093         filepath_ and make it private
10094         (filePath): new method
10095
10096         * buffer.C (writeFile): use fileName()
10097         (getLatexName):
10098
10099         * lyx_main.C (init): fix starting  of LyX when the binary is a
10100         link from so,ewhere else.
10101
10102         * minibuffer.C: include <cctype> for isprint
10103
10104 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10105
10106         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10107         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10108         name clash with InsetCollapsable's width function.
10109
10110 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10111
10112         * lastfiles.C: include <iterator>
10113
10114 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10115
10116         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10117         std::count.
10118
10119         * buffer.C (makeLaTeXFile): ditto.
10120         Also make loop operation more transparent.
10121
10122 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10123
10124         * ToolbarDefaults.C: remove trailing comma closing namespace.
10125
10126         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10127
10128         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10129         as in WorkArea.
10130
10131         * trans.C (Load): comment out unused variable, allowed.
10132
10133 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10134
10135         * minibuffer.[Ch] (append_char): new method to recieve input from the
10136         drop-down completion browser. If a key was pressed, then recieve this
10137         char and append it to the existing string.
10138         (peek_event): modify the positioning data passed to the completion
10139         browser so that it can be placed above the minibuffer rather than below.
10140 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10141
10142         * LyXAction.C (init): alloe error-next for readonly documents.
10143
10144         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10145         count.
10146
10147 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * bufferlist.C (readFile): create the buffer _after_ checking that
10150         the file exists.
10151
10152         * lyxfunc.C (verboseDispatch): fix handling of arguments
10153
10154         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10155
10156         * lyxrc.C: use string::erase() instead of initializing to "".
10157
10158
10159 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * BufferView_pimpl.h:
10162         * BufferView_pimpl.C:
10163         * WorkArea.h:
10164         * WorkArea.C:
10165         * text2.C: tell X when we have made a selection for copying
10166
10167 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * BufferView_pimpl.C (MenuInsertLyXFile):
10170         * lyxfunc.C (menuNew):
10171         (open):
10172         (doImport): add shortcuts to directory buttons
10173
10174         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10175         open a float)
10176
10177         * lyxfunc.C (setStatusMessage):
10178         (getStatusMessage): new methods
10179         (getStatus):use setStatusMessage instead of setErrorMessage
10180         (dispatch): when function is disabled, set error message here
10181         [instead of in getStatus previously]
10182
10183         * BufferView_pimpl.C (workAreaButtonRelease): update
10184         toolbar/menubar here too.
10185
10186 2002-01-13  Allan Rae  <rae@lyx.org>
10187
10188         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10189         Now seems indestructible.  Remaining task is to audit all other
10190         code affected by deleteEmptyParagraphMechanism.  One small quirk
10191         left is that an empty document with an error in the preamble can
10192         be made to report an error but no error box appears.  I don't know
10193         where it goes.
10194         (removeAutoInsets): Improved comments.
10195
10196 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * Thesaurus.h:
10199         * Thesaurus.C: update for Aiksaurus 0.14
10200
10201 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10202
10203         * text2.C (firstParagraph): removed member function, all uses
10204         replaces with ownerParagraph
10205         (redoParagraphs): here
10206         (updateInset): here
10207         (toggleAppendix): here
10208         * BufferView2.C (insertErrors): here
10209         (setCursorFromRow): here
10210
10211 2002-01-13  Allan Rae  <rae@lyx.org>
10212
10213         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10214         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10215         There is still a way to segfault this although you may have to do this
10216         multiple times: Have an InsetERT with an unknown command in it.
10217         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10218         <down-arrow>, <Enter> again, View->DVI, BANG!
10219
10220         * text2.C (setCursor):
10221         (deleteEmptyParagraphMechanism):
10222         * lyxtext.h (setCursor):
10223         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10224         Making use of the return value may help fix other bugs.
10225
10226 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10229
10230         * LyXView.C (updateMenubar): call MenuBar::update here
10231         (updateToolbar): but not here
10232         (showState): do not update toolbar/menubar
10233
10234         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10235         should need to care about that.
10236
10237         * lyxfunc.C (verboseDispatch): simplify a bit
10238         (getStatus): have a version which takes a pseudoaction, and
10239         another which requires a (kb_action,string).
10240
10241         * LyXAction.C (retrieveActionArg): make it work also when action
10242         is not a pseudo-action.
10243         (getActionName): simplify a bit
10244         (helpText):
10245
10246 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * lyxfunc.C (verboseDispatch): new families of methods with
10249         several ways to specify a command and a bool to indicate whether
10250         the command name and shortcut should be displayed in minibuffer
10251         (eventually, we could extend that to a finer bitmask like
10252         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10253         (dispatch): the pristine dispatch command which just, well,
10254         dispatchs! Note it still sets its result to minibuffer; I'm not
10255         sure we want that.
10256
10257         * lyxfunc.h: remove setHintMessage
10258
10259         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10260
10261 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * BufferView_pimpl.C (specialChar): delete new inset if we have
10264         not been able to insert it.
10265
10266         * kbmap.C: revert to using int instead of kb_action, since all we
10267         are dealing with is pseudo-actions.
10268
10269         * LyXAction.C (searchActionArg): change to return int instead of
10270         kb_action, since the result is a pseudoaction.
10271
10272 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * buffer.C (insertErtContents): Fix (partially) the font bug.
10275
10276 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10277
10278         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10279         as the other one is broken on my machine!
10280
10281 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10282
10283         * commandtags.h:
10284         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10285
10286 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10287
10288         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10289         reflect their actual use. Provide compatibility code for older lyxrc
10290         files.
10291
10292         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10293         FL_NORMAL_STYLE.
10294         change names of popup font variables in line with the changes to lyxrc.C
10295
10296 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * buffer.C (asciiParagraph): avoid outputing a word twice after
10299         an inset.
10300
10301         * lyxrc.C (getDescription): document that document_path and
10302         template_path can be empty.
10303
10304 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10305
10306         * LaTeXFeatures.C (getMacros):
10307         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10308
10309         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10310
10311         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10312         getPackages.
10313         (getPackages): rename feature "floats" to "float". Use an array to
10314         iterate over 'simple' features (i.e. just a \usepackage). Add
10315         handling of "amsmath" (renamed from "amsstyle").
10316
10317 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10318
10319         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10320         features list.
10321
10322 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10325         FuncStaus::FuncStatus & FuncStaus::some_method().
10326
10327 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10328
10329         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10330         of the func_satus stuff. Edited and massaged in various ways by
10331         JMarc.
10332
10333         * lyxfunc.C (getStatus): use FuncStatus
10334
10335 2002-01-08  Juergen Vigna  <jug@sad.it>
10336
10337         * text.C (nextBreakPoint): use function Inset::isChar().
10338
10339         * paragraph.C (TeXOnePar): use function
10340         Inset::forceDefaultParagraphs.
10341
10342         * buffer.C (latexParagraphs): use function
10343         Inset::forceDefaultParagraphs.
10344
10345 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10346
10347         * lyx_gui.C (init): set the style of the menu popups to
10348         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10349
10350 2002-01-07  Juergen Vigna  <jug@sad.it>
10351
10352         * text.C (setHeightOfRow): small fix
10353         (prepareToPrint): don't look at alignment if we don't have the place
10354         for doing it.
10355
10356 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10357
10358         * box.C: New file. Move the Box methods and functions out of box.h,
10359         following Lars' suggestion.
10360
10361 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10362
10363         * box.h: #include "support/LOstream.h", needed for inlined function.
10364
10365         * lyxtextclass.C:
10366         * lyxtextclasslist.C: added some using std declarations.
10367
10368 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * box.h: make signed dimensions to allow insets wider than
10371           the screen (bug #162)
10372
10373         * BufferView_pimpl.C: add some insetHit debug
10374
10375 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * vc-backend.C: add FIXME
10378
10379 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * lyxfunc.C (getStatus): enable code for showing math font status
10382         in toolbar/menu.
10383
10384 2002-01-07  Juergen Vigna  <jug@sad.it>
10385
10386         * text.C (nextBreakPoint): removed debug output not needed anymore.
10387
10388 2002-01-06  Juergen Vigna  <jug@sad.it>
10389
10390         * text.C (nextBreakPoint): fixed up this function we had this bug
10391         since ever but now hopefully we break row better.
10392         (insertChar): we have to check if an inset is the next char as it
10393         could now happen that a large inset is causing a break.
10394
10395 2002-01-05  Juergen Vigna  <jug@sad.it>
10396
10397         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10398         if it doesn't like to be drawed.
10399
10400 2002-01-04  Juergen Vigna  <jug@sad.it>
10401
10402         * BufferView2.C (lockInset): forgot to set a cursor.
10403
10404         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10405
10406 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10407
10408         * FormMathsPanel.C:
10409         * FormMathsPanel.h
10410         * MathsSymbols.C:
10411         * form_maths_panel.C:
10412         * form_maths_panel.h:
10413         * form_maths_panel.fd: implemented sub- and super- buttons in math
10414         panel.
10415
10416         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10417         (or ^ space) to be used as in TeX (req'd by André).
10418
10419         * lyxfunc.C: Allow ^ and _ again to be used both as
10420         super/subscript (mathed) and as themselves (in text).
10421
10422 2002-01-03  Allan Rae  <rae@lyx.org>
10423
10424         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10425         "LyX" or the filename of the current buffer if it has one.  This is a
10426         modified form of John Levon's patch.
10427
10428         * XFormsView.C (setWindowTitle): also set icon title.
10429
10430         * LyXView.h (setWindowTitle): signature changed.
10431         * XFormsView.h (setWindowTitle): ditto.
10432
10433 2002-01-02  Juergen Vigna  <jug@sad.it>
10434
10435         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10436
10437 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10438
10439         * screen.C (topCursorVisible): introduce a temp var for
10440         text->cursor.row(), handle the case where this row is null. (kindo
10441         hachish)
10442
10443         * text2.C (setCursor): add a couple of asserts.
10444
10445         * paragraph.h (inset_iterator): add -> operator
10446
10447         * paragraph.[Ch] (autoDeleteInsets): remove member function
10448
10449         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10450         cursor pos correctly and handle inset deletion by itself.
10451         (insertErrors): move iterator declaration out of for expression
10452
10453         * lyxtextclass.C: add <algorithm>
10454
10455         * Makefile.am: added the new files to sources, removed layout.C
10456
10457         * layout.C: removed file
10458
10459         * layout.h: remove LYX_DUMMY_LAYOUT
10460
10461         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10462         layout.
10463
10464         * lyxlayout.[Ch]:
10465         * lyxtextclass.[Ch]:
10466         * lyxtextclasslist.[Ch]: new files
10467
10468         * include order changes to a lot of files, also changes because of
10469         the six new files.
10470
10471 2001-12-27  Juergen Vigna  <jug@sad.it>
10472
10473         * buffer.C (asciiParagraph): more fixes.
10474
10475         * tabular.C (ascii): make ascii export support export of only the
10476         data separated by a column-delimiter.
10477         (ascii): better support for ascii export.
10478
10479         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10480
10481 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * tabular_funcs.C: use a "using std::getline" instead of the
10484         previous fix from Angus (necessary for cxx + lyxstring)
10485
10486 2001-12-24  Juergen Vigna  <jug@sad.it>
10487
10488         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10489
10490         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10491         problems. First check a minipage also if we have some ert-contents
10492         (not only on par->size(), second set the right depth of the paragraph
10493         on the relink to the root-paragraph-list!
10494
10495         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10496         which then did not anymore update the main paragraphs on undo/redo!
10497
10498 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10501         code. Support all font-changing funcs (even those which are not in
10502         menu currently). Support for reporting font settings in
10503         mathed (disabled until Andre provides a function on mathed's side).
10504
10505         * func_status.h (toggle): small helper function to set toggle
10506         state on a flag.
10507
10508 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10509
10510         * tabular_funcs.C: getline -> std::getline
10511
10512 2001-12-21  Juergen Vigna  <jug@sad.it>
10513
10514         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10515         accessed and could be 0 (I couldn't generate this but it seems
10516         Michael could!).
10517
10518 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10519
10520         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10521         * tabular_funcs.h: here and include iosfwd
10522
10523 2001-12-20  Juergen Vigna  <jug@sad.it>
10524
10525         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10526         inside inset but undo_par was.
10527
10528 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10529
10530         * Thesaurus.C: always include <config.h> in sources.
10531
10532         * Painter.h:
10533         * lyxlookup.h:
10534         * box.h: do not include <config.h> in header files
10535
10536         * text.C (paintLastRow): remove unused variable
10537
10538         * text.C (transformChar):
10539         (insertChar):
10540         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10541
10542         * Painter.C (text):
10543         * font.C (width): rewrite to use uppercase() instead of
10544         islower/toupper.
10545
10546         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10547
10548 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * lyxfind.C: clean up of find failure position change
10551
10552 2001-12-20  Juergen Vigna  <jug@sad.it>
10553
10554         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10555
10556         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10557         (TeXRow): added to LaTeX a single tabular row.
10558         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10559         (Latex): simplified and finally good LT-h/f support.
10560         (various_functions): just small adaptions for LT-h/f support.
10561
10562         * tabular_funcs.[hC]: added and moved here all not classfunctions
10563         of LyXTabular.
10564
10565 2001-12-19  Juergen Vigna  <jug@sad.it>
10566
10567         * tabular.[Ch]: better support for longtabular options (not finished
10568         yet!)
10569
10570 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * text.C (paintLastRow): use the label font instead of the font of
10573         the last character to compute the size of *_BOX. This makes more
10574         sense and avoids a crash with empty paragraphs.
10575         Use Painter::rectangle to draw EMPTY_BOX.
10576
10577 2001-12-19  Juergen Vigna  <jug@sad.it>
10578
10579         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10580         the paragraphs if the replaced paragraph is not the first one!
10581         Tried to delete not used paragraphs but does not work yet so for
10582         now it's inside #ifdef's and by default off!
10583
10584 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10585
10586         * MenuBackend.C: include "lyx_main.h" instead of declaring
10587         lastfiles (actually was declared as LastFiles* instead of a
10588         scoped_ptr).
10589
10590 2001-12-17  Juergen Vigna  <jug@sad.it>
10591
10592         * tabular.C (AppendColumn): applied John's fix
10593
10594 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * BufferView.h:
10597         * BufferView.C:
10598         * BufferView_pimpl.h:
10599         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10600
10601         * Makefile.am:
10602         * box.h: new start of class for above
10603
10604         * lyxfunc.C: ignore space-only minibuffer dispatches.
10605           Show the command name when it doesn't exist
10606
10607         * minibuffer.C: don't add empty lines to the history
10608
10609         * minibuffer.C: add a space on dropdown completion
10610
10611 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * text.C: fix line above/below drawing in insets
10614
10615 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * lyxlength.C (LyXLength): Initialize private variables.
10618
10619 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10622         when inserting error insets.
10623
10624 2001-12-13  Juergen Vigna  <jug@sad.it>
10625
10626         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10627         actually sometimes the before-paragraph.
10628         (setUndo): don't clear the redostack if we're not actually undoing!
10629
10630 2001-12-06  Juergen Vigna  <jug@sad.it>
10631
10632         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10633         and fixed redoing of main paragraph, so we can use it now ;)
10634
10635         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10636
10637 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10638
10639         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10640         Juergen's request
10641
10642 2001-12-13  André Pönitz <poenitz@gmx.net>
10643
10644         * undostack.[Ch]:
10645         * undo_func.C: minor cleanup
10646
10647 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10650         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10651         font in urw-fonts package which is marked as -urw-fontspecific and
10652         does not work (incidentally, changing the encoding in the
10653         fonts.dir of this package to -adobe-fontspecific fixes the
10654         problem).
10655
10656         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10657         is a crash when undoing first paragraph (Juergen, please take a
10658         look). THis does not mean the undo fix is wrong, just that it
10659         uncovers problems.
10660
10661         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10662         the (Paragraph*) version when needed instead of duplicating the
10663         code.
10664
10665         * text.C (workWidth): use Inset::parOwner to find out where the
10666         inset has been inserted. This is a huge performance gain for large
10667         documents with lots of insets. If Inset::parOwner is not set, fall
10668         back on the brute force method
10669
10670         * paragraph_pimpl.C (insertInset):
10671         * paragraph.C (Paragraph):
10672         (cutIntoMinibuffer): set parOwner of insets when
10673         inserting/removing them
10674
10675         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10676
10677 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10678
10679         * commandtags.h:
10680         * LyXAction.C:
10681         * lyx_main.C:
10682         * lyxfunc.C:
10683         * mathed/formulabase.C:
10684         * mathed/math_cursor.[Ch]:
10685         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10686
10687
10688 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * lyxlength.[Ch] (operator!=): new function
10691
10692 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * text.C (workWidth): use Inset::parOwner to find out where the
10695         inset has been inserted. This is a huge performance gain for large
10696         documents with lots of insets. If Inset::parOwner is not set, fall
10697         back on the brute force method
10698
10699         * paragraph_pimpl.C (insertInset):
10700         * paragraph.C (Paragraph):
10701         (cutIntoMinibuffer): set parOwner of insets when
10702         inserting/removing them
10703
10704         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10705
10706 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10707
10708         * tabular-old.C (getTokenValue):
10709         * tabular.C (getTokenValue):
10710         (write_attribute): new versions for LyXLength
10711         (everywhere): adjust the use of widths
10712
10713         * tabular.h: change the type of widths from string to LyXLength
10714
10715 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10716
10717         * paragraph.C: fixed missing line number count when exporting
10718         Environments to LaTeX file
10719
10720         * buffer.C: added informational message for checking line numbers.
10721
10722 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10725         paragraph, do the 'double space' part, but not the 'empty
10726         paragraph' one.
10727
10728         * text.C (workWidth): small optimization
10729         (getLengthMarkerHeight): use minimal size for negative lengths.
10730
10731 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10732
10733         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10734
10735         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10736
10737 2001-12-11  André Pönitz <poenitz@gmx.net>
10738
10739         * FontLoader.C:
10740         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10741
10742 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * text2.C: keep selection on a setFont()
10745
10746 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * lyx_cb.C: another bv->text misuse, from insert label
10749
10750 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * kbsequence.h:
10753         * kbsequence.C: re-instate nmodifier mask
10754
10755 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10756
10757         * lyx_main.h: make lyxGUI private.
10758
10759 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * lyxfind.C: place the cursor correctly on failed search
10762
10763 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * text.C (getLengthMarkerHeight): for small heights, the arrows
10766         are not always on top/bottom of the text
10767         (drawLengthMarker): smaller arrows; take the left margin in
10768         account; draw also vfills.
10769         (paintFirstRow):
10770         (paintLastRow): remove special code for vfill and standard spaces,
10771         since everything is handled in drawLengthMarker now.
10772
10773 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * buffer.C (insertErtContents): try to handle font and language
10776         interaction a bit better.g
10777
10778         * ColorHandler.C (updateColor): change the hash to cover the whole
10779         LColor enum, ws cleanup
10780         (getGCLinepars): ditto
10781         (getGCLinepars): only lookup in the linecache once.
10782
10783 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10784
10785         * iterators.C (operator++): Make the iterator more robust
10786
10787         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10788         (John's patch)
10789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10790
10791 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * lyxtext.h:
10794         * text.C: better added space drawing
10795
10796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * LyXView.C:
10799         * BufferView2.C: fix layout combo update on inset unlock
10800
10801 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * Makefile.am: don't compile unused files
10804
10805 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * lyxfunc.C:
10808         * commandtags.h:
10809         * LyXAction.C: remove old LFUN_LAYOUTNO
10810
10811 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * paragraph_pimpl.h:
10814         * paragraph_pimpl.C: isTextAt() doesn't need font param
10815
10816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * lyxlex.h:
10819         * lyxlex.C: little cleanup
10820
10821 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * BufferView_pimpl.C: fix insertAscii for insets
10824
10825 2001-12-05  Juergen Vigna  <jug@sad.it>
10826
10827         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10828         set the right font on the "multi" paragraph paste!
10829
10830 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10831
10832         * trans_decl.h:
10833         * trans_mgr.[Ch]:
10834         * trans.[Ch]:
10835         * lyxgluelength.C:
10836         * lyxlength.C: remove out-commented code.
10837
10838         * BufferView_pimpl:
10839         * CutAndPaste.C:
10840         * DepTable.C:
10841         * buffer.C:
10842         * chset.C:
10843         * lastfiles.C:
10844         * lyxlex.C:
10845         * lyxlex_pimpl.C:
10846         * lyxserver.C:
10847         * screen.C:
10848         * tabular-old.C:
10849         * tabular.C:
10850         * text.C:
10851         * trans_mgr.C:
10852         * vc-backend.C: change "while(" to "while ("
10853
10854         * lyxlength.[Ch]: add zero function to check if length is zero or
10855         not
10856         * lyxgluelength.C: use it
10857
10858 2001-12-05  Allan Rae  <rae@lyx.org>
10859
10860         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10861         Works for 2.95.3, from what I understand of Garst's reports this should
10862         work for other g++ versions.  We're screwed if the abs(int) definition
10863         changed between bugfix releases of gcc.
10864
10865 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * text.C: fix chapter label offset !
10868
10869 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxtext.h:
10872         * text.C: fix hfill at end of line, clean up
10873
10874 2001-12-04  Juergen Vigna  <jug@sad.it>
10875
10876         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10877         that we force an update of the inset and it's owners if neccessary.
10878
10879 2001-12-03  Juergen Vigna  <jug@sad.it>
10880
10881         * text.C (rowLast): simplified code
10882
10883 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lyxfunc.C: fix show options on timeout
10886
10887 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * screen.C (topCursorVisible): scroll half a page when the cursor
10890         reached top of bottom of screen
10891
10892 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * minibuffer.C: deactivate on loss of focus
10895
10896 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * vspace.[Ch] (operator!=): add operator.
10899
10900 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * BufferView_pimpl.C: refuse to open an inset when
10903         there's a selection.
10904
10905 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * BufferView_pimpl.C: allow to click on RHS of full row insets
10908
10909 2001-11-30  Juergen Vigna  <jug@sad.it>
10910
10911         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10912         insets for undo reasons.
10913
10914 2001-11-28  André Pönitz <poenitz@gmx.net>
10915
10916         * vspace.[Ch]: cosmetical changes
10917
10918 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * LyXAction.h:
10921         * LyXAction.C:
10922         * lyxfunc.h:
10923         * lyxfunc.C:
10924         * kbmap.h:
10925         * kbmap.C:
10926         * lyxrc.C:
10927         * kbsequence.h:
10928         * kbsequence.C: part re-write of old kb code
10929
10930         * Painter.C:
10931         * WorkArea.C: remove Lgb_bug_find_hack
10932
10933 2001-11-30  José Matos <jamatos@fep.up.pt>
10934
10935         * buffer.C (makeDocBookFile): add a comment to point a hack.
10936         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10937         Fixed a double write of labels.
10938
10939 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10940
10941         * LaTeX.C:
10942         * LaTeX.h Fixed bug in LaTeX class where it would not
10943         re-run latex if no depfiles were changed, but the .dvi was removed.
10944
10945 2001-11-28  André Pönitz <poenitz@gmx.net>
10946
10947         * all the files from the change on 2001/11/26:
10948         use lyx::layout_type instead of LyXTextClass::size_type
10949         use lyx::textclass_type instead of LyXTextClassList::size_type
10950
10951 2001-11-29  Juergen Vigna  <jug@sad.it>
10952
10953         * text.C: added support for paragraph::isFreeSpacing()
10954
10955         * buffer.C: same as above
10956
10957         * paragraph.h: inserted isFreeSpacing() function to enable
10958         FreeSpacing inside InsetERT.
10959
10960         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10961         of the paragraph's in the cut/copy buffer to 0!
10962
10963         * text2.C (removeRow): remove the assert as it can!
10964
10965         * lyxtext.h: added helper function firstRow returning firstrow and
10966         made firstrow private again.
10967
10968         * BufferView2.C (lockInset): don't relock if we're already locked!
10969
10970         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10971         the only paragraph.
10972         (removeRow): added Assert::(firstrow)
10973
10974         * debug.C: forgot to add INSETTEXT here.
10975
10976 2001-11-28  Juergen Vigna  <jug@sad.it>
10977
10978         * sp_spell.C (initialize): changed error text to more general
10979         spellchecker command use (not only ispell!)
10980
10981         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10982
10983         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10984
10985 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * vspace.C: initialise lyxgluelength on failure
10988
10989 2001-11-28  Allan Rae  <rae@lyx.org>
10990
10991         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10992         declaration & definition that looks like a function declaration.
10993
10994 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10995
10996         * BufferView2.C (copy):
10997         (copyEnvironment): do not clear the selection when doing a copy.
10998
10999         * text.C (paintFirstRow): compilation fix
11000
11001 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11002
11003         * tabular.C (Latex): correct line count when writing latex.
11004
11005 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * paragraph_pimpl.h:
11008         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11009           bug a bit
11010
11011 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * text.C:
11014         * LColor.h:
11015         * LColor.C: change vfillline->added_space
11016
11017         * text.C: add markers and text for added space
11018
11019         * vspace.C: fix comment
11020
11021 2001-11-28  André Pönitz <poenitz@gmx.net>
11022
11023         * paragraph.C: whitespace changes
11024         * all the other files from the change on 2001/11/26:
11025         change *::pos_type into lyx::pos_type
11026
11027 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11028
11029         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11030         language of the document when inserting error insets.
11031
11032 2001-11-26  André Pönitz <poenitz@gmx.net>
11033
11034         * BufferView_pimpl.[Ch]:
11035         *       CutAndPaste.C:
11036         * buffer.[Ch]:
11037         * lyxcursor.[Ch]:
11038         * lyxfind.C:
11039         * lyxfunc.C:
11040         * lyxrow.[Ch]:
11041         * paragraph.[Ch]:
11042         * paragraph_pimpl.[Ch]:
11043         * sp_spell.C:
11044         * text.C:
11045         * text2.C: reduce header dependencies, introduce type for positions
11046
11047 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * <various>: change to use Alert.h
11050
11051 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11054         when encountering an unknown token.
11055         (readLyXformat2): Show an error message if there were unknown tokens.
11056
11057 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * BufferView2.C:
11060         * BufferView_pimpl.C:
11061         * buffer.C:
11062         * paragraph.h:
11063         * text.C:
11064         * text2.C: use par->isInset()
11065
11066 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * paragraph_pimpl.h:
11069         * paragraph_pimpl.C: cleanup
11070
11071 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11072
11073         * text2.C (removeRow):
11074         * text.C (setHeightOfRow): remove useless (and costly) call to
11075         getRow.
11076
11077 2001-11-20  Allan Rae  <rae@lyx.org>
11078
11079         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11080         Now need Inset*::checkInsertChar() to return true for appropriate
11081         cases so that the characters in the minibuffer will actually be
11082         inserted.
11083
11084 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11085
11086         * text.C: change the order of the includes.
11087         (workWidth): initialize it at once.
11088         (workWidth): make maxw unsigned
11089         (setHeightOfRow): remove unused variable (inset)
11090         (selectSelectedWord): remove unused variable (inset)
11091         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11092
11093 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11096         server is not running.
11097         (openConnection):
11098         (closeConnection): add debug info when server is disabled.
11099
11100         * ColorHandler.C (getGCForeground): send debug message to GUI
11101         channel.
11102
11103         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11104
11105         * kbmap.C (bind): modify because return conventions of
11106         kb_sequence::parse have changed.
11107
11108         * kbsequence.C (parse): only ignore spaces and not any stupid
11109         control character. This avoids tests like s[i] <= ' ', which are
11110         guaranteed to fail with 8bit characters and signed chars.
11111         Change return code to string::npos when there have been no error
11112         (0 was a bad idea when error is at first character)
11113
11114 2001-11-14  José Matos  <jamatos@fep.up.pt>
11115
11116         * buffer.h:
11117         * buffer.C (simpleDocBookOnePar): removed unused argument.
11118
11119 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11120
11121         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11122         insets which are part of a word. Paragraph::isLetter takes care of
11123         that now. Use Paragraph::isInset to identify insets.
11124         (selectSelectedWord): do not test for hyphenation break.
11125
11126         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11127         that protected spaces are considered as spaces.
11128
11129         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11130         Inset::isLetter.
11131
11132 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxserver.h:
11135         * lyxserver.C: fix it. and small cleanup.
11136
11137 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * BufferView_pimpl.C: use inline helpers
11140
11141         * LaTeXFeatures.h:
11142         * LaTeXFeatures.C: fix typos
11143
11144         * Spacing.h:
11145         * Spacing.C: move spacing_string into class
11146
11147         * ToolbarDefaults.C: move stuff into namespace anon
11148
11149         * layout.h: update enum
11150
11151         * lyxfunc.C: use better debug
11152
11153         * minibuffer.h: fix typo
11154
11155         * debug.h:
11156         * debug.C:
11157         * WorkArea.C: add and use Debug::WORKAREA
11158
11159         * lyxtext.h:
11160         * text.C:
11161         * text2.C: code re-organisation, inline helpers
11162
11163 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11164
11165         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11166         std::vector.empty().
11167
11168 2001-11-09  Allan Rae  <rae@lyx.org>
11169
11170         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11171         '\n's after tables.  Tabular and ERT inset work now makes this no
11172         longer necessary.
11173
11174 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * minibuffer.h:
11177         * minibuffer.C: fix crash, improve drop-down completion
11178
11179 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * lyxserver.h:
11182         * lyxserver.C: invalidate fd's when doing endPipe()
11183
11184 2001-11-08  José Matos  <jamatos@fep.up.pt>
11185
11186         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11187         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11188
11189         * paragraph.h:
11190         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11191
11192 2001-11-07  José Matos  <jamatos@fep.up.pt>
11193
11194         * buffer.h:
11195         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11196         const qualifier.
11197
11198         * buffer.C (sgmlOpenTag):
11199         * buffer.C (sgmlCloseTag): removed debug info.
11200
11201         * buffer.h (sgmlOpenTag):
11202         * buffer.h (sgmlCloseTag): made public.
11203
11204 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * buffer.C (saveParamsAsDefaults):
11207         * lyx_cb.C (MenuLayoutSave): remove
11208
11209         * LyXAction.C (init):
11210         * commandtags.h:
11211         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11212
11213 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11214
11215         * buffer.C (setPaperStuff): removed from here...
11216
11217         * bufferparams.C (setPaperStuff): ... and moved there.
11218
11219 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * minibuffer.h:
11222         * minibuffer.C:
11223         * XFormsView.C: add support for drop-down completion
11224
11225 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11228         commands.
11229
11230 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11231
11232         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11233         disabled.
11234
11235 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11236
11237         * lyx_main.C: change ref to known bugs
11238
11239 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11240
11241         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11242         to work around older babel problems.
11243
11244 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11245
11246         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11247
11248 2001-10-24  Juergen Vigna  <jug@sad.it>
11249
11250         * tabular-old.C (ReadOld): below variable changes reflected.
11251
11252         * tabular.[Ch]: added ltType struct for longtable header/footer
11253         defines and changed all instances where they are used. Added
11254         future support for double top/bottom rows.
11255
11256 2001-10-24  José Matos  <jamatos@fep.up.pt>
11257
11258         * buffer.h (docbookHandleCaption):
11259         * buffer.C (docbookHandleCaption): removed unused function.
11260         (makeDocBookFile): moved docbook supported version to v4.1.
11261
11262 2001-10-24  José Matos  <jamatos@fep.up.pt>
11263
11264         * tabular.h:
11265         * tabular.C (docbookRow): new function to export docbook code of a row.
11266         (DocBook): now honors the longtable flags.
11267
11268 2001-10-23  José Matos  <jamatos@fep.up.pt>
11269
11270         * LaTeXFeatures.h:
11271         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11272         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11273
11274         * buffer.C (makeLinuxDocFile):
11275         (makeDocBookFile): reworked the preamble, more clean, and with
11276         support for lyx defined entities. Changed the document declaration
11277         to be more XML friendly.
11278
11279         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11280         if we need to output XML that should be done with a filter.
11281
11282 2001-10-22  Juergen Vigna  <jug@sad.it>
11283
11284         * sp_pspell.h (class PSpell): add alive function needed in the
11285         controller to see if the spellchecker could be started.
11286
11287 2001-10-22  Juergen Vigna  <jug@sad.it>
11288
11289         * buffer.C (insertStringAsLines): modify the font for inserting
11290         chars in certain conditions by calling checkInsertChar(font).
11291
11292 2001-10-19  Juergen Vigna  <jug@sad.it>
11293
11294         * text.C (workWidth): use getRow instead of wrong algorithm.
11295         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11296
11297 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * lyxserver.h:
11300         * lyxserver.C:
11301         * lyx_main.h:
11302         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11303
11304 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11305
11306         * text.C (workWidth): do not search for the exact row when
11307         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11308         optimization for big documents.
11309
11310 2001-10-18  Juergen Vigna  <jug@sad.it>
11311
11312         * text.C (workWidth): new function with added Inset * parameter.
11313
11314 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11317
11318         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11319         change return type of getColumnNearX.
11320
11321
11322         * text.C (changeRegionCase): use uppercase/lowercase instead of
11323         toupper/tolower.
11324         (leftMargin):
11325         (rightMargin): simplify code by factoring out the uses of
11326         textclasslist.
11327         (labelFill):
11328         (numberOfHfills):
11329         (setHeightOfRow):
11330         (appendParagraph): use Paragraph::size_type
11331
11332 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11333
11334         * vspace.C (asLatexString): add a missing break
11335
11336 2001-10-15  Herbert Voss  <voss@perce.de>
11337
11338         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11339
11340 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11341
11342         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11343         is not available.
11344
11345 2001-10-10  André Pönitz <poenitz@gmx.net>
11346
11347         * lyxfunc.C: removed greek_kb_flag.
11348
11349 2001-10-10  Herbert Voss  <voss@perce.de>
11350
11351         * lyx_main.C: delete global string help_lyxdir.
11352
11353 2001-10-09  Herbert Voss  <voss@perce.de>
11354
11355         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11356
11357         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11358
11359         * lyx_main.C: added global string help_lyxdir.
11360
11361         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11362
11363 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11364
11365         * lyxrc.C (set_font_norm_type): support iso8859-4
11366
11367 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11368
11369         * LaTeX.C (deplog): add another regex for MikTeX
11370
11371 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11372
11373         * lyxrc.C (set_font_norm_type): support iso8859-3
11374
11375 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11376
11377         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11378
11379         * LaTeXFeatures.C: remove special case of french and index
11380
11381         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11382         before \begin{document}). This solves several incompatibilities.
11383
11384 2001-10-03  Garst Reese  <reese@isn.net>
11385
11386         * lyx_cb.C: change CheckTex error msg.
11387
11388 2001-10-03  José Matos  <jamatos@fep.up.pt>
11389
11390         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11391
11392 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11393
11394         * .cvsignore: update
11395
11396         * lyx_main.C (commandLineVersionInfo): use new style version info.
11397
11398         * buffer.C (writeFile):
11399         (makeLaTeXFile):
11400         (makeLinuxDocFile):
11401         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11402
11403         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11404
11405         * version.h: update to use stuff in version.C
11406
11407         * version.C.in: new file. Contains version information determined
11408         at compile time. This is a merging of version.h and
11409         version_info.h.in.
11410
11411 2001-10-03  Juergen Vigna  <jug@sad.it>
11412
11413         * BufferView_pimpl.C (update): don't change "dirty" status in
11414         updateInset call.
11415
11416 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11417
11418         * WorkArea.C (c-tor): re-position version string slightly.
11419
11420 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11421
11422         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11423         revert to previous code.
11424
11425         WorkArea.[Ch]: (show, destroySplash): methods removed.
11426
11427         WorkArea.C: rework code so that it's an amalgam of the codes before and
11428         after the splash screen was moved to WorkArea.
11429
11430 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * lyxrc.C (read):
11433         * vspace.C (inPixels):
11434         (lyx_advance):
11435         * kbmap.C (bind):
11436         * buffer.C (insertStringAsLines):
11437         (asciiParagraph): fix types to be large enough
11438
11439         * lyxlex_pimpl.h: change member status from short to int
11440
11441         * layout.h: fix type of endlabeltype
11442
11443         * kbmap.C (bind):
11444         * kbsequence.C (parse): change return type to string::size_type
11445
11446         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11447         variable
11448
11449         * Bullet.C (bulletSize):
11450         (bulletEntry): do not use short ints as parameters
11451
11452         * BufferView2.C (insertLyXFile): change a char to an int.
11453
11454         * WorkArea.C (WorkArea): remove unneeded floats in computation
11455
11456 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11459
11460         * paragraph.C (asString): Do not ignore newline/hfill chars when
11461         copying to the clipboard.
11462
11463 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11464
11465         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11466         after a multi-line inset.
11467
11468 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * paragraph.C (validate): Set NeedLyXFootnoteCode
11471
11472 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11473
11474         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11475         and decrease-error to decrease.
11476
11477 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11480         it more readable (should be equivalent)
11481
11482 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11483
11484         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11485
11486 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11487
11488         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11489         of a cursor (row, etc.) after a character has been deleted
11490         (deleteEmptyParagraphMechanism): call the method above on _all_
11491         cursors held by the LyXText when a double space has been
11492         detected/deleted.
11493
11494 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11495
11496         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11497         pixmap.
11498         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11499
11500         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11501         background. Use greyOut() and the new show() methods to toggle between
11502         the foreground and background. Add code to remove the splash after
11503         its initial showing.
11504
11505         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11506         (create_forms): no longer call Dialogs::showSplash.
11507
11508 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11509
11510         * .cvsignore: add version_info.h
11511
11512 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11513
11514         * version_info.h.in: new file
11515
11516         * Makefile.am: add version_info.h.in
11517
11518         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11519         version_info.h instead of VERSION_INFO
11520
11521 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11524         The ERT inset now returns string().
11525
11526 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11527
11528         * lyxtext.h, text.C (selectNextWord): renamed as
11529         selectNextWordToSpellcheck.
11530
11531         * text.C (selectNextWordToSpellcheck): Modified to not select
11532         words inside an ERT inset.
11533
11534 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11535
11536         * lyx_cb.C (MenuLayoutSave): change a bit the question
11537
11538         * sp_base.h: include <sys/types.h>
11539
11540 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11541
11542         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11543
11544 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11545
11546         * several files: fix typos in user-visible strings
11547
11548 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11549
11550         * text2.C (pasteSelection): do not set the selection, since it
11551         will be cleared later. Actually, the intent was to fix the way the
11552         selection was set, but I figured rmoving the code was just as good.
11553
11554 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11555
11556         * FontLoader.C (available): Check if font is available without
11557         loading the font.
11558
11559 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11560
11561         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11562
11563 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * lyxrc.[Ch]: added display_graphics variable and associated code.
11566
11567 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11568
11569         * bufferparams.C (hasClassDefaults): new method. Returns true if
11570         the buffer parameters correspond to known class defaults
11571
11572 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11573
11574         * XFormsView.C (show): set minimum size to the main window.
11575
11576 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11577
11578         * text2.C (copySelection):
11579         (cutSelection):
11580         * lyxfind.C (LyXReplace):
11581         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11582         LyXText::selectionAsString.
11583
11584         * paragraph.C (asString): add "label" argument to the second form
11585
11586         * text2.C (selectionAsString): add "label" argument and pass it to
11587         Paragraph::asString.
11588
11589 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11590
11591         * lyx_main.C (commandLineHelp): remove version information
11592
11593 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11594
11595         * lyx_main.C: add -version commandline option
11596
11597 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * paragraph.h: make the optional constructor arg required instead.
11600         some modifications to other files because of this.
11601
11602         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11603
11604         * lyxserver.C (C_LyXComm_callback): make it static
11605
11606         * lyx_main.C (error_handler): make it static
11607
11608         * lyx_gui.C (LyX_XErrHandler): make it static
11609
11610         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11611
11612         * WorkArea.C: make the extern "C" methods static.
11613
11614         * Makefile.am (lyx_LDADD): simplify
11615
11616 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11617
11618         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11619         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11620
11621         * LyXAction.C (init):
11622         * lyxfunc.C (dispatch): associated code removal.
11623
11624 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * lyxfont.h (isSymbolFont): shut off warning
11627
11628         * text.C (setHeightOfRow):
11629         (getVisibleRow): fix crash with empty paragraphs which have a
11630         bottom line
11631
11632 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11633
11634         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11635         code.
11636
11637 2001-09-04  José Matos  <jamatos@fep.up.pt>
11638         * buffer.C
11639         * buffer.h
11640         * tabular.C (docbook): rename docBook method to docbook.
11641
11642 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11643
11644         * Makefile.am: add dependencies to main.o.
11645
11646 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * FontLoader.C (available): Return false if !lyxrc.use_gui
11649
11650 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11651
11652         * FontInfo.C (query):
11653         * converter.C (view):
11654         * importer.C (Import):
11655         * exporter.C (Export): Can not -> cannot.
11656
11657 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * BufferView_pimpl.C: allow to create index inset even if
11660           string is empty
11661
11662 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11663
11664         * buffer.C (getLists): replace boost::tie code with an explicit pair
11665         as boost::tie can break some compilers.
11666
11667         * iterators.h: Added a std:: declaration to the return type of
11668         ParIterator::size.
11669
11670 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11673           case.
11674
11675 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11676
11677         * iterators.[Ch]: New files. Provide paragraph iterators.
11678
11679         * buffer.C (changeLanguage): Use paragraph iterators.
11680         (isMultiLingual): ditto
11681
11682         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11683
11684 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11685
11686         * FontLoader.C: Support for cmr font.
11687
11688 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11689
11690         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11691         (available): New method.
11692
11693         * FontInfo.C (getFontname): Use scalable fonts even when
11694         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11695         found.
11696
11697 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11698
11699         * converter.C (Formats::view): reverted! Incorrect fix.
11700
11701 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11702
11703         * converter.C (Formats::view): only output the -paper option
11704         if the dvi viewer is xdvi, thereby fixing bug #233429.
11705
11706 2001-08-23  Herbert Voss  <voss@perce>
11707
11708         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11709
11710 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11711
11712         * Spacing.h (Spacing): Set space to Default on in the default
11713         constructor.
11714
11715 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * vc-backend.h (RCS::versionString): add RCS to version
11718         (CVS::versionString): add CVS to version
11719
11720         * vc-backend.C (scanMaster): do not add CVS to version.
11721         (scanMaster): do not add RCS to version
11722
11723         * lyxvc.C (versionString): new method
11724
11725         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11726
11727 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * Spacing.C (set): initialize fval
11730
11731 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11732
11733         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11734         " or \.
11735
11736 2001-08-16  Juergen Vigna  <jug@sad.it>
11737
11738         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11739
11740 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * BufferView_pimpl.C:
11743         * figureForm.C:
11744         * lyxtext.h:
11745         * text2.C: setParagraph takes linespacing now
11746
11747 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * LyxAction.C: add internal LFUN_CITATION_INSERT
11750
11751         * LyXView.C: actually apply fix
11752
11753         * bufferlist.C: fix open non-existent file
11754
11755         * lyxfind.C: fix indentation
11756
11757         * lyxfunc.C: remove unneeded assert, fix typo
11758
11759 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * MenuBackend.C: use "Floatname List"
11762
11763 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11764
11765         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11766         when converting LaTeX layout to insetERT.
11767         Generate a non-collapsed float when reading old float
11768
11769 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11770
11771         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11772         ERT insets.
11773
11774 2001-08-13  Juergen Vigna  <jug@sad.it>
11775
11776         * text.C (fill): return 0 instead of 20 as this seems to be the more
11777         correct value.
11778
11779 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11782         lyxrc.font_norm.
11783
11784 2001-08-13  Juergen Vigna  <jug@sad.it>
11785
11786         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11787         casesensitive off.
11788         (SearchBackward): comment out the unlocking of the inset_owner this
11789         should not be needed!
11790
11791 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * Many files: Remove inherit_language, and add latex_language
11794
11795         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11796         collapsible insets.
11797
11798 2001-08-10  Juergen Vigna  <jug@sad.it>
11799
11800         * text.C (prepareToPrint): fixed hfill-width in draw!
11801
11802         * BufferView2.C (selectLastWord): save the selection cursor as this
11803         now is cleared in the function LyXText::clearSelection!
11804
11805 2001-08-08  Juergen Vigna  <jug@sad.it>
11806
11807         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11808         BACKSPACE type functions.
11809
11810         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11811         is only cutted from the document but not put in the cut-buffer, where
11812         still the old stuff should be.
11813
11814         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11815
11816         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11817
11818         * tabular.C (SetWidthOfCell): fixed special case where the width
11819         was not updated!
11820         (LeftLine): handle '|' in align_special.
11821         (RightLine): ditto
11822         (LeftAlreadyDrawed): ditto
11823         (SetWidthOfCell): ditto
11824
11825 2001-08-07  Juergen Vigna  <jug@sad.it>
11826
11827         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11828
11829 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11832         * lyxlex.[hC]: ditto
11833
11834 2001-08-06  Juergen Vigna  <jug@sad.it>
11835
11836         * text.C (getVisibleRow): fix up row clearing a bit.
11837
11838 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * minibuffer.C: make sure the X server sees the changes in the input.
11841
11842 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * paragraph.C (getFont): split into...
11845         (getLabelFont): this
11846         (getLayoutFont): and this
11847         * paragraph_pimpl.C (realizeFont): calling this
11848
11849         * text2.C (getFont): split into...
11850         (getLayoutFont): this
11851         (getLabelFont): and this
11852         (realizeFont): all three calling this
11853
11854         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11855         files where used.
11856
11857 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11858
11859         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11860
11861 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11862
11863         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11864         layouts from the Quote inset insertion.
11865
11866 2001-08-03  Juergen Vigna  <jug@sad.it>
11867
11868         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11869
11870         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11871         only if status not is already CHANGED_IN_DRAW (second level).
11872
11873         * text.C (draw): don't set the need_break_row when inside an
11874         InsetText LyXText.
11875
11876 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * buffer.C (parseSingleLyXformat2Token): handle more latex
11879         conversion cases.
11880
11881         * bufferview_funcs.[hC]: change function names to
11882         begin with small char, adjust other files.
11883
11884 2001-08-02  André Pönitz <poenitz@gmx.net>
11885
11886         * lyxfunc.C:
11887         BufferView_pimpl.C: remove broken special code for math-greek
11888
11889 2001-08-02  Juergen Vigna  <jug@sad.it>
11890
11891         * BufferView_pimpl.C (update): redone this function so that we
11892         update the text again if there was a CHANGE_IN_DRAW.
11893
11894         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11895         (drawFromTo): added a new internal bool which is used by draw() and
11896         redraw() function.
11897         (general): some cursor drawing problems fixed.
11898
11899 2001-08-01  Juergen Vigna  <jug@sad.it>
11900
11901         * lyxfind.C (LyXFind): fixed
11902         (SearchForward): ditto
11903         (SearchBackward): ditto
11904
11905         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11906         spurius drawing of the cursor in the main area.
11907
11908         * text2.C (status): small fix which could lead to a segfault!
11909         (clearSelection): remove unneeded BufferView param.
11910
11911 2001-08-01  André Pönitz <poenitz@gmx.net>
11912
11913         * lyxfunc.C: small change due to changed mathed interface
11914
11915 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11916
11917         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11918
11919 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * lyxfunc.c: fail gracefully if file doesn't exist
11922
11923         * LyXSendto.C:
11924         * buffer.C:
11925         * lyxfunc.C:
11926         * BufferView_pimpl.C: IsDirWriteable() proto changed
11927
11928         * LyXView.C: fix updateWindowTitle() to store the last title
11929
11930 2001-07-31  Juergen Vigna  <jug@sad.it>
11931
11932         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11933         the font (wrong since using of Paragraph::highestFontInRange).
11934
11935         * paragraph.C (highestFontInRange): added a default_size parameter.
11936
11937         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11938         (setHeightOfRow): reformat
11939
11940 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11941
11942         * converter.[hC] + affected files: move to (inital-char)lowercase
11943         function names.
11944
11945         * ParagraphParameters.C (ParagraphParameters): remove commented code
11946
11947         * PainterBase.[Ch]: remove commented code
11948
11949         * LaTeXFeatures.h: add "bool floats" for float.sty
11950
11951         * LaTeXFeatures.C (LaTeXFeatures): init floats
11952         (require): handle float
11953         (getPackages): do it with floats
11954
11955 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11956
11957         * BufferView_pimpl.C (Dispatch): improve handling of
11958         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11959
11960         * commandtags.h: #include lyxfont.h here temporarily to avoid
11961         keybinding bug.
11962
11963         * bufferlist.h: include LString.h here.
11964
11965 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * text2.C (getStringToIndex): new method.
11968
11969 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11970
11971         * *: Reduced header file dependencies all over.
11972
11973 2001-07-30  Baruch Even  <baruch@lyx.org>
11974
11975         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11976
11977 2001-07-29  Baruch Even  <baruch@lyx.org>
11978
11979         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11980
11981 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * ParameterStruct.h (endif): add a default constructor to make
11984         sure that all variables is initialized.
11985
11986         * ParagraphParameters.C (ParagraphParameters): adjust
11987
11988 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11989
11990         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11991         index; also, check that there is something to index, and that it
11992         does not span over several paragraphs.
11993         (doubleClick): use WHOLE_WORD_STRICT for double click.
11994
11995         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11996
11997         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11998         scheme.
11999
12000 2001-07-26  Baruch Even  <baruch@lyx.org>
12001
12002         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12003         an InsetFig figure, backwards compatible reading of old figure code.
12004
12005 2001-07-27  Juergen Vigna  <jug@sad.it>
12006
12007         * text2.C: font.realize function adaption.
12008
12009         * text.C (draw): add a warnings lyxerr text if needed.
12010
12011         * layout.C: font.realize function adaption.
12012
12013         * language.C: add inherit_language and implement it's handlings
12014
12015         * bufferview_funcs.C (StyleReset): remove language parameter from
12016         font creation (should be language_inherit now).
12017
12018         * bufferparams.C (writeFile): handle ignore_language.
12019
12020         * paragraph.C (getFontSettings): the language has to be resolved
12021         otherwise we have problems in LyXFont!
12022
12023         * lyxfont.C (lyxWriteChanges): added document_language parameter
12024         (update): removed unneeded language parameter
12025
12026         * paragraph.C (validate): fixed wrong output of color-package when
12027         using interface colors for certain fonts in certain environments,
12028         which should not seen as that on the final output.
12029
12030 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.C:
12033         * Thesaurus.h:
12034         * Thesaurus.C:
12035         * Makefile.am:
12036         * commandtags.h:
12037         * LyXAction.C: add thesaurus support
12038
12039         * lyxfind.h:
12040         * lyxfind.C: add "once" parameter, for thesaurus, to not
12041           move to the next match
12042
12043 2001-07-26  Juergen Vigna  <jug@sad.it>
12044
12045         * lyxfont.C (realize): honor ignore_language too!
12046         (resolved): ditto.
12047
12048         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12049
12050         * text.C (draw): one place more for ignore_language to not draw
12051         itself!
12052
12053 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12054
12055         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12056
12057 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12060         the minipage conversion problem.
12061
12062 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12065         insert an inset.
12066
12067 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * BufferView.h: don't forward declare WorkArea
12070
12071         * BufferView.C: don't include WorkArea.h
12072
12073 2001-07-25  André Pönitz <poenitz@gmx.net>
12074
12075         * commandtags.h:
12076         * LyXAction.C:
12077         * lyxfunc.C:  new LFUN 'math-space'
12078
12079         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12080
12081 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * text2.C (toggleInset): call open/close
12084
12085 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * lyxfunc.C (dispatch): add debug for the disabled case
12088
12089         * font.C (buttonText): make similar to rectText
12090
12091         * buffer.C (readInset): comment out parsing of insetlist and
12092         insttheorem
12093
12094         * PainterBase.C (rectText): small correction
12095
12096         * BufferView_pimpl.C: comment out insettheorem and insetlist
12097         * LyXAction.C: ditto
12098         * commandtags.h: ditto
12099
12100 2001-07-24  Juergen Vigna  <jug@sad.it>
12101
12102         * text.C (draw): honor the ignore_language.
12103
12104         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12105
12106 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12109         char inset.
12110
12111 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12112
12113         * lyxtext.h: remove unused (and unimplemented) methods
12114
12115 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12116
12117         * text.C (getVisibleRow): honor background color
12118
12119         * PainterBase.h:
12120         * Painter.h: remove default color argument for fillRectangle
12121
12122         * text.C (backgroundColor): new method
12123
12124 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * text.C (getVisibleRow): adjust
12127
12128         * font.[Ch] (rectText): new method, metrics
12129         (buttonText): new method, metrics
12130
12131         * PainterBase.[hC]: make rectText and buttonText always draw and take
12132         fewer paramteres.
12133
12134 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12135
12136         * ToolbarDefaults.C (read):
12137         * MenuBackend.C (read): allow escaping in all strings
12138
12139         * BufferView_pimpl.C (insertAndEditInset): new method.
12140         (Dispatch): use insertAndEditInset whenever appropriate.
12141
12142         * BufferView_pimpl.C (insertNote): removed
12143
12144         * BufferView_pimpl.C (smartQuote): new method, moved from
12145         BufferView; if an insetquote cannot be inserted, insert a '"'
12146         character instead.
12147
12148         * BufferView2.C: remove insertCorrectQuote();
12149
12150         * lyxfunc.C (getStatus): Add support for all remaingin
12151         inset-insert lfuns.
12152
12153         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12154
12155         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12156         command (necessary to pass " as parameter of self-insert.
12157
12158         * text.C (selectWordWhenUnderCursor):
12159         (selectWord): add word_location parameter
12160         (selectWordWhenUnderCursor): same + remove special code for word
12161         boundary.
12162         (selectNextWord): use kind() to guess type of insetspecialchar,
12163         not latex().
12164
12165         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12166         (insertErtContents): create ert insets as collapsed.
12167         (readInset): better compatibility code for Info inset.
12168
12169 2001-07-20  Juergen Vigna  <jug@sad.it>
12170
12171         * lyxfunc.C (dispatch): use always LyXFind now!
12172
12173         * text2.C (init): add a reinit flag so that the LyXText can be
12174         reinited instead of deleted and reallocated (used in InsetText).
12175
12176         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12177
12178         * text.C: ditto
12179
12180         * text2.C: ditto
12181
12182 2001-07-18  Juergen Vigna  <jug@sad.it>
12183
12184         * text.C (selectNextWord): handle insets inside inset by calling
12185         always the bv->text functions so that we can go up the_locking_inset!
12186
12187         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12188         in strange locations when inside an inset!
12189
12190         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12191         handling to include insets.
12192
12193         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12194
12195 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * LyXAction.C (init):
12198         * commandtags.h:
12199         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12200         LIGATURE_BREAK, since the name is so stupid.
12201
12202 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12205         InsetInfos.
12206
12207         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12208
12209         * sp_form.[Ch]: remove.
12210
12211         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12212
12213         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12214         InsetInfo.
12215
12216         * src/buffer.C (readInset): ditto.
12217
12218 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12219
12220         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12221         menuSeparator(), endOfSentenceDot(), ldots() and
12222         hyphenationPoint(), which are therefore removed.
12223         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12224
12225         * LyXAction.C (init):
12226         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12227
12228         * paragraph.C (getWord): removed.
12229
12230         * BufferView_pimpl.C (Dispatch): use last word or selection for
12231         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12232
12233         * lyx_main.C (queryUserLyXDir): do not ask before creating
12234         user_dir, except if it has been named explicitely.
12235
12236 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12239         a document of zero size.
12240
12241 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12244         approriately in the c-tor and in require().
12245         (getPackages): output the appropriate LaTeX for natbib support.
12246
12247         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12248         variables "use_natbib" and "use_numerical_citations" when reading the
12249         LyX file.
12250         (readInset): read the various natbib cite commands.
12251         (validate): white-space change.
12252
12253         * bufferparams.[Ch]: new variables "bool use_natbib" and
12254         "bool use_numerical_citations".
12255         (writeFile): output them in the LyX file.
12256
12257 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12258
12259         * lyxfunc.C (getStatus): add support for all the inset insertion
12260         commands.
12261
12262         * text2.C (insertInset):
12263         * paragraph.C (insetAllowed):
12264         * BufferView_pimpl.C (insertInset): update to take in account the
12265         renaming of insertInsetAllowed
12266
12267         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12268
12269         * text2.C (getInset): new method. returns inset at cursor position.
12270
12271         * BufferView_pimpl.C (Dispatch): changes because of this.
12272
12273         * LyXAction.C (init): rename open-stuff to inset-toggle.
12274
12275         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12276
12277         * text2.C (toggleInset): renamed from openStuff; use
12278         Inset::open().
12279
12280 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12281
12282         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12283
12284         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12285
12286 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12287
12288         * buffer.C (readLyXformat2): Add filename to the error dialog
12289
12290 2001-07-18  Juergen Vigna  <jug@sad.it>
12291
12292         * tabular.C (GetCellNumber): put an assert here instead of the check!
12293
12294 2001-07-17  Juergen Vigna  <jug@sad.it>
12295
12296         * BufferView_pimpl.C (toggleSelection): adapted too.
12297
12298         * text.C (selectNextWord): adapted for use with insets.
12299         (selectSelectedWord): ditto
12300
12301 2001-07-17  Juergen Vigna  <jug@sad.it>
12302
12303         * sp_spell.C (PSpell): fix initialitation order.
12304
12305 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * paragraph.C: spacing
12308
12309 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12310
12311         * sp_spell.C: repair language selection for pspell
12312
12313 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * lyxfunc.h: change more methods to begin with lower char.
12316
12317 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12318
12319         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12320         for unknown layouts.
12321
12322 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12323
12324         * buffer.C (readLyXformat2): Generate an error dialog if there are
12325         unknown layouts.
12326
12327 2001-07-16  Juergen Vigna  <jug@sad.it>
12328
12329         * sp_spell.C: always compile ISpell part.
12330
12331         * lyxrc.C: added use_pspell entry and it's handling.
12332
12333 2001-07-13  Juergen Vigna  <jug@sad.it>
12334
12335         * sp_spell.C: removed double includes.
12336
12337 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12338
12339         Consistent use of Lsstream.h:
12340         * Lsstream.h: added using std::stringstream for consistencies sake.
12341
12342         * buffer.C: removed using std::stringstream
12343
12344         * lyxfont.C (stateText):
12345         * paragraph.C (asString):
12346         * text.C (selectNextWord, selectSelectedWord):
12347         * text2.C (setCounter):
12348         * vspace.C (asString, asLatexString):
12349         std::ostringstream -> ostringstream.
12350
12351 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12352
12353         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12354         * commandtags.h: add LFUN_HELP_ABOUTLYX
12355         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12356
12357 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12358
12359         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12360         cursorToggle()
12361         * lyx_gui_misc.C: remove spellchecker
12362         * lyxfunc.C: showSpellchecker
12363         * sp_base.h: added
12364         * sp_ispell.h: added
12365         * sp_pspell.h: added
12366         * sp_spell.C: added
12367         * sp_form.[Ch]: removed
12368         * spellchecker.[Ch]: removed
12369
12370 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12371
12372         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12373         is set.
12374         (simpleTeXSpecialChars): Simply print the input character without
12375         any special translation if pass_thru is set.
12376
12377         * layout.h: Added bool pass_thru to layout class for being able to
12378         implement pass through of a paragraph for Literate Programming.
12379
12380         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12381         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12382         * layout.C (Read): add "passthru" to list of layout tags and add
12383         code to set the pass_thru boolean when it is read.
12384
12385 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * trans_decl.h: remove allowed from KmodInfo
12388
12389         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12390         remove allowed code
12391         (Load): adjust
12392
12393         * paragraph_pimpl.C (erase): use boost::prior
12394
12395         * Painter.C (text): use data() instead of c_str() when length is
12396         also provided.
12397         * WorkArea.C (putClipboard): ditto
12398         * font.h (width): ditto
12399
12400         * BufferView2.C: use it-> instead of (*it). for iterators
12401         * texrow.C: ditto
12402         * paragraph_pimpl.C: ditto
12403         * paragraph.C: ditto
12404         * minibuffer.C: ditto
12405         * language.C: ditto
12406         * kbmap.C: ditto
12407         * encoding.C: ditto
12408         * counters.C: ditto
12409         * converter.C: ditto
12410         * chset.C: ditto
12411         * Variables.C: ditto
12412         * TextCache.C: ditto
12413         * MenuBackend.C: ditto
12414         * LyXAction.C: ditto
12415         * LColor.C: ditto
12416         * FloatList.C: ditto
12417         * DepTable.C: ditto
12418         * ColorHandler.C (LyXColorHandler): ditto
12419
12420 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12421
12422         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12423
12424         * text2.C (openStuff): reintroduce this method (which had been
12425         nuked in NEW_INSETS frenzy).
12426
12427         * lyxfunc.C (Dispatch): when an action has not been handled, use
12428         its name in the error message, not its number.
12429
12430         * paragraph.C (inInset): change method name to begin with lowercase.
12431
12432         * undo_funcs.C:
12433         * text2.C: updates because of this.
12434
12435 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * ToolbarDefaults.C (add): add spaces in error message
12438
12439 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12440
12441         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12442         (readLyXformat2): rename return_par to first_par, use lyxlex's
12443         pushToken and remove the manual push handling.
12444         (parseSingleLyXformat2Token): add another ert comp. variable:
12445         in_tabular, rename return_par to first_par. handle newlines better
12446
12447 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12448
12449         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12450
12451 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * text2.C (getParFromID): removed
12454
12455         * buffer.C (getParFromID): new method moved form lyxtext.
12456         * BufferView2.C (insertErrors): adjust
12457         (setCursorFromRow): adjust
12458         * BufferView_pimpl.C (restorePosition): adjust
12459         * lyxfunc.C (Dispatch): adjust
12460         * undo_funcs.C (textUndo): adjust
12461         (textRedo): adjust
12462         (textHandleUndo): adjust
12463         (textHandleUndo): adjust
12464
12465 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * buffer.C: up' the LYX_FORMAT
12468
12469         * lyxfont.h: turn NO_LATEX on as default
12470
12471         * buffer.C (insertErtContents): new methods of tex style compability.
12472         (parseSingleLyXformat2Token): use it several places.
12473         * tabular.C (OldFormatRead): and here
12474
12475 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * text2.C: remove some commented code.
12478         reindent file.
12479
12480         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12481         * trans.C: changes because of the above.
12482
12483 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * text2.C (setCounter): Fix counters bug with bibliography layout.
12486
12487 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12490         own member functions
12491         (simpleTeXSpecialChars): ditto
12492
12493 2001-07-06  Juergen Vigna  <jug@sad.it>
12494
12495         * a lot of files: changed the access to LyXText::status and the
12496         call of undo-functions.
12497
12498         * undo.[Ch]: added a inset_id to the undo informations.
12499
12500         * undo_funcs.[Ch]: added and moved here all undo functions.
12501
12502         * lyxtext.h: give the status enum a weight, made status_ a private
12503         variable and made accessor functions for it, removed the whole bunch
12504         of undo-functions as they are now in their own file, make some
12505         functions publically available. Added function ownerParagraph with
12506         int parameter.
12507
12508         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12509         made InInset() a const function, added getParFromID() function.
12510
12511         * buffer.[Ch]: added const version for inset_iterator functions,
12512         added getInsetFromID() function.
12513
12514         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12515         changed undo functions for new version.
12516
12517 2001-07-05  Juergen Vigna  <jug@sad.it>
12518
12519         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12520         unknow mechanism does not call the proper constructor but only this
12521         one also if I request the other!?
12522
12523 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12526
12527         * text2.C (LyXText): use initialization lists.
12528
12529         * lyxtext.h (Selection): initialize set_ and mark_
12530         (init): remove method
12531
12532 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12533
12534         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12535
12536 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * screen.[Ch]: change method names to begin with lowercase
12539
12540         * BufferView_pimpl.C (updateScrollbar): simplify further and
12541         hopefully make it a bit faster.
12542
12543 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12546         calling directly xforms functions.
12547
12548         * Painter.C (Painter):
12549         * lyx_cb.C (MenuWrite):
12550         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12551         fl_display.
12552
12553         * lyx_gui.C: remove bogus guiruntime extern declaration.
12554
12555 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12558         in NEW_INSETS
12559         (redoDrawingOfParagraph): ditto
12560         (redoParagraphs): ditto
12561         (cutSelection): don't create a object for CutAndPaste use the
12562         static method directly
12563         (pasteSelection): ditto
12564
12565         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12566         LyXview (+ rename)
12567
12568 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * modifications to some other files because of this.
12571
12572         * Makefile.am (lyx_SOURCES): add XFormsView
12573
12574         * XFormsView.[Ch]: new files
12575
12576         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12577         the main window. Move the gui dependent stuff to XFormsView
12578
12579 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * tabular.C (GetCellInset): update cur_cell also in the row/col
12582         version of this function.
12583
12584         * lyxfunc.C: no need to include figure_form.h here.
12585
12586         * FontLoader.h:
12587         * lyxfunc.h:
12588         * lyxscreen.h:
12589         * text2.C:
12590         * lyxvc.C: no need to include forms.h here.
12591
12592 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12595
12596         * lyxfunc.C (Dispatch):
12597         * Spacing.C (set):
12598         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12599         constructor argument.
12600
12601 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * paragraph.C (Paragraph): dont't clear, and just set layout.
12604         (makeSameLayout): use params's copy contructor.
12605
12606         * ParagraphParameters.[Ch] (makeSame): delete method
12607
12608 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * Variables.[Ch]: fix indentation, rename set to isSet
12611
12612 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * lyxfunc.C (Dispatch): fix typo
12615
12616 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12617
12618         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12619         upper_bound.
12620
12621         * bufferlist.C: include assert.h for emergencyWrite().
12622
12623 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12626           give up at last (bug #425202) !
12627
12628 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * lyx_gui_misc.C:
12631         * sp_form.h:
12632         * sp_form.C:
12633         * spellchecker.h:
12634         * spellchecker.C: strip spellchecker options and bring up
12635           preferences tab instead
12636
12637 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12638
12639         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12640         the istringstream constructor
12641
12642 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * paragraph.C (getLayout): fix return value
12645
12646         * paragraph.h: do not declare getLayout as inline.
12647
12648         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12649
12650 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * lyxcursor.h (operator<): new func
12653         (operator>): new func
12654         (operator>=): new func
12655         (operator<=): new func
12656
12657         * text.C (changeCase): use selection.start and selection.end
12658         (changeRegionCase): require from to be <= to. Require par to be a
12659         valid paragraph.
12660
12661         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12662
12663 2001-06-27  Juergen Vigna  <jug@sad.it>
12664
12665         * text.C (cursorLeftOneWord): changed to return the cursor and added
12666         overlay with BufferView * parameter which calls this one.
12667         (getWord): added
12668         (selectWord): use new getWord function.
12669         (changeCase): renamed from changeWordCase as and extended to work
12670         also on selections.
12671
12672         * lyxtext.h: added enum word_location
12673
12674         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12675         changeCase as this operates now also on selections.
12676
12677 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12678
12679         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12680
12681         * many files: send debug output to Debug::INFO instead of
12682         Debug::ANY.
12683
12684         * converter.C (View):
12685         (Convert):
12686         (Move): send debug output to Debug::FILES instead of console.
12687
12688 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12689
12690         * lyxfunc.C (getStatus): use func_status
12691
12692         * func_status.h: new header, describing the results of
12693         LyXFunc::getStatus;
12694
12695         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12696         LFUN_MATH_HALIGN.
12697
12698 2001-06-25  The LyX Project  <jug@sad.it>
12699
12700         * buffer.C (sgmlOpenTag):
12701         (sgmlCloseTag):
12702         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12703
12704 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * text2.C: remove some dead code
12707
12708         * tabular.C (GetCellInset): store the last cell checked (gotten)
12709
12710         * tabular.h: add the helper for the speedup
12711
12712         * lyxtext.h: remove some dead code
12713
12714 2001-06-26  The LyX Project  <Asger>
12715
12716         * paragraph.C: Change export to LaTeX of alignment to
12717         \begin{center} and family for better roundtrip work with reLyX.
12718
12719         * Tune the math drawing a bit.
12720
12721 2001-06-25  The LyX Project  <Asger>
12722
12723         * LColor.C (LColor): New color for math background. New color
12724         for buttons.
12725
12726 2001-06-25  The LyX Project  <jug@sad.it>
12727
12728         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12729
12730         * lyxfunc.C (Open):
12731         * bufferlist.C (newFile): do not restrict to files ending with
12732         .lyx
12733
12734         * BufferView_pimpl.C (MenuInsertLyXFile):
12735
12736 2001-06-24  The LyX Project  <jug@sad.it>
12737
12738         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12739         of compare_no_case
12740
12741 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * lyxtext.h: rename most methods to begin with a small char.
12744         Lots of changes because of this.
12745
12746         * paragraph.C (Paragraph): do not call fitToSize
12747         (erase): call Pimpl::erase
12748         (insertChar): call Pimpl::insertChar
12749         (insertInset): call Pipl::insertInset
12750         (breakParagraph): do not call fitToSize
12751         (breakParagraphConservative): do not call fitToSize
12752         (fitToSize): remove method
12753
12754         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12755
12756 2001-06-24  The LyX Project  <Asger>
12757
12758         * Fix Qt compilation^2
12759
12760 2001-06-24  The LyX Project  <jug@sad.it>
12761
12762         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12763         depthHook(getDepth()-1).
12764
12765         * paragraph.h:
12766         * ParagraphParameters.h:
12767         * ParameterStruct.h: change type of depth to unsigned int ==
12768         depth_type. Many adaptations to other files before of that.
12769
12770 2001-06-24  The LyX Project  <Asger>
12771
12772         * Fix Qt compilation.
12773
12774 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * paragraph.h: renamed several methods to begin with small letter.
12777         several changes to many parts of the code because of this.
12778
12779 2001-06-23  The LyX Project  <jug@sad.it>
12780
12781         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12782         rewritten to discard all double spaces when KeepEmpty is off
12783         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12784         to only handle newlines but not fiddle with spaces and friends.
12785
12786         * lyxfunc.C (MenuNew): when doing 'new from template', use
12787         template_path as default directory
12788
12789 2001-06-23  The LyX Project  <Asger>
12790
12791         * Clean-up of header file includes all over
12792         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12793
12794 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * paragraph.h: renamed from lyxparagraph.h
12797
12798 2001-06-23  Asger  <lyx@violet.home.sad.it>
12799
12800         * Buffer.h: Removed Buffer::resize
12801         * BufferList.h: Removed BufferList::resize
12802         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12803         the document lazily when we change the width, or the font settings.
12804
12805 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12808
12809 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * buffer.h: remove out of date comment
12812
12813 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * lyxscreen.h:
12816         * screen.C: fix "theoretical" GC leak
12817
12818 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * LaTeX.C (scanAuxFile):
12821         (deplog): remove trailing \r when reading stream (useful under
12822         win32)
12823
12824 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12825
12826         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12827         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12828         and BufferView::theLockingInset(Inset*), so should use them and not
12829         access bv_->text->the_locking_inset directly.
12830
12831         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12832
12833 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * Makefile.am:
12836         * tex-defs.h: remove old unused file
12837
12838 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * BufferView_pimpl.C: fix typo, remove minibuffer message
12841           when buffer has loaded
12842
12843 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * lyxfunc.C (Dispatch): use stringstream
12846         (MenuNew): use stringstream
12847         (Open): use stringstream
12848
12849         * importer.C (Import): use stringstream
12850
12851         * bufferview_funcs.C (CurrentState): use stringstream
12852
12853         * LaTeX.C (run): use stringstream
12854
12855         * BufferView_pimpl.C (savePosition): use stringstream
12856         (restorePosition): use stringstream
12857         (MenuInsertLyXFile): use stringstream
12858
12859 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * BufferView.C:
12862         * Bullet.C:
12863         * ColorHandler.C:
12864         * FontInfo.C:
12865         * FontLoader.C:
12866         * LColor.C:
12867         * LaTeXFeatures.C:
12868         * Painter.C:
12869         * gettext.C:
12870         * lyx_gui_misc.C:
12871         * lyxserver.C:
12872         * vspace.C: removed // -*- C++ -*- as first line.
12873
12874         * lyxfind.h:
12875         * version.h: added // -*- C++ -*- as first line.
12876
12877 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12878
12879         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12880
12881         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12882         of string
12883
12884 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12887         of floats.
12888
12889 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12890
12891         * gettext.C: include LString.h even when --disable-nls is on.
12892
12893 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * converter.h (Get): changed argument type from int to
12896         FormatList::size_type to avoid unnecessary conversion.
12897
12898         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12899         before using it.
12900
12901 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12902
12903         * gettext.h: include LString.h even when --disable-nls is on.
12904
12905 2001-06-07  Juergen Vigna  <jug@sad.it>
12906
12907         * text.C (BreakAgain): subst spaces with tabs.
12908
12909         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12910         (resizeInsetsLyXText): set force on resizeLyXText.
12911
12912 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12913
12914         * gettext.h (gettext_init):
12915         (locale_init): use a real definition instead of a macro
12916
12917 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * Bufferview_pimpl.C:
12920         * LColor.h:
12921         * LColor.C: further lcolor tidies
12922
12923 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * BufferView_pimpl.C (updateScrollbar): simplify.
12926
12927         * BufferView2.C: don't include insets/insetinfo.h, change
12928         prototype for insertInset and call the Pimpl version. let
12929         updateInset call Pimpl version.
12930
12931         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12932         gotoInset to BufferView::Pimpl
12933
12934 2001-06-01  Juergen Vigna  <jug@sad.it>
12935
12936         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12937         inside a LockingInset (is the update needed at all?).
12938
12939 2001-05-31  Juergen Vigna  <jug@sad.it>
12940
12941         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12942         here not the old one otherwise how should we compare it afterwards
12943         if it's the same!
12944
12945 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12946
12947         * lyxfont.C:
12948         * tabular.C:
12949         * tabular-old.C:
12950         * FontInfo.C: bring C functions into global namespace when
12951         necessary
12952
12953 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12954
12955         * LString.h: make sure config.h has been loaded before LString.h.
12956
12957         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12958         (one for each char read by EatLine!).
12959
12960         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12961         variables.
12962
12963 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12966         to the same as the par we break from
12967
12968 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12971
12972         * MenuBackend.C (expand): also create menu entries for wide
12973         versions of the floats.
12974
12975         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12976
12977         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12978
12979         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12980         frontends/Makefile.am
12981
12982         * text2.C: adjust
12983         * text.C: adjust
12984
12985
12986         * tabular.C (getTokenValue): add std::
12987
12988         * tabular-old.C (getTokenValue): add std::
12989         (getTokenValue): ditto
12990         (getTokenValue): ditto
12991
12992         * screen.C (ToggleSelection): adjust
12993
12994         * lyxtext.h: put selection cursors inside a Selection struct.
12995
12996         * lyxfunc.C (moveCursorUpdate): adjust
12997
12998         * lyxfont.C (latexWriteStartChanges): add std::
12999
13000         * lyxfind.C: adjust
13001
13002         * font.h: delete with(char const *, LyXFont const &)
13003
13004         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13005
13006         * FontInfo.C (getFontname): add std::
13007
13008         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13009         (workAreaButtonPress): adjust
13010         (tripleClick): adjust
13011         (update): adjust
13012         (moveCursorUpdate): adjust
13013         (Dispatch): adjust
13014
13015         * BufferView2.C (gotoInset): adjust
13016
13017 2001-05-30  Juergen Vigna  <jug@sad.it>
13018
13019         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13020         to check pspell I add this as default as I now have new pspell
13021         libraries and they seem to use this.
13022
13023 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * text2.C (CutSelection): make the cursor valid before the call to
13026         ClearSelection.
13027
13028 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13031         relied on 0 terminated strings and other horrors. Bug found due to
13032         the new assert in lyxstring!
13033
13034         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13035         KP_ keys.
13036
13037 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13040         to latinkeys.bind.
13041
13042         * lyxfunc.C (processKeySym): change method of getting to the
13043         self-insert char.
13044
13045         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13046         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13047         * BufferView_pimpl.[Ch]: here as private methods.
13048
13049 2001-05-28  Juergen Vigna  <jug@sad.it>
13050
13051         * text.C (SetHeightOfRow): added the update() call again as it is
13052         needed to initialize inset dimensions!
13053
13054 2001-05-16  Juergen Vigna  <jug@sad.it>
13055
13056         * text2.C (SetCharFont): Add new function with BufferView * and
13057         bool toggleall parameters for setting insets internal fonts.
13058         (SetFont): Freeze the undo as we may change fonts in Insets and
13059         all this change should be inside only one Undo!
13060
13061         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13062         setting font's in insets as for them we have the SetFont function!
13063
13064 2001-05-15  Juergen Vigna  <jug@sad.it>
13065
13066         * text2.C (ClearSelection): to be sure we REALLY don't have any
13067         selection anymore!
13068
13069         * tabular.C (TeXCellPreamble): fixed the left border problem for
13070         multicolumn cells.
13071
13072 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13073
13074         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13075         dependancy file
13076
13077 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13080         LFUN_BREAKPARAGRAPH.
13081
13082         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13083         help test to "internal only", similar for LFUN_INSERT_URL
13084
13085         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13086         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13087         auto_region_delete and deadkeys.
13088
13089 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13090
13091         * LColor.h:
13092         * LColor.C: remove some dead entries, tidy a little
13093
13094 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13097         commented code.
13098         (Dispatch): implement LFUN_ESCAPE
13099
13100         * commandtags.h: add LFUN_ESCAPE
13101
13102         * LyXAction.C (init): add entry for LFUN_ESCAPE
13103
13104         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13105         Remove commented code.
13106         (insertNote): moved here
13107         (open_new_inset): moved here
13108
13109         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13110         BufferView_pimpl
13111
13112 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * kbmap.C (findbinding): clean it up and make it work correctly.
13115
13116         * lyx_main.C (init): do not pass argc and argv as parameters
13117
13118 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13119
13120         * buffer.C: fix path for OS/2 & Win32
13121
13122         * lyx_gui.C:
13123         * lyx_main:
13124         * lyx_main.C: Added os:: class.
13125
13126         * os2_defines.h: update
13127
13128 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13129
13130         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13131         better by trying again with reduced state.
13132
13133 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13134
13135         * lyxrc.C (read): print error about invalid key sequence only when
13136         debugging (because not all latinX keysyms are known to some X
13137         servers)
13138
13139         * kbsequence.C (getiso): add a few std:: qualifiers
13140         (getiso): comment out extra return statement.
13141
13142 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13145         handling.
13146         (Dispatch): enhance the accent inset a bit. (not perfect)
13147
13148 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13151
13152 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * bufferlist.C (emergencyWrite): fix assert() call
13155
13156 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13157
13158         * text.C (InsertChar): Added trivial patch to only send the "you
13159         can not do multiple spaces this way" message once during a
13160         session.
13161
13162 2001-05-08  Baruch Even  <baruch@lyx.org>
13163
13164         * Makefile.am: Changed order of libraries to get LyX to link properly
13165         with the gnome frontend.
13166
13167 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * LaTeXFeatures.h: add a std:: qualifier
13170
13171 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * paragraph.C (String): use stringstream
13174
13175 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * paragraph.C (writeFile): remove footflag arg
13178
13179         * buffer.C (makeLaTeXFile): use stringstream
13180         (latexParagraphs): remove footnot gurba
13181
13182         * LaTeXFeatures.C (getPackages): use stringstream
13183         (getMacros): likewise
13184         (getTClassPreamble): likewise
13185         (getFloatDefinitions): new method
13186
13187         * paragraph.C (writeFile): reindent
13188         (Erase): reindent
13189
13190         * WorkArea.h: revert the xpos + etc changes.
13191
13192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13193
13194         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13195
13196         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13197         (pasteSelection): likewise
13198         * text2.C (CreateUndo): likewise
13199
13200 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * minibuffer.C (peek_event): temporarily reduce the functionality
13203         of the minibuffer (to allow args on lfuns)
13204
13205         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13206         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13207
13208         * buffer.C (readInset): add compability reading of old float
13209         lists, add reading of new style float list.
13210         (readInset): avoid reevaluation of inscmd.getCmdName()
13211         (getLists): reindent
13212
13213         * MenuBackend.C (MenuItem): implement parsing of
13214         md_floatlistinsert and md_floatinsert.
13215         (expand::LastFiles): move initalizaton of iterators out of loop,
13216         avoid reevaluation.
13217         (expand::Documents): introduce typdedef vector<string> Strings,
13218         and use it.
13219         (expand::ExportFormats): introduce typedef vector<Format const *>
13220         Formats, and use it.
13221         (expand): implement FloatListInsert and FloatInsert.
13222
13223         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13224         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13225         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13226
13227         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13228         handling.
13229         (Dispatch::LFUN_FLOAT_LIST): implement
13230
13231 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13232
13233         * LaTeX.C (run): Fix problem with --export code.
13234
13235 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13236
13237         * BufferView.[Ch] (workarea): removed.
13238         (getClipboard) new method; wrapper for workarea()->getClipboard()
13239
13240         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13241         bug.
13242
13243         * WorkArea.h (width, height, xpos, ypos): These methods all
13244         returned the dimensions of the work_area sub-area of WorkArea,
13245         resulting in a position error if the WorkArea were resized. Now
13246         return the dimensions of the entire WorkArea.
13247
13248         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13249
13250 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * LaTeX.C (deplog): correct the syntax of regex reg1
13253
13254 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * undo.C: remove !NEW_INSETS cruft
13257
13258 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * text2.C: remove !NEW_INSETS cruft
13261
13262         * text.C: remove !NEW_INSETS cruft
13263
13264         * tabular.C: remove !NEW_INSETS cruft
13265
13266         * spellchecker.C: remove !NEW_INSETS cruft
13267
13268         * lyxtext.h: remove !NEW_INSETS cruft
13269
13270         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13271
13272         * lyxfunc.C: remove !NEW_INSETS cruft
13273
13274         * lyxfind.C: remove !NEW_INSETS cruft
13275
13276         * lyx_cb.C: remove !NEW_INSETS cruft
13277
13278         * figureForm.C: remove  !NEW_INSETS cruft
13279
13280         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13281
13282         * buffer.[Ch]: remove !NEW_INSETS cruft
13283
13284         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13285
13286         * CutAndPaste.C: remove !NEW_INSETS cruft
13287
13288         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13289
13290         * BufferView2.C: remove !NEW_INSETS cruft
13291
13292         * BufferView.h: remove !NEW_INSETS cruft
13293
13294 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * Lsstream.h: include LString.h before the sstream headers to
13297         fix problem with gcc 2.95.3 and lyxstring
13298
13299 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * lyx_main.C: add using directives when needed for C functions
13302         declared in std:: namespace.
13303
13304 2001-04-27  Juergen Vigna  <jug@sad.it>
13305
13306         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13307         (SetHeightOfRow): comment out the update call should not be needed!
13308
13309 2001-04-13  Juergen Vigna  <jug@sad.it>
13310
13311         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13312         (LyXTabular): tried to minimize operator= operations (and realized
13313         hopfully Lars wish).
13314
13315 2001-04-27  Juergen Vigna  <jug@sad.it>
13316
13317         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13318
13319 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13322
13323         * buffer.C (readInset): hack to make listof algorithm work
13324
13325         * BufferView_pimpl.C: hack to make listof algorithm work
13326
13327 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * LyXAction.C: removed all !NEW_INSETS cruft
13330         (init): moved lfun_item in method
13331
13332         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13333
13334 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * BufferView2.C (theLockingInset): white space.
13337
13338 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * minibuffer.C: include <iostream>
13341
13342         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13343
13344         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13345
13346         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13347
13348         * text.[Ch] (TransposeChars): new method
13349
13350 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13351
13352         * call message directly through LyXView instead of through LyXFunc
13353         * BufferView2.C: adjust
13354         * BufferView_pimpl.C: adjust
13355         * FontLoader.C: adjust
13356         * buffer.C: adjust
13357         * bufferview_funcs.C: adjust
13358         * converter.C: adjust
13359         * figureForm.C: adjust
13360         * importer.C: adjust
13361         * lyx_cb.C: adjust
13362         * lyx_gui_misc.C: adjust
13363         * lyxfunc.C: adjust
13364         * lyxvc.C: adjust
13365         * text2.C: adjust
13366         + more files in subdirs
13367
13368         * lyxparagraph.h (size): move up int file
13369         (GetLayout): ditto
13370
13371         * adjust all uses of Assert to lyx::Assert.
13372
13373         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13374         lyxfunctional in namespace lyx
13375         * layout.C (hasLayout): ditto
13376         (GetLayout): ditto
13377         (GetLayout): ditto
13378         (delete_layout): ditto
13379         (NumberOfClass): ditto
13380         * converter.C (GetFormat): ditto
13381         (GetNumber): ditto
13382         (Add): ditto
13383         (Delete): ditto
13384         (SetViewer): ditto
13385         * bufferlist.C (getFileNames): ditto
13386         (emergencyWriteAll): ditto
13387         (exists): ditto
13388         (getBuffer): ditto
13389         * MenuBackend.C (hasSubmenu): ditto
13390         (hasMenu): ditto
13391         (getMenu): ditto
13392         * BufferView_pimpl.C (getInsetByCode): ditto
13393
13394 2001-04-18  Juergen Vigna  <jug@sad.it>
13395
13396         * vspace.C (asLatexString): fixed the 100% problem.
13397
13398 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * lyxfunc.C (Dispatch):
13401         * minibuffer.C:
13402         * minibuffer.h: add a few std:: qualifiers
13403
13404 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * minibuffer.[Ch]: reimplement so that commands is initiated and
13407         run from lyxfunc, simplified som handling, and made the completion
13408         and history code for complete. wip.
13409
13410         * lyxfunc.C (processKeySym): call message
13411         (miniDispatch): new temporary method
13412         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13413         (LFUN_MESSAGE): implement
13414         (LFUN_MESSAGE_PUSH): implement
13415         (LFUN_MESSAGE_POP): implement
13416         (initMiniBuffer): the initial/defualt minibuffer message.
13417
13418         * lyxfont.[Ch]: inline some more getters
13419
13420         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13421
13422         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13423
13424         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13425         (AutoSave): use LFUN_MESSAGE
13426         (Reconfigure): ditto
13427
13428         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13429
13430         * figureForm.C: use LFUN_MESSAGE
13431
13432         * converter.C (runLaTeX): use LFUN_MESSAGE
13433
13434         * bufferview_funcs.C: use LFUN_MESSAGE
13435         (Melt): ditto
13436         (changeDepth): ditto
13437
13438         * bufferparams.h: use boost::
13439
13440         * bufferlist.h: inherit privately from noncopyable
13441
13442         * bufferlist.C (loadLyXFile): remove some commented code.
13443
13444         * buffer.C (runChktex): use LFUN_MESSAGE
13445
13446         * ShareContainer.h: inherit privately from noncopyable
13447
13448         * ParagraphParameters.[hC] (depth): inline it.
13449
13450         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13451         methods.
13452         (message): new method
13453         (messagePush): ditto
13454         (messagePop): ditto
13455         (show): init minibuffer
13456         (showState): direct call
13457
13458         * LaTeX.[Ch]: inherit privately from noncopyable
13459         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13460         instead of WriteStatus.
13461
13462         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13463
13464         * BufferView_pimpl.C (buffer): don't init minibuffer
13465         (workAreaButtonPress): use LFUN_MESSAGE
13466         (workAreaButtonRelease): ditto
13467         (savePosition): ditto
13468         (restorePosition): ditto
13469         (MenuInsertLyXFile): ditto
13470         (workAreaExpose): don't init minibuffer
13471         (update): remove commented code, simplify
13472
13473         * BufferView2.C (openStuff): use LFUN_MESSAGE
13474         (toggleFloat): ditto
13475         (menuUndo): ditto
13476         (menuRedo): ditto
13477         (copyEnvironment): ditto
13478         (pasteEnvironment): ditto
13479         (copy): ditto
13480         (cut): ditto
13481         (paste): ditto
13482         (gotoInset): ditto
13483         (updateInset): remove some commented code
13484
13485         * lastfiles.h: inherit privately from noncopyable
13486         * layout.h: ditto
13487         * lyx_gui.h: ditto
13488         * lyx_main.h: ditto
13489         * lyxlex.h: ditto
13490         * lyxlex_pimpl.h: ditto
13491
13492         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13493         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13494         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13495
13496         * LyXAction.h: inherit privately from noncopyable, add methods
13497         func_begin, func_end, returning iterators to the func map.
13498
13499         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13500         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13501         (func_begin): new method
13502         (func_end): new method
13503
13504         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13505         and not)
13506         (copySelection): ditto
13507         (pasteSelection): ditto
13508
13509         * BufferView.C: whitespace change
13510         * BufferView.h: inherit privately from noncopyable
13511
13512 2001-04-16  Allan Rae  <rae@lyx.org>
13513
13514         * tabular-old.C (l_getline):
13515         * spellchecker.C (sc_check_word):
13516         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13517         an unrecognised preprocessor directive.  So ensure they're wrapped.
13518
13519 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13520
13521         * src/exporter.C (Export): Give an error message when path to file
13522         contains spaces.
13523
13524 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * LaTeX.C (deplog): Always check that foundfile exists.
13527
13528 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13529
13530         * lyx_main.h:
13531         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13532
13533 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * tabular.[Ch] (getLabelList): implement new method
13536
13537         * minibuffer.h: comment ouf setTiimer
13538
13539         * minibuffer.C (ExecutingCB): constify res
13540         (peek_event): constify s
13541         (Set): constify ntext
13542         (Init): constify nicename
13543
13544         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13545
13546         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13547         (savePosition): use two params to Minibuffer::Set
13548         (restorePosition): ditto
13549
13550 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * lyx_main.C: include language.h
13553
13554         * Makefile.am (lyx_main.o): add language.h
13555
13556 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * exporter.C:
13559         * paragraph.C:
13560         * screen.C:
13561         * tabular.C:
13562         * CutAndPaste.C: include gettext.h
13563
13564         * lyxfont.h: remove old hack with ON and OFF.
13565
13566         * lyxparagraph.h:
13567         * lyxfont.h: do not include language.h...
13568
13569         * BufferView2.C:
13570         * LaTeXFeatures.C:
13571         * Painter.C:
13572         * bufferview_funcs.C:
13573         * font.C:
13574         * lyxfont.C:
13575         * text.C:
13576         * text2.C:
13577         * trans_mgr.C:
13578         * paragraph.C: ... but do it here instead
13579
13580 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13583
13584         * tabular.C: small reformat
13585
13586         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13587         NEW_INSETS version
13588         (GetChar): ditto
13589         (BreakParagraph): ditto
13590         (SetOnlyLayout): ditto
13591         (SetLayout): ditto
13592
13593         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13594         with one arg less.
13595
13596         * lastfiles.C: removed most using decl, add std:: where needed
13597
13598         * buffer.C: ws changes
13599
13600         * MenuBackend.C (class compare_format): put into anon namespace
13601         (expand): constify label, names, action, action2
13602         (expand):
13603
13604         * text.C (SingleWidth): constify font
13605         (IsBoundary): constify rtl2
13606         (GetVisibleRow): constify ww
13607
13608         * LaTeX.C (deplog): constify logfile
13609
13610         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13611         start_x, end_x
13612         (workAreaExpose): constify widthChange, heightChange
13613
13614         * lyxrow.C (par): moved
13615         (height): moved
13616         (next): moved
13617         * lyxrow.h: as inlines here
13618
13619         * lyxfont.h (shape): moved from lyxfont.C
13620         (emph): moved from lyxfont.C
13621
13622         * lyxfont.C (LyXFont): use initialization list for all
13623         constructors
13624         (shape): move to lyxfont.h as inline
13625         (emph): move to lyxfont.h as inline
13626
13627
13628 2001-04-04  Juergen Vigna  <jug@sad.it>
13629
13630         * vspace.C: had to include stdio.h for use of sscanf
13631
13632 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * BufferView.h:
13635         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13636         independent of xforms.
13637
13638 2001-04-02  Juergen Vigna  <jug@sad.it>
13639
13640         * spellchecker.C: fixed namespace placing!
13641
13642 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13643
13644         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13645         the LyXParagraph * is 0.
13646
13647 2001-03-29  Juergen Vigna  <jug@sad.it>
13648
13649         * vspace.C: added support for %, c%, p%, l%.
13650         (stringFromUnit): added helper function.
13651         (asLatexString): changed to give right results for the %-values.
13652
13653         * buffer.C: convert the widthp in a width%.
13654
13655 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13658         figureForm.[Ch].
13659
13660         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13661         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13662
13663         * lyx_cb.[Ch]: see above.
13664
13665         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13666         form1.[Ch].
13667
13668         * form1.[Ch]:
13669         * lyx.[Ch]: replaced by figure_form.[Ch].
13670
13671         * lyx_gui.C:
13672         * lyx_gui_misc.C:
13673         * lyxfunc.C: changed headers associated with above changes.
13674
13675 2001-03-27  Juergen Vigna  <jug@sad.it>
13676
13677         * BufferView_pimpl.C: set the temporary cursor right!
13678
13679 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13682
13683 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * LString.h: removed "using std::getline"!
13686
13687         * BufferView_pimpl.C (Dispatch): changes due to changes in
13688         InsetInclude::Params.
13689
13690         * buffer.C (tag_name): removed redundant break statements as they were
13691         producing lots of warnings with my compiler.
13692
13693 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * LString.h: add "using std::getline" when using the real <string>.
13696
13697 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13698
13699         * buffer.C: removed bitset usage.
13700         PAR_TAG moved to an anonymous name space.
13701         (tag_name): new funtion, also in the anonymous namespace.
13702         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13703         (makeDocBookFile): clean code. Completed transition from string arrays
13704         to string vectors.
13705         (SimpleDocBookOnePar): code clean.
13706
13707 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13708
13709         * tabular.C: add some comments.
13710
13711 2001-03-22  Juergen Vigna  <jug@sad.it>
13712
13713         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13714         compatibility read a bit and fixed bug with minipage in different
13715         depth.
13716
13717 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13718
13719         * buffer.C (pop_tag): removed.
13720         (push_tag): removed.
13721         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13722         array replaced with vector. Added support for CDATA sections.
13723         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13724         at any nest level.
13725         (makeDocBookFile): XML conformant declaration of CDATA section,
13726         fixed bug related to <emphasis> in the first paragraph char.
13727         (sgmlOpenTag): exclude empty tags.
13728         (sgmlCloseTag): ditto.
13729
13730         * buffer.h (pop_tag): removed.
13731         (push_tag): removed.
13732
13733 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13734
13735         * language.h (Languages): added size_type and size().
13736
13737 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13738
13739         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13740         response on compability reading of minipages. One probliem is that
13741         the old usage of minipages was «flertydig»
13742
13743         * several files here and in subdirs: don't use static at file
13744         scope use anon namespaces instead.
13745
13746 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13747
13748         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13749         LaTeX output. This is necessary for Literate document
13750         processing.
13751
13752 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13753
13754         * buffer.C: insert hfill when needed.
13755
13756         * tabular.C (l_getline): use string::erase, small whitespace change.
13757
13758         * BufferView_pimpl.C: try the anon namespace.
13759         * WorkArea.C: ditto
13760
13761 2001-03-16  Juergen Vigna  <jug@sad.it>
13762
13763         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13764         otherwise it won't open options-dialogs.
13765
13766         * buffer.C: honor pextraWidth(p) on converting minipages.
13767
13768         * tabular.C (l_getline): changed the functions to strip trailing \r.
13769
13770 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13771
13772         * BufferView_pimpl.C:
13773         * minibuffer..C: added "using SigC::slot" declaration.
13774
13775 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13776
13777         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13778
13779         * text2.C: ditto
13780
13781         * text.C: ditto
13782
13783         * paragraph.C: ditto
13784
13785         * lyxtext.h: NO_PEXTRA
13786
13787         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13788
13789         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13790         * ParameterStruct.h: ditto
13791         * ParagraphParameters.h: ditto
13792         * lyxparagraph.h: ditto
13793
13794 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13795
13796         * buffer.C: add compability for minipage alignment.
13797         (latexParagraphs): remove unwanted pextra check.
13798
13799         * several files: remove CXX_WORKING_NAMESPACES
13800
13801         * buffer.C (pop_tag): tie is in namespace boost
13802
13803         * BufferView.h: noncopyable is in namespace boost
13804         * lyxlex.h: ditto
13805         * lyx_main.h: ditto
13806         * lyx_gui.h: ditto
13807         * layout.h: ditto
13808         * lastfiles.h: ditto
13809         * bufferlist.h: ditto
13810         * ShareContainer.h: ditto
13811         * LyXView.h: ditto
13812         * LyXAction.h: ditto
13813         * LaTeX.h: ditto
13814
13815 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13816
13817         * Merging changes from BRANCH_MVC back into HEAD.
13818
13819         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13820
13821 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * BufferView_pimpl.C: change from intl.C
13824
13825         * combox.h:
13826         * combox.C:
13827         * Makefile.am: move combox.*
13828
13829         * form1.h:
13830         * form1.C:
13831         * lyx_gui.C:
13832         * intl.h:
13833         * intl.C: remove dialog (covered by prefs)
13834
13835 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * lyxfunc.C (Dispatch): removed redundant break statement.
13838
13839 2001-03-14  Juergen Vigna  <jug@sad.it>
13840
13841         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13842
13843 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13844
13845         * buffer.C: add hack to fix compability reading of minipages.
13846
13847 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13848
13849         * buffer.C (getLists): Cleanup.
13850
13851 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * lyxfont.C (update): don't honor toggleall on font size.
13854
13855 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * bmtable.c:
13858         * bmtable.h:
13859         * Makefile.am: moved to frontends/xforms/
13860
13861         * lyx_gui_misc.C:
13862         * lyxfunc.C:
13863         * BufferView_pimpl.C: changes for moved mathpanel
13864
13865 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13866
13867         * gettext.h: fix gettext_init() in --disable-nls
13868
13869 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13872
13873 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * lyx.C:
13876         * lyx.h: strip external form
13877
13878 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * BufferView_pimpl.C: add comment, destroySplash()
13881
13882 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * BufferView_pimpl.C:
13885         * LyXAction.C:
13886         * buffer.C:
13887         * commandtags.h:
13888         * lyxfunc.C: use re-worked insetinclude
13889
13890 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13891
13892         * buffer.C: add using std::stringstream.
13893
13894         * lyx_cb.C: readd using std::ios.
13895
13896         * buffer.C: add using std::map.
13897
13898         * BufferView_pimpl.C: add using std::vector.
13899
13900         * ShareContainer.h: add std:: to swap.
13901
13902         * buffer.h: add some typedefs
13903         * buffer.C (getLists): use them
13904         (getLists): renamed from getTocList.
13905         add a counter for the different float types and use it in the
13906         generated string.
13907         (getLists): use the same counter for the NEW_INSETS and the "non"
13908         NEW_INSETS
13909
13910         * lyx_cb.h: remove unused items, includes, using etc.
13911
13912         * ShareContainer.h: remove some commented code, add more comments
13913         and "documentation".
13914
13915 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13916
13917         * buffer.C (getTocList): make the list also when NEW_INSETS is
13918         defined.
13919
13920         * buffer.h: remove TocType
13921
13922         * buffer.C (getTocList): change to return a map<string,
13923         vector<TocItem> >, implement for dynamic number of list.
13924
13925         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13926         * text2.C (PasteSelection): adjust
13927         * CutAndPaste.C (pasteSelection): adjust
13928
13929         * FloatList.C (FloatList): update from the new_insets branch.
13930         * Floating.[Ch]: ditto
13931         * LaTeXFeatures.C: ditto
13932         * buffer.C: ditto
13933         * lyxlex_pimpl.C: ditto
13934
13935         * paragraph.C (Last): remove when NEW_INSETS is defined.
13936
13937         * other file: changes because of the above.
13938
13939 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13940
13941         * lyxparagraph.h: rename next to next_, previous to previous_,
13942         make them private for NEW_INSETS. Rename Next() to next(),
13943         Previous() to previous().
13944
13945         * other files: changes because of the above.
13946
13947 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13948
13949         * BufferView.h:
13950         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13951         problem.
13952
13953 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * main.C (main): pass lyx_localedir to gettext_init().
13956
13957         * gettext.h: remove locale_init and gettext_init macros
13958
13959         * gettext.C (locale_init): new function
13960         (gettext_init): new function
13961
13962         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13963         setlocale().
13964
13965 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13966
13967         * Moved credits to frontends:
13968         * credits.[Ch]: removed
13969         * credits_form.[Ch]: removed
13970         * lyx_gui_misc.C: remove credits stuff
13971         * Makefile.am:
13972
13973 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13974
13975         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13976
13977         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13978         unneeded destructor.
13979
13980         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13981         a standalone pointer again.
13982
13983         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13984
13985 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * Makefile.am:
13988         * filedlg.h:
13989         * filedlg.C:
13990         * LyXAction.C:
13991         * ToolbarDefaults.C:
13992         * bufferlist.C:
13993         * commandtags.h:
13994         * form1.C:
13995         * form1.h:
13996         * lyx_cb.C:
13997         * lyx_cb.h:
13998         * lyxfunc.h:
13999         * lyxfunc.C:
14000         * BufferView_pimpl.C: use new file dialog in GUII
14001
14002         * lyx_cb.h:
14003         * lyx_cb.C: remove LayoutsCB to Toolbar
14004
14005 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14006
14007         * ShareContainer.h (get): add std:: qualifier
14008
14009 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * ShareContainer.h: define a proper ShareContainer::value_type
14012         type (and use typename to please compaq cxx)
14013
14014 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14015
14016         * lyxparagraph.h: move serveral local vars to
14017         ParameterStruct/ParagraphParameters., use ShareContainer in
14018         FontTable., make vars in FontTable private and add getter and
14019         setter.
14020
14021         * paragraph.C: changes because of the above.
14022
14023         * lyxfont.h: remove copy constructor and copy assignment. (the
14024         default ones is ok), move number inside FontBits. move inlines to
14025         lyxfont.C
14026
14027         * lyxfont.C: add number to initializaton of statics, move several
14028         inlines here. constify several local vars. some whitespace
14029         cleanup. Dont hide outerscope variables.
14030
14031         * Spacing.h: add two new constructors to match the set methods.
14032
14033         * ShareContainer.h: new file, will perhaps be moved to support
14034
14035         * ParameterStruct.h: new file
14036
14037         * ParagraphParameters.h: new file
14038
14039         * ParagraphParameters.C: new file
14040
14041         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14042         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14043
14044         * BufferView_pimpl.C: ParagraphParameter changes.
14045         * buffer.C: Likewise.
14046         * bufferview_funcs.C: Likewise.
14047         * text.C: Likewise.
14048         * text2.C: Likewise.
14049
14050 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14051
14052         * lyxfind.C (LyXReplace): do not redefine default argument in
14053         implementation.
14054         (IsStringInText): ditto
14055         (SearchForward): ditto
14056         (SearchBackward): ditto
14057
14058 2001-03-06  Juergen Vigna  <jug@sad.it>
14059
14060         * lyxfind.C (IsStringInText): put parentes around expressions.
14061
14062 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14063
14064         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14065
14066 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14069
14070         * stl_string_fwd.h: add comment
14071
14072         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14073
14074         * tabular.h:
14075         * tabular.C: remove unused DocBook methods
14076
14077         * intl.C:
14078         * language.C:
14079         * paragraph.C:
14080         * buffer.C:
14081         killed DO_USE_DEFAULT_LANGUAGE
14082
14083 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * lyx_gui.C: do not include language.h.
14086
14087         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14088         arguments in function implementation.
14089
14090 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14091
14092         * BufferView_pimpl.C: add <ctime>
14093
14094 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14095
14096         * BufferView_pimpl.C: add using std::find_if
14097
14098 2001-02-27  José Matos  <jamatos@fep.up.pt>
14099
14100         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14101         by OnlyPath.
14102
14103 2001-02-11  José Matos  <jamatos@fep.up.pt>
14104
14105         * buffer.C (makeDocBookFile): command styles now have a parameter as
14106         "title" by default.
14107
14108 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14109
14110         * layout_forms.[Ch]: removed
14111         * lyx_cb.[Ch]: out character
14112         * lyx_gui.C: out character
14113         * lyx_gui_misc.C: out character
14114         * bufferview_funcs.C: : out character,
14115         added toggleall as parameter in ToggleAndShow
14116
14117 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14120
14121         * text2.C (SetCurrentFont): Disable number property at boundary.
14122
14123 2001-02-26  Juergen Vigna  <jug@sad.it>
14124
14125         * lyxfunc.C (getStatus): added a string argument override function so
14126         that this is correctly called from LyXFunc::Dispatch if it contains a
14127         do_not_use_argument which is used!
14128         (Dispatch): added check for "custom" export and call appropriate func.
14129
14130 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * lyxrc.C: Add language_command_local, language_use_babel and
14133         language_global_options.
14134
14135         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14136
14137         * buffer.C (makeLaTeXFile): Use language_use_babel and
14138         language_global_options.
14139
14140 2001-02-23  Juergen Vigna  <jug@sad.it>
14141
14142         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14143         which works with LyXText and putted it inside BufferView. Here now we
14144         only call for that part the BufferView::Dispatch() function.
14145
14146         * BufferView.C (Dispatch): added.
14147
14148         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14149         functions which needs to use a LyXText over from LyXFunc.
14150         (MenuInsertLyXFile): added
14151         (getInsetByCode): added
14152         (moveCursorUpdate): added
14153         (static TEXT): added
14154
14155 2001-02-22  Juergen Vigna  <jug@sad.it>
14156
14157         * BufferView_pimpl.C (update): call a status update to see if LyXText
14158         needs it.
14159
14160 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14161
14162         * vc-backend.C (revert): implement for CVS
14163         (getLog): implement for CVS
14164
14165 2001-02-20  Juergen Vigna  <jug@sad.it>
14166
14167         * text2.C (ClearSelection): added BufferView param for inset_owner call
14168
14169         * lyxfunc.C (TEXT): added this function and use it instead of
14170         directly owner->view()-text of getLyXText().
14171
14172 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14173
14174         * src/layout_forms.C: out preamble
14175         * src/layout_forms.h: out preamble
14176         * src/lyx_cb.C: out preamble
14177         * src/lyx_cb.h: out preamble
14178         * src/lyx_gui.C: out preamble
14179         * src/lyx_gui_misc.C: out preamble
14180         * src/lyxfunc.C: connect with guii preamble
14181
14182 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14185
14186 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14189         whether to run bibtex.
14190
14191 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14192
14193         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14194
14195 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14196
14197         * Makefile.am (lyx_SOURCES): removed bibforms.h
14198
14199         * vspace.h: doxygen
14200
14201         * text.C (GetVisibleRow): make several local vars const
14202
14203         * tabular.C: small cleanup.
14204
14205         * lyxserver.C (callback): use compare instead of strncmp
14206
14207         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14208         inlines to after class or to paragraph.C
14209
14210         * lyxfont.h: remove friend operator!=
14211
14212         * converter.h: move friend bool operator< to non friend and after
14213         class def.
14214
14215         * combox.h: small cleanup
14216
14217         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14218         to inlines after class def.
14219
14220         * buffer.C (pop_tag): use string operations instead of strcmp
14221
14222         * bmtable.c: doxygen, small cleanup
14223
14224         * LaTeX.h: remove friend operator==
14225
14226 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14227
14228         * screen.C:
14229         * lyxrc.[Ch]:
14230         * lyxfunc.C:
14231         * lyxfont.[Ch]:
14232         * lyx_cb.C:
14233         * intl.[Ch]:
14234         * commandtags.h:
14235         * buffer.C:
14236         * WorkArea.[Ch]:
14237         * LyXAction.C:
14238         * BufferView_pimpl.C:
14239         * BufferView.[Ch]: remove cruft
14240
14241 2001-02-14  Juergen Vigna  <jug@sad.it>
14242
14243         * lyxfunc.C: removed #if 0 unused code
14244
14245         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14246
14247         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14248
14249         * text2.C (SetSelection): added a BufferView * parameter
14250
14251 2001-02-13  Juergen Vigna  <jug@sad.it>
14252
14253         * lyxfunc.C (Dispatch): fixed protected blank problem.
14254         * BufferView2.C (protectedBlank): added LyxText * parameter.
14255
14256         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14257         (AppendColumn): same as above for column_info.
14258
14259         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14260         (moveCursorUpdate): use a LyXText param for support of InsetText.
14261
14262         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14263         (tripleClick): ditto
14264
14265         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14266
14267         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14268
14269         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14270
14271         * text2.C (SetSelection): set correct update status if inset_owner
14272         (ToggleFree): ditto
14273
14274 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14275
14276         * tabular.C: remove some commented code.
14277
14278 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14279
14280         * BufferView_pimpl.C: call hideSplash()
14281
14282         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14283
14284         * include_form.h:
14285         * bibforms.h: remove
14286
14287         * lyxfunc.C:
14288         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14289           add LFUN_CHILD_CREATE
14290
14291         * counters.h: fix tiny typo
14292
14293         * lyx_cb.C:
14294         * lyx.h:
14295         * lyx_gui.C:
14296         * lyx.C: move splash to frontends/xforms/
14297
14298         * lyx_gui_misc.C: move Include and Bibform to frontends
14299
14300         * lyxvc.h: clarify comment
14301
14302         * vspace.C: tiny housekeeping
14303
14304 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14305
14306         * text.C (PrepareToPrint): RTL Fix.
14307
14308         * paragraph.C (GetUChar): New method.
14309         (String):  Use GetUChar.
14310
14311         * buffer.C (asciiParagraph): Use GetUChar.
14312
14313 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14314
14315         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14316
14317 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * buffer.h:
14320         * buffer.C: rename to getLogName(), handle
14321           build log / latex log nicely
14322
14323 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * MenuBackend.C:
14326         * MenuBackend.h: remove support for reference menuitem type.
14327
14328 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14329
14330         * BufferView_pimpl.C: housekeeping
14331         * BufferView_pimpl.h:
14332         * LyXView.h:
14333         * Makefile.am:
14334         * Timeout.C:
14335         * Timeout.h:
14336         * minibuffer.h: move Timeout GUI-I
14337
14338 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * lyxrc.C (read): Update converters data-structures.
14341
14342 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14343
14344         * LaTeX.h (operator!=): add operator != for Aux_Info
14345
14346 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14349
14350         * LaTeXLog.C: deleted, useful code moved to Buffer
14351
14352         * buffer.h:
14353         * buffer.C: new function getLatexLogName()
14354
14355         * lyx_gui_misc.C:
14356         * lyx_gui.C:
14357         * lyxvc.C:
14358         * lyxvc.h:
14359         * lyxfunc.C: use frontends for LaTeX and VC logs
14360
14361 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * LaTeX.h: yet another std:: that Allan forgot.
14364
14365         * Variables.C (set): renamed from isset(), because this clashes
14366         with some HP-UX macros (grr).
14367
14368 2001-02-06  Allan Rae  <rae@lyx.org>
14369
14370         * LaTeX.h: Another bug fix.  Missing std:: this time.
14371
14372 2001-02-04  Allan Rae  <rae@lyx.org>
14373
14374         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14375         floats problem. I've left it commented out because it's not quite
14376         correct.  It should also test that the current object is a table or
14377         figure inset.  But I haven't gotten around to figuring out how to do
14378         that.  I *think* it'll be something like: "table" == inset.type()
14379
14380         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14381         bool.
14382
14383 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14384
14385         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14386         all the citation/databases/styles in the auxilary file.
14387         (run): Rerun latex if there was a babel language error.
14388
14389 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * text.C (Backspace): Preserve the font when changing newline char
14392         with a space.
14393         (BreakParagraph): If the cursor is before a space, delete the space.
14394
14395         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14396
14397 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14400         new argument (code).
14401         (ChangeCitationsIfUnique): New method.
14402
14403         * paragraph.C (GetPositionOfInset): Handle bibkey.
14404
14405 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14406
14407         * BufferView_pimpl.h: change type of Position::par_pos to
14408         LyXParagraph::size_type.
14409
14410 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14411
14412         * BufferView_pimpl.C (savePosition, restorePosition): Write
14413         messages to minibuffer.
14414
14415 2001-01-28  José Matos  <jamatos@fep.up.pt>
14416
14417         * buffer.C (makeDocBookFile): adds support for document language.
14418         A silly restriction on the name of LatexCommand types where removed.
14419         Added support for CDATA sections, allows to chars unescaped, used
14420         among others in code, to avoid escape < and >.
14421
14422 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14423
14424         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14425         saved positions instrad of a stack. Furthermore, a position is
14426         stored using paragraph id/paragraph position.
14427
14428         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14429         Remove LFUN_REF_BACK.
14430
14431 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14432
14433         * converter.C (dvipdfm_options): New method.
14434
14435 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14436
14437         * vspace.C (isValidLength): Fix for empty input string.
14438
14439 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * LyXAction.C (init): change description of LFUN_FIGURE to
14442         "Insert Graphics"
14443
14444 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * LaTeX.C: add using directive
14447
14448 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14449
14450         * MenuBackend.C (expand): Fix the sorting of the formats.
14451
14452 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * lyx_main.C: tiny error message fix
14455
14456 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14459         calling fl_initialize(). This fixes the problem with ',' as
14460         decimal separator in text files.
14461
14462 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * trans.C (process): Fix the keymap bug.
14465
14466 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14467
14468         * LaTeX.C (scanAuxFiles): New method. Provides support for
14469         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14470         (scanLogFile) Scan for "run BibTeX" messages.
14471
14472         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14473         OT1 font encoding. Also, load the aecompl package if the ae
14474         package is loaded.
14475
14476         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14477
14478 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * texrow.C (increasePos): turn two error messages into debug
14481         messages.
14482
14483 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14484
14485         * LaTeX.C (scanAux): Handle the \@input macro.
14486         (runBibTeX): Use scanAux().
14487
14488         * language.C (latex_options_): New field.
14489
14490         * LaTeXFeatures.C (getMacros): Add language macros.
14491
14492         * buffer.C (makeLaTeXFile): Small fix.
14493
14494 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14495
14496         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14497
14498         * text2.C: add a using directive.
14499
14500 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * BufferView2.C:
14503         * lyx_gui_misc.h:
14504         * lyxfr1.C:
14505         * lyxfunc.C: kill LyXBell.
14506
14507 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * text.C (IsBoundary): Remove the error message
14510
14511         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14512
14513         * lyxrc.C (setDefaults): Correct initialization value for
14514         font_norm_type.
14515
14516 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14517
14518         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14519         gotoError().
14520
14521         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14522         and GotoNextNote().
14523
14524         * src/LyXAction.C: Added reference-next.
14525
14526         * text.C (InsertChar): Use contains instead of strchr.
14527
14528         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14529
14530 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14531
14532         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14533         alignment commands (when needed).
14534
14535         * text.C (InsertChar): Add ':' to number separator chars.