]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
and this
[lyx.git] / src / ChangeLog
1
2 2004-02-11  André Pönitz  <poenitz@gmx.net>
3
4         * lyxfunc.C:
5         * BufferView.[Ch]:
6         * BufferView_pimpl.C: shift undo/redo handling
7
8         * cursor.[Ch]: fix mathed crash
9
10         * lyxfind.C:
11         * lyxtext.h: move selectionAsText to LCursor
12
13         * output_latex.C:
14         * paragraph.C:
15         * text.C:
16         * text2.C:
17         * text3.C: adjust
18
19         * rowpainter.C: fix excessive drawing
20
21 2004-02-06  André Pönitz  <poenitz@gmx.net>
22
23         * BufferView.[Ch]:
24         * BufferView_pimpl.[Ch]:
25         * text3.C: move some text specific LFUN handling
26
27 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
28
29         * text3.C (checkInsetHit): adjust coords
30         * text2.C (getColumnNearX): adjust coords
31         (edit): adjust coords
32         * text.C (getRowNearY): add two asserts
33
34 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * converter.C:
37         * format.C: add using std::distance to compile on gcc 2.95/stlport
38
39 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
40
41         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
42
43 2004-02-04  André Pönitz  <poenitz@gmx.net>
44
45         * BufferView.[Ch] (insertInset):
46         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
47
48         * text2.C:
49         * text3.C: adjust
50
51 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
54         on the default clause of the switch
55         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
56         wasn't catched by LCursor::dispatch
57
58 2004-02-03  André Pönitz  <poenitz@gmx.net>
59
60         * BufferView.C:
61         * cursor.[Ch]: some additional asserts
62
63         * undo.[Ch]: remove LyXText dependency in interface
64
65         * lyxfunc.C: adjust
66
67         * lyxtext.h (firstPar, lastPar): remove dead functions 
68
69         * text.C:
70         * text2.C:
71         * text3.C:
72         * paragraph.[Ch]: adjust
73
74 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * lyxfind.C (find): fix argument order in call to ::find
77
78 2004-02-02  André Pönitz  <poenitz@gmx.net>
79
80         * cursor.[Ch]: remove direct access to anchor
81
82         * text.C: remove findText() hack
83
84 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * iterators.[Ch] (lockPath): remove in favour of...
87         * BufferView.[Ch] (setCursor): this addition
88         * BufferView.C (putSelectionAt): adjust
89         * undo.C (performUndoOrRedo): adjust
90         * lyxfunc.C (dispatch): adjust
91
92 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * iterators.C (lockPath): add a missing slice
95         * undo.C (performUndoOrRedo): remove redundant positioning code
96
97 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
98
99         * vc-backend.C (scanMaster): ";" -> ';'
100
101 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
104         std::binary_function
105
106         * lyxtextclass.C (compare_name): rename to...
107         (LayoutNamesEqual): ...this
108
109         * lyxlex_pimpl.C (compare_tags): inherit from
110         std::binary_function, put back into anon namespace
111
112         * lyxfind.C (MatchString): inherig from std::binary_function
113         (findChange): use empty() istead of !size()
114
115         * format.C (FormatNamesEqual): new functor
116         (getFormat): use it
117         (getNumber): use it
118         (add): use it
119         (erase): use it
120         (setViewer): use it
121
122         * converter.C (compare_Converter): rename to...
123         (ConverterEqual): ...this, and fixup a bit.
124         (getConverter): use it, and make function const
125         (getNumber): use it, and make function const
126         (add): use it
127         (erase): use it:
128
129         * bufferlist.C: add using boost::bind
130
131         * MenuBackend.C (MenuNamesEqual): new functor
132         (hasMenu): use it, and make function const
133         (hasSubmenu): use nested bind to get rid of compare_memfun.
134
135 2004-01-30  André Pönitz  <poenitz@gmx.net>
136
137         * BufferView_pimpl.C:
138         * cursor.C:
139         * cursor.h:
140         * cursor_slice.[Ch]:
141         * lyxfunc.C:
142         * lyxtext.h:
143         * paragraph_funcs.C:
144         * paragraph_funcs.h:
145         * rowpainter.C:
146         * text.C:
147         * text2.C:
148         * text3.C: move some of the edit(x,y) handling to the insets
149         some coordinate changes.
150
151 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
152
153         * text.C: add using statements for std::advance and std::distance
154
155         * paragraph.C: add using statement for std::distance
156
157         * lyxfind.C: add using statement for std::advance
158
159         * cursor.C (region): remove std:: from swap
160         (openable): use nucleus in stead of operator->
161
162         * BufferView.C: add using statements for std::distance and std::swap
163
164 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
165
166         * iterators.C: Remove the pimple, move the needed structures to
167         the header file. Create accessor for the positions stack.
168         (asPosIterator): remove function
169
170         * PosIterator.C (PosIterator): move constructors to top of file
171         (PosIterator): reimplement the constructor taking a ParIterator in
172         terms of setFrom.
173         (setFrom): new function
174         (operator!=): inline it
175
176 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
177
178         * lyxfind.C (replaceAll): use std::advance
179
180         * iterators.h: inherit from std::iterator.
181
182         * PosIterator.C (advance, distance): remove
183         * PosIterator.h: interit from std::iterator.
184
185 2004-01-26  André Pönitz  <poenitz@gmx.net>
186
187         * BufferView.[Ch]:
188         * BufferView_pimpl.[Ch]:
189         * InsetList.[Ch]:
190         * PosIterator.[Ch]:
191         * buffer.h:
192         * bufferview_funcs.C:
193         * cursor.[Ch]:
194         * cursor_slice.h:
195         * factory.[Ch]:
196         * iterators.[Ch]:
197         * lyxfind.C:
198         * lyxfunc.C:
199         * lyxtext.h:
200         * output_docbook.C:
201         * output_latex.C:
202         * output_linuxdoc.C:
203         * output_plaintext.C:
204         * paragraph.[Ch]:
205         * paragraph_funcs.[Ch]:
206         * paragraph_pimpl.[Ch]:
207         * rowpainter.C:
208         * tabular.C:
209         * tabular.h:
210         * text.C:
211         * text2.C:
212         * text3.C: more IU:  dumps most of the rest of the mathcursor
213     implementation into cursor.[Ch]; "globalize" a bit of it.
214
215 2004-01-25  Angus Leeming  <leeming@lyx.org>
216
217         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
218
219 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * LaTeXFeatures.h: add nice_ and nice() const
222         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
223
224 2004-01-20  André Pönitz  <poenitz@gmx.net>
225
226         * BufferView.[Ch]:
227         * BufferView_pimpl.C:
228         * PosIterator.C:
229         * bufferview_funcs.C:
230         * cursor.[Ch]:
231         * cursor_slice.[Ch]:
232         * factory.C:
233         * iterators.C:
234         * lyx_cb.C:
235         * lyxfind.C:
236         * lyxfunc.C:
237         * lyxtext.h:
238         * rowpainter.C:
239         * text.C:
240         * text2.C:
241         * text3.C:
242         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
243           LCursor and mathcursor parts to LCursor and InsetBase.
244
245 2004-01-15  André Pönitz  <poenitz@gmx.net>
246
247         * cursor_slice.[Ch]: add a few covienience functions
248
249         * funcrequest.[Ch]: remove BufferView * member
250
251         * BufferView_pimpl.C:
252         * cursor.C:
253         * factory.[Ch]:
254         * lyxfind.[Ch]:
255         * lyxfunc.C:
256         * lyxtext.h:
257         * text3.C:
258         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
259
260 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
263         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
264
265 2004-01-13  André Pönitz  <poenitz@gmx.net>
266
267         * textcursor.[Ch]:
268         * lyxtext.h: hide cursor and selection anchor behind accessor function
269
270         * BufferView.C:
271         * BufferView_pimpl.[Ch]:
272         * PosIterator.C:
273         * bufferview_funcs.C:
274         * cursor.h:
275         * lyxfind.C:
276         * lyxfunc.C:
277         * text.C:
278         * text2.C:
279         * text3.C:
280         * undo.C: adjust
281
282         * cursor.h:
283         * cursor_slice.[Ch]: some integer type changes for inset unification
284
285         * lyxcursor.[hC]: remove, it's CursorSlice now.
286
287         * Makefile.am:
288         * BufferView_pimpl.[Ch]:
289         * bufferview_funcs.C:
290         * cursor_slice.C:
291         * lyxtext.h:
292         * text.C:
293         * text2.C:
294         * text3.C:
295         * textcursor.[Ch]: adjust
296
297 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * text2.C (undoSpan): add and use
300         * text.C (breakParagraph): use undoSpan (fix bug 578)
301         * lyxtext.h: adjust
302
303 2004-01-08  Angus Leeming  <leeming@lyx.org>
304
305         * BufferView_pimpl.C (MenuInsertLyXFile):
306         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
307         * lyxfunc.C (menuNew, open, doImport):
308         FileFilterList change to the FileDialog open and save functions.
309
310 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
311
312         * ShareContainer.h: make isEqual and isUnique adaptable
313
314         * CutAndPaste.C: make resetOwnerAndChanges adaptable
315
316 2004-01-07  Angus Leeming  <leeming@lyx.org>
317
318         * LyXAction.C:
319         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
320
321         * BufferView_pimpl.C (dispatch): act on these LFUNs.
322
323         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
324         functions replacing find, replace and replaceAll.
325
326         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
327         LFUN_WORDFIND(FORWARD|BACKWARD).
328
329 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * text.C (breakParagraph): remove an outdated #warning
332
333 2004-01-07  André Pönitz  <poenitz@gmx.net>
334
335         * lyxfind.C: somewhat clearer logic
336
337         * text.C: prevent crash in cursorX on unitialized row cache
338
339 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * lyxcursor.[Ch] (operator>): add
342         * textcursor.C (selStart, selEnd): use std::min and std::max
343
344 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
345
346         * Chktex.C: include boost/format.hpp
347
348 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
349
350         * InsetList.C: replace functor MathcIt with adaptable functor
351         InsetTablePosLess
352         (insetIterator): modify accordingly
353
354         * BranchList.h: move the BranchNamesEqual functor here from...
355         * BranchList.C: ... to here
356
357         * BranchList.C: new BranchListEqual fuctor, use it. Remove
358         SameName and match.
359         (add): replace a finding loop with std::find_if.
360
361 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
362
363         * output_docbook.C: moving LatexParam functionality into
364         .layout files
365
366 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
367
368         * buffer.C: increment format to 229.
369
370 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
371
372         * LaTeXFeatures.C:
373         * lyx_sty.[Ch]: remove minipageindent_def
374
375         * LyXAction.C:
376         * factory.C:
377         * lfuns.h:
378         * lyxfunc.C:
379         * text3.C: remove LFUN_INSET_MINIPAGE
380
381 2003-12-28  Angus Leeming  <leeming@lyx.org>
382
383         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
384
385 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * text2.C (setParagraph): fix off-by-one crash
388
389 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
390
391         * output_docbook.C: header stuff for AGU
392
393 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
394
395         * text2.C (redoCursor): remove
396         * text.C:
397         * text3.C:
398         * BufferView_pimpl.C: remove calls to redoCursor and
399         setCursor(cursor.par(), cursor.pos()) all around
400
401 2003-12-15  Angus Leeming  <leeming@lyx.org>
402
403         * buffer.C: up the format to 228.
404
405 2003-12-15  André Pönitz  <poenitz@gmx.net>
406
407         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
408         slices
409
410         * Makefile.am:
411
412         * BufferView_pimpl.C:
413         * cursor.[Ch]:
414         * lyxcursor.[Ch]:
415         * rowpainter.[Ch]:
416         * lyxtext.h:
417         * text.C:
418         * text2.C:
419         * text3.C: adjust
420
421 2003-12-15  Angus Leeming  <leeming@lyx.org>
422
423         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
424         than getFromGUIName to manipulate the color.
425
426 2003-12-14  Angus Leeming  <leeming@lyx.org>
427
428         * BranchList.[Ch]: minimize the API.
429         (Branch::getBranch, getColor): now return a 'const &'.
430         (Branch::setSelected) now returns a bool set to true if the
431         selection status changes.
432         (BranchList::clear, size, getColor, setColor, setSelected,
433         allBranches, allSelected, separator): removed.
434         (BranchList::find): new functions, returning the Branch with
435         the given name.
436         (BranchList::add, remove): return a bool indicating that
437         the operation was successful.
438
439         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
440         new InsetBranch::isBranchSlected member function.
441
442         * LColor.[Ch]: mimimize the API.
443         (fill): renamed as addColor and made private.
444         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
445         versions of these functions taking a string arg have been removed.
446
447         * bufferparams.C (readToken):
448         * lyxfunc.C (dispatch):
449         * lyxrc.C (read): changes due to the altered BranchList and
450         LColor APIs.
451
452         * factory.C (createInset, readInset): changes due to altered
453         InsetBranch c-tor.
454
455 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
456
457         * factory.C:
458         * lyxfunc.C: remove insetminipage. "minipage-insert"
459         now produces a frameless minipage box inset.
460
461 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
462
463         * textcursor.[Ch] (selStart,selEnd): add new methods
464         remove selection::start, end, use LyXCursor::operator<
465         * lyxcursor.[Ch] (operator<): add
466         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
467         * BufferView.[Ch] (unsetXSel): add
468         * text2.C (clearSelection): use unsetXSel,adjust
469         * text.C: adjust
470         * text3.C: adjust
471         * rowpainter.C: adjust
472         * bufferview_funcs.C (put_selection_at): adjust
473
474 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * BufferView_pimpl.C: small coord. correction
477
478 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
481         dragging over the splash screen.
482
483 2003-12-11  Angus Leeming  <leeming@lyx.org>
484
485         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
486         as it is now handled in LyXText::dispatch.
487
488         * text3.C (doInsertInset): remove a level of nesting.
489
490 2003-12-11  Angus Leeming  <leeming@lyx.org>
491
492         * factory.C (createInset): changes due to the changed interface to
493         InsetCommandMailer::string2params.
494
495 2003-12-10  Angus Leeming  <leeming@lyx.org>
496
497         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
498         'dialog-show-new-inset <inset name>'
499
500 2003-12-10  Angus Leeming  <leeming@lyx.org>
501
502         * buffer.C: up the format to 227.
503
504         * factory.C: the box inset is now identified simply by 'Box'.
505
506 2003-12-10  Angus Leeming  <leeming@lyx.org>
507
508         * buffer.C: up the format to 226.
509
510         * factory.C: the note inset is now identified simply by 'Note'.
511
512 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
513
514         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
515         when a pit is enough. Standarize a couple of loops.
516
517 2003-12-05  Angus Leeming  <leeming@lyx.org>
518
519         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
520         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
521         data to the re-worked "log" dialog.
522
523 2003-12-03  André Pönitz  <poenitz@gmx.net>
524
525         * PosIterator.C:
526         * iterators.C:
527         * lyxtext.h:
528         * output_latex.C:
529         * paragraph_funcs.C:
530         * text.C:
531         * text2.C: use Inset::getText instead of Inset::getParagraph
532
533 2003-12-03  André Pönitz  <poenitz@gmx.net>
534
535         * buffer.[Ch]:
536         * lyxtext.h:
537         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
538         InsetText::read() as LyXText::read()
539
540 2003-12-02  Angus Leeming  <leeming@lyx.org>
541
542         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
543         type. Add a comment in the implementation that the function uses
544         the stream's bad() function rather than fail() as the std::streams
545         would do.
546
547 2003-12-02  André Pönitz  <poenitz@gmx.net>
548
549         * lyxlex.[Ch]: make interface more similar to std::stream
550
551         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
552
553 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
556
557 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
558
559         * vspace.[Ch]: remove VSpace::NONE
560
561 2003-12-01  André Pönitz  <poenitz@gmx.net>
562
563         * buffer.[Ch]:
564         * lyxtext.h: move ParagraphList member to LyXText
565         rename LyXText::ownerParagraphs to LyXText::paragraph
566
567         * CutAndPaste.C:
568         * bufferview_funcs.C:
569         * iterators.[Ch]:
570         * lyx_cb.C:
571         * paragraph.C:
572         * rowpainter.C:
573         * tabular.C:
574         * text.C:
575         * text2.C:
576         * text3.C: adjust
577
578         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
579
580         * undo.C: fix cursor positioning
581
582 2003-12-01  John Levon  <levon@movementarian.org>
583
584         * BufferView_pimpl.C: fix a crash on exit with
585         a buffer open
586
587 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * BranchList.C: fix setSelected() method.
590
591 2003-11-28  André Pönitz  <poenitz@gmx.net>
592
593         * ParagraphParameters.[Ch]:
594         * ParameterStruct.h: remove space above/below from Paragraph to
595          InsetVSpace
596
597         * BufferView_pimpl.C:
598         * factory.C:
599         * lyxfunc.C:
600         * lyxtext.h:
601         * output_latex.C:
602         * paragraph.C:
603         * paragraph_funcs.C:
604         * rowpainter.[Ch]:
605         * text.C:
606         * text2.C:
607         * text3.C: adjust
608
609 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
610
611         * factory.C: Syntax change for CharStyles
612
613 2003-11-28  André Pönitz  <poenitz@gmx.net>
614
615         * BufferView.[Ch]:
616         * BufferView.[Ch]:
617         * buffer.[Ch]:
618         * buffer.[Ch]: move LyXText member
619
620 2003-11-28  André Pönitz  <poenitz@gmx.net>
621
622         * BufferView.[Ch]: make LyXText * text a private member
623
624         * BufferView_pimpl.C:
625         * cursor.C:
626         * iterators.C:
627         * lyx_cb.C:
628         * lyxfind.C:
629         * lyxtext.h:
630         * rowpainter.[Ch]:
631         * text.C:
632         * text2.C:
633         * undo.C: adjust
634
635         * output_plaintext.C: cleanup
636
637 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
638
639         * buffer.C:
640         * lyxtextclass.[Ch]: parametrize SGML document header
641
642 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
643
644         * converter.[Ch]:
645         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
646         getFlavor().
647
648 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
649
650         * text2.C (setFont): rework using PosIterator (no more recursive)
651         (setCharFont): no more needed
652         (setLayout): no more selection cursors fiddling (done by redoCursor)
653         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
654         destroy remaining ones)
655
656 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
659         * lyxtext.h: ditto
660         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
661         selection cursors
662         * lyxfunc.C: adjust
663         * text3.C: adjust + re-allow multi par depth changes
664         * textcursor.C: simplify a bit
665
666 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * src/buffer.C:
669         * src/lyxlayout.C:
670         * src/lyxlayout.h:
671         * src/lyxtext.h:
672         * src/output_docbook.C:
673         * src/output_latex.C:
674         * src/paragraph.C:
675         * src/paragraph.h:
676         * src/sgml.C:
677         * src/sgml.h:
678         * src/text2.C: Introducing a number of tags parametrizing various
679         XML formats that we may want to support
680
681 2003-11-25  André Pönitz  <poenitz@gmx.net>
682
683         * InsetList.[Ch] (begein, end): inline as suggested by profiler
684
685         * lyxtext.h (leftMargin/rightMargin): simplify interface
686
687         * rowpainter.C:
688         * text.C:
689         * text2.C:
690         * text3.C: adjust
691
692 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * lyxfunc.C (dispatch): propogate the bibtex databases from the
695         master file to any child files. Fixes bug 546.
696
697 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
700
701 2003-11-24  André Pönitz  <poenitz@gmx.net>
702
703         * rowpainter.C: simplification
704
705         * text2.C (updateCounters): remove call to redoParagraph on
706         changed labels as this is far too expensive.
707
708 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
709
710         * converter.C (convert): fix a crash: this function gets
711         called with buffer == 0 from importer code.
712
713 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
714
715         * text3.C (cursorPrevious): make sure that we do not compare
716         iterators form different containers.
717         (cursorNext): ditto
718
719         * rowpainter.C (paintSelection): make sure that we do not compare
720         iterators from different containers.
721
722         * text3.C (dispatch): [PRIOR] make sure that we do not compare
723         iterators from different ParagraphList containers.
724         [NEXT] ditto
725
726         * text2.C (LyXText): change order of initialization slightly
727         (operator=): new function. copy all variables except cache_par_
728         (moveUp): make sure that we do not compare iterators from
729         different ParagraphList constainers.
730         (moveDown): ditto
731
732         * text.C (firstPar): new function
733         (lastPar): new function
734         (endPar): new function
735
736         * lyxtext.h: move things around and group public functions, public
737         variables, private functions, private variables
738
739 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
740
741         * factory.C: change call to InsetERT constructor to avoid
742         additional invocation of method status
743         * text2.C (toggleInset): remove redundant update() call
744         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
745         instead of a Bufferview pointer
746
747 2003-11-21  André Pönitz  <poenitz@gmx.net>
748
749         * rowpainter.C: simplification
750
751 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * text3.C (dispatch): make possible to extend a word/row selection
754         with the mouse
755
756 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * lyxtext.h: x0_,y0_ -> xo_,yo_
759         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
760         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
761         * rowpainter.C (paintRows): paint full paragraphs
762
763 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
764
765         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
766         screen coordinates)
767
768 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * lyxtext.h: add x0_, y0_
771         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
772         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
773
774 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
775
776         * text2.C (setCursorIntern): move the x_target update here *
777         * text3.C: change some bv() to true/false in calls to
778         cursorUp/Down/Right/Left
779         * cursor.C: use helper function.
780
781 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
784         * paragraph_funcs.[Ch]: correct comment
785         * rowpainter.C: do not paint selections away from bv->cursor()
786         Fix a long standing selection painting bug.
787         * text3.C: generalize mouse-selection code to LyXTexts other that
788         top one
789         * textcursor.C: do not use y coords if we can use par offsets
790
791 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
794         cursor position after e.g. inset insert)
795
796 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
797
798         * lyxfind.C (replace): adjust to locking removal + some
799         code simplification
800
801 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
802
803         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
804         of the path
805
806 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * lyxlayout.[Ch]:
809         * output_docbook.C: XML sanitation: new layout
810         parameters InnerTag and CommandDepth
811
812 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
813
814         * BufferView_pimpl.C:
815         * factory.C:
816         * text3.C: Fix the insertion and modification of button-style
817         insets
818
819 2003-11-13  André Pönitz  <poenitz@gmx.net>
820
821         * InsetList.[Ch]: remove deleteLyXText
822
823         * paragraph.[Ch]: cache beginOfBody position
824
825         * Bidi.C:
826         * text.C:
827         * text2.C:
828         * text3.C: remove superfluous update() calls
829
830         * vspace.C: cleanup
831
832 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
833
834         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
835         * BufferView.C (fitLockedInsetCursor): remove
836         * cursor.[Ch] (getDim): add
837         * text.C (getRowNearY): add faster version
838         * text3.C: remove some update calls
839
840 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * LaTeXFeatures.C:
843         * LyXAction.C:
844         * MenuBackend.C:
845         * MenuBackend.h:
846         * dispatchresult.h:
847         * factory.C:
848         * lfuns.h:
849         * lyxfunc.C:
850         * lyxtextclass.C:
851         * lyxtextclass.h:
852         * text3.C: The Character Style /XML short element patch.
853
854 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * text3.C:
857         * factory.C: Small step to solving 'unable to insert some insets'
858         problem
859
860 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * cursor.[Ch] (updatePos): new function for updating the y
863         position of the tip inset
864         * bufferview_funcs.C (put_selection_at):
865         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
866
867 2003-11-11  André Pönitz  <poenitz@gmx.net>
868
869         * text.C: remove big comment on invalid Paragraph pointers as it is
870         not valid anymore
871
872 2003-11-11  André Pönitz  <poenitz@gmx.net>
873
874         * text_funcs.[Ch]: merge with ...
875
876         * text.C: ... this
877
878         * lyxtext.h:
879         * text2.C:
880         * text3.C: adjust
881
882         * Makefile.am: remove text_funcs.[Ch]
883
884 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
885
886         * cursor.C (getPos): return absolute cached y coord
887
888         * BufferView_pimpl.C (fitCursor): new simplistic code
889         (workAreaDispatch): add a fitCursor call
890
891 2003-11-10  André Pönitz  <poenitz@gmx.net>
892
893         * BufferView.[Ch]:
894         * BufferView_pimpl.[Ch]: merge update() and updateInset()
895
896 2003-11-10  André Pönitz  <poenitz@gmx.net>
897
898         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
899         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
900         indicate that the cursor needs to leave an inset
901
902         * lyxtext.h: remove inset locking
903
904         * cursor.[Ch]: re-implement functionality provided by inset locking
905
906         * BufferView.[Ch]:
907         * BufferView_pimpl.[Ch]:
908         * LyXAction.C:
909         * bufferview_funcs.[Ch]:
910         * factory.C:
911         * funcrequest.[Ch]:
912         * iterators.C:
913         * lyx_cb.C:
914         * lyxfind.C:
915         * lyxfunc.C:
916         * text.C:
917         * text2.C:
918         * text3.C:
919         * undo.C: adjust
920
921 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
922
923         * PosIterator.[Ch]: replace the stack with a vector, add inset
924         accesor
925         * iterators.[C]: adjust
926
927 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
928
929         * lyxfind.C (replaceAll): mark the buffer dirty if something was
930         replaced
931         * paragraph_funcs.C (readParToken): put the correct id in the
932         error item, not the id of the top paragraph
933
934 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
935
936         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
937         * bufferview_funcs.C (put_selection_at): use the above
938
939 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
940
941         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
942
943 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * output_linuxdoc.h:
946         * output_plaintext.h:
947         * output.h:
948         * output_docbook.h: add #include statements
949
950 2003-11-05  José Matos  <jamatos@lyx.org>
951
952         * output_docbook.[Ch]:
953         * output_latex.[Ch]:
954         * output_linuxdoc.[Ch]:
955         * output_plaintext.[Ch]: New files for output formats.
956         * output.[Ch]: New file for helper functions.
957
958         * buffer.[Ch]:
959         * paragraph_funcs.[Ch]: output functions moved to new files.
960
961         * outputparams.h: rename of latexrunparams.h
962
963         * LaTeX.[Ch]:
964         * buffer.[Ch]:
965         * bufferlist.[Ch]:
966         * converter.[Ch]:
967         * exporter.C:
968         * paragraph.[Ch]:
969         * paragraph_funcs.[Ch]:
970         * paragraph_pimpl.[Ch]:
971         * tabular.[Ch]: rename ascii to plaintext
972         and LatexRunParams to OutputParams.
973
974 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
975
976         * iterators.[Ch] (text): require bv argument
977         * undo.C (recordUndo):
978         * lyxfunc.C (dispatch):
979         * bufferview_funcs.C (put_selection_at): adjust
980
981 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
982
983         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
984
985 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
986
987         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
988         nestings
989
990 2003-11-04  André Pönitz  <poenitz@gmx.net>
991
992         * cursor.[Ch]: restructure
993
994         * BufferView.[Ch]:
995         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
996
997         * iterators.[Ch] (asCursor): remove
998
999         * lfuns.h: remove LFUN_INSET_EDIT
1000
1001         * lyxfunc.C:
1002         * tabular.C:
1003         * text.C:
1004         * text2.C:
1005         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1006
1007 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1008
1009         * lyxfind.[Ch]: complete overhaul
1010         * BufferView_pimpl.C:
1011         * lyxfunc.C: adjust
1012         * paragraph.[Ch] (insert): add
1013
1014 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1015
1016         * BufferView.[Ch]:
1017         * lyxtext.h:
1018         * text.C: remove dead spellcheck code
1019
1020 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1021
1022         * dispatchresult.h: add a val setter
1023
1024         * cursor.C (dispatch): use a tempvar for data_[i]
1025
1026 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1027
1028         * PosIterator.[Ch]: compile fix
1029
1030 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1031
1032         * text.C (cursorPar): deactivate the cursor cache
1033
1034 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1035
1036         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1037
1038 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1039
1040         * text3.C (dispatch): adjust for new DisptchResult semantics.
1041
1042         * lyxfunc.C (dispatch): handle update when return from
1043         Cursor::dispatch, adjust for new DispatchResult semantics.
1044
1045         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1046         DispatchResult(true) mean to not update. Add class functions for
1047         setting dispatched and update, as well as reading.
1048
1049         * cursor.C (dispatch): don't handle update here
1050
1051 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1052
1053         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1054         * trans_mgr.C: adjust
1055
1056         * paragraph_funcs.C (readParToken): exception safety
1057
1058         * lyxvc.h: store the vcs pointer in a scoped_ptr
1059         * lyxvc.C: adjust
1060
1061         * lyxsocket.C (serverCallback): exception safety
1062
1063         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1064
1065         * ispell.C (clone): make it return a auto_ptr
1066
1067         * factory.C (createInset): exception safety
1068         (readInset): exception safety
1069
1070         * bufferlist.C (newBuffer): exception safety
1071
1072         * Thesaurus.C (Thesaurus): use initialization for aik_
1073
1074         * MenuBackend.C (expandToc): exception safety.
1075
1076 2003-11-03  André Pönitz  <poenitz@gmx.net>
1077
1078         * buffer.C:
1079         * buffer.h:
1080         * bufferview_funcs.C: remove getInsetFromId()
1081
1082         * lyxcursor.[Ch]:
1083         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1084
1085         * lyxfunc.C:
1086         * text2.C:
1087         * text3.C: adjust
1088
1089 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1090
1091         * PosIterator.C (distance, advance): new
1092         * bufferview_funcs.[Ch] (put_selection_at): new
1093         * iterators.[Ch] (lockPath): new
1094
1095 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1096
1097         * iterators.[Ch] (asPosIterator): added
1098         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1099         * PosIterator.[Ch]: added
1100
1101 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1102
1103         * text3.C:
1104         * lyxfunc.C:
1105         * cursor.C (dispatch):
1106         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1107
1108         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1109         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1110         contructor, add a class function dispatched. Remove operator>=
1111
1112 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1113
1114         * debug.C: only use the default constructor for debugstream
1115         (lyxerr) here.
1116
1117         * main.C (main): include debug.h and setup the lyxerr streambuf
1118         here.
1119
1120 2003-10-31  José Matos  <jamatos@lyx.org>
1121
1122         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1123
1124         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1125         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1126         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1127         * paragraph_pimpl.C (simpleTeXSpecialC):
1128         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1129         add LatexRunParams argument.
1130
1131         * exporter.C (Export): change call accordingly.
1132
1133         * latexrunparams.h: add new member to take care of the other backends.
1134 2003-10-30  José Matos  <jamatos@lyx.org>
1135
1136         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1137         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1138         factorise code for paragraph output.
1139         * buffer.[Ch]:
1140         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1141         move functions.
1142
1143 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1144
1145         * text3.C (dispatch):
1146         * lyxfunc.C (dispatch):
1147         * cursor.C (dispatch):
1148         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1149
1150         * dispatchresult.h: make the dispatch_result_t ctor explicit
1151
1152 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1153
1154         * sgml.[Ch]:
1155         * buffer.C: small refactoring of docbook stuff
1156
1157 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1158
1159         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1160         meaning.
1161
1162 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1163
1164         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1165         operator dispatch_result_t, and operators for == != and >=
1166
1167         * cursor.C (dispatch): adjust for operator dispatch_result_t
1168         removal. comment out call to update
1169
1170         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1171
1172 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1173
1174         * text3.C:
1175         * text2.C:
1176         * text.C:
1177         * lyxtext.h:
1178         * lyxfunc.C:
1179         * cursor.C:
1180         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1181         (dispatch):
1182
1183         * dispatchresult.h: new file, DispatchResult broken out of
1184         insets/insetbase.h
1185
1186         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1187
1188 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1189
1190         * text.C (rowBreakPoint): put a hack inside #if 0
1191
1192 2003-10-28  André Pönitz  <poenitz@gmx.net>
1193
1194         * lyxtext.h:
1195         * metricsinfo.C:
1196         * paragraph_funcs.C:
1197         * rowpainter.C:
1198         * text.C:
1199         * text2.C: general cleanup (lots of small stuff)
1200
1201 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1202
1203         * text2.C (cursorEnd): simple fix to the "end key goes to one
1204         before the end on last row" bug
1205
1206 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1207
1208         * text.C (backspace): fix the "zombie characters"
1209
1210 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1211
1212         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1213
1214 2003-10-27  André Pönitz  <poenitz@gmx.net>
1215
1216         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1217
1218         * factory.C: handle new InsetPagebreak, InsetLine
1219
1220         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1221         and move handling into new InsetPagebreak, InsetLine
1222
1223         * BufferView_pimpl.C:
1224         * LyXAction.C:
1225         * ParagraphParameters.C:
1226         * ParameterStruct.h:
1227         * lyxfunc.C:
1228         * lyxtext.h:
1229         * paragraph.C:
1230         * paragraph.h:
1231         * paragraph_funcs.C:
1232         * paragraph_pimpl.C:
1233         * rowpainter.C:
1234         * text.C:
1235         * text2.C:
1236         * text3.C: adjust
1237
1238 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1239
1240         * text.C:
1241         * lyxrow_funcs.[Ch]:
1242         * Bidi.C:
1243         * paragraph.C:
1244         * lyxtext.h:
1245         * rowpainter.C:
1246         * text2.C:
1247         * text3.C: remove lastPos uses in favour of Row::endpos
1248
1249 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1250
1251         * undo.C (performUndoOrRedo): fix two crashes by setting a
1252         cursor by hand and reordering some calls. Use bv->lockInset instead
1253         of inset->edit because the latter loses cursor information
1254
1255 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1256
1257         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1258         by Martin
1259         (rowBreakPoint): fix width. change point to point + 1.
1260         Add a missing check.
1261
1262 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1263
1264         * MenuBackend.C:
1265         * lyxfunc.C: fix (at least partly) the problems
1266         with the Nav menu and headers inside branch insets
1267         reported by Kayvan
1268
1269 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1270
1271         * paragraph.C (getChar): add strong asserts
1272
1273         * lyxrow_funcs.C (lastPos): remove hideous hack
1274
1275         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1276         (fill): adjust to that (avoid an infinite loop)
1277
1278 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1281
1282 2003-10-23  André Pönitz  <poenitz@gmx.net>
1283
1284         * RowList_fwd.h: change list<> to vector<> to gain speed
1285         after suggestion from Alfredo
1286
1287 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1288
1289         * lyxtext.h: move the bidi stuff from here...
1290         * text.C: and here
1291         * text2.C: and here
1292         * Bidi.[Ch]: ... to here
1293
1294 2003-10-23  André Pönitz  <poenitz@gmx.net>
1295
1296         * lyxtext.h:
1297         * text.C (isLastRow, isFirstRow): new functions
1298
1299         * paragraph.h: new width cache member
1300
1301         * rowpainter.C: replace RowList::iterator with Row & where possible
1302
1303         * lyxfunc.C: replace several view()->text with a single call
1304
1305         * toc.C: fix 'unused' warning
1306
1307 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1310         when woring with stream::pos_type
1311         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1312
1313 2003-10-22  André Pönitz  <poenitz@gmx.net>
1314
1315         * lyxtext.h:
1316         * text.C: use Row & instead of RowList::iterator
1317
1318         * lyxrow.h: rename end() to endpos()
1319
1320         * rowpainter.C:
1321         * text.C:
1322         * text2.C: adjust
1323
1324 2003-10-22  Angus Leeming  <leeming@lyx.org>
1325
1326         * buffer.[Ch] (fully_loaded): new member function, returning true
1327         only when the file has been loaded fully.
1328         Used to prevent the premature generation of previews and by the
1329         citation inset to prevent computation of the natbib-style label.
1330
1331         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1332         templates are all set up.
1333
1334         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1335
1336 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1337
1338         * text.C: fixed an "oops" in the "is a bit silly"
1339         bug fix
1340
1341 2003-10-21  André Pönitz  <poenitz@gmx.net>
1342
1343         * FuncStatus.[Ch]: small stuff, whitespace
1344
1345         * lyxfont.[Ch]: operator<<() for debug reasons
1346
1347         * lyxfunc.C:
1348         * lyxrow_funcs.C:
1349         * lyxtext.h: whitespace, spelling
1350
1351         * paragraph.C: naming of variables
1352
1353         * text.C:
1354         * text2.C: small stuff
1355
1356
1357 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1358
1359         * text.C: (1) finish off the inset display() work;
1360         (2) fix the "is a bit silly" bug (accessing char
1361         past end of par).
1362
1363 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * text.C: re-introduce display() for insets, fixing the
1366         various bugs (stretch of line above, math inset
1367         positioning, ...)
1368
1369 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * text.C (rightMargin): remove spurious semicolon
1372
1373         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1374         1415)
1375
1376 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1377
1378         * text3.C: fix one crash due to wrong cursor def
1379
1380 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1381
1382         * vc-backend.C (scanMaster): make the regex static
1383
1384         * LaTeX.C (scanAuxFile): make the regexs static
1385
1386         * text3.C (doInsertInset, dispatch, dispatch):
1387         * text2.C (cursorUp, cursorDown):
1388         * text.C (selectNextWordToSpellcheck):
1389         * BufferView_pimpl.C (dispatch):
1390         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1391
1392 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * lyxsocket.C: include <cerrno>
1395
1396 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1397
1398         * lyxfunc.C (dispatch): remove textcache stuff
1399
1400         * bufferlist.C (release): remove textcache stuff
1401         (closeAll): ditto
1402
1403         * TextCache.C: delete file
1404         * TextCache.h: delete file
1405
1406         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1407
1408         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1409         delete of the bv_->text.
1410         (resizeCurrentBuffer): remove texcache stuff
1411         (workAreaResize): ditto
1412
1413 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1414
1415         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1416         action.
1417
1418 2003-10-16  André Pönitz  <poenitz@gmx.net>
1419
1420         * lyxrow.[Ch]:
1421         * paragraph.h:
1422         * rowpainter.C:
1423         * text.C:
1424         * text2.C:
1425         * text3.C: speed up by storing y positions per paragraph plus per-row
1426         offset instead of having a 'full' y position in the row.
1427
1428 2003-10-15  André Pönitz  <poenitz@gmx.net>
1429
1430         * iterators.[Ch]:
1431         * iterators.[Ch]:
1432         * undo.[Ch]: make undo aware of inner insets
1433
1434 2003-10-14  Angus Leeming  <leeming@lyx.org>
1435
1436         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1437         static member functions LyX::ref() and LyX::cref.
1438         (lastfiles): new accessor functions for the new lastfiles_ member var.
1439         (addLyXView, views_): add a new LyXView to the list of views_.
1440         (updateInset): loop over all LyXViews to call their own updateInset
1441         member function, returning a pointer to the Buffer owning the inset.
1442
1443         * BufferView_pimpl.C (loadLyXFile):
1444         * MenuBackend.C (expandLastfiles):
1445         * bufferlist.C (MenuWrite, QuitLyX):
1446         lastfiles is no longer a global variable.
1447         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1448
1449         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1450         static function. Access through LyX::cref().emergencyCleanup().
1451
1452 2003-10-14  André Pönitz  <poenitz@gmx.net>
1453
1454         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1455
1456         * undo.[Ch]: restoring part of 'undo in insets'
1457
1458         * Makefile.am:
1459         * undo_funcs.[Ch]: merge with undo.[Ch]
1460
1461         * tabular.C: small cleansing stuff
1462
1463 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * paragraph_funcs.C (readParToken): report unknown insets as error
1466         boxes. Use the outer paragraph as location (also for unknown
1467         tokens).
1468
1469         * factory.C (readInset): do not abort on reading an unknown inset.
1470         Eat it and return 0.
1471
1472 2003-10-13  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1475
1476         * lyxrc.C: displayTranslator is now a function,
1477         declared in GraphicsTypes.h.
1478
1479 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1480
1481         * format.C: new placeholder $$a to pass the socket address.
1482
1483         * bufferlist.[Ch]: new function getBufferFromTmp.
1484
1485         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1486           files in the temporary dir.
1487
1488 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1489
1490         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1491
1492         * Makefile.am: add lyxsocket.[Ch].
1493
1494         * lyx_main.C (error_handler): handle SIGPIPE.
1495
1496 2003-10-13  André Pönitz  <poenitz@gmx.net>
1497
1498         * BufferView_pimpl.C:
1499         * lyxtext.h:
1500         * text.C:
1501         * text2.C:
1502         * text3.C:
1503         * undo_funcs.[Ch]: use paroffset_type instead of
1504           ParagraphList::iterators to prevent multiple conversion
1505           (and get a more robust interface)
1506
1507 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1510         * lyxtext.h: ditto
1511         * text3.C (dispatch): ditto
1512
1513 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1514
1515         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1516         move the onlyfile, use onlyfile instead of foundfile in a couple
1517         of places.
1518
1519         * DepTable.C (update): flush the error stream a bit more
1520
1521 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1522
1523         * lyxserver.C (callback): adjust
1524
1525         * lyxfunc.C (getStatus): add a missing brace in commented code
1526         (ensureBufferClean): reindent
1527         (dispatch): delete version taking a string
1528
1529 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * LaTeX.C (deplog): move found file handlig from here...
1532         (handleFoundFile): .. to new function here.
1533         (deplog): make sure to discover several files mentioned on the
1534         same log line.
1535
1536 2003-10-10  André Pönitz  <poenitz@gmx.net>
1537
1538         * lyxfunc.C:
1539         * lyxtext.h:
1540         * tabular.C:
1541         * text.C:
1542         * text2.C:
1543         * text3.C: fix some of the tabular crashes
1544
1545 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1546
1547         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1548
1549         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1550
1551 2003-10-09  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1554
1555         * BufferView.C:
1556         * BufferView_pimpl.C:
1557         * bufferview_funcs.C:
1558         * lyx_cb.C:
1559         * lyxcursor.C:
1560         * lyxfind.C:
1561         * lyxfunc.C:
1562         * lyxtext.h:
1563         * text.C:
1564         * text2.C:
1565         * text3.C:
1566         * text_funcs.[Ch]:
1567         * textcursor.[Ch]:
1568         * undo_funcs.C: adjust
1569
1570 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * text2.C (incrementItemDepth): new function, use a backtracking
1573         algorithm to discover the correct item depth.
1574         (resetEnumCounterIfNeeded): new function, use a backtracking
1575         algorithm to discover if counter reset is needed.
1576         (setCounter): use them. Simplify a bit. Add different labels for
1577         different item depths for itemize.
1578
1579         * paragraph.C (Paragraph): remove initialization of enumdepth
1580         (operator=): ditto
1581
1582         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1583         enumerate and itemize. Change the type of itemdepth to signed char.
1584
1585 2003-10-08  André Pönitz  <poenitz@gmx.net>
1586
1587         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1588           thing assignable.
1589         * text.C:
1590         * text2.C: adjust
1591
1592         * tabular.[Ch]: fix crash after 'row-insert'
1593
1594 2003-10-08  Angus Leeming  <leeming@lyx.org>
1595
1596         Fix doxygen warnings.
1597
1598         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1599         Remove CutAndPaste:: prefix from header file declaration.
1600
1601         * LColor.h (fill): remove LColor:: prefix from declaration.
1602
1603         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1604         use lyx::depth_type rather than Paragraph::depth_type so that
1605         header file and .C file match.
1606
1607         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1608
1609         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1610         * aspell.C: \file aspell_local.C -> \file aspell.C
1611         * gettext.C: \file gettext.C -> \file src/gettext.C
1612         * gettext.h: \file gettext.h -> \file src/gettext.h
1613         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1614         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1615         * text.C: \file text.C -> \file src/text.C
1616
1617         * toc.C: move comment so that doxygen is not confused.
1618
1619 2003-10-07  Angus Leeming  <leeming@lyx.org>
1620
1621         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1622
1623 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1624
1625         * aspell.C:
1626         * aspell_local.h: add forgotten std::string's.
1627
1628 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1629
1630         * LaTeXFeatures.C:
1631         * LyXAction.C:
1632         * factory.C:
1633         * lfuns.h:
1634         * lyxfunc.C:
1635         * text3.C: The Box patch. Fancybox support, minipage, parbox
1636
1637 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1638
1639         * CutAndPaste.h:
1640         * DepTable.h:
1641         * FloatList.h:
1642         * LaTeXFeatures.h:
1643         * ParagraphParameters.h:
1644         * TextCache.h:
1645         * Thesaurus.h:
1646         * bufferlist.h:
1647         * exporter.h:
1648         * importer.h:
1649         * lastfiles.h:
1650         * lyxfind.h:
1651         * lyxfont.h:
1652         * lyxlex.h:
1653         * lyxtextclasslist.h:
1654         * messages.h:
1655         * paragraph.h:
1656         * paragraph_pimpl.C:
1657         * textcursor.h: add <string> and other small fixes to make Lars'
1658         std::string patch compile with STLport.
1659
1660 2003-10-06  Angus Leeming  <leeming@lyx.org>
1661
1662         * LColor.h: Add missing #include <string>.
1663
1664 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * All most all file in all subdirs: Make <string> be the prefered
1667         way of getting to std::string, add using declarations.
1668
1669 2003-10-06  André Pönitz  <poenitz@gmx.net>
1670
1671         * metricsinfo.C: initialize LyXFont before changing attribute.
1672         (fixes the 'math in \emph is upright' bug)
1673
1674 2003-10-06  André Pönitz  <poenitz@gmx.net>
1675
1676         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1677
1678 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1679
1680         * graph.C:
1681         * paragraph_pimpl.C: Small fixes to build using STLport
1682
1683 2003-10-02  André Pönitz  <poenitz@gmx.net>
1684
1685         * lyxfunc.C:
1686         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1687
1688 2003-10-01  André Pönitz  <poenitz@gmx.net>
1689
1690         * factory.C: assert early
1691
1692 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * lyx_main.C: remove the global debug object
1695
1696         * debug.h: adjust for new debugstream
1697
1698         * debug.C: adjust for new debugstream and keep the global debug
1699         object here.
1700
1701 2003-09-22  Angus Leeming  <leeming@lyx.org>
1702
1703         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1704         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1705         an incomplete class LyXFont.
1706
1707 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1708
1709         * factory.C: bug fix in branches
1710
1711 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * lyxfunc.C (processKeySym): adjust
1714         (dispatch): adjust
1715         (dispatch): change arg name from ev to func, adjust
1716         (sendDispatchMessage): ditto
1717
1718         * lyx_main.C (defaultKeyBindings): adjust keybindings
1719         (deadKeyBindings): ditto
1720
1721         * kbsequence.C (addkey): return a FuncRequest
1722
1723         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1724
1725         * kbmap.C (bind): take a FuncRequest as arg, adjust
1726         (read): adjust
1727         (lookup): adjust
1728         (defkey): change to take a FuncRequest as arg, adjust
1729         (findbinding): take a FuncRequest as arg, adjust.
1730
1731         * funcrequest.h (operator=): added
1732
1733         * funcrequest.C (FuncRequest): default kb_action changed from
1734         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1735
1736         * buffer.C (dispatch): simplify
1737         (dispatch): adjust to take a FuncRequest as arg, adjust
1738
1739         * boost.C (assertion_failed): change assertion message slightly
1740
1741         * ToolbarBackend.C (read): simplify
1742
1743         * MenuBackend.C (binding): adjust call to findbinding, add a
1744         message if no binding is found.
1745         (read): simplify
1746         (expandToc): correct by adding a empty FuncRequest
1747
1748         * LyXAction.C: include <boost/assert.hpp>
1749         (isPseudoAction): delete function
1750         (LookupFunc): change name to...
1751         (lookupFunc): this. change return type to FuncRequest.
1752         (getActionName): take kb_action as arg, simplify
1753         (funcHasFlag): add an assert, simplify.
1754
1755 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1756
1757         * toc.C (action): return a FuncRequest, simplify
1758
1759         * lyxfunc.C (processKeySym): adjust
1760         (getStatus): delete version that takes an int.
1761         (getStatus): adjust
1762         (dispatch): delete version that takes action as int
1763         (dispatch): adjust
1764         (sendDispatchMessage): simplify and adjust
1765
1766         * funcrequest.C (getArg): take unsigned int as arg
1767
1768         * ToolbarBackend.C (read): adjust
1769         (add): delete version that takes func as a string.
1770         (getIton): take a FuncRequest as arg
1771
1772         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1773         action.
1774
1775         * MenuBackend.C (MenuItem): add a new construct that only takes a
1776         Kind, simplify the constructor use for submenus.
1777         (add): adjust
1778         (expandLastfiles): adjust
1779         (expandDocuments): adjust
1780         (expandFormats): adjust
1781         (expandFloatListInsert): adjust
1782         (expandFloatInsert): adjust
1783         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1784
1785         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1786         Remove class variables lyx_pseudo_map and lyx_arg_map
1787
1788         * LyXAction.C (searchActionArg): delete function
1789         (getPseudoAction): delete function
1790         (retrieveActionArg): delete function
1791         (LookupFunc): make it return kb_action, simplify.
1792         (getActionName): simplify
1793
1794         * factory.C (createInset): fix new bug
1795
1796 2003-09-19  Angus Leeming  <leeming@lyx.org>
1797
1798         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1799         masterFilename_ parameter in the include inset.
1800
1801         * factory.C (createInset): changes due to the changes to InsetInclude.
1802
1803 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1804
1805         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1806
1807 2003-09-18  Angus Leeming  <leeming@lyx.org>
1808
1809         * buffer.C:
1810         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1811         Inset::fillWithBibKeys.
1812         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1813
1814 2003-09-18  Angus Leeming  <leeming@lyx.org>
1815
1816         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1817         variables.
1818         (ctor): pass and store a 'Buffer const &'
1819         (buffer): new member function.
1820
1821         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1822         '*this' to the LaTeXFeatures ctor.
1823
1824 2003-09-18  Angus Leeming  <leeming@lyx.org>
1825
1826         * LColor.h:
1827         * lyxfont.C:
1828         * lyxfont.h:
1829         * lyxtext.h:
1830         * text.C: rename EnumLColor as LColor_color.
1831
1832 2003-09-18  Angus Leeming  <leeming@lyx.org>
1833
1834         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1835         remove #include "insets/insetbase.h" from cursor.h.
1836
1837 2003-09-18  Angus Leeming  <leeming@lyx.org>
1838
1839         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1840         InsetOld_code to remove #include "inset.h".
1841
1842         * iterators.C: add #include "insets/inset.h"
1843
1844 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1845
1846         * BufferView.C: remove more locking stuff that apparently doesn't
1847         do anything sensible.
1848
1849 2003-09-16  André Pönitz  <poenitz@gmx.net>
1850
1851         * paragraph.[Ch]:
1852         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1853           performance boost.
1854
1855 2003-09-16  Angus Leeming  <leeming@lyx.org>
1856
1857         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1858
1859         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1860         arg/return type.
1861
1862         * paragraph.h: remove #include "lyxfont.h". Forward declare
1863         LyXFont_size.
1864
1865 2003-09-16  Angus Leeming  <leeming@lyx.org>
1866
1867         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1868         of support/textutils.h.
1869         (isWord): move the contents of support/textutils.h's IsWordChar here.
1870
1871         * buffer.C:
1872         * lyxfind.C:
1873         * rowpainter.C:
1874         * text.C:
1875         * text2.C: add #include "paragraph.h".
1876
1877         * rowpainter.C:
1878         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1879
1880 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * main.C:
1883         * lyx_main.C:
1884         * lyx_cb.C:
1885         * buffer.C:
1886         * LaTeX.C: use namespace alias for lyx::support::os
1887
1888 2003-09-16  Angus Leeming  <leeming@lyx.org>
1889
1890         * bufferparams.C:
1891         * bufferview_funcs.C:
1892         * factory.C:
1893         * lyxfunc.C:
1894         * paragraph_pimpl.C:
1895         * rowpainter.C:
1896         * text.C: add #include "LColor.h".
1897
1898 2003-09-16  Angus Leeming  <leeming@lyx.org>
1899
1900         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1901         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1902         return LyXFont &.
1903         Store the FontBits::color variable as an int rather than as an
1904         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1905         file.
1906
1907         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1908         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1909         string calls together.
1910
1911         * lyxrc.C: add #include "LColor.h".
1912
1913 2003-09-15  Angus Leeming  <leeming@lyx.org>
1914
1915         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1916         a cow_ptr.
1917
1918 2003-09-15  Angus Leeming  <leeming@lyx.org>
1919
1920         * LColor.h: add an EnumLColor wrapper for LColor::color.
1921
1922         * lyxfont.[Ch] (color, setColor, realColor):
1923         * lyxtext.h, text.C (backgroundColor):
1924         pass EnumLColor args to/from the functions, rather than LColor::color
1925         ones.
1926
1927         * lyxfont.h:
1928         * lyxtext.h: forward declare EnumLColor.
1929
1930         * lyx_main.C: add #include "LColor.h".
1931
1932 2003-09-15  Angus Leeming  <leeming@lyx.org>
1933
1934         * .cvsignore: add lyx-gtk.
1935
1936 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * Chktex.C
1939         * LaTeX.C
1940         * LaTeXFeatures.C
1941         * ParagraphParameters.C
1942         * Spacing.C
1943         * buffer.C
1944         * bufferparams.C
1945         * bufferview_funcs.C
1946         * chset.C
1947         * counters.C
1948         * funcrequest.C
1949         * lyxfont.C
1950         * lyxgluelength.C
1951         * lyxlength.C
1952         * paragraph.C
1953         * paragraph_funcs.C
1954         * text3.C
1955         * vc-backend.C: remove usage of STRCONV
1956
1957 2003-09-15  Angus Leeming  <leeming@lyx.org>
1958
1959         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1960         explicitly define the color passed to the painter.
1961
1962 2003-09-15  Angus Leeming  <leeming@lyx.org>
1963
1964         * bufferparams.C (BufferParams): reorder member initializers to avoid
1965         compiler warning.
1966
1967 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1968
1969         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1970         * text.C (updateRowPositions): remove an unusual nop
1971
1972 2003-09-12  André Pönitz  <poenitz@gmx.net>
1973
1974         * BufferView_pimpl.C:
1975         * Bullet.C:
1976         * layout.h:
1977         * lyxfunc.C:
1978         * lyxlayout.[Ch]:
1979         * lyxtextclass.C:
1980         * rowpainter.C:
1981         * text.C:
1982         * text2.C:
1983         * Counters.[Ch]: finish the 'automatic counters' job
1984
1985 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1986
1987         * aspell.C: include <boost/assert.cpp> (compile fix)
1988
1989 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1990
1991         * boost.C (assertion_failed): use lyx::support::abort instead of
1992         assert.
1993
1994 2003-09-10  Angus Leeming  <leeming@lyx.org>
1995
1996         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1997         with their _fwd progeny.
1998
1999 2003-09-09  Angus Leeming  <leeming@lyx.org>
2000
2001         134 files throughtout the source tree: replace 'using namespace abc;'
2002         directives with the appropriate 'using abc::xyz;' declarations.
2003
2004 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2005
2006         * boost.C (emergencyCleanup): moved here from LAssert.c
2007         (assertion_failed): new function, called by BOOST_ASSERT
2008
2009         * several files: change Assert to BOOST_ASSERT
2010
2011 2003-09-09  Angus Leeming  <leeming@lyx.org>
2012
2013         * buffer.[Ch]: Add an Impl class and move Buffer's member
2014         variables into it. As a result move several header files out of
2015         buffer.h.
2016
2017         Add header files to lots of .C files all over the tree as a result.
2018
2019 2003-09-09  Angus Leeming  <leeming@lyx.org>
2020
2021         * buffer.[Ch]: make Buffer's member variables private. Add
2022         accessor functions.
2023
2024         Lots of changes all over the tree as a result.
2025
2026 2003-09-08  Angus Leeming  <leeming@lyx.org>
2027
2028         * graph.C: #include <config.h>.
2029
2030 2003-09-08  Angus Leeming  <leeming@lyx.org>
2031
2032         * BranchList.C:
2033         * BufferView.C:
2034         * BufferView_pimpl.C:
2035         * CutAndPaste.C:
2036         * DepTable.C:
2037         * LaTeX.C:
2038         * LaTeXFeatures.C:
2039         * LyXAction.C:
2040         * MenuBackend.C:
2041         * TextCache.C:
2042         * aspell.C:
2043         * buffer.C:
2044         * bufferlist.C:
2045         * changes.C:
2046         * chset.C:
2047         * converter.C:
2048         * counters.C:
2049         * debug.C:
2050         * graph.C:
2051         * ispell.C:
2052         * lyx_cb.C:
2053         * lyxfind.C:
2054         * lyxfunc.C:
2055         * lyxlex_pimpl.C:
2056         * lyxrc.C:
2057         * lyxrow.C:
2058         * paragraph.C:
2059         * rowpainter.C:
2060         * texrow.C:
2061         * text.C:
2062         * text2.C:
2063         * toc.C: remove redundant using directives.
2064
2065 2003-09-07  Angus Leeming  <leeming@lyx.org>
2066
2067         * LaTeXFeatures.h: remove #include "support/types.h".
2068         * ToolbarBackend.h: remove #include <algorithm>.
2069         * changes.h: remove #include <ctime>.
2070         * debug.h: remove #include <iosfwd>.
2071         * graph.h: remove #include "support/std_string.h".
2072         * lyx_main.h: remove #include <csignal>.
2073         * lyxlex_pimpl.h: remove #include <fstream>.
2074         * sgml.h: remove #include <algorithm>, <utility>.
2075         * toc.h: remove #include "support/std_ostream.h".
2076         Add #include <iosfwd>.
2077
2078 2003-09-07  Angus Leeming  <leeming@lyx.org>
2079
2080         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2081
2082         * converter.h: forward declare LatexRunParams.
2083         * encoding.h: remove #include "lyxrc.h".
2084         * lyxtext.h: remove #include "LColor.h".
2085         * lyxtextclass.h: remove #include "support/types.h".
2086         * trans.h: remove #include "tex-accent.h".
2087         * trans_mgr.h: remove #include "tex-accent.h".
2088         * insets/inset.h: remove #include "support/types.h", <vector>.
2089         * insets/insetcollapsable.h: remove #include "LColor.h".
2090         * insets/insetinclude.h: remove #include "dimension.h".
2091         * insets/insetlatexaccent.h: remove #include "dimension.h".
2092         * insets/insetoptarg.h:: remove #include "insettext.h".
2093         * insets/insettext.h: remove #include "dimension.h",
2094         <boost/shared_ptr.hpp>
2095
2096         * insets/renderers.h: add #include "dimension.h".
2097         * insets/updatableinset.h: add #include "support/types.h".
2098
2099         * many .C files: Associated changes.
2100
2101 2003-09-06  Angus Leeming  <leeming@lyx.org>
2102
2103         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2104         one, inside testInvariant.
2105
2106         * PrinterParams.C: new file.
2107         * PrinterParams.[Ch]: move the function bodies out of line.
2108
2109 2003-09-06  Angus Leeming  <leeming@lyx.org>
2110
2111         * ParagraphParameters.h: forward declare ParameterStruct rather than
2112         including its header file.
2113         (depth): moved out-of-line.
2114
2115 2003-09-06  Angus Leeming  <leeming@lyx.org>
2116
2117         * BufferView_pimpl.h:
2118         * kbmap.h:
2119         * kbsequence.h:
2120         * lyxfunc.h: forward declare LyXKeySym rather than
2121         #include "frontends/LyXKeySym.h".
2122
2123         * BufferView_pimpl.C:
2124         * kbmap.C:
2125         * kbsequence.C:
2126         * lyxfunc.C: associated changes.
2127
2128 2003-09-06  Angus Leeming  <leeming@lyx.org>
2129
2130         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2131         As a result, can remove the #include "insets/inset.h" from BufferView.h
2132
2133 2003-09-06  Angus Leeming  <leeming@lyx.org>
2134
2135         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2136         As a result, can remove the #include "insets/inset.h" from BufferView.h
2137
2138 2003-09-06  Angus Leeming  <leeming@lyx.org>
2139
2140         * buffer_funcs.C:
2141         * buffer.h:
2142         * bufferlist.C:
2143         * BufferView.C:
2144         * bufferview_funcs.C:
2145         * BufferView_pimpl.C:
2146         * CutAndPaste.C:
2147         * lyx_cb.C:
2148         * lyxfunc.C:
2149         * paragraph.h:
2150         * ParagraphParameters.C:
2151         * tabular.C:
2152         * text3.C:
2153         * toc.C:
2154         * undo_funcs.C:
2155         * frontends/controllers/ControlDocument.C:
2156         * insets/insetcaption.C: rearrange the #includes into some sort of
2157         coherent order.
2158
2159         * buffer.h: remove #includes ErrorList.h, undo.h
2160
2161 2003-09-06  Angus Leeming  <leeming@lyx.org>
2162
2163         * support/types.h: add a 'depth_type' typedef, used to store the
2164         nesting depth of a paragraph.
2165
2166         * paragraph.h:
2167         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2168         defining explicitly.
2169
2170         * buffer.h:
2171         * paragraph_funcs.h:
2172         * ParagraphParameters.h:
2173         * sgml.h: use lyx::depth_type rather than Paragraph or
2174         ParameterStruct's depth_type.
2175
2176         * buffer.h
2177         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2178
2179         * BufferView.C:
2180         * BufferView_pimpl.C:
2181         * CutAndPaste.C:
2182         * ParagraphParameters.C:
2183         * buffer_funcs.C:
2184         * bufferlist.C:
2185         * bufferview_funcs.C:
2186         * lyx_cb.C:
2187         * lyxfunc.C:
2188         * tabular.C:
2189         * text3.C:
2190         * toc.C:
2191         * undo_funcs.C:
2192         * frontends/LyXView.C:
2193         * frontends/controllers/ControlDocument.C:
2194         * frontends/controllers/ControlErrorList.C:
2195         * insets/insetbibitem.C:
2196         * insets/insetbranch.C:
2197         * insets/insetcaption.C:
2198         * insets/insetcollapsable.C:
2199         * insets/insetenv.C:
2200         * insets/insetert.C:
2201         * insets/insetfloat.C:
2202         * insets/insetfoot.C:
2203         * insets/insetfootlike.C:
2204         * insets/insetnewline.C:
2205         * insets/insetquotes.C:
2206         * insets/insettabular.C:
2207         * insets/insettext.C:
2208         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2209
2210         * frontends/controllers/ControlChanges.C: #include "changes.h".
2211
2212 2003-09-06  Angus Leeming  <leeming@lyx.org>
2213
2214         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2215         than #including paragraph.h.
2216
2217         * ParagraphList.h:
2218         * RowList.h: deleted. Superfluous.
2219
2220         * CutAndPaste.h:
2221         * iterators.h:
2222         * lyxcursor.h:
2223         * lyxtext.h:
2224         * text_funcs.h:
2225         * undo.h:
2226         * undo_funcs.h:
2227         * insets/inset.h:
2228         * insets/insettext.h: use ParagraphList_fwd.h rather than
2229         ParagraphList.h.
2230
2231         * paragraph.h: don't forward declare ParagraphList.
2232
2233         * buffer.h:
2234         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2235         rather than ParagraphList.h. paragraph.h is still needed for the
2236         Paragraph::depth_type parameters.
2237
2238         * textcursor.h: enable it to compile stand-alone in light of the
2239         above changes.
2240
2241         * bufferview_funcs.C:
2242         * iterators.C:
2243         * lyxfunc.C:
2244         * lyxrow_funcs.C:
2245         * paragraph.C:
2246         * rowpainter.C:
2247         * text.C:
2248         * text2.C:
2249         * text3.C:
2250         * text_funcs.C:
2251         * textcursor.C:
2252         * undo.C:
2253         * frontends/controllers/ControlParagraph.C:
2254         * frontends/controllers/ControlTabular.C:
2255         * insets/insetmarginal.C:
2256         * insets/insetminipage.C:
2257         * insets/insetnote.C:
2258         * insets/insetoptarg.C: add header files needed to compile again.
2259
2260 2003-09-06  Angus Leeming  <leeming@lyx.org>
2261
2262         * RowList_fwd.h: new file, forward-declaring Row rather than
2263         #including lyxrow.h.
2264
2265         * lyxrow_funcs.h:
2266         * lyxtext.h:
2267         * paragraph.h:
2268         * insets/insettext.h: use it instead of RowList.h
2269
2270         * bufferview_funcs.C:
2271         * lyxfunc.C:
2272         * lyxrow_funcs.C:
2273         * paragraph.C:
2274         * rowpainter.C:
2275         * text.C:
2276         * text2.C:
2277         * text3.C: #include "RowList.h".
2278
2279 2003-09-05  Angus Leeming  <leeming@lyx.org>
2280
2281         * factory.C (createInset):
2282         * vspace.C (c-tor): replace sscanf call with an istringstream.
2283         * ispell.C: re-add missing HP/UX headers.
2284         * lyxserver.C: re-add missing  os2 headers.
2285
2286 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2287
2288         * BranchList.C:
2289         * graph.C:
2290         * ispell.C:
2291         * lastfiles.C:
2292         * lyx_cb.C:
2293         * lyxserver.C:
2294         * texrow.C:
2295         * text3.C: re-add missing system headers, needed for 2.95.2.
2296
2297 2003-09-05  Angus Leeming  <leeming@lyx.org>
2298
2299         Changes most place everywhere due to the removal of using directives
2300         from support/std_sstream.h.
2301
2302 2003-09-05  Angus Leeming  <leeming@lyx.org>
2303
2304         Replace LString.h with support/std_string.h,
2305         Lsstream.h with support/std_sstream.h,
2306         support/LIstream.h with support/std_istream.h,
2307         support/LOstream.h with support/std_ostream.h.
2308
2309         Changes resulting throughout the tree.
2310
2311 2003-09-05  Angus Leeming  <leeming@lyx.org>
2312
2313         * sgml.h: ensure that the header file can be compiled stand-alone.
2314         * *.C: strip out redundant #includes. (320 in total.)
2315
2316 2003-09-04  Angus Leeming  <leeming@lyx.org>
2317
2318         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2319         here (from getPackages).
2320
2321         * debug.[Ch]: add a new EXTERNAL tag.
2322
2323 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2324
2325         * text2.C (cursorEnd): simplify
2326         (setCursor): adjust
2327         (getColumnNearX): adjust
2328
2329         * text.C (computeBidiTables): adjust
2330         (fill): adjust
2331
2332         * rowpainter.C (paintChars): adjust
2333         (paintSelection): adjust
2334         (paintChangeBar): adjust
2335         (paintText): adjust
2336
2337         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2338         lastPos instead.
2339         (numberOfSeparators): adjust
2340
2341 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * LyXAction.C:
2344         * box.[Ch]:
2345         * lfuns.h:
2346         * lyxfunc.C:
2347         * text3.C: Restricts the mouse click functionality
2348         of insets like bibtex, include, toc and floatlist to the visible
2349         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2350         up the dialogs. Cursor has to be in front of the inset (i.e.
2351         start of row) for this to function.
2352
2353 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2354
2355         * bufferview_funcs.C (currentState): output row information
2356
2357 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2358
2359         * bufferview_funcs.C (currentState): output paragraph position
2360
2361 2003-09-04  Angus Leeming  <leeming@lyx.org>
2362
2363         * FloatList.h: move out #include "Floating.h".
2364         * LaTeX.h: move out #include "DepTable.h".
2365         * LyXAction.h: move out #include "funcrequest.h".
2366         * buffer.h: move out #include "author.h", "iterators.h".
2367         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2368         * lyx_main.h: move out #include "errorlist.h".
2369         * lyxfunc.h: move out #include "FuncStatus.h".
2370         * lyxtext: move out #include "lyxcursor.h".
2371         * paragraph_pimpl.h: move out #include "counters.h".
2372
2373 2003-09-03  Angus Leeming  <leeming@lyx.org>
2374
2375         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2376         preamble_snippets list, enabling us to add snippets to the preamble
2377         only if the snippet was not there already.
2378
2379 2003-09-04  Angus Leeming  <leeming@lyx.org>
2380
2381         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2382
2383 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2386         update
2387
2388 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * BranchList.C: point fix, earlier forgotten
2391
2392 2003-09-02  Angus Leeming  <leeming@lyx.org>
2393
2394         * box.C (contains): renamed from 'contained' after a fantastic
2395         amount of hot air.
2396
2397 2003-09-02  John Levon  <levon@movementarian.org>
2398
2399         * BufferView.C:
2400         * lyxcursor.h:
2401         * lyxcursor.C:
2402         * lyxfunc.C:
2403         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2404
2405 2003-09-02  John Levon  <levon@movementarian.org>
2406
2407         * text2.C: simplification of cursorEnd(), including partial
2408         fix for bug 1376
2409
2410 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2411
2412         * buffer.C (readFile): add a space
2413
2414 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2415
2416         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2417
2418 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * buffer.C (readFile): new function, take a filename and a
2421         ParagraphList::iterator
2422         (readFile): adjust
2423         (readFile): adjust, make it private. don't use setStream, make
2424         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2425         always contain the filename.
2426
2427         * BufferView.C (insertLyXFile): simplify and make it work for
2428         gzipped files.
2429
2430 2003-08-30  John Levon  <levon@movementarian.org>
2431
2432         * Makefile.am: fix dist (from Kayvan)
2433
2434 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * most files: change to use const Buffer refs
2437
2438 2003-08-27  André Pönitz  <poenitz@gmx.net>
2439
2440         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2441         on top of ownerPar().
2442
2443 2003-08-27  John Levon  <levon@movementarian.org>
2444
2445         * funcrequest.C: properly initialise POD members
2446
2447 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * lyxtext.h (top_y): move top_y from here
2450         * text.C:
2451         * text2.C:
2452         * text3.C:
2453         * BufferView.[Ch]:
2454         * BufferView_pimpl.[Ch]: to here
2455         * frontends/screen.C:
2456         * insets/insettabular.C:
2457         * insets/insettext.C: adjust
2458         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2459
2460 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * BufferView.[Ch]:
2463         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2464
2465 2003-08-26  André Pönitz  <poenitz@gmx.net>
2466
2467         * paragraph_func.[Ch] (outerPar): new function
2468
2469         * paragraph.C:
2470         * paragraph_funcs.C:
2471         * paragraph_funcs.h:
2472         * paragraph_pimpl.C:
2473         * text2.C: remove Inset::par_owner
2474
2475 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2476
2477         * lyxrow_funcs.C:
2478         * lyxtext.h:
2479         * text.C:
2480         * text2.C: eliminates the needFullRow/display() stuff
2481         altogether, putting the logic in metrics/draw in the insets.
2482
2483 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2484
2485         * text2.C (redoParagraphInternal, redoParagraphs):
2486         * text.C (redoParagraph): add a call to updateRowPositions at the
2487         end of each 'metrics-like' call. Remove all others.
2488         (getRow): remove the 'y-computing' version.
2489         (getRowNearY): do not compute nor return the real y. Solve the
2490         'y < 0' problem and simplify.
2491
2492 2003-08-22  Angus Leeming  <leeming@lyx.org>
2493
2494         * *.[Ch]: clean-up of licence and author blurbs.
2495         Also move config.h out of a few .h files and into a few .C files.
2496
2497 2003-08-22  André Pönitz  <poenitz@gmx.net>
2498
2499         * lyxrow.[Ch]: add x_ and *fill_ members
2500
2501         * lyxtext.h:
2502         * text.C:
2503         * rowpainter.C:
2504         * text2.C: adjust/remove prepareToPrint() calls
2505
2506 2003-08-22  André Pönitz  <poenitz@gmx.net>
2507
2508         * lyxrow.[Ch]: add  end_ member
2509
2510         * lyxrow_funcs.C: use LyXRow::end_
2511
2512         * lyxtext.h (singleWidth): add LyXFont parameter
2513
2514         * rowpainter.C:
2515         * text2.C: adjust LyXText::singleWidth() calls
2516
2517         * text.C (redoParagraph): simplify row breaking logic
2518
2519
2520 2003-08-19  André Pönitz  <poenitz@gmx.net>
2521
2522         * funcrequest.C: initialize button_ member
2523
2524         * text3.C:
2525         * rowpainter.[Ch]: interface consolidation
2526
2527 2003-08-18  André Pönitz  <poenitz@gmx.net>
2528
2529         * BufferView.C:
2530         * BufferView_pimpl.C:
2531         * lyxfind.C:
2532         * paragraph_funcs.C:
2533         * rowpainter.C:
2534         * text3.C: remove LyXScreen::draw() and fitCursor calls
2535
2536         * BranchList.h: remove spurious semicolons
2537
2538         * MenuBackend.C: fix branchlist related crash
2539
2540 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2541
2542         * BranchList.[Ch]:
2543         * InsetList.[Ch]:
2544         * LColor.[Ch]:
2545         * LyXAction.C:
2546         * Makefile.am:
2547         * MenuBackend.[Ch]:
2548         * bufferparams.[Ch]:
2549         * factory.C:
2550         * lfuns.h:
2551         * lyxfunc.C:
2552         * text3.C: implements the 'branch inset'
2553         idea. This allows the output of various versions of a document
2554         from a single source version, selectively outputing or suppressing
2555         output of parts of the text.
2556         This implementation contains a 'branch list editor' in a separate
2557         tab of the document settings dialog. Branches are user definable
2558         and have a "display colour" to distinguish them on-screen.
2559
2560         ColorHandler was somewhat cleaned up.
2561         (1) make possible a dynamically growing LColor list by allowing
2562         the graphic context cache to grow along (vector);
2563         (2) eliminate an IMHO unnecessary step in colour allocation.
2564
2565 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2566
2567         * BufferView_pimpl.C: compile fix
2568
2569 2003-08-15  André Pönitz  <poenitz@gmx.net>
2570
2571         * rowpainter.C: remove extra metrics calls
2572
2573         * lyxtext.h: merge the two constructors into a single one,
2574           pass reference to owner's par list
2575
2576         * BufferView_pimpl.C:
2577         * text.C:
2578         * text2.C: adjust
2579
2580 2003-08-15  André Pönitz  <poenitz@gmx.net>
2581
2582         * lyxrow_funcs.[Ch]:
2583         * lyxtext.h:
2584         * paragraph.h:
2585         * paragraph_funcs.C:
2586         * rowpainter.C:
2587         * text.C:
2588         * text2.C:
2589         * text3.C:
2590         * text_funcs.C: split LyXText::rowlist_ into individual
2591         Paragraph::rows_ chunks
2592
2593         * BufferView.[Ch]:
2594         * BufferView_pimpl.[Ch]:
2595         * lyxfind.C:
2596         * lyxtext.h:
2597         * text3.C: remove toggleSelection()
2598
2599 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2600
2601         * bufferlist.C: beautify two alerts (shorter text of buttons)
2602         * buffer.C: Remove redundant ' ' from message
2603         * tabular.h:
2604         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2605         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2606         rename VALIGN_CENTER to VALIGN_MIDDLE
2607
2608 2003-08-11  André Pönitz  <poenitz@gmx.net>
2609
2610         * lyxtext.h (getPar):
2611         * text.C: new function
2612
2613 2003-08-11  André Pönitz  <poenitz@gmx.net>
2614
2615         * Makefile.am:
2616         * tracer.[Ch]: remove unneeded files
2617
2618         * InsetList.[Ch]: remove resizeInsetsLyXText()
2619
2620         * lyxtext.h:
2621         * text.C:
2622         * text2.C:
2623         * text3.C: merge insertParagraphs() and appendParagraph()
2624         remove breakAgain(), update()
2625
2626         * BufferView_pimpl.[Ch]:
2627         * bufferview_funcs.[Ch]:
2628         * lyxfunc.C:
2629         * paragraph.[Ch]:
2630         * rowpainter.C:
2631         * tabular.C: adjust after text & InsetList changes.
2632
2633 2003-08-08  André Pönitz  <poenitz@gmx.net>
2634
2635         * text.C (insertChar, backspace): replace rowlist fiddling
2636         with rebreak of full par
2637
2638         * lyxtext.h:
2639         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2640         checkParagraph, updateInset): removed
2641
2642 2003-08-07  André Pönitz  <poenitz@gmx.net>
2643
2644         * paragraph.C:
2645         * text3.C: merge some LFUN handlers, remove dead code
2646
2647 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2650
2651 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * text2.C (DEPM): fix part of bug 1255 and 1256
2654
2655 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * BufferView_pimpl.C (workAreaDispatch): change to use
2658         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2659         that are no mouse related.
2660
2661 2003-08-05  André Pönitz  <poenitz@gmx.net>
2662
2663         * BufferView.[Ch]:
2664         * BufferView_pimpl.[Ch]:
2665         * bufferview_funcs.C:
2666         * text2.C:
2667         * text3.C: rip out "deep update"
2668
2669         * textcursor.[Ch] (last_sel_cursor): remove unused member
2670
2671 2003-08-04  André Pönitz  <poenitz@gmx.net>
2672
2673         * BufferView.[Ch]:
2674         * BufferView_pimpl.[Ch]:
2675         * ParagraphParameters.C:
2676         * bufferview_funcs.C:
2677         * lyx_cb.C:
2678         * lyxfind.C:
2679         * lyxfunc.C:
2680         * text.C:
2681         * text2.C:
2682         * text3.C: replace "complicated" BufferView::update(...) calls with
2683         simpler ones.
2684
2685         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2686
2687 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2688
2689         * Makefile.am (lyx_SOURCES): add paper.h
2690
2691 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2692
2693         * Makefile.am: move things around so that both lyx-qt and
2694         lyx-xforms can be built (according to --with-frontend). Then lyx
2695         is a symbolic link to lyx-[firstfrontend]
2696
2697 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2698
2699         * Always use std::endl with lyxerr
2700
2701 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2702
2703         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2704
2705 2003-08-01  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView.[Ch]:
2708         * BufferView_pimpl.[Ch]:
2709         * lyxfunc.C:
2710         * text3.C: merge BufferView::repaint() and BufferView::update()
2711
2712 2003-08-01  José Matos  <jamatos@lyx.org>
2713
2714         * buffer.[Ch]: file_format is no longer a buffer data element.
2715
2716 2003-08-01  André Pönitz  <poenitz@gmx.net>
2717
2718         * BufferView.C:
2719         * lyxtext.h:
2720         * text.C:
2721         * text2.C: make redoParagraph more independent of current cursor
2722
2723         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2724         * text.C:
2725         * text2.C: remove unneeded members
2726
2727 2003-07-30  André Pönitz  <poenitz@gmx.net>
2728
2729         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2730
2731         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2732           create a single function...
2733
2734         * paragraph_funcs.C (moveItem): ... here.
2735
2736         * text.C:
2737           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2738
2739 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2740
2741         * LColor.[Ch]: Add comment and greyedout logical colors.
2742
2743 2003-07-30  André Pönitz  <poenitz@gmx.net>
2744
2745         * tabular.C: don't use Assert too heavily. This crashes where it
2746           shouldn't
2747
2748 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2751         is disabled (bug 1232)
2752
2753 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2754
2755         * factory.C: limited 'arg' scope
2756
2757 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2758
2759         * factory.C: fixed Note submenu issues
2760
2761 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2762
2763         * factory.C: submenu for Note/Comment/Greyedout
2764
2765 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2766
2767         * lyx_main.C (LyX):
2768         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2769
2770 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2771
2772         * LaTeXFeatures.C:
2773         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2774         greyedout. Patch provided by Jürgen Spitzmüller.
2775
2776 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2777
2778         * kbmap.C (read): fix error message when reading bind files
2779
2780 2003-07-29  Angus Leeming  <leeming@lyx.org>
2781
2782         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2783         certainly does not do what it purports to do. I am doing it, and
2784         us, a favour by killing it.
2785
2786 2003-07-28  José Matos  <jamatos@lyx.org>
2787
2788         * buffer.C (readBody, do_writeFile):
2789         * paragraph.C(readParagraph): \end_document replaces \the_end.
2790
2791 2003-07-29  André Pönitz  <poenitz@gmx.net>
2792
2793         * BufferView.[Ch]:
2794         * BufferView_pimpl.[Ch]:
2795         * lyxfunc.C:
2796         * text2.C:
2797         * text3.C:
2798         * textcursor.[Ch]: remove toggleToggle & Co
2799
2800 2003-07-28  José Matos  <jamatos@fep.up.pt>
2801
2802         * buffer.C (readParagraph):
2803         * params_func (readParToken, readParagraph):
2804         * paragraph.C (write): \layout -> \begin_layout.
2805
2806 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2807
2808         * lyxlex_pimpl.C (setFile): clean up slightly.
2809
2810         * bufferparams.h: add compressed var
2811
2812         * buffer_funcs.C (readFile): adjust for LyXLex change
2813         (newFile): ditto + simplify
2814
2815         * buffer.C (writeFile): handle writing of compressed files
2816
2817         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2818         Check if the file is compressed and set a bufferparm if so.
2819
2820         * Makefile.am (lyx_LDADD): remove explicit -lz
2821
2822 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2823
2824         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2825         makeDocBookFile): put the real LyX version in the first line of
2826         the file
2827
2828         * version.h:
2829         * version.C.in: remove lyx_docversion
2830
2831         * tabular.C (write_attribute): add a template-based version to
2832         write enums properly
2833
2834 2003-07-28  André Pönitz  <poenitz@gmx.net>
2835
2836         * lyxtext.h:
2837         * text.C:
2838         * text2.C:
2839         * text3.C: use doubles again for x-coordinates. They are needed.
2840
2841 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * messages.C (getLocaleDir): use lyx_localedir()
2844
2845         * lyxlex_pimpl.C (setFile): compress stuff
2846
2847         * buffer.C (writeFile): add some compression stuff
2848         (do_writeFile): new func, dont call expliti close... will this
2849         breake anything?
2850
2851         * Makefile.am (lyx_LDADD): add -lz
2852
2853 2003-07-28  José Matos  <jamatos@fep.up.pt>
2854
2855         * buffer.C: increment file format.
2856         * paragraph_funcs (readParagraph, readParToken):
2857         * paragraph.C (readParagraph): add \end_layout.
2858
2859 2003-07-27  Angus Leeming  <leeming@lyx.org>
2860
2861         * Makefile.am: remove special casing for configure-time setting of
2862         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2863
2864         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2865         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2866
2867 2003-07-26  André Pönitz  <poenitz@gmx.net>
2868
2869         * paragraph_func.[Ch]:
2870         * paragraph.C (realizeFont): inline it whereever it is used
2871
2872         * rowpainter.C:
2873         * text.C:
2874         * text2.C:
2875         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2876
2877
2878 2003-07-26  André Pönitz  <poenitz@gmx.net>
2879
2880         *       lyxtext.h:
2881         * text.C:
2882         * text2.C: get rid of LyXText::need_break_row
2883
2884 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2885
2886         * toc.[Ch]: put namespace toc inside namespace lyx
2887
2888         * MenuBackend.C (expandToc2): adjust for lyx::toc
2889         (expandToc): ditto
2890
2891         * lyxfunc.C (dispatch): adjust for lyx::find
2892
2893         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2894         lyx::find instead. Reorganize a bit.
2895         (LyXReplace): rename to replace
2896         (LyXFind): rename to find
2897
2898         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2899         (dispatch): ditto
2900
2901 2003-07-26  André Pönitz  <poenitz@gmx.net>
2902
2903         * text.C (setHeightOfRow): restrict scope of temporary variable
2904
2905         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2906           code (never has been used?)
2907
2908 2003-07-27  Asger Alstrup  <alstrup@local>
2909
2910         * text.C (fill): Optimise algorithm to exploit that we can reuse
2911         the LyXFont for many characters.
2912         (setHeightOfRow): Same thing.
2913         (rowBreakPoint): Same thing.
2914
2915 2003-07-26  Asger Alstrup  <alstrup@local>
2916
2917         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2918
2919         * text.C (singleWidth): Spurious font copying in hot-spot
2920         singleWidth avoided. Reorder tests for arabic for efficiency.
2921
2922         * text.C (fill): handle empty paragraphs better.
2923
2924 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2925
2926         * ispell.C:
2927         * encoding.h: add includes
2928
2929         * lyxrc.C: remove reading of bind files
2930
2931         * lyx_main.C (init): setup bindings and menus only if we have a
2932         gui.
2933
2934         * kbmap.C (read): new method. Do the actual reading of bind
2935         files.
2936
2937         * converter.C (dvipdfm_options):
2938         * bufferparams.C:
2939         * lyxrc.C (read):
2940         (output): adapt PAPER_* enums.
2941
2942         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2943
2944         * bufferparams.h: remove paper-related enums from there
2945
2946         * paper.h: New file. A trivial header file to hold paper-related
2947         enums. It should later expand to contain many paper-related
2948         horrors access.
2949
2950         * lyxrc.C: declare extern displayTranslator
2951
2952 2003-07-27  José Matos  <jamatos@fep.up.pt>
2953
2954         * tabular.[Ch] (linuxdoc): add support for tables and figures
2955         (linuxdoc).
2956
2957 2003-07-27  José Matos  <jamatos@fep.up.pt>
2958
2959         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2960         consistency in both functions.
2961         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2962
2963 2003-07-26  Asger Alstrup  <alstrup@local>
2964
2965         * rowpainter.C (paintRows): Change algorithm to work directly on
2966         the insets rather than asking every character in the document
2967         whether its an inset.
2968
2969 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * buffer.C (openFileWrite): factorize some code
2972
2973 2003-07-26  Angus Leeming  <leeming@lyx.org>
2974
2975         * lyx_cb.C:
2976         * lyx_main.[Ch]: replace occurances of system_tempdir with
2977         os::getTmpDir().
2978
2979 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * rename Inset to InsetOld
2982
2983 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2984
2985         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2986         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2987         which I think is a bit clearer. EDIT is gone, since it was
2988         premature optimisation, and broken for mathed anyway.
2989         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2990         with cursor positioning in insets as well (math insets still do not
2991         work, but that's a different story anyway.) It mysteriously
2992         crashes sometimes with undo in the first paragraph, but I'm fairly
2993         confident that this is a compiler bug.
2994
2995 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * paragraph.C (Paragraph): adjust for new clone return type
2998         (operator==): ditto
2999         (copyIntoMinibuffer): ditto
3000
3001 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3002
3003         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3004         by not having a special case, and always doing a full rebreak of
3005         the document after undo.
3006
3007 2003-07-23  Angus Leeming  <leeming@lyx.org>
3008
3009         * factory.C (createInset): InsetExternal::setParams now takes a
3010         Buffer const * arg.
3011
3012 2003-07-23  Angus Leeming  <leeming@lyx.org>
3013
3014         * factory.C (createInset): changed interface to the external and
3015         graphics mailers' string2params functions.
3016
3017 2003-07-23  Angus Leeming  <leeming@lyx.org>
3018
3019         * factory.C (createInset): pass a
3020         Buffer const * parameter to InsetExternalMailer's string2params.
3021
3022 2003-07-22  John Levon  <levon@movementarian.org>
3023
3024         * Thesaurus.h: include the right aiksaurus header
3025
3026 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3027
3028         * MenuBackend.C (expand): check menu shortcuts unconditionally
3029
3030 2003-07-21  Angus Leeming  <leeming@lyx.org>
3031
3032         * factory.C (createInset): pass a
3033         buffer_path parameter to InsetGraphicsMailer's string2params.
3034
3035 2003-07-21  Angus Leeming  <leeming@lyx.org>
3036
3037         * BufferView_pimpl.C (buffer):
3038         * buffer.C (d-tor):
3039         * lyx_main.C (LyX):
3040         * lyxfunc.C (dispatch):
3041         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3042         rather than the grfx shortcut.
3043
3044 2003-07-21  André Pönitz  <poenitz@gmx.net>
3045
3046         * rowpainter.C: remove unused variables
3047
3048         * tabular_funcs.C:
3049         * tabular_funcs.h: move to tabular.C
3050         * Makefile.am: adjust
3051
3052         * tabular.[Ch]: basic optical cleaning
3053
3054         * author.h: pass references, not values
3055
3056 2003-07-18  André Pönitz  <poenitz@gmx.net>
3057
3058         * lyxtext.h:
3059         * metricsinfo.C:
3060         * metricsinfo.h:
3061         * rowpainter.C:
3062         * text.C:
3063         * text2.C:
3064         * text3.C: two-phase drawing for InsetText and InsetTabular
3065         some float -> int changes.
3066
3067 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * lyx_main.C: fix the fix
3070
3071 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * lyx_main.C: fix a crash in batch mode if no files specified
3074         * converter.C: ws
3075
3076 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3077
3078         * format.[Ch] (papersize): moved to BufferParams
3079         * converter.[Ch] (dvips_options): moved to BufferParams
3080         (dvipdfm_options): moved to anon namespace
3081         * bufferparams.[Ch]: added above functions.
3082
3083 2003-07-17  André Pönitz  <poenitz@gmx.net>
3084
3085         * lyxtext.h:
3086         * rowpainter.C:
3087         * text2.C: don't call inset->update() anymore
3088
3089         * metricsinfo.[Ch]: add convenience constructor
3090
3091 2003-07-16  André Pönitz  <poenitz@gmx.net>
3092
3093         * lyxcursor.[Ch]:
3094         * lyxfunc.[Ch]:
3095         * text.C:
3096         * text2.C: replace the LyXCursor::irow_ member with
3097          on-demand computation of the value
3098
3099 2003-07-16  John Levon  <levon@movementarian.org>
3100
3101         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3102
3103 2003-07-15  André Pönitz  <poenitz@gmx.net>
3104
3105         * text.C:
3106         * text2.C: remove no more needed refresh_row
3107
3108 2003-07-15  André Pönitz  <poenitz@gmx.net>
3109
3110         * lyxtext.h:
3111         * rowpainter.C:
3112         * text2.C:
3113         * text3.C: refresh_status tristate -> need_update bool
3114
3115 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * lyxtext.h (init): remove reinit argument (act as if always true)
3118         * text2.C: adjust to that
3119
3120 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3121
3122         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3123         * text3.C: use it to delete selections in some cases
3124         (bugs 441, 673, 702, 954).
3125
3126 2003-07-14  André Pönitz  <poenitz@gmx.net>
3127
3128         * rowpainter.[Ch]: reduce interface
3129
3130 2003-07-14  André Pönitz  <poenitz@gmx.net>
3131
3132         * BufferView_pimpl.C:
3133         * text2.C: adjust after removing unused BufferView * argument
3134
3135 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * text2.C (init): fix a crash fired on resize
3138
3139 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * buffer.[Ch]: added new closing signal
3142         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3143         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3144         BufferView::Pimpl via the closing the signal
3145
3146 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * buffer.[Ch]: take out all bv-related from buffer
3149         * BufferView.C:
3150         * BufferView_pimpl.[Ch]: connect to new signals
3151         * CutAndPaste.C: removed useless asserts
3152         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3153         * lyxvc.[Ch]:
3154         * vc-backend.[Ch]:
3155         * lyxfunc.C: moved view-related funciontality from vc here
3156         * paragraph.C: removed outdated comments
3157         * text.C: ws
3158
3159 2003-07-10  André Pönitz  <poenitz@gmx.net>
3160
3161         * BufferView_pimpl.C:
3162         * tabular.h:
3163         * tabular_funcs.C:
3164         * text.C:
3165         * text2.C: remove InsetText::InnerCache, clean up consequences
3166
3167 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3168
3169         * ispell.C: fix two typos in error messages
3170
3171 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3172
3173         * Extend Note inset to other forms of annotation like Comment
3174         and Greyedout. Right button click gives dialog.
3175
3176         Files modified or added (+):
3177
3178         * insetnote.[Ch]
3179         * FormNote.[Ch]      +
3180         * ControlNote.[Ch]   +
3181         * form_note.fd       +
3182         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3183         frontends/controllers
3184         * xforms/Dialogs.C
3185         * factory.C
3186
3187 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3188
3189         * aspell.C: add missing namespace lyx::support
3190
3191 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * BufferView.[Ch] (newFile): Add
3194         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3195         * LaTeX.[Ch] (message): added this signal and use it
3196         * buffer.[Ch] (busy, message): added these signals and use them
3197         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3198         * converter.C:
3199         * exporter.C:
3200         * format.C:
3201         * importer.C: use buffer signals instead of direct bv calling
3202         * lyx_cb.[Ch] (ShowMessage): removed
3203         * lyx_main.C:
3204         * lyxfunc.C:
3205         * paragraph_funcs.C:
3206         * text2.C: use buffer signals
3207
3208 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * introduce namespace lyx::graphics
3211
3212 2003-07-02  André Pönitz  <poenitz@gmx.net>
3213
3214         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3215
3216 2003-07-01  André Pönitz  <poenitz@gmx.net>
3217
3218         * text.C:
3219         * text2.C:
3220         * text3.C:
3221         * text_funcs.[Ch]:
3222         * textcursor.h:
3223         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3224           text*.C to text_func.C
3225
3226 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * introduce namespace lyx::support
3229
3230 2003-06-30  André Pönitz  <poenitz@gmx.net>
3231
3232         * Chktex.C:
3233         * funcrequest.C:
3234         * lyxtext.h:
3235         * text.C: re-enable --with-included-string
3236
3237 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * textcursor.C: add <config.h>
3240
3241         * text.C (getWord): remove const from word_location arg
3242
3243         * lyxvc.C (getLogFile): fix const type order
3244
3245         * lyxtext.h: remove const from word_location arg, add arg name
3246
3247         * lyxlayout.h: currect type on labeltype.
3248
3249         * importer.C: correct \file
3250
3251         * converter.C (intToFormat): use std:: on ret val, ws changes
3252
3253         * bufferlist.h: correct \file
3254
3255         * buffer.C (makeLinuxDocFile): fix const type order
3256         (makeDocBookFile): ditto
3257         (fillWithBibKeys): use std:: on stdlib args.
3258
3259         * CutAndPaste.C: fix authors.
3260         (availableSelections): use std:: on return vector
3261
3262 2003-06-27  André Pönitz  <poenitz@gmx.net>
3263
3264         * BufferView_pimpl.C:
3265         * bufferview_funcs.C:
3266         * lyxcursor.C:
3267         * lyxcursor.h:
3268         * lyxfunc.C:
3269         * lyxtext.h:
3270         * rowpainter.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: remove LyXCursor::row_ member
3274
3275         * lyxtext.h:
3276         * text.C: rename fullRebreak() to partialRebreak() and implement
3277           a fullRebreak() that really bereks fully
3278
3279         * textcursor.h: new struct for cursor-related data
3280
3281 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3282
3283         * lyx_main.C (LyX): get full path of document loaded on the
3284         command line
3285
3286 2003-06-26  André Pönitz  <poenitz@gmx.net>
3287
3288         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3289           remove unused/broken operator>,<,>=.
3290
3291         *       text.C: remove only use of broken operator<= in an Assert().
3292
3293 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3294
3295         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3296         moved errorlist_.clear to showErrorList
3297
3298 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * converter.C (scanLog, runLaTeX):
3301         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3302         move the bv->showErrorList call to the callers
3303         * lyxfunc.C: i.e. here...
3304         * text2.C: and here
3305         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3306         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3307         namespace, the second to...
3308         * buffer_funcs (BufferFormat, parseErrors): added
3309         * errorlist.C (ErrorList(TeXErrors const &)): removed
3310
3311 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3312
3313         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3314
3315 2003-06-24  "Garst R. Reese" <reese@isn.net>
3316
3317         * debug.C: fix typo
3318
3319 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3320
3321         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3322
3323         * version.C.in: change docversion to 1.4
3324
3325 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3326
3327         * buffer.C: fix a bug just introduced
3328
3329 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3330
3331         * buffer.[Ch]: added the parseError signal and use it, removed
3332         sgmlError
3333         * BufferView.[Ch] (addError): moved to ...
3334         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3335         to the Buffer::parseError signal to catch (guess what) parse errors
3336         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3337
3338 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3341         ability to create a buffer and to return an existing one from
3342         the list. Moved these functions to...
3343         * buffer_funcs.[Ch]: added
3344         * BufferView.[Ch] (loadLyXFile): added
3345         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3346         job removed from bufferlist::loadLyXFile.
3347         * buffer.C (setReadOnly): make it work without view
3348         (i.e added an if (users))
3349
3350 2003-06-19  Angus Leeming  <leeming@lyx.org>
3351
3352         * lfuns.h:
3353         * LyXAction.C (init):
3354         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3355         with LFUN_DIALOG_SHOW <name> <data>.
3356
3357 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3358
3359         * CutAndPaste.C (availableSelections): small compilation fix for
3360         ancient (gcc 2.9x) compilers
3361
3362 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3363
3364         * text3.C (cursorNext): add tmp var
3365
3366         * text2.C (updateCounters): for function calling out of for clause
3367         (replaceSelectionWithString): ditto
3368         (insertStringAsParagraphs): ditto
3369         (getColumnNearX): add tmp var
3370         (setCursorFromCoordinates): add tmp var
3371         (cursorDownParagraph): add tmp var
3372         (deleteEmptyParagraphMechanism): add tmp var
3373
3374         * text.C (insertChar): add tmp var
3375
3376         * rowpainter.C (paintDepthBar): add tmp var
3377
3378         * CutAndPaste.C (availableSelections): potentially check all
3379         paragraphs in a cut to fill the shown strings.
3380
3381 2003-06-18  André Pönitz  <poenitz@gmx.net>
3382
3383         * kbmap.[Ch]: use vector<> instead of list<>
3384
3385 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3386
3387         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3388         pasteSelection with index
3389
3390         * text2.C (pasteSelection): modify, call pasteSelection with index
3391
3392         * paragraph.C (asString): reimplement version with no interval to
3393         call the one with interval.
3394
3395         * lyxtext.h: add index arg to pasteSelection
3396
3397         * MenuBackend.C (MenuItem): handle PasteRecent
3398         (Menu::read::Menutags): add md_pasterecent
3399         (read): handle it
3400         (expandPasteRecent): new function
3401         (expand): use it
3402
3403         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3404
3405         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3406         the limited stack
3407         (availableSelections): new function
3408
3409 2003-06-17  Angus Leeming  <leeming@lyx.org>
3410
3411         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3412
3413 2003-06-17  Angus Leeming  <leeming@lyx.org>
3414
3415         * lfuns.h:
3416         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3417
3418         * lyxfunc.C (dispatch): invoke it.
3419
3420 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3421
3422         * iterators.C (operator++, ParPosition): reintroduce some
3423         const_cast for the benefit of older compilers.
3424
3425 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3426
3427         * text3.C (dispatch): do not modify clipboard when doing
3428         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3429         LFUN_DELETE_SKIP on a selection selection
3430
3431 2003-06-16  André Pönitz  <poenitz@gmx.net>
3432
3433         * BufferView.C:
3434         * buffer.C:
3435         * buffer.h:
3436         * paragraph.C:
3437         * tabular.[Ch]: IU of clone() and getLabelList();
3438
3439 2003-06-13  André Pönitz  <poenitz@gmx.net>
3440
3441         * tabular.h: compactification
3442
3443 2003-06-12  André Pönitz  <poenitz@gmx.net>
3444
3445         * tabular.C:
3446         * tabular.h:
3447         * tabular_funcs.h: some renaming plus whitespace
3448
3449 2003-06-12  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView.C:
3452         * BufferView_pimpl.C:
3453         * CutAndPaste.C:
3454         * buffer.C:
3455         * iterators.[Ch]:
3456         * lyxfunc.C:
3457         * text.C:
3458         * toc.C: Return a Paragraph & for ParIterator::operator*()
3459
3460 2003-06-11  John Levon  <levon@movementarian.org>
3461
3462         * lyx_main.C:
3463         * ToolbarBackend.h:
3464         * ToolbarBackend.C: add "Toolbars" section and
3465         put the flags there
3466
3467 2003-06-10  Angus Leeming  <leeming@lyx.org>
3468
3469         * lfuns.h:
3470         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3471
3472         * lyxfunc.C (dispatch): invoke it.
3473
3474 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * main.C: protect <ios> with HAVE_IOS
3477         (main): protect sync_with_stdio with HAVE_IOS
3478
3479 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3480
3481         * text2.C (cutSelection): adjust
3482         (pasteSelection): adjust
3483
3484         * messages.C: handle get of empty string
3485
3486         * main.C (main): use sync_with_stdio(false)
3487
3488         * lyxfunc.C (dispatch): adjust
3489
3490         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3491         (WriteAs): remove unneeded BufferView arg.
3492
3493         * bufferparams.h: use correct types on papersize, papersize2 and
3494         paperpackage.
3495
3496         * bufferparams.C (readToken): adjust for type
3497         (writeLaTeX): add missing cases to switch.
3498
3499         * bufferlist.C (quitWriteBuffer): adjust
3500         (close): adjust
3501
3502         * buffer.C (asciiParagraph): remove some commented code.
3503
3504         * CutAndPaste.C: remove current_view extern variable.
3505         (cutSelection): add BufferParams arg.
3506         (eraseSelection): add BufferParams arg.
3507         (pasteSelection): add Buffer const & arg
3508
3509 2003-06-07  John Levon  <levon@movementarian.org>
3510
3511         * buffer.C:
3512         * paragraph_funcs.C:
3513         * paragraph_pimpl.C:
3514         * text.C:
3515         * text2.C:
3516         * paragraph.h:
3517         * paragraph.C: allow InsetERT to freely space lines,
3518         and some consolidation of code
3519
3520 2003-06-06  José Matos  <jamatos@fep.up.pt>
3521
3522         * buffer.C (makeDocBookFile): fix bug #821
3523
3524 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3525
3526         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3527
3528 2003-06-04  Angus Leeming  <leeming@lyx.org>
3529
3530         * buffer.C: bump format to 224.
3531
3532 2003-06-05  André Pönitz  <poenitz@gmx.net>
3533
3534         * text2.C (redoParagraphs): remove two const_cast<>
3535
3536 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3537
3538         * ParagraphList.h: remove last remnants of NO_STD_LIST
3539
3540 2003-06-03  Angus Leeming  <leeming@lyx.org>
3541
3542         * factory.C (createInset): small change to the way InsetExternal's params
3543         are set.
3544
3545 2003-06-04  André Pönitz  <poenitz@gmx.net>
3546
3547         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3548
3549         * paragraph_pimpl.h:
3550         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3551
3552         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3553
3554         * undo_funcs.C: make some simple cases of undo work again
3555
3556 2003-06-03  John Levon  <levon@movementarian.org>
3557
3558         * ispell.C: HPUX doesn't have sys/select.h
3559         (from Albert Chin)
3560
3561 2003-06-03  John Levon  <levon@movementarian.org>
3562
3563         * CutAndPaste.C: update tabular and include inset
3564         buffer references
3565
3566         * buffer.h:
3567         * paragraph.h:
3568         * paragraph.C: remove owningBuffer(), don't pass Buffer
3569         to clone()
3570
3571         * factory.C: insetGraphicsParams changed
3572
3573 2003-06-02  John Levon  <levon@movementarian.org>
3574
3575         * LyXAction.C:
3576         * factory.C:
3577         * lfuns.h:
3578         * lyxfunc.C:
3579         * text3.C: remove insetparent
3580
3581 2003-06-02  John Levon  <levon@movementarian.org>
3582
3583         * buffer.h:
3584         * buffer.C: fix inset_iterator.end(), move out of line
3585         (bug 1149)
3586
3587 2003-06-01  John Levon  <levon@movementarian.org>
3588
3589         * text3.C: use a proper cut/paste when doing inset
3590         insert (from Jürgen Spitzmüller)
3591
3592 2003-06-01  John Levon  <levon@movementarian.org>
3593
3594         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3595
3596 2003-05-30  André Pönitz  <poenitz@gmx.net>
3597
3598         * rowpainter.C: unify second drawing phase
3599
3600 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * trans_mgr.C: remove one case of current_view
3603
3604         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3605
3606         * paragraph_funcs.h: remove paragraph.h include
3607
3608         * paragraph.h: delete NO_STD_LIST stuff
3609
3610         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3611
3612         * buffer.h: remove paragraph.h include
3613
3614         * ParagraphList.C: delete file
3615
3616         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3617
3618         * toc.C (getTocList): adjust
3619
3620         * paragraph_pimpl.C (validate): adjust
3621
3622         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3623
3624         * paragraph.C (Paragraph): adjust
3625         (getPositionOfInset): use const_iterator, adjust
3626         (bibitem): use const_iterator, adjust
3627         (setInsetOwner): adjust
3628
3629         * iterators.C (operator++): adjust
3630
3631         * InsetList.[Ch]: Replace selfmade iterator with standard
3632         vector::iterator also introduce const_iterator. Remove getPos,
3633         getInset and setInset from InsetTable. Adjust accordingly.
3634
3635         * BufferView.C (lockInset): adjust
3636         (ChangeInsets): adjust
3637
3638         * tabular.[Ch]: delete commented same_id functions
3639
3640 2003-05-28  John Levon  <levon@movementarian.org>
3641
3642         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3643
3644 2003-05-28  André Pönitz  <poenitz@gmx.net>
3645
3646         * metricsinfo.[Ch]: remove 'fullredraw' member
3647
3648 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3649
3650         * lyxtextclass.C (operator): remove caching.
3651
3652 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * text3.C: adjust
3655
3656         * text2.C (cursorBottom): adjust
3657         (setCounter): use ParagraphList::find, adjust
3658
3659         * text.C (workWidth): use ParagraphList::find, adjust
3660
3661         * lyxcursor.C (LyXCursor): adjust
3662
3663         * buffer.C (inset_iterator): adjust
3664
3665         * ParagraphList.h: make iterator(value_type) private, make
3666         ParagraphList a friend of iterator.
3667
3668         * ParagraphList.C (find): new function
3669
3670         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3671
3672 2003-05-27  André Pönitz  <poenitz@gmx.net>
3673
3674         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3675
3676 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3677
3678         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3679
3680 2003-05-26  John Levon  <levon@movementarian.org>
3681
3682         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3683
3684 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * remove same_id from function signatures, adjust.
3687
3688 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3691
3692         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3693
3694         * paragraph.C (Paragraph): get rid of same_ids parameter
3695
3696         * ParagraphList.C (insert): adjust
3697         (push_back): adjust
3698
3699 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * paragraph_funcs.C (breakParagraph): adjust
3702         (breakParagraphConservative): adjust
3703
3704         * buffer.C (readParagraph): adjust
3705
3706         * ParagraphList.C (insert): take a reference instead of a pointer
3707         (insert): adjust
3708
3709         * paragraph.[Ch] (id): new function
3710
3711         * bufferlist.C (newFile): adjust
3712
3713         * ParagraphList.C (ParagraphList): adjust
3714         (assign): adjust
3715         (push_back): take a reference instead of a pointer.
3716
3717         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3718
3719         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3720         instead.
3721
3722         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3723         set else use old code.
3724
3725         * ParagraphList.C: remove all NO_NEXT code and only compile this
3726         code of NO_STD_LIST is set.
3727
3728 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * BufferView_pimpl.C:
3731         * TextCache.C:
3732         * TextCache.h:
3733         * bufferlist.C:
3734         * errorlist.h:
3735         * format.C:
3736         * format.h:
3737         * graph.C:
3738         * lyxfunc.C:
3739         * lyxrc.C:
3740         * graphics/GraphicsConverter.C:
3741         * graphics/PreviewLoader.C: header adjustment
3742
3743 2003-05-23  Angus Leeming  <leeming@lyx.org>
3744
3745         * LaTeXFeatures.[Ch] (useBabel): new method.
3746         * bufferparams.C (writeLaTeX): use it.
3747
3748 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * ParagraphList.h (set): remove unused function.
3751
3752 2003-05-23  André Pönitz  <poenitz@gmx.net>
3753
3754         * BufferView.C:
3755         * BufferView_pimpl.C:
3756         * buffer.C:
3757         * buffer.h:
3758         * lyxfunc.C:
3759         * undo_funcs.C: setUndo reworked
3760
3761         * iterators.[Ch]: add access to topmost ParagraphList
3762
3763         * lyxtext.[Ch] (workWidth): add a const
3764
3765 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3766
3767         * texrow.[Ch] (increasePos): remove function
3768         * exporter.C (export): removed unused var and outdated comment
3769
3770 2003-05-23  Angus Leeming  <leeming@lyx.org>
3771
3772         * latexrunparams.h: rename fragile as moving_arg.
3773         * paragraph.C (simpleTeXOnePar): ditto.
3774         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3775
3776 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777
3778         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3779         (createUndo): ditto
3780         (textUndoOrRedo): comment out a currently unused var.
3781
3782         * paragraph.h (NO_NEXT): enable NO_NEXT
3783
3784         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3785
3786         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3787
3788         * exporter.C (Export): adjust for removeAutoInsets removal.
3789
3790         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3791
3792         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3793
3794         * BufferView.[Ch] (removeAutoInsets): delete function
3795
3796 2003-05-22  Angus Leeming  <leeming@lyx.org>
3797
3798         * latexrunparams.h: add a free_spacing variable.
3799
3800         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3801         to pass moving_arg, as the data is stored in runparams.fragile.
3802
3803         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3804         to Inset::latexOptional or to simpleTeXOnePar.
3805
3806         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3807         free_spacing arg to Inset::latexOptional.
3808
3809         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3810         free_spacing arg.
3811
3812 2003-05-22  Angus Leeming  <leeming@lyx.org>
3813
3814         * latexrunparams.h: add fragile and use_babel variables.
3815
3816         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3817         * buffer.C (makeLaTeXFile): store this returned value in
3818         runparams.use_babel, thus passing it to the inset::latex methods.
3819
3820         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3821         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3822
3823         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3824         longer has a fragile arg, as it is stored in runparams.fragile.
3825
3826         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3827         moving_arg parameter as the data is stored in runparams.fragile.
3828
3829         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3830         a fragile parameter as the data is stored in runparams.fragile.
3831
3832 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3835
3836 2003-05-22  Angus Leeming  <leeming@lyx.org>
3837
3838         * latexrunparams.h: add a 'bool nice' which defaults to false.
3839
3840         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3841         now encapsulated within runparams.
3842
3843         * bufferlist.C (updateIncludedTeXfiles):
3844         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3845
3846 2003-05-22  Angus Leeming  <leeming@lyx.org>
3847
3848         * latexrunparams.h: new file containing struct LatexRunParams.
3849         * Makefile.am: add new file.
3850
3851         * LaTeX.[Ch] (c-tor, run):
3852         * buffer.[Ch] (makeLaTeXFile):
3853         * bufferlist.[Ch] (updateIncludedTeXfiles):
3854         * converter.C (convert, scanLog):
3855         * converter.[Ch] (runLaTeX):
3856         * exporter.C (Export):
3857         * paragraph.[Ch] (simpleTeXOnePar):
3858         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3859         * paragraph_funcs.[Ch] (latexParagraphs):
3860         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3861         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3862         pass around a LatexRunParams parameter.
3863
3864 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * paragraph.[Ch]: remove unused constructor
3867
3868         * ParagraphList.C (erase): new function, taking two iterators
3869
3870 2003-05-22  André Pönitz  <poenitz@gmx.net>
3871
3872         * undo_funcs.C: remove duplicated code
3873
3874         * iterator.[Ch]: operator=
3875
3876 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * tabular.C (SetMultiColumn): ws changes
3879
3880         * rowpainter.C (paintFirst): get rid of a ->previous
3881
3882         * lyx_cb.C (getPossibleLabel): parlist simplification
3883
3884         * BufferView.C (ChangeInsets): simplify slightly.
3885
3886 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3887
3888         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3889         * lfuns.h: new LFUN_SPACE
3890         * lyxfunc.C: protected space has a new lfun
3891         * paragraph_funcs.C: read new space insets
3892         * text3.C:
3893         * factory.C: handle new space insets
3894
3895 2003-05-22  André Pönitz  <poenitz@gmx.net>
3896
3897         * BufferView.C:
3898         * BufferView_pimpl.C:
3899         * buffer.[Ch]:
3900         * lyxfunc.C:
3901         * undo_funcs.C: return a ParIterator from getParFromID.
3902
3903         * iterators.[Ch]: add two const's
3904
3905 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * toc.C (getTocList): adjust
3908
3909         * iterators.[Ch]: rework for parlist
3910
3911         * buffer.C (par_iterator_begin): adjust
3912         (par_iterator_end): adjust
3913
3914         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3915
3916         * BufferView.C (removeAutoInsets): adjust
3917         (ChangeInsets): adjust
3918
3919 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * text.C (top_y): fix bug 1110
3922
3923 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * errorlist.[Ch]: added
3926         * buffer.C:
3927         * BufferView.[Ch]:
3928         * BufferView_pimpl.C:
3929         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3930         instead
3931
3932 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * Makefile.am: ensure that lyx is relinked upon changes to the
3935         various "convenience" libs.
3936
3937 2003-05-20  Angus Leeming  <leeming@lyx.org>
3938
3939         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3940         files are compiled in alphabetical order again.
3941
3942         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3943
3944 2003-05-19  Angus Leeming  <leeming@lyx.org>
3945
3946         * gettext.[Ch]: remove "char const * _(char const *)".
3947
3948 2003-05-19  André Pönitz  <poenitz@gmx.net>
3949
3950         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3951
3952         * Makefile.am:
3953         * BufferView.C:
3954         * DepTable.h:
3955         * LaTeXFeatures.C:
3956         * buffer.C:
3957         * lyxfont.C:
3958         * lyxlex.h:
3959         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3960
3961 2003-05-19  André Pönitz  <poenitz@gmx.net>
3962
3963         * buffer.C:
3964         * lyxlayout.[Ch]:
3965         * lyxtextclass.[Ch]:
3966         * paragraph.C:
3967         * paragraph_funcs.[Ch]:
3968         * text2.C:
3969         * text3.C: more insetenv work
3970
3971 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * ParagraphParameters.C (params2string): small bug fixed
3974
3975 2003-05-16  André Pönitz  <poenitz@gmx.net>
3976
3977         * debug.C:
3978         * bufferview_funcs.C: patch from Kornel Benko to prevent
3979           crash when _(...) is called twice in a statement
3980
3981 2003-05-16  André Pönitz  <poenitz@gmx.net>
3982
3983         * BufferView.C:
3984         * lyxfunc.C:
3985         * text.C:
3986         * text2.C:
3987         * text3.C:
3988         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3989
3990 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * lyx_main.C (init): remove spurious static_cast
3993
3994 2003-05-14  André Pönitz  <poenitz@gmx.net>
3995
3996         * BufferView.C: fix format string
3997
3998 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3999
4000         * BufferView.[Ch] (insertErrors): removed
4001         * BufferView.[Ch] (showErrorList): added
4002         * buffer.C (runChkTeX):
4003         * converter.C (scanLog): call showErrorList instead of inserterrors
4004
4005 2003-05-13  André Pönitz  <poenitz@gmx.net>
4006
4007         * BufferView_pimpl.C:
4008         * buffer.C:
4009         * bufferview_func.C:
4010         * MenuBackend.C:
4011         * lyxfunc.C:
4012         * lyxrc.C:
4013         * tex-accent.C:
4014         * text3.C:
4015         * toc.C:
4016         * tabular_funcs.h: tostr() from its own header
4017
4018         * ParagraphParameters.C:
4019         * ToolbarBackend.C:
4020         * bufferparams.C:
4021         * format.C:
4022         * lyxlex_pimpl.C:
4023         * text3.C: STRCONV()
4024
4025 2003-05-12  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView.C:
4028         * BufferView_pimpl.C:
4029         * CutAndPaste.C:
4030         * LaTeX.C:
4031         * LaTeXFeatures.C:
4032         * ParagraphParameters.C:
4033         * buffer.C:
4034         * bufferlist.C:
4035         * bufferparams.C:
4036         * bufferview_funcs.C:
4037         * converter.C:
4038         * counters.C:
4039         * debug.C:
4040         * exporter.C:
4041         * format.C:
4042         * importer.C:
4043         * lyx_cb.C:
4044         * lyx_main.C:
4045         * lyxfont.C:
4046         * lyxfunc.C:
4047         * lyxvc.C:
4048         * paragraph.C:
4049         * paragraph_funcs.C:
4050         * tabular.C:
4051         * tabular_funcs.C:
4052         * text2.C:
4053         * text3.C:  boost::format -> bformat  all over the place
4054
4055
4056 2003-05-09  André Pönitz  <poenitz@gmx.net>
4057
4058         * LColor.[Ch]: Pimpl the #include <map> away
4059
4060 2003-05-09  John Levon  <levon@movementarian.org>
4061
4062         * bufferlist.C: never remove emergency saves
4063
4064 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * Makefile.am: better lib building
4067
4068 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4071         instead.
4072         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4073         (simpleTeXSpecialChars): adjust
4074         (simpleTeXSpecialChars): adjust
4075         * paragraph.C (simpleTeXOnePar): adjust
4076         * buffer.C (makeLaTeXFile): adjust
4077
4078         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4079
4080         * text2.C (changeDepth): parlist cleanup
4081         (getColumnNearX): ditto
4082
4083         * rowpainter.C (getLabelFont): parlist cleanup
4084
4085         * bufferlist.C (newFile): parlist cleanup
4086
4087         * CutAndPaste.C (eraseSelection): parlist cleanup
4088
4089         * BufferView_pimpl.C (trackChanges): parlist cleanup
4090         (dispatch): ditto
4091
4092         * BufferView.C (lockInset): parlist cleanup.
4093         (ChangeInsets): ditto
4094
4095 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * CutAndPaste.h: Update file header.
4098
4099         * CutAndPaste.C: Update file header.
4100         Store the parts cut out of the Document in a limited_stack.
4101         (copySelection): adjust
4102         (pasteSelection): new function, takes the index in the limited stack.
4103         (nrOfParagraphs): adjust
4104         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4105         simplify error inset insertion.
4106         (checkPastePossible): adjust
4107
4108 2003-05-06  John Levon  <levon@movementarian.org>
4109
4110         * text2.C: don't cast wrap inset to float
4111
4112 2003-05-05  André Pönitz  <poenitz@gmx.net>
4113
4114         * iterator.C:
4115         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4116
4117         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4118           few naked Paragraph *.
4119
4120 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4121
4122         * bufferparams.C: Output warning if a document with missing
4123         TeX document class is loaded
4124         * exporter.C: Disable TeX exports if the document class is missing
4125         * lyxtextclass.C:
4126         * lyxtextclass.h:
4127         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4128         isTeXClassAvailable()
4129
4130 2003-05-03  John Levon  <levon@movementarian.org>
4131
4132         * BufferView.h:
4133         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4134         explicit cursor show/hide
4135
4136         * BufferView_pimpl.h:
4137         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4138         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4139
4140         * lyxfunc.C: hide cursor before dispatching.
4141
4142         * lyx_cb.C:
4143         * lyxfind.C:
4144         * text.C:
4145         * text3.C: remove explicit cursor hides
4146
4147 2003-05-02  André Pönitz  <poenitz@gmx.net>
4148
4149         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4150
4151         * undo_funcs.C:
4152         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4153           linked lists
4154
4155         * text2.C: tiny whitespace
4156
4157 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * undo_funcs.C: almost only ws changes.
4160
4161         * ParagraphList.C (splice): just return if pl is empty.
4162
4163 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * ParagraphList.C (splice): new function.
4166
4167         * CutAndPaste.C (pasteSelection): use it
4168
4169 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * CutAndPaste.C (pasteSelection): remove the last next and
4172         previous from this file.
4173
4174 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4175
4176         * CutAndPaste.C (pasteSelection): more clean up, user proper
4177         ParagraphList functions for pasteing.
4178
4179         * ParagraphList.C (insert): new function, three arg insert
4180
4181 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * ParagraphList.C (insert): new function, three arg insert
4184
4185         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4186         not on paragraphs.
4187
4188 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4191
4192 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4195
4196 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4199         (copySelection): clean up a bit.
4200         (pasteSelection): use make_pair
4201
4202         * ParagraphList.C (ParagraphList): implement copy constructor
4203         (operator=): implement, base on copy constructor.
4204         (assign): new func
4205
4206         * paragraph.C (erase): return a bool
4207
4208         * paragraph_pimpl.C (erasePos): remove function, move contents...
4209         (erase): ... here. Return a bool.
4210         (erase): call erase instead of erasePos.
4211
4212 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4213
4214         * ParagraphList.h: define PitPosPair
4215         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4216         ParagraphList, fix a bug on pasting multiple pars
4217         * text2.C: change interface to C&P
4218
4219 2003-04-30  André Pönitz  <poenitz@gmx.net>
4220
4221         * undo_func.C: revert part of yesterday's patch 2
4222
4223 2003-04-30  John Levon  <levon@movementarian.org>
4224
4225         * LColor.C: s/tabular/table/
4226
4227 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * text3.C (dispatch): do not convert iterator -> pointer
4230         * undo_funcs.C (setCursorParUndo): ditto
4231         * text_funcs.C (transposeChars): ditto
4232
4233         * text2.C (setLayout): ws changes only
4234
4235         * text.C (breakParagraph): do not convert iterator -> pointer
4236         (insertChar): ditto
4237         (acceptChange): ditto
4238         (rejectChange): ditto
4239         (changeCase): ditto
4240         (Delete): ditto
4241         (backspace): ditto
4242
4243         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4244         pointer
4245
4246 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * text3.C (gotoInset): YABG (yet another bad getChar)
4249
4250 2003-04-29  André Pönitz  <poenitz@gmx.net>
4251
4252         * paragraph.h: make operator= private unimplemented as long as
4253           it is unusable
4254
4255         * ParagraphList.C: whitespace
4256
4257         * paragraph.[Ch]:
4258         * paragraph_pimpl.[Ch]:
4259         * paragraph_funcs.C:
4260         * CutAndPaste.C:
4261         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4262
4263         * text2.C:
4264           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4265
4266 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4269         * paragraph.[Ch] (erase):
4270         * paragraph_pimpl.[Ch] (erase): change return type and value
4271         * text2.C (cutSelection): some rework
4272
4273 2003-04-28  John Levon  <levon@movementarian.org>
4274
4275         * bufferlist.C: changes for unsaved changes dialog
4276
4277 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * bufferlist.C (newFile): set language (messages_) for new
4280         documents also.
4281
4282         * buffer.C (readFile): ws changes only.
4283
4284 2003-04-28  André Pönitz  <poenitz@gmx.net>
4285
4286         * undo_funcs.C:
4287         * lyxfunc.C:
4288         * buffer.[Ch]:
4289         * BufferView_pimpl.C:
4290         * BufferView.C: getParFromID related ParagraphList::iterator changes
4291
4292 2003-04-28  André Pönitz  <poenitz@gmx.net>
4293
4294         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4295           Changes
4296
4297 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * messages.C: remove one more localedir class variable.
4300
4301 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * messages.C (getLocaleDir): singleton generation function
4304         (Pimpl): use it.
4305         (Messages): add a default constructor.
4306
4307         * main.C (main): do not setup localedir here, do not call
4308         gettext_init.
4309
4310         * gettext.C (_): use it.
4311         (gettext_init): delete funciton
4312
4313 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * gettext.C (getLyXMessages): new singleton generating function.
4316
4317         * buffer.C (updateDocLang): adjust
4318
4319         * Makefile.am (messages.o): add target
4320         (main.o): remove target
4321
4322 2003-04-27  John Levon  <levon@movementarian.org>
4323
4324         * bufferlist.C:
4325         * lyx_cb.C:
4326         * lyxfunc.C:
4327         * lyxvc.C: specify cancel button in Alert::prompt
4328
4329 2003-04-26  John Levon  <levon@movementarian.org>
4330
4331         * text3.C:
4332         * lyxfunc.C:
4333         * lfuns.h:
4334         * LyXAction.C: add LFUN_INSET_SETTINGS
4335
4336         * lyxfunc.C: don't enable tabular-feature when there's
4337         just any locking inset
4338
4339 2003-04-26  John Levon  <levon@movementarian.org>
4340
4341         * bufferlist.C: re-add Cancel to buffer close question
4342
4343         * lyxfunc.C: fix import UI a bit
4344
4345 2003-04-25  John Levon  <levon@movementarian.org>
4346
4347         * gettext.C: remove the broken asserts for now
4348
4349 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * messages.C: make case where setlocale cannot comply work better.
4352
4353         * buffer.C (updateDocLang): new function
4354         (changeLanguage): use it
4355         (readFile): use it
4356
4357         * text2.C (setCounter): use B_ a bit.
4358
4359         * lyxlayout.C (Read): be sure to trim the label strings.
4360
4361         * messages.C (Messages): fix typo in comment
4362
4363         * buffer.C (readFile): set message_ after file is loaded.
4364         (makeDocBookFile): remove double return
4365         (changeLanguage): reset message_ upon language change.
4366         (B_): new func, use this to get translated buffer strings.
4367
4368         * main.C: add myself and Jean Marc as authors.
4369
4370 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * messages.[hC]: pimplify Messages, and three different pimpls to be
4373         used in different circumstances.
4374
4375         * gettext.[Ch]: change for use with new message code.
4376
4377 2003-04-24 André Pönitz <poenitz@gmx.net>
4378
4379         * factory.C: support for eqref
4380
4381 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * messages.[Ch]: add missing char
4384
4385         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4386
4387         * messages.[Ch]: New files
4388
4389 2003-04-18  John Levon  <levon@movementarian.org>
4390
4391         * BufferView.h:
4392         * BufferView.C:
4393         * BufferView_pimpl.C:
4394         * lfuns.h:
4395         * LyXAction.C:
4396         * lyxtext.h:
4397         * text2.C: remove layout-copy/paste (bug 778)
4398
4399 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4402
4403 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4406         if they succeed. Act accordingly.
4407
4408 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * text2.C (setCharFont): adjust
4411         (setCounter): adjust
4412         (insertStringAsLines): adjust
4413
4414         * text.C (leftMargin): adjust
4415         (setHeightOfRow): adjust
4416
4417         * rowpainter.C (paintFirst): adjust
4418         (paintLast): adjust
4419
4420         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4421         (outerHook): ditto
4422         (isFirstInSequence): ditto
4423         (getEndLabel): ditto
4424         (outerFont): adjust
4425
4426         * paragraph.C (getParLanguage): comment out some hard stuff.
4427
4428         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4429         (sgmlError): ditto
4430         (simpleDocBookOnePar): ditto
4431         (makeDocBookFile): use ParagraphList::iterator
4432
4433         * CutAndPaste.C (pasteSelection): adjust
4434
4435 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * text2.C (getFont): adjust
4438         (getLayoutFont): adjust
4439         (getLabelFont): adjust
4440
4441         * paragraph_funcs.C (TeXOnePar): adjust
4442
4443         * buffer.C (simpleLinuxDocOnePar): adjust
4444         (simpleDocBookOnePar): adjust
4445
4446         * CutAndPaste.C (pasteSelection): adjust
4447
4448         * BufferView.C (getEncoding): adjust
4449
4450         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4451
4452 2003-04-16  John Levon  <levon@movementarian.org>
4453
4454         * lyxfind.C: use parlist stuff for search/changes
4455
4456 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4459
4460         * text2.C (deleteEmptyParagraphMechanism): adjust
4461
4462         * text2.[Ch] (ownerParagraph): delete func (both of them
4463
4464 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4467
4468 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * ParagraphList.C: prepare for NO_NEXT
4471
4472 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * text2.C (getFont): adjust
4475         (getLayoutFont): adjust
4476         (getLabelFont): adjust
4477
4478         * paragraph.C (getFont): adjust
4479         (getLabelFont): adjust
4480         (getLayoutFont): adjust
4481
4482         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4483
4484 2003-04-15  John Levon  <levon@movementarian.org>
4485
4486         From Angus Leeming
4487
4488         * lyx_main.C: handle Include in .ui files
4489
4490 2003-04-15  John Levon  <levon@movementarian.org>
4491
4492         * MenuBackend.C: make the doc files length shorter
4493
4494         * ToolbarBackend.h:
4495         * ToolbarBackend.C: handle toolbar placement flags,
4496         Minibuffer
4497
4498 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4501         adjust
4502
4503         * paragraph_funcs.C (TeXOnePar): adjust
4504
4505         * paragraph.C (getLabelFont): add outerfont arg, adjust
4506         (getLayoutFont): ditto
4507         (simpleTeXOnePar): adjust
4508
4509         * paragraph_pimpl.C (realizeFont): delete func
4510
4511 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4514         row argument, constify cur argument.
4515
4516 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * text2.C (getFont): adjust
4519         (getLayoutFont): adjust
4520         (getLabelFont): adjust
4521
4522         * paragraph_funcs.C (TeXOnePar): adjust
4523         (outerFont): new func...
4524         (realizeFont): ...moved out from here, changed this to facilitate
4525         transition
4526
4527         * paragraph.C (getFont): take outerfont as arg, adjust
4528         (simpleTeXOnePar): add outerfont arg, adjust
4529
4530         * buffer.C (simpleLinuxDocOnePar): adjust
4531         (simpleDocBookOnePar): adjust
4532
4533         * CutAndPaste.C (pasteSelection): adjust
4534
4535         * BufferView.C (getEncoding): adjust
4536
4537 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * text2.C (setCharFont): adjust
4540         (setCounter): adjust
4541
4542         * text.C (leftMargin): adjust
4543         (setHeightOfRow): adjust
4544
4545         * rowpainter.C (paintFirst): adjust
4546         (paintLast): adjust
4547
4548         * paragraph_pimpl.C (realizeFont): adjust
4549
4550         * paragraph.C (isFirstInSequence): move from here...
4551         * paragraph_funcs.C (isFirstInSequence): ...to here
4552
4553         * paragraph.C (outerHook): move from here...
4554         * paragraph_funcs.C (outerHook): ...to here
4555
4556         * paragraph.C (depthHook): move from here...
4557         * paragraph_funcs.C (depthHook): ...to here
4558
4559         * paragraph.C (getEndLabel): move from here...
4560         * paragraph_funcs.C (getEndLabel): ...to here
4561
4562         * text2.C (realizeFont): move from here...
4563         * paragraph_funcs.C (realizeFont): ...to here
4564
4565 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4568
4569 2003-04-14  Angus Leeming  <leeming@lyx.org>
4570
4571         * LColor.[Ch]: scrap LColor mathcursor.
4572
4573 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * lyxlex.[Ch] (text): delete function
4576         * trans.C (Load): adjust
4577         * paragraph_funcs.C (readParToken): adjust
4578
4579 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4582         vector<char> instead of a char[].
4583
4584         * lyxlex_pimpl.C (getString): adjust
4585         (next): adjust
4586         (lex): use getString
4587         (eatLine): adjust
4588         (nextToken): adjust
4589
4590         * lyxlex.C (text): use pimpl_->getString()
4591         (getBool): ditto
4592         (findToken): ditto
4593
4594 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4597         (makeFontEntriesLayoutSpecific): temp var for par.size()
4598         (setLayout): temp var for ownerParagraphs().end()
4599         (fullRebreak): temp var for rows().end()
4600         (selectionAsString): temp var for boost::next(startpit), realize
4601         that the while really is a regular for loop.
4602         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4603         setCursor in one place.
4604         (setParagraph): temp vr for ownerParagraphs().end()
4605         (updateCounters): make the while loop a for loop
4606         (cutSelection): temp var for ownerParagraphs().end()
4607         (updateInset): make the do {} while() a regular for loop
4608         (getCursorX): use temp vars
4609         (setCurrentFont): use temp vars
4610         (getColumnNearX): use temp vars
4611
4612 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * text.C (transformChar): use temp var for getChar
4615         (computeBidiTables): use temp var for row->par()
4616         (fill): move temp vars for row->par() and pit->layout() earlier in
4617         the function.
4618         (labelFill): use temp var for row->par()
4619         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4620         asc and desc, realize that pit never changes and that firstpit is
4621         just a duplicate and not needed. Exchange rit->par() with pit in a
4622         lot of places.
4623         (breakAgain): use a temp var for boost::next(rit)
4624         (breakAgainOneRow): ditto
4625         (breakParagraph): use a temp var for rows().begin()
4626         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4627         (cursorRightOneWord): use temp var for cursor.par() and
4628         cursor.pos(), remove usage of tmpcursor.
4629         (cursorLeftOneWord): use temp var for cursor.par() and
4630         cursor.pos() only set cur at end of function.
4631
4632 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * text.C, text2.C: exchange all usage of Paragraph::next with
4635         boost::next(ParagraphList::iterator)
4636
4637         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4638
4639         * text2.C (cursorTop): simplify implementation
4640         (cursorBottom): ditto
4641         (setParagraph): use ParagraphList::iterator
4642         (setCurrentFont): adjust
4643         (getColumnNearX): adjust
4644         (cursorRight): adjust
4645         (cursorLeft): remove usage of Paragraph::previous
4646         (cursorUpParagraph): ditto
4647         (deleteEmptyParagraphMechanism): slight cleanup
4648
4649         * text.C (isBoundary): take a Paragraph const & instead of a
4650         pointer as arg.
4651         (addressBreakPoint): ditto
4652         (leftMargin): remove usage of Paragraph::previous.
4653         (setHeightOfRow): ditto
4654         (cursorLeftOneWord): ditto
4655         (selectNextWordToSpellcheck): ditto
4656         (Delete): ditto
4657         (backspace): ditto
4658         (breakParagraph): remove one usage of Paragraph::next
4659         (redoParagraph): ditto
4660         (acceptChange): ditto
4661         (insertChar): adjust
4662         (rowBreakPoint): adjust
4663
4664         * bufferview_funcs.C (toggleAndShow): adjust
4665
4666 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4669         methods to access it.
4670         * lyxtext.h:
4671         * text.C: Added updateRowPositions to compute all row positions.
4672         Make top_y and getRowNearY() to use the cached y position
4673
4674 2003-04-11  John Levon  <levon@movementarian.org>
4675
4676         * text.C (rowBreakPoint): reintroduce the labelEnd
4677         checks, code copied from the row fill stuff. Deep voodoo.
4678
4679         * text.C (fill): add a comment and debugging for the
4680         next poor soul.
4681
4682 2003-04-11  John Levon  <levon@movementarian.org>
4683
4684         * text.C: make sure fullrow insets get wrapped to the next line,
4685         even when they're in a manual label
4686
4687 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * text2.C (insertParagraph): make it take ParagraphList::iterator
4690         as arg.
4691         (setLayout): make it return ParagraphList::iterator
4692         (redoParagraphs): ditto
4693         (setCounter): ditto
4694         (checkParagraph): ditto
4695
4696         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4697
4698         * text2.C: adjust several funcs.
4699         (realizeFont): take a ParagraphList::iterator as arg.
4700         (getLayoutFont): ditto
4701         (getLabelFont): ditto
4702         (setCharFont): ditto
4703
4704         * text.C: adjust several funcs.
4705
4706 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4707
4708         * text.C (selectNextWordToSpellcheck): don't accidentally
4709         skip insets
4710
4711 2003-04-10  John Levon  <levon@movementarian.org>
4712
4713         * ToolbarBackend.C (getIcon): special handling for
4714         LFUN_MATH_DELIM
4715
4716 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * text2.C (cursorRight): a getChar assert fixed
4719
4720 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * text2.C (getFont): change to take a ParagraphList::iterator
4723         instead of Paragraph*
4724         Adjust several functions.
4725
4726         * text.C (transformChar): change to take a ParagraphList::iterator
4727         instead of Paragraph*
4728         (singleWidth): ditto
4729         Adjust several functions.
4730
4731         * rowpainter.C: adjust several functions
4732         * rowpainter.h:store a ParagraphList::iterator and not a
4733         Paragraph&.
4734
4735
4736 2003-04-09  John Levon  <levon@movementarian.org>
4737
4738         * lyxfunc.C:
4739         * lfuns.h:
4740         * LyXAction.h:
4741         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4742         and the "help" bits as well
4743
4744 2003-04-09  John Levon  <levon@movementarian.org>
4745
4746         * ToolbarBackend.h:
4747         * ToolbarBackend.C: allow multiple toolbars
4748
4749 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * undo_funcs.C (setCursorParUndo): adjust
4752
4753         * text_funcs.C (transposeChars): adjust
4754
4755         * text3.C (gotoNextInset): adjust
4756         (dispatch): adjust
4757
4758         * text2.C (setLayout): adjust
4759         (changeDepth): adjust
4760         (setFont): adjust
4761         (redoParagraphs): adjust
4762         (selectionAsString): adjust
4763         (setParagraph): adjust
4764         (insertInset): adjust
4765         (cutSelection): adjust
4766         (copySelection): adjust
4767         (pasteSelection): adjust
4768         (insertStringAsLines): adjust
4769         (updateInset): adjust
4770         (setCursor): change to take a ParagraphList::iterator parameter
4771         (setCursorIntern): change to take a ParagraphList::iterator parameter
4772         (setCurrentFont): adjust
4773         (cursorLeft): adjust
4774         (cursorRight): adjust
4775         (deleteEmptyParagraphMechanism): adjust
4776
4777         * text.C (breakParagraph): adjust
4778         (insertChar): adjust
4779         (acceptChange): adjust
4780         (rejectChange): adjust
4781         (selectNextWordToSpellcheck): adjust
4782         (changeCase): adjust
4783         (Delete): adjust
4784         (backspace): adjust
4785
4786         * lyxfind.C (SearchForward): adjust
4787         (SearchBackward): adjust
4788         (nextChange): adjust
4789
4790         * lyxcursor.C (par): adjust
4791
4792         * lyxcursor.h: store a ParagraphList::iterator instead of a
4793         Paragraph*
4794
4795         * lyx_cb.C (getPossibleLabel): adjust
4796
4797         * bufferview_funcs.C (toggleAndShow): adjust
4798
4799         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4800         (dispatch): adjust
4801
4802         * BufferView.C (removeAutoInsets): adjust
4803         (lockedInsetStoreUndo): adjust
4804
4805 2003-04-09  John Levon  <levon@movementarian.org>
4806
4807         * ToolbarBackend.C: try icon without argument
4808         if with argument fails
4809
4810 2003-04-08  John Levon  <levon@movementarian.org>
4811
4812         * ToolbarBackend.h:
4813         * ToolbarBackend.C: add getIcon(), handle tooltip,
4814         and change from "Icon" to "Item".
4815
4816 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4817
4818         * BufferView.C (lockInset): another bad getchar crunched
4819
4820 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4821
4822         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4823         again)
4824
4825 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4826
4827         * lyxfind.C (searchForward, searchBackwards): bug 782
4828
4829 2003-04-07  John Levon  <levon@movementarian.org>
4830
4831         * paragraph.C: remove dead comment
4832
4833         * text.C: remove troublesome depth-fiddling code
4834         in leftMargin() and rightMargin() (bug 1017)
4835
4836         * text.C: fix breaking of rows in nested lists
4837         (bug 1004)
4838
4839         * text2.C (updateCounters): fix up depth values
4840         (bug 1013)
4841
4842 2003-04-07  John Levon  <levon@movementarian.org>
4843
4844         * BufferView_pimpl.C: clear message when doc finishes resizing,
4845         and after a mouse event
4846
4847         * lyxfunc.C: clear message after exiting inset
4848
4849 2003-04-07  John Levon  <levon@movementarian.org>
4850
4851         * bufferview_funcs.C: show math status not outside
4852         status in the statusbar
4853
4854 2003-04-07  John Levon  <levon@movementarian.org>
4855
4856         * lyxfunc.C: note status changed after a depth change
4857
4858 2003-04-04  Angus Leeming  <leeming@lyx.org>
4859
4860         * LaTeX.h: move AuxInfo operator==, != out of line.
4861         Remove LaTeX virtual destructor; nothing derives from it.
4862         Move operator()() out of public area and rename it startscript().
4863         Change protected for private.
4864
4865 2003-04-04  Angus Leeming  <leeming@lyx.org>
4866
4867         * lyxfunc.C:
4868         * text2.C: remove unneeded #includes.
4869
4870 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * text2.C (dEPM): fix the heigth of the next row
4873
4874 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * text.C: squashed an invalid getChar requester + some ws changes
4877
4878 2003-04-03  John Levon  <levon@movementarian.org>
4879
4880         * bufferview_funcs.h:
4881         * bufferview_funcs.C:
4882         * lyxfunc.C:
4883         * lyxtext.h:
4884         * text2.C: make getStatus work for the env depth lfuns
4885
4886 2003-04-03  John Levon  <levon@movementarian.org>
4887
4888         * bufferview_funcs.h:
4889         * bufferview_funcs.C:
4890         * lyxfunc.C:
4891         * lyxtext.h:
4892         * text2.C: parlistize decDepth(), by merging it with incDepth()
4893
4894 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * lyxrow.h: store a ParagraphList::iterator instead of a
4897         Paragraph* and adjust other class functions to suit.
4898
4899         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4900         above.
4901
4902 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text2.C (setCursor): do not anchor to cursor row for the time being
4905
4906 2003-04-02  John Levon  <levon@movementarian.org>
4907
4908         * LyXAction.C:
4909         * lfuns.h:
4910         * lyx_main.C:
4911         * lyxtext.h:
4912         * text.C:
4913         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4914
4915 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * paragraph.h: make ParagraphList and ParagraphList::iterator
4918         friends of Paragraph.
4919
4920         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4921
4922         * ParagraphList.C: Use the private next_ and previous_ from
4923         Paragraph.
4924
4925 2003-04-01  John Levon  <levon@movementarian.org>
4926
4927         * ToolbarBackend.h:
4928         * ToolbarBackend.C:
4929         * Makefile.am: rename, remove defaults gunk
4930
4931         * MenuBackend.h:
4932         * MenuBackend.C: remove defaults gunk
4933
4934         * Languages.h:
4935         * Languages.C: remove defaults gunk
4936
4937         * lyx_main.h:
4938         * lyx_main.C: error out if files couldn't be found.
4939
4940 2003-04-02  John Levon  <levon@movementarian.org>
4941
4942         * text2.C: make incDepth() use parlist
4943
4944 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * undo_funcs.C (firstUndoParagraph): adjust
4947
4948         * text3.C (gotoInset): adjust
4949         (dispatch): adjust, and rewrite loop.
4950
4951         * text2.C (init): adjust, and rewrite loop.
4952         (redoParagraphs): adjust
4953         (updateInset): adjust, and rewrite loop.
4954         (deleteEmptyParagraphMechanism): adjust
4955
4956         * tabular.C (LyXTabular): adjust
4957         (SetMultiColumn): adjust
4958         (TeXRow): adjust
4959
4960         * lyxtext.[Ch] (ownerParagraph): delete function
4961         (ownerParagraphs): new function returns a ParagraphList.
4962
4963         * BufferView.C (removeAutoInsets): adjust
4964         (insertErrors): adjust
4965         (setCursorFromRow): adjust
4966
4967 2003-04-01  Angus Leeming  <leeming@lyx.org>
4968
4969         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4970         in the frontends.
4971
4972 2003-04-02  John Levon  <levon@movementarian.org>
4973
4974         * lyxtext.h:
4975         * text.C:
4976         * Makefile.am:
4977         * text_funcs.h:
4978         * text_funcs.C: make transposeChars a free function
4979
4980         * lyxrow_funcs.C: remove wrong comment
4981
4982 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * lyxtext.h: adjust
4985         * rowpainter.C: adjust
4986         * text.C: adjust
4987         * text2.C: adjust
4988         * text3.C: adjust
4989
4990         * lyxrow_funcs. [Ch]: new files
4991
4992         * lyxrow.[Ch]: remove next and previous pointers
4993         (next,previous): remove accessor functions
4994         (isParEnd): move to lyxrow_funcs
4995         (lastPos): move to lyxrow_funcs
4996         (nextRowIsAllInset): move to lyxrow_funcs
4997         (lastPrintablePos): move to lyxrow_funcs
4998         (numberOfSeparators): move to lyxrow_funcs
4999         (numberOfHfills): move to lyxrow_funcs
5000         (numberOfLabelHfills): move to lyxrow_funcs
5001         (hfillExpansion): move to lyxrow_funcs
5002
5003         * lyxfunc.C: adjust
5004
5005         * bufferview_funcs.C (toggleAndShow): adjust
5006
5007         * RowList.h: Remove class RowList from file leave just a
5008         std::list<Row>.
5009
5010         * RowList.C: delete file
5011
5012         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5013         and lyxrow_funcs.h
5014
5015 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * text3.C (cursorPrevious): adjust
5018         (cursorNext): adjust
5019         (dispatch): adjust
5020
5021         * text2.C (redoHeightOfParagraph): adjust
5022         (redoDrawingOfParagraph): adjust
5023         (setCursor): adjust
5024
5025         * text.C (breakParagraph): adjust
5026         (insertChar): adjust
5027         (backspace): adjust
5028
5029         * rowpainter.C (RowPainter): adjust
5030         (leftMargin): simplify and adjust
5031         (most rowpainter functions): adjust.
5032
5033         * rowpainter.h: store the row as RowList::iterator not as Row*
5034
5035         * lyxcursor.C (row): taka RowList::iterator as arg
5036         (irow): ditto
5037
5038         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5039         of Row*.
5040
5041 2003-04-01  Angus Leeming  <leeming@lyx.org>
5042
5043         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5044         stuff like bool Bool.
5045
5046 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5049         rewrite a loop
5050
5051 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5054         RowList::iterator.
5055
5056         * lyxtext.h (rows): drop one version and leve a const variant that
5057         returns a RowList::iterator.
5058
5059 2003-03-31  Angus Leeming  <leeming@lyx.org>
5060
5061         * text.C (fill): ensure that the signature is the same as that in the
5062         header file.
5063
5064 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * text2.C (redoParagraphs): adjust
5067         (updateCounters): adjust
5068         (checkParagraph): adjust
5069         (getColumnNearX): adjust and reformat a bit.
5070
5071         * text.C (top_y): adjust
5072         (workWidth): adjust
5073         (leftMargin): adjust
5074         (prepareToPrint): adjust
5075         (getRow): adjust
5076         (getRowNearY): adjust
5077
5078         * lyxtext.h: make rowlist_ mutable.
5079
5080         * RowList.h: add const_iterator
5081         * RowList.C: adjust for RowList::const_iterator.
5082
5083         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5084         adjust.
5085
5086 2003-03-31  John Levon  <levon@movementarian.org>
5087
5088         * lyxrc.h:
5089         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5090
5091         * lyx_main.C: set default fonts from using lyx_gui funcs
5092
5093         * exporter.C: pdf_mode moved from lyxrc
5094
5095         * lyx_cb.C:
5096         * lyxfunc.C: changes from above
5097
5098 2003-03-31  John Levon  <levon@movementarian.org>
5099
5100         * lyx_main.C: fix to the last fix
5101
5102 2003-03-31  John Levon  <levon@movementarian.org>
5103
5104         * bufferlist.C: "Load original" -> "Load Original"
5105
5106         * converter.C:
5107         * exporter.C:
5108         * importer.C:
5109         * lyx_main.C:
5110         * format.C: more Alert cleanups
5111
5112 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * text2.C (removeParagraph): make it take a RowList::iterator as
5115         arg, adjust.
5116         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5117         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5118
5119         * text.C (anchor_row): make it take a RowList::iterator as arg,
5120         adjust.
5121         (computeBidiTables): make it take a const reference to Row instead
5122         of Row pointer, adjust.
5123         (leftMargin): make it take a RowList::iterator as arg, adjust.
5124         (rowBreakPoint): adjust
5125         (breakAgainOneRow): make it take a RowList::iterator as arg,
5126         adjust.
5127         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5128
5129         * bufferview_funcs.C (toggleAndShow): adjust
5130
5131 2003-03-30  John Levon  <levon@movementarian.org>
5132
5133         * Makefile.am:
5134         * BoostFormat.h:
5135         * boost-inst.C: moved to support
5136
5137         * several files: changes as a result
5138
5139 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * text2.C (LyXText): adjust.
5142         (init): adjust
5143         (removeRow): make it take a RowList::iterator as arg, adjust.
5144         (fullRebreak): adjust
5145         (deleteEmptyParagraphMechanism): adjust
5146         (clearPaint): adjust
5147         (postPaint): adjust
5148
5149         * text.C (top_y): adjust
5150         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5151         (breakAgain): make it take a RowList::iterator as arg, adjust.
5152         (breakParagraph): adjust
5153         (insertChar): adjust
5154         (backspace): adjust
5155
5156         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5157         need_break_row, and refresh_row.
5158
5159         * text3.C (dispatch): adjust
5160
5161         * text2.C (checkParagraph): adjust
5162         (setCursor): adjust
5163         (setCursorFromCoordinates): adjust
5164
5165         * text.C (top_y): adjust
5166         (workWidth): adjust
5167         (getRow): make it return a RowList::iterator, adjust
5168         (getRowNearY): make it return a RowList::iterator, adjust
5169
5170         * text2.C (init): adjust
5171         (insertRow): remove function
5172         (insertParagraph): adjust
5173         (redoParagraphs): adjust
5174         (fullRebreak): adjust
5175         (updateCounters): adjust
5176
5177         * text.C (top_y): rewrite to use RowList iterators.
5178         (top_y): adjust
5179         (setHeightOfRow): rewrite to sue RowList iterators.
5180         (appendParagraph): adjust
5181         (breakAgain): adjust
5182         (breakAgainOneRow): adjust
5183         (breakParagraph): adjust
5184         (getRow): adjust
5185         (getRowNearY): adjust, and remove commented code.
5186
5187         * lyxtext.h (firstRow): delete function
5188         (lastRow): delete function
5189         (rows): new function (const and non-const versions.)
5190         (insertRow): delete function
5191
5192         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5193
5194 2003-03-29  John Levon  <levon@movementarian.org>
5195
5196         * BufferView_pimpl.C: always update scrollbar top
5197         because pasting text when we're anchored could mean we
5198         miss an update altogether
5199
5200 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * text2.C (init): use rowlist_.end() and not 0.
5203         (insertRow): change to take a RowList::iterator as arg, adjust
5204         for this.
5205         (insertParagraph): change to take a RowList::iterator as arg,
5206         adjust for this.
5207         (redoParagraphs): remove some debug msgs.
5208
5209         * text.C (appendParagraph): change to take a RowList::iterator
5210         arg, adjust for this.
5211         (breakAgain): add an assert
5212         (breakAgainOneRow): ditto
5213
5214 2003-03-29  John Levon  <levon@movementarian.org>
5215
5216         * text2.C: do not clear selection after inc/decDepth
5217         (bug 550)
5218
5219 2003-03-29  John Levon  <levon@movementarian.org>
5220
5221         * BufferView.C:
5222         * buffer.C: fix broken strerrors according to Lars
5223
5224 2003-03-29  John Levon  <levon@movementarian.org>
5225
5226         * converters.C: more Alert cleanups
5227
5228 2003-03-29  John Levon  <levon@movementarian.org>
5229
5230         * bufferview_funcs.C: remove pointless Alert
5231
5232         * buffer.C: fix confusing error message when
5233         a template is chmoded 000
5234
5235 2003-03-29  John Levon  <levon@movementarian.org>
5236
5237         * BufferView.C:
5238         * BufferView.h:
5239         * BufferView_pimpl.C: Alert fixes
5240
5241         * Makefile.am:
5242         * tabular.C:
5243         * tabular-old.C: remove unused table compat reading
5244
5245 2003-03-29  John Levon  <levon@movementarian.org>
5246
5247         * BufferView.C:
5248         * buffer.C:
5249         * lyx_cb.h:
5250         * lyx_cb.C: more Alert cleanups
5251
5252         * lyxfunc.C: don't allow chktex if not latex document
5253
5254 2003-03-29  John Levon  <levon@movementarian.org>
5255
5256         * lyx_cb.C:
5257         * BufferView.C:
5258         * buffer.C: warnings pushed down from support/,
5259         kill err_alert
5260
5261 2003-03-29  John Levon  <levon@movementarian.org>
5262
5263         * lyxfunc.C: safety check for C-r (revert)
5264
5265 2003-03-29  John Levon  <levon@movementarian.org>
5266
5267         * bufferlist.h:
5268         * bufferlist.C: several UI fixes using Alert::prompt.
5269         Fix the pointless looping quit code. Fix stupid revert
5270         behaviour (bug 938)
5271
5272         * lyxvc.h:
5273         * lyxvc.C:
5274         * lyx_cb.C: use Alert::prompt
5275
5276         * lyx_main.C: remove a silly question
5277
5278         * lyxfunc.C: remove a couple of silly questions,
5279         use Alert::prompt
5280
5281 2003-03-28  John Levon  <levon@movementarian.org>
5282
5283         * text2.C: fix bug 974 (End on empty par)
5284
5285 2003-03-28  John Levon  <levon@movementarian.org>
5286
5287         * BufferView_pimpl.C:
5288         * LyXAction.C:
5289         * lfuns.h: remove do-nothing math greek lfuns
5290
5291 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * lyxgluelength.h (isValidGlueLength): add default arg on
5294         parameter 2. Remove default arg from friend in class.
5295
5296         * lyxlength.h (isValidLength): add default arg on parameter 2.
5297         Remove default arg from friend in class.
5298
5299         * text2.C (LyXText): adjust, initialize refresh_row.
5300         (init): adjust
5301         (removeRow): adjust
5302         (insertRow): adjust
5303         (insertParagraph): adjst
5304         (redoParagraphs): adjust
5305         (fullRebreak): adjust
5306         (updateCounters): adjust
5307         (deleteEmptyParagraphMechanism): first attempt at fixing a
5308         crashing bug.
5309
5310         * text.C (top_y): adjust
5311         (setHeightOfRow): adjust
5312         (getRow): adjust
5313         (getRowNearY): adjust
5314
5315         * lyxtext.h: include RowList.h
5316         (~LyXText): not needed anymore, deleted.
5317         (firstRow): modify for RowList
5318         (lastRow): new function
5319         Delete firstrow and lastrow class variables, add a Rowlist
5320         rowlist_ class variable.
5321
5322         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5323         paragraph is empty.
5324
5325         * RowList.C (insert): fix case where it == begin().
5326
5327 2003-03-26  Angus Leeming  <leeming@lyx.org>
5328
5329         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5330         the thesaurus dialog.
5331
5332 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5335
5336         * RowList.[Ch]: new files
5337
5338         * ParagraphList.C (erase): handle the case where it == begin
5339         correctly.
5340
5341 2003-03-25  John Levon  <levon@movementarian.org>
5342
5343         * Makefile.am:
5344         * aspell_local.h:
5345         * aspell.C: add new aspell support
5346
5347         * lyxrc.h:
5348         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5349         have it accessible.
5350
5351 2003-03-25  Angus Leeming  <leeming@lyx.org>
5352
5353         * lfuns.h:
5354         * LyXAction.C (init): new LFUN_INSET_INSERT.
5355
5356         * BufferView_pimpl.C (dispatch): split out part of the
5357         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5358
5359         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5360         LFUN_INSET_APPLY.
5361
5362 2003-03-25  Angus Leeming  <leeming@lyx.org>
5363
5364         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5365
5366 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * text2.C:
5369         * text3.C: remove useless row->height(0)
5370
5371 2003-03-25  John Levon  <levon@movementarian.org>
5372
5373         * lyxtext.h:
5374         * text2.C:
5375         * text3.C: rename the refreshing stuff to better names
5376
5377 2003-03-24  John Levon  <levon@movementarian.org>
5378
5379         * BufferView_pimpl.h:
5380         * BufferView_pimpl.C: update layout choice on a mouse
5381         press/release
5382
5383 2003-03-23  John Levon  <levon@movementarian.org>
5384
5385         * Makefile.am: fix commandtags.h reference
5386
5387 2003-03-22  John Levon  <levon@movementarian.org>
5388
5389         * BufferView_pimpl.C:
5390         * lyxtext.h:
5391         * rowpainter.C:
5392         * rowpainter.h:
5393         * text.C:
5394         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5395
5396 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5397
5398         * lyxtext.h:
5399         * text.C: take the rtl methods out of line
5400
5401 2003-03-21 André Pönitz <poenitz@gmx.net>
5402
5403         * metricsinfo.[Ch]: new files containing structures to be passed around
5404         during the two-phase-drawing...
5405
5406 2003-03-21 André Pönitz <poenitz@gmx.net>
5407
5408         * lyxtextclass.C: read 'environment' tag.
5409
5410 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5411
5412         * text2.C (removeRow): fix bug 964
5413
5414 2003-03-20  John Levon  <levon@movementarian.org>
5415
5416         * rowpainter.C:
5417         * text.C:
5418         * text2.C: paint cleanups. Inset::update() dropped font
5419         parameter
5420
5421 2003-03-19  John Levon  <levon@movementarian.org>
5422
5423         * lyxfunc.C: only fitcursor/markDirty if available()
5424
5425 2003-03-19  John Levon  <levon@movementarian.org>
5426
5427         * commandtags.h: rename to ...
5428
5429         * lfuns.h: ... this, and renumber / cleanup
5430
5431 2003-03-19  John Levon  <levon@movementarian.org>
5432
5433         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5434         fit the cursor after an lfun
5435
5436         * BufferView.h:
5437         * BufferView.C:
5438         * BufferView_pimpl.h:
5439         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5440
5441         * LyXAction.C: layout-character should have ReadOnly
5442
5443         * ParagraphParameters.C:
5444         * buffer.C:
5445         * bufferview_funcs.C:
5446         * lyx_cb.C:
5447         * lyxfind.C:
5448         * lyxtext.h:
5449         * text.C:
5450         * text2.C:
5451         * text3.C:
5452         * undo_funcs.C: changes from above
5453
5454 2003-03-18  John Levon  <levon@movementarian.org>
5455
5456         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5457         remove it from update()
5458
5459         * lyxfunc.C: update layout choice after an lfun
5460
5461         * text3.C: remove extra updateLayoutChoice()s
5462
5463 2003-03-18  John Levon  <levon@movementarian.org>
5464
5465         * text.C: top_y change means full repaint, fix
5466         a drawing bug with cursor movement
5467
5468 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5469
5470         * lyxtext.h:
5471         * text.C:
5472         * text2.C: anchor row on setCursor
5473
5474 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5475
5476         * lyxtext.h: remove almost all mutable keywords
5477         * text.C:
5478         * text2.C:
5479         * text3.C: remove const keywords accordingly
5480
5481 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5484         anon namespace
5485         (TeXEnvironment): ditto
5486         (TeXOnePar): ditto
5487
5488 2003-03-17  John Levon  <levon@movementarian.org>
5489
5490         * text.C (rowBreakPoint): remove attempt to fix displayed
5491         math insets inside a manual label
5492
5493 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * lyxtext.h: remove BufferView* as first arg from almost all class
5496         functions.
5497         * other files: adjust.
5498
5499 2003-03-17  John Levon  <levon@movementarian.org>
5500
5501         * lyxtext.h:
5502         * undo_funcs.C:
5503         * text2.C: more paint cleanups
5504
5505         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5506
5507         * rowpainter.h:
5508         * rowpainter.C: remove "smart" background painting code
5509
5510 2003-03-16  John Levon  <levon@movementarian.org>
5511
5512         * lyxtext.h:
5513         * text.C:
5514         * text2.C:
5515         * text3.C: add helper functions for setting refresh_row/y
5516
5517 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5518
5519         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5520         newline inset which *can* get inserted in the pass_thru layouts.
5521         This is primarily for literate documents.
5522
5523 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5524
5525         * buffer.C: increment LYX_FORMAT to 223
5526
5527 2003-03-14 André Pönitz <poenitz@gmx.net>
5528
5529         * textclass.h: prepare for environment handling, ws changes
5530         * lyxlayout.C: read latexheader and latexfooter tags
5531
5532 2003-03-14  John Levon  <levon@movementarian.org>
5533
5534         * text2.C: rewrite ::status() a bit
5535
5536 2003-03-13  John Levon  <levon@movementarian.org>
5537
5538         * lyxtext.h: add some docs
5539
5540 2003-03-13  John Levon  <levon@movementarian.org>
5541
5542         * lyxtext.h:
5543         * text.C:
5544         * text2.C:
5545         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5546
5547 2003-03-13  John Levon  <levon@movementarian.org>
5548
5549         * text3.C: fix appendix redrawing
5550
5551 2003-03-13  John Levon  <levon@movementarian.org>
5552
5553         * text.C (setHeightOfRow):
5554         * rowpainter.h:
5555         * rowpainter.C: make appendix mark have the text
5556           "Appendix" so the user knows what it is
5557
5558         * LColor.h:
5559         * LColor.C: s/appendixline/appendix/ from above
5560
5561 2003-03-13  John Levon  <levon@movementarian.org>
5562
5563         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5564
5565         * text.C: fix a getChar(pos) bug properly
5566
5567 2003-03-13  Angus Leeming  <leeming@lyx.org>
5568
5569         * commandtags.h:
5570         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5571         Probably only temporary. Let's see how things pan out.
5572
5573         * BufferView.C (unlockInset):
5574         * BufferView_pimpl.C (fitCursor):
5575         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5576
5577         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5578         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5579
5580         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5581         new functions that convert ParagraphParameters to and from a string.
5582
5583         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5584         BufferView::Pimpl's dispatch.
5585         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5586
5587 2003-03-13 André Pönitz <poenitz@gmx.net>
5588
5589         * lyxfunc.C:
5590         * text3.C:
5591         * factory.C: make it aware of InsetEnv
5592
5593 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * text2.C (setCursor): never ask for one past last
5596         (setCursor): add some debugging messages.
5597
5598         * text.C (singleWidth): never ask for one past last
5599         (singleWidth): ditto
5600         (leftMargin): ditto
5601         (rightMargin): ditto
5602         (rowBreakPoint): ditto
5603         (setHeightOfRow): ditto
5604         (prepareToPrint): ditto
5605
5606         * rowpainter.C (paintBackground): never ask for one past last
5607         (paintText): never ask for one past last
5608
5609         * paragraph_pimpl.C (getChar): make the assert stricter, never
5610         allow the one past last pos to be taken
5611
5612         * paragraph.C (getChar): ws changes only
5613
5614         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5615         (numberOfSeparators): ditto
5616         (numberOfHfills): ditto
5617
5618 2003-03-12  John Levon  <levon@movementarian.org>
5619
5620         * author.h:
5621         * author.C:
5622         * bufferparams.h:
5623         * bufferparams.C:
5624         * paragraph_funcs.C: fix per-buffer authorlists
5625
5626 2003-03-12  John Levon  <levon@movementarian.org>
5627
5628         * text.C: fix newline in right address
5629
5630 2003-03-12  Angus Leeming  <leeming@lyx.org>
5631
5632         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5633         duplicate those in LyXFunc::dispatch.
5634
5635         * commandtags.h:
5636         * LyXAction.C:
5637         * ToolbarDefaults.C:
5638         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5639         Add LFUN_FONTFREE_UPDATE.
5640
5641         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5642         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5643
5644         * bufferview_func.[Ch]: several new functions to facilliate
5645         transfer of data to and from the character dialog.
5646
5647 2003-03-12  John Levon  <levon@movementarian.org>
5648
5649         * buffer.C:
5650         * paragraph.h:
5651         * paragraph.C:
5652         * paragraph_funcs.C:
5653         * paragraph_pimpl.C:
5654         * sgml.C:
5655         * tabular.C:
5656         * text.C:
5657         * text3.C: remove META_NEWLINE in favour of an inset
5658
5659         * rowpainter.h:
5660         * rowpainter.C: remove paintNewline (done by inset)
5661
5662 2003-03-12  John Levon  <levon@movementarian.org>
5663
5664         * paragraph_pimpl.C: complain about bad getChar()s
5665         for a while at least
5666
5667 2003-03-12  John Levon  <levon@movementarian.org>
5668
5669         * buffer.h:
5670         * buffer.C: move paragraph read into a separate function,
5671         a little renaming to reflect that.
5672
5673         * bufferparams.h:
5674         * bufferparams.C: remove the author_ids map, not necessary now
5675
5676         * factory.h:
5677         * factory.C: moved Buffer::readInset to here
5678
5679         * paragraph_funcs.h:
5680         * paragraph_funcs.C: readParagraph free function moved from
5681         buffer.C
5682
5683         * tabular.C: name change
5684
5685 2003-03-12  John Levon  <levon@movementarian.org>
5686
5687         * buffer.C:
5688         * ParagraphParameters.C: move par params input to
5689         a read() method
5690
5691         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5692         behave like a normal read from the stream wrt reading
5693         a line vs. a \\token
5694
5695 2003-03-12  John Levon  <levon@movementarian.org>
5696
5697         * paragraph.C:
5698         * ParagraphParameters.h:
5699         * ParagraphParameters.C: move output code to a
5700         ::write() method
5701
5702 2003-03-12  John Levon  <levon@movementarian.org>
5703
5704         * BufferView.C (insertLyXFile):
5705         * buffer.h:
5706         * buffer.C:
5707         * tabular.C: use a parlist iterator for creating the
5708           document.
5709
5710 2003-03-12  John Levon  <levon@movementarian.org>
5711
5712         * buffer.C: make current_change static local not
5713           static file-scope
5714
5715 2003-03-12  John Levon  <levon@movementarian.org>
5716
5717         * buffer.C: fix insertStringAsLines for change tracking
5718
5719 2003-03-12  John Levon  <levon@movementarian.org>
5720
5721         * BufferView.C:
5722         * tabular.C:
5723         * buffer.h:
5724         * buffer.C:
5725         * bufferparams.h:
5726         * bufferparams.C: move author list into params. Rename some
5727           functions. Move the header reading into a separate token
5728           loop. Move the header token reading into BufferParams.
5729
5730 2003-03-12  John Levon  <levon@movementarian.org>
5731
5732         * changes.C: put debug inside lyxerr.debugging() checks
5733
5734 2003-03-11 André Pönitz <poenitz@gmx.net>
5735
5736         * factory.C: make it aware of InsetHFill
5737
5738 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5739
5740         * buffer.C (latexParagraphs): move function from here...
5741         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5742         args.
5743
5744 2003-03-10  Angus Leeming  <leeming@lyx.org>
5745
5746         * LyXAction.C (init): fix bug in poplating array with multiple entries
5747         with the same LFUN (spotted by JMarc).
5748
5749 2003-03-10  John Levon  <levon@movementarian.org>
5750
5751         * text.C:
5752         * text2.C: move getColumnNearX() near its
5753         only call site
5754
5755 2003-03-10  John Levon  <levon@movementarian.org>
5756
5757         * text.C: fix break before a minipage
5758
5759 2003-03-10  John Levon  <levon@movementarian.org>
5760
5761         * text.C: fix the last commit
5762
5763 2003-03-09  John Levon  <levon@movementarian.org>
5764
5765         * lyxtext.h:
5766         * text.C:
5767         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5768         bug 365 (don't break before insets unless needed). Don't
5769         return a value > last under any circumstances.
5770
5771 2003-03-09  Angus Leeming  <leeming@lyx.org>
5772
5773         * BufferView_pimpl.C (trackChanges, dispatch): call
5774         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5775
5776 2003-03-09  Angus Leeming  <leeming@lyx.org>
5777
5778         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5779         than Dialogs::showAboutlyx().
5780
5781 2003-03-09  Angus Leeming  <leeming@lyx.org>
5782
5783         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5784         than Dialogs::showTabularCreate().
5785
5786 2003-03-09  John Levon  <levon@movementarian.org>
5787
5788         * lyxtext.h:
5789         * text.C:
5790         * text2.C: 3rd arg to nextBreakPoint was always the same.
5791           Use references.
5792
5793 2003-03-08  John Levon  <levon@movementarian.org>
5794
5795         * lyxrow.C:
5796         * paragraph.C:
5797         * paragraph.h:
5798         * rowpainter.C:
5799         * text.C:
5800         * text2.C: Remove the "main" bit from the "main body"
5801           notion.
5802
5803 2003-03-08  John Levon  <levon@movementarian.org>
5804
5805         * text.C (leftMargin): The left margin of an empty
5806         manual label paragraph should not include the label width
5807         string length.
5808
5809         * text.C (prepareToPrint): don't attempt to measure hfills
5810         for empty manual label paragraphs - the answer should be 0
5811
5812 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * CutAndPaste.C: remove commented code and reindent.
5815
5816 2003-03-08  John Levon  <levon@movementarian.org>
5817
5818         * lyxfunc.h:
5819         * lyxfunc.C: move reloadBuffer()
5820
5821         * BufferView.h:
5822         * BufferView.C: to here
5823
5824         * lyxvc.C: add comment
5825
5826         * vc-backend.h:
5827         * vc-backend.C: call bv->reload() to avoid
5828           getStatus() check on MENURELOAD
5829
5830 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5831
5832         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5833         to an old format .dep file.
5834
5835 2003-03-07  Angus Leeming  <leeming@lyx.org>
5836
5837         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5838         when the LFUN_MOUSE_RELEASE should have been handled by
5839         inset->localDispatch.
5840
5841 2003-03-07  Angus Leeming  <leeming@lyx.org>
5842
5843         * BufferView_pimpl.C (dispatch):
5844         * LyXAction.C (init):
5845         * ToolbarDefaults.C (init):
5846         * commandtags.h:
5847         * lyxfunc.C (getStatus):
5848         remove LFUN_INSET_GRAPHICS.
5849
5850         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5851
5852 2003-03-07  Angus Leeming  <leeming@lyx.org>
5853
5854         * commandtags.h:
5855         * LyXAction.C (init):
5856         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5857
5858         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5859
5860         * commandtags.h:
5861         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5862
5863         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5864         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5865
5866 2003-03-07  Angus Leeming  <leeming@lyx.org>
5867
5868         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5869         remove "ert".
5870
5871 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * ParagraphList.C (front): new function
5874         (back): implement
5875
5876 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5877
5878         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5879         and top_row_offset_. removed var first_y.
5880         * text.C (top_y):
5881         * text2.C (LyXText, removeRow):
5882         * text3.C:
5883         * BufferView_pimpl.C:
5884         use these methods instead of using first_y
5885
5886 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * text2.C (pasteSelection): adjust for checkPastePossible
5889
5890         * CutAndPaste.C: remove Paragraph * buf and replace with
5891         ParagraphList paragraphs.
5892         (DeleteBuffer): delete
5893         (cutSelection): change the tc type to textclass_type
5894         (copySelection): change the tc type to textclass_type
5895         (copySelection): adjust for ParagraphList
5896         (pasteSelection): change the tc type to textclass_type
5897         (pasteSelection): adjust for Paragraphlist
5898         (nrOfParagraphs): simplify for ParagraphList
5899         (checkPastePossible): simplify for ParagraphList
5900         (checkPastePossible): remove unused arg
5901
5902         * ParagraphList.C (insert): handle the case where there are no
5903         paragraphs yet.
5904
5905         * CutAndPaste.h: make CutAndPaste a namespace.
5906
5907         * text3.C (dispatch): adjust
5908
5909         * text.C (breakParagraph): add a ParagraphList as arg
5910
5911         * paragraph_funcs.C (breakParagraph): change to take a
5912         BufferParams and a ParagraphList as args.
5913         (breakParagraphConservative): ditto
5914         (mergeParagraph): ditto
5915         (TeXDeeper): add a ParagraphList arg
5916         (TeXEnvironment): ditto
5917         (TeXOnePar): ditto
5918
5919         * buffer.C (readLyXformat2): adjust
5920         (insertStringAsLines): adjust
5921         (latexParagraphs): adjust
5922
5923         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5924         (cutSelection): adjust
5925         (pasteSelection): adjust
5926
5927         * BufferView_pimpl.C (insertInset): adjust
5928
5929 2003-03-05  Angus Leeming  <leeming@lyx.org>
5930
5931         * commandtags.h:
5932         * LyXAction.C (init):
5933         * BufferView_pimpl.C (dispatch):
5934         * lyxfunc.C (getStatus):
5935         remove LFUN_CHILD_INSERT.
5936
5937         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5938
5939 2003-03-05  Angus Leeming  <leeming@lyx.org>
5940
5941         * commandtags.h:
5942         * LyXAction.C (init):
5943         * src/factory.C (createInset):
5944         * lyxfunc.C (getStatus):
5945         * text3.C (dispatch):
5946         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5947
5948         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5949
5950 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * ParagraphList.C (insert): handle insert right before end()
5953         (erase): fix cases where it can be first or last paragraph.
5954
5955 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5956
5957         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5958         Paragraph::next and Paragraph::previous
5959         (TeXOnePar): ditto
5960
5961         * text.C (breakParagraph): adjust
5962
5963         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5964         BufferParams& as arg.
5965         (breakParagraph): use ParagraphList::insert
5966         (breakParagraphConservative): take a Buffer* instead of a
5967         BufferParams& as arg.
5968         (breakParagraphConservative): use ParagraphList::insert.
5969
5970         * buffer.C (insertStringAsLines): un-const it
5971         (insertStringAsLines): adjust
5972
5973         * ParagraphList.C (insert): new function
5974
5975         * CutAndPaste.C (pasteSelection): adjust
5976
5977         * text.C (backspace): adjust
5978
5979         * tabular.C (SetMultiColumn): adjust
5980
5981         * CutAndPaste.C (cutSelection): adjust
5982         (pasteSelection): adjust
5983
5984         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5985         Buffer const * as arg
5986
5987         * ParagraphList.C (erase): new function
5988         * paragraph_funcs.C (mergeParagraph): use it
5989         (mergeParagraph): make it take a Buffer* instead of a
5990         BufferParams* as arg
5991
5992         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5993         as arg
5994         (breakParagraphConservative): ditto
5995
5996         * paragraph.h: remove the breakParagraph friend
5997
5998         * paragraph.C (eraseIntern): new function
5999         (setChange): new function
6000
6001         * paragraph_funcs.C (mergeParagraph): make it take a
6002         ParagraphList::iterator instead of a Paragraph *, adjust
6003         accordingly.
6004
6005         * paragraph.h: move an #endif so that the change tracking stuff
6006         also works in the NO_NEXT case.
6007
6008 2003-03-04  Angus Leeming  <leeming@lyx.org>
6009
6010         * commandtags.h:
6011         * LyXAction.C: new LFUN_INSET_MODIFY.
6012
6013         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6014         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6015
6016 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * several files: ws changes only
6019
6020         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6021         (TeXEnvironment): ditto
6022         (TeXDeeper): ditto
6023
6024         * buffer.C (makeLaTeXFile): adjust
6025         (latexParagraphs): make it take ParagraphList::iterator as args
6026
6027 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * buffer.C (latexParagraphs): adjust
6030
6031         * paragraph.C (TeXOnePar): move function...
6032         (optArgInset): move function...
6033         (TeXEnvironment): move function...
6034         * paragraph_pimpl.C (TeXDeeper): move function...
6035         * paragraph_funcs.C: ...here
6036
6037         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6038
6039 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * buffer.C (readInset): remove compability code for old Figure and
6042         InsetInfo insets
6043
6044 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * buffer.C: ws changes
6047         (readInset):
6048
6049         * BufferView_pimpl.C: ditto
6050         * author.C: ditto
6051         * buffer.h: ditto
6052         * bufferlist.h: ditto
6053         * changes.h: ditto
6054         * lyxfunc.C: ditto
6055
6056 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6057
6058         * converter.[Ch]: split into itself +
6059         * graph.[Ch]
6060         * format.[Ch]
6061         * Makefile.am: += graph.[Ch] + format.[Ch]
6062         * MenuBackend.C
6063         * buffer.C
6064         * exporter.C
6065         * importer.C
6066         * lyx_main.C
6067         * lyxfunc.C
6068         * lyxrc.C: added #include "format.h"
6069
6070 2003-02-27  Angus Leeming  <leeming@lyx.org>
6071
6072         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6073           a label.
6074
6075         * factory.C (createInset): add "label" to the factory.
6076
6077         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6078           string and do no more.
6079
6080 2003-02-27  Angus Leeming  <leeming@lyx.org>
6081
6082         * commandtags.h:
6083         * LyXAction.C (init):
6084         * factory.C (createInset):
6085         * BufferView_pimpl.C (dispatch):
6086           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6087
6088         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6089
6090         * lyxfunc.C (dispatch):
6091         * text3.C (dispatch): pass name to params2string.
6092
6093 2003-02-26  Angus Leeming  <leeming@lyx.org>
6094
6095         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6096           blocks together.
6097           Rearrange the ~includes. Strip out the unnecessary ones.
6098
6099         * factory.C (createInset): reformat.
6100           create new insets for the various LFUN_XYZ_APPLY lfuns.
6101
6102 2003-02-26  John Levon  <levon@movementarian.org>
6103
6104         * lyxrow.h:
6105         * lyxrow.C: add isParStart,isParEnd helpers
6106
6107         * paragraph.h: make isInserted/DeletedText take refs
6108
6109         * paragraph_funcs.h:
6110         * paragraph_funcs.C: remove #if 0'd code
6111
6112         * lyxtext.h:
6113         * text3.C:
6114         * text2.C:
6115         * text.C: use lyxrow helpers above.
6116           Move draw and paint routines to RowPainter.
6117           Make several methods use refs not pointers.
6118           Make backgroundColor() const.
6119           Add markChangeInDraw(), isInInset().
6120           Merge changeRegionCase into changeCase.
6121           Make workWidth() shouldn't-happen code into an Assert.
6122
6123         * rowpainter.h:
6124         * rowpainter.C: new class for painting a row.
6125
6126         * vspace.h:
6127         * vspace.C: make inPixels take a ref
6128
6129 2003-02-26  Angus Leeming  <leeming@lyx.org>
6130
6131         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6132         LFUN_REF_APPLY.
6133
6134 2003-02-25  John Levon  <levon@movementarian.org>
6135
6136         * ispell.C: give the forked command a more accurate name
6137
6138 2003-02-22  John Levon  <levon@movementarian.org>
6139
6140         * toc.h:
6141         * toc.C: make TocItem store an id not a Paragraph *
6142           (bug #913)
6143
6144 2003-02-21  Angus Leeming  <leeming@lyx.org>
6145
6146         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6147           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6148           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6149           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6150           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6151           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6152
6153         * BufferView_pimpl.C (dispatch):
6154         * LyXAction.C (init):
6155         * factory.C (createInset):
6156         * lyxfunc.C (getStatus, dispatch):
6157         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6158
6159 2003-02-21  Angus Leeming  <leeming@lyx.org>
6160
6161         * BufferView_pimpl.C (MenuInsertLyXFile):
6162         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6163         * lyxfunc.C (menuNew, open, doImport):
6164           no longer pass a LyXView & to fileDlg.
6165
6166 2003-02-21  Angus Leeming  <leeming@lyx.org>
6167
6168         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6169         * LyXAction.C: change, BIBKEY to BIBITEM.
6170         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6171         Change InsetBibKey to InsetBibitem.
6172         Change BIBKEY_CODE to BIBITEM_CODE.
6173         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6174         * factory.C: replace insetbib.h with insetbibitem.h.
6175         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6176         * paragraph.C: replace insetbib.h with insetbibitem.h.
6177         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6178         Change bibkey() to bibitem().
6179         * text.C: remove insetbib.h.
6180         * text2.C: replace insetbib.h with insetbibitem.h.
6181         change bibkey() to bibitem().
6182         * text3.C: remove insetbib.h.
6183         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6184
6185 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6186
6187         * lyxrc.C (output): enclose user email in quotes (in case there are
6188         several words)
6189
6190 2003-02-18  John Levon  <levon@movementarian.org>
6191
6192         * buffer.h: add std::
6193
6194 2003-02-17  John Levon  <levon@movementarian.org>
6195
6196         * SpellBase.h:
6197         * ispell.h:
6198         * ispell.C:
6199         * pspell.h:
6200         * pspell.C: reworking. Especially in ispell, a large
6201           number of clean ups and bug fixes.
6202
6203         * lyxfunc.C: fix revert to behave sensibly
6204
6205 2003-02-17 André Pönitz <poenitz@gmx.net>
6206
6207         * LyXAction.C:
6208         * commandtags.h: new LFUN_INSERT_BIBKEY
6209
6210         * layout.h:
6211         * lyxlayout.C:
6212         * buffer.C:
6213         * factory.C:
6214         * text.C:
6215         * text2.C:
6216         * text3.C:
6217         * paragraph.[Ch]:
6218         * paragraph_func.C: remove special bibkey handling
6219
6220 2003-02-17  John Levon  <levon@movementarian.org>
6221
6222         * text.C (Delete): fix case where delete at the end of
6223           the very first paragraph would not merge the pars
6224
6225 2003-02-17  John Levon  <levon@movementarian.org>
6226
6227         * lyxrow.C: fix lastPrintablePos()
6228
6229 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6230
6231         * bufferparams.C (writeLaTeX): add a std:here
6232
6233         * buffer.C: and remove a using directive there
6234
6235 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6236
6237         * buffer.C (makeLaTeXFile): move the code that generates the
6238           preamble...
6239
6240         * bufferparams.C (writeLaTeX): ... in this new method
6241
6242         * LaTeXFeatures.C (getEncodingSet): make const
6243           (getLanguages): make const
6244
6245         * MenuBackend.C (binding): returns the binding associated to this
6246           action
6247           (add): sets the status of each item by calling getStatus. Adds
6248           some intelligence.
6249           (read): add support for OptSubMenu
6250           (expand): remove extra separator at the end of expanded menu
6251
6252 2003-02-15  John Levon  <levon@movementarian.org>
6253
6254         * BufferView.C:
6255         * BufferView_pimpl.C:
6256         * bufferlist.h:
6257         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6258           inset code that had no actual effect. Remove unneeded status
6259           code.
6260
6261 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6262
6263         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6264           in preamble
6265
6266 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6267
6268         * text.C (drawLengthMarker): also draw an arrow marker for
6269           symbolic lengths (medskip...)
6270
6271 2003-02-14  John Levon  <levon@movementarian.org>
6272
6273         * tabular.h:
6274         * tabular.C: better method names
6275
6276 2003-02-14  John Levon  <levon@movementarian.org>
6277
6278         * BufferView_pimpl.C:
6279         * bufferlist.C:
6280         * buffer.C:
6281         * converter.C:
6282         * lyx_cb.C:
6283         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6284           it's a more accurate name. Remove some pointless uses.
6285
6286 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6287
6288         * text2.C (LyXText): change order of initilizers to shut off
6289           warnings
6290
6291 2003-02-14  John Levon  <levon@movementarian.org>
6292
6293         * buffer.C: use ParIterator for getParFromID()
6294
6295         * paragraph.h:
6296         * paragraph.C:
6297         * paragraph_pimpl.h:
6298         * paragraph_pimpl.C: remove unused getParFromID()
6299
6300 2003-02-14  John Levon  <levon@movementarian.org>
6301
6302         * buffer.C: remove some very old #if 0'd parse code
6303
6304 2003-02-13  John Levon  <levon@movementarian.org>
6305
6306         * text.h:
6307         * text.C:
6308         * text2.C: move hfillExpansion(), numberOfSeparators(),
6309           rowLast(), rowLastPrintable(), numberofHfills(),
6310           numberOfLabelHfills() ...
6311
6312         * lyxrow.h:
6313         * lyxrow.C: ... to member functions here.
6314
6315         * paragraph.h:
6316         * paragraph.C:
6317         * lyxtext.h:
6318         * text.C: remove LyXText::beginningOfMainBody(), and call
6319           p->beginningOfMainBody() directly. Move the check for
6320           LABEL_MANUAL into the latter.
6321
6322         * text.h:
6323         * text.C:
6324         * text2.C:
6325         * vspace.C:
6326         * BufferView.h:
6327         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6328
6329         * text.h:
6330         * text.C:
6331         * text2.C:
6332         * text3.C:
6333         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6334           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6335
6336 2003-02-13  John Levon  <levon@movementarian.org>
6337
6338         * CutAndPaste.C: remove debug
6339
6340 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6341
6342         * paragraph.C (asString): remove two unused variables
6343
6344         * lyxtextclass.C (readTitleType):
6345           (Read):
6346           (LyXTextClass): handle new members titletype_ and titlename_
6347
6348         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6349
6350 2003-02-09  John Levon  <levon@movementarian.org>
6351
6352         * buffer.h:
6353         * buffer.C: replace hand-coded list with a map for the dep clean
6354
6355 2003-02-08  John Levon  <levon@movementarian.org>
6356
6357         * LaTeX.C: consolidate code into showRunMessage() helper
6358
6359 2003-02-08  John Levon  <levon@movementarian.org>
6360
6361         * lyxfind.C:
6362         * lyxtext.h:
6363         * text2.C:
6364         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6365           and pass the size in explicitly
6366
6367         * BufferView_pimpl.h:
6368         * BufferView_pimpl.C:
6369         * BufferView.h:
6370         * BufferView.C: add getCurrentChange()
6371
6372         * BufferView_pimpl.h:
6373         * BufferView_pimpl.C: handle change lfuns
6374
6375         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6376           for changes. Mark pasted paragraphs as new.
6377
6378         * support/lyxtime.h:
6379         * support/lyxtime.C:
6380         * DepTable.C: abstract time_t as lyx::time_type
6381
6382         * LColor.h:
6383         * LColor.C: add colours for new text, deleted text, changebars
6384
6385         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6386           package use "usenames" option.
6387
6388         * commandtags.h:
6389         * lyxfunc.C:
6390         * LyXAction.C: add change lfuns
6391
6392         * Makefile.am:
6393         * author.h:
6394         * author.C: author handling
6395
6396         * buffer.h:
6397         * buffer.C: add a per-buffer author list, with first entry as
6398           current author. Handle new .lyx tokens for change tracking. Output
6399           author list to .lyx file. Output dvipost stuff to .tex preamble.
6400           Bump lyx format to 222.
6401
6402         * bufferlist.h:
6403         * bufferlist.C: add setCurrentAuthor() to reset current author details
6404           in all buffers.
6405
6406         * bufferparams.h:
6407         * bufferparams.C: add param for tracking
6408
6409         * bufferview_funcs.C: output change info in minibuffer
6410
6411         * Makefile.am:
6412         * changes.h:
6413         * changes.C: add change-tracking structure
6414
6415         * debug.h:
6416         * debug.C: add CHANGES debug flag
6417
6418         * lyxfind.h:
6419         * lyxfind.C: add code for finding the next change piece
6420
6421         * lyxrc.h:
6422         * lyxrc.C: add user_name and user_email
6423
6424         * lyxrow.h:
6425         * lyxrow.C: add a metric for the top of the text line
6426
6427         * lyxtext.h:
6428         * text.C: implement accept/rejectChange()
6429
6430         * lyxtext.h:
6431         * text.C: paint changebars. Paint new/deleted text in the chosen
6432         colours. Strike through deleted text.
6433
6434         * paragraph.h:
6435         * paragraph.C:
6436         * paragraph_pimpl.h:
6437         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6438           in the current change to the insert functions. Rework erase to
6439           mark text as deleted, adding an eraseIntern() and a range-based
6440           erase(). Implement per-paragraph change lookup and
6441           accept/reject.
6442
6443         * paragraph_funcs.C: Fixup paste for change tracking.
6444
6445         * tabular.C: mark added row/columns as new.
6446
6447         * text.C: fix rowLast() to never return -1. Don't allow
6448           spellchecking of deleted text. Track transpose changes. Don't
6449           allow paragraph break or merge where appropriate.
6450
6451         * text2.C: leave cursor at end of selection after a cut.
6452
6453 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6454
6455         * text.C (getLengthMarkerHeight):
6456         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6457         visible on screen too.
6458
6459 2003-02-07  John Levon  <levon@movementarian.org>
6460
6461         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6462
6463 2003-02-05  Angus Leeming  <leeming@lyx.org>
6464
6465         * lyxserver.C (read_ready): revert my patch of 11 September last year
6466         as it sends PC cpu through the roof. Presumably this means that
6467         the lyxserver will no longer run on an Alpha...
6468
6469 2003-01-30  Angus Leeming  <leeming@lyx.org>
6470
6471         * factory.C (createInset): create an InsetCommandParam of type "index"
6472         and use it to 'do the right thing'.
6473
6474         * text2.C (getStringToIndex): ensure that cursor position is always
6475         reset to the reset_cursor position.
6476
6477 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6478
6479         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6480         disabled.
6481
6482 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6483
6484         * bufferview.C:
6485         * lyxcb.C:
6486         * lyxfunc.C: Output messages with identical spelling, punctuation,
6487         and spaces
6488
6489 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6490
6491         * MenuBackend.C (expandFormats): List only viewable export formats
6492         in "View" menu
6493
6494         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6495         message
6496
6497         * lyxfunc.C (getStatus): Make sure that formats other than
6498         "fax" can also be disabled
6499
6500 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6501
6502         * text3.C (dispatch): put the lfuns that insert insets in 3
6503         groups, and call doInsertInset with appropriate arguments.
6504         (doInsertInset): new function, that creates an inset and inserts
6505         it according to some boolean parameters.
6506
6507 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * buffer.C (readFile): remember to pass on 'par' when calling
6510         readFile recursively.
6511
6512 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6513
6514         * MenuBackend.C (expandFormats): add "..." to import formats.
6515
6516 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6517
6518         * paragraph.C (asString): Remove XForms RTL hacks.
6519
6520 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6521         * buffer.C: fix typo
6522
6523 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * Makefile.am (LIBS): delete var
6526         (lyx_LDADD): add @LIBS@ here instead.
6527
6528 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6529
6530         * Clarify the meaning of "wheel mouse jump"
6531
6532 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6533
6534         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6535         tabular in a float
6536
6537 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6538
6539         * importer.C (Loaders): do not preallocate 3 elements in the
6540         vector, since one ends up with 6 elements otherwise
6541
6542 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6543
6544         * DepTable.C (write): write the file name as last element of the
6545         .dep file (because it may contain spaces)
6546         (read): read info in the right order
6547
6548 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6549
6550         * paragraph_pimpl.C (simpleTeXBlanks):
6551         (simpleTeXSpecialChars):
6552         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6553
6554         * tabular.C (latex): add some missing case statements. Reindent.
6555
6556         * MenuBackend.C (expandToc): remove unused variable.
6557
6558 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6559
6560         * LColor.C:
6561         * LaTeX.C:
6562         * LyXAction.C:
6563         * MenuBackend.C:
6564         * buffer.C:
6565         * exporter.C:
6566         * lyxfunc.C:
6567         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6568         and the like.
6569
6570 2003-01-05  John Levon  <levon@movementarian.org>
6571
6572         * BufferView.h:
6573         * BufferView.C: add getEncoding()
6574
6575         * kbsequence.h:
6576         * kbsequence.C: do not store last keypress
6577
6578         * lyxfunc.h:
6579         * lyxfunc.C: store last keypress here instead. Pass encoding
6580           to getISOEncoded()
6581
6582 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6583
6584         * lyx_main.C (init): remove annoying error message when following
6585         symbolic links (bug #780)
6586
6587 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6588
6589         * text.C (insertChar):
6590         * lyxrc.C (getDescription): remove extra spaces
6591
6592 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6593
6594         * lyxrc.C (getDescription): remove extra spaces
6595
6596 2002-12-20  John Levon  <levon@movementarian.org>
6597
6598         * text3.C: hack fix for page up/down across tall rows
6599
6600 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6601
6602         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6603         not been invoked
6604
6605 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6606
6607         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6608         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6609         thesaurus is not compiled in
6610
6611 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6612
6613         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6614
6615 2002-12-16  Angus Leeming  <leeming@lyx.org>
6616
6617         * lyxrc.[Ch]:
6618         * lyx_main.C (init): remove override_x_deadkeys stuff.
6619
6620 2002-12-12  John Levon  <levon@movementarian.org>
6621
6622         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6623           insert. Only remove shift modifier under strict
6624           circumstances.
6625
6626 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * MenuBackend.C (expandToc): fix crash.
6629
6630 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * MenuBackend.C (expandToc): gettext on float names.
6633
6634 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6635
6636         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6637         implement bool empty() [bug 490]
6638
6639 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6642
6643 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * several files: ws changes
6646
6647 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * text2.C (setCounter): clean up a bit, use boost.format.
6650         (updateCounters): initialize par upon declaration.
6651
6652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6653         if the layout exists. We do not just store the layout any more.
6654         (SwitchLayoutsBetweenClasses): use boost.format
6655
6656 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6657
6658         * converter.C (convert): if from and to files are the same, use a
6659         temporary files as intermediary
6660
6661 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6662
6663         * commandtags.h:
6664         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6665
6666 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6667
6668         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6669
6670 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * tabular.C (asciiPrintCell): use string(size, char) instead of
6673         explicit loop.
6674
6675         * sgml.C (openTag): fix order of arguments to string constructor
6676         (closeTag): ditto
6677
6678         * lyxfunc.C (dispatch): use boost.format
6679
6680         * lots of files: change "c" -> 'c'
6681
6682 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6683
6684         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6685
6686 2002-11-25  Angus Leeming  <leeming@lyx.org>
6687
6688         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6689
6690         * lyx_main.C (init): compile fix.
6691
6692 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * lyx_cb.C (start): boost.formatify
6695         do not include <iostream>
6696
6697         * lengthcommon.C: ws only
6698
6699         * boost-inst.C,BoostFormat.h: add more explict instantations
6700
6701 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * lots of files: handle USE_BOOST_FORMAT
6704
6705 2002-11-21  John Levon  <levon@movementarian.org>
6706
6707         * pspell.C: fix compile
6708
6709 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6710
6711         * lyxfunc.C (dispatch): use boost::format
6712         (open): ditto
6713         (doImport): ditto
6714
6715         * lyxfont.C (stateText): use boost::format
6716
6717         * lyx_main.C (LyX): use boost::format
6718         (init): ditto
6719         (queryUserLyXDir): ditto
6720         (readRcFile): ditto
6721         (parse_dbg): ditto
6722         (typedef boost::function): use the recommened syntax.
6723
6724         * importer.C (Import): use boost::format
6725
6726         * debug.C (showLevel): use boost::format
6727
6728         * converter.C (view): use boost::format
6729         (convert): ditto
6730         (move): ditto
6731         (scanLog): ditto
6732
6733         * bufferview_funcs.C (currentState): use boost::format
6734
6735         * bufferlist.C (emergencyWrite): use boost::format
6736
6737         * buffer.C (readLyXformat2): use boost::format
6738         (parseSingleLyXformat2Token): ditto
6739
6740         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6741
6742         * LaTeX.C (run): use boost::format
6743
6744         * Chktex.C (scanLogFile): use boost::format
6745
6746         * BufferView_pimpl.C (savePosition): use boost::format
6747         (restorePosition): ditto
6748         (MenuInsertLyXFile): ditto
6749
6750         * BoostFormat.h: help file for explicit instation.
6751
6752 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6753
6754         * tabular.C (latex): Support for block alignment in fixed width
6755         columns.
6756
6757 2002-11-17  John Levon  <levon@movementarian.org>
6758
6759         * BufferView_pimpl.C:
6760         * lyx_cb.C:
6761         * lyxfunc.C: split filedialog into open/save
6762
6763 2002-11-08  Juergen Vigna  <jug@sad.it>
6764
6765         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6766         by my last patch (hopefully).
6767
6768 2002-11-08  John Levon  <levon@movementarian.org>
6769
6770         * iterators.h:
6771         * iterators.C:
6772         * buffer.h:
6773         * buffer.C:
6774         * paragraph.h:
6775         * paragraph.C:
6776         * toc.h:
6777         * toc.C: ParConstIterator, and use it (from Lars)
6778
6779 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6780
6781         * lyxtextclass.[Ch]: revise and add doxygen comments
6782
6783 2002-11-07  John Levon  <levon@movementarian.org>
6784
6785         * text.C: fix progress value for spellchecker
6786
6787         * toc.C: fix navigate menu for insetwrap inside minipage
6788
6789         * paragraph_funcs.C: added FIXME for suspect code
6790
6791 2002-11-07  John Levon  <levon@movementarian.org>
6792
6793         * BufferView_pimpl.C: fix redrawing of insets
6794           on buffer switch
6795
6796 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6797
6798         * text2.C (updateCounters): fix bug 668
6799
6800 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6801
6802         * text3.C (dispatch): Do not make the buffer dirty when moving the
6803         cursor.
6804
6805 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * vc-backend.C: STRCONV
6808         (scanMaster): ditto
6809
6810         * text2.C (setCounter): STRCONV
6811
6812         * paragraph.C (asString): STRCONV
6813
6814         * lyxlength.C (asString): STRCONV
6815         (asLatexString): ditto
6816
6817         * lyxgluelength.C (asString): STRCONV
6818         (asLatexString): ditto
6819
6820         * lyxfunc.C (dispatch): STRCONV
6821         (open): ditto
6822
6823         * lyxfont.C (stateText): STRCONV
6824
6825         * importer.C (Import): STRCONV
6826
6827         * counters.C (labelItem): STRCONV
6828         (numberLabel): ditto
6829         (numberLabel): remove unused ostringstream o
6830
6831         * chset.C: STRCONV
6832         (loadFile): ditto
6833
6834         * bufferview_funcs.C (currentState): STRCONV
6835
6836         * buffer.C (readFile): STRCONV
6837         (asciiParagraph): ditto
6838         (makeLaTeXFile): ditto
6839
6840         * Spacing.C (writeEnvirBegin): STRCONV
6841
6842         * LaTeXFeatures.C (getLanguages): STRCONV
6843         (getPackages): ditto
6844         (getMacros): ditto
6845         (getBabelOptions): ditto
6846         (getTClassPreamble): ditto
6847         (getLyXSGMLEntities): ditto
6848         (getIncludedFiles): ditto
6849
6850         * LaTeX.C: STRCONV
6851         (run): ditto
6852         (scanAuxFile): ditto
6853         (deplog): ditto
6854
6855         * LString.h: add the STRCONV macros
6856
6857         * BufferView_pimpl.C (savePosition): STRCONV
6858         (restorePosition): ditto
6859         (MenuInsertLyXFile): ditto
6860
6861         * vc-backend.C (scanMaster): change from submatch[...] to
6862         submatch.str(...)
6863
6864         * funcrequest.C: include config.h
6865
6866         * factory.C: include config.h
6867
6868         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6869
6870         * box.C: include config.h
6871
6872         * LaTeX.C (scanAuxFile): change from submatch[...] to
6873         submatch.str(...)
6874         (deplog): ditto
6875
6876 2002-10-25  Angus Leeming  <leeming@lyx.org>
6877
6878         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6879
6880         * ispell.[Ch] (setError): new method.
6881         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6882         Use setError() insetead of goto END.
6883
6884         * lyx_cb.C (AutoSave): move out child process into new class
6885         AutoSaveBuffer.
6886
6887 2002-10-30  John Levon  <levon@movementarian.org>
6888
6889         * text3.C: make start appendix undoable
6890
6891 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6892
6893         * lyxlength.C (inPixels): Fix returned value.
6894
6895         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6896         environment.
6897
6898 2002-10-24  Angus Leeming  <leeming@lyx.org>
6899
6900         * lyxgluelength.h: no need to forward declare BufferParams
6901         or BufferView, so don't.
6902
6903 2002-10-21  John Levon  <levon@movementarian.org>
6904
6905         * BufferView.C: menuUndo ->undo, redo
6906
6907         * BufferView.h: document, remove dead, make some methods private
6908
6909         * paragraph_funcs.h:
6910         * paragraph_funcs.C:
6911         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6912
6913         * buffer.h:
6914         * buffer.C:
6915         * sgml.h:
6916         * sgml.C: move sgml open/close tag into sgml.C
6917
6918         * bufferview_funcs.h: unused prototype
6919
6920         * lyxfunc.h:
6921         * lyxfunc.C: remove unused
6922
6923         * lyxtext.h:
6924         * text.C: remove unused
6925
6926 2002-10-21  John Levon  <levon@movementarian.org>
6927
6928         * BufferView.h:
6929         * BufferView.C:
6930         * BufferView_pimpl.h:
6931         * BufferView_pimpl.C: fix mouse wheel handling based on
6932           patch from Darren Freeman
6933
6934 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6935
6936         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6937
6938 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6939
6940         * lyxlength.C (inPixels): Fix hanfling of negative length.
6941         Fix LyXLength::MU case.
6942
6943 2002-10-16  John Levon  <levon@movementarian.org>
6944
6945         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6946
6947 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6948
6949         * converter.C (view): add support for $$i (file name) and $$p
6950         (file path) for the viewer command. If $$i is not specified, then
6951         it is appended to the command (for compatibility with old syntax)
6952
6953 2002-10-14  Juergen Vigna  <jug@sad.it>
6954
6955         * undo_funcs.C (textHandleUndo): alter the order in which the
6956         new undopar is added to the LyXText, as we have to set first
6957         the right prev/next and then add it as otherwise the rebuild of
6958         LyXText is not correct. Also reset the cursor to the right paragraph,
6959         with this IMO we could remove the hack in "redoParagraphs()".
6960
6961 2002-10-09  Angus Leeming  <leeming@lyx.org>
6962
6963         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6964         to turn off an optimisation if a new inset is to be inserted.
6965
6966 2002-10-11 André Pönitz <poenitz@gmx.net>
6967
6968         * lyxtext.h: make some functions public to allow access
6969         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6970
6971 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6972
6973         * text3.C (dispatch): when changing layout, avoid an infinite loop
6974         [bug #652]
6975
6976 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6977
6978         * lyxrc.C (read): treat a viewer or converter command of "none" as
6979         if it were empty.
6980
6981         * MenuBackend.C (expandFormats): for an update, also allow the
6982         formats that are not viewable
6983
6984         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6985         script if it is newer than the lyxrc.defaults in user directory
6986
6987 2002-10-07 André Pönitz <poenitz@gmx.net>
6988
6989         * text.C: Vitaly Lipatov's small i18n fix
6990
6991 2002-09-25  Angus Leeming  <leeming@lyx.org>
6992
6993         * ispell.h: doxygen fix.
6994
6995 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6996
6997         * buffer.h (readFile): Add a new argument to the method, to allow
6998         reading of old-format templates.
6999
7000 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7001
7002         * toc.C (getTocList): Get TOC from InsetWrap.
7003
7004 2002-09-16  John Levon  <levon@movementarian.org>
7005
7006         * lyxfunc.C: check tabular for cut/copy too
7007
7008 2002-09-12  John Levon  <levon@movementarian.org>
7009
7010         * LyXAction.C: tidy
7011
7012         * factory.h:
7013         * factory.C: add header
7014
7015         * paragraph_funcs.h:
7016         * paragraph_funcs.C: cleanup
7017
7018 2002-09-11  John Levon  <levon@movementarian.org>
7019
7020         * PrinterParams.h: odd/even default to true
7021
7022 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7023
7024         * PrinterParams.h: update printer parameters for new xforms dialog
7025
7026 2002-09-11  Angus Leeming  <leeming@lyx.org>
7027
7028         * lyxserver.C (read_ready): re-write to make it more transparent
7029         and to make it work in coherent fashion under Tru64 Unix.
7030
7031 2002-09-11  André Pönitz <poenitz@gmx.net>
7032
7033         * commandtags.h:
7034         * LyXAction.C:
7035         * text3.C: implement LFUN_WORDSEL
7036
7037 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7040         make floatlist_ a boost::shared_ptr<FloatList>
7041
7042         * lyxtextclass.C: include FloatList.h
7043         (LyXTextClass): initialize floatlist_
7044         (TextClassTags): add TC_NOFLOAT
7045         (Read): match "nofloat" to TC_NOFLOAT and use it.
7046         (readFloat): modify call to floatlist_
7047         (floats): ditto
7048         (floats): ditto
7049
7050         * FloatList.[Ch] (FloatList): remove commented out float
7051         initialization.
7052         (erase): new function
7053
7054 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7055
7056         * MenuBackend.C (expandToc): fix crash when there is no document
7057         open
7058
7059 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7060
7061         * many files: Add insetwrap.
7062
7063 2002-09-09  John Levon  <levon@movementarian.org>
7064
7065         * text2.C: remove confusing and awkward depth wraparound
7066
7067 2002-09-09  John Levon  <levon@movementarian.org>
7068
7069         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7070
7071         * buffer.h:
7072         * buffer.C: remove getIncludeonlyList()
7073
7074         * paragraph.C:
7075         * lyxfunc.C: remove headers
7076
7077 2002-09-09  Juergen Vigna  <jug@sad.it>
7078
7079         * text.C (getColumnNearX): fix form Michael this is most
7080         probably a cut&paste bug.
7081
7082 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7085
7086         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7087         references, ws changes.
7088
7089         * text2.C (init): update counters after init
7090         (insertParagraph): no need to set counter on idividual paragraphs.
7091         (setCounter): access the counters object in the textclass object
7092         on in the buffer object.
7093         (updateCounters): ditto
7094
7095         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7096         shared_ptr<Counters> to avoid loading counters.h in all
7097         compilation units.
7098         (LyXTextClass): initialize ctrs_
7099         (TextClassTags): add TC_COUNTER, and ...
7100         (Read): use it here.
7101         (CounterTags): new tags
7102         (readCounter): new function
7103         (counters): new funtion
7104         (defaultLayoutName): return a const reference
7105
7106         * counters.C (Counters): remove contructor
7107         (newCounter): remove a couple of unneeded statements.
7108         (newCounter): simplify a bit.
7109         (numberLabel): some small formatting changes.
7110
7111         * buffer.[Ch]: remove all traces of counters, move the Counters
7112         object to the LyXTextClass.
7113
7114 2002-09-06  Alain Castera  <castera@in2p3.fr>
7115
7116         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7117         package to set the horizontal alignment on fixed width columns.
7118
7119         * lyx_sty.C:
7120         * lyx_sty.h: added tabularnewline macro def.
7121
7122         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7123
7124 2002-09-06  John Levon  <levon@movementarian.org>
7125
7126         * LyXAction.C: tooltips for sub/superscript
7127
7128         * MenuBackend.C: a bit more verbose
7129
7130         * lyxfunc.C: tiny clean
7131
7132         * undo_funcs.C: document undo_frozen
7133
7134 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * counters.C (Counters): add missing algorithm counter.
7137
7138         * text2.C (setCounter): lookup the counter with layouts latexname
7139         instead of by section number.
7140         (setCounter): use a hackish way to lookup the correct enum
7141         counter.
7142         a float name->type change
7143         reset enum couners with counter name directly instead of depth value.
7144
7145         * counters.C (Counters): remove the push_backs, change to use the
7146         float type not the float name.
7147         (labelItem): remove unused string, float name->type change
7148
7149         * counters.h: don't include vector, loose the enums and sects vectors
7150
7151 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7154         (Read): add float->TC_FLOAT to textclassTags
7155         (Read): and handle it in the switch
7156         (readFloat): new function
7157
7158         * FloatList.C (FloatList): comment out the hardcoded float
7159         definitions.
7160
7161         * lyxlayout.h: ws change.
7162
7163 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7164
7165         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7166
7167 2002-09-03  Angus Leeming  <leeming@lyx.org>
7168
7169         * BufferView_pimpl.h: qualified name is not allowed in member
7170         declaration: WorkArea & Pimpl::workarea() const;
7171
7172         * factory.C: added using std::endl directive.
7173
7174         * text3.C: added using std::find and std::vector directives.
7175
7176 2002-08-29  André Pönitz <poenitz@gmx.net>
7177
7178         * lyxtext.h:
7179         * text2.C: remove unused member number_of_rows
7180
7181         * Makefile.am:
7182         * BufferView2.C: remove file, move contents to...
7183         * BufferView.C: ... here
7184
7185         * BufferView_pimpl.C:
7186         * factory.C: move more inset creation to factory
7187
7188         * vspace.C: avoid direct usage of LyXText, ws changes
7189
7190         * BufferView.[Ch]:
7191                 don't provide direct access to WorkArea, use two simple
7192                 acessors haveSelction() and workHeight() instead
7193
7194
7195 2002-08-29  John Levon  <levon@movementarian.org>
7196
7197         * BufferView_pimpl.C (dispatch): do not continue when
7198           no buffer
7199
7200 2002-08-28  André Pönitz <poenitz@gmx.net>
7201
7202         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7203
7204         * BufferView.h:
7205         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7206
7207 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7208
7209         * buffer.C: increment LYX_FORMAT to 221
7210
7211         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7212         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7213
7214         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7215
7216         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7217
7218 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7219
7220         * factory.C (createInset): use LyXTextClass::floats
7221
7222         * MenuBackend.C (expandFloatListInsert):
7223         (expandFloatInsert):
7224         (expandToc):
7225
7226         * text2.C (setCounter):
7227
7228         * LaTeXFeatures.C (useFloat):
7229         (getFloatDefinitions):
7230
7231         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7232
7233         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7234         floatlist_, with accessor floats().
7235
7236         * FloatList.h: remove global FloatList
7237
7238 2002-08-26  André Pönitz <poenitz@gmx.net>
7239
7240         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7241
7242         * BufferView.h:
7243         * BufferView2.C:
7244         * BufferView_pimpl.C:
7245         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7246
7247 2002-08-25  John Levon  <levon@movementarian.org>
7248
7249         * LyXAction.C: fix margin note description
7250
7251 2002-08-24  John Levon  <levon@movementarian.org>
7252
7253         * buffer.C:
7254         * bufferlist.C:
7255         * bufferview_funcs.C:
7256         * lyxfont.C:
7257         * undo_funcs.C: cleanups
7258
7259         * lyxfunc.C: disable CUT/COPY when no selection
7260
7261 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7262
7263         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7264         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7265
7266         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7267         Add backward compatibility to "mono", "gray" and "no".
7268
7269 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7270
7271         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7272         (and file_format >= 200).
7273
7274 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7277
7278 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7279
7280         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7281
7282 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7283
7284         * BufferView_pimpl.C:
7285         * LyXAction.C:
7286         * buffer.C:
7287         * commandtags.h:
7288         * lyxfunc.C:
7289         * paragraph.[Ch]:
7290         * text2.C:
7291         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7292         inset and code to make it  work with the paragraph code. The inset
7293         can be anywhere in the paragraph, but will only do the expected
7294         thing in LaTeX if the layout file contains the parameter line
7295                         OptionalArgs    1
7296         (or more generally, a nonzero value) for that layout.
7297
7298 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * paragraph.h: remove the declaration of undefined counters class
7301         function.
7302
7303 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7304
7305         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7306         Dr. Richard Hawkins.
7307
7308 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7309
7310         * paragraph_funcs.h: remove some unneeded includes
7311
7312         * text.C (backspace): pasteParagraph now in global scipe
7313
7314         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7315         (pasteSelection): ditto
7316
7317         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7318         * paragraph_funcs.C (pasteParagraph): ... here
7319
7320 2002-08-20  André Pönitz <poenitz@gmx.net>
7321
7322         * commandtags.h: new LFUNs for swapping/copying table row/colums
7323
7324         * LyXAction.C:
7325         * lyxfunc.C: support for new lfuns
7326
7327 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * tabular.C:
7330         * buffer.[Ch]: remove NO_COMPABILITY stuff
7331
7332 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * boost.C (throw_exception): new file, with helper function for
7335         boost compiled without exceptions.
7336
7337         * paragraph.h:
7338         * lyxlength.C:
7339         * buffer.C:
7340         * ParameterStruct.h:
7341         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7342
7343         * bufferlist.C (emergencyWriteAll): use boost bind
7344
7345         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7346
7347         * text.C: include paragraph_funcs.h
7348         (breakParagraph): breakParagraph is now in global scope
7349
7350         * paragraph_funcs.[Ch]: new files
7351
7352         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7353         global scope
7354
7355         * buffer.C: include paragraph_funcs.h
7356         (insertStringAsLines): breakParagraph is now in global scope
7357
7358         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7359         paragraph_funcs.C
7360
7361         * CutAndPaste.C: include paragraph_funcs.h
7362         (cutSelection): breakParagraphConservative is now in global scope
7363         (pasteSelection): ditto
7364
7365         * buffer.h: declare oprator== and operator!= for
7366         Buffer::inset_iterator
7367
7368         * bufferlist.C (emergencyWrite): don't use fmt(...)
7369
7370         * text3.C: add using std::endl
7371
7372         * BufferView.C (moveCursorUpdate): remove default arg
7373
7374 2002-08-20  André Pönitz <poenitz@gmx.net>
7375
7376         * buffer.[Ch]: move inline functions to .C
7377
7378         * BufferView2.C:
7379         * BufferView_pimpl.C:
7380         * text.C:
7381         * buffer.[Ch]: use improved inset_iterator
7382
7383         * buffer.C:
7384         * paragraph.[Ch]: write one paragraph at a time
7385
7386 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7387
7388         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7389         style if style is not specified.
7390
7391 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7392
7393         * text2.C (setCounter): when searching for right label for a
7394         caption, make sure to recurse to parent insets (so that a caption
7395         in a minipage in a figure float works) (bug #568)
7396
7397 2002-08-20  André Pönitz <poenitz@gmx.net>
7398
7399         * text3.C: new file for LyXText::dispatch() and helpers
7400
7401         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7402
7403         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7404
7405 2002-08-19  André Pönitz <poenitz@gmx.net>
7406
7407         * lyxtext.h:
7408         * text.C: new LyXText::dispatch()
7409
7410         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7411
7412 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7413
7414         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7415
7416         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7417         Hebrew text.
7418
7419 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * Makefile.am: use $(variables) instead of @substitutions@
7422
7423 2002-08-15  André Pönitz <poenitz@gmx.net>
7424
7425         * lyxfunc.C:
7426         * BufferView_pimpl.C: streamlining mathed <-> outer world
7427         interaction
7428
7429         * commandtags.h:
7430         * LyXAction.C: remove unused LFUN_MATH
7431
7432 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7435
7436 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * paragraph.C (Paragraph): reformat a bit
7439         (cutIntoMinibuffer): use builtin InsetList function instad of
7440         doing it manually.
7441         (getInset): ditto
7442
7443         * buffer.C: include boost/bind.hpp, add using std::for_each
7444         (writeFileAscii): use ParagraphList iterators
7445         (validate): use for_each for validate traversal of paragraphs
7446         (getBibkeyList): use ParagraphList iterators
7447         (resizeInsets): use for_each to resizeInsetsLyXText for all
7448         paragraphs.
7449         (getParFromID): use ParagraphList iterators
7450
7451         * BufferView2.C (lockInset): use paragraph list and iterators
7452
7453 2002-08-14  John Levon  <levon@movementarian.org>
7454
7455         * lyxserver.C: remove spurious xforms include
7456
7457 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7458
7459         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7460
7461 2002-08-13  André Pönitz <poenitz@gmx.net>
7462
7463         * LyXAction.[Ch]:
7464         * lyxfunc.C: further cleaning
7465
7466 2002-08-13  André Pönitz <poenitz@gmx.net>
7467
7468         * funcrequest.h: new constructor
7469
7470         * funcrequest.C: move stuff here from .h
7471
7472         * Makefile.am:
7473         * BufferView_pimpl.C:
7474         * LyXAction.C:
7475         * toc.C:
7476         * lyxfunc.C: subsequent changes
7477
7478         * lyxfunc.h: new view() member function
7479
7480         * lyxfunc.C: subsequent changes
7481
7482 2002-08-13  Angus Leeming  <leeming@lyx.org>
7483
7484         * BufferView2.C:
7485         * BufferView_pimpl.C:
7486         * buffer.C:
7487         * converter.C:
7488         * importer.C:
7489         * lyxfunc.C:
7490         * lyxvc.C:
7491         * toc.C:
7492         * vc-backend.C:
7493         changes due to the changed LyXView interface that now returns references
7494         to member variables not pointers.
7495
7496 2002-08-13  Angus Leeming  <leeming@lyx.org>
7497
7498         * WordLangTuple (word, lang_code): return references to strings,
7499         not strings.
7500
7501         * BufferView.h:
7502         * SpellBase.h:
7503         * lyxtext.h: forward-declare WordLangTuple.
7504
7505         * BufferView2.C:
7506         * ispell.C:
7507         * pspell.C:
7508         * text.C: #include "WordLangTuple.h".
7509
7510         * lyxtext.h:
7511         * text.C: (selectNextWordToSpellcheck): constify return type.
7512
7513 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7514
7515         * buffer.C:
7516         * buffer.h:
7517         * lyxtext.h:
7518         * paragraph.C:
7519         * paragraph_pimpl.h:
7520         * text.C:
7521         * text2.C:
7522         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7523         suggested by Angus.
7524         Made updateCounter always count from start of buffer, and removed
7525         second argument (par).
7526         Reverted floats number display to '#'. Perhaps I'll try again when the
7527         code base is sanitized a bit.
7528
7529 2002-08-12  Angus Leeming  <leeming@lyx.org>
7530
7531         * buffer.[Ch] (getLabelList): constify.
7532
7533 2002-08-07  André Pönitz <poenitz@gmx.net>
7534
7535         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7536
7537         * funcrequest.h: extension to keep mouse (x,y) position
7538
7539 2002-08-12  Juergen Vigna  <jug@sad.it>
7540
7541         * BufferView2.C (insertErrors): forbid undo when inserting error
7542         insets.
7543
7544         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7545
7546 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * ParagraphList.[Ch]: new files
7549
7550         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7551
7552         * BufferView2.C (lockInset): ParagraphList changes
7553         * toc.C: ditto
7554         * text2.C: ditto
7555         * bufferlist.C: ditto
7556         * buffer.h: ditto
7557         * buffer.C: ditto
7558
7559 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7562         unused class variable counter_,
7563
7564         * paragraph.[Ch] (getFirstCounter): delete unused function
7565
7566         * counters.C: include LAssert.h
7567         (reset): add a new function with no arg, change other version to
7568         not have def. arg and to not allow empty arg.
7569
7570         * text2.C (setCounter): remove empty arg from call to Counters::reset
7571
7572 2002-08-11  John Levon  <levon@movementarian.org>
7573
7574         * Makefile.am: add WordLangTuple.h
7575
7576 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7579         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7580
7581         * insets/insettext.C: InsetList changes
7582
7583         * graphics/GraphicsSupport.C (operator()): InsetList changes
7584
7585         * toc.C (getTocList): InsetList changes
7586
7587         * paragraph_pimpl.[Ch]: InsetList changes
7588
7589         * paragraph.[Ch]: InsetList changes
7590
7591         * buffer.C (inset_iterator): InsetList changes
7592         (setParagraph): ditto
7593         * buffer.h (inset_iterator): ditto
7594         * iterators.C (operator++): ditto
7595         * iterators.h: ditto
7596
7597         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7598
7599         * InsetList.[Ch]: new files, most InsetList handling moved out of
7600         paragraph.C.
7601
7602         * BufferView2.C (removeAutoInsets): InsetList changes
7603         (lockInset): ditto
7604         (ChangeInsets): ditto
7605
7606 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * paragraph_pimpl.h (empty): new function
7609
7610         * paragraph.[Ch] (empty): new function
7611
7612         * other files: use the new Paragraph::empty function
7613
7614 2002-08-09  John Levon  <levon@movementarian.org>
7615
7616         * lyxtext.h: remove unused refresh_height
7617
7618 2002-08-09  John Levon  <levon@movementarian.org>
7619
7620         * Makefile.am:
7621         * sgml.h:
7622         * sgml.C:
7623         * buffer.C:
7624         * paragraph.h:
7625         * paragraph.C: move sgml char escaping out of paragraph
7626
7627         * paragraph.h:
7628         * paragraph.C: remove id setter
7629
7630         * buffer.C:
7631         * paragraph.C:
7632         * paragraph_pimpl.C: remove dead tex_code_break_column
7633
7634         * bufferview_funcs.C: small cleanup
7635
7636         * lyxfunc.C: remove dead proto
7637
7638         * lyxtext.h: make some stuff private. Remove some dead stuff.
7639
7640         * lyxgluelength.C: make as[LyX]String() readable
7641
7642 2002-08-08  John Levon  <levon@movementarian.org>
7643
7644         * LyXAction.h:
7645         * LyXAction.C:
7646         * MenuBackend.C:
7647         * ToolbarDefaults.C:
7648         * lyxfunc.C:
7649         * lyxrc.C:
7650         * toc.C: lyxaction cleanup
7651
7652 2002-08-08  John Levon  <levon@movementarian.org>
7653
7654         * BufferView2.C: small cleanup
7655
7656         * lyxfind.h:
7657         * lyxfind.C: move unnecessary header into the .C
7658
7659 2002-08-08  John Levon  <levon@movementarian.org>
7660
7661         * funcrequest.h: just tedious nonsense
7662
7663         * lyx_main.h:
7664         * lyx_main.C: cleanups
7665
7666         * buffer.C:
7667         * vspace.C: remove dead header lyx_main.h
7668
7669 2002-08-07  Angus Leeming  <leeming@lyx.org>
7670
7671         * Paragraph.[Ch]:
7672         * paragraph_pimpl.h:
7673         Forward declare class Counters in paragraph.h by moving the ctrs member
7674         variable into Paragraph::Pimpl.
7675         (counters): new method, returning a reference to pimpl_->ctrs.
7676
7677         * text2.C: ensuing changes.
7678
7679 2002-08-07  John Levon  <levon@movementarian.org>
7680
7681         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7682
7683         * BufferView_pimpl.C: announce X selection on double/triple
7684           click
7685
7686         * lyx_main.C: use correct bool in batch dispatch
7687
7688         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7689
7690 2002-08-07  André Pönitz <poenitz@gmx.net>
7691
7692         * funcrequest.h: new class to wrap a kb_action and its argument
7693
7694         * BufferView.[Ch]:
7695         * BufferView_pimpl[Ch]:
7696         * LaTeX.C:
7697         * LyXAction.[Ch]:
7698         * lyxfunc.[Ch]:
7699         * lyxrc.C: subsequent changes
7700
7701
7702 2002-08-07  John Levon  <levon@movementarian.org>
7703
7704         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7705           document options change.
7706
7707 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7708
7709         * counters.[Ch]
7710         * text2.C
7711         * paragraph.[Ch]
7712         * makefile.am: move counters functionality over from
7713         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7714
7715 2002-08-06  John Levon  <levon@movementarian.org>
7716
7717         * WordLangTuple.h: new file for word + language code tuple
7718
7719         * SpellBase.h:
7720         * pspell.h:
7721         * pspell.C:
7722         * ispell.h:
7723         * ispell.C:
7724         * lyxtext.h:
7725         * text.C:
7726         * text2.C:
7727         * BufferView.h:
7728         * BufferView2.C: use WordLangTuple
7729
7730         * layout.h:
7731         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7732
7733 2002-08-06  John Levon  <levon@movementarian.org>
7734
7735         * lyx_main.C: fix cmdline batch handling
7736
7737 2002-08-06  André Pönitz <poenitz@gmx.net>
7738
7739         * lyxrc.C: set default for show_banner to true
7740
7741 2002-08-06  John Levon  <levon@movementarian.org>
7742
7743         * pspell.C: fix a crash, and allow new aspell to work
7744
7745 2002-08-06  John Levon  <levon@movementarian.org>
7746
7747         * lyxfunc.C:
7748         * kbmap.C: small cleanup
7749
7750         * vspace.h:
7751         * vspace.C: add const
7752
7753 2002-08-05  John Levon  <levon@movementarian.org>
7754
7755         * LyXAction.C: back to tabular-insert
7756
7757 2002-08-04  John Levon  <levon@movementarian.org>
7758
7759         * BufferView.h:
7760         * BufferView.C: cosmetic change
7761
7762         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7763
7764         * bufferlist.C:
7765         * buffer.h:
7766         * buffer.C:
7767         * lyxcb.h:
7768         * lyxcb.C:
7769         * lyxserver.C:
7770         * lyxvc.C:
7771         * vc-backend.C:
7772         * BufferView2.C: purge all "Lyx" not "LyX" strings
7773
7774         * lyxcursor.h:
7775         * lyxcursor.C: attempt to add some documentation
7776
7777         * lyxfunc.C:
7778         * commandtags.h:
7779         * LyXAction.C:
7780         * ToolbarDefaults.C:
7781         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7782           merge with LFUN_TABULAR_INSERT
7783
7784         * Makefile.am:
7785         * SpellBase.h:
7786         * ispell.h:
7787         * ispell.C:
7788         * pspell.h:
7789         * pspell.C: split up i/pspell implementations into separate
7790           files, many cleanups
7791
7792         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7793
7794         * text2.C: some cleanup
7795
7796         * lyxfunc.C: don't check for isp_command == "none" any more, it
7797           didn't make any sense
7798
7799 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7800
7801         * counters.[Ch]
7802         * text2.C
7803         * paragraph.[Ch]
7804         * makefile.am: move counters functionality over
7805         from text2.C/paragraph.[Ch] to counters.[Ch], and
7806         make proper C++.
7807 2002-08-02  John Levon  <levon@movementarian.org>
7808
7809         * buffer.C: s/lyxconvert/lyx2lyx/
7810
7811 2002-08-02  Angus Leeming  <leeming@lyx.org>
7812
7813         * lyxlex.C: revert John's change as it breaks reading of the user
7814         preamble.
7815
7816 2002-08-02  Angus Leeming  <leeming@lyx.org>
7817
7818         * importer.C (Import):
7819         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7820         changes due to LyXView::view() now returning a boost::shared_ptr.
7821
7822 2002-08-02  John Levon  <levon@movementarian.org>
7823
7824         * lyxlex.C: small cleanup
7825
7826 2002-08-02  John Levon  <levon@movementarian.org>
7827
7828         * text2.C (status): small cleanup, no logic change
7829
7830 2002-08-01  John Levon  <levon@movementarian.org>
7831
7832         * buffer.h:
7833         * buffer.C (writeFile): don't output alerts, caller
7834           handles this
7835
7836         * bufferlist.C:
7837         * lyx_cb.C: from above
7838
7839         * lyxfunc.C: allow to open non-existent files
7840
7841 2002-07-31  John Levon  <levon@movementarian.org>
7842
7843         * lyxserver.C: don't let incidental errors get
7844           in the way (errno)
7845
7846 2002-07-30  John Levon  <levon@movementarian.org>
7847
7848         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7849
7850 2002-07-30  John Levon  <levon@movementarian.org>
7851
7852         * lyxserver.h:
7853         * lyxserver.C: remove I/O callback too
7854
7855 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7858         log.
7859
7860 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * many files: strip,frontStrip -> trim,ltrim,rtrim
7863
7864 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * PrinterParams.h: remove extern containsOnly, and include
7867         support/lstrings.h instead.
7868
7869         * LaTeX.C (scanAuxFile): modify because of strip changes
7870         (deplog): ditto
7871         * buffer.C (makeLaTeXFile): ditto
7872         * bufferparams.C (writeFile): ditt
7873         * lyxfont.C (stateText): ditto
7874         * lyxserver.C (read_ready): ditto
7875         * vc-backend.C (scanMaster): ditto
7876
7877         * BufferView_pimpl.h: ws changes
7878
7879         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7880
7881 2002-07-26  André Pönitz <poenitz@gmx.net>
7882
7883         * kb_sequence.C: remove unnedred usings
7884
7885 2002-07-26  Juergen Vigna  <jug@sad.it>
7886
7887         * lyxfind.C (LyXReplace): we have to check better if the returned
7888         text is not of theLockingInset()->getLockingInset().
7889
7890 2002-07-25  Juergen Vigna  <jug@sad.it>
7891
7892         * lyxfind.C (LyXReplace): don't replace if we don't get the
7893         right LyXText.
7894
7895         * undo_funcs.C (createUndo): remove debugging code.
7896
7897 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7898
7899         * buffer.C (parseSingleLyXformat2Token): Use default placement
7900         when reading old floats.
7901
7902         * FloatList.C (FloatList): Change the default placement of figure
7903         and tables to "tbp".
7904
7905 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * MenuBackend.C: using std::max
7908
7909 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7910
7911         * MenuBackend.C (expandToc):
7912         (expandToc2): code moved from xforms menu frontend. It is now
7913         generic and TOCs are transparent to menu frontends.
7914
7915 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * toc.C (getTocList): protect against buf=0
7918
7919         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7920         Menu as first parameter. Now, this calls itself recursively to
7921         expand a whole tree (this will be useful for TOC handling)
7922         (expandFloatInsert): remove 'wide' version of floats
7923
7924         * MenuBackend.h (submenuname): returns the name of the submenu.
7925         (submenu): returns the submenu itself, provided it has been
7926         created by MenuBackend::expand
7927
7928 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7929
7930         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7931         insets which have noFontChange == true. (bug #172)
7932
7933 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7934
7935         * BufferView_pimpl.C: add connection objects and use them...
7936         (Pimpl): here.
7937
7938 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7939
7940         * MenuBackend.C (expandLastfiles):
7941         (expandDocuments):
7942         (expandFormats):
7943         (expandFloatListInsert):
7944         (expandFloatInsert):
7945         (expand): split expand in parts
7946
7947 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7948
7949         * lyx_gui.C: use lyx_gui::exit()
7950
7951 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * LyXAction.C: show the failing pseudo action
7954
7955 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7956
7957         * buffer.C (readFile): Run the lyxconvert script in order to read
7958         old files.
7959
7960 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7961
7962         * LyXAction.C:
7963         * commandtags.h:
7964         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7965
7966 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * LyXAction.C:
7969         * commandtags.h:
7970         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7971
7972 2002-07-22  Herbert Voss  <voss@lyx.org>
7973
7974         * lengthcommon.C:
7975         * lyxlength.[Ch]: add support for the vertical lengths
7976
7977 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7978
7979         * toc.[Ch]: std:: fixes
7980
7981 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * lyxrc.C: do not include lyx_main.h
7984
7985         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7986         for layouts
7987
7988         * lyxrc.C:
7989         * encoding.C:
7990         * bufferlist.C:
7991         * BufferView2.C: include "lyxlex.h"
7992
7993         * tabular.h:
7994         * bufferparams.h: do not #include "lyxlex.h"
7995
7996         * lyxtextclasslist.C (Add): remove method
7997         (classlist): renamed to classlist_
7998
7999         * paragraph_pimpl.C:
8000         * paragraph.C:
8001         * text2.C:
8002         * CutAndPaste.C:
8003         * bufferview_funcs.C:
8004         * bufferlist.C:
8005         * text.C:
8006         * LaTeXFeatures.C:
8007         * buffer.C:
8008         * toc.C (getTocList): use BufferParams::getLyXTextClass
8009
8010         * toc.C (getTocList): use InsetFloat::addToToc
8011
8012         * toc.[Ch]: new files, containing helper functions to handle table
8013         of contents
8014
8015         * lyxfunc.C (dispatch): no need to remove spaces around command
8016         given as a string
8017         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8018         first command of the sequence; it is not very clever, but I do not
8019         have a better idea, actually
8020
8021         * LyXAction.C (LookupFunc): make sure to remove space at the
8022         beginning and end of the command
8023
8024 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8025
8026         * MenuBackend.C (getMenubar): new method: return the menubar of
8027         this menu set
8028         (read): treat differently reading of menu and menubar (in
8029         particular, the menubar has no name now)
8030         (Menu::menubar): remove
8031
8032         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8033         saving is finished
8034
8035 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8036
8037         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8038         a bibitem inset in a RTL paragraph.
8039
8040 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8041
8042         * paragraph_pimpl.C: constify
8043
8044         * BufferView_pimpl.C:
8045         * LaTeX.C:
8046         * lyxfunc.C: fix dispatch in a nicer way
8047
8048 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * lyxfunc.C (dispatch):
8051         * BufferView_pimpl.C:
8052         * BufferView_pimpl.h:
8053         * BufferView.C:
8054         * BufferView.h: rename Dispatch() to dispatch()
8055
8056         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8057
8058         * lyxlayout.C (Read): honor DependsOn tag
8059
8060         * lyxlayout.[Ch] (depends_on): new method
8061
8062         * version.C.in: update lyx_docversion
8063
8064         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8065
8066         * paragraph.C (validate): remove from here...
8067         * paragraph_pimpl.C (validate): ... and move here
8068         (isTextAt): make it const
8069
8070         * buffer.C (getLists): ws cleanup
8071
8072 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8073
8074         * language.C (read): Use iso8859-1 encoding in latex_lang
8075         (this prevents LyX from crashing when using iso10646-1 encoding).
8076
8077 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8078
8079         * text2.C (toggleInset): if cursor is inside an inset, close the
8080         inset and leave cursor _after_ it
8081
8082 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * lyxfunc.C: move minibuffer completion handling out of here
8085
8086 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * BufferView_pimpl.C:
8089         * LaTeX.C: fix dispatch calls
8090
8091 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8092
8093         * text.C (drawChars): Fix Arabic text rendering.
8094
8095 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8096
8097         * LyXAction.C:
8098         * commandtags.h:
8099         * lyxfunc.C: remove message-push/pop
8100
8101         * lyxserver.C:
8102         * lyxfunc.h:
8103         * lyxfunc.C: rationalise some code by removing verboseDispatch
8104           in favour of a bool argument to dispatch()
8105
8106 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * lyx_main.C (init): make sure to read symlinks as absolute paths
8109
8110 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * lyxfunc.h:
8113         * lyxfunc.C: no need for commandshortcut to be a member
8114
8115 2002-07-15  André Pönitz <poenitz@gmx.net>
8116
8117         * converter.C: add support for $$s (scripts from lib/scripts dir)
8118         * lyx_main.C: white space
8119
8120 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8121
8122         * bufferlist.C:
8123         * lyxrc.h:
8124         * lyxrc.C: remove second exit confirmation
8125
8126 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8127
8128         * BufferView.h:
8129         * BufferView.C:
8130         * BufferView2.C:
8131         * BufferView_pimpl.h:
8132         * BufferView_pimpl.C:
8133         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8134
8135 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8136
8137         * MenuBackend.C (expand): add numeric shortcuts to document menu
8138
8139         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8140
8141 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8142
8143         * lyxfont.C (setLyXFamily):
8144         (setLyXSeries):
8145         (setLyXShape):
8146         (setLyXSize):
8147         (setLyXMisc):
8148         (lyxRead):
8149         * debug.C (value):
8150         * buffer.C (asciiParagraph): use ascii_lowercase
8151
8152 2002-07-15  Mike Fabian  <mfabian@suse.de>
8153
8154         * lyxlex_pimpl.C (search_kw):
8155         * lyxlex.C (getLongString):
8156         * converter.h (operator<):
8157         * converter.C (operator<):
8158         * buffer.C (parseSingleLyXformat2Token):
8159         (asciiParagraph):
8160         * ToolbarDefaults.C (read):
8161         * MenuBackend.C (checkShortcuts):
8162         (read):
8163         * LColor.C (getFromGUIName):
8164         (getFromLyXName): use the compare_ascii_no_case instead of
8165         compare_no_case, because in turkish, 'i' is not the lowercase
8166         version of 'I', and thus turkish locale breaks parsing of tags.
8167
8168 2002-07-16  Angus Leeming  <leeming@lyx.org>
8169
8170         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8171         now takes a Buffer const & argument.
8172
8173 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * BufferView.C (resize): check there's a buffer to resize
8176
8177 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * lyxfunc.C: remove dead code
8180
8181         * lyxserver.h:
8182         * lyxserver.C: use lyx_guii::set_read_callback
8183
8184 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8185
8186         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8187         an inset in a RTL paragraph.
8188
8189 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8190
8191         * lyxfunc.C: repaint after a font size update
8192
8193 2002-07-15  André Pönitz <poenitz@gmx.net>
8194
8195         * lyxlength.C: inBP should be able to return negative values
8196
8197 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * lyxfunc.C: use lyx_gui::update_fonts()
8200
8201 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * lyxfunc.C: use lyx_gui::update_color()
8204
8205 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * bufferlist.C:
8208         * lyxfunc.h:
8209         * lyxfunc.C:
8210         * lyxrc.h:
8211         * lyxrc.C: remove file->new asks for name option, and let
8212           buffer-new take an argument
8213
8214 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * BufferView_pimpl.C: remove unneeded extra repaint()
8217
8218 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8219
8220         * LyXAction.C: allow command-sequence with NoBuffer
8221
8222         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8223
8224 2002-07-10  Angus Leeming  <leeming@lyx.org>
8225
8226         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8227
8228 2002-07-09  Angus Leeming  <leeming@lyx.org>
8229
8230         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8231
8232 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * lengthcommon.h: whitespace
8235
8236         * lyxfunc.C: update scrollbar after goto paragraph
8237
8238         * lyxtext.h: factor out page break drawing, and fix it so
8239           page break/added space paints as selected nicely
8240
8241 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8242
8243         * BufferView_pimpl.C: add FIXMEs, clean up a little
8244
8245 2002-07-09  André Pönitz <poenitz@gmx.net>
8246
8247         * lyxfont.[Ch]: support for wasy symbols
8248
8249 2002-07-08  André Pönitz <poenitz@gmx.net>
8250
8251         * BufferView_pimpl.C: apply John's patch for #93.
8252
8253 2002-07-05  Angus Leeming  <leeming@lyx.org>
8254
8255         * BufferView_pimpl.C (buffer): generate previews if desired.
8256
8257         * LColor.h: add "preview" to the color enum.
8258
8259         * LColor.C (LColor): add a corresponding entry to the items array.
8260
8261         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8262         with this buffer.
8263
8264 2002-07-05  Angus Leeming  <leeming@lyx.org>
8265
8266         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8267         The body of the code is now in the method that is passed an ostream &
8268         rather than a file name.
8269         Pass an additional only_preamble parameter, useful for the forthcoming
8270         preview stuff.
8271
8272 2002-07-03  André Pönitz <poenitz@gmx.net>
8273
8274         * lyxfunc.C: simplify getStatus() a bit for math stuff
8275
8276 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8279
8280 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * text.C (changeRegionCase): do not change case of all the
8283         document when region ends at paragraph end (bug #461)
8284
8285 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8286
8287         * paragraph.C (startTeXParParams):
8288         (endTeXParParams): add \protect when necessary
8289
8290 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * BufferView_pimpl.C (workAreaExpose): remove warning
8293
8294 2002-06-27  Angus Leeming  <leeming@lyx.org>
8295
8296         * Makefile.am: add lyxlayout_ptr_fwd.h.
8297
8298 2002-06-26  André Pönitz <poenitz@gmx.net>
8299
8300         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8301
8302 2002-06-25  Angus Leeming  <leeming@lyx.org>
8303
8304         * lyxfunc.C (dispatch): Comment out the call to
8305         grfx::GCache::changeDisplay. The method no longer exists now that the
8306         pixmap generation part of the graphics loader has been moved into
8307         InsetGraphics.
8308
8309 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8310
8311         * text2.C: layout as layout
8312
8313         * text.C: layout as layout
8314
8315         * tabular.C (OldFormatRead): layout as layout
8316
8317         * paragraph_pimpl.C (TeXDeeper): layout as layout
8318         (realizeFont): layout as layout
8319
8320         * paragraph.C (writeFile): layout as layout
8321         (validate): layout as layout
8322         (getFont): layout as layout
8323         (getLabelFont): layout as layout
8324         (getLayoutFont): layout as layout
8325         (breakParagraph): layout as layout
8326         (stripLeadingSpaces): layout as layout
8327         (getEndLabel): layout as layout
8328         (getMaxDepthAfter): layout as layout
8329         (applyLayout): layout as layout
8330         (TeXOnePar): layout as layout
8331         (simpleTeXOnePar): layout as layout
8332         (TeXEnvironment): layout as layout
8333         (layout): layout as layout
8334         (layout): layout as layout
8335
8336         * lyxtextclass.C (compare_name): new functor to work with
8337         shared_ptr, layout as layout
8338         (Read): layout as layout
8339         (hasLayout): layout as layout
8340         (operator): layout as layout
8341         (delete_layout): layout as layout
8342         (defaultLayout): layout as layout
8343
8344         * lyxlayout_ptr_fwd.h: new file
8345
8346         * lyxlayout.C (Read): layout as layout
8347
8348         * lyx_cb.C (MenuInsertLabel): layout as layout
8349
8350         * bufferlist.C (newFile): layout as layout
8351
8352         * buffer.C (readLyXformat2): layout as layout
8353         (parseSingleLyXformat2Token): layout as layout
8354         (insertStringAsLines): layout as layout
8355         (asciiParagraph): layout as layout
8356         (latexParagraphs): layout as layout
8357         (makeLinuxDocFile): layout as layout
8358         (simpleLinuxDocOnePar): layout as layout
8359         (makeDocBookFile): layout as layout
8360         (simpleDocBookOnePar): layout as layout
8361         (getLists): layout as layout
8362
8363         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8364
8365         * CutAndPaste.C (cutSelection): layout as layout
8366         (pasteSelection): layout as layout
8367         (SwitchLayoutsBetweenClasses): layout as layout
8368
8369         * BufferView_pimpl.C (Dispatch): layout as layout
8370         (smartQuote): layout as layout
8371
8372         * BufferView2.C (unlockInset): layout as layout
8373
8374 2002-06-24  André Pönitz <poenitz@gmx.net>
8375
8376         * lyxfunc.C: fix #487
8377
8378 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * lyxrc.h:
8381         * lyxrc.C:
8382         * lyxfunc.C: remove display_shortcuts, show_banner
8383
8384 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * Buffer_pimpl.C: oops, update on resize
8387
8388 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8389
8390         * buffer.C:
8391         * converter.C:
8392         * exporter.C:
8393         * lyxfunc.C:
8394         * BufferView.h:
8395         * BufferView.C: use repaint()
8396
8397         * BufferView_pimpl.h:
8398         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8399           as it's a clearer description. Remove superfluous
8400           redraws.
8401
8402 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * text.C: fix bug 488. Not ideal, but getting
8405           getWord() to work properly for the insets that
8406           matter is more difficult ...
8407
8408 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8409
8410         * BufferView_pimpl.C:
8411         * LyXAction.C:
8412         * commandtags.h:
8413         * lyxfunc.C: remove the six million index lyxfuncs to just
8414           one, and DTRT (bug 458)
8415
8416 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * BufferView.h:
8419         * BufferView.C:
8420         * BufferView_pimpl.h:
8421         * BufferView_pimpl.C: clean up resize() stuff,
8422           and unnecessary updateScreen()s
8423
8424 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * BufferView.h:
8427         * BufferView.C:
8428         * BufferView_pimpl.h:
8429         * BufferView_pimpl.C:
8430         * lyxfind.h:
8431         * lyxfind.C:
8432         * minibuffer.C: remove focus management of workarea,
8433           not needed. Use screen's greyOut()
8434
8435 2002-06-17  Herbert Voss  <voss@lyx.org>
8436
8437         * converter.C: (convert) do not post a message, when converting
8438         fails, let the calling function decide what to do in this case
8439
8440 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8441
8442         * lyxfunc.C: tidy up a little
8443
8444 2002-06-16    <alstrup@diku.dk>
8445
8446         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8447         Got rid of FORMS_H_LOCATION include. Now we are
8448         GUII.
8449
8450 2002-06-15  LyX Development team  <lyx@rilke>
8451
8452         * buffer.[Ch] (sgmlOpenTag):
8453         (sgmlCloseTag): Added support for avoiding pernicious mixed
8454         content. Return number of lines written.
8455
8456         (makeLinuxDocFile):
8457         (makeDocBookFile): Fixed calls to sgml*Tag.
8458         Simple white space clean.
8459
8460         (simpleDocBookOnePar): Simple white space clean.
8461
8462         * tabular.[Ch] (docBook): Renamed to docbook and got another
8463         argument to related with the pernicious mixed content.
8464
8465         (docbookRow): Fixed calls for docbook inset method.
8466
8467 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8468
8469         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8470         so it's X11 independent.
8471
8472         * kb*.[Ch]: ditto.
8473
8474         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8475
8476 2002-06-15  Lyx Development team  <lyx@electronia>
8477
8478         * intl.h: Renamed getTrans to getTransManager.
8479
8480 2002-06-14  Angus Leeming  <leeming@lyx.org>
8481
8482         * Makefile.am: nuke forgotten stl_string_fwd.h.
8483
8484 2002-06-12  Angus Leeming  <leeming@lyx.org>
8485
8486         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8487
8488 2002-06-13  Angus Leeming  <leeming@lyx.org>
8489
8490         * LaTeX.C:
8491         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8492
8493 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8494
8495         * kbmap.C (getiso): add support for cyrillic and greek
8496
8497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * BufferView.h:
8500         * BufferView.C:
8501         * BufferView_pimpl.h:
8502         * BufferView_pimpl.C: move bogus scrolling logic
8503           to xforms
8504
8505 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8506
8507         * lyxfunc.C:
8508         * BufferView_pimpl.C: view->resize() change
8509
8510 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * BufferView_pimpl.C: topCursorVisible
8513           prototype change
8514
8515 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8516
8517         * Makefile.am:
8518         * lyx_gui.h:
8519         * lyx_gui.C: move to frontends/
8520
8521         * main.C:
8522         * lyx_main.h:
8523         * lyx_main.C: changes from above
8524
8525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * intl.C:
8528         * intl.h:
8529         * kbmap.C:
8530         * kbsequence.C:
8531         * lyx_cb.C:
8532         * lyx_main.C: minor tidy
8533
8534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * BufferView_pimpl.h:
8537         * BufferView_pimpl.C:
8538         * BufferView.h:
8539         * BufferView.C: make painter() const,
8540           remove dead code
8541
8542         * BufferView2.C: use screen() accessor
8543
8544         * lyx_main.h:
8545         * lyx_main.C: some minor cleanup
8546
8547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * BufferView_pimpl.h:
8550         * BufferView_pimpl.C: remove enter/leaveView,
8551           use workHeight()
8552
8553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * BufferView.h:
8556         * BufferView.C:
8557         * BufferView2.C:
8558         * BufferView_pimpl.h:
8559         * BufferView_pimpl.C: only construct screen once,
8560           rename
8561
8562         * lyxrc.C: remove pointless comment
8563
8564 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * BufferView.h:
8567         * BufferView.C: remove active() and belowMouse()
8568
8569         * BufferView_pimpl.h:
8570         * BufferView_pimpl.C: use workarea() not workarea_,
8571           and make it use a scoped_ptr instead
8572
8573 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * lyx_gui.C: add debug message on BadWindow
8576
8577 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8578
8579         * sp_spell.C: fdopen is not part of the C++ standard.
8580
8581         * paragraph.C (InsetIterator): use >= instead of ==
8582
8583 2002-06-07  Angus Leeming  <leeming@lyx.org>
8584
8585         Fixes needed to compile with Compaq cxx 6.5.
8586         * BufferView_pimpl.C:
8587         * DepTable.C:
8588         * buffer.C:
8589         * converter.C:
8590         * encoding.C:
8591         * lyx_gui.C:
8592         * lyx_main.C:
8593         * lyxtextclasslist.C:
8594         * minibuffer.C:
8595         * sp_spell.C:
8596         * tabular_funcs.C:
8597         * vc-backend.C:
8598         all c-library variables have been moved into namespace std. Wrap
8599         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8600
8601         * lyxlength.C:
8602         * tabular-old.C:
8603         * tabular.C:
8604         Add a using std::abs declaration.
8605
8606         * kbmap.h (modifier_pair):
8607         * paragraph.h (InsetTable, InsetList):
8608         * lyxfont.h (FontBits):
8609         type definition made public.
8610
8611         * bufferlist.C (emergencyWriteAll): the compiler complains that
8612         there is more than one possible lyx::class_fun template to choose from.
8613         I re-named the void specialisation as lyx::void_class_fun.
8614
8615         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8616
8617         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8618         the compiler is is unable to find tostr in write_attribute.
8619
8620 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * buffer.C (sgmlError): hide #warning
8623
8624 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8625
8626         * xtl/*: get rid of xtl, which is not in use anyway
8627
8628         * LyXAction.C (init):
8629         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8630         were unimplemented xtl experimentation
8631
8632 2002-06-04  André Pönitz <poenitz@gmx.net>
8633
8634         * lyxfunc.C: disable array operation on simple formulae
8635
8636 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * converter.C: constify a bit
8639
8640 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * lyx_gui.C: check xforms version correctly
8643
8644 2002-04-30  Herbert Voss  <voss@lyx.org>
8645
8646         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8647         "keep" option
8648
8649 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8652           attempt to register it with a VCS)
8653
8654 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8655
8656         * lyx_main.C (init): honor variables LYX_DIR_13x and
8657         LYX_USERDIR_13x
8658
8659 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * buffer.h:
8662         * buffer.C:
8663         * lyx_main.C: fix a crash on bad command line,
8664           and give a useful exit status on error
8665
8666         * lyxfunc.C (doImport): allow -i lyx to work
8667
8668 2002-03-30  André Pönitz <poenitz@gmx.net>
8669
8670         * lyxfunc.C: mathed font changes
8671
8672 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8673
8674         * LaTeX.C:
8675         * importer.h:
8676         * importer.C:
8677         * lyx_sty.h:
8678         * lyx_sty.C:
8679         * lyxlex.C:
8680         * lyxrow.h:
8681         * lyxtext.h:
8682         * paragraph.h:
8683         * paragraph.C:
8684         * texrow.h:
8685         * texrow.C:
8686         * text.C:
8687         * trans_mgr.h: srcdocs, and some minor cleanups
8688
8689 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8690
8691         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8692         call getFont all the time)
8693
8694 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * switch from SigC signals to boost::signals
8697
8698 2002-05-29  André Pönitz <poenitz@gmx.net>
8699
8700         * paragraph_pimpl.C (getChar): don't call size() too often...
8701
8702 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * paragraph_pimpl.C (insertChar): do not try to update tables when
8705         appending (pos == size())
8706
8707         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8708         in order to reduce drastically the number of comparisons needed to
8709         parse a large document
8710
8711 2002-05-29  André Pönitz <poenitz@gmx.net>
8712
8713         * text.C:
8714         * text2.C:
8715         * lyxtextclass.C:
8716         * sp_pspell.h:
8717         * textclasslist.[Ch]:
8718         * sp_ispell.h: whitespace change
8719
8720 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8723         lyxaction directly now.
8724
8725 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * trans.C:
8728         * lyxfont.C:
8729         * lyxvc.C: remove unused headers
8730
8731 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * Makefile.am:
8734         * buffer.h:
8735         * undostack.h:
8736         * undostack.C:
8737         * undo_funcs.h:
8738         * undo_funcs.C: some cleanups. Use shared_ptr
8739           and a template for the undo stacks.
8740
8741 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8742
8743         * BufferView_pimpl.h:
8744         * BufferView_pimpl.C:
8745         * kbmap.h:
8746         * kbmap.C:
8747         * kbsequence.h:
8748         * kbsequence.C:
8749         * lyxfunc.h:
8750         * lyxfunc.C:
8751         * text2.C: use key_state/mouse_state
8752
8753 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8756         and LSubstring
8757
8758         * chset.C: change include order
8759         (loadFile): use boost regex and get rid of LRegex and LSubstring
8760
8761         * Makefile.am (BOOST_LIBS): new variable
8762         (lyx_LDADD): use it
8763
8764         * LaTeX.C: change include order.
8765         (scanAuxFile): use boost regex and get rid of LRegex and
8766         LSubstring
8767         (deplog): ditto
8768
8769 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * ColorHandler.h:
8772         * ColorHandler.C:
8773         * FontInfo.h:
8774         * FontInfo.C: moved to frontends/xforms/
8775
8776         * FontLoader.h:
8777         * FontLoader.C: moved into frontends for GUIIzation
8778
8779         * Makefile.am:
8780         * lyx_gui.C:
8781         * lyxfont.C:
8782         * lyxfunc.C: changes from above
8783
8784 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * LColor.C: remove spurious X include
8787
8788         * BufferView_pimpl.C:
8789         * Makefile.am:
8790         * font.h:
8791         * font.C:
8792         * text.C:
8793         * text2.C: move font metrics to frontends/
8794
8795 2002-05-24  Juergen Vigna  <jug@sad.it>
8796
8797         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8798         setting the undo_cursor.
8799
8800         * ParagraphParameters.h: include local includes first.
8801
8802 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * BufferView_pimpl.C:
8805         * BufferView_pimpl.h:
8806         * Makefile.am:
8807         * WorkArea.h:
8808         * WorkArea.C:
8809         * screen.C: move WorkArea into frontends/
8810
8811         * lyxscreen.h:
8812         * screen.C:
8813         * text.C:
8814         * BufferView.C:
8815         * BufferView2.C: move LyXScreen into frontends/
8816
8817         * lyxlookup.h:
8818         * lyxlookup.C:
8819         * lyx_gui.C: move lyxlookup into frontends/xforms/
8820
8821 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * BufferView2.C:
8824         * BufferView_pimpl.C:
8825         * FontLoader.C:
8826         * LyXView.h:
8827         * LyXView.C:
8828         * Makefile.am:
8829         * WorkArea.C:
8830         * XFormsView.h:
8831         * XFormsView.C:
8832         * buffer.C:
8833         * bufferlist.C:
8834         * bufferview_funcs.C:
8835         * converter.C:
8836         * importer.C:
8837         * lyx_cb.C:
8838         * lyx_gui.C:
8839         * lyx_main.C:
8840         * lyx_find.C:
8841         * lyxfunc.C:
8842         * lyxvc.C:
8843         * minibuffer.C:
8844         * text.C:
8845         * text2.C:
8846         * trans.C:
8847         * vc-backend.C: move LyX/XFormsView into frontends/
8848
8849 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * Makefile.am:
8852         * PainterBase.C:
8853         * PainterBase.h:
8854         * Painter.C:
8855         * Painter.h:
8856         * WorkArea.C:
8857         * WorkArea.h:
8858         * screen.C:
8859         * tabular.C:
8860         * text.C:
8861         * text2.C: move Painter to frontends/
8862
8863 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8864
8865         * buffer.C: comment out some some code that depend upon lyx_format
8866         < 220
8867
8868         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8869         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8870
8871         * buffer.h (NO_COMPABILITY): turn off compability
8872
8873         * ColorHandler.C: include scoped_array.hpp
8874
8875         * font.C: Use more specific smart_ptr header.
8876         * Painter.C: ditto
8877         * gettext.C: ditto
8878         * ShareContainer.h: ditto
8879         * lyx_main.h: ditto
8880         * kbmap.h: ditto
8881         * FontInfo.h: ditto
8882         * BufferView_pimpl.h: ditto
8883         * ColorHandler.h: ditto
8884
8885         * kbmap.C (defkey): change call to shared_ptr::reset
8886
8887 2002-05-21  Juergen Vigna  <jug@sad.it>
8888
8889         * buffer.C (insertErtContents): fix to insert ert asis if it is
8890         non empty. Skip it completely if it contains only whitespaces.
8891
8892 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * BufferView_pimpl.C:
8895         * BufferView2.C: clear selection on paste (bug 393)
8896
8897 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8898
8899         * DepTable.C: include ctime
8900
8901 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8904
8905 2002-05-14  Juergen Vigna  <jug@sad.it>
8906
8907         * text.C (breakParagraph): fixed function to honor the keepempty
8908         layout in the right maner and also to permit the right breaking
8909         algorithm on empty or non empyt keepempty paragraphs.
8910
8911         * paragraph.C (breakParagraph): we have to check also if the par
8912         is really empty (!size()) for isempty otherwise we do the wrong
8913         paragraph break.
8914
8915 2002-05-10  Juergen Vigna  <jug@sad.it>
8916
8917         * buffer.[Ch] : The following are only changes to the ert
8918         compatibility read reading old LaTeX layout and font stuff and
8919         convert it to ERTInsets.
8920
8921         * buffer.h: added isErtInset().
8922
8923         * buffer.C (struct ErtComp): add a fromlayout bool to check
8924         if we're inside a LaTeX layout.
8925         (isErtInset): new helper function.
8926         (insertErtContents): look for other ert insets before this one
8927         and insert the contents there, so that we don't have subsequent
8928         ERT insets with nothing between them. This way we create only one
8929         inset with multiple paragraphs. Also check if we don't insert only
8930         spaces ' ' as they are ignored anyway afterwards in the .tex file
8931         so if we have only spaces we will ignore this latex part in the
8932         new file.
8933         (parseSingleLyXformat2Token \\layout): better compatibility when
8934         reading layout-latex stuff.
8935         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8936         language tag.
8937         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8938         stuff after reading the inset only get the information back from
8939         the stack.
8940
8941 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8942
8943         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8944
8945         * LaTeXFeatures.C (getBabelOptions): New method.
8946
8947 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * BufferView_pimpl.C (Dispatch): work around missing argument for
8950         'layout'
8951
8952 2002-05-08  Juergen Vigna  <jug@sad.it>
8953
8954         * text.C (leftMargin): handle paragraph leftindent.
8955
8956         * paragraph.C (writeFile): write the new \\leftindent tag.
8957         (validate): handle leftindent code.
8958         (TeXEnvironment): handle paragraphleftindent code again.
8959
8960         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8961
8962         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8963         for paragrap_extra indent code and new token \\leftindent.
8964         (latexParagraphs): handle the leftindent as environment.
8965
8966         * ParameterStruct.h: added leftindent support.
8967
8968         * ParagraphParameters.C (leftIndent): added support functions for
8969         the paragraph left indent.
8970
8971         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8972         more appropriate.
8973
8974 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8977         inside insetERT.
8978
8979         * text.C (computeBidiTables): No bidi in insetERT.
8980
8981         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8982         in RTL documents.
8983
8984 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * version.C.in: pre 5
8987
8988 2002-05-02  José Matos  <jamatos@fep.up.pt>
8989         * buffer.C (makeDocBookFile): white space changes, add newline to
8990         command styles.
8991         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8992
8993         * tabular.C (docBook): fix typo.
8994
8995 2002-05-03  Juergen Vigna  <jug@sad.it>
8996
8997         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8998         change in LyXText as we can not be sure it was not freed.
8999         (drawOneRow): remove unused code.
9000
9001         * text.C (drawInset): redo the calculation of the need_break_row as
9002         it could have a row which was already freed.
9003         (draw): look at the return value of drawInset and return false if
9004         it also returned false.
9005         (paintRowText): look at the return value of draw and return false if
9006         it also returned false.
9007
9008         * lyxtext.h: added bool return type to drawInset() and draw() so that
9009         if we have a change in the row so that the rowbreak has to be redone
9010         we abort drawing as it will be called again.
9011
9012 2002-05-02  Juergen Vigna  <jug@sad.it>
9013
9014         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9015         a change in the maintext also if we're inside an inset.
9016         (Dispatch): set the cursor again after a break line and after the
9017         screen has been updated as it could be we're in a different row.
9018
9019         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9020         to set the cursor behind the pargraph with > size().
9021         (setCursor): check also for the same paragraph when checking where
9022         to put the cursor if we have a NFR inset.
9023
9024         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9025         parts of layout read further up as it still was in the wrong
9026         position.
9027
9028 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9029
9030         * screen.C (drawFromTo): change sine fullRebreak always return
9031         true.
9032
9033         * buffer.C (parseSingleLyXformat2Token): reindent some
9034
9035         * BufferView_pimpl.C (update): change since fullRebreak always
9036         return true.
9037         (Dispatch): git rid of the last hardcoded "Standard"s.
9038
9039 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9040
9041         * text2.[Ch] (fullRebreak): make it return void now that we always
9042         returned true.
9043
9044 2002-04-30  Juergen Vigna  <jug@sad.it>
9045
9046         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9047         ert compatibility check for "latex" layout.
9048
9049 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9050
9051         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9052         minipages: use col% instead of p%, and also use the current font.
9053         (makeLaTeXFile): Fix use babel condition.
9054         (parseSingleLyXformat2Token): Correct font when reading old floats.
9055
9056 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9057
9058         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9059         inserting list of floats.
9060
9061 2002-04-25  Herbert Voss  <voss@lyx.org>
9062
9063         * MenuBackend.C (expand): don't add the graphics extensions to the
9064         export menu
9065
9066 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9069         non-existing layout, do not complain if it was the default layout
9070         of the original class (bug #342)
9071
9072 2002-04-24  Juergen Vigna  <jug@sad.it>
9073
9074         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9075         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9076
9077 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9078
9079         * buffer.C (getBibkeyList): If using \bibliography, return the
9080         option field with the reference itself. Enables us to provide natbib
9081         support when using \bibliography.
9082
9083 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9084
9085         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9086
9087         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9088         natbib is provided by the LaTeX class.
9089
9090 2002-04-23  Juergen Vigna  <jug@sad.it>
9091
9092         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9093         Wakeup functions.
9094
9095         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9096
9097 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9100
9101         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9102         ensuremath around textordmasculine, textordfeminine and
9103         textdegree.
9104
9105 2002-04-19  Juergen Vigna  <jug@sad.it>
9106
9107         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9108         reinitializing the buffer otherwise row-dimensions may be wrong.
9109         (update): reset also the selection cursors if they do exits otherwise
9110         their x/y positions may be wrong.
9111
9112         * text2.C (cursorDown): don't enter the inset if we came from a row
9113         above and are one row over the inset.
9114
9115         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9116         really leaving an inset.
9117
9118 2002-04-18  Juergen Vigna  <jug@sad.it>
9119
9120         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9121         of the selected paragraph does not have the selected layout also if
9122         the last one had!
9123
9124         * text2.C (setLayout): fixed bug which did not change last selected
9125         paragraph.
9126
9127         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9128         changed the read and substituted \\end_float with \\end_inset!
9129
9130         * BufferView_pimpl.C (cursorPrevious):
9131         (cursorNext): fixed to make it work with rows heigher than the work
9132         area without moving the cursor only the draw of the row.
9133         (workAreaMotionNotify): fix jumping over high rows.
9134
9135 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9138         Ressler.
9139
9140 2002-04-16  Juergen Vigna  <jug@sad.it>
9141
9142         * text2.C (setCursor): set also the irow().
9143         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9144         (cursorUp):
9145         (cursorDown): support for locking an inset if the x_fix value goes
9146         inside it. That way I can transverse insets too with cursor up/down.
9147
9148         * lyxrow.h: added irow helper function same as other (i) functions.
9149
9150         * BufferView_pimpl.C (cursorPrevious):
9151         (cursorNext): fixed for insets!
9152
9153 2002-04-15  Juergen Vigna  <jug@sad.it>
9154
9155         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9156         position otherwise it is wrong in some cases.
9157
9158         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9159         inside the inset before the call.
9160
9161 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9162
9163         * buffer.[Ch] (getBibkeyList): make it const.
9164
9165 2002-04-12  Juergen Vigna  <jug@sad.it>
9166
9167         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9168
9169         * text2.C (getCursorX): new helper function
9170         (setCursor): compute also ix_
9171         (setCursorFromCoordinates): set also ix.
9172
9173         * lyxcursor.h: added ix_ and helper functions.
9174
9175         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9176
9177         * buffer.C (insertStringAsLines): dont break paragraph if the this
9178         paragraph is inside an inset which does not permit it!
9179
9180         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9181         also with no chars on this paragraph.
9182         (paintRowText): only paint stuff if it's inside the workarea!
9183
9184         * paragraph.C (breakParagraph): honor keepempty flag and break the
9185         paragraph always below not above.
9186
9187         * BufferView2.C (unlockInset): update the paragraph layout on inset
9188         unlock as we changed paragraph in such a case.
9189
9190         * lyxfind.C (LyXFind): clear the former selection if not found!
9191
9192         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9193         again called in insertChar().
9194
9195         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9196         an inset which uses the whole row!
9197         (rightMargin): ditto.
9198         (insertChar): force a rebreak if we inserted an inset!
9199
9200 2002-03-28  Herbert Voss  <voss@lyx.org>
9201
9202         * lyxlength.[Ch]: add inBP() to get the right PS-point
9203         units (BigPoint). With inPixels we have rounding errors
9204
9205 2002-04-11  Juergen Vigna  <jug@sad.it>
9206
9207         * text2.C (setCursorFromCoordinates): set iy to the right value.
9208         (setCursor): add check if row->previous exists!
9209
9210         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9211         an old float_type as this was the case in the old code!
9212
9213         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9214
9215         * BufferView2.C (showLockedInsetCursor): use iy
9216         (fitLockedInsetCursor): ditto
9217
9218         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9219         locked insets as there we have the right value now.
9220
9221         * lyxcursor.C: added iy_ variable and iy functions to set to the
9222         baseline of cursor-y of the locked inset.
9223
9224         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9225         (setCursor): fixed for insets which need a full row.
9226
9227         * text.C (rowLastPrintable): don't ignore the last space when before
9228         an inset which needs a full row.
9229         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9230         as last character of a row when before a inset which needs a full row.
9231
9232 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9233
9234         * version.C.in: update date
9235
9236         * text2.C (fullRebreak): try to always return true and see what
9237         happens...
9238
9239 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * MenuBackend.C (expand): use Floating::listName
9242
9243         * FloatList.C (FloatList): add listName argument to the built-in
9244         floats
9245
9246         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9247         text associated with the float.
9248
9249 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9252
9253 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9254
9255         * ShareContainer.h: add a couple of missing typenames.
9256
9257 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9258
9259         * lyxrc.C (getDescription): use _() correctly rather than N_().
9260
9261 2002-03-28  Herbert Voss  <voss@lyx.org>
9262
9263         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9264         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9265
9266 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9267
9268         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9269         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9270
9271 2002-03-29  Juergen Vigna  <jug@sad.it>
9272
9273         * lyxfunc.C (dispatch): add a missing fitCursor call.
9274
9275         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9276         it was scrolled by a cursor move, so return the bool status.
9277
9278         * BufferView.C (fitCursor): return the bool flag also to the outside
9279         world as this is needed.
9280
9281         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9282
9283         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9284         call the edit() as it is not needed (and wrong) IMO.
9285         (workAreaButtonPress): set the screen_first variable before evt.
9286         unlock the inset as this may change screen_first and then we have
9287         a wrong y position for the click!
9288
9289 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9290
9291         * MenuBackend.C (expand): another translation that I missed
9292
9293 2002-03-28  Juergen Vigna  <jug@sad.it>
9294
9295         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9296
9297         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9298
9299 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9300
9301         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9302
9303         * MenuBackend.C (expand): fix export/view/update when there is no
9304         document open.
9305
9306 2002-03-27  Herbert Voss  <voss@lyx.org>
9307
9308         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9309         and text%
9310
9311 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * bufferview_funcs.C (currentState): only show paragraph number
9314         for is DEVEL_VERSION is set.
9315
9316         * lyxfunc.C (dispatch): put warning in INFO channel
9317
9318         * MenuBackend.C (expand): translate the name of floats
9319
9320         * FloatList.C (FloatList): mark the float names for translation
9321
9322         * converter.C (convert): use LibScriptSearch
9323
9324 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9325
9326         * MenuBackend.C (defaults): fix default menu (we might as well get
9327         rid of it...)
9328
9329 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9330
9331         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9332         directory.
9333
9334 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * lyxvc.C: reorder includes.
9337
9338 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9341           properly
9342
9343 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * CutAndPaste.C: change layouts earlier on paste
9346           to avoid crashing when calling getFont()
9347
9348 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9349
9350         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9351         irritating #error.
9352
9353 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * WorkArea.C: remove 'Pending' debug message.
9356
9357         * most files: ws cleanup
9358
9359         * buffer.[Ch]: ws changes
9360
9361         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9362
9363 2002-03-21  Juergen Vigna  <jug@sad.it>
9364
9365         * tabular.C (SetMultiColumn): collapse also the contents of the
9366         cells and set the last border right. Added a Buffer const * param.
9367
9368 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9371         linking or not.
9372
9373 2002-03-19  Juergen Vigna  <jug@sad.it>
9374
9375         * text2.C (clearSelection): reset also xsel_cache.
9376
9377         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9378         where it needs to be called (John tells us to do so too :)
9379         (selectionLost): reset sel_cache.
9380
9381         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9382
9383 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9384
9385         * text2.C (setCursorIntern): put debuging code in INSETS channel
9386
9387 2002-03-19  André Pönitz <poenitz@gmx.net>
9388
9389         * lyxfunc.C: tiny whitespace change
9390
9391 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * ToolbarDefaults.C (init):
9394         * LyXAction.C (init):
9395         * commandtags.h:
9396         * BufferView_pimpl.C (Dispatch):
9397         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9398
9399 2002-03-19  Allan Rae  <rae@lyx.org>
9400
9401         * exporter.C (Export): removeAutoInsets before doing anything else.
9402         While I've just introduced a dependency on BufferView this really is
9403         the best place to clean the buffer otherwise you need to cleanup in
9404         a dozen places before calling export or cleanup in a dozen functions
9405         that export calls.
9406
9407         * converter.C (runLaTeX):
9408         (scanLog): Better handling of removeAutoInsets and screen updates.
9409
9410         * lyxfunc.C (dispatch): small whitespace changes
9411
9412 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9413
9414         * WorkArea.C (C_WorkAreaEvent): return a value.
9415         (event_cb): return 1 if we handled the event, 0 otherwise.
9416
9417         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9418
9419 2002-03-18  Juergen Vigna  <jug@sad.it>
9420
9421         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9422         (GetAdditionalWidth): ditto.
9423         (RightLine): ditto.
9424         (LeftLine): ditto.
9425
9426         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9427         inset if we're there actually (probably not used right now but this
9428         is the direction to go for unifying code).
9429         (paste): disable code to clear the selection.
9430
9431         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9432         inside an InsetText and move the check further up as it is in the
9433         wrong place.
9434
9435         * text2.C (pasteSelection): set a selection over the pasted text.
9436
9437 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9438
9439         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9440         and libgraphics to build on Cygwin.
9441
9442 2002-03-15  Juergen Vigna  <jug@sad.it>
9443
9444         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9445         inserting an Inset into the paragraph. I know this is not the best
9446         fix but we already use current_view in CutAndPaste so we will remove
9447         all of it's using at the same time.
9448
9449         * buffer.C (sgmlError): deactivated function till it is rewritten in
9450         the right mode, now it can create problems.
9451
9452         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9453         before accessing it.
9454
9455 2002-03-14  Juergen Vigna  <jug@sad.it>
9456
9457         * undo_funcs.C (textHandleUndo): do the right thing when updating
9458         the inset after the undo/redo.
9459
9460         * text2.C (setCursor): just some testcode for #44 not ready yet.
9461
9462         * undo_funcs.C (textHandleUndo): set the next() and previous()
9463         pointers of the paragraph to 0 before deleting otherwise we have
9464         problems with the Paragraph::[destructor].
9465
9466         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9467         on a paragraph insertion.
9468
9469 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9470
9471         * buffer.C (asciiParagraph): use += operator for char append to
9472         string.
9473
9474         * paragraph.C (getFontSettings): compare >= not just >
9475         (highestFontInRange): ditto
9476         (setFont): ditto
9477
9478 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9479
9480         * paragraph.C: change several algorithm to be more appripriate for
9481         the problem domain. This is lookip in FontList and in the InsetList.
9482
9483 2002-03-13  André Pönitz <poenitz@gmx.net>
9484
9485         * commandtags.h:
9486         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9487
9488 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * commandtags.h:
9491         * LyXAction.C:
9492         * lyxfunc.C:
9493         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9494
9495 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * Painter.C (display): anon helper function, adjust code for this
9498         change.
9499         (pixmap): remove function.
9500
9501         * Painter.h: remove private display variable.
9502
9503         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9504
9505 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9506
9507         * WorkArea.[Ch]: remove figinset_canvas cruft.
9508
9509 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9510
9511         * lyxtextclass.C (operator): add one item cache optimization.
9512
9513         * bufferlist.h: doxy changes
9514
9515         * bufferlist.C: ws changes
9516
9517         * DepTable.[Ch] (ext_exist): place const in the right spot.
9518
9519         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9520         call resizeInsets.
9521         (workAreaExpose): call resizeInsets when the with BufferView changes.
9522         (Dispatch): adjust for protectedBlank removal
9523         (specialChar): call updateInset if the insert went ok.
9524
9525         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9526         specialChar instead.
9527
9528         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9529
9530         * BufferView.h: doxy change
9531
9532         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9533
9534         * lyxtextclass.C (operator[]): remove non-const version
9535         (defaultLayout): remove non-const version
9536
9537 2002-03-12  Juergen Vigna  <jug@sad.it>
9538
9539         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9540         did resize the LyXText too.
9541
9542         * buffer.C (readLyXformat2): set layout information on newly allocated
9543         paragraphs.
9544
9545         * tabular.C (OldFormatRead): set layout information on the paragraph.
9546
9547 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9548
9549         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9550
9551 2002-03-11  Juergen Vigna  <jug@sad.it>
9552
9553         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9554         plainly wrong.
9555         (resizeCurrentBuffer): force also the insets to resize themselfes.
9556         (moveCursorUpdate): fixed up for InsetText.
9557
9558 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9559
9560         * commandtags.h:
9561         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9562         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9563         value of Dialogs::tooltipsEnabled().
9564         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9565
9566 2002-03-08  Juergen Vigna  <jug@sad.it>
9567
9568         * BufferView_pimpl.C (updateInset): update inset inside inset also
9569         if it isn't inside theLockingInset().
9570
9571 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * buffer.C (asciiParagraph): redo some of the word and line length
9574         handling.
9575         (getLists): look for Caption instead of caption.
9576
9577 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * buffer.C (Buffer): initialize niceFile to true
9580         (makeLaTeXFile):
9581         (makeLinuxDocFile):
9582         (makeDocBookFile): make sure niceFile is true on exit
9583
9584 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9585
9586         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9587
9588 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * LyXSendto.C: remove.
9591         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9592         * lyx_gui.C: remove now-redundant comment.
9593         * ColorHandler.h: remove forward declaration of class WorkArea.
9594         * lyxfunc.C: remove #include "WorkArea.h".
9595
9596 2002-03-07  Juergen Vigna  <jug@sad.it>
9597
9598         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9599         got moved away with the DEPM and also set the inset_owner always
9600         right which before could have been omitted.
9601
9602 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9605         wanted layout is not found.
9606
9607 2002-03-07  Juergen Vigna  <jug@sad.it>
9608
9609         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9610
9611 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9612
9613         * paragraph.C (breakParagraph): use default layout not layout of
9614         prev paragraph.
9615         (Paragraph): clear ParagraphParameters.
9616
9617 2002-03-06  Juergen Vigna  <jug@sad.it>
9618
9619         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9620         otherwise it would not be a valid lenght. Fixed a special case in
9621         the minipage compatibility read where we end the document with a
9622         minipage.
9623
9624         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9625         was set as it could be 0 for InsetTexts first entry.
9626
9627 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9628
9629         * paragraph.C (writeFile): if layout is empty write out
9630         defaultLayoutName().
9631
9632         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9633         file without named layout we set layout to defaultLayoutName().
9634
9635 2002-03-06  Juergen Vigna  <jug@sad.it>
9636
9637         * CutAndPaste.C (copySelection): set layout for new paragraph.
9638
9639         * text.C (prepareToPrint): leave ERT inset left aligned
9640         (leftMargin): don't indent paragraphs inside ERT insets
9641
9642 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9643
9644         * paragraph.C (breakParagraph): dont call clear do the work manually
9645
9646         * paragraph.[Ch] (clear): remove function
9647
9648 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * paragraph.C (Paragraph): dont call clear, the work has already
9651         been done.
9652
9653         * lyxtextclass.C (operator): assert if n is empty
9654
9655         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9656         work manually instead.
9657
9658 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * BufferView_pimpl.C: protect selectionLost against text == 0
9661
9662 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * text.C (breakParagraph): fix a setting layout to '0' problem.
9665
9666 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9667
9668         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9669         final location of file, for the included files, and graphics.
9670
9671 2002-03-05  Juergen Vigna  <jug@sad.it>
9672
9673         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9674
9675 2002-03-04  Juergen Vigna  <jug@sad.it>
9676
9677         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9678
9679         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9680         last column of multicolumn cells.
9681         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9682
9683 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9684
9685         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9686         file if it doesn't go to a temporary file.
9687
9688         * buffer.C (sgmlOpenTag):
9689         (sgmlCloseTag):  remove extra newline insertion.
9690
9691 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9692
9693         * text.C (getRowNearY): comment out debug msg
9694
9695 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9696
9697         * text2.C: first -> first_y
9698
9699         * text.C (getRowNearY): add some attemts at a possible
9700         optimization, not working.
9701
9702         * tabular.[Ch]: add BufferParams to several function so that newly
9703         created paragraph can be initialized to he default layotu for the
9704         buffers textclass.
9705
9706         * tabular-old.C (ReadOld): add buf->params to call of Init
9707
9708         * screen.C: rename text->first to text->first_y
9709
9710         * paragraph.C (breakParagraph): always set layout in the broken
9711         paragraph
9712
9713         * lyxtextclass.C (Read): remove lowercase
9714         (hasLayout): ditto
9715         (operator): ditto
9716         (delete_layout): ditto
9717
9718         * lyxtext.h: rename first -> first_y
9719
9720         * lyxlayout.C (Read): remove lowercase
9721         (name): ditto
9722         (setName): ditto
9723         (obsoleted_by): ditto
9724
9725         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9726
9727         * buffer.C (insertErtContents): add params are to InsetERT
9728         (parseSingleLyXformat2Token): add code to check if a paragraphs
9729         layout really exist.
9730         (parseSingleLyXformat2Token): add params to several inset
9731         constructors
9732         (asciiParagraph): remove lowercase, do the layout comparisons with
9733         no_case
9734
9735         * BufferView_pimpl.C (cursorNext): first -> first_y
9736         (resizeCurrentBuffer): first -> first_y
9737         (updateScrollbar): first -> first_y
9738         (scrollCB): first -> first_y
9739         (workAreaMotionNotify): first -> first_y
9740         (workAreaButtonPress): first -> first_y
9741         (checkInsetHit): first -> first_y
9742         (cursorPrevious): first -> first_y
9743         (cursorNext): first -> first_y
9744         (Dispatch): add buffer_->params to severl inset contructors
9745
9746 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9747
9748         * lyxlayout.C (Read): remove some debug info that I forgot.
9749
9750         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9751         clean up the code slightly.
9752         (makeLinuxDocFile): ditto
9753         (makeDocBookFile): ditto
9754
9755         * text2.C: layout as string
9756
9757         * text.C: layout as string
9758
9759         * paragraph_pimpl.C: layout as string
9760
9761         * paragraph.[Ch]: layout as string
9762
9763         * lyxtextclasslist.[Ch]: layout as string
9764
9765         * lyxtextclass.[Ch]: layout as string
9766
9767         * lyxtext.h: layout as string
9768
9769         * lyxlayout.[Ch]: layout as string
9770
9771         * lyx_cb.C: layout as string
9772
9773         * bufferview_funcs.C: layout as string
9774
9775         * bufferparams.C: layout as string
9776
9777         * buffer.C: layout as string
9778
9779         * LyXView.[Ch]: layout as string
9780
9781         * LaTeXFeatures.[Ch]: layout as string
9782
9783         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9784
9785         * BufferView_pimpl.C: change current_layout to string, remove
9786         lyx::layout_type.
9787         (Dispatch):
9788         (smartQuote):
9789         (insertInset):
9790         (workAreaButtonRelease): layout as string
9791
9792         * BufferView2.C (unlockInset): adjust
9793
9794         * vspace.C (asLatexCommand): use an explict temp variable.
9795
9796 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * Makefile.am: use FRONTEND_*
9799
9800 2002-03-01  Juergen Vigna  <jug@sad.it>
9801
9802         * tabular.C (SetWidthOfMulticolCell): changed to something better
9803         I hope but still work in progress.
9804         (recalculateMulticolumnsOfColumn): renamed function from
9805         recalculateMulticolCells as it is more appropriate now.
9806         (SetWidthOfCell): calculate multicols better.
9807
9808 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9811
9812         * lyxfunc.C (processKeySym): print sequence also if it is
9813         `deleted' (complete)
9814
9815         * kbsequence.C (print): print sequence even if it is deleted
9816         (complete would be a better word, actually).
9817
9818         * lyxfunc.C (dispatch): print complete options after a prefix key
9819
9820         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9821
9822 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9823
9824         * text2.C (setCharFont): eliminate setCharFont code duplication.
9825
9826 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9829         LFUN_TABULAR_FEATURE (bug #177)
9830
9831 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * Makefile.am: remove figure.h
9834
9835 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9836
9837         * Bufferview_pimpl.C:
9838         * CutAndPasteC:
9839         * LaTeX.C:
9840         * LyXSendto.C:
9841         * buffer.C:
9842         * bufferlist.C:
9843         * converter.C:
9844         * language.C:
9845         * lyxfunc.C:
9846         * lyxvc.C:
9847         * paragraph.C:
9848         * text.C:
9849         * text2.C: remove #include "lyx_gui_misc.h".
9850
9851         * LaTeX.C: added #include <cstdio>
9852
9853 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9856         that the paragraph following this one can have.
9857
9858         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9859
9860         * vspace.C (asLatexCommand): fix bogus gcc warning
9861
9862         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9863
9864 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9865
9866         * text2.C (setLayout): get rid of redundant code
9867
9868 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9869
9870         * text2.C (incDepth): make sure depth cannot be increased beyond
9871         reasonable values.
9872
9873 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9876         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9877
9878         * PainterBase.h (image):
9879         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9880         a LyXImage const *.
9881
9882 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * BufferView.C:
9885         * BufferView.h:
9886         * BufferView_pimpl.C:
9887         * BufferView_pimpl.h:
9888         * LaTeXFeatures.C:
9889         * LyXAction.C:
9890         * LyXView.C:
9891         * Makefile.am:
9892         * UpdateList.h:
9893         * UpdateList.C:
9894         * buffer.C:
9895         * figure.h:
9896         * figureForm.C:
9897         * figureForm.h:
9898         * figure_form.C:
9899         * figure_form.h:
9900         * lyx_cb.C:
9901         * lyx_gui.C:
9902         * lyx_gui_misc.C:
9903         * lyxfunc.C:
9904         * sp_base.h:
9905         * sp_ispell.h:
9906         * sp_pspell.h:
9907         * sp_spell.C: remove fig inset, and the crap house of
9908           cards that follows it
9909
9910 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * Makefile.am:
9913         * lyxserver.C:
9914         * os2_defines.h:
9915         * os2_errortable.h:
9916         * nt_defines.h: move .h into support/
9917
9918         * vms_defines.h: remove
9919
9920         * WorkArea.C: add space in debug output
9921
9922         * text2.C:
9923         * paragraph.C:
9924         * buffer.C: add WITH_WARNINGS
9925
9926         * vc-backend.h:
9927         * vc-backend.C:
9928         * bufferlist.C: s/retrive/retrieve/, add docs
9929
9930         * vspace.h:
9931         * vspace.C:
9932         * kbmap.h:
9933         * lyxlength.h:
9934         * lyxgluelength.h:
9935         * length_common.h:
9936         * chset.h:
9937         * chset.C: add docs
9938
9939         * lyxgui.C: add ID to X error handler
9940
9941         * lyxtestclass.c: fix typo
9942
9943 2002-02-26  Juergen Vigna  <jug@sad.it>
9944
9945         * tabular_funcs.C (write_attribute): changed so that some default
9946         attributes are not written at all.
9947         (getTokenValue): set default values before trying to read the
9948         value so we have the return value always set as default if we don't
9949         find the token we search for.
9950
9951         * tabular.C (Write): write bools as bools not as strings!
9952
9953 2002-02-22  Juergen Vigna  <jug@sad.it>
9954
9955         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9956         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9957
9958         * text.C (leftMargin): don't add an indent for paragraphs inside
9959         tabular cells (fix #208).
9960
9961 2002-02-21  José Matos  <jamatos@fep.up.pt>
9962
9963         * tabular.C (docBook): fixed support for long tables.
9964
9965 2002-02-20  Juergen Vigna  <jug@sad.it>
9966
9967         * text2.C (getFont): get the drawing font of the Inset if this
9968         paragraph is inside an inset (only important for InsetERT for now).
9969
9970         * buffer.C (insertErtContents): use new lanugage params in ERT
9971         constructor.
9972
9973         * CutAndPaste.C: commenting out seemingly uneeded code.
9974
9975 2002-02-19  Allan Rae  <rae@lyx.org>
9976
9977         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9978         Iterators might be simple to use but they also get invalidated.
9979         (removeAutoInsets): renamed saved cursor tracking variables and added
9980         some comments to clarify what everything does.
9981
9982 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9983
9984         * Chktex.C:
9985         * LaTeX.C:
9986         * LyXSendto.C:
9987         * converter.C:
9988         * lyx_cb.C:
9989         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9990         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9991
9992         * lyxfunc.C:
9993         * vc-backend.h: remove #include "support/syscall.h"
9994
9995         * LaTeX.C:
9996         * LyXSendto.C:
9997         * converter.C: rearrange #includes in Lars' approved fashion.
9998
9999         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10000         forward declare class Timeout in the header file.
10001
10002         * XFormsView.C: changes due to the above.
10003
10004         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10005         similar to LyXView.
10006
10007         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10008         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10009
10010 2002-02-18  José Matos  <jamatos@fep.up.pt>
10011
10012         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10013         insets contents.
10014
10015 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10016
10017         * a lot of small ws changes
10018         * add a lot of using std::XXX
10019         * use std construcs some places where approp.
10020         * use some exisint stuff from lyxfunctional where approp.
10021         * Make file changes to use partial linking (lets test this now...)
10022
10023 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10024
10025         * Chktex.C:
10026         * buffer.C:
10027         remove #include "support/syscontr.h" as it's redundant. Always has been.
10028
10029         * Chktex.C:
10030         * LaTeX.C:
10031         * LyXSendto.C:
10032         * converter.C:
10033         * lyx_cb.C:
10034         * vc-backend.C:
10035         change Systemcalls::System to Systemcalls::Wait and
10036         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10037         No change of functionality, just reflects the stripped down Systemcalls
10038         class.
10039
10040 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10041
10042         * debug.[Ch]: add a GRAPHICS type to the enum.
10043
10044 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10047
10048         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10049         there is an inset.
10050
10051 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10054         match the changes below.
10055
10056         * text2.C (toggleInset): if there is not editable inset at cursor
10057         position, try to see if cursor is _inside_ a collapsable inset
10058         and close it.
10059
10060 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10063         document menu has a nice checkbox
10064
10065 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * lyxlength.C (asLatexString): change PW to output as percent of
10068         \textwidth.
10069
10070         * lengthcommon.C: change '%' to 't%'
10071
10072         * lyxfunc.C (dispatch): a few comments from Martin
10073
10074 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * WorkArea.h:
10077         * WorkArea.C:
10078         * BufferView_pimpl.h:
10079         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10080           the X selection.
10081
10082 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10083
10084         * vspace.C (inPixels): fix compiler warning
10085
10086 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10087
10088         * lyxfunc.C (getStatus): fix status message for disabled commands.
10089
10090 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * BufferView_pimpl.C: fix crash on close buffer
10093         during selection (#227)
10094
10095 2002-01-27  Herbert Voss  <voss@lyx.org>
10096
10097         * buffer.C: link old Figure to new graphic inset
10098
10099 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * FontLoader.C (getFontinfo): Change the latex font names in order
10102         to match the names of type1inst.
10103
10104 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10105
10106         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10107
10108         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10109         (extchanged): ditto
10110         (ext_exist): ditto
10111         (remove_files_with_extension): ditto
10112         (remove_file): ditto
10113         (write): ditto
10114
10115         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10116         document is smaller than the work area height. Do not initialize
10117         static variables to 0.
10118
10119 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10122
10123         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10124         LFUN_LAYOUT_PARAGRAPHS.
10125
10126         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10127         tabular. It is possible to provide a possible cell, which will
10128         typically be the actcell from the corresponding insettabular
10129
10130         * lyxfunc.C (getStatus): small cleanup; disable
10131         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10132         true
10133
10134 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10137
10138         * paragraph.C (startTeXParParams):
10139         (endTeXParParams): new methods. The LaTeX code to
10140         start/end paragraph formatting
10141         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10142         empty (fixes bug #200)
10143
10144         * vspace.C (inPixels): adapt to the change below
10145         (inPixels): [later] more cleanups (remove unused variables)
10146
10147         * lyxlength.C (inPixels): change to use a width and a height as
10148         parameter.
10149
10150 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10153         Replaced with \paperwidth
10154
10155         * DepTable.C (insert): add std:: qualifier
10156
10157 2002-01-18  Allan Rae  <rae@lyx.org>
10158
10159         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10160         updated also?
10161
10162         * text.C (drawInset): Turned out I didn't know enough about how
10163         rebreaking worked.  This fixes most of the redraw problems.  I see
10164         an occasional cursor trail when a line is broken now and the cursor
10165         placement can seem out by a few pixels also after a rebreak.
10166
10167 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * buffer.C (parseSingleLyXformat2Token): update because minipage
10170         width is now a LyXLength
10171
10172         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10173
10174         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10175         math insets
10176
10177 2002-01-17  Juergen Vigna  <jug@sad.it>
10178
10179         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10180
10181         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10182         is set correctly and the inset is updated correctly.
10183
10184 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10187         the beginning of the loop.
10188
10189 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * lyxrc.C: improve help for use_scalable_fonts
10192
10193 2002-01-17  Allan Rae  <rae@lyx.org>
10194
10195         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10196
10197 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10200         make sure to set their inset_owner to the right value (bug #171)
10201
10202 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10203
10204         * DepTable.h
10205         * DepTable.C: Implement mtime checking to reduce time spent doing
10206         CRCs.
10207
10208 2002-01-16  Juergen Vigna  <jug@sad.it>
10209
10210         * tabular.C (GetAdditionalHeight): one of error fixed.
10211
10212         * lyxrc.C (output): small fix in writing use_pspell.
10213
10214 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10215
10216         * sp_base.h: #include LString.h
10217
10218 2002-01-16  Allan Rae  <rae@lyx.org>
10219
10220         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10221         Can someone check this please?
10222
10223         * text.C (drawInset): It was possible that p.row would be removed by
10224         breakAgainOneRow upsetting a few other settings.  There may be another
10225         small tweak possible by setting need_break_row = 0 when p.row has been
10226         removed but I don't know enough about the logic here.
10227
10228 2002-01-15  Allan Rae  <rae@lyx.org>
10229
10230         * text.C (insertChar): removed conditional truism.
10231
10232         * BufferView2.C (removeAutoInsets): More tweaks.
10233         cur_par_prev could be a stray pointer.  Check for trailing empty line
10234         in case last line was cur_par and only had an error inset on it.
10235
10236 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10237
10238         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10239         absolute
10240
10241         * vc-backend.C (most methods):
10242         * exporter.C (Export):
10243         * converter.C (convert):
10244         (runLaTeX):
10245         * LyXSendto.C (SendtoApplyCB):
10246         * lyxfunc.C (dispatch):
10247         (menuNew):
10248         (open):
10249         (doImport):
10250         * lyx_cb.C (AutoSave):
10251         (InsertAsciiFile):
10252         * BufferView_pimpl.C (MenuInsertLyXFile):
10253         * buffer.C (runChktex): use Buffer::filePath().
10254
10255         * buffer.h: rename filename to filename_; rename filepath to
10256         filepath_ and make it private
10257         (filePath): new method
10258
10259         * buffer.C (writeFile): use fileName()
10260         (getLatexName):
10261
10262         * lyx_main.C (init): fix starting  of LyX when the binary is a
10263         link from so,ewhere else.
10264
10265         * minibuffer.C: include <cctype> for isprint
10266
10267 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10270         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10271         name clash with InsetCollapsable's width function.
10272
10273 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10274
10275         * lastfiles.C: include <iterator>
10276
10277 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10278
10279         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10280         std::count.
10281
10282         * buffer.C (makeLaTeXFile): ditto.
10283         Also make loop operation more transparent.
10284
10285 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10286
10287         * ToolbarDefaults.C: remove trailing comma closing namespace.
10288
10289         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10290
10291         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10292         as in WorkArea.
10293
10294         * trans.C (Load): comment out unused variable, allowed.
10295
10296 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * minibuffer.[Ch] (append_char): new method to recieve input from the
10299         drop-down completion browser. If a key was pressed, then recieve this
10300         char and append it to the existing string.
10301         (peek_event): modify the positioning data passed to the completion
10302         browser so that it can be placed above the minibuffer rather than below.
10303 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10304
10305         * LyXAction.C (init): alloe error-next for readonly documents.
10306
10307         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10308         count.
10309
10310 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * bufferlist.C (readFile): create the buffer _after_ checking that
10313         the file exists.
10314
10315         * lyxfunc.C (verboseDispatch): fix handling of arguments
10316
10317         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10318
10319         * lyxrc.C: use string::erase() instead of initializing to "".
10320
10321
10322 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.h:
10325         * BufferView_pimpl.C:
10326         * WorkArea.h:
10327         * WorkArea.C:
10328         * text2.C: tell X when we have made a selection for copying
10329
10330 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * BufferView_pimpl.C (MenuInsertLyXFile):
10333         * lyxfunc.C (menuNew):
10334         (open):
10335         (doImport): add shortcuts to directory buttons
10336
10337         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10338         open a float)
10339
10340         * lyxfunc.C (setStatusMessage):
10341         (getStatusMessage): new methods
10342         (getStatus):use setStatusMessage instead of setErrorMessage
10343         (dispatch): when function is disabled, set error message here
10344         [instead of in getStatus previously]
10345
10346         * BufferView_pimpl.C (workAreaButtonRelease): update
10347         toolbar/menubar here too.
10348
10349 2002-01-13  Allan Rae  <rae@lyx.org>
10350
10351         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10352         Now seems indestructible.  Remaining task is to audit all other
10353         code affected by deleteEmptyParagraphMechanism.  One small quirk
10354         left is that an empty document with an error in the preamble can
10355         be made to report an error but no error box appears.  I don't know
10356         where it goes.
10357         (removeAutoInsets): Improved comments.
10358
10359 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * Thesaurus.h:
10362         * Thesaurus.C: update for Aiksaurus 0.14
10363
10364 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * text2.C (firstParagraph): removed member function, all uses
10367         replaces with ownerParagraph
10368         (redoParagraphs): here
10369         (updateInset): here
10370         (toggleAppendix): here
10371         * BufferView2.C (insertErrors): here
10372         (setCursorFromRow): here
10373
10374 2002-01-13  Allan Rae  <rae@lyx.org>
10375
10376         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10377         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10378         There is still a way to segfault this although you may have to do this
10379         multiple times: Have an InsetERT with an unknown command in it.
10380         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10381         <down-arrow>, <Enter> again, View->DVI, BANG!
10382
10383         * text2.C (setCursor):
10384         (deleteEmptyParagraphMechanism):
10385         * lyxtext.h (setCursor):
10386         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10387         Making use of the return value may help fix other bugs.
10388
10389 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10392
10393         * LyXView.C (updateMenubar): call MenuBar::update here
10394         (updateToolbar): but not here
10395         (showState): do not update toolbar/menubar
10396
10397         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10398         should need to care about that.
10399
10400         * lyxfunc.C (verboseDispatch): simplify a bit
10401         (getStatus): have a version which takes a pseudoaction, and
10402         another which requires a (kb_action,string).
10403
10404         * LyXAction.C (retrieveActionArg): make it work also when action
10405         is not a pseudo-action.
10406         (getActionName): simplify a bit
10407         (helpText):
10408
10409 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * lyxfunc.C (verboseDispatch): new families of methods with
10412         several ways to specify a command and a bool to indicate whether
10413         the command name and shortcut should be displayed in minibuffer
10414         (eventually, we could extend that to a finer bitmask like
10415         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10416         (dispatch): the pristine dispatch command which just, well,
10417         dispatchs! Note it still sets its result to minibuffer; I'm not
10418         sure we want that.
10419
10420         * lyxfunc.h: remove setHintMessage
10421
10422         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10423
10424 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * BufferView_pimpl.C (specialChar): delete new inset if we have
10427         not been able to insert it.
10428
10429         * kbmap.C: revert to using int instead of kb_action, since all we
10430         are dealing with is pseudo-actions.
10431
10432         * LyXAction.C (searchActionArg): change to return int instead of
10433         kb_action, since the result is a pseudoaction.
10434
10435 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * buffer.C (insertErtContents): Fix (partially) the font bug.
10438
10439 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10440
10441         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10442         as the other one is broken on my machine!
10443
10444 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10445
10446         * commandtags.h:
10447         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10448
10449 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10452         reflect their actual use. Provide compatibility code for older lyxrc
10453         files.
10454
10455         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10456         FL_NORMAL_STYLE.
10457         change names of popup font variables in line with the changes to lyxrc.C
10458
10459 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10460
10461         * buffer.C (asciiParagraph): avoid outputing a word twice after
10462         an inset.
10463
10464         * lyxrc.C (getDescription): document that document_path and
10465         template_path can be empty.
10466
10467 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * LaTeXFeatures.C (getMacros):
10470         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10471
10472         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10473
10474         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10475         getPackages.
10476         (getPackages): rename feature "floats" to "float". Use an array to
10477         iterate over 'simple' features (i.e. just a \usepackage). Add
10478         handling of "amsmath" (renamed from "amsstyle").
10479
10480 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10481
10482         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10483         features list.
10484
10485 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10486
10487         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10488         FuncStaus::FuncStatus & FuncStaus::some_method().
10489
10490 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10491
10492         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10493         of the func_satus stuff. Edited and massaged in various ways by
10494         JMarc.
10495
10496         * lyxfunc.C (getStatus): use FuncStatus
10497
10498 2002-01-08  Juergen Vigna  <jug@sad.it>
10499
10500         * text.C (nextBreakPoint): use function Inset::isChar().
10501
10502         * paragraph.C (TeXOnePar): use function
10503         Inset::forceDefaultParagraphs.
10504
10505         * buffer.C (latexParagraphs): use function
10506         Inset::forceDefaultParagraphs.
10507
10508 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10509
10510         * lyx_gui.C (init): set the style of the menu popups to
10511         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10512
10513 2002-01-07  Juergen Vigna  <jug@sad.it>
10514
10515         * text.C (setHeightOfRow): small fix
10516         (prepareToPrint): don't look at alignment if we don't have the place
10517         for doing it.
10518
10519 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10520
10521         * box.C: New file. Move the Box methods and functions out of box.h,
10522         following Lars' suggestion.
10523
10524 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10525
10526         * box.h: #include "support/LOstream.h", needed for inlined function.
10527
10528         * lyxtextclass.C:
10529         * lyxtextclasslist.C: added some using std declarations.
10530
10531 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * box.h: make signed dimensions to allow insets wider than
10534           the screen (bug #162)
10535
10536         * BufferView_pimpl.C: add some insetHit debug
10537
10538 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * vc-backend.C: add FIXME
10541
10542 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyxfunc.C (getStatus): enable code for showing math font status
10545         in toolbar/menu.
10546
10547 2002-01-07  Juergen Vigna  <jug@sad.it>
10548
10549         * text.C (nextBreakPoint): removed debug output not needed anymore.
10550
10551 2002-01-06  Juergen Vigna  <jug@sad.it>
10552
10553         * text.C (nextBreakPoint): fixed up this function we had this bug
10554         since ever but now hopefully we break row better.
10555         (insertChar): we have to check if an inset is the next char as it
10556         could now happen that a large inset is causing a break.
10557
10558 2002-01-05  Juergen Vigna  <jug@sad.it>
10559
10560         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10561         if it doesn't like to be drawed.
10562
10563 2002-01-04  Juergen Vigna  <jug@sad.it>
10564
10565         * BufferView2.C (lockInset): forgot to set a cursor.
10566
10567         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10568
10569 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10570
10571         * FormMathsPanel.C:
10572         * FormMathsPanel.h
10573         * MathsSymbols.C:
10574         * form_maths_panel.C:
10575         * form_maths_panel.h:
10576         * form_maths_panel.fd: implemented sub- and super- buttons in math
10577         panel.
10578
10579         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10580         (or ^ space) to be used as in TeX (req'd by André).
10581
10582         * lyxfunc.C: Allow ^ and _ again to be used both as
10583         super/subscript (mathed) and as themselves (in text).
10584
10585 2002-01-03  Allan Rae  <rae@lyx.org>
10586
10587         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10588         "LyX" or the filename of the current buffer if it has one.  This is a
10589         modified form of John Levon's patch.
10590
10591         * XFormsView.C (setWindowTitle): also set icon title.
10592
10593         * LyXView.h (setWindowTitle): signature changed.
10594         * XFormsView.h (setWindowTitle): ditto.
10595
10596 2002-01-02  Juergen Vigna  <jug@sad.it>
10597
10598         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10599
10600 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10601
10602         * screen.C (topCursorVisible): introduce a temp var for
10603         text->cursor.row(), handle the case where this row is null. (kindo
10604         hachish)
10605
10606         * text2.C (setCursor): add a couple of asserts.
10607
10608         * paragraph.h (inset_iterator): add -> operator
10609
10610         * paragraph.[Ch] (autoDeleteInsets): remove member function
10611
10612         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10613         cursor pos correctly and handle inset deletion by itself.
10614         (insertErrors): move iterator declaration out of for expression
10615
10616         * lyxtextclass.C: add <algorithm>
10617
10618         * Makefile.am: added the new files to sources, removed layout.C
10619
10620         * layout.C: removed file
10621
10622         * layout.h: remove LYX_DUMMY_LAYOUT
10623
10624         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10625         layout.
10626
10627         * lyxlayout.[Ch]:
10628         * lyxtextclass.[Ch]:
10629         * lyxtextclasslist.[Ch]: new files
10630
10631         * include order changes to a lot of files, also changes because of
10632         the six new files.
10633
10634 2001-12-27  Juergen Vigna  <jug@sad.it>
10635
10636         * buffer.C (asciiParagraph): more fixes.
10637
10638         * tabular.C (ascii): make ascii export support export of only the
10639         data separated by a column-delimiter.
10640         (ascii): better support for ascii export.
10641
10642         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10643
10644 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10645
10646         * tabular_funcs.C: use a "using std::getline" instead of the
10647         previous fix from Angus (necessary for cxx + lyxstring)
10648
10649 2001-12-24  Juergen Vigna  <jug@sad.it>
10650
10651         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10652
10653         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10654         problems. First check a minipage also if we have some ert-contents
10655         (not only on par->size(), second set the right depth of the paragraph
10656         on the relink to the root-paragraph-list!
10657
10658         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10659         which then did not anymore update the main paragraphs on undo/redo!
10660
10661 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10664         code. Support all font-changing funcs (even those which are not in
10665         menu currently). Support for reporting font settings in
10666         mathed (disabled until Andre provides a function on mathed's side).
10667
10668         * func_status.h (toggle): small helper function to set toggle
10669         state on a flag.
10670
10671 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10672
10673         * tabular_funcs.C: getline -> std::getline
10674
10675 2001-12-21  Juergen Vigna  <jug@sad.it>
10676
10677         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10678         accessed and could be 0 (I couldn't generate this but it seems
10679         Michael could!).
10680
10681 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10684         * tabular_funcs.h: here and include iosfwd
10685
10686 2001-12-20  Juergen Vigna  <jug@sad.it>
10687
10688         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10689         inside inset but undo_par was.
10690
10691 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * Thesaurus.C: always include <config.h> in sources.
10694
10695         * Painter.h:
10696         * lyxlookup.h:
10697         * box.h: do not include <config.h> in header files
10698
10699         * text.C (paintLastRow): remove unused variable
10700
10701         * text.C (transformChar):
10702         (insertChar):
10703         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10704
10705         * Painter.C (text):
10706         * font.C (width): rewrite to use uppercase() instead of
10707         islower/toupper.
10708
10709         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10710
10711 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * lyxfind.C: clean up of find failure position change
10714
10715 2001-12-20  Juergen Vigna  <jug@sad.it>
10716
10717         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10718
10719         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10720         (TeXRow): added to LaTeX a single tabular row.
10721         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10722         (Latex): simplified and finally good LT-h/f support.
10723         (various_functions): just small adaptions for LT-h/f support.
10724
10725         * tabular_funcs.[hC]: added and moved here all not classfunctions
10726         of LyXTabular.
10727
10728 2001-12-19  Juergen Vigna  <jug@sad.it>
10729
10730         * tabular.[Ch]: better support for longtabular options (not finished
10731         yet!)
10732
10733 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734
10735         * text.C (paintLastRow): use the label font instead of the font of
10736         the last character to compute the size of *_BOX. This makes more
10737         sense and avoids a crash with empty paragraphs.
10738         Use Painter::rectangle to draw EMPTY_BOX.
10739
10740 2001-12-19  Juergen Vigna  <jug@sad.it>
10741
10742         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10743         the paragraphs if the replaced paragraph is not the first one!
10744         Tried to delete not used paragraphs but does not work yet so for
10745         now it's inside #ifdef's and by default off!
10746
10747 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10748
10749         * MenuBackend.C: include "lyx_main.h" instead of declaring
10750         lastfiles (actually was declared as LastFiles* instead of a
10751         scoped_ptr).
10752
10753 2001-12-17  Juergen Vigna  <jug@sad.it>
10754
10755         * tabular.C (AppendColumn): applied John's fix
10756
10757 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * BufferView.h:
10760         * BufferView.C:
10761         * BufferView_pimpl.h:
10762         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10763
10764         * Makefile.am:
10765         * box.h: new start of class for above
10766
10767         * lyxfunc.C: ignore space-only minibuffer dispatches.
10768           Show the command name when it doesn't exist
10769
10770         * minibuffer.C: don't add empty lines to the history
10771
10772         * minibuffer.C: add a space on dropdown completion
10773
10774 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * text.C: fix line above/below drawing in insets
10777
10778 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * lyxlength.C (LyXLength): Initialize private variables.
10781
10782 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10783
10784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10785         when inserting error insets.
10786
10787 2001-12-13  Juergen Vigna  <jug@sad.it>
10788
10789         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10790         actually sometimes the before-paragraph.
10791         (setUndo): don't clear the redostack if we're not actually undoing!
10792
10793 2001-12-06  Juergen Vigna  <jug@sad.it>
10794
10795         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10796         and fixed redoing of main paragraph, so we can use it now ;)
10797
10798         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10799
10800 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10803         Juergen's request
10804
10805 2001-12-13  André Pönitz <poenitz@gmx.net>
10806
10807         * undostack.[Ch]:
10808         * undo_func.C: minor cleanup
10809
10810 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10813         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10814         font in urw-fonts package which is marked as -urw-fontspecific and
10815         does not work (incidentally, changing the encoding in the
10816         fonts.dir of this package to -adobe-fontspecific fixes the
10817         problem).
10818
10819         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10820         is a crash when undoing first paragraph (Juergen, please take a
10821         look). THis does not mean the undo fix is wrong, just that it
10822         uncovers problems.
10823
10824         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10825         the (Paragraph*) version when needed instead of duplicating the
10826         code.
10827
10828         * text.C (workWidth): use Inset::parOwner to find out where the
10829         inset has been inserted. This is a huge performance gain for large
10830         documents with lots of insets. If Inset::parOwner is not set, fall
10831         back on the brute force method
10832
10833         * paragraph_pimpl.C (insertInset):
10834         * paragraph.C (Paragraph):
10835         (cutIntoMinibuffer): set parOwner of insets when
10836         inserting/removing them
10837
10838         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10839
10840 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10841
10842         * commandtags.h:
10843         * LyXAction.C:
10844         * lyx_main.C:
10845         * lyxfunc.C:
10846         * mathed/formulabase.C:
10847         * mathed/math_cursor.[Ch]:
10848         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10849
10850
10851 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852
10853         * lyxlength.[Ch] (operator!=): new function
10854
10855 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10856
10857         * text.C (workWidth): use Inset::parOwner to find out where the
10858         inset has been inserted. This is a huge performance gain for large
10859         documents with lots of insets. If Inset::parOwner is not set, fall
10860         back on the brute force method
10861
10862         * paragraph_pimpl.C (insertInset):
10863         * paragraph.C (Paragraph):
10864         (cutIntoMinibuffer): set parOwner of insets when
10865         inserting/removing them
10866
10867         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10868
10869 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10870
10871         * tabular-old.C (getTokenValue):
10872         * tabular.C (getTokenValue):
10873         (write_attribute): new versions for LyXLength
10874         (everywhere): adjust the use of widths
10875
10876         * tabular.h: change the type of widths from string to LyXLength
10877
10878 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10879
10880         * paragraph.C: fixed missing line number count when exporting
10881         Environments to LaTeX file
10882
10883         * buffer.C: added informational message for checking line numbers.
10884
10885 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10888         paragraph, do the 'double space' part, but not the 'empty
10889         paragraph' one.
10890
10891         * text.C (workWidth): small optimization
10892         (getLengthMarkerHeight): use minimal size for negative lengths.
10893
10894 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10895
10896         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10897
10898         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10899
10900 2001-12-11  André Pönitz <poenitz@gmx.net>
10901
10902         * FontLoader.C:
10903         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10904
10905 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * text2.C: keep selection on a setFont()
10908
10909 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * lyx_cb.C: another bv->text misuse, from insert label
10912
10913 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * kbsequence.h:
10916         * kbsequence.C: re-instate nmodifier mask
10917
10918 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10919
10920         * lyx_main.h: make lyxGUI private.
10921
10922 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * lyxfind.C: place the cursor correctly on failed search
10925
10926 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10927
10928         * text.C (getLengthMarkerHeight): for small heights, the arrows
10929         are not always on top/bottom of the text
10930         (drawLengthMarker): smaller arrows; take the left margin in
10931         account; draw also vfills.
10932         (paintFirstRow):
10933         (paintLastRow): remove special code for vfill and standard spaces,
10934         since everything is handled in drawLengthMarker now.
10935
10936 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * buffer.C (insertErtContents): try to handle font and language
10939         interaction a bit better.g
10940
10941         * ColorHandler.C (updateColor): change the hash to cover the whole
10942         LColor enum, ws cleanup
10943         (getGCLinepars): ditto
10944         (getGCLinepars): only lookup in the linecache once.
10945
10946 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10947
10948         * iterators.C (operator++): Make the iterator more robust
10949
10950         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10951         (John's patch)
10952         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10953
10954 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * lyxtext.h:
10957         * text.C: better added space drawing
10958
10959 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * LyXView.C:
10962         * BufferView2.C: fix layout combo update on inset unlock
10963
10964 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10965
10966         * Makefile.am: don't compile unused files
10967
10968 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * lyxfunc.C:
10971         * commandtags.h:
10972         * LyXAction.C: remove old LFUN_LAYOUTNO
10973
10974 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * paragraph_pimpl.h:
10977         * paragraph_pimpl.C: isTextAt() doesn't need font param
10978
10979 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * lyxlex.h:
10982         * lyxlex.C: little cleanup
10983
10984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * BufferView_pimpl.C: fix insertAscii for insets
10987
10988 2001-12-05  Juergen Vigna  <jug@sad.it>
10989
10990         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10991         set the right font on the "multi" paragraph paste!
10992
10993 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * trans_decl.h:
10996         * trans_mgr.[Ch]:
10997         * trans.[Ch]:
10998         * lyxgluelength.C:
10999         * lyxlength.C: remove out-commented code.
11000
11001         * BufferView_pimpl:
11002         * CutAndPaste.C:
11003         * DepTable.C:
11004         * buffer.C:
11005         * chset.C:
11006         * lastfiles.C:
11007         * lyxlex.C:
11008         * lyxlex_pimpl.C:
11009         * lyxserver.C:
11010         * screen.C:
11011         * tabular-old.C:
11012         * tabular.C:
11013         * text.C:
11014         * trans_mgr.C:
11015         * vc-backend.C: change "while(" to "while ("
11016
11017         * lyxlength.[Ch]: add zero function to check if length is zero or
11018         not
11019         * lyxgluelength.C: use it
11020
11021 2001-12-05  Allan Rae  <rae@lyx.org>
11022
11023         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11024         Works for 2.95.3, from what I understand of Garst's reports this should
11025         work for other g++ versions.  We're screwed if the abs(int) definition
11026         changed between bugfix releases of gcc.
11027
11028 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * text.C: fix chapter label offset !
11031
11032 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * lyxtext.h:
11035         * text.C: fix hfill at end of line, clean up
11036
11037 2001-12-04  Juergen Vigna  <jug@sad.it>
11038
11039         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11040         that we force an update of the inset and it's owners if neccessary.
11041
11042 2001-12-03  Juergen Vigna  <jug@sad.it>
11043
11044         * text.C (rowLast): simplified code
11045
11046 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * lyxfunc.C: fix show options on timeout
11049
11050 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * screen.C (topCursorVisible): scroll half a page when the cursor
11053         reached top of bottom of screen
11054
11055 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * minibuffer.C: deactivate on loss of focus
11058
11059 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * vspace.[Ch] (operator!=): add operator.
11062
11063 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * BufferView_pimpl.C: refuse to open an inset when
11066         there's a selection.
11067
11068 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * BufferView_pimpl.C: allow to click on RHS of full row insets
11071
11072 2001-11-30  Juergen Vigna  <jug@sad.it>
11073
11074         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11075         insets for undo reasons.
11076
11077 2001-11-28  André Pönitz <poenitz@gmx.net>
11078
11079         * vspace.[Ch]: cosmetical changes
11080
11081 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * LyXAction.h:
11084         * LyXAction.C:
11085         * lyxfunc.h:
11086         * lyxfunc.C:
11087         * kbmap.h:
11088         * kbmap.C:
11089         * lyxrc.C:
11090         * kbsequence.h:
11091         * kbsequence.C: part re-write of old kb code
11092
11093         * Painter.C:
11094         * WorkArea.C: remove Lgb_bug_find_hack
11095
11096 2001-11-30  José Matos <jamatos@fep.up.pt>
11097
11098         * buffer.C (makeDocBookFile): add a comment to point a hack.
11099         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11100         Fixed a double write of labels.
11101
11102 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11103
11104         * LaTeX.C:
11105         * LaTeX.h Fixed bug in LaTeX class where it would not
11106         re-run latex if no depfiles were changed, but the .dvi was removed.
11107
11108 2001-11-28  André Pönitz <poenitz@gmx.net>
11109
11110         * all the files from the change on 2001/11/26:
11111         use lyx::layout_type instead of LyXTextClass::size_type
11112         use lyx::textclass_type instead of LyXTextClassList::size_type
11113
11114 2001-11-29  Juergen Vigna  <jug@sad.it>
11115
11116         * text.C: added support for paragraph::isFreeSpacing()
11117
11118         * buffer.C: same as above
11119
11120         * paragraph.h: inserted isFreeSpacing() function to enable
11121         FreeSpacing inside InsetERT.
11122
11123         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11124         of the paragraph's in the cut/copy buffer to 0!
11125
11126         * text2.C (removeRow): remove the assert as it can!
11127
11128         * lyxtext.h: added helper function firstRow returning firstrow and
11129         made firstrow private again.
11130
11131         * BufferView2.C (lockInset): don't relock if we're already locked!
11132
11133         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11134         the only paragraph.
11135         (removeRow): added Assert::(firstrow)
11136
11137         * debug.C: forgot to add INSETTEXT here.
11138
11139 2001-11-28  Juergen Vigna  <jug@sad.it>
11140
11141         * sp_spell.C (initialize): changed error text to more general
11142         spellchecker command use (not only ispell!)
11143
11144         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11145
11146         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11147
11148 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * vspace.C: initialise lyxgluelength on failure
11151
11152 2001-11-28  Allan Rae  <rae@lyx.org>
11153
11154         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11155         declaration & definition that looks like a function declaration.
11156
11157 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11158
11159         * BufferView2.C (copy):
11160         (copyEnvironment): do not clear the selection when doing a copy.
11161
11162         * text.C (paintFirstRow): compilation fix
11163
11164 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11165
11166         * tabular.C (Latex): correct line count when writing latex.
11167
11168 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * paragraph_pimpl.h:
11171         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11172           bug a bit
11173
11174 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * text.C:
11177         * LColor.h:
11178         * LColor.C: change vfillline->added_space
11179
11180         * text.C: add markers and text for added space
11181
11182         * vspace.C: fix comment
11183
11184 2001-11-28  André Pönitz <poenitz@gmx.net>
11185
11186         * paragraph.C: whitespace changes
11187         * all the other files from the change on 2001/11/26:
11188         change *::pos_type into lyx::pos_type
11189
11190 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11191
11192         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11193         language of the document when inserting error insets.
11194
11195 2001-11-26  André Pönitz <poenitz@gmx.net>
11196
11197         * BufferView_pimpl.[Ch]:
11198         *       CutAndPaste.C:
11199         * buffer.[Ch]:
11200         * lyxcursor.[Ch]:
11201         * lyxfind.C:
11202         * lyxfunc.C:
11203         * lyxrow.[Ch]:
11204         * paragraph.[Ch]:
11205         * paragraph_pimpl.[Ch]:
11206         * sp_spell.C:
11207         * text.C:
11208         * text2.C: reduce header dependencies, introduce type for positions
11209
11210 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * <various>: change to use Alert.h
11213
11214 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11217         when encountering an unknown token.
11218         (readLyXformat2): Show an error message if there were unknown tokens.
11219
11220 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * BufferView2.C:
11223         * BufferView_pimpl.C:
11224         * buffer.C:
11225         * paragraph.h:
11226         * text.C:
11227         * text2.C: use par->isInset()
11228
11229 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * paragraph_pimpl.h:
11232         * paragraph_pimpl.C: cleanup
11233
11234 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11235
11236         * text2.C (removeRow):
11237         * text.C (setHeightOfRow): remove useless (and costly) call to
11238         getRow.
11239
11240 2001-11-20  Allan Rae  <rae@lyx.org>
11241
11242         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11243         Now need Inset*::checkInsertChar() to return true for appropriate
11244         cases so that the characters in the minibuffer will actually be
11245         inserted.
11246
11247 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * text.C: change the order of the includes.
11250         (workWidth): initialize it at once.
11251         (workWidth): make maxw unsigned
11252         (setHeightOfRow): remove unused variable (inset)
11253         (selectSelectedWord): remove unused variable (inset)
11254         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11255
11256 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11257
11258         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11259         server is not running.
11260         (openConnection):
11261         (closeConnection): add debug info when server is disabled.
11262
11263         * ColorHandler.C (getGCForeground): send debug message to GUI
11264         channel.
11265
11266         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11267
11268         * kbmap.C (bind): modify because return conventions of
11269         kb_sequence::parse have changed.
11270
11271         * kbsequence.C (parse): only ignore spaces and not any stupid
11272         control character. This avoids tests like s[i] <= ' ', which are
11273         guaranteed to fail with 8bit characters and signed chars.
11274         Change return code to string::npos when there have been no error
11275         (0 was a bad idea when error is at first character)
11276
11277 2001-11-14  José Matos  <jamatos@fep.up.pt>
11278
11279         * buffer.h:
11280         * buffer.C (simpleDocBookOnePar): removed unused argument.
11281
11282 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11283
11284         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11285         insets which are part of a word. Paragraph::isLetter takes care of
11286         that now. Use Paragraph::isInset to identify insets.
11287         (selectSelectedWord): do not test for hyphenation break.
11288
11289         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11290         that protected spaces are considered as spaces.
11291
11292         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11293         Inset::isLetter.
11294
11295 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * lyxserver.h:
11298         * lyxserver.C: fix it. and small cleanup.
11299
11300 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * BufferView_pimpl.C: use inline helpers
11303
11304         * LaTeXFeatures.h:
11305         * LaTeXFeatures.C: fix typos
11306
11307         * Spacing.h:
11308         * Spacing.C: move spacing_string into class
11309
11310         * ToolbarDefaults.C: move stuff into namespace anon
11311
11312         * layout.h: update enum
11313
11314         * lyxfunc.C: use better debug
11315
11316         * minibuffer.h: fix typo
11317
11318         * debug.h:
11319         * debug.C:
11320         * WorkArea.C: add and use Debug::WORKAREA
11321
11322         * lyxtext.h:
11323         * text.C:
11324         * text2.C: code re-organisation, inline helpers
11325
11326 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11327
11328         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11329         std::vector.empty().
11330
11331 2001-11-09  Allan Rae  <rae@lyx.org>
11332
11333         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11334         '\n's after tables.  Tabular and ERT inset work now makes this no
11335         longer necessary.
11336
11337 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * minibuffer.h:
11340         * minibuffer.C: fix crash, improve drop-down completion
11341
11342 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * lyxserver.h:
11345         * lyxserver.C: invalidate fd's when doing endPipe()
11346
11347 2001-11-08  José Matos  <jamatos@fep.up.pt>
11348
11349         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11350         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11351
11352         * paragraph.h:
11353         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11354
11355 2001-11-07  José Matos  <jamatos@fep.up.pt>
11356
11357         * buffer.h:
11358         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11359         const qualifier.
11360
11361         * buffer.C (sgmlOpenTag):
11362         * buffer.C (sgmlCloseTag): removed debug info.
11363
11364         * buffer.h (sgmlOpenTag):
11365         * buffer.h (sgmlCloseTag): made public.
11366
11367 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11368
11369         * buffer.C (saveParamsAsDefaults):
11370         * lyx_cb.C (MenuLayoutSave): remove
11371
11372         * LyXAction.C (init):
11373         * commandtags.h:
11374         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11375
11376 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11377
11378         * buffer.C (setPaperStuff): removed from here...
11379
11380         * bufferparams.C (setPaperStuff): ... and moved there.
11381
11382 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * minibuffer.h:
11385         * minibuffer.C:
11386         * XFormsView.C: add support for drop-down completion
11387
11388 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11389
11390         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11391         commands.
11392
11393 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11396         disabled.
11397
11398 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * lyx_main.C: change ref to known bugs
11401
11402 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11403
11404         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11405         to work around older babel problems.
11406
11407 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11408
11409         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11410
11411 2001-10-24  Juergen Vigna  <jug@sad.it>
11412
11413         * tabular-old.C (ReadOld): below variable changes reflected.
11414
11415         * tabular.[Ch]: added ltType struct for longtable header/footer
11416         defines and changed all instances where they are used. Added
11417         future support for double top/bottom rows.
11418
11419 2001-10-24  José Matos  <jamatos@fep.up.pt>
11420
11421         * buffer.h (docbookHandleCaption):
11422         * buffer.C (docbookHandleCaption): removed unused function.
11423         (makeDocBookFile): moved docbook supported version to v4.1.
11424
11425 2001-10-24  José Matos  <jamatos@fep.up.pt>
11426
11427         * tabular.h:
11428         * tabular.C (docbookRow): new function to export docbook code of a row.
11429         (DocBook): now honors the longtable flags.
11430
11431 2001-10-23  José Matos  <jamatos@fep.up.pt>
11432
11433         * LaTeXFeatures.h:
11434         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11435         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11436
11437         * buffer.C (makeLinuxDocFile):
11438         (makeDocBookFile): reworked the preamble, more clean, and with
11439         support for lyx defined entities. Changed the document declaration
11440         to be more XML friendly.
11441
11442         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11443         if we need to output XML that should be done with a filter.
11444
11445 2001-10-22  Juergen Vigna  <jug@sad.it>
11446
11447         * sp_pspell.h (class PSpell): add alive function needed in the
11448         controller to see if the spellchecker could be started.
11449
11450 2001-10-22  Juergen Vigna  <jug@sad.it>
11451
11452         * buffer.C (insertStringAsLines): modify the font for inserting
11453         chars in certain conditions by calling checkInsertChar(font).
11454
11455 2001-10-19  Juergen Vigna  <jug@sad.it>
11456
11457         * text.C (workWidth): use getRow instead of wrong algorithm.
11458         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11459
11460 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * lyxserver.h:
11463         * lyxserver.C:
11464         * lyx_main.h:
11465         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11466
11467 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11468
11469         * text.C (workWidth): do not search for the exact row when
11470         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11471         optimization for big documents.
11472
11473 2001-10-18  Juergen Vigna  <jug@sad.it>
11474
11475         * text.C (workWidth): new function with added Inset * parameter.
11476
11477 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11480
11481         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11482         change return type of getColumnNearX.
11483
11484
11485         * text.C (changeRegionCase): use uppercase/lowercase instead of
11486         toupper/tolower.
11487         (leftMargin):
11488         (rightMargin): simplify code by factoring out the uses of
11489         textclasslist.
11490         (labelFill):
11491         (numberOfHfills):
11492         (setHeightOfRow):
11493         (appendParagraph): use Paragraph::size_type
11494
11495 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11496
11497         * vspace.C (asLatexString): add a missing break
11498
11499 2001-10-15  Herbert Voss  <voss@perce.de>
11500
11501         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11502
11503 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11504
11505         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11506         is not available.
11507
11508 2001-10-10  André Pönitz <poenitz@gmx.net>
11509
11510         * lyxfunc.C: removed greek_kb_flag.
11511
11512 2001-10-10  Herbert Voss  <voss@perce.de>
11513
11514         * lyx_main.C: delete global string help_lyxdir.
11515
11516 2001-10-09  Herbert Voss  <voss@perce.de>
11517
11518         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11519
11520         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11521
11522         * lyx_main.C: added global string help_lyxdir.
11523
11524         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11525
11526 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11527
11528         * lyxrc.C (set_font_norm_type): support iso8859-4
11529
11530 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11531
11532         * LaTeX.C (deplog): add another regex for MikTeX
11533
11534 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11535
11536         * lyxrc.C (set_font_norm_type): support iso8859-3
11537
11538 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11539
11540         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11541
11542         * LaTeXFeatures.C: remove special case of french and index
11543
11544         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11545         before \begin{document}). This solves several incompatibilities.
11546
11547 2001-10-03  Garst Reese  <reese@isn.net>
11548
11549         * lyx_cb.C: change CheckTex error msg.
11550
11551 2001-10-03  José Matos  <jamatos@fep.up.pt>
11552
11553         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11554
11555 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * .cvsignore: update
11558
11559         * lyx_main.C (commandLineVersionInfo): use new style version info.
11560
11561         * buffer.C (writeFile):
11562         (makeLaTeXFile):
11563         (makeLinuxDocFile):
11564         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11565
11566         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11567
11568         * version.h: update to use stuff in version.C
11569
11570         * version.C.in: new file. Contains version information determined
11571         at compile time. This is a merging of version.h and
11572         version_info.h.in.
11573
11574 2001-10-03  Juergen Vigna  <jug@sad.it>
11575
11576         * BufferView_pimpl.C (update): don't change "dirty" status in
11577         updateInset call.
11578
11579 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11580
11581         * WorkArea.C (c-tor): re-position version string slightly.
11582
11583 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11584
11585         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11586         revert to previous code.
11587
11588         WorkArea.[Ch]: (show, destroySplash): methods removed.
11589
11590         WorkArea.C: rework code so that it's an amalgam of the codes before and
11591         after the splash screen was moved to WorkArea.
11592
11593 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11594
11595         * lyxrc.C (read):
11596         * vspace.C (inPixels):
11597         (lyx_advance):
11598         * kbmap.C (bind):
11599         * buffer.C (insertStringAsLines):
11600         (asciiParagraph): fix types to be large enough
11601
11602         * lyxlex_pimpl.h: change member status from short to int
11603
11604         * layout.h: fix type of endlabeltype
11605
11606         * kbmap.C (bind):
11607         * kbsequence.C (parse): change return type to string::size_type
11608
11609         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11610         variable
11611
11612         * Bullet.C (bulletSize):
11613         (bulletEntry): do not use short ints as parameters
11614
11615         * BufferView2.C (insertLyXFile): change a char to an int.
11616
11617         * WorkArea.C (WorkArea): remove unneeded floats in computation
11618
11619 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11620
11621         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11622
11623         * paragraph.C (asString): Do not ignore newline/hfill chars when
11624         copying to the clipboard.
11625
11626 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11629         after a multi-line inset.
11630
11631 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11632
11633         * paragraph.C (validate): Set NeedLyXFootnoteCode
11634
11635 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11636
11637         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11638         and decrease-error to decrease.
11639
11640 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11641
11642         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11643         it more readable (should be equivalent)
11644
11645 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11646
11647         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11648
11649 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11652         of a cursor (row, etc.) after a character has been deleted
11653         (deleteEmptyParagraphMechanism): call the method above on _all_
11654         cursors held by the LyXText when a double space has been
11655         detected/deleted.
11656
11657 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11658
11659         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11660         pixmap.
11661         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11662
11663         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11664         background. Use greyOut() and the new show() methods to toggle between
11665         the foreground and background. Add code to remove the splash after
11666         its initial showing.
11667
11668         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11669         (create_forms): no longer call Dialogs::showSplash.
11670
11671 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * .cvsignore: add version_info.h
11674
11675 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11676
11677         * version_info.h.in: new file
11678
11679         * Makefile.am: add version_info.h.in
11680
11681         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11682         version_info.h instead of VERSION_INFO
11683
11684 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11685
11686         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11687         The ERT inset now returns string().
11688
11689 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * lyxtext.h, text.C (selectNextWord): renamed as
11692         selectNextWordToSpellcheck.
11693
11694         * text.C (selectNextWordToSpellcheck): Modified to not select
11695         words inside an ERT inset.
11696
11697 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11698
11699         * lyx_cb.C (MenuLayoutSave): change a bit the question
11700
11701         * sp_base.h: include <sys/types.h>
11702
11703 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11706
11707 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11708
11709         * several files: fix typos in user-visible strings
11710
11711 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11712
11713         * text2.C (pasteSelection): do not set the selection, since it
11714         will be cleared later. Actually, the intent was to fix the way the
11715         selection was set, but I figured rmoving the code was just as good.
11716
11717 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11718
11719         * FontLoader.C (available): Check if font is available without
11720         loading the font.
11721
11722 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11723
11724         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11725
11726 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11727
11728         * lyxrc.[Ch]: added display_graphics variable and associated code.
11729
11730 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * bufferparams.C (hasClassDefaults): new method. Returns true if
11733         the buffer parameters correspond to known class defaults
11734
11735 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * XFormsView.C (show): set minimum size to the main window.
11738
11739 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11740
11741         * text2.C (copySelection):
11742         (cutSelection):
11743         * lyxfind.C (LyXReplace):
11744         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11745         LyXText::selectionAsString.
11746
11747         * paragraph.C (asString): add "label" argument to the second form
11748
11749         * text2.C (selectionAsString): add "label" argument and pass it to
11750         Paragraph::asString.
11751
11752 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11753
11754         * lyx_main.C (commandLineHelp): remove version information
11755
11756 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11757
11758         * lyx_main.C: add -version commandline option
11759
11760 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * paragraph.h: make the optional constructor arg required instead.
11763         some modifications to other files because of this.
11764
11765         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11766
11767         * lyxserver.C (C_LyXComm_callback): make it static
11768
11769         * lyx_main.C (error_handler): make it static
11770
11771         * lyx_gui.C (LyX_XErrHandler): make it static
11772
11773         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11774
11775         * WorkArea.C: make the extern "C" methods static.
11776
11777         * Makefile.am (lyx_LDADD): simplify
11778
11779 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11782         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11783
11784         * LyXAction.C (init):
11785         * lyxfunc.C (dispatch): associated code removal.
11786
11787 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11788
11789         * lyxfont.h (isSymbolFont): shut off warning
11790
11791         * text.C (setHeightOfRow):
11792         (getVisibleRow): fix crash with empty paragraphs which have a
11793         bottom line
11794
11795 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11796
11797         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11798         code.
11799
11800 2001-09-04  José Matos  <jamatos@fep.up.pt>
11801         * buffer.C
11802         * buffer.h
11803         * tabular.C (docbook): rename docBook method to docbook.
11804
11805 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11806
11807         * Makefile.am: add dependencies to main.o.
11808
11809 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11810
11811         * FontLoader.C (available): Return false if !lyxrc.use_gui
11812
11813 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11814
11815         * FontInfo.C (query):
11816         * converter.C (view):
11817         * importer.C (Import):
11818         * exporter.C (Export): Can not -> cannot.
11819
11820 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * BufferView_pimpl.C: allow to create index inset even if
11823           string is empty
11824
11825 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11826
11827         * buffer.C (getLists): replace boost::tie code with an explicit pair
11828         as boost::tie can break some compilers.
11829
11830         * iterators.h: Added a std:: declaration to the return type of
11831         ParIterator::size.
11832
11833 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11836           case.
11837
11838 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * iterators.[Ch]: New files. Provide paragraph iterators.
11841
11842         * buffer.C (changeLanguage): Use paragraph iterators.
11843         (isMultiLingual): ditto
11844
11845         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11846
11847 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * FontLoader.C: Support for cmr font.
11850
11851 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11852
11853         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11854         (available): New method.
11855
11856         * FontInfo.C (getFontname): Use scalable fonts even when
11857         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11858         found.
11859
11860 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * converter.C (Formats::view): reverted! Incorrect fix.
11863
11864 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * converter.C (Formats::view): only output the -paper option
11867         if the dvi viewer is xdvi, thereby fixing bug #233429.
11868
11869 2001-08-23  Herbert Voss  <voss@perce>
11870
11871         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11872
11873 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11874
11875         * Spacing.h (Spacing): Set space to Default on in the default
11876         constructor.
11877
11878 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * vc-backend.h (RCS::versionString): add RCS to version
11881         (CVS::versionString): add CVS to version
11882
11883         * vc-backend.C (scanMaster): do not add CVS to version.
11884         (scanMaster): do not add RCS to version
11885
11886         * lyxvc.C (versionString): new method
11887
11888         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11889
11890 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * Spacing.C (set): initialize fval
11893
11894 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11895
11896         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11897         " or \.
11898
11899 2001-08-16  Juergen Vigna  <jug@sad.it>
11900
11901         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11902
11903 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * BufferView_pimpl.C:
11906         * figureForm.C:
11907         * lyxtext.h:
11908         * text2.C: setParagraph takes linespacing now
11909
11910 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * LyxAction.C: add internal LFUN_CITATION_INSERT
11913
11914         * LyXView.C: actually apply fix
11915
11916         * bufferlist.C: fix open non-existent file
11917
11918         * lyxfind.C: fix indentation
11919
11920         * lyxfunc.C: remove unneeded assert, fix typo
11921
11922 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * MenuBackend.C: use "Floatname List"
11925
11926 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11927
11928         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11929         when converting LaTeX layout to insetERT.
11930         Generate a non-collapsed float when reading old float
11931
11932 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11933
11934         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11935         ERT insets.
11936
11937 2001-08-13  Juergen Vigna  <jug@sad.it>
11938
11939         * text.C (fill): return 0 instead of 20 as this seems to be the more
11940         correct value.
11941
11942 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11943
11944         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11945         lyxrc.font_norm.
11946
11947 2001-08-13  Juergen Vigna  <jug@sad.it>
11948
11949         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11950         casesensitive off.
11951         (SearchBackward): comment out the unlocking of the inset_owner this
11952         should not be needed!
11953
11954 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11955
11956         * Many files: Remove inherit_language, and add latex_language
11957
11958         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11959         collapsible insets.
11960
11961 2001-08-10  Juergen Vigna  <jug@sad.it>
11962
11963         * text.C (prepareToPrint): fixed hfill-width in draw!
11964
11965         * BufferView2.C (selectLastWord): save the selection cursor as this
11966         now is cleared in the function LyXText::clearSelection!
11967
11968 2001-08-08  Juergen Vigna  <jug@sad.it>
11969
11970         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11971         BACKSPACE type functions.
11972
11973         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11974         is only cutted from the document but not put in the cut-buffer, where
11975         still the old stuff should be.
11976
11977         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11978
11979         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11980
11981         * tabular.C (SetWidthOfCell): fixed special case where the width
11982         was not updated!
11983         (LeftLine): handle '|' in align_special.
11984         (RightLine): ditto
11985         (LeftAlreadyDrawed): ditto
11986         (SetWidthOfCell): ditto
11987
11988 2001-08-07  Juergen Vigna  <jug@sad.it>
11989
11990         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11991
11992 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11995         * lyxlex.[hC]: ditto
11996
11997 2001-08-06  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (getVisibleRow): fix up row clearing a bit.
12000
12001 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * minibuffer.C: make sure the X server sees the changes in the input.
12004
12005 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * paragraph.C (getFont): split into...
12008         (getLabelFont): this
12009         (getLayoutFont): and this
12010         * paragraph_pimpl.C (realizeFont): calling this
12011
12012         * text2.C (getFont): split into...
12013         (getLayoutFont): this
12014         (getLabelFont): and this
12015         (realizeFont): all three calling this
12016
12017         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12018         files where used.
12019
12020 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12021
12022         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12023
12024 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12025
12026         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12027         layouts from the Quote inset insertion.
12028
12029 2001-08-03  Juergen Vigna  <jug@sad.it>
12030
12031         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12032
12033         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12034         only if status not is already CHANGED_IN_DRAW (second level).
12035
12036         * text.C (draw): don't set the need_break_row when inside an
12037         InsetText LyXText.
12038
12039 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * buffer.C (parseSingleLyXformat2Token): handle more latex
12042         conversion cases.
12043
12044         * bufferview_funcs.[hC]: change function names to
12045         begin with small char, adjust other files.
12046
12047 2001-08-02  André Pönitz <poenitz@gmx.net>
12048
12049         * lyxfunc.C:
12050         BufferView_pimpl.C: remove broken special code for math-greek
12051
12052 2001-08-02  Juergen Vigna  <jug@sad.it>
12053
12054         * BufferView_pimpl.C (update): redone this function so that we
12055         update the text again if there was a CHANGE_IN_DRAW.
12056
12057         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12058         (drawFromTo): added a new internal bool which is used by draw() and
12059         redraw() function.
12060         (general): some cursor drawing problems fixed.
12061
12062 2001-08-01  Juergen Vigna  <jug@sad.it>
12063
12064         * lyxfind.C (LyXFind): fixed
12065         (SearchForward): ditto
12066         (SearchBackward): ditto
12067
12068         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12069         spurius drawing of the cursor in the main area.
12070
12071         * text2.C (status): small fix which could lead to a segfault!
12072         (clearSelection): remove unneeded BufferView param.
12073
12074 2001-08-01  André Pönitz <poenitz@gmx.net>
12075
12076         * lyxfunc.C: small change due to changed mathed interface
12077
12078 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12081
12082 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * lyxfunc.c: fail gracefully if file doesn't exist
12085
12086         * LyXSendto.C:
12087         * buffer.C:
12088         * lyxfunc.C:
12089         * BufferView_pimpl.C: IsDirWriteable() proto changed
12090
12091         * LyXView.C: fix updateWindowTitle() to store the last title
12092
12093 2001-07-31  Juergen Vigna  <jug@sad.it>
12094
12095         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12096         the font (wrong since using of Paragraph::highestFontInRange).
12097
12098         * paragraph.C (highestFontInRange): added a default_size parameter.
12099
12100         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12101         (setHeightOfRow): reformat
12102
12103 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * converter.[hC] + affected files: move to (inital-char)lowercase
12106         function names.
12107
12108         * ParagraphParameters.C (ParagraphParameters): remove commented code
12109
12110         * PainterBase.[Ch]: remove commented code
12111
12112         * LaTeXFeatures.h: add "bool floats" for float.sty
12113
12114         * LaTeXFeatures.C (LaTeXFeatures): init floats
12115         (require): handle float
12116         (getPackages): do it with floats
12117
12118 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12119
12120         * BufferView_pimpl.C (Dispatch): improve handling of
12121         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12122
12123         * commandtags.h: #include lyxfont.h here temporarily to avoid
12124         keybinding bug.
12125
12126         * bufferlist.h: include LString.h here.
12127
12128 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * text2.C (getStringToIndex): new method.
12131
12132 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12133
12134         * *: Reduced header file dependencies all over.
12135
12136 2001-07-30  Baruch Even  <baruch@lyx.org>
12137
12138         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12139
12140 2001-07-29  Baruch Even  <baruch@lyx.org>
12141
12142         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12143
12144 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * ParameterStruct.h (endif): add a default constructor to make
12147         sure that all variables is initialized.
12148
12149         * ParagraphParameters.C (ParagraphParameters): adjust
12150
12151 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12154         index; also, check that there is something to index, and that it
12155         does not span over several paragraphs.
12156         (doubleClick): use WHOLE_WORD_STRICT for double click.
12157
12158         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12159
12160         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12161         scheme.
12162
12163 2001-07-26  Baruch Even  <baruch@lyx.org>
12164
12165         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12166         an InsetFig figure, backwards compatible reading of old figure code.
12167
12168 2001-07-27  Juergen Vigna  <jug@sad.it>
12169
12170         * text2.C: font.realize function adaption.
12171
12172         * text.C (draw): add a warnings lyxerr text if needed.
12173
12174         * layout.C: font.realize function adaption.
12175
12176         * language.C: add inherit_language and implement it's handlings
12177
12178         * bufferview_funcs.C (StyleReset): remove language parameter from
12179         font creation (should be language_inherit now).
12180
12181         * bufferparams.C (writeFile): handle ignore_language.
12182
12183         * paragraph.C (getFontSettings): the language has to be resolved
12184         otherwise we have problems in LyXFont!
12185
12186         * lyxfont.C (lyxWriteChanges): added document_language parameter
12187         (update): removed unneeded language parameter
12188
12189         * paragraph.C (validate): fixed wrong output of color-package when
12190         using interface colors for certain fonts in certain environments,
12191         which should not seen as that on the final output.
12192
12193 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * BufferView_pimpl.C:
12196         * Thesaurus.h:
12197         * Thesaurus.C:
12198         * Makefile.am:
12199         * commandtags.h:
12200         * LyXAction.C: add thesaurus support
12201
12202         * lyxfind.h:
12203         * lyxfind.C: add "once" parameter, for thesaurus, to not
12204           move to the next match
12205
12206 2001-07-26  Juergen Vigna  <jug@sad.it>
12207
12208         * lyxfont.C (realize): honor ignore_language too!
12209         (resolved): ditto.
12210
12211         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12212
12213         * text.C (draw): one place more for ignore_language to not draw
12214         itself!
12215
12216 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12219
12220 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12223         the minipage conversion problem.
12224
12225 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12228         insert an inset.
12229
12230 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * BufferView.h: don't forward declare WorkArea
12233
12234         * BufferView.C: don't include WorkArea.h
12235
12236 2001-07-25  André Pönitz <poenitz@gmx.net>
12237
12238         * commandtags.h:
12239         * LyXAction.C:
12240         * lyxfunc.C:  new LFUN 'math-space'
12241
12242         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12243
12244 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * text2.C (toggleInset): call open/close
12247
12248 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * lyxfunc.C (dispatch): add debug for the disabled case
12251
12252         * font.C (buttonText): make similar to rectText
12253
12254         * buffer.C (readInset): comment out parsing of insetlist and
12255         insttheorem
12256
12257         * PainterBase.C (rectText): small correction
12258
12259         * BufferView_pimpl.C: comment out insettheorem and insetlist
12260         * LyXAction.C: ditto
12261         * commandtags.h: ditto
12262
12263 2001-07-24  Juergen Vigna  <jug@sad.it>
12264
12265         * text.C (draw): honor the ignore_language.
12266
12267         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12268
12269 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12272         char inset.
12273
12274 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12275
12276         * lyxtext.h: remove unused (and unimplemented) methods
12277
12278 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12279
12280         * text.C (getVisibleRow): honor background color
12281
12282         * PainterBase.h:
12283         * Painter.h: remove default color argument for fillRectangle
12284
12285         * text.C (backgroundColor): new method
12286
12287 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * text.C (getVisibleRow): adjust
12290
12291         * font.[Ch] (rectText): new method, metrics
12292         (buttonText): new method, metrics
12293
12294         * PainterBase.[hC]: make rectText and buttonText always draw and take
12295         fewer paramteres.
12296
12297 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12298
12299         * ToolbarDefaults.C (read):
12300         * MenuBackend.C (read): allow escaping in all strings
12301
12302         * BufferView_pimpl.C (insertAndEditInset): new method.
12303         (Dispatch): use insertAndEditInset whenever appropriate.
12304
12305         * BufferView_pimpl.C (insertNote): removed
12306
12307         * BufferView_pimpl.C (smartQuote): new method, moved from
12308         BufferView; if an insetquote cannot be inserted, insert a '"'
12309         character instead.
12310
12311         * BufferView2.C: remove insertCorrectQuote();
12312
12313         * lyxfunc.C (getStatus): Add support for all remaingin
12314         inset-insert lfuns.
12315
12316         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12317
12318         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12319         command (necessary to pass " as parameter of self-insert.
12320
12321         * text.C (selectWordWhenUnderCursor):
12322         (selectWord): add word_location parameter
12323         (selectWordWhenUnderCursor): same + remove special code for word
12324         boundary.
12325         (selectNextWord): use kind() to guess type of insetspecialchar,
12326         not latex().
12327
12328         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12329         (insertErtContents): create ert insets as collapsed.
12330         (readInset): better compatibility code for Info inset.
12331
12332 2001-07-20  Juergen Vigna  <jug@sad.it>
12333
12334         * lyxfunc.C (dispatch): use always LyXFind now!
12335
12336         * text2.C (init): add a reinit flag so that the LyXText can be
12337         reinited instead of deleted and reallocated (used in InsetText).
12338
12339         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12340
12341         * text.C: ditto
12342
12343         * text2.C: ditto
12344
12345 2001-07-18  Juergen Vigna  <jug@sad.it>
12346
12347         * text.C (selectNextWord): handle insets inside inset by calling
12348         always the bv->text functions so that we can go up the_locking_inset!
12349
12350         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12351         in strange locations when inside an inset!
12352
12353         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12354         handling to include insets.
12355
12356         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12357
12358 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12359
12360         * LyXAction.C (init):
12361         * commandtags.h:
12362         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12363         LIGATURE_BREAK, since the name is so stupid.
12364
12365 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12366
12367         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12368         InsetInfos.
12369
12370         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12371
12372         * sp_form.[Ch]: remove.
12373
12374         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12375
12376         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12377         InsetInfo.
12378
12379         * src/buffer.C (readInset): ditto.
12380
12381 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12382
12383         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12384         menuSeparator(), endOfSentenceDot(), ldots() and
12385         hyphenationPoint(), which are therefore removed.
12386         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12387
12388         * LyXAction.C (init):
12389         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12390
12391         * paragraph.C (getWord): removed.
12392
12393         * BufferView_pimpl.C (Dispatch): use last word or selection for
12394         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12395
12396         * lyx_main.C (queryUserLyXDir): do not ask before creating
12397         user_dir, except if it has been named explicitely.
12398
12399 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12402         a document of zero size.
12403
12404 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12407         approriately in the c-tor and in require().
12408         (getPackages): output the appropriate LaTeX for natbib support.
12409
12410         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12411         variables "use_natbib" and "use_numerical_citations" when reading the
12412         LyX file.
12413         (readInset): read the various natbib cite commands.
12414         (validate): white-space change.
12415
12416         * bufferparams.[Ch]: new variables "bool use_natbib" and
12417         "bool use_numerical_citations".
12418         (writeFile): output them in the LyX file.
12419
12420 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12421
12422         * lyxfunc.C (getStatus): add support for all the inset insertion
12423         commands.
12424
12425         * text2.C (insertInset):
12426         * paragraph.C (insetAllowed):
12427         * BufferView_pimpl.C (insertInset): update to take in account the
12428         renaming of insertInsetAllowed
12429
12430         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12431
12432         * text2.C (getInset): new method. returns inset at cursor position.
12433
12434         * BufferView_pimpl.C (Dispatch): changes because of this.
12435
12436         * LyXAction.C (init): rename open-stuff to inset-toggle.
12437
12438         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12439
12440         * text2.C (toggleInset): renamed from openStuff; use
12441         Inset::open().
12442
12443 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12444
12445         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12446
12447         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12448
12449 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12450
12451         * buffer.C (readLyXformat2): Add filename to the error dialog
12452
12453 2001-07-18  Juergen Vigna  <jug@sad.it>
12454
12455         * tabular.C (GetCellNumber): put an assert here instead of the check!
12456
12457 2001-07-17  Juergen Vigna  <jug@sad.it>
12458
12459         * BufferView_pimpl.C (toggleSelection): adapted too.
12460
12461         * text.C (selectNextWord): adapted for use with insets.
12462         (selectSelectedWord): ditto
12463
12464 2001-07-17  Juergen Vigna  <jug@sad.it>
12465
12466         * sp_spell.C (PSpell): fix initialitation order.
12467
12468 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * paragraph.C: spacing
12471
12472 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12473
12474         * sp_spell.C: repair language selection for pspell
12475
12476 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * lyxfunc.h: change more methods to begin with lower char.
12479
12480 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12481
12482         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12483         for unknown layouts.
12484
12485 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12486
12487         * buffer.C (readLyXformat2): Generate an error dialog if there are
12488         unknown layouts.
12489
12490 2001-07-16  Juergen Vigna  <jug@sad.it>
12491
12492         * sp_spell.C: always compile ISpell part.
12493
12494         * lyxrc.C: added use_pspell entry and it's handling.
12495
12496 2001-07-13  Juergen Vigna  <jug@sad.it>
12497
12498         * sp_spell.C: removed double includes.
12499
12500 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12501
12502         Consistent use of Lsstream.h:
12503         * Lsstream.h: added using std::stringstream for consistencies sake.
12504
12505         * buffer.C: removed using std::stringstream
12506
12507         * lyxfont.C (stateText):
12508         * paragraph.C (asString):
12509         * text.C (selectNextWord, selectSelectedWord):
12510         * text2.C (setCounter):
12511         * vspace.C (asString, asLatexString):
12512         std::ostringstream -> ostringstream.
12513
12514 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12515
12516         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12517         * commandtags.h: add LFUN_HELP_ABOUTLYX
12518         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12519
12520 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12521
12522         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12523         cursorToggle()
12524         * lyx_gui_misc.C: remove spellchecker
12525         * lyxfunc.C: showSpellchecker
12526         * sp_base.h: added
12527         * sp_ispell.h: added
12528         * sp_pspell.h: added
12529         * sp_spell.C: added
12530         * sp_form.[Ch]: removed
12531         * spellchecker.[Ch]: removed
12532
12533 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12534
12535         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12536         is set.
12537         (simpleTeXSpecialChars): Simply print the input character without
12538         any special translation if pass_thru is set.
12539
12540         * layout.h: Added bool pass_thru to layout class for being able to
12541         implement pass through of a paragraph for Literate Programming.
12542
12543         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12544         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12545         * layout.C (Read): add "passthru" to list of layout tags and add
12546         code to set the pass_thru boolean when it is read.
12547
12548 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * trans_decl.h: remove allowed from KmodInfo
12551
12552         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12553         remove allowed code
12554         (Load): adjust
12555
12556         * paragraph_pimpl.C (erase): use boost::prior
12557
12558         * Painter.C (text): use data() instead of c_str() when length is
12559         also provided.
12560         * WorkArea.C (putClipboard): ditto
12561         * font.h (width): ditto
12562
12563         * BufferView2.C: use it-> instead of (*it). for iterators
12564         * texrow.C: ditto
12565         * paragraph_pimpl.C: ditto
12566         * paragraph.C: ditto
12567         * minibuffer.C: ditto
12568         * language.C: ditto
12569         * kbmap.C: ditto
12570         * encoding.C: ditto
12571         * counters.C: ditto
12572         * converter.C: ditto
12573         * chset.C: ditto
12574         * Variables.C: ditto
12575         * TextCache.C: ditto
12576         * MenuBackend.C: ditto
12577         * LyXAction.C: ditto
12578         * LColor.C: ditto
12579         * FloatList.C: ditto
12580         * DepTable.C: ditto
12581         * ColorHandler.C (LyXColorHandler): ditto
12582
12583 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12584
12585         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12586
12587         * text2.C (openStuff): reintroduce this method (which had been
12588         nuked in NEW_INSETS frenzy).
12589
12590         * lyxfunc.C (Dispatch): when an action has not been handled, use
12591         its name in the error message, not its number.
12592
12593         * paragraph.C (inInset): change method name to begin with lowercase.
12594
12595         * undo_funcs.C:
12596         * text2.C: updates because of this.
12597
12598 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599
12600         * ToolbarDefaults.C (add): add spaces in error message
12601
12602 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12603
12604         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12605         (readLyXformat2): rename return_par to first_par, use lyxlex's
12606         pushToken and remove the manual push handling.
12607         (parseSingleLyXformat2Token): add another ert comp. variable:
12608         in_tabular, rename return_par to first_par. handle newlines better
12609
12610 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12613
12614 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * text2.C (getParFromID): removed
12617
12618         * buffer.C (getParFromID): new method moved form lyxtext.
12619         * BufferView2.C (insertErrors): adjust
12620         (setCursorFromRow): adjust
12621         * BufferView_pimpl.C (restorePosition): adjust
12622         * lyxfunc.C (Dispatch): adjust
12623         * undo_funcs.C (textUndo): adjust
12624         (textRedo): adjust
12625         (textHandleUndo): adjust
12626         (textHandleUndo): adjust
12627
12628 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * buffer.C: up' the LYX_FORMAT
12631
12632         * lyxfont.h: turn NO_LATEX on as default
12633
12634         * buffer.C (insertErtContents): new methods of tex style compability.
12635         (parseSingleLyXformat2Token): use it several places.
12636         * tabular.C (OldFormatRead): and here
12637
12638 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * text2.C: remove some commented code.
12641         reindent file.
12642
12643         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12644         * trans.C: changes because of the above.
12645
12646 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12647
12648         * text2.C (setCounter): Fix counters bug with bibliography layout.
12649
12650 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12653         own member functions
12654         (simpleTeXSpecialChars): ditto
12655
12656 2001-07-06  Juergen Vigna  <jug@sad.it>
12657
12658         * a lot of files: changed the access to LyXText::status and the
12659         call of undo-functions.
12660
12661         * undo.[Ch]: added a inset_id to the undo informations.
12662
12663         * undo_funcs.[Ch]: added and moved here all undo functions.
12664
12665         * lyxtext.h: give the status enum a weight, made status_ a private
12666         variable and made accessor functions for it, removed the whole bunch
12667         of undo-functions as they are now in their own file, make some
12668         functions publically available. Added function ownerParagraph with
12669         int parameter.
12670
12671         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12672         made InInset() a const function, added getParFromID() function.
12673
12674         * buffer.[Ch]: added const version for inset_iterator functions,
12675         added getInsetFromID() function.
12676
12677         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12678         changed undo functions for new version.
12679
12680 2001-07-05  Juergen Vigna  <jug@sad.it>
12681
12682         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12683         unknow mechanism does not call the proper constructor but only this
12684         one also if I request the other!?
12685
12686 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12689
12690         * text2.C (LyXText): use initialization lists.
12691
12692         * lyxtext.h (Selection): initialize set_ and mark_
12693         (init): remove method
12694
12695 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12696
12697         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12698
12699 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * screen.[Ch]: change method names to begin with lowercase
12702
12703         * BufferView_pimpl.C (updateScrollbar): simplify further and
12704         hopefully make it a bit faster.
12705
12706 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12709         calling directly xforms functions.
12710
12711         * Painter.C (Painter):
12712         * lyx_cb.C (MenuWrite):
12713         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12714         fl_display.
12715
12716         * lyx_gui.C: remove bogus guiruntime extern declaration.
12717
12718 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12721         in NEW_INSETS
12722         (redoDrawingOfParagraph): ditto
12723         (redoParagraphs): ditto
12724         (cutSelection): don't create a object for CutAndPaste use the
12725         static method directly
12726         (pasteSelection): ditto
12727
12728         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12729         LyXview (+ rename)
12730
12731 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * modifications to some other files because of this.
12734
12735         * Makefile.am (lyx_SOURCES): add XFormsView
12736
12737         * XFormsView.[Ch]: new files
12738
12739         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12740         the main window. Move the gui dependent stuff to XFormsView
12741
12742 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12743
12744         * tabular.C (GetCellInset): update cur_cell also in the row/col
12745         version of this function.
12746
12747         * lyxfunc.C: no need to include figure_form.h here.
12748
12749         * FontLoader.h:
12750         * lyxfunc.h:
12751         * lyxscreen.h:
12752         * text2.C:
12753         * lyxvc.C: no need to include forms.h here.
12754
12755 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12758
12759         * lyxfunc.C (Dispatch):
12760         * Spacing.C (set):
12761         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12762         constructor argument.
12763
12764 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * paragraph.C (Paragraph): dont't clear, and just set layout.
12767         (makeSameLayout): use params's copy contructor.
12768
12769         * ParagraphParameters.[Ch] (makeSame): delete method
12770
12771 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * Variables.[Ch]: fix indentation, rename set to isSet
12774
12775 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyxfunc.C (Dispatch): fix typo
12778
12779 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12782         upper_bound.
12783
12784         * bufferlist.C: include assert.h for emergencyWrite().
12785
12786 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12789           give up at last (bug #425202) !
12790
12791 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * lyx_gui_misc.C:
12794         * sp_form.h:
12795         * sp_form.C:
12796         * spellchecker.h:
12797         * spellchecker.C: strip spellchecker options and bring up
12798           preferences tab instead
12799
12800 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12801
12802         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12803         the istringstream constructor
12804
12805 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12806
12807         * paragraph.C (getLayout): fix return value
12808
12809         * paragraph.h: do not declare getLayout as inline.
12810
12811         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12812
12813 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * lyxcursor.h (operator<): new func
12816         (operator>): new func
12817         (operator>=): new func
12818         (operator<=): new func
12819
12820         * text.C (changeCase): use selection.start and selection.end
12821         (changeRegionCase): require from to be <= to. Require par to be a
12822         valid paragraph.
12823
12824         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12825
12826 2001-06-27  Juergen Vigna  <jug@sad.it>
12827
12828         * text.C (cursorLeftOneWord): changed to return the cursor and added
12829         overlay with BufferView * parameter which calls this one.
12830         (getWord): added
12831         (selectWord): use new getWord function.
12832         (changeCase): renamed from changeWordCase as and extended to work
12833         also on selections.
12834
12835         * lyxtext.h: added enum word_location
12836
12837         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12838         changeCase as this operates now also on selections.
12839
12840 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12841
12842         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12843
12844         * many files: send debug output to Debug::INFO instead of
12845         Debug::ANY.
12846
12847         * converter.C (View):
12848         (Convert):
12849         (Move): send debug output to Debug::FILES instead of console.
12850
12851 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12852
12853         * lyxfunc.C (getStatus): use func_status
12854
12855         * func_status.h: new header, describing the results of
12856         LyXFunc::getStatus;
12857
12858         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12859         LFUN_MATH_HALIGN.
12860
12861 2001-06-25  The LyX Project  <jug@sad.it>
12862
12863         * buffer.C (sgmlOpenTag):
12864         (sgmlCloseTag):
12865         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12866
12867 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * text2.C: remove some dead code
12870
12871         * tabular.C (GetCellInset): store the last cell checked (gotten)
12872
12873         * tabular.h: add the helper for the speedup
12874
12875         * lyxtext.h: remove some dead code
12876
12877 2001-06-26  The LyX Project  <Asger>
12878
12879         * paragraph.C: Change export to LaTeX of alignment to
12880         \begin{center} and family for better roundtrip work with reLyX.
12881
12882         * Tune the math drawing a bit.
12883
12884 2001-06-25  The LyX Project  <Asger>
12885
12886         * LColor.C (LColor): New color for math background. New color
12887         for buttons.
12888
12889 2001-06-25  The LyX Project  <jug@sad.it>
12890
12891         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12892
12893         * lyxfunc.C (Open):
12894         * bufferlist.C (newFile): do not restrict to files ending with
12895         .lyx
12896
12897         * BufferView_pimpl.C (MenuInsertLyXFile):
12898
12899 2001-06-24  The LyX Project  <jug@sad.it>
12900
12901         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12902         of compare_no_case
12903
12904 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * lyxtext.h: rename most methods to begin with a small char.
12907         Lots of changes because of this.
12908
12909         * paragraph.C (Paragraph): do not call fitToSize
12910         (erase): call Pimpl::erase
12911         (insertChar): call Pimpl::insertChar
12912         (insertInset): call Pipl::insertInset
12913         (breakParagraph): do not call fitToSize
12914         (breakParagraphConservative): do not call fitToSize
12915         (fitToSize): remove method
12916
12917         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12918
12919 2001-06-24  The LyX Project  <Asger>
12920
12921         * Fix Qt compilation^2
12922
12923 2001-06-24  The LyX Project  <jug@sad.it>
12924
12925         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12926         depthHook(getDepth()-1).
12927
12928         * paragraph.h:
12929         * ParagraphParameters.h:
12930         * ParameterStruct.h: change type of depth to unsigned int ==
12931         depth_type. Many adaptations to other files before of that.
12932
12933 2001-06-24  The LyX Project  <Asger>
12934
12935         * Fix Qt compilation.
12936
12937 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * paragraph.h: renamed several methods to begin with small letter.
12940         several changes to many parts of the code because of this.
12941
12942 2001-06-23  The LyX Project  <jug@sad.it>
12943
12944         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12945         rewritten to discard all double spaces when KeepEmpty is off
12946         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12947         to only handle newlines but not fiddle with spaces and friends.
12948
12949         * lyxfunc.C (MenuNew): when doing 'new from template', use
12950         template_path as default directory
12951
12952 2001-06-23  The LyX Project  <Asger>
12953
12954         * Clean-up of header file includes all over
12955         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12956
12957 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * paragraph.h: renamed from lyxparagraph.h
12960
12961 2001-06-23  Asger  <lyx@violet.home.sad.it>
12962
12963         * Buffer.h: Removed Buffer::resize
12964         * BufferList.h: Removed BufferList::resize
12965         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12966         the document lazily when we change the width, or the font settings.
12967
12968 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12971
12972 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * buffer.h: remove out of date comment
12975
12976 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * lyxscreen.h:
12979         * screen.C: fix "theoretical" GC leak
12980
12981 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * LaTeX.C (scanAuxFile):
12984         (deplog): remove trailing \r when reading stream (useful under
12985         win32)
12986
12987 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12988
12989         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12990         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12991         and BufferView::theLockingInset(Inset*), so should use them and not
12992         access bv_->text->the_locking_inset directly.
12993
12994         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12995
12996 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * Makefile.am:
12999         * tex-defs.h: remove old unused file
13000
13001 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * BufferView_pimpl.C: fix typo, remove minibuffer message
13004           when buffer has loaded
13005
13006 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * lyxfunc.C (Dispatch): use stringstream
13009         (MenuNew): use stringstream
13010         (Open): use stringstream
13011
13012         * importer.C (Import): use stringstream
13013
13014         * bufferview_funcs.C (CurrentState): use stringstream
13015
13016         * LaTeX.C (run): use stringstream
13017
13018         * BufferView_pimpl.C (savePosition): use stringstream
13019         (restorePosition): use stringstream
13020         (MenuInsertLyXFile): use stringstream
13021
13022 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * BufferView.C:
13025         * Bullet.C:
13026         * ColorHandler.C:
13027         * FontInfo.C:
13028         * FontLoader.C:
13029         * LColor.C:
13030         * LaTeXFeatures.C:
13031         * Painter.C:
13032         * gettext.C:
13033         * lyx_gui_misc.C:
13034         * lyxserver.C:
13035         * vspace.C: removed // -*- C++ -*- as first line.
13036
13037         * lyxfind.h:
13038         * version.h: added // -*- C++ -*- as first line.
13039
13040 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13043
13044         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13045         of string
13046
13047 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13050         of floats.
13051
13052 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * gettext.C: include LString.h even when --disable-nls is on.
13055
13056 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * converter.h (Get): changed argument type from int to
13059         FormatList::size_type to avoid unnecessary conversion.
13060
13061         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13062         before using it.
13063
13064 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * gettext.h: include LString.h even when --disable-nls is on.
13067
13068 2001-06-07  Juergen Vigna  <jug@sad.it>
13069
13070         * text.C (BreakAgain): subst spaces with tabs.
13071
13072         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13073         (resizeInsetsLyXText): set force on resizeLyXText.
13074
13075 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13076
13077         * gettext.h (gettext_init):
13078         (locale_init): use a real definition instead of a macro
13079
13080 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * Bufferview_pimpl.C:
13083         * LColor.h:
13084         * LColor.C: further lcolor tidies
13085
13086 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13087
13088         * BufferView_pimpl.C (updateScrollbar): simplify.
13089
13090         * BufferView2.C: don't include insets/insetinfo.h, change
13091         prototype for insertInset and call the Pimpl version. let
13092         updateInset call Pimpl version.
13093
13094         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13095         gotoInset to BufferView::Pimpl
13096
13097 2001-06-01  Juergen Vigna  <jug@sad.it>
13098
13099         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13100         inside a LockingInset (is the update needed at all?).
13101
13102 2001-05-31  Juergen Vigna  <jug@sad.it>
13103
13104         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13105         here not the old one otherwise how should we compare it afterwards
13106         if it's the same!
13107
13108 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * lyxfont.C:
13111         * tabular.C:
13112         * tabular-old.C:
13113         * FontInfo.C: bring C functions into global namespace when
13114         necessary
13115
13116 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13117
13118         * LString.h: make sure config.h has been loaded before LString.h.
13119
13120         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13121         (one for each char read by EatLine!).
13122
13123         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13124         variables.
13125
13126 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13129         to the same as the par we break from
13130
13131 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13134
13135         * MenuBackend.C (expand): also create menu entries for wide
13136         versions of the floats.
13137
13138         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13139
13140         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13141
13142         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13143         frontends/Makefile.am
13144
13145         * text2.C: adjust
13146         * text.C: adjust
13147
13148
13149         * tabular.C (getTokenValue): add std::
13150
13151         * tabular-old.C (getTokenValue): add std::
13152         (getTokenValue): ditto
13153         (getTokenValue): ditto
13154
13155         * screen.C (ToggleSelection): adjust
13156
13157         * lyxtext.h: put selection cursors inside a Selection struct.
13158
13159         * lyxfunc.C (moveCursorUpdate): adjust
13160
13161         * lyxfont.C (latexWriteStartChanges): add std::
13162
13163         * lyxfind.C: adjust
13164
13165         * font.h: delete with(char const *, LyXFont const &)
13166
13167         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13168
13169         * FontInfo.C (getFontname): add std::
13170
13171         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13172         (workAreaButtonPress): adjust
13173         (tripleClick): adjust
13174         (update): adjust
13175         (moveCursorUpdate): adjust
13176         (Dispatch): adjust
13177
13178         * BufferView2.C (gotoInset): adjust
13179
13180 2001-05-30  Juergen Vigna  <jug@sad.it>
13181
13182         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13183         to check pspell I add this as default as I now have new pspell
13184         libraries and they seem to use this.
13185
13186 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * text2.C (CutSelection): make the cursor valid before the call to
13189         ClearSelection.
13190
13191 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13192
13193         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13194         relied on 0 terminated strings and other horrors. Bug found due to
13195         the new assert in lyxstring!
13196
13197         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13198         KP_ keys.
13199
13200 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13203         to latinkeys.bind.
13204
13205         * lyxfunc.C (processKeySym): change method of getting to the
13206         self-insert char.
13207
13208         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13209         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13210         * BufferView_pimpl.[Ch]: here as private methods.
13211
13212 2001-05-28  Juergen Vigna  <jug@sad.it>
13213
13214         * text.C (SetHeightOfRow): added the update() call again as it is
13215         needed to initialize inset dimensions!
13216
13217 2001-05-16  Juergen Vigna  <jug@sad.it>
13218
13219         * text2.C (SetCharFont): Add new function with BufferView * and
13220         bool toggleall parameters for setting insets internal fonts.
13221         (SetFont): Freeze the undo as we may change fonts in Insets and
13222         all this change should be inside only one Undo!
13223
13224         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13225         setting font's in insets as for them we have the SetFont function!
13226
13227 2001-05-15  Juergen Vigna  <jug@sad.it>
13228
13229         * text2.C (ClearSelection): to be sure we REALLY don't have any
13230         selection anymore!
13231
13232         * tabular.C (TeXCellPreamble): fixed the left border problem for
13233         multicolumn cells.
13234
13235 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13236
13237         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13238         dependancy file
13239
13240 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13243         LFUN_BREAKPARAGRAPH.
13244
13245         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13246         help test to "internal only", similar for LFUN_INSERT_URL
13247
13248         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13249         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13250         auto_region_delete and deadkeys.
13251
13252 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * LColor.h:
13255         * LColor.C: remove some dead entries, tidy a little
13256
13257 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13260         commented code.
13261         (Dispatch): implement LFUN_ESCAPE
13262
13263         * commandtags.h: add LFUN_ESCAPE
13264
13265         * LyXAction.C (init): add entry for LFUN_ESCAPE
13266
13267         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13268         Remove commented code.
13269         (insertNote): moved here
13270         (open_new_inset): moved here
13271
13272         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13273         BufferView_pimpl
13274
13275 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * kbmap.C (findbinding): clean it up and make it work correctly.
13278
13279         * lyx_main.C (init): do not pass argc and argv as parameters
13280
13281 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13282
13283         * buffer.C: fix path for OS/2 & Win32
13284
13285         * lyx_gui.C:
13286         * lyx_main:
13287         * lyx_main.C: Added os:: class.
13288
13289         * os2_defines.h: update
13290
13291 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13294         better by trying again with reduced state.
13295
13296 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * lyxrc.C (read): print error about invalid key sequence only when
13299         debugging (because not all latinX keysyms are known to some X
13300         servers)
13301
13302         * kbsequence.C (getiso): add a few std:: qualifiers
13303         (getiso): comment out extra return statement.
13304
13305 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13308         handling.
13309         (Dispatch): enhance the accent inset a bit. (not perfect)
13310
13311 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13314
13315 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * bufferlist.C (emergencyWrite): fix assert() call
13318
13319 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13320
13321         * text.C (InsertChar): Added trivial patch to only send the "you
13322         can not do multiple spaces this way" message once during a
13323         session.
13324
13325 2001-05-08  Baruch Even  <baruch@lyx.org>
13326
13327         * Makefile.am: Changed order of libraries to get LyX to link properly
13328         with the gnome frontend.
13329
13330 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * LaTeXFeatures.h: add a std:: qualifier
13333
13334 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * paragraph.C (String): use stringstream
13337
13338 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * paragraph.C (writeFile): remove footflag arg
13341
13342         * buffer.C (makeLaTeXFile): use stringstream
13343         (latexParagraphs): remove footnot gurba
13344
13345         * LaTeXFeatures.C (getPackages): use stringstream
13346         (getMacros): likewise
13347         (getTClassPreamble): likewise
13348         (getFloatDefinitions): new method
13349
13350         * paragraph.C (writeFile): reindent
13351         (Erase): reindent
13352
13353         * WorkArea.h: revert the xpos + etc changes.
13354
13355         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13356
13357         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13358
13359         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13360         (pasteSelection): likewise
13361         * text2.C (CreateUndo): likewise
13362
13363 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * minibuffer.C (peek_event): temporarily reduce the functionality
13366         of the minibuffer (to allow args on lfuns)
13367
13368         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13369         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13370
13371         * buffer.C (readInset): add compability reading of old float
13372         lists, add reading of new style float list.
13373         (readInset): avoid reevaluation of inscmd.getCmdName()
13374         (getLists): reindent
13375
13376         * MenuBackend.C (MenuItem): implement parsing of
13377         md_floatlistinsert and md_floatinsert.
13378         (expand::LastFiles): move initalizaton of iterators out of loop,
13379         avoid reevaluation.
13380         (expand::Documents): introduce typdedef vector<string> Strings,
13381         and use it.
13382         (expand::ExportFormats): introduce typedef vector<Format const *>
13383         Formats, and use it.
13384         (expand): implement FloatListInsert and FloatInsert.
13385
13386         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13387         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13388         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13389
13390         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13391         handling.
13392         (Dispatch::LFUN_FLOAT_LIST): implement
13393
13394 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13395
13396         * LaTeX.C (run): Fix problem with --export code.
13397
13398 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13399
13400         * BufferView.[Ch] (workarea): removed.
13401         (getClipboard) new method; wrapper for workarea()->getClipboard()
13402
13403         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13404         bug.
13405
13406         * WorkArea.h (width, height, xpos, ypos): These methods all
13407         returned the dimensions of the work_area sub-area of WorkArea,
13408         resulting in a position error if the WorkArea were resized. Now
13409         return the dimensions of the entire WorkArea.
13410
13411         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13412
13413 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * LaTeX.C (deplog): correct the syntax of regex reg1
13416
13417 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * undo.C: remove !NEW_INSETS cruft
13420
13421 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * text2.C: remove !NEW_INSETS cruft
13424
13425         * text.C: remove !NEW_INSETS cruft
13426
13427         * tabular.C: remove !NEW_INSETS cruft
13428
13429         * spellchecker.C: remove !NEW_INSETS cruft
13430
13431         * lyxtext.h: remove !NEW_INSETS cruft
13432
13433         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13434
13435         * lyxfunc.C: remove !NEW_INSETS cruft
13436
13437         * lyxfind.C: remove !NEW_INSETS cruft
13438
13439         * lyx_cb.C: remove !NEW_INSETS cruft
13440
13441         * figureForm.C: remove  !NEW_INSETS cruft
13442
13443         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13444
13445         * buffer.[Ch]: remove !NEW_INSETS cruft
13446
13447         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13448
13449         * CutAndPaste.C: remove !NEW_INSETS cruft
13450
13451         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13452
13453         * BufferView2.C: remove !NEW_INSETS cruft
13454
13455         * BufferView.h: remove !NEW_INSETS cruft
13456
13457 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * Lsstream.h: include LString.h before the sstream headers to
13460         fix problem with gcc 2.95.3 and lyxstring
13461
13462 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13463
13464         * lyx_main.C: add using directives when needed for C functions
13465         declared in std:: namespace.
13466
13467 2001-04-27  Juergen Vigna  <jug@sad.it>
13468
13469         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13470         (SetHeightOfRow): comment out the update call should not be needed!
13471
13472 2001-04-13  Juergen Vigna  <jug@sad.it>
13473
13474         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13475         (LyXTabular): tried to minimize operator= operations (and realized
13476         hopfully Lars wish).
13477
13478 2001-04-27  Juergen Vigna  <jug@sad.it>
13479
13480         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13481
13482 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13483
13484         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13485
13486         * buffer.C (readInset): hack to make listof algorithm work
13487
13488         * BufferView_pimpl.C: hack to make listof algorithm work
13489
13490 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13491
13492         * LyXAction.C: removed all !NEW_INSETS cruft
13493         (init): moved lfun_item in method
13494
13495         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13496
13497 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13498
13499         * BufferView2.C (theLockingInset): white space.
13500
13501 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13502
13503         * minibuffer.C: include <iostream>
13504
13505         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13506
13507         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13508
13509         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13510
13511         * text.[Ch] (TransposeChars): new method
13512
13513 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * call message directly through LyXView instead of through LyXFunc
13516         * BufferView2.C: adjust
13517         * BufferView_pimpl.C: adjust
13518         * FontLoader.C: adjust
13519         * buffer.C: adjust
13520         * bufferview_funcs.C: adjust
13521         * converter.C: adjust
13522         * figureForm.C: adjust
13523         * importer.C: adjust
13524         * lyx_cb.C: adjust
13525         * lyx_gui_misc.C: adjust
13526         * lyxfunc.C: adjust
13527         * lyxvc.C: adjust
13528         * text2.C: adjust
13529         + more files in subdirs
13530
13531         * lyxparagraph.h (size): move up int file
13532         (GetLayout): ditto
13533
13534         * adjust all uses of Assert to lyx::Assert.
13535
13536         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13537         lyxfunctional in namespace lyx
13538         * layout.C (hasLayout): ditto
13539         (GetLayout): ditto
13540         (GetLayout): ditto
13541         (delete_layout): ditto
13542         (NumberOfClass): ditto
13543         * converter.C (GetFormat): ditto
13544         (GetNumber): ditto
13545         (Add): ditto
13546         (Delete): ditto
13547         (SetViewer): ditto
13548         * bufferlist.C (getFileNames): ditto
13549         (emergencyWriteAll): ditto
13550         (exists): ditto
13551         (getBuffer): ditto
13552         * MenuBackend.C (hasSubmenu): ditto
13553         (hasMenu): ditto
13554         (getMenu): ditto
13555         * BufferView_pimpl.C (getInsetByCode): ditto
13556
13557 2001-04-18  Juergen Vigna  <jug@sad.it>
13558
13559         * vspace.C (asLatexString): fixed the 100% problem.
13560
13561 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * lyxfunc.C (Dispatch):
13564         * minibuffer.C:
13565         * minibuffer.h: add a few std:: qualifiers
13566
13567 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * minibuffer.[Ch]: reimplement so that commands is initiated and
13570         run from lyxfunc, simplified som handling, and made the completion
13571         and history code for complete. wip.
13572
13573         * lyxfunc.C (processKeySym): call message
13574         (miniDispatch): new temporary method
13575         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13576         (LFUN_MESSAGE): implement
13577         (LFUN_MESSAGE_PUSH): implement
13578         (LFUN_MESSAGE_POP): implement
13579         (initMiniBuffer): the initial/defualt minibuffer message.
13580
13581         * lyxfont.[Ch]: inline some more getters
13582
13583         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13584
13585         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13586
13587         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13588         (AutoSave): use LFUN_MESSAGE
13589         (Reconfigure): ditto
13590
13591         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13592
13593         * figureForm.C: use LFUN_MESSAGE
13594
13595         * converter.C (runLaTeX): use LFUN_MESSAGE
13596
13597         * bufferview_funcs.C: use LFUN_MESSAGE
13598         (Melt): ditto
13599         (changeDepth): ditto
13600
13601         * bufferparams.h: use boost::
13602
13603         * bufferlist.h: inherit privately from noncopyable
13604
13605         * bufferlist.C (loadLyXFile): remove some commented code.
13606
13607         * buffer.C (runChktex): use LFUN_MESSAGE
13608
13609         * ShareContainer.h: inherit privately from noncopyable
13610
13611         * ParagraphParameters.[hC] (depth): inline it.
13612
13613         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13614         methods.
13615         (message): new method
13616         (messagePush): ditto
13617         (messagePop): ditto
13618         (show): init minibuffer
13619         (showState): direct call
13620
13621         * LaTeX.[Ch]: inherit privately from noncopyable
13622         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13623         instead of WriteStatus.
13624
13625         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13626
13627         * BufferView_pimpl.C (buffer): don't init minibuffer
13628         (workAreaButtonPress): use LFUN_MESSAGE
13629         (workAreaButtonRelease): ditto
13630         (savePosition): ditto
13631         (restorePosition): ditto
13632         (MenuInsertLyXFile): ditto
13633         (workAreaExpose): don't init minibuffer
13634         (update): remove commented code, simplify
13635
13636         * BufferView2.C (openStuff): use LFUN_MESSAGE
13637         (toggleFloat): ditto
13638         (menuUndo): ditto
13639         (menuRedo): ditto
13640         (copyEnvironment): ditto
13641         (pasteEnvironment): ditto
13642         (copy): ditto
13643         (cut): ditto
13644         (paste): ditto
13645         (gotoInset): ditto
13646         (updateInset): remove some commented code
13647
13648         * lastfiles.h: inherit privately from noncopyable
13649         * layout.h: ditto
13650         * lyx_gui.h: ditto
13651         * lyx_main.h: ditto
13652         * lyxlex.h: ditto
13653         * lyxlex_pimpl.h: ditto
13654
13655         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13656         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13657         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13658
13659         * LyXAction.h: inherit privately from noncopyable, add methods
13660         func_begin, func_end, returning iterators to the func map.
13661
13662         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13663         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13664         (func_begin): new method
13665         (func_end): new method
13666
13667         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13668         and not)
13669         (copySelection): ditto
13670         (pasteSelection): ditto
13671
13672         * BufferView.C: whitespace change
13673         * BufferView.h: inherit privately from noncopyable
13674
13675 2001-04-16  Allan Rae  <rae@lyx.org>
13676
13677         * tabular-old.C (l_getline):
13678         * spellchecker.C (sc_check_word):
13679         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13680         an unrecognised preprocessor directive.  So ensure they're wrapped.
13681
13682 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13683
13684         * src/exporter.C (Export): Give an error message when path to file
13685         contains spaces.
13686
13687 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * LaTeX.C (deplog): Always check that foundfile exists.
13690
13691 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * lyx_main.h:
13694         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13695
13696 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13697
13698         * tabular.[Ch] (getLabelList): implement new method
13699
13700         * minibuffer.h: comment ouf setTiimer
13701
13702         * minibuffer.C (ExecutingCB): constify res
13703         (peek_event): constify s
13704         (Set): constify ntext
13705         (Init): constify nicename
13706
13707         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13708
13709         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13710         (savePosition): use two params to Minibuffer::Set
13711         (restorePosition): ditto
13712
13713 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13714
13715         * lyx_main.C: include language.h
13716
13717         * Makefile.am (lyx_main.o): add language.h
13718
13719 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * exporter.C:
13722         * paragraph.C:
13723         * screen.C:
13724         * tabular.C:
13725         * CutAndPaste.C: include gettext.h
13726
13727         * lyxfont.h: remove old hack with ON and OFF.
13728
13729         * lyxparagraph.h:
13730         * lyxfont.h: do not include language.h...
13731
13732         * BufferView2.C:
13733         * LaTeXFeatures.C:
13734         * Painter.C:
13735         * bufferview_funcs.C:
13736         * font.C:
13737         * lyxfont.C:
13738         * text.C:
13739         * text2.C:
13740         * trans_mgr.C:
13741         * paragraph.C: ... but do it here instead
13742
13743 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13744
13745         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13746
13747         * tabular.C: small reformat
13748
13749         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13750         NEW_INSETS version
13751         (GetChar): ditto
13752         (BreakParagraph): ditto
13753         (SetOnlyLayout): ditto
13754         (SetLayout): ditto
13755
13756         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13757         with one arg less.
13758
13759         * lastfiles.C: removed most using decl, add std:: where needed
13760
13761         * buffer.C: ws changes
13762
13763         * MenuBackend.C (class compare_format): put into anon namespace
13764         (expand): constify label, names, action, action2
13765         (expand):
13766
13767         * text.C (SingleWidth): constify font
13768         (IsBoundary): constify rtl2
13769         (GetVisibleRow): constify ww
13770
13771         * LaTeX.C (deplog): constify logfile
13772
13773         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13774         start_x, end_x
13775         (workAreaExpose): constify widthChange, heightChange
13776
13777         * lyxrow.C (par): moved
13778         (height): moved
13779         (next): moved
13780         * lyxrow.h: as inlines here
13781
13782         * lyxfont.h (shape): moved from lyxfont.C
13783         (emph): moved from lyxfont.C
13784
13785         * lyxfont.C (LyXFont): use initialization list for all
13786         constructors
13787         (shape): move to lyxfont.h as inline
13788         (emph): move to lyxfont.h as inline
13789
13790
13791 2001-04-04  Juergen Vigna  <jug@sad.it>
13792
13793         * vspace.C: had to include stdio.h for use of sscanf
13794
13795 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13796
13797         * BufferView.h:
13798         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13799         independent of xforms.
13800
13801 2001-04-02  Juergen Vigna  <jug@sad.it>
13802
13803         * spellchecker.C: fixed namespace placing!
13804
13805 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13808         the LyXParagraph * is 0.
13809
13810 2001-03-29  Juergen Vigna  <jug@sad.it>
13811
13812         * vspace.C: added support for %, c%, p%, l%.
13813         (stringFromUnit): added helper function.
13814         (asLatexString): changed to give right results for the %-values.
13815
13816         * buffer.C: convert the widthp in a width%.
13817
13818 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13819
13820         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13821         figureForm.[Ch].
13822
13823         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13824         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13825
13826         * lyx_cb.[Ch]: see above.
13827
13828         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13829         form1.[Ch].
13830
13831         * form1.[Ch]:
13832         * lyx.[Ch]: replaced by figure_form.[Ch].
13833
13834         * lyx_gui.C:
13835         * lyx_gui_misc.C:
13836         * lyxfunc.C: changed headers associated with above changes.
13837
13838 2001-03-27  Juergen Vigna  <jug@sad.it>
13839
13840         * BufferView_pimpl.C: set the temporary cursor right!
13841
13842 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13845
13846 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * LString.h: removed "using std::getline"!
13849
13850         * BufferView_pimpl.C (Dispatch): changes due to changes in
13851         InsetInclude::Params.
13852
13853         * buffer.C (tag_name): removed redundant break statements as they were
13854         producing lots of warnings with my compiler.
13855
13856 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * LString.h: add "using std::getline" when using the real <string>.
13859
13860 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13861
13862         * buffer.C: removed bitset usage.
13863         PAR_TAG moved to an anonymous name space.
13864         (tag_name): new funtion, also in the anonymous namespace.
13865         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13866         (makeDocBookFile): clean code. Completed transition from string arrays
13867         to string vectors.
13868         (SimpleDocBookOnePar): code clean.
13869
13870 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13871
13872         * tabular.C: add some comments.
13873
13874 2001-03-22  Juergen Vigna  <jug@sad.it>
13875
13876         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13877         compatibility read a bit and fixed bug with minipage in different
13878         depth.
13879
13880 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13881
13882         * buffer.C (pop_tag): removed.
13883         (push_tag): removed.
13884         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13885         array replaced with vector. Added support for CDATA sections.
13886         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13887         at any nest level.
13888         (makeDocBookFile): XML conformant declaration of CDATA section,
13889         fixed bug related to <emphasis> in the first paragraph char.
13890         (sgmlOpenTag): exclude empty tags.
13891         (sgmlCloseTag): ditto.
13892
13893         * buffer.h (pop_tag): removed.
13894         (push_tag): removed.
13895
13896 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * language.h (Languages): added size_type and size().
13899
13900 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13901
13902         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13903         response on compability reading of minipages. One probliem is that
13904         the old usage of minipages was «flertydig»
13905
13906         * several files here and in subdirs: don't use static at file
13907         scope use anon namespaces instead.
13908
13909 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13910
13911         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13912         LaTeX output. This is necessary for Literate document
13913         processing.
13914
13915 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13916
13917         * buffer.C: insert hfill when needed.
13918
13919         * tabular.C (l_getline): use string::erase, small whitespace change.
13920
13921         * BufferView_pimpl.C: try the anon namespace.
13922         * WorkArea.C: ditto
13923
13924 2001-03-16  Juergen Vigna  <jug@sad.it>
13925
13926         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13927         otherwise it won't open options-dialogs.
13928
13929         * buffer.C: honor pextraWidth(p) on converting minipages.
13930
13931         * tabular.C (l_getline): changed the functions to strip trailing \r.
13932
13933 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13934
13935         * BufferView_pimpl.C:
13936         * minibuffer..C: added "using SigC::slot" declaration.
13937
13938 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13939
13940         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13941
13942         * text2.C: ditto
13943
13944         * text.C: ditto
13945
13946         * paragraph.C: ditto
13947
13948         * lyxtext.h: NO_PEXTRA
13949
13950         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13951
13952         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13953         * ParameterStruct.h: ditto
13954         * ParagraphParameters.h: ditto
13955         * lyxparagraph.h: ditto
13956
13957 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13958
13959         * buffer.C: add compability for minipage alignment.
13960         (latexParagraphs): remove unwanted pextra check.
13961
13962         * several files: remove CXX_WORKING_NAMESPACES
13963
13964         * buffer.C (pop_tag): tie is in namespace boost
13965
13966         * BufferView.h: noncopyable is in namespace boost
13967         * lyxlex.h: ditto
13968         * lyx_main.h: ditto
13969         * lyx_gui.h: ditto
13970         * layout.h: ditto
13971         * lastfiles.h: ditto
13972         * bufferlist.h: ditto
13973         * ShareContainer.h: ditto
13974         * LyXView.h: ditto
13975         * LyXAction.h: ditto
13976         * LaTeX.h: ditto
13977
13978 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13979
13980         * Merging changes from BRANCH_MVC back into HEAD.
13981
13982         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13983
13984 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * BufferView_pimpl.C: change from intl.C
13987
13988         * combox.h:
13989         * combox.C:
13990         * Makefile.am: move combox.*
13991
13992         * form1.h:
13993         * form1.C:
13994         * lyx_gui.C:
13995         * intl.h:
13996         * intl.C: remove dialog (covered by prefs)
13997
13998 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13999
14000         * lyxfunc.C (Dispatch): removed redundant break statement.
14001
14002 2001-03-14  Juergen Vigna  <jug@sad.it>
14003
14004         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14005
14006 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14007
14008         * buffer.C: add hack to fix compability reading of minipages.
14009
14010 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14011
14012         * buffer.C (getLists): Cleanup.
14013
14014 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14015
14016         * lyxfont.C (update): don't honor toggleall on font size.
14017
14018 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * bmtable.c:
14021         * bmtable.h:
14022         * Makefile.am: moved to frontends/xforms/
14023
14024         * lyx_gui_misc.C:
14025         * lyxfunc.C:
14026         * BufferView_pimpl.C: changes for moved mathpanel
14027
14028 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * gettext.h: fix gettext_init() in --disable-nls
14031
14032 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14035
14036 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14037
14038         * lyx.C:
14039         * lyx.h: strip external form
14040
14041 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * BufferView_pimpl.C: add comment, destroySplash()
14044
14045 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14046
14047         * BufferView_pimpl.C:
14048         * LyXAction.C:
14049         * buffer.C:
14050         * commandtags.h:
14051         * lyxfunc.C: use re-worked insetinclude
14052
14053 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14054
14055         * buffer.C: add using std::stringstream.
14056
14057         * lyx_cb.C: readd using std::ios.
14058
14059         * buffer.C: add using std::map.
14060
14061         * BufferView_pimpl.C: add using std::vector.
14062
14063         * ShareContainer.h: add std:: to swap.
14064
14065         * buffer.h: add some typedefs
14066         * buffer.C (getLists): use them
14067         (getLists): renamed from getTocList.
14068         add a counter for the different float types and use it in the
14069         generated string.
14070         (getLists): use the same counter for the NEW_INSETS and the "non"
14071         NEW_INSETS
14072
14073         * lyx_cb.h: remove unused items, includes, using etc.
14074
14075         * ShareContainer.h: remove some commented code, add more comments
14076         and "documentation".
14077
14078 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14079
14080         * buffer.C (getTocList): make the list also when NEW_INSETS is
14081         defined.
14082
14083         * buffer.h: remove TocType
14084
14085         * buffer.C (getTocList): change to return a map<string,
14086         vector<TocItem> >, implement for dynamic number of list.
14087
14088         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14089         * text2.C (PasteSelection): adjust
14090         * CutAndPaste.C (pasteSelection): adjust
14091
14092         * FloatList.C (FloatList): update from the new_insets branch.
14093         * Floating.[Ch]: ditto
14094         * LaTeXFeatures.C: ditto
14095         * buffer.C: ditto
14096         * lyxlex_pimpl.C: ditto
14097
14098         * paragraph.C (Last): remove when NEW_INSETS is defined.
14099
14100         * other file: changes because of the above.
14101
14102 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14103
14104         * lyxparagraph.h: rename next to next_, previous to previous_,
14105         make them private for NEW_INSETS. Rename Next() to next(),
14106         Previous() to previous().
14107
14108         * other files: changes because of the above.
14109
14110 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14111
14112         * BufferView.h:
14113         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14114         problem.
14115
14116 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14117
14118         * main.C (main): pass lyx_localedir to gettext_init().
14119
14120         * gettext.h: remove locale_init and gettext_init macros
14121
14122         * gettext.C (locale_init): new function
14123         (gettext_init): new function
14124
14125         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14126         setlocale().
14127
14128 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14129
14130         * Moved credits to frontends:
14131         * credits.[Ch]: removed
14132         * credits_form.[Ch]: removed
14133         * lyx_gui_misc.C: remove credits stuff
14134         * Makefile.am:
14135
14136 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14137
14138         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14139
14140         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14141         unneeded destructor.
14142
14143         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14144         a standalone pointer again.
14145
14146         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14147
14148 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14149
14150         * Makefile.am:
14151         * filedlg.h:
14152         * filedlg.C:
14153         * LyXAction.C:
14154         * ToolbarDefaults.C:
14155         * bufferlist.C:
14156         * commandtags.h:
14157         * form1.C:
14158         * form1.h:
14159         * lyx_cb.C:
14160         * lyx_cb.h:
14161         * lyxfunc.h:
14162         * lyxfunc.C:
14163         * BufferView_pimpl.C: use new file dialog in GUII
14164
14165         * lyx_cb.h:
14166         * lyx_cb.C: remove LayoutsCB to Toolbar
14167
14168 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * ShareContainer.h (get): add std:: qualifier
14171
14172 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * ShareContainer.h: define a proper ShareContainer::value_type
14175         type (and use typename to please compaq cxx)
14176
14177 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14178
14179         * lyxparagraph.h: move serveral local vars to
14180         ParameterStruct/ParagraphParameters., use ShareContainer in
14181         FontTable., make vars in FontTable private and add getter and
14182         setter.
14183
14184         * paragraph.C: changes because of the above.
14185
14186         * lyxfont.h: remove copy constructor and copy assignment. (the
14187         default ones is ok), move number inside FontBits. move inlines to
14188         lyxfont.C
14189
14190         * lyxfont.C: add number to initializaton of statics, move several
14191         inlines here. constify several local vars. some whitespace
14192         cleanup. Dont hide outerscope variables.
14193
14194         * Spacing.h: add two new constructors to match the set methods.
14195
14196         * ShareContainer.h: new file, will perhaps be moved to support
14197
14198         * ParameterStruct.h: new file
14199
14200         * ParagraphParameters.h: new file
14201
14202         * ParagraphParameters.C: new file
14203
14204         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14205         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14206
14207         * BufferView_pimpl.C: ParagraphParameter changes.
14208         * buffer.C: Likewise.
14209         * bufferview_funcs.C: Likewise.
14210         * text.C: Likewise.
14211         * text2.C: Likewise.
14212
14213 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14214
14215         * lyxfind.C (LyXReplace): do not redefine default argument in
14216         implementation.
14217         (IsStringInText): ditto
14218         (SearchForward): ditto
14219         (SearchBackward): ditto
14220
14221 2001-03-06  Juergen Vigna  <jug@sad.it>
14222
14223         * lyxfind.C (IsStringInText): put parentes around expressions.
14224
14225 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14226
14227         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14228
14229 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14230
14231         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14232
14233         * stl_string_fwd.h: add comment
14234
14235         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14236
14237         * tabular.h:
14238         * tabular.C: remove unused DocBook methods
14239
14240         * intl.C:
14241         * language.C:
14242         * paragraph.C:
14243         * buffer.C:
14244         killed DO_USE_DEFAULT_LANGUAGE
14245
14246 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14247
14248         * lyx_gui.C: do not include language.h.
14249
14250         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14251         arguments in function implementation.
14252
14253 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14254
14255         * BufferView_pimpl.C: add <ctime>
14256
14257 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14258
14259         * BufferView_pimpl.C: add using std::find_if
14260
14261 2001-02-27  José Matos  <jamatos@fep.up.pt>
14262
14263         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14264         by OnlyPath.
14265
14266 2001-02-11  José Matos  <jamatos@fep.up.pt>
14267
14268         * buffer.C (makeDocBookFile): command styles now have a parameter as
14269         "title" by default.
14270
14271 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14272
14273         * layout_forms.[Ch]: removed
14274         * lyx_cb.[Ch]: out character
14275         * lyx_gui.C: out character
14276         * lyx_gui_misc.C: out character
14277         * bufferview_funcs.C: : out character,
14278         added toggleall as parameter in ToggleAndShow
14279
14280 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14281
14282         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14283
14284         * text2.C (SetCurrentFont): Disable number property at boundary.
14285
14286 2001-02-26  Juergen Vigna  <jug@sad.it>
14287
14288         * lyxfunc.C (getStatus): added a string argument override function so
14289         that this is correctly called from LyXFunc::Dispatch if it contains a
14290         do_not_use_argument which is used!
14291         (Dispatch): added check for "custom" export and call appropriate func.
14292
14293 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14294
14295         * lyxrc.C: Add language_command_local, language_use_babel and
14296         language_global_options.
14297
14298         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14299
14300         * buffer.C (makeLaTeXFile): Use language_use_babel and
14301         language_global_options.
14302
14303 2001-02-23  Juergen Vigna  <jug@sad.it>
14304
14305         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14306         which works with LyXText and putted it inside BufferView. Here now we
14307         only call for that part the BufferView::Dispatch() function.
14308
14309         * BufferView.C (Dispatch): added.
14310
14311         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14312         functions which needs to use a LyXText over from LyXFunc.
14313         (MenuInsertLyXFile): added
14314         (getInsetByCode): added
14315         (moveCursorUpdate): added
14316         (static TEXT): added
14317
14318 2001-02-22  Juergen Vigna  <jug@sad.it>
14319
14320         * BufferView_pimpl.C (update): call a status update to see if LyXText
14321         needs it.
14322
14323 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14324
14325         * vc-backend.C (revert): implement for CVS
14326         (getLog): implement for CVS
14327
14328 2001-02-20  Juergen Vigna  <jug@sad.it>
14329
14330         * text2.C (ClearSelection): added BufferView param for inset_owner call
14331
14332         * lyxfunc.C (TEXT): added this function and use it instead of
14333         directly owner->view()-text of getLyXText().
14334
14335 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14336
14337         * src/layout_forms.C: out preamble
14338         * src/layout_forms.h: out preamble
14339         * src/lyx_cb.C: out preamble
14340         * src/lyx_cb.h: out preamble
14341         * src/lyx_gui.C: out preamble
14342         * src/lyx_gui_misc.C: out preamble
14343         * src/lyxfunc.C: connect with guii preamble
14344
14345 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14346
14347         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14348
14349 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14350
14351         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14352         whether to run bibtex.
14353
14354 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14355
14356         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14357
14358 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14359
14360         * Makefile.am (lyx_SOURCES): removed bibforms.h
14361
14362         * vspace.h: doxygen
14363
14364         * text.C (GetVisibleRow): make several local vars const
14365
14366         * tabular.C: small cleanup.
14367
14368         * lyxserver.C (callback): use compare instead of strncmp
14369
14370         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14371         inlines to after class or to paragraph.C
14372
14373         * lyxfont.h: remove friend operator!=
14374
14375         * converter.h: move friend bool operator< to non friend and after
14376         class def.
14377
14378         * combox.h: small cleanup
14379
14380         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14381         to inlines after class def.
14382
14383         * buffer.C (pop_tag): use string operations instead of strcmp
14384
14385         * bmtable.c: doxygen, small cleanup
14386
14387         * LaTeX.h: remove friend operator==
14388
14389 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14390
14391         * screen.C:
14392         * lyxrc.[Ch]:
14393         * lyxfunc.C:
14394         * lyxfont.[Ch]:
14395         * lyx_cb.C:
14396         * intl.[Ch]:
14397         * commandtags.h:
14398         * buffer.C:
14399         * WorkArea.[Ch]:
14400         * LyXAction.C:
14401         * BufferView_pimpl.C:
14402         * BufferView.[Ch]: remove cruft
14403
14404 2001-02-14  Juergen Vigna  <jug@sad.it>
14405
14406         * lyxfunc.C: removed #if 0 unused code
14407
14408         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14409
14410         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14411
14412         * text2.C (SetSelection): added a BufferView * parameter
14413
14414 2001-02-13  Juergen Vigna  <jug@sad.it>
14415
14416         * lyxfunc.C (Dispatch): fixed protected blank problem.
14417         * BufferView2.C (protectedBlank): added LyxText * parameter.
14418
14419         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14420         (AppendColumn): same as above for column_info.
14421
14422         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14423         (moveCursorUpdate): use a LyXText param for support of InsetText.
14424
14425         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14426         (tripleClick): ditto
14427
14428         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14429
14430         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14431
14432         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14433
14434         * text2.C (SetSelection): set correct update status if inset_owner
14435         (ToggleFree): ditto
14436
14437 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14438
14439         * tabular.C: remove some commented code.
14440
14441 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * BufferView_pimpl.C: call hideSplash()
14444
14445         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14446
14447         * include_form.h:
14448         * bibforms.h: remove
14449
14450         * lyxfunc.C:
14451         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14452           add LFUN_CHILD_CREATE
14453
14454         * counters.h: fix tiny typo
14455
14456         * lyx_cb.C:
14457         * lyx.h:
14458         * lyx_gui.C:
14459         * lyx.C: move splash to frontends/xforms/
14460
14461         * lyx_gui_misc.C: move Include and Bibform to frontends
14462
14463         * lyxvc.h: clarify comment
14464
14465         * vspace.C: tiny housekeeping
14466
14467 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14468
14469         * text.C (PrepareToPrint): RTL Fix.
14470
14471         * paragraph.C (GetUChar): New method.
14472         (String):  Use GetUChar.
14473
14474         * buffer.C (asciiParagraph): Use GetUChar.
14475
14476 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14477
14478         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14479
14480 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * buffer.h:
14483         * buffer.C: rename to getLogName(), handle
14484           build log / latex log nicely
14485
14486 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14487
14488         * MenuBackend.C:
14489         * MenuBackend.h: remove support for reference menuitem type.
14490
14491 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14492
14493         * BufferView_pimpl.C: housekeeping
14494         * BufferView_pimpl.h:
14495         * LyXView.h:
14496         * Makefile.am:
14497         * Timeout.C:
14498         * Timeout.h:
14499         * minibuffer.h: move Timeout GUI-I
14500
14501 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * lyxrc.C (read): Update converters data-structures.
14504
14505 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14506
14507         * LaTeX.h (operator!=): add operator != for Aux_Info
14508
14509 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14512
14513         * LaTeXLog.C: deleted, useful code moved to Buffer
14514
14515         * buffer.h:
14516         * buffer.C: new function getLatexLogName()
14517
14518         * lyx_gui_misc.C:
14519         * lyx_gui.C:
14520         * lyxvc.C:
14521         * lyxvc.h:
14522         * lyxfunc.C: use frontends for LaTeX and VC logs
14523
14524 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14525
14526         * LaTeX.h: yet another std:: that Allan forgot.
14527
14528         * Variables.C (set): renamed from isset(), because this clashes
14529         with some HP-UX macros (grr).
14530
14531 2001-02-06  Allan Rae  <rae@lyx.org>
14532
14533         * LaTeX.h: Another bug fix.  Missing std:: this time.
14534
14535 2001-02-04  Allan Rae  <rae@lyx.org>
14536
14537         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14538         floats problem. I've left it commented out because it's not quite
14539         correct.  It should also test that the current object is a table or
14540         figure inset.  But I haven't gotten around to figuring out how to do
14541         that.  I *think* it'll be something like: "table" == inset.type()
14542
14543         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14544         bool.
14545
14546 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14547
14548         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14549         all the citation/databases/styles in the auxilary file.
14550         (run): Rerun latex if there was a babel language error.
14551
14552 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14553
14554         * text.C (Backspace): Preserve the font when changing newline char
14555         with a space.
14556         (BreakParagraph): If the cursor is before a space, delete the space.
14557
14558         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14559
14560 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14561
14562         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14563         new argument (code).
14564         (ChangeCitationsIfUnique): New method.
14565
14566         * paragraph.C (GetPositionOfInset): Handle bibkey.
14567
14568 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * BufferView_pimpl.h: change type of Position::par_pos to
14571         LyXParagraph::size_type.
14572
14573 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14574
14575         * BufferView_pimpl.C (savePosition, restorePosition): Write
14576         messages to minibuffer.
14577
14578 2001-01-28  José Matos  <jamatos@fep.up.pt>
14579
14580         * buffer.C (makeDocBookFile): adds support for document language.
14581         A silly restriction on the name of LatexCommand types where removed.
14582         Added support for CDATA sections, allows to chars unescaped, used
14583         among others in code, to avoid escape < and >.
14584
14585 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14586
14587         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14588         saved positions instrad of a stack. Furthermore, a position is
14589         stored using paragraph id/paragraph position.
14590
14591         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14592         Remove LFUN_REF_BACK.
14593
14594 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * converter.C (dvipdfm_options): New method.
14597
14598 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14599
14600         * vspace.C (isValidLength): Fix for empty input string.
14601
14602 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14603
14604         * LyXAction.C (init): change description of LFUN_FIGURE to
14605         "Insert Graphics"
14606
14607 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * LaTeX.C: add using directive
14610
14611 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14612
14613         * MenuBackend.C (expand): Fix the sorting of the formats.
14614
14615 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * lyx_main.C: tiny error message fix
14618
14619 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14622         calling fl_initialize(). This fixes the problem with ',' as
14623         decimal separator in text files.
14624
14625 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14626
14627         * trans.C (process): Fix the keymap bug.
14628
14629 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * LaTeX.C (scanAuxFiles): New method. Provides support for
14632         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14633         (scanLogFile) Scan for "run BibTeX" messages.
14634
14635         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14636         OT1 font encoding. Also, load the aecompl package if the ae
14637         package is loaded.
14638
14639         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14640
14641 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14642
14643         * texrow.C (increasePos): turn two error messages into debug
14644         messages.
14645
14646 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * LaTeX.C (scanAux): Handle the \@input macro.
14649         (runBibTeX): Use scanAux().
14650
14651         * language.C (latex_options_): New field.
14652
14653         * LaTeXFeatures.C (getMacros): Add language macros.
14654
14655         * buffer.C (makeLaTeXFile): Small fix.
14656
14657 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14660
14661         * text2.C: add a using directive.
14662
14663 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * BufferView2.C:
14666         * lyx_gui_misc.h:
14667         * lyxfr1.C:
14668         * lyxfunc.C: kill LyXBell.
14669
14670 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14671
14672         * text.C (IsBoundary): Remove the error message
14673
14674         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14675
14676         * lyxrc.C (setDefaults): Correct initialization value for
14677         font_norm_type.
14678
14679 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14682         gotoError().
14683
14684         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14685         and GotoNextNote().
14686
14687         * src/LyXAction.C: Added reference-next.
14688
14689         * text.C (InsertChar): Use contains instead of strchr.
14690
14691         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14692
14693 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14696         alignment commands (when needed).
14697
14698         * text.C (InsertChar): Add ':' to number separator chars.