]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove typo
[lyx.git] / src / ChangeLog
1
2 2004-01-13  André Pönitz  <poenitz@gmx.net>
3
4         * textcursor.[Ch]:
5         * lyxtext.h: hide cursor and selection anchor behind accessor function
6
7         * BufferView.C:
8         * BufferView_pimpl.[Ch]:
9         * PosIterator.C:
10         * bufferview_funcs.C:
11         * cursor.h:
12         * lyxfind.C:
13         * lyxfunc.C:
14         * text.C:
15         * text2.C:
16         * text3.C:
17         * undo.C: adjust
18
19 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
20
21         * text2.C (undoSpan): add and use
22         * text.C (breakParagraph): use undoSpan (fix bug 578)
23         * lyxtext.h: adjust
24
25 2004-01-08  Angus Leeming  <leeming@lyx.org>
26
27         * BufferView_pimpl.C (MenuInsertLyXFile):
28         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
29         * lyxfunc.C (menuNew, open, doImport): 
30         FileFilterList change to the FileDialog open and save functions.
31
32 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * ShareContainer.h: make isEqual and isUnique adaptable
35
36         * CutAndPaste.C: make resetOwnerAndChanges adaptable
37
38 2004-01-07  Angus Leeming  <leeming@lyx.org>
39
40         * LyXAction.C:
41         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
42
43         * BufferView_pimpl.C (dispatch): act on these LFUNs.
44
45         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
46         functions replacing find, replace and replaceAll.
47
48         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
49         LFUN_WORDFIND(FORWARD|BACKWARD).
50
51 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * text.C (breakParagraph): remove an outdated #warning
54
55 2004-01-07  André Pönitz  <poenitz@gmx.net>
56
57         * lyxfind.C: somewhat clearer logic
58
59         * text.C: prevent crash in cursorX on unitialized row cache
60
61 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * lyxcursor.[Ch] (operator>): add
64         * textcursor.C (selStart, selEnd): use std::min and std::max
65
66 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
67
68         * Chktex.C: include boost/format.hpp
69
70 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
71
72         * InsetList.C: replace functor MathcIt with adaptable functor
73         InsetTablePosLess
74         (insetIterator): modify accordingly
75
76         * BranchList.h: move the BranchNamesEqual functor here from...
77         * BranchList.C: ... to here
78
79         * BranchList.C: new BranchListEqual fuctor, use it. Remove
80         SameName and match.
81         (add): replace a finding loop with std::find_if.
82
83 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * output_docbook.C: moving LatexParam functionality into
86         .layout files
87
88 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * buffer.C: increment format to 229.
91
92 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
93
94         * LaTeXFeatures.C:
95         * lyx_sty.[Ch]: remove minipageindent_def
96
97         * LyXAction.C:
98         * factory.C:
99         * lfuns.h:
100         * lyxfunc.C:
101         * text3.C: remove LFUN_INSET_MINIPAGE
102
103 2003-12-28  Angus Leeming  <leeming@lyx.org>
104
105         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
106
107 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
108
109         * text2.C (setParagraph): fix off-by-one crash
110
111 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
112
113         * output_docbook.C: header stuff for AGU
114
115 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * text2.C (redoCursor): remove
118         * text.C:
119         * text3.C:
120         * BufferView_pimpl.C: remove calls to redoCursor and
121         setCursor(cursor.par(), cursor.pos()) all around
122
123 2003-12-15  Angus Leeming  <leeming@lyx.org>
124
125         * buffer.C: up the format to 228.
126
127 2003-12-15  André Pönitz  <poenitz@gmx.net>
128
129         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
130         slices
131
132         * Makefile.am:
133
134         * BufferView_pimpl.C:
135         * cursor.[Ch]:
136         * lyxcursor.[Ch]:
137         * rowpainter.[Ch]:
138         * lyxtext.h:
139         * text.C:
140         * text2.C:
141         * text3.C: adjust
142
143 2003-12-15  Angus Leeming  <leeming@lyx.org>
144
145         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
146         than getFromGUIName to manipulate the color.
147
148 2003-12-14  Angus Leeming  <leeming@lyx.org>
149
150         * BranchList.[Ch]: minimize the API.
151         (Branch::getBranch, getColor): now return a 'const &'.
152         (Branch::setSelected) now returns a bool set to true if the
153         selection status changes.
154         (BranchList::clear, size, getColor, setColor, setSelected,
155         allBranches, allSelected, separator): removed.
156         (BranchList::find): new functions, returning the Branch with
157         the given name.
158         (BranchList::add, remove): return a bool indicating that
159         the operation was successful.
160
161         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
162         new InsetBranch::isBranchSlected member function.
163
164         * LColor.[Ch]: mimimize the API.
165         (fill): renamed as addColor and made private.
166         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
167         versions of these functions taking a string arg have been removed.
168
169         * bufferparams.C (readToken):
170         * lyxfunc.C (dispatch):
171         * lyxrc.C (read): changes due to the altered BranchList and
172         LColor APIs.
173
174         * factory.C (createInset, readInset): changes due to altered
175         InsetBranch c-tor.
176
177 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
178
179         * factory.C:
180         * lyxfunc.C: remove insetminipage. "minipage-insert"
181         now produces a frameless minipage box inset.
182
183 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * textcursor.[Ch] (selStart,selEnd): add new methods
186         remove selection::start, end, use LyXCursor::operator<
187         * lyxcursor.[Ch] (operator<): add
188         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
189         * BufferView.[Ch] (unsetXSel): add
190         * text2.C (clearSelection): use unsetXSel,adjust
191         * text.C: adjust
192         * text3.C: adjust
193         * rowpainter.C: adjust
194         * bufferview_funcs.C (put_selection_at): adjust
195
196 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * BufferView_pimpl.C: small coord. correction
199
200 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
201
202         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
203         dragging over the splash screen.
204
205 2003-12-11  Angus Leeming  <leeming@lyx.org>
206
207         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
208         as it is now handled in LyXText::dispatch.
209
210         * text3.C (doInsertInset): remove a level of nesting.
211
212 2003-12-11  Angus Leeming  <leeming@lyx.org>
213
214         * factory.C (createInset): changes due to the changed interface to
215         InsetCommandMailer::string2params.
216
217 2003-12-10  Angus Leeming  <leeming@lyx.org>
218
219         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
220         'dialog-show-new-inset <inset name>'
221
222 2003-12-10  Angus Leeming  <leeming@lyx.org>
223
224         * buffer.C: up the format to 227.
225
226         * factory.C: the box inset is now identified simply by 'Box'.
227
228 2003-12-10  Angus Leeming  <leeming@lyx.org>
229
230         * buffer.C: up the format to 226.
231
232         * factory.C: the note inset is now identified simply by 'Note'.
233
234 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
235
236         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
237         when a pit is enough. Standarize a couple of loops.
238
239 2003-12-05  Angus Leeming  <leeming@lyx.org>
240
241         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
242         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
243         data to the re-worked "log" dialog.
244
245 2003-12-03  André Pönitz  <poenitz@gmx.net>
246
247         * PosIterator.C:
248         * iterators.C:
249         * lyxtext.h:
250         * output_latex.C:
251         * paragraph_funcs.C:
252         * text.C:
253         * text2.C: use Inset::getText instead of Inset::getParagraph
254
255 2003-12-03  André Pönitz  <poenitz@gmx.net>
256
257         * buffer.[Ch]:
258         * lyxtext.h:
259         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
260         InsetText::read() as LyXText::read()
261
262 2003-12-02  Angus Leeming  <leeming@lyx.org>
263
264         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
265         type. Add a comment in the implementation that the function uses
266         the stream's bad() function rather than fail() as the std::streams
267         would do.
268
269 2003-12-02  André Pönitz  <poenitz@gmx.net>
270
271         * lyxlex.[Ch]: make interface more similar to std::stream
272
273         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
274
275 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
278
279 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
280
281         * vspace.[Ch]: remove VSpace::NONE
282
283 2003-12-01  André Pönitz  <poenitz@gmx.net>
284
285         * buffer.[Ch]:
286         * lyxtext.h: move ParagraphList member to LyXText
287         rename LyXText::ownerParagraphs to LyXText::paragraph
288
289         * CutAndPaste.C:
290         * bufferview_funcs.C:
291         * iterators.[Ch]:
292         * lyx_cb.C:
293         * paragraph.C:
294         * rowpainter.C:
295         * tabular.C:
296         * text.C:
297         * text2.C:
298         * text3.C: adjust
299
300         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
301
302         * undo.C: fix cursor positioning
303
304 2003-12-01  John Levon  <levon@movementarian.org>
305
306         * BufferView_pimpl.C: fix a crash on exit with
307         a buffer open
308
309 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
310
311         * BranchList.C: fix setSelected() method.
312
313 2003-11-28  André Pönitz  <poenitz@gmx.net>
314
315         * ParagraphParameters.[Ch]:
316         * ParameterStruct.h: remove space above/below from Paragraph to
317          InsetVSpace
318
319         * BufferView_pimpl.C:
320         * factory.C:
321         * lyxfunc.C:
322         * lyxtext.h:
323         * output_latex.C:
324         * paragraph.C:
325         * paragraph_funcs.C:
326         * rowpainter.[Ch]:
327         * text.C:
328         * text2.C:
329         * text3.C: adjust
330
331 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
332
333         * factory.C: Syntax change for CharStyles
334
335 2003-11-28  André Pönitz  <poenitz@gmx.net>
336
337         * BufferView.[Ch]:
338         * BufferView.[Ch]:
339         * buffer.[Ch]:
340         * buffer.[Ch]: move LyXText member
341
342 2003-11-28  André Pönitz  <poenitz@gmx.net>
343
344         * BufferView.[Ch]: make LyXText * text a private member
345
346         * BufferView_pimpl.C:
347         * cursor.C:
348         * iterators.C:
349         * lyx_cb.C:
350         * lyxfind.C:
351         * lyxtext.h:
352         * rowpainter.[Ch]:
353         * text.C:
354         * text2.C:
355         * undo.C: adjust
356
357         * output_plaintext.C: cleanup
358
359 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
360
361         * buffer.C:
362         * lyxtextclass.[Ch]: parametrize SGML document header
363
364 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
365
366         * converter.[Ch]:
367         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
368         getFlavor().
369
370 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * text2.C (setFont): rework using PosIterator (no more recursive)
373         (setCharFont): no more needed
374         (setLayout): no more selection cursors fiddling (done by redoCursor)
375         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
376         destroy remaining ones)
377
378 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
381         * lyxtext.h: ditto
382         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
383         selection cursors
384         * lyxfunc.C: adjust
385         * text3.C: adjust + re-allow multi par depth changes
386         * textcursor.C: simplify a bit
387
388 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
389
390         * src/buffer.C:
391         * src/lyxlayout.C:
392         * src/lyxlayout.h:
393         * src/lyxtext.h:
394         * src/output_docbook.C:
395         * src/output_latex.C:
396         * src/paragraph.C:
397         * src/paragraph.h:
398         * src/sgml.C:
399         * src/sgml.h:
400         * src/text2.C: Introducing a number of tags parametrizing various
401         XML formats that we may want to support
402
403 2003-11-25  André Pönitz  <poenitz@gmx.net>
404
405         * InsetList.[Ch] (begein, end): inline as suggested by profiler
406
407         * lyxtext.h (leftMargin/rightMargin): simplify interface
408
409         * rowpainter.C:
410         * text.C:
411         * text2.C:
412         * text3.C: adjust
413
414 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
415
416         * lyxfunc.C (dispatch): propogate the bibtex databases from the
417         master file to any child files. Fixes bug 546.
418
419 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
422
423 2003-11-24  André Pönitz  <poenitz@gmx.net>
424
425         * rowpainter.C: simplification
426
427         * text2.C (updateCounters): remove call to redoParagraph on
428         changed labels as this is far too expensive.
429
430 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * converter.C (convert): fix a crash: this function gets
433         called with buffer == 0 from importer code.
434
435 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
436
437         * text3.C (cursorPrevious): make sure that we do not compare
438         iterators form different containers.
439         (cursorNext): ditto
440
441         * rowpainter.C (paintSelection): make sure that we do not compare
442         iterators from different containers.
443
444         * text3.C (dispatch): [PRIOR] make sure that we do not compare
445         iterators from different ParagraphList containers.
446         [NEXT] ditto
447
448         * text2.C (LyXText): change order of initialization slightly
449         (operator=): new function. copy all variables except cache_par_
450         (moveUp): make sure that we do not compare iterators from
451         different ParagraphList constainers.
452         (moveDown): ditto
453
454         * text.C (firstPar): new function
455         (lastPar): new function
456         (endPar): new function
457
458         * lyxtext.h: move things around and group public functions, public
459         variables, private functions, private variables
460
461 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
462
463         * factory.C: change call to InsetERT constructor to avoid
464         additional invocation of method status
465         * text2.C (toggleInset): remove redundant update() call
466         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
467         instead of a Bufferview pointer
468
469 2003-11-21  André Pönitz  <poenitz@gmx.net>
470
471         * rowpainter.C: simplification
472
473 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * text3.C (dispatch): make possible to extend a word/row selection
476         with the mouse
477
478 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * lyxtext.h: x0_,y0_ -> xo_,yo_
481         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
482         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
483         * rowpainter.C (paintRows): paint full paragraphs
484
485 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
488         screen coordinates)
489
490 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * lyxtext.h: add x0_, y0_
493         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
494         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
495
496 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * text2.C (setCursorIntern): move the x_target update here *
499         * text3.C: change some bv() to true/false in calls to
500         cursorUp/Down/Right/Left
501         * cursor.C: use helper function.
502
503 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
504
505         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
506         * paragraph_funcs.[Ch]: correct comment
507         * rowpainter.C: do not paint selections away from bv->cursor()
508         Fix a long standing selection painting bug.
509         * text3.C: generalize mouse-selection code to LyXTexts other that
510         top one
511         * textcursor.C: do not use y coords if we can use par offsets
512
513 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
516         cursor position after e.g. inset insert)
517
518 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * lyxfind.C (replace): adjust to locking removal + some
521         code simplification
522
523 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
526         of the path
527
528 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * lyxlayout.[Ch]:
531         * output_docbook.C: XML sanitation: new layout
532         parameters InnerTag and CommandDepth
533
534 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * BufferView_pimpl.C:
537         * factory.C:
538         * text3.C: Fix the insertion and modification of button-style
539         insets
540
541 2003-11-13  André Pönitz  <poenitz@gmx.net>
542
543         * InsetList.[Ch]: remove deleteLyXText
544
545         * paragraph.[Ch]: cache beginOfBody position
546
547         * Bidi.C:
548         * text.C:
549         * text2.C:
550         * text3.C: remove superfluous update() calls
551
552         * vspace.C: cleanup
553
554 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
557         * BufferView.C (fitLockedInsetCursor): remove
558         * cursor.[Ch] (getDim): add
559         * text.C (getRowNearY): add faster version
560         * text3.C: remove some update calls
561
562 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
563
564         * LaTeXFeatures.C:
565         * LyXAction.C:
566         * MenuBackend.C:
567         * MenuBackend.h:
568         * dispatchresult.h:
569         * factory.C:
570         * lfuns.h:
571         * lyxfunc.C:
572         * lyxtextclass.C:
573         * lyxtextclass.h:
574         * text3.C: The Character Style /XML short element patch.
575
576 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * text3.C:
579         * factory.C: Small step to solving 'unable to insert some insets'
580         problem
581
582 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * cursor.[Ch] (updatePos): new function for updating the y
585         position of the tip inset
586         * bufferview_funcs.C (put_selection_at):
587         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
588
589 2003-11-11  André Pönitz  <poenitz@gmx.net>
590
591         * text.C: remove big comment on invalid Paragraph pointers as it is
592         not valid anymore
593
594 2003-11-11  André Pönitz  <poenitz@gmx.net>
595
596         * text_funcs.[Ch]: merge with ...
597
598         * text.C: ... this
599
600         * lyxtext.h:
601         * text2.C:
602         * text3.C: adjust
603
604         * Makefile.am: remove text_funcs.[Ch]
605
606 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
607
608         * cursor.C (getPos): return absolute cached y coord
609
610         * BufferView_pimpl.C (fitCursor): new simplistic code
611         (workAreaDispatch): add a fitCursor call
612
613 2003-11-10  André Pönitz  <poenitz@gmx.net>
614
615         * BufferView.[Ch]:
616         * BufferView_pimpl.[Ch]: merge update() and updateInset()
617
618 2003-11-10  André Pönitz  <poenitz@gmx.net>
619
620         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
621         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
622         indicate that the cursor needs to leave an inset
623
624         * lyxtext.h: remove inset locking
625
626         * cursor.[Ch]: re-implement functionality provided by inset locking
627
628         * BufferView.[Ch]:
629         * BufferView_pimpl.[Ch]:
630         * LyXAction.C:
631         * bufferview_funcs.[Ch]:
632         * factory.C:
633         * funcrequest.[Ch]:
634         * iterators.C:
635         * lyx_cb.C:
636         * lyxfind.C:
637         * lyxfunc.C:
638         * text.C:
639         * text2.C:
640         * text3.C:
641         * undo.C: adjust
642
643 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
644
645         * PosIterator.[Ch]: replace the stack with a vector, add inset
646         accesor
647         * iterators.[C]: adjust
648
649 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
650
651         * lyxfind.C (replaceAll): mark the buffer dirty if something was
652         replaced
653         * paragraph_funcs.C (readParToken): put the correct id in the
654         error item, not the id of the top paragraph
655
656 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
657
658         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
659         * bufferview_funcs.C (put_selection_at): use the above
660
661 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
662
663         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
664
665 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * output_linuxdoc.h:
668         * output_plaintext.h:
669         * output.h:
670         * output_docbook.h: add #include statements
671
672 2003-11-05  José Matos  <jamatos@lyx.org>
673
674         * output_docbook.[Ch]:
675         * output_latex.[Ch]:
676         * output_linuxdoc.[Ch]:
677         * output_plaintext.[Ch]: New files for output formats.
678         * output.[Ch]: New file for helper functions.
679
680         * buffer.[Ch]:
681         * paragraph_funcs.[Ch]: output functions moved to new files.
682
683         * outputparams.h: rename of latexrunparams.h
684
685         * LaTeX.[Ch]:
686         * buffer.[Ch]:
687         * bufferlist.[Ch]:
688         * converter.[Ch]:
689         * exporter.C:
690         * paragraph.[Ch]:
691         * paragraph_funcs.[Ch]:
692         * paragraph_pimpl.[Ch]:
693         * tabular.[Ch]: rename ascii to plaintext
694         and LatexRunParams to OutputParams.
695
696 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
697
698         * iterators.[Ch] (text): require bv argument
699         * undo.C (recordUndo):
700         * lyxfunc.C (dispatch):
701         * bufferview_funcs.C (put_selection_at): adjust
702
703 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
704
705         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
706
707 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
708
709         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
710         nestings
711
712 2003-11-04  André Pönitz  <poenitz@gmx.net>
713
714         * cursor.[Ch]: restructure
715
716         * BufferView.[Ch]:
717         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
718
719         * iterators.[Ch] (asCursor): remove
720
721         * lfuns.h: remove LFUN_INSET_EDIT
722
723         * lyxfunc.C:
724         * tabular.C:
725         * text.C:
726         * text2.C:
727         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
728
729 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
730
731         * lyxfind.[Ch]: complete overhaul
732         * BufferView_pimpl.C:
733         * lyxfunc.C: adjust
734         * paragraph.[Ch] (insert): add
735
736 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
737
738         * BufferView.[Ch]:
739         * lyxtext.h:
740         * text.C: remove dead spellcheck code
741
742 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
743
744         * dispatchresult.h: add a val setter
745
746         * cursor.C (dispatch): use a tempvar for data_[i]
747
748 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
749
750         * PosIterator.[Ch]: compile fix
751
752 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
753
754         * text.C (cursorPar): deactivate the cursor cache
755
756 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
757
758         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
759
760 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
761
762         * text3.C (dispatch): adjust for new DisptchResult semantics.
763
764         * lyxfunc.C (dispatch): handle update when return from
765         Cursor::dispatch, adjust for new DispatchResult semantics.
766
767         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
768         DispatchResult(true) mean to not update. Add class functions for
769         setting dispatched and update, as well as reading.
770
771         * cursor.C (dispatch): don't handle update here
772
773 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
774
775         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
776         * trans_mgr.C: adjust
777
778         * paragraph_funcs.C (readParToken): exception safety
779
780         * lyxvc.h: store the vcs pointer in a scoped_ptr
781         * lyxvc.C: adjust
782
783         * lyxsocket.C (serverCallback): exception safety
784
785         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
786
787         * ispell.C (clone): make it return a auto_ptr
788
789         * factory.C (createInset): exception safety
790         (readInset): exception safety
791
792         * bufferlist.C (newBuffer): exception safety
793
794         * Thesaurus.C (Thesaurus): use initialization for aik_
795
796         * MenuBackend.C (expandToc): exception safety.
797
798 2003-11-03  André Pönitz  <poenitz@gmx.net>
799
800         * buffer.C:
801         * buffer.h:
802         * bufferview_funcs.C: remove getInsetFromId()
803
804         * lyxcursor.[Ch]:
805         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
806
807         * lyxfunc.C:
808         * text2.C:
809         * text3.C: adjust
810
811 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
812
813         * PosIterator.C (distance, advance): new
814         * bufferview_funcs.[Ch] (put_selection_at): new
815         * iterators.[Ch] (lockPath): new
816
817 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
818
819         * iterators.[Ch] (asPosIterator): added
820         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
821         * PosIterator.[Ch]: added
822
823 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
824
825         * text3.C:
826         * lyxfunc.C:
827         * cursor.C (dispatch):
828         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
829
830         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
831         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
832         contructor, add a class function dispatched. Remove operator>=
833
834 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * debug.C: only use the default constructor for debugstream
837         (lyxerr) here.
838
839         * main.C (main): include debug.h and setup the lyxerr streambuf
840         here.
841
842 2003-10-31  José Matos  <jamatos@lyx.org>
843
844         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
845
846         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
847         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
848         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
849         * paragraph_pimpl.C (simpleTeXSpecialC):
850         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
851         add LatexRunParams argument.
852
853         * exporter.C (Export): change call accordingly.
854
855         * latexrunparams.h: add new member to take care of the other backends.
856 2003-10-30  José Matos  <jamatos@lyx.org>
857
858         * buffer.C (makeLinuxDocFile, makeDocBookFile):
859         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
860         factorise code for paragraph output.
861         * buffer.[Ch]:
862         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
863         move functions.
864
865 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
866
867         * text3.C (dispatch):
868         * lyxfunc.C (dispatch):
869         * cursor.C (dispatch):
870         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
871
872         * dispatchresult.h: make the dispatch_result_t ctor explicit
873
874 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * sgml.[Ch]:
877         * buffer.C: small refactoring of docbook stuff
878
879 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
880
881         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
882         meaning.
883
884 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
885
886         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
887         operator dispatch_result_t, and operators for == != and >=
888
889         * cursor.C (dispatch): adjust for operator dispatch_result_t
890         removal. comment out call to update
891
892         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
893
894 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
895
896         * text3.C:
897         * text2.C:
898         * text.C:
899         * lyxtext.h:
900         * lyxfunc.C:
901         * cursor.C:
902         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
903         (dispatch):
904
905         * dispatchresult.h: new file, DispatchResult broken out of
906         insets/insetbase.h
907
908         * Makefile.am (lyx_SOURCES): add dispatchresult.h
909
910 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
911
912         * text.C (rowBreakPoint): put a hack inside #if 0
913
914 2003-10-28  André Pönitz  <poenitz@gmx.net>
915
916         * lyxtext.h:
917         * metricsinfo.C:
918         * paragraph_funcs.C:
919         * rowpainter.C:
920         * text.C:
921         * text2.C: general cleanup (lots of small stuff)
922
923 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
924
925         * text2.C (cursorEnd): simple fix to the "end key goes to one
926         before the end on last row" bug
927
928 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
929
930         * text.C (backspace): fix the "zombie characters"
931
932 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
933
934         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
935
936 2003-10-27  André Pönitz  <poenitz@gmx.net>
937
938         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
939
940         * factory.C: handle new InsetPagebreak, InsetLine
941
942         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
943         and move handling into new InsetPagebreak, InsetLine
944
945         * BufferView_pimpl.C:
946         * LyXAction.C:
947         * ParagraphParameters.C:
948         * ParameterStruct.h:
949         * lyxfunc.C:
950         * lyxtext.h:
951         * paragraph.C:
952         * paragraph.h:
953         * paragraph_funcs.C:
954         * paragraph_pimpl.C:
955         * rowpainter.C:
956         * text.C:
957         * text2.C:
958         * text3.C: adjust
959
960 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
961
962         * text.C:
963         * lyxrow_funcs.[Ch]:
964         * Bidi.C:
965         * paragraph.C:
966         * lyxtext.h:
967         * rowpainter.C:
968         * text2.C:
969         * text3.C: remove lastPos uses in favour of Row::endpos
970
971 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
972
973         * undo.C (performUndoOrRedo): fix two crashes by setting a
974         cursor by hand and reordering some calls. Use bv->lockInset instead
975         of inset->edit because the latter loses cursor information
976
977 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
978
979         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
980         by Martin
981         (rowBreakPoint): fix width. change point to point + 1.
982         Add a missing check.
983
984 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
985
986         * MenuBackend.C:
987         * lyxfunc.C: fix (at least partly) the problems
988         with the Nav menu and headers inside branch insets
989         reported by Kayvan
990
991 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
992
993         * paragraph.C (getChar): add strong asserts
994
995         * lyxrow_funcs.C (lastPos): remove hideous hack
996
997         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
998         (fill): adjust to that (avoid an infinite loop)
999
1000 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1001
1002         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1003
1004 2003-10-23  André Pönitz  <poenitz@gmx.net>
1005
1006         * RowList_fwd.h: change list<> to vector<> to gain speed
1007         after suggestion from Alfredo
1008
1009 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1010
1011         * lyxtext.h: move the bidi stuff from here...
1012         * text.C: and here
1013         * text2.C: and here
1014         * Bidi.[Ch]: ... to here
1015
1016 2003-10-23  André Pönitz  <poenitz@gmx.net>
1017
1018         * lyxtext.h:
1019         * text.C (isLastRow, isFirstRow): new functions
1020
1021         * paragraph.h: new width cache member
1022
1023         * rowpainter.C: replace RowList::iterator with Row & where possible
1024
1025         * lyxfunc.C: replace several view()->text with a single call
1026
1027         * toc.C: fix 'unused' warning
1028
1029 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1032         when woring with stream::pos_type
1033         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1034
1035 2003-10-22  André Pönitz  <poenitz@gmx.net>
1036
1037         * lyxtext.h:
1038         * text.C: use Row & instead of RowList::iterator
1039
1040         * lyxrow.h: rename end() to endpos()
1041
1042         * rowpainter.C:
1043         * text.C:
1044         * text2.C: adjust
1045
1046 2003-10-22  Angus Leeming  <leeming@lyx.org>
1047
1048         * buffer.[Ch] (fully_loaded): new member function, returning true
1049         only when the file has been loaded fully.
1050         Used to prevent the premature generation of previews and by the
1051         citation inset to prevent computation of the natbib-style label.
1052
1053         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1054         templates are all set up.
1055
1056         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1057
1058 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1059
1060         * text.C: fixed an "oops" in the "is a bit silly"
1061         bug fix
1062
1063 2003-10-21  André Pönitz  <poenitz@gmx.net>
1064
1065         * FuncStatus.[Ch]: small stuff, whitespace
1066
1067         * lyxfont.[Ch]: operator<<() for debug reasons
1068
1069         * lyxfunc.C:
1070         * lyxrow_funcs.C:
1071         * lyxtext.h: whitespace, spelling
1072
1073         * paragraph.C: naming of variables
1074
1075         * text.C:
1076         * text2.C: small stuff
1077
1078
1079 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1080
1081         * text.C: (1) finish off the inset display() work;
1082         (2) fix the "is a bit silly" bug (accessing char
1083         past end of par).
1084
1085 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1086
1087         * text.C: re-introduce display() for insets, fixing the
1088         various bugs (stretch of line above, math inset
1089         positioning, ...)
1090
1091 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * text.C (rightMargin): remove spurious semicolon
1094
1095         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1096         1415)
1097
1098 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * text3.C: fix one crash due to wrong cursor def
1101
1102 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1103
1104         * vc-backend.C (scanMaster): make the regex static
1105
1106         * LaTeX.C (scanAuxFile): make the regexs static
1107
1108         * text3.C (doInsertInset, dispatch, dispatch):
1109         * text2.C (cursorUp, cursorDown):
1110         * text.C (selectNextWordToSpellcheck):
1111         * BufferView_pimpl.C (dispatch):
1112         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1113
1114 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * lyxsocket.C: include <cerrno>
1117
1118 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1119
1120         * lyxfunc.C (dispatch): remove textcache stuff
1121
1122         * bufferlist.C (release): remove textcache stuff
1123         (closeAll): ditto
1124
1125         * TextCache.C: delete file
1126         * TextCache.h: delete file
1127
1128         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1129
1130         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1131         delete of the bv_->text.
1132         (resizeCurrentBuffer): remove texcache stuff
1133         (workAreaResize): ditto
1134
1135 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1136
1137         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1138         action.
1139
1140 2003-10-16  André Pönitz  <poenitz@gmx.net>
1141
1142         * lyxrow.[Ch]:
1143         * paragraph.h:
1144         * rowpainter.C:
1145         * text.C:
1146         * text2.C:
1147         * text3.C: speed up by storing y positions per paragraph plus per-row
1148         offset instead of having a 'full' y position in the row.
1149
1150 2003-10-15  André Pönitz  <poenitz@gmx.net>
1151
1152         * iterators.[Ch]:
1153         * iterators.[Ch]:
1154         * undo.[Ch]: make undo aware of inner insets
1155
1156 2003-10-14  Angus Leeming  <leeming@lyx.org>
1157
1158         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1159         static member functions LyX::ref() and LyX::cref.
1160         (lastfiles): new accessor functions for the new lastfiles_ member var.
1161         (addLyXView, views_): add a new LyXView to the list of views_.
1162         (updateInset): loop over all LyXViews to call their own updateInset
1163         member function, returning a pointer to the Buffer owning the inset.
1164
1165         * BufferView_pimpl.C (loadLyXFile):
1166         * MenuBackend.C (expandLastfiles):
1167         * bufferlist.C (MenuWrite, QuitLyX):
1168         lastfiles is no longer a global variable.
1169         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1170
1171         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1172         static function. Access through LyX::cref().emergencyCleanup().
1173
1174 2003-10-14  André Pönitz  <poenitz@gmx.net>
1175
1176         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1177
1178         * undo.[Ch]: restoring part of 'undo in insets'
1179
1180         * Makefile.am:
1181         * undo_funcs.[Ch]: merge with undo.[Ch]
1182
1183         * tabular.C: small cleansing stuff
1184
1185 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1186
1187         * paragraph_funcs.C (readParToken): report unknown insets as error
1188         boxes. Use the outer paragraph as location (also for unknown
1189         tokens).
1190
1191         * factory.C (readInset): do not abort on reading an unknown inset.
1192         Eat it and return 0.
1193
1194 2003-10-13  Angus Leeming  <leeming@lyx.org>
1195
1196         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1197
1198         * lyxrc.C: displayTranslator is now a function,
1199         declared in GraphicsTypes.h.
1200
1201 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1202
1203         * format.C: new placeholder $$a to pass the socket address.
1204
1205         * bufferlist.[Ch]: new function getBufferFromTmp.
1206
1207         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1208           files in the temporary dir.
1209
1210 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1211
1212         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1213
1214         * Makefile.am: add lyxsocket.[Ch].
1215
1216         * lyx_main.C (error_handler): handle SIGPIPE.
1217
1218 2003-10-13  André Pönitz  <poenitz@gmx.net>
1219
1220         * BufferView_pimpl.C:
1221         * lyxtext.h:
1222         * text.C:
1223         * text2.C:
1224         * text3.C:
1225         * undo_funcs.[Ch]: use paroffset_type instead of
1226           ParagraphList::iterators to prevent multiple conversion
1227           (and get a more robust interface)
1228
1229 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1230
1231         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1232         * lyxtext.h: ditto
1233         * text3.C (dispatch): ditto
1234
1235 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1236
1237         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1238         move the onlyfile, use onlyfile instead of foundfile in a couple
1239         of places.
1240
1241         * DepTable.C (update): flush the error stream a bit more
1242
1243 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1244
1245         * lyxserver.C (callback): adjust
1246
1247         * lyxfunc.C (getStatus): add a missing brace in commented code
1248         (ensureBufferClean): reindent
1249         (dispatch): delete version taking a string
1250
1251 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1252
1253         * LaTeX.C (deplog): move found file handlig from here...
1254         (handleFoundFile): .. to new function here.
1255         (deplog): make sure to discover several files mentioned on the
1256         same log line.
1257
1258 2003-10-10  André Pönitz  <poenitz@gmx.net>
1259
1260         * lyxfunc.C:
1261         * lyxtext.h:
1262         * tabular.C:
1263         * text.C:
1264         * text2.C:
1265         * text3.C: fix some of the tabular crashes
1266
1267 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1268
1269         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1270
1271         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1272
1273 2003-10-09  André Pönitz  <poenitz@gmx.net>
1274
1275         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1276
1277         * BufferView.C:
1278         * BufferView_pimpl.C:
1279         * bufferview_funcs.C:
1280         * lyx_cb.C:
1281         * lyxcursor.C:
1282         * lyxfind.C:
1283         * lyxfunc.C:
1284         * lyxtext.h:
1285         * text.C:
1286         * text2.C:
1287         * text3.C:
1288         * text_funcs.[Ch]:
1289         * textcursor.[Ch]:
1290         * undo_funcs.C: adjust
1291
1292 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1293
1294         * text2.C (incrementItemDepth): new function, use a backtracking
1295         algorithm to discover the correct item depth.
1296         (resetEnumCounterIfNeeded): new function, use a backtracking
1297         algorithm to discover if counter reset is needed.
1298         (setCounter): use them. Simplify a bit. Add different labels for
1299         different item depths for itemize.
1300
1301         * paragraph.C (Paragraph): remove initialization of enumdepth
1302         (operator=): ditto
1303
1304         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1305         enumerate and itemize. Change the type of itemdepth to signed char.
1306
1307 2003-10-08  André Pönitz  <poenitz@gmx.net>
1308
1309         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1310           thing assignable.
1311         * text.C:
1312         * text2.C: adjust
1313
1314         * tabular.[Ch]: fix crash after 'row-insert'
1315
1316 2003-10-08  Angus Leeming  <leeming@lyx.org>
1317
1318         Fix doxygen warnings.
1319
1320         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1321         Remove CutAndPaste:: prefix from header file declaration.
1322
1323         * LColor.h (fill): remove LColor:: prefix from declaration.
1324
1325         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1326         use lyx::depth_type rather than Paragraph::depth_type so that
1327         header file and .C file match.
1328
1329         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1330
1331         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1332         * aspell.C: \file aspell_local.C -> \file aspell.C
1333         * gettext.C: \file gettext.C -> \file src/gettext.C
1334         * gettext.h: \file gettext.h -> \file src/gettext.h
1335         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1336         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1337         * text.C: \file text.C -> \file src/text.C
1338
1339         * toc.C: move comment so that doxygen is not confused.
1340
1341 2003-10-07  Angus Leeming  <leeming@lyx.org>
1342
1343         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1344
1345 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1346
1347         * aspell.C:
1348         * aspell_local.h: add forgotten std::string's.
1349
1350 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1351
1352         * LaTeXFeatures.C:
1353         * LyXAction.C:
1354         * factory.C:
1355         * lfuns.h:
1356         * lyxfunc.C:
1357         * text3.C: The Box patch. Fancybox support, minipage, parbox
1358
1359 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1360
1361         * CutAndPaste.h:
1362         * DepTable.h:
1363         * FloatList.h:
1364         * LaTeXFeatures.h:
1365         * ParagraphParameters.h:
1366         * TextCache.h:
1367         * Thesaurus.h:
1368         * bufferlist.h:
1369         * exporter.h:
1370         * importer.h:
1371         * lastfiles.h:
1372         * lyxfind.h:
1373         * lyxfont.h:
1374         * lyxlex.h:
1375         * lyxtextclasslist.h:
1376         * messages.h:
1377         * paragraph.h:
1378         * paragraph_pimpl.C:
1379         * textcursor.h: add <string> and other small fixes to make Lars'
1380         std::string patch compile with STLport.
1381
1382 2003-10-06  Angus Leeming  <leeming@lyx.org>
1383
1384         * LColor.h: Add missing #include <string>.
1385
1386 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * All most all file in all subdirs: Make <string> be the prefered
1389         way of getting to std::string, add using declarations.
1390
1391 2003-10-06  André Pönitz  <poenitz@gmx.net>
1392
1393         * metricsinfo.C: initialize LyXFont before changing attribute.
1394         (fixes the 'math in \emph is upright' bug)
1395
1396 2003-10-06  André Pönitz  <poenitz@gmx.net>
1397
1398         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1399
1400 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * graph.C:
1403         * paragraph_pimpl.C: Small fixes to build using STLport
1404
1405 2003-10-02  André Pönitz  <poenitz@gmx.net>
1406
1407         * lyxfunc.C:
1408         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1409
1410 2003-10-01  André Pönitz  <poenitz@gmx.net>
1411
1412         * factory.C: assert early
1413
1414 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1415
1416         * lyx_main.C: remove the global debug object
1417
1418         * debug.h: adjust for new debugstream
1419
1420         * debug.C: adjust for new debugstream and keep the global debug
1421         object here.
1422
1423 2003-09-22  Angus Leeming  <leeming@lyx.org>
1424
1425         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1426         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1427         an incomplete class LyXFont.
1428
1429 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1430
1431         * factory.C: bug fix in branches
1432
1433 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1434
1435         * lyxfunc.C (processKeySym): adjust
1436         (dispatch): adjust
1437         (dispatch): change arg name from ev to func, adjust
1438         (sendDispatchMessage): ditto
1439
1440         * lyx_main.C (defaultKeyBindings): adjust keybindings
1441         (deadKeyBindings): ditto
1442
1443         * kbsequence.C (addkey): return a FuncRequest
1444
1445         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1446
1447         * kbmap.C (bind): take a FuncRequest as arg, adjust
1448         (read): adjust
1449         (lookup): adjust
1450         (defkey): change to take a FuncRequest as arg, adjust
1451         (findbinding): take a FuncRequest as arg, adjust.
1452
1453         * funcrequest.h (operator=): added
1454
1455         * funcrequest.C (FuncRequest): default kb_action changed from
1456         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1457
1458         * buffer.C (dispatch): simplify
1459         (dispatch): adjust to take a FuncRequest as arg, adjust
1460
1461         * boost.C (assertion_failed): change assertion message slightly
1462
1463         * ToolbarBackend.C (read): simplify
1464
1465         * MenuBackend.C (binding): adjust call to findbinding, add a
1466         message if no binding is found.
1467         (read): simplify
1468         (expandToc): correct by adding a empty FuncRequest
1469
1470         * LyXAction.C: include <boost/assert.hpp>
1471         (isPseudoAction): delete function
1472         (LookupFunc): change name to...
1473         (lookupFunc): this. change return type to FuncRequest.
1474         (getActionName): take kb_action as arg, simplify
1475         (funcHasFlag): add an assert, simplify.
1476
1477 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1478
1479         * toc.C (action): return a FuncRequest, simplify
1480
1481         * lyxfunc.C (processKeySym): adjust
1482         (getStatus): delete version that takes an int.
1483         (getStatus): adjust
1484         (dispatch): delete version that takes action as int
1485         (dispatch): adjust
1486         (sendDispatchMessage): simplify and adjust
1487
1488         * funcrequest.C (getArg): take unsigned int as arg
1489
1490         * ToolbarBackend.C (read): adjust
1491         (add): delete version that takes func as a string.
1492         (getIton): take a FuncRequest as arg
1493
1494         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1495         action.
1496
1497         * MenuBackend.C (MenuItem): add a new construct that only takes a
1498         Kind, simplify the constructor use for submenus.
1499         (add): adjust
1500         (expandLastfiles): adjust
1501         (expandDocuments): adjust
1502         (expandFormats): adjust
1503         (expandFloatListInsert): adjust
1504         (expandFloatInsert): adjust
1505         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1506
1507         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1508         Remove class variables lyx_pseudo_map and lyx_arg_map
1509
1510         * LyXAction.C (searchActionArg): delete function
1511         (getPseudoAction): delete function
1512         (retrieveActionArg): delete function
1513         (LookupFunc): make it return kb_action, simplify.
1514         (getActionName): simplify
1515
1516         * factory.C (createInset): fix new bug
1517
1518 2003-09-19  Angus Leeming  <leeming@lyx.org>
1519
1520         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1521         masterFilename_ parameter in the include inset.
1522
1523         * factory.C (createInset): changes due to the changes to InsetInclude.
1524
1525 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1526
1527         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1528
1529 2003-09-18  Angus Leeming  <leeming@lyx.org>
1530
1531         * buffer.C:
1532         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1533         Inset::fillWithBibKeys.
1534         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1535
1536 2003-09-18  Angus Leeming  <leeming@lyx.org>
1537
1538         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1539         variables.
1540         (ctor): pass and store a 'Buffer const &'
1541         (buffer): new member function.
1542
1543         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1544         '*this' to the LaTeXFeatures ctor.
1545
1546 2003-09-18  Angus Leeming  <leeming@lyx.org>
1547
1548         * LColor.h:
1549         * lyxfont.C:
1550         * lyxfont.h:
1551         * lyxtext.h:
1552         * text.C: rename EnumLColor as LColor_color.
1553
1554 2003-09-18  Angus Leeming  <leeming@lyx.org>
1555
1556         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1557         remove #include "insets/insetbase.h" from cursor.h.
1558
1559 2003-09-18  Angus Leeming  <leeming@lyx.org>
1560
1561         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1562         InsetOld_code to remove #include "inset.h".
1563
1564         * iterators.C: add #include "insets/inset.h"
1565
1566 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1567
1568         * BufferView.C: remove more locking stuff that apparently doesn't
1569         do anything sensible.
1570
1571 2003-09-16  André Pönitz  <poenitz@gmx.net>
1572
1573         * paragraph.[Ch]:
1574         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1575           performance boost.
1576
1577 2003-09-16  Angus Leeming  <leeming@lyx.org>
1578
1579         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1580
1581         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1582         arg/return type.
1583
1584         * paragraph.h: remove #include "lyxfont.h". Forward declare
1585         LyXFont_size.
1586
1587 2003-09-16  Angus Leeming  <leeming@lyx.org>
1588
1589         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1590         of support/textutils.h.
1591         (isWord): move the contents of support/textutils.h's IsWordChar here.
1592
1593         * buffer.C:
1594         * lyxfind.C:
1595         * rowpainter.C:
1596         * text.C:
1597         * text2.C: add #include "paragraph.h".
1598
1599         * rowpainter.C:
1600         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1601
1602 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1603
1604         * main.C:
1605         * lyx_main.C:
1606         * lyx_cb.C:
1607         * buffer.C:
1608         * LaTeX.C: use namespace alias for lyx::support::os
1609
1610 2003-09-16  Angus Leeming  <leeming@lyx.org>
1611
1612         * bufferparams.C:
1613         * bufferview_funcs.C:
1614         * factory.C:
1615         * lyxfunc.C:
1616         * paragraph_pimpl.C:
1617         * rowpainter.C:
1618         * text.C: add #include "LColor.h".
1619
1620 2003-09-16  Angus Leeming  <leeming@lyx.org>
1621
1622         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1623         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1624         return LyXFont &.
1625         Store the FontBits::color variable as an int rather than as an
1626         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1627         file.
1628
1629         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1630         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1631         string calls together.
1632
1633         * lyxrc.C: add #include "LColor.h".
1634
1635 2003-09-15  Angus Leeming  <leeming@lyx.org>
1636
1637         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1638         a cow_ptr.
1639
1640 2003-09-15  Angus Leeming  <leeming@lyx.org>
1641
1642         * LColor.h: add an EnumLColor wrapper for LColor::color.
1643
1644         * lyxfont.[Ch] (color, setColor, realColor):
1645         * lyxtext.h, text.C (backgroundColor):
1646         pass EnumLColor args to/from the functions, rather than LColor::color
1647         ones.
1648
1649         * lyxfont.h:
1650         * lyxtext.h: forward declare EnumLColor.
1651
1652         * lyx_main.C: add #include "LColor.h".
1653
1654 2003-09-15  Angus Leeming  <leeming@lyx.org>
1655
1656         * .cvsignore: add lyx-gtk.
1657
1658 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * Chktex.C
1661         * LaTeX.C
1662         * LaTeXFeatures.C
1663         * ParagraphParameters.C
1664         * Spacing.C
1665         * buffer.C
1666         * bufferparams.C
1667         * bufferview_funcs.C
1668         * chset.C
1669         * counters.C
1670         * funcrequest.C
1671         * lyxfont.C
1672         * lyxgluelength.C
1673         * lyxlength.C
1674         * paragraph.C
1675         * paragraph_funcs.C
1676         * text3.C
1677         * vc-backend.C: remove usage of STRCONV
1678
1679 2003-09-15  Angus Leeming  <leeming@lyx.org>
1680
1681         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1682         explicitly define the color passed to the painter.
1683
1684 2003-09-15  Angus Leeming  <leeming@lyx.org>
1685
1686         * bufferparams.C (BufferParams): reorder member initializers to avoid
1687         compiler warning.
1688
1689 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1690
1691         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1692         * text.C (updateRowPositions): remove an unusual nop
1693
1694 2003-09-12  André Pönitz  <poenitz@gmx.net>
1695
1696         * BufferView_pimpl.C:
1697         * Bullet.C:
1698         * layout.h:
1699         * lyxfunc.C:
1700         * lyxlayout.[Ch]:
1701         * lyxtextclass.C:
1702         * rowpainter.C:
1703         * text.C:
1704         * text2.C:
1705         * Counters.[Ch]: finish the 'automatic counters' job
1706
1707 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1708
1709         * aspell.C: include <boost/assert.cpp> (compile fix)
1710
1711 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1712
1713         * boost.C (assertion_failed): use lyx::support::abort instead of
1714         assert.
1715
1716 2003-09-10  Angus Leeming  <leeming@lyx.org>
1717
1718         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1719         with their _fwd progeny.
1720
1721 2003-09-09  Angus Leeming  <leeming@lyx.org>
1722
1723         134 files throughtout the source tree: replace 'using namespace abc;'
1724         directives with the appropriate 'using abc::xyz;' declarations.
1725
1726 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1727
1728         * boost.C (emergencyCleanup): moved here from LAssert.c
1729         (assertion_failed): new function, called by BOOST_ASSERT
1730
1731         * several files: change Assert to BOOST_ASSERT
1732
1733 2003-09-09  Angus Leeming  <leeming@lyx.org>
1734
1735         * buffer.[Ch]: Add an Impl class and move Buffer's member
1736         variables into it. As a result move several header files out of
1737         buffer.h.
1738
1739         Add header files to lots of .C files all over the tree as a result.
1740
1741 2003-09-09  Angus Leeming  <leeming@lyx.org>
1742
1743         * buffer.[Ch]: make Buffer's member variables private. Add
1744         accessor functions.
1745
1746         Lots of changes all over the tree as a result.
1747
1748 2003-09-08  Angus Leeming  <leeming@lyx.org>
1749
1750         * graph.C: #include <config.h>.
1751
1752 2003-09-08  Angus Leeming  <leeming@lyx.org>
1753
1754         * BranchList.C:
1755         * BufferView.C:
1756         * BufferView_pimpl.C:
1757         * CutAndPaste.C:
1758         * DepTable.C:
1759         * LaTeX.C:
1760         * LaTeXFeatures.C:
1761         * LyXAction.C:
1762         * MenuBackend.C:
1763         * TextCache.C:
1764         * aspell.C:
1765         * buffer.C:
1766         * bufferlist.C:
1767         * changes.C:
1768         * chset.C:
1769         * converter.C:
1770         * counters.C:
1771         * debug.C:
1772         * graph.C:
1773         * ispell.C:
1774         * lyx_cb.C:
1775         * lyxfind.C:
1776         * lyxfunc.C:
1777         * lyxlex_pimpl.C:
1778         * lyxrc.C:
1779         * lyxrow.C:
1780         * paragraph.C:
1781         * rowpainter.C:
1782         * texrow.C:
1783         * text.C:
1784         * text2.C:
1785         * toc.C: remove redundant using directives.
1786
1787 2003-09-07  Angus Leeming  <leeming@lyx.org>
1788
1789         * LaTeXFeatures.h: remove #include "support/types.h".
1790         * ToolbarBackend.h: remove #include <algorithm>.
1791         * changes.h: remove #include <ctime>.
1792         * debug.h: remove #include <iosfwd>.
1793         * graph.h: remove #include "support/std_string.h".
1794         * lyx_main.h: remove #include <csignal>.
1795         * lyxlex_pimpl.h: remove #include <fstream>.
1796         * sgml.h: remove #include <algorithm>, <utility>.
1797         * toc.h: remove #include "support/std_ostream.h".
1798         Add #include <iosfwd>.
1799
1800 2003-09-07  Angus Leeming  <leeming@lyx.org>
1801
1802         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1803
1804         * converter.h: forward declare LatexRunParams.
1805         * encoding.h: remove #include "lyxrc.h".
1806         * lyxtext.h: remove #include "LColor.h".
1807         * lyxtextclass.h: remove #include "support/types.h".
1808         * trans.h: remove #include "tex-accent.h".
1809         * trans_mgr.h: remove #include "tex-accent.h".
1810         * insets/inset.h: remove #include "support/types.h", <vector>.
1811         * insets/insetcollapsable.h: remove #include "LColor.h".
1812         * insets/insetinclude.h: remove #include "dimension.h".
1813         * insets/insetlatexaccent.h: remove #include "dimension.h".
1814         * insets/insetoptarg.h:: remove #include "insettext.h".
1815         * insets/insettext.h: remove #include "dimension.h",
1816         <boost/shared_ptr.hpp>
1817
1818         * insets/renderers.h: add #include "dimension.h".
1819         * insets/updatableinset.h: add #include "support/types.h".
1820
1821         * many .C files: Associated changes.
1822
1823 2003-09-06  Angus Leeming  <leeming@lyx.org>
1824
1825         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1826         one, inside testInvariant.
1827
1828         * PrinterParams.C: new file.
1829         * PrinterParams.[Ch]: move the function bodies out of line.
1830
1831 2003-09-06  Angus Leeming  <leeming@lyx.org>
1832
1833         * ParagraphParameters.h: forward declare ParameterStruct rather than
1834         including its header file.
1835         (depth): moved out-of-line.
1836
1837 2003-09-06  Angus Leeming  <leeming@lyx.org>
1838
1839         * BufferView_pimpl.h:
1840         * kbmap.h:
1841         * kbsequence.h:
1842         * lyxfunc.h: forward declare LyXKeySym rather than
1843         #include "frontends/LyXKeySym.h".
1844
1845         * BufferView_pimpl.C:
1846         * kbmap.C:
1847         * kbsequence.C:
1848         * lyxfunc.C: associated changes.
1849
1850 2003-09-06  Angus Leeming  <leeming@lyx.org>
1851
1852         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1853         As a result, can remove the #include "insets/inset.h" from BufferView.h
1854
1855 2003-09-06  Angus Leeming  <leeming@lyx.org>
1856
1857         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1858         As a result, can remove the #include "insets/inset.h" from BufferView.h
1859
1860 2003-09-06  Angus Leeming  <leeming@lyx.org>
1861
1862         * buffer_funcs.C:
1863         * buffer.h:
1864         * bufferlist.C:
1865         * BufferView.C:
1866         * bufferview_funcs.C:
1867         * BufferView_pimpl.C:
1868         * CutAndPaste.C:
1869         * lyx_cb.C:
1870         * lyxfunc.C:
1871         * paragraph.h:
1872         * ParagraphParameters.C:
1873         * tabular.C:
1874         * text3.C:
1875         * toc.C:
1876         * undo_funcs.C:
1877         * frontends/controllers/ControlDocument.C:
1878         * insets/insetcaption.C: rearrange the #includes into some sort of
1879         coherent order.
1880
1881         * buffer.h: remove #includes ErrorList.h, undo.h
1882
1883 2003-09-06  Angus Leeming  <leeming@lyx.org>
1884
1885         * support/types.h: add a 'depth_type' typedef, used to store the
1886         nesting depth of a paragraph.
1887
1888         * paragraph.h:
1889         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1890         defining explicitly.
1891
1892         * buffer.h:
1893         * paragraph_funcs.h:
1894         * ParagraphParameters.h:
1895         * sgml.h: use lyx::depth_type rather than Paragraph or
1896         ParameterStruct's depth_type.
1897
1898         * buffer.h
1899         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1900
1901         * BufferView.C:
1902         * BufferView_pimpl.C:
1903         * CutAndPaste.C:
1904         * ParagraphParameters.C:
1905         * buffer_funcs.C:
1906         * bufferlist.C:
1907         * bufferview_funcs.C:
1908         * lyx_cb.C:
1909         * lyxfunc.C:
1910         * tabular.C:
1911         * text3.C:
1912         * toc.C:
1913         * undo_funcs.C:
1914         * frontends/LyXView.C:
1915         * frontends/controllers/ControlDocument.C:
1916         * frontends/controllers/ControlErrorList.C:
1917         * insets/insetbibitem.C:
1918         * insets/insetbranch.C:
1919         * insets/insetcaption.C:
1920         * insets/insetcollapsable.C:
1921         * insets/insetenv.C:
1922         * insets/insetert.C:
1923         * insets/insetfloat.C:
1924         * insets/insetfoot.C:
1925         * insets/insetfootlike.C:
1926         * insets/insetnewline.C:
1927         * insets/insetquotes.C:
1928         * insets/insettabular.C:
1929         * insets/insettext.C:
1930         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1931
1932         * frontends/controllers/ControlChanges.C: #include "changes.h".
1933
1934 2003-09-06  Angus Leeming  <leeming@lyx.org>
1935
1936         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1937         than #including paragraph.h.
1938
1939         * ParagraphList.h:
1940         * RowList.h: deleted. Superfluous.
1941
1942         * CutAndPaste.h:
1943         * iterators.h:
1944         * lyxcursor.h:
1945         * lyxtext.h:
1946         * text_funcs.h:
1947         * undo.h:
1948         * undo_funcs.h:
1949         * insets/inset.h:
1950         * insets/insettext.h: use ParagraphList_fwd.h rather than
1951         ParagraphList.h.
1952
1953         * paragraph.h: don't forward declare ParagraphList.
1954
1955         * buffer.h:
1956         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1957         rather than ParagraphList.h. paragraph.h is still needed for the
1958         Paragraph::depth_type parameters.
1959
1960         * textcursor.h: enable it to compile stand-alone in light of the
1961         above changes.
1962
1963         * bufferview_funcs.C:
1964         * iterators.C:
1965         * lyxfunc.C:
1966         * lyxrow_funcs.C:
1967         * paragraph.C:
1968         * rowpainter.C:
1969         * text.C:
1970         * text2.C:
1971         * text3.C:
1972         * text_funcs.C:
1973         * textcursor.C:
1974         * undo.C:
1975         * frontends/controllers/ControlParagraph.C:
1976         * frontends/controllers/ControlTabular.C:
1977         * insets/insetmarginal.C:
1978         * insets/insetminipage.C:
1979         * insets/insetnote.C:
1980         * insets/insetoptarg.C: add header files needed to compile again.
1981
1982 2003-09-06  Angus Leeming  <leeming@lyx.org>
1983
1984         * RowList_fwd.h: new file, forward-declaring Row rather than
1985         #including lyxrow.h.
1986
1987         * lyxrow_funcs.h:
1988         * lyxtext.h:
1989         * paragraph.h:
1990         * insets/insettext.h: use it instead of RowList.h
1991
1992         * bufferview_funcs.C:
1993         * lyxfunc.C:
1994         * lyxrow_funcs.C:
1995         * paragraph.C:
1996         * rowpainter.C:
1997         * text.C:
1998         * text2.C:
1999         * text3.C: #include "RowList.h".
2000
2001 2003-09-05  Angus Leeming  <leeming@lyx.org>
2002
2003         * factory.C (createInset):
2004         * vspace.C (c-tor): replace sscanf call with an istringstream.
2005         * ispell.C: re-add missing HP/UX headers.
2006         * lyxserver.C: re-add missing  os2 headers.
2007
2008 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2009
2010         * BranchList.C:
2011         * graph.C:
2012         * ispell.C:
2013         * lastfiles.C:
2014         * lyx_cb.C:
2015         * lyxserver.C:
2016         * texrow.C:
2017         * text3.C: re-add missing system headers, needed for 2.95.2.
2018
2019 2003-09-05  Angus Leeming  <leeming@lyx.org>
2020
2021         Changes most place everywhere due to the removal of using directives
2022         from support/std_sstream.h.
2023
2024 2003-09-05  Angus Leeming  <leeming@lyx.org>
2025
2026         Replace LString.h with support/std_string.h,
2027         Lsstream.h with support/std_sstream.h,
2028         support/LIstream.h with support/std_istream.h,
2029         support/LOstream.h with support/std_ostream.h.
2030
2031         Changes resulting throughout the tree.
2032
2033 2003-09-05  Angus Leeming  <leeming@lyx.org>
2034
2035         * sgml.h: ensure that the header file can be compiled stand-alone.
2036         * *.C: strip out redundant #includes. (320 in total.)
2037
2038 2003-09-04  Angus Leeming  <leeming@lyx.org>
2039
2040         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2041         here (from getPackages).
2042
2043         * debug.[Ch]: add a new EXTERNAL tag.
2044
2045 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2046
2047         * text2.C (cursorEnd): simplify
2048         (setCursor): adjust
2049         (getColumnNearX): adjust
2050
2051         * text.C (computeBidiTables): adjust
2052         (fill): adjust
2053
2054         * rowpainter.C (paintChars): adjust
2055         (paintSelection): adjust
2056         (paintChangeBar): adjust
2057         (paintText): adjust
2058
2059         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2060         lastPos instead.
2061         (numberOfSeparators): adjust
2062
2063 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2064
2065         * LyXAction.C:
2066         * box.[Ch]:
2067         * lfuns.h:
2068         * lyxfunc.C:
2069         * text3.C: Restricts the mouse click functionality
2070         of insets like bibtex, include, toc and floatlist to the visible
2071         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2072         up the dialogs. Cursor has to be in front of the inset (i.e.
2073         start of row) for this to function.
2074
2075 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2076
2077         * bufferview_funcs.C (currentState): output row information
2078
2079 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2080
2081         * bufferview_funcs.C (currentState): output paragraph position
2082
2083 2003-09-04  Angus Leeming  <leeming@lyx.org>
2084
2085         * FloatList.h: move out #include "Floating.h".
2086         * LaTeX.h: move out #include "DepTable.h".
2087         * LyXAction.h: move out #include "funcrequest.h".
2088         * buffer.h: move out #include "author.h", "iterators.h".
2089         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2090         * lyx_main.h: move out #include "errorlist.h".
2091         * lyxfunc.h: move out #include "FuncStatus.h".
2092         * lyxtext: move out #include "lyxcursor.h".
2093         * paragraph_pimpl.h: move out #include "counters.h".
2094
2095 2003-09-03  Angus Leeming  <leeming@lyx.org>
2096
2097         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2098         preamble_snippets list, enabling us to add snippets to the preamble
2099         only if the snippet was not there already.
2100
2101 2003-09-04  Angus Leeming  <leeming@lyx.org>
2102
2103         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2104
2105 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2106
2107         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2108         update
2109
2110 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * BranchList.C: point fix, earlier forgotten
2113
2114 2003-09-02  Angus Leeming  <leeming@lyx.org>
2115
2116         * box.C (contains): renamed from 'contained' after a fantastic
2117         amount of hot air.
2118
2119 2003-09-02  John Levon  <levon@movementarian.org>
2120
2121         * BufferView.C:
2122         * lyxcursor.h:
2123         * lyxcursor.C:
2124         * lyxfunc.C:
2125         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2126
2127 2003-09-02  John Levon  <levon@movementarian.org>
2128
2129         * text2.C: simplification of cursorEnd(), including partial
2130         fix for bug 1376
2131
2132 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * buffer.C (readFile): add a space
2135
2136 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2137
2138         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2139
2140 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2141
2142         * buffer.C (readFile): new function, take a filename and a
2143         ParagraphList::iterator
2144         (readFile): adjust
2145         (readFile): adjust, make it private. don't use setStream, make
2146         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2147         always contain the filename.
2148
2149         * BufferView.C (insertLyXFile): simplify and make it work for
2150         gzipped files.
2151
2152 2003-08-30  John Levon  <levon@movementarian.org>
2153
2154         * Makefile.am: fix dist (from Kayvan)
2155
2156 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * most files: change to use const Buffer refs
2159
2160 2003-08-27  André Pönitz  <poenitz@gmx.net>
2161
2162         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2163         on top of ownerPar().
2164
2165 2003-08-27  John Levon  <levon@movementarian.org>
2166
2167         * funcrequest.C: properly initialise POD members
2168
2169 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2170
2171         * lyxtext.h (top_y): move top_y from here
2172         * text.C:
2173         * text2.C:
2174         * text3.C:
2175         * BufferView.[Ch]:
2176         * BufferView_pimpl.[Ch]: to here
2177         * frontends/screen.C:
2178         * insets/insettabular.C:
2179         * insets/insettext.C: adjust
2180         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2181
2182 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2183
2184         * BufferView.[Ch]:
2185         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2186
2187 2003-08-26  André Pönitz  <poenitz@gmx.net>
2188
2189         * paragraph_func.[Ch] (outerPar): new function
2190
2191         * paragraph.C:
2192         * paragraph_funcs.C:
2193         * paragraph_funcs.h:
2194         * paragraph_pimpl.C:
2195         * text2.C: remove Inset::par_owner
2196
2197 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2198
2199         * lyxrow_funcs.C:
2200         * lyxtext.h:
2201         * text.C:
2202         * text2.C: eliminates the needFullRow/display() stuff
2203         altogether, putting the logic in metrics/draw in the insets.
2204
2205 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * text2.C (redoParagraphInternal, redoParagraphs):
2208         * text.C (redoParagraph): add a call to updateRowPositions at the
2209         end of each 'metrics-like' call. Remove all others.
2210         (getRow): remove the 'y-computing' version.
2211         (getRowNearY): do not compute nor return the real y. Solve the
2212         'y < 0' problem and simplify.
2213
2214 2003-08-22  Angus Leeming  <leeming@lyx.org>
2215
2216         * *.[Ch]: clean-up of licence and author blurbs.
2217         Also move config.h out of a few .h files and into a few .C files.
2218
2219 2003-08-22  André Pönitz  <poenitz@gmx.net>
2220
2221         * lyxrow.[Ch]: add x_ and *fill_ members
2222
2223         * lyxtext.h:
2224         * text.C:
2225         * rowpainter.C:
2226         * text2.C: adjust/remove prepareToPrint() calls
2227
2228 2003-08-22  André Pönitz  <poenitz@gmx.net>
2229
2230         * lyxrow.[Ch]: add  end_ member
2231
2232         * lyxrow_funcs.C: use LyXRow::end_
2233
2234         * lyxtext.h (singleWidth): add LyXFont parameter
2235
2236         * rowpainter.C:
2237         * text2.C: adjust LyXText::singleWidth() calls
2238
2239         * text.C (redoParagraph): simplify row breaking logic
2240
2241
2242 2003-08-19  André Pönitz  <poenitz@gmx.net>
2243
2244         * funcrequest.C: initialize button_ member
2245
2246         * text3.C:
2247         * rowpainter.[Ch]: interface consolidation
2248
2249 2003-08-18  André Pönitz  <poenitz@gmx.net>
2250
2251         * BufferView.C:
2252         * BufferView_pimpl.C:
2253         * lyxfind.C:
2254         * paragraph_funcs.C:
2255         * rowpainter.C:
2256         * text3.C: remove LyXScreen::draw() and fitCursor calls
2257
2258         * BranchList.h: remove spurious semicolons
2259
2260         * MenuBackend.C: fix branchlist related crash
2261
2262 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * BranchList.[Ch]:
2265         * InsetList.[Ch]:
2266         * LColor.[Ch]:
2267         * LyXAction.C:
2268         * Makefile.am:
2269         * MenuBackend.[Ch]:
2270         * bufferparams.[Ch]:
2271         * factory.C:
2272         * lfuns.h:
2273         * lyxfunc.C:
2274         * text3.C: implements the 'branch inset'
2275         idea. This allows the output of various versions of a document
2276         from a single source version, selectively outputing or suppressing
2277         output of parts of the text.
2278         This implementation contains a 'branch list editor' in a separate
2279         tab of the document settings dialog. Branches are user definable
2280         and have a "display colour" to distinguish them on-screen.
2281
2282         ColorHandler was somewhat cleaned up.
2283         (1) make possible a dynamically growing LColor list by allowing
2284         the graphic context cache to grow along (vector);
2285         (2) eliminate an IMHO unnecessary step in colour allocation.
2286
2287 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2288
2289         * BufferView_pimpl.C: compile fix
2290
2291 2003-08-15  André Pönitz  <poenitz@gmx.net>
2292
2293         * rowpainter.C: remove extra metrics calls
2294
2295         * lyxtext.h: merge the two constructors into a single one,
2296           pass reference to owner's par list
2297
2298         * BufferView_pimpl.C:
2299         * text.C:
2300         * text2.C: adjust
2301
2302 2003-08-15  André Pönitz  <poenitz@gmx.net>
2303
2304         * lyxrow_funcs.[Ch]:
2305         * lyxtext.h:
2306         * paragraph.h:
2307         * paragraph_funcs.C:
2308         * rowpainter.C:
2309         * text.C:
2310         * text2.C:
2311         * text3.C:
2312         * text_funcs.C: split LyXText::rowlist_ into individual
2313         Paragraph::rows_ chunks
2314
2315         * BufferView.[Ch]:
2316         * BufferView_pimpl.[Ch]:
2317         * lyxfind.C:
2318         * lyxtext.h:
2319         * text3.C: remove toggleSelection()
2320
2321 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2322
2323         * bufferlist.C: beautify two alerts (shorter text of buttons)
2324         * buffer.C: Remove redundant ' ' from message
2325         * tabular.h:
2326         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2327         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2328         rename VALIGN_CENTER to VALIGN_MIDDLE
2329
2330 2003-08-11  André Pönitz  <poenitz@gmx.net>
2331
2332         * lyxtext.h (getPar):
2333         * text.C: new function
2334
2335 2003-08-11  André Pönitz  <poenitz@gmx.net>
2336
2337         * Makefile.am:
2338         * tracer.[Ch]: remove unneeded files
2339
2340         * InsetList.[Ch]: remove resizeInsetsLyXText()
2341
2342         * lyxtext.h:
2343         * text.C:
2344         * text2.C:
2345         * text3.C: merge insertParagraphs() and appendParagraph()
2346         remove breakAgain(), update()
2347
2348         * BufferView_pimpl.[Ch]:
2349         * bufferview_funcs.[Ch]:
2350         * lyxfunc.C:
2351         * paragraph.[Ch]:
2352         * rowpainter.C:
2353         * tabular.C: adjust after text & InsetList changes.
2354
2355 2003-08-08  André Pönitz  <poenitz@gmx.net>
2356
2357         * text.C (insertChar, backspace): replace rowlist fiddling
2358         with rebreak of full par
2359
2360         * lyxtext.h:
2361         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2362         checkParagraph, updateInset): removed
2363
2364 2003-08-07  André Pönitz  <poenitz@gmx.net>
2365
2366         * paragraph.C:
2367         * text3.C: merge some LFUN handlers, remove dead code
2368
2369 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2370
2371         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2372
2373 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * text2.C (DEPM): fix part of bug 1255 and 1256
2376
2377 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2378
2379         * BufferView_pimpl.C (workAreaDispatch): change to use
2380         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2381         that are no mouse related.
2382
2383 2003-08-05  André Pönitz  <poenitz@gmx.net>
2384
2385         * BufferView.[Ch]:
2386         * BufferView_pimpl.[Ch]:
2387         * bufferview_funcs.C:
2388         * text2.C:
2389         * text3.C: rip out "deep update"
2390
2391         * textcursor.[Ch] (last_sel_cursor): remove unused member
2392
2393 2003-08-04  André Pönitz  <poenitz@gmx.net>
2394
2395         * BufferView.[Ch]:
2396         * BufferView_pimpl.[Ch]:
2397         * ParagraphParameters.C:
2398         * bufferview_funcs.C:
2399         * lyx_cb.C:
2400         * lyxfind.C:
2401         * lyxfunc.C:
2402         * text.C:
2403         * text2.C:
2404         * text3.C: replace "complicated" BufferView::update(...) calls with
2405         simpler ones.
2406
2407         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2408
2409 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2410
2411         * Makefile.am (lyx_SOURCES): add paper.h
2412
2413 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2414
2415         * Makefile.am: move things around so that both lyx-qt and
2416         lyx-xforms can be built (according to --with-frontend). Then lyx
2417         is a symbolic link to lyx-[firstfrontend]
2418
2419 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2420
2421         * Always use std::endl with lyxerr
2422
2423 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2424
2425         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2426
2427 2003-08-01  André Pönitz  <poenitz@gmx.net>
2428
2429         * BufferView.[Ch]:
2430         * BufferView_pimpl.[Ch]:
2431         * lyxfunc.C:
2432         * text3.C: merge BufferView::repaint() and BufferView::update()
2433
2434 2003-08-01  José Matos  <jamatos@lyx.org>
2435
2436         * buffer.[Ch]: file_format is no longer a buffer data element.
2437
2438 2003-08-01  André Pönitz  <poenitz@gmx.net>
2439
2440         * BufferView.C:
2441         * lyxtext.h:
2442         * text.C:
2443         * text2.C: make redoParagraph more independent of current cursor
2444
2445         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2446         * text.C:
2447         * text2.C: remove unneeded members
2448
2449 2003-07-30  André Pönitz  <poenitz@gmx.net>
2450
2451         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2452
2453         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2454           create a single function...
2455
2456         * paragraph_funcs.C (moveItem): ... here.
2457
2458         * text.C:
2459           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2460
2461 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2462
2463         * LColor.[Ch]: Add comment and greyedout logical colors.
2464
2465 2003-07-30  André Pönitz  <poenitz@gmx.net>
2466
2467         * tabular.C: don't use Assert too heavily. This crashes where it
2468           shouldn't
2469
2470 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2473         is disabled (bug 1232)
2474
2475 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2476
2477         * factory.C: limited 'arg' scope
2478
2479 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2480
2481         * factory.C: fixed Note submenu issues
2482
2483 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2484
2485         * factory.C: submenu for Note/Comment/Greyedout
2486
2487 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2488
2489         * lyx_main.C (LyX):
2490         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2491
2492 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2493
2494         * LaTeXFeatures.C:
2495         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2496         greyedout. Patch provided by Jürgen Spitzmüller.
2497
2498 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2499
2500         * kbmap.C (read): fix error message when reading bind files
2501
2502 2003-07-29  Angus Leeming  <leeming@lyx.org>
2503
2504         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2505         certainly does not do what it purports to do. I am doing it, and
2506         us, a favour by killing it.
2507
2508 2003-07-28  José Matos  <jamatos@lyx.org>
2509
2510         * buffer.C (readBody, do_writeFile):
2511         * paragraph.C(readParagraph): \end_document replaces \the_end.
2512
2513 2003-07-29  André Pönitz  <poenitz@gmx.net>
2514
2515         * BufferView.[Ch]:
2516         * BufferView_pimpl.[Ch]:
2517         * lyxfunc.C:
2518         * text2.C:
2519         * text3.C:
2520         * textcursor.[Ch]: remove toggleToggle & Co
2521
2522 2003-07-28  José Matos  <jamatos@fep.up.pt>
2523
2524         * buffer.C (readParagraph):
2525         * params_func (readParToken, readParagraph):
2526         * paragraph.C (write): \layout -> \begin_layout.
2527
2528 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2529
2530         * lyxlex_pimpl.C (setFile): clean up slightly.
2531
2532         * bufferparams.h: add compressed var
2533
2534         * buffer_funcs.C (readFile): adjust for LyXLex change
2535         (newFile): ditto + simplify
2536
2537         * buffer.C (writeFile): handle writing of compressed files
2538
2539         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2540         Check if the file is compressed and set a bufferparm if so.
2541
2542         * Makefile.am (lyx_LDADD): remove explicit -lz
2543
2544 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2547         makeDocBookFile): put the real LyX version in the first line of
2548         the file
2549
2550         * version.h:
2551         * version.C.in: remove lyx_docversion
2552
2553         * tabular.C (write_attribute): add a template-based version to
2554         write enums properly
2555
2556 2003-07-28  André Pönitz  <poenitz@gmx.net>
2557
2558         * lyxtext.h:
2559         * text.C:
2560         * text2.C:
2561         * text3.C: use doubles again for x-coordinates. They are needed.
2562
2563 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * messages.C (getLocaleDir): use lyx_localedir()
2566
2567         * lyxlex_pimpl.C (setFile): compress stuff
2568
2569         * buffer.C (writeFile): add some compression stuff
2570         (do_writeFile): new func, dont call expliti close... will this
2571         breake anything?
2572
2573         * Makefile.am (lyx_LDADD): add -lz
2574
2575 2003-07-28  José Matos  <jamatos@fep.up.pt>
2576
2577         * buffer.C: increment file format.
2578         * paragraph_funcs (readParagraph, readParToken):
2579         * paragraph.C (readParagraph): add \end_layout.
2580
2581 2003-07-27  Angus Leeming  <leeming@lyx.org>
2582
2583         * Makefile.am: remove special casing for configure-time setting of
2584         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2585
2586         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2587         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2588
2589 2003-07-26  André Pönitz  <poenitz@gmx.net>
2590
2591         * paragraph_func.[Ch]:
2592         * paragraph.C (realizeFont): inline it whereever it is used
2593
2594         * rowpainter.C:
2595         * text.C:
2596         * text2.C:
2597         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2598
2599
2600 2003-07-26  André Pönitz  <poenitz@gmx.net>
2601
2602         *       lyxtext.h:
2603         * text.C:
2604         * text2.C: get rid of LyXText::need_break_row
2605
2606 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * toc.[Ch]: put namespace toc inside namespace lyx
2609
2610         * MenuBackend.C (expandToc2): adjust for lyx::toc
2611         (expandToc): ditto
2612
2613         * lyxfunc.C (dispatch): adjust for lyx::find
2614
2615         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2616         lyx::find instead. Reorganize a bit.
2617         (LyXReplace): rename to replace
2618         (LyXFind): rename to find
2619
2620         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2621         (dispatch): ditto
2622
2623 2003-07-26  André Pönitz  <poenitz@gmx.net>
2624
2625         * text.C (setHeightOfRow): restrict scope of temporary variable
2626
2627         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2628           code (never has been used?)
2629
2630 2003-07-27  Asger Alstrup  <alstrup@local>
2631
2632         * text.C (fill): Optimise algorithm to exploit that we can reuse
2633         the LyXFont for many characters.
2634         (setHeightOfRow): Same thing.
2635         (rowBreakPoint): Same thing.
2636
2637 2003-07-26  Asger Alstrup  <alstrup@local>
2638
2639         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2640
2641         * text.C (singleWidth): Spurious font copying in hot-spot
2642         singleWidth avoided. Reorder tests for arabic for efficiency.
2643
2644         * text.C (fill): handle empty paragraphs better.
2645
2646 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2647
2648         * ispell.C:
2649         * encoding.h: add includes
2650
2651         * lyxrc.C: remove reading of bind files
2652
2653         * lyx_main.C (init): setup bindings and menus only if we have a
2654         gui.
2655
2656         * kbmap.C (read): new method. Do the actual reading of bind
2657         files.
2658
2659         * converter.C (dvipdfm_options):
2660         * bufferparams.C:
2661         * lyxrc.C (read):
2662         (output): adapt PAPER_* enums.
2663
2664         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2665
2666         * bufferparams.h: remove paper-related enums from there
2667
2668         * paper.h: New file. A trivial header file to hold paper-related
2669         enums. It should later expand to contain many paper-related
2670         horrors access.
2671
2672         * lyxrc.C: declare extern displayTranslator
2673
2674 2003-07-27  José Matos  <jamatos@fep.up.pt>
2675
2676         * tabular.[Ch] (linuxdoc): add support for tables and figures
2677         (linuxdoc).
2678
2679 2003-07-27  José Matos  <jamatos@fep.up.pt>
2680
2681         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2682         consistency in both functions.
2683         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2684
2685 2003-07-26  Asger Alstrup  <alstrup@local>
2686
2687         * rowpainter.C (paintRows): Change algorithm to work directly on
2688         the insets rather than asking every character in the document
2689         whether its an inset.
2690
2691 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2692
2693         * buffer.C (openFileWrite): factorize some code
2694
2695 2003-07-26  Angus Leeming  <leeming@lyx.org>
2696
2697         * lyx_cb.C:
2698         * lyx_main.[Ch]: replace occurances of system_tempdir with
2699         os::getTmpDir().
2700
2701 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2702
2703         * rename Inset to InsetOld
2704
2705 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2706
2707         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2708         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2709         which I think is a bit clearer. EDIT is gone, since it was
2710         premature optimisation, and broken for mathed anyway.
2711         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2712         with cursor positioning in insets as well (math insets still do not
2713         work, but that's a different story anyway.) It mysteriously
2714         crashes sometimes with undo in the first paragraph, but I'm fairly
2715         confident that this is a compiler bug.
2716
2717 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2718
2719         * paragraph.C (Paragraph): adjust for new clone return type
2720         (operator==): ditto
2721         (copyIntoMinibuffer): ditto
2722
2723 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2724
2725         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2726         by not having a special case, and always doing a full rebreak of
2727         the document after undo.
2728
2729 2003-07-23  Angus Leeming  <leeming@lyx.org>
2730
2731         * factory.C (createInset): InsetExternal::setParams now takes a
2732         Buffer const * arg.
2733
2734 2003-07-23  Angus Leeming  <leeming@lyx.org>
2735
2736         * factory.C (createInset): changed interface to the external and
2737         graphics mailers' string2params functions.
2738
2739 2003-07-23  Angus Leeming  <leeming@lyx.org>
2740
2741         * factory.C (createInset): pass a
2742         Buffer const * parameter to InsetExternalMailer's string2params.
2743
2744 2003-07-22  John Levon  <levon@movementarian.org>
2745
2746         * Thesaurus.h: include the right aiksaurus header
2747
2748 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2749
2750         * MenuBackend.C (expand): check menu shortcuts unconditionally
2751
2752 2003-07-21  Angus Leeming  <leeming@lyx.org>
2753
2754         * factory.C (createInset): pass a
2755         buffer_path parameter to InsetGraphicsMailer's string2params.
2756
2757 2003-07-21  Angus Leeming  <leeming@lyx.org>
2758
2759         * BufferView_pimpl.C (buffer):
2760         * buffer.C (d-tor):
2761         * lyx_main.C (LyX):
2762         * lyxfunc.C (dispatch):
2763         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2764         rather than the grfx shortcut.
2765
2766 2003-07-21  André Pönitz  <poenitz@gmx.net>
2767
2768         * rowpainter.C: remove unused variables
2769
2770         * tabular_funcs.C:
2771         * tabular_funcs.h: move to tabular.C
2772         * Makefile.am: adjust
2773
2774         * tabular.[Ch]: basic optical cleaning
2775
2776         * author.h: pass references, not values
2777
2778 2003-07-18  André Pönitz  <poenitz@gmx.net>
2779
2780         * lyxtext.h:
2781         * metricsinfo.C:
2782         * metricsinfo.h:
2783         * rowpainter.C:
2784         * text.C:
2785         * text2.C:
2786         * text3.C: two-phase drawing for InsetText and InsetTabular
2787         some float -> int changes.
2788
2789 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2790
2791         * lyx_main.C: fix the fix
2792
2793 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * lyx_main.C: fix a crash in batch mode if no files specified
2796         * converter.C: ws
2797
2798 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * format.[Ch] (papersize): moved to BufferParams
2801         * converter.[Ch] (dvips_options): moved to BufferParams
2802         (dvipdfm_options): moved to anon namespace
2803         * bufferparams.[Ch]: added above functions.
2804
2805 2003-07-17  André Pönitz  <poenitz@gmx.net>
2806
2807         * lyxtext.h:
2808         * rowpainter.C:
2809         * text2.C: don't call inset->update() anymore
2810
2811         * metricsinfo.[Ch]: add convenience constructor
2812
2813 2003-07-16  André Pönitz  <poenitz@gmx.net>
2814
2815         * lyxcursor.[Ch]:
2816         * lyxfunc.[Ch]:
2817         * text.C:
2818         * text2.C: replace the LyXCursor::irow_ member with
2819          on-demand computation of the value
2820
2821 2003-07-16  John Levon  <levon@movementarian.org>
2822
2823         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2824
2825 2003-07-15  André Pönitz  <poenitz@gmx.net>
2826
2827         * text.C:
2828         * text2.C: remove no more needed refresh_row
2829
2830 2003-07-15  André Pönitz  <poenitz@gmx.net>
2831
2832         * lyxtext.h:
2833         * rowpainter.C:
2834         * text2.C:
2835         * text3.C: refresh_status tristate -> need_update bool
2836
2837 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * lyxtext.h (init): remove reinit argument (act as if always true)
2840         * text2.C: adjust to that
2841
2842 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2843
2844         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2845         * text3.C: use it to delete selections in some cases
2846         (bugs 441, 673, 702, 954).
2847
2848 2003-07-14  André Pönitz  <poenitz@gmx.net>
2849
2850         * rowpainter.[Ch]: reduce interface
2851
2852 2003-07-14  André Pönitz  <poenitz@gmx.net>
2853
2854         * BufferView_pimpl.C:
2855         * text2.C: adjust after removing unused BufferView * argument
2856
2857 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * text2.C (init): fix a crash fired on resize
2860
2861 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * buffer.[Ch]: added new closing signal
2864         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2865         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2866         BufferView::Pimpl via the closing the signal
2867
2868 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * buffer.[Ch]: take out all bv-related from buffer
2871         * BufferView.C:
2872         * BufferView_pimpl.[Ch]: connect to new signals
2873         * CutAndPaste.C: removed useless asserts
2874         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2875         * lyxvc.[Ch]:
2876         * vc-backend.[Ch]:
2877         * lyxfunc.C: moved view-related funciontality from vc here
2878         * paragraph.C: removed outdated comments
2879         * text.C: ws
2880
2881 2003-07-10  André Pönitz  <poenitz@gmx.net>
2882
2883         * BufferView_pimpl.C:
2884         * tabular.h:
2885         * tabular_funcs.C:
2886         * text.C:
2887         * text2.C: remove InsetText::InnerCache, clean up consequences
2888
2889 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2890
2891         * ispell.C: fix two typos in error messages
2892
2893 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2894
2895         * Extend Note inset to other forms of annotation like Comment
2896         and Greyedout. Right button click gives dialog.
2897
2898         Files modified or added (+):
2899
2900         * insetnote.[Ch]
2901         * FormNote.[Ch]      +
2902         * ControlNote.[Ch]   +
2903         * form_note.fd       +
2904         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2905         frontends/controllers
2906         * xforms/Dialogs.C
2907         * factory.C
2908
2909 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2910
2911         * aspell.C: add missing namespace lyx::support
2912
2913 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * BufferView.[Ch] (newFile): Add
2916         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2917         * LaTeX.[Ch] (message): added this signal and use it
2918         * buffer.[Ch] (busy, message): added these signals and use them
2919         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2920         * converter.C:
2921         * exporter.C:
2922         * format.C:
2923         * importer.C: use buffer signals instead of direct bv calling
2924         * lyx_cb.[Ch] (ShowMessage): removed
2925         * lyx_main.C:
2926         * lyxfunc.C:
2927         * paragraph_funcs.C:
2928         * text2.C: use buffer signals
2929
2930 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2931
2932         * introduce namespace lyx::graphics
2933
2934 2003-07-02  André Pönitz  <poenitz@gmx.net>
2935
2936         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2937
2938 2003-07-01  André Pönitz  <poenitz@gmx.net>
2939
2940         * text.C:
2941         * text2.C:
2942         * text3.C:
2943         * text_funcs.[Ch]:
2944         * textcursor.h:
2945         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2946           text*.C to text_func.C
2947
2948 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * introduce namespace lyx::support
2951
2952 2003-06-30  André Pönitz  <poenitz@gmx.net>
2953
2954         * Chktex.C:
2955         * funcrequest.C:
2956         * lyxtext.h:
2957         * text.C: re-enable --with-included-string
2958
2959 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * textcursor.C: add <config.h>
2962
2963         * text.C (getWord): remove const from word_location arg
2964
2965         * lyxvc.C (getLogFile): fix const type order
2966
2967         * lyxtext.h: remove const from word_location arg, add arg name
2968
2969         * lyxlayout.h: currect type on labeltype.
2970
2971         * importer.C: correct \file
2972
2973         * converter.C (intToFormat): use std:: on ret val, ws changes
2974
2975         * bufferlist.h: correct \file
2976
2977         * buffer.C (makeLinuxDocFile): fix const type order
2978         (makeDocBookFile): ditto
2979         (fillWithBibKeys): use std:: on stdlib args.
2980
2981         * CutAndPaste.C: fix authors.
2982         (availableSelections): use std:: on return vector
2983
2984 2003-06-27  André Pönitz  <poenitz@gmx.net>
2985
2986         * BufferView_pimpl.C:
2987         * bufferview_funcs.C:
2988         * lyxcursor.C:
2989         * lyxcursor.h:
2990         * lyxfunc.C:
2991         * lyxtext.h:
2992         * rowpainter.C:
2993         * text.C:
2994         * text2.C:
2995         * text3.C: remove LyXCursor::row_ member
2996
2997         * lyxtext.h:
2998         * text.C: rename fullRebreak() to partialRebreak() and implement
2999           a fullRebreak() that really bereks fully
3000
3001         * textcursor.h: new struct for cursor-related data
3002
3003 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * lyx_main.C (LyX): get full path of document loaded on the
3006         command line
3007
3008 2003-06-26  André Pönitz  <poenitz@gmx.net>
3009
3010         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3011           remove unused/broken operator>,<,>=.
3012
3013         *       text.C: remove only use of broken operator<= in an Assert().
3014
3015 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3018         moved errorlist_.clear to showErrorList
3019
3020 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3021
3022         * converter.C (scanLog, runLaTeX):
3023         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3024         move the bv->showErrorList call to the callers
3025         * lyxfunc.C: i.e. here...
3026         * text2.C: and here
3027         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3028         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3029         namespace, the second to...
3030         * buffer_funcs (BufferFormat, parseErrors): added
3031         * errorlist.C (ErrorList(TeXErrors const &)): removed
3032
3033 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3034
3035         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3036
3037 2003-06-24  "Garst R. Reese" <reese@isn.net>
3038
3039         * debug.C: fix typo
3040
3041 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3042
3043         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3044
3045         * version.C.in: change docversion to 1.4
3046
3047 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * buffer.C: fix a bug just introduced
3050
3051 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * buffer.[Ch]: added the parseError signal and use it, removed
3054         sgmlError
3055         * BufferView.[Ch] (addError): moved to ...
3056         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3057         to the Buffer::parseError signal to catch (guess what) parse errors
3058         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3059
3060 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3063         ability to create a buffer and to return an existing one from
3064         the list. Moved these functions to...
3065         * buffer_funcs.[Ch]: added
3066         * BufferView.[Ch] (loadLyXFile): added
3067         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3068         job removed from bufferlist::loadLyXFile.
3069         * buffer.C (setReadOnly): make it work without view
3070         (i.e added an if (users))
3071
3072 2003-06-19  Angus Leeming  <leeming@lyx.org>
3073
3074         * lfuns.h:
3075         * LyXAction.C (init):
3076         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3077         with LFUN_DIALOG_SHOW <name> <data>.
3078
3079 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3080
3081         * CutAndPaste.C (availableSelections): small compilation fix for
3082         ancient (gcc 2.9x) compilers
3083
3084 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * text3.C (cursorNext): add tmp var
3087
3088         * text2.C (updateCounters): for function calling out of for clause
3089         (replaceSelectionWithString): ditto
3090         (insertStringAsParagraphs): ditto
3091         (getColumnNearX): add tmp var
3092         (setCursorFromCoordinates): add tmp var
3093         (cursorDownParagraph): add tmp var
3094         (deleteEmptyParagraphMechanism): add tmp var
3095
3096         * text.C (insertChar): add tmp var
3097
3098         * rowpainter.C (paintDepthBar): add tmp var
3099
3100         * CutAndPaste.C (availableSelections): potentially check all
3101         paragraphs in a cut to fill the shown strings.
3102
3103 2003-06-18  André Pönitz  <poenitz@gmx.net>
3104
3105         * kbmap.[Ch]: use vector<> instead of list<>
3106
3107 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3108
3109         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3110         pasteSelection with index
3111
3112         * text2.C (pasteSelection): modify, call pasteSelection with index
3113
3114         * paragraph.C (asString): reimplement version with no interval to
3115         call the one with interval.
3116
3117         * lyxtext.h: add index arg to pasteSelection
3118
3119         * MenuBackend.C (MenuItem): handle PasteRecent
3120         (Menu::read::Menutags): add md_pasterecent
3121         (read): handle it
3122         (expandPasteRecent): new function
3123         (expand): use it
3124
3125         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3126
3127         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3128         the limited stack
3129         (availableSelections): new function
3130
3131 2003-06-17  Angus Leeming  <leeming@lyx.org>
3132
3133         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3134
3135 2003-06-17  Angus Leeming  <leeming@lyx.org>
3136
3137         * lfuns.h:
3138         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3139
3140         * lyxfunc.C (dispatch): invoke it.
3141
3142 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3143
3144         * iterators.C (operator++, ParPosition): reintroduce some
3145         const_cast for the benefit of older compilers.
3146
3147 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3148
3149         * text3.C (dispatch): do not modify clipboard when doing
3150         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3151         LFUN_DELETE_SKIP on a selection selection
3152
3153 2003-06-16  André Pönitz  <poenitz@gmx.net>
3154
3155         * BufferView.C:
3156         * buffer.C:
3157         * buffer.h:
3158         * paragraph.C:
3159         * tabular.[Ch]: IU of clone() and getLabelList();
3160
3161 2003-06-13  André Pönitz  <poenitz@gmx.net>
3162
3163         * tabular.h: compactification
3164
3165 2003-06-12  André Pönitz  <poenitz@gmx.net>
3166
3167         * tabular.C:
3168         * tabular.h:
3169         * tabular_funcs.h: some renaming plus whitespace
3170
3171 2003-06-12  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView.C:
3174         * BufferView_pimpl.C:
3175         * CutAndPaste.C:
3176         * buffer.C:
3177         * iterators.[Ch]:
3178         * lyxfunc.C:
3179         * text.C:
3180         * toc.C: Return a Paragraph & for ParIterator::operator*()
3181
3182 2003-06-11  John Levon  <levon@movementarian.org>
3183
3184         * lyx_main.C:
3185         * ToolbarBackend.h:
3186         * ToolbarBackend.C: add "Toolbars" section and
3187         put the flags there
3188
3189 2003-06-10  Angus Leeming  <leeming@lyx.org>
3190
3191         * lfuns.h:
3192         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3193
3194         * lyxfunc.C (dispatch): invoke it.
3195
3196 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * main.C: protect <ios> with HAVE_IOS
3199         (main): protect sync_with_stdio with HAVE_IOS
3200
3201 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3202
3203         * text2.C (cutSelection): adjust
3204         (pasteSelection): adjust
3205
3206         * messages.C: handle get of empty string
3207
3208         * main.C (main): use sync_with_stdio(false)
3209
3210         * lyxfunc.C (dispatch): adjust
3211
3212         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3213         (WriteAs): remove unneeded BufferView arg.
3214
3215         * bufferparams.h: use correct types on papersize, papersize2 and
3216         paperpackage.
3217
3218         * bufferparams.C (readToken): adjust for type
3219         (writeLaTeX): add missing cases to switch.
3220
3221         * bufferlist.C (quitWriteBuffer): adjust
3222         (close): adjust
3223
3224         * buffer.C (asciiParagraph): remove some commented code.
3225
3226         * CutAndPaste.C: remove current_view extern variable.
3227         (cutSelection): add BufferParams arg.
3228         (eraseSelection): add BufferParams arg.
3229         (pasteSelection): add Buffer const & arg
3230
3231 2003-06-07  John Levon  <levon@movementarian.org>
3232
3233         * buffer.C:
3234         * paragraph_funcs.C:
3235         * paragraph_pimpl.C:
3236         * text.C:
3237         * text2.C:
3238         * paragraph.h:
3239         * paragraph.C: allow InsetERT to freely space lines,
3240         and some consolidation of code
3241
3242 2003-06-06  José Matos  <jamatos@fep.up.pt>
3243
3244         * buffer.C (makeDocBookFile): fix bug #821
3245
3246 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3249
3250 2003-06-04  Angus Leeming  <leeming@lyx.org>
3251
3252         * buffer.C: bump format to 224.
3253
3254 2003-06-05  André Pönitz  <poenitz@gmx.net>
3255
3256         * text2.C (redoParagraphs): remove two const_cast<>
3257
3258 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3259
3260         * ParagraphList.h: remove last remnants of NO_STD_LIST
3261
3262 2003-06-03  Angus Leeming  <leeming@lyx.org>
3263
3264         * factory.C (createInset): small change to the way InsetExternal's params
3265         are set.
3266
3267 2003-06-04  André Pönitz  <poenitz@gmx.net>
3268
3269         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3270
3271         * paragraph_pimpl.h:
3272         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3273
3274         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3275
3276         * undo_funcs.C: make some simple cases of undo work again
3277
3278 2003-06-03  John Levon  <levon@movementarian.org>
3279
3280         * ispell.C: HPUX doesn't have sys/select.h
3281         (from Albert Chin)
3282
3283 2003-06-03  John Levon  <levon@movementarian.org>
3284
3285         * CutAndPaste.C: update tabular and include inset
3286         buffer references
3287
3288         * buffer.h:
3289         * paragraph.h:
3290         * paragraph.C: remove owningBuffer(), don't pass Buffer
3291         to clone()
3292
3293         * factory.C: insetGraphicsParams changed
3294
3295 2003-06-02  John Levon  <levon@movementarian.org>
3296
3297         * LyXAction.C:
3298         * factory.C:
3299         * lfuns.h:
3300         * lyxfunc.C:
3301         * text3.C: remove insetparent
3302
3303 2003-06-02  John Levon  <levon@movementarian.org>
3304
3305         * buffer.h:
3306         * buffer.C: fix inset_iterator.end(), move out of line
3307         (bug 1149)
3308
3309 2003-06-01  John Levon  <levon@movementarian.org>
3310
3311         * text3.C: use a proper cut/paste when doing inset
3312         insert (from Jürgen Spitzmüller)
3313
3314 2003-06-01  John Levon  <levon@movementarian.org>
3315
3316         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3317
3318 2003-05-30  André Pönitz  <poenitz@gmx.net>
3319
3320         * rowpainter.C: unify second drawing phase
3321
3322 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3323
3324         * trans_mgr.C: remove one case of current_view
3325
3326         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3327
3328         * paragraph_funcs.h: remove paragraph.h include
3329
3330         * paragraph.h: delete NO_STD_LIST stuff
3331
3332         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3333
3334         * buffer.h: remove paragraph.h include
3335
3336         * ParagraphList.C: delete file
3337
3338         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3339
3340         * toc.C (getTocList): adjust
3341
3342         * paragraph_pimpl.C (validate): adjust
3343
3344         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3345
3346         * paragraph.C (Paragraph): adjust
3347         (getPositionOfInset): use const_iterator, adjust
3348         (bibitem): use const_iterator, adjust
3349         (setInsetOwner): adjust
3350
3351         * iterators.C (operator++): adjust
3352
3353         * InsetList.[Ch]: Replace selfmade iterator with standard
3354         vector::iterator also introduce const_iterator. Remove getPos,
3355         getInset and setInset from InsetTable. Adjust accordingly.
3356
3357         * BufferView.C (lockInset): adjust
3358         (ChangeInsets): adjust
3359
3360         * tabular.[Ch]: delete commented same_id functions
3361
3362 2003-05-28  John Levon  <levon@movementarian.org>
3363
3364         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3365
3366 2003-05-28  André Pönitz  <poenitz@gmx.net>
3367
3368         * metricsinfo.[Ch]: remove 'fullredraw' member
3369
3370 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3371
3372         * lyxtextclass.C (operator): remove caching.
3373
3374 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3375
3376         * text3.C: adjust
3377
3378         * text2.C (cursorBottom): adjust
3379         (setCounter): use ParagraphList::find, adjust
3380
3381         * text.C (workWidth): use ParagraphList::find, adjust
3382
3383         * lyxcursor.C (LyXCursor): adjust
3384
3385         * buffer.C (inset_iterator): adjust
3386
3387         * ParagraphList.h: make iterator(value_type) private, make
3388         ParagraphList a friend of iterator.
3389
3390         * ParagraphList.C (find): new function
3391
3392         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3393
3394 2003-05-27  André Pönitz  <poenitz@gmx.net>
3395
3396         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3397
3398 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3399
3400         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3401
3402 2003-05-26  John Levon  <levon@movementarian.org>
3403
3404         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3405
3406 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * remove same_id from function signatures, adjust.
3409
3410 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3413
3414         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3415
3416         * paragraph.C (Paragraph): get rid of same_ids parameter
3417
3418         * ParagraphList.C (insert): adjust
3419         (push_back): adjust
3420
3421 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3422
3423         * paragraph_funcs.C (breakParagraph): adjust
3424         (breakParagraphConservative): adjust
3425
3426         * buffer.C (readParagraph): adjust
3427
3428         * ParagraphList.C (insert): take a reference instead of a pointer
3429         (insert): adjust
3430
3431         * paragraph.[Ch] (id): new function
3432
3433         * bufferlist.C (newFile): adjust
3434
3435         * ParagraphList.C (ParagraphList): adjust
3436         (assign): adjust
3437         (push_back): take a reference instead of a pointer.
3438
3439         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3440
3441         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3442         instead.
3443
3444         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3445         set else use old code.
3446
3447         * ParagraphList.C: remove all NO_NEXT code and only compile this
3448         code of NO_STD_LIST is set.
3449
3450 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * BufferView_pimpl.C:
3453         * TextCache.C:
3454         * TextCache.h:
3455         * bufferlist.C:
3456         * errorlist.h:
3457         * format.C:
3458         * format.h:
3459         * graph.C:
3460         * lyxfunc.C:
3461         * lyxrc.C:
3462         * graphics/GraphicsConverter.C:
3463         * graphics/PreviewLoader.C: header adjustment
3464
3465 2003-05-23  Angus Leeming  <leeming@lyx.org>
3466
3467         * LaTeXFeatures.[Ch] (useBabel): new method.
3468         * bufferparams.C (writeLaTeX): use it.
3469
3470 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * ParagraphList.h (set): remove unused function.
3473
3474 2003-05-23  André Pönitz  <poenitz@gmx.net>
3475
3476         * BufferView.C:
3477         * BufferView_pimpl.C:
3478         * buffer.C:
3479         * buffer.h:
3480         * lyxfunc.C:
3481         * undo_funcs.C: setUndo reworked
3482
3483         * iterators.[Ch]: add access to topmost ParagraphList
3484
3485         * lyxtext.[Ch] (workWidth): add a const
3486
3487 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3488
3489         * texrow.[Ch] (increasePos): remove function
3490         * exporter.C (export): removed unused var and outdated comment
3491
3492 2003-05-23  Angus Leeming  <leeming@lyx.org>
3493
3494         * latexrunparams.h: rename fragile as moving_arg.
3495         * paragraph.C (simpleTeXOnePar): ditto.
3496         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3497
3498 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3501         (createUndo): ditto
3502         (textUndoOrRedo): comment out a currently unused var.
3503
3504         * paragraph.h (NO_NEXT): enable NO_NEXT
3505
3506         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3507
3508         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3509
3510         * exporter.C (Export): adjust for removeAutoInsets removal.
3511
3512         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3513
3514         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3515
3516         * BufferView.[Ch] (removeAutoInsets): delete function
3517
3518 2003-05-22  Angus Leeming  <leeming@lyx.org>
3519
3520         * latexrunparams.h: add a free_spacing variable.
3521
3522         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3523         to pass moving_arg, as the data is stored in runparams.fragile.
3524
3525         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3526         to Inset::latexOptional or to simpleTeXOnePar.
3527
3528         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3529         free_spacing arg to Inset::latexOptional.
3530
3531         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3532         free_spacing arg.
3533
3534 2003-05-22  Angus Leeming  <leeming@lyx.org>
3535
3536         * latexrunparams.h: add fragile and use_babel variables.
3537
3538         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3539         * buffer.C (makeLaTeXFile): store this returned value in
3540         runparams.use_babel, thus passing it to the inset::latex methods.
3541
3542         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3543         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3544
3545         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3546         longer has a fragile arg, as it is stored in runparams.fragile.
3547
3548         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3549         moving_arg parameter as the data is stored in runparams.fragile.
3550
3551         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3552         a fragile parameter as the data is stored in runparams.fragile.
3553
3554 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3557
3558 2003-05-22  Angus Leeming  <leeming@lyx.org>
3559
3560         * latexrunparams.h: add a 'bool nice' which defaults to false.
3561
3562         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3563         now encapsulated within runparams.
3564
3565         * bufferlist.C (updateIncludedTeXfiles):
3566         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3567
3568 2003-05-22  Angus Leeming  <leeming@lyx.org>
3569
3570         * latexrunparams.h: new file containing struct LatexRunParams.
3571         * Makefile.am: add new file.
3572
3573         * LaTeX.[Ch] (c-tor, run):
3574         * buffer.[Ch] (makeLaTeXFile):
3575         * bufferlist.[Ch] (updateIncludedTeXfiles):
3576         * converter.C (convert, scanLog):
3577         * converter.[Ch] (runLaTeX):
3578         * exporter.C (Export):
3579         * paragraph.[Ch] (simpleTeXOnePar):
3580         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3581         * paragraph_funcs.[Ch] (latexParagraphs):
3582         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3583         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3584         pass around a LatexRunParams parameter.
3585
3586 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * paragraph.[Ch]: remove unused constructor
3589
3590         * ParagraphList.C (erase): new function, taking two iterators
3591
3592 2003-05-22  André Pönitz  <poenitz@gmx.net>
3593
3594         * undo_funcs.C: remove duplicated code
3595
3596         * iterator.[Ch]: operator=
3597
3598 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * tabular.C (SetMultiColumn): ws changes
3601
3602         * rowpainter.C (paintFirst): get rid of a ->previous
3603
3604         * lyx_cb.C (getPossibleLabel): parlist simplification
3605
3606         * BufferView.C (ChangeInsets): simplify slightly.
3607
3608 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3609
3610         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3611         * lfuns.h: new LFUN_SPACE
3612         * lyxfunc.C: protected space has a new lfun
3613         * paragraph_funcs.C: read new space insets
3614         * text3.C:
3615         * factory.C: handle new space insets
3616
3617 2003-05-22  André Pönitz  <poenitz@gmx.net>
3618
3619         * BufferView.C:
3620         * BufferView_pimpl.C:
3621         * buffer.[Ch]:
3622         * lyxfunc.C:
3623         * undo_funcs.C: return a ParIterator from getParFromID.
3624
3625         * iterators.[Ch]: add two const's
3626
3627 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * toc.C (getTocList): adjust
3630
3631         * iterators.[Ch]: rework for parlist
3632
3633         * buffer.C (par_iterator_begin): adjust
3634         (par_iterator_end): adjust
3635
3636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3637
3638         * BufferView.C (removeAutoInsets): adjust
3639         (ChangeInsets): adjust
3640
3641 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * text.C (top_y): fix bug 1110
3644
3645 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * errorlist.[Ch]: added
3648         * buffer.C:
3649         * BufferView.[Ch]:
3650         * BufferView_pimpl.C:
3651         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3652         instead
3653
3654 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * Makefile.am: ensure that lyx is relinked upon changes to the
3657         various "convenience" libs.
3658
3659 2003-05-20  Angus Leeming  <leeming@lyx.org>
3660
3661         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3662         files are compiled in alphabetical order again.
3663
3664         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3665
3666 2003-05-19  Angus Leeming  <leeming@lyx.org>
3667
3668         * gettext.[Ch]: remove "char const * _(char const *)".
3669
3670 2003-05-19  André Pönitz  <poenitz@gmx.net>
3671
3672         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3673
3674         * Makefile.am:
3675         * BufferView.C:
3676         * DepTable.h:
3677         * LaTeXFeatures.C:
3678         * buffer.C:
3679         * lyxfont.C:
3680         * lyxlex.h:
3681         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3682
3683 2003-05-19  André Pönitz  <poenitz@gmx.net>
3684
3685         * buffer.C:
3686         * lyxlayout.[Ch]:
3687         * lyxtextclass.[Ch]:
3688         * paragraph.C:
3689         * paragraph_funcs.[Ch]:
3690         * text2.C:
3691         * text3.C: more insetenv work
3692
3693 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * ParagraphParameters.C (params2string): small bug fixed
3696
3697 2003-05-16  André Pönitz  <poenitz@gmx.net>
3698
3699         * debug.C:
3700         * bufferview_funcs.C: patch from Kornel Benko to prevent
3701           crash when _(...) is called twice in a statement
3702
3703 2003-05-16  André Pönitz  <poenitz@gmx.net>
3704
3705         * BufferView.C:
3706         * lyxfunc.C:
3707         * text.C:
3708         * text2.C:
3709         * text3.C:
3710         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3711
3712 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * lyx_main.C (init): remove spurious static_cast
3715
3716 2003-05-14  André Pönitz  <poenitz@gmx.net>
3717
3718         * BufferView.C: fix format string
3719
3720 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * BufferView.[Ch] (insertErrors): removed
3723         * BufferView.[Ch] (showErrorList): added
3724         * buffer.C (runChkTeX):
3725         * converter.C (scanLog): call showErrorList instead of inserterrors
3726
3727 2003-05-13  André Pönitz  <poenitz@gmx.net>
3728
3729         * BufferView_pimpl.C:
3730         * buffer.C:
3731         * bufferview_func.C:
3732         * MenuBackend.C:
3733         * lyxfunc.C:
3734         * lyxrc.C:
3735         * tex-accent.C:
3736         * text3.C:
3737         * toc.C:
3738         * tabular_funcs.h: tostr() from its own header
3739
3740         * ParagraphParameters.C:
3741         * ToolbarBackend.C:
3742         * bufferparams.C:
3743         * format.C:
3744         * lyxlex_pimpl.C:
3745         * text3.C: STRCONV()
3746
3747 2003-05-12  André Pönitz  <poenitz@gmx.net>
3748
3749         * BufferView.C:
3750         * BufferView_pimpl.C:
3751         * CutAndPaste.C:
3752         * LaTeX.C:
3753         * LaTeXFeatures.C:
3754         * ParagraphParameters.C:
3755         * buffer.C:
3756         * bufferlist.C:
3757         * bufferparams.C:
3758         * bufferview_funcs.C:
3759         * converter.C:
3760         * counters.C:
3761         * debug.C:
3762         * exporter.C:
3763         * format.C:
3764         * importer.C:
3765         * lyx_cb.C:
3766         * lyx_main.C:
3767         * lyxfont.C:
3768         * lyxfunc.C:
3769         * lyxvc.C:
3770         * paragraph.C:
3771         * paragraph_funcs.C:
3772         * tabular.C:
3773         * tabular_funcs.C:
3774         * text2.C:
3775         * text3.C:  boost::format -> bformat  all over the place
3776
3777
3778 2003-05-09  André Pönitz  <poenitz@gmx.net>
3779
3780         * LColor.[Ch]: Pimpl the #include <map> away
3781
3782 2003-05-09  John Levon  <levon@movementarian.org>
3783
3784         * bufferlist.C: never remove emergency saves
3785
3786 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * Makefile.am: better lib building
3789
3790 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3793         instead.
3794         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3795         (simpleTeXSpecialChars): adjust
3796         (simpleTeXSpecialChars): adjust
3797         * paragraph.C (simpleTeXOnePar): adjust
3798         * buffer.C (makeLaTeXFile): adjust
3799
3800         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3801
3802         * text2.C (changeDepth): parlist cleanup
3803         (getColumnNearX): ditto
3804
3805         * rowpainter.C (getLabelFont): parlist cleanup
3806
3807         * bufferlist.C (newFile): parlist cleanup
3808
3809         * CutAndPaste.C (eraseSelection): parlist cleanup
3810
3811         * BufferView_pimpl.C (trackChanges): parlist cleanup
3812         (dispatch): ditto
3813
3814         * BufferView.C (lockInset): parlist cleanup.
3815         (ChangeInsets): ditto
3816
3817 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * CutAndPaste.h: Update file header.
3820
3821         * CutAndPaste.C: Update file header.
3822         Store the parts cut out of the Document in a limited_stack.
3823         (copySelection): adjust
3824         (pasteSelection): new function, takes the index in the limited stack.
3825         (nrOfParagraphs): adjust
3826         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3827         simplify error inset insertion.
3828         (checkPastePossible): adjust
3829
3830 2003-05-06  John Levon  <levon@movementarian.org>
3831
3832         * text2.C: don't cast wrap inset to float
3833
3834 2003-05-05  André Pönitz  <poenitz@gmx.net>
3835
3836         * iterator.C:
3837         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3838
3839         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3840           few naked Paragraph *.
3841
3842 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3843
3844         * bufferparams.C: Output warning if a document with missing
3845         TeX document class is loaded
3846         * exporter.C: Disable TeX exports if the document class is missing
3847         * lyxtextclass.C:
3848         * lyxtextclass.h:
3849         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3850         isTeXClassAvailable()
3851
3852 2003-05-03  John Levon  <levon@movementarian.org>
3853
3854         * BufferView.h:
3855         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3856         explicit cursor show/hide
3857
3858         * BufferView_pimpl.h:
3859         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3860         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3861
3862         * lyxfunc.C: hide cursor before dispatching.
3863
3864         * lyx_cb.C:
3865         * lyxfind.C:
3866         * text.C:
3867         * text3.C: remove explicit cursor hides
3868
3869 2003-05-02  André Pönitz  <poenitz@gmx.net>
3870
3871         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3872
3873         * undo_funcs.C:
3874         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3875           linked lists
3876
3877         * text2.C: tiny whitespace
3878
3879 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * undo_funcs.C: almost only ws changes.
3882
3883         * ParagraphList.C (splice): just return if pl is empty.
3884
3885 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * ParagraphList.C (splice): new function.
3888
3889         * CutAndPaste.C (pasteSelection): use it
3890
3891 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * CutAndPaste.C (pasteSelection): remove the last next and
3894         previous from this file.
3895
3896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * CutAndPaste.C (pasteSelection): more clean up, user proper
3899         ParagraphList functions for pasteing.
3900
3901         * ParagraphList.C (insert): new function, three arg insert
3902
3903 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * ParagraphList.C (insert): new function, three arg insert
3906
3907         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3908         not on paragraphs.
3909
3910 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3913
3914 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3917
3918 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3921         (copySelection): clean up a bit.
3922         (pasteSelection): use make_pair
3923
3924         * ParagraphList.C (ParagraphList): implement copy constructor
3925         (operator=): implement, base on copy constructor.
3926         (assign): new func
3927
3928         * paragraph.C (erase): return a bool
3929
3930         * paragraph_pimpl.C (erasePos): remove function, move contents...
3931         (erase): ... here. Return a bool.
3932         (erase): call erase instead of erasePos.
3933
3934 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * ParagraphList.h: define PitPosPair
3937         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3938         ParagraphList, fix a bug on pasting multiple pars
3939         * text2.C: change interface to C&P
3940
3941 2003-04-30  André Pönitz  <poenitz@gmx.net>
3942
3943         * undo_func.C: revert part of yesterday's patch 2
3944
3945 2003-04-30  John Levon  <levon@movementarian.org>
3946
3947         * LColor.C: s/tabular/table/
3948
3949 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * text3.C (dispatch): do not convert iterator -> pointer
3952         * undo_funcs.C (setCursorParUndo): ditto
3953         * text_funcs.C (transposeChars): ditto
3954
3955         * text2.C (setLayout): ws changes only
3956
3957         * text.C (breakParagraph): do not convert iterator -> pointer
3958         (insertChar): ditto
3959         (acceptChange): ditto
3960         (rejectChange): ditto
3961         (changeCase): ditto
3962         (Delete): ditto
3963         (backspace): ditto
3964
3965         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3966         pointer
3967
3968 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3969
3970         * text3.C (gotoInset): YABG (yet another bad getChar)
3971
3972 2003-04-29  André Pönitz  <poenitz@gmx.net>
3973
3974         * paragraph.h: make operator= private unimplemented as long as
3975           it is unusable
3976
3977         * ParagraphList.C: whitespace
3978
3979         * paragraph.[Ch]:
3980         * paragraph_pimpl.[Ch]:
3981         * paragraph_funcs.C:
3982         * CutAndPaste.C:
3983         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3984
3985         * text2.C:
3986           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3987
3988 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3991         * paragraph.[Ch] (erase):
3992         * paragraph_pimpl.[Ch] (erase): change return type and value
3993         * text2.C (cutSelection): some rework
3994
3995 2003-04-28  John Levon  <levon@movementarian.org>
3996
3997         * bufferlist.C: changes for unsaved changes dialog
3998
3999 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * bufferlist.C (newFile): set language (messages_) for new
4002         documents also.
4003
4004         * buffer.C (readFile): ws changes only.
4005
4006 2003-04-28  André Pönitz  <poenitz@gmx.net>
4007
4008         * undo_funcs.C:
4009         * lyxfunc.C:
4010         * buffer.[Ch]:
4011         * BufferView_pimpl.C:
4012         * BufferView.C: getParFromID related ParagraphList::iterator changes
4013
4014 2003-04-28  André Pönitz  <poenitz@gmx.net>
4015
4016         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4017           Changes
4018
4019 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * messages.C: remove one more localedir class variable.
4022
4023 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * messages.C (getLocaleDir): singleton generation function
4026         (Pimpl): use it.
4027         (Messages): add a default constructor.
4028
4029         * main.C (main): do not setup localedir here, do not call
4030         gettext_init.
4031
4032         * gettext.C (_): use it.
4033         (gettext_init): delete funciton
4034
4035 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * gettext.C (getLyXMessages): new singleton generating function.
4038
4039         * buffer.C (updateDocLang): adjust
4040
4041         * Makefile.am (messages.o): add target
4042         (main.o): remove target
4043
4044 2003-04-27  John Levon  <levon@movementarian.org>
4045
4046         * bufferlist.C:
4047         * lyx_cb.C:
4048         * lyxfunc.C:
4049         * lyxvc.C: specify cancel button in Alert::prompt
4050
4051 2003-04-26  John Levon  <levon@movementarian.org>
4052
4053         * text3.C:
4054         * lyxfunc.C:
4055         * lfuns.h:
4056         * LyXAction.C: add LFUN_INSET_SETTINGS
4057
4058         * lyxfunc.C: don't enable tabular-feature when there's
4059         just any locking inset
4060
4061 2003-04-26  John Levon  <levon@movementarian.org>
4062
4063         * bufferlist.C: re-add Cancel to buffer close question
4064
4065         * lyxfunc.C: fix import UI a bit
4066
4067 2003-04-25  John Levon  <levon@movementarian.org>
4068
4069         * gettext.C: remove the broken asserts for now
4070
4071 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * messages.C: make case where setlocale cannot comply work better.
4074
4075         * buffer.C (updateDocLang): new function
4076         (changeLanguage): use it
4077         (readFile): use it
4078
4079         * text2.C (setCounter): use B_ a bit.
4080
4081         * lyxlayout.C (Read): be sure to trim the label strings.
4082
4083         * messages.C (Messages): fix typo in comment
4084
4085         * buffer.C (readFile): set message_ after file is loaded.
4086         (makeDocBookFile): remove double return
4087         (changeLanguage): reset message_ upon language change.
4088         (B_): new func, use this to get translated buffer strings.
4089
4090         * main.C: add myself and Jean Marc as authors.
4091
4092 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * messages.[hC]: pimplify Messages, and three different pimpls to be
4095         used in different circumstances.
4096
4097         * gettext.[Ch]: change for use with new message code.
4098
4099 2003-04-24 André Pönitz <poenitz@gmx.net>
4100
4101         * factory.C: support for eqref
4102
4103 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * messages.[Ch]: add missing char
4106
4107         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4108
4109         * messages.[Ch]: New files
4110
4111 2003-04-18  John Levon  <levon@movementarian.org>
4112
4113         * BufferView.h:
4114         * BufferView.C:
4115         * BufferView_pimpl.C:
4116         * lfuns.h:
4117         * LyXAction.C:
4118         * lyxtext.h:
4119         * text2.C: remove layout-copy/paste (bug 778)
4120
4121 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4124
4125 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4126
4127         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4128         if they succeed. Act accordingly.
4129
4130 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * text2.C (setCharFont): adjust
4133         (setCounter): adjust
4134         (insertStringAsLines): adjust
4135
4136         * text.C (leftMargin): adjust
4137         (setHeightOfRow): adjust
4138
4139         * rowpainter.C (paintFirst): adjust
4140         (paintLast): adjust
4141
4142         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4143         (outerHook): ditto
4144         (isFirstInSequence): ditto
4145         (getEndLabel): ditto
4146         (outerFont): adjust
4147
4148         * paragraph.C (getParLanguage): comment out some hard stuff.
4149
4150         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4151         (sgmlError): ditto
4152         (simpleDocBookOnePar): ditto
4153         (makeDocBookFile): use ParagraphList::iterator
4154
4155         * CutAndPaste.C (pasteSelection): adjust
4156
4157 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * text2.C (getFont): adjust
4160         (getLayoutFont): adjust
4161         (getLabelFont): adjust
4162
4163         * paragraph_funcs.C (TeXOnePar): adjust
4164
4165         * buffer.C (simpleLinuxDocOnePar): adjust
4166         (simpleDocBookOnePar): adjust
4167
4168         * CutAndPaste.C (pasteSelection): adjust
4169
4170         * BufferView.C (getEncoding): adjust
4171
4172         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4173
4174 2003-04-16  John Levon  <levon@movementarian.org>
4175
4176         * lyxfind.C: use parlist stuff for search/changes
4177
4178 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4181
4182         * text2.C (deleteEmptyParagraphMechanism): adjust
4183
4184         * text2.[Ch] (ownerParagraph): delete func (both of them
4185
4186 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4189
4190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * ParagraphList.C: prepare for NO_NEXT
4193
4194 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text2.C (getFont): adjust
4197         (getLayoutFont): adjust
4198         (getLabelFont): adjust
4199
4200         * paragraph.C (getFont): adjust
4201         (getLabelFont): adjust
4202         (getLayoutFont): adjust
4203
4204         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4205
4206 2003-04-15  John Levon  <levon@movementarian.org>
4207
4208         From Angus Leeming
4209
4210         * lyx_main.C: handle Include in .ui files
4211
4212 2003-04-15  John Levon  <levon@movementarian.org>
4213
4214         * MenuBackend.C: make the doc files length shorter
4215
4216         * ToolbarBackend.h:
4217         * ToolbarBackend.C: handle toolbar placement flags,
4218         Minibuffer
4219
4220 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4223         adjust
4224
4225         * paragraph_funcs.C (TeXOnePar): adjust
4226
4227         * paragraph.C (getLabelFont): add outerfont arg, adjust
4228         (getLayoutFont): ditto
4229         (simpleTeXOnePar): adjust
4230
4231         * paragraph_pimpl.C (realizeFont): delete func
4232
4233 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4236         row argument, constify cur argument.
4237
4238 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * text2.C (getFont): adjust
4241         (getLayoutFont): adjust
4242         (getLabelFont): adjust
4243
4244         * paragraph_funcs.C (TeXOnePar): adjust
4245         (outerFont): new func...
4246         (realizeFont): ...moved out from here, changed this to facilitate
4247         transition
4248
4249         * paragraph.C (getFont): take outerfont as arg, adjust
4250         (simpleTeXOnePar): add outerfont arg, adjust
4251
4252         * buffer.C (simpleLinuxDocOnePar): adjust
4253         (simpleDocBookOnePar): adjust
4254
4255         * CutAndPaste.C (pasteSelection): adjust
4256
4257         * BufferView.C (getEncoding): adjust
4258
4259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * text2.C (setCharFont): adjust
4262         (setCounter): adjust
4263
4264         * text.C (leftMargin): adjust
4265         (setHeightOfRow): adjust
4266
4267         * rowpainter.C (paintFirst): adjust
4268         (paintLast): adjust
4269
4270         * paragraph_pimpl.C (realizeFont): adjust
4271
4272         * paragraph.C (isFirstInSequence): move from here...
4273         * paragraph_funcs.C (isFirstInSequence): ...to here
4274
4275         * paragraph.C (outerHook): move from here...
4276         * paragraph_funcs.C (outerHook): ...to here
4277
4278         * paragraph.C (depthHook): move from here...
4279         * paragraph_funcs.C (depthHook): ...to here
4280
4281         * paragraph.C (getEndLabel): move from here...
4282         * paragraph_funcs.C (getEndLabel): ...to here
4283
4284         * text2.C (realizeFont): move from here...
4285         * paragraph_funcs.C (realizeFont): ...to here
4286
4287 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4290
4291 2003-04-14  Angus Leeming  <leeming@lyx.org>
4292
4293         * LColor.[Ch]: scrap LColor mathcursor.
4294
4295 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * lyxlex.[Ch] (text): delete function
4298         * trans.C (Load): adjust
4299         * paragraph_funcs.C (readParToken): adjust
4300
4301 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4304         vector<char> instead of a char[].
4305
4306         * lyxlex_pimpl.C (getString): adjust
4307         (next): adjust
4308         (lex): use getString
4309         (eatLine): adjust
4310         (nextToken): adjust
4311
4312         * lyxlex.C (text): use pimpl_->getString()
4313         (getBool): ditto
4314         (findToken): ditto
4315
4316 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4319         (makeFontEntriesLayoutSpecific): temp var for par.size()
4320         (setLayout): temp var for ownerParagraphs().end()
4321         (fullRebreak): temp var for rows().end()
4322         (selectionAsString): temp var for boost::next(startpit), realize
4323         that the while really is a regular for loop.
4324         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4325         setCursor in one place.
4326         (setParagraph): temp vr for ownerParagraphs().end()
4327         (updateCounters): make the while loop a for loop
4328         (cutSelection): temp var for ownerParagraphs().end()
4329         (updateInset): make the do {} while() a regular for loop
4330         (getCursorX): use temp vars
4331         (setCurrentFont): use temp vars
4332         (getColumnNearX): use temp vars
4333
4334 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text.C (transformChar): use temp var for getChar
4337         (computeBidiTables): use temp var for row->par()
4338         (fill): move temp vars for row->par() and pit->layout() earlier in
4339         the function.
4340         (labelFill): use temp var for row->par()
4341         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4342         asc and desc, realize that pit never changes and that firstpit is
4343         just a duplicate and not needed. Exchange rit->par() with pit in a
4344         lot of places.
4345         (breakAgain): use a temp var for boost::next(rit)
4346         (breakAgainOneRow): ditto
4347         (breakParagraph): use a temp var for rows().begin()
4348         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4349         (cursorRightOneWord): use temp var for cursor.par() and
4350         cursor.pos(), remove usage of tmpcursor.
4351         (cursorLeftOneWord): use temp var for cursor.par() and
4352         cursor.pos() only set cur at end of function.
4353
4354 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * text.C, text2.C: exchange all usage of Paragraph::next with
4357         boost::next(ParagraphList::iterator)
4358
4359         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4360
4361         * text2.C (cursorTop): simplify implementation
4362         (cursorBottom): ditto
4363         (setParagraph): use ParagraphList::iterator
4364         (setCurrentFont): adjust
4365         (getColumnNearX): adjust
4366         (cursorRight): adjust
4367         (cursorLeft): remove usage of Paragraph::previous
4368         (cursorUpParagraph): ditto
4369         (deleteEmptyParagraphMechanism): slight cleanup
4370
4371         * text.C (isBoundary): take a Paragraph const & instead of a
4372         pointer as arg.
4373         (addressBreakPoint): ditto
4374         (leftMargin): remove usage of Paragraph::previous.
4375         (setHeightOfRow): ditto
4376         (cursorLeftOneWord): ditto
4377         (selectNextWordToSpellcheck): ditto
4378         (Delete): ditto
4379         (backspace): ditto
4380         (breakParagraph): remove one usage of Paragraph::next
4381         (redoParagraph): ditto
4382         (acceptChange): ditto
4383         (insertChar): adjust
4384         (rowBreakPoint): adjust
4385
4386         * bufferview_funcs.C (toggleAndShow): adjust
4387
4388 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4391         methods to access it.
4392         * lyxtext.h:
4393         * text.C: Added updateRowPositions to compute all row positions.
4394         Make top_y and getRowNearY() to use the cached y position
4395
4396 2003-04-11  John Levon  <levon@movementarian.org>
4397
4398         * text.C (rowBreakPoint): reintroduce the labelEnd
4399         checks, code copied from the row fill stuff. Deep voodoo.
4400
4401         * text.C (fill): add a comment and debugging for the
4402         next poor soul.
4403
4404 2003-04-11  John Levon  <levon@movementarian.org>
4405
4406         * text.C: make sure fullrow insets get wrapped to the next line,
4407         even when they're in a manual label
4408
4409 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * text2.C (insertParagraph): make it take ParagraphList::iterator
4412         as arg.
4413         (setLayout): make it return ParagraphList::iterator
4414         (redoParagraphs): ditto
4415         (setCounter): ditto
4416         (checkParagraph): ditto
4417
4418         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4419
4420         * text2.C: adjust several funcs.
4421         (realizeFont): take a ParagraphList::iterator as arg.
4422         (getLayoutFont): ditto
4423         (getLabelFont): ditto
4424         (setCharFont): ditto
4425
4426         * text.C: adjust several funcs.
4427
4428 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * text.C (selectNextWordToSpellcheck): don't accidentally
4431         skip insets
4432
4433 2003-04-10  John Levon  <levon@movementarian.org>
4434
4435         * ToolbarBackend.C (getIcon): special handling for
4436         LFUN_MATH_DELIM
4437
4438 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * text2.C (cursorRight): a getChar assert fixed
4441
4442 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * text2.C (getFont): change to take a ParagraphList::iterator
4445         instead of Paragraph*
4446         Adjust several functions.
4447
4448         * text.C (transformChar): change to take a ParagraphList::iterator
4449         instead of Paragraph*
4450         (singleWidth): ditto
4451         Adjust several functions.
4452
4453         * rowpainter.C: adjust several functions
4454         * rowpainter.h:store a ParagraphList::iterator and not a
4455         Paragraph&.
4456
4457
4458 2003-04-09  John Levon  <levon@movementarian.org>
4459
4460         * lyxfunc.C:
4461         * lfuns.h:
4462         * LyXAction.h:
4463         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4464         and the "help" bits as well
4465
4466 2003-04-09  John Levon  <levon@movementarian.org>
4467
4468         * ToolbarBackend.h:
4469         * ToolbarBackend.C: allow multiple toolbars
4470
4471 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * undo_funcs.C (setCursorParUndo): adjust
4474
4475         * text_funcs.C (transposeChars): adjust
4476
4477         * text3.C (gotoNextInset): adjust
4478         (dispatch): adjust
4479
4480         * text2.C (setLayout): adjust
4481         (changeDepth): adjust
4482         (setFont): adjust
4483         (redoParagraphs): adjust
4484         (selectionAsString): adjust
4485         (setParagraph): adjust
4486         (insertInset): adjust
4487         (cutSelection): adjust
4488         (copySelection): adjust
4489         (pasteSelection): adjust
4490         (insertStringAsLines): adjust
4491         (updateInset): adjust
4492         (setCursor): change to take a ParagraphList::iterator parameter
4493         (setCursorIntern): change to take a ParagraphList::iterator parameter
4494         (setCurrentFont): adjust
4495         (cursorLeft): adjust
4496         (cursorRight): adjust
4497         (deleteEmptyParagraphMechanism): adjust
4498
4499         * text.C (breakParagraph): adjust
4500         (insertChar): adjust
4501         (acceptChange): adjust
4502         (rejectChange): adjust
4503         (selectNextWordToSpellcheck): adjust
4504         (changeCase): adjust
4505         (Delete): adjust
4506         (backspace): adjust
4507
4508         * lyxfind.C (SearchForward): adjust
4509         (SearchBackward): adjust
4510         (nextChange): adjust
4511
4512         * lyxcursor.C (par): adjust
4513
4514         * lyxcursor.h: store a ParagraphList::iterator instead of a
4515         Paragraph*
4516
4517         * lyx_cb.C (getPossibleLabel): adjust
4518
4519         * bufferview_funcs.C (toggleAndShow): adjust
4520
4521         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4522         (dispatch): adjust
4523
4524         * BufferView.C (removeAutoInsets): adjust
4525         (lockedInsetStoreUndo): adjust
4526
4527 2003-04-09  John Levon  <levon@movementarian.org>
4528
4529         * ToolbarBackend.C: try icon without argument
4530         if with argument fails
4531
4532 2003-04-08  John Levon  <levon@movementarian.org>
4533
4534         * ToolbarBackend.h:
4535         * ToolbarBackend.C: add getIcon(), handle tooltip,
4536         and change from "Icon" to "Item".
4537
4538 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4539
4540         * BufferView.C (lockInset): another bad getchar crunched
4541
4542 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4545         again)
4546
4547 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * lyxfind.C (searchForward, searchBackwards): bug 782
4550
4551 2003-04-07  John Levon  <levon@movementarian.org>
4552
4553         * paragraph.C: remove dead comment
4554
4555         * text.C: remove troublesome depth-fiddling code
4556         in leftMargin() and rightMargin() (bug 1017)
4557
4558         * text.C: fix breaking of rows in nested lists
4559         (bug 1004)
4560
4561         * text2.C (updateCounters): fix up depth values
4562         (bug 1013)
4563
4564 2003-04-07  John Levon  <levon@movementarian.org>
4565
4566         * BufferView_pimpl.C: clear message when doc finishes resizing,
4567         and after a mouse event
4568
4569         * lyxfunc.C: clear message after exiting inset
4570
4571 2003-04-07  John Levon  <levon@movementarian.org>
4572
4573         * bufferview_funcs.C: show math status not outside
4574         status in the statusbar
4575
4576 2003-04-07  John Levon  <levon@movementarian.org>
4577
4578         * lyxfunc.C: note status changed after a depth change
4579
4580 2003-04-04  Angus Leeming  <leeming@lyx.org>
4581
4582         * LaTeX.h: move AuxInfo operator==, != out of line.
4583         Remove LaTeX virtual destructor; nothing derives from it.
4584         Move operator()() out of public area and rename it startscript().
4585         Change protected for private.
4586
4587 2003-04-04  Angus Leeming  <leeming@lyx.org>
4588
4589         * lyxfunc.C:
4590         * text2.C: remove unneeded #includes.
4591
4592 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * text2.C (dEPM): fix the heigth of the next row
4595
4596 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * text.C: squashed an invalid getChar requester + some ws changes
4599
4600 2003-04-03  John Levon  <levon@movementarian.org>
4601
4602         * bufferview_funcs.h:
4603         * bufferview_funcs.C:
4604         * lyxfunc.C:
4605         * lyxtext.h:
4606         * text2.C: make getStatus work for the env depth lfuns
4607
4608 2003-04-03  John Levon  <levon@movementarian.org>
4609
4610         * bufferview_funcs.h:
4611         * bufferview_funcs.C:
4612         * lyxfunc.C:
4613         * lyxtext.h:
4614         * text2.C: parlistize decDepth(), by merging it with incDepth()
4615
4616 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * lyxrow.h: store a ParagraphList::iterator instead of a
4619         Paragraph* and adjust other class functions to suit.
4620
4621         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4622         above.
4623
4624 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * text2.C (setCursor): do not anchor to cursor row for the time being
4627
4628 2003-04-02  John Levon  <levon@movementarian.org>
4629
4630         * LyXAction.C:
4631         * lfuns.h:
4632         * lyx_main.C:
4633         * lyxtext.h:
4634         * text.C:
4635         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4636
4637 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * paragraph.h: make ParagraphList and ParagraphList::iterator
4640         friends of Paragraph.
4641
4642         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4643
4644         * ParagraphList.C: Use the private next_ and previous_ from
4645         Paragraph.
4646
4647 2003-04-01  John Levon  <levon@movementarian.org>
4648
4649         * ToolbarBackend.h:
4650         * ToolbarBackend.C:
4651         * Makefile.am: rename, remove defaults gunk
4652
4653         * MenuBackend.h:
4654         * MenuBackend.C: remove defaults gunk
4655
4656         * Languages.h:
4657         * Languages.C: remove defaults gunk
4658
4659         * lyx_main.h:
4660         * lyx_main.C: error out if files couldn't be found.
4661
4662 2003-04-02  John Levon  <levon@movementarian.org>
4663
4664         * text2.C: make incDepth() use parlist
4665
4666 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * undo_funcs.C (firstUndoParagraph): adjust
4669
4670         * text3.C (gotoInset): adjust
4671         (dispatch): adjust, and rewrite loop.
4672
4673         * text2.C (init): adjust, and rewrite loop.
4674         (redoParagraphs): adjust
4675         (updateInset): adjust, and rewrite loop.
4676         (deleteEmptyParagraphMechanism): adjust
4677
4678         * tabular.C (LyXTabular): adjust
4679         (SetMultiColumn): adjust
4680         (TeXRow): adjust
4681
4682         * lyxtext.[Ch] (ownerParagraph): delete function
4683         (ownerParagraphs): new function returns a ParagraphList.
4684
4685         * BufferView.C (removeAutoInsets): adjust
4686         (insertErrors): adjust
4687         (setCursorFromRow): adjust
4688
4689 2003-04-01  Angus Leeming  <leeming@lyx.org>
4690
4691         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4692         in the frontends.
4693
4694 2003-04-02  John Levon  <levon@movementarian.org>
4695
4696         * lyxtext.h:
4697         * text.C:
4698         * Makefile.am:
4699         * text_funcs.h:
4700         * text_funcs.C: make transposeChars a free function
4701
4702         * lyxrow_funcs.C: remove wrong comment
4703
4704 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * lyxtext.h: adjust
4707         * rowpainter.C: adjust
4708         * text.C: adjust
4709         * text2.C: adjust
4710         * text3.C: adjust
4711
4712         * lyxrow_funcs. [Ch]: new files
4713
4714         * lyxrow.[Ch]: remove next and previous pointers
4715         (next,previous): remove accessor functions
4716         (isParEnd): move to lyxrow_funcs
4717         (lastPos): move to lyxrow_funcs
4718         (nextRowIsAllInset): move to lyxrow_funcs
4719         (lastPrintablePos): move to lyxrow_funcs
4720         (numberOfSeparators): move to lyxrow_funcs
4721         (numberOfHfills): move to lyxrow_funcs
4722         (numberOfLabelHfills): move to lyxrow_funcs
4723         (hfillExpansion): move to lyxrow_funcs
4724
4725         * lyxfunc.C: adjust
4726
4727         * bufferview_funcs.C (toggleAndShow): adjust
4728
4729         * RowList.h: Remove class RowList from file leave just a
4730         std::list<Row>.
4731
4732         * RowList.C: delete file
4733
4734         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4735         and lyxrow_funcs.h
4736
4737 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * text3.C (cursorPrevious): adjust
4740         (cursorNext): adjust
4741         (dispatch): adjust
4742
4743         * text2.C (redoHeightOfParagraph): adjust
4744         (redoDrawingOfParagraph): adjust
4745         (setCursor): adjust
4746
4747         * text.C (breakParagraph): adjust
4748         (insertChar): adjust
4749         (backspace): adjust
4750
4751         * rowpainter.C (RowPainter): adjust
4752         (leftMargin): simplify and adjust
4753         (most rowpainter functions): adjust.
4754
4755         * rowpainter.h: store the row as RowList::iterator not as Row*
4756
4757         * lyxcursor.C (row): taka RowList::iterator as arg
4758         (irow): ditto
4759
4760         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4761         of Row*.
4762
4763 2003-04-01  Angus Leeming  <leeming@lyx.org>
4764
4765         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4766         stuff like bool Bool.
4767
4768 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4771         rewrite a loop
4772
4773 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4776         RowList::iterator.
4777
4778         * lyxtext.h (rows): drop one version and leve a const variant that
4779         returns a RowList::iterator.
4780
4781 2003-03-31  Angus Leeming  <leeming@lyx.org>
4782
4783         * text.C (fill): ensure that the signature is the same as that in the
4784         header file.
4785
4786 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * text2.C (redoParagraphs): adjust
4789         (updateCounters): adjust
4790         (checkParagraph): adjust
4791         (getColumnNearX): adjust and reformat a bit.
4792
4793         * text.C (top_y): adjust
4794         (workWidth): adjust
4795         (leftMargin): adjust
4796         (prepareToPrint): adjust
4797         (getRow): adjust
4798         (getRowNearY): adjust
4799
4800         * lyxtext.h: make rowlist_ mutable.
4801
4802         * RowList.h: add const_iterator
4803         * RowList.C: adjust for RowList::const_iterator.
4804
4805         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4806         adjust.
4807
4808 2003-03-31  John Levon  <levon@movementarian.org>
4809
4810         * lyxrc.h:
4811         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4812
4813         * lyx_main.C: set default fonts from using lyx_gui funcs
4814
4815         * exporter.C: pdf_mode moved from lyxrc
4816
4817         * lyx_cb.C:
4818         * lyxfunc.C: changes from above
4819
4820 2003-03-31  John Levon  <levon@movementarian.org>
4821
4822         * lyx_main.C: fix to the last fix
4823
4824 2003-03-31  John Levon  <levon@movementarian.org>
4825
4826         * bufferlist.C: "Load original" -> "Load Original"
4827
4828         * converter.C:
4829         * exporter.C:
4830         * importer.C:
4831         * lyx_main.C:
4832         * format.C: more Alert cleanups
4833
4834 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * text2.C (removeParagraph): make it take a RowList::iterator as
4837         arg, adjust.
4838         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4839         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4840
4841         * text.C (anchor_row): make it take a RowList::iterator as arg,
4842         adjust.
4843         (computeBidiTables): make it take a const reference to Row instead
4844         of Row pointer, adjust.
4845         (leftMargin): make it take a RowList::iterator as arg, adjust.
4846         (rowBreakPoint): adjust
4847         (breakAgainOneRow): make it take a RowList::iterator as arg,
4848         adjust.
4849         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4850
4851         * bufferview_funcs.C (toggleAndShow): adjust
4852
4853 2003-03-30  John Levon  <levon@movementarian.org>
4854
4855         * Makefile.am:
4856         * BoostFormat.h:
4857         * boost-inst.C: moved to support
4858
4859         * several files: changes as a result
4860
4861 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * text2.C (LyXText): adjust.
4864         (init): adjust
4865         (removeRow): make it take a RowList::iterator as arg, adjust.
4866         (fullRebreak): adjust
4867         (deleteEmptyParagraphMechanism): adjust
4868         (clearPaint): adjust
4869         (postPaint): adjust
4870
4871         * text.C (top_y): adjust
4872         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4873         (breakAgain): make it take a RowList::iterator as arg, adjust.
4874         (breakParagraph): adjust
4875         (insertChar): adjust
4876         (backspace): adjust
4877
4878         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4879         need_break_row, and refresh_row.
4880
4881         * text3.C (dispatch): adjust
4882
4883         * text2.C (checkParagraph): adjust
4884         (setCursor): adjust
4885         (setCursorFromCoordinates): adjust
4886
4887         * text.C (top_y): adjust
4888         (workWidth): adjust
4889         (getRow): make it return a RowList::iterator, adjust
4890         (getRowNearY): make it return a RowList::iterator, adjust
4891
4892         * text2.C (init): adjust
4893         (insertRow): remove function
4894         (insertParagraph): adjust
4895         (redoParagraphs): adjust
4896         (fullRebreak): adjust
4897         (updateCounters): adjust
4898
4899         * text.C (top_y): rewrite to use RowList iterators.
4900         (top_y): adjust
4901         (setHeightOfRow): rewrite to sue RowList iterators.
4902         (appendParagraph): adjust
4903         (breakAgain): adjust
4904         (breakAgainOneRow): adjust
4905         (breakParagraph): adjust
4906         (getRow): adjust
4907         (getRowNearY): adjust, and remove commented code.
4908
4909         * lyxtext.h (firstRow): delete function
4910         (lastRow): delete function
4911         (rows): new function (const and non-const versions.)
4912         (insertRow): delete function
4913
4914         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4915
4916 2003-03-29  John Levon  <levon@movementarian.org>
4917
4918         * BufferView_pimpl.C: always update scrollbar top
4919         because pasting text when we're anchored could mean we
4920         miss an update altogether
4921
4922 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * text2.C (init): use rowlist_.end() and not 0.
4925         (insertRow): change to take a RowList::iterator as arg, adjust
4926         for this.
4927         (insertParagraph): change to take a RowList::iterator as arg,
4928         adjust for this.
4929         (redoParagraphs): remove some debug msgs.
4930
4931         * text.C (appendParagraph): change to take a RowList::iterator
4932         arg, adjust for this.
4933         (breakAgain): add an assert
4934         (breakAgainOneRow): ditto
4935
4936 2003-03-29  John Levon  <levon@movementarian.org>
4937
4938         * text2.C: do not clear selection after inc/decDepth
4939         (bug 550)
4940
4941 2003-03-29  John Levon  <levon@movementarian.org>
4942
4943         * BufferView.C:
4944         * buffer.C: fix broken strerrors according to Lars
4945
4946 2003-03-29  John Levon  <levon@movementarian.org>
4947
4948         * converters.C: more Alert cleanups
4949
4950 2003-03-29  John Levon  <levon@movementarian.org>
4951
4952         * bufferview_funcs.C: remove pointless Alert
4953
4954         * buffer.C: fix confusing error message when
4955         a template is chmoded 000
4956
4957 2003-03-29  John Levon  <levon@movementarian.org>
4958
4959         * BufferView.C:
4960         * BufferView.h:
4961         * BufferView_pimpl.C: Alert fixes
4962
4963         * Makefile.am:
4964         * tabular.C:
4965         * tabular-old.C: remove unused table compat reading
4966
4967 2003-03-29  John Levon  <levon@movementarian.org>
4968
4969         * BufferView.C:
4970         * buffer.C:
4971         * lyx_cb.h:
4972         * lyx_cb.C: more Alert cleanups
4973
4974         * lyxfunc.C: don't allow chktex if not latex document
4975
4976 2003-03-29  John Levon  <levon@movementarian.org>
4977
4978         * lyx_cb.C:
4979         * BufferView.C:
4980         * buffer.C: warnings pushed down from support/,
4981         kill err_alert
4982
4983 2003-03-29  John Levon  <levon@movementarian.org>
4984
4985         * lyxfunc.C: safety check for C-r (revert)
4986
4987 2003-03-29  John Levon  <levon@movementarian.org>
4988
4989         * bufferlist.h:
4990         * bufferlist.C: several UI fixes using Alert::prompt.
4991         Fix the pointless looping quit code. Fix stupid revert
4992         behaviour (bug 938)
4993
4994         * lyxvc.h:
4995         * lyxvc.C:
4996         * lyx_cb.C: use Alert::prompt
4997
4998         * lyx_main.C: remove a silly question
4999
5000         * lyxfunc.C: remove a couple of silly questions,
5001         use Alert::prompt
5002
5003 2003-03-28  John Levon  <levon@movementarian.org>
5004
5005         * text2.C: fix bug 974 (End on empty par)
5006
5007 2003-03-28  John Levon  <levon@movementarian.org>
5008
5009         * BufferView_pimpl.C:
5010         * LyXAction.C:
5011         * lfuns.h: remove do-nothing math greek lfuns
5012
5013 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * lyxgluelength.h (isValidGlueLength): add default arg on
5016         parameter 2. Remove default arg from friend in class.
5017
5018         * lyxlength.h (isValidLength): add default arg on parameter 2.
5019         Remove default arg from friend in class.
5020
5021         * text2.C (LyXText): adjust, initialize refresh_row.
5022         (init): adjust
5023         (removeRow): adjust
5024         (insertRow): adjust
5025         (insertParagraph): adjst
5026         (redoParagraphs): adjust
5027         (fullRebreak): adjust
5028         (updateCounters): adjust
5029         (deleteEmptyParagraphMechanism): first attempt at fixing a
5030         crashing bug.
5031
5032         * text.C (top_y): adjust
5033         (setHeightOfRow): adjust
5034         (getRow): adjust
5035         (getRowNearY): adjust
5036
5037         * lyxtext.h: include RowList.h
5038         (~LyXText): not needed anymore, deleted.
5039         (firstRow): modify for RowList
5040         (lastRow): new function
5041         Delete firstrow and lastrow class variables, add a Rowlist
5042         rowlist_ class variable.
5043
5044         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5045         paragraph is empty.
5046
5047         * RowList.C (insert): fix case where it == begin().
5048
5049 2003-03-26  Angus Leeming  <leeming@lyx.org>
5050
5051         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5052         the thesaurus dialog.
5053
5054 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5057
5058         * RowList.[Ch]: new files
5059
5060         * ParagraphList.C (erase): handle the case where it == begin
5061         correctly.
5062
5063 2003-03-25  John Levon  <levon@movementarian.org>
5064
5065         * Makefile.am:
5066         * aspell_local.h:
5067         * aspell.C: add new aspell support
5068
5069         * lyxrc.h:
5070         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5071         have it accessible.
5072
5073 2003-03-25  Angus Leeming  <leeming@lyx.org>
5074
5075         * lfuns.h:
5076         * LyXAction.C (init): new LFUN_INSET_INSERT.
5077
5078         * BufferView_pimpl.C (dispatch): split out part of the
5079         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5080
5081         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5082         LFUN_INSET_APPLY.
5083
5084 2003-03-25  Angus Leeming  <leeming@lyx.org>
5085
5086         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5087
5088 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * text2.C:
5091         * text3.C: remove useless row->height(0)
5092
5093 2003-03-25  John Levon  <levon@movementarian.org>
5094
5095         * lyxtext.h:
5096         * text2.C:
5097         * text3.C: rename the refreshing stuff to better names
5098
5099 2003-03-24  John Levon  <levon@movementarian.org>
5100
5101         * BufferView_pimpl.h:
5102         * BufferView_pimpl.C: update layout choice on a mouse
5103         press/release
5104
5105 2003-03-23  John Levon  <levon@movementarian.org>
5106
5107         * Makefile.am: fix commandtags.h reference
5108
5109 2003-03-22  John Levon  <levon@movementarian.org>
5110
5111         * BufferView_pimpl.C:
5112         * lyxtext.h:
5113         * rowpainter.C:
5114         * rowpainter.h:
5115         * text.C:
5116         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5117
5118 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * lyxtext.h:
5121         * text.C: take the rtl methods out of line
5122
5123 2003-03-21 André Pönitz <poenitz@gmx.net>
5124
5125         * metricsinfo.[Ch]: new files containing structures to be passed around
5126         during the two-phase-drawing...
5127
5128 2003-03-21 André Pönitz <poenitz@gmx.net>
5129
5130         * lyxtextclass.C: read 'environment' tag.
5131
5132 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * text2.C (removeRow): fix bug 964
5135
5136 2003-03-20  John Levon  <levon@movementarian.org>
5137
5138         * rowpainter.C:
5139         * text.C:
5140         * text2.C: paint cleanups. Inset::update() dropped font
5141         parameter
5142
5143 2003-03-19  John Levon  <levon@movementarian.org>
5144
5145         * lyxfunc.C: only fitcursor/markDirty if available()
5146
5147 2003-03-19  John Levon  <levon@movementarian.org>
5148
5149         * commandtags.h: rename to ...
5150
5151         * lfuns.h: ... this, and renumber / cleanup
5152
5153 2003-03-19  John Levon  <levon@movementarian.org>
5154
5155         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5156         fit the cursor after an lfun
5157
5158         * BufferView.h:
5159         * BufferView.C:
5160         * BufferView_pimpl.h:
5161         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5162
5163         * LyXAction.C: layout-character should have ReadOnly
5164
5165         * ParagraphParameters.C:
5166         * buffer.C:
5167         * bufferview_funcs.C:
5168         * lyx_cb.C:
5169         * lyxfind.C:
5170         * lyxtext.h:
5171         * text.C:
5172         * text2.C:
5173         * text3.C:
5174         * undo_funcs.C: changes from above
5175
5176 2003-03-18  John Levon  <levon@movementarian.org>
5177
5178         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5179         remove it from update()
5180
5181         * lyxfunc.C: update layout choice after an lfun
5182
5183         * text3.C: remove extra updateLayoutChoice()s
5184
5185 2003-03-18  John Levon  <levon@movementarian.org>
5186
5187         * text.C: top_y change means full repaint, fix
5188         a drawing bug with cursor movement
5189
5190 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * lyxtext.h:
5193         * text.C:
5194         * text2.C: anchor row on setCursor
5195
5196 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * lyxtext.h: remove almost all mutable keywords
5199         * text.C:
5200         * text2.C:
5201         * text3.C: remove const keywords accordingly
5202
5203 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5206         anon namespace
5207         (TeXEnvironment): ditto
5208         (TeXOnePar): ditto
5209
5210 2003-03-17  John Levon  <levon@movementarian.org>
5211
5212         * text.C (rowBreakPoint): remove attempt to fix displayed
5213         math insets inside a manual label
5214
5215 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * lyxtext.h: remove BufferView* as first arg from almost all class
5218         functions.
5219         * other files: adjust.
5220
5221 2003-03-17  John Levon  <levon@movementarian.org>
5222
5223         * lyxtext.h:
5224         * undo_funcs.C:
5225         * text2.C: more paint cleanups
5226
5227         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5228
5229         * rowpainter.h:
5230         * rowpainter.C: remove "smart" background painting code
5231
5232 2003-03-16  John Levon  <levon@movementarian.org>
5233
5234         * lyxtext.h:
5235         * text.C:
5236         * text2.C:
5237         * text3.C: add helper functions for setting refresh_row/y
5238
5239 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5240
5241         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5242         newline inset which *can* get inserted in the pass_thru layouts.
5243         This is primarily for literate documents.
5244
5245 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5246
5247         * buffer.C: increment LYX_FORMAT to 223
5248
5249 2003-03-14 André Pönitz <poenitz@gmx.net>
5250
5251         * textclass.h: prepare for environment handling, ws changes
5252         * lyxlayout.C: read latexheader and latexfooter tags
5253
5254 2003-03-14  John Levon  <levon@movementarian.org>
5255
5256         * text2.C: rewrite ::status() a bit
5257
5258 2003-03-13  John Levon  <levon@movementarian.org>
5259
5260         * lyxtext.h: add some docs
5261
5262 2003-03-13  John Levon  <levon@movementarian.org>
5263
5264         * lyxtext.h:
5265         * text.C:
5266         * text2.C:
5267         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5268
5269 2003-03-13  John Levon  <levon@movementarian.org>
5270
5271         * text3.C: fix appendix redrawing
5272
5273 2003-03-13  John Levon  <levon@movementarian.org>
5274
5275         * text.C (setHeightOfRow):
5276         * rowpainter.h:
5277         * rowpainter.C: make appendix mark have the text
5278           "Appendix" so the user knows what it is
5279
5280         * LColor.h:
5281         * LColor.C: s/appendixline/appendix/ from above
5282
5283 2003-03-13  John Levon  <levon@movementarian.org>
5284
5285         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5286
5287         * text.C: fix a getChar(pos) bug properly
5288
5289 2003-03-13  Angus Leeming  <leeming@lyx.org>
5290
5291         * commandtags.h:
5292         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5293         Probably only temporary. Let's see how things pan out.
5294
5295         * BufferView.C (unlockInset):
5296         * BufferView_pimpl.C (fitCursor):
5297         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5298
5299         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5300         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5301
5302         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5303         new functions that convert ParagraphParameters to and from a string.
5304
5305         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5306         BufferView::Pimpl's dispatch.
5307         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5308
5309 2003-03-13 André Pönitz <poenitz@gmx.net>
5310
5311         * lyxfunc.C:
5312         * text3.C:
5313         * factory.C: make it aware of InsetEnv
5314
5315 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * text2.C (setCursor): never ask for one past last
5318         (setCursor): add some debugging messages.
5319
5320         * text.C (singleWidth): never ask for one past last
5321         (singleWidth): ditto
5322         (leftMargin): ditto
5323         (rightMargin): ditto
5324         (rowBreakPoint): ditto
5325         (setHeightOfRow): ditto
5326         (prepareToPrint): ditto
5327
5328         * rowpainter.C (paintBackground): never ask for one past last
5329         (paintText): never ask for one past last
5330
5331         * paragraph_pimpl.C (getChar): make the assert stricter, never
5332         allow the one past last pos to be taken
5333
5334         * paragraph.C (getChar): ws changes only
5335
5336         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5337         (numberOfSeparators): ditto
5338         (numberOfHfills): ditto
5339
5340 2003-03-12  John Levon  <levon@movementarian.org>
5341
5342         * author.h:
5343         * author.C:
5344         * bufferparams.h:
5345         * bufferparams.C:
5346         * paragraph_funcs.C: fix per-buffer authorlists
5347
5348 2003-03-12  John Levon  <levon@movementarian.org>
5349
5350         * text.C: fix newline in right address
5351
5352 2003-03-12  Angus Leeming  <leeming@lyx.org>
5353
5354         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5355         duplicate those in LyXFunc::dispatch.
5356
5357         * commandtags.h:
5358         * LyXAction.C:
5359         * ToolbarDefaults.C:
5360         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5361         Add LFUN_FONTFREE_UPDATE.
5362
5363         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5364         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5365
5366         * bufferview_func.[Ch]: several new functions to facilliate
5367         transfer of data to and from the character dialog.
5368
5369 2003-03-12  John Levon  <levon@movementarian.org>
5370
5371         * buffer.C:
5372         * paragraph.h:
5373         * paragraph.C:
5374         * paragraph_funcs.C:
5375         * paragraph_pimpl.C:
5376         * sgml.C:
5377         * tabular.C:
5378         * text.C:
5379         * text3.C: remove META_NEWLINE in favour of an inset
5380
5381         * rowpainter.h:
5382         * rowpainter.C: remove paintNewline (done by inset)
5383
5384 2003-03-12  John Levon  <levon@movementarian.org>
5385
5386         * paragraph_pimpl.C: complain about bad getChar()s
5387         for a while at least
5388
5389 2003-03-12  John Levon  <levon@movementarian.org>
5390
5391         * buffer.h:
5392         * buffer.C: move paragraph read into a separate function,
5393         a little renaming to reflect that.
5394
5395         * bufferparams.h:
5396         * bufferparams.C: remove the author_ids map, not necessary now
5397
5398         * factory.h:
5399         * factory.C: moved Buffer::readInset to here
5400
5401         * paragraph_funcs.h:
5402         * paragraph_funcs.C: readParagraph free function moved from
5403         buffer.C
5404
5405         * tabular.C: name change
5406
5407 2003-03-12  John Levon  <levon@movementarian.org>
5408
5409         * buffer.C:
5410         * ParagraphParameters.C: move par params input to
5411         a read() method
5412
5413         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5414         behave like a normal read from the stream wrt reading
5415         a line vs. a \\token
5416
5417 2003-03-12  John Levon  <levon@movementarian.org>
5418
5419         * paragraph.C:
5420         * ParagraphParameters.h:
5421         * ParagraphParameters.C: move output code to a
5422         ::write() method
5423
5424 2003-03-12  John Levon  <levon@movementarian.org>
5425
5426         * BufferView.C (insertLyXFile):
5427         * buffer.h:
5428         * buffer.C:
5429         * tabular.C: use a parlist iterator for creating the
5430           document.
5431
5432 2003-03-12  John Levon  <levon@movementarian.org>
5433
5434         * buffer.C: make current_change static local not
5435           static file-scope
5436
5437 2003-03-12  John Levon  <levon@movementarian.org>
5438
5439         * buffer.C: fix insertStringAsLines for change tracking
5440
5441 2003-03-12  John Levon  <levon@movementarian.org>
5442
5443         * BufferView.C:
5444         * tabular.C:
5445         * buffer.h:
5446         * buffer.C:
5447         * bufferparams.h:
5448         * bufferparams.C: move author list into params. Rename some
5449           functions. Move the header reading into a separate token
5450           loop. Move the header token reading into BufferParams.
5451
5452 2003-03-12  John Levon  <levon@movementarian.org>
5453
5454         * changes.C: put debug inside lyxerr.debugging() checks
5455
5456 2003-03-11 André Pönitz <poenitz@gmx.net>
5457
5458         * factory.C: make it aware of InsetHFill
5459
5460 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5461
5462         * buffer.C (latexParagraphs): move function from here...
5463         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5464         args.
5465
5466 2003-03-10  Angus Leeming  <leeming@lyx.org>
5467
5468         * LyXAction.C (init): fix bug in poplating array with multiple entries
5469         with the same LFUN (spotted by JMarc).
5470
5471 2003-03-10  John Levon  <levon@movementarian.org>
5472
5473         * text.C:
5474         * text2.C: move getColumnNearX() near its
5475         only call site
5476
5477 2003-03-10  John Levon  <levon@movementarian.org>
5478
5479         * text.C: fix break before a minipage
5480
5481 2003-03-10  John Levon  <levon@movementarian.org>
5482
5483         * text.C: fix the last commit
5484
5485 2003-03-09  John Levon  <levon@movementarian.org>
5486
5487         * lyxtext.h:
5488         * text.C:
5489         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5490         bug 365 (don't break before insets unless needed). Don't
5491         return a value > last under any circumstances.
5492
5493 2003-03-09  Angus Leeming  <leeming@lyx.org>
5494
5495         * BufferView_pimpl.C (trackChanges, dispatch): call
5496         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5497
5498 2003-03-09  Angus Leeming  <leeming@lyx.org>
5499
5500         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5501         than Dialogs::showAboutlyx().
5502
5503 2003-03-09  Angus Leeming  <leeming@lyx.org>
5504
5505         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5506         than Dialogs::showTabularCreate().
5507
5508 2003-03-09  John Levon  <levon@movementarian.org>
5509
5510         * lyxtext.h:
5511         * text.C:
5512         * text2.C: 3rd arg to nextBreakPoint was always the same.
5513           Use references.
5514
5515 2003-03-08  John Levon  <levon@movementarian.org>
5516
5517         * lyxrow.C:
5518         * paragraph.C:
5519         * paragraph.h:
5520         * rowpainter.C:
5521         * text.C:
5522         * text2.C: Remove the "main" bit from the "main body"
5523           notion.
5524
5525 2003-03-08  John Levon  <levon@movementarian.org>
5526
5527         * text.C (leftMargin): The left margin of an empty
5528         manual label paragraph should not include the label width
5529         string length.
5530
5531         * text.C (prepareToPrint): don't attempt to measure hfills
5532         for empty manual label paragraphs - the answer should be 0
5533
5534 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * CutAndPaste.C: remove commented code and reindent.
5537
5538 2003-03-08  John Levon  <levon@movementarian.org>
5539
5540         * lyxfunc.h:
5541         * lyxfunc.C: move reloadBuffer()
5542
5543         * BufferView.h:
5544         * BufferView.C: to here
5545
5546         * lyxvc.C: add comment
5547
5548         * vc-backend.h:
5549         * vc-backend.C: call bv->reload() to avoid
5550           getStatus() check on MENURELOAD
5551
5552 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5553
5554         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5555         to an old format .dep file.
5556
5557 2003-03-07  Angus Leeming  <leeming@lyx.org>
5558
5559         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5560         when the LFUN_MOUSE_RELEASE should have been handled by
5561         inset->localDispatch.
5562
5563 2003-03-07  Angus Leeming  <leeming@lyx.org>
5564
5565         * BufferView_pimpl.C (dispatch):
5566         * LyXAction.C (init):
5567         * ToolbarDefaults.C (init):
5568         * commandtags.h:
5569         * lyxfunc.C (getStatus):
5570         remove LFUN_INSET_GRAPHICS.
5571
5572         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5573
5574 2003-03-07  Angus Leeming  <leeming@lyx.org>
5575
5576         * commandtags.h:
5577         * LyXAction.C (init):
5578         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5579
5580         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5581
5582         * commandtags.h:
5583         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5584
5585         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5586         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5587
5588 2003-03-07  Angus Leeming  <leeming@lyx.org>
5589
5590         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5591         remove "ert".
5592
5593 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * ParagraphList.C (front): new function
5596         (back): implement
5597
5598 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5599
5600         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5601         and top_row_offset_. removed var first_y.
5602         * text.C (top_y):
5603         * text2.C (LyXText, removeRow):
5604         * text3.C:
5605         * BufferView_pimpl.C:
5606         use these methods instead of using first_y
5607
5608 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5609
5610         * text2.C (pasteSelection): adjust for checkPastePossible
5611
5612         * CutAndPaste.C: remove Paragraph * buf and replace with
5613         ParagraphList paragraphs.
5614         (DeleteBuffer): delete
5615         (cutSelection): change the tc type to textclass_type
5616         (copySelection): change the tc type to textclass_type
5617         (copySelection): adjust for ParagraphList
5618         (pasteSelection): change the tc type to textclass_type
5619         (pasteSelection): adjust for Paragraphlist
5620         (nrOfParagraphs): simplify for ParagraphList
5621         (checkPastePossible): simplify for ParagraphList
5622         (checkPastePossible): remove unused arg
5623
5624         * ParagraphList.C (insert): handle the case where there are no
5625         paragraphs yet.
5626
5627         * CutAndPaste.h: make CutAndPaste a namespace.
5628
5629         * text3.C (dispatch): adjust
5630
5631         * text.C (breakParagraph): add a ParagraphList as arg
5632
5633         * paragraph_funcs.C (breakParagraph): change to take a
5634         BufferParams and a ParagraphList as args.
5635         (breakParagraphConservative): ditto
5636         (mergeParagraph): ditto
5637         (TeXDeeper): add a ParagraphList arg
5638         (TeXEnvironment): ditto
5639         (TeXOnePar): ditto
5640
5641         * buffer.C (readLyXformat2): adjust
5642         (insertStringAsLines): adjust
5643         (latexParagraphs): adjust
5644
5645         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5646         (cutSelection): adjust
5647         (pasteSelection): adjust
5648
5649         * BufferView_pimpl.C (insertInset): adjust
5650
5651 2003-03-05  Angus Leeming  <leeming@lyx.org>
5652
5653         * commandtags.h:
5654         * LyXAction.C (init):
5655         * BufferView_pimpl.C (dispatch):
5656         * lyxfunc.C (getStatus):
5657         remove LFUN_CHILD_INSERT.
5658
5659         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5660
5661 2003-03-05  Angus Leeming  <leeming@lyx.org>
5662
5663         * commandtags.h:
5664         * LyXAction.C (init):
5665         * src/factory.C (createInset):
5666         * lyxfunc.C (getStatus):
5667         * text3.C (dispatch):
5668         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5669
5670         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5671
5672 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * ParagraphList.C (insert): handle insert right before end()
5675         (erase): fix cases where it can be first or last paragraph.
5676
5677 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5680         Paragraph::next and Paragraph::previous
5681         (TeXOnePar): ditto
5682
5683         * text.C (breakParagraph): adjust
5684
5685         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5686         BufferParams& as arg.
5687         (breakParagraph): use ParagraphList::insert
5688         (breakParagraphConservative): take a Buffer* instead of a
5689         BufferParams& as arg.
5690         (breakParagraphConservative): use ParagraphList::insert.
5691
5692         * buffer.C (insertStringAsLines): un-const it
5693         (insertStringAsLines): adjust
5694
5695         * ParagraphList.C (insert): new function
5696
5697         * CutAndPaste.C (pasteSelection): adjust
5698
5699         * text.C (backspace): adjust
5700
5701         * tabular.C (SetMultiColumn): adjust
5702
5703         * CutAndPaste.C (cutSelection): adjust
5704         (pasteSelection): adjust
5705
5706         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5707         Buffer const * as arg
5708
5709         * ParagraphList.C (erase): new function
5710         * paragraph_funcs.C (mergeParagraph): use it
5711         (mergeParagraph): make it take a Buffer* instead of a
5712         BufferParams* as arg
5713
5714         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5715         as arg
5716         (breakParagraphConservative): ditto
5717
5718         * paragraph.h: remove the breakParagraph friend
5719
5720         * paragraph.C (eraseIntern): new function
5721         (setChange): new function
5722
5723         * paragraph_funcs.C (mergeParagraph): make it take a
5724         ParagraphList::iterator instead of a Paragraph *, adjust
5725         accordingly.
5726
5727         * paragraph.h: move an #endif so that the change tracking stuff
5728         also works in the NO_NEXT case.
5729
5730 2003-03-04  Angus Leeming  <leeming@lyx.org>
5731
5732         * commandtags.h:
5733         * LyXAction.C: new LFUN_INSET_MODIFY.
5734
5735         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5736         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5737
5738 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * several files: ws changes only
5741
5742         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5743         (TeXEnvironment): ditto
5744         (TeXDeeper): ditto
5745
5746         * buffer.C (makeLaTeXFile): adjust
5747         (latexParagraphs): make it take ParagraphList::iterator as args
5748
5749 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * buffer.C (latexParagraphs): adjust
5752
5753         * paragraph.C (TeXOnePar): move function...
5754         (optArgInset): move function...
5755         (TeXEnvironment): move function...
5756         * paragraph_pimpl.C (TeXDeeper): move function...
5757         * paragraph_funcs.C: ...here
5758
5759         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5760
5761 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * buffer.C (readInset): remove compability code for old Figure and
5764         InsetInfo insets
5765
5766 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * buffer.C: ws changes
5769         (readInset):
5770
5771         * BufferView_pimpl.C: ditto
5772         * author.C: ditto
5773         * buffer.h: ditto
5774         * bufferlist.h: ditto
5775         * changes.h: ditto
5776         * lyxfunc.C: ditto
5777
5778 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5779
5780         * converter.[Ch]: split into itself +
5781         * graph.[Ch]
5782         * format.[Ch]
5783         * Makefile.am: += graph.[Ch] + format.[Ch]
5784         * MenuBackend.C
5785         * buffer.C
5786         * exporter.C
5787         * importer.C
5788         * lyx_main.C
5789         * lyxfunc.C
5790         * lyxrc.C: added #include "format.h"
5791
5792 2003-02-27  Angus Leeming  <leeming@lyx.org>
5793
5794         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5795           a label.
5796
5797         * factory.C (createInset): add "label" to the factory.
5798
5799         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5800           string and do no more.
5801
5802 2003-02-27  Angus Leeming  <leeming@lyx.org>
5803
5804         * commandtags.h:
5805         * LyXAction.C (init):
5806         * factory.C (createInset):
5807         * BufferView_pimpl.C (dispatch):
5808           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5809
5810         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5811
5812         * lyxfunc.C (dispatch):
5813         * text3.C (dispatch): pass name to params2string.
5814
5815 2003-02-26  Angus Leeming  <leeming@lyx.org>
5816
5817         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5818           blocks together.
5819           Rearrange the ~includes. Strip out the unnecessary ones.
5820
5821         * factory.C (createInset): reformat.
5822           create new insets for the various LFUN_XYZ_APPLY lfuns.
5823
5824 2003-02-26  John Levon  <levon@movementarian.org>
5825
5826         * lyxrow.h:
5827         * lyxrow.C: add isParStart,isParEnd helpers
5828
5829         * paragraph.h: make isInserted/DeletedText take refs
5830
5831         * paragraph_funcs.h:
5832         * paragraph_funcs.C: remove #if 0'd code
5833
5834         * lyxtext.h:
5835         * text3.C:
5836         * text2.C:
5837         * text.C: use lyxrow helpers above.
5838           Move draw and paint routines to RowPainter.
5839           Make several methods use refs not pointers.
5840           Make backgroundColor() const.
5841           Add markChangeInDraw(), isInInset().
5842           Merge changeRegionCase into changeCase.
5843           Make workWidth() shouldn't-happen code into an Assert.
5844
5845         * rowpainter.h:
5846         * rowpainter.C: new class for painting a row.
5847
5848         * vspace.h:
5849         * vspace.C: make inPixels take a ref
5850
5851 2003-02-26  Angus Leeming  <leeming@lyx.org>
5852
5853         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5854         LFUN_REF_APPLY.
5855
5856 2003-02-25  John Levon  <levon@movementarian.org>
5857
5858         * ispell.C: give the forked command a more accurate name
5859
5860 2003-02-22  John Levon  <levon@movementarian.org>
5861
5862         * toc.h:
5863         * toc.C: make TocItem store an id not a Paragraph *
5864           (bug #913)
5865
5866 2003-02-21  Angus Leeming  <leeming@lyx.org>
5867
5868         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5869           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5870           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5871           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5872           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5873           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5874
5875         * BufferView_pimpl.C (dispatch):
5876         * LyXAction.C (init):
5877         * factory.C (createInset):
5878         * lyxfunc.C (getStatus, dispatch):
5879         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5880
5881 2003-02-21  Angus Leeming  <leeming@lyx.org>
5882
5883         * BufferView_pimpl.C (MenuInsertLyXFile):
5884         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5885         * lyxfunc.C (menuNew, open, doImport):
5886           no longer pass a LyXView & to fileDlg.
5887
5888 2003-02-21  Angus Leeming  <leeming@lyx.org>
5889
5890         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5891         * LyXAction.C: change, BIBKEY to BIBITEM.
5892         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5893         Change InsetBibKey to InsetBibitem.
5894         Change BIBKEY_CODE to BIBITEM_CODE.
5895         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5896         * factory.C: replace insetbib.h with insetbibitem.h.
5897         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5898         * paragraph.C: replace insetbib.h with insetbibitem.h.
5899         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5900         Change bibkey() to bibitem().
5901         * text.C: remove insetbib.h.
5902         * text2.C: replace insetbib.h with insetbibitem.h.
5903         change bibkey() to bibitem().
5904         * text3.C: remove insetbib.h.
5905         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5906
5907 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5908
5909         * lyxrc.C (output): enclose user email in quotes (in case there are
5910         several words)
5911
5912 2003-02-18  John Levon  <levon@movementarian.org>
5913
5914         * buffer.h: add std::
5915
5916 2003-02-17  John Levon  <levon@movementarian.org>
5917
5918         * SpellBase.h:
5919         * ispell.h:
5920         * ispell.C:
5921         * pspell.h:
5922         * pspell.C: reworking. Especially in ispell, a large
5923           number of clean ups and bug fixes.
5924
5925         * lyxfunc.C: fix revert to behave sensibly
5926
5927 2003-02-17 André Pönitz <poenitz@gmx.net>
5928
5929         * LyXAction.C:
5930         * commandtags.h: new LFUN_INSERT_BIBKEY
5931
5932         * layout.h:
5933         * lyxlayout.C:
5934         * buffer.C:
5935         * factory.C:
5936         * text.C:
5937         * text2.C:
5938         * text3.C:
5939         * paragraph.[Ch]:
5940         * paragraph_func.C: remove special bibkey handling
5941
5942 2003-02-17  John Levon  <levon@movementarian.org>
5943
5944         * text.C (Delete): fix case where delete at the end of
5945           the very first paragraph would not merge the pars
5946
5947 2003-02-17  John Levon  <levon@movementarian.org>
5948
5949         * lyxrow.C: fix lastPrintablePos()
5950
5951 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5952
5953         * bufferparams.C (writeLaTeX): add a std:here
5954
5955         * buffer.C: and remove a using directive there
5956
5957 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5958
5959         * buffer.C (makeLaTeXFile): move the code that generates the
5960           preamble...
5961
5962         * bufferparams.C (writeLaTeX): ... in this new method
5963
5964         * LaTeXFeatures.C (getEncodingSet): make const
5965           (getLanguages): make const
5966
5967         * MenuBackend.C (binding): returns the binding associated to this
5968           action
5969           (add): sets the status of each item by calling getStatus. Adds
5970           some intelligence.
5971           (read): add support for OptSubMenu
5972           (expand): remove extra separator at the end of expanded menu
5973
5974 2003-02-15  John Levon  <levon@movementarian.org>
5975
5976         * BufferView.C:
5977         * BufferView_pimpl.C:
5978         * bufferlist.h:
5979         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5980           inset code that had no actual effect. Remove unneeded status
5981           code.
5982
5983 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5984
5985         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5986           in preamble
5987
5988 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5989
5990         * text.C (drawLengthMarker): also draw an arrow marker for
5991           symbolic lengths (medskip...)
5992
5993 2003-02-14  John Levon  <levon@movementarian.org>
5994
5995         * tabular.h:
5996         * tabular.C: better method names
5997
5998 2003-02-14  John Levon  <levon@movementarian.org>
5999
6000         * BufferView_pimpl.C:
6001         * bufferlist.C:
6002         * buffer.C:
6003         * converter.C:
6004         * lyx_cb.C:
6005         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6006           it's a more accurate name. Remove some pointless uses.
6007
6008 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6009
6010         * text2.C (LyXText): change order of initilizers to shut off
6011           warnings
6012
6013 2003-02-14  John Levon  <levon@movementarian.org>
6014
6015         * buffer.C: use ParIterator for getParFromID()
6016
6017         * paragraph.h:
6018         * paragraph.C:
6019         * paragraph_pimpl.h:
6020         * paragraph_pimpl.C: remove unused getParFromID()
6021
6022 2003-02-14  John Levon  <levon@movementarian.org>
6023
6024         * buffer.C: remove some very old #if 0'd parse code
6025
6026 2003-02-13  John Levon  <levon@movementarian.org>
6027
6028         * text.h:
6029         * text.C:
6030         * text2.C: move hfillExpansion(), numberOfSeparators(),
6031           rowLast(), rowLastPrintable(), numberofHfills(),
6032           numberOfLabelHfills() ...
6033
6034         * lyxrow.h:
6035         * lyxrow.C: ... to member functions here.
6036
6037         * paragraph.h:
6038         * paragraph.C:
6039         * lyxtext.h:
6040         * text.C: remove LyXText::beginningOfMainBody(), and call
6041           p->beginningOfMainBody() directly. Move the check for
6042           LABEL_MANUAL into the latter.
6043
6044         * text.h:
6045         * text.C:
6046         * text2.C:
6047         * vspace.C:
6048         * BufferView.h:
6049         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6050
6051         * text.h:
6052         * text.C:
6053         * text2.C:
6054         * text3.C:
6055         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6056           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6057
6058 2003-02-13  John Levon  <levon@movementarian.org>
6059
6060         * CutAndPaste.C: remove debug
6061
6062 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6063
6064         * paragraph.C (asString): remove two unused variables
6065
6066         * lyxtextclass.C (readTitleType):
6067           (Read):
6068           (LyXTextClass): handle new members titletype_ and titlename_
6069
6070         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6071
6072 2003-02-09  John Levon  <levon@movementarian.org>
6073
6074         * buffer.h:
6075         * buffer.C: replace hand-coded list with a map for the dep clean
6076
6077 2003-02-08  John Levon  <levon@movementarian.org>
6078
6079         * LaTeX.C: consolidate code into showRunMessage() helper
6080
6081 2003-02-08  John Levon  <levon@movementarian.org>
6082
6083         * lyxfind.C:
6084         * lyxtext.h:
6085         * text2.C:
6086         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6087           and pass the size in explicitly
6088
6089         * BufferView_pimpl.h:
6090         * BufferView_pimpl.C:
6091         * BufferView.h:
6092         * BufferView.C: add getCurrentChange()
6093
6094         * BufferView_pimpl.h:
6095         * BufferView_pimpl.C: handle change lfuns
6096
6097         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6098           for changes. Mark pasted paragraphs as new.
6099
6100         * support/lyxtime.h:
6101         * support/lyxtime.C:
6102         * DepTable.C: abstract time_t as lyx::time_type
6103
6104         * LColor.h:
6105         * LColor.C: add colours for new text, deleted text, changebars
6106
6107         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6108           package use "usenames" option.
6109
6110         * commandtags.h:
6111         * lyxfunc.C:
6112         * LyXAction.C: add change lfuns
6113
6114         * Makefile.am:
6115         * author.h:
6116         * author.C: author handling
6117
6118         * buffer.h:
6119         * buffer.C: add a per-buffer author list, with first entry as
6120           current author. Handle new .lyx tokens for change tracking. Output
6121           author list to .lyx file. Output dvipost stuff to .tex preamble.
6122           Bump lyx format to 222.
6123
6124         * bufferlist.h:
6125         * bufferlist.C: add setCurrentAuthor() to reset current author details
6126           in all buffers.
6127
6128         * bufferparams.h:
6129         * bufferparams.C: add param for tracking
6130
6131         * bufferview_funcs.C: output change info in minibuffer
6132
6133         * Makefile.am:
6134         * changes.h:
6135         * changes.C: add change-tracking structure
6136
6137         * debug.h:
6138         * debug.C: add CHANGES debug flag
6139
6140         * lyxfind.h:
6141         * lyxfind.C: add code for finding the next change piece
6142
6143         * lyxrc.h:
6144         * lyxrc.C: add user_name and user_email
6145
6146         * lyxrow.h:
6147         * lyxrow.C: add a metric for the top of the text line
6148
6149         * lyxtext.h:
6150         * text.C: implement accept/rejectChange()
6151
6152         * lyxtext.h:
6153         * text.C: paint changebars. Paint new/deleted text in the chosen
6154         colours. Strike through deleted text.
6155
6156         * paragraph.h:
6157         * paragraph.C:
6158         * paragraph_pimpl.h:
6159         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6160           in the current change to the insert functions. Rework erase to
6161           mark text as deleted, adding an eraseIntern() and a range-based
6162           erase(). Implement per-paragraph change lookup and
6163           accept/reject.
6164
6165         * paragraph_funcs.C: Fixup paste for change tracking.
6166
6167         * tabular.C: mark added row/columns as new.
6168
6169         * text.C: fix rowLast() to never return -1. Don't allow
6170           spellchecking of deleted text. Track transpose changes. Don't
6171           allow paragraph break or merge where appropriate.
6172
6173         * text2.C: leave cursor at end of selection after a cut.
6174
6175 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6176
6177         * text.C (getLengthMarkerHeight):
6178         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6179         visible on screen too.
6180
6181 2003-02-07  John Levon  <levon@movementarian.org>
6182
6183         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6184
6185 2003-02-05  Angus Leeming  <leeming@lyx.org>
6186
6187         * lyxserver.C (read_ready): revert my patch of 11 September last year
6188         as it sends PC cpu through the roof. Presumably this means that
6189         the lyxserver will no longer run on an Alpha...
6190
6191 2003-01-30  Angus Leeming  <leeming@lyx.org>
6192
6193         * factory.C (createInset): create an InsetCommandParam of type "index"
6194         and use it to 'do the right thing'.
6195
6196         * text2.C (getStringToIndex): ensure that cursor position is always
6197         reset to the reset_cursor position.
6198
6199 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6200
6201         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6202         disabled.
6203
6204 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6205
6206         * bufferview.C:
6207         * lyxcb.C:
6208         * lyxfunc.C: Output messages with identical spelling, punctuation,
6209         and spaces
6210
6211 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6212
6213         * MenuBackend.C (expandFormats): List only viewable export formats
6214         in "View" menu
6215
6216         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6217         message
6218
6219         * lyxfunc.C (getStatus): Make sure that formats other than
6220         "fax" can also be disabled
6221
6222 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * text3.C (dispatch): put the lfuns that insert insets in 3
6225         groups, and call doInsertInset with appropriate arguments.
6226         (doInsertInset): new function, that creates an inset and inserts
6227         it according to some boolean parameters.
6228
6229 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * buffer.C (readFile): remember to pass on 'par' when calling
6232         readFile recursively.
6233
6234 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6235
6236         * MenuBackend.C (expandFormats): add "..." to import formats.
6237
6238 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6239
6240         * paragraph.C (asString): Remove XForms RTL hacks.
6241
6242 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6243         * buffer.C: fix typo
6244
6245 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * Makefile.am (LIBS): delete var
6248         (lyx_LDADD): add @LIBS@ here instead.
6249
6250 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6251
6252         * Clarify the meaning of "wheel mouse jump"
6253
6254 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6255
6256         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6257         tabular in a float
6258
6259 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6260
6261         * importer.C (Loaders): do not preallocate 3 elements in the
6262         vector, since one ends up with 6 elements otherwise
6263
6264 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * DepTable.C (write): write the file name as last element of the
6267         .dep file (because it may contain spaces)
6268         (read): read info in the right order
6269
6270 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6271
6272         * paragraph_pimpl.C (simpleTeXBlanks):
6273         (simpleTeXSpecialChars):
6274         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6275
6276         * tabular.C (latex): add some missing case statements. Reindent.
6277
6278         * MenuBackend.C (expandToc): remove unused variable.
6279
6280 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6281
6282         * LColor.C:
6283         * LaTeX.C:
6284         * LyXAction.C:
6285         * MenuBackend.C:
6286         * buffer.C:
6287         * exporter.C:
6288         * lyxfunc.C:
6289         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6290         and the like.
6291
6292 2003-01-05  John Levon  <levon@movementarian.org>
6293
6294         * BufferView.h:
6295         * BufferView.C: add getEncoding()
6296
6297         * kbsequence.h:
6298         * kbsequence.C: do not store last keypress
6299
6300         * lyxfunc.h:
6301         * lyxfunc.C: store last keypress here instead. Pass encoding
6302           to getISOEncoded()
6303
6304 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6305
6306         * lyx_main.C (init): remove annoying error message when following
6307         symbolic links (bug #780)
6308
6309 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6310
6311         * text.C (insertChar):
6312         * lyxrc.C (getDescription): remove extra spaces
6313
6314 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6315
6316         * lyxrc.C (getDescription): remove extra spaces
6317
6318 2002-12-20  John Levon  <levon@movementarian.org>
6319
6320         * text3.C: hack fix for page up/down across tall rows
6321
6322 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6323
6324         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6325         not been invoked
6326
6327 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6328
6329         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6330         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6331         thesaurus is not compiled in
6332
6333 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6334
6335         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6336
6337 2002-12-16  Angus Leeming  <leeming@lyx.org>
6338
6339         * lyxrc.[Ch]:
6340         * lyx_main.C (init): remove override_x_deadkeys stuff.
6341
6342 2002-12-12  John Levon  <levon@movementarian.org>
6343
6344         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6345           insert. Only remove shift modifier under strict
6346           circumstances.
6347
6348 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * MenuBackend.C (expandToc): fix crash.
6351
6352 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * MenuBackend.C (expandToc): gettext on float names.
6355
6356 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6357
6358         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6359         implement bool empty() [bug 490]
6360
6361 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6364
6365 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * several files: ws changes
6368
6369 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * text2.C (setCounter): clean up a bit, use boost.format.
6372         (updateCounters): initialize par upon declaration.
6373
6374         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6375         if the layout exists. We do not just store the layout any more.
6376         (SwitchLayoutsBetweenClasses): use boost.format
6377
6378 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6379
6380         * converter.C (convert): if from and to files are the same, use a
6381         temporary files as intermediary
6382
6383 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6384
6385         * commandtags.h:
6386         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6387
6388 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6389
6390         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6391
6392 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * tabular.C (asciiPrintCell): use string(size, char) instead of
6395         explicit loop.
6396
6397         * sgml.C (openTag): fix order of arguments to string constructor
6398         (closeTag): ditto
6399
6400         * lyxfunc.C (dispatch): use boost.format
6401
6402         * lots of files: change "c" -> 'c'
6403
6404 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6405
6406         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6407
6408 2002-11-25  Angus Leeming  <leeming@lyx.org>
6409
6410         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6411
6412         * lyx_main.C (init): compile fix.
6413
6414 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * lyx_cb.C (start): boost.formatify
6417         do not include <iostream>
6418
6419         * lengthcommon.C: ws only
6420
6421         * boost-inst.C,BoostFormat.h: add more explict instantations
6422
6423 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * lots of files: handle USE_BOOST_FORMAT
6426
6427 2002-11-21  John Levon  <levon@movementarian.org>
6428
6429         * pspell.C: fix compile
6430
6431 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6432
6433         * lyxfunc.C (dispatch): use boost::format
6434         (open): ditto
6435         (doImport): ditto
6436
6437         * lyxfont.C (stateText): use boost::format
6438
6439         * lyx_main.C (LyX): use boost::format
6440         (init): ditto
6441         (queryUserLyXDir): ditto
6442         (readRcFile): ditto
6443         (parse_dbg): ditto
6444         (typedef boost::function): use the recommened syntax.
6445
6446         * importer.C (Import): use boost::format
6447
6448         * debug.C (showLevel): use boost::format
6449
6450         * converter.C (view): use boost::format
6451         (convert): ditto
6452         (move): ditto
6453         (scanLog): ditto
6454
6455         * bufferview_funcs.C (currentState): use boost::format
6456
6457         * bufferlist.C (emergencyWrite): use boost::format
6458
6459         * buffer.C (readLyXformat2): use boost::format
6460         (parseSingleLyXformat2Token): ditto
6461
6462         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6463
6464         * LaTeX.C (run): use boost::format
6465
6466         * Chktex.C (scanLogFile): use boost::format
6467
6468         * BufferView_pimpl.C (savePosition): use boost::format
6469         (restorePosition): ditto
6470         (MenuInsertLyXFile): ditto
6471
6472         * BoostFormat.h: help file for explicit instation.
6473
6474 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * tabular.C (latex): Support for block alignment in fixed width
6477         columns.
6478
6479 2002-11-17  John Levon  <levon@movementarian.org>
6480
6481         * BufferView_pimpl.C:
6482         * lyx_cb.C:
6483         * lyxfunc.C: split filedialog into open/save
6484
6485 2002-11-08  Juergen Vigna  <jug@sad.it>
6486
6487         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6488         by my last patch (hopefully).
6489
6490 2002-11-08  John Levon  <levon@movementarian.org>
6491
6492         * iterators.h:
6493         * iterators.C:
6494         * buffer.h:
6495         * buffer.C:
6496         * paragraph.h:
6497         * paragraph.C:
6498         * toc.h:
6499         * toc.C: ParConstIterator, and use it (from Lars)
6500
6501 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6502
6503         * lyxtextclass.[Ch]: revise and add doxygen comments
6504
6505 2002-11-07  John Levon  <levon@movementarian.org>
6506
6507         * text.C: fix progress value for spellchecker
6508
6509         * toc.C: fix navigate menu for insetwrap inside minipage
6510
6511         * paragraph_funcs.C: added FIXME for suspect code
6512
6513 2002-11-07  John Levon  <levon@movementarian.org>
6514
6515         * BufferView_pimpl.C: fix redrawing of insets
6516           on buffer switch
6517
6518 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6519
6520         * text2.C (updateCounters): fix bug 668
6521
6522 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6523
6524         * text3.C (dispatch): Do not make the buffer dirty when moving the
6525         cursor.
6526
6527 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * vc-backend.C: STRCONV
6530         (scanMaster): ditto
6531
6532         * text2.C (setCounter): STRCONV
6533
6534         * paragraph.C (asString): STRCONV
6535
6536         * lyxlength.C (asString): STRCONV
6537         (asLatexString): ditto
6538
6539         * lyxgluelength.C (asString): STRCONV
6540         (asLatexString): ditto
6541
6542         * lyxfunc.C (dispatch): STRCONV
6543         (open): ditto
6544
6545         * lyxfont.C (stateText): STRCONV
6546
6547         * importer.C (Import): STRCONV
6548
6549         * counters.C (labelItem): STRCONV
6550         (numberLabel): ditto
6551         (numberLabel): remove unused ostringstream o
6552
6553         * chset.C: STRCONV
6554         (loadFile): ditto
6555
6556         * bufferview_funcs.C (currentState): STRCONV
6557
6558         * buffer.C (readFile): STRCONV
6559         (asciiParagraph): ditto
6560         (makeLaTeXFile): ditto
6561
6562         * Spacing.C (writeEnvirBegin): STRCONV
6563
6564         * LaTeXFeatures.C (getLanguages): STRCONV
6565         (getPackages): ditto
6566         (getMacros): ditto
6567         (getBabelOptions): ditto
6568         (getTClassPreamble): ditto
6569         (getLyXSGMLEntities): ditto
6570         (getIncludedFiles): ditto
6571
6572         * LaTeX.C: STRCONV
6573         (run): ditto
6574         (scanAuxFile): ditto
6575         (deplog): ditto
6576
6577         * LString.h: add the STRCONV macros
6578
6579         * BufferView_pimpl.C (savePosition): STRCONV
6580         (restorePosition): ditto
6581         (MenuInsertLyXFile): ditto
6582
6583         * vc-backend.C (scanMaster): change from submatch[...] to
6584         submatch.str(...)
6585
6586         * funcrequest.C: include config.h
6587
6588         * factory.C: include config.h
6589
6590         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6591
6592         * box.C: include config.h
6593
6594         * LaTeX.C (scanAuxFile): change from submatch[...] to
6595         submatch.str(...)
6596         (deplog): ditto
6597
6598 2002-10-25  Angus Leeming  <leeming@lyx.org>
6599
6600         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6601
6602         * ispell.[Ch] (setError): new method.
6603         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6604         Use setError() insetead of goto END.
6605
6606         * lyx_cb.C (AutoSave): move out child process into new class
6607         AutoSaveBuffer.
6608
6609 2002-10-30  John Levon  <levon@movementarian.org>
6610
6611         * text3.C: make start appendix undoable
6612
6613 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6614
6615         * lyxlength.C (inPixels): Fix returned value.
6616
6617         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6618         environment.
6619
6620 2002-10-24  Angus Leeming  <leeming@lyx.org>
6621
6622         * lyxgluelength.h: no need to forward declare BufferParams
6623         or BufferView, so don't.
6624
6625 2002-10-21  John Levon  <levon@movementarian.org>
6626
6627         * BufferView.C: menuUndo ->undo, redo
6628
6629         * BufferView.h: document, remove dead, make some methods private
6630
6631         * paragraph_funcs.h:
6632         * paragraph_funcs.C:
6633         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6634
6635         * buffer.h:
6636         * buffer.C:
6637         * sgml.h:
6638         * sgml.C: move sgml open/close tag into sgml.C
6639
6640         * bufferview_funcs.h: unused prototype
6641
6642         * lyxfunc.h:
6643         * lyxfunc.C: remove unused
6644
6645         * lyxtext.h:
6646         * text.C: remove unused
6647
6648 2002-10-21  John Levon  <levon@movementarian.org>
6649
6650         * BufferView.h:
6651         * BufferView.C:
6652         * BufferView_pimpl.h:
6653         * BufferView_pimpl.C: fix mouse wheel handling based on
6654           patch from Darren Freeman
6655
6656 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6657
6658         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6659
6660 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6661
6662         * lyxlength.C (inPixels): Fix hanfling of negative length.
6663         Fix LyXLength::MU case.
6664
6665 2002-10-16  John Levon  <levon@movementarian.org>
6666
6667         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6668
6669 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6670
6671         * converter.C (view): add support for $$i (file name) and $$p
6672         (file path) for the viewer command. If $$i is not specified, then
6673         it is appended to the command (for compatibility with old syntax)
6674
6675 2002-10-14  Juergen Vigna  <jug@sad.it>
6676
6677         * undo_funcs.C (textHandleUndo): alter the order in which the
6678         new undopar is added to the LyXText, as we have to set first
6679         the right prev/next and then add it as otherwise the rebuild of
6680         LyXText is not correct. Also reset the cursor to the right paragraph,
6681         with this IMO we could remove the hack in "redoParagraphs()".
6682
6683 2002-10-09  Angus Leeming  <leeming@lyx.org>
6684
6685         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6686         to turn off an optimisation if a new inset is to be inserted.
6687
6688 2002-10-11 André Pönitz <poenitz@gmx.net>
6689
6690         * lyxtext.h: make some functions public to allow access
6691         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6692
6693 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6694
6695         * text3.C (dispatch): when changing layout, avoid an infinite loop
6696         [bug #652]
6697
6698 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6699
6700         * lyxrc.C (read): treat a viewer or converter command of "none" as
6701         if it were empty.
6702
6703         * MenuBackend.C (expandFormats): for an update, also allow the
6704         formats that are not viewable
6705
6706         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6707         script if it is newer than the lyxrc.defaults in user directory
6708
6709 2002-10-07 André Pönitz <poenitz@gmx.net>
6710
6711         * text.C: Vitaly Lipatov's small i18n fix
6712
6713 2002-09-25  Angus Leeming  <leeming@lyx.org>
6714
6715         * ispell.h: doxygen fix.
6716
6717 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6718
6719         * buffer.h (readFile): Add a new argument to the method, to allow
6720         reading of old-format templates.
6721
6722 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6723
6724         * toc.C (getTocList): Get TOC from InsetWrap.
6725
6726 2002-09-16  John Levon  <levon@movementarian.org>
6727
6728         * lyxfunc.C: check tabular for cut/copy too
6729
6730 2002-09-12  John Levon  <levon@movementarian.org>
6731
6732         * LyXAction.C: tidy
6733
6734         * factory.h:
6735         * factory.C: add header
6736
6737         * paragraph_funcs.h:
6738         * paragraph_funcs.C: cleanup
6739
6740 2002-09-11  John Levon  <levon@movementarian.org>
6741
6742         * PrinterParams.h: odd/even default to true
6743
6744 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6745
6746         * PrinterParams.h: update printer parameters for new xforms dialog
6747
6748 2002-09-11  Angus Leeming  <leeming@lyx.org>
6749
6750         * lyxserver.C (read_ready): re-write to make it more transparent
6751         and to make it work in coherent fashion under Tru64 Unix.
6752
6753 2002-09-11  André Pönitz <poenitz@gmx.net>
6754
6755         * commandtags.h:
6756         * LyXAction.C:
6757         * text3.C: implement LFUN_WORDSEL
6758
6759 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6762         make floatlist_ a boost::shared_ptr<FloatList>
6763
6764         * lyxtextclass.C: include FloatList.h
6765         (LyXTextClass): initialize floatlist_
6766         (TextClassTags): add TC_NOFLOAT
6767         (Read): match "nofloat" to TC_NOFLOAT and use it.
6768         (readFloat): modify call to floatlist_
6769         (floats): ditto
6770         (floats): ditto
6771
6772         * FloatList.[Ch] (FloatList): remove commented out float
6773         initialization.
6774         (erase): new function
6775
6776 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6777
6778         * MenuBackend.C (expandToc): fix crash when there is no document
6779         open
6780
6781 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6782
6783         * many files: Add insetwrap.
6784
6785 2002-09-09  John Levon  <levon@movementarian.org>
6786
6787         * text2.C: remove confusing and awkward depth wraparound
6788
6789 2002-09-09  John Levon  <levon@movementarian.org>
6790
6791         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6792
6793         * buffer.h:
6794         * buffer.C: remove getIncludeonlyList()
6795
6796         * paragraph.C:
6797         * lyxfunc.C: remove headers
6798
6799 2002-09-09  Juergen Vigna  <jug@sad.it>
6800
6801         * text.C (getColumnNearX): fix form Michael this is most
6802         probably a cut&paste bug.
6803
6804 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6807
6808         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6809         references, ws changes.
6810
6811         * text2.C (init): update counters after init
6812         (insertParagraph): no need to set counter on idividual paragraphs.
6813         (setCounter): access the counters object in the textclass object
6814         on in the buffer object.
6815         (updateCounters): ditto
6816
6817         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6818         shared_ptr<Counters> to avoid loading counters.h in all
6819         compilation units.
6820         (LyXTextClass): initialize ctrs_
6821         (TextClassTags): add TC_COUNTER, and ...
6822         (Read): use it here.
6823         (CounterTags): new tags
6824         (readCounter): new function
6825         (counters): new funtion
6826         (defaultLayoutName): return a const reference
6827
6828         * counters.C (Counters): remove contructor
6829         (newCounter): remove a couple of unneeded statements.
6830         (newCounter): simplify a bit.
6831         (numberLabel): some small formatting changes.
6832
6833         * buffer.[Ch]: remove all traces of counters, move the Counters
6834         object to the LyXTextClass.
6835
6836 2002-09-06  Alain Castera  <castera@in2p3.fr>
6837
6838         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6839         package to set the horizontal alignment on fixed width columns.
6840
6841         * lyx_sty.C:
6842         * lyx_sty.h: added tabularnewline macro def.
6843
6844         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6845
6846 2002-09-06  John Levon  <levon@movementarian.org>
6847
6848         * LyXAction.C: tooltips for sub/superscript
6849
6850         * MenuBackend.C: a bit more verbose
6851
6852         * lyxfunc.C: tiny clean
6853
6854         * undo_funcs.C: document undo_frozen
6855
6856 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * counters.C (Counters): add missing algorithm counter.
6859
6860         * text2.C (setCounter): lookup the counter with layouts latexname
6861         instead of by section number.
6862         (setCounter): use a hackish way to lookup the correct enum
6863         counter.
6864         a float name->type change
6865         reset enum couners with counter name directly instead of depth value.
6866
6867         * counters.C (Counters): remove the push_backs, change to use the
6868         float type not the float name.
6869         (labelItem): remove unused string, float name->type change
6870
6871         * counters.h: don't include vector, loose the enums and sects vectors
6872
6873 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6876         (Read): add float->TC_FLOAT to textclassTags
6877         (Read): and handle it in the switch
6878         (readFloat): new function
6879
6880         * FloatList.C (FloatList): comment out the hardcoded float
6881         definitions.
6882
6883         * lyxlayout.h: ws change.
6884
6885 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6886
6887         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6888
6889 2002-09-03  Angus Leeming  <leeming@lyx.org>
6890
6891         * BufferView_pimpl.h: qualified name is not allowed in member
6892         declaration: WorkArea & Pimpl::workarea() const;
6893
6894         * factory.C: added using std::endl directive.
6895
6896         * text3.C: added using std::find and std::vector directives.
6897
6898 2002-08-29  André Pönitz <poenitz@gmx.net>
6899
6900         * lyxtext.h:
6901         * text2.C: remove unused member number_of_rows
6902
6903         * Makefile.am:
6904         * BufferView2.C: remove file, move contents to...
6905         * BufferView.C: ... here
6906
6907         * BufferView_pimpl.C:
6908         * factory.C: move more inset creation to factory
6909
6910         * vspace.C: avoid direct usage of LyXText, ws changes
6911
6912         * BufferView.[Ch]:
6913                 don't provide direct access to WorkArea, use two simple
6914                 acessors haveSelction() and workHeight() instead
6915
6916
6917 2002-08-29  John Levon  <levon@movementarian.org>
6918
6919         * BufferView_pimpl.C (dispatch): do not continue when
6920           no buffer
6921
6922 2002-08-28  André Pönitz <poenitz@gmx.net>
6923
6924         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6925
6926         * BufferView.h:
6927         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6928
6929 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6930
6931         * buffer.C: increment LYX_FORMAT to 221
6932
6933         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6934         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6935
6936         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6937
6938         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6939
6940 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6941
6942         * factory.C (createInset): use LyXTextClass::floats
6943
6944         * MenuBackend.C (expandFloatListInsert):
6945         (expandFloatInsert):
6946         (expandToc):
6947
6948         * text2.C (setCounter):
6949
6950         * LaTeXFeatures.C (useFloat):
6951         (getFloatDefinitions):
6952
6953         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6954
6955         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6956         floatlist_, with accessor floats().
6957
6958         * FloatList.h: remove global FloatList
6959
6960 2002-08-26  André Pönitz <poenitz@gmx.net>
6961
6962         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6963
6964         * BufferView.h:
6965         * BufferView2.C:
6966         * BufferView_pimpl.C:
6967         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6968
6969 2002-08-25  John Levon  <levon@movementarian.org>
6970
6971         * LyXAction.C: fix margin note description
6972
6973 2002-08-24  John Levon  <levon@movementarian.org>
6974
6975         * buffer.C:
6976         * bufferlist.C:
6977         * bufferview_funcs.C:
6978         * lyxfont.C:
6979         * undo_funcs.C: cleanups
6980
6981         * lyxfunc.C: disable CUT/COPY when no selection
6982
6983 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6984
6985         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6986         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6987
6988         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6989         Add backward compatibility to "mono", "gray" and "no".
6990
6991 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6992
6993         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6994         (and file_format >= 200).
6995
6996 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6997
6998         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6999
7000 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7001
7002         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7003
7004 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7005
7006         * BufferView_pimpl.C:
7007         * LyXAction.C:
7008         * buffer.C:
7009         * commandtags.h:
7010         * lyxfunc.C:
7011         * paragraph.[Ch]:
7012         * text2.C:
7013         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7014         inset and code to make it  work with the paragraph code. The inset
7015         can be anywhere in the paragraph, but will only do the expected
7016         thing in LaTeX if the layout file contains the parameter line
7017                         OptionalArgs    1
7018         (or more generally, a nonzero value) for that layout.
7019
7020 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph.h: remove the declaration of undefined counters class
7023         function.
7024
7025 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7026
7027         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7028         Dr. Richard Hawkins.
7029
7030 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7031
7032         * paragraph_funcs.h: remove some unneeded includes
7033
7034         * text.C (backspace): pasteParagraph now in global scipe
7035
7036         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7037         (pasteSelection): ditto
7038
7039         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7040         * paragraph_funcs.C (pasteParagraph): ... here
7041
7042 2002-08-20  André Pönitz <poenitz@gmx.net>
7043
7044         * commandtags.h: new LFUNs for swapping/copying table row/colums
7045
7046         * LyXAction.C:
7047         * lyxfunc.C: support for new lfuns
7048
7049 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * tabular.C:
7052         * buffer.[Ch]: remove NO_COMPABILITY stuff
7053
7054 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * boost.C (throw_exception): new file, with helper function for
7057         boost compiled without exceptions.
7058
7059         * paragraph.h:
7060         * lyxlength.C:
7061         * buffer.C:
7062         * ParameterStruct.h:
7063         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7064
7065         * bufferlist.C (emergencyWriteAll): use boost bind
7066
7067         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7068
7069         * text.C: include paragraph_funcs.h
7070         (breakParagraph): breakParagraph is now in global scope
7071
7072         * paragraph_funcs.[Ch]: new files
7073
7074         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7075         global scope
7076
7077         * buffer.C: include paragraph_funcs.h
7078         (insertStringAsLines): breakParagraph is now in global scope
7079
7080         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7081         paragraph_funcs.C
7082
7083         * CutAndPaste.C: include paragraph_funcs.h
7084         (cutSelection): breakParagraphConservative is now in global scope
7085         (pasteSelection): ditto
7086
7087         * buffer.h: declare oprator== and operator!= for
7088         Buffer::inset_iterator
7089
7090         * bufferlist.C (emergencyWrite): don't use fmt(...)
7091
7092         * text3.C: add using std::endl
7093
7094         * BufferView.C (moveCursorUpdate): remove default arg
7095
7096 2002-08-20  André Pönitz <poenitz@gmx.net>
7097
7098         * buffer.[Ch]: move inline functions to .C
7099
7100         * BufferView2.C:
7101         * BufferView_pimpl.C:
7102         * text.C:
7103         * buffer.[Ch]: use improved inset_iterator
7104
7105         * buffer.C:
7106         * paragraph.[Ch]: write one paragraph at a time
7107
7108 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7109
7110         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7111         style if style is not specified.
7112
7113 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7114
7115         * text2.C (setCounter): when searching for right label for a
7116         caption, make sure to recurse to parent insets (so that a caption
7117         in a minipage in a figure float works) (bug #568)
7118
7119 2002-08-20  André Pönitz <poenitz@gmx.net>
7120
7121         * text3.C: new file for LyXText::dispatch() and helpers
7122
7123         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7124
7125         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7126
7127 2002-08-19  André Pönitz <poenitz@gmx.net>
7128
7129         * lyxtext.h:
7130         * text.C: new LyXText::dispatch()
7131
7132         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7133
7134 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7137
7138         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7139         Hebrew text.
7140
7141 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7142
7143         * Makefile.am: use $(variables) instead of @substitutions@
7144
7145 2002-08-15  André Pönitz <poenitz@gmx.net>
7146
7147         * lyxfunc.C:
7148         * BufferView_pimpl.C: streamlining mathed <-> outer world
7149         interaction
7150
7151         * commandtags.h:
7152         * LyXAction.C: remove unused LFUN_MATH
7153
7154 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7157
7158 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * paragraph.C (Paragraph): reformat a bit
7161         (cutIntoMinibuffer): use builtin InsetList function instad of
7162         doing it manually.
7163         (getInset): ditto
7164
7165         * buffer.C: include boost/bind.hpp, add using std::for_each
7166         (writeFileAscii): use ParagraphList iterators
7167         (validate): use for_each for validate traversal of paragraphs
7168         (getBibkeyList): use ParagraphList iterators
7169         (resizeInsets): use for_each to resizeInsetsLyXText for all
7170         paragraphs.
7171         (getParFromID): use ParagraphList iterators
7172
7173         * BufferView2.C (lockInset): use paragraph list and iterators
7174
7175 2002-08-14  John Levon  <levon@movementarian.org>
7176
7177         * lyxserver.C: remove spurious xforms include
7178
7179 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7180
7181         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7182
7183 2002-08-13  André Pönitz <poenitz@gmx.net>
7184
7185         * LyXAction.[Ch]:
7186         * lyxfunc.C: further cleaning
7187
7188 2002-08-13  André Pönitz <poenitz@gmx.net>
7189
7190         * funcrequest.h: new constructor
7191
7192         * funcrequest.C: move stuff here from .h
7193
7194         * Makefile.am:
7195         * BufferView_pimpl.C:
7196         * LyXAction.C:
7197         * toc.C:
7198         * lyxfunc.C: subsequent changes
7199
7200         * lyxfunc.h: new view() member function
7201
7202         * lyxfunc.C: subsequent changes
7203
7204 2002-08-13  Angus Leeming  <leeming@lyx.org>
7205
7206         * BufferView2.C:
7207         * BufferView_pimpl.C:
7208         * buffer.C:
7209         * converter.C:
7210         * importer.C:
7211         * lyxfunc.C:
7212         * lyxvc.C:
7213         * toc.C:
7214         * vc-backend.C:
7215         changes due to the changed LyXView interface that now returns references
7216         to member variables not pointers.
7217
7218 2002-08-13  Angus Leeming  <leeming@lyx.org>
7219
7220         * WordLangTuple (word, lang_code): return references to strings,
7221         not strings.
7222
7223         * BufferView.h:
7224         * SpellBase.h:
7225         * lyxtext.h: forward-declare WordLangTuple.
7226
7227         * BufferView2.C:
7228         * ispell.C:
7229         * pspell.C:
7230         * text.C: #include "WordLangTuple.h".
7231
7232         * lyxtext.h:
7233         * text.C: (selectNextWordToSpellcheck): constify return type.
7234
7235 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7236
7237         * buffer.C:
7238         * buffer.h:
7239         * lyxtext.h:
7240         * paragraph.C:
7241         * paragraph_pimpl.h:
7242         * text.C:
7243         * text2.C:
7244         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7245         suggested by Angus.
7246         Made updateCounter always count from start of buffer, and removed
7247         second argument (par).
7248         Reverted floats number display to '#'. Perhaps I'll try again when the
7249         code base is sanitized a bit.
7250
7251 2002-08-12  Angus Leeming  <leeming@lyx.org>
7252
7253         * buffer.[Ch] (getLabelList): constify.
7254
7255 2002-08-07  André Pönitz <poenitz@gmx.net>
7256
7257         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7258
7259         * funcrequest.h: extension to keep mouse (x,y) position
7260
7261 2002-08-12  Juergen Vigna  <jug@sad.it>
7262
7263         * BufferView2.C (insertErrors): forbid undo when inserting error
7264         insets.
7265
7266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7267
7268 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * ParagraphList.[Ch]: new files
7271
7272         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7273
7274         * BufferView2.C (lockInset): ParagraphList changes
7275         * toc.C: ditto
7276         * text2.C: ditto
7277         * bufferlist.C: ditto
7278         * buffer.h: ditto
7279         * buffer.C: ditto
7280
7281 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7282
7283         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7284         unused class variable counter_,
7285
7286         * paragraph.[Ch] (getFirstCounter): delete unused function
7287
7288         * counters.C: include LAssert.h
7289         (reset): add a new function with no arg, change other version to
7290         not have def. arg and to not allow empty arg.
7291
7292         * text2.C (setCounter): remove empty arg from call to Counters::reset
7293
7294 2002-08-11  John Levon  <levon@movementarian.org>
7295
7296         * Makefile.am: add WordLangTuple.h
7297
7298 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7301         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7302
7303         * insets/insettext.C: InsetList changes
7304
7305         * graphics/GraphicsSupport.C (operator()): InsetList changes
7306
7307         * toc.C (getTocList): InsetList changes
7308
7309         * paragraph_pimpl.[Ch]: InsetList changes
7310
7311         * paragraph.[Ch]: InsetList changes
7312
7313         * buffer.C (inset_iterator): InsetList changes
7314         (setParagraph): ditto
7315         * buffer.h (inset_iterator): ditto
7316         * iterators.C (operator++): ditto
7317         * iterators.h: ditto
7318
7319         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7320
7321         * InsetList.[Ch]: new files, most InsetList handling moved out of
7322         paragraph.C.
7323
7324         * BufferView2.C (removeAutoInsets): InsetList changes
7325         (lockInset): ditto
7326         (ChangeInsets): ditto
7327
7328 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * paragraph_pimpl.h (empty): new function
7331
7332         * paragraph.[Ch] (empty): new function
7333
7334         * other files: use the new Paragraph::empty function
7335
7336 2002-08-09  John Levon  <levon@movementarian.org>
7337
7338         * lyxtext.h: remove unused refresh_height
7339
7340 2002-08-09  John Levon  <levon@movementarian.org>
7341
7342         * Makefile.am:
7343         * sgml.h:
7344         * sgml.C:
7345         * buffer.C:
7346         * paragraph.h:
7347         * paragraph.C: move sgml char escaping out of paragraph
7348
7349         * paragraph.h:
7350         * paragraph.C: remove id setter
7351
7352         * buffer.C:
7353         * paragraph.C:
7354         * paragraph_pimpl.C: remove dead tex_code_break_column
7355
7356         * bufferview_funcs.C: small cleanup
7357
7358         * lyxfunc.C: remove dead proto
7359
7360         * lyxtext.h: make some stuff private. Remove some dead stuff.
7361
7362         * lyxgluelength.C: make as[LyX]String() readable
7363
7364 2002-08-08  John Levon  <levon@movementarian.org>
7365
7366         * LyXAction.h:
7367         * LyXAction.C:
7368         * MenuBackend.C:
7369         * ToolbarDefaults.C:
7370         * lyxfunc.C:
7371         * lyxrc.C:
7372         * toc.C: lyxaction cleanup
7373
7374 2002-08-08  John Levon  <levon@movementarian.org>
7375
7376         * BufferView2.C: small cleanup
7377
7378         * lyxfind.h:
7379         * lyxfind.C: move unnecessary header into the .C
7380
7381 2002-08-08  John Levon  <levon@movementarian.org>
7382
7383         * funcrequest.h: just tedious nonsense
7384
7385         * lyx_main.h:
7386         * lyx_main.C: cleanups
7387
7388         * buffer.C:
7389         * vspace.C: remove dead header lyx_main.h
7390
7391 2002-08-07  Angus Leeming  <leeming@lyx.org>
7392
7393         * Paragraph.[Ch]:
7394         * paragraph_pimpl.h:
7395         Forward declare class Counters in paragraph.h by moving the ctrs member
7396         variable into Paragraph::Pimpl.
7397         (counters): new method, returning a reference to pimpl_->ctrs.
7398
7399         * text2.C: ensuing changes.
7400
7401 2002-08-07  John Levon  <levon@movementarian.org>
7402
7403         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7404
7405         * BufferView_pimpl.C: announce X selection on double/triple
7406           click
7407
7408         * lyx_main.C: use correct bool in batch dispatch
7409
7410         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7411
7412 2002-08-07  André Pönitz <poenitz@gmx.net>
7413
7414         * funcrequest.h: new class to wrap a kb_action and its argument
7415
7416         * BufferView.[Ch]:
7417         * BufferView_pimpl[Ch]:
7418         * LaTeX.C:
7419         * LyXAction.[Ch]:
7420         * lyxfunc.[Ch]:
7421         * lyxrc.C: subsequent changes
7422
7423
7424 2002-08-07  John Levon  <levon@movementarian.org>
7425
7426         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7427           document options change.
7428
7429 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7430
7431         * counters.[Ch]
7432         * text2.C
7433         * paragraph.[Ch]
7434         * makefile.am: move counters functionality over from
7435         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7436
7437 2002-08-06  John Levon  <levon@movementarian.org>
7438
7439         * WordLangTuple.h: new file for word + language code tuple
7440
7441         * SpellBase.h:
7442         * pspell.h:
7443         * pspell.C:
7444         * ispell.h:
7445         * ispell.C:
7446         * lyxtext.h:
7447         * text.C:
7448         * text2.C:
7449         * BufferView.h:
7450         * BufferView2.C: use WordLangTuple
7451
7452         * layout.h:
7453         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7454
7455 2002-08-06  John Levon  <levon@movementarian.org>
7456
7457         * lyx_main.C: fix cmdline batch handling
7458
7459 2002-08-06  André Pönitz <poenitz@gmx.net>
7460
7461         * lyxrc.C: set default for show_banner to true
7462
7463 2002-08-06  John Levon  <levon@movementarian.org>
7464
7465         * pspell.C: fix a crash, and allow new aspell to work
7466
7467 2002-08-06  John Levon  <levon@movementarian.org>
7468
7469         * lyxfunc.C:
7470         * kbmap.C: small cleanup
7471
7472         * vspace.h:
7473         * vspace.C: add const
7474
7475 2002-08-05  John Levon  <levon@movementarian.org>
7476
7477         * LyXAction.C: back to tabular-insert
7478
7479 2002-08-04  John Levon  <levon@movementarian.org>
7480
7481         * BufferView.h:
7482         * BufferView.C: cosmetic change
7483
7484         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7485
7486         * bufferlist.C:
7487         * buffer.h:
7488         * buffer.C:
7489         * lyxcb.h:
7490         * lyxcb.C:
7491         * lyxserver.C:
7492         * lyxvc.C:
7493         * vc-backend.C:
7494         * BufferView2.C: purge all "Lyx" not "LyX" strings
7495
7496         * lyxcursor.h:
7497         * lyxcursor.C: attempt to add some documentation
7498
7499         * lyxfunc.C:
7500         * commandtags.h:
7501         * LyXAction.C:
7502         * ToolbarDefaults.C:
7503         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7504           merge with LFUN_TABULAR_INSERT
7505
7506         * Makefile.am:
7507         * SpellBase.h:
7508         * ispell.h:
7509         * ispell.C:
7510         * pspell.h:
7511         * pspell.C: split up i/pspell implementations into separate
7512           files, many cleanups
7513
7514         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7515
7516         * text2.C: some cleanup
7517
7518         * lyxfunc.C: don't check for isp_command == "none" any more, it
7519           didn't make any sense
7520
7521 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7522
7523         * counters.[Ch]
7524         * text2.C
7525         * paragraph.[Ch]
7526         * makefile.am: move counters functionality over
7527         from text2.C/paragraph.[Ch] to counters.[Ch], and
7528         make proper C++.
7529 2002-08-02  John Levon  <levon@movementarian.org>
7530
7531         * buffer.C: s/lyxconvert/lyx2lyx/
7532
7533 2002-08-02  Angus Leeming  <leeming@lyx.org>
7534
7535         * lyxlex.C: revert John's change as it breaks reading of the user
7536         preamble.
7537
7538 2002-08-02  Angus Leeming  <leeming@lyx.org>
7539
7540         * importer.C (Import):
7541         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7542         changes due to LyXView::view() now returning a boost::shared_ptr.
7543
7544 2002-08-02  John Levon  <levon@movementarian.org>
7545
7546         * lyxlex.C: small cleanup
7547
7548 2002-08-02  John Levon  <levon@movementarian.org>
7549
7550         * text2.C (status): small cleanup, no logic change
7551
7552 2002-08-01  John Levon  <levon@movementarian.org>
7553
7554         * buffer.h:
7555         * buffer.C (writeFile): don't output alerts, caller
7556           handles this
7557
7558         * bufferlist.C:
7559         * lyx_cb.C: from above
7560
7561         * lyxfunc.C: allow to open non-existent files
7562
7563 2002-07-31  John Levon  <levon@movementarian.org>
7564
7565         * lyxserver.C: don't let incidental errors get
7566           in the way (errno)
7567
7568 2002-07-30  John Levon  <levon@movementarian.org>
7569
7570         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7571
7572 2002-07-30  John Levon  <levon@movementarian.org>
7573
7574         * lyxserver.h:
7575         * lyxserver.C: remove I/O callback too
7576
7577 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7578
7579         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7580         log.
7581
7582 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * many files: strip,frontStrip -> trim,ltrim,rtrim
7585
7586 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * PrinterParams.h: remove extern containsOnly, and include
7589         support/lstrings.h instead.
7590
7591         * LaTeX.C (scanAuxFile): modify because of strip changes
7592         (deplog): ditto
7593         * buffer.C (makeLaTeXFile): ditto
7594         * bufferparams.C (writeFile): ditt
7595         * lyxfont.C (stateText): ditto
7596         * lyxserver.C (read_ready): ditto
7597         * vc-backend.C (scanMaster): ditto
7598
7599         * BufferView_pimpl.h: ws changes
7600
7601         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7602
7603 2002-07-26  André Pönitz <poenitz@gmx.net>
7604
7605         * kb_sequence.C: remove unnedred usings
7606
7607 2002-07-26  Juergen Vigna  <jug@sad.it>
7608
7609         * lyxfind.C (LyXReplace): we have to check better if the returned
7610         text is not of theLockingInset()->getLockingInset().
7611
7612 2002-07-25  Juergen Vigna  <jug@sad.it>
7613
7614         * lyxfind.C (LyXReplace): don't replace if we don't get the
7615         right LyXText.
7616
7617         * undo_funcs.C (createUndo): remove debugging code.
7618
7619 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7620
7621         * buffer.C (parseSingleLyXformat2Token): Use default placement
7622         when reading old floats.
7623
7624         * FloatList.C (FloatList): Change the default placement of figure
7625         and tables to "tbp".
7626
7627 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7628
7629         * MenuBackend.C: using std::max
7630
7631 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7632
7633         * MenuBackend.C (expandToc):
7634         (expandToc2): code moved from xforms menu frontend. It is now
7635         generic and TOCs are transparent to menu frontends.
7636
7637 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7638
7639         * toc.C (getTocList): protect against buf=0
7640
7641         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7642         Menu as first parameter. Now, this calls itself recursively to
7643         expand a whole tree (this will be useful for TOC handling)
7644         (expandFloatInsert): remove 'wide' version of floats
7645
7646         * MenuBackend.h (submenuname): returns the name of the submenu.
7647         (submenu): returns the submenu itself, provided it has been
7648         created by MenuBackend::expand
7649
7650 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7651
7652         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7653         insets which have noFontChange == true. (bug #172)
7654
7655 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7656
7657         * BufferView_pimpl.C: add connection objects and use them...
7658         (Pimpl): here.
7659
7660 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7661
7662         * MenuBackend.C (expandLastfiles):
7663         (expandDocuments):
7664         (expandFormats):
7665         (expandFloatListInsert):
7666         (expandFloatInsert):
7667         (expand): split expand in parts
7668
7669 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7670
7671         * lyx_gui.C: use lyx_gui::exit()
7672
7673 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7674
7675         * LyXAction.C: show the failing pseudo action
7676
7677 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7678
7679         * buffer.C (readFile): Run the lyxconvert script in order to read
7680         old files.
7681
7682 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * LyXAction.C:
7685         * commandtags.h:
7686         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7687
7688 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * LyXAction.C:
7691         * commandtags.h:
7692         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7693
7694 2002-07-22  Herbert Voss  <voss@lyx.org>
7695
7696         * lengthcommon.C:
7697         * lyxlength.[Ch]: add support for the vertical lengths
7698
7699 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7700
7701         * toc.[Ch]: std:: fixes
7702
7703 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7704
7705         * lyxrc.C: do not include lyx_main.h
7706
7707         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7708         for layouts
7709
7710         * lyxrc.C:
7711         * encoding.C:
7712         * bufferlist.C:
7713         * BufferView2.C: include "lyxlex.h"
7714
7715         * tabular.h:
7716         * bufferparams.h: do not #include "lyxlex.h"
7717
7718         * lyxtextclasslist.C (Add): remove method
7719         (classlist): renamed to classlist_
7720
7721         * paragraph_pimpl.C:
7722         * paragraph.C:
7723         * text2.C:
7724         * CutAndPaste.C:
7725         * bufferview_funcs.C:
7726         * bufferlist.C:
7727         * text.C:
7728         * LaTeXFeatures.C:
7729         * buffer.C:
7730         * toc.C (getTocList): use BufferParams::getLyXTextClass
7731
7732         * toc.C (getTocList): use InsetFloat::addToToc
7733
7734         * toc.[Ch]: new files, containing helper functions to handle table
7735         of contents
7736
7737         * lyxfunc.C (dispatch): no need to remove spaces around command
7738         given as a string
7739         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7740         first command of the sequence; it is not very clever, but I do not
7741         have a better idea, actually
7742
7743         * LyXAction.C (LookupFunc): make sure to remove space at the
7744         beginning and end of the command
7745
7746 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * MenuBackend.C (getMenubar): new method: return the menubar of
7749         this menu set
7750         (read): treat differently reading of menu and menubar (in
7751         particular, the menubar has no name now)
7752         (Menu::menubar): remove
7753
7754         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7755         saving is finished
7756
7757 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7758
7759         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7760         a bibitem inset in a RTL paragraph.
7761
7762 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7763
7764         * paragraph_pimpl.C: constify
7765
7766         * BufferView_pimpl.C:
7767         * LaTeX.C:
7768         * lyxfunc.C: fix dispatch in a nicer way
7769
7770 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * lyxfunc.C (dispatch):
7773         * BufferView_pimpl.C:
7774         * BufferView_pimpl.h:
7775         * BufferView.C:
7776         * BufferView.h: rename Dispatch() to dispatch()
7777
7778         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7779
7780         * lyxlayout.C (Read): honor DependsOn tag
7781
7782         * lyxlayout.[Ch] (depends_on): new method
7783
7784         * version.C.in: update lyx_docversion
7785
7786         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7787
7788         * paragraph.C (validate): remove from here...
7789         * paragraph_pimpl.C (validate): ... and move here
7790         (isTextAt): make it const
7791
7792         * buffer.C (getLists): ws cleanup
7793
7794 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7795
7796         * language.C (read): Use iso8859-1 encoding in latex_lang
7797         (this prevents LyX from crashing when using iso10646-1 encoding).
7798
7799 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7800
7801         * text2.C (toggleInset): if cursor is inside an inset, close the
7802         inset and leave cursor _after_ it
7803
7804 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7805
7806         * lyxfunc.C: move minibuffer completion handling out of here
7807
7808 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7809
7810         * BufferView_pimpl.C:
7811         * LaTeX.C: fix dispatch calls
7812
7813 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * text.C (drawChars): Fix Arabic text rendering.
7816
7817 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * LyXAction.C:
7820         * commandtags.h:
7821         * lyxfunc.C: remove message-push/pop
7822
7823         * lyxserver.C:
7824         * lyxfunc.h:
7825         * lyxfunc.C: rationalise some code by removing verboseDispatch
7826           in favour of a bool argument to dispatch()
7827
7828 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7829
7830         * lyx_main.C (init): make sure to read symlinks as absolute paths
7831
7832 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * lyxfunc.h:
7835         * lyxfunc.C: no need for commandshortcut to be a member
7836
7837 2002-07-15  André Pönitz <poenitz@gmx.net>
7838
7839         * converter.C: add support for $$s (scripts from lib/scripts dir)
7840         * lyx_main.C: white space
7841
7842 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * bufferlist.C:
7845         * lyxrc.h:
7846         * lyxrc.C: remove second exit confirmation
7847
7848 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7849
7850         * BufferView.h:
7851         * BufferView.C:
7852         * BufferView2.C:
7853         * BufferView_pimpl.h:
7854         * BufferView_pimpl.C:
7855         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7856
7857 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7858
7859         * MenuBackend.C (expand): add numeric shortcuts to document menu
7860
7861         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7862
7863 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * lyxfont.C (setLyXFamily):
7866         (setLyXSeries):
7867         (setLyXShape):
7868         (setLyXSize):
7869         (setLyXMisc):
7870         (lyxRead):
7871         * debug.C (value):
7872         * buffer.C (asciiParagraph): use ascii_lowercase
7873
7874 2002-07-15  Mike Fabian  <mfabian@suse.de>
7875
7876         * lyxlex_pimpl.C (search_kw):
7877         * lyxlex.C (getLongString):
7878         * converter.h (operator<):
7879         * converter.C (operator<):
7880         * buffer.C (parseSingleLyXformat2Token):
7881         (asciiParagraph):
7882         * ToolbarDefaults.C (read):
7883         * MenuBackend.C (checkShortcuts):
7884         (read):
7885         * LColor.C (getFromGUIName):
7886         (getFromLyXName): use the compare_ascii_no_case instead of
7887         compare_no_case, because in turkish, 'i' is not the lowercase
7888         version of 'I', and thus turkish locale breaks parsing of tags.
7889
7890 2002-07-16  Angus Leeming  <leeming@lyx.org>
7891
7892         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7893         now takes a Buffer const & argument.
7894
7895 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * BufferView.C (resize): check there's a buffer to resize
7898
7899 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7900
7901         * lyxfunc.C: remove dead code
7902
7903         * lyxserver.h:
7904         * lyxserver.C: use lyx_guii::set_read_callback
7905
7906 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7907
7908         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7909         an inset in a RTL paragraph.
7910
7911 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * lyxfunc.C: repaint after a font size update
7914
7915 2002-07-15  André Pönitz <poenitz@gmx.net>
7916
7917         * lyxlength.C: inBP should be able to return negative values
7918
7919 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * lyxfunc.C: use lyx_gui::update_fonts()
7922
7923 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * lyxfunc.C: use lyx_gui::update_color()
7926
7927 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7928
7929         * bufferlist.C:
7930         * lyxfunc.h:
7931         * lyxfunc.C:
7932         * lyxrc.h:
7933         * lyxrc.C: remove file->new asks for name option, and let
7934           buffer-new take an argument
7935
7936 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7937
7938         * BufferView_pimpl.C: remove unneeded extra repaint()
7939
7940 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * LyXAction.C: allow command-sequence with NoBuffer
7943
7944         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7945
7946 2002-07-10  Angus Leeming  <leeming@lyx.org>
7947
7948         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7949
7950 2002-07-09  Angus Leeming  <leeming@lyx.org>
7951
7952         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7953
7954 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * lengthcommon.h: whitespace
7957
7958         * lyxfunc.C: update scrollbar after goto paragraph
7959
7960         * lyxtext.h: factor out page break drawing, and fix it so
7961           page break/added space paints as selected nicely
7962
7963 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * BufferView_pimpl.C: add FIXMEs, clean up a little
7966
7967 2002-07-09  André Pönitz <poenitz@gmx.net>
7968
7969         * lyxfont.[Ch]: support for wasy symbols
7970
7971 2002-07-08  André Pönitz <poenitz@gmx.net>
7972
7973         * BufferView_pimpl.C: apply John's patch for #93.
7974
7975 2002-07-05  Angus Leeming  <leeming@lyx.org>
7976
7977         * BufferView_pimpl.C (buffer): generate previews if desired.
7978
7979         * LColor.h: add "preview" to the color enum.
7980
7981         * LColor.C (LColor): add a corresponding entry to the items array.
7982
7983         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7984         with this buffer.
7985
7986 2002-07-05  Angus Leeming  <leeming@lyx.org>
7987
7988         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7989         The body of the code is now in the method that is passed an ostream &
7990         rather than a file name.
7991         Pass an additional only_preamble parameter, useful for the forthcoming
7992         preview stuff.
7993
7994 2002-07-03  André Pönitz <poenitz@gmx.net>
7995
7996         * lyxfunc.C: simplify getStatus() a bit for math stuff
7997
7998 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7999
8000         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8001
8002 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8003
8004         * text.C (changeRegionCase): do not change case of all the
8005         document when region ends at paragraph end (bug #461)
8006
8007 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8008
8009         * paragraph.C (startTeXParParams):
8010         (endTeXParParams): add \protect when necessary
8011
8012 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8013
8014         * BufferView_pimpl.C (workAreaExpose): remove warning
8015
8016 2002-06-27  Angus Leeming  <leeming@lyx.org>
8017
8018         * Makefile.am: add lyxlayout_ptr_fwd.h.
8019
8020 2002-06-26  André Pönitz <poenitz@gmx.net>
8021
8022         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8023
8024 2002-06-25  Angus Leeming  <leeming@lyx.org>
8025
8026         * lyxfunc.C (dispatch): Comment out the call to
8027         grfx::GCache::changeDisplay. The method no longer exists now that the
8028         pixmap generation part of the graphics loader has been moved into
8029         InsetGraphics.
8030
8031 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8032
8033         * text2.C: layout as layout
8034
8035         * text.C: layout as layout
8036
8037         * tabular.C (OldFormatRead): layout as layout
8038
8039         * paragraph_pimpl.C (TeXDeeper): layout as layout
8040         (realizeFont): layout as layout
8041
8042         * paragraph.C (writeFile): layout as layout
8043         (validate): layout as layout
8044         (getFont): layout as layout
8045         (getLabelFont): layout as layout
8046         (getLayoutFont): layout as layout
8047         (breakParagraph): layout as layout
8048         (stripLeadingSpaces): layout as layout
8049         (getEndLabel): layout as layout
8050         (getMaxDepthAfter): layout as layout
8051         (applyLayout): layout as layout
8052         (TeXOnePar): layout as layout
8053         (simpleTeXOnePar): layout as layout
8054         (TeXEnvironment): layout as layout
8055         (layout): layout as layout
8056         (layout): layout as layout
8057
8058         * lyxtextclass.C (compare_name): new functor to work with
8059         shared_ptr, layout as layout
8060         (Read): layout as layout
8061         (hasLayout): layout as layout
8062         (operator): layout as layout
8063         (delete_layout): layout as layout
8064         (defaultLayout): layout as layout
8065
8066         * lyxlayout_ptr_fwd.h: new file
8067
8068         * lyxlayout.C (Read): layout as layout
8069
8070         * lyx_cb.C (MenuInsertLabel): layout as layout
8071
8072         * bufferlist.C (newFile): layout as layout
8073
8074         * buffer.C (readLyXformat2): layout as layout
8075         (parseSingleLyXformat2Token): layout as layout
8076         (insertStringAsLines): layout as layout
8077         (asciiParagraph): layout as layout
8078         (latexParagraphs): layout as layout
8079         (makeLinuxDocFile): layout as layout
8080         (simpleLinuxDocOnePar): layout as layout
8081         (makeDocBookFile): layout as layout
8082         (simpleDocBookOnePar): layout as layout
8083         (getLists): layout as layout
8084
8085         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8086
8087         * CutAndPaste.C (cutSelection): layout as layout
8088         (pasteSelection): layout as layout
8089         (SwitchLayoutsBetweenClasses): layout as layout
8090
8091         * BufferView_pimpl.C (Dispatch): layout as layout
8092         (smartQuote): layout as layout
8093
8094         * BufferView2.C (unlockInset): layout as layout
8095
8096 2002-06-24  André Pönitz <poenitz@gmx.net>
8097
8098         * lyxfunc.C: fix #487
8099
8100 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * lyxrc.h:
8103         * lyxrc.C:
8104         * lyxfunc.C: remove display_shortcuts, show_banner
8105
8106 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * Buffer_pimpl.C: oops, update on resize
8109
8110 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * buffer.C:
8113         * converter.C:
8114         * exporter.C:
8115         * lyxfunc.C:
8116         * BufferView.h:
8117         * BufferView.C: use repaint()
8118
8119         * BufferView_pimpl.h:
8120         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8121           as it's a clearer description. Remove superfluous
8122           redraws.
8123
8124 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * text.C: fix bug 488. Not ideal, but getting
8127           getWord() to work properly for the insets that
8128           matter is more difficult ...
8129
8130 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * BufferView_pimpl.C:
8133         * LyXAction.C:
8134         * commandtags.h:
8135         * lyxfunc.C: remove the six million index lyxfuncs to just
8136           one, and DTRT (bug 458)
8137
8138 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * BufferView.h:
8141         * BufferView.C:
8142         * BufferView_pimpl.h:
8143         * BufferView_pimpl.C: clean up resize() stuff,
8144           and unnecessary updateScreen()s
8145
8146 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * BufferView.h:
8149         * BufferView.C:
8150         * BufferView_pimpl.h:
8151         * BufferView_pimpl.C:
8152         * lyxfind.h:
8153         * lyxfind.C:
8154         * minibuffer.C: remove focus management of workarea,
8155           not needed. Use screen's greyOut()
8156
8157 2002-06-17  Herbert Voss  <voss@lyx.org>
8158
8159         * converter.C: (convert) do not post a message, when converting
8160         fails, let the calling function decide what to do in this case
8161
8162 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * lyxfunc.C: tidy up a little
8165
8166 2002-06-16    <alstrup@diku.dk>
8167
8168         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8169         Got rid of FORMS_H_LOCATION include. Now we are
8170         GUII.
8171
8172 2002-06-15  LyX Development team  <lyx@rilke>
8173
8174         * buffer.[Ch] (sgmlOpenTag):
8175         (sgmlCloseTag): Added support for avoiding pernicious mixed
8176         content. Return number of lines written.
8177
8178         (makeLinuxDocFile):
8179         (makeDocBookFile): Fixed calls to sgml*Tag.
8180         Simple white space clean.
8181
8182         (simpleDocBookOnePar): Simple white space clean.
8183
8184         * tabular.[Ch] (docBook): Renamed to docbook and got another
8185         argument to related with the pernicious mixed content.
8186
8187         (docbookRow): Fixed calls for docbook inset method.
8188
8189 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8190
8191         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8192         so it's X11 independent.
8193
8194         * kb*.[Ch]: ditto.
8195
8196         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8197
8198 2002-06-15  Lyx Development team  <lyx@electronia>
8199
8200         * intl.h: Renamed getTrans to getTransManager.
8201
8202 2002-06-14  Angus Leeming  <leeming@lyx.org>
8203
8204         * Makefile.am: nuke forgotten stl_string_fwd.h.
8205
8206 2002-06-12  Angus Leeming  <leeming@lyx.org>
8207
8208         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8209
8210 2002-06-13  Angus Leeming  <leeming@lyx.org>
8211
8212         * LaTeX.C:
8213         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8214
8215 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8216
8217         * kbmap.C (getiso): add support for cyrillic and greek
8218
8219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView.h:
8222         * BufferView.C:
8223         * BufferView_pimpl.h:
8224         * BufferView_pimpl.C: move bogus scrolling logic
8225           to xforms
8226
8227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8228
8229         * lyxfunc.C:
8230         * BufferView_pimpl.C: view->resize() change
8231
8232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * BufferView_pimpl.C: topCursorVisible
8235           prototype change
8236
8237 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * Makefile.am:
8240         * lyx_gui.h:
8241         * lyx_gui.C: move to frontends/
8242
8243         * main.C:
8244         * lyx_main.h:
8245         * lyx_main.C: changes from above
8246
8247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * intl.C:
8250         * intl.h:
8251         * kbmap.C:
8252         * kbsequence.C:
8253         * lyx_cb.C:
8254         * lyx_main.C: minor tidy
8255
8256 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * BufferView_pimpl.h:
8259         * BufferView_pimpl.C:
8260         * BufferView.h:
8261         * BufferView.C: make painter() const,
8262           remove dead code
8263
8264         * BufferView2.C: use screen() accessor
8265
8266         * lyx_main.h:
8267         * lyx_main.C: some minor cleanup
8268
8269 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8270
8271         * BufferView_pimpl.h:
8272         * BufferView_pimpl.C: remove enter/leaveView,
8273           use workHeight()
8274
8275 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * BufferView.h:
8278         * BufferView.C:
8279         * BufferView2.C:
8280         * BufferView_pimpl.h:
8281         * BufferView_pimpl.C: only construct screen once,
8282           rename
8283
8284         * lyxrc.C: remove pointless comment
8285
8286 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8287
8288         * BufferView.h:
8289         * BufferView.C: remove active() and belowMouse()
8290
8291         * BufferView_pimpl.h:
8292         * BufferView_pimpl.C: use workarea() not workarea_,
8293           and make it use a scoped_ptr instead
8294
8295 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8296
8297         * lyx_gui.C: add debug message on BadWindow
8298
8299 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8300
8301         * sp_spell.C: fdopen is not part of the C++ standard.
8302
8303         * paragraph.C (InsetIterator): use >= instead of ==
8304
8305 2002-06-07  Angus Leeming  <leeming@lyx.org>
8306
8307         Fixes needed to compile with Compaq cxx 6.5.
8308         * BufferView_pimpl.C:
8309         * DepTable.C:
8310         * buffer.C:
8311         * converter.C:
8312         * encoding.C:
8313         * lyx_gui.C:
8314         * lyx_main.C:
8315         * lyxtextclasslist.C:
8316         * minibuffer.C:
8317         * sp_spell.C:
8318         * tabular_funcs.C:
8319         * vc-backend.C:
8320         all c-library variables have been moved into namespace std. Wrap
8321         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8322
8323         * lyxlength.C:
8324         * tabular-old.C:
8325         * tabular.C:
8326         Add a using std::abs declaration.
8327
8328         * kbmap.h (modifier_pair):
8329         * paragraph.h (InsetTable, InsetList):
8330         * lyxfont.h (FontBits):
8331         type definition made public.
8332
8333         * bufferlist.C (emergencyWriteAll): the compiler complains that
8334         there is more than one possible lyx::class_fun template to choose from.
8335         I re-named the void specialisation as lyx::void_class_fun.
8336
8337         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8338
8339         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8340         the compiler is is unable to find tostr in write_attribute.
8341
8342 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * buffer.C (sgmlError): hide #warning
8345
8346 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * xtl/*: get rid of xtl, which is not in use anyway
8349
8350         * LyXAction.C (init):
8351         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8352         were unimplemented xtl experimentation
8353
8354 2002-06-04  André Pönitz <poenitz@gmx.net>
8355
8356         * lyxfunc.C: disable array operation on simple formulae
8357
8358 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * converter.C: constify a bit
8361
8362 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * lyx_gui.C: check xforms version correctly
8365
8366 2002-04-30  Herbert Voss  <voss@lyx.org>
8367
8368         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8369         "keep" option
8370
8371 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8374           attempt to register it with a VCS)
8375
8376 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8377
8378         * lyx_main.C (init): honor variables LYX_DIR_13x and
8379         LYX_USERDIR_13x
8380
8381 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * buffer.h:
8384         * buffer.C:
8385         * lyx_main.C: fix a crash on bad command line,
8386           and give a useful exit status on error
8387
8388         * lyxfunc.C (doImport): allow -i lyx to work
8389
8390 2002-03-30  André Pönitz <poenitz@gmx.net>
8391
8392         * lyxfunc.C: mathed font changes
8393
8394 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8395
8396         * LaTeX.C:
8397         * importer.h:
8398         * importer.C:
8399         * lyx_sty.h:
8400         * lyx_sty.C:
8401         * lyxlex.C:
8402         * lyxrow.h:
8403         * lyxtext.h:
8404         * paragraph.h:
8405         * paragraph.C:
8406         * texrow.h:
8407         * texrow.C:
8408         * text.C:
8409         * trans_mgr.h: srcdocs, and some minor cleanups
8410
8411 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8412
8413         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8414         call getFont all the time)
8415
8416 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8417
8418         * switch from SigC signals to boost::signals
8419
8420 2002-05-29  André Pönitz <poenitz@gmx.net>
8421
8422         * paragraph_pimpl.C (getChar): don't call size() too often...
8423
8424 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8425
8426         * paragraph_pimpl.C (insertChar): do not try to update tables when
8427         appending (pos == size())
8428
8429         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8430         in order to reduce drastically the number of comparisons needed to
8431         parse a large document
8432
8433 2002-05-29  André Pönitz <poenitz@gmx.net>
8434
8435         * text.C:
8436         * text2.C:
8437         * lyxtextclass.C:
8438         * sp_pspell.h:
8439         * textclasslist.[Ch]:
8440         * sp_ispell.h: whitespace change
8441
8442 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8445         lyxaction directly now.
8446
8447 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8448
8449         * trans.C:
8450         * lyxfont.C:
8451         * lyxvc.C: remove unused headers
8452
8453 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8454
8455         * Makefile.am:
8456         * buffer.h:
8457         * undostack.h:
8458         * undostack.C:
8459         * undo_funcs.h:
8460         * undo_funcs.C: some cleanups. Use shared_ptr
8461           and a template for the undo stacks.
8462
8463 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8464
8465         * BufferView_pimpl.h:
8466         * BufferView_pimpl.C:
8467         * kbmap.h:
8468         * kbmap.C:
8469         * kbsequence.h:
8470         * kbsequence.C:
8471         * lyxfunc.h:
8472         * lyxfunc.C:
8473         * text2.C: use key_state/mouse_state
8474
8475 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8476
8477         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8478         and LSubstring
8479
8480         * chset.C: change include order
8481         (loadFile): use boost regex and get rid of LRegex and LSubstring
8482
8483         * Makefile.am (BOOST_LIBS): new variable
8484         (lyx_LDADD): use it
8485
8486         * LaTeX.C: change include order.
8487         (scanAuxFile): use boost regex and get rid of LRegex and
8488         LSubstring
8489         (deplog): ditto
8490
8491 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8492
8493         * ColorHandler.h:
8494         * ColorHandler.C:
8495         * FontInfo.h:
8496         * FontInfo.C: moved to frontends/xforms/
8497
8498         * FontLoader.h:
8499         * FontLoader.C: moved into frontends for GUIIzation
8500
8501         * Makefile.am:
8502         * lyx_gui.C:
8503         * lyxfont.C:
8504         * lyxfunc.C: changes from above
8505
8506 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * LColor.C: remove spurious X include
8509
8510         * BufferView_pimpl.C:
8511         * Makefile.am:
8512         * font.h:
8513         * font.C:
8514         * text.C:
8515         * text2.C: move font metrics to frontends/
8516
8517 2002-05-24  Juergen Vigna  <jug@sad.it>
8518
8519         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8520         setting the undo_cursor.
8521
8522         * ParagraphParameters.h: include local includes first.
8523
8524 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8525
8526         * BufferView_pimpl.C:
8527         * BufferView_pimpl.h:
8528         * Makefile.am:
8529         * WorkArea.h:
8530         * WorkArea.C:
8531         * screen.C: move WorkArea into frontends/
8532
8533         * lyxscreen.h:
8534         * screen.C:
8535         * text.C:
8536         * BufferView.C:
8537         * BufferView2.C: move LyXScreen into frontends/
8538
8539         * lyxlookup.h:
8540         * lyxlookup.C:
8541         * lyx_gui.C: move lyxlookup into frontends/xforms/
8542
8543 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * BufferView2.C:
8546         * BufferView_pimpl.C:
8547         * FontLoader.C:
8548         * LyXView.h:
8549         * LyXView.C:
8550         * Makefile.am:
8551         * WorkArea.C:
8552         * XFormsView.h:
8553         * XFormsView.C:
8554         * buffer.C:
8555         * bufferlist.C:
8556         * bufferview_funcs.C:
8557         * converter.C:
8558         * importer.C:
8559         * lyx_cb.C:
8560         * lyx_gui.C:
8561         * lyx_main.C:
8562         * lyx_find.C:
8563         * lyxfunc.C:
8564         * lyxvc.C:
8565         * minibuffer.C:
8566         * text.C:
8567         * text2.C:
8568         * trans.C:
8569         * vc-backend.C: move LyX/XFormsView into frontends/
8570
8571 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * Makefile.am:
8574         * PainterBase.C:
8575         * PainterBase.h:
8576         * Painter.C:
8577         * Painter.h:
8578         * WorkArea.C:
8579         * WorkArea.h:
8580         * screen.C:
8581         * tabular.C:
8582         * text.C:
8583         * text2.C: move Painter to frontends/
8584
8585 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8586
8587         * buffer.C: comment out some some code that depend upon lyx_format
8588         < 220
8589
8590         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8591         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8592
8593         * buffer.h (NO_COMPABILITY): turn off compability
8594
8595         * ColorHandler.C: include scoped_array.hpp
8596
8597         * font.C: Use more specific smart_ptr header.
8598         * Painter.C: ditto
8599         * gettext.C: ditto
8600         * ShareContainer.h: ditto
8601         * lyx_main.h: ditto
8602         * kbmap.h: ditto
8603         * FontInfo.h: ditto
8604         * BufferView_pimpl.h: ditto
8605         * ColorHandler.h: ditto
8606
8607         * kbmap.C (defkey): change call to shared_ptr::reset
8608
8609 2002-05-21  Juergen Vigna  <jug@sad.it>
8610
8611         * buffer.C (insertErtContents): fix to insert ert asis if it is
8612         non empty. Skip it completely if it contains only whitespaces.
8613
8614 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * BufferView_pimpl.C:
8617         * BufferView2.C: clear selection on paste (bug 393)
8618
8619 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * DepTable.C: include ctime
8622
8623 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8624
8625         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8626
8627 2002-05-14  Juergen Vigna  <jug@sad.it>
8628
8629         * text.C (breakParagraph): fixed function to honor the keepempty
8630         layout in the right maner and also to permit the right breaking
8631         algorithm on empty or non empyt keepempty paragraphs.
8632
8633         * paragraph.C (breakParagraph): we have to check also if the par
8634         is really empty (!size()) for isempty otherwise we do the wrong
8635         paragraph break.
8636
8637 2002-05-10  Juergen Vigna  <jug@sad.it>
8638
8639         * buffer.[Ch] : The following are only changes to the ert
8640         compatibility read reading old LaTeX layout and font stuff and
8641         convert it to ERTInsets.
8642
8643         * buffer.h: added isErtInset().
8644
8645         * buffer.C (struct ErtComp): add a fromlayout bool to check
8646         if we're inside a LaTeX layout.
8647         (isErtInset): new helper function.
8648         (insertErtContents): look for other ert insets before this one
8649         and insert the contents there, so that we don't have subsequent
8650         ERT insets with nothing between them. This way we create only one
8651         inset with multiple paragraphs. Also check if we don't insert only
8652         spaces ' ' as they are ignored anyway afterwards in the .tex file
8653         so if we have only spaces we will ignore this latex part in the
8654         new file.
8655         (parseSingleLyXformat2Token \\layout): better compatibility when
8656         reading layout-latex stuff.
8657         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8658         language tag.
8659         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8660         stuff after reading the inset only get the information back from
8661         the stack.
8662
8663 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8664
8665         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8666
8667         * LaTeXFeatures.C (getBabelOptions): New method.
8668
8669 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8670
8671         * BufferView_pimpl.C (Dispatch): work around missing argument for
8672         'layout'
8673
8674 2002-05-08  Juergen Vigna  <jug@sad.it>
8675
8676         * text.C (leftMargin): handle paragraph leftindent.
8677
8678         * paragraph.C (writeFile): write the new \\leftindent tag.
8679         (validate): handle leftindent code.
8680         (TeXEnvironment): handle paragraphleftindent code again.
8681
8682         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8683
8684         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8685         for paragrap_extra indent code and new token \\leftindent.
8686         (latexParagraphs): handle the leftindent as environment.
8687
8688         * ParameterStruct.h: added leftindent support.
8689
8690         * ParagraphParameters.C (leftIndent): added support functions for
8691         the paragraph left indent.
8692
8693         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8694         more appropriate.
8695
8696 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8697
8698         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8699         inside insetERT.
8700
8701         * text.C (computeBidiTables): No bidi in insetERT.
8702
8703         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8704         in RTL documents.
8705
8706 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8707
8708         * version.C.in: pre 5
8709
8710 2002-05-02  José Matos  <jamatos@fep.up.pt>
8711         * buffer.C (makeDocBookFile): white space changes, add newline to
8712         command styles.
8713         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8714
8715         * tabular.C (docBook): fix typo.
8716
8717 2002-05-03  Juergen Vigna  <jug@sad.it>
8718
8719         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8720         change in LyXText as we can not be sure it was not freed.
8721         (drawOneRow): remove unused code.
8722
8723         * text.C (drawInset): redo the calculation of the need_break_row as
8724         it could have a row which was already freed.
8725         (draw): look at the return value of drawInset and return false if
8726         it also returned false.
8727         (paintRowText): look at the return value of draw and return false if
8728         it also returned false.
8729
8730         * lyxtext.h: added bool return type to drawInset() and draw() so that
8731         if we have a change in the row so that the rowbreak has to be redone
8732         we abort drawing as it will be called again.
8733
8734 2002-05-02  Juergen Vigna  <jug@sad.it>
8735
8736         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8737         a change in the maintext also if we're inside an inset.
8738         (Dispatch): set the cursor again after a break line and after the
8739         screen has been updated as it could be we're in a different row.
8740
8741         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8742         to set the cursor behind the pargraph with > size().
8743         (setCursor): check also for the same paragraph when checking where
8744         to put the cursor if we have a NFR inset.
8745
8746         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8747         parts of layout read further up as it still was in the wrong
8748         position.
8749
8750 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * screen.C (drawFromTo): change sine fullRebreak always return
8753         true.
8754
8755         * buffer.C (parseSingleLyXformat2Token): reindent some
8756
8757         * BufferView_pimpl.C (update): change since fullRebreak always
8758         return true.
8759         (Dispatch): git rid of the last hardcoded "Standard"s.
8760
8761 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8762
8763         * text2.[Ch] (fullRebreak): make it return void now that we always
8764         returned true.
8765
8766 2002-04-30  Juergen Vigna  <jug@sad.it>
8767
8768         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8769         ert compatibility check for "latex" layout.
8770
8771 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8772
8773         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8774         minipages: use col% instead of p%, and also use the current font.
8775         (makeLaTeXFile): Fix use babel condition.
8776         (parseSingleLyXformat2Token): Correct font when reading old floats.
8777
8778 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8779
8780         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8781         inserting list of floats.
8782
8783 2002-04-25  Herbert Voss  <voss@lyx.org>
8784
8785         * MenuBackend.C (expand): don't add the graphics extensions to the
8786         export menu
8787
8788 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8791         non-existing layout, do not complain if it was the default layout
8792         of the original class (bug #342)
8793
8794 2002-04-24  Juergen Vigna  <jug@sad.it>
8795
8796         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8797         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8798
8799 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8800
8801         * buffer.C (getBibkeyList): If using \bibliography, return the
8802         option field with the reference itself. Enables us to provide natbib
8803         support when using \bibliography.
8804
8805 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8806
8807         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8808
8809         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8810         natbib is provided by the LaTeX class.
8811
8812 2002-04-23  Juergen Vigna  <jug@sad.it>
8813
8814         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8815         Wakeup functions.
8816
8817         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8818
8819 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8822
8823         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8824         ensuremath around textordmasculine, textordfeminine and
8825         textdegree.
8826
8827 2002-04-19  Juergen Vigna  <jug@sad.it>
8828
8829         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8830         reinitializing the buffer otherwise row-dimensions may be wrong.
8831         (update): reset also the selection cursors if they do exits otherwise
8832         their x/y positions may be wrong.
8833
8834         * text2.C (cursorDown): don't enter the inset if we came from a row
8835         above and are one row over the inset.
8836
8837         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8838         really leaving an inset.
8839
8840 2002-04-18  Juergen Vigna  <jug@sad.it>
8841
8842         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8843         of the selected paragraph does not have the selected layout also if
8844         the last one had!
8845
8846         * text2.C (setLayout): fixed bug which did not change last selected
8847         paragraph.
8848
8849         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8850         changed the read and substituted \\end_float with \\end_inset!
8851
8852         * BufferView_pimpl.C (cursorPrevious):
8853         (cursorNext): fixed to make it work with rows heigher than the work
8854         area without moving the cursor only the draw of the row.
8855         (workAreaMotionNotify): fix jumping over high rows.
8856
8857 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8860         Ressler.
8861
8862 2002-04-16  Juergen Vigna  <jug@sad.it>
8863
8864         * text2.C (setCursor): set also the irow().
8865         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8866         (cursorUp):
8867         (cursorDown): support for locking an inset if the x_fix value goes
8868         inside it. That way I can transverse insets too with cursor up/down.
8869
8870         * lyxrow.h: added irow helper function same as other (i) functions.
8871
8872         * BufferView_pimpl.C (cursorPrevious):
8873         (cursorNext): fixed for insets!
8874
8875 2002-04-15  Juergen Vigna  <jug@sad.it>
8876
8877         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8878         position otherwise it is wrong in some cases.
8879
8880         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8881         inside the inset before the call.
8882
8883 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8884
8885         * buffer.[Ch] (getBibkeyList): make it const.
8886
8887 2002-04-12  Juergen Vigna  <jug@sad.it>
8888
8889         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8890
8891         * text2.C (getCursorX): new helper function
8892         (setCursor): compute also ix_
8893         (setCursorFromCoordinates): set also ix.
8894
8895         * lyxcursor.h: added ix_ and helper functions.
8896
8897         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8898
8899         * buffer.C (insertStringAsLines): dont break paragraph if the this
8900         paragraph is inside an inset which does not permit it!
8901
8902         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8903         also with no chars on this paragraph.
8904         (paintRowText): only paint stuff if it's inside the workarea!
8905
8906         * paragraph.C (breakParagraph): honor keepempty flag and break the
8907         paragraph always below not above.
8908
8909         * BufferView2.C (unlockInset): update the paragraph layout on inset
8910         unlock as we changed paragraph in such a case.
8911
8912         * lyxfind.C (LyXFind): clear the former selection if not found!
8913
8914         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8915         again called in insertChar().
8916
8917         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8918         an inset which uses the whole row!
8919         (rightMargin): ditto.
8920         (insertChar): force a rebreak if we inserted an inset!
8921
8922 2002-03-28  Herbert Voss  <voss@lyx.org>
8923
8924         * lyxlength.[Ch]: add inBP() to get the right PS-point
8925         units (BigPoint). With inPixels we have rounding errors
8926
8927 2002-04-11  Juergen Vigna  <jug@sad.it>
8928
8929         * text2.C (setCursorFromCoordinates): set iy to the right value.
8930         (setCursor): add check if row->previous exists!
8931
8932         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8933         an old float_type as this was the case in the old code!
8934
8935         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8936
8937         * BufferView2.C (showLockedInsetCursor): use iy
8938         (fitLockedInsetCursor): ditto
8939
8940         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8941         locked insets as there we have the right value now.
8942
8943         * lyxcursor.C: added iy_ variable and iy functions to set to the
8944         baseline of cursor-y of the locked inset.
8945
8946         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8947         (setCursor): fixed for insets which need a full row.
8948
8949         * text.C (rowLastPrintable): don't ignore the last space when before
8950         an inset which needs a full row.
8951         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8952         as last character of a row when before a inset which needs a full row.
8953
8954 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8955
8956         * version.C.in: update date
8957
8958         * text2.C (fullRebreak): try to always return true and see what
8959         happens...
8960
8961 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * MenuBackend.C (expand): use Floating::listName
8964
8965         * FloatList.C (FloatList): add listName argument to the built-in
8966         floats
8967
8968         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8969         text associated with the float.
8970
8971 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8974
8975 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8976
8977         * ShareContainer.h: add a couple of missing typenames.
8978
8979 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8980
8981         * lyxrc.C (getDescription): use _() correctly rather than N_().
8982
8983 2002-03-28  Herbert Voss  <voss@lyx.org>
8984
8985         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8986         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8987
8988 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8991         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8992
8993 2002-03-29  Juergen Vigna  <jug@sad.it>
8994
8995         * lyxfunc.C (dispatch): add a missing fitCursor call.
8996
8997         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8998         it was scrolled by a cursor move, so return the bool status.
8999
9000         * BufferView.C (fitCursor): return the bool flag also to the outside
9001         world as this is needed.
9002
9003         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9004
9005         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9006         call the edit() as it is not needed (and wrong) IMO.
9007         (workAreaButtonPress): set the screen_first variable before evt.
9008         unlock the inset as this may change screen_first and then we have
9009         a wrong y position for the click!
9010
9011 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * MenuBackend.C (expand): another translation that I missed
9014
9015 2002-03-28  Juergen Vigna  <jug@sad.it>
9016
9017         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9018
9019         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9020
9021 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9022
9023         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9024
9025         * MenuBackend.C (expand): fix export/view/update when there is no
9026         document open.
9027
9028 2002-03-27  Herbert Voss  <voss@lyx.org>
9029
9030         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9031         and text%
9032
9033 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * bufferview_funcs.C (currentState): only show paragraph number
9036         for is DEVEL_VERSION is set.
9037
9038         * lyxfunc.C (dispatch): put warning in INFO channel
9039
9040         * MenuBackend.C (expand): translate the name of floats
9041
9042         * FloatList.C (FloatList): mark the float names for translation
9043
9044         * converter.C (convert): use LibScriptSearch
9045
9046 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * MenuBackend.C (defaults): fix default menu (we might as well get
9049         rid of it...)
9050
9051 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9052
9053         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9054         directory.
9055
9056 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9057
9058         * lyxvc.C: reorder includes.
9059
9060 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9061
9062         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9063           properly
9064
9065 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * CutAndPaste.C: change layouts earlier on paste
9068           to avoid crashing when calling getFont()
9069
9070 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9071
9072         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9073         irritating #error.
9074
9075 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * WorkArea.C: remove 'Pending' debug message.
9078
9079         * most files: ws cleanup
9080
9081         * buffer.[Ch]: ws changes
9082
9083         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9084
9085 2002-03-21  Juergen Vigna  <jug@sad.it>
9086
9087         * tabular.C (SetMultiColumn): collapse also the contents of the
9088         cells and set the last border right. Added a Buffer const * param.
9089
9090 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9093         linking or not.
9094
9095 2002-03-19  Juergen Vigna  <jug@sad.it>
9096
9097         * text2.C (clearSelection): reset also xsel_cache.
9098
9099         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9100         where it needs to be called (John tells us to do so too :)
9101         (selectionLost): reset sel_cache.
9102
9103         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9104
9105 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9106
9107         * text2.C (setCursorIntern): put debuging code in INSETS channel
9108
9109 2002-03-19  André Pönitz <poenitz@gmx.net>
9110
9111         * lyxfunc.C: tiny whitespace change
9112
9113 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9114
9115         * ToolbarDefaults.C (init):
9116         * LyXAction.C (init):
9117         * commandtags.h:
9118         * BufferView_pimpl.C (Dispatch):
9119         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9120
9121 2002-03-19  Allan Rae  <rae@lyx.org>
9122
9123         * exporter.C (Export): removeAutoInsets before doing anything else.
9124         While I've just introduced a dependency on BufferView this really is
9125         the best place to clean the buffer otherwise you need to cleanup in
9126         a dozen places before calling export or cleanup in a dozen functions
9127         that export calls.
9128
9129         * converter.C (runLaTeX):
9130         (scanLog): Better handling of removeAutoInsets and screen updates.
9131
9132         * lyxfunc.C (dispatch): small whitespace changes
9133
9134 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9135
9136         * WorkArea.C (C_WorkAreaEvent): return a value.
9137         (event_cb): return 1 if we handled the event, 0 otherwise.
9138
9139         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9140
9141 2002-03-18  Juergen Vigna  <jug@sad.it>
9142
9143         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9144         (GetAdditionalWidth): ditto.
9145         (RightLine): ditto.
9146         (LeftLine): ditto.
9147
9148         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9149         inset if we're there actually (probably not used right now but this
9150         is the direction to go for unifying code).
9151         (paste): disable code to clear the selection.
9152
9153         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9154         inside an InsetText and move the check further up as it is in the
9155         wrong place.
9156
9157         * text2.C (pasteSelection): set a selection over the pasted text.
9158
9159 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9160
9161         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9162         and libgraphics to build on Cygwin.
9163
9164 2002-03-15  Juergen Vigna  <jug@sad.it>
9165
9166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9167         inserting an Inset into the paragraph. I know this is not the best
9168         fix but we already use current_view in CutAndPaste so we will remove
9169         all of it's using at the same time.
9170
9171         * buffer.C (sgmlError): deactivated function till it is rewritten in
9172         the right mode, now it can create problems.
9173
9174         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9175         before accessing it.
9176
9177 2002-03-14  Juergen Vigna  <jug@sad.it>
9178
9179         * undo_funcs.C (textHandleUndo): do the right thing when updating
9180         the inset after the undo/redo.
9181
9182         * text2.C (setCursor): just some testcode for #44 not ready yet.
9183
9184         * undo_funcs.C (textHandleUndo): set the next() and previous()
9185         pointers of the paragraph to 0 before deleting otherwise we have
9186         problems with the Paragraph::[destructor].
9187
9188         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9189         on a paragraph insertion.
9190
9191 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9192
9193         * buffer.C (asciiParagraph): use += operator for char append to
9194         string.
9195
9196         * paragraph.C (getFontSettings): compare >= not just >
9197         (highestFontInRange): ditto
9198         (setFont): ditto
9199
9200 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * paragraph.C: change several algorithm to be more appripriate for
9203         the problem domain. This is lookip in FontList and in the InsetList.
9204
9205 2002-03-13  André Pönitz <poenitz@gmx.net>
9206
9207         * commandtags.h:
9208         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9209
9210 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * commandtags.h:
9213         * LyXAction.C:
9214         * lyxfunc.C:
9215         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9216
9217 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9218
9219         * Painter.C (display): anon helper function, adjust code for this
9220         change.
9221         (pixmap): remove function.
9222
9223         * Painter.h: remove private display variable.
9224
9225         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9226
9227 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9228
9229         * WorkArea.[Ch]: remove figinset_canvas cruft.
9230
9231 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9232
9233         * lyxtextclass.C (operator): add one item cache optimization.
9234
9235         * bufferlist.h: doxy changes
9236
9237         * bufferlist.C: ws changes
9238
9239         * DepTable.[Ch] (ext_exist): place const in the right spot.
9240
9241         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9242         call resizeInsets.
9243         (workAreaExpose): call resizeInsets when the with BufferView changes.
9244         (Dispatch): adjust for protectedBlank removal
9245         (specialChar): call updateInset if the insert went ok.
9246
9247         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9248         specialChar instead.
9249
9250         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9251
9252         * BufferView.h: doxy change
9253
9254         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9255
9256         * lyxtextclass.C (operator[]): remove non-const version
9257         (defaultLayout): remove non-const version
9258
9259 2002-03-12  Juergen Vigna  <jug@sad.it>
9260
9261         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9262         did resize the LyXText too.
9263
9264         * buffer.C (readLyXformat2): set layout information on newly allocated
9265         paragraphs.
9266
9267         * tabular.C (OldFormatRead): set layout information on the paragraph.
9268
9269 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9270
9271         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9272
9273 2002-03-11  Juergen Vigna  <jug@sad.it>
9274
9275         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9276         plainly wrong.
9277         (resizeCurrentBuffer): force also the insets to resize themselfes.
9278         (moveCursorUpdate): fixed up for InsetText.
9279
9280 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9281
9282         * commandtags.h:
9283         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9284         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9285         value of Dialogs::tooltipsEnabled().
9286         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9287
9288 2002-03-08  Juergen Vigna  <jug@sad.it>
9289
9290         * BufferView_pimpl.C (updateInset): update inset inside inset also
9291         if it isn't inside theLockingInset().
9292
9293 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * buffer.C (asciiParagraph): redo some of the word and line length
9296         handling.
9297         (getLists): look for Caption instead of caption.
9298
9299 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9300
9301         * buffer.C (Buffer): initialize niceFile to true
9302         (makeLaTeXFile):
9303         (makeLinuxDocFile):
9304         (makeDocBookFile): make sure niceFile is true on exit
9305
9306 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9307
9308         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9309
9310 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9311
9312         * LyXSendto.C: remove.
9313         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9314         * lyx_gui.C: remove now-redundant comment.
9315         * ColorHandler.h: remove forward declaration of class WorkArea.
9316         * lyxfunc.C: remove #include "WorkArea.h".
9317
9318 2002-03-07  Juergen Vigna  <jug@sad.it>
9319
9320         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9321         got moved away with the DEPM and also set the inset_owner always
9322         right which before could have been omitted.
9323
9324 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9325
9326         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9327         wanted layout is not found.
9328
9329 2002-03-07  Juergen Vigna  <jug@sad.it>
9330
9331         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9332
9333 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9334
9335         * paragraph.C (breakParagraph): use default layout not layout of
9336         prev paragraph.
9337         (Paragraph): clear ParagraphParameters.
9338
9339 2002-03-06  Juergen Vigna  <jug@sad.it>
9340
9341         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9342         otherwise it would not be a valid lenght. Fixed a special case in
9343         the minipage compatibility read where we end the document with a
9344         minipage.
9345
9346         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9347         was set as it could be 0 for InsetTexts first entry.
9348
9349 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * paragraph.C (writeFile): if layout is empty write out
9352         defaultLayoutName().
9353
9354         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9355         file without named layout we set layout to defaultLayoutName().
9356
9357 2002-03-06  Juergen Vigna  <jug@sad.it>
9358
9359         * CutAndPaste.C (copySelection): set layout for new paragraph.
9360
9361         * text.C (prepareToPrint): leave ERT inset left aligned
9362         (leftMargin): don't indent paragraphs inside ERT insets
9363
9364 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9365
9366         * paragraph.C (breakParagraph): dont call clear do the work manually
9367
9368         * paragraph.[Ch] (clear): remove function
9369
9370 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9371
9372         * paragraph.C (Paragraph): dont call clear, the work has already
9373         been done.
9374
9375         * lyxtextclass.C (operator): assert if n is empty
9376
9377         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9378         work manually instead.
9379
9380 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9381
9382         * BufferView_pimpl.C: protect selectionLost against text == 0
9383
9384 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9385
9386         * text.C (breakParagraph): fix a setting layout to '0' problem.
9387
9388 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9389
9390         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9391         final location of file, for the included files, and graphics.
9392
9393 2002-03-05  Juergen Vigna  <jug@sad.it>
9394
9395         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9396
9397 2002-03-04  Juergen Vigna  <jug@sad.it>
9398
9399         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9400
9401         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9402         last column of multicolumn cells.
9403         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9404
9405 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9406
9407         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9408         file if it doesn't go to a temporary file.
9409
9410         * buffer.C (sgmlOpenTag):
9411         (sgmlCloseTag):  remove extra newline insertion.
9412
9413 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * text.C (getRowNearY): comment out debug msg
9416
9417 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9418
9419         * text2.C: first -> first_y
9420
9421         * text.C (getRowNearY): add some attemts at a possible
9422         optimization, not working.
9423
9424         * tabular.[Ch]: add BufferParams to several function so that newly
9425         created paragraph can be initialized to he default layotu for the
9426         buffers textclass.
9427
9428         * tabular-old.C (ReadOld): add buf->params to call of Init
9429
9430         * screen.C: rename text->first to text->first_y
9431
9432         * paragraph.C (breakParagraph): always set layout in the broken
9433         paragraph
9434
9435         * lyxtextclass.C (Read): remove lowercase
9436         (hasLayout): ditto
9437         (operator): ditto
9438         (delete_layout): ditto
9439
9440         * lyxtext.h: rename first -> first_y
9441
9442         * lyxlayout.C (Read): remove lowercase
9443         (name): ditto
9444         (setName): ditto
9445         (obsoleted_by): ditto
9446
9447         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9448
9449         * buffer.C (insertErtContents): add params are to InsetERT
9450         (parseSingleLyXformat2Token): add code to check if a paragraphs
9451         layout really exist.
9452         (parseSingleLyXformat2Token): add params to several inset
9453         constructors
9454         (asciiParagraph): remove lowercase, do the layout comparisons with
9455         no_case
9456
9457         * BufferView_pimpl.C (cursorNext): first -> first_y
9458         (resizeCurrentBuffer): first -> first_y
9459         (updateScrollbar): first -> first_y
9460         (scrollCB): first -> first_y
9461         (workAreaMotionNotify): first -> first_y
9462         (workAreaButtonPress): first -> first_y
9463         (checkInsetHit): first -> first_y
9464         (cursorPrevious): first -> first_y
9465         (cursorNext): first -> first_y
9466         (Dispatch): add buffer_->params to severl inset contructors
9467
9468 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * lyxlayout.C (Read): remove some debug info that I forgot.
9471
9472         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9473         clean up the code slightly.
9474         (makeLinuxDocFile): ditto
9475         (makeDocBookFile): ditto
9476
9477         * text2.C: layout as string
9478
9479         * text.C: layout as string
9480
9481         * paragraph_pimpl.C: layout as string
9482
9483         * paragraph.[Ch]: layout as string
9484
9485         * lyxtextclasslist.[Ch]: layout as string
9486
9487         * lyxtextclass.[Ch]: layout as string
9488
9489         * lyxtext.h: layout as string
9490
9491         * lyxlayout.[Ch]: layout as string
9492
9493         * lyx_cb.C: layout as string
9494
9495         * bufferview_funcs.C: layout as string
9496
9497         * bufferparams.C: layout as string
9498
9499         * buffer.C: layout as string
9500
9501         * LyXView.[Ch]: layout as string
9502
9503         * LaTeXFeatures.[Ch]: layout as string
9504
9505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9506
9507         * BufferView_pimpl.C: change current_layout to string, remove
9508         lyx::layout_type.
9509         (Dispatch):
9510         (smartQuote):
9511         (insertInset):
9512         (workAreaButtonRelease): layout as string
9513
9514         * BufferView2.C (unlockInset): adjust
9515
9516         * vspace.C (asLatexCommand): use an explict temp variable.
9517
9518 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * Makefile.am: use FRONTEND_*
9521
9522 2002-03-01  Juergen Vigna  <jug@sad.it>
9523
9524         * tabular.C (SetWidthOfMulticolCell): changed to something better
9525         I hope but still work in progress.
9526         (recalculateMulticolumnsOfColumn): renamed function from
9527         recalculateMulticolCells as it is more appropriate now.
9528         (SetWidthOfCell): calculate multicols better.
9529
9530 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9533
9534         * lyxfunc.C (processKeySym): print sequence also if it is
9535         `deleted' (complete)
9536
9537         * kbsequence.C (print): print sequence even if it is deleted
9538         (complete would be a better word, actually).
9539
9540         * lyxfunc.C (dispatch): print complete options after a prefix key
9541
9542         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9543
9544 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9545
9546         * text2.C (setCharFont): eliminate setCharFont code duplication.
9547
9548 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9551         LFUN_TABULAR_FEATURE (bug #177)
9552
9553 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9554
9555         * Makefile.am: remove figure.h
9556
9557 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9558
9559         * Bufferview_pimpl.C:
9560         * CutAndPasteC:
9561         * LaTeX.C:
9562         * LyXSendto.C:
9563         * buffer.C:
9564         * bufferlist.C:
9565         * converter.C:
9566         * language.C:
9567         * lyxfunc.C:
9568         * lyxvc.C:
9569         * paragraph.C:
9570         * text.C:
9571         * text2.C: remove #include "lyx_gui_misc.h".
9572
9573         * LaTeX.C: added #include <cstdio>
9574
9575 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9578         that the paragraph following this one can have.
9579
9580         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9581
9582         * vspace.C (asLatexCommand): fix bogus gcc warning
9583
9584         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9585
9586 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9587
9588         * text2.C (setLayout): get rid of redundant code
9589
9590 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9591
9592         * text2.C (incDepth): make sure depth cannot be increased beyond
9593         reasonable values.
9594
9595 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9596
9597         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9598         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9599
9600         * PainterBase.h (image):
9601         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9602         a LyXImage const *.
9603
9604 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * BufferView.C:
9607         * BufferView.h:
9608         * BufferView_pimpl.C:
9609         * BufferView_pimpl.h:
9610         * LaTeXFeatures.C:
9611         * LyXAction.C:
9612         * LyXView.C:
9613         * Makefile.am:
9614         * UpdateList.h:
9615         * UpdateList.C:
9616         * buffer.C:
9617         * figure.h:
9618         * figureForm.C:
9619         * figureForm.h:
9620         * figure_form.C:
9621         * figure_form.h:
9622         * lyx_cb.C:
9623         * lyx_gui.C:
9624         * lyx_gui_misc.C:
9625         * lyxfunc.C:
9626         * sp_base.h:
9627         * sp_ispell.h:
9628         * sp_pspell.h:
9629         * sp_spell.C: remove fig inset, and the crap house of
9630           cards that follows it
9631
9632 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * Makefile.am:
9635         * lyxserver.C:
9636         * os2_defines.h:
9637         * os2_errortable.h:
9638         * nt_defines.h: move .h into support/
9639
9640         * vms_defines.h: remove
9641
9642         * WorkArea.C: add space in debug output
9643
9644         * text2.C:
9645         * paragraph.C:
9646         * buffer.C: add WITH_WARNINGS
9647
9648         * vc-backend.h:
9649         * vc-backend.C:
9650         * bufferlist.C: s/retrive/retrieve/, add docs
9651
9652         * vspace.h:
9653         * vspace.C:
9654         * kbmap.h:
9655         * lyxlength.h:
9656         * lyxgluelength.h:
9657         * length_common.h:
9658         * chset.h:
9659         * chset.C: add docs
9660
9661         * lyxgui.C: add ID to X error handler
9662
9663         * lyxtestclass.c: fix typo
9664
9665 2002-02-26  Juergen Vigna  <jug@sad.it>
9666
9667         * tabular_funcs.C (write_attribute): changed so that some default
9668         attributes are not written at all.
9669         (getTokenValue): set default values before trying to read the
9670         value so we have the return value always set as default if we don't
9671         find the token we search for.
9672
9673         * tabular.C (Write): write bools as bools not as strings!
9674
9675 2002-02-22  Juergen Vigna  <jug@sad.it>
9676
9677         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9678         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9679
9680         * text.C (leftMargin): don't add an indent for paragraphs inside
9681         tabular cells (fix #208).
9682
9683 2002-02-21  José Matos  <jamatos@fep.up.pt>
9684
9685         * tabular.C (docBook): fixed support for long tables.
9686
9687 2002-02-20  Juergen Vigna  <jug@sad.it>
9688
9689         * text2.C (getFont): get the drawing font of the Inset if this
9690         paragraph is inside an inset (only important for InsetERT for now).
9691
9692         * buffer.C (insertErtContents): use new lanugage params in ERT
9693         constructor.
9694
9695         * CutAndPaste.C: commenting out seemingly uneeded code.
9696
9697 2002-02-19  Allan Rae  <rae@lyx.org>
9698
9699         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9700         Iterators might be simple to use but they also get invalidated.
9701         (removeAutoInsets): renamed saved cursor tracking variables and added
9702         some comments to clarify what everything does.
9703
9704 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9705
9706         * Chktex.C:
9707         * LaTeX.C:
9708         * LyXSendto.C:
9709         * converter.C:
9710         * lyx_cb.C:
9711         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9712         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9713
9714         * lyxfunc.C:
9715         * vc-backend.h: remove #include "support/syscall.h"
9716
9717         * LaTeX.C:
9718         * LyXSendto.C:
9719         * converter.C: rearrange #includes in Lars' approved fashion.
9720
9721         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9722         forward declare class Timeout in the header file.
9723
9724         * XFormsView.C: changes due to the above.
9725
9726         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9727         similar to LyXView.
9728
9729         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9730         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9731
9732 2002-02-18  José Matos  <jamatos@fep.up.pt>
9733
9734         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9735         insets contents.
9736
9737 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9738
9739         * a lot of small ws changes
9740         * add a lot of using std::XXX
9741         * use std construcs some places where approp.
9742         * use some exisint stuff from lyxfunctional where approp.
9743         * Make file changes to use partial linking (lets test this now...)
9744
9745 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * Chktex.C:
9748         * buffer.C:
9749         remove #include "support/syscontr.h" as it's redundant. Always has been.
9750
9751         * Chktex.C:
9752         * LaTeX.C:
9753         * LyXSendto.C:
9754         * converter.C:
9755         * lyx_cb.C:
9756         * vc-backend.C:
9757         change Systemcalls::System to Systemcalls::Wait and
9758         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9759         No change of functionality, just reflects the stripped down Systemcalls
9760         class.
9761
9762 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * debug.[Ch]: add a GRAPHICS type to the enum.
9765
9766 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9767
9768         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9769
9770         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9771         there is an inset.
9772
9773 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9776         match the changes below.
9777
9778         * text2.C (toggleInset): if there is not editable inset at cursor
9779         position, try to see if cursor is _inside_ a collapsable inset
9780         and close it.
9781
9782 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9785         document menu has a nice checkbox
9786
9787 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9788
9789         * lyxlength.C (asLatexString): change PW to output as percent of
9790         \textwidth.
9791
9792         * lengthcommon.C: change '%' to 't%'
9793
9794         * lyxfunc.C (dispatch): a few comments from Martin
9795
9796 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * WorkArea.h:
9799         * WorkArea.C:
9800         * BufferView_pimpl.h:
9801         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9802           the X selection.
9803
9804 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * vspace.C (inPixels): fix compiler warning
9807
9808 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * lyxfunc.C (getStatus): fix status message for disabled commands.
9811
9812 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * BufferView_pimpl.C: fix crash on close buffer
9815         during selection (#227)
9816
9817 2002-01-27  Herbert Voss  <voss@lyx.org>
9818
9819         * buffer.C: link old Figure to new graphic inset
9820
9821 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9822
9823         * FontLoader.C (getFontinfo): Change the latex font names in order
9824         to match the names of type1inst.
9825
9826 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9827
9828         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9829
9830         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9831         (extchanged): ditto
9832         (ext_exist): ditto
9833         (remove_files_with_extension): ditto
9834         (remove_file): ditto
9835         (write): ditto
9836
9837         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9838         document is smaller than the work area height. Do not initialize
9839         static variables to 0.
9840
9841 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9844
9845         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9846         LFUN_LAYOUT_PARAGRAPHS.
9847
9848         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9849         tabular. It is possible to provide a possible cell, which will
9850         typically be the actcell from the corresponding insettabular
9851
9852         * lyxfunc.C (getStatus): small cleanup; disable
9853         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9854         true
9855
9856 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9859
9860         * paragraph.C (startTeXParParams):
9861         (endTeXParParams): new methods. The LaTeX code to
9862         start/end paragraph formatting
9863         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9864         empty (fixes bug #200)
9865
9866         * vspace.C (inPixels): adapt to the change below
9867         (inPixels): [later] more cleanups (remove unused variables)
9868
9869         * lyxlength.C (inPixels): change to use a width and a height as
9870         parameter.
9871
9872 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9875         Replaced with \paperwidth
9876
9877         * DepTable.C (insert): add std:: qualifier
9878
9879 2002-01-18  Allan Rae  <rae@lyx.org>
9880
9881         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9882         updated also?
9883
9884         * text.C (drawInset): Turned out I didn't know enough about how
9885         rebreaking worked.  This fixes most of the redraw problems.  I see
9886         an occasional cursor trail when a line is broken now and the cursor
9887         placement can seem out by a few pixels also after a rebreak.
9888
9889 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9890
9891         * buffer.C (parseSingleLyXformat2Token): update because minipage
9892         width is now a LyXLength
9893
9894         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9895
9896         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9897         math insets
9898
9899 2002-01-17  Juergen Vigna  <jug@sad.it>
9900
9901         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9902
9903         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9904         is set correctly and the inset is updated correctly.
9905
9906 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9909         the beginning of the loop.
9910
9911 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * lyxrc.C: improve help for use_scalable_fonts
9914
9915 2002-01-17  Allan Rae  <rae@lyx.org>
9916
9917         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9918
9919 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9922         make sure to set their inset_owner to the right value (bug #171)
9923
9924 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9925
9926         * DepTable.h
9927         * DepTable.C: Implement mtime checking to reduce time spent doing
9928         CRCs.
9929
9930 2002-01-16  Juergen Vigna  <jug@sad.it>
9931
9932         * tabular.C (GetAdditionalHeight): one of error fixed.
9933
9934         * lyxrc.C (output): small fix in writing use_pspell.
9935
9936 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9937
9938         * sp_base.h: #include LString.h
9939
9940 2002-01-16  Allan Rae  <rae@lyx.org>
9941
9942         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9943         Can someone check this please?
9944
9945         * text.C (drawInset): It was possible that p.row would be removed by
9946         breakAgainOneRow upsetting a few other settings.  There may be another
9947         small tweak possible by setting need_break_row = 0 when p.row has been
9948         removed but I don't know enough about the logic here.
9949
9950 2002-01-15  Allan Rae  <rae@lyx.org>
9951
9952         * text.C (insertChar): removed conditional truism.
9953
9954         * BufferView2.C (removeAutoInsets): More tweaks.
9955         cur_par_prev could be a stray pointer.  Check for trailing empty line
9956         in case last line was cur_par and only had an error inset on it.
9957
9958 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9961         absolute
9962
9963         * vc-backend.C (most methods):
9964         * exporter.C (Export):
9965         * converter.C (convert):
9966         (runLaTeX):
9967         * LyXSendto.C (SendtoApplyCB):
9968         * lyxfunc.C (dispatch):
9969         (menuNew):
9970         (open):
9971         (doImport):
9972         * lyx_cb.C (AutoSave):
9973         (InsertAsciiFile):
9974         * BufferView_pimpl.C (MenuInsertLyXFile):
9975         * buffer.C (runChktex): use Buffer::filePath().
9976
9977         * buffer.h: rename filename to filename_; rename filepath to
9978         filepath_ and make it private
9979         (filePath): new method
9980
9981         * buffer.C (writeFile): use fileName()
9982         (getLatexName):
9983
9984         * lyx_main.C (init): fix starting  of LyX when the binary is a
9985         link from so,ewhere else.
9986
9987         * minibuffer.C: include <cctype> for isprint
9988
9989 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9990
9991         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9992         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9993         name clash with InsetCollapsable's width function.
9994
9995 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9996
9997         * lastfiles.C: include <iterator>
9998
9999 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10000
10001         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10002         std::count.
10003
10004         * buffer.C (makeLaTeXFile): ditto.
10005         Also make loop operation more transparent.
10006
10007 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10008
10009         * ToolbarDefaults.C: remove trailing comma closing namespace.
10010
10011         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10012
10013         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10014         as in WorkArea.
10015
10016         * trans.C (Load): comment out unused variable, allowed.
10017
10018 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10019
10020         * minibuffer.[Ch] (append_char): new method to recieve input from the
10021         drop-down completion browser. If a key was pressed, then recieve this
10022         char and append it to the existing string.
10023         (peek_event): modify the positioning data passed to the completion
10024         browser so that it can be placed above the minibuffer rather than below.
10025 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10026
10027         * LyXAction.C (init): alloe error-next for readonly documents.
10028
10029         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10030         count.
10031
10032 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10033
10034         * bufferlist.C (readFile): create the buffer _after_ checking that
10035         the file exists.
10036
10037         * lyxfunc.C (verboseDispatch): fix handling of arguments
10038
10039         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10040
10041         * lyxrc.C: use string::erase() instead of initializing to "".
10042
10043
10044 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * BufferView_pimpl.h:
10047         * BufferView_pimpl.C:
10048         * WorkArea.h:
10049         * WorkArea.C:
10050         * text2.C: tell X when we have made a selection for copying
10051
10052 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * BufferView_pimpl.C (MenuInsertLyXFile):
10055         * lyxfunc.C (menuNew):
10056         (open):
10057         (doImport): add shortcuts to directory buttons
10058
10059         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10060         open a float)
10061
10062         * lyxfunc.C (setStatusMessage):
10063         (getStatusMessage): new methods
10064         (getStatus):use setStatusMessage instead of setErrorMessage
10065         (dispatch): when function is disabled, set error message here
10066         [instead of in getStatus previously]
10067
10068         * BufferView_pimpl.C (workAreaButtonRelease): update
10069         toolbar/menubar here too.
10070
10071 2002-01-13  Allan Rae  <rae@lyx.org>
10072
10073         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10074         Now seems indestructible.  Remaining task is to audit all other
10075         code affected by deleteEmptyParagraphMechanism.  One small quirk
10076         left is that an empty document with an error in the preamble can
10077         be made to report an error but no error box appears.  I don't know
10078         where it goes.
10079         (removeAutoInsets): Improved comments.
10080
10081 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * Thesaurus.h:
10084         * Thesaurus.C: update for Aiksaurus 0.14
10085
10086 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10087
10088         * text2.C (firstParagraph): removed member function, all uses
10089         replaces with ownerParagraph
10090         (redoParagraphs): here
10091         (updateInset): here
10092         (toggleAppendix): here
10093         * BufferView2.C (insertErrors): here
10094         (setCursorFromRow): here
10095
10096 2002-01-13  Allan Rae  <rae@lyx.org>
10097
10098         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10099         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10100         There is still a way to segfault this although you may have to do this
10101         multiple times: Have an InsetERT with an unknown command in it.
10102         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10103         <down-arrow>, <Enter> again, View->DVI, BANG!
10104
10105         * text2.C (setCursor):
10106         (deleteEmptyParagraphMechanism):
10107         * lyxtext.h (setCursor):
10108         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10109         Making use of the return value may help fix other bugs.
10110
10111 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10114
10115         * LyXView.C (updateMenubar): call MenuBar::update here
10116         (updateToolbar): but not here
10117         (showState): do not update toolbar/menubar
10118
10119         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10120         should need to care about that.
10121
10122         * lyxfunc.C (verboseDispatch): simplify a bit
10123         (getStatus): have a version which takes a pseudoaction, and
10124         another which requires a (kb_action,string).
10125
10126         * LyXAction.C (retrieveActionArg): make it work also when action
10127         is not a pseudo-action.
10128         (getActionName): simplify a bit
10129         (helpText):
10130
10131 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * lyxfunc.C (verboseDispatch): new families of methods with
10134         several ways to specify a command and a bool to indicate whether
10135         the command name and shortcut should be displayed in minibuffer
10136         (eventually, we could extend that to a finer bitmask like
10137         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10138         (dispatch): the pristine dispatch command which just, well,
10139         dispatchs! Note it still sets its result to minibuffer; I'm not
10140         sure we want that.
10141
10142         * lyxfunc.h: remove setHintMessage
10143
10144         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10145
10146 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * BufferView_pimpl.C (specialChar): delete new inset if we have
10149         not been able to insert it.
10150
10151         * kbmap.C: revert to using int instead of kb_action, since all we
10152         are dealing with is pseudo-actions.
10153
10154         * LyXAction.C (searchActionArg): change to return int instead of
10155         kb_action, since the result is a pseudoaction.
10156
10157 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10158
10159         * buffer.C (insertErtContents): Fix (partially) the font bug.
10160
10161 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10162
10163         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10164         as the other one is broken on my machine!
10165
10166 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10167
10168         * commandtags.h:
10169         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10170
10171 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10172
10173         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10174         reflect their actual use. Provide compatibility code for older lyxrc
10175         files.
10176
10177         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10178         FL_NORMAL_STYLE.
10179         change names of popup font variables in line with the changes to lyxrc.C
10180
10181 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10182
10183         * buffer.C (asciiParagraph): avoid outputing a word twice after
10184         an inset.
10185
10186         * lyxrc.C (getDescription): document that document_path and
10187         template_path can be empty.
10188
10189 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * LaTeXFeatures.C (getMacros):
10192         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10193
10194         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10195
10196         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10197         getPackages.
10198         (getPackages): rename feature "floats" to "float". Use an array to
10199         iterate over 'simple' features (i.e. just a \usepackage). Add
10200         handling of "amsmath" (renamed from "amsstyle").
10201
10202 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10203
10204         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10205         features list.
10206
10207 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10208
10209         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10210         FuncStaus::FuncStatus & FuncStaus::some_method().
10211
10212 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10213
10214         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10215         of the func_satus stuff. Edited and massaged in various ways by
10216         JMarc.
10217
10218         * lyxfunc.C (getStatus): use FuncStatus
10219
10220 2002-01-08  Juergen Vigna  <jug@sad.it>
10221
10222         * text.C (nextBreakPoint): use function Inset::isChar().
10223
10224         * paragraph.C (TeXOnePar): use function
10225         Inset::forceDefaultParagraphs.
10226
10227         * buffer.C (latexParagraphs): use function
10228         Inset::forceDefaultParagraphs.
10229
10230 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10231
10232         * lyx_gui.C (init): set the style of the menu popups to
10233         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10234
10235 2002-01-07  Juergen Vigna  <jug@sad.it>
10236
10237         * text.C (setHeightOfRow): small fix
10238         (prepareToPrint): don't look at alignment if we don't have the place
10239         for doing it.
10240
10241 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10242
10243         * box.C: New file. Move the Box methods and functions out of box.h,
10244         following Lars' suggestion.
10245
10246 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10247
10248         * box.h: #include "support/LOstream.h", needed for inlined function.
10249
10250         * lyxtextclass.C:
10251         * lyxtextclasslist.C: added some using std declarations.
10252
10253 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * box.h: make signed dimensions to allow insets wider than
10256           the screen (bug #162)
10257
10258         * BufferView_pimpl.C: add some insetHit debug
10259
10260 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * vc-backend.C: add FIXME
10263
10264 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * lyxfunc.C (getStatus): enable code for showing math font status
10267         in toolbar/menu.
10268
10269 2002-01-07  Juergen Vigna  <jug@sad.it>
10270
10271         * text.C (nextBreakPoint): removed debug output not needed anymore.
10272
10273 2002-01-06  Juergen Vigna  <jug@sad.it>
10274
10275         * text.C (nextBreakPoint): fixed up this function we had this bug
10276         since ever but now hopefully we break row better.
10277         (insertChar): we have to check if an inset is the next char as it
10278         could now happen that a large inset is causing a break.
10279
10280 2002-01-05  Juergen Vigna  <jug@sad.it>
10281
10282         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10283         if it doesn't like to be drawed.
10284
10285 2002-01-04  Juergen Vigna  <jug@sad.it>
10286
10287         * BufferView2.C (lockInset): forgot to set a cursor.
10288
10289         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10290
10291 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10292
10293         * FormMathsPanel.C:
10294         * FormMathsPanel.h
10295         * MathsSymbols.C:
10296         * form_maths_panel.C:
10297         * form_maths_panel.h:
10298         * form_maths_panel.fd: implemented sub- and super- buttons in math
10299         panel.
10300
10301         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10302         (or ^ space) to be used as in TeX (req'd by André).
10303
10304         * lyxfunc.C: Allow ^ and _ again to be used both as
10305         super/subscript (mathed) and as themselves (in text).
10306
10307 2002-01-03  Allan Rae  <rae@lyx.org>
10308
10309         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10310         "LyX" or the filename of the current buffer if it has one.  This is a
10311         modified form of John Levon's patch.
10312
10313         * XFormsView.C (setWindowTitle): also set icon title.
10314
10315         * LyXView.h (setWindowTitle): signature changed.
10316         * XFormsView.h (setWindowTitle): ditto.
10317
10318 2002-01-02  Juergen Vigna  <jug@sad.it>
10319
10320         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10321
10322 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10323
10324         * screen.C (topCursorVisible): introduce a temp var for
10325         text->cursor.row(), handle the case where this row is null. (kindo
10326         hachish)
10327
10328         * text2.C (setCursor): add a couple of asserts.
10329
10330         * paragraph.h (inset_iterator): add -> operator
10331
10332         * paragraph.[Ch] (autoDeleteInsets): remove member function
10333
10334         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10335         cursor pos correctly and handle inset deletion by itself.
10336         (insertErrors): move iterator declaration out of for expression
10337
10338         * lyxtextclass.C: add <algorithm>
10339
10340         * Makefile.am: added the new files to sources, removed layout.C
10341
10342         * layout.C: removed file
10343
10344         * layout.h: remove LYX_DUMMY_LAYOUT
10345
10346         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10347         layout.
10348
10349         * lyxlayout.[Ch]:
10350         * lyxtextclass.[Ch]:
10351         * lyxtextclasslist.[Ch]: new files
10352
10353         * include order changes to a lot of files, also changes because of
10354         the six new files.
10355
10356 2001-12-27  Juergen Vigna  <jug@sad.it>
10357
10358         * buffer.C (asciiParagraph): more fixes.
10359
10360         * tabular.C (ascii): make ascii export support export of only the
10361         data separated by a column-delimiter.
10362         (ascii): better support for ascii export.
10363
10364         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10365
10366 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10367
10368         * tabular_funcs.C: use a "using std::getline" instead of the
10369         previous fix from Angus (necessary for cxx + lyxstring)
10370
10371 2001-12-24  Juergen Vigna  <jug@sad.it>
10372
10373         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10374
10375         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10376         problems. First check a minipage also if we have some ert-contents
10377         (not only on par->size(), second set the right depth of the paragraph
10378         on the relink to the root-paragraph-list!
10379
10380         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10381         which then did not anymore update the main paragraphs on undo/redo!
10382
10383 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10386         code. Support all font-changing funcs (even those which are not in
10387         menu currently). Support for reporting font settings in
10388         mathed (disabled until Andre provides a function on mathed's side).
10389
10390         * func_status.h (toggle): small helper function to set toggle
10391         state on a flag.
10392
10393 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10394
10395         * tabular_funcs.C: getline -> std::getline
10396
10397 2001-12-21  Juergen Vigna  <jug@sad.it>
10398
10399         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10400         accessed and could be 0 (I couldn't generate this but it seems
10401         Michael could!).
10402
10403 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10406         * tabular_funcs.h: here and include iosfwd
10407
10408 2001-12-20  Juergen Vigna  <jug@sad.it>
10409
10410         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10411         inside inset but undo_par was.
10412
10413 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * Thesaurus.C: always include <config.h> in sources.
10416
10417         * Painter.h:
10418         * lyxlookup.h:
10419         * box.h: do not include <config.h> in header files
10420
10421         * text.C (paintLastRow): remove unused variable
10422
10423         * text.C (transformChar):
10424         (insertChar):
10425         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10426
10427         * Painter.C (text):
10428         * font.C (width): rewrite to use uppercase() instead of
10429         islower/toupper.
10430
10431         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10432
10433 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * lyxfind.C: clean up of find failure position change
10436
10437 2001-12-20  Juergen Vigna  <jug@sad.it>
10438
10439         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10440
10441         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10442         (TeXRow): added to LaTeX a single tabular row.
10443         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10444         (Latex): simplified and finally good LT-h/f support.
10445         (various_functions): just small adaptions for LT-h/f support.
10446
10447         * tabular_funcs.[hC]: added and moved here all not classfunctions
10448         of LyXTabular.
10449
10450 2001-12-19  Juergen Vigna  <jug@sad.it>
10451
10452         * tabular.[Ch]: better support for longtabular options (not finished
10453         yet!)
10454
10455 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10456
10457         * text.C (paintLastRow): use the label font instead of the font of
10458         the last character to compute the size of *_BOX. This makes more
10459         sense and avoids a crash with empty paragraphs.
10460         Use Painter::rectangle to draw EMPTY_BOX.
10461
10462 2001-12-19  Juergen Vigna  <jug@sad.it>
10463
10464         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10465         the paragraphs if the replaced paragraph is not the first one!
10466         Tried to delete not used paragraphs but does not work yet so for
10467         now it's inside #ifdef's and by default off!
10468
10469 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * MenuBackend.C: include "lyx_main.h" instead of declaring
10472         lastfiles (actually was declared as LastFiles* instead of a
10473         scoped_ptr).
10474
10475 2001-12-17  Juergen Vigna  <jug@sad.it>
10476
10477         * tabular.C (AppendColumn): applied John's fix
10478
10479 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * BufferView.h:
10482         * BufferView.C:
10483         * BufferView_pimpl.h:
10484         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10485
10486         * Makefile.am:
10487         * box.h: new start of class for above
10488
10489         * lyxfunc.C: ignore space-only minibuffer dispatches.
10490           Show the command name when it doesn't exist
10491
10492         * minibuffer.C: don't add empty lines to the history
10493
10494         * minibuffer.C: add a space on dropdown completion
10495
10496 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * text.C: fix line above/below drawing in insets
10499
10500 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * lyxlength.C (LyXLength): Initialize private variables.
10503
10504 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10507         when inserting error insets.
10508
10509 2001-12-13  Juergen Vigna  <jug@sad.it>
10510
10511         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10512         actually sometimes the before-paragraph.
10513         (setUndo): don't clear the redostack if we're not actually undoing!
10514
10515 2001-12-06  Juergen Vigna  <jug@sad.it>
10516
10517         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10518         and fixed redoing of main paragraph, so we can use it now ;)
10519
10520         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10521
10522 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10525         Juergen's request
10526
10527 2001-12-13  André Pönitz <poenitz@gmx.net>
10528
10529         * undostack.[Ch]:
10530         * undo_func.C: minor cleanup
10531
10532 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10535         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10536         font in urw-fonts package which is marked as -urw-fontspecific and
10537         does not work (incidentally, changing the encoding in the
10538         fonts.dir of this package to -adobe-fontspecific fixes the
10539         problem).
10540
10541         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10542         is a crash when undoing first paragraph (Juergen, please take a
10543         look). THis does not mean the undo fix is wrong, just that it
10544         uncovers problems.
10545
10546         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10547         the (Paragraph*) version when needed instead of duplicating the
10548         code.
10549
10550         * text.C (workWidth): use Inset::parOwner to find out where the
10551         inset has been inserted. This is a huge performance gain for large
10552         documents with lots of insets. If Inset::parOwner is not set, fall
10553         back on the brute force method
10554
10555         * paragraph_pimpl.C (insertInset):
10556         * paragraph.C (Paragraph):
10557         (cutIntoMinibuffer): set parOwner of insets when
10558         inserting/removing them
10559
10560         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10561
10562 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10563
10564         * commandtags.h:
10565         * LyXAction.C:
10566         * lyx_main.C:
10567         * lyxfunc.C:
10568         * mathed/formulabase.C:
10569         * mathed/math_cursor.[Ch]:
10570         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10571
10572
10573 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * lyxlength.[Ch] (operator!=): new function
10576
10577 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * text.C (workWidth): use Inset::parOwner to find out where the
10580         inset has been inserted. This is a huge performance gain for large
10581         documents with lots of insets. If Inset::parOwner is not set, fall
10582         back on the brute force method
10583
10584         * paragraph_pimpl.C (insertInset):
10585         * paragraph.C (Paragraph):
10586         (cutIntoMinibuffer): set parOwner of insets when
10587         inserting/removing them
10588
10589         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10590
10591 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * tabular-old.C (getTokenValue):
10594         * tabular.C (getTokenValue):
10595         (write_attribute): new versions for LyXLength
10596         (everywhere): adjust the use of widths
10597
10598         * tabular.h: change the type of widths from string to LyXLength
10599
10600 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10601
10602         * paragraph.C: fixed missing line number count when exporting
10603         Environments to LaTeX file
10604
10605         * buffer.C: added informational message for checking line numbers.
10606
10607 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10610         paragraph, do the 'double space' part, but not the 'empty
10611         paragraph' one.
10612
10613         * text.C (workWidth): small optimization
10614         (getLengthMarkerHeight): use minimal size for negative lengths.
10615
10616 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10619
10620         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10621
10622 2001-12-11  André Pönitz <poenitz@gmx.net>
10623
10624         * FontLoader.C:
10625         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10626
10627 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * text2.C: keep selection on a setFont()
10630
10631 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * lyx_cb.C: another bv->text misuse, from insert label
10634
10635 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * kbsequence.h:
10638         * kbsequence.C: re-instate nmodifier mask
10639
10640 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10641
10642         * lyx_main.h: make lyxGUI private.
10643
10644 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * lyxfind.C: place the cursor correctly on failed search
10647
10648 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * text.C (getLengthMarkerHeight): for small heights, the arrows
10651         are not always on top/bottom of the text
10652         (drawLengthMarker): smaller arrows; take the left margin in
10653         account; draw also vfills.
10654         (paintFirstRow):
10655         (paintLastRow): remove special code for vfill and standard spaces,
10656         since everything is handled in drawLengthMarker now.
10657
10658 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * buffer.C (insertErtContents): try to handle font and language
10661         interaction a bit better.g
10662
10663         * ColorHandler.C (updateColor): change the hash to cover the whole
10664         LColor enum, ws cleanup
10665         (getGCLinepars): ditto
10666         (getGCLinepars): only lookup in the linecache once.
10667
10668 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * iterators.C (operator++): Make the iterator more robust
10671
10672         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10673         (John's patch)
10674         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10675
10676 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * lyxtext.h:
10679         * text.C: better added space drawing
10680
10681 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * LyXView.C:
10684         * BufferView2.C: fix layout combo update on inset unlock
10685
10686 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * Makefile.am: don't compile unused files
10689
10690 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * lyxfunc.C:
10693         * commandtags.h:
10694         * LyXAction.C: remove old LFUN_LAYOUTNO
10695
10696 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * paragraph_pimpl.h:
10699         * paragraph_pimpl.C: isTextAt() doesn't need font param
10700
10701 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * lyxlex.h:
10704         * lyxlex.C: little cleanup
10705
10706 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView_pimpl.C: fix insertAscii for insets
10709
10710 2001-12-05  Juergen Vigna  <jug@sad.it>
10711
10712         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10713         set the right font on the "multi" paragraph paste!
10714
10715 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * trans_decl.h:
10718         * trans_mgr.[Ch]:
10719         * trans.[Ch]:
10720         * lyxgluelength.C:
10721         * lyxlength.C: remove out-commented code.
10722
10723         * BufferView_pimpl:
10724         * CutAndPaste.C:
10725         * DepTable.C:
10726         * buffer.C:
10727         * chset.C:
10728         * lastfiles.C:
10729         * lyxlex.C:
10730         * lyxlex_pimpl.C:
10731         * lyxserver.C:
10732         * screen.C:
10733         * tabular-old.C:
10734         * tabular.C:
10735         * text.C:
10736         * trans_mgr.C:
10737         * vc-backend.C: change "while(" to "while ("
10738
10739         * lyxlength.[Ch]: add zero function to check if length is zero or
10740         not
10741         * lyxgluelength.C: use it
10742
10743 2001-12-05  Allan Rae  <rae@lyx.org>
10744
10745         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10746         Works for 2.95.3, from what I understand of Garst's reports this should
10747         work for other g++ versions.  We're screwed if the abs(int) definition
10748         changed between bugfix releases of gcc.
10749
10750 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * text.C: fix chapter label offset !
10753
10754 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * lyxtext.h:
10757         * text.C: fix hfill at end of line, clean up
10758
10759 2001-12-04  Juergen Vigna  <jug@sad.it>
10760
10761         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10762         that we force an update of the inset and it's owners if neccessary.
10763
10764 2001-12-03  Juergen Vigna  <jug@sad.it>
10765
10766         * text.C (rowLast): simplified code
10767
10768 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * lyxfunc.C: fix show options on timeout
10771
10772 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10773
10774         * screen.C (topCursorVisible): scroll half a page when the cursor
10775         reached top of bottom of screen
10776
10777 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * minibuffer.C: deactivate on loss of focus
10780
10781 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * vspace.[Ch] (operator!=): add operator.
10784
10785 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * BufferView_pimpl.C: refuse to open an inset when
10788         there's a selection.
10789
10790 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * BufferView_pimpl.C: allow to click on RHS of full row insets
10793
10794 2001-11-30  Juergen Vigna  <jug@sad.it>
10795
10796         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10797         insets for undo reasons.
10798
10799 2001-11-28  André Pönitz <poenitz@gmx.net>
10800
10801         * vspace.[Ch]: cosmetical changes
10802
10803 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * LyXAction.h:
10806         * LyXAction.C:
10807         * lyxfunc.h:
10808         * lyxfunc.C:
10809         * kbmap.h:
10810         * kbmap.C:
10811         * lyxrc.C:
10812         * kbsequence.h:
10813         * kbsequence.C: part re-write of old kb code
10814
10815         * Painter.C:
10816         * WorkArea.C: remove Lgb_bug_find_hack
10817
10818 2001-11-30  José Matos <jamatos@fep.up.pt>
10819
10820         * buffer.C (makeDocBookFile): add a comment to point a hack.
10821         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10822         Fixed a double write of labels.
10823
10824 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10825
10826         * LaTeX.C:
10827         * LaTeX.h Fixed bug in LaTeX class where it would not
10828         re-run latex if no depfiles were changed, but the .dvi was removed.
10829
10830 2001-11-28  André Pönitz <poenitz@gmx.net>
10831
10832         * all the files from the change on 2001/11/26:
10833         use lyx::layout_type instead of LyXTextClass::size_type
10834         use lyx::textclass_type instead of LyXTextClassList::size_type
10835
10836 2001-11-29  Juergen Vigna  <jug@sad.it>
10837
10838         * text.C: added support for paragraph::isFreeSpacing()
10839
10840         * buffer.C: same as above
10841
10842         * paragraph.h: inserted isFreeSpacing() function to enable
10843         FreeSpacing inside InsetERT.
10844
10845         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10846         of the paragraph's in the cut/copy buffer to 0!
10847
10848         * text2.C (removeRow): remove the assert as it can!
10849
10850         * lyxtext.h: added helper function firstRow returning firstrow and
10851         made firstrow private again.
10852
10853         * BufferView2.C (lockInset): don't relock if we're already locked!
10854
10855         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10856         the only paragraph.
10857         (removeRow): added Assert::(firstrow)
10858
10859         * debug.C: forgot to add INSETTEXT here.
10860
10861 2001-11-28  Juergen Vigna  <jug@sad.it>
10862
10863         * sp_spell.C (initialize): changed error text to more general
10864         spellchecker command use (not only ispell!)
10865
10866         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10867
10868         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10869
10870 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * vspace.C: initialise lyxgluelength on failure
10873
10874 2001-11-28  Allan Rae  <rae@lyx.org>
10875
10876         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10877         declaration & definition that looks like a function declaration.
10878
10879 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10880
10881         * BufferView2.C (copy):
10882         (copyEnvironment): do not clear the selection when doing a copy.
10883
10884         * text.C (paintFirstRow): compilation fix
10885
10886 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10887
10888         * tabular.C (Latex): correct line count when writing latex.
10889
10890 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10891
10892         * paragraph_pimpl.h:
10893         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10894           bug a bit
10895
10896 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * text.C:
10899         * LColor.h:
10900         * LColor.C: change vfillline->added_space
10901
10902         * text.C: add markers and text for added space
10903
10904         * vspace.C: fix comment
10905
10906 2001-11-28  André Pönitz <poenitz@gmx.net>
10907
10908         * paragraph.C: whitespace changes
10909         * all the other files from the change on 2001/11/26:
10910         change *::pos_type into lyx::pos_type
10911
10912 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10913
10914         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10915         language of the document when inserting error insets.
10916
10917 2001-11-26  André Pönitz <poenitz@gmx.net>
10918
10919         * BufferView_pimpl.[Ch]:
10920         *       CutAndPaste.C:
10921         * buffer.[Ch]:
10922         * lyxcursor.[Ch]:
10923         * lyxfind.C:
10924         * lyxfunc.C:
10925         * lyxrow.[Ch]:
10926         * paragraph.[Ch]:
10927         * paragraph_pimpl.[Ch]:
10928         * sp_spell.C:
10929         * text.C:
10930         * text2.C: reduce header dependencies, introduce type for positions
10931
10932 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * <various>: change to use Alert.h
10935
10936 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10939         when encountering an unknown token.
10940         (readLyXformat2): Show an error message if there were unknown tokens.
10941
10942 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * BufferView2.C:
10945         * BufferView_pimpl.C:
10946         * buffer.C:
10947         * paragraph.h:
10948         * text.C:
10949         * text2.C: use par->isInset()
10950
10951 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * paragraph_pimpl.h:
10954         * paragraph_pimpl.C: cleanup
10955
10956 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text2.C (removeRow):
10959         * text.C (setHeightOfRow): remove useless (and costly) call to
10960         getRow.
10961
10962 2001-11-20  Allan Rae  <rae@lyx.org>
10963
10964         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10965         Now need Inset*::checkInsertChar() to return true for appropriate
10966         cases so that the characters in the minibuffer will actually be
10967         inserted.
10968
10969 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * text.C: change the order of the includes.
10972         (workWidth): initialize it at once.
10973         (workWidth): make maxw unsigned
10974         (setHeightOfRow): remove unused variable (inset)
10975         (selectSelectedWord): remove unused variable (inset)
10976         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10977
10978 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10979
10980         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10981         server is not running.
10982         (openConnection):
10983         (closeConnection): add debug info when server is disabled.
10984
10985         * ColorHandler.C (getGCForeground): send debug message to GUI
10986         channel.
10987
10988         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10989
10990         * kbmap.C (bind): modify because return conventions of
10991         kb_sequence::parse have changed.
10992
10993         * kbsequence.C (parse): only ignore spaces and not any stupid
10994         control character. This avoids tests like s[i] <= ' ', which are
10995         guaranteed to fail with 8bit characters and signed chars.
10996         Change return code to string::npos when there have been no error
10997         (0 was a bad idea when error is at first character)
10998
10999 2001-11-14  José Matos  <jamatos@fep.up.pt>
11000
11001         * buffer.h:
11002         * buffer.C (simpleDocBookOnePar): removed unused argument.
11003
11004 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11005
11006         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11007         insets which are part of a word. Paragraph::isLetter takes care of
11008         that now. Use Paragraph::isInset to identify insets.
11009         (selectSelectedWord): do not test for hyphenation break.
11010
11011         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11012         that protected spaces are considered as spaces.
11013
11014         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11015         Inset::isLetter.
11016
11017 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * lyxserver.h:
11020         * lyxserver.C: fix it. and small cleanup.
11021
11022 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * BufferView_pimpl.C: use inline helpers
11025
11026         * LaTeXFeatures.h:
11027         * LaTeXFeatures.C: fix typos
11028
11029         * Spacing.h:
11030         * Spacing.C: move spacing_string into class
11031
11032         * ToolbarDefaults.C: move stuff into namespace anon
11033
11034         * layout.h: update enum
11035
11036         * lyxfunc.C: use better debug
11037
11038         * minibuffer.h: fix typo
11039
11040         * debug.h:
11041         * debug.C:
11042         * WorkArea.C: add and use Debug::WORKAREA
11043
11044         * lyxtext.h:
11045         * text.C:
11046         * text2.C: code re-organisation, inline helpers
11047
11048 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11049
11050         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11051         std::vector.empty().
11052
11053 2001-11-09  Allan Rae  <rae@lyx.org>
11054
11055         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11056         '\n's after tables.  Tabular and ERT inset work now makes this no
11057         longer necessary.
11058
11059 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * minibuffer.h:
11062         * minibuffer.C: fix crash, improve drop-down completion
11063
11064 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * lyxserver.h:
11067         * lyxserver.C: invalidate fd's when doing endPipe()
11068
11069 2001-11-08  José Matos  <jamatos@fep.up.pt>
11070
11071         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11072         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11073
11074         * paragraph.h:
11075         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11076
11077 2001-11-07  José Matos  <jamatos@fep.up.pt>
11078
11079         * buffer.h:
11080         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11081         const qualifier.
11082
11083         * buffer.C (sgmlOpenTag):
11084         * buffer.C (sgmlCloseTag): removed debug info.
11085
11086         * buffer.h (sgmlOpenTag):
11087         * buffer.h (sgmlCloseTag): made public.
11088
11089 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11090
11091         * buffer.C (saveParamsAsDefaults):
11092         * lyx_cb.C (MenuLayoutSave): remove
11093
11094         * LyXAction.C (init):
11095         * commandtags.h:
11096         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11097
11098 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11099
11100         * buffer.C (setPaperStuff): removed from here...
11101
11102         * bufferparams.C (setPaperStuff): ... and moved there.
11103
11104 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * minibuffer.h:
11107         * minibuffer.C:
11108         * XFormsView.C: add support for drop-down completion
11109
11110 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11113         commands.
11114
11115 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11118         disabled.
11119
11120 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * lyx_main.C: change ref to known bugs
11123
11124 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11125
11126         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11127         to work around older babel problems.
11128
11129 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11130
11131         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11132
11133 2001-10-24  Juergen Vigna  <jug@sad.it>
11134
11135         * tabular-old.C (ReadOld): below variable changes reflected.
11136
11137         * tabular.[Ch]: added ltType struct for longtable header/footer
11138         defines and changed all instances where they are used. Added
11139         future support for double top/bottom rows.
11140
11141 2001-10-24  José Matos  <jamatos@fep.up.pt>
11142
11143         * buffer.h (docbookHandleCaption):
11144         * buffer.C (docbookHandleCaption): removed unused function.
11145         (makeDocBookFile): moved docbook supported version to v4.1.
11146
11147 2001-10-24  José Matos  <jamatos@fep.up.pt>
11148
11149         * tabular.h:
11150         * tabular.C (docbookRow): new function to export docbook code of a row.
11151         (DocBook): now honors the longtable flags.
11152
11153 2001-10-23  José Matos  <jamatos@fep.up.pt>
11154
11155         * LaTeXFeatures.h:
11156         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11157         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11158
11159         * buffer.C (makeLinuxDocFile):
11160         (makeDocBookFile): reworked the preamble, more clean, and with
11161         support for lyx defined entities. Changed the document declaration
11162         to be more XML friendly.
11163
11164         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11165         if we need to output XML that should be done with a filter.
11166
11167 2001-10-22  Juergen Vigna  <jug@sad.it>
11168
11169         * sp_pspell.h (class PSpell): add alive function needed in the
11170         controller to see if the spellchecker could be started.
11171
11172 2001-10-22  Juergen Vigna  <jug@sad.it>
11173
11174         * buffer.C (insertStringAsLines): modify the font for inserting
11175         chars in certain conditions by calling checkInsertChar(font).
11176
11177 2001-10-19  Juergen Vigna  <jug@sad.it>
11178
11179         * text.C (workWidth): use getRow instead of wrong algorithm.
11180         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11181
11182 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * lyxserver.h:
11185         * lyxserver.C:
11186         * lyx_main.h:
11187         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11188
11189 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * text.C (workWidth): do not search for the exact row when
11192         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11193         optimization for big documents.
11194
11195 2001-10-18  Juergen Vigna  <jug@sad.it>
11196
11197         * text.C (workWidth): new function with added Inset * parameter.
11198
11199 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11200
11201         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11202
11203         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11204         change return type of getColumnNearX.
11205
11206
11207         * text.C (changeRegionCase): use uppercase/lowercase instead of
11208         toupper/tolower.
11209         (leftMargin):
11210         (rightMargin): simplify code by factoring out the uses of
11211         textclasslist.
11212         (labelFill):
11213         (numberOfHfills):
11214         (setHeightOfRow):
11215         (appendParagraph): use Paragraph::size_type
11216
11217 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11218
11219         * vspace.C (asLatexString): add a missing break
11220
11221 2001-10-15  Herbert Voss  <voss@perce.de>
11222
11223         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11224
11225 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11228         is not available.
11229
11230 2001-10-10  André Pönitz <poenitz@gmx.net>
11231
11232         * lyxfunc.C: removed greek_kb_flag.
11233
11234 2001-10-10  Herbert Voss  <voss@perce.de>
11235
11236         * lyx_main.C: delete global string help_lyxdir.
11237
11238 2001-10-09  Herbert Voss  <voss@perce.de>
11239
11240         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11241
11242         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11243
11244         * lyx_main.C: added global string help_lyxdir.
11245
11246         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11247
11248 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11249
11250         * lyxrc.C (set_font_norm_type): support iso8859-4
11251
11252 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11253
11254         * LaTeX.C (deplog): add another regex for MikTeX
11255
11256 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11257
11258         * lyxrc.C (set_font_norm_type): support iso8859-3
11259
11260 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11261
11262         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11263
11264         * LaTeXFeatures.C: remove special case of french and index
11265
11266         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11267         before \begin{document}). This solves several incompatibilities.
11268
11269 2001-10-03  Garst Reese  <reese@isn.net>
11270
11271         * lyx_cb.C: change CheckTex error msg.
11272
11273 2001-10-03  José Matos  <jamatos@fep.up.pt>
11274
11275         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11276
11277 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11278
11279         * .cvsignore: update
11280
11281         * lyx_main.C (commandLineVersionInfo): use new style version info.
11282
11283         * buffer.C (writeFile):
11284         (makeLaTeXFile):
11285         (makeLinuxDocFile):
11286         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11287
11288         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11289
11290         * version.h: update to use stuff in version.C
11291
11292         * version.C.in: new file. Contains version information determined
11293         at compile time. This is a merging of version.h and
11294         version_info.h.in.
11295
11296 2001-10-03  Juergen Vigna  <jug@sad.it>
11297
11298         * BufferView_pimpl.C (update): don't change "dirty" status in
11299         updateInset call.
11300
11301 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * WorkArea.C (c-tor): re-position version string slightly.
11304
11305 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11306
11307         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11308         revert to previous code.
11309
11310         WorkArea.[Ch]: (show, destroySplash): methods removed.
11311
11312         WorkArea.C: rework code so that it's an amalgam of the codes before and
11313         after the splash screen was moved to WorkArea.
11314
11315 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11316
11317         * lyxrc.C (read):
11318         * vspace.C (inPixels):
11319         (lyx_advance):
11320         * kbmap.C (bind):
11321         * buffer.C (insertStringAsLines):
11322         (asciiParagraph): fix types to be large enough
11323
11324         * lyxlex_pimpl.h: change member status from short to int
11325
11326         * layout.h: fix type of endlabeltype
11327
11328         * kbmap.C (bind):
11329         * kbsequence.C (parse): change return type to string::size_type
11330
11331         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11332         variable
11333
11334         * Bullet.C (bulletSize):
11335         (bulletEntry): do not use short ints as parameters
11336
11337         * BufferView2.C (insertLyXFile): change a char to an int.
11338
11339         * WorkArea.C (WorkArea): remove unneeded floats in computation
11340
11341 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11342
11343         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11344
11345         * paragraph.C (asString): Do not ignore newline/hfill chars when
11346         copying to the clipboard.
11347
11348 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11349
11350         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11351         after a multi-line inset.
11352
11353 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11354
11355         * paragraph.C (validate): Set NeedLyXFootnoteCode
11356
11357 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11360         and decrease-error to decrease.
11361
11362 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11363
11364         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11365         it more readable (should be equivalent)
11366
11367 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11368
11369         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11370
11371 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11374         of a cursor (row, etc.) after a character has been deleted
11375         (deleteEmptyParagraphMechanism): call the method above on _all_
11376         cursors held by the LyXText when a double space has been
11377         detected/deleted.
11378
11379 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11380
11381         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11382         pixmap.
11383         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11384
11385         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11386         background. Use greyOut() and the new show() methods to toggle between
11387         the foreground and background. Add code to remove the splash after
11388         its initial showing.
11389
11390         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11391         (create_forms): no longer call Dialogs::showSplash.
11392
11393 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * .cvsignore: add version_info.h
11396
11397 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11398
11399         * version_info.h.in: new file
11400
11401         * Makefile.am: add version_info.h.in
11402
11403         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11404         version_info.h instead of VERSION_INFO
11405
11406 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11407
11408         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11409         The ERT inset now returns string().
11410
11411 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * lyxtext.h, text.C (selectNextWord): renamed as
11414         selectNextWordToSpellcheck.
11415
11416         * text.C (selectNextWordToSpellcheck): Modified to not select
11417         words inside an ERT inset.
11418
11419 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11420
11421         * lyx_cb.C (MenuLayoutSave): change a bit the question
11422
11423         * sp_base.h: include <sys/types.h>
11424
11425 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11428
11429 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11430
11431         * several files: fix typos in user-visible strings
11432
11433 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11434
11435         * text2.C (pasteSelection): do not set the selection, since it
11436         will be cleared later. Actually, the intent was to fix the way the
11437         selection was set, but I figured rmoving the code was just as good.
11438
11439 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11440
11441         * FontLoader.C (available): Check if font is available without
11442         loading the font.
11443
11444 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11445
11446         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11447
11448 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11449
11450         * lyxrc.[Ch]: added display_graphics variable and associated code.
11451
11452 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11453
11454         * bufferparams.C (hasClassDefaults): new method. Returns true if
11455         the buffer parameters correspond to known class defaults
11456
11457 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11458
11459         * XFormsView.C (show): set minimum size to the main window.
11460
11461 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * text2.C (copySelection):
11464         (cutSelection):
11465         * lyxfind.C (LyXReplace):
11466         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11467         LyXText::selectionAsString.
11468
11469         * paragraph.C (asString): add "label" argument to the second form
11470
11471         * text2.C (selectionAsString): add "label" argument and pass it to
11472         Paragraph::asString.
11473
11474 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11475
11476         * lyx_main.C (commandLineHelp): remove version information
11477
11478 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11479
11480         * lyx_main.C: add -version commandline option
11481
11482 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11483
11484         * paragraph.h: make the optional constructor arg required instead.
11485         some modifications to other files because of this.
11486
11487         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11488
11489         * lyxserver.C (C_LyXComm_callback): make it static
11490
11491         * lyx_main.C (error_handler): make it static
11492
11493         * lyx_gui.C (LyX_XErrHandler): make it static
11494
11495         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11496
11497         * WorkArea.C: make the extern "C" methods static.
11498
11499         * Makefile.am (lyx_LDADD): simplify
11500
11501 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11502
11503         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11504         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11505
11506         * LyXAction.C (init):
11507         * lyxfunc.C (dispatch): associated code removal.
11508
11509 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11510
11511         * lyxfont.h (isSymbolFont): shut off warning
11512
11513         * text.C (setHeightOfRow):
11514         (getVisibleRow): fix crash with empty paragraphs which have a
11515         bottom line
11516
11517 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11518
11519         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11520         code.
11521
11522 2001-09-04  José Matos  <jamatos@fep.up.pt>
11523         * buffer.C
11524         * buffer.h
11525         * tabular.C (docbook): rename docBook method to docbook.
11526
11527 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11528
11529         * Makefile.am: add dependencies to main.o.
11530
11531 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11532
11533         * FontLoader.C (available): Return false if !lyxrc.use_gui
11534
11535 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11536
11537         * FontInfo.C (query):
11538         * converter.C (view):
11539         * importer.C (Import):
11540         * exporter.C (Export): Can not -> cannot.
11541
11542 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * BufferView_pimpl.C: allow to create index inset even if
11545           string is empty
11546
11547 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11548
11549         * buffer.C (getLists): replace boost::tie code with an explicit pair
11550         as boost::tie can break some compilers.
11551
11552         * iterators.h: Added a std:: declaration to the return type of
11553         ParIterator::size.
11554
11555 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11558           case.
11559
11560 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * iterators.[Ch]: New files. Provide paragraph iterators.
11563
11564         * buffer.C (changeLanguage): Use paragraph iterators.
11565         (isMultiLingual): ditto
11566
11567         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11568
11569 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11570
11571         * FontLoader.C: Support for cmr font.
11572
11573 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11574
11575         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11576         (available): New method.
11577
11578         * FontInfo.C (getFontname): Use scalable fonts even when
11579         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11580         found.
11581
11582 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11583
11584         * converter.C (Formats::view): reverted! Incorrect fix.
11585
11586 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11587
11588         * converter.C (Formats::view): only output the -paper option
11589         if the dvi viewer is xdvi, thereby fixing bug #233429.
11590
11591 2001-08-23  Herbert Voss  <voss@perce>
11592
11593         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11594
11595 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * Spacing.h (Spacing): Set space to Default on in the default
11598         constructor.
11599
11600 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * vc-backend.h (RCS::versionString): add RCS to version
11603         (CVS::versionString): add CVS to version
11604
11605         * vc-backend.C (scanMaster): do not add CVS to version.
11606         (scanMaster): do not add RCS to version
11607
11608         * lyxvc.C (versionString): new method
11609
11610         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11611
11612 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * Spacing.C (set): initialize fval
11615
11616 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11617
11618         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11619         " or \.
11620
11621 2001-08-16  Juergen Vigna  <jug@sad.it>
11622
11623         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11624
11625 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * BufferView_pimpl.C:
11628         * figureForm.C:
11629         * lyxtext.h:
11630         * text2.C: setParagraph takes linespacing now
11631
11632 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * LyxAction.C: add internal LFUN_CITATION_INSERT
11635
11636         * LyXView.C: actually apply fix
11637
11638         * bufferlist.C: fix open non-existent file
11639
11640         * lyxfind.C: fix indentation
11641
11642         * lyxfunc.C: remove unneeded assert, fix typo
11643
11644 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * MenuBackend.C: use "Floatname List"
11647
11648 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11649
11650         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11651         when converting LaTeX layout to insetERT.
11652         Generate a non-collapsed float when reading old float
11653
11654 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11657         ERT insets.
11658
11659 2001-08-13  Juergen Vigna  <jug@sad.it>
11660
11661         * text.C (fill): return 0 instead of 20 as this seems to be the more
11662         correct value.
11663
11664 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11665
11666         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11667         lyxrc.font_norm.
11668
11669 2001-08-13  Juergen Vigna  <jug@sad.it>
11670
11671         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11672         casesensitive off.
11673         (SearchBackward): comment out the unlocking of the inset_owner this
11674         should not be needed!
11675
11676 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11677
11678         * Many files: Remove inherit_language, and add latex_language
11679
11680         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11681         collapsible insets.
11682
11683 2001-08-10  Juergen Vigna  <jug@sad.it>
11684
11685         * text.C (prepareToPrint): fixed hfill-width in draw!
11686
11687         * BufferView2.C (selectLastWord): save the selection cursor as this
11688         now is cleared in the function LyXText::clearSelection!
11689
11690 2001-08-08  Juergen Vigna  <jug@sad.it>
11691
11692         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11693         BACKSPACE type functions.
11694
11695         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11696         is only cutted from the document but not put in the cut-buffer, where
11697         still the old stuff should be.
11698
11699         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11700
11701         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11702
11703         * tabular.C (SetWidthOfCell): fixed special case where the width
11704         was not updated!
11705         (LeftLine): handle '|' in align_special.
11706         (RightLine): ditto
11707         (LeftAlreadyDrawed): ditto
11708         (SetWidthOfCell): ditto
11709
11710 2001-08-07  Juergen Vigna  <jug@sad.it>
11711
11712         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11713
11714 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11717         * lyxlex.[hC]: ditto
11718
11719 2001-08-06  Juergen Vigna  <jug@sad.it>
11720
11721         * text.C (getVisibleRow): fix up row clearing a bit.
11722
11723 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * minibuffer.C: make sure the X server sees the changes in the input.
11726
11727 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * paragraph.C (getFont): split into...
11730         (getLabelFont): this
11731         (getLayoutFont): and this
11732         * paragraph_pimpl.C (realizeFont): calling this
11733
11734         * text2.C (getFont): split into...
11735         (getLayoutFont): this
11736         (getLabelFont): and this
11737         (realizeFont): all three calling this
11738
11739         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11740         files where used.
11741
11742 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11743
11744         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11745
11746 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11747
11748         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11749         layouts from the Quote inset insertion.
11750
11751 2001-08-03  Juergen Vigna  <jug@sad.it>
11752
11753         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11754
11755         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11756         only if status not is already CHANGED_IN_DRAW (second level).
11757
11758         * text.C (draw): don't set the need_break_row when inside an
11759         InsetText LyXText.
11760
11761 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * buffer.C (parseSingleLyXformat2Token): handle more latex
11764         conversion cases.
11765
11766         * bufferview_funcs.[hC]: change function names to
11767         begin with small char, adjust other files.
11768
11769 2001-08-02  André Pönitz <poenitz@gmx.net>
11770
11771         * lyxfunc.C:
11772         BufferView_pimpl.C: remove broken special code for math-greek
11773
11774 2001-08-02  Juergen Vigna  <jug@sad.it>
11775
11776         * BufferView_pimpl.C (update): redone this function so that we
11777         update the text again if there was a CHANGE_IN_DRAW.
11778
11779         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11780         (drawFromTo): added a new internal bool which is used by draw() and
11781         redraw() function.
11782         (general): some cursor drawing problems fixed.
11783
11784 2001-08-01  Juergen Vigna  <jug@sad.it>
11785
11786         * lyxfind.C (LyXFind): fixed
11787         (SearchForward): ditto
11788         (SearchBackward): ditto
11789
11790         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11791         spurius drawing of the cursor in the main area.
11792
11793         * text2.C (status): small fix which could lead to a segfault!
11794         (clearSelection): remove unneeded BufferView param.
11795
11796 2001-08-01  André Pönitz <poenitz@gmx.net>
11797
11798         * lyxfunc.C: small change due to changed mathed interface
11799
11800 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11801
11802         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11803
11804 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * lyxfunc.c: fail gracefully if file doesn't exist
11807
11808         * LyXSendto.C:
11809         * buffer.C:
11810         * lyxfunc.C:
11811         * BufferView_pimpl.C: IsDirWriteable() proto changed
11812
11813         * LyXView.C: fix updateWindowTitle() to store the last title
11814
11815 2001-07-31  Juergen Vigna  <jug@sad.it>
11816
11817         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11818         the font (wrong since using of Paragraph::highestFontInRange).
11819
11820         * paragraph.C (highestFontInRange): added a default_size parameter.
11821
11822         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11823         (setHeightOfRow): reformat
11824
11825 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * converter.[hC] + affected files: move to (inital-char)lowercase
11828         function names.
11829
11830         * ParagraphParameters.C (ParagraphParameters): remove commented code
11831
11832         * PainterBase.[Ch]: remove commented code
11833
11834         * LaTeXFeatures.h: add "bool floats" for float.sty
11835
11836         * LaTeXFeatures.C (LaTeXFeatures): init floats
11837         (require): handle float
11838         (getPackages): do it with floats
11839
11840 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * BufferView_pimpl.C (Dispatch): improve handling of
11843         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11844
11845         * commandtags.h: #include lyxfont.h here temporarily to avoid
11846         keybinding bug.
11847
11848         * bufferlist.h: include LString.h here.
11849
11850 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * text2.C (getStringToIndex): new method.
11853
11854 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11855
11856         * *: Reduced header file dependencies all over.
11857
11858 2001-07-30  Baruch Even  <baruch@lyx.org>
11859
11860         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11861
11862 2001-07-29  Baruch Even  <baruch@lyx.org>
11863
11864         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11865
11866 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * ParameterStruct.h (endif): add a default constructor to make
11869         sure that all variables is initialized.
11870
11871         * ParagraphParameters.C (ParagraphParameters): adjust
11872
11873 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11874
11875         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11876         index; also, check that there is something to index, and that it
11877         does not span over several paragraphs.
11878         (doubleClick): use WHOLE_WORD_STRICT for double click.
11879
11880         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11881
11882         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11883         scheme.
11884
11885 2001-07-26  Baruch Even  <baruch@lyx.org>
11886
11887         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11888         an InsetFig figure, backwards compatible reading of old figure code.
11889
11890 2001-07-27  Juergen Vigna  <jug@sad.it>
11891
11892         * text2.C: font.realize function adaption.
11893
11894         * text.C (draw): add a warnings lyxerr text if needed.
11895
11896         * layout.C: font.realize function adaption.
11897
11898         * language.C: add inherit_language and implement it's handlings
11899
11900         * bufferview_funcs.C (StyleReset): remove language parameter from
11901         font creation (should be language_inherit now).
11902
11903         * bufferparams.C (writeFile): handle ignore_language.
11904
11905         * paragraph.C (getFontSettings): the language has to be resolved
11906         otherwise we have problems in LyXFont!
11907
11908         * lyxfont.C (lyxWriteChanges): added document_language parameter
11909         (update): removed unneeded language parameter
11910
11911         * paragraph.C (validate): fixed wrong output of color-package when
11912         using interface colors for certain fonts in certain environments,
11913         which should not seen as that on the final output.
11914
11915 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView_pimpl.C:
11918         * Thesaurus.h:
11919         * Thesaurus.C:
11920         * Makefile.am:
11921         * commandtags.h:
11922         * LyXAction.C: add thesaurus support
11923
11924         * lyxfind.h:
11925         * lyxfind.C: add "once" parameter, for thesaurus, to not
11926           move to the next match
11927
11928 2001-07-26  Juergen Vigna  <jug@sad.it>
11929
11930         * lyxfont.C (realize): honor ignore_language too!
11931         (resolved): ditto.
11932
11933         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11934
11935         * text.C (draw): one place more for ignore_language to not draw
11936         itself!
11937
11938 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11939
11940         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11941
11942 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943
11944         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11945         the minipage conversion problem.
11946
11947 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11950         insert an inset.
11951
11952 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * BufferView.h: don't forward declare WorkArea
11955
11956         * BufferView.C: don't include WorkArea.h
11957
11958 2001-07-25  André Pönitz <poenitz@gmx.net>
11959
11960         * commandtags.h:
11961         * LyXAction.C:
11962         * lyxfunc.C:  new LFUN 'math-space'
11963
11964         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11965
11966 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * text2.C (toggleInset): call open/close
11969
11970 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * lyxfunc.C (dispatch): add debug for the disabled case
11973
11974         * font.C (buttonText): make similar to rectText
11975
11976         * buffer.C (readInset): comment out parsing of insetlist and
11977         insttheorem
11978
11979         * PainterBase.C (rectText): small correction
11980
11981         * BufferView_pimpl.C: comment out insettheorem and insetlist
11982         * LyXAction.C: ditto
11983         * commandtags.h: ditto
11984
11985 2001-07-24  Juergen Vigna  <jug@sad.it>
11986
11987         * text.C (draw): honor the ignore_language.
11988
11989         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11990
11991 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11994         char inset.
11995
11996 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11997
11998         * lyxtext.h: remove unused (and unimplemented) methods
11999
12000 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12001
12002         * text.C (getVisibleRow): honor background color
12003
12004         * PainterBase.h:
12005         * Painter.h: remove default color argument for fillRectangle
12006
12007         * text.C (backgroundColor): new method
12008
12009 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * text.C (getVisibleRow): adjust
12012
12013         * font.[Ch] (rectText): new method, metrics
12014         (buttonText): new method, metrics
12015
12016         * PainterBase.[hC]: make rectText and buttonText always draw and take
12017         fewer paramteres.
12018
12019 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12020
12021         * ToolbarDefaults.C (read):
12022         * MenuBackend.C (read): allow escaping in all strings
12023
12024         * BufferView_pimpl.C (insertAndEditInset): new method.
12025         (Dispatch): use insertAndEditInset whenever appropriate.
12026
12027         * BufferView_pimpl.C (insertNote): removed
12028
12029         * BufferView_pimpl.C (smartQuote): new method, moved from
12030         BufferView; if an insetquote cannot be inserted, insert a '"'
12031         character instead.
12032
12033         * BufferView2.C: remove insertCorrectQuote();
12034
12035         * lyxfunc.C (getStatus): Add support for all remaingin
12036         inset-insert lfuns.
12037
12038         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12039
12040         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12041         command (necessary to pass " as parameter of self-insert.
12042
12043         * text.C (selectWordWhenUnderCursor):
12044         (selectWord): add word_location parameter
12045         (selectWordWhenUnderCursor): same + remove special code for word
12046         boundary.
12047         (selectNextWord): use kind() to guess type of insetspecialchar,
12048         not latex().
12049
12050         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12051         (insertErtContents): create ert insets as collapsed.
12052         (readInset): better compatibility code for Info inset.
12053
12054 2001-07-20  Juergen Vigna  <jug@sad.it>
12055
12056         * lyxfunc.C (dispatch): use always LyXFind now!
12057
12058         * text2.C (init): add a reinit flag so that the LyXText can be
12059         reinited instead of deleted and reallocated (used in InsetText).
12060
12061         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12062
12063         * text.C: ditto
12064
12065         * text2.C: ditto
12066
12067 2001-07-18  Juergen Vigna  <jug@sad.it>
12068
12069         * text.C (selectNextWord): handle insets inside inset by calling
12070         always the bv->text functions so that we can go up the_locking_inset!
12071
12072         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12073         in strange locations when inside an inset!
12074
12075         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12076         handling to include insets.
12077
12078         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12079
12080 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12081
12082         * LyXAction.C (init):
12083         * commandtags.h:
12084         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12085         LIGATURE_BREAK, since the name is so stupid.
12086
12087 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12088
12089         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12090         InsetInfos.
12091
12092         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12093
12094         * sp_form.[Ch]: remove.
12095
12096         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12097
12098         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12099         InsetInfo.
12100
12101         * src/buffer.C (readInset): ditto.
12102
12103 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12104
12105         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12106         menuSeparator(), endOfSentenceDot(), ldots() and
12107         hyphenationPoint(), which are therefore removed.
12108         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12109
12110         * LyXAction.C (init):
12111         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12112
12113         * paragraph.C (getWord): removed.
12114
12115         * BufferView_pimpl.C (Dispatch): use last word or selection for
12116         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12117
12118         * lyx_main.C (queryUserLyXDir): do not ask before creating
12119         user_dir, except if it has been named explicitely.
12120
12121 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12124         a document of zero size.
12125
12126 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12129         approriately in the c-tor and in require().
12130         (getPackages): output the appropriate LaTeX for natbib support.
12131
12132         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12133         variables "use_natbib" and "use_numerical_citations" when reading the
12134         LyX file.
12135         (readInset): read the various natbib cite commands.
12136         (validate): white-space change.
12137
12138         * bufferparams.[Ch]: new variables "bool use_natbib" and
12139         "bool use_numerical_citations".
12140         (writeFile): output them in the LyX file.
12141
12142 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12143
12144         * lyxfunc.C (getStatus): add support for all the inset insertion
12145         commands.
12146
12147         * text2.C (insertInset):
12148         * paragraph.C (insetAllowed):
12149         * BufferView_pimpl.C (insertInset): update to take in account the
12150         renaming of insertInsetAllowed
12151
12152         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12153
12154         * text2.C (getInset): new method. returns inset at cursor position.
12155
12156         * BufferView_pimpl.C (Dispatch): changes because of this.
12157
12158         * LyXAction.C (init): rename open-stuff to inset-toggle.
12159
12160         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12161
12162         * text2.C (toggleInset): renamed from openStuff; use
12163         Inset::open().
12164
12165 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12166
12167         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12168
12169         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12170
12171 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12172
12173         * buffer.C (readLyXformat2): Add filename to the error dialog
12174
12175 2001-07-18  Juergen Vigna  <jug@sad.it>
12176
12177         * tabular.C (GetCellNumber): put an assert here instead of the check!
12178
12179 2001-07-17  Juergen Vigna  <jug@sad.it>
12180
12181         * BufferView_pimpl.C (toggleSelection): adapted too.
12182
12183         * text.C (selectNextWord): adapted for use with insets.
12184         (selectSelectedWord): ditto
12185
12186 2001-07-17  Juergen Vigna  <jug@sad.it>
12187
12188         * sp_spell.C (PSpell): fix initialitation order.
12189
12190 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * paragraph.C: spacing
12193
12194 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12195
12196         * sp_spell.C: repair language selection for pspell
12197
12198 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * lyxfunc.h: change more methods to begin with lower char.
12201
12202 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12203
12204         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12205         for unknown layouts.
12206
12207 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12208
12209         * buffer.C (readLyXformat2): Generate an error dialog if there are
12210         unknown layouts.
12211
12212 2001-07-16  Juergen Vigna  <jug@sad.it>
12213
12214         * sp_spell.C: always compile ISpell part.
12215
12216         * lyxrc.C: added use_pspell entry and it's handling.
12217
12218 2001-07-13  Juergen Vigna  <jug@sad.it>
12219
12220         * sp_spell.C: removed double includes.
12221
12222 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12223
12224         Consistent use of Lsstream.h:
12225         * Lsstream.h: added using std::stringstream for consistencies sake.
12226
12227         * buffer.C: removed using std::stringstream
12228
12229         * lyxfont.C (stateText):
12230         * paragraph.C (asString):
12231         * text.C (selectNextWord, selectSelectedWord):
12232         * text2.C (setCounter):
12233         * vspace.C (asString, asLatexString):
12234         std::ostringstream -> ostringstream.
12235
12236 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12237
12238         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12239         * commandtags.h: add LFUN_HELP_ABOUTLYX
12240         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12241
12242 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12243
12244         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12245         cursorToggle()
12246         * lyx_gui_misc.C: remove spellchecker
12247         * lyxfunc.C: showSpellchecker
12248         * sp_base.h: added
12249         * sp_ispell.h: added
12250         * sp_pspell.h: added
12251         * sp_spell.C: added
12252         * sp_form.[Ch]: removed
12253         * spellchecker.[Ch]: removed
12254
12255 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12256
12257         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12258         is set.
12259         (simpleTeXSpecialChars): Simply print the input character without
12260         any special translation if pass_thru is set.
12261
12262         * layout.h: Added bool pass_thru to layout class for being able to
12263         implement pass through of a paragraph for Literate Programming.
12264
12265         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12266         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12267         * layout.C (Read): add "passthru" to list of layout tags and add
12268         code to set the pass_thru boolean when it is read.
12269
12270 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * trans_decl.h: remove allowed from KmodInfo
12273
12274         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12275         remove allowed code
12276         (Load): adjust
12277
12278         * paragraph_pimpl.C (erase): use boost::prior
12279
12280         * Painter.C (text): use data() instead of c_str() when length is
12281         also provided.
12282         * WorkArea.C (putClipboard): ditto
12283         * font.h (width): ditto
12284
12285         * BufferView2.C: use it-> instead of (*it). for iterators
12286         * texrow.C: ditto
12287         * paragraph_pimpl.C: ditto
12288         * paragraph.C: ditto
12289         * minibuffer.C: ditto
12290         * language.C: ditto
12291         * kbmap.C: ditto
12292         * encoding.C: ditto
12293         * counters.C: ditto
12294         * converter.C: ditto
12295         * chset.C: ditto
12296         * Variables.C: ditto
12297         * TextCache.C: ditto
12298         * MenuBackend.C: ditto
12299         * LyXAction.C: ditto
12300         * LColor.C: ditto
12301         * FloatList.C: ditto
12302         * DepTable.C: ditto
12303         * ColorHandler.C (LyXColorHandler): ditto
12304
12305 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12306
12307         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12308
12309         * text2.C (openStuff): reintroduce this method (which had been
12310         nuked in NEW_INSETS frenzy).
12311
12312         * lyxfunc.C (Dispatch): when an action has not been handled, use
12313         its name in the error message, not its number.
12314
12315         * paragraph.C (inInset): change method name to begin with lowercase.
12316
12317         * undo_funcs.C:
12318         * text2.C: updates because of this.
12319
12320 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12321
12322         * ToolbarDefaults.C (add): add spaces in error message
12323
12324 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12327         (readLyXformat2): rename return_par to first_par, use lyxlex's
12328         pushToken and remove the manual push handling.
12329         (parseSingleLyXformat2Token): add another ert comp. variable:
12330         in_tabular, rename return_par to first_par. handle newlines better
12331
12332 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12335
12336 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * text2.C (getParFromID): removed
12339
12340         * buffer.C (getParFromID): new method moved form lyxtext.
12341         * BufferView2.C (insertErrors): adjust
12342         (setCursorFromRow): adjust
12343         * BufferView_pimpl.C (restorePosition): adjust
12344         * lyxfunc.C (Dispatch): adjust
12345         * undo_funcs.C (textUndo): adjust
12346         (textRedo): adjust
12347         (textHandleUndo): adjust
12348         (textHandleUndo): adjust
12349
12350 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * buffer.C: up' the LYX_FORMAT
12353
12354         * lyxfont.h: turn NO_LATEX on as default
12355
12356         * buffer.C (insertErtContents): new methods of tex style compability.
12357         (parseSingleLyXformat2Token): use it several places.
12358         * tabular.C (OldFormatRead): and here
12359
12360 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * text2.C: remove some commented code.
12363         reindent file.
12364
12365         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12366         * trans.C: changes because of the above.
12367
12368 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12369
12370         * text2.C (setCounter): Fix counters bug with bibliography layout.
12371
12372 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12375         own member functions
12376         (simpleTeXSpecialChars): ditto
12377
12378 2001-07-06  Juergen Vigna  <jug@sad.it>
12379
12380         * a lot of files: changed the access to LyXText::status and the
12381         call of undo-functions.
12382
12383         * undo.[Ch]: added a inset_id to the undo informations.
12384
12385         * undo_funcs.[Ch]: added and moved here all undo functions.
12386
12387         * lyxtext.h: give the status enum a weight, made status_ a private
12388         variable and made accessor functions for it, removed the whole bunch
12389         of undo-functions as they are now in their own file, make some
12390         functions publically available. Added function ownerParagraph with
12391         int parameter.
12392
12393         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12394         made InInset() a const function, added getParFromID() function.
12395
12396         * buffer.[Ch]: added const version for inset_iterator functions,
12397         added getInsetFromID() function.
12398
12399         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12400         changed undo functions for new version.
12401
12402 2001-07-05  Juergen Vigna  <jug@sad.it>
12403
12404         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12405         unknow mechanism does not call the proper constructor but only this
12406         one also if I request the other!?
12407
12408 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12409
12410         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12411
12412         * text2.C (LyXText): use initialization lists.
12413
12414         * lyxtext.h (Selection): initialize set_ and mark_
12415         (init): remove method
12416
12417 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12418
12419         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12420
12421 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * screen.[Ch]: change method names to begin with lowercase
12424
12425         * BufferView_pimpl.C (updateScrollbar): simplify further and
12426         hopefully make it a bit faster.
12427
12428 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12431         calling directly xforms functions.
12432
12433         * Painter.C (Painter):
12434         * lyx_cb.C (MenuWrite):
12435         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12436         fl_display.
12437
12438         * lyx_gui.C: remove bogus guiruntime extern declaration.
12439
12440 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12443         in NEW_INSETS
12444         (redoDrawingOfParagraph): ditto
12445         (redoParagraphs): ditto
12446         (cutSelection): don't create a object for CutAndPaste use the
12447         static method directly
12448         (pasteSelection): ditto
12449
12450         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12451         LyXview (+ rename)
12452
12453 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * modifications to some other files because of this.
12456
12457         * Makefile.am (lyx_SOURCES): add XFormsView
12458
12459         * XFormsView.[Ch]: new files
12460
12461         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12462         the main window. Move the gui dependent stuff to XFormsView
12463
12464 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12465
12466         * tabular.C (GetCellInset): update cur_cell also in the row/col
12467         version of this function.
12468
12469         * lyxfunc.C: no need to include figure_form.h here.
12470
12471         * FontLoader.h:
12472         * lyxfunc.h:
12473         * lyxscreen.h:
12474         * text2.C:
12475         * lyxvc.C: no need to include forms.h here.
12476
12477 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12480
12481         * lyxfunc.C (Dispatch):
12482         * Spacing.C (set):
12483         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12484         constructor argument.
12485
12486 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * paragraph.C (Paragraph): dont't clear, and just set layout.
12489         (makeSameLayout): use params's copy contructor.
12490
12491         * ParagraphParameters.[Ch] (makeSame): delete method
12492
12493 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * Variables.[Ch]: fix indentation, rename set to isSet
12496
12497 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * lyxfunc.C (Dispatch): fix typo
12500
12501 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12504         upper_bound.
12505
12506         * bufferlist.C: include assert.h for emergencyWrite().
12507
12508 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12511           give up at last (bug #425202) !
12512
12513 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * lyx_gui_misc.C:
12516         * sp_form.h:
12517         * sp_form.C:
12518         * spellchecker.h:
12519         * spellchecker.C: strip spellchecker options and bring up
12520           preferences tab instead
12521
12522 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12525         the istringstream constructor
12526
12527 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * paragraph.C (getLayout): fix return value
12530
12531         * paragraph.h: do not declare getLayout as inline.
12532
12533         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12534
12535 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * lyxcursor.h (operator<): new func
12538         (operator>): new func
12539         (operator>=): new func
12540         (operator<=): new func
12541
12542         * text.C (changeCase): use selection.start and selection.end
12543         (changeRegionCase): require from to be <= to. Require par to be a
12544         valid paragraph.
12545
12546         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12547
12548 2001-06-27  Juergen Vigna  <jug@sad.it>
12549
12550         * text.C (cursorLeftOneWord): changed to return the cursor and added
12551         overlay with BufferView * parameter which calls this one.
12552         (getWord): added
12553         (selectWord): use new getWord function.
12554         (changeCase): renamed from changeWordCase as and extended to work
12555         also on selections.
12556
12557         * lyxtext.h: added enum word_location
12558
12559         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12560         changeCase as this operates now also on selections.
12561
12562 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12563
12564         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12565
12566         * many files: send debug output to Debug::INFO instead of
12567         Debug::ANY.
12568
12569         * converter.C (View):
12570         (Convert):
12571         (Move): send debug output to Debug::FILES instead of console.
12572
12573 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12574
12575         * lyxfunc.C (getStatus): use func_status
12576
12577         * func_status.h: new header, describing the results of
12578         LyXFunc::getStatus;
12579
12580         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12581         LFUN_MATH_HALIGN.
12582
12583 2001-06-25  The LyX Project  <jug@sad.it>
12584
12585         * buffer.C (sgmlOpenTag):
12586         (sgmlCloseTag):
12587         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12588
12589 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * text2.C: remove some dead code
12592
12593         * tabular.C (GetCellInset): store the last cell checked (gotten)
12594
12595         * tabular.h: add the helper for the speedup
12596
12597         * lyxtext.h: remove some dead code
12598
12599 2001-06-26  The LyX Project  <Asger>
12600
12601         * paragraph.C: Change export to LaTeX of alignment to
12602         \begin{center} and family for better roundtrip work with reLyX.
12603
12604         * Tune the math drawing a bit.
12605
12606 2001-06-25  The LyX Project  <Asger>
12607
12608         * LColor.C (LColor): New color for math background. New color
12609         for buttons.
12610
12611 2001-06-25  The LyX Project  <jug@sad.it>
12612
12613         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12614
12615         * lyxfunc.C (Open):
12616         * bufferlist.C (newFile): do not restrict to files ending with
12617         .lyx
12618
12619         * BufferView_pimpl.C (MenuInsertLyXFile):
12620
12621 2001-06-24  The LyX Project  <jug@sad.it>
12622
12623         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12624         of compare_no_case
12625
12626 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyxtext.h: rename most methods to begin with a small char.
12629         Lots of changes because of this.
12630
12631         * paragraph.C (Paragraph): do not call fitToSize
12632         (erase): call Pimpl::erase
12633         (insertChar): call Pimpl::insertChar
12634         (insertInset): call Pipl::insertInset
12635         (breakParagraph): do not call fitToSize
12636         (breakParagraphConservative): do not call fitToSize
12637         (fitToSize): remove method
12638
12639         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12640
12641 2001-06-24  The LyX Project  <Asger>
12642
12643         * Fix Qt compilation^2
12644
12645 2001-06-24  The LyX Project  <jug@sad.it>
12646
12647         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12648         depthHook(getDepth()-1).
12649
12650         * paragraph.h:
12651         * ParagraphParameters.h:
12652         * ParameterStruct.h: change type of depth to unsigned int ==
12653         depth_type. Many adaptations to other files before of that.
12654
12655 2001-06-24  The LyX Project  <Asger>
12656
12657         * Fix Qt compilation.
12658
12659 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * paragraph.h: renamed several methods to begin with small letter.
12662         several changes to many parts of the code because of this.
12663
12664 2001-06-23  The LyX Project  <jug@sad.it>
12665
12666         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12667         rewritten to discard all double spaces when KeepEmpty is off
12668         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12669         to only handle newlines but not fiddle with spaces and friends.
12670
12671         * lyxfunc.C (MenuNew): when doing 'new from template', use
12672         template_path as default directory
12673
12674 2001-06-23  The LyX Project  <Asger>
12675
12676         * Clean-up of header file includes all over
12677         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12678
12679 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * paragraph.h: renamed from lyxparagraph.h
12682
12683 2001-06-23  Asger  <lyx@violet.home.sad.it>
12684
12685         * Buffer.h: Removed Buffer::resize
12686         * BufferList.h: Removed BufferList::resize
12687         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12688         the document lazily when we change the width, or the font settings.
12689
12690 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12693
12694 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * buffer.h: remove out of date comment
12697
12698 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * lyxscreen.h:
12701         * screen.C: fix "theoretical" GC leak
12702
12703 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12704
12705         * LaTeX.C (scanAuxFile):
12706         (deplog): remove trailing \r when reading stream (useful under
12707         win32)
12708
12709 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12712         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12713         and BufferView::theLockingInset(Inset*), so should use them and not
12714         access bv_->text->the_locking_inset directly.
12715
12716         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12717
12718 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * Makefile.am:
12721         * tex-defs.h: remove old unused file
12722
12723 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * BufferView_pimpl.C: fix typo, remove minibuffer message
12726           when buffer has loaded
12727
12728 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12729
12730         * lyxfunc.C (Dispatch): use stringstream
12731         (MenuNew): use stringstream
12732         (Open): use stringstream
12733
12734         * importer.C (Import): use stringstream
12735
12736         * bufferview_funcs.C (CurrentState): use stringstream
12737
12738         * LaTeX.C (run): use stringstream
12739
12740         * BufferView_pimpl.C (savePosition): use stringstream
12741         (restorePosition): use stringstream
12742         (MenuInsertLyXFile): use stringstream
12743
12744 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12745
12746         * BufferView.C:
12747         * Bullet.C:
12748         * ColorHandler.C:
12749         * FontInfo.C:
12750         * FontLoader.C:
12751         * LColor.C:
12752         * LaTeXFeatures.C:
12753         * Painter.C:
12754         * gettext.C:
12755         * lyx_gui_misc.C:
12756         * lyxserver.C:
12757         * vspace.C: removed // -*- C++ -*- as first line.
12758
12759         * lyxfind.h:
12760         * version.h: added // -*- C++ -*- as first line.
12761
12762 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12763
12764         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12765
12766         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12767         of string
12768
12769 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12772         of floats.
12773
12774 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * gettext.C: include LString.h even when --disable-nls is on.
12777
12778 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12779
12780         * converter.h (Get): changed argument type from int to
12781         FormatList::size_type to avoid unnecessary conversion.
12782
12783         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12784         before using it.
12785
12786 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12787
12788         * gettext.h: include LString.h even when --disable-nls is on.
12789
12790 2001-06-07  Juergen Vigna  <jug@sad.it>
12791
12792         * text.C (BreakAgain): subst spaces with tabs.
12793
12794         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12795         (resizeInsetsLyXText): set force on resizeLyXText.
12796
12797 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * gettext.h (gettext_init):
12800         (locale_init): use a real definition instead of a macro
12801
12802 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * Bufferview_pimpl.C:
12805         * LColor.h:
12806         * LColor.C: further lcolor tidies
12807
12808 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * BufferView_pimpl.C (updateScrollbar): simplify.
12811
12812         * BufferView2.C: don't include insets/insetinfo.h, change
12813         prototype for insertInset and call the Pimpl version. let
12814         updateInset call Pimpl version.
12815
12816         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12817         gotoInset to BufferView::Pimpl
12818
12819 2001-06-01  Juergen Vigna  <jug@sad.it>
12820
12821         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12822         inside a LockingInset (is the update needed at all?).
12823
12824 2001-05-31  Juergen Vigna  <jug@sad.it>
12825
12826         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12827         here not the old one otherwise how should we compare it afterwards
12828         if it's the same!
12829
12830 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * lyxfont.C:
12833         * tabular.C:
12834         * tabular-old.C:
12835         * FontInfo.C: bring C functions into global namespace when
12836         necessary
12837
12838 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12839
12840         * LString.h: make sure config.h has been loaded before LString.h.
12841
12842         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12843         (one for each char read by EatLine!).
12844
12845         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12846         variables.
12847
12848 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12851         to the same as the par we break from
12852
12853 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12856
12857         * MenuBackend.C (expand): also create menu entries for wide
12858         versions of the floats.
12859
12860         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12861
12862         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12863
12864         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12865         frontends/Makefile.am
12866
12867         * text2.C: adjust
12868         * text.C: adjust
12869
12870
12871         * tabular.C (getTokenValue): add std::
12872
12873         * tabular-old.C (getTokenValue): add std::
12874         (getTokenValue): ditto
12875         (getTokenValue): ditto
12876
12877         * screen.C (ToggleSelection): adjust
12878
12879         * lyxtext.h: put selection cursors inside a Selection struct.
12880
12881         * lyxfunc.C (moveCursorUpdate): adjust
12882
12883         * lyxfont.C (latexWriteStartChanges): add std::
12884
12885         * lyxfind.C: adjust
12886
12887         * font.h: delete with(char const *, LyXFont const &)
12888
12889         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12890
12891         * FontInfo.C (getFontname): add std::
12892
12893         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12894         (workAreaButtonPress): adjust
12895         (tripleClick): adjust
12896         (update): adjust
12897         (moveCursorUpdate): adjust
12898         (Dispatch): adjust
12899
12900         * BufferView2.C (gotoInset): adjust
12901
12902 2001-05-30  Juergen Vigna  <jug@sad.it>
12903
12904         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12905         to check pspell I add this as default as I now have new pspell
12906         libraries and they seem to use this.
12907
12908 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * text2.C (CutSelection): make the cursor valid before the call to
12911         ClearSelection.
12912
12913 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12914
12915         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12916         relied on 0 terminated strings and other horrors. Bug found due to
12917         the new assert in lyxstring!
12918
12919         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12920         KP_ keys.
12921
12922 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12925         to latinkeys.bind.
12926
12927         * lyxfunc.C (processKeySym): change method of getting to the
12928         self-insert char.
12929
12930         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12931         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12932         * BufferView_pimpl.[Ch]: here as private methods.
12933
12934 2001-05-28  Juergen Vigna  <jug@sad.it>
12935
12936         * text.C (SetHeightOfRow): added the update() call again as it is
12937         needed to initialize inset dimensions!
12938
12939 2001-05-16  Juergen Vigna  <jug@sad.it>
12940
12941         * text2.C (SetCharFont): Add new function with BufferView * and
12942         bool toggleall parameters for setting insets internal fonts.
12943         (SetFont): Freeze the undo as we may change fonts in Insets and
12944         all this change should be inside only one Undo!
12945
12946         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12947         setting font's in insets as for them we have the SetFont function!
12948
12949 2001-05-15  Juergen Vigna  <jug@sad.it>
12950
12951         * text2.C (ClearSelection): to be sure we REALLY don't have any
12952         selection anymore!
12953
12954         * tabular.C (TeXCellPreamble): fixed the left border problem for
12955         multicolumn cells.
12956
12957 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12960         dependancy file
12961
12962 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12965         LFUN_BREAKPARAGRAPH.
12966
12967         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12968         help test to "internal only", similar for LFUN_INSERT_URL
12969
12970         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12971         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12972         auto_region_delete and deadkeys.
12973
12974 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * LColor.h:
12977         * LColor.C: remove some dead entries, tidy a little
12978
12979 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12982         commented code.
12983         (Dispatch): implement LFUN_ESCAPE
12984
12985         * commandtags.h: add LFUN_ESCAPE
12986
12987         * LyXAction.C (init): add entry for LFUN_ESCAPE
12988
12989         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12990         Remove commented code.
12991         (insertNote): moved here
12992         (open_new_inset): moved here
12993
12994         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12995         BufferView_pimpl
12996
12997 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * kbmap.C (findbinding): clean it up and make it work correctly.
13000
13001         * lyx_main.C (init): do not pass argc and argv as parameters
13002
13003 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13004
13005         * buffer.C: fix path for OS/2 & Win32
13006
13007         * lyx_gui.C:
13008         * lyx_main:
13009         * lyx_main.C: Added os:: class.
13010
13011         * os2_defines.h: update
13012
13013 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13016         better by trying again with reduced state.
13017
13018 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13019
13020         * lyxrc.C (read): print error about invalid key sequence only when
13021         debugging (because not all latinX keysyms are known to some X
13022         servers)
13023
13024         * kbsequence.C (getiso): add a few std:: qualifiers
13025         (getiso): comment out extra return statement.
13026
13027 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13030         handling.
13031         (Dispatch): enhance the accent inset a bit. (not perfect)
13032
13033 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13036
13037 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * bufferlist.C (emergencyWrite): fix assert() call
13040
13041 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13042
13043         * text.C (InsertChar): Added trivial patch to only send the "you
13044         can not do multiple spaces this way" message once during a
13045         session.
13046
13047 2001-05-08  Baruch Even  <baruch@lyx.org>
13048
13049         * Makefile.am: Changed order of libraries to get LyX to link properly
13050         with the gnome frontend.
13051
13052 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * LaTeXFeatures.h: add a std:: qualifier
13055
13056 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * paragraph.C (String): use stringstream
13059
13060 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * paragraph.C (writeFile): remove footflag arg
13063
13064         * buffer.C (makeLaTeXFile): use stringstream
13065         (latexParagraphs): remove footnot gurba
13066
13067         * LaTeXFeatures.C (getPackages): use stringstream
13068         (getMacros): likewise
13069         (getTClassPreamble): likewise
13070         (getFloatDefinitions): new method
13071
13072         * paragraph.C (writeFile): reindent
13073         (Erase): reindent
13074
13075         * WorkArea.h: revert the xpos + etc changes.
13076
13077         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13078
13079         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13080
13081         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13082         (pasteSelection): likewise
13083         * text2.C (CreateUndo): likewise
13084
13085 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * minibuffer.C (peek_event): temporarily reduce the functionality
13088         of the minibuffer (to allow args on lfuns)
13089
13090         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13091         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13092
13093         * buffer.C (readInset): add compability reading of old float
13094         lists, add reading of new style float list.
13095         (readInset): avoid reevaluation of inscmd.getCmdName()
13096         (getLists): reindent
13097
13098         * MenuBackend.C (MenuItem): implement parsing of
13099         md_floatlistinsert and md_floatinsert.
13100         (expand::LastFiles): move initalizaton of iterators out of loop,
13101         avoid reevaluation.
13102         (expand::Documents): introduce typdedef vector<string> Strings,
13103         and use it.
13104         (expand::ExportFormats): introduce typedef vector<Format const *>
13105         Formats, and use it.
13106         (expand): implement FloatListInsert and FloatInsert.
13107
13108         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13109         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13110         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13111
13112         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13113         handling.
13114         (Dispatch::LFUN_FLOAT_LIST): implement
13115
13116 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13117
13118         * LaTeX.C (run): Fix problem with --export code.
13119
13120 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13121
13122         * BufferView.[Ch] (workarea): removed.
13123         (getClipboard) new method; wrapper for workarea()->getClipboard()
13124
13125         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13126         bug.
13127
13128         * WorkArea.h (width, height, xpos, ypos): These methods all
13129         returned the dimensions of the work_area sub-area of WorkArea,
13130         resulting in a position error if the WorkArea were resized. Now
13131         return the dimensions of the entire WorkArea.
13132
13133         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13134
13135 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * LaTeX.C (deplog): correct the syntax of regex reg1
13138
13139 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * undo.C: remove !NEW_INSETS cruft
13142
13143 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * text2.C: remove !NEW_INSETS cruft
13146
13147         * text.C: remove !NEW_INSETS cruft
13148
13149         * tabular.C: remove !NEW_INSETS cruft
13150
13151         * spellchecker.C: remove !NEW_INSETS cruft
13152
13153         * lyxtext.h: remove !NEW_INSETS cruft
13154
13155         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13156
13157         * lyxfunc.C: remove !NEW_INSETS cruft
13158
13159         * lyxfind.C: remove !NEW_INSETS cruft
13160
13161         * lyx_cb.C: remove !NEW_INSETS cruft
13162
13163         * figureForm.C: remove  !NEW_INSETS cruft
13164
13165         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13166
13167         * buffer.[Ch]: remove !NEW_INSETS cruft
13168
13169         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13170
13171         * CutAndPaste.C: remove !NEW_INSETS cruft
13172
13173         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13174
13175         * BufferView2.C: remove !NEW_INSETS cruft
13176
13177         * BufferView.h: remove !NEW_INSETS cruft
13178
13179 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * Lsstream.h: include LString.h before the sstream headers to
13182         fix problem with gcc 2.95.3 and lyxstring
13183
13184 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * lyx_main.C: add using directives when needed for C functions
13187         declared in std:: namespace.
13188
13189 2001-04-27  Juergen Vigna  <jug@sad.it>
13190
13191         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13192         (SetHeightOfRow): comment out the update call should not be needed!
13193
13194 2001-04-13  Juergen Vigna  <jug@sad.it>
13195
13196         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13197         (LyXTabular): tried to minimize operator= operations (and realized
13198         hopfully Lars wish).
13199
13200 2001-04-27  Juergen Vigna  <jug@sad.it>
13201
13202         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13203
13204 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13207
13208         * buffer.C (readInset): hack to make listof algorithm work
13209
13210         * BufferView_pimpl.C: hack to make listof algorithm work
13211
13212 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * LyXAction.C: removed all !NEW_INSETS cruft
13215         (init): moved lfun_item in method
13216
13217         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13218
13219 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13220
13221         * BufferView2.C (theLockingInset): white space.
13222
13223 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * minibuffer.C: include <iostream>
13226
13227         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13228
13229         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13230
13231         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13232
13233         * text.[Ch] (TransposeChars): new method
13234
13235 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * call message directly through LyXView instead of through LyXFunc
13238         * BufferView2.C: adjust
13239         * BufferView_pimpl.C: adjust
13240         * FontLoader.C: adjust
13241         * buffer.C: adjust
13242         * bufferview_funcs.C: adjust
13243         * converter.C: adjust
13244         * figureForm.C: adjust
13245         * importer.C: adjust
13246         * lyx_cb.C: adjust
13247         * lyx_gui_misc.C: adjust
13248         * lyxfunc.C: adjust
13249         * lyxvc.C: adjust
13250         * text2.C: adjust
13251         + more files in subdirs
13252
13253         * lyxparagraph.h (size): move up int file
13254         (GetLayout): ditto
13255
13256         * adjust all uses of Assert to lyx::Assert.
13257
13258         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13259         lyxfunctional in namespace lyx
13260         * layout.C (hasLayout): ditto
13261         (GetLayout): ditto
13262         (GetLayout): ditto
13263         (delete_layout): ditto
13264         (NumberOfClass): ditto
13265         * converter.C (GetFormat): ditto
13266         (GetNumber): ditto
13267         (Add): ditto
13268         (Delete): ditto
13269         (SetViewer): ditto
13270         * bufferlist.C (getFileNames): ditto
13271         (emergencyWriteAll): ditto
13272         (exists): ditto
13273         (getBuffer): ditto
13274         * MenuBackend.C (hasSubmenu): ditto
13275         (hasMenu): ditto
13276         (getMenu): ditto
13277         * BufferView_pimpl.C (getInsetByCode): ditto
13278
13279 2001-04-18  Juergen Vigna  <jug@sad.it>
13280
13281         * vspace.C (asLatexString): fixed the 100% problem.
13282
13283 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * lyxfunc.C (Dispatch):
13286         * minibuffer.C:
13287         * minibuffer.h: add a few std:: qualifiers
13288
13289 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * minibuffer.[Ch]: reimplement so that commands is initiated and
13292         run from lyxfunc, simplified som handling, and made the completion
13293         and history code for complete. wip.
13294
13295         * lyxfunc.C (processKeySym): call message
13296         (miniDispatch): new temporary method
13297         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13298         (LFUN_MESSAGE): implement
13299         (LFUN_MESSAGE_PUSH): implement
13300         (LFUN_MESSAGE_POP): implement
13301         (initMiniBuffer): the initial/defualt minibuffer message.
13302
13303         * lyxfont.[Ch]: inline some more getters
13304
13305         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13306
13307         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13308
13309         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13310         (AutoSave): use LFUN_MESSAGE
13311         (Reconfigure): ditto
13312
13313         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13314
13315         * figureForm.C: use LFUN_MESSAGE
13316
13317         * converter.C (runLaTeX): use LFUN_MESSAGE
13318
13319         * bufferview_funcs.C: use LFUN_MESSAGE
13320         (Melt): ditto
13321         (changeDepth): ditto
13322
13323         * bufferparams.h: use boost::
13324
13325         * bufferlist.h: inherit privately from noncopyable
13326
13327         * bufferlist.C (loadLyXFile): remove some commented code.
13328
13329         * buffer.C (runChktex): use LFUN_MESSAGE
13330
13331         * ShareContainer.h: inherit privately from noncopyable
13332
13333         * ParagraphParameters.[hC] (depth): inline it.
13334
13335         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13336         methods.
13337         (message): new method
13338         (messagePush): ditto
13339         (messagePop): ditto
13340         (show): init minibuffer
13341         (showState): direct call
13342
13343         * LaTeX.[Ch]: inherit privately from noncopyable
13344         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13345         instead of WriteStatus.
13346
13347         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13348
13349         * BufferView_pimpl.C (buffer): don't init minibuffer
13350         (workAreaButtonPress): use LFUN_MESSAGE
13351         (workAreaButtonRelease): ditto
13352         (savePosition): ditto
13353         (restorePosition): ditto
13354         (MenuInsertLyXFile): ditto
13355         (workAreaExpose): don't init minibuffer
13356         (update): remove commented code, simplify
13357
13358         * BufferView2.C (openStuff): use LFUN_MESSAGE
13359         (toggleFloat): ditto
13360         (menuUndo): ditto
13361         (menuRedo): ditto
13362         (copyEnvironment): ditto
13363         (pasteEnvironment): ditto
13364         (copy): ditto
13365         (cut): ditto
13366         (paste): ditto
13367         (gotoInset): ditto
13368         (updateInset): remove some commented code
13369
13370         * lastfiles.h: inherit privately from noncopyable
13371         * layout.h: ditto
13372         * lyx_gui.h: ditto
13373         * lyx_main.h: ditto
13374         * lyxlex.h: ditto
13375         * lyxlex_pimpl.h: ditto
13376
13377         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13378         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13379         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13380
13381         * LyXAction.h: inherit privately from noncopyable, add methods
13382         func_begin, func_end, returning iterators to the func map.
13383
13384         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13385         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13386         (func_begin): new method
13387         (func_end): new method
13388
13389         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13390         and not)
13391         (copySelection): ditto
13392         (pasteSelection): ditto
13393
13394         * BufferView.C: whitespace change
13395         * BufferView.h: inherit privately from noncopyable
13396
13397 2001-04-16  Allan Rae  <rae@lyx.org>
13398
13399         * tabular-old.C (l_getline):
13400         * spellchecker.C (sc_check_word):
13401         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13402         an unrecognised preprocessor directive.  So ensure they're wrapped.
13403
13404 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13405
13406         * src/exporter.C (Export): Give an error message when path to file
13407         contains spaces.
13408
13409 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * LaTeX.C (deplog): Always check that foundfile exists.
13412
13413 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * lyx_main.h:
13416         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13417
13418 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * tabular.[Ch] (getLabelList): implement new method
13421
13422         * minibuffer.h: comment ouf setTiimer
13423
13424         * minibuffer.C (ExecutingCB): constify res
13425         (peek_event): constify s
13426         (Set): constify ntext
13427         (Init): constify nicename
13428
13429         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13430
13431         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13432         (savePosition): use two params to Minibuffer::Set
13433         (restorePosition): ditto
13434
13435 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * lyx_main.C: include language.h
13438
13439         * Makefile.am (lyx_main.o): add language.h
13440
13441 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13442
13443         * exporter.C:
13444         * paragraph.C:
13445         * screen.C:
13446         * tabular.C:
13447         * CutAndPaste.C: include gettext.h
13448
13449         * lyxfont.h: remove old hack with ON and OFF.
13450
13451         * lyxparagraph.h:
13452         * lyxfont.h: do not include language.h...
13453
13454         * BufferView2.C:
13455         * LaTeXFeatures.C:
13456         * Painter.C:
13457         * bufferview_funcs.C:
13458         * font.C:
13459         * lyxfont.C:
13460         * text.C:
13461         * text2.C:
13462         * trans_mgr.C:
13463         * paragraph.C: ... but do it here instead
13464
13465 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13468
13469         * tabular.C: small reformat
13470
13471         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13472         NEW_INSETS version
13473         (GetChar): ditto
13474         (BreakParagraph): ditto
13475         (SetOnlyLayout): ditto
13476         (SetLayout): ditto
13477
13478         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13479         with one arg less.
13480
13481         * lastfiles.C: removed most using decl, add std:: where needed
13482
13483         * buffer.C: ws changes
13484
13485         * MenuBackend.C (class compare_format): put into anon namespace
13486         (expand): constify label, names, action, action2
13487         (expand):
13488
13489         * text.C (SingleWidth): constify font
13490         (IsBoundary): constify rtl2
13491         (GetVisibleRow): constify ww
13492
13493         * LaTeX.C (deplog): constify logfile
13494
13495         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13496         start_x, end_x
13497         (workAreaExpose): constify widthChange, heightChange
13498
13499         * lyxrow.C (par): moved
13500         (height): moved
13501         (next): moved
13502         * lyxrow.h: as inlines here
13503
13504         * lyxfont.h (shape): moved from lyxfont.C
13505         (emph): moved from lyxfont.C
13506
13507         * lyxfont.C (LyXFont): use initialization list for all
13508         constructors
13509         (shape): move to lyxfont.h as inline
13510         (emph): move to lyxfont.h as inline
13511
13512
13513 2001-04-04  Juergen Vigna  <jug@sad.it>
13514
13515         * vspace.C: had to include stdio.h for use of sscanf
13516
13517 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * BufferView.h:
13520         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13521         independent of xforms.
13522
13523 2001-04-02  Juergen Vigna  <jug@sad.it>
13524
13525         * spellchecker.C: fixed namespace placing!
13526
13527 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13530         the LyXParagraph * is 0.
13531
13532 2001-03-29  Juergen Vigna  <jug@sad.it>
13533
13534         * vspace.C: added support for %, c%, p%, l%.
13535         (stringFromUnit): added helper function.
13536         (asLatexString): changed to give right results for the %-values.
13537
13538         * buffer.C: convert the widthp in a width%.
13539
13540 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13543         figureForm.[Ch].
13544
13545         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13546         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13547
13548         * lyx_cb.[Ch]: see above.
13549
13550         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13551         form1.[Ch].
13552
13553         * form1.[Ch]:
13554         * lyx.[Ch]: replaced by figure_form.[Ch].
13555
13556         * lyx_gui.C:
13557         * lyx_gui_misc.C:
13558         * lyxfunc.C: changed headers associated with above changes.
13559
13560 2001-03-27  Juergen Vigna  <jug@sad.it>
13561
13562         * BufferView_pimpl.C: set the temporary cursor right!
13563
13564 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13567
13568 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * LString.h: removed "using std::getline"!
13571
13572         * BufferView_pimpl.C (Dispatch): changes due to changes in
13573         InsetInclude::Params.
13574
13575         * buffer.C (tag_name): removed redundant break statements as they were
13576         producing lots of warnings with my compiler.
13577
13578 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * LString.h: add "using std::getline" when using the real <string>.
13581
13582 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13583
13584         * buffer.C: removed bitset usage.
13585         PAR_TAG moved to an anonymous name space.
13586         (tag_name): new funtion, also in the anonymous namespace.
13587         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13588         (makeDocBookFile): clean code. Completed transition from string arrays
13589         to string vectors.
13590         (SimpleDocBookOnePar): code clean.
13591
13592 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13593
13594         * tabular.C: add some comments.
13595
13596 2001-03-22  Juergen Vigna  <jug@sad.it>
13597
13598         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13599         compatibility read a bit and fixed bug with minipage in different
13600         depth.
13601
13602 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13603
13604         * buffer.C (pop_tag): removed.
13605         (push_tag): removed.
13606         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13607         array replaced with vector. Added support for CDATA sections.
13608         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13609         at any nest level.
13610         (makeDocBookFile): XML conformant declaration of CDATA section,
13611         fixed bug related to <emphasis> in the first paragraph char.
13612         (sgmlOpenTag): exclude empty tags.
13613         (sgmlCloseTag): ditto.
13614
13615         * buffer.h (pop_tag): removed.
13616         (push_tag): removed.
13617
13618 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13619
13620         * language.h (Languages): added size_type and size().
13621
13622 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13623
13624         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13625         response on compability reading of minipages. One probliem is that
13626         the old usage of minipages was «flertydig»
13627
13628         * several files here and in subdirs: don't use static at file
13629         scope use anon namespaces instead.
13630
13631 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13632
13633         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13634         LaTeX output. This is necessary for Literate document
13635         processing.
13636
13637 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13638
13639         * buffer.C: insert hfill when needed.
13640
13641         * tabular.C (l_getline): use string::erase, small whitespace change.
13642
13643         * BufferView_pimpl.C: try the anon namespace.
13644         * WorkArea.C: ditto
13645
13646 2001-03-16  Juergen Vigna  <jug@sad.it>
13647
13648         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13649         otherwise it won't open options-dialogs.
13650
13651         * buffer.C: honor pextraWidth(p) on converting minipages.
13652
13653         * tabular.C (l_getline): changed the functions to strip trailing \r.
13654
13655 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * BufferView_pimpl.C:
13658         * minibuffer..C: added "using SigC::slot" declaration.
13659
13660 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13661
13662         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13663
13664         * text2.C: ditto
13665
13666         * text.C: ditto
13667
13668         * paragraph.C: ditto
13669
13670         * lyxtext.h: NO_PEXTRA
13671
13672         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13673
13674         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13675         * ParameterStruct.h: ditto
13676         * ParagraphParameters.h: ditto
13677         * lyxparagraph.h: ditto
13678
13679 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13680
13681         * buffer.C: add compability for minipage alignment.
13682         (latexParagraphs): remove unwanted pextra check.
13683
13684         * several files: remove CXX_WORKING_NAMESPACES
13685
13686         * buffer.C (pop_tag): tie is in namespace boost
13687
13688         * BufferView.h: noncopyable is in namespace boost
13689         * lyxlex.h: ditto
13690         * lyx_main.h: ditto
13691         * lyx_gui.h: ditto
13692         * layout.h: ditto
13693         * lastfiles.h: ditto
13694         * bufferlist.h: ditto
13695         * ShareContainer.h: ditto
13696         * LyXView.h: ditto
13697         * LyXAction.h: ditto
13698         * LaTeX.h: ditto
13699
13700 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13701
13702         * Merging changes from BRANCH_MVC back into HEAD.
13703
13704         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13705
13706 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * BufferView_pimpl.C: change from intl.C
13709
13710         * combox.h:
13711         * combox.C:
13712         * Makefile.am: move combox.*
13713
13714         * form1.h:
13715         * form1.C:
13716         * lyx_gui.C:
13717         * intl.h:
13718         * intl.C: remove dialog (covered by prefs)
13719
13720 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13721
13722         * lyxfunc.C (Dispatch): removed redundant break statement.
13723
13724 2001-03-14  Juergen Vigna  <jug@sad.it>
13725
13726         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13727
13728 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13729
13730         * buffer.C: add hack to fix compability reading of minipages.
13731
13732 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13733
13734         * buffer.C (getLists): Cleanup.
13735
13736 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * lyxfont.C (update): don't honor toggleall on font size.
13739
13740 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * bmtable.c:
13743         * bmtable.h:
13744         * Makefile.am: moved to frontends/xforms/
13745
13746         * lyx_gui_misc.C:
13747         * lyxfunc.C:
13748         * BufferView_pimpl.C: changes for moved mathpanel
13749
13750 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * gettext.h: fix gettext_init() in --disable-nls
13753
13754 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13755
13756         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13757
13758 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * lyx.C:
13761         * lyx.h: strip external form
13762
13763 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * BufferView_pimpl.C: add comment, destroySplash()
13766
13767 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * BufferView_pimpl.C:
13770         * LyXAction.C:
13771         * buffer.C:
13772         * commandtags.h:
13773         * lyxfunc.C: use re-worked insetinclude
13774
13775 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13776
13777         * buffer.C: add using std::stringstream.
13778
13779         * lyx_cb.C: readd using std::ios.
13780
13781         * buffer.C: add using std::map.
13782
13783         * BufferView_pimpl.C: add using std::vector.
13784
13785         * ShareContainer.h: add std:: to swap.
13786
13787         * buffer.h: add some typedefs
13788         * buffer.C (getLists): use them
13789         (getLists): renamed from getTocList.
13790         add a counter for the different float types and use it in the
13791         generated string.
13792         (getLists): use the same counter for the NEW_INSETS and the "non"
13793         NEW_INSETS
13794
13795         * lyx_cb.h: remove unused items, includes, using etc.
13796
13797         * ShareContainer.h: remove some commented code, add more comments
13798         and "documentation".
13799
13800 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13801
13802         * buffer.C (getTocList): make the list also when NEW_INSETS is
13803         defined.
13804
13805         * buffer.h: remove TocType
13806
13807         * buffer.C (getTocList): change to return a map<string,
13808         vector<TocItem> >, implement for dynamic number of list.
13809
13810         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13811         * text2.C (PasteSelection): adjust
13812         * CutAndPaste.C (pasteSelection): adjust
13813
13814         * FloatList.C (FloatList): update from the new_insets branch.
13815         * Floating.[Ch]: ditto
13816         * LaTeXFeatures.C: ditto
13817         * buffer.C: ditto
13818         * lyxlex_pimpl.C: ditto
13819
13820         * paragraph.C (Last): remove when NEW_INSETS is defined.
13821
13822         * other file: changes because of the above.
13823
13824 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13825
13826         * lyxparagraph.h: rename next to next_, previous to previous_,
13827         make them private for NEW_INSETS. Rename Next() to next(),
13828         Previous() to previous().
13829
13830         * other files: changes because of the above.
13831
13832 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13833
13834         * BufferView.h:
13835         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13836         problem.
13837
13838 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * main.C (main): pass lyx_localedir to gettext_init().
13841
13842         * gettext.h: remove locale_init and gettext_init macros
13843
13844         * gettext.C (locale_init): new function
13845         (gettext_init): new function
13846
13847         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13848         setlocale().
13849
13850 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13851
13852         * Moved credits to frontends:
13853         * credits.[Ch]: removed
13854         * credits_form.[Ch]: removed
13855         * lyx_gui_misc.C: remove credits stuff
13856         * Makefile.am:
13857
13858 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13859
13860         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13861
13862         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13863         unneeded destructor.
13864
13865         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13866         a standalone pointer again.
13867
13868         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13869
13870 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * Makefile.am:
13873         * filedlg.h:
13874         * filedlg.C:
13875         * LyXAction.C:
13876         * ToolbarDefaults.C:
13877         * bufferlist.C:
13878         * commandtags.h:
13879         * form1.C:
13880         * form1.h:
13881         * lyx_cb.C:
13882         * lyx_cb.h:
13883         * lyxfunc.h:
13884         * lyxfunc.C:
13885         * BufferView_pimpl.C: use new file dialog in GUII
13886
13887         * lyx_cb.h:
13888         * lyx_cb.C: remove LayoutsCB to Toolbar
13889
13890 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13891
13892         * ShareContainer.h (get): add std:: qualifier
13893
13894 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * ShareContainer.h: define a proper ShareContainer::value_type
13897         type (and use typename to please compaq cxx)
13898
13899 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13900
13901         * lyxparagraph.h: move serveral local vars to
13902         ParameterStruct/ParagraphParameters., use ShareContainer in
13903         FontTable., make vars in FontTable private and add getter and
13904         setter.
13905
13906         * paragraph.C: changes because of the above.
13907
13908         * lyxfont.h: remove copy constructor and copy assignment. (the
13909         default ones is ok), move number inside FontBits. move inlines to
13910         lyxfont.C
13911
13912         * lyxfont.C: add number to initializaton of statics, move several
13913         inlines here. constify several local vars. some whitespace
13914         cleanup. Dont hide outerscope variables.
13915
13916         * Spacing.h: add two new constructors to match the set methods.
13917
13918         * ShareContainer.h: new file, will perhaps be moved to support
13919
13920         * ParameterStruct.h: new file
13921
13922         * ParagraphParameters.h: new file
13923
13924         * ParagraphParameters.C: new file
13925
13926         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13927         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13928
13929         * BufferView_pimpl.C: ParagraphParameter changes.
13930         * buffer.C: Likewise.
13931         * bufferview_funcs.C: Likewise.
13932         * text.C: Likewise.
13933         * text2.C: Likewise.
13934
13935 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * lyxfind.C (LyXReplace): do not redefine default argument in
13938         implementation.
13939         (IsStringInText): ditto
13940         (SearchForward): ditto
13941         (SearchBackward): ditto
13942
13943 2001-03-06  Juergen Vigna  <jug@sad.it>
13944
13945         * lyxfind.C (IsStringInText): put parentes around expressions.
13946
13947 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13948
13949         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13950
13951 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13954
13955         * stl_string_fwd.h: add comment
13956
13957         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13958
13959         * tabular.h:
13960         * tabular.C: remove unused DocBook methods
13961
13962         * intl.C:
13963         * language.C:
13964         * paragraph.C:
13965         * buffer.C:
13966         killed DO_USE_DEFAULT_LANGUAGE
13967
13968 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13969
13970         * lyx_gui.C: do not include language.h.
13971
13972         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13973         arguments in function implementation.
13974
13975 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13976
13977         * BufferView_pimpl.C: add <ctime>
13978
13979 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13980
13981         * BufferView_pimpl.C: add using std::find_if
13982
13983 2001-02-27  José Matos  <jamatos@fep.up.pt>
13984
13985         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13986         by OnlyPath.
13987
13988 2001-02-11  José Matos  <jamatos@fep.up.pt>
13989
13990         * buffer.C (makeDocBookFile): command styles now have a parameter as
13991         "title" by default.
13992
13993 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13994
13995         * layout_forms.[Ch]: removed
13996         * lyx_cb.[Ch]: out character
13997         * lyx_gui.C: out character
13998         * lyx_gui_misc.C: out character
13999         * bufferview_funcs.C: : out character,
14000         added toggleall as parameter in ToggleAndShow
14001
14002 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14003
14004         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14005
14006         * text2.C (SetCurrentFont): Disable number property at boundary.
14007
14008 2001-02-26  Juergen Vigna  <jug@sad.it>
14009
14010         * lyxfunc.C (getStatus): added a string argument override function so
14011         that this is correctly called from LyXFunc::Dispatch if it contains a
14012         do_not_use_argument which is used!
14013         (Dispatch): added check for "custom" export and call appropriate func.
14014
14015 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * lyxrc.C: Add language_command_local, language_use_babel and
14018         language_global_options.
14019
14020         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14021
14022         * buffer.C (makeLaTeXFile): Use language_use_babel and
14023         language_global_options.
14024
14025 2001-02-23  Juergen Vigna  <jug@sad.it>
14026
14027         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14028         which works with LyXText and putted it inside BufferView. Here now we
14029         only call for that part the BufferView::Dispatch() function.
14030
14031         * BufferView.C (Dispatch): added.
14032
14033         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14034         functions which needs to use a LyXText over from LyXFunc.
14035         (MenuInsertLyXFile): added
14036         (getInsetByCode): added
14037         (moveCursorUpdate): added
14038         (static TEXT): added
14039
14040 2001-02-22  Juergen Vigna  <jug@sad.it>
14041
14042         * BufferView_pimpl.C (update): call a status update to see if LyXText
14043         needs it.
14044
14045 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14046
14047         * vc-backend.C (revert): implement for CVS
14048         (getLog): implement for CVS
14049
14050 2001-02-20  Juergen Vigna  <jug@sad.it>
14051
14052         * text2.C (ClearSelection): added BufferView param for inset_owner call
14053
14054         * lyxfunc.C (TEXT): added this function and use it instead of
14055         directly owner->view()-text of getLyXText().
14056
14057 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14058
14059         * src/layout_forms.C: out preamble
14060         * src/layout_forms.h: out preamble
14061         * src/lyx_cb.C: out preamble
14062         * src/lyx_cb.h: out preamble
14063         * src/lyx_gui.C: out preamble
14064         * src/lyx_gui_misc.C: out preamble
14065         * src/lyxfunc.C: connect with guii preamble
14066
14067 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14068
14069         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14070
14071 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14072
14073         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14074         whether to run bibtex.
14075
14076 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14077
14078         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14079
14080 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14081
14082         * Makefile.am (lyx_SOURCES): removed bibforms.h
14083
14084         * vspace.h: doxygen
14085
14086         * text.C (GetVisibleRow): make several local vars const
14087
14088         * tabular.C: small cleanup.
14089
14090         * lyxserver.C (callback): use compare instead of strncmp
14091
14092         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14093         inlines to after class or to paragraph.C
14094
14095         * lyxfont.h: remove friend operator!=
14096
14097         * converter.h: move friend bool operator< to non friend and after
14098         class def.
14099
14100         * combox.h: small cleanup
14101
14102         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14103         to inlines after class def.
14104
14105         * buffer.C (pop_tag): use string operations instead of strcmp
14106
14107         * bmtable.c: doxygen, small cleanup
14108
14109         * LaTeX.h: remove friend operator==
14110
14111 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14112
14113         * screen.C:
14114         * lyxrc.[Ch]:
14115         * lyxfunc.C:
14116         * lyxfont.[Ch]:
14117         * lyx_cb.C:
14118         * intl.[Ch]:
14119         * commandtags.h:
14120         * buffer.C:
14121         * WorkArea.[Ch]:
14122         * LyXAction.C:
14123         * BufferView_pimpl.C:
14124         * BufferView.[Ch]: remove cruft
14125
14126 2001-02-14  Juergen Vigna  <jug@sad.it>
14127
14128         * lyxfunc.C: removed #if 0 unused code
14129
14130         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14131
14132         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14133
14134         * text2.C (SetSelection): added a BufferView * parameter
14135
14136 2001-02-13  Juergen Vigna  <jug@sad.it>
14137
14138         * lyxfunc.C (Dispatch): fixed protected blank problem.
14139         * BufferView2.C (protectedBlank): added LyxText * parameter.
14140
14141         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14142         (AppendColumn): same as above for column_info.
14143
14144         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14145         (moveCursorUpdate): use a LyXText param for support of InsetText.
14146
14147         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14148         (tripleClick): ditto
14149
14150         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14151
14152         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14153
14154         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14155
14156         * text2.C (SetSelection): set correct update status if inset_owner
14157         (ToggleFree): ditto
14158
14159 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14160
14161         * tabular.C: remove some commented code.
14162
14163 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14164
14165         * BufferView_pimpl.C: call hideSplash()
14166
14167         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14168
14169         * include_form.h:
14170         * bibforms.h: remove
14171
14172         * lyxfunc.C:
14173         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14174           add LFUN_CHILD_CREATE
14175
14176         * counters.h: fix tiny typo
14177
14178         * lyx_cb.C:
14179         * lyx.h:
14180         * lyx_gui.C:
14181         * lyx.C: move splash to frontends/xforms/
14182
14183         * lyx_gui_misc.C: move Include and Bibform to frontends
14184
14185         * lyxvc.h: clarify comment
14186
14187         * vspace.C: tiny housekeeping
14188
14189 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14190
14191         * text.C (PrepareToPrint): RTL Fix.
14192
14193         * paragraph.C (GetUChar): New method.
14194         (String):  Use GetUChar.
14195
14196         * buffer.C (asciiParagraph): Use GetUChar.
14197
14198 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14199
14200         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14201
14202 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * buffer.h:
14205         * buffer.C: rename to getLogName(), handle
14206           build log / latex log nicely
14207
14208 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * MenuBackend.C:
14211         * MenuBackend.h: remove support for reference menuitem type.
14212
14213 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * BufferView_pimpl.C: housekeeping
14216         * BufferView_pimpl.h:
14217         * LyXView.h:
14218         * Makefile.am:
14219         * Timeout.C:
14220         * Timeout.h:
14221         * minibuffer.h: move Timeout GUI-I
14222
14223 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * lyxrc.C (read): Update converters data-structures.
14226
14227 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14228
14229         * LaTeX.h (operator!=): add operator != for Aux_Info
14230
14231 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14234
14235         * LaTeXLog.C: deleted, useful code moved to Buffer
14236
14237         * buffer.h:
14238         * buffer.C: new function getLatexLogName()
14239
14240         * lyx_gui_misc.C:
14241         * lyx_gui.C:
14242         * lyxvc.C:
14243         * lyxvc.h:
14244         * lyxfunc.C: use frontends for LaTeX and VC logs
14245
14246 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14247
14248         * LaTeX.h: yet another std:: that Allan forgot.
14249
14250         * Variables.C (set): renamed from isset(), because this clashes
14251         with some HP-UX macros (grr).
14252
14253 2001-02-06  Allan Rae  <rae@lyx.org>
14254
14255         * LaTeX.h: Another bug fix.  Missing std:: this time.
14256
14257 2001-02-04  Allan Rae  <rae@lyx.org>
14258
14259         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14260         floats problem. I've left it commented out because it's not quite
14261         correct.  It should also test that the current object is a table or
14262         figure inset.  But I haven't gotten around to figuring out how to do
14263         that.  I *think* it'll be something like: "table" == inset.type()
14264
14265         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14266         bool.
14267
14268 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14269
14270         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14271         all the citation/databases/styles in the auxilary file.
14272         (run): Rerun latex if there was a babel language error.
14273
14274 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14275
14276         * text.C (Backspace): Preserve the font when changing newline char
14277         with a space.
14278         (BreakParagraph): If the cursor is before a space, delete the space.
14279
14280         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14281
14282 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14285         new argument (code).
14286         (ChangeCitationsIfUnique): New method.
14287
14288         * paragraph.C (GetPositionOfInset): Handle bibkey.
14289
14290 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * BufferView_pimpl.h: change type of Position::par_pos to
14293         LyXParagraph::size_type.
14294
14295 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14296
14297         * BufferView_pimpl.C (savePosition, restorePosition): Write
14298         messages to minibuffer.
14299
14300 2001-01-28  José Matos  <jamatos@fep.up.pt>
14301
14302         * buffer.C (makeDocBookFile): adds support for document language.
14303         A silly restriction on the name of LatexCommand types where removed.
14304         Added support for CDATA sections, allows to chars unescaped, used
14305         among others in code, to avoid escape < and >.
14306
14307 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14308
14309         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14310         saved positions instrad of a stack. Furthermore, a position is
14311         stored using paragraph id/paragraph position.
14312
14313         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14314         Remove LFUN_REF_BACK.
14315
14316 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * converter.C (dvipdfm_options): New method.
14319
14320 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14321
14322         * vspace.C (isValidLength): Fix for empty input string.
14323
14324 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14325
14326         * LyXAction.C (init): change description of LFUN_FIGURE to
14327         "Insert Graphics"
14328
14329 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * LaTeX.C: add using directive
14332
14333 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * MenuBackend.C (expand): Fix the sorting of the formats.
14336
14337 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14338
14339         * lyx_main.C: tiny error message fix
14340
14341 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14344         calling fl_initialize(). This fixes the problem with ',' as
14345         decimal separator in text files.
14346
14347 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14348
14349         * trans.C (process): Fix the keymap bug.
14350
14351 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14352
14353         * LaTeX.C (scanAuxFiles): New method. Provides support for
14354         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14355         (scanLogFile) Scan for "run BibTeX" messages.
14356
14357         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14358         OT1 font encoding. Also, load the aecompl package if the ae
14359         package is loaded.
14360
14361         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14362
14363 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14364
14365         * texrow.C (increasePos): turn two error messages into debug
14366         messages.
14367
14368 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14369
14370         * LaTeX.C (scanAux): Handle the \@input macro.
14371         (runBibTeX): Use scanAux().
14372
14373         * language.C (latex_options_): New field.
14374
14375         * LaTeXFeatures.C (getMacros): Add language macros.
14376
14377         * buffer.C (makeLaTeXFile): Small fix.
14378
14379 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14382
14383         * text2.C: add a using directive.
14384
14385 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * BufferView2.C:
14388         * lyx_gui_misc.h:
14389         * lyxfr1.C:
14390         * lyxfunc.C: kill LyXBell.
14391
14392 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * text.C (IsBoundary): Remove the error message
14395
14396         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14397
14398         * lyxrc.C (setDefaults): Correct initialization value for
14399         font_norm_type.
14400
14401 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14402
14403         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14404         gotoError().
14405
14406         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14407         and GotoNextNote().
14408
14409         * src/LyXAction.C: Added reference-next.
14410
14411         * text.C (InsertChar): Use contains instead of strchr.
14412
14413         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14414
14415 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14416
14417         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14418         alignment commands (when needed).
14419
14420         * text.C (InsertChar): Add ':' to number separator chars.