]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix layouts in gbrief2 example
[lyx.git] / src / ChangeLog
1
2 2004-01-15  André Pönitz  <poenitz@gmx.net>
3
4         * cursor_slice.[Ch]: add a few covienience functions
5
6         * funcrequest.[Ch]: remove BufferView * member
7
8         * BufferView_pimpl.C:
9         * cursor.C:
10         * factory.[Ch]:
11         * lyxfind.[Ch]:
12         * lyxfunc.C:
13         * lyxtext.h:
14         * text3.C:
15         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
16
17 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
20         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
21
22 2004-01-13  André Pönitz  <poenitz@gmx.net>
23
24         * textcursor.[Ch]:
25         * lyxtext.h: hide cursor and selection anchor behind accessor function
26
27         * BufferView.C:
28         * BufferView_pimpl.[Ch]:
29         * PosIterator.C:
30         * bufferview_funcs.C:
31         * cursor.h:
32         * lyxfind.C:
33         * lyxfunc.C:
34         * text.C:
35         * text2.C:
36         * text3.C:
37         * undo.C: adjust
38
39         * cursor.h:
40         * cursor_slice.[Ch]: some integer type changes for inset unification
41
42         * lyxcursor.[hC]: remove, it's CursorSlice now.
43
44         * Makefile.am: 
45         * BufferView_pimpl.[Ch]:
46         * bufferview_funcs.C:
47         * cursor_slice.C:
48         * lyxtext.h:
49         * text.C:
50         * text2.C:
51         * text3.C:
52         * textcursor.[Ch]: adjust
53
54 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * text2.C (undoSpan): add and use
57         * text.C (breakParagraph): use undoSpan (fix bug 578)
58         * lyxtext.h: adjust
59
60 2004-01-08  Angus Leeming  <leeming@lyx.org>
61
62         * BufferView_pimpl.C (MenuInsertLyXFile):
63         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
64         * lyxfunc.C (menuNew, open, doImport): 
65         FileFilterList change to the FileDialog open and save functions.
66
67 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
68
69         * ShareContainer.h: make isEqual and isUnique adaptable
70
71         * CutAndPaste.C: make resetOwnerAndChanges adaptable
72
73 2004-01-07  Angus Leeming  <leeming@lyx.org>
74
75         * LyXAction.C:
76         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
77
78         * BufferView_pimpl.C (dispatch): act on these LFUNs.
79
80         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
81         functions replacing find, replace and replaceAll.
82
83         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
84         LFUN_WORDFIND(FORWARD|BACKWARD).
85
86 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * text.C (breakParagraph): remove an outdated #warning
89
90 2004-01-07  André Pönitz  <poenitz@gmx.net>
91
92         * lyxfind.C: somewhat clearer logic
93
94         * text.C: prevent crash in cursorX on unitialized row cache
95
96 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
97
98         * lyxcursor.[Ch] (operator>): add
99         * textcursor.C (selStart, selEnd): use std::min and std::max
100
101 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * Chktex.C: include boost/format.hpp
104
105 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
106
107         * InsetList.C: replace functor MathcIt with adaptable functor
108         InsetTablePosLess
109         (insetIterator): modify accordingly
110
111         * BranchList.h: move the BranchNamesEqual functor here from...
112         * BranchList.C: ... to here
113
114         * BranchList.C: new BranchListEqual fuctor, use it. Remove
115         SameName and match.
116         (add): replace a finding loop with std::find_if.
117
118 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
119
120         * output_docbook.C: moving LatexParam functionality into
121         .layout files
122
123 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
124
125         * buffer.C: increment format to 229.
126
127 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
128
129         * LaTeXFeatures.C:
130         * lyx_sty.[Ch]: remove minipageindent_def
131
132         * LyXAction.C:
133         * factory.C:
134         * lfuns.h:
135         * lyxfunc.C:
136         * text3.C: remove LFUN_INSET_MINIPAGE
137
138 2003-12-28  Angus Leeming  <leeming@lyx.org>
139
140         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
141
142 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * text2.C (setParagraph): fix off-by-one crash
145
146 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
147
148         * output_docbook.C: header stuff for AGU
149
150 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * text2.C (redoCursor): remove
153         * text.C:
154         * text3.C:
155         * BufferView_pimpl.C: remove calls to redoCursor and
156         setCursor(cursor.par(), cursor.pos()) all around
157
158 2003-12-15  Angus Leeming  <leeming@lyx.org>
159
160         * buffer.C: up the format to 228.
161
162 2003-12-15  André Pönitz  <poenitz@gmx.net>
163
164         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
165         slices
166
167         * Makefile.am:
168
169         * BufferView_pimpl.C:
170         * cursor.[Ch]:
171         * lyxcursor.[Ch]:
172         * rowpainter.[Ch]:
173         * lyxtext.h:
174         * text.C:
175         * text2.C:
176         * text3.C: adjust
177
178 2003-12-15  Angus Leeming  <leeming@lyx.org>
179
180         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
181         than getFromGUIName to manipulate the color.
182
183 2003-12-14  Angus Leeming  <leeming@lyx.org>
184
185         * BranchList.[Ch]: minimize the API.
186         (Branch::getBranch, getColor): now return a 'const &'.
187         (Branch::setSelected) now returns a bool set to true if the
188         selection status changes.
189         (BranchList::clear, size, getColor, setColor, setSelected,
190         allBranches, allSelected, separator): removed.
191         (BranchList::find): new functions, returning the Branch with
192         the given name.
193         (BranchList::add, remove): return a bool indicating that
194         the operation was successful.
195
196         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
197         new InsetBranch::isBranchSlected member function.
198
199         * LColor.[Ch]: mimimize the API.
200         (fill): renamed as addColor and made private.
201         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
202         versions of these functions taking a string arg have been removed.
203
204         * bufferparams.C (readToken):
205         * lyxfunc.C (dispatch):
206         * lyxrc.C (read): changes due to the altered BranchList and
207         LColor APIs.
208
209         * factory.C (createInset, readInset): changes due to altered
210         InsetBranch c-tor.
211
212 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
213
214         * factory.C:
215         * lyxfunc.C: remove insetminipage. "minipage-insert"
216         now produces a frameless minipage box inset.
217
218 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * textcursor.[Ch] (selStart,selEnd): add new methods
221         remove selection::start, end, use LyXCursor::operator<
222         * lyxcursor.[Ch] (operator<): add
223         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
224         * BufferView.[Ch] (unsetXSel): add
225         * text2.C (clearSelection): use unsetXSel,adjust
226         * text.C: adjust
227         * text3.C: adjust
228         * rowpainter.C: adjust
229         * bufferview_funcs.C (put_selection_at): adjust
230
231 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * BufferView_pimpl.C: small coord. correction
234
235 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
238         dragging over the splash screen.
239
240 2003-12-11  Angus Leeming  <leeming@lyx.org>
241
242         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
243         as it is now handled in LyXText::dispatch.
244
245         * text3.C (doInsertInset): remove a level of nesting.
246
247 2003-12-11  Angus Leeming  <leeming@lyx.org>
248
249         * factory.C (createInset): changes due to the changed interface to
250         InsetCommandMailer::string2params.
251
252 2003-12-10  Angus Leeming  <leeming@lyx.org>
253
254         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
255         'dialog-show-new-inset <inset name>'
256
257 2003-12-10  Angus Leeming  <leeming@lyx.org>
258
259         * buffer.C: up the format to 227.
260
261         * factory.C: the box inset is now identified simply by 'Box'.
262
263 2003-12-10  Angus Leeming  <leeming@lyx.org>
264
265         * buffer.C: up the format to 226.
266
267         * factory.C: the note inset is now identified simply by 'Note'.
268
269 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
270
271         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
272         when a pit is enough. Standarize a couple of loops.
273
274 2003-12-05  Angus Leeming  <leeming@lyx.org>
275
276         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
277         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
278         data to the re-worked "log" dialog.
279
280 2003-12-03  André Pönitz  <poenitz@gmx.net>
281
282         * PosIterator.C:
283         * iterators.C:
284         * lyxtext.h:
285         * output_latex.C:
286         * paragraph_funcs.C:
287         * text.C:
288         * text2.C: use Inset::getText instead of Inset::getParagraph
289
290 2003-12-03  André Pönitz  <poenitz@gmx.net>
291
292         * buffer.[Ch]:
293         * lyxtext.h:
294         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
295         InsetText::read() as LyXText::read()
296
297 2003-12-02  Angus Leeming  <leeming@lyx.org>
298
299         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
300         type. Add a comment in the implementation that the function uses
301         the stream's bad() function rather than fail() as the std::streams
302         would do.
303
304 2003-12-02  André Pönitz  <poenitz@gmx.net>
305
306         * lyxlex.[Ch]: make interface more similar to std::stream
307
308         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
309
310 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
311
312         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
313
314 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
315
316         * vspace.[Ch]: remove VSpace::NONE
317
318 2003-12-01  André Pönitz  <poenitz@gmx.net>
319
320         * buffer.[Ch]:
321         * lyxtext.h: move ParagraphList member to LyXText
322         rename LyXText::ownerParagraphs to LyXText::paragraph
323
324         * CutAndPaste.C:
325         * bufferview_funcs.C:
326         * iterators.[Ch]:
327         * lyx_cb.C:
328         * paragraph.C:
329         * rowpainter.C:
330         * tabular.C:
331         * text.C:
332         * text2.C:
333         * text3.C: adjust
334
335         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
336
337         * undo.C: fix cursor positioning
338
339 2003-12-01  John Levon  <levon@movementarian.org>
340
341         * BufferView_pimpl.C: fix a crash on exit with
342         a buffer open
343
344 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * BranchList.C: fix setSelected() method.
347
348 2003-11-28  André Pönitz  <poenitz@gmx.net>
349
350         * ParagraphParameters.[Ch]:
351         * ParameterStruct.h: remove space above/below from Paragraph to
352          InsetVSpace
353
354         * BufferView_pimpl.C:
355         * factory.C:
356         * lyxfunc.C:
357         * lyxtext.h:
358         * output_latex.C:
359         * paragraph.C:
360         * paragraph_funcs.C:
361         * rowpainter.[Ch]:
362         * text.C:
363         * text2.C:
364         * text3.C: adjust
365
366 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
367
368         * factory.C: Syntax change for CharStyles
369
370 2003-11-28  André Pönitz  <poenitz@gmx.net>
371
372         * BufferView.[Ch]:
373         * BufferView.[Ch]:
374         * buffer.[Ch]:
375         * buffer.[Ch]: move LyXText member
376
377 2003-11-28  André Pönitz  <poenitz@gmx.net>
378
379         * BufferView.[Ch]: make LyXText * text a private member
380
381         * BufferView_pimpl.C:
382         * cursor.C:
383         * iterators.C:
384         * lyx_cb.C:
385         * lyxfind.C:
386         * lyxtext.h:
387         * rowpainter.[Ch]:
388         * text.C:
389         * text2.C:
390         * undo.C: adjust
391
392         * output_plaintext.C: cleanup
393
394 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
395
396         * buffer.C:
397         * lyxtextclass.[Ch]: parametrize SGML document header
398
399 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * converter.[Ch]:
402         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
403         getFlavor().
404
405 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * text2.C (setFont): rework using PosIterator (no more recursive)
408         (setCharFont): no more needed
409         (setLayout): no more selection cursors fiddling (done by redoCursor)
410         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
411         destroy remaining ones)
412
413 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
416         * lyxtext.h: ditto
417         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
418         selection cursors
419         * lyxfunc.C: adjust
420         * text3.C: adjust + re-allow multi par depth changes
421         * textcursor.C: simplify a bit
422
423 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * src/buffer.C:
426         * src/lyxlayout.C:
427         * src/lyxlayout.h:
428         * src/lyxtext.h:
429         * src/output_docbook.C:
430         * src/output_latex.C:
431         * src/paragraph.C:
432         * src/paragraph.h:
433         * src/sgml.C:
434         * src/sgml.h:
435         * src/text2.C: Introducing a number of tags parametrizing various
436         XML formats that we may want to support
437
438 2003-11-25  André Pönitz  <poenitz@gmx.net>
439
440         * InsetList.[Ch] (begein, end): inline as suggested by profiler
441
442         * lyxtext.h (leftMargin/rightMargin): simplify interface
443
444         * rowpainter.C:
445         * text.C:
446         * text2.C:
447         * text3.C: adjust
448
449 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450
451         * lyxfunc.C (dispatch): propogate the bibtex databases from the
452         master file to any child files. Fixes bug 546.
453
454 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
457
458 2003-11-24  André Pönitz  <poenitz@gmx.net>
459
460         * rowpainter.C: simplification
461
462         * text2.C (updateCounters): remove call to redoParagraph on
463         changed labels as this is far too expensive.
464
465 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * converter.C (convert): fix a crash: this function gets
468         called with buffer == 0 from importer code.
469
470 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
471
472         * text3.C (cursorPrevious): make sure that we do not compare
473         iterators form different containers.
474         (cursorNext): ditto
475
476         * rowpainter.C (paintSelection): make sure that we do not compare
477         iterators from different containers.
478
479         * text3.C (dispatch): [PRIOR] make sure that we do not compare
480         iterators from different ParagraphList containers.
481         [NEXT] ditto
482
483         * text2.C (LyXText): change order of initialization slightly
484         (operator=): new function. copy all variables except cache_par_
485         (moveUp): make sure that we do not compare iterators from
486         different ParagraphList constainers.
487         (moveDown): ditto
488
489         * text.C (firstPar): new function
490         (lastPar): new function
491         (endPar): new function
492
493         * lyxtext.h: move things around and group public functions, public
494         variables, private functions, private variables
495
496 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
497
498         * factory.C: change call to InsetERT constructor to avoid
499         additional invocation of method status
500         * text2.C (toggleInset): remove redundant update() call
501         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
502         instead of a Bufferview pointer
503
504 2003-11-21  André Pönitz  <poenitz@gmx.net>
505
506         * rowpainter.C: simplification
507
508 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
509
510         * text3.C (dispatch): make possible to extend a word/row selection
511         with the mouse
512
513 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * lyxtext.h: x0_,y0_ -> xo_,yo_
516         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
517         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
518         * rowpainter.C (paintRows): paint full paragraphs
519
520 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
521
522         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
523         screen coordinates)
524
525 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
526
527         * lyxtext.h: add x0_, y0_
528         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
529         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
530
531 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
532
533         * text2.C (setCursorIntern): move the x_target update here *
534         * text3.C: change some bv() to true/false in calls to
535         cursorUp/Down/Right/Left
536         * cursor.C: use helper function.
537
538 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
541         * paragraph_funcs.[Ch]: correct comment
542         * rowpainter.C: do not paint selections away from bv->cursor()
543         Fix a long standing selection painting bug.
544         * text3.C: generalize mouse-selection code to LyXTexts other that
545         top one
546         * textcursor.C: do not use y coords if we can use par offsets
547
548 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
551         cursor position after e.g. inset insert)
552
553 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * lyxfind.C (replace): adjust to locking removal + some
556         code simplification
557
558 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
561         of the path
562
563 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * lyxlayout.[Ch]:
566         * output_docbook.C: XML sanitation: new layout
567         parameters InnerTag and CommandDepth
568
569 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * BufferView_pimpl.C:
572         * factory.C:
573         * text3.C: Fix the insertion and modification of button-style
574         insets
575
576 2003-11-13  André Pönitz  <poenitz@gmx.net>
577
578         * InsetList.[Ch]: remove deleteLyXText
579
580         * paragraph.[Ch]: cache beginOfBody position
581
582         * Bidi.C:
583         * text.C:
584         * text2.C:
585         * text3.C: remove superfluous update() calls
586
587         * vspace.C: cleanup
588
589 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
590
591         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
592         * BufferView.C (fitLockedInsetCursor): remove
593         * cursor.[Ch] (getDim): add
594         * text.C (getRowNearY): add faster version
595         * text3.C: remove some update calls
596
597 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
598
599         * LaTeXFeatures.C:
600         * LyXAction.C:
601         * MenuBackend.C:
602         * MenuBackend.h:
603         * dispatchresult.h:
604         * factory.C:
605         * lfuns.h:
606         * lyxfunc.C:
607         * lyxtextclass.C:
608         * lyxtextclass.h:
609         * text3.C: The Character Style /XML short element patch.
610
611 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
612
613         * text3.C:
614         * factory.C: Small step to solving 'unable to insert some insets'
615         problem
616
617 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
618
619         * cursor.[Ch] (updatePos): new function for updating the y
620         position of the tip inset
621         * bufferview_funcs.C (put_selection_at):
622         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
623
624 2003-11-11  André Pönitz  <poenitz@gmx.net>
625
626         * text.C: remove big comment on invalid Paragraph pointers as it is
627         not valid anymore
628
629 2003-11-11  André Pönitz  <poenitz@gmx.net>
630
631         * text_funcs.[Ch]: merge with ...
632
633         * text.C: ... this
634
635         * lyxtext.h:
636         * text2.C:
637         * text3.C: adjust
638
639         * Makefile.am: remove text_funcs.[Ch]
640
641 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
642
643         * cursor.C (getPos): return absolute cached y coord
644
645         * BufferView_pimpl.C (fitCursor): new simplistic code
646         (workAreaDispatch): add a fitCursor call
647
648 2003-11-10  André Pönitz  <poenitz@gmx.net>
649
650         * BufferView.[Ch]:
651         * BufferView_pimpl.[Ch]: merge update() and updateInset()
652
653 2003-11-10  André Pönitz  <poenitz@gmx.net>
654
655         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
656         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
657         indicate that the cursor needs to leave an inset
658
659         * lyxtext.h: remove inset locking
660
661         * cursor.[Ch]: re-implement functionality provided by inset locking
662
663         * BufferView.[Ch]:
664         * BufferView_pimpl.[Ch]:
665         * LyXAction.C:
666         * bufferview_funcs.[Ch]:
667         * factory.C:
668         * funcrequest.[Ch]:
669         * iterators.C:
670         * lyx_cb.C:
671         * lyxfind.C:
672         * lyxfunc.C:
673         * text.C:
674         * text2.C:
675         * text3.C:
676         * undo.C: adjust
677
678 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
679
680         * PosIterator.[Ch]: replace the stack with a vector, add inset
681         accesor
682         * iterators.[C]: adjust
683
684 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
685
686         * lyxfind.C (replaceAll): mark the buffer dirty if something was
687         replaced
688         * paragraph_funcs.C (readParToken): put the correct id in the
689         error item, not the id of the top paragraph
690
691 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
692
693         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
694         * bufferview_funcs.C (put_selection_at): use the above
695
696 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
697
698         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
699
700 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * output_linuxdoc.h:
703         * output_plaintext.h:
704         * output.h:
705         * output_docbook.h: add #include statements
706
707 2003-11-05  José Matos  <jamatos@lyx.org>
708
709         * output_docbook.[Ch]:
710         * output_latex.[Ch]:
711         * output_linuxdoc.[Ch]:
712         * output_plaintext.[Ch]: New files for output formats.
713         * output.[Ch]: New file for helper functions.
714
715         * buffer.[Ch]:
716         * paragraph_funcs.[Ch]: output functions moved to new files.
717
718         * outputparams.h: rename of latexrunparams.h
719
720         * LaTeX.[Ch]:
721         * buffer.[Ch]:
722         * bufferlist.[Ch]:
723         * converter.[Ch]:
724         * exporter.C:
725         * paragraph.[Ch]:
726         * paragraph_funcs.[Ch]:
727         * paragraph_pimpl.[Ch]:
728         * tabular.[Ch]: rename ascii to plaintext
729         and LatexRunParams to OutputParams.
730
731 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
732
733         * iterators.[Ch] (text): require bv argument
734         * undo.C (recordUndo):
735         * lyxfunc.C (dispatch):
736         * bufferview_funcs.C (put_selection_at): adjust
737
738 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
739
740         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
741
742 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
743
744         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
745         nestings
746
747 2003-11-04  André Pönitz  <poenitz@gmx.net>
748
749         * cursor.[Ch]: restructure
750
751         * BufferView.[Ch]:
752         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
753
754         * iterators.[Ch] (asCursor): remove
755
756         * lfuns.h: remove LFUN_INSET_EDIT
757
758         * lyxfunc.C:
759         * tabular.C:
760         * text.C:
761         * text2.C:
762         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
763
764 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
765
766         * lyxfind.[Ch]: complete overhaul
767         * BufferView_pimpl.C:
768         * lyxfunc.C: adjust
769         * paragraph.[Ch] (insert): add
770
771 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
772
773         * BufferView.[Ch]:
774         * lyxtext.h:
775         * text.C: remove dead spellcheck code
776
777 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
778
779         * dispatchresult.h: add a val setter
780
781         * cursor.C (dispatch): use a tempvar for data_[i]
782
783 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
784
785         * PosIterator.[Ch]: compile fix
786
787 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
788
789         * text.C (cursorPar): deactivate the cursor cache
790
791 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
792
793         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
794
795 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
796
797         * text3.C (dispatch): adjust for new DisptchResult semantics.
798
799         * lyxfunc.C (dispatch): handle update when return from
800         Cursor::dispatch, adjust for new DispatchResult semantics.
801
802         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
803         DispatchResult(true) mean to not update. Add class functions for
804         setting dispatched and update, as well as reading.
805
806         * cursor.C (dispatch): don't handle update here
807
808 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
811         * trans_mgr.C: adjust
812
813         * paragraph_funcs.C (readParToken): exception safety
814
815         * lyxvc.h: store the vcs pointer in a scoped_ptr
816         * lyxvc.C: adjust
817
818         * lyxsocket.C (serverCallback): exception safety
819
820         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
821
822         * ispell.C (clone): make it return a auto_ptr
823
824         * factory.C (createInset): exception safety
825         (readInset): exception safety
826
827         * bufferlist.C (newBuffer): exception safety
828
829         * Thesaurus.C (Thesaurus): use initialization for aik_
830
831         * MenuBackend.C (expandToc): exception safety.
832
833 2003-11-03  André Pönitz  <poenitz@gmx.net>
834
835         * buffer.C:
836         * buffer.h:
837         * bufferview_funcs.C: remove getInsetFromId()
838
839         * lyxcursor.[Ch]:
840         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
841
842         * lyxfunc.C:
843         * text2.C:
844         * text3.C: adjust
845
846 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
847
848         * PosIterator.C (distance, advance): new
849         * bufferview_funcs.[Ch] (put_selection_at): new
850         * iterators.[Ch] (lockPath): new
851
852 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
853
854         * iterators.[Ch] (asPosIterator): added
855         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
856         * PosIterator.[Ch]: added
857
858 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
859
860         * text3.C:
861         * lyxfunc.C:
862         * cursor.C (dispatch):
863         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
864
865         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
866         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
867         contructor, add a class function dispatched. Remove operator>=
868
869 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * debug.C: only use the default constructor for debugstream
872         (lyxerr) here.
873
874         * main.C (main): include debug.h and setup the lyxerr streambuf
875         here.
876
877 2003-10-31  José Matos  <jamatos@lyx.org>
878
879         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
880
881         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
882         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
883         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
884         * paragraph_pimpl.C (simpleTeXSpecialC):
885         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
886         add LatexRunParams argument.
887
888         * exporter.C (Export): change call accordingly.
889
890         * latexrunparams.h: add new member to take care of the other backends.
891 2003-10-30  José Matos  <jamatos@lyx.org>
892
893         * buffer.C (makeLinuxDocFile, makeDocBookFile):
894         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
895         factorise code for paragraph output.
896         * buffer.[Ch]:
897         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
898         move functions.
899
900 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * text3.C (dispatch):
903         * lyxfunc.C (dispatch):
904         * cursor.C (dispatch):
905         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
906
907         * dispatchresult.h: make the dispatch_result_t ctor explicit
908
909 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * sgml.[Ch]:
912         * buffer.C: small refactoring of docbook stuff
913
914 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
917         meaning.
918
919 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
922         operator dispatch_result_t, and operators for == != and >=
923
924         * cursor.C (dispatch): adjust for operator dispatch_result_t
925         removal. comment out call to update
926
927         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
928
929 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
930
931         * text3.C:
932         * text2.C:
933         * text.C:
934         * lyxtext.h:
935         * lyxfunc.C:
936         * cursor.C:
937         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
938         (dispatch):
939
940         * dispatchresult.h: new file, DispatchResult broken out of
941         insets/insetbase.h
942
943         * Makefile.am (lyx_SOURCES): add dispatchresult.h
944
945 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
946
947         * text.C (rowBreakPoint): put a hack inside #if 0
948
949 2003-10-28  André Pönitz  <poenitz@gmx.net>
950
951         * lyxtext.h:
952         * metricsinfo.C:
953         * paragraph_funcs.C:
954         * rowpainter.C:
955         * text.C:
956         * text2.C: general cleanup (lots of small stuff)
957
958 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
959
960         * text2.C (cursorEnd): simple fix to the "end key goes to one
961         before the end on last row" bug
962
963 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
964
965         * text.C (backspace): fix the "zombie characters"
966
967 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
968
969         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
970
971 2003-10-27  André Pönitz  <poenitz@gmx.net>
972
973         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
974
975         * factory.C: handle new InsetPagebreak, InsetLine
976
977         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
978         and move handling into new InsetPagebreak, InsetLine
979
980         * BufferView_pimpl.C:
981         * LyXAction.C:
982         * ParagraphParameters.C:
983         * ParameterStruct.h:
984         * lyxfunc.C:
985         * lyxtext.h:
986         * paragraph.C:
987         * paragraph.h:
988         * paragraph_funcs.C:
989         * paragraph_pimpl.C:
990         * rowpainter.C:
991         * text.C:
992         * text2.C:
993         * text3.C: adjust
994
995 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
996
997         * text.C:
998         * lyxrow_funcs.[Ch]:
999         * Bidi.C:
1000         * paragraph.C:
1001         * lyxtext.h:
1002         * rowpainter.C:
1003         * text2.C:
1004         * text3.C: remove lastPos uses in favour of Row::endpos
1005
1006 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1007
1008         * undo.C (performUndoOrRedo): fix two crashes by setting a
1009         cursor by hand and reordering some calls. Use bv->lockInset instead
1010         of inset->edit because the latter loses cursor information
1011
1012 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1013
1014         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1015         by Martin
1016         (rowBreakPoint): fix width. change point to point + 1.
1017         Add a missing check.
1018
1019 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * MenuBackend.C:
1022         * lyxfunc.C: fix (at least partly) the problems
1023         with the Nav menu and headers inside branch insets
1024         reported by Kayvan
1025
1026 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1027
1028         * paragraph.C (getChar): add strong asserts
1029
1030         * lyxrow_funcs.C (lastPos): remove hideous hack
1031
1032         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1033         (fill): adjust to that (avoid an infinite loop)
1034
1035 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1038
1039 2003-10-23  André Pönitz  <poenitz@gmx.net>
1040
1041         * RowList_fwd.h: change list<> to vector<> to gain speed
1042         after suggestion from Alfredo
1043
1044 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1045
1046         * lyxtext.h: move the bidi stuff from here...
1047         * text.C: and here
1048         * text2.C: and here
1049         * Bidi.[Ch]: ... to here
1050
1051 2003-10-23  André Pönitz  <poenitz@gmx.net>
1052
1053         * lyxtext.h:
1054         * text.C (isLastRow, isFirstRow): new functions
1055
1056         * paragraph.h: new width cache member
1057
1058         * rowpainter.C: replace RowList::iterator with Row & where possible
1059
1060         * lyxfunc.C: replace several view()->text with a single call
1061
1062         * toc.C: fix 'unused' warning
1063
1064 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1065
1066         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1067         when woring with stream::pos_type
1068         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1069
1070 2003-10-22  André Pönitz  <poenitz@gmx.net>
1071
1072         * lyxtext.h:
1073         * text.C: use Row & instead of RowList::iterator
1074
1075         * lyxrow.h: rename end() to endpos()
1076
1077         * rowpainter.C:
1078         * text.C:
1079         * text2.C: adjust
1080
1081 2003-10-22  Angus Leeming  <leeming@lyx.org>
1082
1083         * buffer.[Ch] (fully_loaded): new member function, returning true
1084         only when the file has been loaded fully.
1085         Used to prevent the premature generation of previews and by the
1086         citation inset to prevent computation of the natbib-style label.
1087
1088         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1089         templates are all set up.
1090
1091         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1092
1093 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1094
1095         * text.C: fixed an "oops" in the "is a bit silly"
1096         bug fix
1097
1098 2003-10-21  André Pönitz  <poenitz@gmx.net>
1099
1100         * FuncStatus.[Ch]: small stuff, whitespace
1101
1102         * lyxfont.[Ch]: operator<<() for debug reasons
1103
1104         * lyxfunc.C:
1105         * lyxrow_funcs.C:
1106         * lyxtext.h: whitespace, spelling
1107
1108         * paragraph.C: naming of variables
1109
1110         * text.C:
1111         * text2.C: small stuff
1112
1113
1114 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * text.C: (1) finish off the inset display() work;
1117         (2) fix the "is a bit silly" bug (accessing char
1118         past end of par).
1119
1120 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1121
1122         * text.C: re-introduce display() for insets, fixing the
1123         various bugs (stretch of line above, math inset
1124         positioning, ...)
1125
1126 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * text.C (rightMargin): remove spurious semicolon
1129
1130         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1131         1415)
1132
1133 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * text3.C: fix one crash due to wrong cursor def
1136
1137 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1138
1139         * vc-backend.C (scanMaster): make the regex static
1140
1141         * LaTeX.C (scanAuxFile): make the regexs static
1142
1143         * text3.C (doInsertInset, dispatch, dispatch):
1144         * text2.C (cursorUp, cursorDown):
1145         * text.C (selectNextWordToSpellcheck):
1146         * BufferView_pimpl.C (dispatch):
1147         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1148
1149 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * lyxsocket.C: include <cerrno>
1152
1153 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * lyxfunc.C (dispatch): remove textcache stuff
1156
1157         * bufferlist.C (release): remove textcache stuff
1158         (closeAll): ditto
1159
1160         * TextCache.C: delete file
1161         * TextCache.h: delete file
1162
1163         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1164
1165         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1166         delete of the bv_->text.
1167         (resizeCurrentBuffer): remove texcache stuff
1168         (workAreaResize): ditto
1169
1170 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1173         action.
1174
1175 2003-10-16  André Pönitz  <poenitz@gmx.net>
1176
1177         * lyxrow.[Ch]:
1178         * paragraph.h:
1179         * rowpainter.C:
1180         * text.C:
1181         * text2.C:
1182         * text3.C: speed up by storing y positions per paragraph plus per-row
1183         offset instead of having a 'full' y position in the row.
1184
1185 2003-10-15  André Pönitz  <poenitz@gmx.net>
1186
1187         * iterators.[Ch]:
1188         * iterators.[Ch]:
1189         * undo.[Ch]: make undo aware of inner insets
1190
1191 2003-10-14  Angus Leeming  <leeming@lyx.org>
1192
1193         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1194         static member functions LyX::ref() and LyX::cref.
1195         (lastfiles): new accessor functions for the new lastfiles_ member var.
1196         (addLyXView, views_): add a new LyXView to the list of views_.
1197         (updateInset): loop over all LyXViews to call their own updateInset
1198         member function, returning a pointer to the Buffer owning the inset.
1199
1200         * BufferView_pimpl.C (loadLyXFile):
1201         * MenuBackend.C (expandLastfiles):
1202         * bufferlist.C (MenuWrite, QuitLyX):
1203         lastfiles is no longer a global variable.
1204         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1205
1206         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1207         static function. Access through LyX::cref().emergencyCleanup().
1208
1209 2003-10-14  André Pönitz  <poenitz@gmx.net>
1210
1211         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1212
1213         * undo.[Ch]: restoring part of 'undo in insets'
1214
1215         * Makefile.am:
1216         * undo_funcs.[Ch]: merge with undo.[Ch]
1217
1218         * tabular.C: small cleansing stuff
1219
1220 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1221
1222         * paragraph_funcs.C (readParToken): report unknown insets as error
1223         boxes. Use the outer paragraph as location (also for unknown
1224         tokens).
1225
1226         * factory.C (readInset): do not abort on reading an unknown inset.
1227         Eat it and return 0.
1228
1229 2003-10-13  Angus Leeming  <leeming@lyx.org>
1230
1231         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1232
1233         * lyxrc.C: displayTranslator is now a function,
1234         declared in GraphicsTypes.h.
1235
1236 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1237
1238         * format.C: new placeholder $$a to pass the socket address.
1239
1240         * bufferlist.[Ch]: new function getBufferFromTmp.
1241
1242         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1243           files in the temporary dir.
1244
1245 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1246
1247         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1248
1249         * Makefile.am: add lyxsocket.[Ch].
1250
1251         * lyx_main.C (error_handler): handle SIGPIPE.
1252
1253 2003-10-13  André Pönitz  <poenitz@gmx.net>
1254
1255         * BufferView_pimpl.C:
1256         * lyxtext.h:
1257         * text.C:
1258         * text2.C:
1259         * text3.C:
1260         * undo_funcs.[Ch]: use paroffset_type instead of
1261           ParagraphList::iterators to prevent multiple conversion
1262           (and get a more robust interface)
1263
1264 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1265
1266         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1267         * lyxtext.h: ditto
1268         * text3.C (dispatch): ditto
1269
1270 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1271
1272         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1273         move the onlyfile, use onlyfile instead of foundfile in a couple
1274         of places.
1275
1276         * DepTable.C (update): flush the error stream a bit more
1277
1278 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * lyxserver.C (callback): adjust
1281
1282         * lyxfunc.C (getStatus): add a missing brace in commented code
1283         (ensureBufferClean): reindent
1284         (dispatch): delete version taking a string
1285
1286 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1287
1288         * LaTeX.C (deplog): move found file handlig from here...
1289         (handleFoundFile): .. to new function here.
1290         (deplog): make sure to discover several files mentioned on the
1291         same log line.
1292
1293 2003-10-10  André Pönitz  <poenitz@gmx.net>
1294
1295         * lyxfunc.C:
1296         * lyxtext.h:
1297         * tabular.C:
1298         * text.C:
1299         * text2.C:
1300         * text3.C: fix some of the tabular crashes
1301
1302 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1303
1304         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1305
1306         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1307
1308 2003-10-09  André Pönitz  <poenitz@gmx.net>
1309
1310         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1311
1312         * BufferView.C:
1313         * BufferView_pimpl.C:
1314         * bufferview_funcs.C:
1315         * lyx_cb.C:
1316         * lyxcursor.C:
1317         * lyxfind.C:
1318         * lyxfunc.C:
1319         * lyxtext.h:
1320         * text.C:
1321         * text2.C:
1322         * text3.C:
1323         * text_funcs.[Ch]:
1324         * textcursor.[Ch]:
1325         * undo_funcs.C: adjust
1326
1327 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1328
1329         * text2.C (incrementItemDepth): new function, use a backtracking
1330         algorithm to discover the correct item depth.
1331         (resetEnumCounterIfNeeded): new function, use a backtracking
1332         algorithm to discover if counter reset is needed.
1333         (setCounter): use them. Simplify a bit. Add different labels for
1334         different item depths for itemize.
1335
1336         * paragraph.C (Paragraph): remove initialization of enumdepth
1337         (operator=): ditto
1338
1339         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1340         enumerate and itemize. Change the type of itemdepth to signed char.
1341
1342 2003-10-08  André Pönitz  <poenitz@gmx.net>
1343
1344         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1345           thing assignable.
1346         * text.C:
1347         * text2.C: adjust
1348
1349         * tabular.[Ch]: fix crash after 'row-insert'
1350
1351 2003-10-08  Angus Leeming  <leeming@lyx.org>
1352
1353         Fix doxygen warnings.
1354
1355         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1356         Remove CutAndPaste:: prefix from header file declaration.
1357
1358         * LColor.h (fill): remove LColor:: prefix from declaration.
1359
1360         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1361         use lyx::depth_type rather than Paragraph::depth_type so that
1362         header file and .C file match.
1363
1364         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1365
1366         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1367         * aspell.C: \file aspell_local.C -> \file aspell.C
1368         * gettext.C: \file gettext.C -> \file src/gettext.C
1369         * gettext.h: \file gettext.h -> \file src/gettext.h
1370         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1371         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1372         * text.C: \file text.C -> \file src/text.C
1373
1374         * toc.C: move comment so that doxygen is not confused.
1375
1376 2003-10-07  Angus Leeming  <leeming@lyx.org>
1377
1378         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1379
1380 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1381
1382         * aspell.C:
1383         * aspell_local.h: add forgotten std::string's.
1384
1385 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1386
1387         * LaTeXFeatures.C:
1388         * LyXAction.C:
1389         * factory.C:
1390         * lfuns.h:
1391         * lyxfunc.C:
1392         * text3.C: The Box patch. Fancybox support, minipage, parbox
1393
1394 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1395
1396         * CutAndPaste.h:
1397         * DepTable.h:
1398         * FloatList.h:
1399         * LaTeXFeatures.h:
1400         * ParagraphParameters.h:
1401         * TextCache.h:
1402         * Thesaurus.h:
1403         * bufferlist.h:
1404         * exporter.h:
1405         * importer.h:
1406         * lastfiles.h:
1407         * lyxfind.h:
1408         * lyxfont.h:
1409         * lyxlex.h:
1410         * lyxtextclasslist.h:
1411         * messages.h:
1412         * paragraph.h:
1413         * paragraph_pimpl.C:
1414         * textcursor.h: add <string> and other small fixes to make Lars'
1415         std::string patch compile with STLport.
1416
1417 2003-10-06  Angus Leeming  <leeming@lyx.org>
1418
1419         * LColor.h: Add missing #include <string>.
1420
1421 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1422
1423         * All most all file in all subdirs: Make <string> be the prefered
1424         way of getting to std::string, add using declarations.
1425
1426 2003-10-06  André Pönitz  <poenitz@gmx.net>
1427
1428         * metricsinfo.C: initialize LyXFont before changing attribute.
1429         (fixes the 'math in \emph is upright' bug)
1430
1431 2003-10-06  André Pönitz  <poenitz@gmx.net>
1432
1433         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1434
1435 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1436
1437         * graph.C:
1438         * paragraph_pimpl.C: Small fixes to build using STLport
1439
1440 2003-10-02  André Pönitz  <poenitz@gmx.net>
1441
1442         * lyxfunc.C:
1443         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1444
1445 2003-10-01  André Pönitz  <poenitz@gmx.net>
1446
1447         * factory.C: assert early
1448
1449 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1450
1451         * lyx_main.C: remove the global debug object
1452
1453         * debug.h: adjust for new debugstream
1454
1455         * debug.C: adjust for new debugstream and keep the global debug
1456         object here.
1457
1458 2003-09-22  Angus Leeming  <leeming@lyx.org>
1459
1460         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1461         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1462         an incomplete class LyXFont.
1463
1464 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * factory.C: bug fix in branches
1467
1468 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * lyxfunc.C (processKeySym): adjust
1471         (dispatch): adjust
1472         (dispatch): change arg name from ev to func, adjust
1473         (sendDispatchMessage): ditto
1474
1475         * lyx_main.C (defaultKeyBindings): adjust keybindings
1476         (deadKeyBindings): ditto
1477
1478         * kbsequence.C (addkey): return a FuncRequest
1479
1480         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1481
1482         * kbmap.C (bind): take a FuncRequest as arg, adjust
1483         (read): adjust
1484         (lookup): adjust
1485         (defkey): change to take a FuncRequest as arg, adjust
1486         (findbinding): take a FuncRequest as arg, adjust.
1487
1488         * funcrequest.h (operator=): added
1489
1490         * funcrequest.C (FuncRequest): default kb_action changed from
1491         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1492
1493         * buffer.C (dispatch): simplify
1494         (dispatch): adjust to take a FuncRequest as arg, adjust
1495
1496         * boost.C (assertion_failed): change assertion message slightly
1497
1498         * ToolbarBackend.C (read): simplify
1499
1500         * MenuBackend.C (binding): adjust call to findbinding, add a
1501         message if no binding is found.
1502         (read): simplify
1503         (expandToc): correct by adding a empty FuncRequest
1504
1505         * LyXAction.C: include <boost/assert.hpp>
1506         (isPseudoAction): delete function
1507         (LookupFunc): change name to...
1508         (lookupFunc): this. change return type to FuncRequest.
1509         (getActionName): take kb_action as arg, simplify
1510         (funcHasFlag): add an assert, simplify.
1511
1512 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1513
1514         * toc.C (action): return a FuncRequest, simplify
1515
1516         * lyxfunc.C (processKeySym): adjust
1517         (getStatus): delete version that takes an int.
1518         (getStatus): adjust
1519         (dispatch): delete version that takes action as int
1520         (dispatch): adjust
1521         (sendDispatchMessage): simplify and adjust
1522
1523         * funcrequest.C (getArg): take unsigned int as arg
1524
1525         * ToolbarBackend.C (read): adjust
1526         (add): delete version that takes func as a string.
1527         (getIton): take a FuncRequest as arg
1528
1529         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1530         action.
1531
1532         * MenuBackend.C (MenuItem): add a new construct that only takes a
1533         Kind, simplify the constructor use for submenus.
1534         (add): adjust
1535         (expandLastfiles): adjust
1536         (expandDocuments): adjust
1537         (expandFormats): adjust
1538         (expandFloatListInsert): adjust
1539         (expandFloatInsert): adjust
1540         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1541
1542         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1543         Remove class variables lyx_pseudo_map and lyx_arg_map
1544
1545         * LyXAction.C (searchActionArg): delete function
1546         (getPseudoAction): delete function
1547         (retrieveActionArg): delete function
1548         (LookupFunc): make it return kb_action, simplify.
1549         (getActionName): simplify
1550
1551         * factory.C (createInset): fix new bug
1552
1553 2003-09-19  Angus Leeming  <leeming@lyx.org>
1554
1555         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1556         masterFilename_ parameter in the include inset.
1557
1558         * factory.C (createInset): changes due to the changes to InsetInclude.
1559
1560 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1561
1562         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1563
1564 2003-09-18  Angus Leeming  <leeming@lyx.org>
1565
1566         * buffer.C:
1567         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1568         Inset::fillWithBibKeys.
1569         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1570
1571 2003-09-18  Angus Leeming  <leeming@lyx.org>
1572
1573         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1574         variables.
1575         (ctor): pass and store a 'Buffer const &'
1576         (buffer): new member function.
1577
1578         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1579         '*this' to the LaTeXFeatures ctor.
1580
1581 2003-09-18  Angus Leeming  <leeming@lyx.org>
1582
1583         * LColor.h:
1584         * lyxfont.C:
1585         * lyxfont.h:
1586         * lyxtext.h:
1587         * text.C: rename EnumLColor as LColor_color.
1588
1589 2003-09-18  Angus Leeming  <leeming@lyx.org>
1590
1591         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1592         remove #include "insets/insetbase.h" from cursor.h.
1593
1594 2003-09-18  Angus Leeming  <leeming@lyx.org>
1595
1596         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1597         InsetOld_code to remove #include "inset.h".
1598
1599         * iterators.C: add #include "insets/inset.h"
1600
1601 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1602
1603         * BufferView.C: remove more locking stuff that apparently doesn't
1604         do anything sensible.
1605
1606 2003-09-16  André Pönitz  <poenitz@gmx.net>
1607
1608         * paragraph.[Ch]:
1609         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1610           performance boost.
1611
1612 2003-09-16  Angus Leeming  <leeming@lyx.org>
1613
1614         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1615
1616         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1617         arg/return type.
1618
1619         * paragraph.h: remove #include "lyxfont.h". Forward declare
1620         LyXFont_size.
1621
1622 2003-09-16  Angus Leeming  <leeming@lyx.org>
1623
1624         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1625         of support/textutils.h.
1626         (isWord): move the contents of support/textutils.h's IsWordChar here.
1627
1628         * buffer.C:
1629         * lyxfind.C:
1630         * rowpainter.C:
1631         * text.C:
1632         * text2.C: add #include "paragraph.h".
1633
1634         * rowpainter.C:
1635         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1636
1637 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1638
1639         * main.C:
1640         * lyx_main.C:
1641         * lyx_cb.C:
1642         * buffer.C:
1643         * LaTeX.C: use namespace alias for lyx::support::os
1644
1645 2003-09-16  Angus Leeming  <leeming@lyx.org>
1646
1647         * bufferparams.C:
1648         * bufferview_funcs.C:
1649         * factory.C:
1650         * lyxfunc.C:
1651         * paragraph_pimpl.C:
1652         * rowpainter.C:
1653         * text.C: add #include "LColor.h".
1654
1655 2003-09-16  Angus Leeming  <leeming@lyx.org>
1656
1657         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1658         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1659         return LyXFont &.
1660         Store the FontBits::color variable as an int rather than as an
1661         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1662         file.
1663
1664         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1665         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1666         string calls together.
1667
1668         * lyxrc.C: add #include "LColor.h".
1669
1670 2003-09-15  Angus Leeming  <leeming@lyx.org>
1671
1672         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1673         a cow_ptr.
1674
1675 2003-09-15  Angus Leeming  <leeming@lyx.org>
1676
1677         * LColor.h: add an EnumLColor wrapper for LColor::color.
1678
1679         * lyxfont.[Ch] (color, setColor, realColor):
1680         * lyxtext.h, text.C (backgroundColor):
1681         pass EnumLColor args to/from the functions, rather than LColor::color
1682         ones.
1683
1684         * lyxfont.h:
1685         * lyxtext.h: forward declare EnumLColor.
1686
1687         * lyx_main.C: add #include "LColor.h".
1688
1689 2003-09-15  Angus Leeming  <leeming@lyx.org>
1690
1691         * .cvsignore: add lyx-gtk.
1692
1693 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1694
1695         * Chktex.C
1696         * LaTeX.C
1697         * LaTeXFeatures.C
1698         * ParagraphParameters.C
1699         * Spacing.C
1700         * buffer.C
1701         * bufferparams.C
1702         * bufferview_funcs.C
1703         * chset.C
1704         * counters.C
1705         * funcrequest.C
1706         * lyxfont.C
1707         * lyxgluelength.C
1708         * lyxlength.C
1709         * paragraph.C
1710         * paragraph_funcs.C
1711         * text3.C
1712         * vc-backend.C: remove usage of STRCONV
1713
1714 2003-09-15  Angus Leeming  <leeming@lyx.org>
1715
1716         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1717         explicitly define the color passed to the painter.
1718
1719 2003-09-15  Angus Leeming  <leeming@lyx.org>
1720
1721         * bufferparams.C (BufferParams): reorder member initializers to avoid
1722         compiler warning.
1723
1724 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1725
1726         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1727         * text.C (updateRowPositions): remove an unusual nop
1728
1729 2003-09-12  André Pönitz  <poenitz@gmx.net>
1730
1731         * BufferView_pimpl.C:
1732         * Bullet.C:
1733         * layout.h:
1734         * lyxfunc.C:
1735         * lyxlayout.[Ch]:
1736         * lyxtextclass.C:
1737         * rowpainter.C:
1738         * text.C:
1739         * text2.C:
1740         * Counters.[Ch]: finish the 'automatic counters' job
1741
1742 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1743
1744         * aspell.C: include <boost/assert.cpp> (compile fix)
1745
1746 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1747
1748         * boost.C (assertion_failed): use lyx::support::abort instead of
1749         assert.
1750
1751 2003-09-10  Angus Leeming  <leeming@lyx.org>
1752
1753         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1754         with their _fwd progeny.
1755
1756 2003-09-09  Angus Leeming  <leeming@lyx.org>
1757
1758         134 files throughtout the source tree: replace 'using namespace abc;'
1759         directives with the appropriate 'using abc::xyz;' declarations.
1760
1761 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1762
1763         * boost.C (emergencyCleanup): moved here from LAssert.c
1764         (assertion_failed): new function, called by BOOST_ASSERT
1765
1766         * several files: change Assert to BOOST_ASSERT
1767
1768 2003-09-09  Angus Leeming  <leeming@lyx.org>
1769
1770         * buffer.[Ch]: Add an Impl class and move Buffer's member
1771         variables into it. As a result move several header files out of
1772         buffer.h.
1773
1774         Add header files to lots of .C files all over the tree as a result.
1775
1776 2003-09-09  Angus Leeming  <leeming@lyx.org>
1777
1778         * buffer.[Ch]: make Buffer's member variables private. Add
1779         accessor functions.
1780
1781         Lots of changes all over the tree as a result.
1782
1783 2003-09-08  Angus Leeming  <leeming@lyx.org>
1784
1785         * graph.C: #include <config.h>.
1786
1787 2003-09-08  Angus Leeming  <leeming@lyx.org>
1788
1789         * BranchList.C:
1790         * BufferView.C:
1791         * BufferView_pimpl.C:
1792         * CutAndPaste.C:
1793         * DepTable.C:
1794         * LaTeX.C:
1795         * LaTeXFeatures.C:
1796         * LyXAction.C:
1797         * MenuBackend.C:
1798         * TextCache.C:
1799         * aspell.C:
1800         * buffer.C:
1801         * bufferlist.C:
1802         * changes.C:
1803         * chset.C:
1804         * converter.C:
1805         * counters.C:
1806         * debug.C:
1807         * graph.C:
1808         * ispell.C:
1809         * lyx_cb.C:
1810         * lyxfind.C:
1811         * lyxfunc.C:
1812         * lyxlex_pimpl.C:
1813         * lyxrc.C:
1814         * lyxrow.C:
1815         * paragraph.C:
1816         * rowpainter.C:
1817         * texrow.C:
1818         * text.C:
1819         * text2.C:
1820         * toc.C: remove redundant using directives.
1821
1822 2003-09-07  Angus Leeming  <leeming@lyx.org>
1823
1824         * LaTeXFeatures.h: remove #include "support/types.h".
1825         * ToolbarBackend.h: remove #include <algorithm>.
1826         * changes.h: remove #include <ctime>.
1827         * debug.h: remove #include <iosfwd>.
1828         * graph.h: remove #include "support/std_string.h".
1829         * lyx_main.h: remove #include <csignal>.
1830         * lyxlex_pimpl.h: remove #include <fstream>.
1831         * sgml.h: remove #include <algorithm>, <utility>.
1832         * toc.h: remove #include "support/std_ostream.h".
1833         Add #include <iosfwd>.
1834
1835 2003-09-07  Angus Leeming  <leeming@lyx.org>
1836
1837         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1838
1839         * converter.h: forward declare LatexRunParams.
1840         * encoding.h: remove #include "lyxrc.h".
1841         * lyxtext.h: remove #include "LColor.h".
1842         * lyxtextclass.h: remove #include "support/types.h".
1843         * trans.h: remove #include "tex-accent.h".
1844         * trans_mgr.h: remove #include "tex-accent.h".
1845         * insets/inset.h: remove #include "support/types.h", <vector>.
1846         * insets/insetcollapsable.h: remove #include "LColor.h".
1847         * insets/insetinclude.h: remove #include "dimension.h".
1848         * insets/insetlatexaccent.h: remove #include "dimension.h".
1849         * insets/insetoptarg.h:: remove #include "insettext.h".
1850         * insets/insettext.h: remove #include "dimension.h",
1851         <boost/shared_ptr.hpp>
1852
1853         * insets/renderers.h: add #include "dimension.h".
1854         * insets/updatableinset.h: add #include "support/types.h".
1855
1856         * many .C files: Associated changes.
1857
1858 2003-09-06  Angus Leeming  <leeming@lyx.org>
1859
1860         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1861         one, inside testInvariant.
1862
1863         * PrinterParams.C: new file.
1864         * PrinterParams.[Ch]: move the function bodies out of line.
1865
1866 2003-09-06  Angus Leeming  <leeming@lyx.org>
1867
1868         * ParagraphParameters.h: forward declare ParameterStruct rather than
1869         including its header file.
1870         (depth): moved out-of-line.
1871
1872 2003-09-06  Angus Leeming  <leeming@lyx.org>
1873
1874         * BufferView_pimpl.h:
1875         * kbmap.h:
1876         * kbsequence.h:
1877         * lyxfunc.h: forward declare LyXKeySym rather than
1878         #include "frontends/LyXKeySym.h".
1879
1880         * BufferView_pimpl.C:
1881         * kbmap.C:
1882         * kbsequence.C:
1883         * lyxfunc.C: associated changes.
1884
1885 2003-09-06  Angus Leeming  <leeming@lyx.org>
1886
1887         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1888         As a result, can remove the #include "insets/inset.h" from BufferView.h
1889
1890 2003-09-06  Angus Leeming  <leeming@lyx.org>
1891
1892         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1893         As a result, can remove the #include "insets/inset.h" from BufferView.h
1894
1895 2003-09-06  Angus Leeming  <leeming@lyx.org>
1896
1897         * buffer_funcs.C:
1898         * buffer.h:
1899         * bufferlist.C:
1900         * BufferView.C:
1901         * bufferview_funcs.C:
1902         * BufferView_pimpl.C:
1903         * CutAndPaste.C:
1904         * lyx_cb.C:
1905         * lyxfunc.C:
1906         * paragraph.h:
1907         * ParagraphParameters.C:
1908         * tabular.C:
1909         * text3.C:
1910         * toc.C:
1911         * undo_funcs.C:
1912         * frontends/controllers/ControlDocument.C:
1913         * insets/insetcaption.C: rearrange the #includes into some sort of
1914         coherent order.
1915
1916         * buffer.h: remove #includes ErrorList.h, undo.h
1917
1918 2003-09-06  Angus Leeming  <leeming@lyx.org>
1919
1920         * support/types.h: add a 'depth_type' typedef, used to store the
1921         nesting depth of a paragraph.
1922
1923         * paragraph.h:
1924         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1925         defining explicitly.
1926
1927         * buffer.h:
1928         * paragraph_funcs.h:
1929         * ParagraphParameters.h:
1930         * sgml.h: use lyx::depth_type rather than Paragraph or
1931         ParameterStruct's depth_type.
1932
1933         * buffer.h
1934         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1935
1936         * BufferView.C:
1937         * BufferView_pimpl.C:
1938         * CutAndPaste.C:
1939         * ParagraphParameters.C:
1940         * buffer_funcs.C:
1941         * bufferlist.C:
1942         * bufferview_funcs.C:
1943         * lyx_cb.C:
1944         * lyxfunc.C:
1945         * tabular.C:
1946         * text3.C:
1947         * toc.C:
1948         * undo_funcs.C:
1949         * frontends/LyXView.C:
1950         * frontends/controllers/ControlDocument.C:
1951         * frontends/controllers/ControlErrorList.C:
1952         * insets/insetbibitem.C:
1953         * insets/insetbranch.C:
1954         * insets/insetcaption.C:
1955         * insets/insetcollapsable.C:
1956         * insets/insetenv.C:
1957         * insets/insetert.C:
1958         * insets/insetfloat.C:
1959         * insets/insetfoot.C:
1960         * insets/insetfootlike.C:
1961         * insets/insetnewline.C:
1962         * insets/insetquotes.C:
1963         * insets/insettabular.C:
1964         * insets/insettext.C:
1965         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1966
1967         * frontends/controllers/ControlChanges.C: #include "changes.h".
1968
1969 2003-09-06  Angus Leeming  <leeming@lyx.org>
1970
1971         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1972         than #including paragraph.h.
1973
1974         * ParagraphList.h:
1975         * RowList.h: deleted. Superfluous.
1976
1977         * CutAndPaste.h:
1978         * iterators.h:
1979         * lyxcursor.h:
1980         * lyxtext.h:
1981         * text_funcs.h:
1982         * undo.h:
1983         * undo_funcs.h:
1984         * insets/inset.h:
1985         * insets/insettext.h: use ParagraphList_fwd.h rather than
1986         ParagraphList.h.
1987
1988         * paragraph.h: don't forward declare ParagraphList.
1989
1990         * buffer.h:
1991         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1992         rather than ParagraphList.h. paragraph.h is still needed for the
1993         Paragraph::depth_type parameters.
1994
1995         * textcursor.h: enable it to compile stand-alone in light of the
1996         above changes.
1997
1998         * bufferview_funcs.C:
1999         * iterators.C:
2000         * lyxfunc.C:
2001         * lyxrow_funcs.C:
2002         * paragraph.C:
2003         * rowpainter.C:
2004         * text.C:
2005         * text2.C:
2006         * text3.C:
2007         * text_funcs.C:
2008         * textcursor.C:
2009         * undo.C:
2010         * frontends/controllers/ControlParagraph.C:
2011         * frontends/controllers/ControlTabular.C:
2012         * insets/insetmarginal.C:
2013         * insets/insetminipage.C:
2014         * insets/insetnote.C:
2015         * insets/insetoptarg.C: add header files needed to compile again.
2016
2017 2003-09-06  Angus Leeming  <leeming@lyx.org>
2018
2019         * RowList_fwd.h: new file, forward-declaring Row rather than
2020         #including lyxrow.h.
2021
2022         * lyxrow_funcs.h:
2023         * lyxtext.h:
2024         * paragraph.h:
2025         * insets/insettext.h: use it instead of RowList.h
2026
2027         * bufferview_funcs.C:
2028         * lyxfunc.C:
2029         * lyxrow_funcs.C:
2030         * paragraph.C:
2031         * rowpainter.C:
2032         * text.C:
2033         * text2.C:
2034         * text3.C: #include "RowList.h".
2035
2036 2003-09-05  Angus Leeming  <leeming@lyx.org>
2037
2038         * factory.C (createInset):
2039         * vspace.C (c-tor): replace sscanf call with an istringstream.
2040         * ispell.C: re-add missing HP/UX headers.
2041         * lyxserver.C: re-add missing  os2 headers.
2042
2043 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2044
2045         * BranchList.C:
2046         * graph.C:
2047         * ispell.C:
2048         * lastfiles.C:
2049         * lyx_cb.C:
2050         * lyxserver.C:
2051         * texrow.C:
2052         * text3.C: re-add missing system headers, needed for 2.95.2.
2053
2054 2003-09-05  Angus Leeming  <leeming@lyx.org>
2055
2056         Changes most place everywhere due to the removal of using directives
2057         from support/std_sstream.h.
2058
2059 2003-09-05  Angus Leeming  <leeming@lyx.org>
2060
2061         Replace LString.h with support/std_string.h,
2062         Lsstream.h with support/std_sstream.h,
2063         support/LIstream.h with support/std_istream.h,
2064         support/LOstream.h with support/std_ostream.h.
2065
2066         Changes resulting throughout the tree.
2067
2068 2003-09-05  Angus Leeming  <leeming@lyx.org>
2069
2070         * sgml.h: ensure that the header file can be compiled stand-alone.
2071         * *.C: strip out redundant #includes. (320 in total.)
2072
2073 2003-09-04  Angus Leeming  <leeming@lyx.org>
2074
2075         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2076         here (from getPackages).
2077
2078         * debug.[Ch]: add a new EXTERNAL tag.
2079
2080 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2081
2082         * text2.C (cursorEnd): simplify
2083         (setCursor): adjust
2084         (getColumnNearX): adjust
2085
2086         * text.C (computeBidiTables): adjust
2087         (fill): adjust
2088
2089         * rowpainter.C (paintChars): adjust
2090         (paintSelection): adjust
2091         (paintChangeBar): adjust
2092         (paintText): adjust
2093
2094         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2095         lastPos instead.
2096         (numberOfSeparators): adjust
2097
2098 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2099
2100         * LyXAction.C:
2101         * box.[Ch]:
2102         * lfuns.h:
2103         * lyxfunc.C:
2104         * text3.C: Restricts the mouse click functionality
2105         of insets like bibtex, include, toc and floatlist to the visible
2106         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2107         up the dialogs. Cursor has to be in front of the inset (i.e.
2108         start of row) for this to function.
2109
2110 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2111
2112         * bufferview_funcs.C (currentState): output row information
2113
2114 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2115
2116         * bufferview_funcs.C (currentState): output paragraph position
2117
2118 2003-09-04  Angus Leeming  <leeming@lyx.org>
2119
2120         * FloatList.h: move out #include "Floating.h".
2121         * LaTeX.h: move out #include "DepTable.h".
2122         * LyXAction.h: move out #include "funcrequest.h".
2123         * buffer.h: move out #include "author.h", "iterators.h".
2124         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2125         * lyx_main.h: move out #include "errorlist.h".
2126         * lyxfunc.h: move out #include "FuncStatus.h".
2127         * lyxtext: move out #include "lyxcursor.h".
2128         * paragraph_pimpl.h: move out #include "counters.h".
2129
2130 2003-09-03  Angus Leeming  <leeming@lyx.org>
2131
2132         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2133         preamble_snippets list, enabling us to add snippets to the preamble
2134         only if the snippet was not there already.
2135
2136 2003-09-04  Angus Leeming  <leeming@lyx.org>
2137
2138         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2139
2140 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2141
2142         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2143         update
2144
2145 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2146
2147         * BranchList.C: point fix, earlier forgotten
2148
2149 2003-09-02  Angus Leeming  <leeming@lyx.org>
2150
2151         * box.C (contains): renamed from 'contained' after a fantastic
2152         amount of hot air.
2153
2154 2003-09-02  John Levon  <levon@movementarian.org>
2155
2156         * BufferView.C:
2157         * lyxcursor.h:
2158         * lyxcursor.C:
2159         * lyxfunc.C:
2160         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2161
2162 2003-09-02  John Levon  <levon@movementarian.org>
2163
2164         * text2.C: simplification of cursorEnd(), including partial
2165         fix for bug 1376
2166
2167 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2168
2169         * buffer.C (readFile): add a space
2170
2171 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2172
2173         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2174
2175 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * buffer.C (readFile): new function, take a filename and a
2178         ParagraphList::iterator
2179         (readFile): adjust
2180         (readFile): adjust, make it private. don't use setStream, make
2181         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2182         always contain the filename.
2183
2184         * BufferView.C (insertLyXFile): simplify and make it work for
2185         gzipped files.
2186
2187 2003-08-30  John Levon  <levon@movementarian.org>
2188
2189         * Makefile.am: fix dist (from Kayvan)
2190
2191 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2192
2193         * most files: change to use const Buffer refs
2194
2195 2003-08-27  André Pönitz  <poenitz@gmx.net>
2196
2197         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2198         on top of ownerPar().
2199
2200 2003-08-27  John Levon  <levon@movementarian.org>
2201
2202         * funcrequest.C: properly initialise POD members
2203
2204 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2205
2206         * lyxtext.h (top_y): move top_y from here
2207         * text.C:
2208         * text2.C:
2209         * text3.C:
2210         * BufferView.[Ch]:
2211         * BufferView_pimpl.[Ch]: to here
2212         * frontends/screen.C:
2213         * insets/insettabular.C:
2214         * insets/insettext.C: adjust
2215         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2216
2217 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2218
2219         * BufferView.[Ch]:
2220         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2221
2222 2003-08-26  André Pönitz  <poenitz@gmx.net>
2223
2224         * paragraph_func.[Ch] (outerPar): new function
2225
2226         * paragraph.C:
2227         * paragraph_funcs.C:
2228         * paragraph_funcs.h:
2229         * paragraph_pimpl.C:
2230         * text2.C: remove Inset::par_owner
2231
2232 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2233
2234         * lyxrow_funcs.C:
2235         * lyxtext.h:
2236         * text.C:
2237         * text2.C: eliminates the needFullRow/display() stuff
2238         altogether, putting the logic in metrics/draw in the insets.
2239
2240 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2241
2242         * text2.C (redoParagraphInternal, redoParagraphs):
2243         * text.C (redoParagraph): add a call to updateRowPositions at the
2244         end of each 'metrics-like' call. Remove all others.
2245         (getRow): remove the 'y-computing' version.
2246         (getRowNearY): do not compute nor return the real y. Solve the
2247         'y < 0' problem and simplify.
2248
2249 2003-08-22  Angus Leeming  <leeming@lyx.org>
2250
2251         * *.[Ch]: clean-up of licence and author blurbs.
2252         Also move config.h out of a few .h files and into a few .C files.
2253
2254 2003-08-22  André Pönitz  <poenitz@gmx.net>
2255
2256         * lyxrow.[Ch]: add x_ and *fill_ members
2257
2258         * lyxtext.h:
2259         * text.C:
2260         * rowpainter.C:
2261         * text2.C: adjust/remove prepareToPrint() calls
2262
2263 2003-08-22  André Pönitz  <poenitz@gmx.net>
2264
2265         * lyxrow.[Ch]: add  end_ member
2266
2267         * lyxrow_funcs.C: use LyXRow::end_
2268
2269         * lyxtext.h (singleWidth): add LyXFont parameter
2270
2271         * rowpainter.C:
2272         * text2.C: adjust LyXText::singleWidth() calls
2273
2274         * text.C (redoParagraph): simplify row breaking logic
2275
2276
2277 2003-08-19  André Pönitz  <poenitz@gmx.net>
2278
2279         * funcrequest.C: initialize button_ member
2280
2281         * text3.C:
2282         * rowpainter.[Ch]: interface consolidation
2283
2284 2003-08-18  André Pönitz  <poenitz@gmx.net>
2285
2286         * BufferView.C:
2287         * BufferView_pimpl.C:
2288         * lyxfind.C:
2289         * paragraph_funcs.C:
2290         * rowpainter.C:
2291         * text3.C: remove LyXScreen::draw() and fitCursor calls
2292
2293         * BranchList.h: remove spurious semicolons
2294
2295         * MenuBackend.C: fix branchlist related crash
2296
2297 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * BranchList.[Ch]:
2300         * InsetList.[Ch]:
2301         * LColor.[Ch]:
2302         * LyXAction.C:
2303         * Makefile.am:
2304         * MenuBackend.[Ch]:
2305         * bufferparams.[Ch]:
2306         * factory.C:
2307         * lfuns.h:
2308         * lyxfunc.C:
2309         * text3.C: implements the 'branch inset'
2310         idea. This allows the output of various versions of a document
2311         from a single source version, selectively outputing or suppressing
2312         output of parts of the text.
2313         This implementation contains a 'branch list editor' in a separate
2314         tab of the document settings dialog. Branches are user definable
2315         and have a "display colour" to distinguish them on-screen.
2316
2317         ColorHandler was somewhat cleaned up.
2318         (1) make possible a dynamically growing LColor list by allowing
2319         the graphic context cache to grow along (vector);
2320         (2) eliminate an IMHO unnecessary step in colour allocation.
2321
2322 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2323
2324         * BufferView_pimpl.C: compile fix
2325
2326 2003-08-15  André Pönitz  <poenitz@gmx.net>
2327
2328         * rowpainter.C: remove extra metrics calls
2329
2330         * lyxtext.h: merge the two constructors into a single one,
2331           pass reference to owner's par list
2332
2333         * BufferView_pimpl.C:
2334         * text.C:
2335         * text2.C: adjust
2336
2337 2003-08-15  André Pönitz  <poenitz@gmx.net>
2338
2339         * lyxrow_funcs.[Ch]:
2340         * lyxtext.h:
2341         * paragraph.h:
2342         * paragraph_funcs.C:
2343         * rowpainter.C:
2344         * text.C:
2345         * text2.C:
2346         * text3.C:
2347         * text_funcs.C: split LyXText::rowlist_ into individual
2348         Paragraph::rows_ chunks
2349
2350         * BufferView.[Ch]:
2351         * BufferView_pimpl.[Ch]:
2352         * lyxfind.C:
2353         * lyxtext.h:
2354         * text3.C: remove toggleSelection()
2355
2356 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2357
2358         * bufferlist.C: beautify two alerts (shorter text of buttons)
2359         * buffer.C: Remove redundant ' ' from message
2360         * tabular.h:
2361         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2362         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2363         rename VALIGN_CENTER to VALIGN_MIDDLE
2364
2365 2003-08-11  André Pönitz  <poenitz@gmx.net>
2366
2367         * lyxtext.h (getPar):
2368         * text.C: new function
2369
2370 2003-08-11  André Pönitz  <poenitz@gmx.net>
2371
2372         * Makefile.am:
2373         * tracer.[Ch]: remove unneeded files
2374
2375         * InsetList.[Ch]: remove resizeInsetsLyXText()
2376
2377         * lyxtext.h:
2378         * text.C:
2379         * text2.C:
2380         * text3.C: merge insertParagraphs() and appendParagraph()
2381         remove breakAgain(), update()
2382
2383         * BufferView_pimpl.[Ch]:
2384         * bufferview_funcs.[Ch]:
2385         * lyxfunc.C:
2386         * paragraph.[Ch]:
2387         * rowpainter.C:
2388         * tabular.C: adjust after text & InsetList changes.
2389
2390 2003-08-08  André Pönitz  <poenitz@gmx.net>
2391
2392         * text.C (insertChar, backspace): replace rowlist fiddling
2393         with rebreak of full par
2394
2395         * lyxtext.h:
2396         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2397         checkParagraph, updateInset): removed
2398
2399 2003-08-07  André Pönitz  <poenitz@gmx.net>
2400
2401         * paragraph.C:
2402         * text3.C: merge some LFUN handlers, remove dead code
2403
2404 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2405
2406         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2407
2408 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * text2.C (DEPM): fix part of bug 1255 and 1256
2411
2412 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2413
2414         * BufferView_pimpl.C (workAreaDispatch): change to use
2415         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2416         that are no mouse related.
2417
2418 2003-08-05  André Pönitz  <poenitz@gmx.net>
2419
2420         * BufferView.[Ch]:
2421         * BufferView_pimpl.[Ch]:
2422         * bufferview_funcs.C:
2423         * text2.C:
2424         * text3.C: rip out "deep update"
2425
2426         * textcursor.[Ch] (last_sel_cursor): remove unused member
2427
2428 2003-08-04  André Pönitz  <poenitz@gmx.net>
2429
2430         * BufferView.[Ch]:
2431         * BufferView_pimpl.[Ch]:
2432         * ParagraphParameters.C:
2433         * bufferview_funcs.C:
2434         * lyx_cb.C:
2435         * lyxfind.C:
2436         * lyxfunc.C:
2437         * text.C:
2438         * text2.C:
2439         * text3.C: replace "complicated" BufferView::update(...) calls with
2440         simpler ones.
2441
2442         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2443
2444 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2445
2446         * Makefile.am (lyx_SOURCES): add paper.h
2447
2448 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2449
2450         * Makefile.am: move things around so that both lyx-qt and
2451         lyx-xforms can be built (according to --with-frontend). Then lyx
2452         is a symbolic link to lyx-[firstfrontend]
2453
2454 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2455
2456         * Always use std::endl with lyxerr
2457
2458 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2459
2460         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2461
2462 2003-08-01  André Pönitz  <poenitz@gmx.net>
2463
2464         * BufferView.[Ch]:
2465         * BufferView_pimpl.[Ch]:
2466         * lyxfunc.C:
2467         * text3.C: merge BufferView::repaint() and BufferView::update()
2468
2469 2003-08-01  José Matos  <jamatos@lyx.org>
2470
2471         * buffer.[Ch]: file_format is no longer a buffer data element.
2472
2473 2003-08-01  André Pönitz  <poenitz@gmx.net>
2474
2475         * BufferView.C:
2476         * lyxtext.h:
2477         * text.C:
2478         * text2.C: make redoParagraph more independent of current cursor
2479
2480         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2481         * text.C:
2482         * text2.C: remove unneeded members
2483
2484 2003-07-30  André Pönitz  <poenitz@gmx.net>
2485
2486         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2487
2488         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2489           create a single function...
2490
2491         * paragraph_funcs.C (moveItem): ... here.
2492
2493         * text.C:
2494           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2495
2496 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2497
2498         * LColor.[Ch]: Add comment and greyedout logical colors.
2499
2500 2003-07-30  André Pönitz  <poenitz@gmx.net>
2501
2502         * tabular.C: don't use Assert too heavily. This crashes where it
2503           shouldn't
2504
2505 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2506
2507         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2508         is disabled (bug 1232)
2509
2510 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2511
2512         * factory.C: limited 'arg' scope
2513
2514 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * factory.C: fixed Note submenu issues
2517
2518 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2519
2520         * factory.C: submenu for Note/Comment/Greyedout
2521
2522 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2523
2524         * lyx_main.C (LyX):
2525         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2526
2527 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2528
2529         * LaTeXFeatures.C:
2530         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2531         greyedout. Patch provided by Jürgen Spitzmüller.
2532
2533 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2534
2535         * kbmap.C (read): fix error message when reading bind files
2536
2537 2003-07-29  Angus Leeming  <leeming@lyx.org>
2538
2539         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2540         certainly does not do what it purports to do. I am doing it, and
2541         us, a favour by killing it.
2542
2543 2003-07-28  José Matos  <jamatos@lyx.org>
2544
2545         * buffer.C (readBody, do_writeFile):
2546         * paragraph.C(readParagraph): \end_document replaces \the_end.
2547
2548 2003-07-29  André Pönitz  <poenitz@gmx.net>
2549
2550         * BufferView.[Ch]:
2551         * BufferView_pimpl.[Ch]:
2552         * lyxfunc.C:
2553         * text2.C:
2554         * text3.C:
2555         * textcursor.[Ch]: remove toggleToggle & Co
2556
2557 2003-07-28  José Matos  <jamatos@fep.up.pt>
2558
2559         * buffer.C (readParagraph):
2560         * params_func (readParToken, readParagraph):
2561         * paragraph.C (write): \layout -> \begin_layout.
2562
2563 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * lyxlex_pimpl.C (setFile): clean up slightly.
2566
2567         * bufferparams.h: add compressed var
2568
2569         * buffer_funcs.C (readFile): adjust for LyXLex change
2570         (newFile): ditto + simplify
2571
2572         * buffer.C (writeFile): handle writing of compressed files
2573
2574         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2575         Check if the file is compressed and set a bufferparm if so.
2576
2577         * Makefile.am (lyx_LDADD): remove explicit -lz
2578
2579 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2580
2581         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2582         makeDocBookFile): put the real LyX version in the first line of
2583         the file
2584
2585         * version.h:
2586         * version.C.in: remove lyx_docversion
2587
2588         * tabular.C (write_attribute): add a template-based version to
2589         write enums properly
2590
2591 2003-07-28  André Pönitz  <poenitz@gmx.net>
2592
2593         * lyxtext.h:
2594         * text.C:
2595         * text2.C:
2596         * text3.C: use doubles again for x-coordinates. They are needed.
2597
2598 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2599
2600         * messages.C (getLocaleDir): use lyx_localedir()
2601
2602         * lyxlex_pimpl.C (setFile): compress stuff
2603
2604         * buffer.C (writeFile): add some compression stuff
2605         (do_writeFile): new func, dont call expliti close... will this
2606         breake anything?
2607
2608         * Makefile.am (lyx_LDADD): add -lz
2609
2610 2003-07-28  José Matos  <jamatos@fep.up.pt>
2611
2612         * buffer.C: increment file format.
2613         * paragraph_funcs (readParagraph, readParToken):
2614         * paragraph.C (readParagraph): add \end_layout.
2615
2616 2003-07-27  Angus Leeming  <leeming@lyx.org>
2617
2618         * Makefile.am: remove special casing for configure-time setting of
2619         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2620
2621         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2622         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2623
2624 2003-07-26  André Pönitz  <poenitz@gmx.net>
2625
2626         * paragraph_func.[Ch]:
2627         * paragraph.C (realizeFont): inline it whereever it is used
2628
2629         * rowpainter.C:
2630         * text.C:
2631         * text2.C:
2632         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2633
2634
2635 2003-07-26  André Pönitz  <poenitz@gmx.net>
2636
2637         *       lyxtext.h:
2638         * text.C:
2639         * text2.C: get rid of LyXText::need_break_row
2640
2641 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * toc.[Ch]: put namespace toc inside namespace lyx
2644
2645         * MenuBackend.C (expandToc2): adjust for lyx::toc
2646         (expandToc): ditto
2647
2648         * lyxfunc.C (dispatch): adjust for lyx::find
2649
2650         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2651         lyx::find instead. Reorganize a bit.
2652         (LyXReplace): rename to replace
2653         (LyXFind): rename to find
2654
2655         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2656         (dispatch): ditto
2657
2658 2003-07-26  André Pönitz  <poenitz@gmx.net>
2659
2660         * text.C (setHeightOfRow): restrict scope of temporary variable
2661
2662         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2663           code (never has been used?)
2664
2665 2003-07-27  Asger Alstrup  <alstrup@local>
2666
2667         * text.C (fill): Optimise algorithm to exploit that we can reuse
2668         the LyXFont for many characters.
2669         (setHeightOfRow): Same thing.
2670         (rowBreakPoint): Same thing.
2671
2672 2003-07-26  Asger Alstrup  <alstrup@local>
2673
2674         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2675
2676         * text.C (singleWidth): Spurious font copying in hot-spot
2677         singleWidth avoided. Reorder tests for arabic for efficiency.
2678
2679         * text.C (fill): handle empty paragraphs better.
2680
2681 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2682
2683         * ispell.C:
2684         * encoding.h: add includes
2685
2686         * lyxrc.C: remove reading of bind files
2687
2688         * lyx_main.C (init): setup bindings and menus only if we have a
2689         gui.
2690
2691         * kbmap.C (read): new method. Do the actual reading of bind
2692         files.
2693
2694         * converter.C (dvipdfm_options):
2695         * bufferparams.C:
2696         * lyxrc.C (read):
2697         (output): adapt PAPER_* enums.
2698
2699         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2700
2701         * bufferparams.h: remove paper-related enums from there
2702
2703         * paper.h: New file. A trivial header file to hold paper-related
2704         enums. It should later expand to contain many paper-related
2705         horrors access.
2706
2707         * lyxrc.C: declare extern displayTranslator
2708
2709 2003-07-27  José Matos  <jamatos@fep.up.pt>
2710
2711         * tabular.[Ch] (linuxdoc): add support for tables and figures
2712         (linuxdoc).
2713
2714 2003-07-27  José Matos  <jamatos@fep.up.pt>
2715
2716         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2717         consistency in both functions.
2718         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2719
2720 2003-07-26  Asger Alstrup  <alstrup@local>
2721
2722         * rowpainter.C (paintRows): Change algorithm to work directly on
2723         the insets rather than asking every character in the document
2724         whether its an inset.
2725
2726 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * buffer.C (openFileWrite): factorize some code
2729
2730 2003-07-26  Angus Leeming  <leeming@lyx.org>
2731
2732         * lyx_cb.C:
2733         * lyx_main.[Ch]: replace occurances of system_tempdir with
2734         os::getTmpDir().
2735
2736 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * rename Inset to InsetOld
2739
2740 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2741
2742         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2743         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2744         which I think is a bit clearer. EDIT is gone, since it was
2745         premature optimisation, and broken for mathed anyway.
2746         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2747         with cursor positioning in insets as well (math insets still do not
2748         work, but that's a different story anyway.) It mysteriously
2749         crashes sometimes with undo in the first paragraph, but I'm fairly
2750         confident that this is a compiler bug.
2751
2752 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * paragraph.C (Paragraph): adjust for new clone return type
2755         (operator==): ditto
2756         (copyIntoMinibuffer): ditto
2757
2758 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2759
2760         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2761         by not having a special case, and always doing a full rebreak of
2762         the document after undo.
2763
2764 2003-07-23  Angus Leeming  <leeming@lyx.org>
2765
2766         * factory.C (createInset): InsetExternal::setParams now takes a
2767         Buffer const * arg.
2768
2769 2003-07-23  Angus Leeming  <leeming@lyx.org>
2770
2771         * factory.C (createInset): changed interface to the external and
2772         graphics mailers' string2params functions.
2773
2774 2003-07-23  Angus Leeming  <leeming@lyx.org>
2775
2776         * factory.C (createInset): pass a
2777         Buffer const * parameter to InsetExternalMailer's string2params.
2778
2779 2003-07-22  John Levon  <levon@movementarian.org>
2780
2781         * Thesaurus.h: include the right aiksaurus header
2782
2783 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2784
2785         * MenuBackend.C (expand): check menu shortcuts unconditionally
2786
2787 2003-07-21  Angus Leeming  <leeming@lyx.org>
2788
2789         * factory.C (createInset): pass a
2790         buffer_path parameter to InsetGraphicsMailer's string2params.
2791
2792 2003-07-21  Angus Leeming  <leeming@lyx.org>
2793
2794         * BufferView_pimpl.C (buffer):
2795         * buffer.C (d-tor):
2796         * lyx_main.C (LyX):
2797         * lyxfunc.C (dispatch):
2798         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2799         rather than the grfx shortcut.
2800
2801 2003-07-21  André Pönitz  <poenitz@gmx.net>
2802
2803         * rowpainter.C: remove unused variables
2804
2805         * tabular_funcs.C:
2806         * tabular_funcs.h: move to tabular.C
2807         * Makefile.am: adjust
2808
2809         * tabular.[Ch]: basic optical cleaning
2810
2811         * author.h: pass references, not values
2812
2813 2003-07-18  André Pönitz  <poenitz@gmx.net>
2814
2815         * lyxtext.h:
2816         * metricsinfo.C:
2817         * metricsinfo.h:
2818         * rowpainter.C:
2819         * text.C:
2820         * text2.C:
2821         * text3.C: two-phase drawing for InsetText and InsetTabular
2822         some float -> int changes.
2823
2824 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * lyx_main.C: fix the fix
2827
2828 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * lyx_main.C: fix a crash in batch mode if no files specified
2831         * converter.C: ws
2832
2833 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * format.[Ch] (papersize): moved to BufferParams
2836         * converter.[Ch] (dvips_options): moved to BufferParams
2837         (dvipdfm_options): moved to anon namespace
2838         * bufferparams.[Ch]: added above functions.
2839
2840 2003-07-17  André Pönitz  <poenitz@gmx.net>
2841
2842         * lyxtext.h:
2843         * rowpainter.C:
2844         * text2.C: don't call inset->update() anymore
2845
2846         * metricsinfo.[Ch]: add convenience constructor
2847
2848 2003-07-16  André Pönitz  <poenitz@gmx.net>
2849
2850         * lyxcursor.[Ch]:
2851         * lyxfunc.[Ch]:
2852         * text.C:
2853         * text2.C: replace the LyXCursor::irow_ member with
2854          on-demand computation of the value
2855
2856 2003-07-16  John Levon  <levon@movementarian.org>
2857
2858         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2859
2860 2003-07-15  André Pönitz  <poenitz@gmx.net>
2861
2862         * text.C:
2863         * text2.C: remove no more needed refresh_row
2864
2865 2003-07-15  André Pönitz  <poenitz@gmx.net>
2866
2867         * lyxtext.h:
2868         * rowpainter.C:
2869         * text2.C:
2870         * text3.C: refresh_status tristate -> need_update bool
2871
2872 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2873
2874         * lyxtext.h (init): remove reinit argument (act as if always true)
2875         * text2.C: adjust to that
2876
2877 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2878
2879         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2880         * text3.C: use it to delete selections in some cases
2881         (bugs 441, 673, 702, 954).
2882
2883 2003-07-14  André Pönitz  <poenitz@gmx.net>
2884
2885         * rowpainter.[Ch]: reduce interface
2886
2887 2003-07-14  André Pönitz  <poenitz@gmx.net>
2888
2889         * BufferView_pimpl.C:
2890         * text2.C: adjust after removing unused BufferView * argument
2891
2892 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2893
2894         * text2.C (init): fix a crash fired on resize
2895
2896 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2897
2898         * buffer.[Ch]: added new closing signal
2899         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2900         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2901         BufferView::Pimpl via the closing the signal
2902
2903 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2904
2905         * buffer.[Ch]: take out all bv-related from buffer
2906         * BufferView.C:
2907         * BufferView_pimpl.[Ch]: connect to new signals
2908         * CutAndPaste.C: removed useless asserts
2909         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2910         * lyxvc.[Ch]:
2911         * vc-backend.[Ch]:
2912         * lyxfunc.C: moved view-related funciontality from vc here
2913         * paragraph.C: removed outdated comments
2914         * text.C: ws
2915
2916 2003-07-10  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView_pimpl.C:
2919         * tabular.h:
2920         * tabular_funcs.C:
2921         * text.C:
2922         * text2.C: remove InsetText::InnerCache, clean up consequences
2923
2924 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2925
2926         * ispell.C: fix two typos in error messages
2927
2928 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2929
2930         * Extend Note inset to other forms of annotation like Comment
2931         and Greyedout. Right button click gives dialog.
2932
2933         Files modified or added (+):
2934
2935         * insetnote.[Ch]
2936         * FormNote.[Ch]      +
2937         * ControlNote.[Ch]   +
2938         * form_note.fd       +
2939         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2940         frontends/controllers
2941         * xforms/Dialogs.C
2942         * factory.C
2943
2944 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2945
2946         * aspell.C: add missing namespace lyx::support
2947
2948 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2949
2950         * BufferView.[Ch] (newFile): Add
2951         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2952         * LaTeX.[Ch] (message): added this signal and use it
2953         * buffer.[Ch] (busy, message): added these signals and use them
2954         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2955         * converter.C:
2956         * exporter.C:
2957         * format.C:
2958         * importer.C: use buffer signals instead of direct bv calling
2959         * lyx_cb.[Ch] (ShowMessage): removed
2960         * lyx_main.C:
2961         * lyxfunc.C:
2962         * paragraph_funcs.C:
2963         * text2.C: use buffer signals
2964
2965 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2966
2967         * introduce namespace lyx::graphics
2968
2969 2003-07-02  André Pönitz  <poenitz@gmx.net>
2970
2971         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2972
2973 2003-07-01  André Pönitz  <poenitz@gmx.net>
2974
2975         * text.C:
2976         * text2.C:
2977         * text3.C:
2978         * text_funcs.[Ch]:
2979         * textcursor.h:
2980         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2981           text*.C to text_func.C
2982
2983 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * introduce namespace lyx::support
2986
2987 2003-06-30  André Pönitz  <poenitz@gmx.net>
2988
2989         * Chktex.C:
2990         * funcrequest.C:
2991         * lyxtext.h:
2992         * text.C: re-enable --with-included-string
2993
2994 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * textcursor.C: add <config.h>
2997
2998         * text.C (getWord): remove const from word_location arg
2999
3000         * lyxvc.C (getLogFile): fix const type order
3001
3002         * lyxtext.h: remove const from word_location arg, add arg name
3003
3004         * lyxlayout.h: currect type on labeltype.
3005
3006         * importer.C: correct \file
3007
3008         * converter.C (intToFormat): use std:: on ret val, ws changes
3009
3010         * bufferlist.h: correct \file
3011
3012         * buffer.C (makeLinuxDocFile): fix const type order
3013         (makeDocBookFile): ditto
3014         (fillWithBibKeys): use std:: on stdlib args.
3015
3016         * CutAndPaste.C: fix authors.
3017         (availableSelections): use std:: on return vector
3018
3019 2003-06-27  André Pönitz  <poenitz@gmx.net>
3020
3021         * BufferView_pimpl.C:
3022         * bufferview_funcs.C:
3023         * lyxcursor.C:
3024         * lyxcursor.h:
3025         * lyxfunc.C:
3026         * lyxtext.h:
3027         * rowpainter.C:
3028         * text.C:
3029         * text2.C:
3030         * text3.C: remove LyXCursor::row_ member
3031
3032         * lyxtext.h:
3033         * text.C: rename fullRebreak() to partialRebreak() and implement
3034           a fullRebreak() that really bereks fully
3035
3036         * textcursor.h: new struct for cursor-related data
3037
3038 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3039
3040         * lyx_main.C (LyX): get full path of document loaded on the
3041         command line
3042
3043 2003-06-26  André Pönitz  <poenitz@gmx.net>
3044
3045         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3046           remove unused/broken operator>,<,>=.
3047
3048         *       text.C: remove only use of broken operator<= in an Assert().
3049
3050 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3053         moved errorlist_.clear to showErrorList
3054
3055 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * converter.C (scanLog, runLaTeX):
3058         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3059         move the bv->showErrorList call to the callers
3060         * lyxfunc.C: i.e. here...
3061         * text2.C: and here
3062         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3063         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3064         namespace, the second to...
3065         * buffer_funcs (BufferFormat, parseErrors): added
3066         * errorlist.C (ErrorList(TeXErrors const &)): removed
3067
3068 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3069
3070         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3071
3072 2003-06-24  "Garst R. Reese" <reese@isn.net>
3073
3074         * debug.C: fix typo
3075
3076 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3077
3078         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3079
3080         * version.C.in: change docversion to 1.4
3081
3082 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3083
3084         * buffer.C: fix a bug just introduced
3085
3086 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3087
3088         * buffer.[Ch]: added the parseError signal and use it, removed
3089         sgmlError
3090         * BufferView.[Ch] (addError): moved to ...
3091         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3092         to the Buffer::parseError signal to catch (guess what) parse errors
3093         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3094
3095 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3098         ability to create a buffer and to return an existing one from
3099         the list. Moved these functions to...
3100         * buffer_funcs.[Ch]: added
3101         * BufferView.[Ch] (loadLyXFile): added
3102         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3103         job removed from bufferlist::loadLyXFile.
3104         * buffer.C (setReadOnly): make it work without view
3105         (i.e added an if (users))
3106
3107 2003-06-19  Angus Leeming  <leeming@lyx.org>
3108
3109         * lfuns.h:
3110         * LyXAction.C (init):
3111         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3112         with LFUN_DIALOG_SHOW <name> <data>.
3113
3114 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3115
3116         * CutAndPaste.C (availableSelections): small compilation fix for
3117         ancient (gcc 2.9x) compilers
3118
3119 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * text3.C (cursorNext): add tmp var
3122
3123         * text2.C (updateCounters): for function calling out of for clause
3124         (replaceSelectionWithString): ditto
3125         (insertStringAsParagraphs): ditto
3126         (getColumnNearX): add tmp var
3127         (setCursorFromCoordinates): add tmp var
3128         (cursorDownParagraph): add tmp var
3129         (deleteEmptyParagraphMechanism): add tmp var
3130
3131         * text.C (insertChar): add tmp var
3132
3133         * rowpainter.C (paintDepthBar): add tmp var
3134
3135         * CutAndPaste.C (availableSelections): potentially check all
3136         paragraphs in a cut to fill the shown strings.
3137
3138 2003-06-18  André Pönitz  <poenitz@gmx.net>
3139
3140         * kbmap.[Ch]: use vector<> instead of list<>
3141
3142 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3143
3144         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3145         pasteSelection with index
3146
3147         * text2.C (pasteSelection): modify, call pasteSelection with index
3148
3149         * paragraph.C (asString): reimplement version with no interval to
3150         call the one with interval.
3151
3152         * lyxtext.h: add index arg to pasteSelection
3153
3154         * MenuBackend.C (MenuItem): handle PasteRecent
3155         (Menu::read::Menutags): add md_pasterecent
3156         (read): handle it
3157         (expandPasteRecent): new function
3158         (expand): use it
3159
3160         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3161
3162         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3163         the limited stack
3164         (availableSelections): new function
3165
3166 2003-06-17  Angus Leeming  <leeming@lyx.org>
3167
3168         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3169
3170 2003-06-17  Angus Leeming  <leeming@lyx.org>
3171
3172         * lfuns.h:
3173         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3174
3175         * lyxfunc.C (dispatch): invoke it.
3176
3177 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3178
3179         * iterators.C (operator++, ParPosition): reintroduce some
3180         const_cast for the benefit of older compilers.
3181
3182 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3183
3184         * text3.C (dispatch): do not modify clipboard when doing
3185         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3186         LFUN_DELETE_SKIP on a selection selection
3187
3188 2003-06-16  André Pönitz  <poenitz@gmx.net>
3189
3190         * BufferView.C:
3191         * buffer.C:
3192         * buffer.h:
3193         * paragraph.C:
3194         * tabular.[Ch]: IU of clone() and getLabelList();
3195
3196 2003-06-13  André Pönitz  <poenitz@gmx.net>
3197
3198         * tabular.h: compactification
3199
3200 2003-06-12  André Pönitz  <poenitz@gmx.net>
3201
3202         * tabular.C:
3203         * tabular.h:
3204         * tabular_funcs.h: some renaming plus whitespace
3205
3206 2003-06-12  André Pönitz  <poenitz@gmx.net>
3207
3208         * BufferView.C:
3209         * BufferView_pimpl.C:
3210         * CutAndPaste.C:
3211         * buffer.C:
3212         * iterators.[Ch]:
3213         * lyxfunc.C:
3214         * text.C:
3215         * toc.C: Return a Paragraph & for ParIterator::operator*()
3216
3217 2003-06-11  John Levon  <levon@movementarian.org>
3218
3219         * lyx_main.C:
3220         * ToolbarBackend.h:
3221         * ToolbarBackend.C: add "Toolbars" section and
3222         put the flags there
3223
3224 2003-06-10  Angus Leeming  <leeming@lyx.org>
3225
3226         * lfuns.h:
3227         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3228
3229         * lyxfunc.C (dispatch): invoke it.
3230
3231 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * main.C: protect <ios> with HAVE_IOS
3234         (main): protect sync_with_stdio with HAVE_IOS
3235
3236 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3237
3238         * text2.C (cutSelection): adjust
3239         (pasteSelection): adjust
3240
3241         * messages.C: handle get of empty string
3242
3243         * main.C (main): use sync_with_stdio(false)
3244
3245         * lyxfunc.C (dispatch): adjust
3246
3247         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3248         (WriteAs): remove unneeded BufferView arg.
3249
3250         * bufferparams.h: use correct types on papersize, papersize2 and
3251         paperpackage.
3252
3253         * bufferparams.C (readToken): adjust for type
3254         (writeLaTeX): add missing cases to switch.
3255
3256         * bufferlist.C (quitWriteBuffer): adjust
3257         (close): adjust
3258
3259         * buffer.C (asciiParagraph): remove some commented code.
3260
3261         * CutAndPaste.C: remove current_view extern variable.
3262         (cutSelection): add BufferParams arg.
3263         (eraseSelection): add BufferParams arg.
3264         (pasteSelection): add Buffer const & arg
3265
3266 2003-06-07  John Levon  <levon@movementarian.org>
3267
3268         * buffer.C:
3269         * paragraph_funcs.C:
3270         * paragraph_pimpl.C:
3271         * text.C:
3272         * text2.C:
3273         * paragraph.h:
3274         * paragraph.C: allow InsetERT to freely space lines,
3275         and some consolidation of code
3276
3277 2003-06-06  José Matos  <jamatos@fep.up.pt>
3278
3279         * buffer.C (makeDocBookFile): fix bug #821
3280
3281 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3284
3285 2003-06-04  Angus Leeming  <leeming@lyx.org>
3286
3287         * buffer.C: bump format to 224.
3288
3289 2003-06-05  André Pönitz  <poenitz@gmx.net>
3290
3291         * text2.C (redoParagraphs): remove two const_cast<>
3292
3293 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3294
3295         * ParagraphList.h: remove last remnants of NO_STD_LIST
3296
3297 2003-06-03  Angus Leeming  <leeming@lyx.org>
3298
3299         * factory.C (createInset): small change to the way InsetExternal's params
3300         are set.
3301
3302 2003-06-04  André Pönitz  <poenitz@gmx.net>
3303
3304         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3305
3306         * paragraph_pimpl.h:
3307         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3308
3309         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3310
3311         * undo_funcs.C: make some simple cases of undo work again
3312
3313 2003-06-03  John Levon  <levon@movementarian.org>
3314
3315         * ispell.C: HPUX doesn't have sys/select.h
3316         (from Albert Chin)
3317
3318 2003-06-03  John Levon  <levon@movementarian.org>
3319
3320         * CutAndPaste.C: update tabular and include inset
3321         buffer references
3322
3323         * buffer.h:
3324         * paragraph.h:
3325         * paragraph.C: remove owningBuffer(), don't pass Buffer
3326         to clone()
3327
3328         * factory.C: insetGraphicsParams changed
3329
3330 2003-06-02  John Levon  <levon@movementarian.org>
3331
3332         * LyXAction.C:
3333         * factory.C:
3334         * lfuns.h:
3335         * lyxfunc.C:
3336         * text3.C: remove insetparent
3337
3338 2003-06-02  John Levon  <levon@movementarian.org>
3339
3340         * buffer.h:
3341         * buffer.C: fix inset_iterator.end(), move out of line
3342         (bug 1149)
3343
3344 2003-06-01  John Levon  <levon@movementarian.org>
3345
3346         * text3.C: use a proper cut/paste when doing inset
3347         insert (from Jürgen Spitzmüller)
3348
3349 2003-06-01  John Levon  <levon@movementarian.org>
3350
3351         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3352
3353 2003-05-30  André Pönitz  <poenitz@gmx.net>
3354
3355         * rowpainter.C: unify second drawing phase
3356
3357 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * trans_mgr.C: remove one case of current_view
3360
3361         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3362
3363         * paragraph_funcs.h: remove paragraph.h include
3364
3365         * paragraph.h: delete NO_STD_LIST stuff
3366
3367         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3368
3369         * buffer.h: remove paragraph.h include
3370
3371         * ParagraphList.C: delete file
3372
3373         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3374
3375         * toc.C (getTocList): adjust
3376
3377         * paragraph_pimpl.C (validate): adjust
3378
3379         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3380
3381         * paragraph.C (Paragraph): adjust
3382         (getPositionOfInset): use const_iterator, adjust
3383         (bibitem): use const_iterator, adjust
3384         (setInsetOwner): adjust
3385
3386         * iterators.C (operator++): adjust
3387
3388         * InsetList.[Ch]: Replace selfmade iterator with standard
3389         vector::iterator also introduce const_iterator. Remove getPos,
3390         getInset and setInset from InsetTable. Adjust accordingly.
3391
3392         * BufferView.C (lockInset): adjust
3393         (ChangeInsets): adjust
3394
3395         * tabular.[Ch]: delete commented same_id functions
3396
3397 2003-05-28  John Levon  <levon@movementarian.org>
3398
3399         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3400
3401 2003-05-28  André Pönitz  <poenitz@gmx.net>
3402
3403         * metricsinfo.[Ch]: remove 'fullredraw' member
3404
3405 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3406
3407         * lyxtextclass.C (operator): remove caching.
3408
3409 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * text3.C: adjust
3412
3413         * text2.C (cursorBottom): adjust
3414         (setCounter): use ParagraphList::find, adjust
3415
3416         * text.C (workWidth): use ParagraphList::find, adjust
3417
3418         * lyxcursor.C (LyXCursor): adjust
3419
3420         * buffer.C (inset_iterator): adjust
3421
3422         * ParagraphList.h: make iterator(value_type) private, make
3423         ParagraphList a friend of iterator.
3424
3425         * ParagraphList.C (find): new function
3426
3427         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3428
3429 2003-05-27  André Pönitz  <poenitz@gmx.net>
3430
3431         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3432
3433 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3434
3435         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3436
3437 2003-05-26  John Levon  <levon@movementarian.org>
3438
3439         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3440
3441 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * remove same_id from function signatures, adjust.
3444
3445 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3448
3449         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3450
3451         * paragraph.C (Paragraph): get rid of same_ids parameter
3452
3453         * ParagraphList.C (insert): adjust
3454         (push_back): adjust
3455
3456 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3457
3458         * paragraph_funcs.C (breakParagraph): adjust
3459         (breakParagraphConservative): adjust
3460
3461         * buffer.C (readParagraph): adjust
3462
3463         * ParagraphList.C (insert): take a reference instead of a pointer
3464         (insert): adjust
3465
3466         * paragraph.[Ch] (id): new function
3467
3468         * bufferlist.C (newFile): adjust
3469
3470         * ParagraphList.C (ParagraphList): adjust
3471         (assign): adjust
3472         (push_back): take a reference instead of a pointer.
3473
3474         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3475
3476         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3477         instead.
3478
3479         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3480         set else use old code.
3481
3482         * ParagraphList.C: remove all NO_NEXT code and only compile this
3483         code of NO_STD_LIST is set.
3484
3485 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * BufferView_pimpl.C:
3488         * TextCache.C:
3489         * TextCache.h:
3490         * bufferlist.C:
3491         * errorlist.h:
3492         * format.C:
3493         * format.h:
3494         * graph.C:
3495         * lyxfunc.C:
3496         * lyxrc.C:
3497         * graphics/GraphicsConverter.C:
3498         * graphics/PreviewLoader.C: header adjustment
3499
3500 2003-05-23  Angus Leeming  <leeming@lyx.org>
3501
3502         * LaTeXFeatures.[Ch] (useBabel): new method.
3503         * bufferparams.C (writeLaTeX): use it.
3504
3505 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * ParagraphList.h (set): remove unused function.
3508
3509 2003-05-23  André Pönitz  <poenitz@gmx.net>
3510
3511         * BufferView.C:
3512         * BufferView_pimpl.C:
3513         * buffer.C:
3514         * buffer.h:
3515         * lyxfunc.C:
3516         * undo_funcs.C: setUndo reworked
3517
3518         * iterators.[Ch]: add access to topmost ParagraphList
3519
3520         * lyxtext.[Ch] (workWidth): add a const
3521
3522 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * texrow.[Ch] (increasePos): remove function
3525         * exporter.C (export): removed unused var and outdated comment
3526
3527 2003-05-23  Angus Leeming  <leeming@lyx.org>
3528
3529         * latexrunparams.h: rename fragile as moving_arg.
3530         * paragraph.C (simpleTeXOnePar): ditto.
3531         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3532
3533 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3536         (createUndo): ditto
3537         (textUndoOrRedo): comment out a currently unused var.
3538
3539         * paragraph.h (NO_NEXT): enable NO_NEXT
3540
3541         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3542
3543         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3544
3545         * exporter.C (Export): adjust for removeAutoInsets removal.
3546
3547         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3548
3549         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3550
3551         * BufferView.[Ch] (removeAutoInsets): delete function
3552
3553 2003-05-22  Angus Leeming  <leeming@lyx.org>
3554
3555         * latexrunparams.h: add a free_spacing variable.
3556
3557         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3558         to pass moving_arg, as the data is stored in runparams.fragile.
3559
3560         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3561         to Inset::latexOptional or to simpleTeXOnePar.
3562
3563         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3564         free_spacing arg to Inset::latexOptional.
3565
3566         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3567         free_spacing arg.
3568
3569 2003-05-22  Angus Leeming  <leeming@lyx.org>
3570
3571         * latexrunparams.h: add fragile and use_babel variables.
3572
3573         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3574         * buffer.C (makeLaTeXFile): store this returned value in
3575         runparams.use_babel, thus passing it to the inset::latex methods.
3576
3577         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3578         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3579
3580         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3581         longer has a fragile arg, as it is stored in runparams.fragile.
3582
3583         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3584         moving_arg parameter as the data is stored in runparams.fragile.
3585
3586         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3587         a fragile parameter as the data is stored in runparams.fragile.
3588
3589 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3592
3593 2003-05-22  Angus Leeming  <leeming@lyx.org>
3594
3595         * latexrunparams.h: add a 'bool nice' which defaults to false.
3596
3597         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3598         now encapsulated within runparams.
3599
3600         * bufferlist.C (updateIncludedTeXfiles):
3601         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3602
3603 2003-05-22  Angus Leeming  <leeming@lyx.org>
3604
3605         * latexrunparams.h: new file containing struct LatexRunParams.
3606         * Makefile.am: add new file.
3607
3608         * LaTeX.[Ch] (c-tor, run):
3609         * buffer.[Ch] (makeLaTeXFile):
3610         * bufferlist.[Ch] (updateIncludedTeXfiles):
3611         * converter.C (convert, scanLog):
3612         * converter.[Ch] (runLaTeX):
3613         * exporter.C (Export):
3614         * paragraph.[Ch] (simpleTeXOnePar):
3615         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3616         * paragraph_funcs.[Ch] (latexParagraphs):
3617         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3618         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3619         pass around a LatexRunParams parameter.
3620
3621 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * paragraph.[Ch]: remove unused constructor
3624
3625         * ParagraphList.C (erase): new function, taking two iterators
3626
3627 2003-05-22  André Pönitz  <poenitz@gmx.net>
3628
3629         * undo_funcs.C: remove duplicated code
3630
3631         * iterator.[Ch]: operator=
3632
3633 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * tabular.C (SetMultiColumn): ws changes
3636
3637         * rowpainter.C (paintFirst): get rid of a ->previous
3638
3639         * lyx_cb.C (getPossibleLabel): parlist simplification
3640
3641         * BufferView.C (ChangeInsets): simplify slightly.
3642
3643 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3644
3645         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3646         * lfuns.h: new LFUN_SPACE
3647         * lyxfunc.C: protected space has a new lfun
3648         * paragraph_funcs.C: read new space insets
3649         * text3.C:
3650         * factory.C: handle new space insets
3651
3652 2003-05-22  André Pönitz  <poenitz@gmx.net>
3653
3654         * BufferView.C:
3655         * BufferView_pimpl.C:
3656         * buffer.[Ch]:
3657         * lyxfunc.C:
3658         * undo_funcs.C: return a ParIterator from getParFromID.
3659
3660         * iterators.[Ch]: add two const's
3661
3662 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * toc.C (getTocList): adjust
3665
3666         * iterators.[Ch]: rework for parlist
3667
3668         * buffer.C (par_iterator_begin): adjust
3669         (par_iterator_end): adjust
3670
3671         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3672
3673         * BufferView.C (removeAutoInsets): adjust
3674         (ChangeInsets): adjust
3675
3676 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3677
3678         * text.C (top_y): fix bug 1110
3679
3680 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * errorlist.[Ch]: added
3683         * buffer.C:
3684         * BufferView.[Ch]:
3685         * BufferView_pimpl.C:
3686         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3687         instead
3688
3689 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * Makefile.am: ensure that lyx is relinked upon changes to the
3692         various "convenience" libs.
3693
3694 2003-05-20  Angus Leeming  <leeming@lyx.org>
3695
3696         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3697         files are compiled in alphabetical order again.
3698
3699         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3700
3701 2003-05-19  Angus Leeming  <leeming@lyx.org>
3702
3703         * gettext.[Ch]: remove "char const * _(char const *)".
3704
3705 2003-05-19  André Pönitz  <poenitz@gmx.net>
3706
3707         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3708
3709         * Makefile.am:
3710         * BufferView.C:
3711         * DepTable.h:
3712         * LaTeXFeatures.C:
3713         * buffer.C:
3714         * lyxfont.C:
3715         * lyxlex.h:
3716         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3717
3718 2003-05-19  André Pönitz  <poenitz@gmx.net>
3719
3720         * buffer.C:
3721         * lyxlayout.[Ch]:
3722         * lyxtextclass.[Ch]:
3723         * paragraph.C:
3724         * paragraph_funcs.[Ch]:
3725         * text2.C:
3726         * text3.C: more insetenv work
3727
3728 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * ParagraphParameters.C (params2string): small bug fixed
3731
3732 2003-05-16  André Pönitz  <poenitz@gmx.net>
3733
3734         * debug.C:
3735         * bufferview_funcs.C: patch from Kornel Benko to prevent
3736           crash when _(...) is called twice in a statement
3737
3738 2003-05-16  André Pönitz  <poenitz@gmx.net>
3739
3740         * BufferView.C:
3741         * lyxfunc.C:
3742         * text.C:
3743         * text2.C:
3744         * text3.C:
3745         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3746
3747 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3748
3749         * lyx_main.C (init): remove spurious static_cast
3750
3751 2003-05-14  André Pönitz  <poenitz@gmx.net>
3752
3753         * BufferView.C: fix format string
3754
3755 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * BufferView.[Ch] (insertErrors): removed
3758         * BufferView.[Ch] (showErrorList): added
3759         * buffer.C (runChkTeX):
3760         * converter.C (scanLog): call showErrorList instead of inserterrors
3761
3762 2003-05-13  André Pönitz  <poenitz@gmx.net>
3763
3764         * BufferView_pimpl.C:
3765         * buffer.C:
3766         * bufferview_func.C:
3767         * MenuBackend.C:
3768         * lyxfunc.C:
3769         * lyxrc.C:
3770         * tex-accent.C:
3771         * text3.C:
3772         * toc.C:
3773         * tabular_funcs.h: tostr() from its own header
3774
3775         * ParagraphParameters.C:
3776         * ToolbarBackend.C:
3777         * bufferparams.C:
3778         * format.C:
3779         * lyxlex_pimpl.C:
3780         * text3.C: STRCONV()
3781
3782 2003-05-12  André Pönitz  <poenitz@gmx.net>
3783
3784         * BufferView.C:
3785         * BufferView_pimpl.C:
3786         * CutAndPaste.C:
3787         * LaTeX.C:
3788         * LaTeXFeatures.C:
3789         * ParagraphParameters.C:
3790         * buffer.C:
3791         * bufferlist.C:
3792         * bufferparams.C:
3793         * bufferview_funcs.C:
3794         * converter.C:
3795         * counters.C:
3796         * debug.C:
3797         * exporter.C:
3798         * format.C:
3799         * importer.C:
3800         * lyx_cb.C:
3801         * lyx_main.C:
3802         * lyxfont.C:
3803         * lyxfunc.C:
3804         * lyxvc.C:
3805         * paragraph.C:
3806         * paragraph_funcs.C:
3807         * tabular.C:
3808         * tabular_funcs.C:
3809         * text2.C:
3810         * text3.C:  boost::format -> bformat  all over the place
3811
3812
3813 2003-05-09  André Pönitz  <poenitz@gmx.net>
3814
3815         * LColor.[Ch]: Pimpl the #include <map> away
3816
3817 2003-05-09  John Levon  <levon@movementarian.org>
3818
3819         * bufferlist.C: never remove emergency saves
3820
3821 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * Makefile.am: better lib building
3824
3825 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3828         instead.
3829         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3830         (simpleTeXSpecialChars): adjust
3831         (simpleTeXSpecialChars): adjust
3832         * paragraph.C (simpleTeXOnePar): adjust
3833         * buffer.C (makeLaTeXFile): adjust
3834
3835         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3836
3837         * text2.C (changeDepth): parlist cleanup
3838         (getColumnNearX): ditto
3839
3840         * rowpainter.C (getLabelFont): parlist cleanup
3841
3842         * bufferlist.C (newFile): parlist cleanup
3843
3844         * CutAndPaste.C (eraseSelection): parlist cleanup
3845
3846         * BufferView_pimpl.C (trackChanges): parlist cleanup
3847         (dispatch): ditto
3848
3849         * BufferView.C (lockInset): parlist cleanup.
3850         (ChangeInsets): ditto
3851
3852 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * CutAndPaste.h: Update file header.
3855
3856         * CutAndPaste.C: Update file header.
3857         Store the parts cut out of the Document in a limited_stack.
3858         (copySelection): adjust
3859         (pasteSelection): new function, takes the index in the limited stack.
3860         (nrOfParagraphs): adjust
3861         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3862         simplify error inset insertion.
3863         (checkPastePossible): adjust
3864
3865 2003-05-06  John Levon  <levon@movementarian.org>
3866
3867         * text2.C: don't cast wrap inset to float
3868
3869 2003-05-05  André Pönitz  <poenitz@gmx.net>
3870
3871         * iterator.C:
3872         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3873
3874         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3875           few naked Paragraph *.
3876
3877 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3878
3879         * bufferparams.C: Output warning if a document with missing
3880         TeX document class is loaded
3881         * exporter.C: Disable TeX exports if the document class is missing
3882         * lyxtextclass.C:
3883         * lyxtextclass.h:
3884         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3885         isTeXClassAvailable()
3886
3887 2003-05-03  John Levon  <levon@movementarian.org>
3888
3889         * BufferView.h:
3890         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3891         explicit cursor show/hide
3892
3893         * BufferView_pimpl.h:
3894         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3895         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3896
3897         * lyxfunc.C: hide cursor before dispatching.
3898
3899         * lyx_cb.C:
3900         * lyxfind.C:
3901         * text.C:
3902         * text3.C: remove explicit cursor hides
3903
3904 2003-05-02  André Pönitz  <poenitz@gmx.net>
3905
3906         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3907
3908         * undo_funcs.C:
3909         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3910           linked lists
3911
3912         * text2.C: tiny whitespace
3913
3914 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * undo_funcs.C: almost only ws changes.
3917
3918         * ParagraphList.C (splice): just return if pl is empty.
3919
3920 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * ParagraphList.C (splice): new function.
3923
3924         * CutAndPaste.C (pasteSelection): use it
3925
3926 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * CutAndPaste.C (pasteSelection): remove the last next and
3929         previous from this file.
3930
3931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * CutAndPaste.C (pasteSelection): more clean up, user proper
3934         ParagraphList functions for pasteing.
3935
3936         * ParagraphList.C (insert): new function, three arg insert
3937
3938 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * ParagraphList.C (insert): new function, three arg insert
3941
3942         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3943         not on paragraphs.
3944
3945 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3948
3949 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3952
3953 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3956         (copySelection): clean up a bit.
3957         (pasteSelection): use make_pair
3958
3959         * ParagraphList.C (ParagraphList): implement copy constructor
3960         (operator=): implement, base on copy constructor.
3961         (assign): new func
3962
3963         * paragraph.C (erase): return a bool
3964
3965         * paragraph_pimpl.C (erasePos): remove function, move contents...
3966         (erase): ... here. Return a bool.
3967         (erase): call erase instead of erasePos.
3968
3969 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3970
3971         * ParagraphList.h: define PitPosPair
3972         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3973         ParagraphList, fix a bug on pasting multiple pars
3974         * text2.C: change interface to C&P
3975
3976 2003-04-30  André Pönitz  <poenitz@gmx.net>
3977
3978         * undo_func.C: revert part of yesterday's patch 2
3979
3980 2003-04-30  John Levon  <levon@movementarian.org>
3981
3982         * LColor.C: s/tabular/table/
3983
3984 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * text3.C (dispatch): do not convert iterator -> pointer
3987         * undo_funcs.C (setCursorParUndo): ditto
3988         * text_funcs.C (transposeChars): ditto
3989
3990         * text2.C (setLayout): ws changes only
3991
3992         * text.C (breakParagraph): do not convert iterator -> pointer
3993         (insertChar): ditto
3994         (acceptChange): ditto
3995         (rejectChange): ditto
3996         (changeCase): ditto
3997         (Delete): ditto
3998         (backspace): ditto
3999
4000         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4001         pointer
4002
4003 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * text3.C (gotoInset): YABG (yet another bad getChar)
4006
4007 2003-04-29  André Pönitz  <poenitz@gmx.net>
4008
4009         * paragraph.h: make operator= private unimplemented as long as
4010           it is unusable
4011
4012         * ParagraphList.C: whitespace
4013
4014         * paragraph.[Ch]:
4015         * paragraph_pimpl.[Ch]:
4016         * paragraph_funcs.C:
4017         * CutAndPaste.C:
4018         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4019
4020         * text2.C:
4021           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4022
4023 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4024
4025         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4026         * paragraph.[Ch] (erase):
4027         * paragraph_pimpl.[Ch] (erase): change return type and value
4028         * text2.C (cutSelection): some rework
4029
4030 2003-04-28  John Levon  <levon@movementarian.org>
4031
4032         * bufferlist.C: changes for unsaved changes dialog
4033
4034 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * bufferlist.C (newFile): set language (messages_) for new
4037         documents also.
4038
4039         * buffer.C (readFile): ws changes only.
4040
4041 2003-04-28  André Pönitz  <poenitz@gmx.net>
4042
4043         * undo_funcs.C:
4044         * lyxfunc.C:
4045         * buffer.[Ch]:
4046         * BufferView_pimpl.C:
4047         * BufferView.C: getParFromID related ParagraphList::iterator changes
4048
4049 2003-04-28  André Pönitz  <poenitz@gmx.net>
4050
4051         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4052           Changes
4053
4054 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * messages.C: remove one more localedir class variable.
4057
4058 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * messages.C (getLocaleDir): singleton generation function
4061         (Pimpl): use it.
4062         (Messages): add a default constructor.
4063
4064         * main.C (main): do not setup localedir here, do not call
4065         gettext_init.
4066
4067         * gettext.C (_): use it.
4068         (gettext_init): delete funciton
4069
4070 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * gettext.C (getLyXMessages): new singleton generating function.
4073
4074         * buffer.C (updateDocLang): adjust
4075
4076         * Makefile.am (messages.o): add target
4077         (main.o): remove target
4078
4079 2003-04-27  John Levon  <levon@movementarian.org>
4080
4081         * bufferlist.C:
4082         * lyx_cb.C:
4083         * lyxfunc.C:
4084         * lyxvc.C: specify cancel button in Alert::prompt
4085
4086 2003-04-26  John Levon  <levon@movementarian.org>
4087
4088         * text3.C:
4089         * lyxfunc.C:
4090         * lfuns.h:
4091         * LyXAction.C: add LFUN_INSET_SETTINGS
4092
4093         * lyxfunc.C: don't enable tabular-feature when there's
4094         just any locking inset
4095
4096 2003-04-26  John Levon  <levon@movementarian.org>
4097
4098         * bufferlist.C: re-add Cancel to buffer close question
4099
4100         * lyxfunc.C: fix import UI a bit
4101
4102 2003-04-25  John Levon  <levon@movementarian.org>
4103
4104         * gettext.C: remove the broken asserts for now
4105
4106 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * messages.C: make case where setlocale cannot comply work better.
4109
4110         * buffer.C (updateDocLang): new function
4111         (changeLanguage): use it
4112         (readFile): use it
4113
4114         * text2.C (setCounter): use B_ a bit.
4115
4116         * lyxlayout.C (Read): be sure to trim the label strings.
4117
4118         * messages.C (Messages): fix typo in comment
4119
4120         * buffer.C (readFile): set message_ after file is loaded.
4121         (makeDocBookFile): remove double return
4122         (changeLanguage): reset message_ upon language change.
4123         (B_): new func, use this to get translated buffer strings.
4124
4125         * main.C: add myself and Jean Marc as authors.
4126
4127 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * messages.[hC]: pimplify Messages, and three different pimpls to be
4130         used in different circumstances.
4131
4132         * gettext.[Ch]: change for use with new message code.
4133
4134 2003-04-24 André Pönitz <poenitz@gmx.net>
4135
4136         * factory.C: support for eqref
4137
4138 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * messages.[Ch]: add missing char
4141
4142         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4143
4144         * messages.[Ch]: New files
4145
4146 2003-04-18  John Levon  <levon@movementarian.org>
4147
4148         * BufferView.h:
4149         * BufferView.C:
4150         * BufferView_pimpl.C:
4151         * lfuns.h:
4152         * LyXAction.C:
4153         * lyxtext.h:
4154         * text2.C: remove layout-copy/paste (bug 778)
4155
4156 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4157
4158         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4159
4160 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4163         if they succeed. Act accordingly.
4164
4165 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * text2.C (setCharFont): adjust
4168         (setCounter): adjust
4169         (insertStringAsLines): adjust
4170
4171         * text.C (leftMargin): adjust
4172         (setHeightOfRow): adjust
4173
4174         * rowpainter.C (paintFirst): adjust
4175         (paintLast): adjust
4176
4177         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4178         (outerHook): ditto
4179         (isFirstInSequence): ditto
4180         (getEndLabel): ditto
4181         (outerFont): adjust
4182
4183         * paragraph.C (getParLanguage): comment out some hard stuff.
4184
4185         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4186         (sgmlError): ditto
4187         (simpleDocBookOnePar): ditto
4188         (makeDocBookFile): use ParagraphList::iterator
4189
4190         * CutAndPaste.C (pasteSelection): adjust
4191
4192 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * text2.C (getFont): adjust
4195         (getLayoutFont): adjust
4196         (getLabelFont): adjust
4197
4198         * paragraph_funcs.C (TeXOnePar): adjust
4199
4200         * buffer.C (simpleLinuxDocOnePar): adjust
4201         (simpleDocBookOnePar): adjust
4202
4203         * CutAndPaste.C (pasteSelection): adjust
4204
4205         * BufferView.C (getEncoding): adjust
4206
4207         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4208
4209 2003-04-16  John Levon  <levon@movementarian.org>
4210
4211         * lyxfind.C: use parlist stuff for search/changes
4212
4213 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4216
4217         * text2.C (deleteEmptyParagraphMechanism): adjust
4218
4219         * text2.[Ch] (ownerParagraph): delete func (both of them
4220
4221 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4224
4225 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * ParagraphList.C: prepare for NO_NEXT
4228
4229 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * text2.C (getFont): adjust
4232         (getLayoutFont): adjust
4233         (getLabelFont): adjust
4234
4235         * paragraph.C (getFont): adjust
4236         (getLabelFont): adjust
4237         (getLayoutFont): adjust
4238
4239         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4240
4241 2003-04-15  John Levon  <levon@movementarian.org>
4242
4243         From Angus Leeming
4244
4245         * lyx_main.C: handle Include in .ui files
4246
4247 2003-04-15  John Levon  <levon@movementarian.org>
4248
4249         * MenuBackend.C: make the doc files length shorter
4250
4251         * ToolbarBackend.h:
4252         * ToolbarBackend.C: handle toolbar placement flags,
4253         Minibuffer
4254
4255 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4258         adjust
4259
4260         * paragraph_funcs.C (TeXOnePar): adjust
4261
4262         * paragraph.C (getLabelFont): add outerfont arg, adjust
4263         (getLayoutFont): ditto
4264         (simpleTeXOnePar): adjust
4265
4266         * paragraph_pimpl.C (realizeFont): delete func
4267
4268 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4269
4270         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4271         row argument, constify cur argument.
4272
4273 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * text2.C (getFont): adjust
4276         (getLayoutFont): adjust
4277         (getLabelFont): adjust
4278
4279         * paragraph_funcs.C (TeXOnePar): adjust
4280         (outerFont): new func...
4281         (realizeFont): ...moved out from here, changed this to facilitate
4282         transition
4283
4284         * paragraph.C (getFont): take outerfont as arg, adjust
4285         (simpleTeXOnePar): add outerfont arg, adjust
4286
4287         * buffer.C (simpleLinuxDocOnePar): adjust
4288         (simpleDocBookOnePar): adjust
4289
4290         * CutAndPaste.C (pasteSelection): adjust
4291
4292         * BufferView.C (getEncoding): adjust
4293
4294 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * text2.C (setCharFont): adjust
4297         (setCounter): adjust
4298
4299         * text.C (leftMargin): adjust
4300         (setHeightOfRow): adjust
4301
4302         * rowpainter.C (paintFirst): adjust
4303         (paintLast): adjust
4304
4305         * paragraph_pimpl.C (realizeFont): adjust
4306
4307         * paragraph.C (isFirstInSequence): move from here...
4308         * paragraph_funcs.C (isFirstInSequence): ...to here
4309
4310         * paragraph.C (outerHook): move from here...
4311         * paragraph_funcs.C (outerHook): ...to here
4312
4313         * paragraph.C (depthHook): move from here...
4314         * paragraph_funcs.C (depthHook): ...to here
4315
4316         * paragraph.C (getEndLabel): move from here...
4317         * paragraph_funcs.C (getEndLabel): ...to here
4318
4319         * text2.C (realizeFont): move from here...
4320         * paragraph_funcs.C (realizeFont): ...to here
4321
4322 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4325
4326 2003-04-14  Angus Leeming  <leeming@lyx.org>
4327
4328         * LColor.[Ch]: scrap LColor mathcursor.
4329
4330 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * lyxlex.[Ch] (text): delete function
4333         * trans.C (Load): adjust
4334         * paragraph_funcs.C (readParToken): adjust
4335
4336 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4339         vector<char> instead of a char[].
4340
4341         * lyxlex_pimpl.C (getString): adjust
4342         (next): adjust
4343         (lex): use getString
4344         (eatLine): adjust
4345         (nextToken): adjust
4346
4347         * lyxlex.C (text): use pimpl_->getString()
4348         (getBool): ditto
4349         (findToken): ditto
4350
4351 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4354         (makeFontEntriesLayoutSpecific): temp var for par.size()
4355         (setLayout): temp var for ownerParagraphs().end()
4356         (fullRebreak): temp var for rows().end()
4357         (selectionAsString): temp var for boost::next(startpit), realize
4358         that the while really is a regular for loop.
4359         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4360         setCursor in one place.
4361         (setParagraph): temp vr for ownerParagraphs().end()
4362         (updateCounters): make the while loop a for loop
4363         (cutSelection): temp var for ownerParagraphs().end()
4364         (updateInset): make the do {} while() a regular for loop
4365         (getCursorX): use temp vars
4366         (setCurrentFont): use temp vars
4367         (getColumnNearX): use temp vars
4368
4369 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * text.C (transformChar): use temp var for getChar
4372         (computeBidiTables): use temp var for row->par()
4373         (fill): move temp vars for row->par() and pit->layout() earlier in
4374         the function.
4375         (labelFill): use temp var for row->par()
4376         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4377         asc and desc, realize that pit never changes and that firstpit is
4378         just a duplicate and not needed. Exchange rit->par() with pit in a
4379         lot of places.
4380         (breakAgain): use a temp var for boost::next(rit)
4381         (breakAgainOneRow): ditto
4382         (breakParagraph): use a temp var for rows().begin()
4383         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4384         (cursorRightOneWord): use temp var for cursor.par() and
4385         cursor.pos(), remove usage of tmpcursor.
4386         (cursorLeftOneWord): use temp var for cursor.par() and
4387         cursor.pos() only set cur at end of function.
4388
4389 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * text.C, text2.C: exchange all usage of Paragraph::next with
4392         boost::next(ParagraphList::iterator)
4393
4394         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4395
4396         * text2.C (cursorTop): simplify implementation
4397         (cursorBottom): ditto
4398         (setParagraph): use ParagraphList::iterator
4399         (setCurrentFont): adjust
4400         (getColumnNearX): adjust
4401         (cursorRight): adjust
4402         (cursorLeft): remove usage of Paragraph::previous
4403         (cursorUpParagraph): ditto
4404         (deleteEmptyParagraphMechanism): slight cleanup
4405
4406         * text.C (isBoundary): take a Paragraph const & instead of a
4407         pointer as arg.
4408         (addressBreakPoint): ditto
4409         (leftMargin): remove usage of Paragraph::previous.
4410         (setHeightOfRow): ditto
4411         (cursorLeftOneWord): ditto
4412         (selectNextWordToSpellcheck): ditto
4413         (Delete): ditto
4414         (backspace): ditto
4415         (breakParagraph): remove one usage of Paragraph::next
4416         (redoParagraph): ditto
4417         (acceptChange): ditto
4418         (insertChar): adjust
4419         (rowBreakPoint): adjust
4420
4421         * bufferview_funcs.C (toggleAndShow): adjust
4422
4423 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4426         methods to access it.
4427         * lyxtext.h:
4428         * text.C: Added updateRowPositions to compute all row positions.
4429         Make top_y and getRowNearY() to use the cached y position
4430
4431 2003-04-11  John Levon  <levon@movementarian.org>
4432
4433         * text.C (rowBreakPoint): reintroduce the labelEnd
4434         checks, code copied from the row fill stuff. Deep voodoo.
4435
4436         * text.C (fill): add a comment and debugging for the
4437         next poor soul.
4438
4439 2003-04-11  John Levon  <levon@movementarian.org>
4440
4441         * text.C: make sure fullrow insets get wrapped to the next line,
4442         even when they're in a manual label
4443
4444 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4445
4446         * text2.C (insertParagraph): make it take ParagraphList::iterator
4447         as arg.
4448         (setLayout): make it return ParagraphList::iterator
4449         (redoParagraphs): ditto
4450         (setCounter): ditto
4451         (checkParagraph): ditto
4452
4453         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4454
4455         * text2.C: adjust several funcs.
4456         (realizeFont): take a ParagraphList::iterator as arg.
4457         (getLayoutFont): ditto
4458         (getLabelFont): ditto
4459         (setCharFont): ditto
4460
4461         * text.C: adjust several funcs.
4462
4463 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * text.C (selectNextWordToSpellcheck): don't accidentally
4466         skip insets
4467
4468 2003-04-10  John Levon  <levon@movementarian.org>
4469
4470         * ToolbarBackend.C (getIcon): special handling for
4471         LFUN_MATH_DELIM
4472
4473 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text2.C (cursorRight): a getChar assert fixed
4476
4477 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * text2.C (getFont): change to take a ParagraphList::iterator
4480         instead of Paragraph*
4481         Adjust several functions.
4482
4483         * text.C (transformChar): change to take a ParagraphList::iterator
4484         instead of Paragraph*
4485         (singleWidth): ditto
4486         Adjust several functions.
4487
4488         * rowpainter.C: adjust several functions
4489         * rowpainter.h:store a ParagraphList::iterator and not a
4490         Paragraph&.
4491
4492
4493 2003-04-09  John Levon  <levon@movementarian.org>
4494
4495         * lyxfunc.C:
4496         * lfuns.h:
4497         * LyXAction.h:
4498         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4499         and the "help" bits as well
4500
4501 2003-04-09  John Levon  <levon@movementarian.org>
4502
4503         * ToolbarBackend.h:
4504         * ToolbarBackend.C: allow multiple toolbars
4505
4506 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * undo_funcs.C (setCursorParUndo): adjust
4509
4510         * text_funcs.C (transposeChars): adjust
4511
4512         * text3.C (gotoNextInset): adjust
4513         (dispatch): adjust
4514
4515         * text2.C (setLayout): adjust
4516         (changeDepth): adjust
4517         (setFont): adjust
4518         (redoParagraphs): adjust
4519         (selectionAsString): adjust
4520         (setParagraph): adjust
4521         (insertInset): adjust
4522         (cutSelection): adjust
4523         (copySelection): adjust
4524         (pasteSelection): adjust
4525         (insertStringAsLines): adjust
4526         (updateInset): adjust
4527         (setCursor): change to take a ParagraphList::iterator parameter
4528         (setCursorIntern): change to take a ParagraphList::iterator parameter
4529         (setCurrentFont): adjust
4530         (cursorLeft): adjust
4531         (cursorRight): adjust
4532         (deleteEmptyParagraphMechanism): adjust
4533
4534         * text.C (breakParagraph): adjust
4535         (insertChar): adjust
4536         (acceptChange): adjust
4537         (rejectChange): adjust
4538         (selectNextWordToSpellcheck): adjust
4539         (changeCase): adjust
4540         (Delete): adjust
4541         (backspace): adjust
4542
4543         * lyxfind.C (SearchForward): adjust
4544         (SearchBackward): adjust
4545         (nextChange): adjust
4546
4547         * lyxcursor.C (par): adjust
4548
4549         * lyxcursor.h: store a ParagraphList::iterator instead of a
4550         Paragraph*
4551
4552         * lyx_cb.C (getPossibleLabel): adjust
4553
4554         * bufferview_funcs.C (toggleAndShow): adjust
4555
4556         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4557         (dispatch): adjust
4558
4559         * BufferView.C (removeAutoInsets): adjust
4560         (lockedInsetStoreUndo): adjust
4561
4562 2003-04-09  John Levon  <levon@movementarian.org>
4563
4564         * ToolbarBackend.C: try icon without argument
4565         if with argument fails
4566
4567 2003-04-08  John Levon  <levon@movementarian.org>
4568
4569         * ToolbarBackend.h:
4570         * ToolbarBackend.C: add getIcon(), handle tooltip,
4571         and change from "Icon" to "Item".
4572
4573 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4574
4575         * BufferView.C (lockInset): another bad getchar crunched
4576
4577 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4578
4579         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4580         again)
4581
4582 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * lyxfind.C (searchForward, searchBackwards): bug 782
4585
4586 2003-04-07  John Levon  <levon@movementarian.org>
4587
4588         * paragraph.C: remove dead comment
4589
4590         * text.C: remove troublesome depth-fiddling code
4591         in leftMargin() and rightMargin() (bug 1017)
4592
4593         * text.C: fix breaking of rows in nested lists
4594         (bug 1004)
4595
4596         * text2.C (updateCounters): fix up depth values
4597         (bug 1013)
4598
4599 2003-04-07  John Levon  <levon@movementarian.org>
4600
4601         * BufferView_pimpl.C: clear message when doc finishes resizing,
4602         and after a mouse event
4603
4604         * lyxfunc.C: clear message after exiting inset
4605
4606 2003-04-07  John Levon  <levon@movementarian.org>
4607
4608         * bufferview_funcs.C: show math status not outside
4609         status in the statusbar
4610
4611 2003-04-07  John Levon  <levon@movementarian.org>
4612
4613         * lyxfunc.C: note status changed after a depth change
4614
4615 2003-04-04  Angus Leeming  <leeming@lyx.org>
4616
4617         * LaTeX.h: move AuxInfo operator==, != out of line.
4618         Remove LaTeX virtual destructor; nothing derives from it.
4619         Move operator()() out of public area and rename it startscript().
4620         Change protected for private.
4621
4622 2003-04-04  Angus Leeming  <leeming@lyx.org>
4623
4624         * lyxfunc.C:
4625         * text2.C: remove unneeded #includes.
4626
4627 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * text2.C (dEPM): fix the heigth of the next row
4630
4631 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4632
4633         * text.C: squashed an invalid getChar requester + some ws changes
4634
4635 2003-04-03  John Levon  <levon@movementarian.org>
4636
4637         * bufferview_funcs.h:
4638         * bufferview_funcs.C:
4639         * lyxfunc.C:
4640         * lyxtext.h:
4641         * text2.C: make getStatus work for the env depth lfuns
4642
4643 2003-04-03  John Levon  <levon@movementarian.org>
4644
4645         * bufferview_funcs.h:
4646         * bufferview_funcs.C:
4647         * lyxfunc.C:
4648         * lyxtext.h:
4649         * text2.C: parlistize decDepth(), by merging it with incDepth()
4650
4651 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * lyxrow.h: store a ParagraphList::iterator instead of a
4654         Paragraph* and adjust other class functions to suit.
4655
4656         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4657         above.
4658
4659 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * text2.C (setCursor): do not anchor to cursor row for the time being
4662
4663 2003-04-02  John Levon  <levon@movementarian.org>
4664
4665         * LyXAction.C:
4666         * lfuns.h:
4667         * lyx_main.C:
4668         * lyxtext.h:
4669         * text.C:
4670         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4671
4672 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * paragraph.h: make ParagraphList and ParagraphList::iterator
4675         friends of Paragraph.
4676
4677         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4678
4679         * ParagraphList.C: Use the private next_ and previous_ from
4680         Paragraph.
4681
4682 2003-04-01  John Levon  <levon@movementarian.org>
4683
4684         * ToolbarBackend.h:
4685         * ToolbarBackend.C:
4686         * Makefile.am: rename, remove defaults gunk
4687
4688         * MenuBackend.h:
4689         * MenuBackend.C: remove defaults gunk
4690
4691         * Languages.h:
4692         * Languages.C: remove defaults gunk
4693
4694         * lyx_main.h:
4695         * lyx_main.C: error out if files couldn't be found.
4696
4697 2003-04-02  John Levon  <levon@movementarian.org>
4698
4699         * text2.C: make incDepth() use parlist
4700
4701 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * undo_funcs.C (firstUndoParagraph): adjust
4704
4705         * text3.C (gotoInset): adjust
4706         (dispatch): adjust, and rewrite loop.
4707
4708         * text2.C (init): adjust, and rewrite loop.
4709         (redoParagraphs): adjust
4710         (updateInset): adjust, and rewrite loop.
4711         (deleteEmptyParagraphMechanism): adjust
4712
4713         * tabular.C (LyXTabular): adjust
4714         (SetMultiColumn): adjust
4715         (TeXRow): adjust
4716
4717         * lyxtext.[Ch] (ownerParagraph): delete function
4718         (ownerParagraphs): new function returns a ParagraphList.
4719
4720         * BufferView.C (removeAutoInsets): adjust
4721         (insertErrors): adjust
4722         (setCursorFromRow): adjust
4723
4724 2003-04-01  Angus Leeming  <leeming@lyx.org>
4725
4726         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4727         in the frontends.
4728
4729 2003-04-02  John Levon  <levon@movementarian.org>
4730
4731         * lyxtext.h:
4732         * text.C:
4733         * Makefile.am:
4734         * text_funcs.h:
4735         * text_funcs.C: make transposeChars a free function
4736
4737         * lyxrow_funcs.C: remove wrong comment
4738
4739 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * lyxtext.h: adjust
4742         * rowpainter.C: adjust
4743         * text.C: adjust
4744         * text2.C: adjust
4745         * text3.C: adjust
4746
4747         * lyxrow_funcs. [Ch]: new files
4748
4749         * lyxrow.[Ch]: remove next and previous pointers
4750         (next,previous): remove accessor functions
4751         (isParEnd): move to lyxrow_funcs
4752         (lastPos): move to lyxrow_funcs
4753         (nextRowIsAllInset): move to lyxrow_funcs
4754         (lastPrintablePos): move to lyxrow_funcs
4755         (numberOfSeparators): move to lyxrow_funcs
4756         (numberOfHfills): move to lyxrow_funcs
4757         (numberOfLabelHfills): move to lyxrow_funcs
4758         (hfillExpansion): move to lyxrow_funcs
4759
4760         * lyxfunc.C: adjust
4761
4762         * bufferview_funcs.C (toggleAndShow): adjust
4763
4764         * RowList.h: Remove class RowList from file leave just a
4765         std::list<Row>.
4766
4767         * RowList.C: delete file
4768
4769         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4770         and lyxrow_funcs.h
4771
4772 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * text3.C (cursorPrevious): adjust
4775         (cursorNext): adjust
4776         (dispatch): adjust
4777
4778         * text2.C (redoHeightOfParagraph): adjust
4779         (redoDrawingOfParagraph): adjust
4780         (setCursor): adjust
4781
4782         * text.C (breakParagraph): adjust
4783         (insertChar): adjust
4784         (backspace): adjust
4785
4786         * rowpainter.C (RowPainter): adjust
4787         (leftMargin): simplify and adjust
4788         (most rowpainter functions): adjust.
4789
4790         * rowpainter.h: store the row as RowList::iterator not as Row*
4791
4792         * lyxcursor.C (row): taka RowList::iterator as arg
4793         (irow): ditto
4794
4795         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4796         of Row*.
4797
4798 2003-04-01  Angus Leeming  <leeming@lyx.org>
4799
4800         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4801         stuff like bool Bool.
4802
4803 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4806         rewrite a loop
4807
4808 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4811         RowList::iterator.
4812
4813         * lyxtext.h (rows): drop one version and leve a const variant that
4814         returns a RowList::iterator.
4815
4816 2003-03-31  Angus Leeming  <leeming@lyx.org>
4817
4818         * text.C (fill): ensure that the signature is the same as that in the
4819         header file.
4820
4821 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * text2.C (redoParagraphs): adjust
4824         (updateCounters): adjust
4825         (checkParagraph): adjust
4826         (getColumnNearX): adjust and reformat a bit.
4827
4828         * text.C (top_y): adjust
4829         (workWidth): adjust
4830         (leftMargin): adjust
4831         (prepareToPrint): adjust
4832         (getRow): adjust
4833         (getRowNearY): adjust
4834
4835         * lyxtext.h: make rowlist_ mutable.
4836
4837         * RowList.h: add const_iterator
4838         * RowList.C: adjust for RowList::const_iterator.
4839
4840         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4841         adjust.
4842
4843 2003-03-31  John Levon  <levon@movementarian.org>
4844
4845         * lyxrc.h:
4846         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4847
4848         * lyx_main.C: set default fonts from using lyx_gui funcs
4849
4850         * exporter.C: pdf_mode moved from lyxrc
4851
4852         * lyx_cb.C:
4853         * lyxfunc.C: changes from above
4854
4855 2003-03-31  John Levon  <levon@movementarian.org>
4856
4857         * lyx_main.C: fix to the last fix
4858
4859 2003-03-31  John Levon  <levon@movementarian.org>
4860
4861         * bufferlist.C: "Load original" -> "Load Original"
4862
4863         * converter.C:
4864         * exporter.C:
4865         * importer.C:
4866         * lyx_main.C:
4867         * format.C: more Alert cleanups
4868
4869 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * text2.C (removeParagraph): make it take a RowList::iterator as
4872         arg, adjust.
4873         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4874         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4875
4876         * text.C (anchor_row): make it take a RowList::iterator as arg,
4877         adjust.
4878         (computeBidiTables): make it take a const reference to Row instead
4879         of Row pointer, adjust.
4880         (leftMargin): make it take a RowList::iterator as arg, adjust.
4881         (rowBreakPoint): adjust
4882         (breakAgainOneRow): make it take a RowList::iterator as arg,
4883         adjust.
4884         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4885
4886         * bufferview_funcs.C (toggleAndShow): adjust
4887
4888 2003-03-30  John Levon  <levon@movementarian.org>
4889
4890         * Makefile.am:
4891         * BoostFormat.h:
4892         * boost-inst.C: moved to support
4893
4894         * several files: changes as a result
4895
4896 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * text2.C (LyXText): adjust.
4899         (init): adjust
4900         (removeRow): make it take a RowList::iterator as arg, adjust.
4901         (fullRebreak): adjust
4902         (deleteEmptyParagraphMechanism): adjust
4903         (clearPaint): adjust
4904         (postPaint): adjust
4905
4906         * text.C (top_y): adjust
4907         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4908         (breakAgain): make it take a RowList::iterator as arg, adjust.
4909         (breakParagraph): adjust
4910         (insertChar): adjust
4911         (backspace): adjust
4912
4913         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4914         need_break_row, and refresh_row.
4915
4916         * text3.C (dispatch): adjust
4917
4918         * text2.C (checkParagraph): adjust
4919         (setCursor): adjust
4920         (setCursorFromCoordinates): adjust
4921
4922         * text.C (top_y): adjust
4923         (workWidth): adjust
4924         (getRow): make it return a RowList::iterator, adjust
4925         (getRowNearY): make it return a RowList::iterator, adjust
4926
4927         * text2.C (init): adjust
4928         (insertRow): remove function
4929         (insertParagraph): adjust
4930         (redoParagraphs): adjust
4931         (fullRebreak): adjust
4932         (updateCounters): adjust
4933
4934         * text.C (top_y): rewrite to use RowList iterators.
4935         (top_y): adjust
4936         (setHeightOfRow): rewrite to sue RowList iterators.
4937         (appendParagraph): adjust
4938         (breakAgain): adjust
4939         (breakAgainOneRow): adjust
4940         (breakParagraph): adjust
4941         (getRow): adjust
4942         (getRowNearY): adjust, and remove commented code.
4943
4944         * lyxtext.h (firstRow): delete function
4945         (lastRow): delete function
4946         (rows): new function (const and non-const versions.)
4947         (insertRow): delete function
4948
4949         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4950
4951 2003-03-29  John Levon  <levon@movementarian.org>
4952
4953         * BufferView_pimpl.C: always update scrollbar top
4954         because pasting text when we're anchored could mean we
4955         miss an update altogether
4956
4957 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * text2.C (init): use rowlist_.end() and not 0.
4960         (insertRow): change to take a RowList::iterator as arg, adjust
4961         for this.
4962         (insertParagraph): change to take a RowList::iterator as arg,
4963         adjust for this.
4964         (redoParagraphs): remove some debug msgs.
4965
4966         * text.C (appendParagraph): change to take a RowList::iterator
4967         arg, adjust for this.
4968         (breakAgain): add an assert
4969         (breakAgainOneRow): ditto
4970
4971 2003-03-29  John Levon  <levon@movementarian.org>
4972
4973         * text2.C: do not clear selection after inc/decDepth
4974         (bug 550)
4975
4976 2003-03-29  John Levon  <levon@movementarian.org>
4977
4978         * BufferView.C:
4979         * buffer.C: fix broken strerrors according to Lars
4980
4981 2003-03-29  John Levon  <levon@movementarian.org>
4982
4983         * converters.C: more Alert cleanups
4984
4985 2003-03-29  John Levon  <levon@movementarian.org>
4986
4987         * bufferview_funcs.C: remove pointless Alert
4988
4989         * buffer.C: fix confusing error message when
4990         a template is chmoded 000
4991
4992 2003-03-29  John Levon  <levon@movementarian.org>
4993
4994         * BufferView.C:
4995         * BufferView.h:
4996         * BufferView_pimpl.C: Alert fixes
4997
4998         * Makefile.am:
4999         * tabular.C:
5000         * tabular-old.C: remove unused table compat reading
5001
5002 2003-03-29  John Levon  <levon@movementarian.org>
5003
5004         * BufferView.C:
5005         * buffer.C:
5006         * lyx_cb.h:
5007         * lyx_cb.C: more Alert cleanups
5008
5009         * lyxfunc.C: don't allow chktex if not latex document
5010
5011 2003-03-29  John Levon  <levon@movementarian.org>
5012
5013         * lyx_cb.C:
5014         * BufferView.C:
5015         * buffer.C: warnings pushed down from support/,
5016         kill err_alert
5017
5018 2003-03-29  John Levon  <levon@movementarian.org>
5019
5020         * lyxfunc.C: safety check for C-r (revert)
5021
5022 2003-03-29  John Levon  <levon@movementarian.org>
5023
5024         * bufferlist.h:
5025         * bufferlist.C: several UI fixes using Alert::prompt.
5026         Fix the pointless looping quit code. Fix stupid revert
5027         behaviour (bug 938)
5028
5029         * lyxvc.h:
5030         * lyxvc.C:
5031         * lyx_cb.C: use Alert::prompt
5032
5033         * lyx_main.C: remove a silly question
5034
5035         * lyxfunc.C: remove a couple of silly questions,
5036         use Alert::prompt
5037
5038 2003-03-28  John Levon  <levon@movementarian.org>
5039
5040         * text2.C: fix bug 974 (End on empty par)
5041
5042 2003-03-28  John Levon  <levon@movementarian.org>
5043
5044         * BufferView_pimpl.C:
5045         * LyXAction.C:
5046         * lfuns.h: remove do-nothing math greek lfuns
5047
5048 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * lyxgluelength.h (isValidGlueLength): add default arg on
5051         parameter 2. Remove default arg from friend in class.
5052
5053         * lyxlength.h (isValidLength): add default arg on parameter 2.
5054         Remove default arg from friend in class.
5055
5056         * text2.C (LyXText): adjust, initialize refresh_row.
5057         (init): adjust
5058         (removeRow): adjust
5059         (insertRow): adjust
5060         (insertParagraph): adjst
5061         (redoParagraphs): adjust
5062         (fullRebreak): adjust
5063         (updateCounters): adjust
5064         (deleteEmptyParagraphMechanism): first attempt at fixing a
5065         crashing bug.
5066
5067         * text.C (top_y): adjust
5068         (setHeightOfRow): adjust
5069         (getRow): adjust
5070         (getRowNearY): adjust
5071
5072         * lyxtext.h: include RowList.h
5073         (~LyXText): not needed anymore, deleted.
5074         (firstRow): modify for RowList
5075         (lastRow): new function
5076         Delete firstrow and lastrow class variables, add a Rowlist
5077         rowlist_ class variable.
5078
5079         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5080         paragraph is empty.
5081
5082         * RowList.C (insert): fix case where it == begin().
5083
5084 2003-03-26  Angus Leeming  <leeming@lyx.org>
5085
5086         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5087         the thesaurus dialog.
5088
5089 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5092
5093         * RowList.[Ch]: new files
5094
5095         * ParagraphList.C (erase): handle the case where it == begin
5096         correctly.
5097
5098 2003-03-25  John Levon  <levon@movementarian.org>
5099
5100         * Makefile.am:
5101         * aspell_local.h:
5102         * aspell.C: add new aspell support
5103
5104         * lyxrc.h:
5105         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5106         have it accessible.
5107
5108 2003-03-25  Angus Leeming  <leeming@lyx.org>
5109
5110         * lfuns.h:
5111         * LyXAction.C (init): new LFUN_INSET_INSERT.
5112
5113         * BufferView_pimpl.C (dispatch): split out part of the
5114         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5115
5116         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5117         LFUN_INSET_APPLY.
5118
5119 2003-03-25  Angus Leeming  <leeming@lyx.org>
5120
5121         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5122
5123 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * text2.C:
5126         * text3.C: remove useless row->height(0)
5127
5128 2003-03-25  John Levon  <levon@movementarian.org>
5129
5130         * lyxtext.h:
5131         * text2.C:
5132         * text3.C: rename the refreshing stuff to better names
5133
5134 2003-03-24  John Levon  <levon@movementarian.org>
5135
5136         * BufferView_pimpl.h:
5137         * BufferView_pimpl.C: update layout choice on a mouse
5138         press/release
5139
5140 2003-03-23  John Levon  <levon@movementarian.org>
5141
5142         * Makefile.am: fix commandtags.h reference
5143
5144 2003-03-22  John Levon  <levon@movementarian.org>
5145
5146         * BufferView_pimpl.C:
5147         * lyxtext.h:
5148         * rowpainter.C:
5149         * rowpainter.h:
5150         * text.C:
5151         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5152
5153 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * lyxtext.h:
5156         * text.C: take the rtl methods out of line
5157
5158 2003-03-21 André Pönitz <poenitz@gmx.net>
5159
5160         * metricsinfo.[Ch]: new files containing structures to be passed around
5161         during the two-phase-drawing...
5162
5163 2003-03-21 André Pönitz <poenitz@gmx.net>
5164
5165         * lyxtextclass.C: read 'environment' tag.
5166
5167 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * text2.C (removeRow): fix bug 964
5170
5171 2003-03-20  John Levon  <levon@movementarian.org>
5172
5173         * rowpainter.C:
5174         * text.C:
5175         * text2.C: paint cleanups. Inset::update() dropped font
5176         parameter
5177
5178 2003-03-19  John Levon  <levon@movementarian.org>
5179
5180         * lyxfunc.C: only fitcursor/markDirty if available()
5181
5182 2003-03-19  John Levon  <levon@movementarian.org>
5183
5184         * commandtags.h: rename to ...
5185
5186         * lfuns.h: ... this, and renumber / cleanup
5187
5188 2003-03-19  John Levon  <levon@movementarian.org>
5189
5190         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5191         fit the cursor after an lfun
5192
5193         * BufferView.h:
5194         * BufferView.C:
5195         * BufferView_pimpl.h:
5196         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5197
5198         * LyXAction.C: layout-character should have ReadOnly
5199
5200         * ParagraphParameters.C:
5201         * buffer.C:
5202         * bufferview_funcs.C:
5203         * lyx_cb.C:
5204         * lyxfind.C:
5205         * lyxtext.h:
5206         * text.C:
5207         * text2.C:
5208         * text3.C:
5209         * undo_funcs.C: changes from above
5210
5211 2003-03-18  John Levon  <levon@movementarian.org>
5212
5213         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5214         remove it from update()
5215
5216         * lyxfunc.C: update layout choice after an lfun
5217
5218         * text3.C: remove extra updateLayoutChoice()s
5219
5220 2003-03-18  John Levon  <levon@movementarian.org>
5221
5222         * text.C: top_y change means full repaint, fix
5223         a drawing bug with cursor movement
5224
5225 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * lyxtext.h:
5228         * text.C:
5229         * text2.C: anchor row on setCursor
5230
5231 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5232
5233         * lyxtext.h: remove almost all mutable keywords
5234         * text.C:
5235         * text2.C:
5236         * text3.C: remove const keywords accordingly
5237
5238 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5241         anon namespace
5242         (TeXEnvironment): ditto
5243         (TeXOnePar): ditto
5244
5245 2003-03-17  John Levon  <levon@movementarian.org>
5246
5247         * text.C (rowBreakPoint): remove attempt to fix displayed
5248         math insets inside a manual label
5249
5250 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * lyxtext.h: remove BufferView* as first arg from almost all class
5253         functions.
5254         * other files: adjust.
5255
5256 2003-03-17  John Levon  <levon@movementarian.org>
5257
5258         * lyxtext.h:
5259         * undo_funcs.C:
5260         * text2.C: more paint cleanups
5261
5262         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5263
5264         * rowpainter.h:
5265         * rowpainter.C: remove "smart" background painting code
5266
5267 2003-03-16  John Levon  <levon@movementarian.org>
5268
5269         * lyxtext.h:
5270         * text.C:
5271         * text2.C:
5272         * text3.C: add helper functions for setting refresh_row/y
5273
5274 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5275
5276         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5277         newline inset which *can* get inserted in the pass_thru layouts.
5278         This is primarily for literate documents.
5279
5280 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5281
5282         * buffer.C: increment LYX_FORMAT to 223
5283
5284 2003-03-14 André Pönitz <poenitz@gmx.net>
5285
5286         * textclass.h: prepare for environment handling, ws changes
5287         * lyxlayout.C: read latexheader and latexfooter tags
5288
5289 2003-03-14  John Levon  <levon@movementarian.org>
5290
5291         * text2.C: rewrite ::status() a bit
5292
5293 2003-03-13  John Levon  <levon@movementarian.org>
5294
5295         * lyxtext.h: add some docs
5296
5297 2003-03-13  John Levon  <levon@movementarian.org>
5298
5299         * lyxtext.h:
5300         * text.C:
5301         * text2.C:
5302         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5303
5304 2003-03-13  John Levon  <levon@movementarian.org>
5305
5306         * text3.C: fix appendix redrawing
5307
5308 2003-03-13  John Levon  <levon@movementarian.org>
5309
5310         * text.C (setHeightOfRow):
5311         * rowpainter.h:
5312         * rowpainter.C: make appendix mark have the text
5313           "Appendix" so the user knows what it is
5314
5315         * LColor.h:
5316         * LColor.C: s/appendixline/appendix/ from above
5317
5318 2003-03-13  John Levon  <levon@movementarian.org>
5319
5320         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5321
5322         * text.C: fix a getChar(pos) bug properly
5323
5324 2003-03-13  Angus Leeming  <leeming@lyx.org>
5325
5326         * commandtags.h:
5327         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5328         Probably only temporary. Let's see how things pan out.
5329
5330         * BufferView.C (unlockInset):
5331         * BufferView_pimpl.C (fitCursor):
5332         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5333
5334         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5335         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5336
5337         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5338         new functions that convert ParagraphParameters to and from a string.
5339
5340         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5341         BufferView::Pimpl's dispatch.
5342         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5343
5344 2003-03-13 André Pönitz <poenitz@gmx.net>
5345
5346         * lyxfunc.C:
5347         * text3.C:
5348         * factory.C: make it aware of InsetEnv
5349
5350 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * text2.C (setCursor): never ask for one past last
5353         (setCursor): add some debugging messages.
5354
5355         * text.C (singleWidth): never ask for one past last
5356         (singleWidth): ditto
5357         (leftMargin): ditto
5358         (rightMargin): ditto
5359         (rowBreakPoint): ditto
5360         (setHeightOfRow): ditto
5361         (prepareToPrint): ditto
5362
5363         * rowpainter.C (paintBackground): never ask for one past last
5364         (paintText): never ask for one past last
5365
5366         * paragraph_pimpl.C (getChar): make the assert stricter, never
5367         allow the one past last pos to be taken
5368
5369         * paragraph.C (getChar): ws changes only
5370
5371         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5372         (numberOfSeparators): ditto
5373         (numberOfHfills): ditto
5374
5375 2003-03-12  John Levon  <levon@movementarian.org>
5376
5377         * author.h:
5378         * author.C:
5379         * bufferparams.h:
5380         * bufferparams.C:
5381         * paragraph_funcs.C: fix per-buffer authorlists
5382
5383 2003-03-12  John Levon  <levon@movementarian.org>
5384
5385         * text.C: fix newline in right address
5386
5387 2003-03-12  Angus Leeming  <leeming@lyx.org>
5388
5389         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5390         duplicate those in LyXFunc::dispatch.
5391
5392         * commandtags.h:
5393         * LyXAction.C:
5394         * ToolbarDefaults.C:
5395         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5396         Add LFUN_FONTFREE_UPDATE.
5397
5398         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5399         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5400
5401         * bufferview_func.[Ch]: several new functions to facilliate
5402         transfer of data to and from the character dialog.
5403
5404 2003-03-12  John Levon  <levon@movementarian.org>
5405
5406         * buffer.C:
5407         * paragraph.h:
5408         * paragraph.C:
5409         * paragraph_funcs.C:
5410         * paragraph_pimpl.C:
5411         * sgml.C:
5412         * tabular.C:
5413         * text.C:
5414         * text3.C: remove META_NEWLINE in favour of an inset
5415
5416         * rowpainter.h:
5417         * rowpainter.C: remove paintNewline (done by inset)
5418
5419 2003-03-12  John Levon  <levon@movementarian.org>
5420
5421         * paragraph_pimpl.C: complain about bad getChar()s
5422         for a while at least
5423
5424 2003-03-12  John Levon  <levon@movementarian.org>
5425
5426         * buffer.h:
5427         * buffer.C: move paragraph read into a separate function,
5428         a little renaming to reflect that.
5429
5430         * bufferparams.h:
5431         * bufferparams.C: remove the author_ids map, not necessary now
5432
5433         * factory.h:
5434         * factory.C: moved Buffer::readInset to here
5435
5436         * paragraph_funcs.h:
5437         * paragraph_funcs.C: readParagraph free function moved from
5438         buffer.C
5439
5440         * tabular.C: name change
5441
5442 2003-03-12  John Levon  <levon@movementarian.org>
5443
5444         * buffer.C:
5445         * ParagraphParameters.C: move par params input to
5446         a read() method
5447
5448         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5449         behave like a normal read from the stream wrt reading
5450         a line vs. a \\token
5451
5452 2003-03-12  John Levon  <levon@movementarian.org>
5453
5454         * paragraph.C:
5455         * ParagraphParameters.h:
5456         * ParagraphParameters.C: move output code to a
5457         ::write() method
5458
5459 2003-03-12  John Levon  <levon@movementarian.org>
5460
5461         * BufferView.C (insertLyXFile):
5462         * buffer.h:
5463         * buffer.C:
5464         * tabular.C: use a parlist iterator for creating the
5465           document.
5466
5467 2003-03-12  John Levon  <levon@movementarian.org>
5468
5469         * buffer.C: make current_change static local not
5470           static file-scope
5471
5472 2003-03-12  John Levon  <levon@movementarian.org>
5473
5474         * buffer.C: fix insertStringAsLines for change tracking
5475
5476 2003-03-12  John Levon  <levon@movementarian.org>
5477
5478         * BufferView.C:
5479         * tabular.C:
5480         * buffer.h:
5481         * buffer.C:
5482         * bufferparams.h:
5483         * bufferparams.C: move author list into params. Rename some
5484           functions. Move the header reading into a separate token
5485           loop. Move the header token reading into BufferParams.
5486
5487 2003-03-12  John Levon  <levon@movementarian.org>
5488
5489         * changes.C: put debug inside lyxerr.debugging() checks
5490
5491 2003-03-11 André Pönitz <poenitz@gmx.net>
5492
5493         * factory.C: make it aware of InsetHFill
5494
5495 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5496
5497         * buffer.C (latexParagraphs): move function from here...
5498         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5499         args.
5500
5501 2003-03-10  Angus Leeming  <leeming@lyx.org>
5502
5503         * LyXAction.C (init): fix bug in poplating array with multiple entries
5504         with the same LFUN (spotted by JMarc).
5505
5506 2003-03-10  John Levon  <levon@movementarian.org>
5507
5508         * text.C:
5509         * text2.C: move getColumnNearX() near its
5510         only call site
5511
5512 2003-03-10  John Levon  <levon@movementarian.org>
5513
5514         * text.C: fix break before a minipage
5515
5516 2003-03-10  John Levon  <levon@movementarian.org>
5517
5518         * text.C: fix the last commit
5519
5520 2003-03-09  John Levon  <levon@movementarian.org>
5521
5522         * lyxtext.h:
5523         * text.C:
5524         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5525         bug 365 (don't break before insets unless needed). Don't
5526         return a value > last under any circumstances.
5527
5528 2003-03-09  Angus Leeming  <leeming@lyx.org>
5529
5530         * BufferView_pimpl.C (trackChanges, dispatch): call
5531         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5532
5533 2003-03-09  Angus Leeming  <leeming@lyx.org>
5534
5535         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5536         than Dialogs::showAboutlyx().
5537
5538 2003-03-09  Angus Leeming  <leeming@lyx.org>
5539
5540         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5541         than Dialogs::showTabularCreate().
5542
5543 2003-03-09  John Levon  <levon@movementarian.org>
5544
5545         * lyxtext.h:
5546         * text.C:
5547         * text2.C: 3rd arg to nextBreakPoint was always the same.
5548           Use references.
5549
5550 2003-03-08  John Levon  <levon@movementarian.org>
5551
5552         * lyxrow.C:
5553         * paragraph.C:
5554         * paragraph.h:
5555         * rowpainter.C:
5556         * text.C:
5557         * text2.C: Remove the "main" bit from the "main body"
5558           notion.
5559
5560 2003-03-08  John Levon  <levon@movementarian.org>
5561
5562         * text.C (leftMargin): The left margin of an empty
5563         manual label paragraph should not include the label width
5564         string length.
5565
5566         * text.C (prepareToPrint): don't attempt to measure hfills
5567         for empty manual label paragraphs - the answer should be 0
5568
5569 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * CutAndPaste.C: remove commented code and reindent.
5572
5573 2003-03-08  John Levon  <levon@movementarian.org>
5574
5575         * lyxfunc.h:
5576         * lyxfunc.C: move reloadBuffer()
5577
5578         * BufferView.h:
5579         * BufferView.C: to here
5580
5581         * lyxvc.C: add comment
5582
5583         * vc-backend.h:
5584         * vc-backend.C: call bv->reload() to avoid
5585           getStatus() check on MENURELOAD
5586
5587 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5588
5589         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5590         to an old format .dep file.
5591
5592 2003-03-07  Angus Leeming  <leeming@lyx.org>
5593
5594         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5595         when the LFUN_MOUSE_RELEASE should have been handled by
5596         inset->localDispatch.
5597
5598 2003-03-07  Angus Leeming  <leeming@lyx.org>
5599
5600         * BufferView_pimpl.C (dispatch):
5601         * LyXAction.C (init):
5602         * ToolbarDefaults.C (init):
5603         * commandtags.h:
5604         * lyxfunc.C (getStatus):
5605         remove LFUN_INSET_GRAPHICS.
5606
5607         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5608
5609 2003-03-07  Angus Leeming  <leeming@lyx.org>
5610
5611         * commandtags.h:
5612         * LyXAction.C (init):
5613         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5614
5615         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5616
5617         * commandtags.h:
5618         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5619
5620         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5621         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5622
5623 2003-03-07  Angus Leeming  <leeming@lyx.org>
5624
5625         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5626         remove "ert".
5627
5628 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * ParagraphList.C (front): new function
5631         (back): implement
5632
5633 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5634
5635         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5636         and top_row_offset_. removed var first_y.
5637         * text.C (top_y):
5638         * text2.C (LyXText, removeRow):
5639         * text3.C:
5640         * BufferView_pimpl.C:
5641         use these methods instead of using first_y
5642
5643 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * text2.C (pasteSelection): adjust for checkPastePossible
5646
5647         * CutAndPaste.C: remove Paragraph * buf and replace with
5648         ParagraphList paragraphs.
5649         (DeleteBuffer): delete
5650         (cutSelection): change the tc type to textclass_type
5651         (copySelection): change the tc type to textclass_type
5652         (copySelection): adjust for ParagraphList
5653         (pasteSelection): change the tc type to textclass_type
5654         (pasteSelection): adjust for Paragraphlist
5655         (nrOfParagraphs): simplify for ParagraphList
5656         (checkPastePossible): simplify for ParagraphList
5657         (checkPastePossible): remove unused arg
5658
5659         * ParagraphList.C (insert): handle the case where there are no
5660         paragraphs yet.
5661
5662         * CutAndPaste.h: make CutAndPaste a namespace.
5663
5664         * text3.C (dispatch): adjust
5665
5666         * text.C (breakParagraph): add a ParagraphList as arg
5667
5668         * paragraph_funcs.C (breakParagraph): change to take a
5669         BufferParams and a ParagraphList as args.
5670         (breakParagraphConservative): ditto
5671         (mergeParagraph): ditto
5672         (TeXDeeper): add a ParagraphList arg
5673         (TeXEnvironment): ditto
5674         (TeXOnePar): ditto
5675
5676         * buffer.C (readLyXformat2): adjust
5677         (insertStringAsLines): adjust
5678         (latexParagraphs): adjust
5679
5680         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5681         (cutSelection): adjust
5682         (pasteSelection): adjust
5683
5684         * BufferView_pimpl.C (insertInset): adjust
5685
5686 2003-03-05  Angus Leeming  <leeming@lyx.org>
5687
5688         * commandtags.h:
5689         * LyXAction.C (init):
5690         * BufferView_pimpl.C (dispatch):
5691         * lyxfunc.C (getStatus):
5692         remove LFUN_CHILD_INSERT.
5693
5694         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5695
5696 2003-03-05  Angus Leeming  <leeming@lyx.org>
5697
5698         * commandtags.h:
5699         * LyXAction.C (init):
5700         * src/factory.C (createInset):
5701         * lyxfunc.C (getStatus):
5702         * text3.C (dispatch):
5703         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5704
5705         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5706
5707 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * ParagraphList.C (insert): handle insert right before end()
5710         (erase): fix cases where it can be first or last paragraph.
5711
5712 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5715         Paragraph::next and Paragraph::previous
5716         (TeXOnePar): ditto
5717
5718         * text.C (breakParagraph): adjust
5719
5720         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5721         BufferParams& as arg.
5722         (breakParagraph): use ParagraphList::insert
5723         (breakParagraphConservative): take a Buffer* instead of a
5724         BufferParams& as arg.
5725         (breakParagraphConservative): use ParagraphList::insert.
5726
5727         * buffer.C (insertStringAsLines): un-const it
5728         (insertStringAsLines): adjust
5729
5730         * ParagraphList.C (insert): new function
5731
5732         * CutAndPaste.C (pasteSelection): adjust
5733
5734         * text.C (backspace): adjust
5735
5736         * tabular.C (SetMultiColumn): adjust
5737
5738         * CutAndPaste.C (cutSelection): adjust
5739         (pasteSelection): adjust
5740
5741         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5742         Buffer const * as arg
5743
5744         * ParagraphList.C (erase): new function
5745         * paragraph_funcs.C (mergeParagraph): use it
5746         (mergeParagraph): make it take a Buffer* instead of a
5747         BufferParams* as arg
5748
5749         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5750         as arg
5751         (breakParagraphConservative): ditto
5752
5753         * paragraph.h: remove the breakParagraph friend
5754
5755         * paragraph.C (eraseIntern): new function
5756         (setChange): new function
5757
5758         * paragraph_funcs.C (mergeParagraph): make it take a
5759         ParagraphList::iterator instead of a Paragraph *, adjust
5760         accordingly.
5761
5762         * paragraph.h: move an #endif so that the change tracking stuff
5763         also works in the NO_NEXT case.
5764
5765 2003-03-04  Angus Leeming  <leeming@lyx.org>
5766
5767         * commandtags.h:
5768         * LyXAction.C: new LFUN_INSET_MODIFY.
5769
5770         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5771         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5772
5773 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * several files: ws changes only
5776
5777         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5778         (TeXEnvironment): ditto
5779         (TeXDeeper): ditto
5780
5781         * buffer.C (makeLaTeXFile): adjust
5782         (latexParagraphs): make it take ParagraphList::iterator as args
5783
5784 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * buffer.C (latexParagraphs): adjust
5787
5788         * paragraph.C (TeXOnePar): move function...
5789         (optArgInset): move function...
5790         (TeXEnvironment): move function...
5791         * paragraph_pimpl.C (TeXDeeper): move function...
5792         * paragraph_funcs.C: ...here
5793
5794         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5795
5796 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * buffer.C (readInset): remove compability code for old Figure and
5799         InsetInfo insets
5800
5801 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * buffer.C: ws changes
5804         (readInset):
5805
5806         * BufferView_pimpl.C: ditto
5807         * author.C: ditto
5808         * buffer.h: ditto
5809         * bufferlist.h: ditto
5810         * changes.h: ditto
5811         * lyxfunc.C: ditto
5812
5813 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5814
5815         * converter.[Ch]: split into itself +
5816         * graph.[Ch]
5817         * format.[Ch]
5818         * Makefile.am: += graph.[Ch] + format.[Ch]
5819         * MenuBackend.C
5820         * buffer.C
5821         * exporter.C
5822         * importer.C
5823         * lyx_main.C
5824         * lyxfunc.C
5825         * lyxrc.C: added #include "format.h"
5826
5827 2003-02-27  Angus Leeming  <leeming@lyx.org>
5828
5829         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5830           a label.
5831
5832         * factory.C (createInset): add "label" to the factory.
5833
5834         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5835           string and do no more.
5836
5837 2003-02-27  Angus Leeming  <leeming@lyx.org>
5838
5839         * commandtags.h:
5840         * LyXAction.C (init):
5841         * factory.C (createInset):
5842         * BufferView_pimpl.C (dispatch):
5843           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5844
5845         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5846
5847         * lyxfunc.C (dispatch):
5848         * text3.C (dispatch): pass name to params2string.
5849
5850 2003-02-26  Angus Leeming  <leeming@lyx.org>
5851
5852         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5853           blocks together.
5854           Rearrange the ~includes. Strip out the unnecessary ones.
5855
5856         * factory.C (createInset): reformat.
5857           create new insets for the various LFUN_XYZ_APPLY lfuns.
5858
5859 2003-02-26  John Levon  <levon@movementarian.org>
5860
5861         * lyxrow.h:
5862         * lyxrow.C: add isParStart,isParEnd helpers
5863
5864         * paragraph.h: make isInserted/DeletedText take refs
5865
5866         * paragraph_funcs.h:
5867         * paragraph_funcs.C: remove #if 0'd code
5868
5869         * lyxtext.h:
5870         * text3.C:
5871         * text2.C:
5872         * text.C: use lyxrow helpers above.
5873           Move draw and paint routines to RowPainter.
5874           Make several methods use refs not pointers.
5875           Make backgroundColor() const.
5876           Add markChangeInDraw(), isInInset().
5877           Merge changeRegionCase into changeCase.
5878           Make workWidth() shouldn't-happen code into an Assert.
5879
5880         * rowpainter.h:
5881         * rowpainter.C: new class for painting a row.
5882
5883         * vspace.h:
5884         * vspace.C: make inPixels take a ref
5885
5886 2003-02-26  Angus Leeming  <leeming@lyx.org>
5887
5888         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5889         LFUN_REF_APPLY.
5890
5891 2003-02-25  John Levon  <levon@movementarian.org>
5892
5893         * ispell.C: give the forked command a more accurate name
5894
5895 2003-02-22  John Levon  <levon@movementarian.org>
5896
5897         * toc.h:
5898         * toc.C: make TocItem store an id not a Paragraph *
5899           (bug #913)
5900
5901 2003-02-21  Angus Leeming  <leeming@lyx.org>
5902
5903         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5904           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5905           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5906           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5907           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5908           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5909
5910         * BufferView_pimpl.C (dispatch):
5911         * LyXAction.C (init):
5912         * factory.C (createInset):
5913         * lyxfunc.C (getStatus, dispatch):
5914         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5915
5916 2003-02-21  Angus Leeming  <leeming@lyx.org>
5917
5918         * BufferView_pimpl.C (MenuInsertLyXFile):
5919         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5920         * lyxfunc.C (menuNew, open, doImport):
5921           no longer pass a LyXView & to fileDlg.
5922
5923 2003-02-21  Angus Leeming  <leeming@lyx.org>
5924
5925         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5926         * LyXAction.C: change, BIBKEY to BIBITEM.
5927         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5928         Change InsetBibKey to InsetBibitem.
5929         Change BIBKEY_CODE to BIBITEM_CODE.
5930         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5931         * factory.C: replace insetbib.h with insetbibitem.h.
5932         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5933         * paragraph.C: replace insetbib.h with insetbibitem.h.
5934         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5935         Change bibkey() to bibitem().
5936         * text.C: remove insetbib.h.
5937         * text2.C: replace insetbib.h with insetbibitem.h.
5938         change bibkey() to bibitem().
5939         * text3.C: remove insetbib.h.
5940         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5941
5942 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5943
5944         * lyxrc.C (output): enclose user email in quotes (in case there are
5945         several words)
5946
5947 2003-02-18  John Levon  <levon@movementarian.org>
5948
5949         * buffer.h: add std::
5950
5951 2003-02-17  John Levon  <levon@movementarian.org>
5952
5953         * SpellBase.h:
5954         * ispell.h:
5955         * ispell.C:
5956         * pspell.h:
5957         * pspell.C: reworking. Especially in ispell, a large
5958           number of clean ups and bug fixes.
5959
5960         * lyxfunc.C: fix revert to behave sensibly
5961
5962 2003-02-17 André Pönitz <poenitz@gmx.net>
5963
5964         * LyXAction.C:
5965         * commandtags.h: new LFUN_INSERT_BIBKEY
5966
5967         * layout.h:
5968         * lyxlayout.C:
5969         * buffer.C:
5970         * factory.C:
5971         * text.C:
5972         * text2.C:
5973         * text3.C:
5974         * paragraph.[Ch]:
5975         * paragraph_func.C: remove special bibkey handling
5976
5977 2003-02-17  John Levon  <levon@movementarian.org>
5978
5979         * text.C (Delete): fix case where delete at the end of
5980           the very first paragraph would not merge the pars
5981
5982 2003-02-17  John Levon  <levon@movementarian.org>
5983
5984         * lyxrow.C: fix lastPrintablePos()
5985
5986 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5987
5988         * bufferparams.C (writeLaTeX): add a std:here
5989
5990         * buffer.C: and remove a using directive there
5991
5992 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5993
5994         * buffer.C (makeLaTeXFile): move the code that generates the
5995           preamble...
5996
5997         * bufferparams.C (writeLaTeX): ... in this new method
5998
5999         * LaTeXFeatures.C (getEncodingSet): make const
6000           (getLanguages): make const
6001
6002         * MenuBackend.C (binding): returns the binding associated to this
6003           action
6004           (add): sets the status of each item by calling getStatus. Adds
6005           some intelligence.
6006           (read): add support for OptSubMenu
6007           (expand): remove extra separator at the end of expanded menu
6008
6009 2003-02-15  John Levon  <levon@movementarian.org>
6010
6011         * BufferView.C:
6012         * BufferView_pimpl.C:
6013         * bufferlist.h:
6014         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6015           inset code that had no actual effect. Remove unneeded status
6016           code.
6017
6018 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6019
6020         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6021           in preamble
6022
6023 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6024
6025         * text.C (drawLengthMarker): also draw an arrow marker for
6026           symbolic lengths (medskip...)
6027
6028 2003-02-14  John Levon  <levon@movementarian.org>
6029
6030         * tabular.h:
6031         * tabular.C: better method names
6032
6033 2003-02-14  John Levon  <levon@movementarian.org>
6034
6035         * BufferView_pimpl.C:
6036         * bufferlist.C:
6037         * buffer.C:
6038         * converter.C:
6039         * lyx_cb.C:
6040         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6041           it's a more accurate name. Remove some pointless uses.
6042
6043 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * text2.C (LyXText): change order of initilizers to shut off
6046           warnings
6047
6048 2003-02-14  John Levon  <levon@movementarian.org>
6049
6050         * buffer.C: use ParIterator for getParFromID()
6051
6052         * paragraph.h:
6053         * paragraph.C:
6054         * paragraph_pimpl.h:
6055         * paragraph_pimpl.C: remove unused getParFromID()
6056
6057 2003-02-14  John Levon  <levon@movementarian.org>
6058
6059         * buffer.C: remove some very old #if 0'd parse code
6060
6061 2003-02-13  John Levon  <levon@movementarian.org>
6062
6063         * text.h:
6064         * text.C:
6065         * text2.C: move hfillExpansion(), numberOfSeparators(),
6066           rowLast(), rowLastPrintable(), numberofHfills(),
6067           numberOfLabelHfills() ...
6068
6069         * lyxrow.h:
6070         * lyxrow.C: ... to member functions here.
6071
6072         * paragraph.h:
6073         * paragraph.C:
6074         * lyxtext.h:
6075         * text.C: remove LyXText::beginningOfMainBody(), and call
6076           p->beginningOfMainBody() directly. Move the check for
6077           LABEL_MANUAL into the latter.
6078
6079         * text.h:
6080         * text.C:
6081         * text2.C:
6082         * vspace.C:
6083         * BufferView.h:
6084         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6085
6086         * text.h:
6087         * text.C:
6088         * text2.C:
6089         * text3.C:
6090         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6091           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6092
6093 2003-02-13  John Levon  <levon@movementarian.org>
6094
6095         * CutAndPaste.C: remove debug
6096
6097 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6098
6099         * paragraph.C (asString): remove two unused variables
6100
6101         * lyxtextclass.C (readTitleType):
6102           (Read):
6103           (LyXTextClass): handle new members titletype_ and titlename_
6104
6105         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6106
6107 2003-02-09  John Levon  <levon@movementarian.org>
6108
6109         * buffer.h:
6110         * buffer.C: replace hand-coded list with a map for the dep clean
6111
6112 2003-02-08  John Levon  <levon@movementarian.org>
6113
6114         * LaTeX.C: consolidate code into showRunMessage() helper
6115
6116 2003-02-08  John Levon  <levon@movementarian.org>
6117
6118         * lyxfind.C:
6119         * lyxtext.h:
6120         * text2.C:
6121         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6122           and pass the size in explicitly
6123
6124         * BufferView_pimpl.h:
6125         * BufferView_pimpl.C:
6126         * BufferView.h:
6127         * BufferView.C: add getCurrentChange()
6128
6129         * BufferView_pimpl.h:
6130         * BufferView_pimpl.C: handle change lfuns
6131
6132         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6133           for changes. Mark pasted paragraphs as new.
6134
6135         * support/lyxtime.h:
6136         * support/lyxtime.C:
6137         * DepTable.C: abstract time_t as lyx::time_type
6138
6139         * LColor.h:
6140         * LColor.C: add colours for new text, deleted text, changebars
6141
6142         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6143           package use "usenames" option.
6144
6145         * commandtags.h:
6146         * lyxfunc.C:
6147         * LyXAction.C: add change lfuns
6148
6149         * Makefile.am:
6150         * author.h:
6151         * author.C: author handling
6152
6153         * buffer.h:
6154         * buffer.C: add a per-buffer author list, with first entry as
6155           current author. Handle new .lyx tokens for change tracking. Output
6156           author list to .lyx file. Output dvipost stuff to .tex preamble.
6157           Bump lyx format to 222.
6158
6159         * bufferlist.h:
6160         * bufferlist.C: add setCurrentAuthor() to reset current author details
6161           in all buffers.
6162
6163         * bufferparams.h:
6164         * bufferparams.C: add param for tracking
6165
6166         * bufferview_funcs.C: output change info in minibuffer
6167
6168         * Makefile.am:
6169         * changes.h:
6170         * changes.C: add change-tracking structure
6171
6172         * debug.h:
6173         * debug.C: add CHANGES debug flag
6174
6175         * lyxfind.h:
6176         * lyxfind.C: add code for finding the next change piece
6177
6178         * lyxrc.h:
6179         * lyxrc.C: add user_name and user_email
6180
6181         * lyxrow.h:
6182         * lyxrow.C: add a metric for the top of the text line
6183
6184         * lyxtext.h:
6185         * text.C: implement accept/rejectChange()
6186
6187         * lyxtext.h:
6188         * text.C: paint changebars. Paint new/deleted text in the chosen
6189         colours. Strike through deleted text.
6190
6191         * paragraph.h:
6192         * paragraph.C:
6193         * paragraph_pimpl.h:
6194         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6195           in the current change to the insert functions. Rework erase to
6196           mark text as deleted, adding an eraseIntern() and a range-based
6197           erase(). Implement per-paragraph change lookup and
6198           accept/reject.
6199
6200         * paragraph_funcs.C: Fixup paste for change tracking.
6201
6202         * tabular.C: mark added row/columns as new.
6203
6204         * text.C: fix rowLast() to never return -1. Don't allow
6205           spellchecking of deleted text. Track transpose changes. Don't
6206           allow paragraph break or merge where appropriate.
6207
6208         * text2.C: leave cursor at end of selection after a cut.
6209
6210 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6211
6212         * text.C (getLengthMarkerHeight):
6213         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6214         visible on screen too.
6215
6216 2003-02-07  John Levon  <levon@movementarian.org>
6217
6218         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6219
6220 2003-02-05  Angus Leeming  <leeming@lyx.org>
6221
6222         * lyxserver.C (read_ready): revert my patch of 11 September last year
6223         as it sends PC cpu through the roof. Presumably this means that
6224         the lyxserver will no longer run on an Alpha...
6225
6226 2003-01-30  Angus Leeming  <leeming@lyx.org>
6227
6228         * factory.C (createInset): create an InsetCommandParam of type "index"
6229         and use it to 'do the right thing'.
6230
6231         * text2.C (getStringToIndex): ensure that cursor position is always
6232         reset to the reset_cursor position.
6233
6234 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6235
6236         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6237         disabled.
6238
6239 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6240
6241         * bufferview.C:
6242         * lyxcb.C:
6243         * lyxfunc.C: Output messages with identical spelling, punctuation,
6244         and spaces
6245
6246 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6247
6248         * MenuBackend.C (expandFormats): List only viewable export formats
6249         in "View" menu
6250
6251         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6252         message
6253
6254         * lyxfunc.C (getStatus): Make sure that formats other than
6255         "fax" can also be disabled
6256
6257 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6258
6259         * text3.C (dispatch): put the lfuns that insert insets in 3
6260         groups, and call doInsertInset with appropriate arguments.
6261         (doInsertInset): new function, that creates an inset and inserts
6262         it according to some boolean parameters.
6263
6264 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * buffer.C (readFile): remember to pass on 'par' when calling
6267         readFile recursively.
6268
6269 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6270
6271         * MenuBackend.C (expandFormats): add "..." to import formats.
6272
6273 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6274
6275         * paragraph.C (asString): Remove XForms RTL hacks.
6276
6277 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6278         * buffer.C: fix typo
6279
6280 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * Makefile.am (LIBS): delete var
6283         (lyx_LDADD): add @LIBS@ here instead.
6284
6285 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6286
6287         * Clarify the meaning of "wheel mouse jump"
6288
6289 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6290
6291         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6292         tabular in a float
6293
6294 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6295
6296         * importer.C (Loaders): do not preallocate 3 elements in the
6297         vector, since one ends up with 6 elements otherwise
6298
6299 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6300
6301         * DepTable.C (write): write the file name as last element of the
6302         .dep file (because it may contain spaces)
6303         (read): read info in the right order
6304
6305 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6306
6307         * paragraph_pimpl.C (simpleTeXBlanks):
6308         (simpleTeXSpecialChars):
6309         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6310
6311         * tabular.C (latex): add some missing case statements. Reindent.
6312
6313         * MenuBackend.C (expandToc): remove unused variable.
6314
6315 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6316
6317         * LColor.C:
6318         * LaTeX.C:
6319         * LyXAction.C:
6320         * MenuBackend.C:
6321         * buffer.C:
6322         * exporter.C:
6323         * lyxfunc.C:
6324         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6325         and the like.
6326
6327 2003-01-05  John Levon  <levon@movementarian.org>
6328
6329         * BufferView.h:
6330         * BufferView.C: add getEncoding()
6331
6332         * kbsequence.h:
6333         * kbsequence.C: do not store last keypress
6334
6335         * lyxfunc.h:
6336         * lyxfunc.C: store last keypress here instead. Pass encoding
6337           to getISOEncoded()
6338
6339 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6340
6341         * lyx_main.C (init): remove annoying error message when following
6342         symbolic links (bug #780)
6343
6344 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6345
6346         * text.C (insertChar):
6347         * lyxrc.C (getDescription): remove extra spaces
6348
6349 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6350
6351         * lyxrc.C (getDescription): remove extra spaces
6352
6353 2002-12-20  John Levon  <levon@movementarian.org>
6354
6355         * text3.C: hack fix for page up/down across tall rows
6356
6357 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6358
6359         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6360         not been invoked
6361
6362 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6363
6364         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6365         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6366         thesaurus is not compiled in
6367
6368 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6369
6370         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6371
6372 2002-12-16  Angus Leeming  <leeming@lyx.org>
6373
6374         * lyxrc.[Ch]:
6375         * lyx_main.C (init): remove override_x_deadkeys stuff.
6376
6377 2002-12-12  John Levon  <levon@movementarian.org>
6378
6379         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6380           insert. Only remove shift modifier under strict
6381           circumstances.
6382
6383 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * MenuBackend.C (expandToc): fix crash.
6386
6387 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * MenuBackend.C (expandToc): gettext on float names.
6390
6391 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6392
6393         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6394         implement bool empty() [bug 490]
6395
6396 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6399
6400 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * several files: ws changes
6403
6404 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * text2.C (setCounter): clean up a bit, use boost.format.
6407         (updateCounters): initialize par upon declaration.
6408
6409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6410         if the layout exists. We do not just store the layout any more.
6411         (SwitchLayoutsBetweenClasses): use boost.format
6412
6413 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6414
6415         * converter.C (convert): if from and to files are the same, use a
6416         temporary files as intermediary
6417
6418 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6419
6420         * commandtags.h:
6421         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6422
6423 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6424
6425         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6426
6427 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * tabular.C (asciiPrintCell): use string(size, char) instead of
6430         explicit loop.
6431
6432         * sgml.C (openTag): fix order of arguments to string constructor
6433         (closeTag): ditto
6434
6435         * lyxfunc.C (dispatch): use boost.format
6436
6437         * lots of files: change "c" -> 'c'
6438
6439 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6440
6441         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6442
6443 2002-11-25  Angus Leeming  <leeming@lyx.org>
6444
6445         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6446
6447         * lyx_main.C (init): compile fix.
6448
6449 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * lyx_cb.C (start): boost.formatify
6452         do not include <iostream>
6453
6454         * lengthcommon.C: ws only
6455
6456         * boost-inst.C,BoostFormat.h: add more explict instantations
6457
6458 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * lots of files: handle USE_BOOST_FORMAT
6461
6462 2002-11-21  John Levon  <levon@movementarian.org>
6463
6464         * pspell.C: fix compile
6465
6466 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6467
6468         * lyxfunc.C (dispatch): use boost::format
6469         (open): ditto
6470         (doImport): ditto
6471
6472         * lyxfont.C (stateText): use boost::format
6473
6474         * lyx_main.C (LyX): use boost::format
6475         (init): ditto
6476         (queryUserLyXDir): ditto
6477         (readRcFile): ditto
6478         (parse_dbg): ditto
6479         (typedef boost::function): use the recommened syntax.
6480
6481         * importer.C (Import): use boost::format
6482
6483         * debug.C (showLevel): use boost::format
6484
6485         * converter.C (view): use boost::format
6486         (convert): ditto
6487         (move): ditto
6488         (scanLog): ditto
6489
6490         * bufferview_funcs.C (currentState): use boost::format
6491
6492         * bufferlist.C (emergencyWrite): use boost::format
6493
6494         * buffer.C (readLyXformat2): use boost::format
6495         (parseSingleLyXformat2Token): ditto
6496
6497         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6498
6499         * LaTeX.C (run): use boost::format
6500
6501         * Chktex.C (scanLogFile): use boost::format
6502
6503         * BufferView_pimpl.C (savePosition): use boost::format
6504         (restorePosition): ditto
6505         (MenuInsertLyXFile): ditto
6506
6507         * BoostFormat.h: help file for explicit instation.
6508
6509 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6510
6511         * tabular.C (latex): Support for block alignment in fixed width
6512         columns.
6513
6514 2002-11-17  John Levon  <levon@movementarian.org>
6515
6516         * BufferView_pimpl.C:
6517         * lyx_cb.C:
6518         * lyxfunc.C: split filedialog into open/save
6519
6520 2002-11-08  Juergen Vigna  <jug@sad.it>
6521
6522         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6523         by my last patch (hopefully).
6524
6525 2002-11-08  John Levon  <levon@movementarian.org>
6526
6527         * iterators.h:
6528         * iterators.C:
6529         * buffer.h:
6530         * buffer.C:
6531         * paragraph.h:
6532         * paragraph.C:
6533         * toc.h:
6534         * toc.C: ParConstIterator, and use it (from Lars)
6535
6536 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6537
6538         * lyxtextclass.[Ch]: revise and add doxygen comments
6539
6540 2002-11-07  John Levon  <levon@movementarian.org>
6541
6542         * text.C: fix progress value for spellchecker
6543
6544         * toc.C: fix navigate menu for insetwrap inside minipage
6545
6546         * paragraph_funcs.C: added FIXME for suspect code
6547
6548 2002-11-07  John Levon  <levon@movementarian.org>
6549
6550         * BufferView_pimpl.C: fix redrawing of insets
6551           on buffer switch
6552
6553 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6554
6555         * text2.C (updateCounters): fix bug 668
6556
6557 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6558
6559         * text3.C (dispatch): Do not make the buffer dirty when moving the
6560         cursor.
6561
6562 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * vc-backend.C: STRCONV
6565         (scanMaster): ditto
6566
6567         * text2.C (setCounter): STRCONV
6568
6569         * paragraph.C (asString): STRCONV
6570
6571         * lyxlength.C (asString): STRCONV
6572         (asLatexString): ditto
6573
6574         * lyxgluelength.C (asString): STRCONV
6575         (asLatexString): ditto
6576
6577         * lyxfunc.C (dispatch): STRCONV
6578         (open): ditto
6579
6580         * lyxfont.C (stateText): STRCONV
6581
6582         * importer.C (Import): STRCONV
6583
6584         * counters.C (labelItem): STRCONV
6585         (numberLabel): ditto
6586         (numberLabel): remove unused ostringstream o
6587
6588         * chset.C: STRCONV
6589         (loadFile): ditto
6590
6591         * bufferview_funcs.C (currentState): STRCONV
6592
6593         * buffer.C (readFile): STRCONV
6594         (asciiParagraph): ditto
6595         (makeLaTeXFile): ditto
6596
6597         * Spacing.C (writeEnvirBegin): STRCONV
6598
6599         * LaTeXFeatures.C (getLanguages): STRCONV
6600         (getPackages): ditto
6601         (getMacros): ditto
6602         (getBabelOptions): ditto
6603         (getTClassPreamble): ditto
6604         (getLyXSGMLEntities): ditto
6605         (getIncludedFiles): ditto
6606
6607         * LaTeX.C: STRCONV
6608         (run): ditto
6609         (scanAuxFile): ditto
6610         (deplog): ditto
6611
6612         * LString.h: add the STRCONV macros
6613
6614         * BufferView_pimpl.C (savePosition): STRCONV
6615         (restorePosition): ditto
6616         (MenuInsertLyXFile): ditto
6617
6618         * vc-backend.C (scanMaster): change from submatch[...] to
6619         submatch.str(...)
6620
6621         * funcrequest.C: include config.h
6622
6623         * factory.C: include config.h
6624
6625         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6626
6627         * box.C: include config.h
6628
6629         * LaTeX.C (scanAuxFile): change from submatch[...] to
6630         submatch.str(...)
6631         (deplog): ditto
6632
6633 2002-10-25  Angus Leeming  <leeming@lyx.org>
6634
6635         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6636
6637         * ispell.[Ch] (setError): new method.
6638         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6639         Use setError() insetead of goto END.
6640
6641         * lyx_cb.C (AutoSave): move out child process into new class
6642         AutoSaveBuffer.
6643
6644 2002-10-30  John Levon  <levon@movementarian.org>
6645
6646         * text3.C: make start appendix undoable
6647
6648 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6649
6650         * lyxlength.C (inPixels): Fix returned value.
6651
6652         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6653         environment.
6654
6655 2002-10-24  Angus Leeming  <leeming@lyx.org>
6656
6657         * lyxgluelength.h: no need to forward declare BufferParams
6658         or BufferView, so don't.
6659
6660 2002-10-21  John Levon  <levon@movementarian.org>
6661
6662         * BufferView.C: menuUndo ->undo, redo
6663
6664         * BufferView.h: document, remove dead, make some methods private
6665
6666         * paragraph_funcs.h:
6667         * paragraph_funcs.C:
6668         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6669
6670         * buffer.h:
6671         * buffer.C:
6672         * sgml.h:
6673         * sgml.C: move sgml open/close tag into sgml.C
6674
6675         * bufferview_funcs.h: unused prototype
6676
6677         * lyxfunc.h:
6678         * lyxfunc.C: remove unused
6679
6680         * lyxtext.h:
6681         * text.C: remove unused
6682
6683 2002-10-21  John Levon  <levon@movementarian.org>
6684
6685         * BufferView.h:
6686         * BufferView.C:
6687         * BufferView_pimpl.h:
6688         * BufferView_pimpl.C: fix mouse wheel handling based on
6689           patch from Darren Freeman
6690
6691 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6692
6693         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6694
6695 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6696
6697         * lyxlength.C (inPixels): Fix hanfling of negative length.
6698         Fix LyXLength::MU case.
6699
6700 2002-10-16  John Levon  <levon@movementarian.org>
6701
6702         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6703
6704 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * converter.C (view): add support for $$i (file name) and $$p
6707         (file path) for the viewer command. If $$i is not specified, then
6708         it is appended to the command (for compatibility with old syntax)
6709
6710 2002-10-14  Juergen Vigna  <jug@sad.it>
6711
6712         * undo_funcs.C (textHandleUndo): alter the order in which the
6713         new undopar is added to the LyXText, as we have to set first
6714         the right prev/next and then add it as otherwise the rebuild of
6715         LyXText is not correct. Also reset the cursor to the right paragraph,
6716         with this IMO we could remove the hack in "redoParagraphs()".
6717
6718 2002-10-09  Angus Leeming  <leeming@lyx.org>
6719
6720         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6721         to turn off an optimisation if a new inset is to be inserted.
6722
6723 2002-10-11 André Pönitz <poenitz@gmx.net>
6724
6725         * lyxtext.h: make some functions public to allow access
6726         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6727
6728 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6729
6730         * text3.C (dispatch): when changing layout, avoid an infinite loop
6731         [bug #652]
6732
6733 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * lyxrc.C (read): treat a viewer or converter command of "none" as
6736         if it were empty.
6737
6738         * MenuBackend.C (expandFormats): for an update, also allow the
6739         formats that are not viewable
6740
6741         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6742         script if it is newer than the lyxrc.defaults in user directory
6743
6744 2002-10-07 André Pönitz <poenitz@gmx.net>
6745
6746         * text.C: Vitaly Lipatov's small i18n fix
6747
6748 2002-09-25  Angus Leeming  <leeming@lyx.org>
6749
6750         * ispell.h: doxygen fix.
6751
6752 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6753
6754         * buffer.h (readFile): Add a new argument to the method, to allow
6755         reading of old-format templates.
6756
6757 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6758
6759         * toc.C (getTocList): Get TOC from InsetWrap.
6760
6761 2002-09-16  John Levon  <levon@movementarian.org>
6762
6763         * lyxfunc.C: check tabular for cut/copy too
6764
6765 2002-09-12  John Levon  <levon@movementarian.org>
6766
6767         * LyXAction.C: tidy
6768
6769         * factory.h:
6770         * factory.C: add header
6771
6772         * paragraph_funcs.h:
6773         * paragraph_funcs.C: cleanup
6774
6775 2002-09-11  John Levon  <levon@movementarian.org>
6776
6777         * PrinterParams.h: odd/even default to true
6778
6779 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6780
6781         * PrinterParams.h: update printer parameters for new xforms dialog
6782
6783 2002-09-11  Angus Leeming  <leeming@lyx.org>
6784
6785         * lyxserver.C (read_ready): re-write to make it more transparent
6786         and to make it work in coherent fashion under Tru64 Unix.
6787
6788 2002-09-11  André Pönitz <poenitz@gmx.net>
6789
6790         * commandtags.h:
6791         * LyXAction.C:
6792         * text3.C: implement LFUN_WORDSEL
6793
6794 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6797         make floatlist_ a boost::shared_ptr<FloatList>
6798
6799         * lyxtextclass.C: include FloatList.h
6800         (LyXTextClass): initialize floatlist_
6801         (TextClassTags): add TC_NOFLOAT
6802         (Read): match "nofloat" to TC_NOFLOAT and use it.
6803         (readFloat): modify call to floatlist_
6804         (floats): ditto
6805         (floats): ditto
6806
6807         * FloatList.[Ch] (FloatList): remove commented out float
6808         initialization.
6809         (erase): new function
6810
6811 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6812
6813         * MenuBackend.C (expandToc): fix crash when there is no document
6814         open
6815
6816 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6817
6818         * many files: Add insetwrap.
6819
6820 2002-09-09  John Levon  <levon@movementarian.org>
6821
6822         * text2.C: remove confusing and awkward depth wraparound
6823
6824 2002-09-09  John Levon  <levon@movementarian.org>
6825
6826         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6827
6828         * buffer.h:
6829         * buffer.C: remove getIncludeonlyList()
6830
6831         * paragraph.C:
6832         * lyxfunc.C: remove headers
6833
6834 2002-09-09  Juergen Vigna  <jug@sad.it>
6835
6836         * text.C (getColumnNearX): fix form Michael this is most
6837         probably a cut&paste bug.
6838
6839 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6842
6843         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6844         references, ws changes.
6845
6846         * text2.C (init): update counters after init
6847         (insertParagraph): no need to set counter on idividual paragraphs.
6848         (setCounter): access the counters object in the textclass object
6849         on in the buffer object.
6850         (updateCounters): ditto
6851
6852         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6853         shared_ptr<Counters> to avoid loading counters.h in all
6854         compilation units.
6855         (LyXTextClass): initialize ctrs_
6856         (TextClassTags): add TC_COUNTER, and ...
6857         (Read): use it here.
6858         (CounterTags): new tags
6859         (readCounter): new function
6860         (counters): new funtion
6861         (defaultLayoutName): return a const reference
6862
6863         * counters.C (Counters): remove contructor
6864         (newCounter): remove a couple of unneeded statements.
6865         (newCounter): simplify a bit.
6866         (numberLabel): some small formatting changes.
6867
6868         * buffer.[Ch]: remove all traces of counters, move the Counters
6869         object to the LyXTextClass.
6870
6871 2002-09-06  Alain Castera  <castera@in2p3.fr>
6872
6873         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6874         package to set the horizontal alignment on fixed width columns.
6875
6876         * lyx_sty.C:
6877         * lyx_sty.h: added tabularnewline macro def.
6878
6879         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6880
6881 2002-09-06  John Levon  <levon@movementarian.org>
6882
6883         * LyXAction.C: tooltips for sub/superscript
6884
6885         * MenuBackend.C: a bit more verbose
6886
6887         * lyxfunc.C: tiny clean
6888
6889         * undo_funcs.C: document undo_frozen
6890
6891 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * counters.C (Counters): add missing algorithm counter.
6894
6895         * text2.C (setCounter): lookup the counter with layouts latexname
6896         instead of by section number.
6897         (setCounter): use a hackish way to lookup the correct enum
6898         counter.
6899         a float name->type change
6900         reset enum couners with counter name directly instead of depth value.
6901
6902         * counters.C (Counters): remove the push_backs, change to use the
6903         float type not the float name.
6904         (labelItem): remove unused string, float name->type change
6905
6906         * counters.h: don't include vector, loose the enums and sects vectors
6907
6908 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6911         (Read): add float->TC_FLOAT to textclassTags
6912         (Read): and handle it in the switch
6913         (readFloat): new function
6914
6915         * FloatList.C (FloatList): comment out the hardcoded float
6916         definitions.
6917
6918         * lyxlayout.h: ws change.
6919
6920 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6921
6922         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6923
6924 2002-09-03  Angus Leeming  <leeming@lyx.org>
6925
6926         * BufferView_pimpl.h: qualified name is not allowed in member
6927         declaration: WorkArea & Pimpl::workarea() const;
6928
6929         * factory.C: added using std::endl directive.
6930
6931         * text3.C: added using std::find and std::vector directives.
6932
6933 2002-08-29  André Pönitz <poenitz@gmx.net>
6934
6935         * lyxtext.h:
6936         * text2.C: remove unused member number_of_rows
6937
6938         * Makefile.am:
6939         * BufferView2.C: remove file, move contents to...
6940         * BufferView.C: ... here
6941
6942         * BufferView_pimpl.C:
6943         * factory.C: move more inset creation to factory
6944
6945         * vspace.C: avoid direct usage of LyXText, ws changes
6946
6947         * BufferView.[Ch]:
6948                 don't provide direct access to WorkArea, use two simple
6949                 acessors haveSelction() and workHeight() instead
6950
6951
6952 2002-08-29  John Levon  <levon@movementarian.org>
6953
6954         * BufferView_pimpl.C (dispatch): do not continue when
6955           no buffer
6956
6957 2002-08-28  André Pönitz <poenitz@gmx.net>
6958
6959         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6960
6961         * BufferView.h:
6962         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6963
6964 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6965
6966         * buffer.C: increment LYX_FORMAT to 221
6967
6968         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6969         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6970
6971         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6972
6973         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6974
6975 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6976
6977         * factory.C (createInset): use LyXTextClass::floats
6978
6979         * MenuBackend.C (expandFloatListInsert):
6980         (expandFloatInsert):
6981         (expandToc):
6982
6983         * text2.C (setCounter):
6984
6985         * LaTeXFeatures.C (useFloat):
6986         (getFloatDefinitions):
6987
6988         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6989
6990         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6991         floatlist_, with accessor floats().
6992
6993         * FloatList.h: remove global FloatList
6994
6995 2002-08-26  André Pönitz <poenitz@gmx.net>
6996
6997         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6998
6999         * BufferView.h:
7000         * BufferView2.C:
7001         * BufferView_pimpl.C:
7002         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7003
7004 2002-08-25  John Levon  <levon@movementarian.org>
7005
7006         * LyXAction.C: fix margin note description
7007
7008 2002-08-24  John Levon  <levon@movementarian.org>
7009
7010         * buffer.C:
7011         * bufferlist.C:
7012         * bufferview_funcs.C:
7013         * lyxfont.C:
7014         * undo_funcs.C: cleanups
7015
7016         * lyxfunc.C: disable CUT/COPY when no selection
7017
7018 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7019
7020         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7021         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7022
7023         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7024         Add backward compatibility to "mono", "gray" and "no".
7025
7026 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7027
7028         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7029         (and file_format >= 200).
7030
7031 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7032
7033         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7034
7035 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7036
7037         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7038
7039 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7040
7041         * BufferView_pimpl.C:
7042         * LyXAction.C:
7043         * buffer.C:
7044         * commandtags.h:
7045         * lyxfunc.C:
7046         * paragraph.[Ch]:
7047         * text2.C:
7048         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7049         inset and code to make it  work with the paragraph code. The inset
7050         can be anywhere in the paragraph, but will only do the expected
7051         thing in LaTeX if the layout file contains the parameter line
7052                         OptionalArgs    1
7053         (or more generally, a nonzero value) for that layout.
7054
7055 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * paragraph.h: remove the declaration of undefined counters class
7058         function.
7059
7060 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7061
7062         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7063         Dr. Richard Hawkins.
7064
7065 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7066
7067         * paragraph_funcs.h: remove some unneeded includes
7068
7069         * text.C (backspace): pasteParagraph now in global scipe
7070
7071         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7072         (pasteSelection): ditto
7073
7074         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7075         * paragraph_funcs.C (pasteParagraph): ... here
7076
7077 2002-08-20  André Pönitz <poenitz@gmx.net>
7078
7079         * commandtags.h: new LFUNs for swapping/copying table row/colums
7080
7081         * LyXAction.C:
7082         * lyxfunc.C: support for new lfuns
7083
7084 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * tabular.C:
7087         * buffer.[Ch]: remove NO_COMPABILITY stuff
7088
7089 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * boost.C (throw_exception): new file, with helper function for
7092         boost compiled without exceptions.
7093
7094         * paragraph.h:
7095         * lyxlength.C:
7096         * buffer.C:
7097         * ParameterStruct.h:
7098         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7099
7100         * bufferlist.C (emergencyWriteAll): use boost bind
7101
7102         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7103
7104         * text.C: include paragraph_funcs.h
7105         (breakParagraph): breakParagraph is now in global scope
7106
7107         * paragraph_funcs.[Ch]: new files
7108
7109         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7110         global scope
7111
7112         * buffer.C: include paragraph_funcs.h
7113         (insertStringAsLines): breakParagraph is now in global scope
7114
7115         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7116         paragraph_funcs.C
7117
7118         * CutAndPaste.C: include paragraph_funcs.h
7119         (cutSelection): breakParagraphConservative is now in global scope
7120         (pasteSelection): ditto
7121
7122         * buffer.h: declare oprator== and operator!= for
7123         Buffer::inset_iterator
7124
7125         * bufferlist.C (emergencyWrite): don't use fmt(...)
7126
7127         * text3.C: add using std::endl
7128
7129         * BufferView.C (moveCursorUpdate): remove default arg
7130
7131 2002-08-20  André Pönitz <poenitz@gmx.net>
7132
7133         * buffer.[Ch]: move inline functions to .C
7134
7135         * BufferView2.C:
7136         * BufferView_pimpl.C:
7137         * text.C:
7138         * buffer.[Ch]: use improved inset_iterator
7139
7140         * buffer.C:
7141         * paragraph.[Ch]: write one paragraph at a time
7142
7143 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7144
7145         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7146         style if style is not specified.
7147
7148 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7149
7150         * text2.C (setCounter): when searching for right label for a
7151         caption, make sure to recurse to parent insets (so that a caption
7152         in a minipage in a figure float works) (bug #568)
7153
7154 2002-08-20  André Pönitz <poenitz@gmx.net>
7155
7156         * text3.C: new file for LyXText::dispatch() and helpers
7157
7158         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7159
7160         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7161
7162 2002-08-19  André Pönitz <poenitz@gmx.net>
7163
7164         * lyxtext.h:
7165         * text.C: new LyXText::dispatch()
7166
7167         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7168
7169 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7170
7171         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7172
7173         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7174         Hebrew text.
7175
7176 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7177
7178         * Makefile.am: use $(variables) instead of @substitutions@
7179
7180 2002-08-15  André Pönitz <poenitz@gmx.net>
7181
7182         * lyxfunc.C:
7183         * BufferView_pimpl.C: streamlining mathed <-> outer world
7184         interaction
7185
7186         * commandtags.h:
7187         * LyXAction.C: remove unused LFUN_MATH
7188
7189 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7192
7193 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * paragraph.C (Paragraph): reformat a bit
7196         (cutIntoMinibuffer): use builtin InsetList function instad of
7197         doing it manually.
7198         (getInset): ditto
7199
7200         * buffer.C: include boost/bind.hpp, add using std::for_each
7201         (writeFileAscii): use ParagraphList iterators
7202         (validate): use for_each for validate traversal of paragraphs
7203         (getBibkeyList): use ParagraphList iterators
7204         (resizeInsets): use for_each to resizeInsetsLyXText for all
7205         paragraphs.
7206         (getParFromID): use ParagraphList iterators
7207
7208         * BufferView2.C (lockInset): use paragraph list and iterators
7209
7210 2002-08-14  John Levon  <levon@movementarian.org>
7211
7212         * lyxserver.C: remove spurious xforms include
7213
7214 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7215
7216         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7217
7218 2002-08-13  André Pönitz <poenitz@gmx.net>
7219
7220         * LyXAction.[Ch]:
7221         * lyxfunc.C: further cleaning
7222
7223 2002-08-13  André Pönitz <poenitz@gmx.net>
7224
7225         * funcrequest.h: new constructor
7226
7227         * funcrequest.C: move stuff here from .h
7228
7229         * Makefile.am:
7230         * BufferView_pimpl.C:
7231         * LyXAction.C:
7232         * toc.C:
7233         * lyxfunc.C: subsequent changes
7234
7235         * lyxfunc.h: new view() member function
7236
7237         * lyxfunc.C: subsequent changes
7238
7239 2002-08-13  Angus Leeming  <leeming@lyx.org>
7240
7241         * BufferView2.C:
7242         * BufferView_pimpl.C:
7243         * buffer.C:
7244         * converter.C:
7245         * importer.C:
7246         * lyxfunc.C:
7247         * lyxvc.C:
7248         * toc.C:
7249         * vc-backend.C:
7250         changes due to the changed LyXView interface that now returns references
7251         to member variables not pointers.
7252
7253 2002-08-13  Angus Leeming  <leeming@lyx.org>
7254
7255         * WordLangTuple (word, lang_code): return references to strings,
7256         not strings.
7257
7258         * BufferView.h:
7259         * SpellBase.h:
7260         * lyxtext.h: forward-declare WordLangTuple.
7261
7262         * BufferView2.C:
7263         * ispell.C:
7264         * pspell.C:
7265         * text.C: #include "WordLangTuple.h".
7266
7267         * lyxtext.h:
7268         * text.C: (selectNextWordToSpellcheck): constify return type.
7269
7270 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7271
7272         * buffer.C:
7273         * buffer.h:
7274         * lyxtext.h:
7275         * paragraph.C:
7276         * paragraph_pimpl.h:
7277         * text.C:
7278         * text2.C:
7279         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7280         suggested by Angus.
7281         Made updateCounter always count from start of buffer, and removed
7282         second argument (par).
7283         Reverted floats number display to '#'. Perhaps I'll try again when the
7284         code base is sanitized a bit.
7285
7286 2002-08-12  Angus Leeming  <leeming@lyx.org>
7287
7288         * buffer.[Ch] (getLabelList): constify.
7289
7290 2002-08-07  André Pönitz <poenitz@gmx.net>
7291
7292         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7293
7294         * funcrequest.h: extension to keep mouse (x,y) position
7295
7296 2002-08-12  Juergen Vigna  <jug@sad.it>
7297
7298         * BufferView2.C (insertErrors): forbid undo when inserting error
7299         insets.
7300
7301         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7302
7303 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * ParagraphList.[Ch]: new files
7306
7307         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7308
7309         * BufferView2.C (lockInset): ParagraphList changes
7310         * toc.C: ditto
7311         * text2.C: ditto
7312         * bufferlist.C: ditto
7313         * buffer.h: ditto
7314         * buffer.C: ditto
7315
7316 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7319         unused class variable counter_,
7320
7321         * paragraph.[Ch] (getFirstCounter): delete unused function
7322
7323         * counters.C: include LAssert.h
7324         (reset): add a new function with no arg, change other version to
7325         not have def. arg and to not allow empty arg.
7326
7327         * text2.C (setCounter): remove empty arg from call to Counters::reset
7328
7329 2002-08-11  John Levon  <levon@movementarian.org>
7330
7331         * Makefile.am: add WordLangTuple.h
7332
7333 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7334
7335         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7336         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7337
7338         * insets/insettext.C: InsetList changes
7339
7340         * graphics/GraphicsSupport.C (operator()): InsetList changes
7341
7342         * toc.C (getTocList): InsetList changes
7343
7344         * paragraph_pimpl.[Ch]: InsetList changes
7345
7346         * paragraph.[Ch]: InsetList changes
7347
7348         * buffer.C (inset_iterator): InsetList changes
7349         (setParagraph): ditto
7350         * buffer.h (inset_iterator): ditto
7351         * iterators.C (operator++): ditto
7352         * iterators.h: ditto
7353
7354         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7355
7356         * InsetList.[Ch]: new files, most InsetList handling moved out of
7357         paragraph.C.
7358
7359         * BufferView2.C (removeAutoInsets): InsetList changes
7360         (lockInset): ditto
7361         (ChangeInsets): ditto
7362
7363 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * paragraph_pimpl.h (empty): new function
7366
7367         * paragraph.[Ch] (empty): new function
7368
7369         * other files: use the new Paragraph::empty function
7370
7371 2002-08-09  John Levon  <levon@movementarian.org>
7372
7373         * lyxtext.h: remove unused refresh_height
7374
7375 2002-08-09  John Levon  <levon@movementarian.org>
7376
7377         * Makefile.am:
7378         * sgml.h:
7379         * sgml.C:
7380         * buffer.C:
7381         * paragraph.h:
7382         * paragraph.C: move sgml char escaping out of paragraph
7383
7384         * paragraph.h:
7385         * paragraph.C: remove id setter
7386
7387         * buffer.C:
7388         * paragraph.C:
7389         * paragraph_pimpl.C: remove dead tex_code_break_column
7390
7391         * bufferview_funcs.C: small cleanup
7392
7393         * lyxfunc.C: remove dead proto
7394
7395         * lyxtext.h: make some stuff private. Remove some dead stuff.
7396
7397         * lyxgluelength.C: make as[LyX]String() readable
7398
7399 2002-08-08  John Levon  <levon@movementarian.org>
7400
7401         * LyXAction.h:
7402         * LyXAction.C:
7403         * MenuBackend.C:
7404         * ToolbarDefaults.C:
7405         * lyxfunc.C:
7406         * lyxrc.C:
7407         * toc.C: lyxaction cleanup
7408
7409 2002-08-08  John Levon  <levon@movementarian.org>
7410
7411         * BufferView2.C: small cleanup
7412
7413         * lyxfind.h:
7414         * lyxfind.C: move unnecessary header into the .C
7415
7416 2002-08-08  John Levon  <levon@movementarian.org>
7417
7418         * funcrequest.h: just tedious nonsense
7419
7420         * lyx_main.h:
7421         * lyx_main.C: cleanups
7422
7423         * buffer.C:
7424         * vspace.C: remove dead header lyx_main.h
7425
7426 2002-08-07  Angus Leeming  <leeming@lyx.org>
7427
7428         * Paragraph.[Ch]:
7429         * paragraph_pimpl.h:
7430         Forward declare class Counters in paragraph.h by moving the ctrs member
7431         variable into Paragraph::Pimpl.
7432         (counters): new method, returning a reference to pimpl_->ctrs.
7433
7434         * text2.C: ensuing changes.
7435
7436 2002-08-07  John Levon  <levon@movementarian.org>
7437
7438         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7439
7440         * BufferView_pimpl.C: announce X selection on double/triple
7441           click
7442
7443         * lyx_main.C: use correct bool in batch dispatch
7444
7445         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7446
7447 2002-08-07  André Pönitz <poenitz@gmx.net>
7448
7449         * funcrequest.h: new class to wrap a kb_action and its argument
7450
7451         * BufferView.[Ch]:
7452         * BufferView_pimpl[Ch]:
7453         * LaTeX.C:
7454         * LyXAction.[Ch]:
7455         * lyxfunc.[Ch]:
7456         * lyxrc.C: subsequent changes
7457
7458
7459 2002-08-07  John Levon  <levon@movementarian.org>
7460
7461         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7462           document options change.
7463
7464 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7465
7466         * counters.[Ch]
7467         * text2.C
7468         * paragraph.[Ch]
7469         * makefile.am: move counters functionality over from
7470         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7471
7472 2002-08-06  John Levon  <levon@movementarian.org>
7473
7474         * WordLangTuple.h: new file for word + language code tuple
7475
7476         * SpellBase.h:
7477         * pspell.h:
7478         * pspell.C:
7479         * ispell.h:
7480         * ispell.C:
7481         * lyxtext.h:
7482         * text.C:
7483         * text2.C:
7484         * BufferView.h:
7485         * BufferView2.C: use WordLangTuple
7486
7487         * layout.h:
7488         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7489
7490 2002-08-06  John Levon  <levon@movementarian.org>
7491
7492         * lyx_main.C: fix cmdline batch handling
7493
7494 2002-08-06  André Pönitz <poenitz@gmx.net>
7495
7496         * lyxrc.C: set default for show_banner to true
7497
7498 2002-08-06  John Levon  <levon@movementarian.org>
7499
7500         * pspell.C: fix a crash, and allow new aspell to work
7501
7502 2002-08-06  John Levon  <levon@movementarian.org>
7503
7504         * lyxfunc.C:
7505         * kbmap.C: small cleanup
7506
7507         * vspace.h:
7508         * vspace.C: add const
7509
7510 2002-08-05  John Levon  <levon@movementarian.org>
7511
7512         * LyXAction.C: back to tabular-insert
7513
7514 2002-08-04  John Levon  <levon@movementarian.org>
7515
7516         * BufferView.h:
7517         * BufferView.C: cosmetic change
7518
7519         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7520
7521         * bufferlist.C:
7522         * buffer.h:
7523         * buffer.C:
7524         * lyxcb.h:
7525         * lyxcb.C:
7526         * lyxserver.C:
7527         * lyxvc.C:
7528         * vc-backend.C:
7529         * BufferView2.C: purge all "Lyx" not "LyX" strings
7530
7531         * lyxcursor.h:
7532         * lyxcursor.C: attempt to add some documentation
7533
7534         * lyxfunc.C:
7535         * commandtags.h:
7536         * LyXAction.C:
7537         * ToolbarDefaults.C:
7538         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7539           merge with LFUN_TABULAR_INSERT
7540
7541         * Makefile.am:
7542         * SpellBase.h:
7543         * ispell.h:
7544         * ispell.C:
7545         * pspell.h:
7546         * pspell.C: split up i/pspell implementations into separate
7547           files, many cleanups
7548
7549         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7550
7551         * text2.C: some cleanup
7552
7553         * lyxfunc.C: don't check for isp_command == "none" any more, it
7554           didn't make any sense
7555
7556 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7557
7558         * counters.[Ch]
7559         * text2.C
7560         * paragraph.[Ch]
7561         * makefile.am: move counters functionality over
7562         from text2.C/paragraph.[Ch] to counters.[Ch], and
7563         make proper C++.
7564 2002-08-02  John Levon  <levon@movementarian.org>
7565
7566         * buffer.C: s/lyxconvert/lyx2lyx/
7567
7568 2002-08-02  Angus Leeming  <leeming@lyx.org>
7569
7570         * lyxlex.C: revert John's change as it breaks reading of the user
7571         preamble.
7572
7573 2002-08-02  Angus Leeming  <leeming@lyx.org>
7574
7575         * importer.C (Import):
7576         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7577         changes due to LyXView::view() now returning a boost::shared_ptr.
7578
7579 2002-08-02  John Levon  <levon@movementarian.org>
7580
7581         * lyxlex.C: small cleanup
7582
7583 2002-08-02  John Levon  <levon@movementarian.org>
7584
7585         * text2.C (status): small cleanup, no logic change
7586
7587 2002-08-01  John Levon  <levon@movementarian.org>
7588
7589         * buffer.h:
7590         * buffer.C (writeFile): don't output alerts, caller
7591           handles this
7592
7593         * bufferlist.C:
7594         * lyx_cb.C: from above
7595
7596         * lyxfunc.C: allow to open non-existent files
7597
7598 2002-07-31  John Levon  <levon@movementarian.org>
7599
7600         * lyxserver.C: don't let incidental errors get
7601           in the way (errno)
7602
7603 2002-07-30  John Levon  <levon@movementarian.org>
7604
7605         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7606
7607 2002-07-30  John Levon  <levon@movementarian.org>
7608
7609         * lyxserver.h:
7610         * lyxserver.C: remove I/O callback too
7611
7612 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7613
7614         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7615         log.
7616
7617 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * many files: strip,frontStrip -> trim,ltrim,rtrim
7620
7621 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * PrinterParams.h: remove extern containsOnly, and include
7624         support/lstrings.h instead.
7625
7626         * LaTeX.C (scanAuxFile): modify because of strip changes
7627         (deplog): ditto
7628         * buffer.C (makeLaTeXFile): ditto
7629         * bufferparams.C (writeFile): ditt
7630         * lyxfont.C (stateText): ditto
7631         * lyxserver.C (read_ready): ditto
7632         * vc-backend.C (scanMaster): ditto
7633
7634         * BufferView_pimpl.h: ws changes
7635
7636         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7637
7638 2002-07-26  André Pönitz <poenitz@gmx.net>
7639
7640         * kb_sequence.C: remove unnedred usings
7641
7642 2002-07-26  Juergen Vigna  <jug@sad.it>
7643
7644         * lyxfind.C (LyXReplace): we have to check better if the returned
7645         text is not of theLockingInset()->getLockingInset().
7646
7647 2002-07-25  Juergen Vigna  <jug@sad.it>
7648
7649         * lyxfind.C (LyXReplace): don't replace if we don't get the
7650         right LyXText.
7651
7652         * undo_funcs.C (createUndo): remove debugging code.
7653
7654 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * buffer.C (parseSingleLyXformat2Token): Use default placement
7657         when reading old floats.
7658
7659         * FloatList.C (FloatList): Change the default placement of figure
7660         and tables to "tbp".
7661
7662 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * MenuBackend.C: using std::max
7665
7666 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7667
7668         * MenuBackend.C (expandToc):
7669         (expandToc2): code moved from xforms menu frontend. It is now
7670         generic and TOCs are transparent to menu frontends.
7671
7672 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7673
7674         * toc.C (getTocList): protect against buf=0
7675
7676         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7677         Menu as first parameter. Now, this calls itself recursively to
7678         expand a whole tree (this will be useful for TOC handling)
7679         (expandFloatInsert): remove 'wide' version of floats
7680
7681         * MenuBackend.h (submenuname): returns the name of the submenu.
7682         (submenu): returns the submenu itself, provided it has been
7683         created by MenuBackend::expand
7684
7685 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7688         insets which have noFontChange == true. (bug #172)
7689
7690 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * BufferView_pimpl.C: add connection objects and use them...
7693         (Pimpl): here.
7694
7695 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7696
7697         * MenuBackend.C (expandLastfiles):
7698         (expandDocuments):
7699         (expandFormats):
7700         (expandFloatListInsert):
7701         (expandFloatInsert):
7702         (expand): split expand in parts
7703
7704 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7705
7706         * lyx_gui.C: use lyx_gui::exit()
7707
7708 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7709
7710         * LyXAction.C: show the failing pseudo action
7711
7712 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7713
7714         * buffer.C (readFile): Run the lyxconvert script in order to read
7715         old files.
7716
7717 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * LyXAction.C:
7720         * commandtags.h:
7721         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7722
7723 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * LyXAction.C:
7726         * commandtags.h:
7727         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7728
7729 2002-07-22  Herbert Voss  <voss@lyx.org>
7730
7731         * lengthcommon.C:
7732         * lyxlength.[Ch]: add support for the vertical lengths
7733
7734 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7735
7736         * toc.[Ch]: std:: fixes
7737
7738 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7739
7740         * lyxrc.C: do not include lyx_main.h
7741
7742         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7743         for layouts
7744
7745         * lyxrc.C:
7746         * encoding.C:
7747         * bufferlist.C:
7748         * BufferView2.C: include "lyxlex.h"
7749
7750         * tabular.h:
7751         * bufferparams.h: do not #include "lyxlex.h"
7752
7753         * lyxtextclasslist.C (Add): remove method
7754         (classlist): renamed to classlist_
7755
7756         * paragraph_pimpl.C:
7757         * paragraph.C:
7758         * text2.C:
7759         * CutAndPaste.C:
7760         * bufferview_funcs.C:
7761         * bufferlist.C:
7762         * text.C:
7763         * LaTeXFeatures.C:
7764         * buffer.C:
7765         * toc.C (getTocList): use BufferParams::getLyXTextClass
7766
7767         * toc.C (getTocList): use InsetFloat::addToToc
7768
7769         * toc.[Ch]: new files, containing helper functions to handle table
7770         of contents
7771
7772         * lyxfunc.C (dispatch): no need to remove spaces around command
7773         given as a string
7774         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7775         first command of the sequence; it is not very clever, but I do not
7776         have a better idea, actually
7777
7778         * LyXAction.C (LookupFunc): make sure to remove space at the
7779         beginning and end of the command
7780
7781 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7782
7783         * MenuBackend.C (getMenubar): new method: return the menubar of
7784         this menu set
7785         (read): treat differently reading of menu and menubar (in
7786         particular, the menubar has no name now)
7787         (Menu::menubar): remove
7788
7789         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7790         saving is finished
7791
7792 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7793
7794         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7795         a bibitem inset in a RTL paragraph.
7796
7797 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * paragraph_pimpl.C: constify
7800
7801         * BufferView_pimpl.C:
7802         * LaTeX.C:
7803         * lyxfunc.C: fix dispatch in a nicer way
7804
7805 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * lyxfunc.C (dispatch):
7808         * BufferView_pimpl.C:
7809         * BufferView_pimpl.h:
7810         * BufferView.C:
7811         * BufferView.h: rename Dispatch() to dispatch()
7812
7813         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7814
7815         * lyxlayout.C (Read): honor DependsOn tag
7816
7817         * lyxlayout.[Ch] (depends_on): new method
7818
7819         * version.C.in: update lyx_docversion
7820
7821         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7822
7823         * paragraph.C (validate): remove from here...
7824         * paragraph_pimpl.C (validate): ... and move here
7825         (isTextAt): make it const
7826
7827         * buffer.C (getLists): ws cleanup
7828
7829 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7830
7831         * language.C (read): Use iso8859-1 encoding in latex_lang
7832         (this prevents LyX from crashing when using iso10646-1 encoding).
7833
7834 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * text2.C (toggleInset): if cursor is inside an inset, close the
7837         inset and leave cursor _after_ it
7838
7839 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7840
7841         * lyxfunc.C: move minibuffer completion handling out of here
7842
7843 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * BufferView_pimpl.C:
7846         * LaTeX.C: fix dispatch calls
7847
7848 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7849
7850         * text.C (drawChars): Fix Arabic text rendering.
7851
7852 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * LyXAction.C:
7855         * commandtags.h:
7856         * lyxfunc.C: remove message-push/pop
7857
7858         * lyxserver.C:
7859         * lyxfunc.h:
7860         * lyxfunc.C: rationalise some code by removing verboseDispatch
7861           in favour of a bool argument to dispatch()
7862
7863 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * lyx_main.C (init): make sure to read symlinks as absolute paths
7866
7867 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * lyxfunc.h:
7870         * lyxfunc.C: no need for commandshortcut to be a member
7871
7872 2002-07-15  André Pönitz <poenitz@gmx.net>
7873
7874         * converter.C: add support for $$s (scripts from lib/scripts dir)
7875         * lyx_main.C: white space
7876
7877 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * bufferlist.C:
7880         * lyxrc.h:
7881         * lyxrc.C: remove second exit confirmation
7882
7883 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7884
7885         * BufferView.h:
7886         * BufferView.C:
7887         * BufferView2.C:
7888         * BufferView_pimpl.h:
7889         * BufferView_pimpl.C:
7890         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7891
7892 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * MenuBackend.C (expand): add numeric shortcuts to document menu
7895
7896         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7897
7898 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7899
7900         * lyxfont.C (setLyXFamily):
7901         (setLyXSeries):
7902         (setLyXShape):
7903         (setLyXSize):
7904         (setLyXMisc):
7905         (lyxRead):
7906         * debug.C (value):
7907         * buffer.C (asciiParagraph): use ascii_lowercase
7908
7909 2002-07-15  Mike Fabian  <mfabian@suse.de>
7910
7911         * lyxlex_pimpl.C (search_kw):
7912         * lyxlex.C (getLongString):
7913         * converter.h (operator<):
7914         * converter.C (operator<):
7915         * buffer.C (parseSingleLyXformat2Token):
7916         (asciiParagraph):
7917         * ToolbarDefaults.C (read):
7918         * MenuBackend.C (checkShortcuts):
7919         (read):
7920         * LColor.C (getFromGUIName):
7921         (getFromLyXName): use the compare_ascii_no_case instead of
7922         compare_no_case, because in turkish, 'i' is not the lowercase
7923         version of 'I', and thus turkish locale breaks parsing of tags.
7924
7925 2002-07-16  Angus Leeming  <leeming@lyx.org>
7926
7927         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7928         now takes a Buffer const & argument.
7929
7930 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7931
7932         * BufferView.C (resize): check there's a buffer to resize
7933
7934 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7935
7936         * lyxfunc.C: remove dead code
7937
7938         * lyxserver.h:
7939         * lyxserver.C: use lyx_guii::set_read_callback
7940
7941 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7942
7943         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7944         an inset in a RTL paragraph.
7945
7946 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * lyxfunc.C: repaint after a font size update
7949
7950 2002-07-15  André Pönitz <poenitz@gmx.net>
7951
7952         * lyxlength.C: inBP should be able to return negative values
7953
7954 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * lyxfunc.C: use lyx_gui::update_fonts()
7957
7958 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * lyxfunc.C: use lyx_gui::update_color()
7961
7962 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7963
7964         * bufferlist.C:
7965         * lyxfunc.h:
7966         * lyxfunc.C:
7967         * lyxrc.h:
7968         * lyxrc.C: remove file->new asks for name option, and let
7969           buffer-new take an argument
7970
7971 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7972
7973         * BufferView_pimpl.C: remove unneeded extra repaint()
7974
7975 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * LyXAction.C: allow command-sequence with NoBuffer
7978
7979         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7980
7981 2002-07-10  Angus Leeming  <leeming@lyx.org>
7982
7983         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7984
7985 2002-07-09  Angus Leeming  <leeming@lyx.org>
7986
7987         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7988
7989 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7990
7991         * lengthcommon.h: whitespace
7992
7993         * lyxfunc.C: update scrollbar after goto paragraph
7994
7995         * lyxtext.h: factor out page break drawing, and fix it so
7996           page break/added space paints as selected nicely
7997
7998 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7999
8000         * BufferView_pimpl.C: add FIXMEs, clean up a little
8001
8002 2002-07-09  André Pönitz <poenitz@gmx.net>
8003
8004         * lyxfont.[Ch]: support for wasy symbols
8005
8006 2002-07-08  André Pönitz <poenitz@gmx.net>
8007
8008         * BufferView_pimpl.C: apply John's patch for #93.
8009
8010 2002-07-05  Angus Leeming  <leeming@lyx.org>
8011
8012         * BufferView_pimpl.C (buffer): generate previews if desired.
8013
8014         * LColor.h: add "preview" to the color enum.
8015
8016         * LColor.C (LColor): add a corresponding entry to the items array.
8017
8018         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8019         with this buffer.
8020
8021 2002-07-05  Angus Leeming  <leeming@lyx.org>
8022
8023         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8024         The body of the code is now in the method that is passed an ostream &
8025         rather than a file name.
8026         Pass an additional only_preamble parameter, useful for the forthcoming
8027         preview stuff.
8028
8029 2002-07-03  André Pönitz <poenitz@gmx.net>
8030
8031         * lyxfunc.C: simplify getStatus() a bit for math stuff
8032
8033 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8036
8037 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * text.C (changeRegionCase): do not change case of all the
8040         document when region ends at paragraph end (bug #461)
8041
8042 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8043
8044         * paragraph.C (startTeXParParams):
8045         (endTeXParParams): add \protect when necessary
8046
8047 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8048
8049         * BufferView_pimpl.C (workAreaExpose): remove warning
8050
8051 2002-06-27  Angus Leeming  <leeming@lyx.org>
8052
8053         * Makefile.am: add lyxlayout_ptr_fwd.h.
8054
8055 2002-06-26  André Pönitz <poenitz@gmx.net>
8056
8057         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8058
8059 2002-06-25  Angus Leeming  <leeming@lyx.org>
8060
8061         * lyxfunc.C (dispatch): Comment out the call to
8062         grfx::GCache::changeDisplay. The method no longer exists now that the
8063         pixmap generation part of the graphics loader has been moved into
8064         InsetGraphics.
8065
8066 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * text2.C: layout as layout
8069
8070         * text.C: layout as layout
8071
8072         * tabular.C (OldFormatRead): layout as layout
8073
8074         * paragraph_pimpl.C (TeXDeeper): layout as layout
8075         (realizeFont): layout as layout
8076
8077         * paragraph.C (writeFile): layout as layout
8078         (validate): layout as layout
8079         (getFont): layout as layout
8080         (getLabelFont): layout as layout
8081         (getLayoutFont): layout as layout
8082         (breakParagraph): layout as layout
8083         (stripLeadingSpaces): layout as layout
8084         (getEndLabel): layout as layout
8085         (getMaxDepthAfter): layout as layout
8086         (applyLayout): layout as layout
8087         (TeXOnePar): layout as layout
8088         (simpleTeXOnePar): layout as layout
8089         (TeXEnvironment): layout as layout
8090         (layout): layout as layout
8091         (layout): layout as layout
8092
8093         * lyxtextclass.C (compare_name): new functor to work with
8094         shared_ptr, layout as layout
8095         (Read): layout as layout
8096         (hasLayout): layout as layout
8097         (operator): layout as layout
8098         (delete_layout): layout as layout
8099         (defaultLayout): layout as layout
8100
8101         * lyxlayout_ptr_fwd.h: new file
8102
8103         * lyxlayout.C (Read): layout as layout
8104
8105         * lyx_cb.C (MenuInsertLabel): layout as layout
8106
8107         * bufferlist.C (newFile): layout as layout
8108
8109         * buffer.C (readLyXformat2): layout as layout
8110         (parseSingleLyXformat2Token): layout as layout
8111         (insertStringAsLines): layout as layout
8112         (asciiParagraph): layout as layout
8113         (latexParagraphs): layout as layout
8114         (makeLinuxDocFile): layout as layout
8115         (simpleLinuxDocOnePar): layout as layout
8116         (makeDocBookFile): layout as layout
8117         (simpleDocBookOnePar): layout as layout
8118         (getLists): layout as layout
8119
8120         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8121
8122         * CutAndPaste.C (cutSelection): layout as layout
8123         (pasteSelection): layout as layout
8124         (SwitchLayoutsBetweenClasses): layout as layout
8125
8126         * BufferView_pimpl.C (Dispatch): layout as layout
8127         (smartQuote): layout as layout
8128
8129         * BufferView2.C (unlockInset): layout as layout
8130
8131 2002-06-24  André Pönitz <poenitz@gmx.net>
8132
8133         * lyxfunc.C: fix #487
8134
8135 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8136
8137         * lyxrc.h:
8138         * lyxrc.C:
8139         * lyxfunc.C: remove display_shortcuts, show_banner
8140
8141 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * Buffer_pimpl.C: oops, update on resize
8144
8145 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * buffer.C:
8148         * converter.C:
8149         * exporter.C:
8150         * lyxfunc.C:
8151         * BufferView.h:
8152         * BufferView.C: use repaint()
8153
8154         * BufferView_pimpl.h:
8155         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8156           as it's a clearer description. Remove superfluous
8157           redraws.
8158
8159 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * text.C: fix bug 488. Not ideal, but getting
8162           getWord() to work properly for the insets that
8163           matter is more difficult ...
8164
8165 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * BufferView_pimpl.C:
8168         * LyXAction.C:
8169         * commandtags.h:
8170         * lyxfunc.C: remove the six million index lyxfuncs to just
8171           one, and DTRT (bug 458)
8172
8173 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * BufferView.h:
8176         * BufferView.C:
8177         * BufferView_pimpl.h:
8178         * BufferView_pimpl.C: clean up resize() stuff,
8179           and unnecessary updateScreen()s
8180
8181 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * BufferView.h:
8184         * BufferView.C:
8185         * BufferView_pimpl.h:
8186         * BufferView_pimpl.C:
8187         * lyxfind.h:
8188         * lyxfind.C:
8189         * minibuffer.C: remove focus management of workarea,
8190           not needed. Use screen's greyOut()
8191
8192 2002-06-17  Herbert Voss  <voss@lyx.org>
8193
8194         * converter.C: (convert) do not post a message, when converting
8195         fails, let the calling function decide what to do in this case
8196
8197 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * lyxfunc.C: tidy up a little
8200
8201 2002-06-16    <alstrup@diku.dk>
8202
8203         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8204         Got rid of FORMS_H_LOCATION include. Now we are
8205         GUII.
8206
8207 2002-06-15  LyX Development team  <lyx@rilke>
8208
8209         * buffer.[Ch] (sgmlOpenTag):
8210         (sgmlCloseTag): Added support for avoiding pernicious mixed
8211         content. Return number of lines written.
8212
8213         (makeLinuxDocFile):
8214         (makeDocBookFile): Fixed calls to sgml*Tag.
8215         Simple white space clean.
8216
8217         (simpleDocBookOnePar): Simple white space clean.
8218
8219         * tabular.[Ch] (docBook): Renamed to docbook and got another
8220         argument to related with the pernicious mixed content.
8221
8222         (docbookRow): Fixed calls for docbook inset method.
8223
8224 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8225
8226         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8227         so it's X11 independent.
8228
8229         * kb*.[Ch]: ditto.
8230
8231         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8232
8233 2002-06-15  Lyx Development team  <lyx@electronia>
8234
8235         * intl.h: Renamed getTrans to getTransManager.
8236
8237 2002-06-14  Angus Leeming  <leeming@lyx.org>
8238
8239         * Makefile.am: nuke forgotten stl_string_fwd.h.
8240
8241 2002-06-12  Angus Leeming  <leeming@lyx.org>
8242
8243         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8244
8245 2002-06-13  Angus Leeming  <leeming@lyx.org>
8246
8247         * LaTeX.C:
8248         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8249
8250 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8251
8252         * kbmap.C (getiso): add support for cyrillic and greek
8253
8254 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8255
8256         * BufferView.h:
8257         * BufferView.C:
8258         * BufferView_pimpl.h:
8259         * BufferView_pimpl.C: move bogus scrolling logic
8260           to xforms
8261
8262 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8263
8264         * lyxfunc.C:
8265         * BufferView_pimpl.C: view->resize() change
8266
8267 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * BufferView_pimpl.C: topCursorVisible
8270           prototype change
8271
8272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8273
8274         * Makefile.am:
8275         * lyx_gui.h:
8276         * lyx_gui.C: move to frontends/
8277
8278         * main.C:
8279         * lyx_main.h:
8280         * lyx_main.C: changes from above
8281
8282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * intl.C:
8285         * intl.h:
8286         * kbmap.C:
8287         * kbsequence.C:
8288         * lyx_cb.C:
8289         * lyx_main.C: minor tidy
8290
8291 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * BufferView_pimpl.h:
8294         * BufferView_pimpl.C:
8295         * BufferView.h:
8296         * BufferView.C: make painter() const,
8297           remove dead code
8298
8299         * BufferView2.C: use screen() accessor
8300
8301         * lyx_main.h:
8302         * lyx_main.C: some minor cleanup
8303
8304 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8305
8306         * BufferView_pimpl.h:
8307         * BufferView_pimpl.C: remove enter/leaveView,
8308           use workHeight()
8309
8310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * BufferView.h:
8313         * BufferView.C:
8314         * BufferView2.C:
8315         * BufferView_pimpl.h:
8316         * BufferView_pimpl.C: only construct screen once,
8317           rename
8318
8319         * lyxrc.C: remove pointless comment
8320
8321 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * BufferView.h:
8324         * BufferView.C: remove active() and belowMouse()
8325
8326         * BufferView_pimpl.h:
8327         * BufferView_pimpl.C: use workarea() not workarea_,
8328           and make it use a scoped_ptr instead
8329
8330 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * lyx_gui.C: add debug message on BadWindow
8333
8334 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * sp_spell.C: fdopen is not part of the C++ standard.
8337
8338         * paragraph.C (InsetIterator): use >= instead of ==
8339
8340 2002-06-07  Angus Leeming  <leeming@lyx.org>
8341
8342         Fixes needed to compile with Compaq cxx 6.5.
8343         * BufferView_pimpl.C:
8344         * DepTable.C:
8345         * buffer.C:
8346         * converter.C:
8347         * encoding.C:
8348         * lyx_gui.C:
8349         * lyx_main.C:
8350         * lyxtextclasslist.C:
8351         * minibuffer.C:
8352         * sp_spell.C:
8353         * tabular_funcs.C:
8354         * vc-backend.C:
8355         all c-library variables have been moved into namespace std. Wrap
8356         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8357
8358         * lyxlength.C:
8359         * tabular-old.C:
8360         * tabular.C:
8361         Add a using std::abs declaration.
8362
8363         * kbmap.h (modifier_pair):
8364         * paragraph.h (InsetTable, InsetList):
8365         * lyxfont.h (FontBits):
8366         type definition made public.
8367
8368         * bufferlist.C (emergencyWriteAll): the compiler complains that
8369         there is more than one possible lyx::class_fun template to choose from.
8370         I re-named the void specialisation as lyx::void_class_fun.
8371
8372         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8373
8374         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8375         the compiler is is unable to find tostr in write_attribute.
8376
8377 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8378
8379         * buffer.C (sgmlError): hide #warning
8380
8381 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * xtl/*: get rid of xtl, which is not in use anyway
8384
8385         * LyXAction.C (init):
8386         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8387         were unimplemented xtl experimentation
8388
8389 2002-06-04  André Pönitz <poenitz@gmx.net>
8390
8391         * lyxfunc.C: disable array operation on simple formulae
8392
8393 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * converter.C: constify a bit
8396
8397 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * lyx_gui.C: check xforms version correctly
8400
8401 2002-04-30  Herbert Voss  <voss@lyx.org>
8402
8403         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8404         "keep" option
8405
8406 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8407
8408         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8409           attempt to register it with a VCS)
8410
8411 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8412
8413         * lyx_main.C (init): honor variables LYX_DIR_13x and
8414         LYX_USERDIR_13x
8415
8416 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * buffer.h:
8419         * buffer.C:
8420         * lyx_main.C: fix a crash on bad command line,
8421           and give a useful exit status on error
8422
8423         * lyxfunc.C (doImport): allow -i lyx to work
8424
8425 2002-03-30  André Pönitz <poenitz@gmx.net>
8426
8427         * lyxfunc.C: mathed font changes
8428
8429 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * LaTeX.C:
8432         * importer.h:
8433         * importer.C:
8434         * lyx_sty.h:
8435         * lyx_sty.C:
8436         * lyxlex.C:
8437         * lyxrow.h:
8438         * lyxtext.h:
8439         * paragraph.h:
8440         * paragraph.C:
8441         * texrow.h:
8442         * texrow.C:
8443         * text.C:
8444         * trans_mgr.h: srcdocs, and some minor cleanups
8445
8446 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8447
8448         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8449         call getFont all the time)
8450
8451 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8452
8453         * switch from SigC signals to boost::signals
8454
8455 2002-05-29  André Pönitz <poenitz@gmx.net>
8456
8457         * paragraph_pimpl.C (getChar): don't call size() too often...
8458
8459 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * paragraph_pimpl.C (insertChar): do not try to update tables when
8462         appending (pos == size())
8463
8464         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8465         in order to reduce drastically the number of comparisons needed to
8466         parse a large document
8467
8468 2002-05-29  André Pönitz <poenitz@gmx.net>
8469
8470         * text.C:
8471         * text2.C:
8472         * lyxtextclass.C:
8473         * sp_pspell.h:
8474         * textclasslist.[Ch]:
8475         * sp_ispell.h: whitespace change
8476
8477 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8478
8479         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8480         lyxaction directly now.
8481
8482 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8483
8484         * trans.C:
8485         * lyxfont.C:
8486         * lyxvc.C: remove unused headers
8487
8488 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * Makefile.am:
8491         * buffer.h:
8492         * undostack.h:
8493         * undostack.C:
8494         * undo_funcs.h:
8495         * undo_funcs.C: some cleanups. Use shared_ptr
8496           and a template for the undo stacks.
8497
8498 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * BufferView_pimpl.h:
8501         * BufferView_pimpl.C:
8502         * kbmap.h:
8503         * kbmap.C:
8504         * kbsequence.h:
8505         * kbsequence.C:
8506         * lyxfunc.h:
8507         * lyxfunc.C:
8508         * text2.C: use key_state/mouse_state
8509
8510 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8511
8512         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8513         and LSubstring
8514
8515         * chset.C: change include order
8516         (loadFile): use boost regex and get rid of LRegex and LSubstring
8517
8518         * Makefile.am (BOOST_LIBS): new variable
8519         (lyx_LDADD): use it
8520
8521         * LaTeX.C: change include order.
8522         (scanAuxFile): use boost regex and get rid of LRegex and
8523         LSubstring
8524         (deplog): ditto
8525
8526 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * ColorHandler.h:
8529         * ColorHandler.C:
8530         * FontInfo.h:
8531         * FontInfo.C: moved to frontends/xforms/
8532
8533         * FontLoader.h:
8534         * FontLoader.C: moved into frontends for GUIIzation
8535
8536         * Makefile.am:
8537         * lyx_gui.C:
8538         * lyxfont.C:
8539         * lyxfunc.C: changes from above
8540
8541 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * LColor.C: remove spurious X include
8544
8545         * BufferView_pimpl.C:
8546         * Makefile.am:
8547         * font.h:
8548         * font.C:
8549         * text.C:
8550         * text2.C: move font metrics to frontends/
8551
8552 2002-05-24  Juergen Vigna  <jug@sad.it>
8553
8554         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8555         setting the undo_cursor.
8556
8557         * ParagraphParameters.h: include local includes first.
8558
8559 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * BufferView_pimpl.C:
8562         * BufferView_pimpl.h:
8563         * Makefile.am:
8564         * WorkArea.h:
8565         * WorkArea.C:
8566         * screen.C: move WorkArea into frontends/
8567
8568         * lyxscreen.h:
8569         * screen.C:
8570         * text.C:
8571         * BufferView.C:
8572         * BufferView2.C: move LyXScreen into frontends/
8573
8574         * lyxlookup.h:
8575         * lyxlookup.C:
8576         * lyx_gui.C: move lyxlookup into frontends/xforms/
8577
8578 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * BufferView2.C:
8581         * BufferView_pimpl.C:
8582         * FontLoader.C:
8583         * LyXView.h:
8584         * LyXView.C:
8585         * Makefile.am:
8586         * WorkArea.C:
8587         * XFormsView.h:
8588         * XFormsView.C:
8589         * buffer.C:
8590         * bufferlist.C:
8591         * bufferview_funcs.C:
8592         * converter.C:
8593         * importer.C:
8594         * lyx_cb.C:
8595         * lyx_gui.C:
8596         * lyx_main.C:
8597         * lyx_find.C:
8598         * lyxfunc.C:
8599         * lyxvc.C:
8600         * minibuffer.C:
8601         * text.C:
8602         * text2.C:
8603         * trans.C:
8604         * vc-backend.C: move LyX/XFormsView into frontends/
8605
8606 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * Makefile.am:
8609         * PainterBase.C:
8610         * PainterBase.h:
8611         * Painter.C:
8612         * Painter.h:
8613         * WorkArea.C:
8614         * WorkArea.h:
8615         * screen.C:
8616         * tabular.C:
8617         * text.C:
8618         * text2.C: move Painter to frontends/
8619
8620 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8621
8622         * buffer.C: comment out some some code that depend upon lyx_format
8623         < 220
8624
8625         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8626         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8627
8628         * buffer.h (NO_COMPABILITY): turn off compability
8629
8630         * ColorHandler.C: include scoped_array.hpp
8631
8632         * font.C: Use more specific smart_ptr header.
8633         * Painter.C: ditto
8634         * gettext.C: ditto
8635         * ShareContainer.h: ditto
8636         * lyx_main.h: ditto
8637         * kbmap.h: ditto
8638         * FontInfo.h: ditto
8639         * BufferView_pimpl.h: ditto
8640         * ColorHandler.h: ditto
8641
8642         * kbmap.C (defkey): change call to shared_ptr::reset
8643
8644 2002-05-21  Juergen Vigna  <jug@sad.it>
8645
8646         * buffer.C (insertErtContents): fix to insert ert asis if it is
8647         non empty. Skip it completely if it contains only whitespaces.
8648
8649 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * BufferView_pimpl.C:
8652         * BufferView2.C: clear selection on paste (bug 393)
8653
8654 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8655
8656         * DepTable.C: include ctime
8657
8658 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8659
8660         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8661
8662 2002-05-14  Juergen Vigna  <jug@sad.it>
8663
8664         * text.C (breakParagraph): fixed function to honor the keepempty
8665         layout in the right maner and also to permit the right breaking
8666         algorithm on empty or non empyt keepempty paragraphs.
8667
8668         * paragraph.C (breakParagraph): we have to check also if the par
8669         is really empty (!size()) for isempty otherwise we do the wrong
8670         paragraph break.
8671
8672 2002-05-10  Juergen Vigna  <jug@sad.it>
8673
8674         * buffer.[Ch] : The following are only changes to the ert
8675         compatibility read reading old LaTeX layout and font stuff and
8676         convert it to ERTInsets.
8677
8678         * buffer.h: added isErtInset().
8679
8680         * buffer.C (struct ErtComp): add a fromlayout bool to check
8681         if we're inside a LaTeX layout.
8682         (isErtInset): new helper function.
8683         (insertErtContents): look for other ert insets before this one
8684         and insert the contents there, so that we don't have subsequent
8685         ERT insets with nothing between them. This way we create only one
8686         inset with multiple paragraphs. Also check if we don't insert only
8687         spaces ' ' as they are ignored anyway afterwards in the .tex file
8688         so if we have only spaces we will ignore this latex part in the
8689         new file.
8690         (parseSingleLyXformat2Token \\layout): better compatibility when
8691         reading layout-latex stuff.
8692         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8693         language tag.
8694         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8695         stuff after reading the inset only get the information back from
8696         the stack.
8697
8698 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8699
8700         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8701
8702         * LaTeXFeatures.C (getBabelOptions): New method.
8703
8704 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8705
8706         * BufferView_pimpl.C (Dispatch): work around missing argument for
8707         'layout'
8708
8709 2002-05-08  Juergen Vigna  <jug@sad.it>
8710
8711         * text.C (leftMargin): handle paragraph leftindent.
8712
8713         * paragraph.C (writeFile): write the new \\leftindent tag.
8714         (validate): handle leftindent code.
8715         (TeXEnvironment): handle paragraphleftindent code again.
8716
8717         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8718
8719         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8720         for paragrap_extra indent code and new token \\leftindent.
8721         (latexParagraphs): handle the leftindent as environment.
8722
8723         * ParameterStruct.h: added leftindent support.
8724
8725         * ParagraphParameters.C (leftIndent): added support functions for
8726         the paragraph left indent.
8727
8728         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8729         more appropriate.
8730
8731 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8732
8733         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8734         inside insetERT.
8735
8736         * text.C (computeBidiTables): No bidi in insetERT.
8737
8738         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8739         in RTL documents.
8740
8741 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8742
8743         * version.C.in: pre 5
8744
8745 2002-05-02  José Matos  <jamatos@fep.up.pt>
8746         * buffer.C (makeDocBookFile): white space changes, add newline to
8747         command styles.
8748         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8749
8750         * tabular.C (docBook): fix typo.
8751
8752 2002-05-03  Juergen Vigna  <jug@sad.it>
8753
8754         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8755         change in LyXText as we can not be sure it was not freed.
8756         (drawOneRow): remove unused code.
8757
8758         * text.C (drawInset): redo the calculation of the need_break_row as
8759         it could have a row which was already freed.
8760         (draw): look at the return value of drawInset and return false if
8761         it also returned false.
8762         (paintRowText): look at the return value of draw and return false if
8763         it also returned false.
8764
8765         * lyxtext.h: added bool return type to drawInset() and draw() so that
8766         if we have a change in the row so that the rowbreak has to be redone
8767         we abort drawing as it will be called again.
8768
8769 2002-05-02  Juergen Vigna  <jug@sad.it>
8770
8771         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8772         a change in the maintext also if we're inside an inset.
8773         (Dispatch): set the cursor again after a break line and after the
8774         screen has been updated as it could be we're in a different row.
8775
8776         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8777         to set the cursor behind the pargraph with > size().
8778         (setCursor): check also for the same paragraph when checking where
8779         to put the cursor if we have a NFR inset.
8780
8781         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8782         parts of layout read further up as it still was in the wrong
8783         position.
8784
8785 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8786
8787         * screen.C (drawFromTo): change sine fullRebreak always return
8788         true.
8789
8790         * buffer.C (parseSingleLyXformat2Token): reindent some
8791
8792         * BufferView_pimpl.C (update): change since fullRebreak always
8793         return true.
8794         (Dispatch): git rid of the last hardcoded "Standard"s.
8795
8796 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8797
8798         * text2.[Ch] (fullRebreak): make it return void now that we always
8799         returned true.
8800
8801 2002-04-30  Juergen Vigna  <jug@sad.it>
8802
8803         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8804         ert compatibility check for "latex" layout.
8805
8806 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8807
8808         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8809         minipages: use col% instead of p%, and also use the current font.
8810         (makeLaTeXFile): Fix use babel condition.
8811         (parseSingleLyXformat2Token): Correct font when reading old floats.
8812
8813 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8814
8815         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8816         inserting list of floats.
8817
8818 2002-04-25  Herbert Voss  <voss@lyx.org>
8819
8820         * MenuBackend.C (expand): don't add the graphics extensions to the
8821         export menu
8822
8823 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8826         non-existing layout, do not complain if it was the default layout
8827         of the original class (bug #342)
8828
8829 2002-04-24  Juergen Vigna  <jug@sad.it>
8830
8831         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8832         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8833
8834 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8835
8836         * buffer.C (getBibkeyList): If using \bibliography, return the
8837         option field with the reference itself. Enables us to provide natbib
8838         support when using \bibliography.
8839
8840 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8841
8842         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8843
8844         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8845         natbib is provided by the LaTeX class.
8846
8847 2002-04-23  Juergen Vigna  <jug@sad.it>
8848
8849         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8850         Wakeup functions.
8851
8852         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8853
8854 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8855
8856         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8857
8858         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8859         ensuremath around textordmasculine, textordfeminine and
8860         textdegree.
8861
8862 2002-04-19  Juergen Vigna  <jug@sad.it>
8863
8864         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8865         reinitializing the buffer otherwise row-dimensions may be wrong.
8866         (update): reset also the selection cursors if they do exits otherwise
8867         their x/y positions may be wrong.
8868
8869         * text2.C (cursorDown): don't enter the inset if we came from a row
8870         above and are one row over the inset.
8871
8872         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8873         really leaving an inset.
8874
8875 2002-04-18  Juergen Vigna  <jug@sad.it>
8876
8877         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8878         of the selected paragraph does not have the selected layout also if
8879         the last one had!
8880
8881         * text2.C (setLayout): fixed bug which did not change last selected
8882         paragraph.
8883
8884         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8885         changed the read and substituted \\end_float with \\end_inset!
8886
8887         * BufferView_pimpl.C (cursorPrevious):
8888         (cursorNext): fixed to make it work with rows heigher than the work
8889         area without moving the cursor only the draw of the row.
8890         (workAreaMotionNotify): fix jumping over high rows.
8891
8892 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8895         Ressler.
8896
8897 2002-04-16  Juergen Vigna  <jug@sad.it>
8898
8899         * text2.C (setCursor): set also the irow().
8900         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8901         (cursorUp):
8902         (cursorDown): support for locking an inset if the x_fix value goes
8903         inside it. That way I can transverse insets too with cursor up/down.
8904
8905         * lyxrow.h: added irow helper function same as other (i) functions.
8906
8907         * BufferView_pimpl.C (cursorPrevious):
8908         (cursorNext): fixed for insets!
8909
8910 2002-04-15  Juergen Vigna  <jug@sad.it>
8911
8912         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8913         position otherwise it is wrong in some cases.
8914
8915         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8916         inside the inset before the call.
8917
8918 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8919
8920         * buffer.[Ch] (getBibkeyList): make it const.
8921
8922 2002-04-12  Juergen Vigna  <jug@sad.it>
8923
8924         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8925
8926         * text2.C (getCursorX): new helper function
8927         (setCursor): compute also ix_
8928         (setCursorFromCoordinates): set also ix.
8929
8930         * lyxcursor.h: added ix_ and helper functions.
8931
8932         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8933
8934         * buffer.C (insertStringAsLines): dont break paragraph if the this
8935         paragraph is inside an inset which does not permit it!
8936
8937         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8938         also with no chars on this paragraph.
8939         (paintRowText): only paint stuff if it's inside the workarea!
8940
8941         * paragraph.C (breakParagraph): honor keepempty flag and break the
8942         paragraph always below not above.
8943
8944         * BufferView2.C (unlockInset): update the paragraph layout on inset
8945         unlock as we changed paragraph in such a case.
8946
8947         * lyxfind.C (LyXFind): clear the former selection if not found!
8948
8949         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8950         again called in insertChar().
8951
8952         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8953         an inset which uses the whole row!
8954         (rightMargin): ditto.
8955         (insertChar): force a rebreak if we inserted an inset!
8956
8957 2002-03-28  Herbert Voss  <voss@lyx.org>
8958
8959         * lyxlength.[Ch]: add inBP() to get the right PS-point
8960         units (BigPoint). With inPixels we have rounding errors
8961
8962 2002-04-11  Juergen Vigna  <jug@sad.it>
8963
8964         * text2.C (setCursorFromCoordinates): set iy to the right value.
8965         (setCursor): add check if row->previous exists!
8966
8967         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8968         an old float_type as this was the case in the old code!
8969
8970         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8971
8972         * BufferView2.C (showLockedInsetCursor): use iy
8973         (fitLockedInsetCursor): ditto
8974
8975         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8976         locked insets as there we have the right value now.
8977
8978         * lyxcursor.C: added iy_ variable and iy functions to set to the
8979         baseline of cursor-y of the locked inset.
8980
8981         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8982         (setCursor): fixed for insets which need a full row.
8983
8984         * text.C (rowLastPrintable): don't ignore the last space when before
8985         an inset which needs a full row.
8986         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8987         as last character of a row when before a inset which needs a full row.
8988
8989 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8990
8991         * version.C.in: update date
8992
8993         * text2.C (fullRebreak): try to always return true and see what
8994         happens...
8995
8996 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * MenuBackend.C (expand): use Floating::listName
8999
9000         * FloatList.C (FloatList): add listName argument to the built-in
9001         floats
9002
9003         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9004         text associated with the float.
9005
9006 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9009
9010 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9011
9012         * ShareContainer.h: add a couple of missing typenames.
9013
9014 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9015
9016         * lyxrc.C (getDescription): use _() correctly rather than N_().
9017
9018 2002-03-28  Herbert Voss  <voss@lyx.org>
9019
9020         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9021         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9022
9023 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9026         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9027
9028 2002-03-29  Juergen Vigna  <jug@sad.it>
9029
9030         * lyxfunc.C (dispatch): add a missing fitCursor call.
9031
9032         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9033         it was scrolled by a cursor move, so return the bool status.
9034
9035         * BufferView.C (fitCursor): return the bool flag also to the outside
9036         world as this is needed.
9037
9038         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9039
9040         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9041         call the edit() as it is not needed (and wrong) IMO.
9042         (workAreaButtonPress): set the screen_first variable before evt.
9043         unlock the inset as this may change screen_first and then we have
9044         a wrong y position for the click!
9045
9046 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * MenuBackend.C (expand): another translation that I missed
9049
9050 2002-03-28  Juergen Vigna  <jug@sad.it>
9051
9052         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9053
9054         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9055
9056 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9057
9058         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9059
9060         * MenuBackend.C (expand): fix export/view/update when there is no
9061         document open.
9062
9063 2002-03-27  Herbert Voss  <voss@lyx.org>
9064
9065         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9066         and text%
9067
9068 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * bufferview_funcs.C (currentState): only show paragraph number
9071         for is DEVEL_VERSION is set.
9072
9073         * lyxfunc.C (dispatch): put warning in INFO channel
9074
9075         * MenuBackend.C (expand): translate the name of floats
9076
9077         * FloatList.C (FloatList): mark the float names for translation
9078
9079         * converter.C (convert): use LibScriptSearch
9080
9081 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * MenuBackend.C (defaults): fix default menu (we might as well get
9084         rid of it...)
9085
9086 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9089         directory.
9090
9091 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9092
9093         * lyxvc.C: reorder includes.
9094
9095 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9098           properly
9099
9100 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * CutAndPaste.C: change layouts earlier on paste
9103           to avoid crashing when calling getFont()
9104
9105 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9106
9107         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9108         irritating #error.
9109
9110 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9111
9112         * WorkArea.C: remove 'Pending' debug message.
9113
9114         * most files: ws cleanup
9115
9116         * buffer.[Ch]: ws changes
9117
9118         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9119
9120 2002-03-21  Juergen Vigna  <jug@sad.it>
9121
9122         * tabular.C (SetMultiColumn): collapse also the contents of the
9123         cells and set the last border right. Added a Buffer const * param.
9124
9125 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9126
9127         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9128         linking or not.
9129
9130 2002-03-19  Juergen Vigna  <jug@sad.it>
9131
9132         * text2.C (clearSelection): reset also xsel_cache.
9133
9134         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9135         where it needs to be called (John tells us to do so too :)
9136         (selectionLost): reset sel_cache.
9137
9138         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9139
9140 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9141
9142         * text2.C (setCursorIntern): put debuging code in INSETS channel
9143
9144 2002-03-19  André Pönitz <poenitz@gmx.net>
9145
9146         * lyxfunc.C: tiny whitespace change
9147
9148 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * ToolbarDefaults.C (init):
9151         * LyXAction.C (init):
9152         * commandtags.h:
9153         * BufferView_pimpl.C (Dispatch):
9154         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9155
9156 2002-03-19  Allan Rae  <rae@lyx.org>
9157
9158         * exporter.C (Export): removeAutoInsets before doing anything else.
9159         While I've just introduced a dependency on BufferView this really is
9160         the best place to clean the buffer otherwise you need to cleanup in
9161         a dozen places before calling export or cleanup in a dozen functions
9162         that export calls.
9163
9164         * converter.C (runLaTeX):
9165         (scanLog): Better handling of removeAutoInsets and screen updates.
9166
9167         * lyxfunc.C (dispatch): small whitespace changes
9168
9169 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9170
9171         * WorkArea.C (C_WorkAreaEvent): return a value.
9172         (event_cb): return 1 if we handled the event, 0 otherwise.
9173
9174         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9175
9176 2002-03-18  Juergen Vigna  <jug@sad.it>
9177
9178         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9179         (GetAdditionalWidth): ditto.
9180         (RightLine): ditto.
9181         (LeftLine): ditto.
9182
9183         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9184         inset if we're there actually (probably not used right now but this
9185         is the direction to go for unifying code).
9186         (paste): disable code to clear the selection.
9187
9188         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9189         inside an InsetText and move the check further up as it is in the
9190         wrong place.
9191
9192         * text2.C (pasteSelection): set a selection over the pasted text.
9193
9194 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9195
9196         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9197         and libgraphics to build on Cygwin.
9198
9199 2002-03-15  Juergen Vigna  <jug@sad.it>
9200
9201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9202         inserting an Inset into the paragraph. I know this is not the best
9203         fix but we already use current_view in CutAndPaste so we will remove
9204         all of it's using at the same time.
9205
9206         * buffer.C (sgmlError): deactivated function till it is rewritten in
9207         the right mode, now it can create problems.
9208
9209         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9210         before accessing it.
9211
9212 2002-03-14  Juergen Vigna  <jug@sad.it>
9213
9214         * undo_funcs.C (textHandleUndo): do the right thing when updating
9215         the inset after the undo/redo.
9216
9217         * text2.C (setCursor): just some testcode for #44 not ready yet.
9218
9219         * undo_funcs.C (textHandleUndo): set the next() and previous()
9220         pointers of the paragraph to 0 before deleting otherwise we have
9221         problems with the Paragraph::[destructor].
9222
9223         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9224         on a paragraph insertion.
9225
9226 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9227
9228         * buffer.C (asciiParagraph): use += operator for char append to
9229         string.
9230
9231         * paragraph.C (getFontSettings): compare >= not just >
9232         (highestFontInRange): ditto
9233         (setFont): ditto
9234
9235 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * paragraph.C: change several algorithm to be more appripriate for
9238         the problem domain. This is lookip in FontList and in the InsetList.
9239
9240 2002-03-13  André Pönitz <poenitz@gmx.net>
9241
9242         * commandtags.h:
9243         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9244
9245 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * commandtags.h:
9248         * LyXAction.C:
9249         * lyxfunc.C:
9250         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9251
9252 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9253
9254         * Painter.C (display): anon helper function, adjust code for this
9255         change.
9256         (pixmap): remove function.
9257
9258         * Painter.h: remove private display variable.
9259
9260         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9261
9262 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9263
9264         * WorkArea.[Ch]: remove figinset_canvas cruft.
9265
9266 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * lyxtextclass.C (operator): add one item cache optimization.
9269
9270         * bufferlist.h: doxy changes
9271
9272         * bufferlist.C: ws changes
9273
9274         * DepTable.[Ch] (ext_exist): place const in the right spot.
9275
9276         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9277         call resizeInsets.
9278         (workAreaExpose): call resizeInsets when the with BufferView changes.
9279         (Dispatch): adjust for protectedBlank removal
9280         (specialChar): call updateInset if the insert went ok.
9281
9282         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9283         specialChar instead.
9284
9285         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9286
9287         * BufferView.h: doxy change
9288
9289         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9290
9291         * lyxtextclass.C (operator[]): remove non-const version
9292         (defaultLayout): remove non-const version
9293
9294 2002-03-12  Juergen Vigna  <jug@sad.it>
9295
9296         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9297         did resize the LyXText too.
9298
9299         * buffer.C (readLyXformat2): set layout information on newly allocated
9300         paragraphs.
9301
9302         * tabular.C (OldFormatRead): set layout information on the paragraph.
9303
9304 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9305
9306         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9307
9308 2002-03-11  Juergen Vigna  <jug@sad.it>
9309
9310         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9311         plainly wrong.
9312         (resizeCurrentBuffer): force also the insets to resize themselfes.
9313         (moveCursorUpdate): fixed up for InsetText.
9314
9315 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9316
9317         * commandtags.h:
9318         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9319         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9320         value of Dialogs::tooltipsEnabled().
9321         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9322
9323 2002-03-08  Juergen Vigna  <jug@sad.it>
9324
9325         * BufferView_pimpl.C (updateInset): update inset inside inset also
9326         if it isn't inside theLockingInset().
9327
9328 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9329
9330         * buffer.C (asciiParagraph): redo some of the word and line length
9331         handling.
9332         (getLists): look for Caption instead of caption.
9333
9334 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9335
9336         * buffer.C (Buffer): initialize niceFile to true
9337         (makeLaTeXFile):
9338         (makeLinuxDocFile):
9339         (makeDocBookFile): make sure niceFile is true on exit
9340
9341 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9344
9345 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9346
9347         * LyXSendto.C: remove.
9348         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9349         * lyx_gui.C: remove now-redundant comment.
9350         * ColorHandler.h: remove forward declaration of class WorkArea.
9351         * lyxfunc.C: remove #include "WorkArea.h".
9352
9353 2002-03-07  Juergen Vigna  <jug@sad.it>
9354
9355         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9356         got moved away with the DEPM and also set the inset_owner always
9357         right which before could have been omitted.
9358
9359 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9360
9361         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9362         wanted layout is not found.
9363
9364 2002-03-07  Juergen Vigna  <jug@sad.it>
9365
9366         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9367
9368 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * paragraph.C (breakParagraph): use default layout not layout of
9371         prev paragraph.
9372         (Paragraph): clear ParagraphParameters.
9373
9374 2002-03-06  Juergen Vigna  <jug@sad.it>
9375
9376         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9377         otherwise it would not be a valid lenght. Fixed a special case in
9378         the minipage compatibility read where we end the document with a
9379         minipage.
9380
9381         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9382         was set as it could be 0 for InsetTexts first entry.
9383
9384 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9385
9386         * paragraph.C (writeFile): if layout is empty write out
9387         defaultLayoutName().
9388
9389         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9390         file without named layout we set layout to defaultLayoutName().
9391
9392 2002-03-06  Juergen Vigna  <jug@sad.it>
9393
9394         * CutAndPaste.C (copySelection): set layout for new paragraph.
9395
9396         * text.C (prepareToPrint): leave ERT inset left aligned
9397         (leftMargin): don't indent paragraphs inside ERT insets
9398
9399 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * paragraph.C (breakParagraph): dont call clear do the work manually
9402
9403         * paragraph.[Ch] (clear): remove function
9404
9405 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9406
9407         * paragraph.C (Paragraph): dont call clear, the work has already
9408         been done.
9409
9410         * lyxtextclass.C (operator): assert if n is empty
9411
9412         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9413         work manually instead.
9414
9415 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9416
9417         * BufferView_pimpl.C: protect selectionLost against text == 0
9418
9419 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9420
9421         * text.C (breakParagraph): fix a setting layout to '0' problem.
9422
9423 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9424
9425         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9426         final location of file, for the included files, and graphics.
9427
9428 2002-03-05  Juergen Vigna  <jug@sad.it>
9429
9430         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9431
9432 2002-03-04  Juergen Vigna  <jug@sad.it>
9433
9434         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9435
9436         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9437         last column of multicolumn cells.
9438         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9439
9440 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9441
9442         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9443         file if it doesn't go to a temporary file.
9444
9445         * buffer.C (sgmlOpenTag):
9446         (sgmlCloseTag):  remove extra newline insertion.
9447
9448 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * text.C (getRowNearY): comment out debug msg
9451
9452 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9453
9454         * text2.C: first -> first_y
9455
9456         * text.C (getRowNearY): add some attemts at a possible
9457         optimization, not working.
9458
9459         * tabular.[Ch]: add BufferParams to several function so that newly
9460         created paragraph can be initialized to he default layotu for the
9461         buffers textclass.
9462
9463         * tabular-old.C (ReadOld): add buf->params to call of Init
9464
9465         * screen.C: rename text->first to text->first_y
9466
9467         * paragraph.C (breakParagraph): always set layout in the broken
9468         paragraph
9469
9470         * lyxtextclass.C (Read): remove lowercase
9471         (hasLayout): ditto
9472         (operator): ditto
9473         (delete_layout): ditto
9474
9475         * lyxtext.h: rename first -> first_y
9476
9477         * lyxlayout.C (Read): remove lowercase
9478         (name): ditto
9479         (setName): ditto
9480         (obsoleted_by): ditto
9481
9482         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9483
9484         * buffer.C (insertErtContents): add params are to InsetERT
9485         (parseSingleLyXformat2Token): add code to check if a paragraphs
9486         layout really exist.
9487         (parseSingleLyXformat2Token): add params to several inset
9488         constructors
9489         (asciiParagraph): remove lowercase, do the layout comparisons with
9490         no_case
9491
9492         * BufferView_pimpl.C (cursorNext): first -> first_y
9493         (resizeCurrentBuffer): first -> first_y
9494         (updateScrollbar): first -> first_y
9495         (scrollCB): first -> first_y
9496         (workAreaMotionNotify): first -> first_y
9497         (workAreaButtonPress): first -> first_y
9498         (checkInsetHit): first -> first_y
9499         (cursorPrevious): first -> first_y
9500         (cursorNext): first -> first_y
9501         (Dispatch): add buffer_->params to severl inset contructors
9502
9503 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9504
9505         * lyxlayout.C (Read): remove some debug info that I forgot.
9506
9507         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9508         clean up the code slightly.
9509         (makeLinuxDocFile): ditto
9510         (makeDocBookFile): ditto
9511
9512         * text2.C: layout as string
9513
9514         * text.C: layout as string
9515
9516         * paragraph_pimpl.C: layout as string
9517
9518         * paragraph.[Ch]: layout as string
9519
9520         * lyxtextclasslist.[Ch]: layout as string
9521
9522         * lyxtextclass.[Ch]: layout as string
9523
9524         * lyxtext.h: layout as string
9525
9526         * lyxlayout.[Ch]: layout as string
9527
9528         * lyx_cb.C: layout as string
9529
9530         * bufferview_funcs.C: layout as string
9531
9532         * bufferparams.C: layout as string
9533
9534         * buffer.C: layout as string
9535
9536         * LyXView.[Ch]: layout as string
9537
9538         * LaTeXFeatures.[Ch]: layout as string
9539
9540         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9541
9542         * BufferView_pimpl.C: change current_layout to string, remove
9543         lyx::layout_type.
9544         (Dispatch):
9545         (smartQuote):
9546         (insertInset):
9547         (workAreaButtonRelease): layout as string
9548
9549         * BufferView2.C (unlockInset): adjust
9550
9551         * vspace.C (asLatexCommand): use an explict temp variable.
9552
9553 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * Makefile.am: use FRONTEND_*
9556
9557 2002-03-01  Juergen Vigna  <jug@sad.it>
9558
9559         * tabular.C (SetWidthOfMulticolCell): changed to something better
9560         I hope but still work in progress.
9561         (recalculateMulticolumnsOfColumn): renamed function from
9562         recalculateMulticolCells as it is more appropriate now.
9563         (SetWidthOfCell): calculate multicols better.
9564
9565 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9568
9569         * lyxfunc.C (processKeySym): print sequence also if it is
9570         `deleted' (complete)
9571
9572         * kbsequence.C (print): print sequence even if it is deleted
9573         (complete would be a better word, actually).
9574
9575         * lyxfunc.C (dispatch): print complete options after a prefix key
9576
9577         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9578
9579 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9580
9581         * text2.C (setCharFont): eliminate setCharFont code duplication.
9582
9583 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9586         LFUN_TABULAR_FEATURE (bug #177)
9587
9588 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * Makefile.am: remove figure.h
9591
9592 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9593
9594         * Bufferview_pimpl.C:
9595         * CutAndPasteC:
9596         * LaTeX.C:
9597         * LyXSendto.C:
9598         * buffer.C:
9599         * bufferlist.C:
9600         * converter.C:
9601         * language.C:
9602         * lyxfunc.C:
9603         * lyxvc.C:
9604         * paragraph.C:
9605         * text.C:
9606         * text2.C: remove #include "lyx_gui_misc.h".
9607
9608         * LaTeX.C: added #include <cstdio>
9609
9610 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9611
9612         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9613         that the paragraph following this one can have.
9614
9615         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9616
9617         * vspace.C (asLatexCommand): fix bogus gcc warning
9618
9619         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9620
9621 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9622
9623         * text2.C (setLayout): get rid of redundant code
9624
9625 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9626
9627         * text2.C (incDepth): make sure depth cannot be increased beyond
9628         reasonable values.
9629
9630 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9631
9632         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9633         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9634
9635         * PainterBase.h (image):
9636         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9637         a LyXImage const *.
9638
9639 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * BufferView.C:
9642         * BufferView.h:
9643         * BufferView_pimpl.C:
9644         * BufferView_pimpl.h:
9645         * LaTeXFeatures.C:
9646         * LyXAction.C:
9647         * LyXView.C:
9648         * Makefile.am:
9649         * UpdateList.h:
9650         * UpdateList.C:
9651         * buffer.C:
9652         * figure.h:
9653         * figureForm.C:
9654         * figureForm.h:
9655         * figure_form.C:
9656         * figure_form.h:
9657         * lyx_cb.C:
9658         * lyx_gui.C:
9659         * lyx_gui_misc.C:
9660         * lyxfunc.C:
9661         * sp_base.h:
9662         * sp_ispell.h:
9663         * sp_pspell.h:
9664         * sp_spell.C: remove fig inset, and the crap house of
9665           cards that follows it
9666
9667 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * Makefile.am:
9670         * lyxserver.C:
9671         * os2_defines.h:
9672         * os2_errortable.h:
9673         * nt_defines.h: move .h into support/
9674
9675         * vms_defines.h: remove
9676
9677         * WorkArea.C: add space in debug output
9678
9679         * text2.C:
9680         * paragraph.C:
9681         * buffer.C: add WITH_WARNINGS
9682
9683         * vc-backend.h:
9684         * vc-backend.C:
9685         * bufferlist.C: s/retrive/retrieve/, add docs
9686
9687         * vspace.h:
9688         * vspace.C:
9689         * kbmap.h:
9690         * lyxlength.h:
9691         * lyxgluelength.h:
9692         * length_common.h:
9693         * chset.h:
9694         * chset.C: add docs
9695
9696         * lyxgui.C: add ID to X error handler
9697
9698         * lyxtestclass.c: fix typo
9699
9700 2002-02-26  Juergen Vigna  <jug@sad.it>
9701
9702         * tabular_funcs.C (write_attribute): changed so that some default
9703         attributes are not written at all.
9704         (getTokenValue): set default values before trying to read the
9705         value so we have the return value always set as default if we don't
9706         find the token we search for.
9707
9708         * tabular.C (Write): write bools as bools not as strings!
9709
9710 2002-02-22  Juergen Vigna  <jug@sad.it>
9711
9712         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9713         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9714
9715         * text.C (leftMargin): don't add an indent for paragraphs inside
9716         tabular cells (fix #208).
9717
9718 2002-02-21  José Matos  <jamatos@fep.up.pt>
9719
9720         * tabular.C (docBook): fixed support for long tables.
9721
9722 2002-02-20  Juergen Vigna  <jug@sad.it>
9723
9724         * text2.C (getFont): get the drawing font of the Inset if this
9725         paragraph is inside an inset (only important for InsetERT for now).
9726
9727         * buffer.C (insertErtContents): use new lanugage params in ERT
9728         constructor.
9729
9730         * CutAndPaste.C: commenting out seemingly uneeded code.
9731
9732 2002-02-19  Allan Rae  <rae@lyx.org>
9733
9734         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9735         Iterators might be simple to use but they also get invalidated.
9736         (removeAutoInsets): renamed saved cursor tracking variables and added
9737         some comments to clarify what everything does.
9738
9739 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * Chktex.C:
9742         * LaTeX.C:
9743         * LyXSendto.C:
9744         * converter.C:
9745         * lyx_cb.C:
9746         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9747         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9748
9749         * lyxfunc.C:
9750         * vc-backend.h: remove #include "support/syscall.h"
9751
9752         * LaTeX.C:
9753         * LyXSendto.C:
9754         * converter.C: rearrange #includes in Lars' approved fashion.
9755
9756         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9757         forward declare class Timeout in the header file.
9758
9759         * XFormsView.C: changes due to the above.
9760
9761         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9762         similar to LyXView.
9763
9764         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9765         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9766
9767 2002-02-18  José Matos  <jamatos@fep.up.pt>
9768
9769         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9770         insets contents.
9771
9772 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9773
9774         * a lot of small ws changes
9775         * add a lot of using std::XXX
9776         * use std construcs some places where approp.
9777         * use some exisint stuff from lyxfunctional where approp.
9778         * Make file changes to use partial linking (lets test this now...)
9779
9780 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9781
9782         * Chktex.C:
9783         * buffer.C:
9784         remove #include "support/syscontr.h" as it's redundant. Always has been.
9785
9786         * Chktex.C:
9787         * LaTeX.C:
9788         * LyXSendto.C:
9789         * converter.C:
9790         * lyx_cb.C:
9791         * vc-backend.C:
9792         change Systemcalls::System to Systemcalls::Wait and
9793         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9794         No change of functionality, just reflects the stripped down Systemcalls
9795         class.
9796
9797 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9798
9799         * debug.[Ch]: add a GRAPHICS type to the enum.
9800
9801 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9804
9805         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9806         there is an inset.
9807
9808 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9811         match the changes below.
9812
9813         * text2.C (toggleInset): if there is not editable inset at cursor
9814         position, try to see if cursor is _inside_ a collapsable inset
9815         and close it.
9816
9817 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9818
9819         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9820         document menu has a nice checkbox
9821
9822 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * lyxlength.C (asLatexString): change PW to output as percent of
9825         \textwidth.
9826
9827         * lengthcommon.C: change '%' to 't%'
9828
9829         * lyxfunc.C (dispatch): a few comments from Martin
9830
9831 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * WorkArea.h:
9834         * WorkArea.C:
9835         * BufferView_pimpl.h:
9836         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9837           the X selection.
9838
9839 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * vspace.C (inPixels): fix compiler warning
9842
9843 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * lyxfunc.C (getStatus): fix status message for disabled commands.
9846
9847 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * BufferView_pimpl.C: fix crash on close buffer
9850         during selection (#227)
9851
9852 2002-01-27  Herbert Voss  <voss@lyx.org>
9853
9854         * buffer.C: link old Figure to new graphic inset
9855
9856 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * FontLoader.C (getFontinfo): Change the latex font names in order
9859         to match the names of type1inst.
9860
9861 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9862
9863         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9864
9865         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9866         (extchanged): ditto
9867         (ext_exist): ditto
9868         (remove_files_with_extension): ditto
9869         (remove_file): ditto
9870         (write): ditto
9871
9872         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9873         document is smaller than the work area height. Do not initialize
9874         static variables to 0.
9875
9876 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9879
9880         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9881         LFUN_LAYOUT_PARAGRAPHS.
9882
9883         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9884         tabular. It is possible to provide a possible cell, which will
9885         typically be the actcell from the corresponding insettabular
9886
9887         * lyxfunc.C (getStatus): small cleanup; disable
9888         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9889         true
9890
9891 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9894
9895         * paragraph.C (startTeXParParams):
9896         (endTeXParParams): new methods. The LaTeX code to
9897         start/end paragraph formatting
9898         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9899         empty (fixes bug #200)
9900
9901         * vspace.C (inPixels): adapt to the change below
9902         (inPixels): [later] more cleanups (remove unused variables)
9903
9904         * lyxlength.C (inPixels): change to use a width and a height as
9905         parameter.
9906
9907 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9910         Replaced with \paperwidth
9911
9912         * DepTable.C (insert): add std:: qualifier
9913
9914 2002-01-18  Allan Rae  <rae@lyx.org>
9915
9916         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9917         updated also?
9918
9919         * text.C (drawInset): Turned out I didn't know enough about how
9920         rebreaking worked.  This fixes most of the redraw problems.  I see
9921         an occasional cursor trail when a line is broken now and the cursor
9922         placement can seem out by a few pixels also after a rebreak.
9923
9924 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9925
9926         * buffer.C (parseSingleLyXformat2Token): update because minipage
9927         width is now a LyXLength
9928
9929         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9930
9931         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9932         math insets
9933
9934 2002-01-17  Juergen Vigna  <jug@sad.it>
9935
9936         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9937
9938         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9939         is set correctly and the inset is updated correctly.
9940
9941 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9944         the beginning of the loop.
9945
9946 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9947
9948         * lyxrc.C: improve help for use_scalable_fonts
9949
9950 2002-01-17  Allan Rae  <rae@lyx.org>
9951
9952         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9953
9954 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9957         make sure to set their inset_owner to the right value (bug #171)
9958
9959 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9960
9961         * DepTable.h
9962         * DepTable.C: Implement mtime checking to reduce time spent doing
9963         CRCs.
9964
9965 2002-01-16  Juergen Vigna  <jug@sad.it>
9966
9967         * tabular.C (GetAdditionalHeight): one of error fixed.
9968
9969         * lyxrc.C (output): small fix in writing use_pspell.
9970
9971 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9972
9973         * sp_base.h: #include LString.h
9974
9975 2002-01-16  Allan Rae  <rae@lyx.org>
9976
9977         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9978         Can someone check this please?
9979
9980         * text.C (drawInset): It was possible that p.row would be removed by
9981         breakAgainOneRow upsetting a few other settings.  There may be another
9982         small tweak possible by setting need_break_row = 0 when p.row has been
9983         removed but I don't know enough about the logic here.
9984
9985 2002-01-15  Allan Rae  <rae@lyx.org>
9986
9987         * text.C (insertChar): removed conditional truism.
9988
9989         * BufferView2.C (removeAutoInsets): More tweaks.
9990         cur_par_prev could be a stray pointer.  Check for trailing empty line
9991         in case last line was cur_par and only had an error inset on it.
9992
9993 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9996         absolute
9997
9998         * vc-backend.C (most methods):
9999         * exporter.C (Export):
10000         * converter.C (convert):
10001         (runLaTeX):
10002         * LyXSendto.C (SendtoApplyCB):
10003         * lyxfunc.C (dispatch):
10004         (menuNew):
10005         (open):
10006         (doImport):
10007         * lyx_cb.C (AutoSave):
10008         (InsertAsciiFile):
10009         * BufferView_pimpl.C (MenuInsertLyXFile):
10010         * buffer.C (runChktex): use Buffer::filePath().
10011
10012         * buffer.h: rename filename to filename_; rename filepath to
10013         filepath_ and make it private
10014         (filePath): new method
10015
10016         * buffer.C (writeFile): use fileName()
10017         (getLatexName):
10018
10019         * lyx_main.C (init): fix starting  of LyX when the binary is a
10020         link from so,ewhere else.
10021
10022         * minibuffer.C: include <cctype> for isprint
10023
10024 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10025
10026         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10027         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10028         name clash with InsetCollapsable's width function.
10029
10030 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * lastfiles.C: include <iterator>
10033
10034 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10035
10036         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10037         std::count.
10038
10039         * buffer.C (makeLaTeXFile): ditto.
10040         Also make loop operation more transparent.
10041
10042 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10043
10044         * ToolbarDefaults.C: remove trailing comma closing namespace.
10045
10046         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10047
10048         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10049         as in WorkArea.
10050
10051         * trans.C (Load): comment out unused variable, allowed.
10052
10053 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10054
10055         * minibuffer.[Ch] (append_char): new method to recieve input from the
10056         drop-down completion browser. If a key was pressed, then recieve this
10057         char and append it to the existing string.
10058         (peek_event): modify the positioning data passed to the completion
10059         browser so that it can be placed above the minibuffer rather than below.
10060 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10061
10062         * LyXAction.C (init): alloe error-next for readonly documents.
10063
10064         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10065         count.
10066
10067 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * bufferlist.C (readFile): create the buffer _after_ checking that
10070         the file exists.
10071
10072         * lyxfunc.C (verboseDispatch): fix handling of arguments
10073
10074         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10075
10076         * lyxrc.C: use string::erase() instead of initializing to "".
10077
10078
10079 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * BufferView_pimpl.h:
10082         * BufferView_pimpl.C:
10083         * WorkArea.h:
10084         * WorkArea.C:
10085         * text2.C: tell X when we have made a selection for copying
10086
10087 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * BufferView_pimpl.C (MenuInsertLyXFile):
10090         * lyxfunc.C (menuNew):
10091         (open):
10092         (doImport): add shortcuts to directory buttons
10093
10094         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10095         open a float)
10096
10097         * lyxfunc.C (setStatusMessage):
10098         (getStatusMessage): new methods
10099         (getStatus):use setStatusMessage instead of setErrorMessage
10100         (dispatch): when function is disabled, set error message here
10101         [instead of in getStatus previously]
10102
10103         * BufferView_pimpl.C (workAreaButtonRelease): update
10104         toolbar/menubar here too.
10105
10106 2002-01-13  Allan Rae  <rae@lyx.org>
10107
10108         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10109         Now seems indestructible.  Remaining task is to audit all other
10110         code affected by deleteEmptyParagraphMechanism.  One small quirk
10111         left is that an empty document with an error in the preamble can
10112         be made to report an error but no error box appears.  I don't know
10113         where it goes.
10114         (removeAutoInsets): Improved comments.
10115
10116 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * Thesaurus.h:
10119         * Thesaurus.C: update for Aiksaurus 0.14
10120
10121 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10122
10123         * text2.C (firstParagraph): removed member function, all uses
10124         replaces with ownerParagraph
10125         (redoParagraphs): here
10126         (updateInset): here
10127         (toggleAppendix): here
10128         * BufferView2.C (insertErrors): here
10129         (setCursorFromRow): here
10130
10131 2002-01-13  Allan Rae  <rae@lyx.org>
10132
10133         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10134         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10135         There is still a way to segfault this although you may have to do this
10136         multiple times: Have an InsetERT with an unknown command in it.
10137         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10138         <down-arrow>, <Enter> again, View->DVI, BANG!
10139
10140         * text2.C (setCursor):
10141         (deleteEmptyParagraphMechanism):
10142         * lyxtext.h (setCursor):
10143         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10144         Making use of the return value may help fix other bugs.
10145
10146 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10149
10150         * LyXView.C (updateMenubar): call MenuBar::update here
10151         (updateToolbar): but not here
10152         (showState): do not update toolbar/menubar
10153
10154         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10155         should need to care about that.
10156
10157         * lyxfunc.C (verboseDispatch): simplify a bit
10158         (getStatus): have a version which takes a pseudoaction, and
10159         another which requires a (kb_action,string).
10160
10161         * LyXAction.C (retrieveActionArg): make it work also when action
10162         is not a pseudo-action.
10163         (getActionName): simplify a bit
10164         (helpText):
10165
10166 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * lyxfunc.C (verboseDispatch): new families of methods with
10169         several ways to specify a command and a bool to indicate whether
10170         the command name and shortcut should be displayed in minibuffer
10171         (eventually, we could extend that to a finer bitmask like
10172         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10173         (dispatch): the pristine dispatch command which just, well,
10174         dispatchs! Note it still sets its result to minibuffer; I'm not
10175         sure we want that.
10176
10177         * lyxfunc.h: remove setHintMessage
10178
10179         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10180
10181 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10182
10183         * BufferView_pimpl.C (specialChar): delete new inset if we have
10184         not been able to insert it.
10185
10186         * kbmap.C: revert to using int instead of kb_action, since all we
10187         are dealing with is pseudo-actions.
10188
10189         * LyXAction.C (searchActionArg): change to return int instead of
10190         kb_action, since the result is a pseudoaction.
10191
10192 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10193
10194         * buffer.C (insertErtContents): Fix (partially) the font bug.
10195
10196 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10197
10198         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10199         as the other one is broken on my machine!
10200
10201 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10202
10203         * commandtags.h:
10204         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10205
10206 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10207
10208         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10209         reflect their actual use. Provide compatibility code for older lyxrc
10210         files.
10211
10212         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10213         FL_NORMAL_STYLE.
10214         change names of popup font variables in line with the changes to lyxrc.C
10215
10216 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * buffer.C (asciiParagraph): avoid outputing a word twice after
10219         an inset.
10220
10221         * lyxrc.C (getDescription): document that document_path and
10222         template_path can be empty.
10223
10224 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * LaTeXFeatures.C (getMacros):
10227         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10228
10229         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10230
10231         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10232         getPackages.
10233         (getPackages): rename feature "floats" to "float". Use an array to
10234         iterate over 'simple' features (i.e. just a \usepackage). Add
10235         handling of "amsmath" (renamed from "amsstyle").
10236
10237 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10238
10239         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10240         features list.
10241
10242 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10243
10244         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10245         FuncStaus::FuncStatus & FuncStaus::some_method().
10246
10247 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10248
10249         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10250         of the func_satus stuff. Edited and massaged in various ways by
10251         JMarc.
10252
10253         * lyxfunc.C (getStatus): use FuncStatus
10254
10255 2002-01-08  Juergen Vigna  <jug@sad.it>
10256
10257         * text.C (nextBreakPoint): use function Inset::isChar().
10258
10259         * paragraph.C (TeXOnePar): use function
10260         Inset::forceDefaultParagraphs.
10261
10262         * buffer.C (latexParagraphs): use function
10263         Inset::forceDefaultParagraphs.
10264
10265 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10266
10267         * lyx_gui.C (init): set the style of the menu popups to
10268         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10269
10270 2002-01-07  Juergen Vigna  <jug@sad.it>
10271
10272         * text.C (setHeightOfRow): small fix
10273         (prepareToPrint): don't look at alignment if we don't have the place
10274         for doing it.
10275
10276 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10277
10278         * box.C: New file. Move the Box methods and functions out of box.h,
10279         following Lars' suggestion.
10280
10281 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10282
10283         * box.h: #include "support/LOstream.h", needed for inlined function.
10284
10285         * lyxtextclass.C:
10286         * lyxtextclasslist.C: added some using std declarations.
10287
10288 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * box.h: make signed dimensions to allow insets wider than
10291           the screen (bug #162)
10292
10293         * BufferView_pimpl.C: add some insetHit debug
10294
10295 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * vc-backend.C: add FIXME
10298
10299 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * lyxfunc.C (getStatus): enable code for showing math font status
10302         in toolbar/menu.
10303
10304 2002-01-07  Juergen Vigna  <jug@sad.it>
10305
10306         * text.C (nextBreakPoint): removed debug output not needed anymore.
10307
10308 2002-01-06  Juergen Vigna  <jug@sad.it>
10309
10310         * text.C (nextBreakPoint): fixed up this function we had this bug
10311         since ever but now hopefully we break row better.
10312         (insertChar): we have to check if an inset is the next char as it
10313         could now happen that a large inset is causing a break.
10314
10315 2002-01-05  Juergen Vigna  <jug@sad.it>
10316
10317         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10318         if it doesn't like to be drawed.
10319
10320 2002-01-04  Juergen Vigna  <jug@sad.it>
10321
10322         * BufferView2.C (lockInset): forgot to set a cursor.
10323
10324         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10325
10326 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10327
10328         * FormMathsPanel.C:
10329         * FormMathsPanel.h
10330         * MathsSymbols.C:
10331         * form_maths_panel.C:
10332         * form_maths_panel.h:
10333         * form_maths_panel.fd: implemented sub- and super- buttons in math
10334         panel.
10335
10336         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10337         (or ^ space) to be used as in TeX (req'd by André).
10338
10339         * lyxfunc.C: Allow ^ and _ again to be used both as
10340         super/subscript (mathed) and as themselves (in text).
10341
10342 2002-01-03  Allan Rae  <rae@lyx.org>
10343
10344         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10345         "LyX" or the filename of the current buffer if it has one.  This is a
10346         modified form of John Levon's patch.
10347
10348         * XFormsView.C (setWindowTitle): also set icon title.
10349
10350         * LyXView.h (setWindowTitle): signature changed.
10351         * XFormsView.h (setWindowTitle): ditto.
10352
10353 2002-01-02  Juergen Vigna  <jug@sad.it>
10354
10355         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10356
10357 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10358
10359         * screen.C (topCursorVisible): introduce a temp var for
10360         text->cursor.row(), handle the case where this row is null. (kindo
10361         hachish)
10362
10363         * text2.C (setCursor): add a couple of asserts.
10364
10365         * paragraph.h (inset_iterator): add -> operator
10366
10367         * paragraph.[Ch] (autoDeleteInsets): remove member function
10368
10369         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10370         cursor pos correctly and handle inset deletion by itself.
10371         (insertErrors): move iterator declaration out of for expression
10372
10373         * lyxtextclass.C: add <algorithm>
10374
10375         * Makefile.am: added the new files to sources, removed layout.C
10376
10377         * layout.C: removed file
10378
10379         * layout.h: remove LYX_DUMMY_LAYOUT
10380
10381         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10382         layout.
10383
10384         * lyxlayout.[Ch]:
10385         * lyxtextclass.[Ch]:
10386         * lyxtextclasslist.[Ch]: new files
10387
10388         * include order changes to a lot of files, also changes because of
10389         the six new files.
10390
10391 2001-12-27  Juergen Vigna  <jug@sad.it>
10392
10393         * buffer.C (asciiParagraph): more fixes.
10394
10395         * tabular.C (ascii): make ascii export support export of only the
10396         data separated by a column-delimiter.
10397         (ascii): better support for ascii export.
10398
10399         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10400
10401 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10402
10403         * tabular_funcs.C: use a "using std::getline" instead of the
10404         previous fix from Angus (necessary for cxx + lyxstring)
10405
10406 2001-12-24  Juergen Vigna  <jug@sad.it>
10407
10408         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10409
10410         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10411         problems. First check a minipage also if we have some ert-contents
10412         (not only on par->size(), second set the right depth of the paragraph
10413         on the relink to the root-paragraph-list!
10414
10415         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10416         which then did not anymore update the main paragraphs on undo/redo!
10417
10418 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10421         code. Support all font-changing funcs (even those which are not in
10422         menu currently). Support for reporting font settings in
10423         mathed (disabled until Andre provides a function on mathed's side).
10424
10425         * func_status.h (toggle): small helper function to set toggle
10426         state on a flag.
10427
10428 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * tabular_funcs.C: getline -> std::getline
10431
10432 2001-12-21  Juergen Vigna  <jug@sad.it>
10433
10434         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10435         accessed and could be 0 (I couldn't generate this but it seems
10436         Michael could!).
10437
10438 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10441         * tabular_funcs.h: here and include iosfwd
10442
10443 2001-12-20  Juergen Vigna  <jug@sad.it>
10444
10445         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10446         inside inset but undo_par was.
10447
10448 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * Thesaurus.C: always include <config.h> in sources.
10451
10452         * Painter.h:
10453         * lyxlookup.h:
10454         * box.h: do not include <config.h> in header files
10455
10456         * text.C (paintLastRow): remove unused variable
10457
10458         * text.C (transformChar):
10459         (insertChar):
10460         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10461
10462         * Painter.C (text):
10463         * font.C (width): rewrite to use uppercase() instead of
10464         islower/toupper.
10465
10466         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10467
10468 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * lyxfind.C: clean up of find failure position change
10471
10472 2001-12-20  Juergen Vigna  <jug@sad.it>
10473
10474         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10475
10476         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10477         (TeXRow): added to LaTeX a single tabular row.
10478         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10479         (Latex): simplified and finally good LT-h/f support.
10480         (various_functions): just small adaptions for LT-h/f support.
10481
10482         * tabular_funcs.[hC]: added and moved here all not classfunctions
10483         of LyXTabular.
10484
10485 2001-12-19  Juergen Vigna  <jug@sad.it>
10486
10487         * tabular.[Ch]: better support for longtabular options (not finished
10488         yet!)
10489
10490 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10491
10492         * text.C (paintLastRow): use the label font instead of the font of
10493         the last character to compute the size of *_BOX. This makes more
10494         sense and avoids a crash with empty paragraphs.
10495         Use Painter::rectangle to draw EMPTY_BOX.
10496
10497 2001-12-19  Juergen Vigna  <jug@sad.it>
10498
10499         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10500         the paragraphs if the replaced paragraph is not the first one!
10501         Tried to delete not used paragraphs but does not work yet so for
10502         now it's inside #ifdef's and by default off!
10503
10504 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * MenuBackend.C: include "lyx_main.h" instead of declaring
10507         lastfiles (actually was declared as LastFiles* instead of a
10508         scoped_ptr).
10509
10510 2001-12-17  Juergen Vigna  <jug@sad.it>
10511
10512         * tabular.C (AppendColumn): applied John's fix
10513
10514 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * BufferView.h:
10517         * BufferView.C:
10518         * BufferView_pimpl.h:
10519         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10520
10521         * Makefile.am:
10522         * box.h: new start of class for above
10523
10524         * lyxfunc.C: ignore space-only minibuffer dispatches.
10525           Show the command name when it doesn't exist
10526
10527         * minibuffer.C: don't add empty lines to the history
10528
10529         * minibuffer.C: add a space on dropdown completion
10530
10531 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * text.C: fix line above/below drawing in insets
10534
10535 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10536
10537         * lyxlength.C (LyXLength): Initialize private variables.
10538
10539 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10540
10541         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10542         when inserting error insets.
10543
10544 2001-12-13  Juergen Vigna  <jug@sad.it>
10545
10546         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10547         actually sometimes the before-paragraph.
10548         (setUndo): don't clear the redostack if we're not actually undoing!
10549
10550 2001-12-06  Juergen Vigna  <jug@sad.it>
10551
10552         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10553         and fixed redoing of main paragraph, so we can use it now ;)
10554
10555         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10556
10557 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10560         Juergen's request
10561
10562 2001-12-13  André Pönitz <poenitz@gmx.net>
10563
10564         * undostack.[Ch]:
10565         * undo_func.C: minor cleanup
10566
10567 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10570         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10571         font in urw-fonts package which is marked as -urw-fontspecific and
10572         does not work (incidentally, changing the encoding in the
10573         fonts.dir of this package to -adobe-fontspecific fixes the
10574         problem).
10575
10576         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10577         is a crash when undoing first paragraph (Juergen, please take a
10578         look). THis does not mean the undo fix is wrong, just that it
10579         uncovers problems.
10580
10581         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10582         the (Paragraph*) version when needed instead of duplicating the
10583         code.
10584
10585         * text.C (workWidth): use Inset::parOwner to find out where the
10586         inset has been inserted. This is a huge performance gain for large
10587         documents with lots of insets. If Inset::parOwner is not set, fall
10588         back on the brute force method
10589
10590         * paragraph_pimpl.C (insertInset):
10591         * paragraph.C (Paragraph):
10592         (cutIntoMinibuffer): set parOwner of insets when
10593         inserting/removing them
10594
10595         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10596
10597 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10598
10599         * commandtags.h:
10600         * LyXAction.C:
10601         * lyx_main.C:
10602         * lyxfunc.C:
10603         * mathed/formulabase.C:
10604         * mathed/math_cursor.[Ch]:
10605         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10606
10607
10608 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * lyxlength.[Ch] (operator!=): new function
10611
10612 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * text.C (workWidth): use Inset::parOwner to find out where the
10615         inset has been inserted. This is a huge performance gain for large
10616         documents with lots of insets. If Inset::parOwner is not set, fall
10617         back on the brute force method
10618
10619         * paragraph_pimpl.C (insertInset):
10620         * paragraph.C (Paragraph):
10621         (cutIntoMinibuffer): set parOwner of insets when
10622         inserting/removing them
10623
10624         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10625
10626 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10627
10628         * tabular-old.C (getTokenValue):
10629         * tabular.C (getTokenValue):
10630         (write_attribute): new versions for LyXLength
10631         (everywhere): adjust the use of widths
10632
10633         * tabular.h: change the type of widths from string to LyXLength
10634
10635 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10636
10637         * paragraph.C: fixed missing line number count when exporting
10638         Environments to LaTeX file
10639
10640         * buffer.C: added informational message for checking line numbers.
10641
10642 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10645         paragraph, do the 'double space' part, but not the 'empty
10646         paragraph' one.
10647
10648         * text.C (workWidth): small optimization
10649         (getLengthMarkerHeight): use minimal size for negative lengths.
10650
10651 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10654
10655         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10656
10657 2001-12-11  André Pönitz <poenitz@gmx.net>
10658
10659         * FontLoader.C:
10660         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10661
10662 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * text2.C: keep selection on a setFont()
10665
10666 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * lyx_cb.C: another bv->text misuse, from insert label
10669
10670 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * kbsequence.h:
10673         * kbsequence.C: re-instate nmodifier mask
10674
10675 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10676
10677         * lyx_main.h: make lyxGUI private.
10678
10679 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * lyxfind.C: place the cursor correctly on failed search
10682
10683 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * text.C (getLengthMarkerHeight): for small heights, the arrows
10686         are not always on top/bottom of the text
10687         (drawLengthMarker): smaller arrows; take the left margin in
10688         account; draw also vfills.
10689         (paintFirstRow):
10690         (paintLastRow): remove special code for vfill and standard spaces,
10691         since everything is handled in drawLengthMarker now.
10692
10693 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * buffer.C (insertErtContents): try to handle font and language
10696         interaction a bit better.g
10697
10698         * ColorHandler.C (updateColor): change the hash to cover the whole
10699         LColor enum, ws cleanup
10700         (getGCLinepars): ditto
10701         (getGCLinepars): only lookup in the linecache once.
10702
10703 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * iterators.C (operator++): Make the iterator more robust
10706
10707         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10708         (John's patch)
10709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10710
10711 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * lyxtext.h:
10714         * text.C: better added space drawing
10715
10716 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * LyXView.C:
10719         * BufferView2.C: fix layout combo update on inset unlock
10720
10721 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * Makefile.am: don't compile unused files
10724
10725 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * lyxfunc.C:
10728         * commandtags.h:
10729         * LyXAction.C: remove old LFUN_LAYOUTNO
10730
10731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * paragraph_pimpl.h:
10734         * paragraph_pimpl.C: isTextAt() doesn't need font param
10735
10736 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * lyxlex.h:
10739         * lyxlex.C: little cleanup
10740
10741 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * BufferView_pimpl.C: fix insertAscii for insets
10744
10745 2001-12-05  Juergen Vigna  <jug@sad.it>
10746
10747         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10748         set the right font on the "multi" paragraph paste!
10749
10750 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10751
10752         * trans_decl.h:
10753         * trans_mgr.[Ch]:
10754         * trans.[Ch]:
10755         * lyxgluelength.C:
10756         * lyxlength.C: remove out-commented code.
10757
10758         * BufferView_pimpl:
10759         * CutAndPaste.C:
10760         * DepTable.C:
10761         * buffer.C:
10762         * chset.C:
10763         * lastfiles.C:
10764         * lyxlex.C:
10765         * lyxlex_pimpl.C:
10766         * lyxserver.C:
10767         * screen.C:
10768         * tabular-old.C:
10769         * tabular.C:
10770         * text.C:
10771         * trans_mgr.C:
10772         * vc-backend.C: change "while(" to "while ("
10773
10774         * lyxlength.[Ch]: add zero function to check if length is zero or
10775         not
10776         * lyxgluelength.C: use it
10777
10778 2001-12-05  Allan Rae  <rae@lyx.org>
10779
10780         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10781         Works for 2.95.3, from what I understand of Garst's reports this should
10782         work for other g++ versions.  We're screwed if the abs(int) definition
10783         changed between bugfix releases of gcc.
10784
10785 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * text.C: fix chapter label offset !
10788
10789 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * lyxtext.h:
10792         * text.C: fix hfill at end of line, clean up
10793
10794 2001-12-04  Juergen Vigna  <jug@sad.it>
10795
10796         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10797         that we force an update of the inset and it's owners if neccessary.
10798
10799 2001-12-03  Juergen Vigna  <jug@sad.it>
10800
10801         * text.C (rowLast): simplified code
10802
10803 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * lyxfunc.C: fix show options on timeout
10806
10807 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * screen.C (topCursorVisible): scroll half a page when the cursor
10810         reached top of bottom of screen
10811
10812 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * minibuffer.C: deactivate on loss of focus
10815
10816 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * vspace.[Ch] (operator!=): add operator.
10819
10820 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * BufferView_pimpl.C: refuse to open an inset when
10823         there's a selection.
10824
10825 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * BufferView_pimpl.C: allow to click on RHS of full row insets
10828
10829 2001-11-30  Juergen Vigna  <jug@sad.it>
10830
10831         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10832         insets for undo reasons.
10833
10834 2001-11-28  André Pönitz <poenitz@gmx.net>
10835
10836         * vspace.[Ch]: cosmetical changes
10837
10838 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10839
10840         * LyXAction.h:
10841         * LyXAction.C:
10842         * lyxfunc.h:
10843         * lyxfunc.C:
10844         * kbmap.h:
10845         * kbmap.C:
10846         * lyxrc.C:
10847         * kbsequence.h:
10848         * kbsequence.C: part re-write of old kb code
10849
10850         * Painter.C:
10851         * WorkArea.C: remove Lgb_bug_find_hack
10852
10853 2001-11-30  José Matos <jamatos@fep.up.pt>
10854
10855         * buffer.C (makeDocBookFile): add a comment to point a hack.
10856         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10857         Fixed a double write of labels.
10858
10859 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10860
10861         * LaTeX.C:
10862         * LaTeX.h Fixed bug in LaTeX class where it would not
10863         re-run latex if no depfiles were changed, but the .dvi was removed.
10864
10865 2001-11-28  André Pönitz <poenitz@gmx.net>
10866
10867         * all the files from the change on 2001/11/26:
10868         use lyx::layout_type instead of LyXTextClass::size_type
10869         use lyx::textclass_type instead of LyXTextClassList::size_type
10870
10871 2001-11-29  Juergen Vigna  <jug@sad.it>
10872
10873         * text.C: added support for paragraph::isFreeSpacing()
10874
10875         * buffer.C: same as above
10876
10877         * paragraph.h: inserted isFreeSpacing() function to enable
10878         FreeSpacing inside InsetERT.
10879
10880         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10881         of the paragraph's in the cut/copy buffer to 0!
10882
10883         * text2.C (removeRow): remove the assert as it can!
10884
10885         * lyxtext.h: added helper function firstRow returning firstrow and
10886         made firstrow private again.
10887
10888         * BufferView2.C (lockInset): don't relock if we're already locked!
10889
10890         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10891         the only paragraph.
10892         (removeRow): added Assert::(firstrow)
10893
10894         * debug.C: forgot to add INSETTEXT here.
10895
10896 2001-11-28  Juergen Vigna  <jug@sad.it>
10897
10898         * sp_spell.C (initialize): changed error text to more general
10899         spellchecker command use (not only ispell!)
10900
10901         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10902
10903         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10904
10905 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * vspace.C: initialise lyxgluelength on failure
10908
10909 2001-11-28  Allan Rae  <rae@lyx.org>
10910
10911         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10912         declaration & definition that looks like a function declaration.
10913
10914 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * BufferView2.C (copy):
10917         (copyEnvironment): do not clear the selection when doing a copy.
10918
10919         * text.C (paintFirstRow): compilation fix
10920
10921 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10922
10923         * tabular.C (Latex): correct line count when writing latex.
10924
10925 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * paragraph_pimpl.h:
10928         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10929           bug a bit
10930
10931 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * text.C:
10934         * LColor.h:
10935         * LColor.C: change vfillline->added_space
10936
10937         * text.C: add markers and text for added space
10938
10939         * vspace.C: fix comment
10940
10941 2001-11-28  André Pönitz <poenitz@gmx.net>
10942
10943         * paragraph.C: whitespace changes
10944         * all the other files from the change on 2001/11/26:
10945         change *::pos_type into lyx::pos_type
10946
10947 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10950         language of the document when inserting error insets.
10951
10952 2001-11-26  André Pönitz <poenitz@gmx.net>
10953
10954         * BufferView_pimpl.[Ch]:
10955         *       CutAndPaste.C:
10956         * buffer.[Ch]:
10957         * lyxcursor.[Ch]:
10958         * lyxfind.C:
10959         * lyxfunc.C:
10960         * lyxrow.[Ch]:
10961         * paragraph.[Ch]:
10962         * paragraph_pimpl.[Ch]:
10963         * sp_spell.C:
10964         * text.C:
10965         * text2.C: reduce header dependencies, introduce type for positions
10966
10967 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * <various>: change to use Alert.h
10970
10971 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10974         when encountering an unknown token.
10975         (readLyXformat2): Show an error message if there were unknown tokens.
10976
10977 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * BufferView2.C:
10980         * BufferView_pimpl.C:
10981         * buffer.C:
10982         * paragraph.h:
10983         * text.C:
10984         * text2.C: use par->isInset()
10985
10986 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * paragraph_pimpl.h:
10989         * paragraph_pimpl.C: cleanup
10990
10991 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10992
10993         * text2.C (removeRow):
10994         * text.C (setHeightOfRow): remove useless (and costly) call to
10995         getRow.
10996
10997 2001-11-20  Allan Rae  <rae@lyx.org>
10998
10999         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11000         Now need Inset*::checkInsertChar() to return true for appropriate
11001         cases so that the characters in the minibuffer will actually be
11002         inserted.
11003
11004 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005
11006         * text.C: change the order of the includes.
11007         (workWidth): initialize it at once.
11008         (workWidth): make maxw unsigned
11009         (setHeightOfRow): remove unused variable (inset)
11010         (selectSelectedWord): remove unused variable (inset)
11011         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11012
11013 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11016         server is not running.
11017         (openConnection):
11018         (closeConnection): add debug info when server is disabled.
11019
11020         * ColorHandler.C (getGCForeground): send debug message to GUI
11021         channel.
11022
11023         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11024
11025         * kbmap.C (bind): modify because return conventions of
11026         kb_sequence::parse have changed.
11027
11028         * kbsequence.C (parse): only ignore spaces and not any stupid
11029         control character. This avoids tests like s[i] <= ' ', which are
11030         guaranteed to fail with 8bit characters and signed chars.
11031         Change return code to string::npos when there have been no error
11032         (0 was a bad idea when error is at first character)
11033
11034 2001-11-14  José Matos  <jamatos@fep.up.pt>
11035
11036         * buffer.h:
11037         * buffer.C (simpleDocBookOnePar): removed unused argument.
11038
11039 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11042         insets which are part of a word. Paragraph::isLetter takes care of
11043         that now. Use Paragraph::isInset to identify insets.
11044         (selectSelectedWord): do not test for hyphenation break.
11045
11046         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11047         that protected spaces are considered as spaces.
11048
11049         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11050         Inset::isLetter.
11051
11052 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * lyxserver.h:
11055         * lyxserver.C: fix it. and small cleanup.
11056
11057 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * BufferView_pimpl.C: use inline helpers
11060
11061         * LaTeXFeatures.h:
11062         * LaTeXFeatures.C: fix typos
11063
11064         * Spacing.h:
11065         * Spacing.C: move spacing_string into class
11066
11067         * ToolbarDefaults.C: move stuff into namespace anon
11068
11069         * layout.h: update enum
11070
11071         * lyxfunc.C: use better debug
11072
11073         * minibuffer.h: fix typo
11074
11075         * debug.h:
11076         * debug.C:
11077         * WorkArea.C: add and use Debug::WORKAREA
11078
11079         * lyxtext.h:
11080         * text.C:
11081         * text2.C: code re-organisation, inline helpers
11082
11083 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11084
11085         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11086         std::vector.empty().
11087
11088 2001-11-09  Allan Rae  <rae@lyx.org>
11089
11090         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11091         '\n's after tables.  Tabular and ERT inset work now makes this no
11092         longer necessary.
11093
11094 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * minibuffer.h:
11097         * minibuffer.C: fix crash, improve drop-down completion
11098
11099 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * lyxserver.h:
11102         * lyxserver.C: invalidate fd's when doing endPipe()
11103
11104 2001-11-08  José Matos  <jamatos@fep.up.pt>
11105
11106         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11107         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11108
11109         * paragraph.h:
11110         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11111
11112 2001-11-07  José Matos  <jamatos@fep.up.pt>
11113
11114         * buffer.h:
11115         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11116         const qualifier.
11117
11118         * buffer.C (sgmlOpenTag):
11119         * buffer.C (sgmlCloseTag): removed debug info.
11120
11121         * buffer.h (sgmlOpenTag):
11122         * buffer.h (sgmlCloseTag): made public.
11123
11124 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * buffer.C (saveParamsAsDefaults):
11127         * lyx_cb.C (MenuLayoutSave): remove
11128
11129         * LyXAction.C (init):
11130         * commandtags.h:
11131         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11132
11133 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11134
11135         * buffer.C (setPaperStuff): removed from here...
11136
11137         * bufferparams.C (setPaperStuff): ... and moved there.
11138
11139 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * minibuffer.h:
11142         * minibuffer.C:
11143         * XFormsView.C: add support for drop-down completion
11144
11145 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11146
11147         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11148         commands.
11149
11150 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11153         disabled.
11154
11155 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * lyx_main.C: change ref to known bugs
11158
11159 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11160
11161         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11162         to work around older babel problems.
11163
11164 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11165
11166         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11167
11168 2001-10-24  Juergen Vigna  <jug@sad.it>
11169
11170         * tabular-old.C (ReadOld): below variable changes reflected.
11171
11172         * tabular.[Ch]: added ltType struct for longtable header/footer
11173         defines and changed all instances where they are used. Added
11174         future support for double top/bottom rows.
11175
11176 2001-10-24  José Matos  <jamatos@fep.up.pt>
11177
11178         * buffer.h (docbookHandleCaption):
11179         * buffer.C (docbookHandleCaption): removed unused function.
11180         (makeDocBookFile): moved docbook supported version to v4.1.
11181
11182 2001-10-24  José Matos  <jamatos@fep.up.pt>
11183
11184         * tabular.h:
11185         * tabular.C (docbookRow): new function to export docbook code of a row.
11186         (DocBook): now honors the longtable flags.
11187
11188 2001-10-23  José Matos  <jamatos@fep.up.pt>
11189
11190         * LaTeXFeatures.h:
11191         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11192         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11193
11194         * buffer.C (makeLinuxDocFile):
11195         (makeDocBookFile): reworked the preamble, more clean, and with
11196         support for lyx defined entities. Changed the document declaration
11197         to be more XML friendly.
11198
11199         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11200         if we need to output XML that should be done with a filter.
11201
11202 2001-10-22  Juergen Vigna  <jug@sad.it>
11203
11204         * sp_pspell.h (class PSpell): add alive function needed in the
11205         controller to see if the spellchecker could be started.
11206
11207 2001-10-22  Juergen Vigna  <jug@sad.it>
11208
11209         * buffer.C (insertStringAsLines): modify the font for inserting
11210         chars in certain conditions by calling checkInsertChar(font).
11211
11212 2001-10-19  Juergen Vigna  <jug@sad.it>
11213
11214         * text.C (workWidth): use getRow instead of wrong algorithm.
11215         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11216
11217 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * lyxserver.h:
11220         * lyxserver.C:
11221         * lyx_main.h:
11222         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11223
11224 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11225
11226         * text.C (workWidth): do not search for the exact row when
11227         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11228         optimization for big documents.
11229
11230 2001-10-18  Juergen Vigna  <jug@sad.it>
11231
11232         * text.C (workWidth): new function with added Inset * parameter.
11233
11234 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11235
11236         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11237
11238         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11239         change return type of getColumnNearX.
11240
11241
11242         * text.C (changeRegionCase): use uppercase/lowercase instead of
11243         toupper/tolower.
11244         (leftMargin):
11245         (rightMargin): simplify code by factoring out the uses of
11246         textclasslist.
11247         (labelFill):
11248         (numberOfHfills):
11249         (setHeightOfRow):
11250         (appendParagraph): use Paragraph::size_type
11251
11252 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11253
11254         * vspace.C (asLatexString): add a missing break
11255
11256 2001-10-15  Herbert Voss  <voss@perce.de>
11257
11258         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11259
11260 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11261
11262         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11263         is not available.
11264
11265 2001-10-10  André Pönitz <poenitz@gmx.net>
11266
11267         * lyxfunc.C: removed greek_kb_flag.
11268
11269 2001-10-10  Herbert Voss  <voss@perce.de>
11270
11271         * lyx_main.C: delete global string help_lyxdir.
11272
11273 2001-10-09  Herbert Voss  <voss@perce.de>
11274
11275         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11276
11277         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11278
11279         * lyx_main.C: added global string help_lyxdir.
11280
11281         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11282
11283 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11284
11285         * lyxrc.C (set_font_norm_type): support iso8859-4
11286
11287 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11288
11289         * LaTeX.C (deplog): add another regex for MikTeX
11290
11291 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11292
11293         * lyxrc.C (set_font_norm_type): support iso8859-3
11294
11295 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11296
11297         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11298
11299         * LaTeXFeatures.C: remove special case of french and index
11300
11301         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11302         before \begin{document}). This solves several incompatibilities.
11303
11304 2001-10-03  Garst Reese  <reese@isn.net>
11305
11306         * lyx_cb.C: change CheckTex error msg.
11307
11308 2001-10-03  José Matos  <jamatos@fep.up.pt>
11309
11310         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11311
11312 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11313
11314         * .cvsignore: update
11315
11316         * lyx_main.C (commandLineVersionInfo): use new style version info.
11317
11318         * buffer.C (writeFile):
11319         (makeLaTeXFile):
11320         (makeLinuxDocFile):
11321         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11322
11323         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11324
11325         * version.h: update to use stuff in version.C
11326
11327         * version.C.in: new file. Contains version information determined
11328         at compile time. This is a merging of version.h and
11329         version_info.h.in.
11330
11331 2001-10-03  Juergen Vigna  <jug@sad.it>
11332
11333         * BufferView_pimpl.C (update): don't change "dirty" status in
11334         updateInset call.
11335
11336 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * WorkArea.C (c-tor): re-position version string slightly.
11339
11340 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11341
11342         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11343         revert to previous code.
11344
11345         WorkArea.[Ch]: (show, destroySplash): methods removed.
11346
11347         WorkArea.C: rework code so that it's an amalgam of the codes before and
11348         after the splash screen was moved to WorkArea.
11349
11350 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * lyxrc.C (read):
11353         * vspace.C (inPixels):
11354         (lyx_advance):
11355         * kbmap.C (bind):
11356         * buffer.C (insertStringAsLines):
11357         (asciiParagraph): fix types to be large enough
11358
11359         * lyxlex_pimpl.h: change member status from short to int
11360
11361         * layout.h: fix type of endlabeltype
11362
11363         * kbmap.C (bind):
11364         * kbsequence.C (parse): change return type to string::size_type
11365
11366         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11367         variable
11368
11369         * Bullet.C (bulletSize):
11370         (bulletEntry): do not use short ints as parameters
11371
11372         * BufferView2.C (insertLyXFile): change a char to an int.
11373
11374         * WorkArea.C (WorkArea): remove unneeded floats in computation
11375
11376 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11377
11378         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11379
11380         * paragraph.C (asString): Do not ignore newline/hfill chars when
11381         copying to the clipboard.
11382
11383 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11386         after a multi-line inset.
11387
11388 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11389
11390         * paragraph.C (validate): Set NeedLyXFootnoteCode
11391
11392 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11395         and decrease-error to decrease.
11396
11397 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11398
11399         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11400         it more readable (should be equivalent)
11401
11402 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11403
11404         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11405
11406 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11409         of a cursor (row, etc.) after a character has been deleted
11410         (deleteEmptyParagraphMechanism): call the method above on _all_
11411         cursors held by the LyXText when a double space has been
11412         detected/deleted.
11413
11414 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11415
11416         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11417         pixmap.
11418         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11419
11420         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11421         background. Use greyOut() and the new show() methods to toggle between
11422         the foreground and background. Add code to remove the splash after
11423         its initial showing.
11424
11425         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11426         (create_forms): no longer call Dialogs::showSplash.
11427
11428 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11429
11430         * .cvsignore: add version_info.h
11431
11432 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * version_info.h.in: new file
11435
11436         * Makefile.am: add version_info.h.in
11437
11438         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11439         version_info.h instead of VERSION_INFO
11440
11441 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11442
11443         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11444         The ERT inset now returns string().
11445
11446 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11447
11448         * lyxtext.h, text.C (selectNextWord): renamed as
11449         selectNextWordToSpellcheck.
11450
11451         * text.C (selectNextWordToSpellcheck): Modified to not select
11452         words inside an ERT inset.
11453
11454 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11455
11456         * lyx_cb.C (MenuLayoutSave): change a bit the question
11457
11458         * sp_base.h: include <sys/types.h>
11459
11460 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11463
11464 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11465
11466         * several files: fix typos in user-visible strings
11467
11468 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11469
11470         * text2.C (pasteSelection): do not set the selection, since it
11471         will be cleared later. Actually, the intent was to fix the way the
11472         selection was set, but I figured rmoving the code was just as good.
11473
11474 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11475
11476         * FontLoader.C (available): Check if font is available without
11477         loading the font.
11478
11479 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11480
11481         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11482
11483 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * lyxrc.[Ch]: added display_graphics variable and associated code.
11486
11487 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * bufferparams.C (hasClassDefaults): new method. Returns true if
11490         the buffer parameters correspond to known class defaults
11491
11492 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11493
11494         * XFormsView.C (show): set minimum size to the main window.
11495
11496 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11497
11498         * text2.C (copySelection):
11499         (cutSelection):
11500         * lyxfind.C (LyXReplace):
11501         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11502         LyXText::selectionAsString.
11503
11504         * paragraph.C (asString): add "label" argument to the second form
11505
11506         * text2.C (selectionAsString): add "label" argument and pass it to
11507         Paragraph::asString.
11508
11509 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11510
11511         * lyx_main.C (commandLineHelp): remove version information
11512
11513 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11514
11515         * lyx_main.C: add -version commandline option
11516
11517 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * paragraph.h: make the optional constructor arg required instead.
11520         some modifications to other files because of this.
11521
11522         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11523
11524         * lyxserver.C (C_LyXComm_callback): make it static
11525
11526         * lyx_main.C (error_handler): make it static
11527
11528         * lyx_gui.C (LyX_XErrHandler): make it static
11529
11530         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11531
11532         * WorkArea.C: make the extern "C" methods static.
11533
11534         * Makefile.am (lyx_LDADD): simplify
11535
11536 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11539         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11540
11541         * LyXAction.C (init):
11542         * lyxfunc.C (dispatch): associated code removal.
11543
11544 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11545
11546         * lyxfont.h (isSymbolFont): shut off warning
11547
11548         * text.C (setHeightOfRow):
11549         (getVisibleRow): fix crash with empty paragraphs which have a
11550         bottom line
11551
11552 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11553
11554         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11555         code.
11556
11557 2001-09-04  José Matos  <jamatos@fep.up.pt>
11558         * buffer.C
11559         * buffer.h
11560         * tabular.C (docbook): rename docBook method to docbook.
11561
11562 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11563
11564         * Makefile.am: add dependencies to main.o.
11565
11566 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11567
11568         * FontLoader.C (available): Return false if !lyxrc.use_gui
11569
11570 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11571
11572         * FontInfo.C (query):
11573         * converter.C (view):
11574         * importer.C (Import):
11575         * exporter.C (Export): Can not -> cannot.
11576
11577 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * BufferView_pimpl.C: allow to create index inset even if
11580           string is empty
11581
11582 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11583
11584         * buffer.C (getLists): replace boost::tie code with an explicit pair
11585         as boost::tie can break some compilers.
11586
11587         * iterators.h: Added a std:: declaration to the return type of
11588         ParIterator::size.
11589
11590 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11593           case.
11594
11595 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * iterators.[Ch]: New files. Provide paragraph iterators.
11598
11599         * buffer.C (changeLanguage): Use paragraph iterators.
11600         (isMultiLingual): ditto
11601
11602         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11603
11604 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11605
11606         * FontLoader.C: Support for cmr font.
11607
11608 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11609
11610         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11611         (available): New method.
11612
11613         * FontInfo.C (getFontname): Use scalable fonts even when
11614         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11615         found.
11616
11617 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11618
11619         * converter.C (Formats::view): reverted! Incorrect fix.
11620
11621 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11622
11623         * converter.C (Formats::view): only output the -paper option
11624         if the dvi viewer is xdvi, thereby fixing bug #233429.
11625
11626 2001-08-23  Herbert Voss  <voss@perce>
11627
11628         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11629
11630 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11631
11632         * Spacing.h (Spacing): Set space to Default on in the default
11633         constructor.
11634
11635 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * vc-backend.h (RCS::versionString): add RCS to version
11638         (CVS::versionString): add CVS to version
11639
11640         * vc-backend.C (scanMaster): do not add CVS to version.
11641         (scanMaster): do not add RCS to version
11642
11643         * lyxvc.C (versionString): new method
11644
11645         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11646
11647 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * Spacing.C (set): initialize fval
11650
11651 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11654         " or \.
11655
11656 2001-08-16  Juergen Vigna  <jug@sad.it>
11657
11658         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11659
11660 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * BufferView_pimpl.C:
11663         * figureForm.C:
11664         * lyxtext.h:
11665         * text2.C: setParagraph takes linespacing now
11666
11667 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * LyxAction.C: add internal LFUN_CITATION_INSERT
11670
11671         * LyXView.C: actually apply fix
11672
11673         * bufferlist.C: fix open non-existent file
11674
11675         * lyxfind.C: fix indentation
11676
11677         * lyxfunc.C: remove unneeded assert, fix typo
11678
11679 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * MenuBackend.C: use "Floatname List"
11682
11683 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11686         when converting LaTeX layout to insetERT.
11687         Generate a non-collapsed float when reading old float
11688
11689 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11690
11691         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11692         ERT insets.
11693
11694 2001-08-13  Juergen Vigna  <jug@sad.it>
11695
11696         * text.C (fill): return 0 instead of 20 as this seems to be the more
11697         correct value.
11698
11699 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11700
11701         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11702         lyxrc.font_norm.
11703
11704 2001-08-13  Juergen Vigna  <jug@sad.it>
11705
11706         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11707         casesensitive off.
11708         (SearchBackward): comment out the unlocking of the inset_owner this
11709         should not be needed!
11710
11711 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11712
11713         * Many files: Remove inherit_language, and add latex_language
11714
11715         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11716         collapsible insets.
11717
11718 2001-08-10  Juergen Vigna  <jug@sad.it>
11719
11720         * text.C (prepareToPrint): fixed hfill-width in draw!
11721
11722         * BufferView2.C (selectLastWord): save the selection cursor as this
11723         now is cleared in the function LyXText::clearSelection!
11724
11725 2001-08-08  Juergen Vigna  <jug@sad.it>
11726
11727         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11728         BACKSPACE type functions.
11729
11730         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11731         is only cutted from the document but not put in the cut-buffer, where
11732         still the old stuff should be.
11733
11734         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11735
11736         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11737
11738         * tabular.C (SetWidthOfCell): fixed special case where the width
11739         was not updated!
11740         (LeftLine): handle '|' in align_special.
11741         (RightLine): ditto
11742         (LeftAlreadyDrawed): ditto
11743         (SetWidthOfCell): ditto
11744
11745 2001-08-07  Juergen Vigna  <jug@sad.it>
11746
11747         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11748
11749 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11752         * lyxlex.[hC]: ditto
11753
11754 2001-08-06  Juergen Vigna  <jug@sad.it>
11755
11756         * text.C (getVisibleRow): fix up row clearing a bit.
11757
11758 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * minibuffer.C: make sure the X server sees the changes in the input.
11761
11762 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * paragraph.C (getFont): split into...
11765         (getLabelFont): this
11766         (getLayoutFont): and this
11767         * paragraph_pimpl.C (realizeFont): calling this
11768
11769         * text2.C (getFont): split into...
11770         (getLayoutFont): this
11771         (getLabelFont): and this
11772         (realizeFont): all three calling this
11773
11774         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11775         files where used.
11776
11777 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11778
11779         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11780
11781 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11782
11783         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11784         layouts from the Quote inset insertion.
11785
11786 2001-08-03  Juergen Vigna  <jug@sad.it>
11787
11788         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11789
11790         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11791         only if status not is already CHANGED_IN_DRAW (second level).
11792
11793         * text.C (draw): don't set the need_break_row when inside an
11794         InsetText LyXText.
11795
11796 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * buffer.C (parseSingleLyXformat2Token): handle more latex
11799         conversion cases.
11800
11801         * bufferview_funcs.[hC]: change function names to
11802         begin with small char, adjust other files.
11803
11804 2001-08-02  André Pönitz <poenitz@gmx.net>
11805
11806         * lyxfunc.C:
11807         BufferView_pimpl.C: remove broken special code for math-greek
11808
11809 2001-08-02  Juergen Vigna  <jug@sad.it>
11810
11811         * BufferView_pimpl.C (update): redone this function so that we
11812         update the text again if there was a CHANGE_IN_DRAW.
11813
11814         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11815         (drawFromTo): added a new internal bool which is used by draw() and
11816         redraw() function.
11817         (general): some cursor drawing problems fixed.
11818
11819 2001-08-01  Juergen Vigna  <jug@sad.it>
11820
11821         * lyxfind.C (LyXFind): fixed
11822         (SearchForward): ditto
11823         (SearchBackward): ditto
11824
11825         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11826         spurius drawing of the cursor in the main area.
11827
11828         * text2.C (status): small fix which could lead to a segfault!
11829         (clearSelection): remove unneeded BufferView param.
11830
11831 2001-08-01  André Pönitz <poenitz@gmx.net>
11832
11833         * lyxfunc.C: small change due to changed mathed interface
11834
11835 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11838
11839 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * lyxfunc.c: fail gracefully if file doesn't exist
11842
11843         * LyXSendto.C:
11844         * buffer.C:
11845         * lyxfunc.C:
11846         * BufferView_pimpl.C: IsDirWriteable() proto changed
11847
11848         * LyXView.C: fix updateWindowTitle() to store the last title
11849
11850 2001-07-31  Juergen Vigna  <jug@sad.it>
11851
11852         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11853         the font (wrong since using of Paragraph::highestFontInRange).
11854
11855         * paragraph.C (highestFontInRange): added a default_size parameter.
11856
11857         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11858         (setHeightOfRow): reformat
11859
11860 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * converter.[hC] + affected files: move to (inital-char)lowercase
11863         function names.
11864
11865         * ParagraphParameters.C (ParagraphParameters): remove commented code
11866
11867         * PainterBase.[Ch]: remove commented code
11868
11869         * LaTeXFeatures.h: add "bool floats" for float.sty
11870
11871         * LaTeXFeatures.C (LaTeXFeatures): init floats
11872         (require): handle float
11873         (getPackages): do it with floats
11874
11875 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11876
11877         * BufferView_pimpl.C (Dispatch): improve handling of
11878         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11879
11880         * commandtags.h: #include lyxfont.h here temporarily to avoid
11881         keybinding bug.
11882
11883         * bufferlist.h: include LString.h here.
11884
11885 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * text2.C (getStringToIndex): new method.
11888
11889 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11890
11891         * *: Reduced header file dependencies all over.
11892
11893 2001-07-30  Baruch Even  <baruch@lyx.org>
11894
11895         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11896
11897 2001-07-29  Baruch Even  <baruch@lyx.org>
11898
11899         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11900
11901 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * ParameterStruct.h (endif): add a default constructor to make
11904         sure that all variables is initialized.
11905
11906         * ParagraphParameters.C (ParagraphParameters): adjust
11907
11908 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11909
11910         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11911         index; also, check that there is something to index, and that it
11912         does not span over several paragraphs.
11913         (doubleClick): use WHOLE_WORD_STRICT for double click.
11914
11915         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11916
11917         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11918         scheme.
11919
11920 2001-07-26  Baruch Even  <baruch@lyx.org>
11921
11922         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11923         an InsetFig figure, backwards compatible reading of old figure code.
11924
11925 2001-07-27  Juergen Vigna  <jug@sad.it>
11926
11927         * text2.C: font.realize function adaption.
11928
11929         * text.C (draw): add a warnings lyxerr text if needed.
11930
11931         * layout.C: font.realize function adaption.
11932
11933         * language.C: add inherit_language and implement it's handlings
11934
11935         * bufferview_funcs.C (StyleReset): remove language parameter from
11936         font creation (should be language_inherit now).
11937
11938         * bufferparams.C (writeFile): handle ignore_language.
11939
11940         * paragraph.C (getFontSettings): the language has to be resolved
11941         otherwise we have problems in LyXFont!
11942
11943         * lyxfont.C (lyxWriteChanges): added document_language parameter
11944         (update): removed unneeded language parameter
11945
11946         * paragraph.C (validate): fixed wrong output of color-package when
11947         using interface colors for certain fonts in certain environments,
11948         which should not seen as that on the final output.
11949
11950 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * BufferView_pimpl.C:
11953         * Thesaurus.h:
11954         * Thesaurus.C:
11955         * Makefile.am:
11956         * commandtags.h:
11957         * LyXAction.C: add thesaurus support
11958
11959         * lyxfind.h:
11960         * lyxfind.C: add "once" parameter, for thesaurus, to not
11961           move to the next match
11962
11963 2001-07-26  Juergen Vigna  <jug@sad.it>
11964
11965         * lyxfont.C (realize): honor ignore_language too!
11966         (resolved): ditto.
11967
11968         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11969
11970         * text.C (draw): one place more for ignore_language to not draw
11971         itself!
11972
11973 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11976
11977 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11980         the minipage conversion problem.
11981
11982 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11983
11984         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11985         insert an inset.
11986
11987 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * BufferView.h: don't forward declare WorkArea
11990
11991         * BufferView.C: don't include WorkArea.h
11992
11993 2001-07-25  André Pönitz <poenitz@gmx.net>
11994
11995         * commandtags.h:
11996         * LyXAction.C:
11997         * lyxfunc.C:  new LFUN 'math-space'
11998
11999         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12000
12001 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * text2.C (toggleInset): call open/close
12004
12005 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * lyxfunc.C (dispatch): add debug for the disabled case
12008
12009         * font.C (buttonText): make similar to rectText
12010
12011         * buffer.C (readInset): comment out parsing of insetlist and
12012         insttheorem
12013
12014         * PainterBase.C (rectText): small correction
12015
12016         * BufferView_pimpl.C: comment out insettheorem and insetlist
12017         * LyXAction.C: ditto
12018         * commandtags.h: ditto
12019
12020 2001-07-24  Juergen Vigna  <jug@sad.it>
12021
12022         * text.C (draw): honor the ignore_language.
12023
12024         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12025
12026 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12027
12028         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12029         char inset.
12030
12031 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12032
12033         * lyxtext.h: remove unused (and unimplemented) methods
12034
12035 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12036
12037         * text.C (getVisibleRow): honor background color
12038
12039         * PainterBase.h:
12040         * Painter.h: remove default color argument for fillRectangle
12041
12042         * text.C (backgroundColor): new method
12043
12044 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * text.C (getVisibleRow): adjust
12047
12048         * font.[Ch] (rectText): new method, metrics
12049         (buttonText): new method, metrics
12050
12051         * PainterBase.[hC]: make rectText and buttonText always draw and take
12052         fewer paramteres.
12053
12054 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12055
12056         * ToolbarDefaults.C (read):
12057         * MenuBackend.C (read): allow escaping in all strings
12058
12059         * BufferView_pimpl.C (insertAndEditInset): new method.
12060         (Dispatch): use insertAndEditInset whenever appropriate.
12061
12062         * BufferView_pimpl.C (insertNote): removed
12063
12064         * BufferView_pimpl.C (smartQuote): new method, moved from
12065         BufferView; if an insetquote cannot be inserted, insert a '"'
12066         character instead.
12067
12068         * BufferView2.C: remove insertCorrectQuote();
12069
12070         * lyxfunc.C (getStatus): Add support for all remaingin
12071         inset-insert lfuns.
12072
12073         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12074
12075         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12076         command (necessary to pass " as parameter of self-insert.
12077
12078         * text.C (selectWordWhenUnderCursor):
12079         (selectWord): add word_location parameter
12080         (selectWordWhenUnderCursor): same + remove special code for word
12081         boundary.
12082         (selectNextWord): use kind() to guess type of insetspecialchar,
12083         not latex().
12084
12085         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12086         (insertErtContents): create ert insets as collapsed.
12087         (readInset): better compatibility code for Info inset.
12088
12089 2001-07-20  Juergen Vigna  <jug@sad.it>
12090
12091         * lyxfunc.C (dispatch): use always LyXFind now!
12092
12093         * text2.C (init): add a reinit flag so that the LyXText can be
12094         reinited instead of deleted and reallocated (used in InsetText).
12095
12096         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12097
12098         * text.C: ditto
12099
12100         * text2.C: ditto
12101
12102 2001-07-18  Juergen Vigna  <jug@sad.it>
12103
12104         * text.C (selectNextWord): handle insets inside inset by calling
12105         always the bv->text functions so that we can go up the_locking_inset!
12106
12107         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12108         in strange locations when inside an inset!
12109
12110         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12111         handling to include insets.
12112
12113         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12114
12115 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12116
12117         * LyXAction.C (init):
12118         * commandtags.h:
12119         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12120         LIGATURE_BREAK, since the name is so stupid.
12121
12122 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12125         InsetInfos.
12126
12127         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12128
12129         * sp_form.[Ch]: remove.
12130
12131         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12132
12133         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12134         InsetInfo.
12135
12136         * src/buffer.C (readInset): ditto.
12137
12138 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12139
12140         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12141         menuSeparator(), endOfSentenceDot(), ldots() and
12142         hyphenationPoint(), which are therefore removed.
12143         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12144
12145         * LyXAction.C (init):
12146         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12147
12148         * paragraph.C (getWord): removed.
12149
12150         * BufferView_pimpl.C (Dispatch): use last word or selection for
12151         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12152
12153         * lyx_main.C (queryUserLyXDir): do not ask before creating
12154         user_dir, except if it has been named explicitely.
12155
12156 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12159         a document of zero size.
12160
12161 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12162
12163         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12164         approriately in the c-tor and in require().
12165         (getPackages): output the appropriate LaTeX for natbib support.
12166
12167         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12168         variables "use_natbib" and "use_numerical_citations" when reading the
12169         LyX file.
12170         (readInset): read the various natbib cite commands.
12171         (validate): white-space change.
12172
12173         * bufferparams.[Ch]: new variables "bool use_natbib" and
12174         "bool use_numerical_citations".
12175         (writeFile): output them in the LyX file.
12176
12177 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12178
12179         * lyxfunc.C (getStatus): add support for all the inset insertion
12180         commands.
12181
12182         * text2.C (insertInset):
12183         * paragraph.C (insetAllowed):
12184         * BufferView_pimpl.C (insertInset): update to take in account the
12185         renaming of insertInsetAllowed
12186
12187         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12188
12189         * text2.C (getInset): new method. returns inset at cursor position.
12190
12191         * BufferView_pimpl.C (Dispatch): changes because of this.
12192
12193         * LyXAction.C (init): rename open-stuff to inset-toggle.
12194
12195         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12196
12197         * text2.C (toggleInset): renamed from openStuff; use
12198         Inset::open().
12199
12200 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12201
12202         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12203
12204         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12205
12206 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * buffer.C (readLyXformat2): Add filename to the error dialog
12209
12210 2001-07-18  Juergen Vigna  <jug@sad.it>
12211
12212         * tabular.C (GetCellNumber): put an assert here instead of the check!
12213
12214 2001-07-17  Juergen Vigna  <jug@sad.it>
12215
12216         * BufferView_pimpl.C (toggleSelection): adapted too.
12217
12218         * text.C (selectNextWord): adapted for use with insets.
12219         (selectSelectedWord): ditto
12220
12221 2001-07-17  Juergen Vigna  <jug@sad.it>
12222
12223         * sp_spell.C (PSpell): fix initialitation order.
12224
12225 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * paragraph.C: spacing
12228
12229 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12230
12231         * sp_spell.C: repair language selection for pspell
12232
12233 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * lyxfunc.h: change more methods to begin with lower char.
12236
12237 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12238
12239         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12240         for unknown layouts.
12241
12242 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12243
12244         * buffer.C (readLyXformat2): Generate an error dialog if there are
12245         unknown layouts.
12246
12247 2001-07-16  Juergen Vigna  <jug@sad.it>
12248
12249         * sp_spell.C: always compile ISpell part.
12250
12251         * lyxrc.C: added use_pspell entry and it's handling.
12252
12253 2001-07-13  Juergen Vigna  <jug@sad.it>
12254
12255         * sp_spell.C: removed double includes.
12256
12257 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12258
12259         Consistent use of Lsstream.h:
12260         * Lsstream.h: added using std::stringstream for consistencies sake.
12261
12262         * buffer.C: removed using std::stringstream
12263
12264         * lyxfont.C (stateText):
12265         * paragraph.C (asString):
12266         * text.C (selectNextWord, selectSelectedWord):
12267         * text2.C (setCounter):
12268         * vspace.C (asString, asLatexString):
12269         std::ostringstream -> ostringstream.
12270
12271 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12272
12273         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12274         * commandtags.h: add LFUN_HELP_ABOUTLYX
12275         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12276
12277 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12278
12279         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12280         cursorToggle()
12281         * lyx_gui_misc.C: remove spellchecker
12282         * lyxfunc.C: showSpellchecker
12283         * sp_base.h: added
12284         * sp_ispell.h: added
12285         * sp_pspell.h: added
12286         * sp_spell.C: added
12287         * sp_form.[Ch]: removed
12288         * spellchecker.[Ch]: removed
12289
12290 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12291
12292         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12293         is set.
12294         (simpleTeXSpecialChars): Simply print the input character without
12295         any special translation if pass_thru is set.
12296
12297         * layout.h: Added bool pass_thru to layout class for being able to
12298         implement pass through of a paragraph for Literate Programming.
12299
12300         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12301         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12302         * layout.C (Read): add "passthru" to list of layout tags and add
12303         code to set the pass_thru boolean when it is read.
12304
12305 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * trans_decl.h: remove allowed from KmodInfo
12308
12309         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12310         remove allowed code
12311         (Load): adjust
12312
12313         * paragraph_pimpl.C (erase): use boost::prior
12314
12315         * Painter.C (text): use data() instead of c_str() when length is
12316         also provided.
12317         * WorkArea.C (putClipboard): ditto
12318         * font.h (width): ditto
12319
12320         * BufferView2.C: use it-> instead of (*it). for iterators
12321         * texrow.C: ditto
12322         * paragraph_pimpl.C: ditto
12323         * paragraph.C: ditto
12324         * minibuffer.C: ditto
12325         * language.C: ditto
12326         * kbmap.C: ditto
12327         * encoding.C: ditto
12328         * counters.C: ditto
12329         * converter.C: ditto
12330         * chset.C: ditto
12331         * Variables.C: ditto
12332         * TextCache.C: ditto
12333         * MenuBackend.C: ditto
12334         * LyXAction.C: ditto
12335         * LColor.C: ditto
12336         * FloatList.C: ditto
12337         * DepTable.C: ditto
12338         * ColorHandler.C (LyXColorHandler): ditto
12339
12340 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12343
12344         * text2.C (openStuff): reintroduce this method (which had been
12345         nuked in NEW_INSETS frenzy).
12346
12347         * lyxfunc.C (Dispatch): when an action has not been handled, use
12348         its name in the error message, not its number.
12349
12350         * paragraph.C (inInset): change method name to begin with lowercase.
12351
12352         * undo_funcs.C:
12353         * text2.C: updates because of this.
12354
12355 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * ToolbarDefaults.C (add): add spaces in error message
12358
12359 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12362         (readLyXformat2): rename return_par to first_par, use lyxlex's
12363         pushToken and remove the manual push handling.
12364         (parseSingleLyXformat2Token): add another ert comp. variable:
12365         in_tabular, rename return_par to first_par. handle newlines better
12366
12367 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12370
12371 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * text2.C (getParFromID): removed
12374
12375         * buffer.C (getParFromID): new method moved form lyxtext.
12376         * BufferView2.C (insertErrors): adjust
12377         (setCursorFromRow): adjust
12378         * BufferView_pimpl.C (restorePosition): adjust
12379         * lyxfunc.C (Dispatch): adjust
12380         * undo_funcs.C (textUndo): adjust
12381         (textRedo): adjust
12382         (textHandleUndo): adjust
12383         (textHandleUndo): adjust
12384
12385 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * buffer.C: up' the LYX_FORMAT
12388
12389         * lyxfont.h: turn NO_LATEX on as default
12390
12391         * buffer.C (insertErtContents): new methods of tex style compability.
12392         (parseSingleLyXformat2Token): use it several places.
12393         * tabular.C (OldFormatRead): and here
12394
12395 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * text2.C: remove some commented code.
12398         reindent file.
12399
12400         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12401         * trans.C: changes because of the above.
12402
12403 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12404
12405         * text2.C (setCounter): Fix counters bug with bibliography layout.
12406
12407 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12410         own member functions
12411         (simpleTeXSpecialChars): ditto
12412
12413 2001-07-06  Juergen Vigna  <jug@sad.it>
12414
12415         * a lot of files: changed the access to LyXText::status and the
12416         call of undo-functions.
12417
12418         * undo.[Ch]: added a inset_id to the undo informations.
12419
12420         * undo_funcs.[Ch]: added and moved here all undo functions.
12421
12422         * lyxtext.h: give the status enum a weight, made status_ a private
12423         variable and made accessor functions for it, removed the whole bunch
12424         of undo-functions as they are now in their own file, make some
12425         functions publically available. Added function ownerParagraph with
12426         int parameter.
12427
12428         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12429         made InInset() a const function, added getParFromID() function.
12430
12431         * buffer.[Ch]: added const version for inset_iterator functions,
12432         added getInsetFromID() function.
12433
12434         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12435         changed undo functions for new version.
12436
12437 2001-07-05  Juergen Vigna  <jug@sad.it>
12438
12439         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12440         unknow mechanism does not call the proper constructor but only this
12441         one also if I request the other!?
12442
12443 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12446
12447         * text2.C (LyXText): use initialization lists.
12448
12449         * lyxtext.h (Selection): initialize set_ and mark_
12450         (init): remove method
12451
12452 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12453
12454         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12455
12456 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * screen.[Ch]: change method names to begin with lowercase
12459
12460         * BufferView_pimpl.C (updateScrollbar): simplify further and
12461         hopefully make it a bit faster.
12462
12463 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12466         calling directly xforms functions.
12467
12468         * Painter.C (Painter):
12469         * lyx_cb.C (MenuWrite):
12470         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12471         fl_display.
12472
12473         * lyx_gui.C: remove bogus guiruntime extern declaration.
12474
12475 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12478         in NEW_INSETS
12479         (redoDrawingOfParagraph): ditto
12480         (redoParagraphs): ditto
12481         (cutSelection): don't create a object for CutAndPaste use the
12482         static method directly
12483         (pasteSelection): ditto
12484
12485         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12486         LyXview (+ rename)
12487
12488 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * modifications to some other files because of this.
12491
12492         * Makefile.am (lyx_SOURCES): add XFormsView
12493
12494         * XFormsView.[Ch]: new files
12495
12496         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12497         the main window. Move the gui dependent stuff to XFormsView
12498
12499 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500
12501         * tabular.C (GetCellInset): update cur_cell also in the row/col
12502         version of this function.
12503
12504         * lyxfunc.C: no need to include figure_form.h here.
12505
12506         * FontLoader.h:
12507         * lyxfunc.h:
12508         * lyxscreen.h:
12509         * text2.C:
12510         * lyxvc.C: no need to include forms.h here.
12511
12512 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12515
12516         * lyxfunc.C (Dispatch):
12517         * Spacing.C (set):
12518         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12519         constructor argument.
12520
12521 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * paragraph.C (Paragraph): dont't clear, and just set layout.
12524         (makeSameLayout): use params's copy contructor.
12525
12526         * ParagraphParameters.[Ch] (makeSame): delete method
12527
12528 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * Variables.[Ch]: fix indentation, rename set to isSet
12531
12532 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * lyxfunc.C (Dispatch): fix typo
12535
12536 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12539         upper_bound.
12540
12541         * bufferlist.C: include assert.h for emergencyWrite().
12542
12543 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12546           give up at last (bug #425202) !
12547
12548 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * lyx_gui_misc.C:
12551         * sp_form.h:
12552         * sp_form.C:
12553         * spellchecker.h:
12554         * spellchecker.C: strip spellchecker options and bring up
12555           preferences tab instead
12556
12557 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12560         the istringstream constructor
12561
12562 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * paragraph.C (getLayout): fix return value
12565
12566         * paragraph.h: do not declare getLayout as inline.
12567
12568         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12569
12570 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * lyxcursor.h (operator<): new func
12573         (operator>): new func
12574         (operator>=): new func
12575         (operator<=): new func
12576
12577         * text.C (changeCase): use selection.start and selection.end
12578         (changeRegionCase): require from to be <= to. Require par to be a
12579         valid paragraph.
12580
12581         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12582
12583 2001-06-27  Juergen Vigna  <jug@sad.it>
12584
12585         * text.C (cursorLeftOneWord): changed to return the cursor and added
12586         overlay with BufferView * parameter which calls this one.
12587         (getWord): added
12588         (selectWord): use new getWord function.
12589         (changeCase): renamed from changeWordCase as and extended to work
12590         also on selections.
12591
12592         * lyxtext.h: added enum word_location
12593
12594         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12595         changeCase as this operates now also on selections.
12596
12597 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12598
12599         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12600
12601         * many files: send debug output to Debug::INFO instead of
12602         Debug::ANY.
12603
12604         * converter.C (View):
12605         (Convert):
12606         (Move): send debug output to Debug::FILES instead of console.
12607
12608 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12609
12610         * lyxfunc.C (getStatus): use func_status
12611
12612         * func_status.h: new header, describing the results of
12613         LyXFunc::getStatus;
12614
12615         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12616         LFUN_MATH_HALIGN.
12617
12618 2001-06-25  The LyX Project  <jug@sad.it>
12619
12620         * buffer.C (sgmlOpenTag):
12621         (sgmlCloseTag):
12622         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12623
12624 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * text2.C: remove some dead code
12627
12628         * tabular.C (GetCellInset): store the last cell checked (gotten)
12629
12630         * tabular.h: add the helper for the speedup
12631
12632         * lyxtext.h: remove some dead code
12633
12634 2001-06-26  The LyX Project  <Asger>
12635
12636         * paragraph.C: Change export to LaTeX of alignment to
12637         \begin{center} and family for better roundtrip work with reLyX.
12638
12639         * Tune the math drawing a bit.
12640
12641 2001-06-25  The LyX Project  <Asger>
12642
12643         * LColor.C (LColor): New color for math background. New color
12644         for buttons.
12645
12646 2001-06-25  The LyX Project  <jug@sad.it>
12647
12648         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12649
12650         * lyxfunc.C (Open):
12651         * bufferlist.C (newFile): do not restrict to files ending with
12652         .lyx
12653
12654         * BufferView_pimpl.C (MenuInsertLyXFile):
12655
12656 2001-06-24  The LyX Project  <jug@sad.it>
12657
12658         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12659         of compare_no_case
12660
12661 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * lyxtext.h: rename most methods to begin with a small char.
12664         Lots of changes because of this.
12665
12666         * paragraph.C (Paragraph): do not call fitToSize
12667         (erase): call Pimpl::erase
12668         (insertChar): call Pimpl::insertChar
12669         (insertInset): call Pipl::insertInset
12670         (breakParagraph): do not call fitToSize
12671         (breakParagraphConservative): do not call fitToSize
12672         (fitToSize): remove method
12673
12674         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12675
12676 2001-06-24  The LyX Project  <Asger>
12677
12678         * Fix Qt compilation^2
12679
12680 2001-06-24  The LyX Project  <jug@sad.it>
12681
12682         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12683         depthHook(getDepth()-1).
12684
12685         * paragraph.h:
12686         * ParagraphParameters.h:
12687         * ParameterStruct.h: change type of depth to unsigned int ==
12688         depth_type. Many adaptations to other files before of that.
12689
12690 2001-06-24  The LyX Project  <Asger>
12691
12692         * Fix Qt compilation.
12693
12694 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * paragraph.h: renamed several methods to begin with small letter.
12697         several changes to many parts of the code because of this.
12698
12699 2001-06-23  The LyX Project  <jug@sad.it>
12700
12701         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12702         rewritten to discard all double spaces when KeepEmpty is off
12703         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12704         to only handle newlines but not fiddle with spaces and friends.
12705
12706         * lyxfunc.C (MenuNew): when doing 'new from template', use
12707         template_path as default directory
12708
12709 2001-06-23  The LyX Project  <Asger>
12710
12711         * Clean-up of header file includes all over
12712         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12713
12714 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * paragraph.h: renamed from lyxparagraph.h
12717
12718 2001-06-23  Asger  <lyx@violet.home.sad.it>
12719
12720         * Buffer.h: Removed Buffer::resize
12721         * BufferList.h: Removed BufferList::resize
12722         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12723         the document lazily when we change the width, or the font settings.
12724
12725 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12726
12727         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12728
12729 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * buffer.h: remove out of date comment
12732
12733 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * lyxscreen.h:
12736         * screen.C: fix "theoretical" GC leak
12737
12738 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * LaTeX.C (scanAuxFile):
12741         (deplog): remove trailing \r when reading stream (useful under
12742         win32)
12743
12744 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12745
12746         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12747         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12748         and BufferView::theLockingInset(Inset*), so should use them and not
12749         access bv_->text->the_locking_inset directly.
12750
12751         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12752
12753 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * Makefile.am:
12756         * tex-defs.h: remove old unused file
12757
12758 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * BufferView_pimpl.C: fix typo, remove minibuffer message
12761           when buffer has loaded
12762
12763 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * lyxfunc.C (Dispatch): use stringstream
12766         (MenuNew): use stringstream
12767         (Open): use stringstream
12768
12769         * importer.C (Import): use stringstream
12770
12771         * bufferview_funcs.C (CurrentState): use stringstream
12772
12773         * LaTeX.C (run): use stringstream
12774
12775         * BufferView_pimpl.C (savePosition): use stringstream
12776         (restorePosition): use stringstream
12777         (MenuInsertLyXFile): use stringstream
12778
12779 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12780
12781         * BufferView.C:
12782         * Bullet.C:
12783         * ColorHandler.C:
12784         * FontInfo.C:
12785         * FontLoader.C:
12786         * LColor.C:
12787         * LaTeXFeatures.C:
12788         * Painter.C:
12789         * gettext.C:
12790         * lyx_gui_misc.C:
12791         * lyxserver.C:
12792         * vspace.C: removed // -*- C++ -*- as first line.
12793
12794         * lyxfind.h:
12795         * version.h: added // -*- C++ -*- as first line.
12796
12797 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12800
12801         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12802         of string
12803
12804 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12807         of floats.
12808
12809 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810
12811         * gettext.C: include LString.h even when --disable-nls is on.
12812
12813 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * converter.h (Get): changed argument type from int to
12816         FormatList::size_type to avoid unnecessary conversion.
12817
12818         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12819         before using it.
12820
12821 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * gettext.h: include LString.h even when --disable-nls is on.
12824
12825 2001-06-07  Juergen Vigna  <jug@sad.it>
12826
12827         * text.C (BreakAgain): subst spaces with tabs.
12828
12829         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12830         (resizeInsetsLyXText): set force on resizeLyXText.
12831
12832 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12833
12834         * gettext.h (gettext_init):
12835         (locale_init): use a real definition instead of a macro
12836
12837 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12838
12839         * Bufferview_pimpl.C:
12840         * LColor.h:
12841         * LColor.C: further lcolor tidies
12842
12843 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * BufferView_pimpl.C (updateScrollbar): simplify.
12846
12847         * BufferView2.C: don't include insets/insetinfo.h, change
12848         prototype for insertInset and call the Pimpl version. let
12849         updateInset call Pimpl version.
12850
12851         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12852         gotoInset to BufferView::Pimpl
12853
12854 2001-06-01  Juergen Vigna  <jug@sad.it>
12855
12856         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12857         inside a LockingInset (is the update needed at all?).
12858
12859 2001-05-31  Juergen Vigna  <jug@sad.it>
12860
12861         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12862         here not the old one otherwise how should we compare it afterwards
12863         if it's the same!
12864
12865 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12866
12867         * lyxfont.C:
12868         * tabular.C:
12869         * tabular-old.C:
12870         * FontInfo.C: bring C functions into global namespace when
12871         necessary
12872
12873 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12874
12875         * LString.h: make sure config.h has been loaded before LString.h.
12876
12877         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12878         (one for each char read by EatLine!).
12879
12880         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12881         variables.
12882
12883 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12886         to the same as the par we break from
12887
12888 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12891
12892         * MenuBackend.C (expand): also create menu entries for wide
12893         versions of the floats.
12894
12895         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12896
12897         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12898
12899         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12900         frontends/Makefile.am
12901
12902         * text2.C: adjust
12903         * text.C: adjust
12904
12905
12906         * tabular.C (getTokenValue): add std::
12907
12908         * tabular-old.C (getTokenValue): add std::
12909         (getTokenValue): ditto
12910         (getTokenValue): ditto
12911
12912         * screen.C (ToggleSelection): adjust
12913
12914         * lyxtext.h: put selection cursors inside a Selection struct.
12915
12916         * lyxfunc.C (moveCursorUpdate): adjust
12917
12918         * lyxfont.C (latexWriteStartChanges): add std::
12919
12920         * lyxfind.C: adjust
12921
12922         * font.h: delete with(char const *, LyXFont const &)
12923
12924         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12925
12926         * FontInfo.C (getFontname): add std::
12927
12928         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12929         (workAreaButtonPress): adjust
12930         (tripleClick): adjust
12931         (update): adjust
12932         (moveCursorUpdate): adjust
12933         (Dispatch): adjust
12934
12935         * BufferView2.C (gotoInset): adjust
12936
12937 2001-05-30  Juergen Vigna  <jug@sad.it>
12938
12939         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12940         to check pspell I add this as default as I now have new pspell
12941         libraries and they seem to use this.
12942
12943 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * text2.C (CutSelection): make the cursor valid before the call to
12946         ClearSelection.
12947
12948 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12949
12950         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12951         relied on 0 terminated strings and other horrors. Bug found due to
12952         the new assert in lyxstring!
12953
12954         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12955         KP_ keys.
12956
12957 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12960         to latinkeys.bind.
12961
12962         * lyxfunc.C (processKeySym): change method of getting to the
12963         self-insert char.
12964
12965         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12966         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12967         * BufferView_pimpl.[Ch]: here as private methods.
12968
12969 2001-05-28  Juergen Vigna  <jug@sad.it>
12970
12971         * text.C (SetHeightOfRow): added the update() call again as it is
12972         needed to initialize inset dimensions!
12973
12974 2001-05-16  Juergen Vigna  <jug@sad.it>
12975
12976         * text2.C (SetCharFont): Add new function with BufferView * and
12977         bool toggleall parameters for setting insets internal fonts.
12978         (SetFont): Freeze the undo as we may change fonts in Insets and
12979         all this change should be inside only one Undo!
12980
12981         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12982         setting font's in insets as for them we have the SetFont function!
12983
12984 2001-05-15  Juergen Vigna  <jug@sad.it>
12985
12986         * text2.C (ClearSelection): to be sure we REALLY don't have any
12987         selection anymore!
12988
12989         * tabular.C (TeXCellPreamble): fixed the left border problem for
12990         multicolumn cells.
12991
12992 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12993
12994         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12995         dependancy file
12996
12997 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13000         LFUN_BREAKPARAGRAPH.
13001
13002         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13003         help test to "internal only", similar for LFUN_INSERT_URL
13004
13005         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13006         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13007         auto_region_delete and deadkeys.
13008
13009 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * LColor.h:
13012         * LColor.C: remove some dead entries, tidy a little
13013
13014 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13017         commented code.
13018         (Dispatch): implement LFUN_ESCAPE
13019
13020         * commandtags.h: add LFUN_ESCAPE
13021
13022         * LyXAction.C (init): add entry for LFUN_ESCAPE
13023
13024         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13025         Remove commented code.
13026         (insertNote): moved here
13027         (open_new_inset): moved here
13028
13029         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13030         BufferView_pimpl
13031
13032 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13033
13034         * kbmap.C (findbinding): clean it up and make it work correctly.
13035
13036         * lyx_main.C (init): do not pass argc and argv as parameters
13037
13038 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13039
13040         * buffer.C: fix path for OS/2 & Win32
13041
13042         * lyx_gui.C:
13043         * lyx_main:
13044         * lyx_main.C: Added os:: class.
13045
13046         * os2_defines.h: update
13047
13048 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13051         better by trying again with reduced state.
13052
13053 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * lyxrc.C (read): print error about invalid key sequence only when
13056         debugging (because not all latinX keysyms are known to some X
13057         servers)
13058
13059         * kbsequence.C (getiso): add a few std:: qualifiers
13060         (getiso): comment out extra return statement.
13061
13062 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13065         handling.
13066         (Dispatch): enhance the accent inset a bit. (not perfect)
13067
13068 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13071
13072 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13073
13074         * bufferlist.C (emergencyWrite): fix assert() call
13075
13076 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13077
13078         * text.C (InsertChar): Added trivial patch to only send the "you
13079         can not do multiple spaces this way" message once during a
13080         session.
13081
13082 2001-05-08  Baruch Even  <baruch@lyx.org>
13083
13084         * Makefile.am: Changed order of libraries to get LyX to link properly
13085         with the gnome frontend.
13086
13087 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13088
13089         * LaTeXFeatures.h: add a std:: qualifier
13090
13091 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * paragraph.C (String): use stringstream
13094
13095 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * paragraph.C (writeFile): remove footflag arg
13098
13099         * buffer.C (makeLaTeXFile): use stringstream
13100         (latexParagraphs): remove footnot gurba
13101
13102         * LaTeXFeatures.C (getPackages): use stringstream
13103         (getMacros): likewise
13104         (getTClassPreamble): likewise
13105         (getFloatDefinitions): new method
13106
13107         * paragraph.C (writeFile): reindent
13108         (Erase): reindent
13109
13110         * WorkArea.h: revert the xpos + etc changes.
13111
13112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13113
13114         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13115
13116         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13117         (pasteSelection): likewise
13118         * text2.C (CreateUndo): likewise
13119
13120 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * minibuffer.C (peek_event): temporarily reduce the functionality
13123         of the minibuffer (to allow args on lfuns)
13124
13125         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13126         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13127
13128         * buffer.C (readInset): add compability reading of old float
13129         lists, add reading of new style float list.
13130         (readInset): avoid reevaluation of inscmd.getCmdName()
13131         (getLists): reindent
13132
13133         * MenuBackend.C (MenuItem): implement parsing of
13134         md_floatlistinsert and md_floatinsert.
13135         (expand::LastFiles): move initalizaton of iterators out of loop,
13136         avoid reevaluation.
13137         (expand::Documents): introduce typdedef vector<string> Strings,
13138         and use it.
13139         (expand::ExportFormats): introduce typedef vector<Format const *>
13140         Formats, and use it.
13141         (expand): implement FloatListInsert and FloatInsert.
13142
13143         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13144         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13145         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13146
13147         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13148         handling.
13149         (Dispatch::LFUN_FLOAT_LIST): implement
13150
13151 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13152
13153         * LaTeX.C (run): Fix problem with --export code.
13154
13155 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13156
13157         * BufferView.[Ch] (workarea): removed.
13158         (getClipboard) new method; wrapper for workarea()->getClipboard()
13159
13160         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13161         bug.
13162
13163         * WorkArea.h (width, height, xpos, ypos): These methods all
13164         returned the dimensions of the work_area sub-area of WorkArea,
13165         resulting in a position error if the WorkArea were resized. Now
13166         return the dimensions of the entire WorkArea.
13167
13168         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13169
13170 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * LaTeX.C (deplog): correct the syntax of regex reg1
13173
13174 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * undo.C: remove !NEW_INSETS cruft
13177
13178 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13179
13180         * text2.C: remove !NEW_INSETS cruft
13181
13182         * text.C: remove !NEW_INSETS cruft
13183
13184         * tabular.C: remove !NEW_INSETS cruft
13185
13186         * spellchecker.C: remove !NEW_INSETS cruft
13187
13188         * lyxtext.h: remove !NEW_INSETS cruft
13189
13190         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13191
13192         * lyxfunc.C: remove !NEW_INSETS cruft
13193
13194         * lyxfind.C: remove !NEW_INSETS cruft
13195
13196         * lyx_cb.C: remove !NEW_INSETS cruft
13197
13198         * figureForm.C: remove  !NEW_INSETS cruft
13199
13200         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13201
13202         * buffer.[Ch]: remove !NEW_INSETS cruft
13203
13204         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13205
13206         * CutAndPaste.C: remove !NEW_INSETS cruft
13207
13208         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13209
13210         * BufferView2.C: remove !NEW_INSETS cruft
13211
13212         * BufferView.h: remove !NEW_INSETS cruft
13213
13214 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * Lsstream.h: include LString.h before the sstream headers to
13217         fix problem with gcc 2.95.3 and lyxstring
13218
13219 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * lyx_main.C: add using directives when needed for C functions
13222         declared in std:: namespace.
13223
13224 2001-04-27  Juergen Vigna  <jug@sad.it>
13225
13226         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13227         (SetHeightOfRow): comment out the update call should not be needed!
13228
13229 2001-04-13  Juergen Vigna  <jug@sad.it>
13230
13231         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13232         (LyXTabular): tried to minimize operator= operations (and realized
13233         hopfully Lars wish).
13234
13235 2001-04-27  Juergen Vigna  <jug@sad.it>
13236
13237         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13238
13239 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13242
13243         * buffer.C (readInset): hack to make listof algorithm work
13244
13245         * BufferView_pimpl.C: hack to make listof algorithm work
13246
13247 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * LyXAction.C: removed all !NEW_INSETS cruft
13250         (init): moved lfun_item in method
13251
13252         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13253
13254 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * BufferView2.C (theLockingInset): white space.
13257
13258 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * minibuffer.C: include <iostream>
13261
13262         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13263
13264         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13265
13266         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13267
13268         * text.[Ch] (TransposeChars): new method
13269
13270 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * call message directly through LyXView instead of through LyXFunc
13273         * BufferView2.C: adjust
13274         * BufferView_pimpl.C: adjust
13275         * FontLoader.C: adjust
13276         * buffer.C: adjust
13277         * bufferview_funcs.C: adjust
13278         * converter.C: adjust
13279         * figureForm.C: adjust
13280         * importer.C: adjust
13281         * lyx_cb.C: adjust
13282         * lyx_gui_misc.C: adjust
13283         * lyxfunc.C: adjust
13284         * lyxvc.C: adjust
13285         * text2.C: adjust
13286         + more files in subdirs
13287
13288         * lyxparagraph.h (size): move up int file
13289         (GetLayout): ditto
13290
13291         * adjust all uses of Assert to lyx::Assert.
13292
13293         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13294         lyxfunctional in namespace lyx
13295         * layout.C (hasLayout): ditto
13296         (GetLayout): ditto
13297         (GetLayout): ditto
13298         (delete_layout): ditto
13299         (NumberOfClass): ditto
13300         * converter.C (GetFormat): ditto
13301         (GetNumber): ditto
13302         (Add): ditto
13303         (Delete): ditto
13304         (SetViewer): ditto
13305         * bufferlist.C (getFileNames): ditto
13306         (emergencyWriteAll): ditto
13307         (exists): ditto
13308         (getBuffer): ditto
13309         * MenuBackend.C (hasSubmenu): ditto
13310         (hasMenu): ditto
13311         (getMenu): ditto
13312         * BufferView_pimpl.C (getInsetByCode): ditto
13313
13314 2001-04-18  Juergen Vigna  <jug@sad.it>
13315
13316         * vspace.C (asLatexString): fixed the 100% problem.
13317
13318 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * lyxfunc.C (Dispatch):
13321         * minibuffer.C:
13322         * minibuffer.h: add a few std:: qualifiers
13323
13324 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * minibuffer.[Ch]: reimplement so that commands is initiated and
13327         run from lyxfunc, simplified som handling, and made the completion
13328         and history code for complete. wip.
13329
13330         * lyxfunc.C (processKeySym): call message
13331         (miniDispatch): new temporary method
13332         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13333         (LFUN_MESSAGE): implement
13334         (LFUN_MESSAGE_PUSH): implement
13335         (LFUN_MESSAGE_POP): implement
13336         (initMiniBuffer): the initial/defualt minibuffer message.
13337
13338         * lyxfont.[Ch]: inline some more getters
13339
13340         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13341
13342         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13343
13344         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13345         (AutoSave): use LFUN_MESSAGE
13346         (Reconfigure): ditto
13347
13348         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13349
13350         * figureForm.C: use LFUN_MESSAGE
13351
13352         * converter.C (runLaTeX): use LFUN_MESSAGE
13353
13354         * bufferview_funcs.C: use LFUN_MESSAGE
13355         (Melt): ditto
13356         (changeDepth): ditto
13357
13358         * bufferparams.h: use boost::
13359
13360         * bufferlist.h: inherit privately from noncopyable
13361
13362         * bufferlist.C (loadLyXFile): remove some commented code.
13363
13364         * buffer.C (runChktex): use LFUN_MESSAGE
13365
13366         * ShareContainer.h: inherit privately from noncopyable
13367
13368         * ParagraphParameters.[hC] (depth): inline it.
13369
13370         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13371         methods.
13372         (message): new method
13373         (messagePush): ditto
13374         (messagePop): ditto
13375         (show): init minibuffer
13376         (showState): direct call
13377
13378         * LaTeX.[Ch]: inherit privately from noncopyable
13379         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13380         instead of WriteStatus.
13381
13382         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13383
13384         * BufferView_pimpl.C (buffer): don't init minibuffer
13385         (workAreaButtonPress): use LFUN_MESSAGE
13386         (workAreaButtonRelease): ditto
13387         (savePosition): ditto
13388         (restorePosition): ditto
13389         (MenuInsertLyXFile): ditto
13390         (workAreaExpose): don't init minibuffer
13391         (update): remove commented code, simplify
13392
13393         * BufferView2.C (openStuff): use LFUN_MESSAGE
13394         (toggleFloat): ditto
13395         (menuUndo): ditto
13396         (menuRedo): ditto
13397         (copyEnvironment): ditto
13398         (pasteEnvironment): ditto
13399         (copy): ditto
13400         (cut): ditto
13401         (paste): ditto
13402         (gotoInset): ditto
13403         (updateInset): remove some commented code
13404
13405         * lastfiles.h: inherit privately from noncopyable
13406         * layout.h: ditto
13407         * lyx_gui.h: ditto
13408         * lyx_main.h: ditto
13409         * lyxlex.h: ditto
13410         * lyxlex_pimpl.h: ditto
13411
13412         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13413         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13414         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13415
13416         * LyXAction.h: inherit privately from noncopyable, add methods
13417         func_begin, func_end, returning iterators to the func map.
13418
13419         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13420         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13421         (func_begin): new method
13422         (func_end): new method
13423
13424         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13425         and not)
13426         (copySelection): ditto
13427         (pasteSelection): ditto
13428
13429         * BufferView.C: whitespace change
13430         * BufferView.h: inherit privately from noncopyable
13431
13432 2001-04-16  Allan Rae  <rae@lyx.org>
13433
13434         * tabular-old.C (l_getline):
13435         * spellchecker.C (sc_check_word):
13436         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13437         an unrecognised preprocessor directive.  So ensure they're wrapped.
13438
13439 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13440
13441         * src/exporter.C (Export): Give an error message when path to file
13442         contains spaces.
13443
13444 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13445
13446         * LaTeX.C (deplog): Always check that foundfile exists.
13447
13448 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * lyx_main.h:
13451         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13452
13453 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * tabular.[Ch] (getLabelList): implement new method
13456
13457         * minibuffer.h: comment ouf setTiimer
13458
13459         * minibuffer.C (ExecutingCB): constify res
13460         (peek_event): constify s
13461         (Set): constify ntext
13462         (Init): constify nicename
13463
13464         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13465
13466         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13467         (savePosition): use two params to Minibuffer::Set
13468         (restorePosition): ditto
13469
13470 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * lyx_main.C: include language.h
13473
13474         * Makefile.am (lyx_main.o): add language.h
13475
13476 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * exporter.C:
13479         * paragraph.C:
13480         * screen.C:
13481         * tabular.C:
13482         * CutAndPaste.C: include gettext.h
13483
13484         * lyxfont.h: remove old hack with ON and OFF.
13485
13486         * lyxparagraph.h:
13487         * lyxfont.h: do not include language.h...
13488
13489         * BufferView2.C:
13490         * LaTeXFeatures.C:
13491         * Painter.C:
13492         * bufferview_funcs.C:
13493         * font.C:
13494         * lyxfont.C:
13495         * text.C:
13496         * text2.C:
13497         * trans_mgr.C:
13498         * paragraph.C: ... but do it here instead
13499
13500 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13503
13504         * tabular.C: small reformat
13505
13506         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13507         NEW_INSETS version
13508         (GetChar): ditto
13509         (BreakParagraph): ditto
13510         (SetOnlyLayout): ditto
13511         (SetLayout): ditto
13512
13513         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13514         with one arg less.
13515
13516         * lastfiles.C: removed most using decl, add std:: where needed
13517
13518         * buffer.C: ws changes
13519
13520         * MenuBackend.C (class compare_format): put into anon namespace
13521         (expand): constify label, names, action, action2
13522         (expand):
13523
13524         * text.C (SingleWidth): constify font
13525         (IsBoundary): constify rtl2
13526         (GetVisibleRow): constify ww
13527
13528         * LaTeX.C (deplog): constify logfile
13529
13530         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13531         start_x, end_x
13532         (workAreaExpose): constify widthChange, heightChange
13533
13534         * lyxrow.C (par): moved
13535         (height): moved
13536         (next): moved
13537         * lyxrow.h: as inlines here
13538
13539         * lyxfont.h (shape): moved from lyxfont.C
13540         (emph): moved from lyxfont.C
13541
13542         * lyxfont.C (LyXFont): use initialization list for all
13543         constructors
13544         (shape): move to lyxfont.h as inline
13545         (emph): move to lyxfont.h as inline
13546
13547
13548 2001-04-04  Juergen Vigna  <jug@sad.it>
13549
13550         * vspace.C: had to include stdio.h for use of sscanf
13551
13552 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         * BufferView.h:
13555         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13556         independent of xforms.
13557
13558 2001-04-02  Juergen Vigna  <jug@sad.it>
13559
13560         * spellchecker.C: fixed namespace placing!
13561
13562 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13563
13564         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13565         the LyXParagraph * is 0.
13566
13567 2001-03-29  Juergen Vigna  <jug@sad.it>
13568
13569         * vspace.C: added support for %, c%, p%, l%.
13570         (stringFromUnit): added helper function.
13571         (asLatexString): changed to give right results for the %-values.
13572
13573         * buffer.C: convert the widthp in a width%.
13574
13575 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13576
13577         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13578         figureForm.[Ch].
13579
13580         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13581         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13582
13583         * lyx_cb.[Ch]: see above.
13584
13585         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13586         form1.[Ch].
13587
13588         * form1.[Ch]:
13589         * lyx.[Ch]: replaced by figure_form.[Ch].
13590
13591         * lyx_gui.C:
13592         * lyx_gui_misc.C:
13593         * lyxfunc.C: changed headers associated with above changes.
13594
13595 2001-03-27  Juergen Vigna  <jug@sad.it>
13596
13597         * BufferView_pimpl.C: set the temporary cursor right!
13598
13599 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13602
13603 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13604
13605         * LString.h: removed "using std::getline"!
13606
13607         * BufferView_pimpl.C (Dispatch): changes due to changes in
13608         InsetInclude::Params.
13609
13610         * buffer.C (tag_name): removed redundant break statements as they were
13611         producing lots of warnings with my compiler.
13612
13613 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13614
13615         * LString.h: add "using std::getline" when using the real <string>.
13616
13617 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13618
13619         * buffer.C: removed bitset usage.
13620         PAR_TAG moved to an anonymous name space.
13621         (tag_name): new funtion, also in the anonymous namespace.
13622         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13623         (makeDocBookFile): clean code. Completed transition from string arrays
13624         to string vectors.
13625         (SimpleDocBookOnePar): code clean.
13626
13627 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13628
13629         * tabular.C: add some comments.
13630
13631 2001-03-22  Juergen Vigna  <jug@sad.it>
13632
13633         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13634         compatibility read a bit and fixed bug with minipage in different
13635         depth.
13636
13637 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13638
13639         * buffer.C (pop_tag): removed.
13640         (push_tag): removed.
13641         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13642         array replaced with vector. Added support for CDATA sections.
13643         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13644         at any nest level.
13645         (makeDocBookFile): XML conformant declaration of CDATA section,
13646         fixed bug related to <emphasis> in the first paragraph char.
13647         (sgmlOpenTag): exclude empty tags.
13648         (sgmlCloseTag): ditto.
13649
13650         * buffer.h (pop_tag): removed.
13651         (push_tag): removed.
13652
13653 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * language.h (Languages): added size_type and size().
13656
13657 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13658
13659         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13660         response on compability reading of minipages. One probliem is that
13661         the old usage of minipages was «flertydig»
13662
13663         * several files here and in subdirs: don't use static at file
13664         scope use anon namespaces instead.
13665
13666 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13667
13668         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13669         LaTeX output. This is necessary for Literate document
13670         processing.
13671
13672 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13673
13674         * buffer.C: insert hfill when needed.
13675
13676         * tabular.C (l_getline): use string::erase, small whitespace change.
13677
13678         * BufferView_pimpl.C: try the anon namespace.
13679         * WorkArea.C: ditto
13680
13681 2001-03-16  Juergen Vigna  <jug@sad.it>
13682
13683         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13684         otherwise it won't open options-dialogs.
13685
13686         * buffer.C: honor pextraWidth(p) on converting minipages.
13687
13688         * tabular.C (l_getline): changed the functions to strip trailing \r.
13689
13690 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * BufferView_pimpl.C:
13693         * minibuffer..C: added "using SigC::slot" declaration.
13694
13695 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13696
13697         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13698
13699         * text2.C: ditto
13700
13701         * text.C: ditto
13702
13703         * paragraph.C: ditto
13704
13705         * lyxtext.h: NO_PEXTRA
13706
13707         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13708
13709         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13710         * ParameterStruct.h: ditto
13711         * ParagraphParameters.h: ditto
13712         * lyxparagraph.h: ditto
13713
13714 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13715
13716         * buffer.C: add compability for minipage alignment.
13717         (latexParagraphs): remove unwanted pextra check.
13718
13719         * several files: remove CXX_WORKING_NAMESPACES
13720
13721         * buffer.C (pop_tag): tie is in namespace boost
13722
13723         * BufferView.h: noncopyable is in namespace boost
13724         * lyxlex.h: ditto
13725         * lyx_main.h: ditto
13726         * lyx_gui.h: ditto
13727         * layout.h: ditto
13728         * lastfiles.h: ditto
13729         * bufferlist.h: ditto
13730         * ShareContainer.h: ditto
13731         * LyXView.h: ditto
13732         * LyXAction.h: ditto
13733         * LaTeX.h: ditto
13734
13735 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13736
13737         * Merging changes from BRANCH_MVC back into HEAD.
13738
13739         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13740
13741 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13742
13743         * BufferView_pimpl.C: change from intl.C
13744
13745         * combox.h:
13746         * combox.C:
13747         * Makefile.am: move combox.*
13748
13749         * form1.h:
13750         * form1.C:
13751         * lyx_gui.C:
13752         * intl.h:
13753         * intl.C: remove dialog (covered by prefs)
13754
13755 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * lyxfunc.C (Dispatch): removed redundant break statement.
13758
13759 2001-03-14  Juergen Vigna  <jug@sad.it>
13760
13761         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13762
13763 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13764
13765         * buffer.C: add hack to fix compability reading of minipages.
13766
13767 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * buffer.C (getLists): Cleanup.
13770
13771 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13772
13773         * lyxfont.C (update): don't honor toggleall on font size.
13774
13775 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * bmtable.c:
13778         * bmtable.h:
13779         * Makefile.am: moved to frontends/xforms/
13780
13781         * lyx_gui_misc.C:
13782         * lyxfunc.C:
13783         * BufferView_pimpl.C: changes for moved mathpanel
13784
13785 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * gettext.h: fix gettext_init() in --disable-nls
13788
13789 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13792
13793 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13794
13795         * lyx.C:
13796         * lyx.h: strip external form
13797
13798 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * BufferView_pimpl.C: add comment, destroySplash()
13801
13802 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * BufferView_pimpl.C:
13805         * LyXAction.C:
13806         * buffer.C:
13807         * commandtags.h:
13808         * lyxfunc.C: use re-worked insetinclude
13809
13810 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13811
13812         * buffer.C: add using std::stringstream.
13813
13814         * lyx_cb.C: readd using std::ios.
13815
13816         * buffer.C: add using std::map.
13817
13818         * BufferView_pimpl.C: add using std::vector.
13819
13820         * ShareContainer.h: add std:: to swap.
13821
13822         * buffer.h: add some typedefs
13823         * buffer.C (getLists): use them
13824         (getLists): renamed from getTocList.
13825         add a counter for the different float types and use it in the
13826         generated string.
13827         (getLists): use the same counter for the NEW_INSETS and the "non"
13828         NEW_INSETS
13829
13830         * lyx_cb.h: remove unused items, includes, using etc.
13831
13832         * ShareContainer.h: remove some commented code, add more comments
13833         and "documentation".
13834
13835 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13836
13837         * buffer.C (getTocList): make the list also when NEW_INSETS is
13838         defined.
13839
13840         * buffer.h: remove TocType
13841
13842         * buffer.C (getTocList): change to return a map<string,
13843         vector<TocItem> >, implement for dynamic number of list.
13844
13845         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13846         * text2.C (PasteSelection): adjust
13847         * CutAndPaste.C (pasteSelection): adjust
13848
13849         * FloatList.C (FloatList): update from the new_insets branch.
13850         * Floating.[Ch]: ditto
13851         * LaTeXFeatures.C: ditto
13852         * buffer.C: ditto
13853         * lyxlex_pimpl.C: ditto
13854
13855         * paragraph.C (Last): remove when NEW_INSETS is defined.
13856
13857         * other file: changes because of the above.
13858
13859 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13860
13861         * lyxparagraph.h: rename next to next_, previous to previous_,
13862         make them private for NEW_INSETS. Rename Next() to next(),
13863         Previous() to previous().
13864
13865         * other files: changes because of the above.
13866
13867 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13868
13869         * BufferView.h:
13870         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13871         problem.
13872
13873 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * main.C (main): pass lyx_localedir to gettext_init().
13876
13877         * gettext.h: remove locale_init and gettext_init macros
13878
13879         * gettext.C (locale_init): new function
13880         (gettext_init): new function
13881
13882         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13883         setlocale().
13884
13885 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13886
13887         * Moved credits to frontends:
13888         * credits.[Ch]: removed
13889         * credits_form.[Ch]: removed
13890         * lyx_gui_misc.C: remove credits stuff
13891         * Makefile.am:
13892
13893 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13894
13895         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13896
13897         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13898         unneeded destructor.
13899
13900         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13901         a standalone pointer again.
13902
13903         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13904
13905 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * Makefile.am:
13908         * filedlg.h:
13909         * filedlg.C:
13910         * LyXAction.C:
13911         * ToolbarDefaults.C:
13912         * bufferlist.C:
13913         * commandtags.h:
13914         * form1.C:
13915         * form1.h:
13916         * lyx_cb.C:
13917         * lyx_cb.h:
13918         * lyxfunc.h:
13919         * lyxfunc.C:
13920         * BufferView_pimpl.C: use new file dialog in GUII
13921
13922         * lyx_cb.h:
13923         * lyx_cb.C: remove LayoutsCB to Toolbar
13924
13925 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * ShareContainer.h (get): add std:: qualifier
13928
13929 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * ShareContainer.h: define a proper ShareContainer::value_type
13932         type (and use typename to please compaq cxx)
13933
13934 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13935
13936         * lyxparagraph.h: move serveral local vars to
13937         ParameterStruct/ParagraphParameters., use ShareContainer in
13938         FontTable., make vars in FontTable private and add getter and
13939         setter.
13940
13941         * paragraph.C: changes because of the above.
13942
13943         * lyxfont.h: remove copy constructor and copy assignment. (the
13944         default ones is ok), move number inside FontBits. move inlines to
13945         lyxfont.C
13946
13947         * lyxfont.C: add number to initializaton of statics, move several
13948         inlines here. constify several local vars. some whitespace
13949         cleanup. Dont hide outerscope variables.
13950
13951         * Spacing.h: add two new constructors to match the set methods.
13952
13953         * ShareContainer.h: new file, will perhaps be moved to support
13954
13955         * ParameterStruct.h: new file
13956
13957         * ParagraphParameters.h: new file
13958
13959         * ParagraphParameters.C: new file
13960
13961         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13962         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13963
13964         * BufferView_pimpl.C: ParagraphParameter changes.
13965         * buffer.C: Likewise.
13966         * bufferview_funcs.C: Likewise.
13967         * text.C: Likewise.
13968         * text2.C: Likewise.
13969
13970 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * lyxfind.C (LyXReplace): do not redefine default argument in
13973         implementation.
13974         (IsStringInText): ditto
13975         (SearchForward): ditto
13976         (SearchBackward): ditto
13977
13978 2001-03-06  Juergen Vigna  <jug@sad.it>
13979
13980         * lyxfind.C (IsStringInText): put parentes around expressions.
13981
13982 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13983
13984         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13985
13986 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13989
13990         * stl_string_fwd.h: add comment
13991
13992         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13993
13994         * tabular.h:
13995         * tabular.C: remove unused DocBook methods
13996
13997         * intl.C:
13998         * language.C:
13999         * paragraph.C:
14000         * buffer.C:
14001         killed DO_USE_DEFAULT_LANGUAGE
14002
14003 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * lyx_gui.C: do not include language.h.
14006
14007         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14008         arguments in function implementation.
14009
14010 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14011
14012         * BufferView_pimpl.C: add <ctime>
14013
14014 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14015
14016         * BufferView_pimpl.C: add using std::find_if
14017
14018 2001-02-27  José Matos  <jamatos@fep.up.pt>
14019
14020         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14021         by OnlyPath.
14022
14023 2001-02-11  José Matos  <jamatos@fep.up.pt>
14024
14025         * buffer.C (makeDocBookFile): command styles now have a parameter as
14026         "title" by default.
14027
14028 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14029
14030         * layout_forms.[Ch]: removed
14031         * lyx_cb.[Ch]: out character
14032         * lyx_gui.C: out character
14033         * lyx_gui_misc.C: out character
14034         * bufferview_funcs.C: : out character,
14035         added toggleall as parameter in ToggleAndShow
14036
14037 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14038
14039         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14040
14041         * text2.C (SetCurrentFont): Disable number property at boundary.
14042
14043 2001-02-26  Juergen Vigna  <jug@sad.it>
14044
14045         * lyxfunc.C (getStatus): added a string argument override function so
14046         that this is correctly called from LyXFunc::Dispatch if it contains a
14047         do_not_use_argument which is used!
14048         (Dispatch): added check for "custom" export and call appropriate func.
14049
14050 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14051
14052         * lyxrc.C: Add language_command_local, language_use_babel and
14053         language_global_options.
14054
14055         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14056
14057         * buffer.C (makeLaTeXFile): Use language_use_babel and
14058         language_global_options.
14059
14060 2001-02-23  Juergen Vigna  <jug@sad.it>
14061
14062         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14063         which works with LyXText and putted it inside BufferView. Here now we
14064         only call for that part the BufferView::Dispatch() function.
14065
14066         * BufferView.C (Dispatch): added.
14067
14068         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14069         functions which needs to use a LyXText over from LyXFunc.
14070         (MenuInsertLyXFile): added
14071         (getInsetByCode): added
14072         (moveCursorUpdate): added
14073         (static TEXT): added
14074
14075 2001-02-22  Juergen Vigna  <jug@sad.it>
14076
14077         * BufferView_pimpl.C (update): call a status update to see if LyXText
14078         needs it.
14079
14080 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14081
14082         * vc-backend.C (revert): implement for CVS
14083         (getLog): implement for CVS
14084
14085 2001-02-20  Juergen Vigna  <jug@sad.it>
14086
14087         * text2.C (ClearSelection): added BufferView param for inset_owner call
14088
14089         * lyxfunc.C (TEXT): added this function and use it instead of
14090         directly owner->view()-text of getLyXText().
14091
14092 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14093
14094         * src/layout_forms.C: out preamble
14095         * src/layout_forms.h: out preamble
14096         * src/lyx_cb.C: out preamble
14097         * src/lyx_cb.h: out preamble
14098         * src/lyx_gui.C: out preamble
14099         * src/lyx_gui_misc.C: out preamble
14100         * src/lyxfunc.C: connect with guii preamble
14101
14102 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14103
14104         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14105
14106 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14107
14108         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14109         whether to run bibtex.
14110
14111 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14114
14115 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14116
14117         * Makefile.am (lyx_SOURCES): removed bibforms.h
14118
14119         * vspace.h: doxygen
14120
14121         * text.C (GetVisibleRow): make several local vars const
14122
14123         * tabular.C: small cleanup.
14124
14125         * lyxserver.C (callback): use compare instead of strncmp
14126
14127         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14128         inlines to after class or to paragraph.C
14129
14130         * lyxfont.h: remove friend operator!=
14131
14132         * converter.h: move friend bool operator< to non friend and after
14133         class def.
14134
14135         * combox.h: small cleanup
14136
14137         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14138         to inlines after class def.
14139
14140         * buffer.C (pop_tag): use string operations instead of strcmp
14141
14142         * bmtable.c: doxygen, small cleanup
14143
14144         * LaTeX.h: remove friend operator==
14145
14146 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14147
14148         * screen.C:
14149         * lyxrc.[Ch]:
14150         * lyxfunc.C:
14151         * lyxfont.[Ch]:
14152         * lyx_cb.C:
14153         * intl.[Ch]:
14154         * commandtags.h:
14155         * buffer.C:
14156         * WorkArea.[Ch]:
14157         * LyXAction.C:
14158         * BufferView_pimpl.C:
14159         * BufferView.[Ch]: remove cruft
14160
14161 2001-02-14  Juergen Vigna  <jug@sad.it>
14162
14163         * lyxfunc.C: removed #if 0 unused code
14164
14165         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14166
14167         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14168
14169         * text2.C (SetSelection): added a BufferView * parameter
14170
14171 2001-02-13  Juergen Vigna  <jug@sad.it>
14172
14173         * lyxfunc.C (Dispatch): fixed protected blank problem.
14174         * BufferView2.C (protectedBlank): added LyxText * parameter.
14175
14176         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14177         (AppendColumn): same as above for column_info.
14178
14179         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14180         (moveCursorUpdate): use a LyXText param for support of InsetText.
14181
14182         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14183         (tripleClick): ditto
14184
14185         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14186
14187         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14188
14189         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14190
14191         * text2.C (SetSelection): set correct update status if inset_owner
14192         (ToggleFree): ditto
14193
14194 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14195
14196         * tabular.C: remove some commented code.
14197
14198 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * BufferView_pimpl.C: call hideSplash()
14201
14202         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14203
14204         * include_form.h:
14205         * bibforms.h: remove
14206
14207         * lyxfunc.C:
14208         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14209           add LFUN_CHILD_CREATE
14210
14211         * counters.h: fix tiny typo
14212
14213         * lyx_cb.C:
14214         * lyx.h:
14215         * lyx_gui.C:
14216         * lyx.C: move splash to frontends/xforms/
14217
14218         * lyx_gui_misc.C: move Include and Bibform to frontends
14219
14220         * lyxvc.h: clarify comment
14221
14222         * vspace.C: tiny housekeeping
14223
14224 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * text.C (PrepareToPrint): RTL Fix.
14227
14228         * paragraph.C (GetUChar): New method.
14229         (String):  Use GetUChar.
14230
14231         * buffer.C (asciiParagraph): Use GetUChar.
14232
14233 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14236
14237 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * buffer.h:
14240         * buffer.C: rename to getLogName(), handle
14241           build log / latex log nicely
14242
14243 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * MenuBackend.C:
14246         * MenuBackend.h: remove support for reference menuitem type.
14247
14248 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * BufferView_pimpl.C: housekeeping
14251         * BufferView_pimpl.h:
14252         * LyXView.h:
14253         * Makefile.am:
14254         * Timeout.C:
14255         * Timeout.h:
14256         * minibuffer.h: move Timeout GUI-I
14257
14258 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * lyxrc.C (read): Update converters data-structures.
14261
14262 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14263
14264         * LaTeX.h (operator!=): add operator != for Aux_Info
14265
14266 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14269
14270         * LaTeXLog.C: deleted, useful code moved to Buffer
14271
14272         * buffer.h:
14273         * buffer.C: new function getLatexLogName()
14274
14275         * lyx_gui_misc.C:
14276         * lyx_gui.C:
14277         * lyxvc.C:
14278         * lyxvc.h:
14279         * lyxfunc.C: use frontends for LaTeX and VC logs
14280
14281 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * LaTeX.h: yet another std:: that Allan forgot.
14284
14285         * Variables.C (set): renamed from isset(), because this clashes
14286         with some HP-UX macros (grr).
14287
14288 2001-02-06  Allan Rae  <rae@lyx.org>
14289
14290         * LaTeX.h: Another bug fix.  Missing std:: this time.
14291
14292 2001-02-04  Allan Rae  <rae@lyx.org>
14293
14294         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14295         floats problem. I've left it commented out because it's not quite
14296         correct.  It should also test that the current object is a table or
14297         figure inset.  But I haven't gotten around to figuring out how to do
14298         that.  I *think* it'll be something like: "table" == inset.type()
14299
14300         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14301         bool.
14302
14303 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14304
14305         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14306         all the citation/databases/styles in the auxilary file.
14307         (run): Rerun latex if there was a babel language error.
14308
14309 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14310
14311         * text.C (Backspace): Preserve the font when changing newline char
14312         with a space.
14313         (BreakParagraph): If the cursor is before a space, delete the space.
14314
14315         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14316
14317 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14318
14319         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14320         new argument (code).
14321         (ChangeCitationsIfUnique): New method.
14322
14323         * paragraph.C (GetPositionOfInset): Handle bibkey.
14324
14325 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * BufferView_pimpl.h: change type of Position::par_pos to
14328         LyXParagraph::size_type.
14329
14330 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14331
14332         * BufferView_pimpl.C (savePosition, restorePosition): Write
14333         messages to minibuffer.
14334
14335 2001-01-28  José Matos  <jamatos@fep.up.pt>
14336
14337         * buffer.C (makeDocBookFile): adds support for document language.
14338         A silly restriction on the name of LatexCommand types where removed.
14339         Added support for CDATA sections, allows to chars unescaped, used
14340         among others in code, to avoid escape < and >.
14341
14342 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14345         saved positions instrad of a stack. Furthermore, a position is
14346         stored using paragraph id/paragraph position.
14347
14348         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14349         Remove LFUN_REF_BACK.
14350
14351 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14352
14353         * converter.C (dvipdfm_options): New method.
14354
14355 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14356
14357         * vspace.C (isValidLength): Fix for empty input string.
14358
14359 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * LyXAction.C (init): change description of LFUN_FIGURE to
14362         "Insert Graphics"
14363
14364 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * LaTeX.C: add using directive
14367
14368 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14369
14370         * MenuBackend.C (expand): Fix the sorting of the formats.
14371
14372 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * lyx_main.C: tiny error message fix
14375
14376 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14379         calling fl_initialize(). This fixes the problem with ',' as
14380         decimal separator in text files.
14381
14382 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14383
14384         * trans.C (process): Fix the keymap bug.
14385
14386 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14387
14388         * LaTeX.C (scanAuxFiles): New method. Provides support for
14389         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14390         (scanLogFile) Scan for "run BibTeX" messages.
14391
14392         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14393         OT1 font encoding. Also, load the aecompl package if the ae
14394         package is loaded.
14395
14396         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14397
14398 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * texrow.C (increasePos): turn two error messages into debug
14401         messages.
14402
14403 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * LaTeX.C (scanAux): Handle the \@input macro.
14406         (runBibTeX): Use scanAux().
14407
14408         * language.C (latex_options_): New field.
14409
14410         * LaTeXFeatures.C (getMacros): Add language macros.
14411
14412         * buffer.C (makeLaTeXFile): Small fix.
14413
14414 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14417
14418         * text2.C: add a using directive.
14419
14420 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * BufferView2.C:
14423         * lyx_gui_misc.h:
14424         * lyxfr1.C:
14425         * lyxfunc.C: kill LyXBell.
14426
14427 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14428
14429         * text.C (IsBoundary): Remove the error message
14430
14431         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14432
14433         * lyxrc.C (setDefaults): Correct initialization value for
14434         font_norm_type.
14435
14436 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14437
14438         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14439         gotoError().
14440
14441         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14442         and GotoNextNote().
14443
14444         * src/LyXAction.C: Added reference-next.
14445
14446         * text.C (InsertChar): Use contains instead of strchr.
14447
14448         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14449
14450 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14453         alignment commands (when needed).
14454
14455         * text.C (InsertChar): Add ':' to number separator chars.