]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7ef2db5ed5a1ac52491bda355cb29c26a0579321
[lyx.git] / src / ChangeLog
1 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text3.C (checkInsetHit): adjust coords
4         * text2.C (getColumnNearX): adjust coords
5         (edit): adjust coords
6         * text.C (getRowNearY): add two asserts
7
8 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * converter.C:
11         * format.C: add using std::distance to compile on gcc 2.95/stlport
12
13 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
16
17 2004-02-04  André Pönitz  <poenitz@gmx.net>
18
19         * BufferView.[Ch] (insertInset):
20         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
21
22         * text2.C:
23         * text3.C: adjust
24
25 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
28         on the default clause of the switch
29         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
30         wasn't catched by LCursor::dispatch
31
32 2004-02-03  André Pönitz  <poenitz@gmx.net>
33
34         * BufferView.C:
35         * cursor.[Ch]: some additional asserts
36
37         * undo.[Ch]: remove LyXText dependency in interface
38
39         * lyxfunc.C: adjust
40
41         * lyxtext.h (firstPar, lastPar): remove dead functions 
42
43         * text.C:
44         * text2.C:
45         * text3.C:
46         * paragraph.[Ch]: adjust
47
48 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
49
50         * lyxfind.C (find): fix argument order in call to ::find
51
52 2004-02-02  André Pönitz  <poenitz@gmx.net>
53
54         * cursor.[Ch]: remove direct access to anchor
55
56         * text.C: remove findText() hack
57
58 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
59
60         * iterators.[Ch] (lockPath): remove in favour of...
61         * BufferView.[Ch] (setCursor): this addition
62         * BufferView.C (putSelectionAt): adjust
63         * undo.C (performUndoOrRedo): adjust
64         * lyxfunc.C (dispatch): adjust
65
66 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
67
68         * iterators.C (lockPath): add a missing slice
69         * undo.C (performUndoOrRedo): remove redundant positioning code
70
71 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
72
73         * vc-backend.C (scanMaster): ";" -> ';'
74
75 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
78         std::binary_function
79
80         * lyxtextclass.C (compare_name): rename to...
81         (LayoutNamesEqual): ...this
82
83         * lyxlex_pimpl.C (compare_tags): inherit from
84         std::binary_function, put back into anon namespace
85
86         * lyxfind.C (MatchString): inherig from std::binary_function
87         (findChange): use empty() istead of !size()
88
89         * format.C (FormatNamesEqual): new functor
90         (getFormat): use it
91         (getNumber): use it
92         (add): use it
93         (erase): use it
94         (setViewer): use it
95
96         * converter.C (compare_Converter): rename to...
97         (ConverterEqual): ...this, and fixup a bit.
98         (getConverter): use it, and make function const
99         (getNumber): use it, and make function const
100         (add): use it
101         (erase): use it:
102
103         * bufferlist.C: add using boost::bind
104
105         * MenuBackend.C (MenuNamesEqual): new functor
106         (hasMenu): use it, and make function const
107         (hasSubmenu): use nested bind to get rid of compare_memfun.
108
109 2004-01-30  André Pönitz  <poenitz@gmx.net>
110
111         * BufferView_pimpl.C:
112         * cursor.C:
113         * cursor.h:
114         * cursor_slice.[Ch]:
115         * lyxfunc.C:
116         * lyxtext.h:
117         * paragraph_funcs.C:
118         * paragraph_funcs.h:
119         * rowpainter.C:
120         * text.C:
121         * text2.C:
122         * text3.C: move some of the edit(x,y) handling to the insets
123         some coordinate changes.
124
125 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
126
127         * text.C: add using statements for std::advance and std::distance
128
129         * paragraph.C: add using statement for std::distance
130
131         * lyxfind.C: add using statement for std::advance
132
133         * cursor.C (region): remove std:: from swap
134         (openable): use nucleus in stead of operator->
135
136         * BufferView.C: add using statements for std::distance and std::swap
137
138 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
139
140         * iterators.C: Remove the pimple, move the needed structures to
141         the header file. Create accessor for the positions stack.
142         (asPosIterator): remove function
143
144         * PosIterator.C (PosIterator): move constructors to top of file
145         (PosIterator): reimplement the constructor taking a ParIterator in
146         terms of setFrom.
147         (setFrom): new function
148         (operator!=): inline it
149
150 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
151
152         * lyxfind.C (replaceAll): use std::advance
153
154         * iterators.h: inherit from std::iterator.
155
156         * PosIterator.C (advance, distance): remove
157         * PosIterator.h: interit from std::iterator.
158
159 2004-01-26  André Pönitz  <poenitz@gmx.net>
160
161         * BufferView.[Ch]:
162         * BufferView_pimpl.[Ch]:
163         * InsetList.[Ch]:
164         * PosIterator.[Ch]:
165         * buffer.h:
166         * bufferview_funcs.C:
167         * cursor.[Ch]:
168         * cursor_slice.h:
169         * factory.[Ch]:
170         * iterators.[Ch]:
171         * lyxfind.C:
172         * lyxfunc.C:
173         * lyxtext.h:
174         * output_docbook.C:
175         * output_latex.C:
176         * output_linuxdoc.C:
177         * output_plaintext.C:
178         * paragraph.[Ch]:
179         * paragraph_funcs.[Ch]:
180         * paragraph_pimpl.[Ch]:
181         * rowpainter.C:
182         * tabular.C:
183         * tabular.h:
184         * text.C:
185         * text2.C:
186         * text3.C: more IU:  dumps most of the rest of the mathcursor
187     implementation into cursor.[Ch]; "globalize" a bit of it.
188
189 2004-01-25  Angus Leeming  <leeming@lyx.org>
190
191         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
192
193 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * LaTeXFeatures.h: add nice_ and nice() const
196         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
197
198 2004-01-20  André Pönitz  <poenitz@gmx.net>
199
200         * BufferView.[Ch]:
201         * BufferView_pimpl.C:
202         * PosIterator.C:
203         * bufferview_funcs.C:
204         * cursor.[Ch]:
205         * cursor_slice.[Ch]:
206         * factory.C:
207         * iterators.C:
208         * lyx_cb.C:
209         * lyxfind.C:
210         * lyxfunc.C:
211         * lyxtext.h:
212         * rowpainter.C:
213         * text.C:
214         * text2.C:
215         * text3.C:
216         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
217           LCursor and mathcursor parts to LCursor and InsetBase.
218
219 2004-01-15  André Pönitz  <poenitz@gmx.net>
220
221         * cursor_slice.[Ch]: add a few covienience functions
222
223         * funcrequest.[Ch]: remove BufferView * member
224
225         * BufferView_pimpl.C:
226         * cursor.C:
227         * factory.[Ch]:
228         * lyxfind.[Ch]:
229         * lyxfunc.C:
230         * lyxtext.h:
231         * text3.C:
232         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
233
234 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
235
236         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
237         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
238
239 2004-01-13  André Pönitz  <poenitz@gmx.net>
240
241         * textcursor.[Ch]:
242         * lyxtext.h: hide cursor and selection anchor behind accessor function
243
244         * BufferView.C:
245         * BufferView_pimpl.[Ch]:
246         * PosIterator.C:
247         * bufferview_funcs.C:
248         * cursor.h:
249         * lyxfind.C:
250         * lyxfunc.C:
251         * text.C:
252         * text2.C:
253         * text3.C:
254         * undo.C: adjust
255
256         * cursor.h:
257         * cursor_slice.[Ch]: some integer type changes for inset unification
258
259         * lyxcursor.[hC]: remove, it's CursorSlice now.
260
261         * Makefile.am:
262         * BufferView_pimpl.[Ch]:
263         * bufferview_funcs.C:
264         * cursor_slice.C:
265         * lyxtext.h:
266         * text.C:
267         * text2.C:
268         * text3.C:
269         * textcursor.[Ch]: adjust
270
271 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
272
273         * text2.C (undoSpan): add and use
274         * text.C (breakParagraph): use undoSpan (fix bug 578)
275         * lyxtext.h: adjust
276
277 2004-01-08  Angus Leeming  <leeming@lyx.org>
278
279         * BufferView_pimpl.C (MenuInsertLyXFile):
280         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
281         * lyxfunc.C (menuNew, open, doImport):
282         FileFilterList change to the FileDialog open and save functions.
283
284 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
285
286         * ShareContainer.h: make isEqual and isUnique adaptable
287
288         * CutAndPaste.C: make resetOwnerAndChanges adaptable
289
290 2004-01-07  Angus Leeming  <leeming@lyx.org>
291
292         * LyXAction.C:
293         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
294
295         * BufferView_pimpl.C (dispatch): act on these LFUNs.
296
297         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
298         functions replacing find, replace and replaceAll.
299
300         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
301         LFUN_WORDFIND(FORWARD|BACKWARD).
302
303 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
304
305         * text.C (breakParagraph): remove an outdated #warning
306
307 2004-01-07  André Pönitz  <poenitz@gmx.net>
308
309         * lyxfind.C: somewhat clearer logic
310
311         * text.C: prevent crash in cursorX on unitialized row cache
312
313 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * lyxcursor.[Ch] (operator>): add
316         * textcursor.C (selStart, selEnd): use std::min and std::max
317
318 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * Chktex.C: include boost/format.hpp
321
322 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
323
324         * InsetList.C: replace functor MathcIt with adaptable functor
325         InsetTablePosLess
326         (insetIterator): modify accordingly
327
328         * BranchList.h: move the BranchNamesEqual functor here from...
329         * BranchList.C: ... to here
330
331         * BranchList.C: new BranchListEqual fuctor, use it. Remove
332         SameName and match.
333         (add): replace a finding loop with std::find_if.
334
335 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
336
337         * output_docbook.C: moving LatexParam functionality into
338         .layout files
339
340 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
341
342         * buffer.C: increment format to 229.
343
344 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
345
346         * LaTeXFeatures.C:
347         * lyx_sty.[Ch]: remove minipageindent_def
348
349         * LyXAction.C:
350         * factory.C:
351         * lfuns.h:
352         * lyxfunc.C:
353         * text3.C: remove LFUN_INSET_MINIPAGE
354
355 2003-12-28  Angus Leeming  <leeming@lyx.org>
356
357         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
358
359 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * text2.C (setParagraph): fix off-by-one crash
362
363 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * output_docbook.C: header stuff for AGU
366
367 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
368
369         * text2.C (redoCursor): remove
370         * text.C:
371         * text3.C:
372         * BufferView_pimpl.C: remove calls to redoCursor and
373         setCursor(cursor.par(), cursor.pos()) all around
374
375 2003-12-15  Angus Leeming  <leeming@lyx.org>
376
377         * buffer.C: up the format to 228.
378
379 2003-12-15  André Pönitz  <poenitz@gmx.net>
380
381         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
382         slices
383
384         * Makefile.am:
385
386         * BufferView_pimpl.C:
387         * cursor.[Ch]:
388         * lyxcursor.[Ch]:
389         * rowpainter.[Ch]:
390         * lyxtext.h:
391         * text.C:
392         * text2.C:
393         * text3.C: adjust
394
395 2003-12-15  Angus Leeming  <leeming@lyx.org>
396
397         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
398         than getFromGUIName to manipulate the color.
399
400 2003-12-14  Angus Leeming  <leeming@lyx.org>
401
402         * BranchList.[Ch]: minimize the API.
403         (Branch::getBranch, getColor): now return a 'const &'.
404         (Branch::setSelected) now returns a bool set to true if the
405         selection status changes.
406         (BranchList::clear, size, getColor, setColor, setSelected,
407         allBranches, allSelected, separator): removed.
408         (BranchList::find): new functions, returning the Branch with
409         the given name.
410         (BranchList::add, remove): return a bool indicating that
411         the operation was successful.
412
413         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
414         new InsetBranch::isBranchSlected member function.
415
416         * LColor.[Ch]: mimimize the API.
417         (fill): renamed as addColor and made private.
418         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
419         versions of these functions taking a string arg have been removed.
420
421         * bufferparams.C (readToken):
422         * lyxfunc.C (dispatch):
423         * lyxrc.C (read): changes due to the altered BranchList and
424         LColor APIs.
425
426         * factory.C (createInset, readInset): changes due to altered
427         InsetBranch c-tor.
428
429 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
430
431         * factory.C:
432         * lyxfunc.C: remove insetminipage. "minipage-insert"
433         now produces a frameless minipage box inset.
434
435 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * textcursor.[Ch] (selStart,selEnd): add new methods
438         remove selection::start, end, use LyXCursor::operator<
439         * lyxcursor.[Ch] (operator<): add
440         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
441         * BufferView.[Ch] (unsetXSel): add
442         * text2.C (clearSelection): use unsetXSel,adjust
443         * text.C: adjust
444         * text3.C: adjust
445         * rowpainter.C: adjust
446         * bufferview_funcs.C (put_selection_at): adjust
447
448 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * BufferView_pimpl.C: small coord. correction
451
452 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
455         dragging over the splash screen.
456
457 2003-12-11  Angus Leeming  <leeming@lyx.org>
458
459         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
460         as it is now handled in LyXText::dispatch.
461
462         * text3.C (doInsertInset): remove a level of nesting.
463
464 2003-12-11  Angus Leeming  <leeming@lyx.org>
465
466         * factory.C (createInset): changes due to the changed interface to
467         InsetCommandMailer::string2params.
468
469 2003-12-10  Angus Leeming  <leeming@lyx.org>
470
471         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
472         'dialog-show-new-inset <inset name>'
473
474 2003-12-10  Angus Leeming  <leeming@lyx.org>
475
476         * buffer.C: up the format to 227.
477
478         * factory.C: the box inset is now identified simply by 'Box'.
479
480 2003-12-10  Angus Leeming  <leeming@lyx.org>
481
482         * buffer.C: up the format to 226.
483
484         * factory.C: the note inset is now identified simply by 'Note'.
485
486 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
487
488         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
489         when a pit is enough. Standarize a couple of loops.
490
491 2003-12-05  Angus Leeming  <leeming@lyx.org>
492
493         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
494         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
495         data to the re-worked "log" dialog.
496
497 2003-12-03  André Pönitz  <poenitz@gmx.net>
498
499         * PosIterator.C:
500         * iterators.C:
501         * lyxtext.h:
502         * output_latex.C:
503         * paragraph_funcs.C:
504         * text.C:
505         * text2.C: use Inset::getText instead of Inset::getParagraph
506
507 2003-12-03  André Pönitz  <poenitz@gmx.net>
508
509         * buffer.[Ch]:
510         * lyxtext.h:
511         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
512         InsetText::read() as LyXText::read()
513
514 2003-12-02  Angus Leeming  <leeming@lyx.org>
515
516         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
517         type. Add a comment in the implementation that the function uses
518         the stream's bad() function rather than fail() as the std::streams
519         would do.
520
521 2003-12-02  André Pönitz  <poenitz@gmx.net>
522
523         * lyxlex.[Ch]: make interface more similar to std::stream
524
525         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
526
527 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
528
529         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
530
531 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
532
533         * vspace.[Ch]: remove VSpace::NONE
534
535 2003-12-01  André Pönitz  <poenitz@gmx.net>
536
537         * buffer.[Ch]:
538         * lyxtext.h: move ParagraphList member to LyXText
539         rename LyXText::ownerParagraphs to LyXText::paragraph
540
541         * CutAndPaste.C:
542         * bufferview_funcs.C:
543         * iterators.[Ch]:
544         * lyx_cb.C:
545         * paragraph.C:
546         * rowpainter.C:
547         * tabular.C:
548         * text.C:
549         * text2.C:
550         * text3.C: adjust
551
552         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
553
554         * undo.C: fix cursor positioning
555
556 2003-12-01  John Levon  <levon@movementarian.org>
557
558         * BufferView_pimpl.C: fix a crash on exit with
559         a buffer open
560
561 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
562
563         * BranchList.C: fix setSelected() method.
564
565 2003-11-28  André Pönitz  <poenitz@gmx.net>
566
567         * ParagraphParameters.[Ch]:
568         * ParameterStruct.h: remove space above/below from Paragraph to
569          InsetVSpace
570
571         * BufferView_pimpl.C:
572         * factory.C:
573         * lyxfunc.C:
574         * lyxtext.h:
575         * output_latex.C:
576         * paragraph.C:
577         * paragraph_funcs.C:
578         * rowpainter.[Ch]:
579         * text.C:
580         * text2.C:
581         * text3.C: adjust
582
583 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
584
585         * factory.C: Syntax change for CharStyles
586
587 2003-11-28  André Pönitz  <poenitz@gmx.net>
588
589         * BufferView.[Ch]:
590         * BufferView.[Ch]:
591         * buffer.[Ch]:
592         * buffer.[Ch]: move LyXText member
593
594 2003-11-28  André Pönitz  <poenitz@gmx.net>
595
596         * BufferView.[Ch]: make LyXText * text a private member
597
598         * BufferView_pimpl.C:
599         * cursor.C:
600         * iterators.C:
601         * lyx_cb.C:
602         * lyxfind.C:
603         * lyxtext.h:
604         * rowpainter.[Ch]:
605         * text.C:
606         * text2.C:
607         * undo.C: adjust
608
609         * output_plaintext.C: cleanup
610
611 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
612
613         * buffer.C:
614         * lyxtextclass.[Ch]: parametrize SGML document header
615
616 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * converter.[Ch]:
619         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
620         getFlavor().
621
622 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
623
624         * text2.C (setFont): rework using PosIterator (no more recursive)
625         (setCharFont): no more needed
626         (setLayout): no more selection cursors fiddling (done by redoCursor)
627         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
628         destroy remaining ones)
629
630 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
631
632         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
633         * lyxtext.h: ditto
634         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
635         selection cursors
636         * lyxfunc.C: adjust
637         * text3.C: adjust + re-allow multi par depth changes
638         * textcursor.C: simplify a bit
639
640 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
641
642         * src/buffer.C:
643         * src/lyxlayout.C:
644         * src/lyxlayout.h:
645         * src/lyxtext.h:
646         * src/output_docbook.C:
647         * src/output_latex.C:
648         * src/paragraph.C:
649         * src/paragraph.h:
650         * src/sgml.C:
651         * src/sgml.h:
652         * src/text2.C: Introducing a number of tags parametrizing various
653         XML formats that we may want to support
654
655 2003-11-25  André Pönitz  <poenitz@gmx.net>
656
657         * InsetList.[Ch] (begein, end): inline as suggested by profiler
658
659         * lyxtext.h (leftMargin/rightMargin): simplify interface
660
661         * rowpainter.C:
662         * text.C:
663         * text2.C:
664         * text3.C: adjust
665
666 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
667
668         * lyxfunc.C (dispatch): propogate the bibtex databases from the
669         master file to any child files. Fixes bug 546.
670
671 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
672
673         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
674
675 2003-11-24  André Pönitz  <poenitz@gmx.net>
676
677         * rowpainter.C: simplification
678
679         * text2.C (updateCounters): remove call to redoParagraph on
680         changed labels as this is far too expensive.
681
682 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * converter.C (convert): fix a crash: this function gets
685         called with buffer == 0 from importer code.
686
687 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * text3.C (cursorPrevious): make sure that we do not compare
690         iterators form different containers.
691         (cursorNext): ditto
692
693         * rowpainter.C (paintSelection): make sure that we do not compare
694         iterators from different containers.
695
696         * text3.C (dispatch): [PRIOR] make sure that we do not compare
697         iterators from different ParagraphList containers.
698         [NEXT] ditto
699
700         * text2.C (LyXText): change order of initialization slightly
701         (operator=): new function. copy all variables except cache_par_
702         (moveUp): make sure that we do not compare iterators from
703         different ParagraphList constainers.
704         (moveDown): ditto
705
706         * text.C (firstPar): new function
707         (lastPar): new function
708         (endPar): new function
709
710         * lyxtext.h: move things around and group public functions, public
711         variables, private functions, private variables
712
713 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
714
715         * factory.C: change call to InsetERT constructor to avoid
716         additional invocation of method status
717         * text2.C (toggleInset): remove redundant update() call
718         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
719         instead of a Bufferview pointer
720
721 2003-11-21  André Pönitz  <poenitz@gmx.net>
722
723         * rowpainter.C: simplification
724
725 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * text3.C (dispatch): make possible to extend a word/row selection
728         with the mouse
729
730 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
731
732         * lyxtext.h: x0_,y0_ -> xo_,yo_
733         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
734         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
735         * rowpainter.C (paintRows): paint full paragraphs
736
737 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
738
739         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
740         screen coordinates)
741
742 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * lyxtext.h: add x0_, y0_
745         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
746         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
747
748 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * text2.C (setCursorIntern): move the x_target update here *
751         * text3.C: change some bv() to true/false in calls to
752         cursorUp/Down/Right/Left
753         * cursor.C: use helper function.
754
755 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
756
757         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
758         * paragraph_funcs.[Ch]: correct comment
759         * rowpainter.C: do not paint selections away from bv->cursor()
760         Fix a long standing selection painting bug.
761         * text3.C: generalize mouse-selection code to LyXTexts other that
762         top one
763         * textcursor.C: do not use y coords if we can use par offsets
764
765 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
766
767         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
768         cursor position after e.g. inset insert)
769
770 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
771
772         * lyxfind.C (replace): adjust to locking removal + some
773         code simplification
774
775 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
776
777         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
778         of the path
779
780 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * lyxlayout.[Ch]:
783         * output_docbook.C: XML sanitation: new layout
784         parameters InnerTag and CommandDepth
785
786 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
787
788         * BufferView_pimpl.C:
789         * factory.C:
790         * text3.C: Fix the insertion and modification of button-style
791         insets
792
793 2003-11-13  André Pönitz  <poenitz@gmx.net>
794
795         * InsetList.[Ch]: remove deleteLyXText
796
797         * paragraph.[Ch]: cache beginOfBody position
798
799         * Bidi.C:
800         * text.C:
801         * text2.C:
802         * text3.C: remove superfluous update() calls
803
804         * vspace.C: cleanup
805
806 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
809         * BufferView.C (fitLockedInsetCursor): remove
810         * cursor.[Ch] (getDim): add
811         * text.C (getRowNearY): add faster version
812         * text3.C: remove some update calls
813
814 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
815
816         * LaTeXFeatures.C:
817         * LyXAction.C:
818         * MenuBackend.C:
819         * MenuBackend.h:
820         * dispatchresult.h:
821         * factory.C:
822         * lfuns.h:
823         * lyxfunc.C:
824         * lyxtextclass.C:
825         * lyxtextclass.h:
826         * text3.C: The Character Style /XML short element patch.
827
828 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
829
830         * text3.C:
831         * factory.C: Small step to solving 'unable to insert some insets'
832         problem
833
834 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * cursor.[Ch] (updatePos): new function for updating the y
837         position of the tip inset
838         * bufferview_funcs.C (put_selection_at):
839         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
840
841 2003-11-11  André Pönitz  <poenitz@gmx.net>
842
843         * text.C: remove big comment on invalid Paragraph pointers as it is
844         not valid anymore
845
846 2003-11-11  André Pönitz  <poenitz@gmx.net>
847
848         * text_funcs.[Ch]: merge with ...
849
850         * text.C: ... this
851
852         * lyxtext.h:
853         * text2.C:
854         * text3.C: adjust
855
856         * Makefile.am: remove text_funcs.[Ch]
857
858 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
859
860         * cursor.C (getPos): return absolute cached y coord
861
862         * BufferView_pimpl.C (fitCursor): new simplistic code
863         (workAreaDispatch): add a fitCursor call
864
865 2003-11-10  André Pönitz  <poenitz@gmx.net>
866
867         * BufferView.[Ch]:
868         * BufferView_pimpl.[Ch]: merge update() and updateInset()
869
870 2003-11-10  André Pönitz  <poenitz@gmx.net>
871
872         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
873         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
874         indicate that the cursor needs to leave an inset
875
876         * lyxtext.h: remove inset locking
877
878         * cursor.[Ch]: re-implement functionality provided by inset locking
879
880         * BufferView.[Ch]:
881         * BufferView_pimpl.[Ch]:
882         * LyXAction.C:
883         * bufferview_funcs.[Ch]:
884         * factory.C:
885         * funcrequest.[Ch]:
886         * iterators.C:
887         * lyx_cb.C:
888         * lyxfind.C:
889         * lyxfunc.C:
890         * text.C:
891         * text2.C:
892         * text3.C:
893         * undo.C: adjust
894
895 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
896
897         * PosIterator.[Ch]: replace the stack with a vector, add inset
898         accesor
899         * iterators.[C]: adjust
900
901 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
902
903         * lyxfind.C (replaceAll): mark the buffer dirty if something was
904         replaced
905         * paragraph_funcs.C (readParToken): put the correct id in the
906         error item, not the id of the top paragraph
907
908 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
909
910         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
911         * bufferview_funcs.C (put_selection_at): use the above
912
913 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
914
915         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
916
917 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * output_linuxdoc.h:
920         * output_plaintext.h:
921         * output.h:
922         * output_docbook.h: add #include statements
923
924 2003-11-05  José Matos  <jamatos@lyx.org>
925
926         * output_docbook.[Ch]:
927         * output_latex.[Ch]:
928         * output_linuxdoc.[Ch]:
929         * output_plaintext.[Ch]: New files for output formats.
930         * output.[Ch]: New file for helper functions.
931
932         * buffer.[Ch]:
933         * paragraph_funcs.[Ch]: output functions moved to new files.
934
935         * outputparams.h: rename of latexrunparams.h
936
937         * LaTeX.[Ch]:
938         * buffer.[Ch]:
939         * bufferlist.[Ch]:
940         * converter.[Ch]:
941         * exporter.C:
942         * paragraph.[Ch]:
943         * paragraph_funcs.[Ch]:
944         * paragraph_pimpl.[Ch]:
945         * tabular.[Ch]: rename ascii to plaintext
946         and LatexRunParams to OutputParams.
947
948 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
949
950         * iterators.[Ch] (text): require bv argument
951         * undo.C (recordUndo):
952         * lyxfunc.C (dispatch):
953         * bufferview_funcs.C (put_selection_at): adjust
954
955 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
956
957         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
958
959 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
960
961         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
962         nestings
963
964 2003-11-04  André Pönitz  <poenitz@gmx.net>
965
966         * cursor.[Ch]: restructure
967
968         * BufferView.[Ch]:
969         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
970
971         * iterators.[Ch] (asCursor): remove
972
973         * lfuns.h: remove LFUN_INSET_EDIT
974
975         * lyxfunc.C:
976         * tabular.C:
977         * text.C:
978         * text2.C:
979         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
980
981 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
982
983         * lyxfind.[Ch]: complete overhaul
984         * BufferView_pimpl.C:
985         * lyxfunc.C: adjust
986         * paragraph.[Ch] (insert): add
987
988 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
989
990         * BufferView.[Ch]:
991         * lyxtext.h:
992         * text.C: remove dead spellcheck code
993
994 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
995
996         * dispatchresult.h: add a val setter
997
998         * cursor.C (dispatch): use a tempvar for data_[i]
999
1000 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1001
1002         * PosIterator.[Ch]: compile fix
1003
1004 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1005
1006         * text.C (cursorPar): deactivate the cursor cache
1007
1008 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1009
1010         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1011
1012 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1013
1014         * text3.C (dispatch): adjust for new DisptchResult semantics.
1015
1016         * lyxfunc.C (dispatch): handle update when return from
1017         Cursor::dispatch, adjust for new DispatchResult semantics.
1018
1019         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1020         DispatchResult(true) mean to not update. Add class functions for
1021         setting dispatched and update, as well as reading.
1022
1023         * cursor.C (dispatch): don't handle update here
1024
1025 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1028         * trans_mgr.C: adjust
1029
1030         * paragraph_funcs.C (readParToken): exception safety
1031
1032         * lyxvc.h: store the vcs pointer in a scoped_ptr
1033         * lyxvc.C: adjust
1034
1035         * lyxsocket.C (serverCallback): exception safety
1036
1037         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1038
1039         * ispell.C (clone): make it return a auto_ptr
1040
1041         * factory.C (createInset): exception safety
1042         (readInset): exception safety
1043
1044         * bufferlist.C (newBuffer): exception safety
1045
1046         * Thesaurus.C (Thesaurus): use initialization for aik_
1047
1048         * MenuBackend.C (expandToc): exception safety.
1049
1050 2003-11-03  André Pönitz  <poenitz@gmx.net>
1051
1052         * buffer.C:
1053         * buffer.h:
1054         * bufferview_funcs.C: remove getInsetFromId()
1055
1056         * lyxcursor.[Ch]:
1057         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1058
1059         * lyxfunc.C:
1060         * text2.C:
1061         * text3.C: adjust
1062
1063 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1064
1065         * PosIterator.C (distance, advance): new
1066         * bufferview_funcs.[Ch] (put_selection_at): new
1067         * iterators.[Ch] (lockPath): new
1068
1069 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1070
1071         * iterators.[Ch] (asPosIterator): added
1072         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1073         * PosIterator.[Ch]: added
1074
1075 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * text3.C:
1078         * lyxfunc.C:
1079         * cursor.C (dispatch):
1080         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1081
1082         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1083         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1084         contructor, add a class function dispatched. Remove operator>=
1085
1086 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1087
1088         * debug.C: only use the default constructor for debugstream
1089         (lyxerr) here.
1090
1091         * main.C (main): include debug.h and setup the lyxerr streambuf
1092         here.
1093
1094 2003-10-31  José Matos  <jamatos@lyx.org>
1095
1096         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1097
1098         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1099         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1100         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1101         * paragraph_pimpl.C (simpleTeXSpecialC):
1102         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1103         add LatexRunParams argument.
1104
1105         * exporter.C (Export): change call accordingly.
1106
1107         * latexrunparams.h: add new member to take care of the other backends.
1108 2003-10-30  José Matos  <jamatos@lyx.org>
1109
1110         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1111         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1112         factorise code for paragraph output.
1113         * buffer.[Ch]:
1114         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1115         move functions.
1116
1117 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * text3.C (dispatch):
1120         * lyxfunc.C (dispatch):
1121         * cursor.C (dispatch):
1122         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1123
1124         * dispatchresult.h: make the dispatch_result_t ctor explicit
1125
1126 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * sgml.[Ch]:
1129         * buffer.C: small refactoring of docbook stuff
1130
1131 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1132
1133         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1134         meaning.
1135
1136 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1137
1138         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1139         operator dispatch_result_t, and operators for == != and >=
1140
1141         * cursor.C (dispatch): adjust for operator dispatch_result_t
1142         removal. comment out call to update
1143
1144         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1145
1146 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1147
1148         * text3.C:
1149         * text2.C:
1150         * text.C:
1151         * lyxtext.h:
1152         * lyxfunc.C:
1153         * cursor.C:
1154         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1155         (dispatch):
1156
1157         * dispatchresult.h: new file, DispatchResult broken out of
1158         insets/insetbase.h
1159
1160         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1161
1162 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1163
1164         * text.C (rowBreakPoint): put a hack inside #if 0
1165
1166 2003-10-28  André Pönitz  <poenitz@gmx.net>
1167
1168         * lyxtext.h:
1169         * metricsinfo.C:
1170         * paragraph_funcs.C:
1171         * rowpainter.C:
1172         * text.C:
1173         * text2.C: general cleanup (lots of small stuff)
1174
1175 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1176
1177         * text2.C (cursorEnd): simple fix to the "end key goes to one
1178         before the end on last row" bug
1179
1180 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1181
1182         * text.C (backspace): fix the "zombie characters"
1183
1184 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1185
1186         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1187
1188 2003-10-27  André Pönitz  <poenitz@gmx.net>
1189
1190         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1191
1192         * factory.C: handle new InsetPagebreak, InsetLine
1193
1194         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1195         and move handling into new InsetPagebreak, InsetLine
1196
1197         * BufferView_pimpl.C:
1198         * LyXAction.C:
1199         * ParagraphParameters.C:
1200         * ParameterStruct.h:
1201         * lyxfunc.C:
1202         * lyxtext.h:
1203         * paragraph.C:
1204         * paragraph.h:
1205         * paragraph_funcs.C:
1206         * paragraph_pimpl.C:
1207         * rowpainter.C:
1208         * text.C:
1209         * text2.C:
1210         * text3.C: adjust
1211
1212 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * text.C:
1215         * lyxrow_funcs.[Ch]:
1216         * Bidi.C:
1217         * paragraph.C:
1218         * lyxtext.h:
1219         * rowpainter.C:
1220         * text2.C:
1221         * text3.C: remove lastPos uses in favour of Row::endpos
1222
1223 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * undo.C (performUndoOrRedo): fix two crashes by setting a
1226         cursor by hand and reordering some calls. Use bv->lockInset instead
1227         of inset->edit because the latter loses cursor information
1228
1229 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1230
1231         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1232         by Martin
1233         (rowBreakPoint): fix width. change point to point + 1.
1234         Add a missing check.
1235
1236 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * MenuBackend.C:
1239         * lyxfunc.C: fix (at least partly) the problems
1240         with the Nav menu and headers inside branch insets
1241         reported by Kayvan
1242
1243 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1244
1245         * paragraph.C (getChar): add strong asserts
1246
1247         * lyxrow_funcs.C (lastPos): remove hideous hack
1248
1249         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1250         (fill): adjust to that (avoid an infinite loop)
1251
1252 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1253
1254         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1255
1256 2003-10-23  André Pönitz  <poenitz@gmx.net>
1257
1258         * RowList_fwd.h: change list<> to vector<> to gain speed
1259         after suggestion from Alfredo
1260
1261 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1262
1263         * lyxtext.h: move the bidi stuff from here...
1264         * text.C: and here
1265         * text2.C: and here
1266         * Bidi.[Ch]: ... to here
1267
1268 2003-10-23  André Pönitz  <poenitz@gmx.net>
1269
1270         * lyxtext.h:
1271         * text.C (isLastRow, isFirstRow): new functions
1272
1273         * paragraph.h: new width cache member
1274
1275         * rowpainter.C: replace RowList::iterator with Row & where possible
1276
1277         * lyxfunc.C: replace several view()->text with a single call
1278
1279         * toc.C: fix 'unused' warning
1280
1281 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1284         when woring with stream::pos_type
1285         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1286
1287 2003-10-22  André Pönitz  <poenitz@gmx.net>
1288
1289         * lyxtext.h:
1290         * text.C: use Row & instead of RowList::iterator
1291
1292         * lyxrow.h: rename end() to endpos()
1293
1294         * rowpainter.C:
1295         * text.C:
1296         * text2.C: adjust
1297
1298 2003-10-22  Angus Leeming  <leeming@lyx.org>
1299
1300         * buffer.[Ch] (fully_loaded): new member function, returning true
1301         only when the file has been loaded fully.
1302         Used to prevent the premature generation of previews and by the
1303         citation inset to prevent computation of the natbib-style label.
1304
1305         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1306         templates are all set up.
1307
1308         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1309
1310 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1311
1312         * text.C: fixed an "oops" in the "is a bit silly"
1313         bug fix
1314
1315 2003-10-21  André Pönitz  <poenitz@gmx.net>
1316
1317         * FuncStatus.[Ch]: small stuff, whitespace
1318
1319         * lyxfont.[Ch]: operator<<() for debug reasons
1320
1321         * lyxfunc.C:
1322         * lyxrow_funcs.C:
1323         * lyxtext.h: whitespace, spelling
1324
1325         * paragraph.C: naming of variables
1326
1327         * text.C:
1328         * text2.C: small stuff
1329
1330
1331 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1332
1333         * text.C: (1) finish off the inset display() work;
1334         (2) fix the "is a bit silly" bug (accessing char
1335         past end of par).
1336
1337 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1338
1339         * text.C: re-introduce display() for insets, fixing the
1340         various bugs (stretch of line above, math inset
1341         positioning, ...)
1342
1343 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1344
1345         * text.C (rightMargin): remove spurious semicolon
1346
1347         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1348         1415)
1349
1350 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1351
1352         * text3.C: fix one crash due to wrong cursor def
1353
1354 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1355
1356         * vc-backend.C (scanMaster): make the regex static
1357
1358         * LaTeX.C (scanAuxFile): make the regexs static
1359
1360         * text3.C (doInsertInset, dispatch, dispatch):
1361         * text2.C (cursorUp, cursorDown):
1362         * text.C (selectNextWordToSpellcheck):
1363         * BufferView_pimpl.C (dispatch):
1364         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1365
1366 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * lyxsocket.C: include <cerrno>
1369
1370 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1371
1372         * lyxfunc.C (dispatch): remove textcache stuff
1373
1374         * bufferlist.C (release): remove textcache stuff
1375         (closeAll): ditto
1376
1377         * TextCache.C: delete file
1378         * TextCache.h: delete file
1379
1380         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1381
1382         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1383         delete of the bv_->text.
1384         (resizeCurrentBuffer): remove texcache stuff
1385         (workAreaResize): ditto
1386
1387 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1388
1389         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1390         action.
1391
1392 2003-10-16  André Pönitz  <poenitz@gmx.net>
1393
1394         * lyxrow.[Ch]:
1395         * paragraph.h:
1396         * rowpainter.C:
1397         * text.C:
1398         * text2.C:
1399         * text3.C: speed up by storing y positions per paragraph plus per-row
1400         offset instead of having a 'full' y position in the row.
1401
1402 2003-10-15  André Pönitz  <poenitz@gmx.net>
1403
1404         * iterators.[Ch]:
1405         * iterators.[Ch]:
1406         * undo.[Ch]: make undo aware of inner insets
1407
1408 2003-10-14  Angus Leeming  <leeming@lyx.org>
1409
1410         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1411         static member functions LyX::ref() and LyX::cref.
1412         (lastfiles): new accessor functions for the new lastfiles_ member var.
1413         (addLyXView, views_): add a new LyXView to the list of views_.
1414         (updateInset): loop over all LyXViews to call their own updateInset
1415         member function, returning a pointer to the Buffer owning the inset.
1416
1417         * BufferView_pimpl.C (loadLyXFile):
1418         * MenuBackend.C (expandLastfiles):
1419         * bufferlist.C (MenuWrite, QuitLyX):
1420         lastfiles is no longer a global variable.
1421         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1422
1423         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1424         static function. Access through LyX::cref().emergencyCleanup().
1425
1426 2003-10-14  André Pönitz  <poenitz@gmx.net>
1427
1428         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1429
1430         * undo.[Ch]: restoring part of 'undo in insets'
1431
1432         * Makefile.am:
1433         * undo_funcs.[Ch]: merge with undo.[Ch]
1434
1435         * tabular.C: small cleansing stuff
1436
1437 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1438
1439         * paragraph_funcs.C (readParToken): report unknown insets as error
1440         boxes. Use the outer paragraph as location (also for unknown
1441         tokens).
1442
1443         * factory.C (readInset): do not abort on reading an unknown inset.
1444         Eat it and return 0.
1445
1446 2003-10-13  Angus Leeming  <leeming@lyx.org>
1447
1448         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1449
1450         * lyxrc.C: displayTranslator is now a function,
1451         declared in GraphicsTypes.h.
1452
1453 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1454
1455         * format.C: new placeholder $$a to pass the socket address.
1456
1457         * bufferlist.[Ch]: new function getBufferFromTmp.
1458
1459         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1460           files in the temporary dir.
1461
1462 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1463
1464         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1465
1466         * Makefile.am: add lyxsocket.[Ch].
1467
1468         * lyx_main.C (error_handler): handle SIGPIPE.
1469
1470 2003-10-13  André Pönitz  <poenitz@gmx.net>
1471
1472         * BufferView_pimpl.C:
1473         * lyxtext.h:
1474         * text.C:
1475         * text2.C:
1476         * text3.C:
1477         * undo_funcs.[Ch]: use paroffset_type instead of
1478           ParagraphList::iterators to prevent multiple conversion
1479           (and get a more robust interface)
1480
1481 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1482
1483         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1484         * lyxtext.h: ditto
1485         * text3.C (dispatch): ditto
1486
1487 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1488
1489         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1490         move the onlyfile, use onlyfile instead of foundfile in a couple
1491         of places.
1492
1493         * DepTable.C (update): flush the error stream a bit more
1494
1495 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1496
1497         * lyxserver.C (callback): adjust
1498
1499         * lyxfunc.C (getStatus): add a missing brace in commented code
1500         (ensureBufferClean): reindent
1501         (dispatch): delete version taking a string
1502
1503 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1504
1505         * LaTeX.C (deplog): move found file handlig from here...
1506         (handleFoundFile): .. to new function here.
1507         (deplog): make sure to discover several files mentioned on the
1508         same log line.
1509
1510 2003-10-10  André Pönitz  <poenitz@gmx.net>
1511
1512         * lyxfunc.C:
1513         * lyxtext.h:
1514         * tabular.C:
1515         * text.C:
1516         * text2.C:
1517         * text3.C: fix some of the tabular crashes
1518
1519 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1520
1521         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1522
1523         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1524
1525 2003-10-09  André Pönitz  <poenitz@gmx.net>
1526
1527         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1528
1529         * BufferView.C:
1530         * BufferView_pimpl.C:
1531         * bufferview_funcs.C:
1532         * lyx_cb.C:
1533         * lyxcursor.C:
1534         * lyxfind.C:
1535         * lyxfunc.C:
1536         * lyxtext.h:
1537         * text.C:
1538         * text2.C:
1539         * text3.C:
1540         * text_funcs.[Ch]:
1541         * textcursor.[Ch]:
1542         * undo_funcs.C: adjust
1543
1544 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1545
1546         * text2.C (incrementItemDepth): new function, use a backtracking
1547         algorithm to discover the correct item depth.
1548         (resetEnumCounterIfNeeded): new function, use a backtracking
1549         algorithm to discover if counter reset is needed.
1550         (setCounter): use them. Simplify a bit. Add different labels for
1551         different item depths for itemize.
1552
1553         * paragraph.C (Paragraph): remove initialization of enumdepth
1554         (operator=): ditto
1555
1556         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1557         enumerate and itemize. Change the type of itemdepth to signed char.
1558
1559 2003-10-08  André Pönitz  <poenitz@gmx.net>
1560
1561         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1562           thing assignable.
1563         * text.C:
1564         * text2.C: adjust
1565
1566         * tabular.[Ch]: fix crash after 'row-insert'
1567
1568 2003-10-08  Angus Leeming  <leeming@lyx.org>
1569
1570         Fix doxygen warnings.
1571
1572         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1573         Remove CutAndPaste:: prefix from header file declaration.
1574
1575         * LColor.h (fill): remove LColor:: prefix from declaration.
1576
1577         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1578         use lyx::depth_type rather than Paragraph::depth_type so that
1579         header file and .C file match.
1580
1581         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1582
1583         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1584         * aspell.C: \file aspell_local.C -> \file aspell.C
1585         * gettext.C: \file gettext.C -> \file src/gettext.C
1586         * gettext.h: \file gettext.h -> \file src/gettext.h
1587         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1588         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1589         * text.C: \file text.C -> \file src/text.C
1590
1591         * toc.C: move comment so that doxygen is not confused.
1592
1593 2003-10-07  Angus Leeming  <leeming@lyx.org>
1594
1595         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1596
1597 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1598
1599         * aspell.C:
1600         * aspell_local.h: add forgotten std::string's.
1601
1602 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1603
1604         * LaTeXFeatures.C:
1605         * LyXAction.C:
1606         * factory.C:
1607         * lfuns.h:
1608         * lyxfunc.C:
1609         * text3.C: The Box patch. Fancybox support, minipage, parbox
1610
1611 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1612
1613         * CutAndPaste.h:
1614         * DepTable.h:
1615         * FloatList.h:
1616         * LaTeXFeatures.h:
1617         * ParagraphParameters.h:
1618         * TextCache.h:
1619         * Thesaurus.h:
1620         * bufferlist.h:
1621         * exporter.h:
1622         * importer.h:
1623         * lastfiles.h:
1624         * lyxfind.h:
1625         * lyxfont.h:
1626         * lyxlex.h:
1627         * lyxtextclasslist.h:
1628         * messages.h:
1629         * paragraph.h:
1630         * paragraph_pimpl.C:
1631         * textcursor.h: add <string> and other small fixes to make Lars'
1632         std::string patch compile with STLport.
1633
1634 2003-10-06  Angus Leeming  <leeming@lyx.org>
1635
1636         * LColor.h: Add missing #include <string>.
1637
1638 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1639
1640         * All most all file in all subdirs: Make <string> be the prefered
1641         way of getting to std::string, add using declarations.
1642
1643 2003-10-06  André Pönitz  <poenitz@gmx.net>
1644
1645         * metricsinfo.C: initialize LyXFont before changing attribute.
1646         (fixes the 'math in \emph is upright' bug)
1647
1648 2003-10-06  André Pönitz  <poenitz@gmx.net>
1649
1650         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1651
1652 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1653
1654         * graph.C:
1655         * paragraph_pimpl.C: Small fixes to build using STLport
1656
1657 2003-10-02  André Pönitz  <poenitz@gmx.net>
1658
1659         * lyxfunc.C:
1660         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1661
1662 2003-10-01  André Pönitz  <poenitz@gmx.net>
1663
1664         * factory.C: assert early
1665
1666 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1667
1668         * lyx_main.C: remove the global debug object
1669
1670         * debug.h: adjust for new debugstream
1671
1672         * debug.C: adjust for new debugstream and keep the global debug
1673         object here.
1674
1675 2003-09-22  Angus Leeming  <leeming@lyx.org>
1676
1677         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1678         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1679         an incomplete class LyXFont.
1680
1681 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * factory.C: bug fix in branches
1684
1685 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * lyxfunc.C (processKeySym): adjust
1688         (dispatch): adjust
1689         (dispatch): change arg name from ev to func, adjust
1690         (sendDispatchMessage): ditto
1691
1692         * lyx_main.C (defaultKeyBindings): adjust keybindings
1693         (deadKeyBindings): ditto
1694
1695         * kbsequence.C (addkey): return a FuncRequest
1696
1697         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1698
1699         * kbmap.C (bind): take a FuncRequest as arg, adjust
1700         (read): adjust
1701         (lookup): adjust
1702         (defkey): change to take a FuncRequest as arg, adjust
1703         (findbinding): take a FuncRequest as arg, adjust.
1704
1705         * funcrequest.h (operator=): added
1706
1707         * funcrequest.C (FuncRequest): default kb_action changed from
1708         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1709
1710         * buffer.C (dispatch): simplify
1711         (dispatch): adjust to take a FuncRequest as arg, adjust
1712
1713         * boost.C (assertion_failed): change assertion message slightly
1714
1715         * ToolbarBackend.C (read): simplify
1716
1717         * MenuBackend.C (binding): adjust call to findbinding, add a
1718         message if no binding is found.
1719         (read): simplify
1720         (expandToc): correct by adding a empty FuncRequest
1721
1722         * LyXAction.C: include <boost/assert.hpp>
1723         (isPseudoAction): delete function
1724         (LookupFunc): change name to...
1725         (lookupFunc): this. change return type to FuncRequest.
1726         (getActionName): take kb_action as arg, simplify
1727         (funcHasFlag): add an assert, simplify.
1728
1729 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1730
1731         * toc.C (action): return a FuncRequest, simplify
1732
1733         * lyxfunc.C (processKeySym): adjust
1734         (getStatus): delete version that takes an int.
1735         (getStatus): adjust
1736         (dispatch): delete version that takes action as int
1737         (dispatch): adjust
1738         (sendDispatchMessage): simplify and adjust
1739
1740         * funcrequest.C (getArg): take unsigned int as arg
1741
1742         * ToolbarBackend.C (read): adjust
1743         (add): delete version that takes func as a string.
1744         (getIton): take a FuncRequest as arg
1745
1746         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1747         action.
1748
1749         * MenuBackend.C (MenuItem): add a new construct that only takes a
1750         Kind, simplify the constructor use for submenus.
1751         (add): adjust
1752         (expandLastfiles): adjust
1753         (expandDocuments): adjust
1754         (expandFormats): adjust
1755         (expandFloatListInsert): adjust
1756         (expandFloatInsert): adjust
1757         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1758
1759         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1760         Remove class variables lyx_pseudo_map and lyx_arg_map
1761
1762         * LyXAction.C (searchActionArg): delete function
1763         (getPseudoAction): delete function
1764         (retrieveActionArg): delete function
1765         (LookupFunc): make it return kb_action, simplify.
1766         (getActionName): simplify
1767
1768         * factory.C (createInset): fix new bug
1769
1770 2003-09-19  Angus Leeming  <leeming@lyx.org>
1771
1772         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1773         masterFilename_ parameter in the include inset.
1774
1775         * factory.C (createInset): changes due to the changes to InsetInclude.
1776
1777 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1778
1779         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1780
1781 2003-09-18  Angus Leeming  <leeming@lyx.org>
1782
1783         * buffer.C:
1784         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1785         Inset::fillWithBibKeys.
1786         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1787
1788 2003-09-18  Angus Leeming  <leeming@lyx.org>
1789
1790         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1791         variables.
1792         (ctor): pass and store a 'Buffer const &'
1793         (buffer): new member function.
1794
1795         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1796         '*this' to the LaTeXFeatures ctor.
1797
1798 2003-09-18  Angus Leeming  <leeming@lyx.org>
1799
1800         * LColor.h:
1801         * lyxfont.C:
1802         * lyxfont.h:
1803         * lyxtext.h:
1804         * text.C: rename EnumLColor as LColor_color.
1805
1806 2003-09-18  Angus Leeming  <leeming@lyx.org>
1807
1808         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1809         remove #include "insets/insetbase.h" from cursor.h.
1810
1811 2003-09-18  Angus Leeming  <leeming@lyx.org>
1812
1813         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1814         InsetOld_code to remove #include "inset.h".
1815
1816         * iterators.C: add #include "insets/inset.h"
1817
1818 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1819
1820         * BufferView.C: remove more locking stuff that apparently doesn't
1821         do anything sensible.
1822
1823 2003-09-16  André Pönitz  <poenitz@gmx.net>
1824
1825         * paragraph.[Ch]:
1826         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1827           performance boost.
1828
1829 2003-09-16  Angus Leeming  <leeming@lyx.org>
1830
1831         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1832
1833         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1834         arg/return type.
1835
1836         * paragraph.h: remove #include "lyxfont.h". Forward declare
1837         LyXFont_size.
1838
1839 2003-09-16  Angus Leeming  <leeming@lyx.org>
1840
1841         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1842         of support/textutils.h.
1843         (isWord): move the contents of support/textutils.h's IsWordChar here.
1844
1845         * buffer.C:
1846         * lyxfind.C:
1847         * rowpainter.C:
1848         * text.C:
1849         * text2.C: add #include "paragraph.h".
1850
1851         * rowpainter.C:
1852         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1853
1854 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1855
1856         * main.C:
1857         * lyx_main.C:
1858         * lyx_cb.C:
1859         * buffer.C:
1860         * LaTeX.C: use namespace alias for lyx::support::os
1861
1862 2003-09-16  Angus Leeming  <leeming@lyx.org>
1863
1864         * bufferparams.C:
1865         * bufferview_funcs.C:
1866         * factory.C:
1867         * lyxfunc.C:
1868         * paragraph_pimpl.C:
1869         * rowpainter.C:
1870         * text.C: add #include "LColor.h".
1871
1872 2003-09-16  Angus Leeming  <leeming@lyx.org>
1873
1874         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1875         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1876         return LyXFont &.
1877         Store the FontBits::color variable as an int rather than as an
1878         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1879         file.
1880
1881         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1882         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1883         string calls together.
1884
1885         * lyxrc.C: add #include "LColor.h".
1886
1887 2003-09-15  Angus Leeming  <leeming@lyx.org>
1888
1889         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1890         a cow_ptr.
1891
1892 2003-09-15  Angus Leeming  <leeming@lyx.org>
1893
1894         * LColor.h: add an EnumLColor wrapper for LColor::color.
1895
1896         * lyxfont.[Ch] (color, setColor, realColor):
1897         * lyxtext.h, text.C (backgroundColor):
1898         pass EnumLColor args to/from the functions, rather than LColor::color
1899         ones.
1900
1901         * lyxfont.h:
1902         * lyxtext.h: forward declare EnumLColor.
1903
1904         * lyx_main.C: add #include "LColor.h".
1905
1906 2003-09-15  Angus Leeming  <leeming@lyx.org>
1907
1908         * .cvsignore: add lyx-gtk.
1909
1910 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1911
1912         * Chktex.C
1913         * LaTeX.C
1914         * LaTeXFeatures.C
1915         * ParagraphParameters.C
1916         * Spacing.C
1917         * buffer.C
1918         * bufferparams.C
1919         * bufferview_funcs.C
1920         * chset.C
1921         * counters.C
1922         * funcrequest.C
1923         * lyxfont.C
1924         * lyxgluelength.C
1925         * lyxlength.C
1926         * paragraph.C
1927         * paragraph_funcs.C
1928         * text3.C
1929         * vc-backend.C: remove usage of STRCONV
1930
1931 2003-09-15  Angus Leeming  <leeming@lyx.org>
1932
1933         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1934         explicitly define the color passed to the painter.
1935
1936 2003-09-15  Angus Leeming  <leeming@lyx.org>
1937
1938         * bufferparams.C (BufferParams): reorder member initializers to avoid
1939         compiler warning.
1940
1941 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1942
1943         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1944         * text.C (updateRowPositions): remove an unusual nop
1945
1946 2003-09-12  André Pönitz  <poenitz@gmx.net>
1947
1948         * BufferView_pimpl.C:
1949         * Bullet.C:
1950         * layout.h:
1951         * lyxfunc.C:
1952         * lyxlayout.[Ch]:
1953         * lyxtextclass.C:
1954         * rowpainter.C:
1955         * text.C:
1956         * text2.C:
1957         * Counters.[Ch]: finish the 'automatic counters' job
1958
1959 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1960
1961         * aspell.C: include <boost/assert.cpp> (compile fix)
1962
1963 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1964
1965         * boost.C (assertion_failed): use lyx::support::abort instead of
1966         assert.
1967
1968 2003-09-10  Angus Leeming  <leeming@lyx.org>
1969
1970         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1971         with their _fwd progeny.
1972
1973 2003-09-09  Angus Leeming  <leeming@lyx.org>
1974
1975         134 files throughtout the source tree: replace 'using namespace abc;'
1976         directives with the appropriate 'using abc::xyz;' declarations.
1977
1978 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1979
1980         * boost.C (emergencyCleanup): moved here from LAssert.c
1981         (assertion_failed): new function, called by BOOST_ASSERT
1982
1983         * several files: change Assert to BOOST_ASSERT
1984
1985 2003-09-09  Angus Leeming  <leeming@lyx.org>
1986
1987         * buffer.[Ch]: Add an Impl class and move Buffer's member
1988         variables into it. As a result move several header files out of
1989         buffer.h.
1990
1991         Add header files to lots of .C files all over the tree as a result.
1992
1993 2003-09-09  Angus Leeming  <leeming@lyx.org>
1994
1995         * buffer.[Ch]: make Buffer's member variables private. Add
1996         accessor functions.
1997
1998         Lots of changes all over the tree as a result.
1999
2000 2003-09-08  Angus Leeming  <leeming@lyx.org>
2001
2002         * graph.C: #include <config.h>.
2003
2004 2003-09-08  Angus Leeming  <leeming@lyx.org>
2005
2006         * BranchList.C:
2007         * BufferView.C:
2008         * BufferView_pimpl.C:
2009         * CutAndPaste.C:
2010         * DepTable.C:
2011         * LaTeX.C:
2012         * LaTeXFeatures.C:
2013         * LyXAction.C:
2014         * MenuBackend.C:
2015         * TextCache.C:
2016         * aspell.C:
2017         * buffer.C:
2018         * bufferlist.C:
2019         * changes.C:
2020         * chset.C:
2021         * converter.C:
2022         * counters.C:
2023         * debug.C:
2024         * graph.C:
2025         * ispell.C:
2026         * lyx_cb.C:
2027         * lyxfind.C:
2028         * lyxfunc.C:
2029         * lyxlex_pimpl.C:
2030         * lyxrc.C:
2031         * lyxrow.C:
2032         * paragraph.C:
2033         * rowpainter.C:
2034         * texrow.C:
2035         * text.C:
2036         * text2.C:
2037         * toc.C: remove redundant using directives.
2038
2039 2003-09-07  Angus Leeming  <leeming@lyx.org>
2040
2041         * LaTeXFeatures.h: remove #include "support/types.h".
2042         * ToolbarBackend.h: remove #include <algorithm>.
2043         * changes.h: remove #include <ctime>.
2044         * debug.h: remove #include <iosfwd>.
2045         * graph.h: remove #include "support/std_string.h".
2046         * lyx_main.h: remove #include <csignal>.
2047         * lyxlex_pimpl.h: remove #include <fstream>.
2048         * sgml.h: remove #include <algorithm>, <utility>.
2049         * toc.h: remove #include "support/std_ostream.h".
2050         Add #include <iosfwd>.
2051
2052 2003-09-07  Angus Leeming  <leeming@lyx.org>
2053
2054         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2055
2056         * converter.h: forward declare LatexRunParams.
2057         * encoding.h: remove #include "lyxrc.h".
2058         * lyxtext.h: remove #include "LColor.h".
2059         * lyxtextclass.h: remove #include "support/types.h".
2060         * trans.h: remove #include "tex-accent.h".
2061         * trans_mgr.h: remove #include "tex-accent.h".
2062         * insets/inset.h: remove #include "support/types.h", <vector>.
2063         * insets/insetcollapsable.h: remove #include "LColor.h".
2064         * insets/insetinclude.h: remove #include "dimension.h".
2065         * insets/insetlatexaccent.h: remove #include "dimension.h".
2066         * insets/insetoptarg.h:: remove #include "insettext.h".
2067         * insets/insettext.h: remove #include "dimension.h",
2068         <boost/shared_ptr.hpp>
2069
2070         * insets/renderers.h: add #include "dimension.h".
2071         * insets/updatableinset.h: add #include "support/types.h".
2072
2073         * many .C files: Associated changes.
2074
2075 2003-09-06  Angus Leeming  <leeming@lyx.org>
2076
2077         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2078         one, inside testInvariant.
2079
2080         * PrinterParams.C: new file.
2081         * PrinterParams.[Ch]: move the function bodies out of line.
2082
2083 2003-09-06  Angus Leeming  <leeming@lyx.org>
2084
2085         * ParagraphParameters.h: forward declare ParameterStruct rather than
2086         including its header file.
2087         (depth): moved out-of-line.
2088
2089 2003-09-06  Angus Leeming  <leeming@lyx.org>
2090
2091         * BufferView_pimpl.h:
2092         * kbmap.h:
2093         * kbsequence.h:
2094         * lyxfunc.h: forward declare LyXKeySym rather than
2095         #include "frontends/LyXKeySym.h".
2096
2097         * BufferView_pimpl.C:
2098         * kbmap.C:
2099         * kbsequence.C:
2100         * lyxfunc.C: associated changes.
2101
2102 2003-09-06  Angus Leeming  <leeming@lyx.org>
2103
2104         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2105         As a result, can remove the #include "insets/inset.h" from BufferView.h
2106
2107 2003-09-06  Angus Leeming  <leeming@lyx.org>
2108
2109         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2110         As a result, can remove the #include "insets/inset.h" from BufferView.h
2111
2112 2003-09-06  Angus Leeming  <leeming@lyx.org>
2113
2114         * buffer_funcs.C:
2115         * buffer.h:
2116         * bufferlist.C:
2117         * BufferView.C:
2118         * bufferview_funcs.C:
2119         * BufferView_pimpl.C:
2120         * CutAndPaste.C:
2121         * lyx_cb.C:
2122         * lyxfunc.C:
2123         * paragraph.h:
2124         * ParagraphParameters.C:
2125         * tabular.C:
2126         * text3.C:
2127         * toc.C:
2128         * undo_funcs.C:
2129         * frontends/controllers/ControlDocument.C:
2130         * insets/insetcaption.C: rearrange the #includes into some sort of
2131         coherent order.
2132
2133         * buffer.h: remove #includes ErrorList.h, undo.h
2134
2135 2003-09-06  Angus Leeming  <leeming@lyx.org>
2136
2137         * support/types.h: add a 'depth_type' typedef, used to store the
2138         nesting depth of a paragraph.
2139
2140         * paragraph.h:
2141         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2142         defining explicitly.
2143
2144         * buffer.h:
2145         * paragraph_funcs.h:
2146         * ParagraphParameters.h:
2147         * sgml.h: use lyx::depth_type rather than Paragraph or
2148         ParameterStruct's depth_type.
2149
2150         * buffer.h
2151         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2152
2153         * BufferView.C:
2154         * BufferView_pimpl.C:
2155         * CutAndPaste.C:
2156         * ParagraphParameters.C:
2157         * buffer_funcs.C:
2158         * bufferlist.C:
2159         * bufferview_funcs.C:
2160         * lyx_cb.C:
2161         * lyxfunc.C:
2162         * tabular.C:
2163         * text3.C:
2164         * toc.C:
2165         * undo_funcs.C:
2166         * frontends/LyXView.C:
2167         * frontends/controllers/ControlDocument.C:
2168         * frontends/controllers/ControlErrorList.C:
2169         * insets/insetbibitem.C:
2170         * insets/insetbranch.C:
2171         * insets/insetcaption.C:
2172         * insets/insetcollapsable.C:
2173         * insets/insetenv.C:
2174         * insets/insetert.C:
2175         * insets/insetfloat.C:
2176         * insets/insetfoot.C:
2177         * insets/insetfootlike.C:
2178         * insets/insetnewline.C:
2179         * insets/insetquotes.C:
2180         * insets/insettabular.C:
2181         * insets/insettext.C:
2182         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2183
2184         * frontends/controllers/ControlChanges.C: #include "changes.h".
2185
2186 2003-09-06  Angus Leeming  <leeming@lyx.org>
2187
2188         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2189         than #including paragraph.h.
2190
2191         * ParagraphList.h:
2192         * RowList.h: deleted. Superfluous.
2193
2194         * CutAndPaste.h:
2195         * iterators.h:
2196         * lyxcursor.h:
2197         * lyxtext.h:
2198         * text_funcs.h:
2199         * undo.h:
2200         * undo_funcs.h:
2201         * insets/inset.h:
2202         * insets/insettext.h: use ParagraphList_fwd.h rather than
2203         ParagraphList.h.
2204
2205         * paragraph.h: don't forward declare ParagraphList.
2206
2207         * buffer.h:
2208         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2209         rather than ParagraphList.h. paragraph.h is still needed for the
2210         Paragraph::depth_type parameters.
2211
2212         * textcursor.h: enable it to compile stand-alone in light of the
2213         above changes.
2214
2215         * bufferview_funcs.C:
2216         * iterators.C:
2217         * lyxfunc.C:
2218         * lyxrow_funcs.C:
2219         * paragraph.C:
2220         * rowpainter.C:
2221         * text.C:
2222         * text2.C:
2223         * text3.C:
2224         * text_funcs.C:
2225         * textcursor.C:
2226         * undo.C:
2227         * frontends/controllers/ControlParagraph.C:
2228         * frontends/controllers/ControlTabular.C:
2229         * insets/insetmarginal.C:
2230         * insets/insetminipage.C:
2231         * insets/insetnote.C:
2232         * insets/insetoptarg.C: add header files needed to compile again.
2233
2234 2003-09-06  Angus Leeming  <leeming@lyx.org>
2235
2236         * RowList_fwd.h: new file, forward-declaring Row rather than
2237         #including lyxrow.h.
2238
2239         * lyxrow_funcs.h:
2240         * lyxtext.h:
2241         * paragraph.h:
2242         * insets/insettext.h: use it instead of RowList.h
2243
2244         * bufferview_funcs.C:
2245         * lyxfunc.C:
2246         * lyxrow_funcs.C:
2247         * paragraph.C:
2248         * rowpainter.C:
2249         * text.C:
2250         * text2.C:
2251         * text3.C: #include "RowList.h".
2252
2253 2003-09-05  Angus Leeming  <leeming@lyx.org>
2254
2255         * factory.C (createInset):
2256         * vspace.C (c-tor): replace sscanf call with an istringstream.
2257         * ispell.C: re-add missing HP/UX headers.
2258         * lyxserver.C: re-add missing  os2 headers.
2259
2260 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2261
2262         * BranchList.C:
2263         * graph.C:
2264         * ispell.C:
2265         * lastfiles.C:
2266         * lyx_cb.C:
2267         * lyxserver.C:
2268         * texrow.C:
2269         * text3.C: re-add missing system headers, needed for 2.95.2.
2270
2271 2003-09-05  Angus Leeming  <leeming@lyx.org>
2272
2273         Changes most place everywhere due to the removal of using directives
2274         from support/std_sstream.h.
2275
2276 2003-09-05  Angus Leeming  <leeming@lyx.org>
2277
2278         Replace LString.h with support/std_string.h,
2279         Lsstream.h with support/std_sstream.h,
2280         support/LIstream.h with support/std_istream.h,
2281         support/LOstream.h with support/std_ostream.h.
2282
2283         Changes resulting throughout the tree.
2284
2285 2003-09-05  Angus Leeming  <leeming@lyx.org>
2286
2287         * sgml.h: ensure that the header file can be compiled stand-alone.
2288         * *.C: strip out redundant #includes. (320 in total.)
2289
2290 2003-09-04  Angus Leeming  <leeming@lyx.org>
2291
2292         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2293         here (from getPackages).
2294
2295         * debug.[Ch]: add a new EXTERNAL tag.
2296
2297 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2298
2299         * text2.C (cursorEnd): simplify
2300         (setCursor): adjust
2301         (getColumnNearX): adjust
2302
2303         * text.C (computeBidiTables): adjust
2304         (fill): adjust
2305
2306         * rowpainter.C (paintChars): adjust
2307         (paintSelection): adjust
2308         (paintChangeBar): adjust
2309         (paintText): adjust
2310
2311         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2312         lastPos instead.
2313         (numberOfSeparators): adjust
2314
2315 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2316
2317         * LyXAction.C:
2318         * box.[Ch]:
2319         * lfuns.h:
2320         * lyxfunc.C:
2321         * text3.C: Restricts the mouse click functionality
2322         of insets like bibtex, include, toc and floatlist to the visible
2323         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2324         up the dialogs. Cursor has to be in front of the inset (i.e.
2325         start of row) for this to function.
2326
2327 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2328
2329         * bufferview_funcs.C (currentState): output row information
2330
2331 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2332
2333         * bufferview_funcs.C (currentState): output paragraph position
2334
2335 2003-09-04  Angus Leeming  <leeming@lyx.org>
2336
2337         * FloatList.h: move out #include "Floating.h".
2338         * LaTeX.h: move out #include "DepTable.h".
2339         * LyXAction.h: move out #include "funcrequest.h".
2340         * buffer.h: move out #include "author.h", "iterators.h".
2341         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2342         * lyx_main.h: move out #include "errorlist.h".
2343         * lyxfunc.h: move out #include "FuncStatus.h".
2344         * lyxtext: move out #include "lyxcursor.h".
2345         * paragraph_pimpl.h: move out #include "counters.h".
2346
2347 2003-09-03  Angus Leeming  <leeming@lyx.org>
2348
2349         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2350         preamble_snippets list, enabling us to add snippets to the preamble
2351         only if the snippet was not there already.
2352
2353 2003-09-04  Angus Leeming  <leeming@lyx.org>
2354
2355         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2356
2357 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2360         update
2361
2362 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2363
2364         * BranchList.C: point fix, earlier forgotten
2365
2366 2003-09-02  Angus Leeming  <leeming@lyx.org>
2367
2368         * box.C (contains): renamed from 'contained' after a fantastic
2369         amount of hot air.
2370
2371 2003-09-02  John Levon  <levon@movementarian.org>
2372
2373         * BufferView.C:
2374         * lyxcursor.h:
2375         * lyxcursor.C:
2376         * lyxfunc.C:
2377         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2378
2379 2003-09-02  John Levon  <levon@movementarian.org>
2380
2381         * text2.C: simplification of cursorEnd(), including partial
2382         fix for bug 1376
2383
2384 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * buffer.C (readFile): add a space
2387
2388 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2391
2392 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * buffer.C (readFile): new function, take a filename and a
2395         ParagraphList::iterator
2396         (readFile): adjust
2397         (readFile): adjust, make it private. don't use setStream, make
2398         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2399         always contain the filename.
2400
2401         * BufferView.C (insertLyXFile): simplify and make it work for
2402         gzipped files.
2403
2404 2003-08-30  John Levon  <levon@movementarian.org>
2405
2406         * Makefile.am: fix dist (from Kayvan)
2407
2408 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * most files: change to use const Buffer refs
2411
2412 2003-08-27  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2415         on top of ownerPar().
2416
2417 2003-08-27  John Levon  <levon@movementarian.org>
2418
2419         * funcrequest.C: properly initialise POD members
2420
2421 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2422
2423         * lyxtext.h (top_y): move top_y from here
2424         * text.C:
2425         * text2.C:
2426         * text3.C:
2427         * BufferView.[Ch]:
2428         * BufferView_pimpl.[Ch]: to here
2429         * frontends/screen.C:
2430         * insets/insettabular.C:
2431         * insets/insettext.C: adjust
2432         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2433
2434 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2435
2436         * BufferView.[Ch]:
2437         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2438
2439 2003-08-26  André Pönitz  <poenitz@gmx.net>
2440
2441         * paragraph_func.[Ch] (outerPar): new function
2442
2443         * paragraph.C:
2444         * paragraph_funcs.C:
2445         * paragraph_funcs.h:
2446         * paragraph_pimpl.C:
2447         * text2.C: remove Inset::par_owner
2448
2449 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2450
2451         * lyxrow_funcs.C:
2452         * lyxtext.h:
2453         * text.C:
2454         * text2.C: eliminates the needFullRow/display() stuff
2455         altogether, putting the logic in metrics/draw in the insets.
2456
2457 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2458
2459         * text2.C (redoParagraphInternal, redoParagraphs):
2460         * text.C (redoParagraph): add a call to updateRowPositions at the
2461         end of each 'metrics-like' call. Remove all others.
2462         (getRow): remove the 'y-computing' version.
2463         (getRowNearY): do not compute nor return the real y. Solve the
2464         'y < 0' problem and simplify.
2465
2466 2003-08-22  Angus Leeming  <leeming@lyx.org>
2467
2468         * *.[Ch]: clean-up of licence and author blurbs.
2469         Also move config.h out of a few .h files and into a few .C files.
2470
2471 2003-08-22  André Pönitz  <poenitz@gmx.net>
2472
2473         * lyxrow.[Ch]: add x_ and *fill_ members
2474
2475         * lyxtext.h:
2476         * text.C:
2477         * rowpainter.C:
2478         * text2.C: adjust/remove prepareToPrint() calls
2479
2480 2003-08-22  André Pönitz  <poenitz@gmx.net>
2481
2482         * lyxrow.[Ch]: add  end_ member
2483
2484         * lyxrow_funcs.C: use LyXRow::end_
2485
2486         * lyxtext.h (singleWidth): add LyXFont parameter
2487
2488         * rowpainter.C:
2489         * text2.C: adjust LyXText::singleWidth() calls
2490
2491         * text.C (redoParagraph): simplify row breaking logic
2492
2493
2494 2003-08-19  André Pönitz  <poenitz@gmx.net>
2495
2496         * funcrequest.C: initialize button_ member
2497
2498         * text3.C:
2499         * rowpainter.[Ch]: interface consolidation
2500
2501 2003-08-18  André Pönitz  <poenitz@gmx.net>
2502
2503         * BufferView.C:
2504         * BufferView_pimpl.C:
2505         * lyxfind.C:
2506         * paragraph_funcs.C:
2507         * rowpainter.C:
2508         * text3.C: remove LyXScreen::draw() and fitCursor calls
2509
2510         * BranchList.h: remove spurious semicolons
2511
2512         * MenuBackend.C: fix branchlist related crash
2513
2514 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * BranchList.[Ch]:
2517         * InsetList.[Ch]:
2518         * LColor.[Ch]:
2519         * LyXAction.C:
2520         * Makefile.am:
2521         * MenuBackend.[Ch]:
2522         * bufferparams.[Ch]:
2523         * factory.C:
2524         * lfuns.h:
2525         * lyxfunc.C:
2526         * text3.C: implements the 'branch inset'
2527         idea. This allows the output of various versions of a document
2528         from a single source version, selectively outputing or suppressing
2529         output of parts of the text.
2530         This implementation contains a 'branch list editor' in a separate
2531         tab of the document settings dialog. Branches are user definable
2532         and have a "display colour" to distinguish them on-screen.
2533
2534         ColorHandler was somewhat cleaned up.
2535         (1) make possible a dynamically growing LColor list by allowing
2536         the graphic context cache to grow along (vector);
2537         (2) eliminate an IMHO unnecessary step in colour allocation.
2538
2539 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2540
2541         * BufferView_pimpl.C: compile fix
2542
2543 2003-08-15  André Pönitz  <poenitz@gmx.net>
2544
2545         * rowpainter.C: remove extra metrics calls
2546
2547         * lyxtext.h: merge the two constructors into a single one,
2548           pass reference to owner's par list
2549
2550         * BufferView_pimpl.C:
2551         * text.C:
2552         * text2.C: adjust
2553
2554 2003-08-15  André Pönitz  <poenitz@gmx.net>
2555
2556         * lyxrow_funcs.[Ch]:
2557         * lyxtext.h:
2558         * paragraph.h:
2559         * paragraph_funcs.C:
2560         * rowpainter.C:
2561         * text.C:
2562         * text2.C:
2563         * text3.C:
2564         * text_funcs.C: split LyXText::rowlist_ into individual
2565         Paragraph::rows_ chunks
2566
2567         * BufferView.[Ch]:
2568         * BufferView_pimpl.[Ch]:
2569         * lyxfind.C:
2570         * lyxtext.h:
2571         * text3.C: remove toggleSelection()
2572
2573 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2574
2575         * bufferlist.C: beautify two alerts (shorter text of buttons)
2576         * buffer.C: Remove redundant ' ' from message
2577         * tabular.h:
2578         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2579         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2580         rename VALIGN_CENTER to VALIGN_MIDDLE
2581
2582 2003-08-11  André Pönitz  <poenitz@gmx.net>
2583
2584         * lyxtext.h (getPar):
2585         * text.C: new function
2586
2587 2003-08-11  André Pönitz  <poenitz@gmx.net>
2588
2589         * Makefile.am:
2590         * tracer.[Ch]: remove unneeded files
2591
2592         * InsetList.[Ch]: remove resizeInsetsLyXText()
2593
2594         * lyxtext.h:
2595         * text.C:
2596         * text2.C:
2597         * text3.C: merge insertParagraphs() and appendParagraph()
2598         remove breakAgain(), update()
2599
2600         * BufferView_pimpl.[Ch]:
2601         * bufferview_funcs.[Ch]:
2602         * lyxfunc.C:
2603         * paragraph.[Ch]:
2604         * rowpainter.C:
2605         * tabular.C: adjust after text & InsetList changes.
2606
2607 2003-08-08  André Pönitz  <poenitz@gmx.net>
2608
2609         * text.C (insertChar, backspace): replace rowlist fiddling
2610         with rebreak of full par
2611
2612         * lyxtext.h:
2613         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2614         checkParagraph, updateInset): removed
2615
2616 2003-08-07  André Pönitz  <poenitz@gmx.net>
2617
2618         * paragraph.C:
2619         * text3.C: merge some LFUN handlers, remove dead code
2620
2621 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2622
2623         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2624
2625 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * text2.C (DEPM): fix part of bug 1255 and 1256
2628
2629 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2630
2631         * BufferView_pimpl.C (workAreaDispatch): change to use
2632         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2633         that are no mouse related.
2634
2635 2003-08-05  André Pönitz  <poenitz@gmx.net>
2636
2637         * BufferView.[Ch]:
2638         * BufferView_pimpl.[Ch]:
2639         * bufferview_funcs.C:
2640         * text2.C:
2641         * text3.C: rip out "deep update"
2642
2643         * textcursor.[Ch] (last_sel_cursor): remove unused member
2644
2645 2003-08-04  André Pönitz  <poenitz@gmx.net>
2646
2647         * BufferView.[Ch]:
2648         * BufferView_pimpl.[Ch]:
2649         * ParagraphParameters.C:
2650         * bufferview_funcs.C:
2651         * lyx_cb.C:
2652         * lyxfind.C:
2653         * lyxfunc.C:
2654         * text.C:
2655         * text2.C:
2656         * text3.C: replace "complicated" BufferView::update(...) calls with
2657         simpler ones.
2658
2659         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2660
2661 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2662
2663         * Makefile.am (lyx_SOURCES): add paper.h
2664
2665 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2666
2667         * Makefile.am: move things around so that both lyx-qt and
2668         lyx-xforms can be built (according to --with-frontend). Then lyx
2669         is a symbolic link to lyx-[firstfrontend]
2670
2671 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2672
2673         * Always use std::endl with lyxerr
2674
2675 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2676
2677         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2678
2679 2003-08-01  André Pönitz  <poenitz@gmx.net>
2680
2681         * BufferView.[Ch]:
2682         * BufferView_pimpl.[Ch]:
2683         * lyxfunc.C:
2684         * text3.C: merge BufferView::repaint() and BufferView::update()
2685
2686 2003-08-01  José Matos  <jamatos@lyx.org>
2687
2688         * buffer.[Ch]: file_format is no longer a buffer data element.
2689
2690 2003-08-01  André Pönitz  <poenitz@gmx.net>
2691
2692         * BufferView.C:
2693         * lyxtext.h:
2694         * text.C:
2695         * text2.C: make redoParagraph more independent of current cursor
2696
2697         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2698         * text.C:
2699         * text2.C: remove unneeded members
2700
2701 2003-07-30  André Pönitz  <poenitz@gmx.net>
2702
2703         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2704
2705         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2706           create a single function...
2707
2708         * paragraph_funcs.C (moveItem): ... here.
2709
2710         * text.C:
2711           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2712
2713 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2714
2715         * LColor.[Ch]: Add comment and greyedout logical colors.
2716
2717 2003-07-30  André Pönitz  <poenitz@gmx.net>
2718
2719         * tabular.C: don't use Assert too heavily. This crashes where it
2720           shouldn't
2721
2722 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2725         is disabled (bug 1232)
2726
2727 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2728
2729         * factory.C: limited 'arg' scope
2730
2731 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2732
2733         * factory.C: fixed Note submenu issues
2734
2735 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2736
2737         * factory.C: submenu for Note/Comment/Greyedout
2738
2739 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * lyx_main.C (LyX):
2742         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2743
2744 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2745
2746         * LaTeXFeatures.C:
2747         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2748         greyedout. Patch provided by Jürgen Spitzmüller.
2749
2750 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         * kbmap.C (read): fix error message when reading bind files
2753
2754 2003-07-29  Angus Leeming  <leeming@lyx.org>
2755
2756         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2757         certainly does not do what it purports to do. I am doing it, and
2758         us, a favour by killing it.
2759
2760 2003-07-28  José Matos  <jamatos@lyx.org>
2761
2762         * buffer.C (readBody, do_writeFile):
2763         * paragraph.C(readParagraph): \end_document replaces \the_end.
2764
2765 2003-07-29  André Pönitz  <poenitz@gmx.net>
2766
2767         * BufferView.[Ch]:
2768         * BufferView_pimpl.[Ch]:
2769         * lyxfunc.C:
2770         * text2.C:
2771         * text3.C:
2772         * textcursor.[Ch]: remove toggleToggle & Co
2773
2774 2003-07-28  José Matos  <jamatos@fep.up.pt>
2775
2776         * buffer.C (readParagraph):
2777         * params_func (readParToken, readParagraph):
2778         * paragraph.C (write): \layout -> \begin_layout.
2779
2780 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2781
2782         * lyxlex_pimpl.C (setFile): clean up slightly.
2783
2784         * bufferparams.h: add compressed var
2785
2786         * buffer_funcs.C (readFile): adjust for LyXLex change
2787         (newFile): ditto + simplify
2788
2789         * buffer.C (writeFile): handle writing of compressed files
2790
2791         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2792         Check if the file is compressed and set a bufferparm if so.
2793
2794         * Makefile.am (lyx_LDADD): remove explicit -lz
2795
2796 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2797
2798         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2799         makeDocBookFile): put the real LyX version in the first line of
2800         the file
2801
2802         * version.h:
2803         * version.C.in: remove lyx_docversion
2804
2805         * tabular.C (write_attribute): add a template-based version to
2806         write enums properly
2807
2808 2003-07-28  André Pönitz  <poenitz@gmx.net>
2809
2810         * lyxtext.h:
2811         * text.C:
2812         * text2.C:
2813         * text3.C: use doubles again for x-coordinates. They are needed.
2814
2815 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * messages.C (getLocaleDir): use lyx_localedir()
2818
2819         * lyxlex_pimpl.C (setFile): compress stuff
2820
2821         * buffer.C (writeFile): add some compression stuff
2822         (do_writeFile): new func, dont call expliti close... will this
2823         breake anything?
2824
2825         * Makefile.am (lyx_LDADD): add -lz
2826
2827 2003-07-28  José Matos  <jamatos@fep.up.pt>
2828
2829         * buffer.C: increment file format.
2830         * paragraph_funcs (readParagraph, readParToken):
2831         * paragraph.C (readParagraph): add \end_layout.
2832
2833 2003-07-27  Angus Leeming  <leeming@lyx.org>
2834
2835         * Makefile.am: remove special casing for configure-time setting of
2836         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2837
2838         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2839         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2840
2841 2003-07-26  André Pönitz  <poenitz@gmx.net>
2842
2843         * paragraph_func.[Ch]:
2844         * paragraph.C (realizeFont): inline it whereever it is used
2845
2846         * rowpainter.C:
2847         * text.C:
2848         * text2.C:
2849         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2850
2851
2852 2003-07-26  André Pönitz  <poenitz@gmx.net>
2853
2854         *       lyxtext.h:
2855         * text.C:
2856         * text2.C: get rid of LyXText::need_break_row
2857
2858 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * toc.[Ch]: put namespace toc inside namespace lyx
2861
2862         * MenuBackend.C (expandToc2): adjust for lyx::toc
2863         (expandToc): ditto
2864
2865         * lyxfunc.C (dispatch): adjust for lyx::find
2866
2867         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2868         lyx::find instead. Reorganize a bit.
2869         (LyXReplace): rename to replace
2870         (LyXFind): rename to find
2871
2872         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2873         (dispatch): ditto
2874
2875 2003-07-26  André Pönitz  <poenitz@gmx.net>
2876
2877         * text.C (setHeightOfRow): restrict scope of temporary variable
2878
2879         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2880           code (never has been used?)
2881
2882 2003-07-27  Asger Alstrup  <alstrup@local>
2883
2884         * text.C (fill): Optimise algorithm to exploit that we can reuse
2885         the LyXFont for many characters.
2886         (setHeightOfRow): Same thing.
2887         (rowBreakPoint): Same thing.
2888
2889 2003-07-26  Asger Alstrup  <alstrup@local>
2890
2891         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2892
2893         * text.C (singleWidth): Spurious font copying in hot-spot
2894         singleWidth avoided. Reorder tests for arabic for efficiency.
2895
2896         * text.C (fill): handle empty paragraphs better.
2897
2898 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2899
2900         * ispell.C:
2901         * encoding.h: add includes
2902
2903         * lyxrc.C: remove reading of bind files
2904
2905         * lyx_main.C (init): setup bindings and menus only if we have a
2906         gui.
2907
2908         * kbmap.C (read): new method. Do the actual reading of bind
2909         files.
2910
2911         * converter.C (dvipdfm_options):
2912         * bufferparams.C:
2913         * lyxrc.C (read):
2914         (output): adapt PAPER_* enums.
2915
2916         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2917
2918         * bufferparams.h: remove paper-related enums from there
2919
2920         * paper.h: New file. A trivial header file to hold paper-related
2921         enums. It should later expand to contain many paper-related
2922         horrors access.
2923
2924         * lyxrc.C: declare extern displayTranslator
2925
2926 2003-07-27  José Matos  <jamatos@fep.up.pt>
2927
2928         * tabular.[Ch] (linuxdoc): add support for tables and figures
2929         (linuxdoc).
2930
2931 2003-07-27  José Matos  <jamatos@fep.up.pt>
2932
2933         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2934         consistency in both functions.
2935         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2936
2937 2003-07-26  Asger Alstrup  <alstrup@local>
2938
2939         * rowpainter.C (paintRows): Change algorithm to work directly on
2940         the insets rather than asking every character in the document
2941         whether its an inset.
2942
2943 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * buffer.C (openFileWrite): factorize some code
2946
2947 2003-07-26  Angus Leeming  <leeming@lyx.org>
2948
2949         * lyx_cb.C:
2950         * lyx_main.[Ch]: replace occurances of system_tempdir with
2951         os::getTmpDir().
2952
2953 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * rename Inset to InsetOld
2956
2957 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2958
2959         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2960         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2961         which I think is a bit clearer. EDIT is gone, since it was
2962         premature optimisation, and broken for mathed anyway.
2963         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2964         with cursor positioning in insets as well (math insets still do not
2965         work, but that's a different story anyway.) It mysteriously
2966         crashes sometimes with undo in the first paragraph, but I'm fairly
2967         confident that this is a compiler bug.
2968
2969 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * paragraph.C (Paragraph): adjust for new clone return type
2972         (operator==): ditto
2973         (copyIntoMinibuffer): ditto
2974
2975 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2976
2977         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2978         by not having a special case, and always doing a full rebreak of
2979         the document after undo.
2980
2981 2003-07-23  Angus Leeming  <leeming@lyx.org>
2982
2983         * factory.C (createInset): InsetExternal::setParams now takes a
2984         Buffer const * arg.
2985
2986 2003-07-23  Angus Leeming  <leeming@lyx.org>
2987
2988         * factory.C (createInset): changed interface to the external and
2989         graphics mailers' string2params functions.
2990
2991 2003-07-23  Angus Leeming  <leeming@lyx.org>
2992
2993         * factory.C (createInset): pass a
2994         Buffer const * parameter to InsetExternalMailer's string2params.
2995
2996 2003-07-22  John Levon  <levon@movementarian.org>
2997
2998         * Thesaurus.h: include the right aiksaurus header
2999
3000 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3001
3002         * MenuBackend.C (expand): check menu shortcuts unconditionally
3003
3004 2003-07-21  Angus Leeming  <leeming@lyx.org>
3005
3006         * factory.C (createInset): pass a
3007         buffer_path parameter to InsetGraphicsMailer's string2params.
3008
3009 2003-07-21  Angus Leeming  <leeming@lyx.org>
3010
3011         * BufferView_pimpl.C (buffer):
3012         * buffer.C (d-tor):
3013         * lyx_main.C (LyX):
3014         * lyxfunc.C (dispatch):
3015         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3016         rather than the grfx shortcut.
3017
3018 2003-07-21  André Pönitz  <poenitz@gmx.net>
3019
3020         * rowpainter.C: remove unused variables
3021
3022         * tabular_funcs.C:
3023         * tabular_funcs.h: move to tabular.C
3024         * Makefile.am: adjust
3025
3026         * tabular.[Ch]: basic optical cleaning
3027
3028         * author.h: pass references, not values
3029
3030 2003-07-18  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxtext.h:
3033         * metricsinfo.C:
3034         * metricsinfo.h:
3035         * rowpainter.C:
3036         * text.C:
3037         * text2.C:
3038         * text3.C: two-phase drawing for InsetText and InsetTabular
3039         some float -> int changes.
3040
3041 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * lyx_main.C: fix the fix
3044
3045 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3046
3047         * lyx_main.C: fix a crash in batch mode if no files specified
3048         * converter.C: ws
3049
3050 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * format.[Ch] (papersize): moved to BufferParams
3053         * converter.[Ch] (dvips_options): moved to BufferParams
3054         (dvipdfm_options): moved to anon namespace
3055         * bufferparams.[Ch]: added above functions.
3056
3057 2003-07-17  André Pönitz  <poenitz@gmx.net>
3058
3059         * lyxtext.h:
3060         * rowpainter.C:
3061         * text2.C: don't call inset->update() anymore
3062
3063         * metricsinfo.[Ch]: add convenience constructor
3064
3065 2003-07-16  André Pönitz  <poenitz@gmx.net>
3066
3067         * lyxcursor.[Ch]:
3068         * lyxfunc.[Ch]:
3069         * text.C:
3070         * text2.C: replace the LyXCursor::irow_ member with
3071          on-demand computation of the value
3072
3073 2003-07-16  John Levon  <levon@movementarian.org>
3074
3075         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3076
3077 2003-07-15  André Pönitz  <poenitz@gmx.net>
3078
3079         * text.C:
3080         * text2.C: remove no more needed refresh_row
3081
3082 2003-07-15  André Pönitz  <poenitz@gmx.net>
3083
3084         * lyxtext.h:
3085         * rowpainter.C:
3086         * text2.C:
3087         * text3.C: refresh_status tristate -> need_update bool
3088
3089 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3090
3091         * lyxtext.h (init): remove reinit argument (act as if always true)
3092         * text2.C: adjust to that
3093
3094 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3095
3096         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3097         * text3.C: use it to delete selections in some cases
3098         (bugs 441, 673, 702, 954).
3099
3100 2003-07-14  André Pönitz  <poenitz@gmx.net>
3101
3102         * rowpainter.[Ch]: reduce interface
3103
3104 2003-07-14  André Pönitz  <poenitz@gmx.net>
3105
3106         * BufferView_pimpl.C:
3107         * text2.C: adjust after removing unused BufferView * argument
3108
3109 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * text2.C (init): fix a crash fired on resize
3112
3113 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * buffer.[Ch]: added new closing signal
3116         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3117         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3118         BufferView::Pimpl via the closing the signal
3119
3120 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3121
3122         * buffer.[Ch]: take out all bv-related from buffer
3123         * BufferView.C:
3124         * BufferView_pimpl.[Ch]: connect to new signals
3125         * CutAndPaste.C: removed useless asserts
3126         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3127         * lyxvc.[Ch]:
3128         * vc-backend.[Ch]:
3129         * lyxfunc.C: moved view-related funciontality from vc here
3130         * paragraph.C: removed outdated comments
3131         * text.C: ws
3132
3133 2003-07-10  André Pönitz  <poenitz@gmx.net>
3134
3135         * BufferView_pimpl.C:
3136         * tabular.h:
3137         * tabular_funcs.C:
3138         * text.C:
3139         * text2.C: remove InsetText::InnerCache, clean up consequences
3140
3141 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3142
3143         * ispell.C: fix two typos in error messages
3144
3145 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3146
3147         * Extend Note inset to other forms of annotation like Comment
3148         and Greyedout. Right button click gives dialog.
3149
3150         Files modified or added (+):
3151
3152         * insetnote.[Ch]
3153         * FormNote.[Ch]      +
3154         * ControlNote.[Ch]   +
3155         * form_note.fd       +
3156         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3157         frontends/controllers
3158         * xforms/Dialogs.C
3159         * factory.C
3160
3161 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3162
3163         * aspell.C: add missing namespace lyx::support
3164
3165 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3166
3167         * BufferView.[Ch] (newFile): Add
3168         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3169         * LaTeX.[Ch] (message): added this signal and use it
3170         * buffer.[Ch] (busy, message): added these signals and use them
3171         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3172         * converter.C:
3173         * exporter.C:
3174         * format.C:
3175         * importer.C: use buffer signals instead of direct bv calling
3176         * lyx_cb.[Ch] (ShowMessage): removed
3177         * lyx_main.C:
3178         * lyxfunc.C:
3179         * paragraph_funcs.C:
3180         * text2.C: use buffer signals
3181
3182 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * introduce namespace lyx::graphics
3185
3186 2003-07-02  André Pönitz  <poenitz@gmx.net>
3187
3188         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3189
3190 2003-07-01  André Pönitz  <poenitz@gmx.net>
3191
3192         * text.C:
3193         * text2.C:
3194         * text3.C:
3195         * text_funcs.[Ch]:
3196         * textcursor.h:
3197         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3198           text*.C to text_func.C
3199
3200 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * introduce namespace lyx::support
3203
3204 2003-06-30  André Pönitz  <poenitz@gmx.net>
3205
3206         * Chktex.C:
3207         * funcrequest.C:
3208         * lyxtext.h:
3209         * text.C: re-enable --with-included-string
3210
3211 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * textcursor.C: add <config.h>
3214
3215         * text.C (getWord): remove const from word_location arg
3216
3217         * lyxvc.C (getLogFile): fix const type order
3218
3219         * lyxtext.h: remove const from word_location arg, add arg name
3220
3221         * lyxlayout.h: currect type on labeltype.
3222
3223         * importer.C: correct \file
3224
3225         * converter.C (intToFormat): use std:: on ret val, ws changes
3226
3227         * bufferlist.h: correct \file
3228
3229         * buffer.C (makeLinuxDocFile): fix const type order
3230         (makeDocBookFile): ditto
3231         (fillWithBibKeys): use std:: on stdlib args.
3232
3233         * CutAndPaste.C: fix authors.
3234         (availableSelections): use std:: on return vector
3235
3236 2003-06-27  André Pönitz  <poenitz@gmx.net>
3237
3238         * BufferView_pimpl.C:
3239         * bufferview_funcs.C:
3240         * lyxcursor.C:
3241         * lyxcursor.h:
3242         * lyxfunc.C:
3243         * lyxtext.h:
3244         * rowpainter.C:
3245         * text.C:
3246         * text2.C:
3247         * text3.C: remove LyXCursor::row_ member
3248
3249         * lyxtext.h:
3250         * text.C: rename fullRebreak() to partialRebreak() and implement
3251           a fullRebreak() that really bereks fully
3252
3253         * textcursor.h: new struct for cursor-related data
3254
3255 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3256
3257         * lyx_main.C (LyX): get full path of document loaded on the
3258         command line
3259
3260 2003-06-26  André Pönitz  <poenitz@gmx.net>
3261
3262         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3263           remove unused/broken operator>,<,>=.
3264
3265         *       text.C: remove only use of broken operator<= in an Assert().
3266
3267 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3268
3269         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3270         moved errorlist_.clear to showErrorList
3271
3272 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3273
3274         * converter.C (scanLog, runLaTeX):
3275         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3276         move the bv->showErrorList call to the callers
3277         * lyxfunc.C: i.e. here...
3278         * text2.C: and here
3279         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3280         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3281         namespace, the second to...
3282         * buffer_funcs (BufferFormat, parseErrors): added
3283         * errorlist.C (ErrorList(TeXErrors const &)): removed
3284
3285 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3286
3287         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3288
3289 2003-06-24  "Garst R. Reese" <reese@isn.net>
3290
3291         * debug.C: fix typo
3292
3293 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3296
3297         * version.C.in: change docversion to 1.4
3298
3299 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3300
3301         * buffer.C: fix a bug just introduced
3302
3303 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * buffer.[Ch]: added the parseError signal and use it, removed
3306         sgmlError
3307         * BufferView.[Ch] (addError): moved to ...
3308         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3309         to the Buffer::parseError signal to catch (guess what) parse errors
3310         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3311
3312 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3313
3314         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3315         ability to create a buffer and to return an existing one from
3316         the list. Moved these functions to...
3317         * buffer_funcs.[Ch]: added
3318         * BufferView.[Ch] (loadLyXFile): added
3319         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3320         job removed from bufferlist::loadLyXFile.
3321         * buffer.C (setReadOnly): make it work without view
3322         (i.e added an if (users))
3323
3324 2003-06-19  Angus Leeming  <leeming@lyx.org>
3325
3326         * lfuns.h:
3327         * LyXAction.C (init):
3328         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3329         with LFUN_DIALOG_SHOW <name> <data>.
3330
3331 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3332
3333         * CutAndPaste.C (availableSelections): small compilation fix for
3334         ancient (gcc 2.9x) compilers
3335
3336 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3337
3338         * text3.C (cursorNext): add tmp var
3339
3340         * text2.C (updateCounters): for function calling out of for clause
3341         (replaceSelectionWithString): ditto
3342         (insertStringAsParagraphs): ditto
3343         (getColumnNearX): add tmp var
3344         (setCursorFromCoordinates): add tmp var
3345         (cursorDownParagraph): add tmp var
3346         (deleteEmptyParagraphMechanism): add tmp var
3347
3348         * text.C (insertChar): add tmp var
3349
3350         * rowpainter.C (paintDepthBar): add tmp var
3351
3352         * CutAndPaste.C (availableSelections): potentially check all
3353         paragraphs in a cut to fill the shown strings.
3354
3355 2003-06-18  André Pönitz  <poenitz@gmx.net>
3356
3357         * kbmap.[Ch]: use vector<> instead of list<>
3358
3359 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3360
3361         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3362         pasteSelection with index
3363
3364         * text2.C (pasteSelection): modify, call pasteSelection with index
3365
3366         * paragraph.C (asString): reimplement version with no interval to
3367         call the one with interval.
3368
3369         * lyxtext.h: add index arg to pasteSelection
3370
3371         * MenuBackend.C (MenuItem): handle PasteRecent
3372         (Menu::read::Menutags): add md_pasterecent
3373         (read): handle it
3374         (expandPasteRecent): new function
3375         (expand): use it
3376
3377         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3378
3379         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3380         the limited stack
3381         (availableSelections): new function
3382
3383 2003-06-17  Angus Leeming  <leeming@lyx.org>
3384
3385         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3386
3387 2003-06-17  Angus Leeming  <leeming@lyx.org>
3388
3389         * lfuns.h:
3390         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3391
3392         * lyxfunc.C (dispatch): invoke it.
3393
3394 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3395
3396         * iterators.C (operator++, ParPosition): reintroduce some
3397         const_cast for the benefit of older compilers.
3398
3399 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3400
3401         * text3.C (dispatch): do not modify clipboard when doing
3402         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3403         LFUN_DELETE_SKIP on a selection selection
3404
3405 2003-06-16  André Pönitz  <poenitz@gmx.net>
3406
3407         * BufferView.C:
3408         * buffer.C:
3409         * buffer.h:
3410         * paragraph.C:
3411         * tabular.[Ch]: IU of clone() and getLabelList();
3412
3413 2003-06-13  André Pönitz  <poenitz@gmx.net>
3414
3415         * tabular.h: compactification
3416
3417 2003-06-12  André Pönitz  <poenitz@gmx.net>
3418
3419         * tabular.C:
3420         * tabular.h:
3421         * tabular_funcs.h: some renaming plus whitespace
3422
3423 2003-06-12  André Pönitz  <poenitz@gmx.net>
3424
3425         * BufferView.C:
3426         * BufferView_pimpl.C:
3427         * CutAndPaste.C:
3428         * buffer.C:
3429         * iterators.[Ch]:
3430         * lyxfunc.C:
3431         * text.C:
3432         * toc.C: Return a Paragraph & for ParIterator::operator*()
3433
3434 2003-06-11  John Levon  <levon@movementarian.org>
3435
3436         * lyx_main.C:
3437         * ToolbarBackend.h:
3438         * ToolbarBackend.C: add "Toolbars" section and
3439         put the flags there
3440
3441 2003-06-10  Angus Leeming  <leeming@lyx.org>
3442
3443         * lfuns.h:
3444         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3445
3446         * lyxfunc.C (dispatch): invoke it.
3447
3448 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * main.C: protect <ios> with HAVE_IOS
3451         (main): protect sync_with_stdio with HAVE_IOS
3452
3453 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3454
3455         * text2.C (cutSelection): adjust
3456         (pasteSelection): adjust
3457
3458         * messages.C: handle get of empty string
3459
3460         * main.C (main): use sync_with_stdio(false)
3461
3462         * lyxfunc.C (dispatch): adjust
3463
3464         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3465         (WriteAs): remove unneeded BufferView arg.
3466
3467         * bufferparams.h: use correct types on papersize, papersize2 and
3468         paperpackage.
3469
3470         * bufferparams.C (readToken): adjust for type
3471         (writeLaTeX): add missing cases to switch.
3472
3473         * bufferlist.C (quitWriteBuffer): adjust
3474         (close): adjust
3475
3476         * buffer.C (asciiParagraph): remove some commented code.
3477
3478         * CutAndPaste.C: remove current_view extern variable.
3479         (cutSelection): add BufferParams arg.
3480         (eraseSelection): add BufferParams arg.
3481         (pasteSelection): add Buffer const & arg
3482
3483 2003-06-07  John Levon  <levon@movementarian.org>
3484
3485         * buffer.C:
3486         * paragraph_funcs.C:
3487         * paragraph_pimpl.C:
3488         * text.C:
3489         * text2.C:
3490         * paragraph.h:
3491         * paragraph.C: allow InsetERT to freely space lines,
3492         and some consolidation of code
3493
3494 2003-06-06  José Matos  <jamatos@fep.up.pt>
3495
3496         * buffer.C (makeDocBookFile): fix bug #821
3497
3498 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3501
3502 2003-06-04  Angus Leeming  <leeming@lyx.org>
3503
3504         * buffer.C: bump format to 224.
3505
3506 2003-06-05  André Pönitz  <poenitz@gmx.net>
3507
3508         * text2.C (redoParagraphs): remove two const_cast<>
3509
3510 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3511
3512         * ParagraphList.h: remove last remnants of NO_STD_LIST
3513
3514 2003-06-03  Angus Leeming  <leeming@lyx.org>
3515
3516         * factory.C (createInset): small change to the way InsetExternal's params
3517         are set.
3518
3519 2003-06-04  André Pönitz  <poenitz@gmx.net>
3520
3521         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3522
3523         * paragraph_pimpl.h:
3524         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3525
3526         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3527
3528         * undo_funcs.C: make some simple cases of undo work again
3529
3530 2003-06-03  John Levon  <levon@movementarian.org>
3531
3532         * ispell.C: HPUX doesn't have sys/select.h
3533         (from Albert Chin)
3534
3535 2003-06-03  John Levon  <levon@movementarian.org>
3536
3537         * CutAndPaste.C: update tabular and include inset
3538         buffer references
3539
3540         * buffer.h:
3541         * paragraph.h:
3542         * paragraph.C: remove owningBuffer(), don't pass Buffer
3543         to clone()
3544
3545         * factory.C: insetGraphicsParams changed
3546
3547 2003-06-02  John Levon  <levon@movementarian.org>
3548
3549         * LyXAction.C:
3550         * factory.C:
3551         * lfuns.h:
3552         * lyxfunc.C:
3553         * text3.C: remove insetparent
3554
3555 2003-06-02  John Levon  <levon@movementarian.org>
3556
3557         * buffer.h:
3558         * buffer.C: fix inset_iterator.end(), move out of line
3559         (bug 1149)
3560
3561 2003-06-01  John Levon  <levon@movementarian.org>
3562
3563         * text3.C: use a proper cut/paste when doing inset
3564         insert (from Jürgen Spitzmüller)
3565
3566 2003-06-01  John Levon  <levon@movementarian.org>
3567
3568         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3569
3570 2003-05-30  André Pönitz  <poenitz@gmx.net>
3571
3572         * rowpainter.C: unify second drawing phase
3573
3574 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * trans_mgr.C: remove one case of current_view
3577
3578         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3579
3580         * paragraph_funcs.h: remove paragraph.h include
3581
3582         * paragraph.h: delete NO_STD_LIST stuff
3583
3584         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3585
3586         * buffer.h: remove paragraph.h include
3587
3588         * ParagraphList.C: delete file
3589
3590         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3591
3592         * toc.C (getTocList): adjust
3593
3594         * paragraph_pimpl.C (validate): adjust
3595
3596         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3597
3598         * paragraph.C (Paragraph): adjust
3599         (getPositionOfInset): use const_iterator, adjust
3600         (bibitem): use const_iterator, adjust
3601         (setInsetOwner): adjust
3602
3603         * iterators.C (operator++): adjust
3604
3605         * InsetList.[Ch]: Replace selfmade iterator with standard
3606         vector::iterator also introduce const_iterator. Remove getPos,
3607         getInset and setInset from InsetTable. Adjust accordingly.
3608
3609         * BufferView.C (lockInset): adjust
3610         (ChangeInsets): adjust
3611
3612         * tabular.[Ch]: delete commented same_id functions
3613
3614 2003-05-28  John Levon  <levon@movementarian.org>
3615
3616         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3617
3618 2003-05-28  André Pönitz  <poenitz@gmx.net>
3619
3620         * metricsinfo.[Ch]: remove 'fullredraw' member
3621
3622 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3623
3624         * lyxtextclass.C (operator): remove caching.
3625
3626 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * text3.C: adjust
3629
3630         * text2.C (cursorBottom): adjust
3631         (setCounter): use ParagraphList::find, adjust
3632
3633         * text.C (workWidth): use ParagraphList::find, adjust
3634
3635         * lyxcursor.C (LyXCursor): adjust
3636
3637         * buffer.C (inset_iterator): adjust
3638
3639         * ParagraphList.h: make iterator(value_type) private, make
3640         ParagraphList a friend of iterator.
3641
3642         * ParagraphList.C (find): new function
3643
3644         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3645
3646 2003-05-27  André Pönitz  <poenitz@gmx.net>
3647
3648         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3649
3650 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3651
3652         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3653
3654 2003-05-26  John Levon  <levon@movementarian.org>
3655
3656         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3657
3658 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * remove same_id from function signatures, adjust.
3661
3662 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3665
3666         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3667
3668         * paragraph.C (Paragraph): get rid of same_ids parameter
3669
3670         * ParagraphList.C (insert): adjust
3671         (push_back): adjust
3672
3673 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * paragraph_funcs.C (breakParagraph): adjust
3676         (breakParagraphConservative): adjust
3677
3678         * buffer.C (readParagraph): adjust
3679
3680         * ParagraphList.C (insert): take a reference instead of a pointer
3681         (insert): adjust
3682
3683         * paragraph.[Ch] (id): new function
3684
3685         * bufferlist.C (newFile): adjust
3686
3687         * ParagraphList.C (ParagraphList): adjust
3688         (assign): adjust
3689         (push_back): take a reference instead of a pointer.
3690
3691         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3692
3693         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3694         instead.
3695
3696         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3697         set else use old code.
3698
3699         * ParagraphList.C: remove all NO_NEXT code and only compile this
3700         code of NO_STD_LIST is set.
3701
3702 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * BufferView_pimpl.C:
3705         * TextCache.C:
3706         * TextCache.h:
3707         * bufferlist.C:
3708         * errorlist.h:
3709         * format.C:
3710         * format.h:
3711         * graph.C:
3712         * lyxfunc.C:
3713         * lyxrc.C:
3714         * graphics/GraphicsConverter.C:
3715         * graphics/PreviewLoader.C: header adjustment
3716
3717 2003-05-23  Angus Leeming  <leeming@lyx.org>
3718
3719         * LaTeXFeatures.[Ch] (useBabel): new method.
3720         * bufferparams.C (writeLaTeX): use it.
3721
3722 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * ParagraphList.h (set): remove unused function.
3725
3726 2003-05-23  André Pönitz  <poenitz@gmx.net>
3727
3728         * BufferView.C:
3729         * BufferView_pimpl.C:
3730         * buffer.C:
3731         * buffer.h:
3732         * lyxfunc.C:
3733         * undo_funcs.C: setUndo reworked
3734
3735         * iterators.[Ch]: add access to topmost ParagraphList
3736
3737         * lyxtext.[Ch] (workWidth): add a const
3738
3739 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3740
3741         * texrow.[Ch] (increasePos): remove function
3742         * exporter.C (export): removed unused var and outdated comment
3743
3744 2003-05-23  Angus Leeming  <leeming@lyx.org>
3745
3746         * latexrunparams.h: rename fragile as moving_arg.
3747         * paragraph.C (simpleTeXOnePar): ditto.
3748         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3749
3750 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3753         (createUndo): ditto
3754         (textUndoOrRedo): comment out a currently unused var.
3755
3756         * paragraph.h (NO_NEXT): enable NO_NEXT
3757
3758         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3759
3760         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3761
3762         * exporter.C (Export): adjust for removeAutoInsets removal.
3763
3764         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3765
3766         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3767
3768         * BufferView.[Ch] (removeAutoInsets): delete function
3769
3770 2003-05-22  Angus Leeming  <leeming@lyx.org>
3771
3772         * latexrunparams.h: add a free_spacing variable.
3773
3774         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3775         to pass moving_arg, as the data is stored in runparams.fragile.
3776
3777         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3778         to Inset::latexOptional or to simpleTeXOnePar.
3779
3780         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3781         free_spacing arg to Inset::latexOptional.
3782
3783         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3784         free_spacing arg.
3785
3786 2003-05-22  Angus Leeming  <leeming@lyx.org>
3787
3788         * latexrunparams.h: add fragile and use_babel variables.
3789
3790         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3791         * buffer.C (makeLaTeXFile): store this returned value in
3792         runparams.use_babel, thus passing it to the inset::latex methods.
3793
3794         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3795         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3796
3797         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3798         longer has a fragile arg, as it is stored in runparams.fragile.
3799
3800         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3801         moving_arg parameter as the data is stored in runparams.fragile.
3802
3803         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3804         a fragile parameter as the data is stored in runparams.fragile.
3805
3806 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3807
3808         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3809
3810 2003-05-22  Angus Leeming  <leeming@lyx.org>
3811
3812         * latexrunparams.h: add a 'bool nice' which defaults to false.
3813
3814         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3815         now encapsulated within runparams.
3816
3817         * bufferlist.C (updateIncludedTeXfiles):
3818         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3819
3820 2003-05-22  Angus Leeming  <leeming@lyx.org>
3821
3822         * latexrunparams.h: new file containing struct LatexRunParams.
3823         * Makefile.am: add new file.
3824
3825         * LaTeX.[Ch] (c-tor, run):
3826         * buffer.[Ch] (makeLaTeXFile):
3827         * bufferlist.[Ch] (updateIncludedTeXfiles):
3828         * converter.C (convert, scanLog):
3829         * converter.[Ch] (runLaTeX):
3830         * exporter.C (Export):
3831         * paragraph.[Ch] (simpleTeXOnePar):
3832         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3833         * paragraph_funcs.[Ch] (latexParagraphs):
3834         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3835         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3836         pass around a LatexRunParams parameter.
3837
3838 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * paragraph.[Ch]: remove unused constructor
3841
3842         * ParagraphList.C (erase): new function, taking two iterators
3843
3844 2003-05-22  André Pönitz  <poenitz@gmx.net>
3845
3846         * undo_funcs.C: remove duplicated code
3847
3848         * iterator.[Ch]: operator=
3849
3850 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * tabular.C (SetMultiColumn): ws changes
3853
3854         * rowpainter.C (paintFirst): get rid of a ->previous
3855
3856         * lyx_cb.C (getPossibleLabel): parlist simplification
3857
3858         * BufferView.C (ChangeInsets): simplify slightly.
3859
3860 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3861
3862         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3863         * lfuns.h: new LFUN_SPACE
3864         * lyxfunc.C: protected space has a new lfun
3865         * paragraph_funcs.C: read new space insets
3866         * text3.C:
3867         * factory.C: handle new space insets
3868
3869 2003-05-22  André Pönitz  <poenitz@gmx.net>
3870
3871         * BufferView.C:
3872         * BufferView_pimpl.C:
3873         * buffer.[Ch]:
3874         * lyxfunc.C:
3875         * undo_funcs.C: return a ParIterator from getParFromID.
3876
3877         * iterators.[Ch]: add two const's
3878
3879 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * toc.C (getTocList): adjust
3882
3883         * iterators.[Ch]: rework for parlist
3884
3885         * buffer.C (par_iterator_begin): adjust
3886         (par_iterator_end): adjust
3887
3888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3889
3890         * BufferView.C (removeAutoInsets): adjust
3891         (ChangeInsets): adjust
3892
3893 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * text.C (top_y): fix bug 1110
3896
3897 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * errorlist.[Ch]: added
3900         * buffer.C:
3901         * BufferView.[Ch]:
3902         * BufferView_pimpl.C:
3903         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3904         instead
3905
3906 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * Makefile.am: ensure that lyx is relinked upon changes to the
3909         various "convenience" libs.
3910
3911 2003-05-20  Angus Leeming  <leeming@lyx.org>
3912
3913         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3914         files are compiled in alphabetical order again.
3915
3916         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3917
3918 2003-05-19  Angus Leeming  <leeming@lyx.org>
3919
3920         * gettext.[Ch]: remove "char const * _(char const *)".
3921
3922 2003-05-19  André Pönitz  <poenitz@gmx.net>
3923
3924         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3925
3926         * Makefile.am:
3927         * BufferView.C:
3928         * DepTable.h:
3929         * LaTeXFeatures.C:
3930         * buffer.C:
3931         * lyxfont.C:
3932         * lyxlex.h:
3933         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3934
3935 2003-05-19  André Pönitz  <poenitz@gmx.net>
3936
3937         * buffer.C:
3938         * lyxlayout.[Ch]:
3939         * lyxtextclass.[Ch]:
3940         * paragraph.C:
3941         * paragraph_funcs.[Ch]:
3942         * text2.C:
3943         * text3.C: more insetenv work
3944
3945 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * ParagraphParameters.C (params2string): small bug fixed
3948
3949 2003-05-16  André Pönitz  <poenitz@gmx.net>
3950
3951         * debug.C:
3952         * bufferview_funcs.C: patch from Kornel Benko to prevent
3953           crash when _(...) is called twice in a statement
3954
3955 2003-05-16  André Pönitz  <poenitz@gmx.net>
3956
3957         * BufferView.C:
3958         * lyxfunc.C:
3959         * text.C:
3960         * text2.C:
3961         * text3.C:
3962         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3963
3964 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3965
3966         * lyx_main.C (init): remove spurious static_cast
3967
3968 2003-05-14  André Pönitz  <poenitz@gmx.net>
3969
3970         * BufferView.C: fix format string
3971
3972 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3973
3974         * BufferView.[Ch] (insertErrors): removed
3975         * BufferView.[Ch] (showErrorList): added
3976         * buffer.C (runChkTeX):
3977         * converter.C (scanLog): call showErrorList instead of inserterrors
3978
3979 2003-05-13  André Pönitz  <poenitz@gmx.net>
3980
3981         * BufferView_pimpl.C:
3982         * buffer.C:
3983         * bufferview_func.C:
3984         * MenuBackend.C:
3985         * lyxfunc.C:
3986         * lyxrc.C:
3987         * tex-accent.C:
3988         * text3.C:
3989         * toc.C:
3990         * tabular_funcs.h: tostr() from its own header
3991
3992         * ParagraphParameters.C:
3993         * ToolbarBackend.C:
3994         * bufferparams.C:
3995         * format.C:
3996         * lyxlex_pimpl.C:
3997         * text3.C: STRCONV()
3998
3999 2003-05-12  André Pönitz  <poenitz@gmx.net>
4000
4001         * BufferView.C:
4002         * BufferView_pimpl.C:
4003         * CutAndPaste.C:
4004         * LaTeX.C:
4005         * LaTeXFeatures.C:
4006         * ParagraphParameters.C:
4007         * buffer.C:
4008         * bufferlist.C:
4009         * bufferparams.C:
4010         * bufferview_funcs.C:
4011         * converter.C:
4012         * counters.C:
4013         * debug.C:
4014         * exporter.C:
4015         * format.C:
4016         * importer.C:
4017         * lyx_cb.C:
4018         * lyx_main.C:
4019         * lyxfont.C:
4020         * lyxfunc.C:
4021         * lyxvc.C:
4022         * paragraph.C:
4023         * paragraph_funcs.C:
4024         * tabular.C:
4025         * tabular_funcs.C:
4026         * text2.C:
4027         * text3.C:  boost::format -> bformat  all over the place
4028
4029
4030 2003-05-09  André Pönitz  <poenitz@gmx.net>
4031
4032         * LColor.[Ch]: Pimpl the #include <map> away
4033
4034 2003-05-09  John Levon  <levon@movementarian.org>
4035
4036         * bufferlist.C: never remove emergency saves
4037
4038 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * Makefile.am: better lib building
4041
4042 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4045         instead.
4046         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4047         (simpleTeXSpecialChars): adjust
4048         (simpleTeXSpecialChars): adjust
4049         * paragraph.C (simpleTeXOnePar): adjust
4050         * buffer.C (makeLaTeXFile): adjust
4051
4052         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4053
4054         * text2.C (changeDepth): parlist cleanup
4055         (getColumnNearX): ditto
4056
4057         * rowpainter.C (getLabelFont): parlist cleanup
4058
4059         * bufferlist.C (newFile): parlist cleanup
4060
4061         * CutAndPaste.C (eraseSelection): parlist cleanup
4062
4063         * BufferView_pimpl.C (trackChanges): parlist cleanup
4064         (dispatch): ditto
4065
4066         * BufferView.C (lockInset): parlist cleanup.
4067         (ChangeInsets): ditto
4068
4069 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * CutAndPaste.h: Update file header.
4072
4073         * CutAndPaste.C: Update file header.
4074         Store the parts cut out of the Document in a limited_stack.
4075         (copySelection): adjust
4076         (pasteSelection): new function, takes the index in the limited stack.
4077         (nrOfParagraphs): adjust
4078         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4079         simplify error inset insertion.
4080         (checkPastePossible): adjust
4081
4082 2003-05-06  John Levon  <levon@movementarian.org>
4083
4084         * text2.C: don't cast wrap inset to float
4085
4086 2003-05-05  André Pönitz  <poenitz@gmx.net>
4087
4088         * iterator.C:
4089         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4090
4091         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4092           few naked Paragraph *.
4093
4094 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4095
4096         * bufferparams.C: Output warning if a document with missing
4097         TeX document class is loaded
4098         * exporter.C: Disable TeX exports if the document class is missing
4099         * lyxtextclass.C:
4100         * lyxtextclass.h:
4101         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4102         isTeXClassAvailable()
4103
4104 2003-05-03  John Levon  <levon@movementarian.org>
4105
4106         * BufferView.h:
4107         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4108         explicit cursor show/hide
4109
4110         * BufferView_pimpl.h:
4111         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4112         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4113
4114         * lyxfunc.C: hide cursor before dispatching.
4115
4116         * lyx_cb.C:
4117         * lyxfind.C:
4118         * text.C:
4119         * text3.C: remove explicit cursor hides
4120
4121 2003-05-02  André Pönitz  <poenitz@gmx.net>
4122
4123         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4124
4125         * undo_funcs.C:
4126         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4127           linked lists
4128
4129         * text2.C: tiny whitespace
4130
4131 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * undo_funcs.C: almost only ws changes.
4134
4135         * ParagraphList.C (splice): just return if pl is empty.
4136
4137 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4138
4139         * ParagraphList.C (splice): new function.
4140
4141         * CutAndPaste.C (pasteSelection): use it
4142
4143 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * CutAndPaste.C (pasteSelection): remove the last next and
4146         previous from this file.
4147
4148 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * CutAndPaste.C (pasteSelection): more clean up, user proper
4151         ParagraphList functions for pasteing.
4152
4153         * ParagraphList.C (insert): new function, three arg insert
4154
4155 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * ParagraphList.C (insert): new function, three arg insert
4158
4159         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4160         not on paragraphs.
4161
4162 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4165
4166 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4169
4170 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4173         (copySelection): clean up a bit.
4174         (pasteSelection): use make_pair
4175
4176         * ParagraphList.C (ParagraphList): implement copy constructor
4177         (operator=): implement, base on copy constructor.
4178         (assign): new func
4179
4180         * paragraph.C (erase): return a bool
4181
4182         * paragraph_pimpl.C (erasePos): remove function, move contents...
4183         (erase): ... here. Return a bool.
4184         (erase): call erase instead of erasePos.
4185
4186 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * ParagraphList.h: define PitPosPair
4189         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4190         ParagraphList, fix a bug on pasting multiple pars
4191         * text2.C: change interface to C&P
4192
4193 2003-04-30  André Pönitz  <poenitz@gmx.net>
4194
4195         * undo_func.C: revert part of yesterday's patch 2
4196
4197 2003-04-30  John Levon  <levon@movementarian.org>
4198
4199         * LColor.C: s/tabular/table/
4200
4201 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * text3.C (dispatch): do not convert iterator -> pointer
4204         * undo_funcs.C (setCursorParUndo): ditto
4205         * text_funcs.C (transposeChars): ditto
4206
4207         * text2.C (setLayout): ws changes only
4208
4209         * text.C (breakParagraph): do not convert iterator -> pointer
4210         (insertChar): ditto
4211         (acceptChange): ditto
4212         (rejectChange): ditto
4213         (changeCase): ditto
4214         (Delete): ditto
4215         (backspace): ditto
4216
4217         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4218         pointer
4219
4220 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * text3.C (gotoInset): YABG (yet another bad getChar)
4223
4224 2003-04-29  André Pönitz  <poenitz@gmx.net>
4225
4226         * paragraph.h: make operator= private unimplemented as long as
4227           it is unusable
4228
4229         * ParagraphList.C: whitespace
4230
4231         * paragraph.[Ch]:
4232         * paragraph_pimpl.[Ch]:
4233         * paragraph_funcs.C:
4234         * CutAndPaste.C:
4235         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4236
4237         * text2.C:
4238           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4239
4240 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4243         * paragraph.[Ch] (erase):
4244         * paragraph_pimpl.[Ch] (erase): change return type and value
4245         * text2.C (cutSelection): some rework
4246
4247 2003-04-28  John Levon  <levon@movementarian.org>
4248
4249         * bufferlist.C: changes for unsaved changes dialog
4250
4251 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * bufferlist.C (newFile): set language (messages_) for new
4254         documents also.
4255
4256         * buffer.C (readFile): ws changes only.
4257
4258 2003-04-28  André Pönitz  <poenitz@gmx.net>
4259
4260         * undo_funcs.C:
4261         * lyxfunc.C:
4262         * buffer.[Ch]:
4263         * BufferView_pimpl.C:
4264         * BufferView.C: getParFromID related ParagraphList::iterator changes
4265
4266 2003-04-28  André Pönitz  <poenitz@gmx.net>
4267
4268         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4269           Changes
4270
4271 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4272
4273         * messages.C: remove one more localedir class variable.
4274
4275 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * messages.C (getLocaleDir): singleton generation function
4278         (Pimpl): use it.
4279         (Messages): add a default constructor.
4280
4281         * main.C (main): do not setup localedir here, do not call
4282         gettext_init.
4283
4284         * gettext.C (_): use it.
4285         (gettext_init): delete funciton
4286
4287 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * gettext.C (getLyXMessages): new singleton generating function.
4290
4291         * buffer.C (updateDocLang): adjust
4292
4293         * Makefile.am (messages.o): add target
4294         (main.o): remove target
4295
4296 2003-04-27  John Levon  <levon@movementarian.org>
4297
4298         * bufferlist.C:
4299         * lyx_cb.C:
4300         * lyxfunc.C:
4301         * lyxvc.C: specify cancel button in Alert::prompt
4302
4303 2003-04-26  John Levon  <levon@movementarian.org>
4304
4305         * text3.C:
4306         * lyxfunc.C:
4307         * lfuns.h:
4308         * LyXAction.C: add LFUN_INSET_SETTINGS
4309
4310         * lyxfunc.C: don't enable tabular-feature when there's
4311         just any locking inset
4312
4313 2003-04-26  John Levon  <levon@movementarian.org>
4314
4315         * bufferlist.C: re-add Cancel to buffer close question
4316
4317         * lyxfunc.C: fix import UI a bit
4318
4319 2003-04-25  John Levon  <levon@movementarian.org>
4320
4321         * gettext.C: remove the broken asserts for now
4322
4323 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * messages.C: make case where setlocale cannot comply work better.
4326
4327         * buffer.C (updateDocLang): new function
4328         (changeLanguage): use it
4329         (readFile): use it
4330
4331         * text2.C (setCounter): use B_ a bit.
4332
4333         * lyxlayout.C (Read): be sure to trim the label strings.
4334
4335         * messages.C (Messages): fix typo in comment
4336
4337         * buffer.C (readFile): set message_ after file is loaded.
4338         (makeDocBookFile): remove double return
4339         (changeLanguage): reset message_ upon language change.
4340         (B_): new func, use this to get translated buffer strings.
4341
4342         * main.C: add myself and Jean Marc as authors.
4343
4344 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * messages.[hC]: pimplify Messages, and three different pimpls to be
4347         used in different circumstances.
4348
4349         * gettext.[Ch]: change for use with new message code.
4350
4351 2003-04-24 André Pönitz <poenitz@gmx.net>
4352
4353         * factory.C: support for eqref
4354
4355 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * messages.[Ch]: add missing char
4358
4359         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4360
4361         * messages.[Ch]: New files
4362
4363 2003-04-18  John Levon  <levon@movementarian.org>
4364
4365         * BufferView.h:
4366         * BufferView.C:
4367         * BufferView_pimpl.C:
4368         * lfuns.h:
4369         * LyXAction.C:
4370         * lyxtext.h:
4371         * text2.C: remove layout-copy/paste (bug 778)
4372
4373 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4376
4377 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4380         if they succeed. Act accordingly.
4381
4382 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4383
4384         * text2.C (setCharFont): adjust
4385         (setCounter): adjust
4386         (insertStringAsLines): adjust
4387
4388         * text.C (leftMargin): adjust
4389         (setHeightOfRow): adjust
4390
4391         * rowpainter.C (paintFirst): adjust
4392         (paintLast): adjust
4393
4394         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4395         (outerHook): ditto
4396         (isFirstInSequence): ditto
4397         (getEndLabel): ditto
4398         (outerFont): adjust
4399
4400         * paragraph.C (getParLanguage): comment out some hard stuff.
4401
4402         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4403         (sgmlError): ditto
4404         (simpleDocBookOnePar): ditto
4405         (makeDocBookFile): use ParagraphList::iterator
4406
4407         * CutAndPaste.C (pasteSelection): adjust
4408
4409 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * text2.C (getFont): adjust
4412         (getLayoutFont): adjust
4413         (getLabelFont): adjust
4414
4415         * paragraph_funcs.C (TeXOnePar): adjust
4416
4417         * buffer.C (simpleLinuxDocOnePar): adjust
4418         (simpleDocBookOnePar): adjust
4419
4420         * CutAndPaste.C (pasteSelection): adjust
4421
4422         * BufferView.C (getEncoding): adjust
4423
4424         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4425
4426 2003-04-16  John Levon  <levon@movementarian.org>
4427
4428         * lyxfind.C: use parlist stuff for search/changes
4429
4430 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4433
4434         * text2.C (deleteEmptyParagraphMechanism): adjust
4435
4436         * text2.[Ch] (ownerParagraph): delete func (both of them
4437
4438 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4441
4442 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * ParagraphList.C: prepare for NO_NEXT
4445
4446 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * text2.C (getFont): adjust
4449         (getLayoutFont): adjust
4450         (getLabelFont): adjust
4451
4452         * paragraph.C (getFont): adjust
4453         (getLabelFont): adjust
4454         (getLayoutFont): adjust
4455
4456         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4457
4458 2003-04-15  John Levon  <levon@movementarian.org>
4459
4460         From Angus Leeming
4461
4462         * lyx_main.C: handle Include in .ui files
4463
4464 2003-04-15  John Levon  <levon@movementarian.org>
4465
4466         * MenuBackend.C: make the doc files length shorter
4467
4468         * ToolbarBackend.h:
4469         * ToolbarBackend.C: handle toolbar placement flags,
4470         Minibuffer
4471
4472 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4475         adjust
4476
4477         * paragraph_funcs.C (TeXOnePar): adjust
4478
4479         * paragraph.C (getLabelFont): add outerfont arg, adjust
4480         (getLayoutFont): ditto
4481         (simpleTeXOnePar): adjust
4482
4483         * paragraph_pimpl.C (realizeFont): delete func
4484
4485 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4486
4487         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4488         row argument, constify cur argument.
4489
4490 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * text2.C (getFont): adjust
4493         (getLayoutFont): adjust
4494         (getLabelFont): adjust
4495
4496         * paragraph_funcs.C (TeXOnePar): adjust
4497         (outerFont): new func...
4498         (realizeFont): ...moved out from here, changed this to facilitate
4499         transition
4500
4501         * paragraph.C (getFont): take outerfont as arg, adjust
4502         (simpleTeXOnePar): add outerfont arg, adjust
4503
4504         * buffer.C (simpleLinuxDocOnePar): adjust
4505         (simpleDocBookOnePar): adjust
4506
4507         * CutAndPaste.C (pasteSelection): adjust
4508
4509         * BufferView.C (getEncoding): adjust
4510
4511 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * text2.C (setCharFont): adjust
4514         (setCounter): adjust
4515
4516         * text.C (leftMargin): adjust
4517         (setHeightOfRow): adjust
4518
4519         * rowpainter.C (paintFirst): adjust
4520         (paintLast): adjust
4521
4522         * paragraph_pimpl.C (realizeFont): adjust
4523
4524         * paragraph.C (isFirstInSequence): move from here...
4525         * paragraph_funcs.C (isFirstInSequence): ...to here
4526
4527         * paragraph.C (outerHook): move from here...
4528         * paragraph_funcs.C (outerHook): ...to here
4529
4530         * paragraph.C (depthHook): move from here...
4531         * paragraph_funcs.C (depthHook): ...to here
4532
4533         * paragraph.C (getEndLabel): move from here...
4534         * paragraph_funcs.C (getEndLabel): ...to here
4535
4536         * text2.C (realizeFont): move from here...
4537         * paragraph_funcs.C (realizeFont): ...to here
4538
4539 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4542
4543 2003-04-14  Angus Leeming  <leeming@lyx.org>
4544
4545         * LColor.[Ch]: scrap LColor mathcursor.
4546
4547 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * lyxlex.[Ch] (text): delete function
4550         * trans.C (Load): adjust
4551         * paragraph_funcs.C (readParToken): adjust
4552
4553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4556         vector<char> instead of a char[].
4557
4558         * lyxlex_pimpl.C (getString): adjust
4559         (next): adjust
4560         (lex): use getString
4561         (eatLine): adjust
4562         (nextToken): adjust
4563
4564         * lyxlex.C (text): use pimpl_->getString()
4565         (getBool): ditto
4566         (findToken): ditto
4567
4568 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4571         (makeFontEntriesLayoutSpecific): temp var for par.size()
4572         (setLayout): temp var for ownerParagraphs().end()
4573         (fullRebreak): temp var for rows().end()
4574         (selectionAsString): temp var for boost::next(startpit), realize
4575         that the while really is a regular for loop.
4576         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4577         setCursor in one place.
4578         (setParagraph): temp vr for ownerParagraphs().end()
4579         (updateCounters): make the while loop a for loop
4580         (cutSelection): temp var for ownerParagraphs().end()
4581         (updateInset): make the do {} while() a regular for loop
4582         (getCursorX): use temp vars
4583         (setCurrentFont): use temp vars
4584         (getColumnNearX): use temp vars
4585
4586 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * text.C (transformChar): use temp var for getChar
4589         (computeBidiTables): use temp var for row->par()
4590         (fill): move temp vars for row->par() and pit->layout() earlier in
4591         the function.
4592         (labelFill): use temp var for row->par()
4593         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4594         asc and desc, realize that pit never changes and that firstpit is
4595         just a duplicate and not needed. Exchange rit->par() with pit in a
4596         lot of places.
4597         (breakAgain): use a temp var for boost::next(rit)
4598         (breakAgainOneRow): ditto
4599         (breakParagraph): use a temp var for rows().begin()
4600         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4601         (cursorRightOneWord): use temp var for cursor.par() and
4602         cursor.pos(), remove usage of tmpcursor.
4603         (cursorLeftOneWord): use temp var for cursor.par() and
4604         cursor.pos() only set cur at end of function.
4605
4606 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * text.C, text2.C: exchange all usage of Paragraph::next with
4609         boost::next(ParagraphList::iterator)
4610
4611         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4612
4613         * text2.C (cursorTop): simplify implementation
4614         (cursorBottom): ditto
4615         (setParagraph): use ParagraphList::iterator
4616         (setCurrentFont): adjust
4617         (getColumnNearX): adjust
4618         (cursorRight): adjust
4619         (cursorLeft): remove usage of Paragraph::previous
4620         (cursorUpParagraph): ditto
4621         (deleteEmptyParagraphMechanism): slight cleanup
4622
4623         * text.C (isBoundary): take a Paragraph const & instead of a
4624         pointer as arg.
4625         (addressBreakPoint): ditto
4626         (leftMargin): remove usage of Paragraph::previous.
4627         (setHeightOfRow): ditto
4628         (cursorLeftOneWord): ditto
4629         (selectNextWordToSpellcheck): ditto
4630         (Delete): ditto
4631         (backspace): ditto
4632         (breakParagraph): remove one usage of Paragraph::next
4633         (redoParagraph): ditto
4634         (acceptChange): ditto
4635         (insertChar): adjust
4636         (rowBreakPoint): adjust
4637
4638         * bufferview_funcs.C (toggleAndShow): adjust
4639
4640 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4641
4642         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4643         methods to access it.
4644         * lyxtext.h:
4645         * text.C: Added updateRowPositions to compute all row positions.
4646         Make top_y and getRowNearY() to use the cached y position
4647
4648 2003-04-11  John Levon  <levon@movementarian.org>
4649
4650         * text.C (rowBreakPoint): reintroduce the labelEnd
4651         checks, code copied from the row fill stuff. Deep voodoo.
4652
4653         * text.C (fill): add a comment and debugging for the
4654         next poor soul.
4655
4656 2003-04-11  John Levon  <levon@movementarian.org>
4657
4658         * text.C: make sure fullrow insets get wrapped to the next line,
4659         even when they're in a manual label
4660
4661 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * text2.C (insertParagraph): make it take ParagraphList::iterator
4664         as arg.
4665         (setLayout): make it return ParagraphList::iterator
4666         (redoParagraphs): ditto
4667         (setCounter): ditto
4668         (checkParagraph): ditto
4669
4670         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4671
4672         * text2.C: adjust several funcs.
4673         (realizeFont): take a ParagraphList::iterator as arg.
4674         (getLayoutFont): ditto
4675         (getLabelFont): ditto
4676         (setCharFont): ditto
4677
4678         * text.C: adjust several funcs.
4679
4680 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * text.C (selectNextWordToSpellcheck): don't accidentally
4683         skip insets
4684
4685 2003-04-10  John Levon  <levon@movementarian.org>
4686
4687         * ToolbarBackend.C (getIcon): special handling for
4688         LFUN_MATH_DELIM
4689
4690 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * text2.C (cursorRight): a getChar assert fixed
4693
4694 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * text2.C (getFont): change to take a ParagraphList::iterator
4697         instead of Paragraph*
4698         Adjust several functions.
4699
4700         * text.C (transformChar): change to take a ParagraphList::iterator
4701         instead of Paragraph*
4702         (singleWidth): ditto
4703         Adjust several functions.
4704
4705         * rowpainter.C: adjust several functions
4706         * rowpainter.h:store a ParagraphList::iterator and not a
4707         Paragraph&.
4708
4709
4710 2003-04-09  John Levon  <levon@movementarian.org>
4711
4712         * lyxfunc.C:
4713         * lfuns.h:
4714         * LyXAction.h:
4715         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4716         and the "help" bits as well
4717
4718 2003-04-09  John Levon  <levon@movementarian.org>
4719
4720         * ToolbarBackend.h:
4721         * ToolbarBackend.C: allow multiple toolbars
4722
4723 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * undo_funcs.C (setCursorParUndo): adjust
4726
4727         * text_funcs.C (transposeChars): adjust
4728
4729         * text3.C (gotoNextInset): adjust
4730         (dispatch): adjust
4731
4732         * text2.C (setLayout): adjust
4733         (changeDepth): adjust
4734         (setFont): adjust
4735         (redoParagraphs): adjust
4736         (selectionAsString): adjust
4737         (setParagraph): adjust
4738         (insertInset): adjust
4739         (cutSelection): adjust
4740         (copySelection): adjust
4741         (pasteSelection): adjust
4742         (insertStringAsLines): adjust
4743         (updateInset): adjust
4744         (setCursor): change to take a ParagraphList::iterator parameter
4745         (setCursorIntern): change to take a ParagraphList::iterator parameter
4746         (setCurrentFont): adjust
4747         (cursorLeft): adjust
4748         (cursorRight): adjust
4749         (deleteEmptyParagraphMechanism): adjust
4750
4751         * text.C (breakParagraph): adjust
4752         (insertChar): adjust
4753         (acceptChange): adjust
4754         (rejectChange): adjust
4755         (selectNextWordToSpellcheck): adjust
4756         (changeCase): adjust
4757         (Delete): adjust
4758         (backspace): adjust
4759
4760         * lyxfind.C (SearchForward): adjust
4761         (SearchBackward): adjust
4762         (nextChange): adjust
4763
4764         * lyxcursor.C (par): adjust
4765
4766         * lyxcursor.h: store a ParagraphList::iterator instead of a
4767         Paragraph*
4768
4769         * lyx_cb.C (getPossibleLabel): adjust
4770
4771         * bufferview_funcs.C (toggleAndShow): adjust
4772
4773         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4774         (dispatch): adjust
4775
4776         * BufferView.C (removeAutoInsets): adjust
4777         (lockedInsetStoreUndo): adjust
4778
4779 2003-04-09  John Levon  <levon@movementarian.org>
4780
4781         * ToolbarBackend.C: try icon without argument
4782         if with argument fails
4783
4784 2003-04-08  John Levon  <levon@movementarian.org>
4785
4786         * ToolbarBackend.h:
4787         * ToolbarBackend.C: add getIcon(), handle tooltip,
4788         and change from "Icon" to "Item".
4789
4790 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4791
4792         * BufferView.C (lockInset): another bad getchar crunched
4793
4794 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4795
4796         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4797         again)
4798
4799 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * lyxfind.C (searchForward, searchBackwards): bug 782
4802
4803 2003-04-07  John Levon  <levon@movementarian.org>
4804
4805         * paragraph.C: remove dead comment
4806
4807         * text.C: remove troublesome depth-fiddling code
4808         in leftMargin() and rightMargin() (bug 1017)
4809
4810         * text.C: fix breaking of rows in nested lists
4811         (bug 1004)
4812
4813         * text2.C (updateCounters): fix up depth values
4814         (bug 1013)
4815
4816 2003-04-07  John Levon  <levon@movementarian.org>
4817
4818         * BufferView_pimpl.C: clear message when doc finishes resizing,
4819         and after a mouse event
4820
4821         * lyxfunc.C: clear message after exiting inset
4822
4823 2003-04-07  John Levon  <levon@movementarian.org>
4824
4825         * bufferview_funcs.C: show math status not outside
4826         status in the statusbar
4827
4828 2003-04-07  John Levon  <levon@movementarian.org>
4829
4830         * lyxfunc.C: note status changed after a depth change
4831
4832 2003-04-04  Angus Leeming  <leeming@lyx.org>
4833
4834         * LaTeX.h: move AuxInfo operator==, != out of line.
4835         Remove LaTeX virtual destructor; nothing derives from it.
4836         Move operator()() out of public area and rename it startscript().
4837         Change protected for private.
4838
4839 2003-04-04  Angus Leeming  <leeming@lyx.org>
4840
4841         * lyxfunc.C:
4842         * text2.C: remove unneeded #includes.
4843
4844 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * text2.C (dEPM): fix the heigth of the next row
4847
4848 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * text.C: squashed an invalid getChar requester + some ws changes
4851
4852 2003-04-03  John Levon  <levon@movementarian.org>
4853
4854         * bufferview_funcs.h:
4855         * bufferview_funcs.C:
4856         * lyxfunc.C:
4857         * lyxtext.h:
4858         * text2.C: make getStatus work for the env depth lfuns
4859
4860 2003-04-03  John Levon  <levon@movementarian.org>
4861
4862         * bufferview_funcs.h:
4863         * bufferview_funcs.C:
4864         * lyxfunc.C:
4865         * lyxtext.h:
4866         * text2.C: parlistize decDepth(), by merging it with incDepth()
4867
4868 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * lyxrow.h: store a ParagraphList::iterator instead of a
4871         Paragraph* and adjust other class functions to suit.
4872
4873         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4874         above.
4875
4876 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * text2.C (setCursor): do not anchor to cursor row for the time being
4879
4880 2003-04-02  John Levon  <levon@movementarian.org>
4881
4882         * LyXAction.C:
4883         * lfuns.h:
4884         * lyx_main.C:
4885         * lyxtext.h:
4886         * text.C:
4887         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4888
4889 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * paragraph.h: make ParagraphList and ParagraphList::iterator
4892         friends of Paragraph.
4893
4894         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4895
4896         * ParagraphList.C: Use the private next_ and previous_ from
4897         Paragraph.
4898
4899 2003-04-01  John Levon  <levon@movementarian.org>
4900
4901         * ToolbarBackend.h:
4902         * ToolbarBackend.C:
4903         * Makefile.am: rename, remove defaults gunk
4904
4905         * MenuBackend.h:
4906         * MenuBackend.C: remove defaults gunk
4907
4908         * Languages.h:
4909         * Languages.C: remove defaults gunk
4910
4911         * lyx_main.h:
4912         * lyx_main.C: error out if files couldn't be found.
4913
4914 2003-04-02  John Levon  <levon@movementarian.org>
4915
4916         * text2.C: make incDepth() use parlist
4917
4918 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4919
4920         * undo_funcs.C (firstUndoParagraph): adjust
4921
4922         * text3.C (gotoInset): adjust
4923         (dispatch): adjust, and rewrite loop.
4924
4925         * text2.C (init): adjust, and rewrite loop.
4926         (redoParagraphs): adjust
4927         (updateInset): adjust, and rewrite loop.
4928         (deleteEmptyParagraphMechanism): adjust
4929
4930         * tabular.C (LyXTabular): adjust
4931         (SetMultiColumn): adjust
4932         (TeXRow): adjust
4933
4934         * lyxtext.[Ch] (ownerParagraph): delete function
4935         (ownerParagraphs): new function returns a ParagraphList.
4936
4937         * BufferView.C (removeAutoInsets): adjust
4938         (insertErrors): adjust
4939         (setCursorFromRow): adjust
4940
4941 2003-04-01  Angus Leeming  <leeming@lyx.org>
4942
4943         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4944         in the frontends.
4945
4946 2003-04-02  John Levon  <levon@movementarian.org>
4947
4948         * lyxtext.h:
4949         * text.C:
4950         * Makefile.am:
4951         * text_funcs.h:
4952         * text_funcs.C: make transposeChars a free function
4953
4954         * lyxrow_funcs.C: remove wrong comment
4955
4956 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * lyxtext.h: adjust
4959         * rowpainter.C: adjust
4960         * text.C: adjust
4961         * text2.C: adjust
4962         * text3.C: adjust
4963
4964         * lyxrow_funcs. [Ch]: new files
4965
4966         * lyxrow.[Ch]: remove next and previous pointers
4967         (next,previous): remove accessor functions
4968         (isParEnd): move to lyxrow_funcs
4969         (lastPos): move to lyxrow_funcs
4970         (nextRowIsAllInset): move to lyxrow_funcs
4971         (lastPrintablePos): move to lyxrow_funcs
4972         (numberOfSeparators): move to lyxrow_funcs
4973         (numberOfHfills): move to lyxrow_funcs
4974         (numberOfLabelHfills): move to lyxrow_funcs
4975         (hfillExpansion): move to lyxrow_funcs
4976
4977         * lyxfunc.C: adjust
4978
4979         * bufferview_funcs.C (toggleAndShow): adjust
4980
4981         * RowList.h: Remove class RowList from file leave just a
4982         std::list<Row>.
4983
4984         * RowList.C: delete file
4985
4986         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4987         and lyxrow_funcs.h
4988
4989 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * text3.C (cursorPrevious): adjust
4992         (cursorNext): adjust
4993         (dispatch): adjust
4994
4995         * text2.C (redoHeightOfParagraph): adjust
4996         (redoDrawingOfParagraph): adjust
4997         (setCursor): adjust
4998
4999         * text.C (breakParagraph): adjust
5000         (insertChar): adjust
5001         (backspace): adjust
5002
5003         * rowpainter.C (RowPainter): adjust
5004         (leftMargin): simplify and adjust
5005         (most rowpainter functions): adjust.
5006
5007         * rowpainter.h: store the row as RowList::iterator not as Row*
5008
5009         * lyxcursor.C (row): taka RowList::iterator as arg
5010         (irow): ditto
5011
5012         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5013         of Row*.
5014
5015 2003-04-01  Angus Leeming  <leeming@lyx.org>
5016
5017         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5018         stuff like bool Bool.
5019
5020 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5023         rewrite a loop
5024
5025 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5028         RowList::iterator.
5029
5030         * lyxtext.h (rows): drop one version and leve a const variant that
5031         returns a RowList::iterator.
5032
5033 2003-03-31  Angus Leeming  <leeming@lyx.org>
5034
5035         * text.C (fill): ensure that the signature is the same as that in the
5036         header file.
5037
5038 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * text2.C (redoParagraphs): adjust
5041         (updateCounters): adjust
5042         (checkParagraph): adjust
5043         (getColumnNearX): adjust and reformat a bit.
5044
5045         * text.C (top_y): adjust
5046         (workWidth): adjust
5047         (leftMargin): adjust
5048         (prepareToPrint): adjust
5049         (getRow): adjust
5050         (getRowNearY): adjust
5051
5052         * lyxtext.h: make rowlist_ mutable.
5053
5054         * RowList.h: add const_iterator
5055         * RowList.C: adjust for RowList::const_iterator.
5056
5057         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5058         adjust.
5059
5060 2003-03-31  John Levon  <levon@movementarian.org>
5061
5062         * lyxrc.h:
5063         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5064
5065         * lyx_main.C: set default fonts from using lyx_gui funcs
5066
5067         * exporter.C: pdf_mode moved from lyxrc
5068
5069         * lyx_cb.C:
5070         * lyxfunc.C: changes from above
5071
5072 2003-03-31  John Levon  <levon@movementarian.org>
5073
5074         * lyx_main.C: fix to the last fix
5075
5076 2003-03-31  John Levon  <levon@movementarian.org>
5077
5078         * bufferlist.C: "Load original" -> "Load Original"
5079
5080         * converter.C:
5081         * exporter.C:
5082         * importer.C:
5083         * lyx_main.C:
5084         * format.C: more Alert cleanups
5085
5086 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * text2.C (removeParagraph): make it take a RowList::iterator as
5089         arg, adjust.
5090         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5091         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5092
5093         * text.C (anchor_row): make it take a RowList::iterator as arg,
5094         adjust.
5095         (computeBidiTables): make it take a const reference to Row instead
5096         of Row pointer, adjust.
5097         (leftMargin): make it take a RowList::iterator as arg, adjust.
5098         (rowBreakPoint): adjust
5099         (breakAgainOneRow): make it take a RowList::iterator as arg,
5100         adjust.
5101         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5102
5103         * bufferview_funcs.C (toggleAndShow): adjust
5104
5105 2003-03-30  John Levon  <levon@movementarian.org>
5106
5107         * Makefile.am:
5108         * BoostFormat.h:
5109         * boost-inst.C: moved to support
5110
5111         * several files: changes as a result
5112
5113 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * text2.C (LyXText): adjust.
5116         (init): adjust
5117         (removeRow): make it take a RowList::iterator as arg, adjust.
5118         (fullRebreak): adjust
5119         (deleteEmptyParagraphMechanism): adjust
5120         (clearPaint): adjust
5121         (postPaint): adjust
5122
5123         * text.C (top_y): adjust
5124         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5125         (breakAgain): make it take a RowList::iterator as arg, adjust.
5126         (breakParagraph): adjust
5127         (insertChar): adjust
5128         (backspace): adjust
5129
5130         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5131         need_break_row, and refresh_row.
5132
5133         * text3.C (dispatch): adjust
5134
5135         * text2.C (checkParagraph): adjust
5136         (setCursor): adjust
5137         (setCursorFromCoordinates): adjust
5138
5139         * text.C (top_y): adjust
5140         (workWidth): adjust
5141         (getRow): make it return a RowList::iterator, adjust
5142         (getRowNearY): make it return a RowList::iterator, adjust
5143
5144         * text2.C (init): adjust
5145         (insertRow): remove function
5146         (insertParagraph): adjust
5147         (redoParagraphs): adjust
5148         (fullRebreak): adjust
5149         (updateCounters): adjust
5150
5151         * text.C (top_y): rewrite to use RowList iterators.
5152         (top_y): adjust
5153         (setHeightOfRow): rewrite to sue RowList iterators.
5154         (appendParagraph): adjust
5155         (breakAgain): adjust
5156         (breakAgainOneRow): adjust
5157         (breakParagraph): adjust
5158         (getRow): adjust
5159         (getRowNearY): adjust, and remove commented code.
5160
5161         * lyxtext.h (firstRow): delete function
5162         (lastRow): delete function
5163         (rows): new function (const and non-const versions.)
5164         (insertRow): delete function
5165
5166         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5167
5168 2003-03-29  John Levon  <levon@movementarian.org>
5169
5170         * BufferView_pimpl.C: always update scrollbar top
5171         because pasting text when we're anchored could mean we
5172         miss an update altogether
5173
5174 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text2.C (init): use rowlist_.end() and not 0.
5177         (insertRow): change to take a RowList::iterator as arg, adjust
5178         for this.
5179         (insertParagraph): change to take a RowList::iterator as arg,
5180         adjust for this.
5181         (redoParagraphs): remove some debug msgs.
5182
5183         * text.C (appendParagraph): change to take a RowList::iterator
5184         arg, adjust for this.
5185         (breakAgain): add an assert
5186         (breakAgainOneRow): ditto
5187
5188 2003-03-29  John Levon  <levon@movementarian.org>
5189
5190         * text2.C: do not clear selection after inc/decDepth
5191         (bug 550)
5192
5193 2003-03-29  John Levon  <levon@movementarian.org>
5194
5195         * BufferView.C:
5196         * buffer.C: fix broken strerrors according to Lars
5197
5198 2003-03-29  John Levon  <levon@movementarian.org>
5199
5200         * converters.C: more Alert cleanups
5201
5202 2003-03-29  John Levon  <levon@movementarian.org>
5203
5204         * bufferview_funcs.C: remove pointless Alert
5205
5206         * buffer.C: fix confusing error message when
5207         a template is chmoded 000
5208
5209 2003-03-29  John Levon  <levon@movementarian.org>
5210
5211         * BufferView.C:
5212         * BufferView.h:
5213         * BufferView_pimpl.C: Alert fixes
5214
5215         * Makefile.am:
5216         * tabular.C:
5217         * tabular-old.C: remove unused table compat reading
5218
5219 2003-03-29  John Levon  <levon@movementarian.org>
5220
5221         * BufferView.C:
5222         * buffer.C:
5223         * lyx_cb.h:
5224         * lyx_cb.C: more Alert cleanups
5225
5226         * lyxfunc.C: don't allow chktex if not latex document
5227
5228 2003-03-29  John Levon  <levon@movementarian.org>
5229
5230         * lyx_cb.C:
5231         * BufferView.C:
5232         * buffer.C: warnings pushed down from support/,
5233         kill err_alert
5234
5235 2003-03-29  John Levon  <levon@movementarian.org>
5236
5237         * lyxfunc.C: safety check for C-r (revert)
5238
5239 2003-03-29  John Levon  <levon@movementarian.org>
5240
5241         * bufferlist.h:
5242         * bufferlist.C: several UI fixes using Alert::prompt.
5243         Fix the pointless looping quit code. Fix stupid revert
5244         behaviour (bug 938)
5245
5246         * lyxvc.h:
5247         * lyxvc.C:
5248         * lyx_cb.C: use Alert::prompt
5249
5250         * lyx_main.C: remove a silly question
5251
5252         * lyxfunc.C: remove a couple of silly questions,
5253         use Alert::prompt
5254
5255 2003-03-28  John Levon  <levon@movementarian.org>
5256
5257         * text2.C: fix bug 974 (End on empty par)
5258
5259 2003-03-28  John Levon  <levon@movementarian.org>
5260
5261         * BufferView_pimpl.C:
5262         * LyXAction.C:
5263         * lfuns.h: remove do-nothing math greek lfuns
5264
5265 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * lyxgluelength.h (isValidGlueLength): add default arg on
5268         parameter 2. Remove default arg from friend in class.
5269
5270         * lyxlength.h (isValidLength): add default arg on parameter 2.
5271         Remove default arg from friend in class.
5272
5273         * text2.C (LyXText): adjust, initialize refresh_row.
5274         (init): adjust
5275         (removeRow): adjust
5276         (insertRow): adjust
5277         (insertParagraph): adjst
5278         (redoParagraphs): adjust
5279         (fullRebreak): adjust
5280         (updateCounters): adjust
5281         (deleteEmptyParagraphMechanism): first attempt at fixing a
5282         crashing bug.
5283
5284         * text.C (top_y): adjust
5285         (setHeightOfRow): adjust
5286         (getRow): adjust
5287         (getRowNearY): adjust
5288
5289         * lyxtext.h: include RowList.h
5290         (~LyXText): not needed anymore, deleted.
5291         (firstRow): modify for RowList
5292         (lastRow): new function
5293         Delete firstrow and lastrow class variables, add a Rowlist
5294         rowlist_ class variable.
5295
5296         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5297         paragraph is empty.
5298
5299         * RowList.C (insert): fix case where it == begin().
5300
5301 2003-03-26  Angus Leeming  <leeming@lyx.org>
5302
5303         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5304         the thesaurus dialog.
5305
5306 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5309
5310         * RowList.[Ch]: new files
5311
5312         * ParagraphList.C (erase): handle the case where it == begin
5313         correctly.
5314
5315 2003-03-25  John Levon  <levon@movementarian.org>
5316
5317         * Makefile.am:
5318         * aspell_local.h:
5319         * aspell.C: add new aspell support
5320
5321         * lyxrc.h:
5322         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5323         have it accessible.
5324
5325 2003-03-25  Angus Leeming  <leeming@lyx.org>
5326
5327         * lfuns.h:
5328         * LyXAction.C (init): new LFUN_INSET_INSERT.
5329
5330         * BufferView_pimpl.C (dispatch): split out part of the
5331         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5332
5333         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5334         LFUN_INSET_APPLY.
5335
5336 2003-03-25  Angus Leeming  <leeming@lyx.org>
5337
5338         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5339
5340 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5341
5342         * text2.C:
5343         * text3.C: remove useless row->height(0)
5344
5345 2003-03-25  John Levon  <levon@movementarian.org>
5346
5347         * lyxtext.h:
5348         * text2.C:
5349         * text3.C: rename the refreshing stuff to better names
5350
5351 2003-03-24  John Levon  <levon@movementarian.org>
5352
5353         * BufferView_pimpl.h:
5354         * BufferView_pimpl.C: update layout choice on a mouse
5355         press/release
5356
5357 2003-03-23  John Levon  <levon@movementarian.org>
5358
5359         * Makefile.am: fix commandtags.h reference
5360
5361 2003-03-22  John Levon  <levon@movementarian.org>
5362
5363         * BufferView_pimpl.C:
5364         * lyxtext.h:
5365         * rowpainter.C:
5366         * rowpainter.h:
5367         * text.C:
5368         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5369
5370 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5371
5372         * lyxtext.h:
5373         * text.C: take the rtl methods out of line
5374
5375 2003-03-21 André Pönitz <poenitz@gmx.net>
5376
5377         * metricsinfo.[Ch]: new files containing structures to be passed around
5378         during the two-phase-drawing...
5379
5380 2003-03-21 André Pönitz <poenitz@gmx.net>
5381
5382         * lyxtextclass.C: read 'environment' tag.
5383
5384 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5385
5386         * text2.C (removeRow): fix bug 964
5387
5388 2003-03-20  John Levon  <levon@movementarian.org>
5389
5390         * rowpainter.C:
5391         * text.C:
5392         * text2.C: paint cleanups. Inset::update() dropped font
5393         parameter
5394
5395 2003-03-19  John Levon  <levon@movementarian.org>
5396
5397         * lyxfunc.C: only fitcursor/markDirty if available()
5398
5399 2003-03-19  John Levon  <levon@movementarian.org>
5400
5401         * commandtags.h: rename to ...
5402
5403         * lfuns.h: ... this, and renumber / cleanup
5404
5405 2003-03-19  John Levon  <levon@movementarian.org>
5406
5407         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5408         fit the cursor after an lfun
5409
5410         * BufferView.h:
5411         * BufferView.C:
5412         * BufferView_pimpl.h:
5413         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5414
5415         * LyXAction.C: layout-character should have ReadOnly
5416
5417         * ParagraphParameters.C:
5418         * buffer.C:
5419         * bufferview_funcs.C:
5420         * lyx_cb.C:
5421         * lyxfind.C:
5422         * lyxtext.h:
5423         * text.C:
5424         * text2.C:
5425         * text3.C:
5426         * undo_funcs.C: changes from above
5427
5428 2003-03-18  John Levon  <levon@movementarian.org>
5429
5430         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5431         remove it from update()
5432
5433         * lyxfunc.C: update layout choice after an lfun
5434
5435         * text3.C: remove extra updateLayoutChoice()s
5436
5437 2003-03-18  John Levon  <levon@movementarian.org>
5438
5439         * text.C: top_y change means full repaint, fix
5440         a drawing bug with cursor movement
5441
5442 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5443
5444         * lyxtext.h:
5445         * text.C:
5446         * text2.C: anchor row on setCursor
5447
5448 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5449
5450         * lyxtext.h: remove almost all mutable keywords
5451         * text.C:
5452         * text2.C:
5453         * text3.C: remove const keywords accordingly
5454
5455 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5458         anon namespace
5459         (TeXEnvironment): ditto
5460         (TeXOnePar): ditto
5461
5462 2003-03-17  John Levon  <levon@movementarian.org>
5463
5464         * text.C (rowBreakPoint): remove attempt to fix displayed
5465         math insets inside a manual label
5466
5467 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * lyxtext.h: remove BufferView* as first arg from almost all class
5470         functions.
5471         * other files: adjust.
5472
5473 2003-03-17  John Levon  <levon@movementarian.org>
5474
5475         * lyxtext.h:
5476         * undo_funcs.C:
5477         * text2.C: more paint cleanups
5478
5479         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5480
5481         * rowpainter.h:
5482         * rowpainter.C: remove "smart" background painting code
5483
5484 2003-03-16  John Levon  <levon@movementarian.org>
5485
5486         * lyxtext.h:
5487         * text.C:
5488         * text2.C:
5489         * text3.C: add helper functions for setting refresh_row/y
5490
5491 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5492
5493         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5494         newline inset which *can* get inserted in the pass_thru layouts.
5495         This is primarily for literate documents.
5496
5497 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5498
5499         * buffer.C: increment LYX_FORMAT to 223
5500
5501 2003-03-14 André Pönitz <poenitz@gmx.net>
5502
5503         * textclass.h: prepare for environment handling, ws changes
5504         * lyxlayout.C: read latexheader and latexfooter tags
5505
5506 2003-03-14  John Levon  <levon@movementarian.org>
5507
5508         * text2.C: rewrite ::status() a bit
5509
5510 2003-03-13  John Levon  <levon@movementarian.org>
5511
5512         * lyxtext.h: add some docs
5513
5514 2003-03-13  John Levon  <levon@movementarian.org>
5515
5516         * lyxtext.h:
5517         * text.C:
5518         * text2.C:
5519         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5520
5521 2003-03-13  John Levon  <levon@movementarian.org>
5522
5523         * text3.C: fix appendix redrawing
5524
5525 2003-03-13  John Levon  <levon@movementarian.org>
5526
5527         * text.C (setHeightOfRow):
5528         * rowpainter.h:
5529         * rowpainter.C: make appendix mark have the text
5530           "Appendix" so the user knows what it is
5531
5532         * LColor.h:
5533         * LColor.C: s/appendixline/appendix/ from above
5534
5535 2003-03-13  John Levon  <levon@movementarian.org>
5536
5537         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5538
5539         * text.C: fix a getChar(pos) bug properly
5540
5541 2003-03-13  Angus Leeming  <leeming@lyx.org>
5542
5543         * commandtags.h:
5544         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5545         Probably only temporary. Let's see how things pan out.
5546
5547         * BufferView.C (unlockInset):
5548         * BufferView_pimpl.C (fitCursor):
5549         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5550
5551         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5552         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5553
5554         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5555         new functions that convert ParagraphParameters to and from a string.
5556
5557         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5558         BufferView::Pimpl's dispatch.
5559         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5560
5561 2003-03-13 André Pönitz <poenitz@gmx.net>
5562
5563         * lyxfunc.C:
5564         * text3.C:
5565         * factory.C: make it aware of InsetEnv
5566
5567 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * text2.C (setCursor): never ask for one past last
5570         (setCursor): add some debugging messages.
5571
5572         * text.C (singleWidth): never ask for one past last
5573         (singleWidth): ditto
5574         (leftMargin): ditto
5575         (rightMargin): ditto
5576         (rowBreakPoint): ditto
5577         (setHeightOfRow): ditto
5578         (prepareToPrint): ditto
5579
5580         * rowpainter.C (paintBackground): never ask for one past last
5581         (paintText): never ask for one past last
5582
5583         * paragraph_pimpl.C (getChar): make the assert stricter, never
5584         allow the one past last pos to be taken
5585
5586         * paragraph.C (getChar): ws changes only
5587
5588         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5589         (numberOfSeparators): ditto
5590         (numberOfHfills): ditto
5591
5592 2003-03-12  John Levon  <levon@movementarian.org>
5593
5594         * author.h:
5595         * author.C:
5596         * bufferparams.h:
5597         * bufferparams.C:
5598         * paragraph_funcs.C: fix per-buffer authorlists
5599
5600 2003-03-12  John Levon  <levon@movementarian.org>
5601
5602         * text.C: fix newline in right address
5603
5604 2003-03-12  Angus Leeming  <leeming@lyx.org>
5605
5606         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5607         duplicate those in LyXFunc::dispatch.
5608
5609         * commandtags.h:
5610         * LyXAction.C:
5611         * ToolbarDefaults.C:
5612         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5613         Add LFUN_FONTFREE_UPDATE.
5614
5615         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5616         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5617
5618         * bufferview_func.[Ch]: several new functions to facilliate
5619         transfer of data to and from the character dialog.
5620
5621 2003-03-12  John Levon  <levon@movementarian.org>
5622
5623         * buffer.C:
5624         * paragraph.h:
5625         * paragraph.C:
5626         * paragraph_funcs.C:
5627         * paragraph_pimpl.C:
5628         * sgml.C:
5629         * tabular.C:
5630         * text.C:
5631         * text3.C: remove META_NEWLINE in favour of an inset
5632
5633         * rowpainter.h:
5634         * rowpainter.C: remove paintNewline (done by inset)
5635
5636 2003-03-12  John Levon  <levon@movementarian.org>
5637
5638         * paragraph_pimpl.C: complain about bad getChar()s
5639         for a while at least
5640
5641 2003-03-12  John Levon  <levon@movementarian.org>
5642
5643         * buffer.h:
5644         * buffer.C: move paragraph read into a separate function,
5645         a little renaming to reflect that.
5646
5647         * bufferparams.h:
5648         * bufferparams.C: remove the author_ids map, not necessary now
5649
5650         * factory.h:
5651         * factory.C: moved Buffer::readInset to here
5652
5653         * paragraph_funcs.h:
5654         * paragraph_funcs.C: readParagraph free function moved from
5655         buffer.C
5656
5657         * tabular.C: name change
5658
5659 2003-03-12  John Levon  <levon@movementarian.org>
5660
5661         * buffer.C:
5662         * ParagraphParameters.C: move par params input to
5663         a read() method
5664
5665         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5666         behave like a normal read from the stream wrt reading
5667         a line vs. a \\token
5668
5669 2003-03-12  John Levon  <levon@movementarian.org>
5670
5671         * paragraph.C:
5672         * ParagraphParameters.h:
5673         * ParagraphParameters.C: move output code to a
5674         ::write() method
5675
5676 2003-03-12  John Levon  <levon@movementarian.org>
5677
5678         * BufferView.C (insertLyXFile):
5679         * buffer.h:
5680         * buffer.C:
5681         * tabular.C: use a parlist iterator for creating the
5682           document.
5683
5684 2003-03-12  John Levon  <levon@movementarian.org>
5685
5686         * buffer.C: make current_change static local not
5687           static file-scope
5688
5689 2003-03-12  John Levon  <levon@movementarian.org>
5690
5691         * buffer.C: fix insertStringAsLines for change tracking
5692
5693 2003-03-12  John Levon  <levon@movementarian.org>
5694
5695         * BufferView.C:
5696         * tabular.C:
5697         * buffer.h:
5698         * buffer.C:
5699         * bufferparams.h:
5700         * bufferparams.C: move author list into params. Rename some
5701           functions. Move the header reading into a separate token
5702           loop. Move the header token reading into BufferParams.
5703
5704 2003-03-12  John Levon  <levon@movementarian.org>
5705
5706         * changes.C: put debug inside lyxerr.debugging() checks
5707
5708 2003-03-11 André Pönitz <poenitz@gmx.net>
5709
5710         * factory.C: make it aware of InsetHFill
5711
5712 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5713
5714         * buffer.C (latexParagraphs): move function from here...
5715         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5716         args.
5717
5718 2003-03-10  Angus Leeming  <leeming@lyx.org>
5719
5720         * LyXAction.C (init): fix bug in poplating array with multiple entries
5721         with the same LFUN (spotted by JMarc).
5722
5723 2003-03-10  John Levon  <levon@movementarian.org>
5724
5725         * text.C:
5726         * text2.C: move getColumnNearX() near its
5727         only call site
5728
5729 2003-03-10  John Levon  <levon@movementarian.org>
5730
5731         * text.C: fix break before a minipage
5732
5733 2003-03-10  John Levon  <levon@movementarian.org>
5734
5735         * text.C: fix the last commit
5736
5737 2003-03-09  John Levon  <levon@movementarian.org>
5738
5739         * lyxtext.h:
5740         * text.C:
5741         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5742         bug 365 (don't break before insets unless needed). Don't
5743         return a value > last under any circumstances.
5744
5745 2003-03-09  Angus Leeming  <leeming@lyx.org>
5746
5747         * BufferView_pimpl.C (trackChanges, dispatch): call
5748         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5749
5750 2003-03-09  Angus Leeming  <leeming@lyx.org>
5751
5752         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5753         than Dialogs::showAboutlyx().
5754
5755 2003-03-09  Angus Leeming  <leeming@lyx.org>
5756
5757         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5758         than Dialogs::showTabularCreate().
5759
5760 2003-03-09  John Levon  <levon@movementarian.org>
5761
5762         * lyxtext.h:
5763         * text.C:
5764         * text2.C: 3rd arg to nextBreakPoint was always the same.
5765           Use references.
5766
5767 2003-03-08  John Levon  <levon@movementarian.org>
5768
5769         * lyxrow.C:
5770         * paragraph.C:
5771         * paragraph.h:
5772         * rowpainter.C:
5773         * text.C:
5774         * text2.C: Remove the "main" bit from the "main body"
5775           notion.
5776
5777 2003-03-08  John Levon  <levon@movementarian.org>
5778
5779         * text.C (leftMargin): The left margin of an empty
5780         manual label paragraph should not include the label width
5781         string length.
5782
5783         * text.C (prepareToPrint): don't attempt to measure hfills
5784         for empty manual label paragraphs - the answer should be 0
5785
5786 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * CutAndPaste.C: remove commented code and reindent.
5789
5790 2003-03-08  John Levon  <levon@movementarian.org>
5791
5792         * lyxfunc.h:
5793         * lyxfunc.C: move reloadBuffer()
5794
5795         * BufferView.h:
5796         * BufferView.C: to here
5797
5798         * lyxvc.C: add comment
5799
5800         * vc-backend.h:
5801         * vc-backend.C: call bv->reload() to avoid
5802           getStatus() check on MENURELOAD
5803
5804 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5805
5806         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5807         to an old format .dep file.
5808
5809 2003-03-07  Angus Leeming  <leeming@lyx.org>
5810
5811         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5812         when the LFUN_MOUSE_RELEASE should have been handled by
5813         inset->localDispatch.
5814
5815 2003-03-07  Angus Leeming  <leeming@lyx.org>
5816
5817         * BufferView_pimpl.C (dispatch):
5818         * LyXAction.C (init):
5819         * ToolbarDefaults.C (init):
5820         * commandtags.h:
5821         * lyxfunc.C (getStatus):
5822         remove LFUN_INSET_GRAPHICS.
5823
5824         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5825
5826 2003-03-07  Angus Leeming  <leeming@lyx.org>
5827
5828         * commandtags.h:
5829         * LyXAction.C (init):
5830         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5831
5832         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5833
5834         * commandtags.h:
5835         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5836
5837         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5838         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5839
5840 2003-03-07  Angus Leeming  <leeming@lyx.org>
5841
5842         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5843         remove "ert".
5844
5845 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * ParagraphList.C (front): new function
5848         (back): implement
5849
5850 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5853         and top_row_offset_. removed var first_y.
5854         * text.C (top_y):
5855         * text2.C (LyXText, removeRow):
5856         * text3.C:
5857         * BufferView_pimpl.C:
5858         use these methods instead of using first_y
5859
5860 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * text2.C (pasteSelection): adjust for checkPastePossible
5863
5864         * CutAndPaste.C: remove Paragraph * buf and replace with
5865         ParagraphList paragraphs.
5866         (DeleteBuffer): delete
5867         (cutSelection): change the tc type to textclass_type
5868         (copySelection): change the tc type to textclass_type
5869         (copySelection): adjust for ParagraphList
5870         (pasteSelection): change the tc type to textclass_type
5871         (pasteSelection): adjust for Paragraphlist
5872         (nrOfParagraphs): simplify for ParagraphList
5873         (checkPastePossible): simplify for ParagraphList
5874         (checkPastePossible): remove unused arg
5875
5876         * ParagraphList.C (insert): handle the case where there are no
5877         paragraphs yet.
5878
5879         * CutAndPaste.h: make CutAndPaste a namespace.
5880
5881         * text3.C (dispatch): adjust
5882
5883         * text.C (breakParagraph): add a ParagraphList as arg
5884
5885         * paragraph_funcs.C (breakParagraph): change to take a
5886         BufferParams and a ParagraphList as args.
5887         (breakParagraphConservative): ditto
5888         (mergeParagraph): ditto
5889         (TeXDeeper): add a ParagraphList arg
5890         (TeXEnvironment): ditto
5891         (TeXOnePar): ditto
5892
5893         * buffer.C (readLyXformat2): adjust
5894         (insertStringAsLines): adjust
5895         (latexParagraphs): adjust
5896
5897         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5898         (cutSelection): adjust
5899         (pasteSelection): adjust
5900
5901         * BufferView_pimpl.C (insertInset): adjust
5902
5903 2003-03-05  Angus Leeming  <leeming@lyx.org>
5904
5905         * commandtags.h:
5906         * LyXAction.C (init):
5907         * BufferView_pimpl.C (dispatch):
5908         * lyxfunc.C (getStatus):
5909         remove LFUN_CHILD_INSERT.
5910
5911         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5912
5913 2003-03-05  Angus Leeming  <leeming@lyx.org>
5914
5915         * commandtags.h:
5916         * LyXAction.C (init):
5917         * src/factory.C (createInset):
5918         * lyxfunc.C (getStatus):
5919         * text3.C (dispatch):
5920         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5921
5922         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5923
5924 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * ParagraphList.C (insert): handle insert right before end()
5927         (erase): fix cases where it can be first or last paragraph.
5928
5929 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5932         Paragraph::next and Paragraph::previous
5933         (TeXOnePar): ditto
5934
5935         * text.C (breakParagraph): adjust
5936
5937         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5938         BufferParams& as arg.
5939         (breakParagraph): use ParagraphList::insert
5940         (breakParagraphConservative): take a Buffer* instead of a
5941         BufferParams& as arg.
5942         (breakParagraphConservative): use ParagraphList::insert.
5943
5944         * buffer.C (insertStringAsLines): un-const it
5945         (insertStringAsLines): adjust
5946
5947         * ParagraphList.C (insert): new function
5948
5949         * CutAndPaste.C (pasteSelection): adjust
5950
5951         * text.C (backspace): adjust
5952
5953         * tabular.C (SetMultiColumn): adjust
5954
5955         * CutAndPaste.C (cutSelection): adjust
5956         (pasteSelection): adjust
5957
5958         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5959         Buffer const * as arg
5960
5961         * ParagraphList.C (erase): new function
5962         * paragraph_funcs.C (mergeParagraph): use it
5963         (mergeParagraph): make it take a Buffer* instead of a
5964         BufferParams* as arg
5965
5966         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5967         as arg
5968         (breakParagraphConservative): ditto
5969
5970         * paragraph.h: remove the breakParagraph friend
5971
5972         * paragraph.C (eraseIntern): new function
5973         (setChange): new function
5974
5975         * paragraph_funcs.C (mergeParagraph): make it take a
5976         ParagraphList::iterator instead of a Paragraph *, adjust
5977         accordingly.
5978
5979         * paragraph.h: move an #endif so that the change tracking stuff
5980         also works in the NO_NEXT case.
5981
5982 2003-03-04  Angus Leeming  <leeming@lyx.org>
5983
5984         * commandtags.h:
5985         * LyXAction.C: new LFUN_INSET_MODIFY.
5986
5987         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5988         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5989
5990 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * several files: ws changes only
5993
5994         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5995         (TeXEnvironment): ditto
5996         (TeXDeeper): ditto
5997
5998         * buffer.C (makeLaTeXFile): adjust
5999         (latexParagraphs): make it take ParagraphList::iterator as args
6000
6001 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * buffer.C (latexParagraphs): adjust
6004
6005         * paragraph.C (TeXOnePar): move function...
6006         (optArgInset): move function...
6007         (TeXEnvironment): move function...
6008         * paragraph_pimpl.C (TeXDeeper): move function...
6009         * paragraph_funcs.C: ...here
6010
6011         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6012
6013 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * buffer.C (readInset): remove compability code for old Figure and
6016         InsetInfo insets
6017
6018 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * buffer.C: ws changes
6021         (readInset):
6022
6023         * BufferView_pimpl.C: ditto
6024         * author.C: ditto
6025         * buffer.h: ditto
6026         * bufferlist.h: ditto
6027         * changes.h: ditto
6028         * lyxfunc.C: ditto
6029
6030 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6031
6032         * converter.[Ch]: split into itself +
6033         * graph.[Ch]
6034         * format.[Ch]
6035         * Makefile.am: += graph.[Ch] + format.[Ch]
6036         * MenuBackend.C
6037         * buffer.C
6038         * exporter.C
6039         * importer.C
6040         * lyx_main.C
6041         * lyxfunc.C
6042         * lyxrc.C: added #include "format.h"
6043
6044 2003-02-27  Angus Leeming  <leeming@lyx.org>
6045
6046         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6047           a label.
6048
6049         * factory.C (createInset): add "label" to the factory.
6050
6051         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6052           string and do no more.
6053
6054 2003-02-27  Angus Leeming  <leeming@lyx.org>
6055
6056         * commandtags.h:
6057         * LyXAction.C (init):
6058         * factory.C (createInset):
6059         * BufferView_pimpl.C (dispatch):
6060           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6061
6062         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6063
6064         * lyxfunc.C (dispatch):
6065         * text3.C (dispatch): pass name to params2string.
6066
6067 2003-02-26  Angus Leeming  <leeming@lyx.org>
6068
6069         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6070           blocks together.
6071           Rearrange the ~includes. Strip out the unnecessary ones.
6072
6073         * factory.C (createInset): reformat.
6074           create new insets for the various LFUN_XYZ_APPLY lfuns.
6075
6076 2003-02-26  John Levon  <levon@movementarian.org>
6077
6078         * lyxrow.h:
6079         * lyxrow.C: add isParStart,isParEnd helpers
6080
6081         * paragraph.h: make isInserted/DeletedText take refs
6082
6083         * paragraph_funcs.h:
6084         * paragraph_funcs.C: remove #if 0'd code
6085
6086         * lyxtext.h:
6087         * text3.C:
6088         * text2.C:
6089         * text.C: use lyxrow helpers above.
6090           Move draw and paint routines to RowPainter.
6091           Make several methods use refs not pointers.
6092           Make backgroundColor() const.
6093           Add markChangeInDraw(), isInInset().
6094           Merge changeRegionCase into changeCase.
6095           Make workWidth() shouldn't-happen code into an Assert.
6096
6097         * rowpainter.h:
6098         * rowpainter.C: new class for painting a row.
6099
6100         * vspace.h:
6101         * vspace.C: make inPixels take a ref
6102
6103 2003-02-26  Angus Leeming  <leeming@lyx.org>
6104
6105         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6106         LFUN_REF_APPLY.
6107
6108 2003-02-25  John Levon  <levon@movementarian.org>
6109
6110         * ispell.C: give the forked command a more accurate name
6111
6112 2003-02-22  John Levon  <levon@movementarian.org>
6113
6114         * toc.h:
6115         * toc.C: make TocItem store an id not a Paragraph *
6116           (bug #913)
6117
6118 2003-02-21  Angus Leeming  <leeming@lyx.org>
6119
6120         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6121           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6122           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6123           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6124           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6125           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6126
6127         * BufferView_pimpl.C (dispatch):
6128         * LyXAction.C (init):
6129         * factory.C (createInset):
6130         * lyxfunc.C (getStatus, dispatch):
6131         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6132
6133 2003-02-21  Angus Leeming  <leeming@lyx.org>
6134
6135         * BufferView_pimpl.C (MenuInsertLyXFile):
6136         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6137         * lyxfunc.C (menuNew, open, doImport):
6138           no longer pass a LyXView & to fileDlg.
6139
6140 2003-02-21  Angus Leeming  <leeming@lyx.org>
6141
6142         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6143         * LyXAction.C: change, BIBKEY to BIBITEM.
6144         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6145         Change InsetBibKey to InsetBibitem.
6146         Change BIBKEY_CODE to BIBITEM_CODE.
6147         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6148         * factory.C: replace insetbib.h with insetbibitem.h.
6149         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6150         * paragraph.C: replace insetbib.h with insetbibitem.h.
6151         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6152         Change bibkey() to bibitem().
6153         * text.C: remove insetbib.h.
6154         * text2.C: replace insetbib.h with insetbibitem.h.
6155         change bibkey() to bibitem().
6156         * text3.C: remove insetbib.h.
6157         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6158
6159 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6160
6161         * lyxrc.C (output): enclose user email in quotes (in case there are
6162         several words)
6163
6164 2003-02-18  John Levon  <levon@movementarian.org>
6165
6166         * buffer.h: add std::
6167
6168 2003-02-17  John Levon  <levon@movementarian.org>
6169
6170         * SpellBase.h:
6171         * ispell.h:
6172         * ispell.C:
6173         * pspell.h:
6174         * pspell.C: reworking. Especially in ispell, a large
6175           number of clean ups and bug fixes.
6176
6177         * lyxfunc.C: fix revert to behave sensibly
6178
6179 2003-02-17 André Pönitz <poenitz@gmx.net>
6180
6181         * LyXAction.C:
6182         * commandtags.h: new LFUN_INSERT_BIBKEY
6183
6184         * layout.h:
6185         * lyxlayout.C:
6186         * buffer.C:
6187         * factory.C:
6188         * text.C:
6189         * text2.C:
6190         * text3.C:
6191         * paragraph.[Ch]:
6192         * paragraph_func.C: remove special bibkey handling
6193
6194 2003-02-17  John Levon  <levon@movementarian.org>
6195
6196         * text.C (Delete): fix case where delete at the end of
6197           the very first paragraph would not merge the pars
6198
6199 2003-02-17  John Levon  <levon@movementarian.org>
6200
6201         * lyxrow.C: fix lastPrintablePos()
6202
6203 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6204
6205         * bufferparams.C (writeLaTeX): add a std:here
6206
6207         * buffer.C: and remove a using directive there
6208
6209 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6210
6211         * buffer.C (makeLaTeXFile): move the code that generates the
6212           preamble...
6213
6214         * bufferparams.C (writeLaTeX): ... in this new method
6215
6216         * LaTeXFeatures.C (getEncodingSet): make const
6217           (getLanguages): make const
6218
6219         * MenuBackend.C (binding): returns the binding associated to this
6220           action
6221           (add): sets the status of each item by calling getStatus. Adds
6222           some intelligence.
6223           (read): add support for OptSubMenu
6224           (expand): remove extra separator at the end of expanded menu
6225
6226 2003-02-15  John Levon  <levon@movementarian.org>
6227
6228         * BufferView.C:
6229         * BufferView_pimpl.C:
6230         * bufferlist.h:
6231         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6232           inset code that had no actual effect. Remove unneeded status
6233           code.
6234
6235 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6236
6237         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6238           in preamble
6239
6240 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6241
6242         * text.C (drawLengthMarker): also draw an arrow marker for
6243           symbolic lengths (medskip...)
6244
6245 2003-02-14  John Levon  <levon@movementarian.org>
6246
6247         * tabular.h:
6248         * tabular.C: better method names
6249
6250 2003-02-14  John Levon  <levon@movementarian.org>
6251
6252         * BufferView_pimpl.C:
6253         * bufferlist.C:
6254         * buffer.C:
6255         * converter.C:
6256         * lyx_cb.C:
6257         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6258           it's a more accurate name. Remove some pointless uses.
6259
6260 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6261
6262         * text2.C (LyXText): change order of initilizers to shut off
6263           warnings
6264
6265 2003-02-14  John Levon  <levon@movementarian.org>
6266
6267         * buffer.C: use ParIterator for getParFromID()
6268
6269         * paragraph.h:
6270         * paragraph.C:
6271         * paragraph_pimpl.h:
6272         * paragraph_pimpl.C: remove unused getParFromID()
6273
6274 2003-02-14  John Levon  <levon@movementarian.org>
6275
6276         * buffer.C: remove some very old #if 0'd parse code
6277
6278 2003-02-13  John Levon  <levon@movementarian.org>
6279
6280         * text.h:
6281         * text.C:
6282         * text2.C: move hfillExpansion(), numberOfSeparators(),
6283           rowLast(), rowLastPrintable(), numberofHfills(),
6284           numberOfLabelHfills() ...
6285
6286         * lyxrow.h:
6287         * lyxrow.C: ... to member functions here.
6288
6289         * paragraph.h:
6290         * paragraph.C:
6291         * lyxtext.h:
6292         * text.C: remove LyXText::beginningOfMainBody(), and call
6293           p->beginningOfMainBody() directly. Move the check for
6294           LABEL_MANUAL into the latter.
6295
6296         * text.h:
6297         * text.C:
6298         * text2.C:
6299         * vspace.C:
6300         * BufferView.h:
6301         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6302
6303         * text.h:
6304         * text.C:
6305         * text2.C:
6306         * text3.C:
6307         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6308           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6309
6310 2003-02-13  John Levon  <levon@movementarian.org>
6311
6312         * CutAndPaste.C: remove debug
6313
6314 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6315
6316         * paragraph.C (asString): remove two unused variables
6317
6318         * lyxtextclass.C (readTitleType):
6319           (Read):
6320           (LyXTextClass): handle new members titletype_ and titlename_
6321
6322         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6323
6324 2003-02-09  John Levon  <levon@movementarian.org>
6325
6326         * buffer.h:
6327         * buffer.C: replace hand-coded list with a map for the dep clean
6328
6329 2003-02-08  John Levon  <levon@movementarian.org>
6330
6331         * LaTeX.C: consolidate code into showRunMessage() helper
6332
6333 2003-02-08  John Levon  <levon@movementarian.org>
6334
6335         * lyxfind.C:
6336         * lyxtext.h:
6337         * text2.C:
6338         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6339           and pass the size in explicitly
6340
6341         * BufferView_pimpl.h:
6342         * BufferView_pimpl.C:
6343         * BufferView.h:
6344         * BufferView.C: add getCurrentChange()
6345
6346         * BufferView_pimpl.h:
6347         * BufferView_pimpl.C: handle change lfuns
6348
6349         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6350           for changes. Mark pasted paragraphs as new.
6351
6352         * support/lyxtime.h:
6353         * support/lyxtime.C:
6354         * DepTable.C: abstract time_t as lyx::time_type
6355
6356         * LColor.h:
6357         * LColor.C: add colours for new text, deleted text, changebars
6358
6359         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6360           package use "usenames" option.
6361
6362         * commandtags.h:
6363         * lyxfunc.C:
6364         * LyXAction.C: add change lfuns
6365
6366         * Makefile.am:
6367         * author.h:
6368         * author.C: author handling
6369
6370         * buffer.h:
6371         * buffer.C: add a per-buffer author list, with first entry as
6372           current author. Handle new .lyx tokens for change tracking. Output
6373           author list to .lyx file. Output dvipost stuff to .tex preamble.
6374           Bump lyx format to 222.
6375
6376         * bufferlist.h:
6377         * bufferlist.C: add setCurrentAuthor() to reset current author details
6378           in all buffers.
6379
6380         * bufferparams.h:
6381         * bufferparams.C: add param for tracking
6382
6383         * bufferview_funcs.C: output change info in minibuffer
6384
6385         * Makefile.am:
6386         * changes.h:
6387         * changes.C: add change-tracking structure
6388
6389         * debug.h:
6390         * debug.C: add CHANGES debug flag
6391
6392         * lyxfind.h:
6393         * lyxfind.C: add code for finding the next change piece
6394
6395         * lyxrc.h:
6396         * lyxrc.C: add user_name and user_email
6397
6398         * lyxrow.h:
6399         * lyxrow.C: add a metric for the top of the text line
6400
6401         * lyxtext.h:
6402         * text.C: implement accept/rejectChange()
6403
6404         * lyxtext.h:
6405         * text.C: paint changebars. Paint new/deleted text in the chosen
6406         colours. Strike through deleted text.
6407
6408         * paragraph.h:
6409         * paragraph.C:
6410         * paragraph_pimpl.h:
6411         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6412           in the current change to the insert functions. Rework erase to
6413           mark text as deleted, adding an eraseIntern() and a range-based
6414           erase(). Implement per-paragraph change lookup and
6415           accept/reject.
6416
6417         * paragraph_funcs.C: Fixup paste for change tracking.
6418
6419         * tabular.C: mark added row/columns as new.
6420
6421         * text.C: fix rowLast() to never return -1. Don't allow
6422           spellchecking of deleted text. Track transpose changes. Don't
6423           allow paragraph break or merge where appropriate.
6424
6425         * text2.C: leave cursor at end of selection after a cut.
6426
6427 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6428
6429         * text.C (getLengthMarkerHeight):
6430         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6431         visible on screen too.
6432
6433 2003-02-07  John Levon  <levon@movementarian.org>
6434
6435         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6436
6437 2003-02-05  Angus Leeming  <leeming@lyx.org>
6438
6439         * lyxserver.C (read_ready): revert my patch of 11 September last year
6440         as it sends PC cpu through the roof. Presumably this means that
6441         the lyxserver will no longer run on an Alpha...
6442
6443 2003-01-30  Angus Leeming  <leeming@lyx.org>
6444
6445         * factory.C (createInset): create an InsetCommandParam of type "index"
6446         and use it to 'do the right thing'.
6447
6448         * text2.C (getStringToIndex): ensure that cursor position is always
6449         reset to the reset_cursor position.
6450
6451 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6452
6453         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6454         disabled.
6455
6456 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6457
6458         * bufferview.C:
6459         * lyxcb.C:
6460         * lyxfunc.C: Output messages with identical spelling, punctuation,
6461         and spaces
6462
6463 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6464
6465         * MenuBackend.C (expandFormats): List only viewable export formats
6466         in "View" menu
6467
6468         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6469         message
6470
6471         * lyxfunc.C (getStatus): Make sure that formats other than
6472         "fax" can also be disabled
6473
6474 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6475
6476         * text3.C (dispatch): put the lfuns that insert insets in 3
6477         groups, and call doInsertInset with appropriate arguments.
6478         (doInsertInset): new function, that creates an inset and inserts
6479         it according to some boolean parameters.
6480
6481 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * buffer.C (readFile): remember to pass on 'par' when calling
6484         readFile recursively.
6485
6486 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6487
6488         * MenuBackend.C (expandFormats): add "..." to import formats.
6489
6490 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6491
6492         * paragraph.C (asString): Remove XForms RTL hacks.
6493
6494 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6495         * buffer.C: fix typo
6496
6497 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * Makefile.am (LIBS): delete var
6500         (lyx_LDADD): add @LIBS@ here instead.
6501
6502 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6503
6504         * Clarify the meaning of "wheel mouse jump"
6505
6506 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6507
6508         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6509         tabular in a float
6510
6511 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6512
6513         * importer.C (Loaders): do not preallocate 3 elements in the
6514         vector, since one ends up with 6 elements otherwise
6515
6516 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6517
6518         * DepTable.C (write): write the file name as last element of the
6519         .dep file (because it may contain spaces)
6520         (read): read info in the right order
6521
6522 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6523
6524         * paragraph_pimpl.C (simpleTeXBlanks):
6525         (simpleTeXSpecialChars):
6526         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6527
6528         * tabular.C (latex): add some missing case statements. Reindent.
6529
6530         * MenuBackend.C (expandToc): remove unused variable.
6531
6532 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6533
6534         * LColor.C:
6535         * LaTeX.C:
6536         * LyXAction.C:
6537         * MenuBackend.C:
6538         * buffer.C:
6539         * exporter.C:
6540         * lyxfunc.C:
6541         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6542         and the like.
6543
6544 2003-01-05  John Levon  <levon@movementarian.org>
6545
6546         * BufferView.h:
6547         * BufferView.C: add getEncoding()
6548
6549         * kbsequence.h:
6550         * kbsequence.C: do not store last keypress
6551
6552         * lyxfunc.h:
6553         * lyxfunc.C: store last keypress here instead. Pass encoding
6554           to getISOEncoded()
6555
6556 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6557
6558         * lyx_main.C (init): remove annoying error message when following
6559         symbolic links (bug #780)
6560
6561 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6562
6563         * text.C (insertChar):
6564         * lyxrc.C (getDescription): remove extra spaces
6565
6566 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6567
6568         * lyxrc.C (getDescription): remove extra spaces
6569
6570 2002-12-20  John Levon  <levon@movementarian.org>
6571
6572         * text3.C: hack fix for page up/down across tall rows
6573
6574 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6575
6576         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6577         not been invoked
6578
6579 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6580
6581         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6582         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6583         thesaurus is not compiled in
6584
6585 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6586
6587         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6588
6589 2002-12-16  Angus Leeming  <leeming@lyx.org>
6590
6591         * lyxrc.[Ch]:
6592         * lyx_main.C (init): remove override_x_deadkeys stuff.
6593
6594 2002-12-12  John Levon  <levon@movementarian.org>
6595
6596         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6597           insert. Only remove shift modifier under strict
6598           circumstances.
6599
6600 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * MenuBackend.C (expandToc): fix crash.
6603
6604 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * MenuBackend.C (expandToc): gettext on float names.
6607
6608 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6609
6610         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6611         implement bool empty() [bug 490]
6612
6613 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6616
6617 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * several files: ws changes
6620
6621 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * text2.C (setCounter): clean up a bit, use boost.format.
6624         (updateCounters): initialize par upon declaration.
6625
6626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6627         if the layout exists. We do not just store the layout any more.
6628         (SwitchLayoutsBetweenClasses): use boost.format
6629
6630 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6631
6632         * converter.C (convert): if from and to files are the same, use a
6633         temporary files as intermediary
6634
6635 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6636
6637         * commandtags.h:
6638         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6639
6640 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6641
6642         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6643
6644 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * tabular.C (asciiPrintCell): use string(size, char) instead of
6647         explicit loop.
6648
6649         * sgml.C (openTag): fix order of arguments to string constructor
6650         (closeTag): ditto
6651
6652         * lyxfunc.C (dispatch): use boost.format
6653
6654         * lots of files: change "c" -> 'c'
6655
6656 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6657
6658         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6659
6660 2002-11-25  Angus Leeming  <leeming@lyx.org>
6661
6662         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6663
6664         * lyx_main.C (init): compile fix.
6665
6666 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * lyx_cb.C (start): boost.formatify
6669         do not include <iostream>
6670
6671         * lengthcommon.C: ws only
6672
6673         * boost-inst.C,BoostFormat.h: add more explict instantations
6674
6675 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * lots of files: handle USE_BOOST_FORMAT
6678
6679 2002-11-21  John Levon  <levon@movementarian.org>
6680
6681         * pspell.C: fix compile
6682
6683 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6684
6685         * lyxfunc.C (dispatch): use boost::format
6686         (open): ditto
6687         (doImport): ditto
6688
6689         * lyxfont.C (stateText): use boost::format
6690
6691         * lyx_main.C (LyX): use boost::format
6692         (init): ditto
6693         (queryUserLyXDir): ditto
6694         (readRcFile): ditto
6695         (parse_dbg): ditto
6696         (typedef boost::function): use the recommened syntax.
6697
6698         * importer.C (Import): use boost::format
6699
6700         * debug.C (showLevel): use boost::format
6701
6702         * converter.C (view): use boost::format
6703         (convert): ditto
6704         (move): ditto
6705         (scanLog): ditto
6706
6707         * bufferview_funcs.C (currentState): use boost::format
6708
6709         * bufferlist.C (emergencyWrite): use boost::format
6710
6711         * buffer.C (readLyXformat2): use boost::format
6712         (parseSingleLyXformat2Token): ditto
6713
6714         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6715
6716         * LaTeX.C (run): use boost::format
6717
6718         * Chktex.C (scanLogFile): use boost::format
6719
6720         * BufferView_pimpl.C (savePosition): use boost::format
6721         (restorePosition): ditto
6722         (MenuInsertLyXFile): ditto
6723
6724         * BoostFormat.h: help file for explicit instation.
6725
6726 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6727
6728         * tabular.C (latex): Support for block alignment in fixed width
6729         columns.
6730
6731 2002-11-17  John Levon  <levon@movementarian.org>
6732
6733         * BufferView_pimpl.C:
6734         * lyx_cb.C:
6735         * lyxfunc.C: split filedialog into open/save
6736
6737 2002-11-08  Juergen Vigna  <jug@sad.it>
6738
6739         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6740         by my last patch (hopefully).
6741
6742 2002-11-08  John Levon  <levon@movementarian.org>
6743
6744         * iterators.h:
6745         * iterators.C:
6746         * buffer.h:
6747         * buffer.C:
6748         * paragraph.h:
6749         * paragraph.C:
6750         * toc.h:
6751         * toc.C: ParConstIterator, and use it (from Lars)
6752
6753 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6754
6755         * lyxtextclass.[Ch]: revise and add doxygen comments
6756
6757 2002-11-07  John Levon  <levon@movementarian.org>
6758
6759         * text.C: fix progress value for spellchecker
6760
6761         * toc.C: fix navigate menu for insetwrap inside minipage
6762
6763         * paragraph_funcs.C: added FIXME for suspect code
6764
6765 2002-11-07  John Levon  <levon@movementarian.org>
6766
6767         * BufferView_pimpl.C: fix redrawing of insets
6768           on buffer switch
6769
6770 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6771
6772         * text2.C (updateCounters): fix bug 668
6773
6774 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6775
6776         * text3.C (dispatch): Do not make the buffer dirty when moving the
6777         cursor.
6778
6779 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * vc-backend.C: STRCONV
6782         (scanMaster): ditto
6783
6784         * text2.C (setCounter): STRCONV
6785
6786         * paragraph.C (asString): STRCONV
6787
6788         * lyxlength.C (asString): STRCONV
6789         (asLatexString): ditto
6790
6791         * lyxgluelength.C (asString): STRCONV
6792         (asLatexString): ditto
6793
6794         * lyxfunc.C (dispatch): STRCONV
6795         (open): ditto
6796
6797         * lyxfont.C (stateText): STRCONV
6798
6799         * importer.C (Import): STRCONV
6800
6801         * counters.C (labelItem): STRCONV
6802         (numberLabel): ditto
6803         (numberLabel): remove unused ostringstream o
6804
6805         * chset.C: STRCONV
6806         (loadFile): ditto
6807
6808         * bufferview_funcs.C (currentState): STRCONV
6809
6810         * buffer.C (readFile): STRCONV
6811         (asciiParagraph): ditto
6812         (makeLaTeXFile): ditto
6813
6814         * Spacing.C (writeEnvirBegin): STRCONV
6815
6816         * LaTeXFeatures.C (getLanguages): STRCONV
6817         (getPackages): ditto
6818         (getMacros): ditto
6819         (getBabelOptions): ditto
6820         (getTClassPreamble): ditto
6821         (getLyXSGMLEntities): ditto
6822         (getIncludedFiles): ditto
6823
6824         * LaTeX.C: STRCONV
6825         (run): ditto
6826         (scanAuxFile): ditto
6827         (deplog): ditto
6828
6829         * LString.h: add the STRCONV macros
6830
6831         * BufferView_pimpl.C (savePosition): STRCONV
6832         (restorePosition): ditto
6833         (MenuInsertLyXFile): ditto
6834
6835         * vc-backend.C (scanMaster): change from submatch[...] to
6836         submatch.str(...)
6837
6838         * funcrequest.C: include config.h
6839
6840         * factory.C: include config.h
6841
6842         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6843
6844         * box.C: include config.h
6845
6846         * LaTeX.C (scanAuxFile): change from submatch[...] to
6847         submatch.str(...)
6848         (deplog): ditto
6849
6850 2002-10-25  Angus Leeming  <leeming@lyx.org>
6851
6852         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6853
6854         * ispell.[Ch] (setError): new method.
6855         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6856         Use setError() insetead of goto END.
6857
6858         * lyx_cb.C (AutoSave): move out child process into new class
6859         AutoSaveBuffer.
6860
6861 2002-10-30  John Levon  <levon@movementarian.org>
6862
6863         * text3.C: make start appendix undoable
6864
6865 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6866
6867         * lyxlength.C (inPixels): Fix returned value.
6868
6869         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6870         environment.
6871
6872 2002-10-24  Angus Leeming  <leeming@lyx.org>
6873
6874         * lyxgluelength.h: no need to forward declare BufferParams
6875         or BufferView, so don't.
6876
6877 2002-10-21  John Levon  <levon@movementarian.org>
6878
6879         * BufferView.C: menuUndo ->undo, redo
6880
6881         * BufferView.h: document, remove dead, make some methods private
6882
6883         * paragraph_funcs.h:
6884         * paragraph_funcs.C:
6885         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6886
6887         * buffer.h:
6888         * buffer.C:
6889         * sgml.h:
6890         * sgml.C: move sgml open/close tag into sgml.C
6891
6892         * bufferview_funcs.h: unused prototype
6893
6894         * lyxfunc.h:
6895         * lyxfunc.C: remove unused
6896
6897         * lyxtext.h:
6898         * text.C: remove unused
6899
6900 2002-10-21  John Levon  <levon@movementarian.org>
6901
6902         * BufferView.h:
6903         * BufferView.C:
6904         * BufferView_pimpl.h:
6905         * BufferView_pimpl.C: fix mouse wheel handling based on
6906           patch from Darren Freeman
6907
6908 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6909
6910         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6911
6912 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6913
6914         * lyxlength.C (inPixels): Fix hanfling of negative length.
6915         Fix LyXLength::MU case.
6916
6917 2002-10-16  John Levon  <levon@movementarian.org>
6918
6919         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6920
6921 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6922
6923         * converter.C (view): add support for $$i (file name) and $$p
6924         (file path) for the viewer command. If $$i is not specified, then
6925         it is appended to the command (for compatibility with old syntax)
6926
6927 2002-10-14  Juergen Vigna  <jug@sad.it>
6928
6929         * undo_funcs.C (textHandleUndo): alter the order in which the
6930         new undopar is added to the LyXText, as we have to set first
6931         the right prev/next and then add it as otherwise the rebuild of
6932         LyXText is not correct. Also reset the cursor to the right paragraph,
6933         with this IMO we could remove the hack in "redoParagraphs()".
6934
6935 2002-10-09  Angus Leeming  <leeming@lyx.org>
6936
6937         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6938         to turn off an optimisation if a new inset is to be inserted.
6939
6940 2002-10-11 André Pönitz <poenitz@gmx.net>
6941
6942         * lyxtext.h: make some functions public to allow access
6943         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6944
6945 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6946
6947         * text3.C (dispatch): when changing layout, avoid an infinite loop
6948         [bug #652]
6949
6950 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6951
6952         * lyxrc.C (read): treat a viewer or converter command of "none" as
6953         if it were empty.
6954
6955         * MenuBackend.C (expandFormats): for an update, also allow the
6956         formats that are not viewable
6957
6958         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6959         script if it is newer than the lyxrc.defaults in user directory
6960
6961 2002-10-07 André Pönitz <poenitz@gmx.net>
6962
6963         * text.C: Vitaly Lipatov's small i18n fix
6964
6965 2002-09-25  Angus Leeming  <leeming@lyx.org>
6966
6967         * ispell.h: doxygen fix.
6968
6969 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6970
6971         * buffer.h (readFile): Add a new argument to the method, to allow
6972         reading of old-format templates.
6973
6974 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6975
6976         * toc.C (getTocList): Get TOC from InsetWrap.
6977
6978 2002-09-16  John Levon  <levon@movementarian.org>
6979
6980         * lyxfunc.C: check tabular for cut/copy too
6981
6982 2002-09-12  John Levon  <levon@movementarian.org>
6983
6984         * LyXAction.C: tidy
6985
6986         * factory.h:
6987         * factory.C: add header
6988
6989         * paragraph_funcs.h:
6990         * paragraph_funcs.C: cleanup
6991
6992 2002-09-11  John Levon  <levon@movementarian.org>
6993
6994         * PrinterParams.h: odd/even default to true
6995
6996 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6997
6998         * PrinterParams.h: update printer parameters for new xforms dialog
6999
7000 2002-09-11  Angus Leeming  <leeming@lyx.org>
7001
7002         * lyxserver.C (read_ready): re-write to make it more transparent
7003         and to make it work in coherent fashion under Tru64 Unix.
7004
7005 2002-09-11  André Pönitz <poenitz@gmx.net>
7006
7007         * commandtags.h:
7008         * LyXAction.C:
7009         * text3.C: implement LFUN_WORDSEL
7010
7011 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7014         make floatlist_ a boost::shared_ptr<FloatList>
7015
7016         * lyxtextclass.C: include FloatList.h
7017         (LyXTextClass): initialize floatlist_
7018         (TextClassTags): add TC_NOFLOAT
7019         (Read): match "nofloat" to TC_NOFLOAT and use it.
7020         (readFloat): modify call to floatlist_
7021         (floats): ditto
7022         (floats): ditto
7023
7024         * FloatList.[Ch] (FloatList): remove commented out float
7025         initialization.
7026         (erase): new function
7027
7028 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7029
7030         * MenuBackend.C (expandToc): fix crash when there is no document
7031         open
7032
7033 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7034
7035         * many files: Add insetwrap.
7036
7037 2002-09-09  John Levon  <levon@movementarian.org>
7038
7039         * text2.C: remove confusing and awkward depth wraparound
7040
7041 2002-09-09  John Levon  <levon@movementarian.org>
7042
7043         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7044
7045         * buffer.h:
7046         * buffer.C: remove getIncludeonlyList()
7047
7048         * paragraph.C:
7049         * lyxfunc.C: remove headers
7050
7051 2002-09-09  Juergen Vigna  <jug@sad.it>
7052
7053         * text.C (getColumnNearX): fix form Michael this is most
7054         probably a cut&paste bug.
7055
7056 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7059
7060         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7061         references, ws changes.
7062
7063         * text2.C (init): update counters after init
7064         (insertParagraph): no need to set counter on idividual paragraphs.
7065         (setCounter): access the counters object in the textclass object
7066         on in the buffer object.
7067         (updateCounters): ditto
7068
7069         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7070         shared_ptr<Counters> to avoid loading counters.h in all
7071         compilation units.
7072         (LyXTextClass): initialize ctrs_
7073         (TextClassTags): add TC_COUNTER, and ...
7074         (Read): use it here.
7075         (CounterTags): new tags
7076         (readCounter): new function
7077         (counters): new funtion
7078         (defaultLayoutName): return a const reference
7079
7080         * counters.C (Counters): remove contructor
7081         (newCounter): remove a couple of unneeded statements.
7082         (newCounter): simplify a bit.
7083         (numberLabel): some small formatting changes.
7084
7085         * buffer.[Ch]: remove all traces of counters, move the Counters
7086         object to the LyXTextClass.
7087
7088 2002-09-06  Alain Castera  <castera@in2p3.fr>
7089
7090         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7091         package to set the horizontal alignment on fixed width columns.
7092
7093         * lyx_sty.C:
7094         * lyx_sty.h: added tabularnewline macro def.
7095
7096         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7097
7098 2002-09-06  John Levon  <levon@movementarian.org>
7099
7100         * LyXAction.C: tooltips for sub/superscript
7101
7102         * MenuBackend.C: a bit more verbose
7103
7104         * lyxfunc.C: tiny clean
7105
7106         * undo_funcs.C: document undo_frozen
7107
7108 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * counters.C (Counters): add missing algorithm counter.
7111
7112         * text2.C (setCounter): lookup the counter with layouts latexname
7113         instead of by section number.
7114         (setCounter): use a hackish way to lookup the correct enum
7115         counter.
7116         a float name->type change
7117         reset enum couners with counter name directly instead of depth value.
7118
7119         * counters.C (Counters): remove the push_backs, change to use the
7120         float type not the float name.
7121         (labelItem): remove unused string, float name->type change
7122
7123         * counters.h: don't include vector, loose the enums and sects vectors
7124
7125 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7128         (Read): add float->TC_FLOAT to textclassTags
7129         (Read): and handle it in the switch
7130         (readFloat): new function
7131
7132         * FloatList.C (FloatList): comment out the hardcoded float
7133         definitions.
7134
7135         * lyxlayout.h: ws change.
7136
7137 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7138
7139         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7140
7141 2002-09-03  Angus Leeming  <leeming@lyx.org>
7142
7143         * BufferView_pimpl.h: qualified name is not allowed in member
7144         declaration: WorkArea & Pimpl::workarea() const;
7145
7146         * factory.C: added using std::endl directive.
7147
7148         * text3.C: added using std::find and std::vector directives.
7149
7150 2002-08-29  André Pönitz <poenitz@gmx.net>
7151
7152         * lyxtext.h:
7153         * text2.C: remove unused member number_of_rows
7154
7155         * Makefile.am:
7156         * BufferView2.C: remove file, move contents to...
7157         * BufferView.C: ... here
7158
7159         * BufferView_pimpl.C:
7160         * factory.C: move more inset creation to factory
7161
7162         * vspace.C: avoid direct usage of LyXText, ws changes
7163
7164         * BufferView.[Ch]:
7165                 don't provide direct access to WorkArea, use two simple
7166                 acessors haveSelction() and workHeight() instead
7167
7168
7169 2002-08-29  John Levon  <levon@movementarian.org>
7170
7171         * BufferView_pimpl.C (dispatch): do not continue when
7172           no buffer
7173
7174 2002-08-28  André Pönitz <poenitz@gmx.net>
7175
7176         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7177
7178         * BufferView.h:
7179         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7180
7181 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7182
7183         * buffer.C: increment LYX_FORMAT to 221
7184
7185         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7186         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7187
7188         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7189
7190         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7191
7192 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7193
7194         * factory.C (createInset): use LyXTextClass::floats
7195
7196         * MenuBackend.C (expandFloatListInsert):
7197         (expandFloatInsert):
7198         (expandToc):
7199
7200         * text2.C (setCounter):
7201
7202         * LaTeXFeatures.C (useFloat):
7203         (getFloatDefinitions):
7204
7205         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7206
7207         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7208         floatlist_, with accessor floats().
7209
7210         * FloatList.h: remove global FloatList
7211
7212 2002-08-26  André Pönitz <poenitz@gmx.net>
7213
7214         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7215
7216         * BufferView.h:
7217         * BufferView2.C:
7218         * BufferView_pimpl.C:
7219         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7220
7221 2002-08-25  John Levon  <levon@movementarian.org>
7222
7223         * LyXAction.C: fix margin note description
7224
7225 2002-08-24  John Levon  <levon@movementarian.org>
7226
7227         * buffer.C:
7228         * bufferlist.C:
7229         * bufferview_funcs.C:
7230         * lyxfont.C:
7231         * undo_funcs.C: cleanups
7232
7233         * lyxfunc.C: disable CUT/COPY when no selection
7234
7235 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7236
7237         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7238         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7239
7240         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7241         Add backward compatibility to "mono", "gray" and "no".
7242
7243 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7244
7245         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7246         (and file_format >= 200).
7247
7248 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7249
7250         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7251
7252 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7253
7254         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7255
7256 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7257
7258         * BufferView_pimpl.C:
7259         * LyXAction.C:
7260         * buffer.C:
7261         * commandtags.h:
7262         * lyxfunc.C:
7263         * paragraph.[Ch]:
7264         * text2.C:
7265         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7266         inset and code to make it  work with the paragraph code. The inset
7267         can be anywhere in the paragraph, but will only do the expected
7268         thing in LaTeX if the layout file contains the parameter line
7269                         OptionalArgs    1
7270         (or more generally, a nonzero value) for that layout.
7271
7272 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * paragraph.h: remove the declaration of undefined counters class
7275         function.
7276
7277 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7278
7279         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7280         Dr. Richard Hawkins.
7281
7282 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7283
7284         * paragraph_funcs.h: remove some unneeded includes
7285
7286         * text.C (backspace): pasteParagraph now in global scipe
7287
7288         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7289         (pasteSelection): ditto
7290
7291         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7292         * paragraph_funcs.C (pasteParagraph): ... here
7293
7294 2002-08-20  André Pönitz <poenitz@gmx.net>
7295
7296         * commandtags.h: new LFUNs for swapping/copying table row/colums
7297
7298         * LyXAction.C:
7299         * lyxfunc.C: support for new lfuns
7300
7301 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * tabular.C:
7304         * buffer.[Ch]: remove NO_COMPABILITY stuff
7305
7306 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * boost.C (throw_exception): new file, with helper function for
7309         boost compiled without exceptions.
7310
7311         * paragraph.h:
7312         * lyxlength.C:
7313         * buffer.C:
7314         * ParameterStruct.h:
7315         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7316
7317         * bufferlist.C (emergencyWriteAll): use boost bind
7318
7319         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7320
7321         * text.C: include paragraph_funcs.h
7322         (breakParagraph): breakParagraph is now in global scope
7323
7324         * paragraph_funcs.[Ch]: new files
7325
7326         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7327         global scope
7328
7329         * buffer.C: include paragraph_funcs.h
7330         (insertStringAsLines): breakParagraph is now in global scope
7331
7332         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7333         paragraph_funcs.C
7334
7335         * CutAndPaste.C: include paragraph_funcs.h
7336         (cutSelection): breakParagraphConservative is now in global scope
7337         (pasteSelection): ditto
7338
7339         * buffer.h: declare oprator== and operator!= for
7340         Buffer::inset_iterator
7341
7342         * bufferlist.C (emergencyWrite): don't use fmt(...)
7343
7344         * text3.C: add using std::endl
7345
7346         * BufferView.C (moveCursorUpdate): remove default arg
7347
7348 2002-08-20  André Pönitz <poenitz@gmx.net>
7349
7350         * buffer.[Ch]: move inline functions to .C
7351
7352         * BufferView2.C:
7353         * BufferView_pimpl.C:
7354         * text.C:
7355         * buffer.[Ch]: use improved inset_iterator
7356
7357         * buffer.C:
7358         * paragraph.[Ch]: write one paragraph at a time
7359
7360 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7361
7362         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7363         style if style is not specified.
7364
7365 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7366
7367         * text2.C (setCounter): when searching for right label for a
7368         caption, make sure to recurse to parent insets (so that a caption
7369         in a minipage in a figure float works) (bug #568)
7370
7371 2002-08-20  André Pönitz <poenitz@gmx.net>
7372
7373         * text3.C: new file for LyXText::dispatch() and helpers
7374
7375         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7376
7377         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7378
7379 2002-08-19  André Pönitz <poenitz@gmx.net>
7380
7381         * lyxtext.h:
7382         * text.C: new LyXText::dispatch()
7383
7384         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7385
7386 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7387
7388         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7389
7390         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7391         Hebrew text.
7392
7393 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7394
7395         * Makefile.am: use $(variables) instead of @substitutions@
7396
7397 2002-08-15  André Pönitz <poenitz@gmx.net>
7398
7399         * lyxfunc.C:
7400         * BufferView_pimpl.C: streamlining mathed <-> outer world
7401         interaction
7402
7403         * commandtags.h:
7404         * LyXAction.C: remove unused LFUN_MATH
7405
7406 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7409
7410 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * paragraph.C (Paragraph): reformat a bit
7413         (cutIntoMinibuffer): use builtin InsetList function instad of
7414         doing it manually.
7415         (getInset): ditto
7416
7417         * buffer.C: include boost/bind.hpp, add using std::for_each
7418         (writeFileAscii): use ParagraphList iterators
7419         (validate): use for_each for validate traversal of paragraphs
7420         (getBibkeyList): use ParagraphList iterators
7421         (resizeInsets): use for_each to resizeInsetsLyXText for all
7422         paragraphs.
7423         (getParFromID): use ParagraphList iterators
7424
7425         * BufferView2.C (lockInset): use paragraph list and iterators
7426
7427 2002-08-14  John Levon  <levon@movementarian.org>
7428
7429         * lyxserver.C: remove spurious xforms include
7430
7431 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7432
7433         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7434
7435 2002-08-13  André Pönitz <poenitz@gmx.net>
7436
7437         * LyXAction.[Ch]:
7438         * lyxfunc.C: further cleaning
7439
7440 2002-08-13  André Pönitz <poenitz@gmx.net>
7441
7442         * funcrequest.h: new constructor
7443
7444         * funcrequest.C: move stuff here from .h
7445
7446         * Makefile.am:
7447         * BufferView_pimpl.C:
7448         * LyXAction.C:
7449         * toc.C:
7450         * lyxfunc.C: subsequent changes
7451
7452         * lyxfunc.h: new view() member function
7453
7454         * lyxfunc.C: subsequent changes
7455
7456 2002-08-13  Angus Leeming  <leeming@lyx.org>
7457
7458         * BufferView2.C:
7459         * BufferView_pimpl.C:
7460         * buffer.C:
7461         * converter.C:
7462         * importer.C:
7463         * lyxfunc.C:
7464         * lyxvc.C:
7465         * toc.C:
7466         * vc-backend.C:
7467         changes due to the changed LyXView interface that now returns references
7468         to member variables not pointers.
7469
7470 2002-08-13  Angus Leeming  <leeming@lyx.org>
7471
7472         * WordLangTuple (word, lang_code): return references to strings,
7473         not strings.
7474
7475         * BufferView.h:
7476         * SpellBase.h:
7477         * lyxtext.h: forward-declare WordLangTuple.
7478
7479         * BufferView2.C:
7480         * ispell.C:
7481         * pspell.C:
7482         * text.C: #include "WordLangTuple.h".
7483
7484         * lyxtext.h:
7485         * text.C: (selectNextWordToSpellcheck): constify return type.
7486
7487 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7488
7489         * buffer.C:
7490         * buffer.h:
7491         * lyxtext.h:
7492         * paragraph.C:
7493         * paragraph_pimpl.h:
7494         * text.C:
7495         * text2.C:
7496         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7497         suggested by Angus.
7498         Made updateCounter always count from start of buffer, and removed
7499         second argument (par).
7500         Reverted floats number display to '#'. Perhaps I'll try again when the
7501         code base is sanitized a bit.
7502
7503 2002-08-12  Angus Leeming  <leeming@lyx.org>
7504
7505         * buffer.[Ch] (getLabelList): constify.
7506
7507 2002-08-07  André Pönitz <poenitz@gmx.net>
7508
7509         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7510
7511         * funcrequest.h: extension to keep mouse (x,y) position
7512
7513 2002-08-12  Juergen Vigna  <jug@sad.it>
7514
7515         * BufferView2.C (insertErrors): forbid undo when inserting error
7516         insets.
7517
7518         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7519
7520 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * ParagraphList.[Ch]: new files
7523
7524         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7525
7526         * BufferView2.C (lockInset): ParagraphList changes
7527         * toc.C: ditto
7528         * text2.C: ditto
7529         * bufferlist.C: ditto
7530         * buffer.h: ditto
7531         * buffer.C: ditto
7532
7533 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7536         unused class variable counter_,
7537
7538         * paragraph.[Ch] (getFirstCounter): delete unused function
7539
7540         * counters.C: include LAssert.h
7541         (reset): add a new function with no arg, change other version to
7542         not have def. arg and to not allow empty arg.
7543
7544         * text2.C (setCounter): remove empty arg from call to Counters::reset
7545
7546 2002-08-11  John Levon  <levon@movementarian.org>
7547
7548         * Makefile.am: add WordLangTuple.h
7549
7550 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7553         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7554
7555         * insets/insettext.C: InsetList changes
7556
7557         * graphics/GraphicsSupport.C (operator()): InsetList changes
7558
7559         * toc.C (getTocList): InsetList changes
7560
7561         * paragraph_pimpl.[Ch]: InsetList changes
7562
7563         * paragraph.[Ch]: InsetList changes
7564
7565         * buffer.C (inset_iterator): InsetList changes
7566         (setParagraph): ditto
7567         * buffer.h (inset_iterator): ditto
7568         * iterators.C (operator++): ditto
7569         * iterators.h: ditto
7570
7571         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7572
7573         * InsetList.[Ch]: new files, most InsetList handling moved out of
7574         paragraph.C.
7575
7576         * BufferView2.C (removeAutoInsets): InsetList changes
7577         (lockInset): ditto
7578         (ChangeInsets): ditto
7579
7580 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * paragraph_pimpl.h (empty): new function
7583
7584         * paragraph.[Ch] (empty): new function
7585
7586         * other files: use the new Paragraph::empty function
7587
7588 2002-08-09  John Levon  <levon@movementarian.org>
7589
7590         * lyxtext.h: remove unused refresh_height
7591
7592 2002-08-09  John Levon  <levon@movementarian.org>
7593
7594         * Makefile.am:
7595         * sgml.h:
7596         * sgml.C:
7597         * buffer.C:
7598         * paragraph.h:
7599         * paragraph.C: move sgml char escaping out of paragraph
7600
7601         * paragraph.h:
7602         * paragraph.C: remove id setter
7603
7604         * buffer.C:
7605         * paragraph.C:
7606         * paragraph_pimpl.C: remove dead tex_code_break_column
7607
7608         * bufferview_funcs.C: small cleanup
7609
7610         * lyxfunc.C: remove dead proto
7611
7612         * lyxtext.h: make some stuff private. Remove some dead stuff.
7613
7614         * lyxgluelength.C: make as[LyX]String() readable
7615
7616 2002-08-08  John Levon  <levon@movementarian.org>
7617
7618         * LyXAction.h:
7619         * LyXAction.C:
7620         * MenuBackend.C:
7621         * ToolbarDefaults.C:
7622         * lyxfunc.C:
7623         * lyxrc.C:
7624         * toc.C: lyxaction cleanup
7625
7626 2002-08-08  John Levon  <levon@movementarian.org>
7627
7628         * BufferView2.C: small cleanup
7629
7630         * lyxfind.h:
7631         * lyxfind.C: move unnecessary header into the .C
7632
7633 2002-08-08  John Levon  <levon@movementarian.org>
7634
7635         * funcrequest.h: just tedious nonsense
7636
7637         * lyx_main.h:
7638         * lyx_main.C: cleanups
7639
7640         * buffer.C:
7641         * vspace.C: remove dead header lyx_main.h
7642
7643 2002-08-07  Angus Leeming  <leeming@lyx.org>
7644
7645         * Paragraph.[Ch]:
7646         * paragraph_pimpl.h:
7647         Forward declare class Counters in paragraph.h by moving the ctrs member
7648         variable into Paragraph::Pimpl.
7649         (counters): new method, returning a reference to pimpl_->ctrs.
7650
7651         * text2.C: ensuing changes.
7652
7653 2002-08-07  John Levon  <levon@movementarian.org>
7654
7655         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7656
7657         * BufferView_pimpl.C: announce X selection on double/triple
7658           click
7659
7660         * lyx_main.C: use correct bool in batch dispatch
7661
7662         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7663
7664 2002-08-07  André Pönitz <poenitz@gmx.net>
7665
7666         * funcrequest.h: new class to wrap a kb_action and its argument
7667
7668         * BufferView.[Ch]:
7669         * BufferView_pimpl[Ch]:
7670         * LaTeX.C:
7671         * LyXAction.[Ch]:
7672         * lyxfunc.[Ch]:
7673         * lyxrc.C: subsequent changes
7674
7675
7676 2002-08-07  John Levon  <levon@movementarian.org>
7677
7678         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7679           document options change.
7680
7681 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7682
7683         * counters.[Ch]
7684         * text2.C
7685         * paragraph.[Ch]
7686         * makefile.am: move counters functionality over from
7687         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7688
7689 2002-08-06  John Levon  <levon@movementarian.org>
7690
7691         * WordLangTuple.h: new file for word + language code tuple
7692
7693         * SpellBase.h:
7694         * pspell.h:
7695         * pspell.C:
7696         * ispell.h:
7697         * ispell.C:
7698         * lyxtext.h:
7699         * text.C:
7700         * text2.C:
7701         * BufferView.h:
7702         * BufferView2.C: use WordLangTuple
7703
7704         * layout.h:
7705         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7706
7707 2002-08-06  John Levon  <levon@movementarian.org>
7708
7709         * lyx_main.C: fix cmdline batch handling
7710
7711 2002-08-06  André Pönitz <poenitz@gmx.net>
7712
7713         * lyxrc.C: set default for show_banner to true
7714
7715 2002-08-06  John Levon  <levon@movementarian.org>
7716
7717         * pspell.C: fix a crash, and allow new aspell to work
7718
7719 2002-08-06  John Levon  <levon@movementarian.org>
7720
7721         * lyxfunc.C:
7722         * kbmap.C: small cleanup
7723
7724         * vspace.h:
7725         * vspace.C: add const
7726
7727 2002-08-05  John Levon  <levon@movementarian.org>
7728
7729         * LyXAction.C: back to tabular-insert
7730
7731 2002-08-04  John Levon  <levon@movementarian.org>
7732
7733         * BufferView.h:
7734         * BufferView.C: cosmetic change
7735
7736         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7737
7738         * bufferlist.C:
7739         * buffer.h:
7740         * buffer.C:
7741         * lyxcb.h:
7742         * lyxcb.C:
7743         * lyxserver.C:
7744         * lyxvc.C:
7745         * vc-backend.C:
7746         * BufferView2.C: purge all "Lyx" not "LyX" strings
7747
7748         * lyxcursor.h:
7749         * lyxcursor.C: attempt to add some documentation
7750
7751         * lyxfunc.C:
7752         * commandtags.h:
7753         * LyXAction.C:
7754         * ToolbarDefaults.C:
7755         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7756           merge with LFUN_TABULAR_INSERT
7757
7758         * Makefile.am:
7759         * SpellBase.h:
7760         * ispell.h:
7761         * ispell.C:
7762         * pspell.h:
7763         * pspell.C: split up i/pspell implementations into separate
7764           files, many cleanups
7765
7766         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7767
7768         * text2.C: some cleanup
7769
7770         * lyxfunc.C: don't check for isp_command == "none" any more, it
7771           didn't make any sense
7772
7773 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7774
7775         * counters.[Ch]
7776         * text2.C
7777         * paragraph.[Ch]
7778         * makefile.am: move counters functionality over
7779         from text2.C/paragraph.[Ch] to counters.[Ch], and
7780         make proper C++.
7781 2002-08-02  John Levon  <levon@movementarian.org>
7782
7783         * buffer.C: s/lyxconvert/lyx2lyx/
7784
7785 2002-08-02  Angus Leeming  <leeming@lyx.org>
7786
7787         * lyxlex.C: revert John's change as it breaks reading of the user
7788         preamble.
7789
7790 2002-08-02  Angus Leeming  <leeming@lyx.org>
7791
7792         * importer.C (Import):
7793         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7794         changes due to LyXView::view() now returning a boost::shared_ptr.
7795
7796 2002-08-02  John Levon  <levon@movementarian.org>
7797
7798         * lyxlex.C: small cleanup
7799
7800 2002-08-02  John Levon  <levon@movementarian.org>
7801
7802         * text2.C (status): small cleanup, no logic change
7803
7804 2002-08-01  John Levon  <levon@movementarian.org>
7805
7806         * buffer.h:
7807         * buffer.C (writeFile): don't output alerts, caller
7808           handles this
7809
7810         * bufferlist.C:
7811         * lyx_cb.C: from above
7812
7813         * lyxfunc.C: allow to open non-existent files
7814
7815 2002-07-31  John Levon  <levon@movementarian.org>
7816
7817         * lyxserver.C: don't let incidental errors get
7818           in the way (errno)
7819
7820 2002-07-30  John Levon  <levon@movementarian.org>
7821
7822         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7823
7824 2002-07-30  John Levon  <levon@movementarian.org>
7825
7826         * lyxserver.h:
7827         * lyxserver.C: remove I/O callback too
7828
7829 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7830
7831         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7832         log.
7833
7834 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * many files: strip,frontStrip -> trim,ltrim,rtrim
7837
7838 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * PrinterParams.h: remove extern containsOnly, and include
7841         support/lstrings.h instead.
7842
7843         * LaTeX.C (scanAuxFile): modify because of strip changes
7844         (deplog): ditto
7845         * buffer.C (makeLaTeXFile): ditto
7846         * bufferparams.C (writeFile): ditt
7847         * lyxfont.C (stateText): ditto
7848         * lyxserver.C (read_ready): ditto
7849         * vc-backend.C (scanMaster): ditto
7850
7851         * BufferView_pimpl.h: ws changes
7852
7853         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7854
7855 2002-07-26  André Pönitz <poenitz@gmx.net>
7856
7857         * kb_sequence.C: remove unnedred usings
7858
7859 2002-07-26  Juergen Vigna  <jug@sad.it>
7860
7861         * lyxfind.C (LyXReplace): we have to check better if the returned
7862         text is not of theLockingInset()->getLockingInset().
7863
7864 2002-07-25  Juergen Vigna  <jug@sad.it>
7865
7866         * lyxfind.C (LyXReplace): don't replace if we don't get the
7867         right LyXText.
7868
7869         * undo_funcs.C (createUndo): remove debugging code.
7870
7871 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7872
7873         * buffer.C (parseSingleLyXformat2Token): Use default placement
7874         when reading old floats.
7875
7876         * FloatList.C (FloatList): Change the default placement of figure
7877         and tables to "tbp".
7878
7879 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * MenuBackend.C: using std::max
7882
7883 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7884
7885         * MenuBackend.C (expandToc):
7886         (expandToc2): code moved from xforms menu frontend. It is now
7887         generic and TOCs are transparent to menu frontends.
7888
7889 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7890
7891         * toc.C (getTocList): protect against buf=0
7892
7893         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7894         Menu as first parameter. Now, this calls itself recursively to
7895         expand a whole tree (this will be useful for TOC handling)
7896         (expandFloatInsert): remove 'wide' version of floats
7897
7898         * MenuBackend.h (submenuname): returns the name of the submenu.
7899         (submenu): returns the submenu itself, provided it has been
7900         created by MenuBackend::expand
7901
7902 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7905         insets which have noFontChange == true. (bug #172)
7906
7907 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7908
7909         * BufferView_pimpl.C: add connection objects and use them...
7910         (Pimpl): here.
7911
7912 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7913
7914         * MenuBackend.C (expandLastfiles):
7915         (expandDocuments):
7916         (expandFormats):
7917         (expandFloatListInsert):
7918         (expandFloatInsert):
7919         (expand): split expand in parts
7920
7921 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7922
7923         * lyx_gui.C: use lyx_gui::exit()
7924
7925 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * LyXAction.C: show the failing pseudo action
7928
7929 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7930
7931         * buffer.C (readFile): Run the lyxconvert script in order to read
7932         old files.
7933
7934 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7935
7936         * LyXAction.C:
7937         * commandtags.h:
7938         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7939
7940 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * LyXAction.C:
7943         * commandtags.h:
7944         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7945
7946 2002-07-22  Herbert Voss  <voss@lyx.org>
7947
7948         * lengthcommon.C:
7949         * lyxlength.[Ch]: add support for the vertical lengths
7950
7951 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * toc.[Ch]: std:: fixes
7954
7955 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7956
7957         * lyxrc.C: do not include lyx_main.h
7958
7959         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7960         for layouts
7961
7962         * lyxrc.C:
7963         * encoding.C:
7964         * bufferlist.C:
7965         * BufferView2.C: include "lyxlex.h"
7966
7967         * tabular.h:
7968         * bufferparams.h: do not #include "lyxlex.h"
7969
7970         * lyxtextclasslist.C (Add): remove method
7971         (classlist): renamed to classlist_
7972
7973         * paragraph_pimpl.C:
7974         * paragraph.C:
7975         * text2.C:
7976         * CutAndPaste.C:
7977         * bufferview_funcs.C:
7978         * bufferlist.C:
7979         * text.C:
7980         * LaTeXFeatures.C:
7981         * buffer.C:
7982         * toc.C (getTocList): use BufferParams::getLyXTextClass
7983
7984         * toc.C (getTocList): use InsetFloat::addToToc
7985
7986         * toc.[Ch]: new files, containing helper functions to handle table
7987         of contents
7988
7989         * lyxfunc.C (dispatch): no need to remove spaces around command
7990         given as a string
7991         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7992         first command of the sequence; it is not very clever, but I do not
7993         have a better idea, actually
7994
7995         * LyXAction.C (LookupFunc): make sure to remove space at the
7996         beginning and end of the command
7997
7998 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * MenuBackend.C (getMenubar): new method: return the menubar of
8001         this menu set
8002         (read): treat differently reading of menu and menubar (in
8003         particular, the menubar has no name now)
8004         (Menu::menubar): remove
8005
8006         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8007         saving is finished
8008
8009 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8010
8011         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8012         a bibitem inset in a RTL paragraph.
8013
8014 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * paragraph_pimpl.C: constify
8017
8018         * BufferView_pimpl.C:
8019         * LaTeX.C:
8020         * lyxfunc.C: fix dispatch in a nicer way
8021
8022 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8023
8024         * lyxfunc.C (dispatch):
8025         * BufferView_pimpl.C:
8026         * BufferView_pimpl.h:
8027         * BufferView.C:
8028         * BufferView.h: rename Dispatch() to dispatch()
8029
8030         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8031
8032         * lyxlayout.C (Read): honor DependsOn tag
8033
8034         * lyxlayout.[Ch] (depends_on): new method
8035
8036         * version.C.in: update lyx_docversion
8037
8038         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8039
8040         * paragraph.C (validate): remove from here...
8041         * paragraph_pimpl.C (validate): ... and move here
8042         (isTextAt): make it const
8043
8044         * buffer.C (getLists): ws cleanup
8045
8046 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8047
8048         * language.C (read): Use iso8859-1 encoding in latex_lang
8049         (this prevents LyX from crashing when using iso10646-1 encoding).
8050
8051 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * text2.C (toggleInset): if cursor is inside an inset, close the
8054         inset and leave cursor _after_ it
8055
8056 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8057
8058         * lyxfunc.C: move minibuffer completion handling out of here
8059
8060 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * BufferView_pimpl.C:
8063         * LaTeX.C: fix dispatch calls
8064
8065 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * text.C (drawChars): Fix Arabic text rendering.
8068
8069 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * LyXAction.C:
8072         * commandtags.h:
8073         * lyxfunc.C: remove message-push/pop
8074
8075         * lyxserver.C:
8076         * lyxfunc.h:
8077         * lyxfunc.C: rationalise some code by removing verboseDispatch
8078           in favour of a bool argument to dispatch()
8079
8080 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8081
8082         * lyx_main.C (init): make sure to read symlinks as absolute paths
8083
8084 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8085
8086         * lyxfunc.h:
8087         * lyxfunc.C: no need for commandshortcut to be a member
8088
8089 2002-07-15  André Pönitz <poenitz@gmx.net>
8090
8091         * converter.C: add support for $$s (scripts from lib/scripts dir)
8092         * lyx_main.C: white space
8093
8094 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8095
8096         * bufferlist.C:
8097         * lyxrc.h:
8098         * lyxrc.C: remove second exit confirmation
8099
8100 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * BufferView.h:
8103         * BufferView.C:
8104         * BufferView2.C:
8105         * BufferView_pimpl.h:
8106         * BufferView_pimpl.C:
8107         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8108
8109 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * MenuBackend.C (expand): add numeric shortcuts to document menu
8112
8113         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8114
8115 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * lyxfont.C (setLyXFamily):
8118         (setLyXSeries):
8119         (setLyXShape):
8120         (setLyXSize):
8121         (setLyXMisc):
8122         (lyxRead):
8123         * debug.C (value):
8124         * buffer.C (asciiParagraph): use ascii_lowercase
8125
8126 2002-07-15  Mike Fabian  <mfabian@suse.de>
8127
8128         * lyxlex_pimpl.C (search_kw):
8129         * lyxlex.C (getLongString):
8130         * converter.h (operator<):
8131         * converter.C (operator<):
8132         * buffer.C (parseSingleLyXformat2Token):
8133         (asciiParagraph):
8134         * ToolbarDefaults.C (read):
8135         * MenuBackend.C (checkShortcuts):
8136         (read):
8137         * LColor.C (getFromGUIName):
8138         (getFromLyXName): use the compare_ascii_no_case instead of
8139         compare_no_case, because in turkish, 'i' is not the lowercase
8140         version of 'I', and thus turkish locale breaks parsing of tags.
8141
8142 2002-07-16  Angus Leeming  <leeming@lyx.org>
8143
8144         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8145         now takes a Buffer const & argument.
8146
8147 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8148
8149         * BufferView.C (resize): check there's a buffer to resize
8150
8151 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * lyxfunc.C: remove dead code
8154
8155         * lyxserver.h:
8156         * lyxserver.C: use lyx_guii::set_read_callback
8157
8158 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8159
8160         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8161         an inset in a RTL paragraph.
8162
8163 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * lyxfunc.C: repaint after a font size update
8166
8167 2002-07-15  André Pönitz <poenitz@gmx.net>
8168
8169         * lyxlength.C: inBP should be able to return negative values
8170
8171 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * lyxfunc.C: use lyx_gui::update_fonts()
8174
8175 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8176
8177         * lyxfunc.C: use lyx_gui::update_color()
8178
8179 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8180
8181         * bufferlist.C:
8182         * lyxfunc.h:
8183         * lyxfunc.C:
8184         * lyxrc.h:
8185         * lyxrc.C: remove file->new asks for name option, and let
8186           buffer-new take an argument
8187
8188 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * BufferView_pimpl.C: remove unneeded extra repaint()
8191
8192 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8193
8194         * LyXAction.C: allow command-sequence with NoBuffer
8195
8196         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8197
8198 2002-07-10  Angus Leeming  <leeming@lyx.org>
8199
8200         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8201
8202 2002-07-09  Angus Leeming  <leeming@lyx.org>
8203
8204         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8205
8206 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * lengthcommon.h: whitespace
8209
8210         * lyxfunc.C: update scrollbar after goto paragraph
8211
8212         * lyxtext.h: factor out page break drawing, and fix it so
8213           page break/added space paints as selected nicely
8214
8215 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * BufferView_pimpl.C: add FIXMEs, clean up a little
8218
8219 2002-07-09  André Pönitz <poenitz@gmx.net>
8220
8221         * lyxfont.[Ch]: support for wasy symbols
8222
8223 2002-07-08  André Pönitz <poenitz@gmx.net>
8224
8225         * BufferView_pimpl.C: apply John's patch for #93.
8226
8227 2002-07-05  Angus Leeming  <leeming@lyx.org>
8228
8229         * BufferView_pimpl.C (buffer): generate previews if desired.
8230
8231         * LColor.h: add "preview" to the color enum.
8232
8233         * LColor.C (LColor): add a corresponding entry to the items array.
8234
8235         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8236         with this buffer.
8237
8238 2002-07-05  Angus Leeming  <leeming@lyx.org>
8239
8240         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8241         The body of the code is now in the method that is passed an ostream &
8242         rather than a file name.
8243         Pass an additional only_preamble parameter, useful for the forthcoming
8244         preview stuff.
8245
8246 2002-07-03  André Pönitz <poenitz@gmx.net>
8247
8248         * lyxfunc.C: simplify getStatus() a bit for math stuff
8249
8250 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8251
8252         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8253
8254 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8255
8256         * text.C (changeRegionCase): do not change case of all the
8257         document when region ends at paragraph end (bug #461)
8258
8259 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8260
8261         * paragraph.C (startTeXParParams):
8262         (endTeXParParams): add \protect when necessary
8263
8264 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * BufferView_pimpl.C (workAreaExpose): remove warning
8267
8268 2002-06-27  Angus Leeming  <leeming@lyx.org>
8269
8270         * Makefile.am: add lyxlayout_ptr_fwd.h.
8271
8272 2002-06-26  André Pönitz <poenitz@gmx.net>
8273
8274         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8275
8276 2002-06-25  Angus Leeming  <leeming@lyx.org>
8277
8278         * lyxfunc.C (dispatch): Comment out the call to
8279         grfx::GCache::changeDisplay. The method no longer exists now that the
8280         pixmap generation part of the graphics loader has been moved into
8281         InsetGraphics.
8282
8283 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8284
8285         * text2.C: layout as layout
8286
8287         * text.C: layout as layout
8288
8289         * tabular.C (OldFormatRead): layout as layout
8290
8291         * paragraph_pimpl.C (TeXDeeper): layout as layout
8292         (realizeFont): layout as layout
8293
8294         * paragraph.C (writeFile): layout as layout
8295         (validate): layout as layout
8296         (getFont): layout as layout
8297         (getLabelFont): layout as layout
8298         (getLayoutFont): layout as layout
8299         (breakParagraph): layout as layout
8300         (stripLeadingSpaces): layout as layout
8301         (getEndLabel): layout as layout
8302         (getMaxDepthAfter): layout as layout
8303         (applyLayout): layout as layout
8304         (TeXOnePar): layout as layout
8305         (simpleTeXOnePar): layout as layout
8306         (TeXEnvironment): layout as layout
8307         (layout): layout as layout
8308         (layout): layout as layout
8309
8310         * lyxtextclass.C (compare_name): new functor to work with
8311         shared_ptr, layout as layout
8312         (Read): layout as layout
8313         (hasLayout): layout as layout
8314         (operator): layout as layout
8315         (delete_layout): layout as layout
8316         (defaultLayout): layout as layout
8317
8318         * lyxlayout_ptr_fwd.h: new file
8319
8320         * lyxlayout.C (Read): layout as layout
8321
8322         * lyx_cb.C (MenuInsertLabel): layout as layout
8323
8324         * bufferlist.C (newFile): layout as layout
8325
8326         * buffer.C (readLyXformat2): layout as layout
8327         (parseSingleLyXformat2Token): layout as layout
8328         (insertStringAsLines): layout as layout
8329         (asciiParagraph): layout as layout
8330         (latexParagraphs): layout as layout
8331         (makeLinuxDocFile): layout as layout
8332         (simpleLinuxDocOnePar): layout as layout
8333         (makeDocBookFile): layout as layout
8334         (simpleDocBookOnePar): layout as layout
8335         (getLists): layout as layout
8336
8337         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8338
8339         * CutAndPaste.C (cutSelection): layout as layout
8340         (pasteSelection): layout as layout
8341         (SwitchLayoutsBetweenClasses): layout as layout
8342
8343         * BufferView_pimpl.C (Dispatch): layout as layout
8344         (smartQuote): layout as layout
8345
8346         * BufferView2.C (unlockInset): layout as layout
8347
8348 2002-06-24  André Pönitz <poenitz@gmx.net>
8349
8350         * lyxfunc.C: fix #487
8351
8352 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * lyxrc.h:
8355         * lyxrc.C:
8356         * lyxfunc.C: remove display_shortcuts, show_banner
8357
8358 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * Buffer_pimpl.C: oops, update on resize
8361
8362 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * buffer.C:
8365         * converter.C:
8366         * exporter.C:
8367         * lyxfunc.C:
8368         * BufferView.h:
8369         * BufferView.C: use repaint()
8370
8371         * BufferView_pimpl.h:
8372         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8373           as it's a clearer description. Remove superfluous
8374           redraws.
8375
8376 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * text.C: fix bug 488. Not ideal, but getting
8379           getWord() to work properly for the insets that
8380           matter is more difficult ...
8381
8382 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8383
8384         * BufferView_pimpl.C:
8385         * LyXAction.C:
8386         * commandtags.h:
8387         * lyxfunc.C: remove the six million index lyxfuncs to just
8388           one, and DTRT (bug 458)
8389
8390 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * BufferView.h:
8393         * BufferView.C:
8394         * BufferView_pimpl.h:
8395         * BufferView_pimpl.C: clean up resize() stuff,
8396           and unnecessary updateScreen()s
8397
8398 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * BufferView.h:
8401         * BufferView.C:
8402         * BufferView_pimpl.h:
8403         * BufferView_pimpl.C:
8404         * lyxfind.h:
8405         * lyxfind.C:
8406         * minibuffer.C: remove focus management of workarea,
8407           not needed. Use screen's greyOut()
8408
8409 2002-06-17  Herbert Voss  <voss@lyx.org>
8410
8411         * converter.C: (convert) do not post a message, when converting
8412         fails, let the calling function decide what to do in this case
8413
8414 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * lyxfunc.C: tidy up a little
8417
8418 2002-06-16    <alstrup@diku.dk>
8419
8420         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8421         Got rid of FORMS_H_LOCATION include. Now we are
8422         GUII.
8423
8424 2002-06-15  LyX Development team  <lyx@rilke>
8425
8426         * buffer.[Ch] (sgmlOpenTag):
8427         (sgmlCloseTag): Added support for avoiding pernicious mixed
8428         content. Return number of lines written.
8429
8430         (makeLinuxDocFile):
8431         (makeDocBookFile): Fixed calls to sgml*Tag.
8432         Simple white space clean.
8433
8434         (simpleDocBookOnePar): Simple white space clean.
8435
8436         * tabular.[Ch] (docBook): Renamed to docbook and got another
8437         argument to related with the pernicious mixed content.
8438
8439         (docbookRow): Fixed calls for docbook inset method.
8440
8441 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8442
8443         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8444         so it's X11 independent.
8445
8446         * kb*.[Ch]: ditto.
8447
8448         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8449
8450 2002-06-15  Lyx Development team  <lyx@electronia>
8451
8452         * intl.h: Renamed getTrans to getTransManager.
8453
8454 2002-06-14  Angus Leeming  <leeming@lyx.org>
8455
8456         * Makefile.am: nuke forgotten stl_string_fwd.h.
8457
8458 2002-06-12  Angus Leeming  <leeming@lyx.org>
8459
8460         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8461
8462 2002-06-13  Angus Leeming  <leeming@lyx.org>
8463
8464         * LaTeX.C:
8465         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8466
8467 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8468
8469         * kbmap.C (getiso): add support for cyrillic and greek
8470
8471 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8472
8473         * BufferView.h:
8474         * BufferView.C:
8475         * BufferView_pimpl.h:
8476         * BufferView_pimpl.C: move bogus scrolling logic
8477           to xforms
8478
8479 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * lyxfunc.C:
8482         * BufferView_pimpl.C: view->resize() change
8483
8484 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * BufferView_pimpl.C: topCursorVisible
8487           prototype change
8488
8489 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * Makefile.am:
8492         * lyx_gui.h:
8493         * lyx_gui.C: move to frontends/
8494
8495         * main.C:
8496         * lyx_main.h:
8497         * lyx_main.C: changes from above
8498
8499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8500
8501         * intl.C:
8502         * intl.h:
8503         * kbmap.C:
8504         * kbsequence.C:
8505         * lyx_cb.C:
8506         * lyx_main.C: minor tidy
8507
8508 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * BufferView_pimpl.h:
8511         * BufferView_pimpl.C:
8512         * BufferView.h:
8513         * BufferView.C: make painter() const,
8514           remove dead code
8515
8516         * BufferView2.C: use screen() accessor
8517
8518         * lyx_main.h:
8519         * lyx_main.C: some minor cleanup
8520
8521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * BufferView_pimpl.h:
8524         * BufferView_pimpl.C: remove enter/leaveView,
8525           use workHeight()
8526
8527 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * BufferView.h:
8530         * BufferView.C:
8531         * BufferView2.C:
8532         * BufferView_pimpl.h:
8533         * BufferView_pimpl.C: only construct screen once,
8534           rename
8535
8536         * lyxrc.C: remove pointless comment
8537
8538 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8539
8540         * BufferView.h:
8541         * BufferView.C: remove active() and belowMouse()
8542
8543         * BufferView_pimpl.h:
8544         * BufferView_pimpl.C: use workarea() not workarea_,
8545           and make it use a scoped_ptr instead
8546
8547 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * lyx_gui.C: add debug message on BadWindow
8550
8551 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * sp_spell.C: fdopen is not part of the C++ standard.
8554
8555         * paragraph.C (InsetIterator): use >= instead of ==
8556
8557 2002-06-07  Angus Leeming  <leeming@lyx.org>
8558
8559         Fixes needed to compile with Compaq cxx 6.5.
8560         * BufferView_pimpl.C:
8561         * DepTable.C:
8562         * buffer.C:
8563         * converter.C:
8564         * encoding.C:
8565         * lyx_gui.C:
8566         * lyx_main.C:
8567         * lyxtextclasslist.C:
8568         * minibuffer.C:
8569         * sp_spell.C:
8570         * tabular_funcs.C:
8571         * vc-backend.C:
8572         all c-library variables have been moved into namespace std. Wrap
8573         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8574
8575         * lyxlength.C:
8576         * tabular-old.C:
8577         * tabular.C:
8578         Add a using std::abs declaration.
8579
8580         * kbmap.h (modifier_pair):
8581         * paragraph.h (InsetTable, InsetList):
8582         * lyxfont.h (FontBits):
8583         type definition made public.
8584
8585         * bufferlist.C (emergencyWriteAll): the compiler complains that
8586         there is more than one possible lyx::class_fun template to choose from.
8587         I re-named the void specialisation as lyx::void_class_fun.
8588
8589         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8590
8591         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8592         the compiler is is unable to find tostr in write_attribute.
8593
8594 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8595
8596         * buffer.C (sgmlError): hide #warning
8597
8598 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * xtl/*: get rid of xtl, which is not in use anyway
8601
8602         * LyXAction.C (init):
8603         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8604         were unimplemented xtl experimentation
8605
8606 2002-06-04  André Pönitz <poenitz@gmx.net>
8607
8608         * lyxfunc.C: disable array operation on simple formulae
8609
8610 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * converter.C: constify a bit
8613
8614 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lyx_gui.C: check xforms version correctly
8617
8618 2002-04-30  Herbert Voss  <voss@lyx.org>
8619
8620         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8621         "keep" option
8622
8623 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8626           attempt to register it with a VCS)
8627
8628 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * lyx_main.C (init): honor variables LYX_DIR_13x and
8631         LYX_USERDIR_13x
8632
8633 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * buffer.h:
8636         * buffer.C:
8637         * lyx_main.C: fix a crash on bad command line,
8638           and give a useful exit status on error
8639
8640         * lyxfunc.C (doImport): allow -i lyx to work
8641
8642 2002-03-30  André Pönitz <poenitz@gmx.net>
8643
8644         * lyxfunc.C: mathed font changes
8645
8646 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * LaTeX.C:
8649         * importer.h:
8650         * importer.C:
8651         * lyx_sty.h:
8652         * lyx_sty.C:
8653         * lyxlex.C:
8654         * lyxrow.h:
8655         * lyxtext.h:
8656         * paragraph.h:
8657         * paragraph.C:
8658         * texrow.h:
8659         * texrow.C:
8660         * text.C:
8661         * trans_mgr.h: srcdocs, and some minor cleanups
8662
8663 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8666         call getFont all the time)
8667
8668 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8669
8670         * switch from SigC signals to boost::signals
8671
8672 2002-05-29  André Pönitz <poenitz@gmx.net>
8673
8674         * paragraph_pimpl.C (getChar): don't call size() too often...
8675
8676 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8677
8678         * paragraph_pimpl.C (insertChar): do not try to update tables when
8679         appending (pos == size())
8680
8681         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8682         in order to reduce drastically the number of comparisons needed to
8683         parse a large document
8684
8685 2002-05-29  André Pönitz <poenitz@gmx.net>
8686
8687         * text.C:
8688         * text2.C:
8689         * lyxtextclass.C:
8690         * sp_pspell.h:
8691         * textclasslist.[Ch]:
8692         * sp_ispell.h: whitespace change
8693
8694 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8695
8696         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8697         lyxaction directly now.
8698
8699 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8700
8701         * trans.C:
8702         * lyxfont.C:
8703         * lyxvc.C: remove unused headers
8704
8705 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8706
8707         * Makefile.am:
8708         * buffer.h:
8709         * undostack.h:
8710         * undostack.C:
8711         * undo_funcs.h:
8712         * undo_funcs.C: some cleanups. Use shared_ptr
8713           and a template for the undo stacks.
8714
8715 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8716
8717         * BufferView_pimpl.h:
8718         * BufferView_pimpl.C:
8719         * kbmap.h:
8720         * kbmap.C:
8721         * kbsequence.h:
8722         * kbsequence.C:
8723         * lyxfunc.h:
8724         * lyxfunc.C:
8725         * text2.C: use key_state/mouse_state
8726
8727 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8730         and LSubstring
8731
8732         * chset.C: change include order
8733         (loadFile): use boost regex and get rid of LRegex and LSubstring
8734
8735         * Makefile.am (BOOST_LIBS): new variable
8736         (lyx_LDADD): use it
8737
8738         * LaTeX.C: change include order.
8739         (scanAuxFile): use boost regex and get rid of LRegex and
8740         LSubstring
8741         (deplog): ditto
8742
8743 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * ColorHandler.h:
8746         * ColorHandler.C:
8747         * FontInfo.h:
8748         * FontInfo.C: moved to frontends/xforms/
8749
8750         * FontLoader.h:
8751         * FontLoader.C: moved into frontends for GUIIzation
8752
8753         * Makefile.am:
8754         * lyx_gui.C:
8755         * lyxfont.C:
8756         * lyxfunc.C: changes from above
8757
8758 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8759
8760         * LColor.C: remove spurious X include
8761
8762         * BufferView_pimpl.C:
8763         * Makefile.am:
8764         * font.h:
8765         * font.C:
8766         * text.C:
8767         * text2.C: move font metrics to frontends/
8768
8769 2002-05-24  Juergen Vigna  <jug@sad.it>
8770
8771         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8772         setting the undo_cursor.
8773
8774         * ParagraphParameters.h: include local includes first.
8775
8776 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * BufferView_pimpl.C:
8779         * BufferView_pimpl.h:
8780         * Makefile.am:
8781         * WorkArea.h:
8782         * WorkArea.C:
8783         * screen.C: move WorkArea into frontends/
8784
8785         * lyxscreen.h:
8786         * screen.C:
8787         * text.C:
8788         * BufferView.C:
8789         * BufferView2.C: move LyXScreen into frontends/
8790
8791         * lyxlookup.h:
8792         * lyxlookup.C:
8793         * lyx_gui.C: move lyxlookup into frontends/xforms/
8794
8795 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8796
8797         * BufferView2.C:
8798         * BufferView_pimpl.C:
8799         * FontLoader.C:
8800         * LyXView.h:
8801         * LyXView.C:
8802         * Makefile.am:
8803         * WorkArea.C:
8804         * XFormsView.h:
8805         * XFormsView.C:
8806         * buffer.C:
8807         * bufferlist.C:
8808         * bufferview_funcs.C:
8809         * converter.C:
8810         * importer.C:
8811         * lyx_cb.C:
8812         * lyx_gui.C:
8813         * lyx_main.C:
8814         * lyx_find.C:
8815         * lyxfunc.C:
8816         * lyxvc.C:
8817         * minibuffer.C:
8818         * text.C:
8819         * text2.C:
8820         * trans.C:
8821         * vc-backend.C: move LyX/XFormsView into frontends/
8822
8823 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8824
8825         * Makefile.am:
8826         * PainterBase.C:
8827         * PainterBase.h:
8828         * Painter.C:
8829         * Painter.h:
8830         * WorkArea.C:
8831         * WorkArea.h:
8832         * screen.C:
8833         * tabular.C:
8834         * text.C:
8835         * text2.C: move Painter to frontends/
8836
8837 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * buffer.C: comment out some some code that depend upon lyx_format
8840         < 220
8841
8842         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8843         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8844
8845         * buffer.h (NO_COMPABILITY): turn off compability
8846
8847         * ColorHandler.C: include scoped_array.hpp
8848
8849         * font.C: Use more specific smart_ptr header.
8850         * Painter.C: ditto
8851         * gettext.C: ditto
8852         * ShareContainer.h: ditto
8853         * lyx_main.h: ditto
8854         * kbmap.h: ditto
8855         * FontInfo.h: ditto
8856         * BufferView_pimpl.h: ditto
8857         * ColorHandler.h: ditto
8858
8859         * kbmap.C (defkey): change call to shared_ptr::reset
8860
8861 2002-05-21  Juergen Vigna  <jug@sad.it>
8862
8863         * buffer.C (insertErtContents): fix to insert ert asis if it is
8864         non empty. Skip it completely if it contains only whitespaces.
8865
8866 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8867
8868         * BufferView_pimpl.C:
8869         * BufferView2.C: clear selection on paste (bug 393)
8870
8871 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8872
8873         * DepTable.C: include ctime
8874
8875 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8876
8877         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8878
8879 2002-05-14  Juergen Vigna  <jug@sad.it>
8880
8881         * text.C (breakParagraph): fixed function to honor the keepempty
8882         layout in the right maner and also to permit the right breaking
8883         algorithm on empty or non empyt keepempty paragraphs.
8884
8885         * paragraph.C (breakParagraph): we have to check also if the par
8886         is really empty (!size()) for isempty otherwise we do the wrong
8887         paragraph break.
8888
8889 2002-05-10  Juergen Vigna  <jug@sad.it>
8890
8891         * buffer.[Ch] : The following are only changes to the ert
8892         compatibility read reading old LaTeX layout and font stuff and
8893         convert it to ERTInsets.
8894
8895         * buffer.h: added isErtInset().
8896
8897         * buffer.C (struct ErtComp): add a fromlayout bool to check
8898         if we're inside a LaTeX layout.
8899         (isErtInset): new helper function.
8900         (insertErtContents): look for other ert insets before this one
8901         and insert the contents there, so that we don't have subsequent
8902         ERT insets with nothing between them. This way we create only one
8903         inset with multiple paragraphs. Also check if we don't insert only
8904         spaces ' ' as they are ignored anyway afterwards in the .tex file
8905         so if we have only spaces we will ignore this latex part in the
8906         new file.
8907         (parseSingleLyXformat2Token \\layout): better compatibility when
8908         reading layout-latex stuff.
8909         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8910         language tag.
8911         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8912         stuff after reading the inset only get the information back from
8913         the stack.
8914
8915 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8916
8917         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8918
8919         * LaTeXFeatures.C (getBabelOptions): New method.
8920
8921 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8922
8923         * BufferView_pimpl.C (Dispatch): work around missing argument for
8924         'layout'
8925
8926 2002-05-08  Juergen Vigna  <jug@sad.it>
8927
8928         * text.C (leftMargin): handle paragraph leftindent.
8929
8930         * paragraph.C (writeFile): write the new \\leftindent tag.
8931         (validate): handle leftindent code.
8932         (TeXEnvironment): handle paragraphleftindent code again.
8933
8934         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8935
8936         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8937         for paragrap_extra indent code and new token \\leftindent.
8938         (latexParagraphs): handle the leftindent as environment.
8939
8940         * ParameterStruct.h: added leftindent support.
8941
8942         * ParagraphParameters.C (leftIndent): added support functions for
8943         the paragraph left indent.
8944
8945         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8946         more appropriate.
8947
8948 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8949
8950         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8951         inside insetERT.
8952
8953         * text.C (computeBidiTables): No bidi in insetERT.
8954
8955         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8956         in RTL documents.
8957
8958 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8959
8960         * version.C.in: pre 5
8961
8962 2002-05-02  José Matos  <jamatos@fep.up.pt>
8963         * buffer.C (makeDocBookFile): white space changes, add newline to
8964         command styles.
8965         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8966
8967         * tabular.C (docBook): fix typo.
8968
8969 2002-05-03  Juergen Vigna  <jug@sad.it>
8970
8971         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8972         change in LyXText as we can not be sure it was not freed.
8973         (drawOneRow): remove unused code.
8974
8975         * text.C (drawInset): redo the calculation of the need_break_row as
8976         it could have a row which was already freed.
8977         (draw): look at the return value of drawInset and return false if
8978         it also returned false.
8979         (paintRowText): look at the return value of draw and return false if
8980         it also returned false.
8981
8982         * lyxtext.h: added bool return type to drawInset() and draw() so that
8983         if we have a change in the row so that the rowbreak has to be redone
8984         we abort drawing as it will be called again.
8985
8986 2002-05-02  Juergen Vigna  <jug@sad.it>
8987
8988         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8989         a change in the maintext also if we're inside an inset.
8990         (Dispatch): set the cursor again after a break line and after the
8991         screen has been updated as it could be we're in a different row.
8992
8993         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8994         to set the cursor behind the pargraph with > size().
8995         (setCursor): check also for the same paragraph when checking where
8996         to put the cursor if we have a NFR inset.
8997
8998         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8999         parts of layout read further up as it still was in the wrong
9000         position.
9001
9002 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9003
9004         * screen.C (drawFromTo): change sine fullRebreak always return
9005         true.
9006
9007         * buffer.C (parseSingleLyXformat2Token): reindent some
9008
9009         * BufferView_pimpl.C (update): change since fullRebreak always
9010         return true.
9011         (Dispatch): git rid of the last hardcoded "Standard"s.
9012
9013 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9014
9015         * text2.[Ch] (fullRebreak): make it return void now that we always
9016         returned true.
9017
9018 2002-04-30  Juergen Vigna  <jug@sad.it>
9019
9020         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9021         ert compatibility check for "latex" layout.
9022
9023 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9026         minipages: use col% instead of p%, and also use the current font.
9027         (makeLaTeXFile): Fix use babel condition.
9028         (parseSingleLyXformat2Token): Correct font when reading old floats.
9029
9030 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9031
9032         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9033         inserting list of floats.
9034
9035 2002-04-25  Herbert Voss  <voss@lyx.org>
9036
9037         * MenuBackend.C (expand): don't add the graphics extensions to the
9038         export menu
9039
9040 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9043         non-existing layout, do not complain if it was the default layout
9044         of the original class (bug #342)
9045
9046 2002-04-24  Juergen Vigna  <jug@sad.it>
9047
9048         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9049         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9050
9051 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9052
9053         * buffer.C (getBibkeyList): If using \bibliography, return the
9054         option field with the reference itself. Enables us to provide natbib
9055         support when using \bibliography.
9056
9057 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9058
9059         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9060
9061         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9062         natbib is provided by the LaTeX class.
9063
9064 2002-04-23  Juergen Vigna  <jug@sad.it>
9065
9066         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9067         Wakeup functions.
9068
9069         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9070
9071 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9072
9073         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9074
9075         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9076         ensuremath around textordmasculine, textordfeminine and
9077         textdegree.
9078
9079 2002-04-19  Juergen Vigna  <jug@sad.it>
9080
9081         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9082         reinitializing the buffer otherwise row-dimensions may be wrong.
9083         (update): reset also the selection cursors if they do exits otherwise
9084         their x/y positions may be wrong.
9085
9086         * text2.C (cursorDown): don't enter the inset if we came from a row
9087         above and are one row over the inset.
9088
9089         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9090         really leaving an inset.
9091
9092 2002-04-18  Juergen Vigna  <jug@sad.it>
9093
9094         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9095         of the selected paragraph does not have the selected layout also if
9096         the last one had!
9097
9098         * text2.C (setLayout): fixed bug which did not change last selected
9099         paragraph.
9100
9101         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9102         changed the read and substituted \\end_float with \\end_inset!
9103
9104         * BufferView_pimpl.C (cursorPrevious):
9105         (cursorNext): fixed to make it work with rows heigher than the work
9106         area without moving the cursor only the draw of the row.
9107         (workAreaMotionNotify): fix jumping over high rows.
9108
9109 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9112         Ressler.
9113
9114 2002-04-16  Juergen Vigna  <jug@sad.it>
9115
9116         * text2.C (setCursor): set also the irow().
9117         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9118         (cursorUp):
9119         (cursorDown): support for locking an inset if the x_fix value goes
9120         inside it. That way I can transverse insets too with cursor up/down.
9121
9122         * lyxrow.h: added irow helper function same as other (i) functions.
9123
9124         * BufferView_pimpl.C (cursorPrevious):
9125         (cursorNext): fixed for insets!
9126
9127 2002-04-15  Juergen Vigna  <jug@sad.it>
9128
9129         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9130         position otherwise it is wrong in some cases.
9131
9132         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9133         inside the inset before the call.
9134
9135 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9136
9137         * buffer.[Ch] (getBibkeyList): make it const.
9138
9139 2002-04-12  Juergen Vigna  <jug@sad.it>
9140
9141         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9142
9143         * text2.C (getCursorX): new helper function
9144         (setCursor): compute also ix_
9145         (setCursorFromCoordinates): set also ix.
9146
9147         * lyxcursor.h: added ix_ and helper functions.
9148
9149         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9150
9151         * buffer.C (insertStringAsLines): dont break paragraph if the this
9152         paragraph is inside an inset which does not permit it!
9153
9154         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9155         also with no chars on this paragraph.
9156         (paintRowText): only paint stuff if it's inside the workarea!
9157
9158         * paragraph.C (breakParagraph): honor keepempty flag and break the
9159         paragraph always below not above.
9160
9161         * BufferView2.C (unlockInset): update the paragraph layout on inset
9162         unlock as we changed paragraph in such a case.
9163
9164         * lyxfind.C (LyXFind): clear the former selection if not found!
9165
9166         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9167         again called in insertChar().
9168
9169         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9170         an inset which uses the whole row!
9171         (rightMargin): ditto.
9172         (insertChar): force a rebreak if we inserted an inset!
9173
9174 2002-03-28  Herbert Voss  <voss@lyx.org>
9175
9176         * lyxlength.[Ch]: add inBP() to get the right PS-point
9177         units (BigPoint). With inPixels we have rounding errors
9178
9179 2002-04-11  Juergen Vigna  <jug@sad.it>
9180
9181         * text2.C (setCursorFromCoordinates): set iy to the right value.
9182         (setCursor): add check if row->previous exists!
9183
9184         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9185         an old float_type as this was the case in the old code!
9186
9187         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9188
9189         * BufferView2.C (showLockedInsetCursor): use iy
9190         (fitLockedInsetCursor): ditto
9191
9192         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9193         locked insets as there we have the right value now.
9194
9195         * lyxcursor.C: added iy_ variable and iy functions to set to the
9196         baseline of cursor-y of the locked inset.
9197
9198         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9199         (setCursor): fixed for insets which need a full row.
9200
9201         * text.C (rowLastPrintable): don't ignore the last space when before
9202         an inset which needs a full row.
9203         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9204         as last character of a row when before a inset which needs a full row.
9205
9206 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9207
9208         * version.C.in: update date
9209
9210         * text2.C (fullRebreak): try to always return true and see what
9211         happens...
9212
9213 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * MenuBackend.C (expand): use Floating::listName
9216
9217         * FloatList.C (FloatList): add listName argument to the built-in
9218         floats
9219
9220         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9221         text associated with the float.
9222
9223 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9226
9227 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9228
9229         * ShareContainer.h: add a couple of missing typenames.
9230
9231 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9232
9233         * lyxrc.C (getDescription): use _() correctly rather than N_().
9234
9235 2002-03-28  Herbert Voss  <voss@lyx.org>
9236
9237         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9238         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9239
9240 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9243         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9244
9245 2002-03-29  Juergen Vigna  <jug@sad.it>
9246
9247         * lyxfunc.C (dispatch): add a missing fitCursor call.
9248
9249         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9250         it was scrolled by a cursor move, so return the bool status.
9251
9252         * BufferView.C (fitCursor): return the bool flag also to the outside
9253         world as this is needed.
9254
9255         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9256
9257         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9258         call the edit() as it is not needed (and wrong) IMO.
9259         (workAreaButtonPress): set the screen_first variable before evt.
9260         unlock the inset as this may change screen_first and then we have
9261         a wrong y position for the click!
9262
9263 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * MenuBackend.C (expand): another translation that I missed
9266
9267 2002-03-28  Juergen Vigna  <jug@sad.it>
9268
9269         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9270
9271         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9272
9273 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9276
9277         * MenuBackend.C (expand): fix export/view/update when there is no
9278         document open.
9279
9280 2002-03-27  Herbert Voss  <voss@lyx.org>
9281
9282         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9283         and text%
9284
9285 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * bufferview_funcs.C (currentState): only show paragraph number
9288         for is DEVEL_VERSION is set.
9289
9290         * lyxfunc.C (dispatch): put warning in INFO channel
9291
9292         * MenuBackend.C (expand): translate the name of floats
9293
9294         * FloatList.C (FloatList): mark the float names for translation
9295
9296         * converter.C (convert): use LibScriptSearch
9297
9298 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * MenuBackend.C (defaults): fix default menu (we might as well get
9301         rid of it...)
9302
9303 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9304
9305         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9306         directory.
9307
9308 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * lyxvc.C: reorder includes.
9311
9312 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9315           properly
9316
9317 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9318
9319         * CutAndPaste.C: change layouts earlier on paste
9320           to avoid crashing when calling getFont()
9321
9322 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9323
9324         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9325         irritating #error.
9326
9327 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * WorkArea.C: remove 'Pending' debug message.
9330
9331         * most files: ws cleanup
9332
9333         * buffer.[Ch]: ws changes
9334
9335         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9336
9337 2002-03-21  Juergen Vigna  <jug@sad.it>
9338
9339         * tabular.C (SetMultiColumn): collapse also the contents of the
9340         cells and set the last border right. Added a Buffer const * param.
9341
9342 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9343
9344         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9345         linking or not.
9346
9347 2002-03-19  Juergen Vigna  <jug@sad.it>
9348
9349         * text2.C (clearSelection): reset also xsel_cache.
9350
9351         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9352         where it needs to be called (John tells us to do so too :)
9353         (selectionLost): reset sel_cache.
9354
9355         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9356
9357 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9358
9359         * text2.C (setCursorIntern): put debuging code in INSETS channel
9360
9361 2002-03-19  André Pönitz <poenitz@gmx.net>
9362
9363         * lyxfunc.C: tiny whitespace change
9364
9365 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9366
9367         * ToolbarDefaults.C (init):
9368         * LyXAction.C (init):
9369         * commandtags.h:
9370         * BufferView_pimpl.C (Dispatch):
9371         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9372
9373 2002-03-19  Allan Rae  <rae@lyx.org>
9374
9375         * exporter.C (Export): removeAutoInsets before doing anything else.
9376         While I've just introduced a dependency on BufferView this really is
9377         the best place to clean the buffer otherwise you need to cleanup in
9378         a dozen places before calling export or cleanup in a dozen functions
9379         that export calls.
9380
9381         * converter.C (runLaTeX):
9382         (scanLog): Better handling of removeAutoInsets and screen updates.
9383
9384         * lyxfunc.C (dispatch): small whitespace changes
9385
9386 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9387
9388         * WorkArea.C (C_WorkAreaEvent): return a value.
9389         (event_cb): return 1 if we handled the event, 0 otherwise.
9390
9391         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9392
9393 2002-03-18  Juergen Vigna  <jug@sad.it>
9394
9395         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9396         (GetAdditionalWidth): ditto.
9397         (RightLine): ditto.
9398         (LeftLine): ditto.
9399
9400         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9401         inset if we're there actually (probably not used right now but this
9402         is the direction to go for unifying code).
9403         (paste): disable code to clear the selection.
9404
9405         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9406         inside an InsetText and move the check further up as it is in the
9407         wrong place.
9408
9409         * text2.C (pasteSelection): set a selection over the pasted text.
9410
9411 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9412
9413         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9414         and libgraphics to build on Cygwin.
9415
9416 2002-03-15  Juergen Vigna  <jug@sad.it>
9417
9418         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9419         inserting an Inset into the paragraph. I know this is not the best
9420         fix but we already use current_view in CutAndPaste so we will remove
9421         all of it's using at the same time.
9422
9423         * buffer.C (sgmlError): deactivated function till it is rewritten in
9424         the right mode, now it can create problems.
9425
9426         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9427         before accessing it.
9428
9429 2002-03-14  Juergen Vigna  <jug@sad.it>
9430
9431         * undo_funcs.C (textHandleUndo): do the right thing when updating
9432         the inset after the undo/redo.
9433
9434         * text2.C (setCursor): just some testcode for #44 not ready yet.
9435
9436         * undo_funcs.C (textHandleUndo): set the next() and previous()
9437         pointers of the paragraph to 0 before deleting otherwise we have
9438         problems with the Paragraph::[destructor].
9439
9440         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9441         on a paragraph insertion.
9442
9443 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9444
9445         * buffer.C (asciiParagraph): use += operator for char append to
9446         string.
9447
9448         * paragraph.C (getFontSettings): compare >= not just >
9449         (highestFontInRange): ditto
9450         (setFont): ditto
9451
9452 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9453
9454         * paragraph.C: change several algorithm to be more appripriate for
9455         the problem domain. This is lookip in FontList and in the InsetList.
9456
9457 2002-03-13  André Pönitz <poenitz@gmx.net>
9458
9459         * commandtags.h:
9460         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9461
9462 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * commandtags.h:
9465         * LyXAction.C:
9466         * lyxfunc.C:
9467         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9468
9469 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9470
9471         * Painter.C (display): anon helper function, adjust code for this
9472         change.
9473         (pixmap): remove function.
9474
9475         * Painter.h: remove private display variable.
9476
9477         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9478
9479 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9480
9481         * WorkArea.[Ch]: remove figinset_canvas cruft.
9482
9483 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9484
9485         * lyxtextclass.C (operator): add one item cache optimization.
9486
9487         * bufferlist.h: doxy changes
9488
9489         * bufferlist.C: ws changes
9490
9491         * DepTable.[Ch] (ext_exist): place const in the right spot.
9492
9493         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9494         call resizeInsets.
9495         (workAreaExpose): call resizeInsets when the with BufferView changes.
9496         (Dispatch): adjust for protectedBlank removal
9497         (specialChar): call updateInset if the insert went ok.
9498
9499         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9500         specialChar instead.
9501
9502         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9503
9504         * BufferView.h: doxy change
9505
9506         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9507
9508         * lyxtextclass.C (operator[]): remove non-const version
9509         (defaultLayout): remove non-const version
9510
9511 2002-03-12  Juergen Vigna  <jug@sad.it>
9512
9513         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9514         did resize the LyXText too.
9515
9516         * buffer.C (readLyXformat2): set layout information on newly allocated
9517         paragraphs.
9518
9519         * tabular.C (OldFormatRead): set layout information on the paragraph.
9520
9521 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9522
9523         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9524
9525 2002-03-11  Juergen Vigna  <jug@sad.it>
9526
9527         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9528         plainly wrong.
9529         (resizeCurrentBuffer): force also the insets to resize themselfes.
9530         (moveCursorUpdate): fixed up for InsetText.
9531
9532 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9533
9534         * commandtags.h:
9535         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9536         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9537         value of Dialogs::tooltipsEnabled().
9538         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9539
9540 2002-03-08  Juergen Vigna  <jug@sad.it>
9541
9542         * BufferView_pimpl.C (updateInset): update inset inside inset also
9543         if it isn't inside theLockingInset().
9544
9545 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * buffer.C (asciiParagraph): redo some of the word and line length
9548         handling.
9549         (getLists): look for Caption instead of caption.
9550
9551 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * buffer.C (Buffer): initialize niceFile to true
9554         (makeLaTeXFile):
9555         (makeLinuxDocFile):
9556         (makeDocBookFile): make sure niceFile is true on exit
9557
9558 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9561
9562 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9563
9564         * LyXSendto.C: remove.
9565         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9566         * lyx_gui.C: remove now-redundant comment.
9567         * ColorHandler.h: remove forward declaration of class WorkArea.
9568         * lyxfunc.C: remove #include "WorkArea.h".
9569
9570 2002-03-07  Juergen Vigna  <jug@sad.it>
9571
9572         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9573         got moved away with the DEPM and also set the inset_owner always
9574         right which before could have been omitted.
9575
9576 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9577
9578         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9579         wanted layout is not found.
9580
9581 2002-03-07  Juergen Vigna  <jug@sad.it>
9582
9583         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9584
9585 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9586
9587         * paragraph.C (breakParagraph): use default layout not layout of
9588         prev paragraph.
9589         (Paragraph): clear ParagraphParameters.
9590
9591 2002-03-06  Juergen Vigna  <jug@sad.it>
9592
9593         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9594         otherwise it would not be a valid lenght. Fixed a special case in
9595         the minipage compatibility read where we end the document with a
9596         minipage.
9597
9598         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9599         was set as it could be 0 for InsetTexts first entry.
9600
9601 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9602
9603         * paragraph.C (writeFile): if layout is empty write out
9604         defaultLayoutName().
9605
9606         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9607         file without named layout we set layout to defaultLayoutName().
9608
9609 2002-03-06  Juergen Vigna  <jug@sad.it>
9610
9611         * CutAndPaste.C (copySelection): set layout for new paragraph.
9612
9613         * text.C (prepareToPrint): leave ERT inset left aligned
9614         (leftMargin): don't indent paragraphs inside ERT insets
9615
9616 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9617
9618         * paragraph.C (breakParagraph): dont call clear do the work manually
9619
9620         * paragraph.[Ch] (clear): remove function
9621
9622 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9623
9624         * paragraph.C (Paragraph): dont call clear, the work has already
9625         been done.
9626
9627         * lyxtextclass.C (operator): assert if n is empty
9628
9629         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9630         work manually instead.
9631
9632 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * BufferView_pimpl.C: protect selectionLost against text == 0
9635
9636 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9637
9638         * text.C (breakParagraph): fix a setting layout to '0' problem.
9639
9640 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9641
9642         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9643         final location of file, for the included files, and graphics.
9644
9645 2002-03-05  Juergen Vigna  <jug@sad.it>
9646
9647         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9648
9649 2002-03-04  Juergen Vigna  <jug@sad.it>
9650
9651         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9652
9653         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9654         last column of multicolumn cells.
9655         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9656
9657 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9658
9659         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9660         file if it doesn't go to a temporary file.
9661
9662         * buffer.C (sgmlOpenTag):
9663         (sgmlCloseTag):  remove extra newline insertion.
9664
9665 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9666
9667         * text.C (getRowNearY): comment out debug msg
9668
9669 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * text2.C: first -> first_y
9672
9673         * text.C (getRowNearY): add some attemts at a possible
9674         optimization, not working.
9675
9676         * tabular.[Ch]: add BufferParams to several function so that newly
9677         created paragraph can be initialized to he default layotu for the
9678         buffers textclass.
9679
9680         * tabular-old.C (ReadOld): add buf->params to call of Init
9681
9682         * screen.C: rename text->first to text->first_y
9683
9684         * paragraph.C (breakParagraph): always set layout in the broken
9685         paragraph
9686
9687         * lyxtextclass.C (Read): remove lowercase
9688         (hasLayout): ditto
9689         (operator): ditto
9690         (delete_layout): ditto
9691
9692         * lyxtext.h: rename first -> first_y
9693
9694         * lyxlayout.C (Read): remove lowercase
9695         (name): ditto
9696         (setName): ditto
9697         (obsoleted_by): ditto
9698
9699         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9700
9701         * buffer.C (insertErtContents): add params are to InsetERT
9702         (parseSingleLyXformat2Token): add code to check if a paragraphs
9703         layout really exist.
9704         (parseSingleLyXformat2Token): add params to several inset
9705         constructors
9706         (asciiParagraph): remove lowercase, do the layout comparisons with
9707         no_case
9708
9709         * BufferView_pimpl.C (cursorNext): first -> first_y
9710         (resizeCurrentBuffer): first -> first_y
9711         (updateScrollbar): first -> first_y
9712         (scrollCB): first -> first_y
9713         (workAreaMotionNotify): first -> first_y
9714         (workAreaButtonPress): first -> first_y
9715         (checkInsetHit): first -> first_y
9716         (cursorPrevious): first -> first_y
9717         (cursorNext): first -> first_y
9718         (Dispatch): add buffer_->params to severl inset contructors
9719
9720 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9721
9722         * lyxlayout.C (Read): remove some debug info that I forgot.
9723
9724         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9725         clean up the code slightly.
9726         (makeLinuxDocFile): ditto
9727         (makeDocBookFile): ditto
9728
9729         * text2.C: layout as string
9730
9731         * text.C: layout as string
9732
9733         * paragraph_pimpl.C: layout as string
9734
9735         * paragraph.[Ch]: layout as string
9736
9737         * lyxtextclasslist.[Ch]: layout as string
9738
9739         * lyxtextclass.[Ch]: layout as string
9740
9741         * lyxtext.h: layout as string
9742
9743         * lyxlayout.[Ch]: layout as string
9744
9745         * lyx_cb.C: layout as string
9746
9747         * bufferview_funcs.C: layout as string
9748
9749         * bufferparams.C: layout as string
9750
9751         * buffer.C: layout as string
9752
9753         * LyXView.[Ch]: layout as string
9754
9755         * LaTeXFeatures.[Ch]: layout as string
9756
9757         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9758
9759         * BufferView_pimpl.C: change current_layout to string, remove
9760         lyx::layout_type.
9761         (Dispatch):
9762         (smartQuote):
9763         (insertInset):
9764         (workAreaButtonRelease): layout as string
9765
9766         * BufferView2.C (unlockInset): adjust
9767
9768         * vspace.C (asLatexCommand): use an explict temp variable.
9769
9770 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * Makefile.am: use FRONTEND_*
9773
9774 2002-03-01  Juergen Vigna  <jug@sad.it>
9775
9776         * tabular.C (SetWidthOfMulticolCell): changed to something better
9777         I hope but still work in progress.
9778         (recalculateMulticolumnsOfColumn): renamed function from
9779         recalculateMulticolCells as it is more appropriate now.
9780         (SetWidthOfCell): calculate multicols better.
9781
9782 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9785
9786         * lyxfunc.C (processKeySym): print sequence also if it is
9787         `deleted' (complete)
9788
9789         * kbsequence.C (print): print sequence even if it is deleted
9790         (complete would be a better word, actually).
9791
9792         * lyxfunc.C (dispatch): print complete options after a prefix key
9793
9794         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9795
9796 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9797
9798         * text2.C (setCharFont): eliminate setCharFont code duplication.
9799
9800 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9803         LFUN_TABULAR_FEATURE (bug #177)
9804
9805 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9806
9807         * Makefile.am: remove figure.h
9808
9809 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9810
9811         * Bufferview_pimpl.C:
9812         * CutAndPasteC:
9813         * LaTeX.C:
9814         * LyXSendto.C:
9815         * buffer.C:
9816         * bufferlist.C:
9817         * converter.C:
9818         * language.C:
9819         * lyxfunc.C:
9820         * lyxvc.C:
9821         * paragraph.C:
9822         * text.C:
9823         * text2.C: remove #include "lyx_gui_misc.h".
9824
9825         * LaTeX.C: added #include <cstdio>
9826
9827 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9830         that the paragraph following this one can have.
9831
9832         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9833
9834         * vspace.C (asLatexCommand): fix bogus gcc warning
9835
9836         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9837
9838 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9839
9840         * text2.C (setLayout): get rid of redundant code
9841
9842 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9843
9844         * text2.C (incDepth): make sure depth cannot be increased beyond
9845         reasonable values.
9846
9847 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9848
9849         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9850         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9851
9852         * PainterBase.h (image):
9853         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9854         a LyXImage const *.
9855
9856 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * BufferView.C:
9859         * BufferView.h:
9860         * BufferView_pimpl.C:
9861         * BufferView_pimpl.h:
9862         * LaTeXFeatures.C:
9863         * LyXAction.C:
9864         * LyXView.C:
9865         * Makefile.am:
9866         * UpdateList.h:
9867         * UpdateList.C:
9868         * buffer.C:
9869         * figure.h:
9870         * figureForm.C:
9871         * figureForm.h:
9872         * figure_form.C:
9873         * figure_form.h:
9874         * lyx_cb.C:
9875         * lyx_gui.C:
9876         * lyx_gui_misc.C:
9877         * lyxfunc.C:
9878         * sp_base.h:
9879         * sp_ispell.h:
9880         * sp_pspell.h:
9881         * sp_spell.C: remove fig inset, and the crap house of
9882           cards that follows it
9883
9884 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * Makefile.am:
9887         * lyxserver.C:
9888         * os2_defines.h:
9889         * os2_errortable.h:
9890         * nt_defines.h: move .h into support/
9891
9892         * vms_defines.h: remove
9893
9894         * WorkArea.C: add space in debug output
9895
9896         * text2.C:
9897         * paragraph.C:
9898         * buffer.C: add WITH_WARNINGS
9899
9900         * vc-backend.h:
9901         * vc-backend.C:
9902         * bufferlist.C: s/retrive/retrieve/, add docs
9903
9904         * vspace.h:
9905         * vspace.C:
9906         * kbmap.h:
9907         * lyxlength.h:
9908         * lyxgluelength.h:
9909         * length_common.h:
9910         * chset.h:
9911         * chset.C: add docs
9912
9913         * lyxgui.C: add ID to X error handler
9914
9915         * lyxtestclass.c: fix typo
9916
9917 2002-02-26  Juergen Vigna  <jug@sad.it>
9918
9919         * tabular_funcs.C (write_attribute): changed so that some default
9920         attributes are not written at all.
9921         (getTokenValue): set default values before trying to read the
9922         value so we have the return value always set as default if we don't
9923         find the token we search for.
9924
9925         * tabular.C (Write): write bools as bools not as strings!
9926
9927 2002-02-22  Juergen Vigna  <jug@sad.it>
9928
9929         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9930         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9931
9932         * text.C (leftMargin): don't add an indent for paragraphs inside
9933         tabular cells (fix #208).
9934
9935 2002-02-21  José Matos  <jamatos@fep.up.pt>
9936
9937         * tabular.C (docBook): fixed support for long tables.
9938
9939 2002-02-20  Juergen Vigna  <jug@sad.it>
9940
9941         * text2.C (getFont): get the drawing font of the Inset if this
9942         paragraph is inside an inset (only important for InsetERT for now).
9943
9944         * buffer.C (insertErtContents): use new lanugage params in ERT
9945         constructor.
9946
9947         * CutAndPaste.C: commenting out seemingly uneeded code.
9948
9949 2002-02-19  Allan Rae  <rae@lyx.org>
9950
9951         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9952         Iterators might be simple to use but they also get invalidated.
9953         (removeAutoInsets): renamed saved cursor tracking variables and added
9954         some comments to clarify what everything does.
9955
9956 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9957
9958         * Chktex.C:
9959         * LaTeX.C:
9960         * LyXSendto.C:
9961         * converter.C:
9962         * lyx_cb.C:
9963         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9964         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9965
9966         * lyxfunc.C:
9967         * vc-backend.h: remove #include "support/syscall.h"
9968
9969         * LaTeX.C:
9970         * LyXSendto.C:
9971         * converter.C: rearrange #includes in Lars' approved fashion.
9972
9973         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9974         forward declare class Timeout in the header file.
9975
9976         * XFormsView.C: changes due to the above.
9977
9978         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9979         similar to LyXView.
9980
9981         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9982         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9983
9984 2002-02-18  José Matos  <jamatos@fep.up.pt>
9985
9986         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9987         insets contents.
9988
9989 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9990
9991         * a lot of small ws changes
9992         * add a lot of using std::XXX
9993         * use std construcs some places where approp.
9994         * use some exisint stuff from lyxfunctional where approp.
9995         * Make file changes to use partial linking (lets test this now...)
9996
9997 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9998
9999         * Chktex.C:
10000         * buffer.C:
10001         remove #include "support/syscontr.h" as it's redundant. Always has been.
10002
10003         * Chktex.C:
10004         * LaTeX.C:
10005         * LyXSendto.C:
10006         * converter.C:
10007         * lyx_cb.C:
10008         * vc-backend.C:
10009         change Systemcalls::System to Systemcalls::Wait and
10010         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10011         No change of functionality, just reflects the stripped down Systemcalls
10012         class.
10013
10014 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10015
10016         * debug.[Ch]: add a GRAPHICS type to the enum.
10017
10018 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10021
10022         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10023         there is an inset.
10024
10025 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10028         match the changes below.
10029
10030         * text2.C (toggleInset): if there is not editable inset at cursor
10031         position, try to see if cursor is _inside_ a collapsable inset
10032         and close it.
10033
10034 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10035
10036         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10037         document menu has a nice checkbox
10038
10039 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10040
10041         * lyxlength.C (asLatexString): change PW to output as percent of
10042         \textwidth.
10043
10044         * lengthcommon.C: change '%' to 't%'
10045
10046         * lyxfunc.C (dispatch): a few comments from Martin
10047
10048 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * WorkArea.h:
10051         * WorkArea.C:
10052         * BufferView_pimpl.h:
10053         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10054           the X selection.
10055
10056 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * vspace.C (inPixels): fix compiler warning
10059
10060 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * lyxfunc.C (getStatus): fix status message for disabled commands.
10063
10064 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * BufferView_pimpl.C: fix crash on close buffer
10067         during selection (#227)
10068
10069 2002-01-27  Herbert Voss  <voss@lyx.org>
10070
10071         * buffer.C: link old Figure to new graphic inset
10072
10073 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10074
10075         * FontLoader.C (getFontinfo): Change the latex font names in order
10076         to match the names of type1inst.
10077
10078 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10079
10080         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10081
10082         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10083         (extchanged): ditto
10084         (ext_exist): ditto
10085         (remove_files_with_extension): ditto
10086         (remove_file): ditto
10087         (write): ditto
10088
10089         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10090         document is smaller than the work area height. Do not initialize
10091         static variables to 0.
10092
10093 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10096
10097         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10098         LFUN_LAYOUT_PARAGRAPHS.
10099
10100         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10101         tabular. It is possible to provide a possible cell, which will
10102         typically be the actcell from the corresponding insettabular
10103
10104         * lyxfunc.C (getStatus): small cleanup; disable
10105         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10106         true
10107
10108 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10111
10112         * paragraph.C (startTeXParParams):
10113         (endTeXParParams): new methods. The LaTeX code to
10114         start/end paragraph formatting
10115         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10116         empty (fixes bug #200)
10117
10118         * vspace.C (inPixels): adapt to the change below
10119         (inPixels): [later] more cleanups (remove unused variables)
10120
10121         * lyxlength.C (inPixels): change to use a width and a height as
10122         parameter.
10123
10124 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10125
10126         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10127         Replaced with \paperwidth
10128
10129         * DepTable.C (insert): add std:: qualifier
10130
10131 2002-01-18  Allan Rae  <rae@lyx.org>
10132
10133         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10134         updated also?
10135
10136         * text.C (drawInset): Turned out I didn't know enough about how
10137         rebreaking worked.  This fixes most of the redraw problems.  I see
10138         an occasional cursor trail when a line is broken now and the cursor
10139         placement can seem out by a few pixels also after a rebreak.
10140
10141 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10142
10143         * buffer.C (parseSingleLyXformat2Token): update because minipage
10144         width is now a LyXLength
10145
10146         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10147
10148         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10149         math insets
10150
10151 2002-01-17  Juergen Vigna  <jug@sad.it>
10152
10153         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10154
10155         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10156         is set correctly and the inset is updated correctly.
10157
10158 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10161         the beginning of the loop.
10162
10163 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * lyxrc.C: improve help for use_scalable_fonts
10166
10167 2002-01-17  Allan Rae  <rae@lyx.org>
10168
10169         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10170
10171 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10174         make sure to set their inset_owner to the right value (bug #171)
10175
10176 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10177
10178         * DepTable.h
10179         * DepTable.C: Implement mtime checking to reduce time spent doing
10180         CRCs.
10181
10182 2002-01-16  Juergen Vigna  <jug@sad.it>
10183
10184         * tabular.C (GetAdditionalHeight): one of error fixed.
10185
10186         * lyxrc.C (output): small fix in writing use_pspell.
10187
10188 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10189
10190         * sp_base.h: #include LString.h
10191
10192 2002-01-16  Allan Rae  <rae@lyx.org>
10193
10194         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10195         Can someone check this please?
10196
10197         * text.C (drawInset): It was possible that p.row would be removed by
10198         breakAgainOneRow upsetting a few other settings.  There may be another
10199         small tweak possible by setting need_break_row = 0 when p.row has been
10200         removed but I don't know enough about the logic here.
10201
10202 2002-01-15  Allan Rae  <rae@lyx.org>
10203
10204         * text.C (insertChar): removed conditional truism.
10205
10206         * BufferView2.C (removeAutoInsets): More tweaks.
10207         cur_par_prev could be a stray pointer.  Check for trailing empty line
10208         in case last line was cur_par and only had an error inset on it.
10209
10210 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10213         absolute
10214
10215         * vc-backend.C (most methods):
10216         * exporter.C (Export):
10217         * converter.C (convert):
10218         (runLaTeX):
10219         * LyXSendto.C (SendtoApplyCB):
10220         * lyxfunc.C (dispatch):
10221         (menuNew):
10222         (open):
10223         (doImport):
10224         * lyx_cb.C (AutoSave):
10225         (InsertAsciiFile):
10226         * BufferView_pimpl.C (MenuInsertLyXFile):
10227         * buffer.C (runChktex): use Buffer::filePath().
10228
10229         * buffer.h: rename filename to filename_; rename filepath to
10230         filepath_ and make it private
10231         (filePath): new method
10232
10233         * buffer.C (writeFile): use fileName()
10234         (getLatexName):
10235
10236         * lyx_main.C (init): fix starting  of LyX when the binary is a
10237         link from so,ewhere else.
10238
10239         * minibuffer.C: include <cctype> for isprint
10240
10241 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10242
10243         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10244         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10245         name clash with InsetCollapsable's width function.
10246
10247 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * lastfiles.C: include <iterator>
10250
10251 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10252
10253         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10254         std::count.
10255
10256         * buffer.C (makeLaTeXFile): ditto.
10257         Also make loop operation more transparent.
10258
10259 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10260
10261         * ToolbarDefaults.C: remove trailing comma closing namespace.
10262
10263         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10264
10265         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10266         as in WorkArea.
10267
10268         * trans.C (Load): comment out unused variable, allowed.
10269
10270 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10271
10272         * minibuffer.[Ch] (append_char): new method to recieve input from the
10273         drop-down completion browser. If a key was pressed, then recieve this
10274         char and append it to the existing string.
10275         (peek_event): modify the positioning data passed to the completion
10276         browser so that it can be placed above the minibuffer rather than below.
10277 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * LyXAction.C (init): alloe error-next for readonly documents.
10280
10281         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10282         count.
10283
10284 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * bufferlist.C (readFile): create the buffer _after_ checking that
10287         the file exists.
10288
10289         * lyxfunc.C (verboseDispatch): fix handling of arguments
10290
10291         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10292
10293         * lyxrc.C: use string::erase() instead of initializing to "".
10294
10295
10296 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * BufferView_pimpl.h:
10299         * BufferView_pimpl.C:
10300         * WorkArea.h:
10301         * WorkArea.C:
10302         * text2.C: tell X when we have made a selection for copying
10303
10304 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10305
10306         * BufferView_pimpl.C (MenuInsertLyXFile):
10307         * lyxfunc.C (menuNew):
10308         (open):
10309         (doImport): add shortcuts to directory buttons
10310
10311         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10312         open a float)
10313
10314         * lyxfunc.C (setStatusMessage):
10315         (getStatusMessage): new methods
10316         (getStatus):use setStatusMessage instead of setErrorMessage
10317         (dispatch): when function is disabled, set error message here
10318         [instead of in getStatus previously]
10319
10320         * BufferView_pimpl.C (workAreaButtonRelease): update
10321         toolbar/menubar here too.
10322
10323 2002-01-13  Allan Rae  <rae@lyx.org>
10324
10325         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10326         Now seems indestructible.  Remaining task is to audit all other
10327         code affected by deleteEmptyParagraphMechanism.  One small quirk
10328         left is that an empty document with an error in the preamble can
10329         be made to report an error but no error box appears.  I don't know
10330         where it goes.
10331         (removeAutoInsets): Improved comments.
10332
10333 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * Thesaurus.h:
10336         * Thesaurus.C: update for Aiksaurus 0.14
10337
10338 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * text2.C (firstParagraph): removed member function, all uses
10341         replaces with ownerParagraph
10342         (redoParagraphs): here
10343         (updateInset): here
10344         (toggleAppendix): here
10345         * BufferView2.C (insertErrors): here
10346         (setCursorFromRow): here
10347
10348 2002-01-13  Allan Rae  <rae@lyx.org>
10349
10350         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10351         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10352         There is still a way to segfault this although you may have to do this
10353         multiple times: Have an InsetERT with an unknown command in it.
10354         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10355         <down-arrow>, <Enter> again, View->DVI, BANG!
10356
10357         * text2.C (setCursor):
10358         (deleteEmptyParagraphMechanism):
10359         * lyxtext.h (setCursor):
10360         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10361         Making use of the return value may help fix other bugs.
10362
10363 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10366
10367         * LyXView.C (updateMenubar): call MenuBar::update here
10368         (updateToolbar): but not here
10369         (showState): do not update toolbar/menubar
10370
10371         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10372         should need to care about that.
10373
10374         * lyxfunc.C (verboseDispatch): simplify a bit
10375         (getStatus): have a version which takes a pseudoaction, and
10376         another which requires a (kb_action,string).
10377
10378         * LyXAction.C (retrieveActionArg): make it work also when action
10379         is not a pseudo-action.
10380         (getActionName): simplify a bit
10381         (helpText):
10382
10383 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * lyxfunc.C (verboseDispatch): new families of methods with
10386         several ways to specify a command and a bool to indicate whether
10387         the command name and shortcut should be displayed in minibuffer
10388         (eventually, we could extend that to a finer bitmask like
10389         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10390         (dispatch): the pristine dispatch command which just, well,
10391         dispatchs! Note it still sets its result to minibuffer; I'm not
10392         sure we want that.
10393
10394         * lyxfunc.h: remove setHintMessage
10395
10396         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10397
10398 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10399
10400         * BufferView_pimpl.C (specialChar): delete new inset if we have
10401         not been able to insert it.
10402
10403         * kbmap.C: revert to using int instead of kb_action, since all we
10404         are dealing with is pseudo-actions.
10405
10406         * LyXAction.C (searchActionArg): change to return int instead of
10407         kb_action, since the result is a pseudoaction.
10408
10409 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10410
10411         * buffer.C (insertErtContents): Fix (partially) the font bug.
10412
10413 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10416         as the other one is broken on my machine!
10417
10418 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10419
10420         * commandtags.h:
10421         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10422
10423 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10424
10425         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10426         reflect their actual use. Provide compatibility code for older lyxrc
10427         files.
10428
10429         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10430         FL_NORMAL_STYLE.
10431         change names of popup font variables in line with the changes to lyxrc.C
10432
10433 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * buffer.C (asciiParagraph): avoid outputing a word twice after
10436         an inset.
10437
10438         * lyxrc.C (getDescription): document that document_path and
10439         template_path can be empty.
10440
10441 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10442
10443         * LaTeXFeatures.C (getMacros):
10444         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10445
10446         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10447
10448         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10449         getPackages.
10450         (getPackages): rename feature "floats" to "float". Use an array to
10451         iterate over 'simple' features (i.e. just a \usepackage). Add
10452         handling of "amsmath" (renamed from "amsstyle").
10453
10454 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10455
10456         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10457         features list.
10458
10459 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10460
10461         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10462         FuncStaus::FuncStatus & FuncStaus::some_method().
10463
10464 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10465
10466         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10467         of the func_satus stuff. Edited and massaged in various ways by
10468         JMarc.
10469
10470         * lyxfunc.C (getStatus): use FuncStatus
10471
10472 2002-01-08  Juergen Vigna  <jug@sad.it>
10473
10474         * text.C (nextBreakPoint): use function Inset::isChar().
10475
10476         * paragraph.C (TeXOnePar): use function
10477         Inset::forceDefaultParagraphs.
10478
10479         * buffer.C (latexParagraphs): use function
10480         Inset::forceDefaultParagraphs.
10481
10482 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * lyx_gui.C (init): set the style of the menu popups to
10485         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10486
10487 2002-01-07  Juergen Vigna  <jug@sad.it>
10488
10489         * text.C (setHeightOfRow): small fix
10490         (prepareToPrint): don't look at alignment if we don't have the place
10491         for doing it.
10492
10493 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10494
10495         * box.C: New file. Move the Box methods and functions out of box.h,
10496         following Lars' suggestion.
10497
10498 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10499
10500         * box.h: #include "support/LOstream.h", needed for inlined function.
10501
10502         * lyxtextclass.C:
10503         * lyxtextclasslist.C: added some using std declarations.
10504
10505 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * box.h: make signed dimensions to allow insets wider than
10508           the screen (bug #162)
10509
10510         * BufferView_pimpl.C: add some insetHit debug
10511
10512 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * vc-backend.C: add FIXME
10515
10516 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * lyxfunc.C (getStatus): enable code for showing math font status
10519         in toolbar/menu.
10520
10521 2002-01-07  Juergen Vigna  <jug@sad.it>
10522
10523         * text.C (nextBreakPoint): removed debug output not needed anymore.
10524
10525 2002-01-06  Juergen Vigna  <jug@sad.it>
10526
10527         * text.C (nextBreakPoint): fixed up this function we had this bug
10528         since ever but now hopefully we break row better.
10529         (insertChar): we have to check if an inset is the next char as it
10530         could now happen that a large inset is causing a break.
10531
10532 2002-01-05  Juergen Vigna  <jug@sad.it>
10533
10534         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10535         if it doesn't like to be drawed.
10536
10537 2002-01-04  Juergen Vigna  <jug@sad.it>
10538
10539         * BufferView2.C (lockInset): forgot to set a cursor.
10540
10541         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10542
10543 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10544
10545         * FormMathsPanel.C:
10546         * FormMathsPanel.h
10547         * MathsSymbols.C:
10548         * form_maths_panel.C:
10549         * form_maths_panel.h:
10550         * form_maths_panel.fd: implemented sub- and super- buttons in math
10551         panel.
10552
10553         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10554         (or ^ space) to be used as in TeX (req'd by André).
10555
10556         * lyxfunc.C: Allow ^ and _ again to be used both as
10557         super/subscript (mathed) and as themselves (in text).
10558
10559 2002-01-03  Allan Rae  <rae@lyx.org>
10560
10561         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10562         "LyX" or the filename of the current buffer if it has one.  This is a
10563         modified form of John Levon's patch.
10564
10565         * XFormsView.C (setWindowTitle): also set icon title.
10566
10567         * LyXView.h (setWindowTitle): signature changed.
10568         * XFormsView.h (setWindowTitle): ditto.
10569
10570 2002-01-02  Juergen Vigna  <jug@sad.it>
10571
10572         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10573
10574 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * screen.C (topCursorVisible): introduce a temp var for
10577         text->cursor.row(), handle the case where this row is null. (kindo
10578         hachish)
10579
10580         * text2.C (setCursor): add a couple of asserts.
10581
10582         * paragraph.h (inset_iterator): add -> operator
10583
10584         * paragraph.[Ch] (autoDeleteInsets): remove member function
10585
10586         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10587         cursor pos correctly and handle inset deletion by itself.
10588         (insertErrors): move iterator declaration out of for expression
10589
10590         * lyxtextclass.C: add <algorithm>
10591
10592         * Makefile.am: added the new files to sources, removed layout.C
10593
10594         * layout.C: removed file
10595
10596         * layout.h: remove LYX_DUMMY_LAYOUT
10597
10598         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10599         layout.
10600
10601         * lyxlayout.[Ch]:
10602         * lyxtextclass.[Ch]:
10603         * lyxtextclasslist.[Ch]: new files
10604
10605         * include order changes to a lot of files, also changes because of
10606         the six new files.
10607
10608 2001-12-27  Juergen Vigna  <jug@sad.it>
10609
10610         * buffer.C (asciiParagraph): more fixes.
10611
10612         * tabular.C (ascii): make ascii export support export of only the
10613         data separated by a column-delimiter.
10614         (ascii): better support for ascii export.
10615
10616         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10617
10618 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10619
10620         * tabular_funcs.C: use a "using std::getline" instead of the
10621         previous fix from Angus (necessary for cxx + lyxstring)
10622
10623 2001-12-24  Juergen Vigna  <jug@sad.it>
10624
10625         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10626
10627         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10628         problems. First check a minipage also if we have some ert-contents
10629         (not only on par->size(), second set the right depth of the paragraph
10630         on the relink to the root-paragraph-list!
10631
10632         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10633         which then did not anymore update the main paragraphs on undo/redo!
10634
10635 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10638         code. Support all font-changing funcs (even those which are not in
10639         menu currently). Support for reporting font settings in
10640         mathed (disabled until Andre provides a function on mathed's side).
10641
10642         * func_status.h (toggle): small helper function to set toggle
10643         state on a flag.
10644
10645 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         * tabular_funcs.C: getline -> std::getline
10648
10649 2001-12-21  Juergen Vigna  <jug@sad.it>
10650
10651         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10652         accessed and could be 0 (I couldn't generate this but it seems
10653         Michael could!).
10654
10655 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10658         * tabular_funcs.h: here and include iosfwd
10659
10660 2001-12-20  Juergen Vigna  <jug@sad.it>
10661
10662         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10663         inside inset but undo_par was.
10664
10665 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * Thesaurus.C: always include <config.h> in sources.
10668
10669         * Painter.h:
10670         * lyxlookup.h:
10671         * box.h: do not include <config.h> in header files
10672
10673         * text.C (paintLastRow): remove unused variable
10674
10675         * text.C (transformChar):
10676         (insertChar):
10677         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10678
10679         * Painter.C (text):
10680         * font.C (width): rewrite to use uppercase() instead of
10681         islower/toupper.
10682
10683         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10684
10685 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * lyxfind.C: clean up of find failure position change
10688
10689 2001-12-20  Juergen Vigna  <jug@sad.it>
10690
10691         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10692
10693         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10694         (TeXRow): added to LaTeX a single tabular row.
10695         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10696         (Latex): simplified and finally good LT-h/f support.
10697         (various_functions): just small adaptions for LT-h/f support.
10698
10699         * tabular_funcs.[hC]: added and moved here all not classfunctions
10700         of LyXTabular.
10701
10702 2001-12-19  Juergen Vigna  <jug@sad.it>
10703
10704         * tabular.[Ch]: better support for longtabular options (not finished
10705         yet!)
10706
10707 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * text.C (paintLastRow): use the label font instead of the font of
10710         the last character to compute the size of *_BOX. This makes more
10711         sense and avoids a crash with empty paragraphs.
10712         Use Painter::rectangle to draw EMPTY_BOX.
10713
10714 2001-12-19  Juergen Vigna  <jug@sad.it>
10715
10716         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10717         the paragraphs if the replaced paragraph is not the first one!
10718         Tried to delete not used paragraphs but does not work yet so for
10719         now it's inside #ifdef's and by default off!
10720
10721 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * MenuBackend.C: include "lyx_main.h" instead of declaring
10724         lastfiles (actually was declared as LastFiles* instead of a
10725         scoped_ptr).
10726
10727 2001-12-17  Juergen Vigna  <jug@sad.it>
10728
10729         * tabular.C (AppendColumn): applied John's fix
10730
10731 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView.h:
10734         * BufferView.C:
10735         * BufferView_pimpl.h:
10736         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10737
10738         * Makefile.am:
10739         * box.h: new start of class for above
10740
10741         * lyxfunc.C: ignore space-only minibuffer dispatches.
10742           Show the command name when it doesn't exist
10743
10744         * minibuffer.C: don't add empty lines to the history
10745
10746         * minibuffer.C: add a space on dropdown completion
10747
10748 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * text.C: fix line above/below drawing in insets
10751
10752 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * lyxlength.C (LyXLength): Initialize private variables.
10755
10756 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10757
10758         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10759         when inserting error insets.
10760
10761 2001-12-13  Juergen Vigna  <jug@sad.it>
10762
10763         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10764         actually sometimes the before-paragraph.
10765         (setUndo): don't clear the redostack if we're not actually undoing!
10766
10767 2001-12-06  Juergen Vigna  <jug@sad.it>
10768
10769         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10770         and fixed redoing of main paragraph, so we can use it now ;)
10771
10772         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10773
10774 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10777         Juergen's request
10778
10779 2001-12-13  André Pönitz <poenitz@gmx.net>
10780
10781         * undostack.[Ch]:
10782         * undo_func.C: minor cleanup
10783
10784 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10785
10786         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10787         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10788         font in urw-fonts package which is marked as -urw-fontspecific and
10789         does not work (incidentally, changing the encoding in the
10790         fonts.dir of this package to -adobe-fontspecific fixes the
10791         problem).
10792
10793         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10794         is a crash when undoing first paragraph (Juergen, please take a
10795         look). THis does not mean the undo fix is wrong, just that it
10796         uncovers problems.
10797
10798         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10799         the (Paragraph*) version when needed instead of duplicating the
10800         code.
10801
10802         * text.C (workWidth): use Inset::parOwner to find out where the
10803         inset has been inserted. This is a huge performance gain for large
10804         documents with lots of insets. If Inset::parOwner is not set, fall
10805         back on the brute force method
10806
10807         * paragraph_pimpl.C (insertInset):
10808         * paragraph.C (Paragraph):
10809         (cutIntoMinibuffer): set parOwner of insets when
10810         inserting/removing them
10811
10812         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10813
10814 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10815
10816         * commandtags.h:
10817         * LyXAction.C:
10818         * lyx_main.C:
10819         * lyxfunc.C:
10820         * mathed/formulabase.C:
10821         * mathed/math_cursor.[Ch]:
10822         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10823
10824
10825 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * lyxlength.[Ch] (operator!=): new function
10828
10829 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * text.C (workWidth): use Inset::parOwner to find out where the
10832         inset has been inserted. This is a huge performance gain for large
10833         documents with lots of insets. If Inset::parOwner is not set, fall
10834         back on the brute force method
10835
10836         * paragraph_pimpl.C (insertInset):
10837         * paragraph.C (Paragraph):
10838         (cutIntoMinibuffer): set parOwner of insets when
10839         inserting/removing them
10840
10841         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10842
10843 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * tabular-old.C (getTokenValue):
10846         * tabular.C (getTokenValue):
10847         (write_attribute): new versions for LyXLength
10848         (everywhere): adjust the use of widths
10849
10850         * tabular.h: change the type of widths from string to LyXLength
10851
10852 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10853
10854         * paragraph.C: fixed missing line number count when exporting
10855         Environments to LaTeX file
10856
10857         * buffer.C: added informational message for checking line numbers.
10858
10859 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10862         paragraph, do the 'double space' part, but not the 'empty
10863         paragraph' one.
10864
10865         * text.C (workWidth): small optimization
10866         (getLengthMarkerHeight): use minimal size for negative lengths.
10867
10868 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10869
10870         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10871
10872         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10873
10874 2001-12-11  André Pönitz <poenitz@gmx.net>
10875
10876         * FontLoader.C:
10877         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10878
10879 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * text2.C: keep selection on a setFont()
10882
10883 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lyx_cb.C: another bv->text misuse, from insert label
10886
10887 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * kbsequence.h:
10890         * kbsequence.C: re-instate nmodifier mask
10891
10892 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10893
10894         * lyx_main.h: make lyxGUI private.
10895
10896 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * lyxfind.C: place the cursor correctly on failed search
10899
10900 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * text.C (getLengthMarkerHeight): for small heights, the arrows
10903         are not always on top/bottom of the text
10904         (drawLengthMarker): smaller arrows; take the left margin in
10905         account; draw also vfills.
10906         (paintFirstRow):
10907         (paintLastRow): remove special code for vfill and standard spaces,
10908         since everything is handled in drawLengthMarker now.
10909
10910 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10911
10912         * buffer.C (insertErtContents): try to handle font and language
10913         interaction a bit better.g
10914
10915         * ColorHandler.C (updateColor): change the hash to cover the whole
10916         LColor enum, ws cleanup
10917         (getGCLinepars): ditto
10918         (getGCLinepars): only lookup in the linecache once.
10919
10920 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10921
10922         * iterators.C (operator++): Make the iterator more robust
10923
10924         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10925         (John's patch)
10926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10927
10928 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * lyxtext.h:
10931         * text.C: better added space drawing
10932
10933 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * LyXView.C:
10936         * BufferView2.C: fix layout combo update on inset unlock
10937
10938 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * Makefile.am: don't compile unused files
10941
10942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * lyxfunc.C:
10945         * commandtags.h:
10946         * LyXAction.C: remove old LFUN_LAYOUTNO
10947
10948 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * paragraph_pimpl.h:
10951         * paragraph_pimpl.C: isTextAt() doesn't need font param
10952
10953 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * lyxlex.h:
10956         * lyxlex.C: little cleanup
10957
10958 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * BufferView_pimpl.C: fix insertAscii for insets
10961
10962 2001-12-05  Juergen Vigna  <jug@sad.it>
10963
10964         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10965         set the right font on the "multi" paragraph paste!
10966
10967 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10968
10969         * trans_decl.h:
10970         * trans_mgr.[Ch]:
10971         * trans.[Ch]:
10972         * lyxgluelength.C:
10973         * lyxlength.C: remove out-commented code.
10974
10975         * BufferView_pimpl:
10976         * CutAndPaste.C:
10977         * DepTable.C:
10978         * buffer.C:
10979         * chset.C:
10980         * lastfiles.C:
10981         * lyxlex.C:
10982         * lyxlex_pimpl.C:
10983         * lyxserver.C:
10984         * screen.C:
10985         * tabular-old.C:
10986         * tabular.C:
10987         * text.C:
10988         * trans_mgr.C:
10989         * vc-backend.C: change "while(" to "while ("
10990
10991         * lyxlength.[Ch]: add zero function to check if length is zero or
10992         not
10993         * lyxgluelength.C: use it
10994
10995 2001-12-05  Allan Rae  <rae@lyx.org>
10996
10997         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10998         Works for 2.95.3, from what I understand of Garst's reports this should
10999         work for other g++ versions.  We're screwed if the abs(int) definition
11000         changed between bugfix releases of gcc.
11001
11002 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * text.C: fix chapter label offset !
11005
11006 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * lyxtext.h:
11009         * text.C: fix hfill at end of line, clean up
11010
11011 2001-12-04  Juergen Vigna  <jug@sad.it>
11012
11013         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11014         that we force an update of the inset and it's owners if neccessary.
11015
11016 2001-12-03  Juergen Vigna  <jug@sad.it>
11017
11018         * text.C (rowLast): simplified code
11019
11020 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * lyxfunc.C: fix show options on timeout
11023
11024 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * screen.C (topCursorVisible): scroll half a page when the cursor
11027         reached top of bottom of screen
11028
11029 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * minibuffer.C: deactivate on loss of focus
11032
11033 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * vspace.[Ch] (operator!=): add operator.
11036
11037 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * BufferView_pimpl.C: refuse to open an inset when
11040         there's a selection.
11041
11042 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * BufferView_pimpl.C: allow to click on RHS of full row insets
11045
11046 2001-11-30  Juergen Vigna  <jug@sad.it>
11047
11048         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11049         insets for undo reasons.
11050
11051 2001-11-28  André Pönitz <poenitz@gmx.net>
11052
11053         * vspace.[Ch]: cosmetical changes
11054
11055 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * LyXAction.h:
11058         * LyXAction.C:
11059         * lyxfunc.h:
11060         * lyxfunc.C:
11061         * kbmap.h:
11062         * kbmap.C:
11063         * lyxrc.C:
11064         * kbsequence.h:
11065         * kbsequence.C: part re-write of old kb code
11066
11067         * Painter.C:
11068         * WorkArea.C: remove Lgb_bug_find_hack
11069
11070 2001-11-30  José Matos <jamatos@fep.up.pt>
11071
11072         * buffer.C (makeDocBookFile): add a comment to point a hack.
11073         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11074         Fixed a double write of labels.
11075
11076 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11077
11078         * LaTeX.C:
11079         * LaTeX.h Fixed bug in LaTeX class where it would not
11080         re-run latex if no depfiles were changed, but the .dvi was removed.
11081
11082 2001-11-28  André Pönitz <poenitz@gmx.net>
11083
11084         * all the files from the change on 2001/11/26:
11085         use lyx::layout_type instead of LyXTextClass::size_type
11086         use lyx::textclass_type instead of LyXTextClassList::size_type
11087
11088 2001-11-29  Juergen Vigna  <jug@sad.it>
11089
11090         * text.C: added support for paragraph::isFreeSpacing()
11091
11092         * buffer.C: same as above
11093
11094         * paragraph.h: inserted isFreeSpacing() function to enable
11095         FreeSpacing inside InsetERT.
11096
11097         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11098         of the paragraph's in the cut/copy buffer to 0!
11099
11100         * text2.C (removeRow): remove the assert as it can!
11101
11102         * lyxtext.h: added helper function firstRow returning firstrow and
11103         made firstrow private again.
11104
11105         * BufferView2.C (lockInset): don't relock if we're already locked!
11106
11107         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11108         the only paragraph.
11109         (removeRow): added Assert::(firstrow)
11110
11111         * debug.C: forgot to add INSETTEXT here.
11112
11113 2001-11-28  Juergen Vigna  <jug@sad.it>
11114
11115         * sp_spell.C (initialize): changed error text to more general
11116         spellchecker command use (not only ispell!)
11117
11118         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11119
11120         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11121
11122 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * vspace.C: initialise lyxgluelength on failure
11125
11126 2001-11-28  Allan Rae  <rae@lyx.org>
11127
11128         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11129         declaration & definition that looks like a function declaration.
11130
11131 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11132
11133         * BufferView2.C (copy):
11134         (copyEnvironment): do not clear the selection when doing a copy.
11135
11136         * text.C (paintFirstRow): compilation fix
11137
11138 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11139
11140         * tabular.C (Latex): correct line count when writing latex.
11141
11142 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * paragraph_pimpl.h:
11145         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11146           bug a bit
11147
11148 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * text.C:
11151         * LColor.h:
11152         * LColor.C: change vfillline->added_space
11153
11154         * text.C: add markers and text for added space
11155
11156         * vspace.C: fix comment
11157
11158 2001-11-28  André Pönitz <poenitz@gmx.net>
11159
11160         * paragraph.C: whitespace changes
11161         * all the other files from the change on 2001/11/26:
11162         change *::pos_type into lyx::pos_type
11163
11164 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11165
11166         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11167         language of the document when inserting error insets.
11168
11169 2001-11-26  André Pönitz <poenitz@gmx.net>
11170
11171         * BufferView_pimpl.[Ch]:
11172         *       CutAndPaste.C:
11173         * buffer.[Ch]:
11174         * lyxcursor.[Ch]:
11175         * lyxfind.C:
11176         * lyxfunc.C:
11177         * lyxrow.[Ch]:
11178         * paragraph.[Ch]:
11179         * paragraph_pimpl.[Ch]:
11180         * sp_spell.C:
11181         * text.C:
11182         * text2.C: reduce header dependencies, introduce type for positions
11183
11184 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * <various>: change to use Alert.h
11187
11188 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11189
11190         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11191         when encountering an unknown token.
11192         (readLyXformat2): Show an error message if there were unknown tokens.
11193
11194 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView2.C:
11197         * BufferView_pimpl.C:
11198         * buffer.C:
11199         * paragraph.h:
11200         * text.C:
11201         * text2.C: use par->isInset()
11202
11203 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11204
11205         * paragraph_pimpl.h:
11206         * paragraph_pimpl.C: cleanup
11207
11208 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * text2.C (removeRow):
11211         * text.C (setHeightOfRow): remove useless (and costly) call to
11212         getRow.
11213
11214 2001-11-20  Allan Rae  <rae@lyx.org>
11215
11216         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11217         Now need Inset*::checkInsertChar() to return true for appropriate
11218         cases so that the characters in the minibuffer will actually be
11219         inserted.
11220
11221 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * text.C: change the order of the includes.
11224         (workWidth): initialize it at once.
11225         (workWidth): make maxw unsigned
11226         (setHeightOfRow): remove unused variable (inset)
11227         (selectSelectedWord): remove unused variable (inset)
11228         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11229
11230 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11231
11232         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11233         server is not running.
11234         (openConnection):
11235         (closeConnection): add debug info when server is disabled.
11236
11237         * ColorHandler.C (getGCForeground): send debug message to GUI
11238         channel.
11239
11240         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11241
11242         * kbmap.C (bind): modify because return conventions of
11243         kb_sequence::parse have changed.
11244
11245         * kbsequence.C (parse): only ignore spaces and not any stupid
11246         control character. This avoids tests like s[i] <= ' ', which are
11247         guaranteed to fail with 8bit characters and signed chars.
11248         Change return code to string::npos when there have been no error
11249         (0 was a bad idea when error is at first character)
11250
11251 2001-11-14  José Matos  <jamatos@fep.up.pt>
11252
11253         * buffer.h:
11254         * buffer.C (simpleDocBookOnePar): removed unused argument.
11255
11256 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11257
11258         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11259         insets which are part of a word. Paragraph::isLetter takes care of
11260         that now. Use Paragraph::isInset to identify insets.
11261         (selectSelectedWord): do not test for hyphenation break.
11262
11263         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11264         that protected spaces are considered as spaces.
11265
11266         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11267         Inset::isLetter.
11268
11269 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * lyxserver.h:
11272         * lyxserver.C: fix it. and small cleanup.
11273
11274 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * BufferView_pimpl.C: use inline helpers
11277
11278         * LaTeXFeatures.h:
11279         * LaTeXFeatures.C: fix typos
11280
11281         * Spacing.h:
11282         * Spacing.C: move spacing_string into class
11283
11284         * ToolbarDefaults.C: move stuff into namespace anon
11285
11286         * layout.h: update enum
11287
11288         * lyxfunc.C: use better debug
11289
11290         * minibuffer.h: fix typo
11291
11292         * debug.h:
11293         * debug.C:
11294         * WorkArea.C: add and use Debug::WORKAREA
11295
11296         * lyxtext.h:
11297         * text.C:
11298         * text2.C: code re-organisation, inline helpers
11299
11300 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11301
11302         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11303         std::vector.empty().
11304
11305 2001-11-09  Allan Rae  <rae@lyx.org>
11306
11307         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11308         '\n's after tables.  Tabular and ERT inset work now makes this no
11309         longer necessary.
11310
11311 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * minibuffer.h:
11314         * minibuffer.C: fix crash, improve drop-down completion
11315
11316 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * lyxserver.h:
11319         * lyxserver.C: invalidate fd's when doing endPipe()
11320
11321 2001-11-08  José Matos  <jamatos@fep.up.pt>
11322
11323         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11324         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11325
11326         * paragraph.h:
11327         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11328
11329 2001-11-07  José Matos  <jamatos@fep.up.pt>
11330
11331         * buffer.h:
11332         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11333         const qualifier.
11334
11335         * buffer.C (sgmlOpenTag):
11336         * buffer.C (sgmlCloseTag): removed debug info.
11337
11338         * buffer.h (sgmlOpenTag):
11339         * buffer.h (sgmlCloseTag): made public.
11340
11341 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11342
11343         * buffer.C (saveParamsAsDefaults):
11344         * lyx_cb.C (MenuLayoutSave): remove
11345
11346         * LyXAction.C (init):
11347         * commandtags.h:
11348         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11349
11350 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * buffer.C (setPaperStuff): removed from here...
11353
11354         * bufferparams.C (setPaperStuff): ... and moved there.
11355
11356 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * minibuffer.h:
11359         * minibuffer.C:
11360         * XFormsView.C: add support for drop-down completion
11361
11362 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11363
11364         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11365         commands.
11366
11367 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11368
11369         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11370         disabled.
11371
11372 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * lyx_main.C: change ref to known bugs
11375
11376 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11377
11378         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11379         to work around older babel problems.
11380
11381 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11382
11383         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11384
11385 2001-10-24  Juergen Vigna  <jug@sad.it>
11386
11387         * tabular-old.C (ReadOld): below variable changes reflected.
11388
11389         * tabular.[Ch]: added ltType struct for longtable header/footer
11390         defines and changed all instances where they are used. Added
11391         future support for double top/bottom rows.
11392
11393 2001-10-24  José Matos  <jamatos@fep.up.pt>
11394
11395         * buffer.h (docbookHandleCaption):
11396         * buffer.C (docbookHandleCaption): removed unused function.
11397         (makeDocBookFile): moved docbook supported version to v4.1.
11398
11399 2001-10-24  José Matos  <jamatos@fep.up.pt>
11400
11401         * tabular.h:
11402         * tabular.C (docbookRow): new function to export docbook code of a row.
11403         (DocBook): now honors the longtable flags.
11404
11405 2001-10-23  José Matos  <jamatos@fep.up.pt>
11406
11407         * LaTeXFeatures.h:
11408         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11409         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11410
11411         * buffer.C (makeLinuxDocFile):
11412         (makeDocBookFile): reworked the preamble, more clean, and with
11413         support for lyx defined entities. Changed the document declaration
11414         to be more XML friendly.
11415
11416         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11417         if we need to output XML that should be done with a filter.
11418
11419 2001-10-22  Juergen Vigna  <jug@sad.it>
11420
11421         * sp_pspell.h (class PSpell): add alive function needed in the
11422         controller to see if the spellchecker could be started.
11423
11424 2001-10-22  Juergen Vigna  <jug@sad.it>
11425
11426         * buffer.C (insertStringAsLines): modify the font for inserting
11427         chars in certain conditions by calling checkInsertChar(font).
11428
11429 2001-10-19  Juergen Vigna  <jug@sad.it>
11430
11431         * text.C (workWidth): use getRow instead of wrong algorithm.
11432         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11433
11434 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * lyxserver.h:
11437         * lyxserver.C:
11438         * lyx_main.h:
11439         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11440
11441 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11442
11443         * text.C (workWidth): do not search for the exact row when
11444         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11445         optimization for big documents.
11446
11447 2001-10-18  Juergen Vigna  <jug@sad.it>
11448
11449         * text.C (workWidth): new function with added Inset * parameter.
11450
11451 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11452
11453         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11454
11455         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11456         change return type of getColumnNearX.
11457
11458
11459         * text.C (changeRegionCase): use uppercase/lowercase instead of
11460         toupper/tolower.
11461         (leftMargin):
11462         (rightMargin): simplify code by factoring out the uses of
11463         textclasslist.
11464         (labelFill):
11465         (numberOfHfills):
11466         (setHeightOfRow):
11467         (appendParagraph): use Paragraph::size_type
11468
11469 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11470
11471         * vspace.C (asLatexString): add a missing break
11472
11473 2001-10-15  Herbert Voss  <voss@perce.de>
11474
11475         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11476
11477 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11480         is not available.
11481
11482 2001-10-10  André Pönitz <poenitz@gmx.net>
11483
11484         * lyxfunc.C: removed greek_kb_flag.
11485
11486 2001-10-10  Herbert Voss  <voss@perce.de>
11487
11488         * lyx_main.C: delete global string help_lyxdir.
11489
11490 2001-10-09  Herbert Voss  <voss@perce.de>
11491
11492         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11493
11494         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11495
11496         * lyx_main.C: added global string help_lyxdir.
11497
11498         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11499
11500 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11501
11502         * lyxrc.C (set_font_norm_type): support iso8859-4
11503
11504 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11505
11506         * LaTeX.C (deplog): add another regex for MikTeX
11507
11508 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11509
11510         * lyxrc.C (set_font_norm_type): support iso8859-3
11511
11512 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11513
11514         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11515
11516         * LaTeXFeatures.C: remove special case of french and index
11517
11518         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11519         before \begin{document}). This solves several incompatibilities.
11520
11521 2001-10-03  Garst Reese  <reese@isn.net>
11522
11523         * lyx_cb.C: change CheckTex error msg.
11524
11525 2001-10-03  José Matos  <jamatos@fep.up.pt>
11526
11527         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11528
11529 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * .cvsignore: update
11532
11533         * lyx_main.C (commandLineVersionInfo): use new style version info.
11534
11535         * buffer.C (writeFile):
11536         (makeLaTeXFile):
11537         (makeLinuxDocFile):
11538         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11539
11540         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11541
11542         * version.h: update to use stuff in version.C
11543
11544         * version.C.in: new file. Contains version information determined
11545         at compile time. This is a merging of version.h and
11546         version_info.h.in.
11547
11548 2001-10-03  Juergen Vigna  <jug@sad.it>
11549
11550         * BufferView_pimpl.C (update): don't change "dirty" status in
11551         updateInset call.
11552
11553 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * WorkArea.C (c-tor): re-position version string slightly.
11556
11557 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11558
11559         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11560         revert to previous code.
11561
11562         WorkArea.[Ch]: (show, destroySplash): methods removed.
11563
11564         WorkArea.C: rework code so that it's an amalgam of the codes before and
11565         after the splash screen was moved to WorkArea.
11566
11567 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11568
11569         * lyxrc.C (read):
11570         * vspace.C (inPixels):
11571         (lyx_advance):
11572         * kbmap.C (bind):
11573         * buffer.C (insertStringAsLines):
11574         (asciiParagraph): fix types to be large enough
11575
11576         * lyxlex_pimpl.h: change member status from short to int
11577
11578         * layout.h: fix type of endlabeltype
11579
11580         * kbmap.C (bind):
11581         * kbsequence.C (parse): change return type to string::size_type
11582
11583         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11584         variable
11585
11586         * Bullet.C (bulletSize):
11587         (bulletEntry): do not use short ints as parameters
11588
11589         * BufferView2.C (insertLyXFile): change a char to an int.
11590
11591         * WorkArea.C (WorkArea): remove unneeded floats in computation
11592
11593 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11594
11595         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11596
11597         * paragraph.C (asString): Do not ignore newline/hfill chars when
11598         copying to the clipboard.
11599
11600 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11601
11602         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11603         after a multi-line inset.
11604
11605 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * paragraph.C (validate): Set NeedLyXFootnoteCode
11608
11609 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11610
11611         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11612         and decrease-error to decrease.
11613
11614 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11615
11616         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11617         it more readable (should be equivalent)
11618
11619 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11620
11621         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11622
11623 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11624
11625         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11626         of a cursor (row, etc.) after a character has been deleted
11627         (deleteEmptyParagraphMechanism): call the method above on _all_
11628         cursors held by the LyXText when a double space has been
11629         detected/deleted.
11630
11631 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11634         pixmap.
11635         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11636
11637         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11638         background. Use greyOut() and the new show() methods to toggle between
11639         the foreground and background. Add code to remove the splash after
11640         its initial showing.
11641
11642         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11643         (create_forms): no longer call Dialogs::showSplash.
11644
11645 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11646
11647         * .cvsignore: add version_info.h
11648
11649 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * version_info.h.in: new file
11652
11653         * Makefile.am: add version_info.h.in
11654
11655         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11656         version_info.h instead of VERSION_INFO
11657
11658 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11659
11660         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11661         The ERT inset now returns string().
11662
11663 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11664
11665         * lyxtext.h, text.C (selectNextWord): renamed as
11666         selectNextWordToSpellcheck.
11667
11668         * text.C (selectNextWordToSpellcheck): Modified to not select
11669         words inside an ERT inset.
11670
11671 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * lyx_cb.C (MenuLayoutSave): change a bit the question
11674
11675         * sp_base.h: include <sys/types.h>
11676
11677 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11680
11681 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11682
11683         * several files: fix typos in user-visible strings
11684
11685 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11686
11687         * text2.C (pasteSelection): do not set the selection, since it
11688         will be cleared later. Actually, the intent was to fix the way the
11689         selection was set, but I figured rmoving the code was just as good.
11690
11691 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11692
11693         * FontLoader.C (available): Check if font is available without
11694         loading the font.
11695
11696 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11697
11698         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11699
11700 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11701
11702         * lyxrc.[Ch]: added display_graphics variable and associated code.
11703
11704 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * bufferparams.C (hasClassDefaults): new method. Returns true if
11707         the buffer parameters correspond to known class defaults
11708
11709 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11710
11711         * XFormsView.C (show): set minimum size to the main window.
11712
11713 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * text2.C (copySelection):
11716         (cutSelection):
11717         * lyxfind.C (LyXReplace):
11718         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11719         LyXText::selectionAsString.
11720
11721         * paragraph.C (asString): add "label" argument to the second form
11722
11723         * text2.C (selectionAsString): add "label" argument and pass it to
11724         Paragraph::asString.
11725
11726 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * lyx_main.C (commandLineHelp): remove version information
11729
11730 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11731
11732         * lyx_main.C: add -version commandline option
11733
11734 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * paragraph.h: make the optional constructor arg required instead.
11737         some modifications to other files because of this.
11738
11739         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11740
11741         * lyxserver.C (C_LyXComm_callback): make it static
11742
11743         * lyx_main.C (error_handler): make it static
11744
11745         * lyx_gui.C (LyX_XErrHandler): make it static
11746
11747         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11748
11749         * WorkArea.C: make the extern "C" methods static.
11750
11751         * Makefile.am (lyx_LDADD): simplify
11752
11753 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11754
11755         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11756         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11757
11758         * LyXAction.C (init):
11759         * lyxfunc.C (dispatch): associated code removal.
11760
11761 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11762
11763         * lyxfont.h (isSymbolFont): shut off warning
11764
11765         * text.C (setHeightOfRow):
11766         (getVisibleRow): fix crash with empty paragraphs which have a
11767         bottom line
11768
11769 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11770
11771         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11772         code.
11773
11774 2001-09-04  José Matos  <jamatos@fep.up.pt>
11775         * buffer.C
11776         * buffer.h
11777         * tabular.C (docbook): rename docBook method to docbook.
11778
11779 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * Makefile.am: add dependencies to main.o.
11782
11783 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11784
11785         * FontLoader.C (available): Return false if !lyxrc.use_gui
11786
11787 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11788
11789         * FontInfo.C (query):
11790         * converter.C (view):
11791         * importer.C (Import):
11792         * exporter.C (Export): Can not -> cannot.
11793
11794 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * BufferView_pimpl.C: allow to create index inset even if
11797           string is empty
11798
11799 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * buffer.C (getLists): replace boost::tie code with an explicit pair
11802         as boost::tie can break some compilers.
11803
11804         * iterators.h: Added a std:: declaration to the return type of
11805         ParIterator::size.
11806
11807 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11810           case.
11811
11812 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11813
11814         * iterators.[Ch]: New files. Provide paragraph iterators.
11815
11816         * buffer.C (changeLanguage): Use paragraph iterators.
11817         (isMultiLingual): ditto
11818
11819         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11820
11821 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11822
11823         * FontLoader.C: Support for cmr font.
11824
11825 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11826
11827         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11828         (available): New method.
11829
11830         * FontInfo.C (getFontname): Use scalable fonts even when
11831         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11832         found.
11833
11834 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11835
11836         * converter.C (Formats::view): reverted! Incorrect fix.
11837
11838 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11839
11840         * converter.C (Formats::view): only output the -paper option
11841         if the dvi viewer is xdvi, thereby fixing bug #233429.
11842
11843 2001-08-23  Herbert Voss  <voss@perce>
11844
11845         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11846
11847 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * Spacing.h (Spacing): Set space to Default on in the default
11850         constructor.
11851
11852 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * vc-backend.h (RCS::versionString): add RCS to version
11855         (CVS::versionString): add CVS to version
11856
11857         * vc-backend.C (scanMaster): do not add CVS to version.
11858         (scanMaster): do not add RCS to version
11859
11860         * lyxvc.C (versionString): new method
11861
11862         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11863
11864 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * Spacing.C (set): initialize fval
11867
11868 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11869
11870         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11871         " or \.
11872
11873 2001-08-16  Juergen Vigna  <jug@sad.it>
11874
11875         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11876
11877 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * BufferView_pimpl.C:
11880         * figureForm.C:
11881         * lyxtext.h:
11882         * text2.C: setParagraph takes linespacing now
11883
11884 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * LyxAction.C: add internal LFUN_CITATION_INSERT
11887
11888         * LyXView.C: actually apply fix
11889
11890         * bufferlist.C: fix open non-existent file
11891
11892         * lyxfind.C: fix indentation
11893
11894         * lyxfunc.C: remove unneeded assert, fix typo
11895
11896 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * MenuBackend.C: use "Floatname List"
11899
11900 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11901
11902         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11903         when converting LaTeX layout to insetERT.
11904         Generate a non-collapsed float when reading old float
11905
11906 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11907
11908         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11909         ERT insets.
11910
11911 2001-08-13  Juergen Vigna  <jug@sad.it>
11912
11913         * text.C (fill): return 0 instead of 20 as this seems to be the more
11914         correct value.
11915
11916 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11917
11918         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11919         lyxrc.font_norm.
11920
11921 2001-08-13  Juergen Vigna  <jug@sad.it>
11922
11923         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11924         casesensitive off.
11925         (SearchBackward): comment out the unlocking of the inset_owner this
11926         should not be needed!
11927
11928 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11929
11930         * Many files: Remove inherit_language, and add latex_language
11931
11932         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11933         collapsible insets.
11934
11935 2001-08-10  Juergen Vigna  <jug@sad.it>
11936
11937         * text.C (prepareToPrint): fixed hfill-width in draw!
11938
11939         * BufferView2.C (selectLastWord): save the selection cursor as this
11940         now is cleared in the function LyXText::clearSelection!
11941
11942 2001-08-08  Juergen Vigna  <jug@sad.it>
11943
11944         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11945         BACKSPACE type functions.
11946
11947         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11948         is only cutted from the document but not put in the cut-buffer, where
11949         still the old stuff should be.
11950
11951         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11952
11953         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11954
11955         * tabular.C (SetWidthOfCell): fixed special case where the width
11956         was not updated!
11957         (LeftLine): handle '|' in align_special.
11958         (RightLine): ditto
11959         (LeftAlreadyDrawed): ditto
11960         (SetWidthOfCell): ditto
11961
11962 2001-08-07  Juergen Vigna  <jug@sad.it>
11963
11964         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11965
11966 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11969         * lyxlex.[hC]: ditto
11970
11971 2001-08-06  Juergen Vigna  <jug@sad.it>
11972
11973         * text.C (getVisibleRow): fix up row clearing a bit.
11974
11975 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * minibuffer.C: make sure the X server sees the changes in the input.
11978
11979 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * paragraph.C (getFont): split into...
11982         (getLabelFont): this
11983         (getLayoutFont): and this
11984         * paragraph_pimpl.C (realizeFont): calling this
11985
11986         * text2.C (getFont): split into...
11987         (getLayoutFont): this
11988         (getLabelFont): and this
11989         (realizeFont): all three calling this
11990
11991         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11992         files where used.
11993
11994 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11997
11998 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11999
12000         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12001         layouts from the Quote inset insertion.
12002
12003 2001-08-03  Juergen Vigna  <jug@sad.it>
12004
12005         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12006
12007         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12008         only if status not is already CHANGED_IN_DRAW (second level).
12009
12010         * text.C (draw): don't set the need_break_row when inside an
12011         InsetText LyXText.
12012
12013 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * buffer.C (parseSingleLyXformat2Token): handle more latex
12016         conversion cases.
12017
12018         * bufferview_funcs.[hC]: change function names to
12019         begin with small char, adjust other files.
12020
12021 2001-08-02  André Pönitz <poenitz@gmx.net>
12022
12023         * lyxfunc.C:
12024         BufferView_pimpl.C: remove broken special code for math-greek
12025
12026 2001-08-02  Juergen Vigna  <jug@sad.it>
12027
12028         * BufferView_pimpl.C (update): redone this function so that we
12029         update the text again if there was a CHANGE_IN_DRAW.
12030
12031         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12032         (drawFromTo): added a new internal bool which is used by draw() and
12033         redraw() function.
12034         (general): some cursor drawing problems fixed.
12035
12036 2001-08-01  Juergen Vigna  <jug@sad.it>
12037
12038         * lyxfind.C (LyXFind): fixed
12039         (SearchForward): ditto
12040         (SearchBackward): ditto
12041
12042         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12043         spurius drawing of the cursor in the main area.
12044
12045         * text2.C (status): small fix which could lead to a segfault!
12046         (clearSelection): remove unneeded BufferView param.
12047
12048 2001-08-01  André Pönitz <poenitz@gmx.net>
12049
12050         * lyxfunc.C: small change due to changed mathed interface
12051
12052 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12053
12054         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12055
12056 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * lyxfunc.c: fail gracefully if file doesn't exist
12059
12060         * LyXSendto.C:
12061         * buffer.C:
12062         * lyxfunc.C:
12063         * BufferView_pimpl.C: IsDirWriteable() proto changed
12064
12065         * LyXView.C: fix updateWindowTitle() to store the last title
12066
12067 2001-07-31  Juergen Vigna  <jug@sad.it>
12068
12069         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12070         the font (wrong since using of Paragraph::highestFontInRange).
12071
12072         * paragraph.C (highestFontInRange): added a default_size parameter.
12073
12074         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12075         (setHeightOfRow): reformat
12076
12077 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * converter.[hC] + affected files: move to (inital-char)lowercase
12080         function names.
12081
12082         * ParagraphParameters.C (ParagraphParameters): remove commented code
12083
12084         * PainterBase.[Ch]: remove commented code
12085
12086         * LaTeXFeatures.h: add "bool floats" for float.sty
12087
12088         * LaTeXFeatures.C (LaTeXFeatures): init floats
12089         (require): handle float
12090         (getPackages): do it with floats
12091
12092 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12093
12094         * BufferView_pimpl.C (Dispatch): improve handling of
12095         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12096
12097         * commandtags.h: #include lyxfont.h here temporarily to avoid
12098         keybinding bug.
12099
12100         * bufferlist.h: include LString.h here.
12101
12102 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12103
12104         * text2.C (getStringToIndex): new method.
12105
12106 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12107
12108         * *: Reduced header file dependencies all over.
12109
12110 2001-07-30  Baruch Even  <baruch@lyx.org>
12111
12112         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12113
12114 2001-07-29  Baruch Even  <baruch@lyx.org>
12115
12116         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12117
12118 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12119
12120         * ParameterStruct.h (endif): add a default constructor to make
12121         sure that all variables is initialized.
12122
12123         * ParagraphParameters.C (ParagraphParameters): adjust
12124
12125 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12128         index; also, check that there is something to index, and that it
12129         does not span over several paragraphs.
12130         (doubleClick): use WHOLE_WORD_STRICT for double click.
12131
12132         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12133
12134         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12135         scheme.
12136
12137 2001-07-26  Baruch Even  <baruch@lyx.org>
12138
12139         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12140         an InsetFig figure, backwards compatible reading of old figure code.
12141
12142 2001-07-27  Juergen Vigna  <jug@sad.it>
12143
12144         * text2.C: font.realize function adaption.
12145
12146         * text.C (draw): add a warnings lyxerr text if needed.
12147
12148         * layout.C: font.realize function adaption.
12149
12150         * language.C: add inherit_language and implement it's handlings
12151
12152         * bufferview_funcs.C (StyleReset): remove language parameter from
12153         font creation (should be language_inherit now).
12154
12155         * bufferparams.C (writeFile): handle ignore_language.
12156
12157         * paragraph.C (getFontSettings): the language has to be resolved
12158         otherwise we have problems in LyXFont!
12159
12160         * lyxfont.C (lyxWriteChanges): added document_language parameter
12161         (update): removed unneeded language parameter
12162
12163         * paragraph.C (validate): fixed wrong output of color-package when
12164         using interface colors for certain fonts in certain environments,
12165         which should not seen as that on the final output.
12166
12167 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * BufferView_pimpl.C:
12170         * Thesaurus.h:
12171         * Thesaurus.C:
12172         * Makefile.am:
12173         * commandtags.h:
12174         * LyXAction.C: add thesaurus support
12175
12176         * lyxfind.h:
12177         * lyxfind.C: add "once" parameter, for thesaurus, to not
12178           move to the next match
12179
12180 2001-07-26  Juergen Vigna  <jug@sad.it>
12181
12182         * lyxfont.C (realize): honor ignore_language too!
12183         (resolved): ditto.
12184
12185         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12186
12187         * text.C (draw): one place more for ignore_language to not draw
12188         itself!
12189
12190 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12191
12192         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12193
12194 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12197         the minipage conversion problem.
12198
12199 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12202         insert an inset.
12203
12204 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * BufferView.h: don't forward declare WorkArea
12207
12208         * BufferView.C: don't include WorkArea.h
12209
12210 2001-07-25  André Pönitz <poenitz@gmx.net>
12211
12212         * commandtags.h:
12213         * LyXAction.C:
12214         * lyxfunc.C:  new LFUN 'math-space'
12215
12216         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12217
12218 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * text2.C (toggleInset): call open/close
12221
12222 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * lyxfunc.C (dispatch): add debug for the disabled case
12225
12226         * font.C (buttonText): make similar to rectText
12227
12228         * buffer.C (readInset): comment out parsing of insetlist and
12229         insttheorem
12230
12231         * PainterBase.C (rectText): small correction
12232
12233         * BufferView_pimpl.C: comment out insettheorem and insetlist
12234         * LyXAction.C: ditto
12235         * commandtags.h: ditto
12236
12237 2001-07-24  Juergen Vigna  <jug@sad.it>
12238
12239         * text.C (draw): honor the ignore_language.
12240
12241         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12242
12243 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12246         char inset.
12247
12248 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12249
12250         * lyxtext.h: remove unused (and unimplemented) methods
12251
12252 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12253
12254         * text.C (getVisibleRow): honor background color
12255
12256         * PainterBase.h:
12257         * Painter.h: remove default color argument for fillRectangle
12258
12259         * text.C (backgroundColor): new method
12260
12261 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * text.C (getVisibleRow): adjust
12264
12265         * font.[Ch] (rectText): new method, metrics
12266         (buttonText): new method, metrics
12267
12268         * PainterBase.[hC]: make rectText and buttonText always draw and take
12269         fewer paramteres.
12270
12271 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12272
12273         * ToolbarDefaults.C (read):
12274         * MenuBackend.C (read): allow escaping in all strings
12275
12276         * BufferView_pimpl.C (insertAndEditInset): new method.
12277         (Dispatch): use insertAndEditInset whenever appropriate.
12278
12279         * BufferView_pimpl.C (insertNote): removed
12280
12281         * BufferView_pimpl.C (smartQuote): new method, moved from
12282         BufferView; if an insetquote cannot be inserted, insert a '"'
12283         character instead.
12284
12285         * BufferView2.C: remove insertCorrectQuote();
12286
12287         * lyxfunc.C (getStatus): Add support for all remaingin
12288         inset-insert lfuns.
12289
12290         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12291
12292         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12293         command (necessary to pass " as parameter of self-insert.
12294
12295         * text.C (selectWordWhenUnderCursor):
12296         (selectWord): add word_location parameter
12297         (selectWordWhenUnderCursor): same + remove special code for word
12298         boundary.
12299         (selectNextWord): use kind() to guess type of insetspecialchar,
12300         not latex().
12301
12302         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12303         (insertErtContents): create ert insets as collapsed.
12304         (readInset): better compatibility code for Info inset.
12305
12306 2001-07-20  Juergen Vigna  <jug@sad.it>
12307
12308         * lyxfunc.C (dispatch): use always LyXFind now!
12309
12310         * text2.C (init): add a reinit flag so that the LyXText can be
12311         reinited instead of deleted and reallocated (used in InsetText).
12312
12313         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12314
12315         * text.C: ditto
12316
12317         * text2.C: ditto
12318
12319 2001-07-18  Juergen Vigna  <jug@sad.it>
12320
12321         * text.C (selectNextWord): handle insets inside inset by calling
12322         always the bv->text functions so that we can go up the_locking_inset!
12323
12324         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12325         in strange locations when inside an inset!
12326
12327         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12328         handling to include insets.
12329
12330         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12331
12332 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * LyXAction.C (init):
12335         * commandtags.h:
12336         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12337         LIGATURE_BREAK, since the name is so stupid.
12338
12339 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12342         InsetInfos.
12343
12344         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12345
12346         * sp_form.[Ch]: remove.
12347
12348         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12349
12350         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12351         InsetInfo.
12352
12353         * src/buffer.C (readInset): ditto.
12354
12355 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12356
12357         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12358         menuSeparator(), endOfSentenceDot(), ldots() and
12359         hyphenationPoint(), which are therefore removed.
12360         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12361
12362         * LyXAction.C (init):
12363         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12364
12365         * paragraph.C (getWord): removed.
12366
12367         * BufferView_pimpl.C (Dispatch): use last word or selection for
12368         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12369
12370         * lyx_main.C (queryUserLyXDir): do not ask before creating
12371         user_dir, except if it has been named explicitely.
12372
12373 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12376         a document of zero size.
12377
12378 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12379
12380         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12381         approriately in the c-tor and in require().
12382         (getPackages): output the appropriate LaTeX for natbib support.
12383
12384         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12385         variables "use_natbib" and "use_numerical_citations" when reading the
12386         LyX file.
12387         (readInset): read the various natbib cite commands.
12388         (validate): white-space change.
12389
12390         * bufferparams.[Ch]: new variables "bool use_natbib" and
12391         "bool use_numerical_citations".
12392         (writeFile): output them in the LyX file.
12393
12394 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12395
12396         * lyxfunc.C (getStatus): add support for all the inset insertion
12397         commands.
12398
12399         * text2.C (insertInset):
12400         * paragraph.C (insetAllowed):
12401         * BufferView_pimpl.C (insertInset): update to take in account the
12402         renaming of insertInsetAllowed
12403
12404         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12405
12406         * text2.C (getInset): new method. returns inset at cursor position.
12407
12408         * BufferView_pimpl.C (Dispatch): changes because of this.
12409
12410         * LyXAction.C (init): rename open-stuff to inset-toggle.
12411
12412         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12413
12414         * text2.C (toggleInset): renamed from openStuff; use
12415         Inset::open().
12416
12417 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12418
12419         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12420
12421         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12422
12423 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * buffer.C (readLyXformat2): Add filename to the error dialog
12426
12427 2001-07-18  Juergen Vigna  <jug@sad.it>
12428
12429         * tabular.C (GetCellNumber): put an assert here instead of the check!
12430
12431 2001-07-17  Juergen Vigna  <jug@sad.it>
12432
12433         * BufferView_pimpl.C (toggleSelection): adapted too.
12434
12435         * text.C (selectNextWord): adapted for use with insets.
12436         (selectSelectedWord): ditto
12437
12438 2001-07-17  Juergen Vigna  <jug@sad.it>
12439
12440         * sp_spell.C (PSpell): fix initialitation order.
12441
12442 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * paragraph.C: spacing
12445
12446 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12447
12448         * sp_spell.C: repair language selection for pspell
12449
12450 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * lyxfunc.h: change more methods to begin with lower char.
12453
12454 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12455
12456         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12457         for unknown layouts.
12458
12459 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12460
12461         * buffer.C (readLyXformat2): Generate an error dialog if there are
12462         unknown layouts.
12463
12464 2001-07-16  Juergen Vigna  <jug@sad.it>
12465
12466         * sp_spell.C: always compile ISpell part.
12467
12468         * lyxrc.C: added use_pspell entry and it's handling.
12469
12470 2001-07-13  Juergen Vigna  <jug@sad.it>
12471
12472         * sp_spell.C: removed double includes.
12473
12474 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12475
12476         Consistent use of Lsstream.h:
12477         * Lsstream.h: added using std::stringstream for consistencies sake.
12478
12479         * buffer.C: removed using std::stringstream
12480
12481         * lyxfont.C (stateText):
12482         * paragraph.C (asString):
12483         * text.C (selectNextWord, selectSelectedWord):
12484         * text2.C (setCounter):
12485         * vspace.C (asString, asLatexString):
12486         std::ostringstream -> ostringstream.
12487
12488 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12489
12490         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12491         * commandtags.h: add LFUN_HELP_ABOUTLYX
12492         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12493
12494 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12495
12496         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12497         cursorToggle()
12498         * lyx_gui_misc.C: remove spellchecker
12499         * lyxfunc.C: showSpellchecker
12500         * sp_base.h: added
12501         * sp_ispell.h: added
12502         * sp_pspell.h: added
12503         * sp_spell.C: added
12504         * sp_form.[Ch]: removed
12505         * spellchecker.[Ch]: removed
12506
12507 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12508
12509         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12510         is set.
12511         (simpleTeXSpecialChars): Simply print the input character without
12512         any special translation if pass_thru is set.
12513
12514         * layout.h: Added bool pass_thru to layout class for being able to
12515         implement pass through of a paragraph for Literate Programming.
12516
12517         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12518         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12519         * layout.C (Read): add "passthru" to list of layout tags and add
12520         code to set the pass_thru boolean when it is read.
12521
12522 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12523
12524         * trans_decl.h: remove allowed from KmodInfo
12525
12526         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12527         remove allowed code
12528         (Load): adjust
12529
12530         * paragraph_pimpl.C (erase): use boost::prior
12531
12532         * Painter.C (text): use data() instead of c_str() when length is
12533         also provided.
12534         * WorkArea.C (putClipboard): ditto
12535         * font.h (width): ditto
12536
12537         * BufferView2.C: use it-> instead of (*it). for iterators
12538         * texrow.C: ditto
12539         * paragraph_pimpl.C: ditto
12540         * paragraph.C: ditto
12541         * minibuffer.C: ditto
12542         * language.C: ditto
12543         * kbmap.C: ditto
12544         * encoding.C: ditto
12545         * counters.C: ditto
12546         * converter.C: ditto
12547         * chset.C: ditto
12548         * Variables.C: ditto
12549         * TextCache.C: ditto
12550         * MenuBackend.C: ditto
12551         * LyXAction.C: ditto
12552         * LColor.C: ditto
12553         * FloatList.C: ditto
12554         * DepTable.C: ditto
12555         * ColorHandler.C (LyXColorHandler): ditto
12556
12557 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12560
12561         * text2.C (openStuff): reintroduce this method (which had been
12562         nuked in NEW_INSETS frenzy).
12563
12564         * lyxfunc.C (Dispatch): when an action has not been handled, use
12565         its name in the error message, not its number.
12566
12567         * paragraph.C (inInset): change method name to begin with lowercase.
12568
12569         * undo_funcs.C:
12570         * text2.C: updates because of this.
12571
12572 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12573
12574         * ToolbarDefaults.C (add): add spaces in error message
12575
12576 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12579         (readLyXformat2): rename return_par to first_par, use lyxlex's
12580         pushToken and remove the manual push handling.
12581         (parseSingleLyXformat2Token): add another ert comp. variable:
12582         in_tabular, rename return_par to first_par. handle newlines better
12583
12584 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12587
12588 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * text2.C (getParFromID): removed
12591
12592         * buffer.C (getParFromID): new method moved form lyxtext.
12593         * BufferView2.C (insertErrors): adjust
12594         (setCursorFromRow): adjust
12595         * BufferView_pimpl.C (restorePosition): adjust
12596         * lyxfunc.C (Dispatch): adjust
12597         * undo_funcs.C (textUndo): adjust
12598         (textRedo): adjust
12599         (textHandleUndo): adjust
12600         (textHandleUndo): adjust
12601
12602 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12603
12604         * buffer.C: up' the LYX_FORMAT
12605
12606         * lyxfont.h: turn NO_LATEX on as default
12607
12608         * buffer.C (insertErtContents): new methods of tex style compability.
12609         (parseSingleLyXformat2Token): use it several places.
12610         * tabular.C (OldFormatRead): and here
12611
12612 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * text2.C: remove some commented code.
12615         reindent file.
12616
12617         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12618         * trans.C: changes because of the above.
12619
12620 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12621
12622         * text2.C (setCounter): Fix counters bug with bibliography layout.
12623
12624 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12627         own member functions
12628         (simpleTeXSpecialChars): ditto
12629
12630 2001-07-06  Juergen Vigna  <jug@sad.it>
12631
12632         * a lot of files: changed the access to LyXText::status and the
12633         call of undo-functions.
12634
12635         * undo.[Ch]: added a inset_id to the undo informations.
12636
12637         * undo_funcs.[Ch]: added and moved here all undo functions.
12638
12639         * lyxtext.h: give the status enum a weight, made status_ a private
12640         variable and made accessor functions for it, removed the whole bunch
12641         of undo-functions as they are now in their own file, make some
12642         functions publically available. Added function ownerParagraph with
12643         int parameter.
12644
12645         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12646         made InInset() a const function, added getParFromID() function.
12647
12648         * buffer.[Ch]: added const version for inset_iterator functions,
12649         added getInsetFromID() function.
12650
12651         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12652         changed undo functions for new version.
12653
12654 2001-07-05  Juergen Vigna  <jug@sad.it>
12655
12656         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12657         unknow mechanism does not call the proper constructor but only this
12658         one also if I request the other!?
12659
12660 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12661
12662         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12663
12664         * text2.C (LyXText): use initialization lists.
12665
12666         * lyxtext.h (Selection): initialize set_ and mark_
12667         (init): remove method
12668
12669 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12670
12671         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12672
12673 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * screen.[Ch]: change method names to begin with lowercase
12676
12677         * BufferView_pimpl.C (updateScrollbar): simplify further and
12678         hopefully make it a bit faster.
12679
12680 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12683         calling directly xforms functions.
12684
12685         * Painter.C (Painter):
12686         * lyx_cb.C (MenuWrite):
12687         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12688         fl_display.
12689
12690         * lyx_gui.C: remove bogus guiruntime extern declaration.
12691
12692 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12695         in NEW_INSETS
12696         (redoDrawingOfParagraph): ditto
12697         (redoParagraphs): ditto
12698         (cutSelection): don't create a object for CutAndPaste use the
12699         static method directly
12700         (pasteSelection): ditto
12701
12702         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12703         LyXview (+ rename)
12704
12705 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * modifications to some other files because of this.
12708
12709         * Makefile.am (lyx_SOURCES): add XFormsView
12710
12711         * XFormsView.[Ch]: new files
12712
12713         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12714         the main window. Move the gui dependent stuff to XFormsView
12715
12716 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * tabular.C (GetCellInset): update cur_cell also in the row/col
12719         version of this function.
12720
12721         * lyxfunc.C: no need to include figure_form.h here.
12722
12723         * FontLoader.h:
12724         * lyxfunc.h:
12725         * lyxscreen.h:
12726         * text2.C:
12727         * lyxvc.C: no need to include forms.h here.
12728
12729 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12730
12731         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12732
12733         * lyxfunc.C (Dispatch):
12734         * Spacing.C (set):
12735         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12736         constructor argument.
12737
12738 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * paragraph.C (Paragraph): dont't clear, and just set layout.
12741         (makeSameLayout): use params's copy contructor.
12742
12743         * ParagraphParameters.[Ch] (makeSame): delete method
12744
12745 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * Variables.[Ch]: fix indentation, rename set to isSet
12748
12749 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * lyxfunc.C (Dispatch): fix typo
12752
12753 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12756         upper_bound.
12757
12758         * bufferlist.C: include assert.h for emergencyWrite().
12759
12760 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12763           give up at last (bug #425202) !
12764
12765 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * lyx_gui_misc.C:
12768         * sp_form.h:
12769         * sp_form.C:
12770         * spellchecker.h:
12771         * spellchecker.C: strip spellchecker options and bring up
12772           preferences tab instead
12773
12774 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12777         the istringstream constructor
12778
12779 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * paragraph.C (getLayout): fix return value
12782
12783         * paragraph.h: do not declare getLayout as inline.
12784
12785         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12786
12787 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * lyxcursor.h (operator<): new func
12790         (operator>): new func
12791         (operator>=): new func
12792         (operator<=): new func
12793
12794         * text.C (changeCase): use selection.start and selection.end
12795         (changeRegionCase): require from to be <= to. Require par to be a
12796         valid paragraph.
12797
12798         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12799
12800 2001-06-27  Juergen Vigna  <jug@sad.it>
12801
12802         * text.C (cursorLeftOneWord): changed to return the cursor and added
12803         overlay with BufferView * parameter which calls this one.
12804         (getWord): added
12805         (selectWord): use new getWord function.
12806         (changeCase): renamed from changeWordCase as and extended to work
12807         also on selections.
12808
12809         * lyxtext.h: added enum word_location
12810
12811         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12812         changeCase as this operates now also on selections.
12813
12814 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12815
12816         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12817
12818         * many files: send debug output to Debug::INFO instead of
12819         Debug::ANY.
12820
12821         * converter.C (View):
12822         (Convert):
12823         (Move): send debug output to Debug::FILES instead of console.
12824
12825 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12826
12827         * lyxfunc.C (getStatus): use func_status
12828
12829         * func_status.h: new header, describing the results of
12830         LyXFunc::getStatus;
12831
12832         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12833         LFUN_MATH_HALIGN.
12834
12835 2001-06-25  The LyX Project  <jug@sad.it>
12836
12837         * buffer.C (sgmlOpenTag):
12838         (sgmlCloseTag):
12839         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12840
12841 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * text2.C: remove some dead code
12844
12845         * tabular.C (GetCellInset): store the last cell checked (gotten)
12846
12847         * tabular.h: add the helper for the speedup
12848
12849         * lyxtext.h: remove some dead code
12850
12851 2001-06-26  The LyX Project  <Asger>
12852
12853         * paragraph.C: Change export to LaTeX of alignment to
12854         \begin{center} and family for better roundtrip work with reLyX.
12855
12856         * Tune the math drawing a bit.
12857
12858 2001-06-25  The LyX Project  <Asger>
12859
12860         * LColor.C (LColor): New color for math background. New color
12861         for buttons.
12862
12863 2001-06-25  The LyX Project  <jug@sad.it>
12864
12865         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12866
12867         * lyxfunc.C (Open):
12868         * bufferlist.C (newFile): do not restrict to files ending with
12869         .lyx
12870
12871         * BufferView_pimpl.C (MenuInsertLyXFile):
12872
12873 2001-06-24  The LyX Project  <jug@sad.it>
12874
12875         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12876         of compare_no_case
12877
12878 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * lyxtext.h: rename most methods to begin with a small char.
12881         Lots of changes because of this.
12882
12883         * paragraph.C (Paragraph): do not call fitToSize
12884         (erase): call Pimpl::erase
12885         (insertChar): call Pimpl::insertChar
12886         (insertInset): call Pipl::insertInset
12887         (breakParagraph): do not call fitToSize
12888         (breakParagraphConservative): do not call fitToSize
12889         (fitToSize): remove method
12890
12891         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12892
12893 2001-06-24  The LyX Project  <Asger>
12894
12895         * Fix Qt compilation^2
12896
12897 2001-06-24  The LyX Project  <jug@sad.it>
12898
12899         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12900         depthHook(getDepth()-1).
12901
12902         * paragraph.h:
12903         * ParagraphParameters.h:
12904         * ParameterStruct.h: change type of depth to unsigned int ==
12905         depth_type. Many adaptations to other files before of that.
12906
12907 2001-06-24  The LyX Project  <Asger>
12908
12909         * Fix Qt compilation.
12910
12911 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * paragraph.h: renamed several methods to begin with small letter.
12914         several changes to many parts of the code because of this.
12915
12916 2001-06-23  The LyX Project  <jug@sad.it>
12917
12918         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12919         rewritten to discard all double spaces when KeepEmpty is off
12920         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12921         to only handle newlines but not fiddle with spaces and friends.
12922
12923         * lyxfunc.C (MenuNew): when doing 'new from template', use
12924         template_path as default directory
12925
12926 2001-06-23  The LyX Project  <Asger>
12927
12928         * Clean-up of header file includes all over
12929         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12930
12931 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * paragraph.h: renamed from lyxparagraph.h
12934
12935 2001-06-23  Asger  <lyx@violet.home.sad.it>
12936
12937         * Buffer.h: Removed Buffer::resize
12938         * BufferList.h: Removed BufferList::resize
12939         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12940         the document lazily when we change the width, or the font settings.
12941
12942 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12945
12946 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * buffer.h: remove out of date comment
12949
12950 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * lyxscreen.h:
12953         * screen.C: fix "theoretical" GC leak
12954
12955 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * LaTeX.C (scanAuxFile):
12958         (deplog): remove trailing \r when reading stream (useful under
12959         win32)
12960
12961 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12962
12963         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12964         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12965         and BufferView::theLockingInset(Inset*), so should use them and not
12966         access bv_->text->the_locking_inset directly.
12967
12968         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12969
12970 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * Makefile.am:
12973         * tex-defs.h: remove old unused file
12974
12975 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * BufferView_pimpl.C: fix typo, remove minibuffer message
12978           when buffer has loaded
12979
12980 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * lyxfunc.C (Dispatch): use stringstream
12983         (MenuNew): use stringstream
12984         (Open): use stringstream
12985
12986         * importer.C (Import): use stringstream
12987
12988         * bufferview_funcs.C (CurrentState): use stringstream
12989
12990         * LaTeX.C (run): use stringstream
12991
12992         * BufferView_pimpl.C (savePosition): use stringstream
12993         (restorePosition): use stringstream
12994         (MenuInsertLyXFile): use stringstream
12995
12996 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12997
12998         * BufferView.C:
12999         * Bullet.C:
13000         * ColorHandler.C:
13001         * FontInfo.C:
13002         * FontLoader.C:
13003         * LColor.C:
13004         * LaTeXFeatures.C:
13005         * Painter.C:
13006         * gettext.C:
13007         * lyx_gui_misc.C:
13008         * lyxserver.C:
13009         * vspace.C: removed // -*- C++ -*- as first line.
13010
13011         * lyxfind.h:
13012         * version.h: added // -*- C++ -*- as first line.
13013
13014 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13015
13016         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13017
13018         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13019         of string
13020
13021 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13022
13023         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13024         of floats.
13025
13026 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13027
13028         * gettext.C: include LString.h even when --disable-nls is on.
13029
13030 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * converter.h (Get): changed argument type from int to
13033         FormatList::size_type to avoid unnecessary conversion.
13034
13035         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13036         before using it.
13037
13038 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * gettext.h: include LString.h even when --disable-nls is on.
13041
13042 2001-06-07  Juergen Vigna  <jug@sad.it>
13043
13044         * text.C (BreakAgain): subst spaces with tabs.
13045
13046         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13047         (resizeInsetsLyXText): set force on resizeLyXText.
13048
13049 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13050
13051         * gettext.h (gettext_init):
13052         (locale_init): use a real definition instead of a macro
13053
13054 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * Bufferview_pimpl.C:
13057         * LColor.h:
13058         * LColor.C: further lcolor tidies
13059
13060 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * BufferView_pimpl.C (updateScrollbar): simplify.
13063
13064         * BufferView2.C: don't include insets/insetinfo.h, change
13065         prototype for insertInset and call the Pimpl version. let
13066         updateInset call Pimpl version.
13067
13068         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13069         gotoInset to BufferView::Pimpl
13070
13071 2001-06-01  Juergen Vigna  <jug@sad.it>
13072
13073         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13074         inside a LockingInset (is the update needed at all?).
13075
13076 2001-05-31  Juergen Vigna  <jug@sad.it>
13077
13078         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13079         here not the old one otherwise how should we compare it afterwards
13080         if it's the same!
13081
13082 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * lyxfont.C:
13085         * tabular.C:
13086         * tabular-old.C:
13087         * FontInfo.C: bring C functions into global namespace when
13088         necessary
13089
13090 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * LString.h: make sure config.h has been loaded before LString.h.
13093
13094         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13095         (one for each char read by EatLine!).
13096
13097         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13098         variables.
13099
13100 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13103         to the same as the par we break from
13104
13105 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13108
13109         * MenuBackend.C (expand): also create menu entries for wide
13110         versions of the floats.
13111
13112         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13113
13114         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13115
13116         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13117         frontends/Makefile.am
13118
13119         * text2.C: adjust
13120         * text.C: adjust
13121
13122
13123         * tabular.C (getTokenValue): add std::
13124
13125         * tabular-old.C (getTokenValue): add std::
13126         (getTokenValue): ditto
13127         (getTokenValue): ditto
13128
13129         * screen.C (ToggleSelection): adjust
13130
13131         * lyxtext.h: put selection cursors inside a Selection struct.
13132
13133         * lyxfunc.C (moveCursorUpdate): adjust
13134
13135         * lyxfont.C (latexWriteStartChanges): add std::
13136
13137         * lyxfind.C: adjust
13138
13139         * font.h: delete with(char const *, LyXFont const &)
13140
13141         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13142
13143         * FontInfo.C (getFontname): add std::
13144
13145         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13146         (workAreaButtonPress): adjust
13147         (tripleClick): adjust
13148         (update): adjust
13149         (moveCursorUpdate): adjust
13150         (Dispatch): adjust
13151
13152         * BufferView2.C (gotoInset): adjust
13153
13154 2001-05-30  Juergen Vigna  <jug@sad.it>
13155
13156         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13157         to check pspell I add this as default as I now have new pspell
13158         libraries and they seem to use this.
13159
13160 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * text2.C (CutSelection): make the cursor valid before the call to
13163         ClearSelection.
13164
13165 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13166
13167         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13168         relied on 0 terminated strings and other horrors. Bug found due to
13169         the new assert in lyxstring!
13170
13171         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13172         KP_ keys.
13173
13174 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13177         to latinkeys.bind.
13178
13179         * lyxfunc.C (processKeySym): change method of getting to the
13180         self-insert char.
13181
13182         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13183         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13184         * BufferView_pimpl.[Ch]: here as private methods.
13185
13186 2001-05-28  Juergen Vigna  <jug@sad.it>
13187
13188         * text.C (SetHeightOfRow): added the update() call again as it is
13189         needed to initialize inset dimensions!
13190
13191 2001-05-16  Juergen Vigna  <jug@sad.it>
13192
13193         * text2.C (SetCharFont): Add new function with BufferView * and
13194         bool toggleall parameters for setting insets internal fonts.
13195         (SetFont): Freeze the undo as we may change fonts in Insets and
13196         all this change should be inside only one Undo!
13197
13198         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13199         setting font's in insets as for them we have the SetFont function!
13200
13201 2001-05-15  Juergen Vigna  <jug@sad.it>
13202
13203         * text2.C (ClearSelection): to be sure we REALLY don't have any
13204         selection anymore!
13205
13206         * tabular.C (TeXCellPreamble): fixed the left border problem for
13207         multicolumn cells.
13208
13209 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13210
13211         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13212         dependancy file
13213
13214 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13217         LFUN_BREAKPARAGRAPH.
13218
13219         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13220         help test to "internal only", similar for LFUN_INSERT_URL
13221
13222         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13223         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13224         auto_region_delete and deadkeys.
13225
13226 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13227
13228         * LColor.h:
13229         * LColor.C: remove some dead entries, tidy a little
13230
13231 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13234         commented code.
13235         (Dispatch): implement LFUN_ESCAPE
13236
13237         * commandtags.h: add LFUN_ESCAPE
13238
13239         * LyXAction.C (init): add entry for LFUN_ESCAPE
13240
13241         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13242         Remove commented code.
13243         (insertNote): moved here
13244         (open_new_inset): moved here
13245
13246         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13247         BufferView_pimpl
13248
13249 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13250
13251         * kbmap.C (findbinding): clean it up and make it work correctly.
13252
13253         * lyx_main.C (init): do not pass argc and argv as parameters
13254
13255 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13256
13257         * buffer.C: fix path for OS/2 & Win32
13258
13259         * lyx_gui.C:
13260         * lyx_main:
13261         * lyx_main.C: Added os:: class.
13262
13263         * os2_defines.h: update
13264
13265 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13268         better by trying again with reduced state.
13269
13270 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13271
13272         * lyxrc.C (read): print error about invalid key sequence only when
13273         debugging (because not all latinX keysyms are known to some X
13274         servers)
13275
13276         * kbsequence.C (getiso): add a few std:: qualifiers
13277         (getiso): comment out extra return statement.
13278
13279 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13282         handling.
13283         (Dispatch): enhance the accent inset a bit. (not perfect)
13284
13285 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13288
13289 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * bufferlist.C (emergencyWrite): fix assert() call
13292
13293 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13294
13295         * text.C (InsertChar): Added trivial patch to only send the "you
13296         can not do multiple spaces this way" message once during a
13297         session.
13298
13299 2001-05-08  Baruch Even  <baruch@lyx.org>
13300
13301         * Makefile.am: Changed order of libraries to get LyX to link properly
13302         with the gnome frontend.
13303
13304 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * LaTeXFeatures.h: add a std:: qualifier
13307
13308 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * paragraph.C (String): use stringstream
13311
13312 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * paragraph.C (writeFile): remove footflag arg
13315
13316         * buffer.C (makeLaTeXFile): use stringstream
13317         (latexParagraphs): remove footnot gurba
13318
13319         * LaTeXFeatures.C (getPackages): use stringstream
13320         (getMacros): likewise
13321         (getTClassPreamble): likewise
13322         (getFloatDefinitions): new method
13323
13324         * paragraph.C (writeFile): reindent
13325         (Erase): reindent
13326
13327         * WorkArea.h: revert the xpos + etc changes.
13328
13329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13330
13331         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13332
13333         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13334         (pasteSelection): likewise
13335         * text2.C (CreateUndo): likewise
13336
13337 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13338
13339         * minibuffer.C (peek_event): temporarily reduce the functionality
13340         of the minibuffer (to allow args on lfuns)
13341
13342         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13343         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13344
13345         * buffer.C (readInset): add compability reading of old float
13346         lists, add reading of new style float list.
13347         (readInset): avoid reevaluation of inscmd.getCmdName()
13348         (getLists): reindent
13349
13350         * MenuBackend.C (MenuItem): implement parsing of
13351         md_floatlistinsert and md_floatinsert.
13352         (expand::LastFiles): move initalizaton of iterators out of loop,
13353         avoid reevaluation.
13354         (expand::Documents): introduce typdedef vector<string> Strings,
13355         and use it.
13356         (expand::ExportFormats): introduce typedef vector<Format const *>
13357         Formats, and use it.
13358         (expand): implement FloatListInsert and FloatInsert.
13359
13360         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13361         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13362         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13363
13364         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13365         handling.
13366         (Dispatch::LFUN_FLOAT_LIST): implement
13367
13368 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13369
13370         * LaTeX.C (run): Fix problem with --export code.
13371
13372 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         * BufferView.[Ch] (workarea): removed.
13375         (getClipboard) new method; wrapper for workarea()->getClipboard()
13376
13377         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13378         bug.
13379
13380         * WorkArea.h (width, height, xpos, ypos): These methods all
13381         returned the dimensions of the work_area sub-area of WorkArea,
13382         resulting in a position error if the WorkArea were resized. Now
13383         return the dimensions of the entire WorkArea.
13384
13385         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13386
13387 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * LaTeX.C (deplog): correct the syntax of regex reg1
13390
13391 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * undo.C: remove !NEW_INSETS cruft
13394
13395 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * text2.C: remove !NEW_INSETS cruft
13398
13399         * text.C: remove !NEW_INSETS cruft
13400
13401         * tabular.C: remove !NEW_INSETS cruft
13402
13403         * spellchecker.C: remove !NEW_INSETS cruft
13404
13405         * lyxtext.h: remove !NEW_INSETS cruft
13406
13407         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13408
13409         * lyxfunc.C: remove !NEW_INSETS cruft
13410
13411         * lyxfind.C: remove !NEW_INSETS cruft
13412
13413         * lyx_cb.C: remove !NEW_INSETS cruft
13414
13415         * figureForm.C: remove  !NEW_INSETS cruft
13416
13417         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13418
13419         * buffer.[Ch]: remove !NEW_INSETS cruft
13420
13421         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13422
13423         * CutAndPaste.C: remove !NEW_INSETS cruft
13424
13425         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13426
13427         * BufferView2.C: remove !NEW_INSETS cruft
13428
13429         * BufferView.h: remove !NEW_INSETS cruft
13430
13431 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13432
13433         * Lsstream.h: include LString.h before the sstream headers to
13434         fix problem with gcc 2.95.3 and lyxstring
13435
13436 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13437
13438         * lyx_main.C: add using directives when needed for C functions
13439         declared in std:: namespace.
13440
13441 2001-04-27  Juergen Vigna  <jug@sad.it>
13442
13443         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13444         (SetHeightOfRow): comment out the update call should not be needed!
13445
13446 2001-04-13  Juergen Vigna  <jug@sad.it>
13447
13448         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13449         (LyXTabular): tried to minimize operator= operations (and realized
13450         hopfully Lars wish).
13451
13452 2001-04-27  Juergen Vigna  <jug@sad.it>
13453
13454         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13455
13456 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13459
13460         * buffer.C (readInset): hack to make listof algorithm work
13461
13462         * BufferView_pimpl.C: hack to make listof algorithm work
13463
13464 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * LyXAction.C: removed all !NEW_INSETS cruft
13467         (init): moved lfun_item in method
13468
13469         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13470
13471 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * BufferView2.C (theLockingInset): white space.
13474
13475 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * minibuffer.C: include <iostream>
13478
13479         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13480
13481         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13482
13483         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13484
13485         * text.[Ch] (TransposeChars): new method
13486
13487 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * call message directly through LyXView instead of through LyXFunc
13490         * BufferView2.C: adjust
13491         * BufferView_pimpl.C: adjust
13492         * FontLoader.C: adjust
13493         * buffer.C: adjust
13494         * bufferview_funcs.C: adjust
13495         * converter.C: adjust
13496         * figureForm.C: adjust
13497         * importer.C: adjust
13498         * lyx_cb.C: adjust
13499         * lyx_gui_misc.C: adjust
13500         * lyxfunc.C: adjust
13501         * lyxvc.C: adjust
13502         * text2.C: adjust
13503         + more files in subdirs
13504
13505         * lyxparagraph.h (size): move up int file
13506         (GetLayout): ditto
13507
13508         * adjust all uses of Assert to lyx::Assert.
13509
13510         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13511         lyxfunctional in namespace lyx
13512         * layout.C (hasLayout): ditto
13513         (GetLayout): ditto
13514         (GetLayout): ditto
13515         (delete_layout): ditto
13516         (NumberOfClass): ditto
13517         * converter.C (GetFormat): ditto
13518         (GetNumber): ditto
13519         (Add): ditto
13520         (Delete): ditto
13521         (SetViewer): ditto
13522         * bufferlist.C (getFileNames): ditto
13523         (emergencyWriteAll): ditto
13524         (exists): ditto
13525         (getBuffer): ditto
13526         * MenuBackend.C (hasSubmenu): ditto
13527         (hasMenu): ditto
13528         (getMenu): ditto
13529         * BufferView_pimpl.C (getInsetByCode): ditto
13530
13531 2001-04-18  Juergen Vigna  <jug@sad.it>
13532
13533         * vspace.C (asLatexString): fixed the 100% problem.
13534
13535 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13536
13537         * lyxfunc.C (Dispatch):
13538         * minibuffer.C:
13539         * minibuffer.h: add a few std:: qualifiers
13540
13541 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * minibuffer.[Ch]: reimplement so that commands is initiated and
13544         run from lyxfunc, simplified som handling, and made the completion
13545         and history code for complete. wip.
13546
13547         * lyxfunc.C (processKeySym): call message
13548         (miniDispatch): new temporary method
13549         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13550         (LFUN_MESSAGE): implement
13551         (LFUN_MESSAGE_PUSH): implement
13552         (LFUN_MESSAGE_POP): implement
13553         (initMiniBuffer): the initial/defualt minibuffer message.
13554
13555         * lyxfont.[Ch]: inline some more getters
13556
13557         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13558
13559         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13560
13561         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13562         (AutoSave): use LFUN_MESSAGE
13563         (Reconfigure): ditto
13564
13565         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13566
13567         * figureForm.C: use LFUN_MESSAGE
13568
13569         * converter.C (runLaTeX): use LFUN_MESSAGE
13570
13571         * bufferview_funcs.C: use LFUN_MESSAGE
13572         (Melt): ditto
13573         (changeDepth): ditto
13574
13575         * bufferparams.h: use boost::
13576
13577         * bufferlist.h: inherit privately from noncopyable
13578
13579         * bufferlist.C (loadLyXFile): remove some commented code.
13580
13581         * buffer.C (runChktex): use LFUN_MESSAGE
13582
13583         * ShareContainer.h: inherit privately from noncopyable
13584
13585         * ParagraphParameters.[hC] (depth): inline it.
13586
13587         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13588         methods.
13589         (message): new method
13590         (messagePush): ditto
13591         (messagePop): ditto
13592         (show): init minibuffer
13593         (showState): direct call
13594
13595         * LaTeX.[Ch]: inherit privately from noncopyable
13596         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13597         instead of WriteStatus.
13598
13599         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13600
13601         * BufferView_pimpl.C (buffer): don't init minibuffer
13602         (workAreaButtonPress): use LFUN_MESSAGE
13603         (workAreaButtonRelease): ditto
13604         (savePosition): ditto
13605         (restorePosition): ditto
13606         (MenuInsertLyXFile): ditto
13607         (workAreaExpose): don't init minibuffer
13608         (update): remove commented code, simplify
13609
13610         * BufferView2.C (openStuff): use LFUN_MESSAGE
13611         (toggleFloat): ditto
13612         (menuUndo): ditto
13613         (menuRedo): ditto
13614         (copyEnvironment): ditto
13615         (pasteEnvironment): ditto
13616         (copy): ditto
13617         (cut): ditto
13618         (paste): ditto
13619         (gotoInset): ditto
13620         (updateInset): remove some commented code
13621
13622         * lastfiles.h: inherit privately from noncopyable
13623         * layout.h: ditto
13624         * lyx_gui.h: ditto
13625         * lyx_main.h: ditto
13626         * lyxlex.h: ditto
13627         * lyxlex_pimpl.h: ditto
13628
13629         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13630         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13631         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13632
13633         * LyXAction.h: inherit privately from noncopyable, add methods
13634         func_begin, func_end, returning iterators to the func map.
13635
13636         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13637         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13638         (func_begin): new method
13639         (func_end): new method
13640
13641         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13642         and not)
13643         (copySelection): ditto
13644         (pasteSelection): ditto
13645
13646         * BufferView.C: whitespace change
13647         * BufferView.h: inherit privately from noncopyable
13648
13649 2001-04-16  Allan Rae  <rae@lyx.org>
13650
13651         * tabular-old.C (l_getline):
13652         * spellchecker.C (sc_check_word):
13653         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13654         an unrecognised preprocessor directive.  So ensure they're wrapped.
13655
13656 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13657
13658         * src/exporter.C (Export): Give an error message when path to file
13659         contains spaces.
13660
13661 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13662
13663         * LaTeX.C (deplog): Always check that foundfile exists.
13664
13665 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * lyx_main.h:
13668         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13669
13670 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * tabular.[Ch] (getLabelList): implement new method
13673
13674         * minibuffer.h: comment ouf setTiimer
13675
13676         * minibuffer.C (ExecutingCB): constify res
13677         (peek_event): constify s
13678         (Set): constify ntext
13679         (Init): constify nicename
13680
13681         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13682
13683         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13684         (savePosition): use two params to Minibuffer::Set
13685         (restorePosition): ditto
13686
13687 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * lyx_main.C: include language.h
13690
13691         * Makefile.am (lyx_main.o): add language.h
13692
13693 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * exporter.C:
13696         * paragraph.C:
13697         * screen.C:
13698         * tabular.C:
13699         * CutAndPaste.C: include gettext.h
13700
13701         * lyxfont.h: remove old hack with ON and OFF.
13702
13703         * lyxparagraph.h:
13704         * lyxfont.h: do not include language.h...
13705
13706         * BufferView2.C:
13707         * LaTeXFeatures.C:
13708         * Painter.C:
13709         * bufferview_funcs.C:
13710         * font.C:
13711         * lyxfont.C:
13712         * text.C:
13713         * text2.C:
13714         * trans_mgr.C:
13715         * paragraph.C: ... but do it here instead
13716
13717 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13720
13721         * tabular.C: small reformat
13722
13723         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13724         NEW_INSETS version
13725         (GetChar): ditto
13726         (BreakParagraph): ditto
13727         (SetOnlyLayout): ditto
13728         (SetLayout): ditto
13729
13730         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13731         with one arg less.
13732
13733         * lastfiles.C: removed most using decl, add std:: where needed
13734
13735         * buffer.C: ws changes
13736
13737         * MenuBackend.C (class compare_format): put into anon namespace
13738         (expand): constify label, names, action, action2
13739         (expand):
13740
13741         * text.C (SingleWidth): constify font
13742         (IsBoundary): constify rtl2
13743         (GetVisibleRow): constify ww
13744
13745         * LaTeX.C (deplog): constify logfile
13746
13747         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13748         start_x, end_x
13749         (workAreaExpose): constify widthChange, heightChange
13750
13751         * lyxrow.C (par): moved
13752         (height): moved
13753         (next): moved
13754         * lyxrow.h: as inlines here
13755
13756         * lyxfont.h (shape): moved from lyxfont.C
13757         (emph): moved from lyxfont.C
13758
13759         * lyxfont.C (LyXFont): use initialization list for all
13760         constructors
13761         (shape): move to lyxfont.h as inline
13762         (emph): move to lyxfont.h as inline
13763
13764
13765 2001-04-04  Juergen Vigna  <jug@sad.it>
13766
13767         * vspace.C: had to include stdio.h for use of sscanf
13768
13769 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * BufferView.h:
13772         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13773         independent of xforms.
13774
13775 2001-04-02  Juergen Vigna  <jug@sad.it>
13776
13777         * spellchecker.C: fixed namespace placing!
13778
13779 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13780
13781         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13782         the LyXParagraph * is 0.
13783
13784 2001-03-29  Juergen Vigna  <jug@sad.it>
13785
13786         * vspace.C: added support for %, c%, p%, l%.
13787         (stringFromUnit): added helper function.
13788         (asLatexString): changed to give right results for the %-values.
13789
13790         * buffer.C: convert the widthp in a width%.
13791
13792 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13795         figureForm.[Ch].
13796
13797         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13798         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13799
13800         * lyx_cb.[Ch]: see above.
13801
13802         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13803         form1.[Ch].
13804
13805         * form1.[Ch]:
13806         * lyx.[Ch]: replaced by figure_form.[Ch].
13807
13808         * lyx_gui.C:
13809         * lyx_gui_misc.C:
13810         * lyxfunc.C: changed headers associated with above changes.
13811
13812 2001-03-27  Juergen Vigna  <jug@sad.it>
13813
13814         * BufferView_pimpl.C: set the temporary cursor right!
13815
13816 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13819
13820 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * LString.h: removed "using std::getline"!
13823
13824         * BufferView_pimpl.C (Dispatch): changes due to changes in
13825         InsetInclude::Params.
13826
13827         * buffer.C (tag_name): removed redundant break statements as they were
13828         producing lots of warnings with my compiler.
13829
13830 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * LString.h: add "using std::getline" when using the real <string>.
13833
13834 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13835
13836         * buffer.C: removed bitset usage.
13837         PAR_TAG moved to an anonymous name space.
13838         (tag_name): new funtion, also in the anonymous namespace.
13839         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13840         (makeDocBookFile): clean code. Completed transition from string arrays
13841         to string vectors.
13842         (SimpleDocBookOnePar): code clean.
13843
13844 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13845
13846         * tabular.C: add some comments.
13847
13848 2001-03-22  Juergen Vigna  <jug@sad.it>
13849
13850         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13851         compatibility read a bit and fixed bug with minipage in different
13852         depth.
13853
13854 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13855
13856         * buffer.C (pop_tag): removed.
13857         (push_tag): removed.
13858         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13859         array replaced with vector. Added support for CDATA sections.
13860         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13861         at any nest level.
13862         (makeDocBookFile): XML conformant declaration of CDATA section,
13863         fixed bug related to <emphasis> in the first paragraph char.
13864         (sgmlOpenTag): exclude empty tags.
13865         (sgmlCloseTag): ditto.
13866
13867         * buffer.h (pop_tag): removed.
13868         (push_tag): removed.
13869
13870 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * language.h (Languages): added size_type and size().
13873
13874 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13875
13876         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13877         response on compability reading of minipages. One probliem is that
13878         the old usage of minipages was «flertydig»
13879
13880         * several files here and in subdirs: don't use static at file
13881         scope use anon namespaces instead.
13882
13883 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13884
13885         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13886         LaTeX output. This is necessary for Literate document
13887         processing.
13888
13889 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13890
13891         * buffer.C: insert hfill when needed.
13892
13893         * tabular.C (l_getline): use string::erase, small whitespace change.
13894
13895         * BufferView_pimpl.C: try the anon namespace.
13896         * WorkArea.C: ditto
13897
13898 2001-03-16  Juergen Vigna  <jug@sad.it>
13899
13900         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13901         otherwise it won't open options-dialogs.
13902
13903         * buffer.C: honor pextraWidth(p) on converting minipages.
13904
13905         * tabular.C (l_getline): changed the functions to strip trailing \r.
13906
13907 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * BufferView_pimpl.C:
13910         * minibuffer..C: added "using SigC::slot" declaration.
13911
13912 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13913
13914         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13915
13916         * text2.C: ditto
13917
13918         * text.C: ditto
13919
13920         * paragraph.C: ditto
13921
13922         * lyxtext.h: NO_PEXTRA
13923
13924         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13925
13926         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13927         * ParameterStruct.h: ditto
13928         * ParagraphParameters.h: ditto
13929         * lyxparagraph.h: ditto
13930
13931 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13932
13933         * buffer.C: add compability for minipage alignment.
13934         (latexParagraphs): remove unwanted pextra check.
13935
13936         * several files: remove CXX_WORKING_NAMESPACES
13937
13938         * buffer.C (pop_tag): tie is in namespace boost
13939
13940         * BufferView.h: noncopyable is in namespace boost
13941         * lyxlex.h: ditto
13942         * lyx_main.h: ditto
13943         * lyx_gui.h: ditto
13944         * layout.h: ditto
13945         * lastfiles.h: ditto
13946         * bufferlist.h: ditto
13947         * ShareContainer.h: ditto
13948         * LyXView.h: ditto
13949         * LyXAction.h: ditto
13950         * LaTeX.h: ditto
13951
13952 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13953
13954         * Merging changes from BRANCH_MVC back into HEAD.
13955
13956         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13957
13958 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * BufferView_pimpl.C: change from intl.C
13961
13962         * combox.h:
13963         * combox.C:
13964         * Makefile.am: move combox.*
13965
13966         * form1.h:
13967         * form1.C:
13968         * lyx_gui.C:
13969         * intl.h:
13970         * intl.C: remove dialog (covered by prefs)
13971
13972 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * lyxfunc.C (Dispatch): removed redundant break statement.
13975
13976 2001-03-14  Juergen Vigna  <jug@sad.it>
13977
13978         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13979
13980 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13981
13982         * buffer.C: add hack to fix compability reading of minipages.
13983
13984 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * buffer.C (getLists): Cleanup.
13987
13988 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * lyxfont.C (update): don't honor toggleall on font size.
13991
13992 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * bmtable.c:
13995         * bmtable.h:
13996         * Makefile.am: moved to frontends/xforms/
13997
13998         * lyx_gui_misc.C:
13999         * lyxfunc.C:
14000         * BufferView_pimpl.C: changes for moved mathpanel
14001
14002 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * gettext.h: fix gettext_init() in --disable-nls
14005
14006 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14007
14008         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14009
14010 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14011
14012         * lyx.C:
14013         * lyx.h: strip external form
14014
14015 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14016
14017         * BufferView_pimpl.C: add comment, destroySplash()
14018
14019 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14020
14021         * BufferView_pimpl.C:
14022         * LyXAction.C:
14023         * buffer.C:
14024         * commandtags.h:
14025         * lyxfunc.C: use re-worked insetinclude
14026
14027 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14028
14029         * buffer.C: add using std::stringstream.
14030
14031         * lyx_cb.C: readd using std::ios.
14032
14033         * buffer.C: add using std::map.
14034
14035         * BufferView_pimpl.C: add using std::vector.
14036
14037         * ShareContainer.h: add std:: to swap.
14038
14039         * buffer.h: add some typedefs
14040         * buffer.C (getLists): use them
14041         (getLists): renamed from getTocList.
14042         add a counter for the different float types and use it in the
14043         generated string.
14044         (getLists): use the same counter for the NEW_INSETS and the "non"
14045         NEW_INSETS
14046
14047         * lyx_cb.h: remove unused items, includes, using etc.
14048
14049         * ShareContainer.h: remove some commented code, add more comments
14050         and "documentation".
14051
14052 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14053
14054         * buffer.C (getTocList): make the list also when NEW_INSETS is
14055         defined.
14056
14057         * buffer.h: remove TocType
14058
14059         * buffer.C (getTocList): change to return a map<string,
14060         vector<TocItem> >, implement for dynamic number of list.
14061
14062         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14063         * text2.C (PasteSelection): adjust
14064         * CutAndPaste.C (pasteSelection): adjust
14065
14066         * FloatList.C (FloatList): update from the new_insets branch.
14067         * Floating.[Ch]: ditto
14068         * LaTeXFeatures.C: ditto
14069         * buffer.C: ditto
14070         * lyxlex_pimpl.C: ditto
14071
14072         * paragraph.C (Last): remove when NEW_INSETS is defined.
14073
14074         * other file: changes because of the above.
14075
14076 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14077
14078         * lyxparagraph.h: rename next to next_, previous to previous_,
14079         make them private for NEW_INSETS. Rename Next() to next(),
14080         Previous() to previous().
14081
14082         * other files: changes because of the above.
14083
14084 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * BufferView.h:
14087         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14088         problem.
14089
14090 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14091
14092         * main.C (main): pass lyx_localedir to gettext_init().
14093
14094         * gettext.h: remove locale_init and gettext_init macros
14095
14096         * gettext.C (locale_init): new function
14097         (gettext_init): new function
14098
14099         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14100         setlocale().
14101
14102 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14103
14104         * Moved credits to frontends:
14105         * credits.[Ch]: removed
14106         * credits_form.[Ch]: removed
14107         * lyx_gui_misc.C: remove credits stuff
14108         * Makefile.am:
14109
14110 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14111
14112         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14113
14114         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14115         unneeded destructor.
14116
14117         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14118         a standalone pointer again.
14119
14120         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14121
14122 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14123
14124         * Makefile.am:
14125         * filedlg.h:
14126         * filedlg.C:
14127         * LyXAction.C:
14128         * ToolbarDefaults.C:
14129         * bufferlist.C:
14130         * commandtags.h:
14131         * form1.C:
14132         * form1.h:
14133         * lyx_cb.C:
14134         * lyx_cb.h:
14135         * lyxfunc.h:
14136         * lyxfunc.C:
14137         * BufferView_pimpl.C: use new file dialog in GUII
14138
14139         * lyx_cb.h:
14140         * lyx_cb.C: remove LayoutsCB to Toolbar
14141
14142 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * ShareContainer.h (get): add std:: qualifier
14145
14146 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * ShareContainer.h: define a proper ShareContainer::value_type
14149         type (and use typename to please compaq cxx)
14150
14151 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14152
14153         * lyxparagraph.h: move serveral local vars to
14154         ParameterStruct/ParagraphParameters., use ShareContainer in
14155         FontTable., make vars in FontTable private and add getter and
14156         setter.
14157
14158         * paragraph.C: changes because of the above.
14159
14160         * lyxfont.h: remove copy constructor and copy assignment. (the
14161         default ones is ok), move number inside FontBits. move inlines to
14162         lyxfont.C
14163
14164         * lyxfont.C: add number to initializaton of statics, move several
14165         inlines here. constify several local vars. some whitespace
14166         cleanup. Dont hide outerscope variables.
14167
14168         * Spacing.h: add two new constructors to match the set methods.
14169
14170         * ShareContainer.h: new file, will perhaps be moved to support
14171
14172         * ParameterStruct.h: new file
14173
14174         * ParagraphParameters.h: new file
14175
14176         * ParagraphParameters.C: new file
14177
14178         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14179         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14180
14181         * BufferView_pimpl.C: ParagraphParameter changes.
14182         * buffer.C: Likewise.
14183         * bufferview_funcs.C: Likewise.
14184         * text.C: Likewise.
14185         * text2.C: Likewise.
14186
14187 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * lyxfind.C (LyXReplace): do not redefine default argument in
14190         implementation.
14191         (IsStringInText): ditto
14192         (SearchForward): ditto
14193         (SearchBackward): ditto
14194
14195 2001-03-06  Juergen Vigna  <jug@sad.it>
14196
14197         * lyxfind.C (IsStringInText): put parentes around expressions.
14198
14199 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14200
14201         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14202
14203 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14206
14207         * stl_string_fwd.h: add comment
14208
14209         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14210
14211         * tabular.h:
14212         * tabular.C: remove unused DocBook methods
14213
14214         * intl.C:
14215         * language.C:
14216         * paragraph.C:
14217         * buffer.C:
14218         killed DO_USE_DEFAULT_LANGUAGE
14219
14220 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * lyx_gui.C: do not include language.h.
14223
14224         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14225         arguments in function implementation.
14226
14227 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14228
14229         * BufferView_pimpl.C: add <ctime>
14230
14231 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14232
14233         * BufferView_pimpl.C: add using std::find_if
14234
14235 2001-02-27  José Matos  <jamatos@fep.up.pt>
14236
14237         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14238         by OnlyPath.
14239
14240 2001-02-11  José Matos  <jamatos@fep.up.pt>
14241
14242         * buffer.C (makeDocBookFile): command styles now have a parameter as
14243         "title" by default.
14244
14245 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14246
14247         * layout_forms.[Ch]: removed
14248         * lyx_cb.[Ch]: out character
14249         * lyx_gui.C: out character
14250         * lyx_gui_misc.C: out character
14251         * bufferview_funcs.C: : out character,
14252         added toggleall as parameter in ToggleAndShow
14253
14254 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14257
14258         * text2.C (SetCurrentFont): Disable number property at boundary.
14259
14260 2001-02-26  Juergen Vigna  <jug@sad.it>
14261
14262         * lyxfunc.C (getStatus): added a string argument override function so
14263         that this is correctly called from LyXFunc::Dispatch if it contains a
14264         do_not_use_argument which is used!
14265         (Dispatch): added check for "custom" export and call appropriate func.
14266
14267 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * lyxrc.C: Add language_command_local, language_use_babel and
14270         language_global_options.
14271
14272         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14273
14274         * buffer.C (makeLaTeXFile): Use language_use_babel and
14275         language_global_options.
14276
14277 2001-02-23  Juergen Vigna  <jug@sad.it>
14278
14279         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14280         which works with LyXText and putted it inside BufferView. Here now we
14281         only call for that part the BufferView::Dispatch() function.
14282
14283         * BufferView.C (Dispatch): added.
14284
14285         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14286         functions which needs to use a LyXText over from LyXFunc.
14287         (MenuInsertLyXFile): added
14288         (getInsetByCode): added
14289         (moveCursorUpdate): added
14290         (static TEXT): added
14291
14292 2001-02-22  Juergen Vigna  <jug@sad.it>
14293
14294         * BufferView_pimpl.C (update): call a status update to see if LyXText
14295         needs it.
14296
14297 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14298
14299         * vc-backend.C (revert): implement for CVS
14300         (getLog): implement for CVS
14301
14302 2001-02-20  Juergen Vigna  <jug@sad.it>
14303
14304         * text2.C (ClearSelection): added BufferView param for inset_owner call
14305
14306         * lyxfunc.C (TEXT): added this function and use it instead of
14307         directly owner->view()-text of getLyXText().
14308
14309 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14310
14311         * src/layout_forms.C: out preamble
14312         * src/layout_forms.h: out preamble
14313         * src/lyx_cb.C: out preamble
14314         * src/lyx_cb.h: out preamble
14315         * src/lyx_gui.C: out preamble
14316         * src/lyx_gui_misc.C: out preamble
14317         * src/lyxfunc.C: connect with guii preamble
14318
14319 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14320
14321         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14322
14323 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14326         whether to run bibtex.
14327
14328 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14331
14332 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14333
14334         * Makefile.am (lyx_SOURCES): removed bibforms.h
14335
14336         * vspace.h: doxygen
14337
14338         * text.C (GetVisibleRow): make several local vars const
14339
14340         * tabular.C: small cleanup.
14341
14342         * lyxserver.C (callback): use compare instead of strncmp
14343
14344         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14345         inlines to after class or to paragraph.C
14346
14347         * lyxfont.h: remove friend operator!=
14348
14349         * converter.h: move friend bool operator< to non friend and after
14350         class def.
14351
14352         * combox.h: small cleanup
14353
14354         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14355         to inlines after class def.
14356
14357         * buffer.C (pop_tag): use string operations instead of strcmp
14358
14359         * bmtable.c: doxygen, small cleanup
14360
14361         * LaTeX.h: remove friend operator==
14362
14363 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14364
14365         * screen.C:
14366         * lyxrc.[Ch]:
14367         * lyxfunc.C:
14368         * lyxfont.[Ch]:
14369         * lyx_cb.C:
14370         * intl.[Ch]:
14371         * commandtags.h:
14372         * buffer.C:
14373         * WorkArea.[Ch]:
14374         * LyXAction.C:
14375         * BufferView_pimpl.C:
14376         * BufferView.[Ch]: remove cruft
14377
14378 2001-02-14  Juergen Vigna  <jug@sad.it>
14379
14380         * lyxfunc.C: removed #if 0 unused code
14381
14382         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14383
14384         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14385
14386         * text2.C (SetSelection): added a BufferView * parameter
14387
14388 2001-02-13  Juergen Vigna  <jug@sad.it>
14389
14390         * lyxfunc.C (Dispatch): fixed protected blank problem.
14391         * BufferView2.C (protectedBlank): added LyxText * parameter.
14392
14393         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14394         (AppendColumn): same as above for column_info.
14395
14396         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14397         (moveCursorUpdate): use a LyXText param for support of InsetText.
14398
14399         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14400         (tripleClick): ditto
14401
14402         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14403
14404         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14405
14406         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14407
14408         * text2.C (SetSelection): set correct update status if inset_owner
14409         (ToggleFree): ditto
14410
14411 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14412
14413         * tabular.C: remove some commented code.
14414
14415 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * BufferView_pimpl.C: call hideSplash()
14418
14419         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14420
14421         * include_form.h:
14422         * bibforms.h: remove
14423
14424         * lyxfunc.C:
14425         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14426           add LFUN_CHILD_CREATE
14427
14428         * counters.h: fix tiny typo
14429
14430         * lyx_cb.C:
14431         * lyx.h:
14432         * lyx_gui.C:
14433         * lyx.C: move splash to frontends/xforms/
14434
14435         * lyx_gui_misc.C: move Include and Bibform to frontends
14436
14437         * lyxvc.h: clarify comment
14438
14439         * vspace.C: tiny housekeeping
14440
14441 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14442
14443         * text.C (PrepareToPrint): RTL Fix.
14444
14445         * paragraph.C (GetUChar): New method.
14446         (String):  Use GetUChar.
14447
14448         * buffer.C (asciiParagraph): Use GetUChar.
14449
14450 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14453
14454 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * buffer.h:
14457         * buffer.C: rename to getLogName(), handle
14458           build log / latex log nicely
14459
14460 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14461
14462         * MenuBackend.C:
14463         * MenuBackend.h: remove support for reference menuitem type.
14464
14465 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * BufferView_pimpl.C: housekeeping
14468         * BufferView_pimpl.h:
14469         * LyXView.h:
14470         * Makefile.am:
14471         * Timeout.C:
14472         * Timeout.h:
14473         * minibuffer.h: move Timeout GUI-I
14474
14475 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * lyxrc.C (read): Update converters data-structures.
14478
14479 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14480
14481         * LaTeX.h (operator!=): add operator != for Aux_Info
14482
14483 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14486
14487         * LaTeXLog.C: deleted, useful code moved to Buffer
14488
14489         * buffer.h:
14490         * buffer.C: new function getLatexLogName()
14491
14492         * lyx_gui_misc.C:
14493         * lyx_gui.C:
14494         * lyxvc.C:
14495         * lyxvc.h:
14496         * lyxfunc.C: use frontends for LaTeX and VC logs
14497
14498 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * LaTeX.h: yet another std:: that Allan forgot.
14501
14502         * Variables.C (set): renamed from isset(), because this clashes
14503         with some HP-UX macros (grr).
14504
14505 2001-02-06  Allan Rae  <rae@lyx.org>
14506
14507         * LaTeX.h: Another bug fix.  Missing std:: this time.
14508
14509 2001-02-04  Allan Rae  <rae@lyx.org>
14510
14511         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14512         floats problem. I've left it commented out because it's not quite
14513         correct.  It should also test that the current object is a table or
14514         figure inset.  But I haven't gotten around to figuring out how to do
14515         that.  I *think* it'll be something like: "table" == inset.type()
14516
14517         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14518         bool.
14519
14520 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14521
14522         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14523         all the citation/databases/styles in the auxilary file.
14524         (run): Rerun latex if there was a babel language error.
14525
14526 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14527
14528         * text.C (Backspace): Preserve the font when changing newline char
14529         with a space.
14530         (BreakParagraph): If the cursor is before a space, delete the space.
14531
14532         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14533
14534 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14537         new argument (code).
14538         (ChangeCitationsIfUnique): New method.
14539
14540         * paragraph.C (GetPositionOfInset): Handle bibkey.
14541
14542 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14543
14544         * BufferView_pimpl.h: change type of Position::par_pos to
14545         LyXParagraph::size_type.
14546
14547 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14548
14549         * BufferView_pimpl.C (savePosition, restorePosition): Write
14550         messages to minibuffer.
14551
14552 2001-01-28  José Matos  <jamatos@fep.up.pt>
14553
14554         * buffer.C (makeDocBookFile): adds support for document language.
14555         A silly restriction on the name of LatexCommand types where removed.
14556         Added support for CDATA sections, allows to chars unescaped, used
14557         among others in code, to avoid escape < and >.
14558
14559 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14560
14561         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14562         saved positions instrad of a stack. Furthermore, a position is
14563         stored using paragraph id/paragraph position.
14564
14565         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14566         Remove LFUN_REF_BACK.
14567
14568 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14569
14570         * converter.C (dvipdfm_options): New method.
14571
14572 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14573
14574         * vspace.C (isValidLength): Fix for empty input string.
14575
14576 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * LyXAction.C (init): change description of LFUN_FIGURE to
14579         "Insert Graphics"
14580
14581 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14582
14583         * LaTeX.C: add using directive
14584
14585 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14586
14587         * MenuBackend.C (expand): Fix the sorting of the formats.
14588
14589 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * lyx_main.C: tiny error message fix
14592
14593 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14596         calling fl_initialize(). This fixes the problem with ',' as
14597         decimal separator in text files.
14598
14599 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14600
14601         * trans.C (process): Fix the keymap bug.
14602
14603 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14604
14605         * LaTeX.C (scanAuxFiles): New method. Provides support for
14606         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14607         (scanLogFile) Scan for "run BibTeX" messages.
14608
14609         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14610         OT1 font encoding. Also, load the aecompl package if the ae
14611         package is loaded.
14612
14613         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14614
14615 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * texrow.C (increasePos): turn two error messages into debug
14618         messages.
14619
14620 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * LaTeX.C (scanAux): Handle the \@input macro.
14623         (runBibTeX): Use scanAux().
14624
14625         * language.C (latex_options_): New field.
14626
14627         * LaTeXFeatures.C (getMacros): Add language macros.
14628
14629         * buffer.C (makeLaTeXFile): Small fix.
14630
14631 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14634
14635         * text2.C: add a using directive.
14636
14637 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * BufferView2.C:
14640         * lyx_gui_misc.h:
14641         * lyxfr1.C:
14642         * lyxfunc.C: kill LyXBell.
14643
14644 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14645
14646         * text.C (IsBoundary): Remove the error message
14647
14648         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14649
14650         * lyxrc.C (setDefaults): Correct initialization value for
14651         font_norm_type.
14652
14653 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14656         gotoError().
14657
14658         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14659         and GotoNextNote().
14660
14661         * src/LyXAction.C: Added reference-next.
14662
14663         * text.C (InsertChar): Use contains instead of strchr.
14664
14665         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14666
14667 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14668
14669         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14670         alignment commands (when needed).
14671
14672         * text.C (InsertChar): Add ':' to number separator chars.