]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Workaround for gcc 2.95 pointer compare bug
[lyx.git] / src / ChangeLog
1
2 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
5
6 2004-02-04  André Pönitz  <poenitz@gmx.net>
7
8         * BufferView.[Ch] (insertInset):
9         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
10
11         * text2.C:
12         * text3.C: adjust
13
14 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
15
16         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
17         on the default clause of the switch
18         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
19         wasn't catched by LCursor::dispatch
20
21 2004-02-03  André Pönitz  <poenitz@gmx.net>
22
23         * BufferView.C:
24         * cursor.[Ch]: some additional asserts
25
26         * undo.[Ch]: remove LyXText dependency in interface
27
28         * lyxfunc.C: adjust
29
30         * lyxtext.h (firstPar, lastPar): remove dead functions 
31
32         * text.C:
33         * text2.C:
34         * text3.C:
35         * paragraph.[Ch]: adjust
36
37 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
38
39         * lyxfind.C (find): fix argument order in call to ::find
40
41 2004-02-02  André Pönitz  <poenitz@gmx.net>
42
43         * cursor.[Ch]: remove direct access to anchor
44
45         * text.C: remove findText() hack
46
47 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
48
49         * iterators.[Ch] (lockPath): remove in favour of...
50         * BufferView.[Ch] (setCursor): this addition
51         * BufferView.C (putSelectionAt): adjust
52         * undo.C (performUndoOrRedo): adjust
53         * lyxfunc.C (dispatch): adjust
54
55 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
56
57         * iterators.C (lockPath): add a missing slice
58         * undo.C (performUndoOrRedo): remove redundant positioning code
59
60 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * vc-backend.C (scanMaster): ";" -> ';'
63
64 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
65
66         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
67         std::binary_function
68
69         * lyxtextclass.C (compare_name): rename to...
70         (LayoutNamesEqual): ...this
71
72         * lyxlex_pimpl.C (compare_tags): inherit from
73         std::binary_function, put back into anon namespace
74
75         * lyxfind.C (MatchString): inherig from std::binary_function
76         (findChange): use empty() istead of !size()
77
78         * format.C (FormatNamesEqual): new functor
79         (getFormat): use it
80         (getNumber): use it
81         (add): use it
82         (erase): use it
83         (setViewer): use it
84
85         * converter.C (compare_Converter): rename to...
86         (ConverterEqual): ...this, and fixup a bit.
87         (getConverter): use it, and make function const
88         (getNumber): use it, and make function const
89         (add): use it
90         (erase): use it:
91
92         * bufferlist.C: add using boost::bind
93
94         * MenuBackend.C (MenuNamesEqual): new functor
95         (hasMenu): use it, and make function const
96         (hasSubmenu): use nested bind to get rid of compare_memfun.
97
98 2004-01-30  André Pönitz  <poenitz@gmx.net>
99
100         * BufferView_pimpl.C:
101         * cursor.C:
102         * cursor.h:
103         * cursor_slice.[Ch]:
104         * lyxfunc.C:
105         * lyxtext.h:
106         * paragraph_funcs.C:
107         * paragraph_funcs.h:
108         * rowpainter.C:
109         * text.C:
110         * text2.C:
111         * text3.C: move some of the edit(x,y) handling to the insets
112         some coordinate changes.
113
114 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
115
116         * text.C: add using statements for std::advance and std::distance
117
118         * paragraph.C: add using statement for std::distance
119
120         * lyxfind.C: add using statement for std::advance
121
122         * cursor.C (region): remove std:: from swap
123         (openable): use nucleus in stead of operator->
124
125         * BufferView.C: add using statements for std::distance and std::swap
126
127 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * iterators.C: Remove the pimple, move the needed structures to
130         the header file. Create accessor for the positions stack.
131         (asPosIterator): remove function
132
133         * PosIterator.C (PosIterator): move constructors to top of file
134         (PosIterator): reimplement the constructor taking a ParIterator in
135         terms of setFrom.
136         (setFrom): new function
137         (operator!=): inline it
138
139 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
140
141         * lyxfind.C (replaceAll): use std::advance
142
143         * iterators.h: inherit from std::iterator.
144
145         * PosIterator.C (advance, distance): remove
146         * PosIterator.h: interit from std::iterator.
147
148 2004-01-26  André Pönitz  <poenitz@gmx.net>
149
150         * BufferView.[Ch]:
151         * BufferView_pimpl.[Ch]:
152         * InsetList.[Ch]:
153         * PosIterator.[Ch]:
154         * buffer.h:
155         * bufferview_funcs.C:
156         * cursor.[Ch]:
157         * cursor_slice.h:
158         * factory.[Ch]:
159         * iterators.[Ch]:
160         * lyxfind.C:
161         * lyxfunc.C:
162         * lyxtext.h:
163         * output_docbook.C:
164         * output_latex.C:
165         * output_linuxdoc.C:
166         * output_plaintext.C:
167         * paragraph.[Ch]:
168         * paragraph_funcs.[Ch]:
169         * paragraph_pimpl.[Ch]:
170         * rowpainter.C:
171         * tabular.C:
172         * tabular.h:
173         * text.C:
174         * text2.C:
175         * text3.C: more IU:  dumps most of the rest of the mathcursor
176     implementation into cursor.[Ch]; "globalize" a bit of it.
177
178 2004-01-25  Angus Leeming  <leeming@lyx.org>
179
180         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
181
182 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
183
184         * LaTeXFeatures.h: add nice_ and nice() const
185         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
186
187 2004-01-20  André Pönitz  <poenitz@gmx.net>
188
189         * BufferView.[Ch]:
190         * BufferView_pimpl.C:
191         * PosIterator.C:
192         * bufferview_funcs.C:
193         * cursor.[Ch]:
194         * cursor_slice.[Ch]:
195         * factory.C:
196         * iterators.C:
197         * lyx_cb.C:
198         * lyxfind.C:
199         * lyxfunc.C:
200         * lyxtext.h:
201         * rowpainter.C:
202         * text.C:
203         * text2.C:
204         * text3.C:
205         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
206           LCursor and mathcursor parts to LCursor and InsetBase.
207
208 2004-01-15  André Pönitz  <poenitz@gmx.net>
209
210         * cursor_slice.[Ch]: add a few covienience functions
211
212         * funcrequest.[Ch]: remove BufferView * member
213
214         * BufferView_pimpl.C:
215         * cursor.C:
216         * factory.[Ch]:
217         * lyxfind.[Ch]:
218         * lyxfunc.C:
219         * lyxtext.h:
220         * text3.C:
221         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
222
223 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
224
225         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
226         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
227
228 2004-01-13  André Pönitz  <poenitz@gmx.net>
229
230         * textcursor.[Ch]:
231         * lyxtext.h: hide cursor and selection anchor behind accessor function
232
233         * BufferView.C:
234         * BufferView_pimpl.[Ch]:
235         * PosIterator.C:
236         * bufferview_funcs.C:
237         * cursor.h:
238         * lyxfind.C:
239         * lyxfunc.C:
240         * text.C:
241         * text2.C:
242         * text3.C:
243         * undo.C: adjust
244
245         * cursor.h:
246         * cursor_slice.[Ch]: some integer type changes for inset unification
247
248         * lyxcursor.[hC]: remove, it's CursorSlice now.
249
250         * Makefile.am:
251         * BufferView_pimpl.[Ch]:
252         * bufferview_funcs.C:
253         * cursor_slice.C:
254         * lyxtext.h:
255         * text.C:
256         * text2.C:
257         * text3.C:
258         * textcursor.[Ch]: adjust
259
260 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * text2.C (undoSpan): add and use
263         * text.C (breakParagraph): use undoSpan (fix bug 578)
264         * lyxtext.h: adjust
265
266 2004-01-08  Angus Leeming  <leeming@lyx.org>
267
268         * BufferView_pimpl.C (MenuInsertLyXFile):
269         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
270         * lyxfunc.C (menuNew, open, doImport):
271         FileFilterList change to the FileDialog open and save functions.
272
273 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * ShareContainer.h: make isEqual and isUnique adaptable
276
277         * CutAndPaste.C: make resetOwnerAndChanges adaptable
278
279 2004-01-07  Angus Leeming  <leeming@lyx.org>
280
281         * LyXAction.C:
282         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
283
284         * BufferView_pimpl.C (dispatch): act on these LFUNs.
285
286         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
287         functions replacing find, replace and replaceAll.
288
289         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
290         LFUN_WORDFIND(FORWARD|BACKWARD).
291
292 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * text.C (breakParagraph): remove an outdated #warning
295
296 2004-01-07  André Pönitz  <poenitz@gmx.net>
297
298         * lyxfind.C: somewhat clearer logic
299
300         * text.C: prevent crash in cursorX on unitialized row cache
301
302 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * lyxcursor.[Ch] (operator>): add
305         * textcursor.C (selStart, selEnd): use std::min and std::max
306
307 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
308
309         * Chktex.C: include boost/format.hpp
310
311 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
312
313         * InsetList.C: replace functor MathcIt with adaptable functor
314         InsetTablePosLess
315         (insetIterator): modify accordingly
316
317         * BranchList.h: move the BranchNamesEqual functor here from...
318         * BranchList.C: ... to here
319
320         * BranchList.C: new BranchListEqual fuctor, use it. Remove
321         SameName and match.
322         (add): replace a finding loop with std::find_if.
323
324 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * output_docbook.C: moving LatexParam functionality into
327         .layout files
328
329 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
330
331         * buffer.C: increment format to 229.
332
333 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
334
335         * LaTeXFeatures.C:
336         * lyx_sty.[Ch]: remove minipageindent_def
337
338         * LyXAction.C:
339         * factory.C:
340         * lfuns.h:
341         * lyxfunc.C:
342         * text3.C: remove LFUN_INSET_MINIPAGE
343
344 2003-12-28  Angus Leeming  <leeming@lyx.org>
345
346         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
347
348 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
349
350         * text2.C (setParagraph): fix off-by-one crash
351
352 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * output_docbook.C: header stuff for AGU
355
356 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
357
358         * text2.C (redoCursor): remove
359         * text.C:
360         * text3.C:
361         * BufferView_pimpl.C: remove calls to redoCursor and
362         setCursor(cursor.par(), cursor.pos()) all around
363
364 2003-12-15  Angus Leeming  <leeming@lyx.org>
365
366         * buffer.C: up the format to 228.
367
368 2003-12-15  André Pönitz  <poenitz@gmx.net>
369
370         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
371         slices
372
373         * Makefile.am:
374
375         * BufferView_pimpl.C:
376         * cursor.[Ch]:
377         * lyxcursor.[Ch]:
378         * rowpainter.[Ch]:
379         * lyxtext.h:
380         * text.C:
381         * text2.C:
382         * text3.C: adjust
383
384 2003-12-15  Angus Leeming  <leeming@lyx.org>
385
386         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
387         than getFromGUIName to manipulate the color.
388
389 2003-12-14  Angus Leeming  <leeming@lyx.org>
390
391         * BranchList.[Ch]: minimize the API.
392         (Branch::getBranch, getColor): now return a 'const &'.
393         (Branch::setSelected) now returns a bool set to true if the
394         selection status changes.
395         (BranchList::clear, size, getColor, setColor, setSelected,
396         allBranches, allSelected, separator): removed.
397         (BranchList::find): new functions, returning the Branch with
398         the given name.
399         (BranchList::add, remove): return a bool indicating that
400         the operation was successful.
401
402         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
403         new InsetBranch::isBranchSlected member function.
404
405         * LColor.[Ch]: mimimize the API.
406         (fill): renamed as addColor and made private.
407         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
408         versions of these functions taking a string arg have been removed.
409
410         * bufferparams.C (readToken):
411         * lyxfunc.C (dispatch):
412         * lyxrc.C (read): changes due to the altered BranchList and
413         LColor APIs.
414
415         * factory.C (createInset, readInset): changes due to altered
416         InsetBranch c-tor.
417
418 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * factory.C:
421         * lyxfunc.C: remove insetminipage. "minipage-insert"
422         now produces a frameless minipage box inset.
423
424 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
425
426         * textcursor.[Ch] (selStart,selEnd): add new methods
427         remove selection::start, end, use LyXCursor::operator<
428         * lyxcursor.[Ch] (operator<): add
429         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
430         * BufferView.[Ch] (unsetXSel): add
431         * text2.C (clearSelection): use unsetXSel,adjust
432         * text.C: adjust
433         * text3.C: adjust
434         * rowpainter.C: adjust
435         * bufferview_funcs.C (put_selection_at): adjust
436
437 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * BufferView_pimpl.C: small coord. correction
440
441 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
444         dragging over the splash screen.
445
446 2003-12-11  Angus Leeming  <leeming@lyx.org>
447
448         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
449         as it is now handled in LyXText::dispatch.
450
451         * text3.C (doInsertInset): remove a level of nesting.
452
453 2003-12-11  Angus Leeming  <leeming@lyx.org>
454
455         * factory.C (createInset): changes due to the changed interface to
456         InsetCommandMailer::string2params.
457
458 2003-12-10  Angus Leeming  <leeming@lyx.org>
459
460         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
461         'dialog-show-new-inset <inset name>'
462
463 2003-12-10  Angus Leeming  <leeming@lyx.org>
464
465         * buffer.C: up the format to 227.
466
467         * factory.C: the box inset is now identified simply by 'Box'.
468
469 2003-12-10  Angus Leeming  <leeming@lyx.org>
470
471         * buffer.C: up the format to 226.
472
473         * factory.C: the note inset is now identified simply by 'Note'.
474
475 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
476
477         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
478         when a pit is enough. Standarize a couple of loops.
479
480 2003-12-05  Angus Leeming  <leeming@lyx.org>
481
482         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
483         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
484         data to the re-worked "log" dialog.
485
486 2003-12-03  André Pönitz  <poenitz@gmx.net>
487
488         * PosIterator.C:
489         * iterators.C:
490         * lyxtext.h:
491         * output_latex.C:
492         * paragraph_funcs.C:
493         * text.C:
494         * text2.C: use Inset::getText instead of Inset::getParagraph
495
496 2003-12-03  André Pönitz  <poenitz@gmx.net>
497
498         * buffer.[Ch]:
499         * lyxtext.h:
500         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
501         InsetText::read() as LyXText::read()
502
503 2003-12-02  Angus Leeming  <leeming@lyx.org>
504
505         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
506         type. Add a comment in the implementation that the function uses
507         the stream's bad() function rather than fail() as the std::streams
508         would do.
509
510 2003-12-02  André Pönitz  <poenitz@gmx.net>
511
512         * lyxlex.[Ch]: make interface more similar to std::stream
513
514         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
515
516 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
517
518         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
519
520 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
521
522         * vspace.[Ch]: remove VSpace::NONE
523
524 2003-12-01  André Pönitz  <poenitz@gmx.net>
525
526         * buffer.[Ch]:
527         * lyxtext.h: move ParagraphList member to LyXText
528         rename LyXText::ownerParagraphs to LyXText::paragraph
529
530         * CutAndPaste.C:
531         * bufferview_funcs.C:
532         * iterators.[Ch]:
533         * lyx_cb.C:
534         * paragraph.C:
535         * rowpainter.C:
536         * tabular.C:
537         * text.C:
538         * text2.C:
539         * text3.C: adjust
540
541         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
542
543         * undo.C: fix cursor positioning
544
545 2003-12-01  John Levon  <levon@movementarian.org>
546
547         * BufferView_pimpl.C: fix a crash on exit with
548         a buffer open
549
550 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * BranchList.C: fix setSelected() method.
553
554 2003-11-28  André Pönitz  <poenitz@gmx.net>
555
556         * ParagraphParameters.[Ch]:
557         * ParameterStruct.h: remove space above/below from Paragraph to
558          InsetVSpace
559
560         * BufferView_pimpl.C:
561         * factory.C:
562         * lyxfunc.C:
563         * lyxtext.h:
564         * output_latex.C:
565         * paragraph.C:
566         * paragraph_funcs.C:
567         * rowpainter.[Ch]:
568         * text.C:
569         * text2.C:
570         * text3.C: adjust
571
572 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * factory.C: Syntax change for CharStyles
575
576 2003-11-28  André Pönitz  <poenitz@gmx.net>
577
578         * BufferView.[Ch]:
579         * BufferView.[Ch]:
580         * buffer.[Ch]:
581         * buffer.[Ch]: move LyXText member
582
583 2003-11-28  André Pönitz  <poenitz@gmx.net>
584
585         * BufferView.[Ch]: make LyXText * text a private member
586
587         * BufferView_pimpl.C:
588         * cursor.C:
589         * iterators.C:
590         * lyx_cb.C:
591         * lyxfind.C:
592         * lyxtext.h:
593         * rowpainter.[Ch]:
594         * text.C:
595         * text2.C:
596         * undo.C: adjust
597
598         * output_plaintext.C: cleanup
599
600 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * buffer.C:
603         * lyxtextclass.[Ch]: parametrize SGML document header
604
605 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * converter.[Ch]:
608         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
609         getFlavor().
610
611 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * text2.C (setFont): rework using PosIterator (no more recursive)
614         (setCharFont): no more needed
615         (setLayout): no more selection cursors fiddling (done by redoCursor)
616         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
617         destroy remaining ones)
618
619 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
620
621         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
622         * lyxtext.h: ditto
623         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
624         selection cursors
625         * lyxfunc.C: adjust
626         * text3.C: adjust + re-allow multi par depth changes
627         * textcursor.C: simplify a bit
628
629 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
630
631         * src/buffer.C:
632         * src/lyxlayout.C:
633         * src/lyxlayout.h:
634         * src/lyxtext.h:
635         * src/output_docbook.C:
636         * src/output_latex.C:
637         * src/paragraph.C:
638         * src/paragraph.h:
639         * src/sgml.C:
640         * src/sgml.h:
641         * src/text2.C: Introducing a number of tags parametrizing various
642         XML formats that we may want to support
643
644 2003-11-25  André Pönitz  <poenitz@gmx.net>
645
646         * InsetList.[Ch] (begein, end): inline as suggested by profiler
647
648         * lyxtext.h (leftMargin/rightMargin): simplify interface
649
650         * rowpainter.C:
651         * text.C:
652         * text2.C:
653         * text3.C: adjust
654
655 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
656
657         * lyxfunc.C (dispatch): propogate the bibtex databases from the
658         master file to any child files. Fixes bug 546.
659
660 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
663
664 2003-11-24  André Pönitz  <poenitz@gmx.net>
665
666         * rowpainter.C: simplification
667
668         * text2.C (updateCounters): remove call to redoParagraph on
669         changed labels as this is far too expensive.
670
671 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
672
673         * converter.C (convert): fix a crash: this function gets
674         called with buffer == 0 from importer code.
675
676 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
677
678         * text3.C (cursorPrevious): make sure that we do not compare
679         iterators form different containers.
680         (cursorNext): ditto
681
682         * rowpainter.C (paintSelection): make sure that we do not compare
683         iterators from different containers.
684
685         * text3.C (dispatch): [PRIOR] make sure that we do not compare
686         iterators from different ParagraphList containers.
687         [NEXT] ditto
688
689         * text2.C (LyXText): change order of initialization slightly
690         (operator=): new function. copy all variables except cache_par_
691         (moveUp): make sure that we do not compare iterators from
692         different ParagraphList constainers.
693         (moveDown): ditto
694
695         * text.C (firstPar): new function
696         (lastPar): new function
697         (endPar): new function
698
699         * lyxtext.h: move things around and group public functions, public
700         variables, private functions, private variables
701
702 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
703
704         * factory.C: change call to InsetERT constructor to avoid
705         additional invocation of method status
706         * text2.C (toggleInset): remove redundant update() call
707         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
708         instead of a Bufferview pointer
709
710 2003-11-21  André Pönitz  <poenitz@gmx.net>
711
712         * rowpainter.C: simplification
713
714 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * text3.C (dispatch): make possible to extend a word/row selection
717         with the mouse
718
719 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
720
721         * lyxtext.h: x0_,y0_ -> xo_,yo_
722         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
723         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
724         * rowpainter.C (paintRows): paint full paragraphs
725
726 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
727
728         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
729         screen coordinates)
730
731 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
732
733         * lyxtext.h: add x0_, y0_
734         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
735         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
736
737 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
738
739         * text2.C (setCursorIntern): move the x_target update here *
740         * text3.C: change some bv() to true/false in calls to
741         cursorUp/Down/Right/Left
742         * cursor.C: use helper function.
743
744 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
745
746         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
747         * paragraph_funcs.[Ch]: correct comment
748         * rowpainter.C: do not paint selections away from bv->cursor()
749         Fix a long standing selection painting bug.
750         * text3.C: generalize mouse-selection code to LyXTexts other that
751         top one
752         * textcursor.C: do not use y coords if we can use par offsets
753
754 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
755
756         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
757         cursor position after e.g. inset insert)
758
759 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
760
761         * lyxfind.C (replace): adjust to locking removal + some
762         code simplification
763
764 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
765
766         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
767         of the path
768
769 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * lyxlayout.[Ch]:
772         * output_docbook.C: XML sanitation: new layout
773         parameters InnerTag and CommandDepth
774
775 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * BufferView_pimpl.C:
778         * factory.C:
779         * text3.C: Fix the insertion and modification of button-style
780         insets
781
782 2003-11-13  André Pönitz  <poenitz@gmx.net>
783
784         * InsetList.[Ch]: remove deleteLyXText
785
786         * paragraph.[Ch]: cache beginOfBody position
787
788         * Bidi.C:
789         * text.C:
790         * text2.C:
791         * text3.C: remove superfluous update() calls
792
793         * vspace.C: cleanup
794
795 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
796
797         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
798         * BufferView.C (fitLockedInsetCursor): remove
799         * cursor.[Ch] (getDim): add
800         * text.C (getRowNearY): add faster version
801         * text3.C: remove some update calls
802
803 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * LaTeXFeatures.C:
806         * LyXAction.C:
807         * MenuBackend.C:
808         * MenuBackend.h:
809         * dispatchresult.h:
810         * factory.C:
811         * lfuns.h:
812         * lyxfunc.C:
813         * lyxtextclass.C:
814         * lyxtextclass.h:
815         * text3.C: The Character Style /XML short element patch.
816
817 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
818
819         * text3.C:
820         * factory.C: Small step to solving 'unable to insert some insets'
821         problem
822
823 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
824
825         * cursor.[Ch] (updatePos): new function for updating the y
826         position of the tip inset
827         * bufferview_funcs.C (put_selection_at):
828         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
829
830 2003-11-11  André Pönitz  <poenitz@gmx.net>
831
832         * text.C: remove big comment on invalid Paragraph pointers as it is
833         not valid anymore
834
835 2003-11-11  André Pönitz  <poenitz@gmx.net>
836
837         * text_funcs.[Ch]: merge with ...
838
839         * text.C: ... this
840
841         * lyxtext.h:
842         * text2.C:
843         * text3.C: adjust
844
845         * Makefile.am: remove text_funcs.[Ch]
846
847 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
848
849         * cursor.C (getPos): return absolute cached y coord
850
851         * BufferView_pimpl.C (fitCursor): new simplistic code
852         (workAreaDispatch): add a fitCursor call
853
854 2003-11-10  André Pönitz  <poenitz@gmx.net>
855
856         * BufferView.[Ch]:
857         * BufferView_pimpl.[Ch]: merge update() and updateInset()
858
859 2003-11-10  André Pönitz  <poenitz@gmx.net>
860
861         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
862         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
863         indicate that the cursor needs to leave an inset
864
865         * lyxtext.h: remove inset locking
866
867         * cursor.[Ch]: re-implement functionality provided by inset locking
868
869         * BufferView.[Ch]:
870         * BufferView_pimpl.[Ch]:
871         * LyXAction.C:
872         * bufferview_funcs.[Ch]:
873         * factory.C:
874         * funcrequest.[Ch]:
875         * iterators.C:
876         * lyx_cb.C:
877         * lyxfind.C:
878         * lyxfunc.C:
879         * text.C:
880         * text2.C:
881         * text3.C:
882         * undo.C: adjust
883
884 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
885
886         * PosIterator.[Ch]: replace the stack with a vector, add inset
887         accesor
888         * iterators.[C]: adjust
889
890 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
891
892         * lyxfind.C (replaceAll): mark the buffer dirty if something was
893         replaced
894         * paragraph_funcs.C (readParToken): put the correct id in the
895         error item, not the id of the top paragraph
896
897 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
898
899         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
900         * bufferview_funcs.C (put_selection_at): use the above
901
902 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
903
904         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
905
906 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * output_linuxdoc.h:
909         * output_plaintext.h:
910         * output.h:
911         * output_docbook.h: add #include statements
912
913 2003-11-05  José Matos  <jamatos@lyx.org>
914
915         * output_docbook.[Ch]:
916         * output_latex.[Ch]:
917         * output_linuxdoc.[Ch]:
918         * output_plaintext.[Ch]: New files for output formats.
919         * output.[Ch]: New file for helper functions.
920
921         * buffer.[Ch]:
922         * paragraph_funcs.[Ch]: output functions moved to new files.
923
924         * outputparams.h: rename of latexrunparams.h
925
926         * LaTeX.[Ch]:
927         * buffer.[Ch]:
928         * bufferlist.[Ch]:
929         * converter.[Ch]:
930         * exporter.C:
931         * paragraph.[Ch]:
932         * paragraph_funcs.[Ch]:
933         * paragraph_pimpl.[Ch]:
934         * tabular.[Ch]: rename ascii to plaintext
935         and LatexRunParams to OutputParams.
936
937 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
938
939         * iterators.[Ch] (text): require bv argument
940         * undo.C (recordUndo):
941         * lyxfunc.C (dispatch):
942         * bufferview_funcs.C (put_selection_at): adjust
943
944 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
945
946         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
947
948 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
949
950         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
951         nestings
952
953 2003-11-04  André Pönitz  <poenitz@gmx.net>
954
955         * cursor.[Ch]: restructure
956
957         * BufferView.[Ch]:
958         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
959
960         * iterators.[Ch] (asCursor): remove
961
962         * lfuns.h: remove LFUN_INSET_EDIT
963
964         * lyxfunc.C:
965         * tabular.C:
966         * text.C:
967         * text2.C:
968         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
969
970 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
971
972         * lyxfind.[Ch]: complete overhaul
973         * BufferView_pimpl.C:
974         * lyxfunc.C: adjust
975         * paragraph.[Ch] (insert): add
976
977 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
978
979         * BufferView.[Ch]:
980         * lyxtext.h:
981         * text.C: remove dead spellcheck code
982
983 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
984
985         * dispatchresult.h: add a val setter
986
987         * cursor.C (dispatch): use a tempvar for data_[i]
988
989 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
990
991         * PosIterator.[Ch]: compile fix
992
993 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
994
995         * text.C (cursorPar): deactivate the cursor cache
996
997 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
998
999         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1000
1001 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1002
1003         * text3.C (dispatch): adjust for new DisptchResult semantics.
1004
1005         * lyxfunc.C (dispatch): handle update when return from
1006         Cursor::dispatch, adjust for new DispatchResult semantics.
1007
1008         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1009         DispatchResult(true) mean to not update. Add class functions for
1010         setting dispatched and update, as well as reading.
1011
1012         * cursor.C (dispatch): don't handle update here
1013
1014 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1015
1016         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1017         * trans_mgr.C: adjust
1018
1019         * paragraph_funcs.C (readParToken): exception safety
1020
1021         * lyxvc.h: store the vcs pointer in a scoped_ptr
1022         * lyxvc.C: adjust
1023
1024         * lyxsocket.C (serverCallback): exception safety
1025
1026         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1027
1028         * ispell.C (clone): make it return a auto_ptr
1029
1030         * factory.C (createInset): exception safety
1031         (readInset): exception safety
1032
1033         * bufferlist.C (newBuffer): exception safety
1034
1035         * Thesaurus.C (Thesaurus): use initialization for aik_
1036
1037         * MenuBackend.C (expandToc): exception safety.
1038
1039 2003-11-03  André Pönitz  <poenitz@gmx.net>
1040
1041         * buffer.C:
1042         * buffer.h:
1043         * bufferview_funcs.C: remove getInsetFromId()
1044
1045         * lyxcursor.[Ch]:
1046         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1047
1048         * lyxfunc.C:
1049         * text2.C:
1050         * text3.C: adjust
1051
1052 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1053
1054         * PosIterator.C (distance, advance): new
1055         * bufferview_funcs.[Ch] (put_selection_at): new
1056         * iterators.[Ch] (lockPath): new
1057
1058 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1059
1060         * iterators.[Ch] (asPosIterator): added
1061         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1062         * PosIterator.[Ch]: added
1063
1064 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1065
1066         * text3.C:
1067         * lyxfunc.C:
1068         * cursor.C (dispatch):
1069         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1070
1071         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1072         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1073         contructor, add a class function dispatched. Remove operator>=
1074
1075 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * debug.C: only use the default constructor for debugstream
1078         (lyxerr) here.
1079
1080         * main.C (main): include debug.h and setup the lyxerr streambuf
1081         here.
1082
1083 2003-10-31  José Matos  <jamatos@lyx.org>
1084
1085         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1086
1087         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1088         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1089         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1090         * paragraph_pimpl.C (simpleTeXSpecialC):
1091         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1092         add LatexRunParams argument.
1093
1094         * exporter.C (Export): change call accordingly.
1095
1096         * latexrunparams.h: add new member to take care of the other backends.
1097 2003-10-30  José Matos  <jamatos@lyx.org>
1098
1099         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1100         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1101         factorise code for paragraph output.
1102         * buffer.[Ch]:
1103         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1104         move functions.
1105
1106 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * text3.C (dispatch):
1109         * lyxfunc.C (dispatch):
1110         * cursor.C (dispatch):
1111         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1112
1113         * dispatchresult.h: make the dispatch_result_t ctor explicit
1114
1115 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1116
1117         * sgml.[Ch]:
1118         * buffer.C: small refactoring of docbook stuff
1119
1120 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1121
1122         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1123         meaning.
1124
1125 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1128         operator dispatch_result_t, and operators for == != and >=
1129
1130         * cursor.C (dispatch): adjust for operator dispatch_result_t
1131         removal. comment out call to update
1132
1133         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1134
1135 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1136
1137         * text3.C:
1138         * text2.C:
1139         * text.C:
1140         * lyxtext.h:
1141         * lyxfunc.C:
1142         * cursor.C:
1143         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1144         (dispatch):
1145
1146         * dispatchresult.h: new file, DispatchResult broken out of
1147         insets/insetbase.h
1148
1149         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1150
1151 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1152
1153         * text.C (rowBreakPoint): put a hack inside #if 0
1154
1155 2003-10-28  André Pönitz  <poenitz@gmx.net>
1156
1157         * lyxtext.h:
1158         * metricsinfo.C:
1159         * paragraph_funcs.C:
1160         * rowpainter.C:
1161         * text.C:
1162         * text2.C: general cleanup (lots of small stuff)
1163
1164 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * text2.C (cursorEnd): simple fix to the "end key goes to one
1167         before the end on last row" bug
1168
1169 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1170
1171         * text.C (backspace): fix the "zombie characters"
1172
1173 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1174
1175         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1176
1177 2003-10-27  André Pönitz  <poenitz@gmx.net>
1178
1179         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1180
1181         * factory.C: handle new InsetPagebreak, InsetLine
1182
1183         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1184         and move handling into new InsetPagebreak, InsetLine
1185
1186         * BufferView_pimpl.C:
1187         * LyXAction.C:
1188         * ParagraphParameters.C:
1189         * ParameterStruct.h:
1190         * lyxfunc.C:
1191         * lyxtext.h:
1192         * paragraph.C:
1193         * paragraph.h:
1194         * paragraph_funcs.C:
1195         * paragraph_pimpl.C:
1196         * rowpainter.C:
1197         * text.C:
1198         * text2.C:
1199         * text3.C: adjust
1200
1201 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1202
1203         * text.C:
1204         * lyxrow_funcs.[Ch]:
1205         * Bidi.C:
1206         * paragraph.C:
1207         * lyxtext.h:
1208         * rowpainter.C:
1209         * text2.C:
1210         * text3.C: remove lastPos uses in favour of Row::endpos
1211
1212 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * undo.C (performUndoOrRedo): fix two crashes by setting a
1215         cursor by hand and reordering some calls. Use bv->lockInset instead
1216         of inset->edit because the latter loses cursor information
1217
1218 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1219
1220         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1221         by Martin
1222         (rowBreakPoint): fix width. change point to point + 1.
1223         Add a missing check.
1224
1225 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * MenuBackend.C:
1228         * lyxfunc.C: fix (at least partly) the problems
1229         with the Nav menu and headers inside branch insets
1230         reported by Kayvan
1231
1232 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1233
1234         * paragraph.C (getChar): add strong asserts
1235
1236         * lyxrow_funcs.C (lastPos): remove hideous hack
1237
1238         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1239         (fill): adjust to that (avoid an infinite loop)
1240
1241 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1242
1243         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1244
1245 2003-10-23  André Pönitz  <poenitz@gmx.net>
1246
1247         * RowList_fwd.h: change list<> to vector<> to gain speed
1248         after suggestion from Alfredo
1249
1250 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * lyxtext.h: move the bidi stuff from here...
1253         * text.C: and here
1254         * text2.C: and here
1255         * Bidi.[Ch]: ... to here
1256
1257 2003-10-23  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxtext.h:
1260         * text.C (isLastRow, isFirstRow): new functions
1261
1262         * paragraph.h: new width cache member
1263
1264         * rowpainter.C: replace RowList::iterator with Row & where possible
1265
1266         * lyxfunc.C: replace several view()->text with a single call
1267
1268         * toc.C: fix 'unused' warning
1269
1270 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1271
1272         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1273         when woring with stream::pos_type
1274         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1275
1276 2003-10-22  André Pönitz  <poenitz@gmx.net>
1277
1278         * lyxtext.h:
1279         * text.C: use Row & instead of RowList::iterator
1280
1281         * lyxrow.h: rename end() to endpos()
1282
1283         * rowpainter.C:
1284         * text.C:
1285         * text2.C: adjust
1286
1287 2003-10-22  Angus Leeming  <leeming@lyx.org>
1288
1289         * buffer.[Ch] (fully_loaded): new member function, returning true
1290         only when the file has been loaded fully.
1291         Used to prevent the premature generation of previews and by the
1292         citation inset to prevent computation of the natbib-style label.
1293
1294         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1295         templates are all set up.
1296
1297         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1298
1299 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * text.C: fixed an "oops" in the "is a bit silly"
1302         bug fix
1303
1304 2003-10-21  André Pönitz  <poenitz@gmx.net>
1305
1306         * FuncStatus.[Ch]: small stuff, whitespace
1307
1308         * lyxfont.[Ch]: operator<<() for debug reasons
1309
1310         * lyxfunc.C:
1311         * lyxrow_funcs.C:
1312         * lyxtext.h: whitespace, spelling
1313
1314         * paragraph.C: naming of variables
1315
1316         * text.C:
1317         * text2.C: small stuff
1318
1319
1320 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1321
1322         * text.C: (1) finish off the inset display() work;
1323         (2) fix the "is a bit silly" bug (accessing char
1324         past end of par).
1325
1326 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1327
1328         * text.C: re-introduce display() for insets, fixing the
1329         various bugs (stretch of line above, math inset
1330         positioning, ...)
1331
1332 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * text.C (rightMargin): remove spurious semicolon
1335
1336         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1337         1415)
1338
1339 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1340
1341         * text3.C: fix one crash due to wrong cursor def
1342
1343 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1344
1345         * vc-backend.C (scanMaster): make the regex static
1346
1347         * LaTeX.C (scanAuxFile): make the regexs static
1348
1349         * text3.C (doInsertInset, dispatch, dispatch):
1350         * text2.C (cursorUp, cursorDown):
1351         * text.C (selectNextWordToSpellcheck):
1352         * BufferView_pimpl.C (dispatch):
1353         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1354
1355 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * lyxsocket.C: include <cerrno>
1358
1359 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1360
1361         * lyxfunc.C (dispatch): remove textcache stuff
1362
1363         * bufferlist.C (release): remove textcache stuff
1364         (closeAll): ditto
1365
1366         * TextCache.C: delete file
1367         * TextCache.h: delete file
1368
1369         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1370
1371         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1372         delete of the bv_->text.
1373         (resizeCurrentBuffer): remove texcache stuff
1374         (workAreaResize): ditto
1375
1376 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1377
1378         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1379         action.
1380
1381 2003-10-16  André Pönitz  <poenitz@gmx.net>
1382
1383         * lyxrow.[Ch]:
1384         * paragraph.h:
1385         * rowpainter.C:
1386         * text.C:
1387         * text2.C:
1388         * text3.C: speed up by storing y positions per paragraph plus per-row
1389         offset instead of having a 'full' y position in the row.
1390
1391 2003-10-15  André Pönitz  <poenitz@gmx.net>
1392
1393         * iterators.[Ch]:
1394         * iterators.[Ch]:
1395         * undo.[Ch]: make undo aware of inner insets
1396
1397 2003-10-14  Angus Leeming  <leeming@lyx.org>
1398
1399         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1400         static member functions LyX::ref() and LyX::cref.
1401         (lastfiles): new accessor functions for the new lastfiles_ member var.
1402         (addLyXView, views_): add a new LyXView to the list of views_.
1403         (updateInset): loop over all LyXViews to call their own updateInset
1404         member function, returning a pointer to the Buffer owning the inset.
1405
1406         * BufferView_pimpl.C (loadLyXFile):
1407         * MenuBackend.C (expandLastfiles):
1408         * bufferlist.C (MenuWrite, QuitLyX):
1409         lastfiles is no longer a global variable.
1410         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1411
1412         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1413         static function. Access through LyX::cref().emergencyCleanup().
1414
1415 2003-10-14  André Pönitz  <poenitz@gmx.net>
1416
1417         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1418
1419         * undo.[Ch]: restoring part of 'undo in insets'
1420
1421         * Makefile.am:
1422         * undo_funcs.[Ch]: merge with undo.[Ch]
1423
1424         * tabular.C: small cleansing stuff
1425
1426 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * paragraph_funcs.C (readParToken): report unknown insets as error
1429         boxes. Use the outer paragraph as location (also for unknown
1430         tokens).
1431
1432         * factory.C (readInset): do not abort on reading an unknown inset.
1433         Eat it and return 0.
1434
1435 2003-10-13  Angus Leeming  <leeming@lyx.org>
1436
1437         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1438
1439         * lyxrc.C: displayTranslator is now a function,
1440         declared in GraphicsTypes.h.
1441
1442 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1443
1444         * format.C: new placeholder $$a to pass the socket address.
1445
1446         * bufferlist.[Ch]: new function getBufferFromTmp.
1447
1448         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1449           files in the temporary dir.
1450
1451 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1452
1453         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1454
1455         * Makefile.am: add lyxsocket.[Ch].
1456
1457         * lyx_main.C (error_handler): handle SIGPIPE.
1458
1459 2003-10-13  André Pönitz  <poenitz@gmx.net>
1460
1461         * BufferView_pimpl.C:
1462         * lyxtext.h:
1463         * text.C:
1464         * text2.C:
1465         * text3.C:
1466         * undo_funcs.[Ch]: use paroffset_type instead of
1467           ParagraphList::iterators to prevent multiple conversion
1468           (and get a more robust interface)
1469
1470 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1471
1472         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1473         * lyxtext.h: ditto
1474         * text3.C (dispatch): ditto
1475
1476 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1479         move the onlyfile, use onlyfile instead of foundfile in a couple
1480         of places.
1481
1482         * DepTable.C (update): flush the error stream a bit more
1483
1484 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1485
1486         * lyxserver.C (callback): adjust
1487
1488         * lyxfunc.C (getStatus): add a missing brace in commented code
1489         (ensureBufferClean): reindent
1490         (dispatch): delete version taking a string
1491
1492 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * LaTeX.C (deplog): move found file handlig from here...
1495         (handleFoundFile): .. to new function here.
1496         (deplog): make sure to discover several files mentioned on the
1497         same log line.
1498
1499 2003-10-10  André Pönitz  <poenitz@gmx.net>
1500
1501         * lyxfunc.C:
1502         * lyxtext.h:
1503         * tabular.C:
1504         * text.C:
1505         * text2.C:
1506         * text3.C: fix some of the tabular crashes
1507
1508 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1509
1510         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1511
1512         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1513
1514 2003-10-09  André Pönitz  <poenitz@gmx.net>
1515
1516         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1517
1518         * BufferView.C:
1519         * BufferView_pimpl.C:
1520         * bufferview_funcs.C:
1521         * lyx_cb.C:
1522         * lyxcursor.C:
1523         * lyxfind.C:
1524         * lyxfunc.C:
1525         * lyxtext.h:
1526         * text.C:
1527         * text2.C:
1528         * text3.C:
1529         * text_funcs.[Ch]:
1530         * textcursor.[Ch]:
1531         * undo_funcs.C: adjust
1532
1533 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * text2.C (incrementItemDepth): new function, use a backtracking
1536         algorithm to discover the correct item depth.
1537         (resetEnumCounterIfNeeded): new function, use a backtracking
1538         algorithm to discover if counter reset is needed.
1539         (setCounter): use them. Simplify a bit. Add different labels for
1540         different item depths for itemize.
1541
1542         * paragraph.C (Paragraph): remove initialization of enumdepth
1543         (operator=): ditto
1544
1545         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1546         enumerate and itemize. Change the type of itemdepth to signed char.
1547
1548 2003-10-08  André Pönitz  <poenitz@gmx.net>
1549
1550         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1551           thing assignable.
1552         * text.C:
1553         * text2.C: adjust
1554
1555         * tabular.[Ch]: fix crash after 'row-insert'
1556
1557 2003-10-08  Angus Leeming  <leeming@lyx.org>
1558
1559         Fix doxygen warnings.
1560
1561         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1562         Remove CutAndPaste:: prefix from header file declaration.
1563
1564         * LColor.h (fill): remove LColor:: prefix from declaration.
1565
1566         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1567         use lyx::depth_type rather than Paragraph::depth_type so that
1568         header file and .C file match.
1569
1570         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1571
1572         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1573         * aspell.C: \file aspell_local.C -> \file aspell.C
1574         * gettext.C: \file gettext.C -> \file src/gettext.C
1575         * gettext.h: \file gettext.h -> \file src/gettext.h
1576         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1577         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1578         * text.C: \file text.C -> \file src/text.C
1579
1580         * toc.C: move comment so that doxygen is not confused.
1581
1582 2003-10-07  Angus Leeming  <leeming@lyx.org>
1583
1584         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1585
1586 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1587
1588         * aspell.C:
1589         * aspell_local.h: add forgotten std::string's.
1590
1591 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1592
1593         * LaTeXFeatures.C:
1594         * LyXAction.C:
1595         * factory.C:
1596         * lfuns.h:
1597         * lyxfunc.C:
1598         * text3.C: The Box patch. Fancybox support, minipage, parbox
1599
1600 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1601
1602         * CutAndPaste.h:
1603         * DepTable.h:
1604         * FloatList.h:
1605         * LaTeXFeatures.h:
1606         * ParagraphParameters.h:
1607         * TextCache.h:
1608         * Thesaurus.h:
1609         * bufferlist.h:
1610         * exporter.h:
1611         * importer.h:
1612         * lastfiles.h:
1613         * lyxfind.h:
1614         * lyxfont.h:
1615         * lyxlex.h:
1616         * lyxtextclasslist.h:
1617         * messages.h:
1618         * paragraph.h:
1619         * paragraph_pimpl.C:
1620         * textcursor.h: add <string> and other small fixes to make Lars'
1621         std::string patch compile with STLport.
1622
1623 2003-10-06  Angus Leeming  <leeming@lyx.org>
1624
1625         * LColor.h: Add missing #include <string>.
1626
1627 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1628
1629         * All most all file in all subdirs: Make <string> be the prefered
1630         way of getting to std::string, add using declarations.
1631
1632 2003-10-06  André Pönitz  <poenitz@gmx.net>
1633
1634         * metricsinfo.C: initialize LyXFont before changing attribute.
1635         (fixes the 'math in \emph is upright' bug)
1636
1637 2003-10-06  André Pönitz  <poenitz@gmx.net>
1638
1639         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1640
1641 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1642
1643         * graph.C:
1644         * paragraph_pimpl.C: Small fixes to build using STLport
1645
1646 2003-10-02  André Pönitz  <poenitz@gmx.net>
1647
1648         * lyxfunc.C:
1649         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1650
1651 2003-10-01  André Pönitz  <poenitz@gmx.net>
1652
1653         * factory.C: assert early
1654
1655 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1656
1657         * lyx_main.C: remove the global debug object
1658
1659         * debug.h: adjust for new debugstream
1660
1661         * debug.C: adjust for new debugstream and keep the global debug
1662         object here.
1663
1664 2003-09-22  Angus Leeming  <leeming@lyx.org>
1665
1666         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1667         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1668         an incomplete class LyXFont.
1669
1670 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1671
1672         * factory.C: bug fix in branches
1673
1674 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * lyxfunc.C (processKeySym): adjust
1677         (dispatch): adjust
1678         (dispatch): change arg name from ev to func, adjust
1679         (sendDispatchMessage): ditto
1680
1681         * lyx_main.C (defaultKeyBindings): adjust keybindings
1682         (deadKeyBindings): ditto
1683
1684         * kbsequence.C (addkey): return a FuncRequest
1685
1686         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1687
1688         * kbmap.C (bind): take a FuncRequest as arg, adjust
1689         (read): adjust
1690         (lookup): adjust
1691         (defkey): change to take a FuncRequest as arg, adjust
1692         (findbinding): take a FuncRequest as arg, adjust.
1693
1694         * funcrequest.h (operator=): added
1695
1696         * funcrequest.C (FuncRequest): default kb_action changed from
1697         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1698
1699         * buffer.C (dispatch): simplify
1700         (dispatch): adjust to take a FuncRequest as arg, adjust
1701
1702         * boost.C (assertion_failed): change assertion message slightly
1703
1704         * ToolbarBackend.C (read): simplify
1705
1706         * MenuBackend.C (binding): adjust call to findbinding, add a
1707         message if no binding is found.
1708         (read): simplify
1709         (expandToc): correct by adding a empty FuncRequest
1710
1711         * LyXAction.C: include <boost/assert.hpp>
1712         (isPseudoAction): delete function
1713         (LookupFunc): change name to...
1714         (lookupFunc): this. change return type to FuncRequest.
1715         (getActionName): take kb_action as arg, simplify
1716         (funcHasFlag): add an assert, simplify.
1717
1718 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1719
1720         * toc.C (action): return a FuncRequest, simplify
1721
1722         * lyxfunc.C (processKeySym): adjust
1723         (getStatus): delete version that takes an int.
1724         (getStatus): adjust
1725         (dispatch): delete version that takes action as int
1726         (dispatch): adjust
1727         (sendDispatchMessage): simplify and adjust
1728
1729         * funcrequest.C (getArg): take unsigned int as arg
1730
1731         * ToolbarBackend.C (read): adjust
1732         (add): delete version that takes func as a string.
1733         (getIton): take a FuncRequest as arg
1734
1735         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1736         action.
1737
1738         * MenuBackend.C (MenuItem): add a new construct that only takes a
1739         Kind, simplify the constructor use for submenus.
1740         (add): adjust
1741         (expandLastfiles): adjust
1742         (expandDocuments): adjust
1743         (expandFormats): adjust
1744         (expandFloatListInsert): adjust
1745         (expandFloatInsert): adjust
1746         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1747
1748         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1749         Remove class variables lyx_pseudo_map and lyx_arg_map
1750
1751         * LyXAction.C (searchActionArg): delete function
1752         (getPseudoAction): delete function
1753         (retrieveActionArg): delete function
1754         (LookupFunc): make it return kb_action, simplify.
1755         (getActionName): simplify
1756
1757         * factory.C (createInset): fix new bug
1758
1759 2003-09-19  Angus Leeming  <leeming@lyx.org>
1760
1761         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1762         masterFilename_ parameter in the include inset.
1763
1764         * factory.C (createInset): changes due to the changes to InsetInclude.
1765
1766 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1767
1768         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1769
1770 2003-09-18  Angus Leeming  <leeming@lyx.org>
1771
1772         * buffer.C:
1773         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1774         Inset::fillWithBibKeys.
1775         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1776
1777 2003-09-18  Angus Leeming  <leeming@lyx.org>
1778
1779         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1780         variables.
1781         (ctor): pass and store a 'Buffer const &'
1782         (buffer): new member function.
1783
1784         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1785         '*this' to the LaTeXFeatures ctor.
1786
1787 2003-09-18  Angus Leeming  <leeming@lyx.org>
1788
1789         * LColor.h:
1790         * lyxfont.C:
1791         * lyxfont.h:
1792         * lyxtext.h:
1793         * text.C: rename EnumLColor as LColor_color.
1794
1795 2003-09-18  Angus Leeming  <leeming@lyx.org>
1796
1797         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1798         remove #include "insets/insetbase.h" from cursor.h.
1799
1800 2003-09-18  Angus Leeming  <leeming@lyx.org>
1801
1802         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1803         InsetOld_code to remove #include "inset.h".
1804
1805         * iterators.C: add #include "insets/inset.h"
1806
1807 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * BufferView.C: remove more locking stuff that apparently doesn't
1810         do anything sensible.
1811
1812 2003-09-16  André Pönitz  <poenitz@gmx.net>
1813
1814         * paragraph.[Ch]:
1815         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1816           performance boost.
1817
1818 2003-09-16  Angus Leeming  <leeming@lyx.org>
1819
1820         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1821
1822         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1823         arg/return type.
1824
1825         * paragraph.h: remove #include "lyxfont.h". Forward declare
1826         LyXFont_size.
1827
1828 2003-09-16  Angus Leeming  <leeming@lyx.org>
1829
1830         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1831         of support/textutils.h.
1832         (isWord): move the contents of support/textutils.h's IsWordChar here.
1833
1834         * buffer.C:
1835         * lyxfind.C:
1836         * rowpainter.C:
1837         * text.C:
1838         * text2.C: add #include "paragraph.h".
1839
1840         * rowpainter.C:
1841         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1842
1843 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1844
1845         * main.C:
1846         * lyx_main.C:
1847         * lyx_cb.C:
1848         * buffer.C:
1849         * LaTeX.C: use namespace alias for lyx::support::os
1850
1851 2003-09-16  Angus Leeming  <leeming@lyx.org>
1852
1853         * bufferparams.C:
1854         * bufferview_funcs.C:
1855         * factory.C:
1856         * lyxfunc.C:
1857         * paragraph_pimpl.C:
1858         * rowpainter.C:
1859         * text.C: add #include "LColor.h".
1860
1861 2003-09-16  Angus Leeming  <leeming@lyx.org>
1862
1863         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1864         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1865         return LyXFont &.
1866         Store the FontBits::color variable as an int rather than as an
1867         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1868         file.
1869
1870         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1871         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1872         string calls together.
1873
1874         * lyxrc.C: add #include "LColor.h".
1875
1876 2003-09-15  Angus Leeming  <leeming@lyx.org>
1877
1878         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1879         a cow_ptr.
1880
1881 2003-09-15  Angus Leeming  <leeming@lyx.org>
1882
1883         * LColor.h: add an EnumLColor wrapper for LColor::color.
1884
1885         * lyxfont.[Ch] (color, setColor, realColor):
1886         * lyxtext.h, text.C (backgroundColor):
1887         pass EnumLColor args to/from the functions, rather than LColor::color
1888         ones.
1889
1890         * lyxfont.h:
1891         * lyxtext.h: forward declare EnumLColor.
1892
1893         * lyx_main.C: add #include "LColor.h".
1894
1895 2003-09-15  Angus Leeming  <leeming@lyx.org>
1896
1897         * .cvsignore: add lyx-gtk.
1898
1899 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1900
1901         * Chktex.C
1902         * LaTeX.C
1903         * LaTeXFeatures.C
1904         * ParagraphParameters.C
1905         * Spacing.C
1906         * buffer.C
1907         * bufferparams.C
1908         * bufferview_funcs.C
1909         * chset.C
1910         * counters.C
1911         * funcrequest.C
1912         * lyxfont.C
1913         * lyxgluelength.C
1914         * lyxlength.C
1915         * paragraph.C
1916         * paragraph_funcs.C
1917         * text3.C
1918         * vc-backend.C: remove usage of STRCONV
1919
1920 2003-09-15  Angus Leeming  <leeming@lyx.org>
1921
1922         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1923         explicitly define the color passed to the painter.
1924
1925 2003-09-15  Angus Leeming  <leeming@lyx.org>
1926
1927         * bufferparams.C (BufferParams): reorder member initializers to avoid
1928         compiler warning.
1929
1930 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1931
1932         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1933         * text.C (updateRowPositions): remove an unusual nop
1934
1935 2003-09-12  André Pönitz  <poenitz@gmx.net>
1936
1937         * BufferView_pimpl.C:
1938         * Bullet.C:
1939         * layout.h:
1940         * lyxfunc.C:
1941         * lyxlayout.[Ch]:
1942         * lyxtextclass.C:
1943         * rowpainter.C:
1944         * text.C:
1945         * text2.C:
1946         * Counters.[Ch]: finish the 'automatic counters' job
1947
1948 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1949
1950         * aspell.C: include <boost/assert.cpp> (compile fix)
1951
1952 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1953
1954         * boost.C (assertion_failed): use lyx::support::abort instead of
1955         assert.
1956
1957 2003-09-10  Angus Leeming  <leeming@lyx.org>
1958
1959         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1960         with their _fwd progeny.
1961
1962 2003-09-09  Angus Leeming  <leeming@lyx.org>
1963
1964         134 files throughtout the source tree: replace 'using namespace abc;'
1965         directives with the appropriate 'using abc::xyz;' declarations.
1966
1967 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1968
1969         * boost.C (emergencyCleanup): moved here from LAssert.c
1970         (assertion_failed): new function, called by BOOST_ASSERT
1971
1972         * several files: change Assert to BOOST_ASSERT
1973
1974 2003-09-09  Angus Leeming  <leeming@lyx.org>
1975
1976         * buffer.[Ch]: Add an Impl class and move Buffer's member
1977         variables into it. As a result move several header files out of
1978         buffer.h.
1979
1980         Add header files to lots of .C files all over the tree as a result.
1981
1982 2003-09-09  Angus Leeming  <leeming@lyx.org>
1983
1984         * buffer.[Ch]: make Buffer's member variables private. Add
1985         accessor functions.
1986
1987         Lots of changes all over the tree as a result.
1988
1989 2003-09-08  Angus Leeming  <leeming@lyx.org>
1990
1991         * graph.C: #include <config.h>.
1992
1993 2003-09-08  Angus Leeming  <leeming@lyx.org>
1994
1995         * BranchList.C:
1996         * BufferView.C:
1997         * BufferView_pimpl.C:
1998         * CutAndPaste.C:
1999         * DepTable.C:
2000         * LaTeX.C:
2001         * LaTeXFeatures.C:
2002         * LyXAction.C:
2003         * MenuBackend.C:
2004         * TextCache.C:
2005         * aspell.C:
2006         * buffer.C:
2007         * bufferlist.C:
2008         * changes.C:
2009         * chset.C:
2010         * converter.C:
2011         * counters.C:
2012         * debug.C:
2013         * graph.C:
2014         * ispell.C:
2015         * lyx_cb.C:
2016         * lyxfind.C:
2017         * lyxfunc.C:
2018         * lyxlex_pimpl.C:
2019         * lyxrc.C:
2020         * lyxrow.C:
2021         * paragraph.C:
2022         * rowpainter.C:
2023         * texrow.C:
2024         * text.C:
2025         * text2.C:
2026         * toc.C: remove redundant using directives.
2027
2028 2003-09-07  Angus Leeming  <leeming@lyx.org>
2029
2030         * LaTeXFeatures.h: remove #include "support/types.h".
2031         * ToolbarBackend.h: remove #include <algorithm>.
2032         * changes.h: remove #include <ctime>.
2033         * debug.h: remove #include <iosfwd>.
2034         * graph.h: remove #include "support/std_string.h".
2035         * lyx_main.h: remove #include <csignal>.
2036         * lyxlex_pimpl.h: remove #include <fstream>.
2037         * sgml.h: remove #include <algorithm>, <utility>.
2038         * toc.h: remove #include "support/std_ostream.h".
2039         Add #include <iosfwd>.
2040
2041 2003-09-07  Angus Leeming  <leeming@lyx.org>
2042
2043         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2044
2045         * converter.h: forward declare LatexRunParams.
2046         * encoding.h: remove #include "lyxrc.h".
2047         * lyxtext.h: remove #include "LColor.h".
2048         * lyxtextclass.h: remove #include "support/types.h".
2049         * trans.h: remove #include "tex-accent.h".
2050         * trans_mgr.h: remove #include "tex-accent.h".
2051         * insets/inset.h: remove #include "support/types.h", <vector>.
2052         * insets/insetcollapsable.h: remove #include "LColor.h".
2053         * insets/insetinclude.h: remove #include "dimension.h".
2054         * insets/insetlatexaccent.h: remove #include "dimension.h".
2055         * insets/insetoptarg.h:: remove #include "insettext.h".
2056         * insets/insettext.h: remove #include "dimension.h",
2057         <boost/shared_ptr.hpp>
2058
2059         * insets/renderers.h: add #include "dimension.h".
2060         * insets/updatableinset.h: add #include "support/types.h".
2061
2062         * many .C files: Associated changes.
2063
2064 2003-09-06  Angus Leeming  <leeming@lyx.org>
2065
2066         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2067         one, inside testInvariant.
2068
2069         * PrinterParams.C: new file.
2070         * PrinterParams.[Ch]: move the function bodies out of line.
2071
2072 2003-09-06  Angus Leeming  <leeming@lyx.org>
2073
2074         * ParagraphParameters.h: forward declare ParameterStruct rather than
2075         including its header file.
2076         (depth): moved out-of-line.
2077
2078 2003-09-06  Angus Leeming  <leeming@lyx.org>
2079
2080         * BufferView_pimpl.h:
2081         * kbmap.h:
2082         * kbsequence.h:
2083         * lyxfunc.h: forward declare LyXKeySym rather than
2084         #include "frontends/LyXKeySym.h".
2085
2086         * BufferView_pimpl.C:
2087         * kbmap.C:
2088         * kbsequence.C:
2089         * lyxfunc.C: associated changes.
2090
2091 2003-09-06  Angus Leeming  <leeming@lyx.org>
2092
2093         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2094         As a result, can remove the #include "insets/inset.h" from BufferView.h
2095
2096 2003-09-06  Angus Leeming  <leeming@lyx.org>
2097
2098         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2099         As a result, can remove the #include "insets/inset.h" from BufferView.h
2100
2101 2003-09-06  Angus Leeming  <leeming@lyx.org>
2102
2103         * buffer_funcs.C:
2104         * buffer.h:
2105         * bufferlist.C:
2106         * BufferView.C:
2107         * bufferview_funcs.C:
2108         * BufferView_pimpl.C:
2109         * CutAndPaste.C:
2110         * lyx_cb.C:
2111         * lyxfunc.C:
2112         * paragraph.h:
2113         * ParagraphParameters.C:
2114         * tabular.C:
2115         * text3.C:
2116         * toc.C:
2117         * undo_funcs.C:
2118         * frontends/controllers/ControlDocument.C:
2119         * insets/insetcaption.C: rearrange the #includes into some sort of
2120         coherent order.
2121
2122         * buffer.h: remove #includes ErrorList.h, undo.h
2123
2124 2003-09-06  Angus Leeming  <leeming@lyx.org>
2125
2126         * support/types.h: add a 'depth_type' typedef, used to store the
2127         nesting depth of a paragraph.
2128
2129         * paragraph.h:
2130         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2131         defining explicitly.
2132
2133         * buffer.h:
2134         * paragraph_funcs.h:
2135         * ParagraphParameters.h:
2136         * sgml.h: use lyx::depth_type rather than Paragraph or
2137         ParameterStruct's depth_type.
2138
2139         * buffer.h
2140         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2141
2142         * BufferView.C:
2143         * BufferView_pimpl.C:
2144         * CutAndPaste.C:
2145         * ParagraphParameters.C:
2146         * buffer_funcs.C:
2147         * bufferlist.C:
2148         * bufferview_funcs.C:
2149         * lyx_cb.C:
2150         * lyxfunc.C:
2151         * tabular.C:
2152         * text3.C:
2153         * toc.C:
2154         * undo_funcs.C:
2155         * frontends/LyXView.C:
2156         * frontends/controllers/ControlDocument.C:
2157         * frontends/controllers/ControlErrorList.C:
2158         * insets/insetbibitem.C:
2159         * insets/insetbranch.C:
2160         * insets/insetcaption.C:
2161         * insets/insetcollapsable.C:
2162         * insets/insetenv.C:
2163         * insets/insetert.C:
2164         * insets/insetfloat.C:
2165         * insets/insetfoot.C:
2166         * insets/insetfootlike.C:
2167         * insets/insetnewline.C:
2168         * insets/insetquotes.C:
2169         * insets/insettabular.C:
2170         * insets/insettext.C:
2171         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2172
2173         * frontends/controllers/ControlChanges.C: #include "changes.h".
2174
2175 2003-09-06  Angus Leeming  <leeming@lyx.org>
2176
2177         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2178         than #including paragraph.h.
2179
2180         * ParagraphList.h:
2181         * RowList.h: deleted. Superfluous.
2182
2183         * CutAndPaste.h:
2184         * iterators.h:
2185         * lyxcursor.h:
2186         * lyxtext.h:
2187         * text_funcs.h:
2188         * undo.h:
2189         * undo_funcs.h:
2190         * insets/inset.h:
2191         * insets/insettext.h: use ParagraphList_fwd.h rather than
2192         ParagraphList.h.
2193
2194         * paragraph.h: don't forward declare ParagraphList.
2195
2196         * buffer.h:
2197         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2198         rather than ParagraphList.h. paragraph.h is still needed for the
2199         Paragraph::depth_type parameters.
2200
2201         * textcursor.h: enable it to compile stand-alone in light of the
2202         above changes.
2203
2204         * bufferview_funcs.C:
2205         * iterators.C:
2206         * lyxfunc.C:
2207         * lyxrow_funcs.C:
2208         * paragraph.C:
2209         * rowpainter.C:
2210         * text.C:
2211         * text2.C:
2212         * text3.C:
2213         * text_funcs.C:
2214         * textcursor.C:
2215         * undo.C:
2216         * frontends/controllers/ControlParagraph.C:
2217         * frontends/controllers/ControlTabular.C:
2218         * insets/insetmarginal.C:
2219         * insets/insetminipage.C:
2220         * insets/insetnote.C:
2221         * insets/insetoptarg.C: add header files needed to compile again.
2222
2223 2003-09-06  Angus Leeming  <leeming@lyx.org>
2224
2225         * RowList_fwd.h: new file, forward-declaring Row rather than
2226         #including lyxrow.h.
2227
2228         * lyxrow_funcs.h:
2229         * lyxtext.h:
2230         * paragraph.h:
2231         * insets/insettext.h: use it instead of RowList.h
2232
2233         * bufferview_funcs.C:
2234         * lyxfunc.C:
2235         * lyxrow_funcs.C:
2236         * paragraph.C:
2237         * rowpainter.C:
2238         * text.C:
2239         * text2.C:
2240         * text3.C: #include "RowList.h".
2241
2242 2003-09-05  Angus Leeming  <leeming@lyx.org>
2243
2244         * factory.C (createInset):
2245         * vspace.C (c-tor): replace sscanf call with an istringstream.
2246         * ispell.C: re-add missing HP/UX headers.
2247         * lyxserver.C: re-add missing  os2 headers.
2248
2249 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2250
2251         * BranchList.C:
2252         * graph.C:
2253         * ispell.C:
2254         * lastfiles.C:
2255         * lyx_cb.C:
2256         * lyxserver.C:
2257         * texrow.C:
2258         * text3.C: re-add missing system headers, needed for 2.95.2.
2259
2260 2003-09-05  Angus Leeming  <leeming@lyx.org>
2261
2262         Changes most place everywhere due to the removal of using directives
2263         from support/std_sstream.h.
2264
2265 2003-09-05  Angus Leeming  <leeming@lyx.org>
2266
2267         Replace LString.h with support/std_string.h,
2268         Lsstream.h with support/std_sstream.h,
2269         support/LIstream.h with support/std_istream.h,
2270         support/LOstream.h with support/std_ostream.h.
2271
2272         Changes resulting throughout the tree.
2273
2274 2003-09-05  Angus Leeming  <leeming@lyx.org>
2275
2276         * sgml.h: ensure that the header file can be compiled stand-alone.
2277         * *.C: strip out redundant #includes. (320 in total.)
2278
2279 2003-09-04  Angus Leeming  <leeming@lyx.org>
2280
2281         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2282         here (from getPackages).
2283
2284         * debug.[Ch]: add a new EXTERNAL tag.
2285
2286 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2287
2288         * text2.C (cursorEnd): simplify
2289         (setCursor): adjust
2290         (getColumnNearX): adjust
2291
2292         * text.C (computeBidiTables): adjust
2293         (fill): adjust
2294
2295         * rowpainter.C (paintChars): adjust
2296         (paintSelection): adjust
2297         (paintChangeBar): adjust
2298         (paintText): adjust
2299
2300         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2301         lastPos instead.
2302         (numberOfSeparators): adjust
2303
2304 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2305
2306         * LyXAction.C:
2307         * box.[Ch]:
2308         * lfuns.h:
2309         * lyxfunc.C:
2310         * text3.C: Restricts the mouse click functionality
2311         of insets like bibtex, include, toc and floatlist to the visible
2312         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2313         up the dialogs. Cursor has to be in front of the inset (i.e.
2314         start of row) for this to function.
2315
2316 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2317
2318         * bufferview_funcs.C (currentState): output row information
2319
2320 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2321
2322         * bufferview_funcs.C (currentState): output paragraph position
2323
2324 2003-09-04  Angus Leeming  <leeming@lyx.org>
2325
2326         * FloatList.h: move out #include "Floating.h".
2327         * LaTeX.h: move out #include "DepTable.h".
2328         * LyXAction.h: move out #include "funcrequest.h".
2329         * buffer.h: move out #include "author.h", "iterators.h".
2330         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2331         * lyx_main.h: move out #include "errorlist.h".
2332         * lyxfunc.h: move out #include "FuncStatus.h".
2333         * lyxtext: move out #include "lyxcursor.h".
2334         * paragraph_pimpl.h: move out #include "counters.h".
2335
2336 2003-09-03  Angus Leeming  <leeming@lyx.org>
2337
2338         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2339         preamble_snippets list, enabling us to add snippets to the preamble
2340         only if the snippet was not there already.
2341
2342 2003-09-04  Angus Leeming  <leeming@lyx.org>
2343
2344         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2345
2346 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2349         update
2350
2351 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * BranchList.C: point fix, earlier forgotten
2354
2355 2003-09-02  Angus Leeming  <leeming@lyx.org>
2356
2357         * box.C (contains): renamed from 'contained' after a fantastic
2358         amount of hot air.
2359
2360 2003-09-02  John Levon  <levon@movementarian.org>
2361
2362         * BufferView.C:
2363         * lyxcursor.h:
2364         * lyxcursor.C:
2365         * lyxfunc.C:
2366         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2367
2368 2003-09-02  John Levon  <levon@movementarian.org>
2369
2370         * text2.C: simplification of cursorEnd(), including partial
2371         fix for bug 1376
2372
2373 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * buffer.C (readFile): add a space
2376
2377 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2378
2379         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2380
2381 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2382
2383         * buffer.C (readFile): new function, take a filename and a
2384         ParagraphList::iterator
2385         (readFile): adjust
2386         (readFile): adjust, make it private. don't use setStream, make
2387         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2388         always contain the filename.
2389
2390         * BufferView.C (insertLyXFile): simplify and make it work for
2391         gzipped files.
2392
2393 2003-08-30  John Levon  <levon@movementarian.org>
2394
2395         * Makefile.am: fix dist (from Kayvan)
2396
2397 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * most files: change to use const Buffer refs
2400
2401 2003-08-27  André Pönitz  <poenitz@gmx.net>
2402
2403         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2404         on top of ownerPar().
2405
2406 2003-08-27  John Levon  <levon@movementarian.org>
2407
2408         * funcrequest.C: properly initialise POD members
2409
2410 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2411
2412         * lyxtext.h (top_y): move top_y from here
2413         * text.C:
2414         * text2.C:
2415         * text3.C:
2416         * BufferView.[Ch]:
2417         * BufferView_pimpl.[Ch]: to here
2418         * frontends/screen.C:
2419         * insets/insettabular.C:
2420         * insets/insettext.C: adjust
2421         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2422
2423 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2424
2425         * BufferView.[Ch]:
2426         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2427
2428 2003-08-26  André Pönitz  <poenitz@gmx.net>
2429
2430         * paragraph_func.[Ch] (outerPar): new function
2431
2432         * paragraph.C:
2433         * paragraph_funcs.C:
2434         * paragraph_funcs.h:
2435         * paragraph_pimpl.C:
2436         * text2.C: remove Inset::par_owner
2437
2438 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * lyxrow_funcs.C:
2441         * lyxtext.h:
2442         * text.C:
2443         * text2.C: eliminates the needFullRow/display() stuff
2444         altogether, putting the logic in metrics/draw in the insets.
2445
2446 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2447
2448         * text2.C (redoParagraphInternal, redoParagraphs):
2449         * text.C (redoParagraph): add a call to updateRowPositions at the
2450         end of each 'metrics-like' call. Remove all others.
2451         (getRow): remove the 'y-computing' version.
2452         (getRowNearY): do not compute nor return the real y. Solve the
2453         'y < 0' problem and simplify.
2454
2455 2003-08-22  Angus Leeming  <leeming@lyx.org>
2456
2457         * *.[Ch]: clean-up of licence and author blurbs.
2458         Also move config.h out of a few .h files and into a few .C files.
2459
2460 2003-08-22  André Pönitz  <poenitz@gmx.net>
2461
2462         * lyxrow.[Ch]: add x_ and *fill_ members
2463
2464         * lyxtext.h:
2465         * text.C:
2466         * rowpainter.C:
2467         * text2.C: adjust/remove prepareToPrint() calls
2468
2469 2003-08-22  André Pönitz  <poenitz@gmx.net>
2470
2471         * lyxrow.[Ch]: add  end_ member
2472
2473         * lyxrow_funcs.C: use LyXRow::end_
2474
2475         * lyxtext.h (singleWidth): add LyXFont parameter
2476
2477         * rowpainter.C:
2478         * text2.C: adjust LyXText::singleWidth() calls
2479
2480         * text.C (redoParagraph): simplify row breaking logic
2481
2482
2483 2003-08-19  André Pönitz  <poenitz@gmx.net>
2484
2485         * funcrequest.C: initialize button_ member
2486
2487         * text3.C:
2488         * rowpainter.[Ch]: interface consolidation
2489
2490 2003-08-18  André Pönitz  <poenitz@gmx.net>
2491
2492         * BufferView.C:
2493         * BufferView_pimpl.C:
2494         * lyxfind.C:
2495         * paragraph_funcs.C:
2496         * rowpainter.C:
2497         * text3.C: remove LyXScreen::draw() and fitCursor calls
2498
2499         * BranchList.h: remove spurious semicolons
2500
2501         * MenuBackend.C: fix branchlist related crash
2502
2503 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2504
2505         * BranchList.[Ch]:
2506         * InsetList.[Ch]:
2507         * LColor.[Ch]:
2508         * LyXAction.C:
2509         * Makefile.am:
2510         * MenuBackend.[Ch]:
2511         * bufferparams.[Ch]:
2512         * factory.C:
2513         * lfuns.h:
2514         * lyxfunc.C:
2515         * text3.C: implements the 'branch inset'
2516         idea. This allows the output of various versions of a document
2517         from a single source version, selectively outputing or suppressing
2518         output of parts of the text.
2519         This implementation contains a 'branch list editor' in a separate
2520         tab of the document settings dialog. Branches are user definable
2521         and have a "display colour" to distinguish them on-screen.
2522
2523         ColorHandler was somewhat cleaned up.
2524         (1) make possible a dynamically growing LColor list by allowing
2525         the graphic context cache to grow along (vector);
2526         (2) eliminate an IMHO unnecessary step in colour allocation.
2527
2528 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2529
2530         * BufferView_pimpl.C: compile fix
2531
2532 2003-08-15  André Pönitz  <poenitz@gmx.net>
2533
2534         * rowpainter.C: remove extra metrics calls
2535
2536         * lyxtext.h: merge the two constructors into a single one,
2537           pass reference to owner's par list
2538
2539         * BufferView_pimpl.C:
2540         * text.C:
2541         * text2.C: adjust
2542
2543 2003-08-15  André Pönitz  <poenitz@gmx.net>
2544
2545         * lyxrow_funcs.[Ch]:
2546         * lyxtext.h:
2547         * paragraph.h:
2548         * paragraph_funcs.C:
2549         * rowpainter.C:
2550         * text.C:
2551         * text2.C:
2552         * text3.C:
2553         * text_funcs.C: split LyXText::rowlist_ into individual
2554         Paragraph::rows_ chunks
2555
2556         * BufferView.[Ch]:
2557         * BufferView_pimpl.[Ch]:
2558         * lyxfind.C:
2559         * lyxtext.h:
2560         * text3.C: remove toggleSelection()
2561
2562 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2563
2564         * bufferlist.C: beautify two alerts (shorter text of buttons)
2565         * buffer.C: Remove redundant ' ' from message
2566         * tabular.h:
2567         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2568         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2569         rename VALIGN_CENTER to VALIGN_MIDDLE
2570
2571 2003-08-11  André Pönitz  <poenitz@gmx.net>
2572
2573         * lyxtext.h (getPar):
2574         * text.C: new function
2575
2576 2003-08-11  André Pönitz  <poenitz@gmx.net>
2577
2578         * Makefile.am:
2579         * tracer.[Ch]: remove unneeded files
2580
2581         * InsetList.[Ch]: remove resizeInsetsLyXText()
2582
2583         * lyxtext.h:
2584         * text.C:
2585         * text2.C:
2586         * text3.C: merge insertParagraphs() and appendParagraph()
2587         remove breakAgain(), update()
2588
2589         * BufferView_pimpl.[Ch]:
2590         * bufferview_funcs.[Ch]:
2591         * lyxfunc.C:
2592         * paragraph.[Ch]:
2593         * rowpainter.C:
2594         * tabular.C: adjust after text & InsetList changes.
2595
2596 2003-08-08  André Pönitz  <poenitz@gmx.net>
2597
2598         * text.C (insertChar, backspace): replace rowlist fiddling
2599         with rebreak of full par
2600
2601         * lyxtext.h:
2602         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2603         checkParagraph, updateInset): removed
2604
2605 2003-08-07  André Pönitz  <poenitz@gmx.net>
2606
2607         * paragraph.C:
2608         * text3.C: merge some LFUN handlers, remove dead code
2609
2610 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2611
2612         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2613
2614 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2615
2616         * text2.C (DEPM): fix part of bug 1255 and 1256
2617
2618 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * BufferView_pimpl.C (workAreaDispatch): change to use
2621         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2622         that are no mouse related.
2623
2624 2003-08-05  André Pönitz  <poenitz@gmx.net>
2625
2626         * BufferView.[Ch]:
2627         * BufferView_pimpl.[Ch]:
2628         * bufferview_funcs.C:
2629         * text2.C:
2630         * text3.C: rip out "deep update"
2631
2632         * textcursor.[Ch] (last_sel_cursor): remove unused member
2633
2634 2003-08-04  André Pönitz  <poenitz@gmx.net>
2635
2636         * BufferView.[Ch]:
2637         * BufferView_pimpl.[Ch]:
2638         * ParagraphParameters.C:
2639         * bufferview_funcs.C:
2640         * lyx_cb.C:
2641         * lyxfind.C:
2642         * lyxfunc.C:
2643         * text.C:
2644         * text2.C:
2645         * text3.C: replace "complicated" BufferView::update(...) calls with
2646         simpler ones.
2647
2648         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2649
2650 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2651
2652         * Makefile.am (lyx_SOURCES): add paper.h
2653
2654 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2655
2656         * Makefile.am: move things around so that both lyx-qt and
2657         lyx-xforms can be built (according to --with-frontend). Then lyx
2658         is a symbolic link to lyx-[firstfrontend]
2659
2660 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2661
2662         * Always use std::endl with lyxerr
2663
2664 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2665
2666         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2667
2668 2003-08-01  André Pönitz  <poenitz@gmx.net>
2669
2670         * BufferView.[Ch]:
2671         * BufferView_pimpl.[Ch]:
2672         * lyxfunc.C:
2673         * text3.C: merge BufferView::repaint() and BufferView::update()
2674
2675 2003-08-01  José Matos  <jamatos@lyx.org>
2676
2677         * buffer.[Ch]: file_format is no longer a buffer data element.
2678
2679 2003-08-01  André Pönitz  <poenitz@gmx.net>
2680
2681         * BufferView.C:
2682         * lyxtext.h:
2683         * text.C:
2684         * text2.C: make redoParagraph more independent of current cursor
2685
2686         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2687         * text.C:
2688         * text2.C: remove unneeded members
2689
2690 2003-07-30  André Pönitz  <poenitz@gmx.net>
2691
2692         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2693
2694         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2695           create a single function...
2696
2697         * paragraph_funcs.C (moveItem): ... here.
2698
2699         * text.C:
2700           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2701
2702 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2703
2704         * LColor.[Ch]: Add comment and greyedout logical colors.
2705
2706 2003-07-30  André Pönitz  <poenitz@gmx.net>
2707
2708         * tabular.C: don't use Assert too heavily. This crashes where it
2709           shouldn't
2710
2711 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2714         is disabled (bug 1232)
2715
2716 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2717
2718         * factory.C: limited 'arg' scope
2719
2720 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2721
2722         * factory.C: fixed Note submenu issues
2723
2724 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2725
2726         * factory.C: submenu for Note/Comment/Greyedout
2727
2728 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * lyx_main.C (LyX):
2731         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2732
2733 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2734
2735         * LaTeXFeatures.C:
2736         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2737         greyedout. Patch provided by Jürgen Spitzmüller.
2738
2739 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2740
2741         * kbmap.C (read): fix error message when reading bind files
2742
2743 2003-07-29  Angus Leeming  <leeming@lyx.org>
2744
2745         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2746         certainly does not do what it purports to do. I am doing it, and
2747         us, a favour by killing it.
2748
2749 2003-07-28  José Matos  <jamatos@lyx.org>
2750
2751         * buffer.C (readBody, do_writeFile):
2752         * paragraph.C(readParagraph): \end_document replaces \the_end.
2753
2754 2003-07-29  André Pönitz  <poenitz@gmx.net>
2755
2756         * BufferView.[Ch]:
2757         * BufferView_pimpl.[Ch]:
2758         * lyxfunc.C:
2759         * text2.C:
2760         * text3.C:
2761         * textcursor.[Ch]: remove toggleToggle & Co
2762
2763 2003-07-28  José Matos  <jamatos@fep.up.pt>
2764
2765         * buffer.C (readParagraph):
2766         * params_func (readParToken, readParagraph):
2767         * paragraph.C (write): \layout -> \begin_layout.
2768
2769 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * lyxlex_pimpl.C (setFile): clean up slightly.
2772
2773         * bufferparams.h: add compressed var
2774
2775         * buffer_funcs.C (readFile): adjust for LyXLex change
2776         (newFile): ditto + simplify
2777
2778         * buffer.C (writeFile): handle writing of compressed files
2779
2780         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2781         Check if the file is compressed and set a bufferparm if so.
2782
2783         * Makefile.am (lyx_LDADD): remove explicit -lz
2784
2785 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2788         makeDocBookFile): put the real LyX version in the first line of
2789         the file
2790
2791         * version.h:
2792         * version.C.in: remove lyx_docversion
2793
2794         * tabular.C (write_attribute): add a template-based version to
2795         write enums properly
2796
2797 2003-07-28  André Pönitz  <poenitz@gmx.net>
2798
2799         * lyxtext.h:
2800         * text.C:
2801         * text2.C:
2802         * text3.C: use doubles again for x-coordinates. They are needed.
2803
2804 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * messages.C (getLocaleDir): use lyx_localedir()
2807
2808         * lyxlex_pimpl.C (setFile): compress stuff
2809
2810         * buffer.C (writeFile): add some compression stuff
2811         (do_writeFile): new func, dont call expliti close... will this
2812         breake anything?
2813
2814         * Makefile.am (lyx_LDADD): add -lz
2815
2816 2003-07-28  José Matos  <jamatos@fep.up.pt>
2817
2818         * buffer.C: increment file format.
2819         * paragraph_funcs (readParagraph, readParToken):
2820         * paragraph.C (readParagraph): add \end_layout.
2821
2822 2003-07-27  Angus Leeming  <leeming@lyx.org>
2823
2824         * Makefile.am: remove special casing for configure-time setting of
2825         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2826
2827         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2828         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2829
2830 2003-07-26  André Pönitz  <poenitz@gmx.net>
2831
2832         * paragraph_func.[Ch]:
2833         * paragraph.C (realizeFont): inline it whereever it is used
2834
2835         * rowpainter.C:
2836         * text.C:
2837         * text2.C:
2838         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2839
2840
2841 2003-07-26  André Pönitz  <poenitz@gmx.net>
2842
2843         *       lyxtext.h:
2844         * text.C:
2845         * text2.C: get rid of LyXText::need_break_row
2846
2847 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * toc.[Ch]: put namespace toc inside namespace lyx
2850
2851         * MenuBackend.C (expandToc2): adjust for lyx::toc
2852         (expandToc): ditto
2853
2854         * lyxfunc.C (dispatch): adjust for lyx::find
2855
2856         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2857         lyx::find instead. Reorganize a bit.
2858         (LyXReplace): rename to replace
2859         (LyXFind): rename to find
2860
2861         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2862         (dispatch): ditto
2863
2864 2003-07-26  André Pönitz  <poenitz@gmx.net>
2865
2866         * text.C (setHeightOfRow): restrict scope of temporary variable
2867
2868         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2869           code (never has been used?)
2870
2871 2003-07-27  Asger Alstrup  <alstrup@local>
2872
2873         * text.C (fill): Optimise algorithm to exploit that we can reuse
2874         the LyXFont for many characters.
2875         (setHeightOfRow): Same thing.
2876         (rowBreakPoint): Same thing.
2877
2878 2003-07-26  Asger Alstrup  <alstrup@local>
2879
2880         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2881
2882         * text.C (singleWidth): Spurious font copying in hot-spot
2883         singleWidth avoided. Reorder tests for arabic for efficiency.
2884
2885         * text.C (fill): handle empty paragraphs better.
2886
2887 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2888
2889         * ispell.C:
2890         * encoding.h: add includes
2891
2892         * lyxrc.C: remove reading of bind files
2893
2894         * lyx_main.C (init): setup bindings and menus only if we have a
2895         gui.
2896
2897         * kbmap.C (read): new method. Do the actual reading of bind
2898         files.
2899
2900         * converter.C (dvipdfm_options):
2901         * bufferparams.C:
2902         * lyxrc.C (read):
2903         (output): adapt PAPER_* enums.
2904
2905         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2906
2907         * bufferparams.h: remove paper-related enums from there
2908
2909         * paper.h: New file. A trivial header file to hold paper-related
2910         enums. It should later expand to contain many paper-related
2911         horrors access.
2912
2913         * lyxrc.C: declare extern displayTranslator
2914
2915 2003-07-27  José Matos  <jamatos@fep.up.pt>
2916
2917         * tabular.[Ch] (linuxdoc): add support for tables and figures
2918         (linuxdoc).
2919
2920 2003-07-27  José Matos  <jamatos@fep.up.pt>
2921
2922         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2923         consistency in both functions.
2924         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2925
2926 2003-07-26  Asger Alstrup  <alstrup@local>
2927
2928         * rowpainter.C (paintRows): Change algorithm to work directly on
2929         the insets rather than asking every character in the document
2930         whether its an inset.
2931
2932 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * buffer.C (openFileWrite): factorize some code
2935
2936 2003-07-26  Angus Leeming  <leeming@lyx.org>
2937
2938         * lyx_cb.C:
2939         * lyx_main.[Ch]: replace occurances of system_tempdir with
2940         os::getTmpDir().
2941
2942 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * rename Inset to InsetOld
2945
2946 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2947
2948         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2949         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2950         which I think is a bit clearer. EDIT is gone, since it was
2951         premature optimisation, and broken for mathed anyway.
2952         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2953         with cursor positioning in insets as well (math insets still do not
2954         work, but that's a different story anyway.) It mysteriously
2955         crashes sometimes with undo in the first paragraph, but I'm fairly
2956         confident that this is a compiler bug.
2957
2958 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * paragraph.C (Paragraph): adjust for new clone return type
2961         (operator==): ditto
2962         (copyIntoMinibuffer): ditto
2963
2964 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2965
2966         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2967         by not having a special case, and always doing a full rebreak of
2968         the document after undo.
2969
2970 2003-07-23  Angus Leeming  <leeming@lyx.org>
2971
2972         * factory.C (createInset): InsetExternal::setParams now takes a
2973         Buffer const * arg.
2974
2975 2003-07-23  Angus Leeming  <leeming@lyx.org>
2976
2977         * factory.C (createInset): changed interface to the external and
2978         graphics mailers' string2params functions.
2979
2980 2003-07-23  Angus Leeming  <leeming@lyx.org>
2981
2982         * factory.C (createInset): pass a
2983         Buffer const * parameter to InsetExternalMailer's string2params.
2984
2985 2003-07-22  John Levon  <levon@movementarian.org>
2986
2987         * Thesaurus.h: include the right aiksaurus header
2988
2989 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2990
2991         * MenuBackend.C (expand): check menu shortcuts unconditionally
2992
2993 2003-07-21  Angus Leeming  <leeming@lyx.org>
2994
2995         * factory.C (createInset): pass a
2996         buffer_path parameter to InsetGraphicsMailer's string2params.
2997
2998 2003-07-21  Angus Leeming  <leeming@lyx.org>
2999
3000         * BufferView_pimpl.C (buffer):
3001         * buffer.C (d-tor):
3002         * lyx_main.C (LyX):
3003         * lyxfunc.C (dispatch):
3004         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3005         rather than the grfx shortcut.
3006
3007 2003-07-21  André Pönitz  <poenitz@gmx.net>
3008
3009         * rowpainter.C: remove unused variables
3010
3011         * tabular_funcs.C:
3012         * tabular_funcs.h: move to tabular.C
3013         * Makefile.am: adjust
3014
3015         * tabular.[Ch]: basic optical cleaning
3016
3017         * author.h: pass references, not values
3018
3019 2003-07-18  André Pönitz  <poenitz@gmx.net>
3020
3021         * lyxtext.h:
3022         * metricsinfo.C:
3023         * metricsinfo.h:
3024         * rowpainter.C:
3025         * text.C:
3026         * text2.C:
3027         * text3.C: two-phase drawing for InsetText and InsetTabular
3028         some float -> int changes.
3029
3030 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * lyx_main.C: fix the fix
3033
3034 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * lyx_main.C: fix a crash in batch mode if no files specified
3037         * converter.C: ws
3038
3039 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * format.[Ch] (papersize): moved to BufferParams
3042         * converter.[Ch] (dvips_options): moved to BufferParams
3043         (dvipdfm_options): moved to anon namespace
3044         * bufferparams.[Ch]: added above functions.
3045
3046 2003-07-17  André Pönitz  <poenitz@gmx.net>
3047
3048         * lyxtext.h:
3049         * rowpainter.C:
3050         * text2.C: don't call inset->update() anymore
3051
3052         * metricsinfo.[Ch]: add convenience constructor
3053
3054 2003-07-16  André Pönitz  <poenitz@gmx.net>
3055
3056         * lyxcursor.[Ch]:
3057         * lyxfunc.[Ch]:
3058         * text.C:
3059         * text2.C: replace the LyXCursor::irow_ member with
3060          on-demand computation of the value
3061
3062 2003-07-16  John Levon  <levon@movementarian.org>
3063
3064         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3065
3066 2003-07-15  André Pönitz  <poenitz@gmx.net>
3067
3068         * text.C:
3069         * text2.C: remove no more needed refresh_row
3070
3071 2003-07-15  André Pönitz  <poenitz@gmx.net>
3072
3073         * lyxtext.h:
3074         * rowpainter.C:
3075         * text2.C:
3076         * text3.C: refresh_status tristate -> need_update bool
3077
3078 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3079
3080         * lyxtext.h (init): remove reinit argument (act as if always true)
3081         * text2.C: adjust to that
3082
3083 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3084
3085         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3086         * text3.C: use it to delete selections in some cases
3087         (bugs 441, 673, 702, 954).
3088
3089 2003-07-14  André Pönitz  <poenitz@gmx.net>
3090
3091         * rowpainter.[Ch]: reduce interface
3092
3093 2003-07-14  André Pönitz  <poenitz@gmx.net>
3094
3095         * BufferView_pimpl.C:
3096         * text2.C: adjust after removing unused BufferView * argument
3097
3098 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3099
3100         * text2.C (init): fix a crash fired on resize
3101
3102 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3103
3104         * buffer.[Ch]: added new closing signal
3105         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3106         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3107         BufferView::Pimpl via the closing the signal
3108
3109 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * buffer.[Ch]: take out all bv-related from buffer
3112         * BufferView.C:
3113         * BufferView_pimpl.[Ch]: connect to new signals
3114         * CutAndPaste.C: removed useless asserts
3115         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3116         * lyxvc.[Ch]:
3117         * vc-backend.[Ch]:
3118         * lyxfunc.C: moved view-related funciontality from vc here
3119         * paragraph.C: removed outdated comments
3120         * text.C: ws
3121
3122 2003-07-10  André Pönitz  <poenitz@gmx.net>
3123
3124         * BufferView_pimpl.C:
3125         * tabular.h:
3126         * tabular_funcs.C:
3127         * text.C:
3128         * text2.C: remove InsetText::InnerCache, clean up consequences
3129
3130 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3131
3132         * ispell.C: fix two typos in error messages
3133
3134 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3135
3136         * Extend Note inset to other forms of annotation like Comment
3137         and Greyedout. Right button click gives dialog.
3138
3139         Files modified or added (+):
3140
3141         * insetnote.[Ch]
3142         * FormNote.[Ch]      +
3143         * ControlNote.[Ch]   +
3144         * form_note.fd       +
3145         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3146         frontends/controllers
3147         * xforms/Dialogs.C
3148         * factory.C
3149
3150 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3151
3152         * aspell.C: add missing namespace lyx::support
3153
3154 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3155
3156         * BufferView.[Ch] (newFile): Add
3157         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3158         * LaTeX.[Ch] (message): added this signal and use it
3159         * buffer.[Ch] (busy, message): added these signals and use them
3160         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3161         * converter.C:
3162         * exporter.C:
3163         * format.C:
3164         * importer.C: use buffer signals instead of direct bv calling
3165         * lyx_cb.[Ch] (ShowMessage): removed
3166         * lyx_main.C:
3167         * lyxfunc.C:
3168         * paragraph_funcs.C:
3169         * text2.C: use buffer signals
3170
3171 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * introduce namespace lyx::graphics
3174
3175 2003-07-02  André Pönitz  <poenitz@gmx.net>
3176
3177         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3178
3179 2003-07-01  André Pönitz  <poenitz@gmx.net>
3180
3181         * text.C:
3182         * text2.C:
3183         * text3.C:
3184         * text_funcs.[Ch]:
3185         * textcursor.h:
3186         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3187           text*.C to text_func.C
3188
3189 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * introduce namespace lyx::support
3192
3193 2003-06-30  André Pönitz  <poenitz@gmx.net>
3194
3195         * Chktex.C:
3196         * funcrequest.C:
3197         * lyxtext.h:
3198         * text.C: re-enable --with-included-string
3199
3200 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * textcursor.C: add <config.h>
3203
3204         * text.C (getWord): remove const from word_location arg
3205
3206         * lyxvc.C (getLogFile): fix const type order
3207
3208         * lyxtext.h: remove const from word_location arg, add arg name
3209
3210         * lyxlayout.h: currect type on labeltype.
3211
3212         * importer.C: correct \file
3213
3214         * converter.C (intToFormat): use std:: on ret val, ws changes
3215
3216         * bufferlist.h: correct \file
3217
3218         * buffer.C (makeLinuxDocFile): fix const type order
3219         (makeDocBookFile): ditto
3220         (fillWithBibKeys): use std:: on stdlib args.
3221
3222         * CutAndPaste.C: fix authors.
3223         (availableSelections): use std:: on return vector
3224
3225 2003-06-27  André Pönitz  <poenitz@gmx.net>
3226
3227         * BufferView_pimpl.C:
3228         * bufferview_funcs.C:
3229         * lyxcursor.C:
3230         * lyxcursor.h:
3231         * lyxfunc.C:
3232         * lyxtext.h:
3233         * rowpainter.C:
3234         * text.C:
3235         * text2.C:
3236         * text3.C: remove LyXCursor::row_ member
3237
3238         * lyxtext.h:
3239         * text.C: rename fullRebreak() to partialRebreak() and implement
3240           a fullRebreak() that really bereks fully
3241
3242         * textcursor.h: new struct for cursor-related data
3243
3244 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3245
3246         * lyx_main.C (LyX): get full path of document loaded on the
3247         command line
3248
3249 2003-06-26  André Pönitz  <poenitz@gmx.net>
3250
3251         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3252           remove unused/broken operator>,<,>=.
3253
3254         *       text.C: remove only use of broken operator<= in an Assert().
3255
3256 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3259         moved errorlist_.clear to showErrorList
3260
3261 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * converter.C (scanLog, runLaTeX):
3264         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3265         move the bv->showErrorList call to the callers
3266         * lyxfunc.C: i.e. here...
3267         * text2.C: and here
3268         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3269         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3270         namespace, the second to...
3271         * buffer_funcs (BufferFormat, parseErrors): added
3272         * errorlist.C (ErrorList(TeXErrors const &)): removed
3273
3274 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3275
3276         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3277
3278 2003-06-24  "Garst R. Reese" <reese@isn.net>
3279
3280         * debug.C: fix typo
3281
3282 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3283
3284         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3285
3286         * version.C.in: change docversion to 1.4
3287
3288 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * buffer.C: fix a bug just introduced
3291
3292 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * buffer.[Ch]: added the parseError signal and use it, removed
3295         sgmlError
3296         * BufferView.[Ch] (addError): moved to ...
3297         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3298         to the Buffer::parseError signal to catch (guess what) parse errors
3299         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3300
3301 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3302
3303         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3304         ability to create a buffer and to return an existing one from
3305         the list. Moved these functions to...
3306         * buffer_funcs.[Ch]: added
3307         * BufferView.[Ch] (loadLyXFile): added
3308         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3309         job removed from bufferlist::loadLyXFile.
3310         * buffer.C (setReadOnly): make it work without view
3311         (i.e added an if (users))
3312
3313 2003-06-19  Angus Leeming  <leeming@lyx.org>
3314
3315         * lfuns.h:
3316         * LyXAction.C (init):
3317         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3318         with LFUN_DIALOG_SHOW <name> <data>.
3319
3320 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3321
3322         * CutAndPaste.C (availableSelections): small compilation fix for
3323         ancient (gcc 2.9x) compilers
3324
3325 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * text3.C (cursorNext): add tmp var
3328
3329         * text2.C (updateCounters): for function calling out of for clause
3330         (replaceSelectionWithString): ditto
3331         (insertStringAsParagraphs): ditto
3332         (getColumnNearX): add tmp var
3333         (setCursorFromCoordinates): add tmp var
3334         (cursorDownParagraph): add tmp var
3335         (deleteEmptyParagraphMechanism): add tmp var
3336
3337         * text.C (insertChar): add tmp var
3338
3339         * rowpainter.C (paintDepthBar): add tmp var
3340
3341         * CutAndPaste.C (availableSelections): potentially check all
3342         paragraphs in a cut to fill the shown strings.
3343
3344 2003-06-18  André Pönitz  <poenitz@gmx.net>
3345
3346         * kbmap.[Ch]: use vector<> instead of list<>
3347
3348 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3349
3350         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3351         pasteSelection with index
3352
3353         * text2.C (pasteSelection): modify, call pasteSelection with index
3354
3355         * paragraph.C (asString): reimplement version with no interval to
3356         call the one with interval.
3357
3358         * lyxtext.h: add index arg to pasteSelection
3359
3360         * MenuBackend.C (MenuItem): handle PasteRecent
3361         (Menu::read::Menutags): add md_pasterecent
3362         (read): handle it
3363         (expandPasteRecent): new function
3364         (expand): use it
3365
3366         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3367
3368         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3369         the limited stack
3370         (availableSelections): new function
3371
3372 2003-06-17  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3375
3376 2003-06-17  Angus Leeming  <leeming@lyx.org>
3377
3378         * lfuns.h:
3379         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3380
3381         * lyxfunc.C (dispatch): invoke it.
3382
3383 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3384
3385         * iterators.C (operator++, ParPosition): reintroduce some
3386         const_cast for the benefit of older compilers.
3387
3388 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3389
3390         * text3.C (dispatch): do not modify clipboard when doing
3391         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3392         LFUN_DELETE_SKIP on a selection selection
3393
3394 2003-06-16  André Pönitz  <poenitz@gmx.net>
3395
3396         * BufferView.C:
3397         * buffer.C:
3398         * buffer.h:
3399         * paragraph.C:
3400         * tabular.[Ch]: IU of clone() and getLabelList();
3401
3402 2003-06-13  André Pönitz  <poenitz@gmx.net>
3403
3404         * tabular.h: compactification
3405
3406 2003-06-12  André Pönitz  <poenitz@gmx.net>
3407
3408         * tabular.C:
3409         * tabular.h:
3410         * tabular_funcs.h: some renaming plus whitespace
3411
3412 2003-06-12  André Pönitz  <poenitz@gmx.net>
3413
3414         * BufferView.C:
3415         * BufferView_pimpl.C:
3416         * CutAndPaste.C:
3417         * buffer.C:
3418         * iterators.[Ch]:
3419         * lyxfunc.C:
3420         * text.C:
3421         * toc.C: Return a Paragraph & for ParIterator::operator*()
3422
3423 2003-06-11  John Levon  <levon@movementarian.org>
3424
3425         * lyx_main.C:
3426         * ToolbarBackend.h:
3427         * ToolbarBackend.C: add "Toolbars" section and
3428         put the flags there
3429
3430 2003-06-10  Angus Leeming  <leeming@lyx.org>
3431
3432         * lfuns.h:
3433         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3434
3435         * lyxfunc.C (dispatch): invoke it.
3436
3437 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * main.C: protect <ios> with HAVE_IOS
3440         (main): protect sync_with_stdio with HAVE_IOS
3441
3442 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3443
3444         * text2.C (cutSelection): adjust
3445         (pasteSelection): adjust
3446
3447         * messages.C: handle get of empty string
3448
3449         * main.C (main): use sync_with_stdio(false)
3450
3451         * lyxfunc.C (dispatch): adjust
3452
3453         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3454         (WriteAs): remove unneeded BufferView arg.
3455
3456         * bufferparams.h: use correct types on papersize, papersize2 and
3457         paperpackage.
3458
3459         * bufferparams.C (readToken): adjust for type
3460         (writeLaTeX): add missing cases to switch.
3461
3462         * bufferlist.C (quitWriteBuffer): adjust
3463         (close): adjust
3464
3465         * buffer.C (asciiParagraph): remove some commented code.
3466
3467         * CutAndPaste.C: remove current_view extern variable.
3468         (cutSelection): add BufferParams arg.
3469         (eraseSelection): add BufferParams arg.
3470         (pasteSelection): add Buffer const & arg
3471
3472 2003-06-07  John Levon  <levon@movementarian.org>
3473
3474         * buffer.C:
3475         * paragraph_funcs.C:
3476         * paragraph_pimpl.C:
3477         * text.C:
3478         * text2.C:
3479         * paragraph.h:
3480         * paragraph.C: allow InsetERT to freely space lines,
3481         and some consolidation of code
3482
3483 2003-06-06  José Matos  <jamatos@fep.up.pt>
3484
3485         * buffer.C (makeDocBookFile): fix bug #821
3486
3487 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3488
3489         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3490
3491 2003-06-04  Angus Leeming  <leeming@lyx.org>
3492
3493         * buffer.C: bump format to 224.
3494
3495 2003-06-05  André Pönitz  <poenitz@gmx.net>
3496
3497         * text2.C (redoParagraphs): remove two const_cast<>
3498
3499 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3500
3501         * ParagraphList.h: remove last remnants of NO_STD_LIST
3502
3503 2003-06-03  Angus Leeming  <leeming@lyx.org>
3504
3505         * factory.C (createInset): small change to the way InsetExternal's params
3506         are set.
3507
3508 2003-06-04  André Pönitz  <poenitz@gmx.net>
3509
3510         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3511
3512         * paragraph_pimpl.h:
3513         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3514
3515         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3516
3517         * undo_funcs.C: make some simple cases of undo work again
3518
3519 2003-06-03  John Levon  <levon@movementarian.org>
3520
3521         * ispell.C: HPUX doesn't have sys/select.h
3522         (from Albert Chin)
3523
3524 2003-06-03  John Levon  <levon@movementarian.org>
3525
3526         * CutAndPaste.C: update tabular and include inset
3527         buffer references
3528
3529         * buffer.h:
3530         * paragraph.h:
3531         * paragraph.C: remove owningBuffer(), don't pass Buffer
3532         to clone()
3533
3534         * factory.C: insetGraphicsParams changed
3535
3536 2003-06-02  John Levon  <levon@movementarian.org>
3537
3538         * LyXAction.C:
3539         * factory.C:
3540         * lfuns.h:
3541         * lyxfunc.C:
3542         * text3.C: remove insetparent
3543
3544 2003-06-02  John Levon  <levon@movementarian.org>
3545
3546         * buffer.h:
3547         * buffer.C: fix inset_iterator.end(), move out of line
3548         (bug 1149)
3549
3550 2003-06-01  John Levon  <levon@movementarian.org>
3551
3552         * text3.C: use a proper cut/paste when doing inset
3553         insert (from Jürgen Spitzmüller)
3554
3555 2003-06-01  John Levon  <levon@movementarian.org>
3556
3557         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3558
3559 2003-05-30  André Pönitz  <poenitz@gmx.net>
3560
3561         * rowpainter.C: unify second drawing phase
3562
3563 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * trans_mgr.C: remove one case of current_view
3566
3567         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3568
3569         * paragraph_funcs.h: remove paragraph.h include
3570
3571         * paragraph.h: delete NO_STD_LIST stuff
3572
3573         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3574
3575         * buffer.h: remove paragraph.h include
3576
3577         * ParagraphList.C: delete file
3578
3579         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3580
3581         * toc.C (getTocList): adjust
3582
3583         * paragraph_pimpl.C (validate): adjust
3584
3585         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3586
3587         * paragraph.C (Paragraph): adjust
3588         (getPositionOfInset): use const_iterator, adjust
3589         (bibitem): use const_iterator, adjust
3590         (setInsetOwner): adjust
3591
3592         * iterators.C (operator++): adjust
3593
3594         * InsetList.[Ch]: Replace selfmade iterator with standard
3595         vector::iterator also introduce const_iterator. Remove getPos,
3596         getInset and setInset from InsetTable. Adjust accordingly.
3597
3598         * BufferView.C (lockInset): adjust
3599         (ChangeInsets): adjust
3600
3601         * tabular.[Ch]: delete commented same_id functions
3602
3603 2003-05-28  John Levon  <levon@movementarian.org>
3604
3605         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3606
3607 2003-05-28  André Pönitz  <poenitz@gmx.net>
3608
3609         * metricsinfo.[Ch]: remove 'fullredraw' member
3610
3611 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3612
3613         * lyxtextclass.C (operator): remove caching.
3614
3615 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * text3.C: adjust
3618
3619         * text2.C (cursorBottom): adjust
3620         (setCounter): use ParagraphList::find, adjust
3621
3622         * text.C (workWidth): use ParagraphList::find, adjust
3623
3624         * lyxcursor.C (LyXCursor): adjust
3625
3626         * buffer.C (inset_iterator): adjust
3627
3628         * ParagraphList.h: make iterator(value_type) private, make
3629         ParagraphList a friend of iterator.
3630
3631         * ParagraphList.C (find): new function
3632
3633         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3634
3635 2003-05-27  André Pönitz  <poenitz@gmx.net>
3636
3637         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3638
3639 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640
3641         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3642
3643 2003-05-26  John Levon  <levon@movementarian.org>
3644
3645         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3646
3647 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * remove same_id from function signatures, adjust.
3650
3651 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3654
3655         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3656
3657         * paragraph.C (Paragraph): get rid of same_ids parameter
3658
3659         * ParagraphList.C (insert): adjust
3660         (push_back): adjust
3661
3662 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * paragraph_funcs.C (breakParagraph): adjust
3665         (breakParagraphConservative): adjust
3666
3667         * buffer.C (readParagraph): adjust
3668
3669         * ParagraphList.C (insert): take a reference instead of a pointer
3670         (insert): adjust
3671
3672         * paragraph.[Ch] (id): new function
3673
3674         * bufferlist.C (newFile): adjust
3675
3676         * ParagraphList.C (ParagraphList): adjust
3677         (assign): adjust
3678         (push_back): take a reference instead of a pointer.
3679
3680         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3681
3682         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3683         instead.
3684
3685         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3686         set else use old code.
3687
3688         * ParagraphList.C: remove all NO_NEXT code and only compile this
3689         code of NO_STD_LIST is set.
3690
3691 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * BufferView_pimpl.C:
3694         * TextCache.C:
3695         * TextCache.h:
3696         * bufferlist.C:
3697         * errorlist.h:
3698         * format.C:
3699         * format.h:
3700         * graph.C:
3701         * lyxfunc.C:
3702         * lyxrc.C:
3703         * graphics/GraphicsConverter.C:
3704         * graphics/PreviewLoader.C: header adjustment
3705
3706 2003-05-23  Angus Leeming  <leeming@lyx.org>
3707
3708         * LaTeXFeatures.[Ch] (useBabel): new method.
3709         * bufferparams.C (writeLaTeX): use it.
3710
3711 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * ParagraphList.h (set): remove unused function.
3714
3715 2003-05-23  André Pönitz  <poenitz@gmx.net>
3716
3717         * BufferView.C:
3718         * BufferView_pimpl.C:
3719         * buffer.C:
3720         * buffer.h:
3721         * lyxfunc.C:
3722         * undo_funcs.C: setUndo reworked
3723
3724         * iterators.[Ch]: add access to topmost ParagraphList
3725
3726         * lyxtext.[Ch] (workWidth): add a const
3727
3728 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * texrow.[Ch] (increasePos): remove function
3731         * exporter.C (export): removed unused var and outdated comment
3732
3733 2003-05-23  Angus Leeming  <leeming@lyx.org>
3734
3735         * latexrunparams.h: rename fragile as moving_arg.
3736         * paragraph.C (simpleTeXOnePar): ditto.
3737         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3738
3739 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3742         (createUndo): ditto
3743         (textUndoOrRedo): comment out a currently unused var.
3744
3745         * paragraph.h (NO_NEXT): enable NO_NEXT
3746
3747         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3748
3749         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3750
3751         * exporter.C (Export): adjust for removeAutoInsets removal.
3752
3753         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3754
3755         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3756
3757         * BufferView.[Ch] (removeAutoInsets): delete function
3758
3759 2003-05-22  Angus Leeming  <leeming@lyx.org>
3760
3761         * latexrunparams.h: add a free_spacing variable.
3762
3763         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3764         to pass moving_arg, as the data is stored in runparams.fragile.
3765
3766         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3767         to Inset::latexOptional or to simpleTeXOnePar.
3768
3769         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3770         free_spacing arg to Inset::latexOptional.
3771
3772         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3773         free_spacing arg.
3774
3775 2003-05-22  Angus Leeming  <leeming@lyx.org>
3776
3777         * latexrunparams.h: add fragile and use_babel variables.
3778
3779         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3780         * buffer.C (makeLaTeXFile): store this returned value in
3781         runparams.use_babel, thus passing it to the inset::latex methods.
3782
3783         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3784         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3785
3786         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3787         longer has a fragile arg, as it is stored in runparams.fragile.
3788
3789         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3790         moving_arg parameter as the data is stored in runparams.fragile.
3791
3792         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3793         a fragile parameter as the data is stored in runparams.fragile.
3794
3795 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3798
3799 2003-05-22  Angus Leeming  <leeming@lyx.org>
3800
3801         * latexrunparams.h: add a 'bool nice' which defaults to false.
3802
3803         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3804         now encapsulated within runparams.
3805
3806         * bufferlist.C (updateIncludedTeXfiles):
3807         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3808
3809 2003-05-22  Angus Leeming  <leeming@lyx.org>
3810
3811         * latexrunparams.h: new file containing struct LatexRunParams.
3812         * Makefile.am: add new file.
3813
3814         * LaTeX.[Ch] (c-tor, run):
3815         * buffer.[Ch] (makeLaTeXFile):
3816         * bufferlist.[Ch] (updateIncludedTeXfiles):
3817         * converter.C (convert, scanLog):
3818         * converter.[Ch] (runLaTeX):
3819         * exporter.C (Export):
3820         * paragraph.[Ch] (simpleTeXOnePar):
3821         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3822         * paragraph_funcs.[Ch] (latexParagraphs):
3823         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3824         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3825         pass around a LatexRunParams parameter.
3826
3827 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * paragraph.[Ch]: remove unused constructor
3830
3831         * ParagraphList.C (erase): new function, taking two iterators
3832
3833 2003-05-22  André Pönitz  <poenitz@gmx.net>
3834
3835         * undo_funcs.C: remove duplicated code
3836
3837         * iterator.[Ch]: operator=
3838
3839 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * tabular.C (SetMultiColumn): ws changes
3842
3843         * rowpainter.C (paintFirst): get rid of a ->previous
3844
3845         * lyx_cb.C (getPossibleLabel): parlist simplification
3846
3847         * BufferView.C (ChangeInsets): simplify slightly.
3848
3849 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3850
3851         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3852         * lfuns.h: new LFUN_SPACE
3853         * lyxfunc.C: protected space has a new lfun
3854         * paragraph_funcs.C: read new space insets
3855         * text3.C:
3856         * factory.C: handle new space insets
3857
3858 2003-05-22  André Pönitz  <poenitz@gmx.net>
3859
3860         * BufferView.C:
3861         * BufferView_pimpl.C:
3862         * buffer.[Ch]:
3863         * lyxfunc.C:
3864         * undo_funcs.C: return a ParIterator from getParFromID.
3865
3866         * iterators.[Ch]: add two const's
3867
3868 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * toc.C (getTocList): adjust
3871
3872         * iterators.[Ch]: rework for parlist
3873
3874         * buffer.C (par_iterator_begin): adjust
3875         (par_iterator_end): adjust
3876
3877         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3878
3879         * BufferView.C (removeAutoInsets): adjust
3880         (ChangeInsets): adjust
3881
3882 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * text.C (top_y): fix bug 1110
3885
3886 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * errorlist.[Ch]: added
3889         * buffer.C:
3890         * BufferView.[Ch]:
3891         * BufferView_pimpl.C:
3892         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3893         instead
3894
3895 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * Makefile.am: ensure that lyx is relinked upon changes to the
3898         various "convenience" libs.
3899
3900 2003-05-20  Angus Leeming  <leeming@lyx.org>
3901
3902         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3903         files are compiled in alphabetical order again.
3904
3905         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3906
3907 2003-05-19  Angus Leeming  <leeming@lyx.org>
3908
3909         * gettext.[Ch]: remove "char const * _(char const *)".
3910
3911 2003-05-19  André Pönitz  <poenitz@gmx.net>
3912
3913         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3914
3915         * Makefile.am:
3916         * BufferView.C:
3917         * DepTable.h:
3918         * LaTeXFeatures.C:
3919         * buffer.C:
3920         * lyxfont.C:
3921         * lyxlex.h:
3922         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3923
3924 2003-05-19  André Pönitz  <poenitz@gmx.net>
3925
3926         * buffer.C:
3927         * lyxlayout.[Ch]:
3928         * lyxtextclass.[Ch]:
3929         * paragraph.C:
3930         * paragraph_funcs.[Ch]:
3931         * text2.C:
3932         * text3.C: more insetenv work
3933
3934 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * ParagraphParameters.C (params2string): small bug fixed
3937
3938 2003-05-16  André Pönitz  <poenitz@gmx.net>
3939
3940         * debug.C:
3941         * bufferview_funcs.C: patch from Kornel Benko to prevent
3942           crash when _(...) is called twice in a statement
3943
3944 2003-05-16  André Pönitz  <poenitz@gmx.net>
3945
3946         * BufferView.C:
3947         * lyxfunc.C:
3948         * text.C:
3949         * text2.C:
3950         * text3.C:
3951         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3952
3953 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3954
3955         * lyx_main.C (init): remove spurious static_cast
3956
3957 2003-05-14  André Pönitz  <poenitz@gmx.net>
3958
3959         * BufferView.C: fix format string
3960
3961 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * BufferView.[Ch] (insertErrors): removed
3964         * BufferView.[Ch] (showErrorList): added
3965         * buffer.C (runChkTeX):
3966         * converter.C (scanLog): call showErrorList instead of inserterrors
3967
3968 2003-05-13  André Pönitz  <poenitz@gmx.net>
3969
3970         * BufferView_pimpl.C:
3971         * buffer.C:
3972         * bufferview_func.C:
3973         * MenuBackend.C:
3974         * lyxfunc.C:
3975         * lyxrc.C:
3976         * tex-accent.C:
3977         * text3.C:
3978         * toc.C:
3979         * tabular_funcs.h: tostr() from its own header
3980
3981         * ParagraphParameters.C:
3982         * ToolbarBackend.C:
3983         * bufferparams.C:
3984         * format.C:
3985         * lyxlex_pimpl.C:
3986         * text3.C: STRCONV()
3987
3988 2003-05-12  André Pönitz  <poenitz@gmx.net>
3989
3990         * BufferView.C:
3991         * BufferView_pimpl.C:
3992         * CutAndPaste.C:
3993         * LaTeX.C:
3994         * LaTeXFeatures.C:
3995         * ParagraphParameters.C:
3996         * buffer.C:
3997         * bufferlist.C:
3998         * bufferparams.C:
3999         * bufferview_funcs.C:
4000         * converter.C:
4001         * counters.C:
4002         * debug.C:
4003         * exporter.C:
4004         * format.C:
4005         * importer.C:
4006         * lyx_cb.C:
4007         * lyx_main.C:
4008         * lyxfont.C:
4009         * lyxfunc.C:
4010         * lyxvc.C:
4011         * paragraph.C:
4012         * paragraph_funcs.C:
4013         * tabular.C:
4014         * tabular_funcs.C:
4015         * text2.C:
4016         * text3.C:  boost::format -> bformat  all over the place
4017
4018
4019 2003-05-09  André Pönitz  <poenitz@gmx.net>
4020
4021         * LColor.[Ch]: Pimpl the #include <map> away
4022
4023 2003-05-09  John Levon  <levon@movementarian.org>
4024
4025         * bufferlist.C: never remove emergency saves
4026
4027 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * Makefile.am: better lib building
4030
4031 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4034         instead.
4035         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4036         (simpleTeXSpecialChars): adjust
4037         (simpleTeXSpecialChars): adjust
4038         * paragraph.C (simpleTeXOnePar): adjust
4039         * buffer.C (makeLaTeXFile): adjust
4040
4041         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4042
4043         * text2.C (changeDepth): parlist cleanup
4044         (getColumnNearX): ditto
4045
4046         * rowpainter.C (getLabelFont): parlist cleanup
4047
4048         * bufferlist.C (newFile): parlist cleanup
4049
4050         * CutAndPaste.C (eraseSelection): parlist cleanup
4051
4052         * BufferView_pimpl.C (trackChanges): parlist cleanup
4053         (dispatch): ditto
4054
4055         * BufferView.C (lockInset): parlist cleanup.
4056         (ChangeInsets): ditto
4057
4058 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * CutAndPaste.h: Update file header.
4061
4062         * CutAndPaste.C: Update file header.
4063         Store the parts cut out of the Document in a limited_stack.
4064         (copySelection): adjust
4065         (pasteSelection): new function, takes the index in the limited stack.
4066         (nrOfParagraphs): adjust
4067         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4068         simplify error inset insertion.
4069         (checkPastePossible): adjust
4070
4071 2003-05-06  John Levon  <levon@movementarian.org>
4072
4073         * text2.C: don't cast wrap inset to float
4074
4075 2003-05-05  André Pönitz  <poenitz@gmx.net>
4076
4077         * iterator.C:
4078         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4079
4080         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4081           few naked Paragraph *.
4082
4083 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4084
4085         * bufferparams.C: Output warning if a document with missing
4086         TeX document class is loaded
4087         * exporter.C: Disable TeX exports if the document class is missing
4088         * lyxtextclass.C:
4089         * lyxtextclass.h:
4090         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4091         isTeXClassAvailable()
4092
4093 2003-05-03  John Levon  <levon@movementarian.org>
4094
4095         * BufferView.h:
4096         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4097         explicit cursor show/hide
4098
4099         * BufferView_pimpl.h:
4100         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4101         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4102
4103         * lyxfunc.C: hide cursor before dispatching.
4104
4105         * lyx_cb.C:
4106         * lyxfind.C:
4107         * text.C:
4108         * text3.C: remove explicit cursor hides
4109
4110 2003-05-02  André Pönitz  <poenitz@gmx.net>
4111
4112         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4113
4114         * undo_funcs.C:
4115         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4116           linked lists
4117
4118         * text2.C: tiny whitespace
4119
4120 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * undo_funcs.C: almost only ws changes.
4123
4124         * ParagraphList.C (splice): just return if pl is empty.
4125
4126 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * ParagraphList.C (splice): new function.
4129
4130         * CutAndPaste.C (pasteSelection): use it
4131
4132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * CutAndPaste.C (pasteSelection): remove the last next and
4135         previous from this file.
4136
4137 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4138
4139         * CutAndPaste.C (pasteSelection): more clean up, user proper
4140         ParagraphList functions for pasteing.
4141
4142         * ParagraphList.C (insert): new function, three arg insert
4143
4144 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * ParagraphList.C (insert): new function, three arg insert
4147
4148         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4149         not on paragraphs.
4150
4151 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4154
4155 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4158
4159 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4162         (copySelection): clean up a bit.
4163         (pasteSelection): use make_pair
4164
4165         * ParagraphList.C (ParagraphList): implement copy constructor
4166         (operator=): implement, base on copy constructor.
4167         (assign): new func
4168
4169         * paragraph.C (erase): return a bool
4170
4171         * paragraph_pimpl.C (erasePos): remove function, move contents...
4172         (erase): ... here. Return a bool.
4173         (erase): call erase instead of erasePos.
4174
4175 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * ParagraphList.h: define PitPosPair
4178         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4179         ParagraphList, fix a bug on pasting multiple pars
4180         * text2.C: change interface to C&P
4181
4182 2003-04-30  André Pönitz  <poenitz@gmx.net>
4183
4184         * undo_func.C: revert part of yesterday's patch 2
4185
4186 2003-04-30  John Levon  <levon@movementarian.org>
4187
4188         * LColor.C: s/tabular/table/
4189
4190 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * text3.C (dispatch): do not convert iterator -> pointer
4193         * undo_funcs.C (setCursorParUndo): ditto
4194         * text_funcs.C (transposeChars): ditto
4195
4196         * text2.C (setLayout): ws changes only
4197
4198         * text.C (breakParagraph): do not convert iterator -> pointer
4199         (insertChar): ditto
4200         (acceptChange): ditto
4201         (rejectChange): ditto
4202         (changeCase): ditto
4203         (Delete): ditto
4204         (backspace): ditto
4205
4206         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4207         pointer
4208
4209 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * text3.C (gotoInset): YABG (yet another bad getChar)
4212
4213 2003-04-29  André Pönitz  <poenitz@gmx.net>
4214
4215         * paragraph.h: make operator= private unimplemented as long as
4216           it is unusable
4217
4218         * ParagraphList.C: whitespace
4219
4220         * paragraph.[Ch]:
4221         * paragraph_pimpl.[Ch]:
4222         * paragraph_funcs.C:
4223         * CutAndPaste.C:
4224         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4225
4226         * text2.C:
4227           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4228
4229 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4232         * paragraph.[Ch] (erase):
4233         * paragraph_pimpl.[Ch] (erase): change return type and value
4234         * text2.C (cutSelection): some rework
4235
4236 2003-04-28  John Levon  <levon@movementarian.org>
4237
4238         * bufferlist.C: changes for unsaved changes dialog
4239
4240 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * bufferlist.C (newFile): set language (messages_) for new
4243         documents also.
4244
4245         * buffer.C (readFile): ws changes only.
4246
4247 2003-04-28  André Pönitz  <poenitz@gmx.net>
4248
4249         * undo_funcs.C:
4250         * lyxfunc.C:
4251         * buffer.[Ch]:
4252         * BufferView_pimpl.C:
4253         * BufferView.C: getParFromID related ParagraphList::iterator changes
4254
4255 2003-04-28  André Pönitz  <poenitz@gmx.net>
4256
4257         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4258           Changes
4259
4260 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * messages.C: remove one more localedir class variable.
4263
4264 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * messages.C (getLocaleDir): singleton generation function
4267         (Pimpl): use it.
4268         (Messages): add a default constructor.
4269
4270         * main.C (main): do not setup localedir here, do not call
4271         gettext_init.
4272
4273         * gettext.C (_): use it.
4274         (gettext_init): delete funciton
4275
4276 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * gettext.C (getLyXMessages): new singleton generating function.
4279
4280         * buffer.C (updateDocLang): adjust
4281
4282         * Makefile.am (messages.o): add target
4283         (main.o): remove target
4284
4285 2003-04-27  John Levon  <levon@movementarian.org>
4286
4287         * bufferlist.C:
4288         * lyx_cb.C:
4289         * lyxfunc.C:
4290         * lyxvc.C: specify cancel button in Alert::prompt
4291
4292 2003-04-26  John Levon  <levon@movementarian.org>
4293
4294         * text3.C:
4295         * lyxfunc.C:
4296         * lfuns.h:
4297         * LyXAction.C: add LFUN_INSET_SETTINGS
4298
4299         * lyxfunc.C: don't enable tabular-feature when there's
4300         just any locking inset
4301
4302 2003-04-26  John Levon  <levon@movementarian.org>
4303
4304         * bufferlist.C: re-add Cancel to buffer close question
4305
4306         * lyxfunc.C: fix import UI a bit
4307
4308 2003-04-25  John Levon  <levon@movementarian.org>
4309
4310         * gettext.C: remove the broken asserts for now
4311
4312 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * messages.C: make case where setlocale cannot comply work better.
4315
4316         * buffer.C (updateDocLang): new function
4317         (changeLanguage): use it
4318         (readFile): use it
4319
4320         * text2.C (setCounter): use B_ a bit.
4321
4322         * lyxlayout.C (Read): be sure to trim the label strings.
4323
4324         * messages.C (Messages): fix typo in comment
4325
4326         * buffer.C (readFile): set message_ after file is loaded.
4327         (makeDocBookFile): remove double return
4328         (changeLanguage): reset message_ upon language change.
4329         (B_): new func, use this to get translated buffer strings.
4330
4331         * main.C: add myself and Jean Marc as authors.
4332
4333 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * messages.[hC]: pimplify Messages, and three different pimpls to be
4336         used in different circumstances.
4337
4338         * gettext.[Ch]: change for use with new message code.
4339
4340 2003-04-24 André Pönitz <poenitz@gmx.net>
4341
4342         * factory.C: support for eqref
4343
4344 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * messages.[Ch]: add missing char
4347
4348         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4349
4350         * messages.[Ch]: New files
4351
4352 2003-04-18  John Levon  <levon@movementarian.org>
4353
4354         * BufferView.h:
4355         * BufferView.C:
4356         * BufferView_pimpl.C:
4357         * lfuns.h:
4358         * LyXAction.C:
4359         * lyxtext.h:
4360         * text2.C: remove layout-copy/paste (bug 778)
4361
4362 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4365
4366 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4369         if they succeed. Act accordingly.
4370
4371 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * text2.C (setCharFont): adjust
4374         (setCounter): adjust
4375         (insertStringAsLines): adjust
4376
4377         * text.C (leftMargin): adjust
4378         (setHeightOfRow): adjust
4379
4380         * rowpainter.C (paintFirst): adjust
4381         (paintLast): adjust
4382
4383         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4384         (outerHook): ditto
4385         (isFirstInSequence): ditto
4386         (getEndLabel): ditto
4387         (outerFont): adjust
4388
4389         * paragraph.C (getParLanguage): comment out some hard stuff.
4390
4391         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4392         (sgmlError): ditto
4393         (simpleDocBookOnePar): ditto
4394         (makeDocBookFile): use ParagraphList::iterator
4395
4396         * CutAndPaste.C (pasteSelection): adjust
4397
4398 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * text2.C (getFont): adjust
4401         (getLayoutFont): adjust
4402         (getLabelFont): adjust
4403
4404         * paragraph_funcs.C (TeXOnePar): adjust
4405
4406         * buffer.C (simpleLinuxDocOnePar): adjust
4407         (simpleDocBookOnePar): adjust
4408
4409         * CutAndPaste.C (pasteSelection): adjust
4410
4411         * BufferView.C (getEncoding): adjust
4412
4413         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4414
4415 2003-04-16  John Levon  <levon@movementarian.org>
4416
4417         * lyxfind.C: use parlist stuff for search/changes
4418
4419 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4422
4423         * text2.C (deleteEmptyParagraphMechanism): adjust
4424
4425         * text2.[Ch] (ownerParagraph): delete func (both of them
4426
4427 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4430
4431 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * ParagraphList.C: prepare for NO_NEXT
4434
4435 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * text2.C (getFont): adjust
4438         (getLayoutFont): adjust
4439         (getLabelFont): adjust
4440
4441         * paragraph.C (getFont): adjust
4442         (getLabelFont): adjust
4443         (getLayoutFont): adjust
4444
4445         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4446
4447 2003-04-15  John Levon  <levon@movementarian.org>
4448
4449         From Angus Leeming
4450
4451         * lyx_main.C: handle Include in .ui files
4452
4453 2003-04-15  John Levon  <levon@movementarian.org>
4454
4455         * MenuBackend.C: make the doc files length shorter
4456
4457         * ToolbarBackend.h:
4458         * ToolbarBackend.C: handle toolbar placement flags,
4459         Minibuffer
4460
4461 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4464         adjust
4465
4466         * paragraph_funcs.C (TeXOnePar): adjust
4467
4468         * paragraph.C (getLabelFont): add outerfont arg, adjust
4469         (getLayoutFont): ditto
4470         (simpleTeXOnePar): adjust
4471
4472         * paragraph_pimpl.C (realizeFont): delete func
4473
4474 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4475
4476         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4477         row argument, constify cur argument.
4478
4479 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * text2.C (getFont): adjust
4482         (getLayoutFont): adjust
4483         (getLabelFont): adjust
4484
4485         * paragraph_funcs.C (TeXOnePar): adjust
4486         (outerFont): new func...
4487         (realizeFont): ...moved out from here, changed this to facilitate
4488         transition
4489
4490         * paragraph.C (getFont): take outerfont as arg, adjust
4491         (simpleTeXOnePar): add outerfont arg, adjust
4492
4493         * buffer.C (simpleLinuxDocOnePar): adjust
4494         (simpleDocBookOnePar): adjust
4495
4496         * CutAndPaste.C (pasteSelection): adjust
4497
4498         * BufferView.C (getEncoding): adjust
4499
4500 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * text2.C (setCharFont): adjust
4503         (setCounter): adjust
4504
4505         * text.C (leftMargin): adjust
4506         (setHeightOfRow): adjust
4507
4508         * rowpainter.C (paintFirst): adjust
4509         (paintLast): adjust
4510
4511         * paragraph_pimpl.C (realizeFont): adjust
4512
4513         * paragraph.C (isFirstInSequence): move from here...
4514         * paragraph_funcs.C (isFirstInSequence): ...to here
4515
4516         * paragraph.C (outerHook): move from here...
4517         * paragraph_funcs.C (outerHook): ...to here
4518
4519         * paragraph.C (depthHook): move from here...
4520         * paragraph_funcs.C (depthHook): ...to here
4521
4522         * paragraph.C (getEndLabel): move from here...
4523         * paragraph_funcs.C (getEndLabel): ...to here
4524
4525         * text2.C (realizeFont): move from here...
4526         * paragraph_funcs.C (realizeFont): ...to here
4527
4528 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4531
4532 2003-04-14  Angus Leeming  <leeming@lyx.org>
4533
4534         * LColor.[Ch]: scrap LColor mathcursor.
4535
4536 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * lyxlex.[Ch] (text): delete function
4539         * trans.C (Load): adjust
4540         * paragraph_funcs.C (readParToken): adjust
4541
4542 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4545         vector<char> instead of a char[].
4546
4547         * lyxlex_pimpl.C (getString): adjust
4548         (next): adjust
4549         (lex): use getString
4550         (eatLine): adjust
4551         (nextToken): adjust
4552
4553         * lyxlex.C (text): use pimpl_->getString()
4554         (getBool): ditto
4555         (findToken): ditto
4556
4557 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4560         (makeFontEntriesLayoutSpecific): temp var for par.size()
4561         (setLayout): temp var for ownerParagraphs().end()
4562         (fullRebreak): temp var for rows().end()
4563         (selectionAsString): temp var for boost::next(startpit), realize
4564         that the while really is a regular for loop.
4565         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4566         setCursor in one place.
4567         (setParagraph): temp vr for ownerParagraphs().end()
4568         (updateCounters): make the while loop a for loop
4569         (cutSelection): temp var for ownerParagraphs().end()
4570         (updateInset): make the do {} while() a regular for loop
4571         (getCursorX): use temp vars
4572         (setCurrentFont): use temp vars
4573         (getColumnNearX): use temp vars
4574
4575 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * text.C (transformChar): use temp var for getChar
4578         (computeBidiTables): use temp var for row->par()
4579         (fill): move temp vars for row->par() and pit->layout() earlier in
4580         the function.
4581         (labelFill): use temp var for row->par()
4582         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4583         asc and desc, realize that pit never changes and that firstpit is
4584         just a duplicate and not needed. Exchange rit->par() with pit in a
4585         lot of places.
4586         (breakAgain): use a temp var for boost::next(rit)
4587         (breakAgainOneRow): ditto
4588         (breakParagraph): use a temp var for rows().begin()
4589         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4590         (cursorRightOneWord): use temp var for cursor.par() and
4591         cursor.pos(), remove usage of tmpcursor.
4592         (cursorLeftOneWord): use temp var for cursor.par() and
4593         cursor.pos() only set cur at end of function.
4594
4595 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * text.C, text2.C: exchange all usage of Paragraph::next with
4598         boost::next(ParagraphList::iterator)
4599
4600         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4601
4602         * text2.C (cursorTop): simplify implementation
4603         (cursorBottom): ditto
4604         (setParagraph): use ParagraphList::iterator
4605         (setCurrentFont): adjust
4606         (getColumnNearX): adjust
4607         (cursorRight): adjust
4608         (cursorLeft): remove usage of Paragraph::previous
4609         (cursorUpParagraph): ditto
4610         (deleteEmptyParagraphMechanism): slight cleanup
4611
4612         * text.C (isBoundary): take a Paragraph const & instead of a
4613         pointer as arg.
4614         (addressBreakPoint): ditto
4615         (leftMargin): remove usage of Paragraph::previous.
4616         (setHeightOfRow): ditto
4617         (cursorLeftOneWord): ditto
4618         (selectNextWordToSpellcheck): ditto
4619         (Delete): ditto
4620         (backspace): ditto
4621         (breakParagraph): remove one usage of Paragraph::next
4622         (redoParagraph): ditto
4623         (acceptChange): ditto
4624         (insertChar): adjust
4625         (rowBreakPoint): adjust
4626
4627         * bufferview_funcs.C (toggleAndShow): adjust
4628
4629 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4630
4631         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4632         methods to access it.
4633         * lyxtext.h:
4634         * text.C: Added updateRowPositions to compute all row positions.
4635         Make top_y and getRowNearY() to use the cached y position
4636
4637 2003-04-11  John Levon  <levon@movementarian.org>
4638
4639         * text.C (rowBreakPoint): reintroduce the labelEnd
4640         checks, code copied from the row fill stuff. Deep voodoo.
4641
4642         * text.C (fill): add a comment and debugging for the
4643         next poor soul.
4644
4645 2003-04-11  John Levon  <levon@movementarian.org>
4646
4647         * text.C: make sure fullrow insets get wrapped to the next line,
4648         even when they're in a manual label
4649
4650 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * text2.C (insertParagraph): make it take ParagraphList::iterator
4653         as arg.
4654         (setLayout): make it return ParagraphList::iterator
4655         (redoParagraphs): ditto
4656         (setCounter): ditto
4657         (checkParagraph): ditto
4658
4659         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4660
4661         * text2.C: adjust several funcs.
4662         (realizeFont): take a ParagraphList::iterator as arg.
4663         (getLayoutFont): ditto
4664         (getLabelFont): ditto
4665         (setCharFont): ditto
4666
4667         * text.C: adjust several funcs.
4668
4669 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * text.C (selectNextWordToSpellcheck): don't accidentally
4672         skip insets
4673
4674 2003-04-10  John Levon  <levon@movementarian.org>
4675
4676         * ToolbarBackend.C (getIcon): special handling for
4677         LFUN_MATH_DELIM
4678
4679 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * text2.C (cursorRight): a getChar assert fixed
4682
4683 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * text2.C (getFont): change to take a ParagraphList::iterator
4686         instead of Paragraph*
4687         Adjust several functions.
4688
4689         * text.C (transformChar): change to take a ParagraphList::iterator
4690         instead of Paragraph*
4691         (singleWidth): ditto
4692         Adjust several functions.
4693
4694         * rowpainter.C: adjust several functions
4695         * rowpainter.h:store a ParagraphList::iterator and not a
4696         Paragraph&.
4697
4698
4699 2003-04-09  John Levon  <levon@movementarian.org>
4700
4701         * lyxfunc.C:
4702         * lfuns.h:
4703         * LyXAction.h:
4704         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4705         and the "help" bits as well
4706
4707 2003-04-09  John Levon  <levon@movementarian.org>
4708
4709         * ToolbarBackend.h:
4710         * ToolbarBackend.C: allow multiple toolbars
4711
4712 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * undo_funcs.C (setCursorParUndo): adjust
4715
4716         * text_funcs.C (transposeChars): adjust
4717
4718         * text3.C (gotoNextInset): adjust
4719         (dispatch): adjust
4720
4721         * text2.C (setLayout): adjust
4722         (changeDepth): adjust
4723         (setFont): adjust
4724         (redoParagraphs): adjust
4725         (selectionAsString): adjust
4726         (setParagraph): adjust
4727         (insertInset): adjust
4728         (cutSelection): adjust
4729         (copySelection): adjust
4730         (pasteSelection): adjust
4731         (insertStringAsLines): adjust
4732         (updateInset): adjust
4733         (setCursor): change to take a ParagraphList::iterator parameter
4734         (setCursorIntern): change to take a ParagraphList::iterator parameter
4735         (setCurrentFont): adjust
4736         (cursorLeft): adjust
4737         (cursorRight): adjust
4738         (deleteEmptyParagraphMechanism): adjust
4739
4740         * text.C (breakParagraph): adjust
4741         (insertChar): adjust
4742         (acceptChange): adjust
4743         (rejectChange): adjust
4744         (selectNextWordToSpellcheck): adjust
4745         (changeCase): adjust
4746         (Delete): adjust
4747         (backspace): adjust
4748
4749         * lyxfind.C (SearchForward): adjust
4750         (SearchBackward): adjust
4751         (nextChange): adjust
4752
4753         * lyxcursor.C (par): adjust
4754
4755         * lyxcursor.h: store a ParagraphList::iterator instead of a
4756         Paragraph*
4757
4758         * lyx_cb.C (getPossibleLabel): adjust
4759
4760         * bufferview_funcs.C (toggleAndShow): adjust
4761
4762         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4763         (dispatch): adjust
4764
4765         * BufferView.C (removeAutoInsets): adjust
4766         (lockedInsetStoreUndo): adjust
4767
4768 2003-04-09  John Levon  <levon@movementarian.org>
4769
4770         * ToolbarBackend.C: try icon without argument
4771         if with argument fails
4772
4773 2003-04-08  John Levon  <levon@movementarian.org>
4774
4775         * ToolbarBackend.h:
4776         * ToolbarBackend.C: add getIcon(), handle tooltip,
4777         and change from "Icon" to "Item".
4778
4779 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * BufferView.C (lockInset): another bad getchar crunched
4782
4783 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4786         again)
4787
4788 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * lyxfind.C (searchForward, searchBackwards): bug 782
4791
4792 2003-04-07  John Levon  <levon@movementarian.org>
4793
4794         * paragraph.C: remove dead comment
4795
4796         * text.C: remove troublesome depth-fiddling code
4797         in leftMargin() and rightMargin() (bug 1017)
4798
4799         * text.C: fix breaking of rows in nested lists
4800         (bug 1004)
4801
4802         * text2.C (updateCounters): fix up depth values
4803         (bug 1013)
4804
4805 2003-04-07  John Levon  <levon@movementarian.org>
4806
4807         * BufferView_pimpl.C: clear message when doc finishes resizing,
4808         and after a mouse event
4809
4810         * lyxfunc.C: clear message after exiting inset
4811
4812 2003-04-07  John Levon  <levon@movementarian.org>
4813
4814         * bufferview_funcs.C: show math status not outside
4815         status in the statusbar
4816
4817 2003-04-07  John Levon  <levon@movementarian.org>
4818
4819         * lyxfunc.C: note status changed after a depth change
4820
4821 2003-04-04  Angus Leeming  <leeming@lyx.org>
4822
4823         * LaTeX.h: move AuxInfo operator==, != out of line.
4824         Remove LaTeX virtual destructor; nothing derives from it.
4825         Move operator()() out of public area and rename it startscript().
4826         Change protected for private.
4827
4828 2003-04-04  Angus Leeming  <leeming@lyx.org>
4829
4830         * lyxfunc.C:
4831         * text2.C: remove unneeded #includes.
4832
4833 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * text2.C (dEPM): fix the heigth of the next row
4836
4837 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * text.C: squashed an invalid getChar requester + some ws changes
4840
4841 2003-04-03  John Levon  <levon@movementarian.org>
4842
4843         * bufferview_funcs.h:
4844         * bufferview_funcs.C:
4845         * lyxfunc.C:
4846         * lyxtext.h:
4847         * text2.C: make getStatus work for the env depth lfuns
4848
4849 2003-04-03  John Levon  <levon@movementarian.org>
4850
4851         * bufferview_funcs.h:
4852         * bufferview_funcs.C:
4853         * lyxfunc.C:
4854         * lyxtext.h:
4855         * text2.C: parlistize decDepth(), by merging it with incDepth()
4856
4857 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * lyxrow.h: store a ParagraphList::iterator instead of a
4860         Paragraph* and adjust other class functions to suit.
4861
4862         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4863         above.
4864
4865 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * text2.C (setCursor): do not anchor to cursor row for the time being
4868
4869 2003-04-02  John Levon  <levon@movementarian.org>
4870
4871         * LyXAction.C:
4872         * lfuns.h:
4873         * lyx_main.C:
4874         * lyxtext.h:
4875         * text.C:
4876         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4877
4878 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * paragraph.h: make ParagraphList and ParagraphList::iterator
4881         friends of Paragraph.
4882
4883         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4884
4885         * ParagraphList.C: Use the private next_ and previous_ from
4886         Paragraph.
4887
4888 2003-04-01  John Levon  <levon@movementarian.org>
4889
4890         * ToolbarBackend.h:
4891         * ToolbarBackend.C:
4892         * Makefile.am: rename, remove defaults gunk
4893
4894         * MenuBackend.h:
4895         * MenuBackend.C: remove defaults gunk
4896
4897         * Languages.h:
4898         * Languages.C: remove defaults gunk
4899
4900         * lyx_main.h:
4901         * lyx_main.C: error out if files couldn't be found.
4902
4903 2003-04-02  John Levon  <levon@movementarian.org>
4904
4905         * text2.C: make incDepth() use parlist
4906
4907 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * undo_funcs.C (firstUndoParagraph): adjust
4910
4911         * text3.C (gotoInset): adjust
4912         (dispatch): adjust, and rewrite loop.
4913
4914         * text2.C (init): adjust, and rewrite loop.
4915         (redoParagraphs): adjust
4916         (updateInset): adjust, and rewrite loop.
4917         (deleteEmptyParagraphMechanism): adjust
4918
4919         * tabular.C (LyXTabular): adjust
4920         (SetMultiColumn): adjust
4921         (TeXRow): adjust
4922
4923         * lyxtext.[Ch] (ownerParagraph): delete function
4924         (ownerParagraphs): new function returns a ParagraphList.
4925
4926         * BufferView.C (removeAutoInsets): adjust
4927         (insertErrors): adjust
4928         (setCursorFromRow): adjust
4929
4930 2003-04-01  Angus Leeming  <leeming@lyx.org>
4931
4932         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4933         in the frontends.
4934
4935 2003-04-02  John Levon  <levon@movementarian.org>
4936
4937         * lyxtext.h:
4938         * text.C:
4939         * Makefile.am:
4940         * text_funcs.h:
4941         * text_funcs.C: make transposeChars a free function
4942
4943         * lyxrow_funcs.C: remove wrong comment
4944
4945 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * lyxtext.h: adjust
4948         * rowpainter.C: adjust
4949         * text.C: adjust
4950         * text2.C: adjust
4951         * text3.C: adjust
4952
4953         * lyxrow_funcs. [Ch]: new files
4954
4955         * lyxrow.[Ch]: remove next and previous pointers
4956         (next,previous): remove accessor functions
4957         (isParEnd): move to lyxrow_funcs
4958         (lastPos): move to lyxrow_funcs
4959         (nextRowIsAllInset): move to lyxrow_funcs
4960         (lastPrintablePos): move to lyxrow_funcs
4961         (numberOfSeparators): move to lyxrow_funcs
4962         (numberOfHfills): move to lyxrow_funcs
4963         (numberOfLabelHfills): move to lyxrow_funcs
4964         (hfillExpansion): move to lyxrow_funcs
4965
4966         * lyxfunc.C: adjust
4967
4968         * bufferview_funcs.C (toggleAndShow): adjust
4969
4970         * RowList.h: Remove class RowList from file leave just a
4971         std::list<Row>.
4972
4973         * RowList.C: delete file
4974
4975         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4976         and lyxrow_funcs.h
4977
4978 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * text3.C (cursorPrevious): adjust
4981         (cursorNext): adjust
4982         (dispatch): adjust
4983
4984         * text2.C (redoHeightOfParagraph): adjust
4985         (redoDrawingOfParagraph): adjust
4986         (setCursor): adjust
4987
4988         * text.C (breakParagraph): adjust
4989         (insertChar): adjust
4990         (backspace): adjust
4991
4992         * rowpainter.C (RowPainter): adjust
4993         (leftMargin): simplify and adjust
4994         (most rowpainter functions): adjust.
4995
4996         * rowpainter.h: store the row as RowList::iterator not as Row*
4997
4998         * lyxcursor.C (row): taka RowList::iterator as arg
4999         (irow): ditto
5000
5001         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5002         of Row*.
5003
5004 2003-04-01  Angus Leeming  <leeming@lyx.org>
5005
5006         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5007         stuff like bool Bool.
5008
5009 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5012         rewrite a loop
5013
5014 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5017         RowList::iterator.
5018
5019         * lyxtext.h (rows): drop one version and leve a const variant that
5020         returns a RowList::iterator.
5021
5022 2003-03-31  Angus Leeming  <leeming@lyx.org>
5023
5024         * text.C (fill): ensure that the signature is the same as that in the
5025         header file.
5026
5027 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * text2.C (redoParagraphs): adjust
5030         (updateCounters): adjust
5031         (checkParagraph): adjust
5032         (getColumnNearX): adjust and reformat a bit.
5033
5034         * text.C (top_y): adjust
5035         (workWidth): adjust
5036         (leftMargin): adjust
5037         (prepareToPrint): adjust
5038         (getRow): adjust
5039         (getRowNearY): adjust
5040
5041         * lyxtext.h: make rowlist_ mutable.
5042
5043         * RowList.h: add const_iterator
5044         * RowList.C: adjust for RowList::const_iterator.
5045
5046         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5047         adjust.
5048
5049 2003-03-31  John Levon  <levon@movementarian.org>
5050
5051         * lyxrc.h:
5052         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5053
5054         * lyx_main.C: set default fonts from using lyx_gui funcs
5055
5056         * exporter.C: pdf_mode moved from lyxrc
5057
5058         * lyx_cb.C:
5059         * lyxfunc.C: changes from above
5060
5061 2003-03-31  John Levon  <levon@movementarian.org>
5062
5063         * lyx_main.C: fix to the last fix
5064
5065 2003-03-31  John Levon  <levon@movementarian.org>
5066
5067         * bufferlist.C: "Load original" -> "Load Original"
5068
5069         * converter.C:
5070         * exporter.C:
5071         * importer.C:
5072         * lyx_main.C:
5073         * format.C: more Alert cleanups
5074
5075 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * text2.C (removeParagraph): make it take a RowList::iterator as
5078         arg, adjust.
5079         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5080         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5081
5082         * text.C (anchor_row): make it take a RowList::iterator as arg,
5083         adjust.
5084         (computeBidiTables): make it take a const reference to Row instead
5085         of Row pointer, adjust.
5086         (leftMargin): make it take a RowList::iterator as arg, adjust.
5087         (rowBreakPoint): adjust
5088         (breakAgainOneRow): make it take a RowList::iterator as arg,
5089         adjust.
5090         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5091
5092         * bufferview_funcs.C (toggleAndShow): adjust
5093
5094 2003-03-30  John Levon  <levon@movementarian.org>
5095
5096         * Makefile.am:
5097         * BoostFormat.h:
5098         * boost-inst.C: moved to support
5099
5100         * several files: changes as a result
5101
5102 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * text2.C (LyXText): adjust.
5105         (init): adjust
5106         (removeRow): make it take a RowList::iterator as arg, adjust.
5107         (fullRebreak): adjust
5108         (deleteEmptyParagraphMechanism): adjust
5109         (clearPaint): adjust
5110         (postPaint): adjust
5111
5112         * text.C (top_y): adjust
5113         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5114         (breakAgain): make it take a RowList::iterator as arg, adjust.
5115         (breakParagraph): adjust
5116         (insertChar): adjust
5117         (backspace): adjust
5118
5119         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5120         need_break_row, and refresh_row.
5121
5122         * text3.C (dispatch): adjust
5123
5124         * text2.C (checkParagraph): adjust
5125         (setCursor): adjust
5126         (setCursorFromCoordinates): adjust
5127
5128         * text.C (top_y): adjust
5129         (workWidth): adjust
5130         (getRow): make it return a RowList::iterator, adjust
5131         (getRowNearY): make it return a RowList::iterator, adjust
5132
5133         * text2.C (init): adjust
5134         (insertRow): remove function
5135         (insertParagraph): adjust
5136         (redoParagraphs): adjust
5137         (fullRebreak): adjust
5138         (updateCounters): adjust
5139
5140         * text.C (top_y): rewrite to use RowList iterators.
5141         (top_y): adjust
5142         (setHeightOfRow): rewrite to sue RowList iterators.
5143         (appendParagraph): adjust
5144         (breakAgain): adjust
5145         (breakAgainOneRow): adjust
5146         (breakParagraph): adjust
5147         (getRow): adjust
5148         (getRowNearY): adjust, and remove commented code.
5149
5150         * lyxtext.h (firstRow): delete function
5151         (lastRow): delete function
5152         (rows): new function (const and non-const versions.)
5153         (insertRow): delete function
5154
5155         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5156
5157 2003-03-29  John Levon  <levon@movementarian.org>
5158
5159         * BufferView_pimpl.C: always update scrollbar top
5160         because pasting text when we're anchored could mean we
5161         miss an update altogether
5162
5163 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * text2.C (init): use rowlist_.end() and not 0.
5166         (insertRow): change to take a RowList::iterator as arg, adjust
5167         for this.
5168         (insertParagraph): change to take a RowList::iterator as arg,
5169         adjust for this.
5170         (redoParagraphs): remove some debug msgs.
5171
5172         * text.C (appendParagraph): change to take a RowList::iterator
5173         arg, adjust for this.
5174         (breakAgain): add an assert
5175         (breakAgainOneRow): ditto
5176
5177 2003-03-29  John Levon  <levon@movementarian.org>
5178
5179         * text2.C: do not clear selection after inc/decDepth
5180         (bug 550)
5181
5182 2003-03-29  John Levon  <levon@movementarian.org>
5183
5184         * BufferView.C:
5185         * buffer.C: fix broken strerrors according to Lars
5186
5187 2003-03-29  John Levon  <levon@movementarian.org>
5188
5189         * converters.C: more Alert cleanups
5190
5191 2003-03-29  John Levon  <levon@movementarian.org>
5192
5193         * bufferview_funcs.C: remove pointless Alert
5194
5195         * buffer.C: fix confusing error message when
5196         a template is chmoded 000
5197
5198 2003-03-29  John Levon  <levon@movementarian.org>
5199
5200         * BufferView.C:
5201         * BufferView.h:
5202         * BufferView_pimpl.C: Alert fixes
5203
5204         * Makefile.am:
5205         * tabular.C:
5206         * tabular-old.C: remove unused table compat reading
5207
5208 2003-03-29  John Levon  <levon@movementarian.org>
5209
5210         * BufferView.C:
5211         * buffer.C:
5212         * lyx_cb.h:
5213         * lyx_cb.C: more Alert cleanups
5214
5215         * lyxfunc.C: don't allow chktex if not latex document
5216
5217 2003-03-29  John Levon  <levon@movementarian.org>
5218
5219         * lyx_cb.C:
5220         * BufferView.C:
5221         * buffer.C: warnings pushed down from support/,
5222         kill err_alert
5223
5224 2003-03-29  John Levon  <levon@movementarian.org>
5225
5226         * lyxfunc.C: safety check for C-r (revert)
5227
5228 2003-03-29  John Levon  <levon@movementarian.org>
5229
5230         * bufferlist.h:
5231         * bufferlist.C: several UI fixes using Alert::prompt.
5232         Fix the pointless looping quit code. Fix stupid revert
5233         behaviour (bug 938)
5234
5235         * lyxvc.h:
5236         * lyxvc.C:
5237         * lyx_cb.C: use Alert::prompt
5238
5239         * lyx_main.C: remove a silly question
5240
5241         * lyxfunc.C: remove a couple of silly questions,
5242         use Alert::prompt
5243
5244 2003-03-28  John Levon  <levon@movementarian.org>
5245
5246         * text2.C: fix bug 974 (End on empty par)
5247
5248 2003-03-28  John Levon  <levon@movementarian.org>
5249
5250         * BufferView_pimpl.C:
5251         * LyXAction.C:
5252         * lfuns.h: remove do-nothing math greek lfuns
5253
5254 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * lyxgluelength.h (isValidGlueLength): add default arg on
5257         parameter 2. Remove default arg from friend in class.
5258
5259         * lyxlength.h (isValidLength): add default arg on parameter 2.
5260         Remove default arg from friend in class.
5261
5262         * text2.C (LyXText): adjust, initialize refresh_row.
5263         (init): adjust
5264         (removeRow): adjust
5265         (insertRow): adjust
5266         (insertParagraph): adjst
5267         (redoParagraphs): adjust
5268         (fullRebreak): adjust
5269         (updateCounters): adjust
5270         (deleteEmptyParagraphMechanism): first attempt at fixing a
5271         crashing bug.
5272
5273         * text.C (top_y): adjust
5274         (setHeightOfRow): adjust
5275         (getRow): adjust
5276         (getRowNearY): adjust
5277
5278         * lyxtext.h: include RowList.h
5279         (~LyXText): not needed anymore, deleted.
5280         (firstRow): modify for RowList
5281         (lastRow): new function
5282         Delete firstrow and lastrow class variables, add a Rowlist
5283         rowlist_ class variable.
5284
5285         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5286         paragraph is empty.
5287
5288         * RowList.C (insert): fix case where it == begin().
5289
5290 2003-03-26  Angus Leeming  <leeming@lyx.org>
5291
5292         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5293         the thesaurus dialog.
5294
5295 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5298
5299         * RowList.[Ch]: new files
5300
5301         * ParagraphList.C (erase): handle the case where it == begin
5302         correctly.
5303
5304 2003-03-25  John Levon  <levon@movementarian.org>
5305
5306         * Makefile.am:
5307         * aspell_local.h:
5308         * aspell.C: add new aspell support
5309
5310         * lyxrc.h:
5311         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5312         have it accessible.
5313
5314 2003-03-25  Angus Leeming  <leeming@lyx.org>
5315
5316         * lfuns.h:
5317         * LyXAction.C (init): new LFUN_INSET_INSERT.
5318
5319         * BufferView_pimpl.C (dispatch): split out part of the
5320         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5321
5322         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5323         LFUN_INSET_APPLY.
5324
5325 2003-03-25  Angus Leeming  <leeming@lyx.org>
5326
5327         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5328
5329 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * text2.C:
5332         * text3.C: remove useless row->height(0)
5333
5334 2003-03-25  John Levon  <levon@movementarian.org>
5335
5336         * lyxtext.h:
5337         * text2.C:
5338         * text3.C: rename the refreshing stuff to better names
5339
5340 2003-03-24  John Levon  <levon@movementarian.org>
5341
5342         * BufferView_pimpl.h:
5343         * BufferView_pimpl.C: update layout choice on a mouse
5344         press/release
5345
5346 2003-03-23  John Levon  <levon@movementarian.org>
5347
5348         * Makefile.am: fix commandtags.h reference
5349
5350 2003-03-22  John Levon  <levon@movementarian.org>
5351
5352         * BufferView_pimpl.C:
5353         * lyxtext.h:
5354         * rowpainter.C:
5355         * rowpainter.h:
5356         * text.C:
5357         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5358
5359 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * lyxtext.h:
5362         * text.C: take the rtl methods out of line
5363
5364 2003-03-21 André Pönitz <poenitz@gmx.net>
5365
5366         * metricsinfo.[Ch]: new files containing structures to be passed around
5367         during the two-phase-drawing...
5368
5369 2003-03-21 André Pönitz <poenitz@gmx.net>
5370
5371         * lyxtextclass.C: read 'environment' tag.
5372
5373 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * text2.C (removeRow): fix bug 964
5376
5377 2003-03-20  John Levon  <levon@movementarian.org>
5378
5379         * rowpainter.C:
5380         * text.C:
5381         * text2.C: paint cleanups. Inset::update() dropped font
5382         parameter
5383
5384 2003-03-19  John Levon  <levon@movementarian.org>
5385
5386         * lyxfunc.C: only fitcursor/markDirty if available()
5387
5388 2003-03-19  John Levon  <levon@movementarian.org>
5389
5390         * commandtags.h: rename to ...
5391
5392         * lfuns.h: ... this, and renumber / cleanup
5393
5394 2003-03-19  John Levon  <levon@movementarian.org>
5395
5396         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5397         fit the cursor after an lfun
5398
5399         * BufferView.h:
5400         * BufferView.C:
5401         * BufferView_pimpl.h:
5402         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5403
5404         * LyXAction.C: layout-character should have ReadOnly
5405
5406         * ParagraphParameters.C:
5407         * buffer.C:
5408         * bufferview_funcs.C:
5409         * lyx_cb.C:
5410         * lyxfind.C:
5411         * lyxtext.h:
5412         * text.C:
5413         * text2.C:
5414         * text3.C:
5415         * undo_funcs.C: changes from above
5416
5417 2003-03-18  John Levon  <levon@movementarian.org>
5418
5419         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5420         remove it from update()
5421
5422         * lyxfunc.C: update layout choice after an lfun
5423
5424         * text3.C: remove extra updateLayoutChoice()s
5425
5426 2003-03-18  John Levon  <levon@movementarian.org>
5427
5428         * text.C: top_y change means full repaint, fix
5429         a drawing bug with cursor movement
5430
5431 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * lyxtext.h:
5434         * text.C:
5435         * text2.C: anchor row on setCursor
5436
5437 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5438
5439         * lyxtext.h: remove almost all mutable keywords
5440         * text.C:
5441         * text2.C:
5442         * text3.C: remove const keywords accordingly
5443
5444 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5447         anon namespace
5448         (TeXEnvironment): ditto
5449         (TeXOnePar): ditto
5450
5451 2003-03-17  John Levon  <levon@movementarian.org>
5452
5453         * text.C (rowBreakPoint): remove attempt to fix displayed
5454         math insets inside a manual label
5455
5456 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * lyxtext.h: remove BufferView* as first arg from almost all class
5459         functions.
5460         * other files: adjust.
5461
5462 2003-03-17  John Levon  <levon@movementarian.org>
5463
5464         * lyxtext.h:
5465         * undo_funcs.C:
5466         * text2.C: more paint cleanups
5467
5468         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5469
5470         * rowpainter.h:
5471         * rowpainter.C: remove "smart" background painting code
5472
5473 2003-03-16  John Levon  <levon@movementarian.org>
5474
5475         * lyxtext.h:
5476         * text.C:
5477         * text2.C:
5478         * text3.C: add helper functions for setting refresh_row/y
5479
5480 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5481
5482         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5483         newline inset which *can* get inserted in the pass_thru layouts.
5484         This is primarily for literate documents.
5485
5486 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5487
5488         * buffer.C: increment LYX_FORMAT to 223
5489
5490 2003-03-14 André Pönitz <poenitz@gmx.net>
5491
5492         * textclass.h: prepare for environment handling, ws changes
5493         * lyxlayout.C: read latexheader and latexfooter tags
5494
5495 2003-03-14  John Levon  <levon@movementarian.org>
5496
5497         * text2.C: rewrite ::status() a bit
5498
5499 2003-03-13  John Levon  <levon@movementarian.org>
5500
5501         * lyxtext.h: add some docs
5502
5503 2003-03-13  John Levon  <levon@movementarian.org>
5504
5505         * lyxtext.h:
5506         * text.C:
5507         * text2.C:
5508         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5509
5510 2003-03-13  John Levon  <levon@movementarian.org>
5511
5512         * text3.C: fix appendix redrawing
5513
5514 2003-03-13  John Levon  <levon@movementarian.org>
5515
5516         * text.C (setHeightOfRow):
5517         * rowpainter.h:
5518         * rowpainter.C: make appendix mark have the text
5519           "Appendix" so the user knows what it is
5520
5521         * LColor.h:
5522         * LColor.C: s/appendixline/appendix/ from above
5523
5524 2003-03-13  John Levon  <levon@movementarian.org>
5525
5526         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5527
5528         * text.C: fix a getChar(pos) bug properly
5529
5530 2003-03-13  Angus Leeming  <leeming@lyx.org>
5531
5532         * commandtags.h:
5533         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5534         Probably only temporary. Let's see how things pan out.
5535
5536         * BufferView.C (unlockInset):
5537         * BufferView_pimpl.C (fitCursor):
5538         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5539
5540         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5541         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5542
5543         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5544         new functions that convert ParagraphParameters to and from a string.
5545
5546         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5547         BufferView::Pimpl's dispatch.
5548         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5549
5550 2003-03-13 André Pönitz <poenitz@gmx.net>
5551
5552         * lyxfunc.C:
5553         * text3.C:
5554         * factory.C: make it aware of InsetEnv
5555
5556 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * text2.C (setCursor): never ask for one past last
5559         (setCursor): add some debugging messages.
5560
5561         * text.C (singleWidth): never ask for one past last
5562         (singleWidth): ditto
5563         (leftMargin): ditto
5564         (rightMargin): ditto
5565         (rowBreakPoint): ditto
5566         (setHeightOfRow): ditto
5567         (prepareToPrint): ditto
5568
5569         * rowpainter.C (paintBackground): never ask for one past last
5570         (paintText): never ask for one past last
5571
5572         * paragraph_pimpl.C (getChar): make the assert stricter, never
5573         allow the one past last pos to be taken
5574
5575         * paragraph.C (getChar): ws changes only
5576
5577         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5578         (numberOfSeparators): ditto
5579         (numberOfHfills): ditto
5580
5581 2003-03-12  John Levon  <levon@movementarian.org>
5582
5583         * author.h:
5584         * author.C:
5585         * bufferparams.h:
5586         * bufferparams.C:
5587         * paragraph_funcs.C: fix per-buffer authorlists
5588
5589 2003-03-12  John Levon  <levon@movementarian.org>
5590
5591         * text.C: fix newline in right address
5592
5593 2003-03-12  Angus Leeming  <leeming@lyx.org>
5594
5595         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5596         duplicate those in LyXFunc::dispatch.
5597
5598         * commandtags.h:
5599         * LyXAction.C:
5600         * ToolbarDefaults.C:
5601         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5602         Add LFUN_FONTFREE_UPDATE.
5603
5604         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5605         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5606
5607         * bufferview_func.[Ch]: several new functions to facilliate
5608         transfer of data to and from the character dialog.
5609
5610 2003-03-12  John Levon  <levon@movementarian.org>
5611
5612         * buffer.C:
5613         * paragraph.h:
5614         * paragraph.C:
5615         * paragraph_funcs.C:
5616         * paragraph_pimpl.C:
5617         * sgml.C:
5618         * tabular.C:
5619         * text.C:
5620         * text3.C: remove META_NEWLINE in favour of an inset
5621
5622         * rowpainter.h:
5623         * rowpainter.C: remove paintNewline (done by inset)
5624
5625 2003-03-12  John Levon  <levon@movementarian.org>
5626
5627         * paragraph_pimpl.C: complain about bad getChar()s
5628         for a while at least
5629
5630 2003-03-12  John Levon  <levon@movementarian.org>
5631
5632         * buffer.h:
5633         * buffer.C: move paragraph read into a separate function,
5634         a little renaming to reflect that.
5635
5636         * bufferparams.h:
5637         * bufferparams.C: remove the author_ids map, not necessary now
5638
5639         * factory.h:
5640         * factory.C: moved Buffer::readInset to here
5641
5642         * paragraph_funcs.h:
5643         * paragraph_funcs.C: readParagraph free function moved from
5644         buffer.C
5645
5646         * tabular.C: name change
5647
5648 2003-03-12  John Levon  <levon@movementarian.org>
5649
5650         * buffer.C:
5651         * ParagraphParameters.C: move par params input to
5652         a read() method
5653
5654         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5655         behave like a normal read from the stream wrt reading
5656         a line vs. a \\token
5657
5658 2003-03-12  John Levon  <levon@movementarian.org>
5659
5660         * paragraph.C:
5661         * ParagraphParameters.h:
5662         * ParagraphParameters.C: move output code to a
5663         ::write() method
5664
5665 2003-03-12  John Levon  <levon@movementarian.org>
5666
5667         * BufferView.C (insertLyXFile):
5668         * buffer.h:
5669         * buffer.C:
5670         * tabular.C: use a parlist iterator for creating the
5671           document.
5672
5673 2003-03-12  John Levon  <levon@movementarian.org>
5674
5675         * buffer.C: make current_change static local not
5676           static file-scope
5677
5678 2003-03-12  John Levon  <levon@movementarian.org>
5679
5680         * buffer.C: fix insertStringAsLines for change tracking
5681
5682 2003-03-12  John Levon  <levon@movementarian.org>
5683
5684         * BufferView.C:
5685         * tabular.C:
5686         * buffer.h:
5687         * buffer.C:
5688         * bufferparams.h:
5689         * bufferparams.C: move author list into params. Rename some
5690           functions. Move the header reading into a separate token
5691           loop. Move the header token reading into BufferParams.
5692
5693 2003-03-12  John Levon  <levon@movementarian.org>
5694
5695         * changes.C: put debug inside lyxerr.debugging() checks
5696
5697 2003-03-11 André Pönitz <poenitz@gmx.net>
5698
5699         * factory.C: make it aware of InsetHFill
5700
5701 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5702
5703         * buffer.C (latexParagraphs): move function from here...
5704         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5705         args.
5706
5707 2003-03-10  Angus Leeming  <leeming@lyx.org>
5708
5709         * LyXAction.C (init): fix bug in poplating array with multiple entries
5710         with the same LFUN (spotted by JMarc).
5711
5712 2003-03-10  John Levon  <levon@movementarian.org>
5713
5714         * text.C:
5715         * text2.C: move getColumnNearX() near its
5716         only call site
5717
5718 2003-03-10  John Levon  <levon@movementarian.org>
5719
5720         * text.C: fix break before a minipage
5721
5722 2003-03-10  John Levon  <levon@movementarian.org>
5723
5724         * text.C: fix the last commit
5725
5726 2003-03-09  John Levon  <levon@movementarian.org>
5727
5728         * lyxtext.h:
5729         * text.C:
5730         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5731         bug 365 (don't break before insets unless needed). Don't
5732         return a value > last under any circumstances.
5733
5734 2003-03-09  Angus Leeming  <leeming@lyx.org>
5735
5736         * BufferView_pimpl.C (trackChanges, dispatch): call
5737         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5738
5739 2003-03-09  Angus Leeming  <leeming@lyx.org>
5740
5741         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5742         than Dialogs::showAboutlyx().
5743
5744 2003-03-09  Angus Leeming  <leeming@lyx.org>
5745
5746         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5747         than Dialogs::showTabularCreate().
5748
5749 2003-03-09  John Levon  <levon@movementarian.org>
5750
5751         * lyxtext.h:
5752         * text.C:
5753         * text2.C: 3rd arg to nextBreakPoint was always the same.
5754           Use references.
5755
5756 2003-03-08  John Levon  <levon@movementarian.org>
5757
5758         * lyxrow.C:
5759         * paragraph.C:
5760         * paragraph.h:
5761         * rowpainter.C:
5762         * text.C:
5763         * text2.C: Remove the "main" bit from the "main body"
5764           notion.
5765
5766 2003-03-08  John Levon  <levon@movementarian.org>
5767
5768         * text.C (leftMargin): The left margin of an empty
5769         manual label paragraph should not include the label width
5770         string length.
5771
5772         * text.C (prepareToPrint): don't attempt to measure hfills
5773         for empty manual label paragraphs - the answer should be 0
5774
5775 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * CutAndPaste.C: remove commented code and reindent.
5778
5779 2003-03-08  John Levon  <levon@movementarian.org>
5780
5781         * lyxfunc.h:
5782         * lyxfunc.C: move reloadBuffer()
5783
5784         * BufferView.h:
5785         * BufferView.C: to here
5786
5787         * lyxvc.C: add comment
5788
5789         * vc-backend.h:
5790         * vc-backend.C: call bv->reload() to avoid
5791           getStatus() check on MENURELOAD
5792
5793 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5794
5795         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5796         to an old format .dep file.
5797
5798 2003-03-07  Angus Leeming  <leeming@lyx.org>
5799
5800         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5801         when the LFUN_MOUSE_RELEASE should have been handled by
5802         inset->localDispatch.
5803
5804 2003-03-07  Angus Leeming  <leeming@lyx.org>
5805
5806         * BufferView_pimpl.C (dispatch):
5807         * LyXAction.C (init):
5808         * ToolbarDefaults.C (init):
5809         * commandtags.h:
5810         * lyxfunc.C (getStatus):
5811         remove LFUN_INSET_GRAPHICS.
5812
5813         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5814
5815 2003-03-07  Angus Leeming  <leeming@lyx.org>
5816
5817         * commandtags.h:
5818         * LyXAction.C (init):
5819         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5820
5821         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5822
5823         * commandtags.h:
5824         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5825
5826         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5827         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5828
5829 2003-03-07  Angus Leeming  <leeming@lyx.org>
5830
5831         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5832         remove "ert".
5833
5834 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * ParagraphList.C (front): new function
5837         (back): implement
5838
5839 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5840
5841         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5842         and top_row_offset_. removed var first_y.
5843         * text.C (top_y):
5844         * text2.C (LyXText, removeRow):
5845         * text3.C:
5846         * BufferView_pimpl.C:
5847         use these methods instead of using first_y
5848
5849 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * text2.C (pasteSelection): adjust for checkPastePossible
5852
5853         * CutAndPaste.C: remove Paragraph * buf and replace with
5854         ParagraphList paragraphs.
5855         (DeleteBuffer): delete
5856         (cutSelection): change the tc type to textclass_type
5857         (copySelection): change the tc type to textclass_type
5858         (copySelection): adjust for ParagraphList
5859         (pasteSelection): change the tc type to textclass_type
5860         (pasteSelection): adjust for Paragraphlist
5861         (nrOfParagraphs): simplify for ParagraphList
5862         (checkPastePossible): simplify for ParagraphList
5863         (checkPastePossible): remove unused arg
5864
5865         * ParagraphList.C (insert): handle the case where there are no
5866         paragraphs yet.
5867
5868         * CutAndPaste.h: make CutAndPaste a namespace.
5869
5870         * text3.C (dispatch): adjust
5871
5872         * text.C (breakParagraph): add a ParagraphList as arg
5873
5874         * paragraph_funcs.C (breakParagraph): change to take a
5875         BufferParams and a ParagraphList as args.
5876         (breakParagraphConservative): ditto
5877         (mergeParagraph): ditto
5878         (TeXDeeper): add a ParagraphList arg
5879         (TeXEnvironment): ditto
5880         (TeXOnePar): ditto
5881
5882         * buffer.C (readLyXformat2): adjust
5883         (insertStringAsLines): adjust
5884         (latexParagraphs): adjust
5885
5886         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5887         (cutSelection): adjust
5888         (pasteSelection): adjust
5889
5890         * BufferView_pimpl.C (insertInset): adjust
5891
5892 2003-03-05  Angus Leeming  <leeming@lyx.org>
5893
5894         * commandtags.h:
5895         * LyXAction.C (init):
5896         * BufferView_pimpl.C (dispatch):
5897         * lyxfunc.C (getStatus):
5898         remove LFUN_CHILD_INSERT.
5899
5900         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5901
5902 2003-03-05  Angus Leeming  <leeming@lyx.org>
5903
5904         * commandtags.h:
5905         * LyXAction.C (init):
5906         * src/factory.C (createInset):
5907         * lyxfunc.C (getStatus):
5908         * text3.C (dispatch):
5909         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5910
5911         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5912
5913 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * ParagraphList.C (insert): handle insert right before end()
5916         (erase): fix cases where it can be first or last paragraph.
5917
5918 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5921         Paragraph::next and Paragraph::previous
5922         (TeXOnePar): ditto
5923
5924         * text.C (breakParagraph): adjust
5925
5926         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5927         BufferParams& as arg.
5928         (breakParagraph): use ParagraphList::insert
5929         (breakParagraphConservative): take a Buffer* instead of a
5930         BufferParams& as arg.
5931         (breakParagraphConservative): use ParagraphList::insert.
5932
5933         * buffer.C (insertStringAsLines): un-const it
5934         (insertStringAsLines): adjust
5935
5936         * ParagraphList.C (insert): new function
5937
5938         * CutAndPaste.C (pasteSelection): adjust
5939
5940         * text.C (backspace): adjust
5941
5942         * tabular.C (SetMultiColumn): adjust
5943
5944         * CutAndPaste.C (cutSelection): adjust
5945         (pasteSelection): adjust
5946
5947         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5948         Buffer const * as arg
5949
5950         * ParagraphList.C (erase): new function
5951         * paragraph_funcs.C (mergeParagraph): use it
5952         (mergeParagraph): make it take a Buffer* instead of a
5953         BufferParams* as arg
5954
5955         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5956         as arg
5957         (breakParagraphConservative): ditto
5958
5959         * paragraph.h: remove the breakParagraph friend
5960
5961         * paragraph.C (eraseIntern): new function
5962         (setChange): new function
5963
5964         * paragraph_funcs.C (mergeParagraph): make it take a
5965         ParagraphList::iterator instead of a Paragraph *, adjust
5966         accordingly.
5967
5968         * paragraph.h: move an #endif so that the change tracking stuff
5969         also works in the NO_NEXT case.
5970
5971 2003-03-04  Angus Leeming  <leeming@lyx.org>
5972
5973         * commandtags.h:
5974         * LyXAction.C: new LFUN_INSET_MODIFY.
5975
5976         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5977         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5978
5979 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * several files: ws changes only
5982
5983         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5984         (TeXEnvironment): ditto
5985         (TeXDeeper): ditto
5986
5987         * buffer.C (makeLaTeXFile): adjust
5988         (latexParagraphs): make it take ParagraphList::iterator as args
5989
5990 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * buffer.C (latexParagraphs): adjust
5993
5994         * paragraph.C (TeXOnePar): move function...
5995         (optArgInset): move function...
5996         (TeXEnvironment): move function...
5997         * paragraph_pimpl.C (TeXDeeper): move function...
5998         * paragraph_funcs.C: ...here
5999
6000         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6001
6002 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * buffer.C (readInset): remove compability code for old Figure and
6005         InsetInfo insets
6006
6007 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6008
6009         * buffer.C: ws changes
6010         (readInset):
6011
6012         * BufferView_pimpl.C: ditto
6013         * author.C: ditto
6014         * buffer.h: ditto
6015         * bufferlist.h: ditto
6016         * changes.h: ditto
6017         * lyxfunc.C: ditto
6018
6019 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6020
6021         * converter.[Ch]: split into itself +
6022         * graph.[Ch]
6023         * format.[Ch]
6024         * Makefile.am: += graph.[Ch] + format.[Ch]
6025         * MenuBackend.C
6026         * buffer.C
6027         * exporter.C
6028         * importer.C
6029         * lyx_main.C
6030         * lyxfunc.C
6031         * lyxrc.C: added #include "format.h"
6032
6033 2003-02-27  Angus Leeming  <leeming@lyx.org>
6034
6035         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6036           a label.
6037
6038         * factory.C (createInset): add "label" to the factory.
6039
6040         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6041           string and do no more.
6042
6043 2003-02-27  Angus Leeming  <leeming@lyx.org>
6044
6045         * commandtags.h:
6046         * LyXAction.C (init):
6047         * factory.C (createInset):
6048         * BufferView_pimpl.C (dispatch):
6049           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6050
6051         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6052
6053         * lyxfunc.C (dispatch):
6054         * text3.C (dispatch): pass name to params2string.
6055
6056 2003-02-26  Angus Leeming  <leeming@lyx.org>
6057
6058         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6059           blocks together.
6060           Rearrange the ~includes. Strip out the unnecessary ones.
6061
6062         * factory.C (createInset): reformat.
6063           create new insets for the various LFUN_XYZ_APPLY lfuns.
6064
6065 2003-02-26  John Levon  <levon@movementarian.org>
6066
6067         * lyxrow.h:
6068         * lyxrow.C: add isParStart,isParEnd helpers
6069
6070         * paragraph.h: make isInserted/DeletedText take refs
6071
6072         * paragraph_funcs.h:
6073         * paragraph_funcs.C: remove #if 0'd code
6074
6075         * lyxtext.h:
6076         * text3.C:
6077         * text2.C:
6078         * text.C: use lyxrow helpers above.
6079           Move draw and paint routines to RowPainter.
6080           Make several methods use refs not pointers.
6081           Make backgroundColor() const.
6082           Add markChangeInDraw(), isInInset().
6083           Merge changeRegionCase into changeCase.
6084           Make workWidth() shouldn't-happen code into an Assert.
6085
6086         * rowpainter.h:
6087         * rowpainter.C: new class for painting a row.
6088
6089         * vspace.h:
6090         * vspace.C: make inPixels take a ref
6091
6092 2003-02-26  Angus Leeming  <leeming@lyx.org>
6093
6094         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6095         LFUN_REF_APPLY.
6096
6097 2003-02-25  John Levon  <levon@movementarian.org>
6098
6099         * ispell.C: give the forked command a more accurate name
6100
6101 2003-02-22  John Levon  <levon@movementarian.org>
6102
6103         * toc.h:
6104         * toc.C: make TocItem store an id not a Paragraph *
6105           (bug #913)
6106
6107 2003-02-21  Angus Leeming  <leeming@lyx.org>
6108
6109         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6110           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6111           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6112           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6113           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6114           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6115
6116         * BufferView_pimpl.C (dispatch):
6117         * LyXAction.C (init):
6118         * factory.C (createInset):
6119         * lyxfunc.C (getStatus, dispatch):
6120         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6121
6122 2003-02-21  Angus Leeming  <leeming@lyx.org>
6123
6124         * BufferView_pimpl.C (MenuInsertLyXFile):
6125         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6126         * lyxfunc.C (menuNew, open, doImport):
6127           no longer pass a LyXView & to fileDlg.
6128
6129 2003-02-21  Angus Leeming  <leeming@lyx.org>
6130
6131         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6132         * LyXAction.C: change, BIBKEY to BIBITEM.
6133         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6134         Change InsetBibKey to InsetBibitem.
6135         Change BIBKEY_CODE to BIBITEM_CODE.
6136         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6137         * factory.C: replace insetbib.h with insetbibitem.h.
6138         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6139         * paragraph.C: replace insetbib.h with insetbibitem.h.
6140         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6141         Change bibkey() to bibitem().
6142         * text.C: remove insetbib.h.
6143         * text2.C: replace insetbib.h with insetbibitem.h.
6144         change bibkey() to bibitem().
6145         * text3.C: remove insetbib.h.
6146         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6147
6148 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6149
6150         * lyxrc.C (output): enclose user email in quotes (in case there are
6151         several words)
6152
6153 2003-02-18  John Levon  <levon@movementarian.org>
6154
6155         * buffer.h: add std::
6156
6157 2003-02-17  John Levon  <levon@movementarian.org>
6158
6159         * SpellBase.h:
6160         * ispell.h:
6161         * ispell.C:
6162         * pspell.h:
6163         * pspell.C: reworking. Especially in ispell, a large
6164           number of clean ups and bug fixes.
6165
6166         * lyxfunc.C: fix revert to behave sensibly
6167
6168 2003-02-17 André Pönitz <poenitz@gmx.net>
6169
6170         * LyXAction.C:
6171         * commandtags.h: new LFUN_INSERT_BIBKEY
6172
6173         * layout.h:
6174         * lyxlayout.C:
6175         * buffer.C:
6176         * factory.C:
6177         * text.C:
6178         * text2.C:
6179         * text3.C:
6180         * paragraph.[Ch]:
6181         * paragraph_func.C: remove special bibkey handling
6182
6183 2003-02-17  John Levon  <levon@movementarian.org>
6184
6185         * text.C (Delete): fix case where delete at the end of
6186           the very first paragraph would not merge the pars
6187
6188 2003-02-17  John Levon  <levon@movementarian.org>
6189
6190         * lyxrow.C: fix lastPrintablePos()
6191
6192 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6193
6194         * bufferparams.C (writeLaTeX): add a std:here
6195
6196         * buffer.C: and remove a using directive there
6197
6198 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6199
6200         * buffer.C (makeLaTeXFile): move the code that generates the
6201           preamble...
6202
6203         * bufferparams.C (writeLaTeX): ... in this new method
6204
6205         * LaTeXFeatures.C (getEncodingSet): make const
6206           (getLanguages): make const
6207
6208         * MenuBackend.C (binding): returns the binding associated to this
6209           action
6210           (add): sets the status of each item by calling getStatus. Adds
6211           some intelligence.
6212           (read): add support for OptSubMenu
6213           (expand): remove extra separator at the end of expanded menu
6214
6215 2003-02-15  John Levon  <levon@movementarian.org>
6216
6217         * BufferView.C:
6218         * BufferView_pimpl.C:
6219         * bufferlist.h:
6220         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6221           inset code that had no actual effect. Remove unneeded status
6222           code.
6223
6224 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6225
6226         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6227           in preamble
6228
6229 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6230
6231         * text.C (drawLengthMarker): also draw an arrow marker for
6232           symbolic lengths (medskip...)
6233
6234 2003-02-14  John Levon  <levon@movementarian.org>
6235
6236         * tabular.h:
6237         * tabular.C: better method names
6238
6239 2003-02-14  John Levon  <levon@movementarian.org>
6240
6241         * BufferView_pimpl.C:
6242         * bufferlist.C:
6243         * buffer.C:
6244         * converter.C:
6245         * lyx_cb.C:
6246         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6247           it's a more accurate name. Remove some pointless uses.
6248
6249 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6250
6251         * text2.C (LyXText): change order of initilizers to shut off
6252           warnings
6253
6254 2003-02-14  John Levon  <levon@movementarian.org>
6255
6256         * buffer.C: use ParIterator for getParFromID()
6257
6258         * paragraph.h:
6259         * paragraph.C:
6260         * paragraph_pimpl.h:
6261         * paragraph_pimpl.C: remove unused getParFromID()
6262
6263 2003-02-14  John Levon  <levon@movementarian.org>
6264
6265         * buffer.C: remove some very old #if 0'd parse code
6266
6267 2003-02-13  John Levon  <levon@movementarian.org>
6268
6269         * text.h:
6270         * text.C:
6271         * text2.C: move hfillExpansion(), numberOfSeparators(),
6272           rowLast(), rowLastPrintable(), numberofHfills(),
6273           numberOfLabelHfills() ...
6274
6275         * lyxrow.h:
6276         * lyxrow.C: ... to member functions here.
6277
6278         * paragraph.h:
6279         * paragraph.C:
6280         * lyxtext.h:
6281         * text.C: remove LyXText::beginningOfMainBody(), and call
6282           p->beginningOfMainBody() directly. Move the check for
6283           LABEL_MANUAL into the latter.
6284
6285         * text.h:
6286         * text.C:
6287         * text2.C:
6288         * vspace.C:
6289         * BufferView.h:
6290         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6291
6292         * text.h:
6293         * text.C:
6294         * text2.C:
6295         * text3.C:
6296         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6297           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6298
6299 2003-02-13  John Levon  <levon@movementarian.org>
6300
6301         * CutAndPaste.C: remove debug
6302
6303 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6304
6305         * paragraph.C (asString): remove two unused variables
6306
6307         * lyxtextclass.C (readTitleType):
6308           (Read):
6309           (LyXTextClass): handle new members titletype_ and titlename_
6310
6311         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6312
6313 2003-02-09  John Levon  <levon@movementarian.org>
6314
6315         * buffer.h:
6316         * buffer.C: replace hand-coded list with a map for the dep clean
6317
6318 2003-02-08  John Levon  <levon@movementarian.org>
6319
6320         * LaTeX.C: consolidate code into showRunMessage() helper
6321
6322 2003-02-08  John Levon  <levon@movementarian.org>
6323
6324         * lyxfind.C:
6325         * lyxtext.h:
6326         * text2.C:
6327         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6328           and pass the size in explicitly
6329
6330         * BufferView_pimpl.h:
6331         * BufferView_pimpl.C:
6332         * BufferView.h:
6333         * BufferView.C: add getCurrentChange()
6334
6335         * BufferView_pimpl.h:
6336         * BufferView_pimpl.C: handle change lfuns
6337
6338         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6339           for changes. Mark pasted paragraphs as new.
6340
6341         * support/lyxtime.h:
6342         * support/lyxtime.C:
6343         * DepTable.C: abstract time_t as lyx::time_type
6344
6345         * LColor.h:
6346         * LColor.C: add colours for new text, deleted text, changebars
6347
6348         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6349           package use "usenames" option.
6350
6351         * commandtags.h:
6352         * lyxfunc.C:
6353         * LyXAction.C: add change lfuns
6354
6355         * Makefile.am:
6356         * author.h:
6357         * author.C: author handling
6358
6359         * buffer.h:
6360         * buffer.C: add a per-buffer author list, with first entry as
6361           current author. Handle new .lyx tokens for change tracking. Output
6362           author list to .lyx file. Output dvipost stuff to .tex preamble.
6363           Bump lyx format to 222.
6364
6365         * bufferlist.h:
6366         * bufferlist.C: add setCurrentAuthor() to reset current author details
6367           in all buffers.
6368
6369         * bufferparams.h:
6370         * bufferparams.C: add param for tracking
6371
6372         * bufferview_funcs.C: output change info in minibuffer
6373
6374         * Makefile.am:
6375         * changes.h:
6376         * changes.C: add change-tracking structure
6377
6378         * debug.h:
6379         * debug.C: add CHANGES debug flag
6380
6381         * lyxfind.h:
6382         * lyxfind.C: add code for finding the next change piece
6383
6384         * lyxrc.h:
6385         * lyxrc.C: add user_name and user_email
6386
6387         * lyxrow.h:
6388         * lyxrow.C: add a metric for the top of the text line
6389
6390         * lyxtext.h:
6391         * text.C: implement accept/rejectChange()
6392
6393         * lyxtext.h:
6394         * text.C: paint changebars. Paint new/deleted text in the chosen
6395         colours. Strike through deleted text.
6396
6397         * paragraph.h:
6398         * paragraph.C:
6399         * paragraph_pimpl.h:
6400         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6401           in the current change to the insert functions. Rework erase to
6402           mark text as deleted, adding an eraseIntern() and a range-based
6403           erase(). Implement per-paragraph change lookup and
6404           accept/reject.
6405
6406         * paragraph_funcs.C: Fixup paste for change tracking.
6407
6408         * tabular.C: mark added row/columns as new.
6409
6410         * text.C: fix rowLast() to never return -1. Don't allow
6411           spellchecking of deleted text. Track transpose changes. Don't
6412           allow paragraph break or merge where appropriate.
6413
6414         * text2.C: leave cursor at end of selection after a cut.
6415
6416 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6417
6418         * text.C (getLengthMarkerHeight):
6419         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6420         visible on screen too.
6421
6422 2003-02-07  John Levon  <levon@movementarian.org>
6423
6424         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6425
6426 2003-02-05  Angus Leeming  <leeming@lyx.org>
6427
6428         * lyxserver.C (read_ready): revert my patch of 11 September last year
6429         as it sends PC cpu through the roof. Presumably this means that
6430         the lyxserver will no longer run on an Alpha...
6431
6432 2003-01-30  Angus Leeming  <leeming@lyx.org>
6433
6434         * factory.C (createInset): create an InsetCommandParam of type "index"
6435         and use it to 'do the right thing'.
6436
6437         * text2.C (getStringToIndex): ensure that cursor position is always
6438         reset to the reset_cursor position.
6439
6440 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6441
6442         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6443         disabled.
6444
6445 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6446
6447         * bufferview.C:
6448         * lyxcb.C:
6449         * lyxfunc.C: Output messages with identical spelling, punctuation,
6450         and spaces
6451
6452 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6453
6454         * MenuBackend.C (expandFormats): List only viewable export formats
6455         in "View" menu
6456
6457         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6458         message
6459
6460         * lyxfunc.C (getStatus): Make sure that formats other than
6461         "fax" can also be disabled
6462
6463 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6464
6465         * text3.C (dispatch): put the lfuns that insert insets in 3
6466         groups, and call doInsertInset with appropriate arguments.
6467         (doInsertInset): new function, that creates an inset and inserts
6468         it according to some boolean parameters.
6469
6470 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * buffer.C (readFile): remember to pass on 'par' when calling
6473         readFile recursively.
6474
6475 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6476
6477         * MenuBackend.C (expandFormats): add "..." to import formats.
6478
6479 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * paragraph.C (asString): Remove XForms RTL hacks.
6482
6483 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6484         * buffer.C: fix typo
6485
6486 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * Makefile.am (LIBS): delete var
6489         (lyx_LDADD): add @LIBS@ here instead.
6490
6491 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6492
6493         * Clarify the meaning of "wheel mouse jump"
6494
6495 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6496
6497         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6498         tabular in a float
6499
6500 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6501
6502         * importer.C (Loaders): do not preallocate 3 elements in the
6503         vector, since one ends up with 6 elements otherwise
6504
6505 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6506
6507         * DepTable.C (write): write the file name as last element of the
6508         .dep file (because it may contain spaces)
6509         (read): read info in the right order
6510
6511 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6512
6513         * paragraph_pimpl.C (simpleTeXBlanks):
6514         (simpleTeXSpecialChars):
6515         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6516
6517         * tabular.C (latex): add some missing case statements. Reindent.
6518
6519         * MenuBackend.C (expandToc): remove unused variable.
6520
6521 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6522
6523         * LColor.C:
6524         * LaTeX.C:
6525         * LyXAction.C:
6526         * MenuBackend.C:
6527         * buffer.C:
6528         * exporter.C:
6529         * lyxfunc.C:
6530         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6531         and the like.
6532
6533 2003-01-05  John Levon  <levon@movementarian.org>
6534
6535         * BufferView.h:
6536         * BufferView.C: add getEncoding()
6537
6538         * kbsequence.h:
6539         * kbsequence.C: do not store last keypress
6540
6541         * lyxfunc.h:
6542         * lyxfunc.C: store last keypress here instead. Pass encoding
6543           to getISOEncoded()
6544
6545 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6546
6547         * lyx_main.C (init): remove annoying error message when following
6548         symbolic links (bug #780)
6549
6550 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6551
6552         * text.C (insertChar):
6553         * lyxrc.C (getDescription): remove extra spaces
6554
6555 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6556
6557         * lyxrc.C (getDescription): remove extra spaces
6558
6559 2002-12-20  John Levon  <levon@movementarian.org>
6560
6561         * text3.C: hack fix for page up/down across tall rows
6562
6563 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6564
6565         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6566         not been invoked
6567
6568 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6569
6570         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6571         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6572         thesaurus is not compiled in
6573
6574 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6575
6576         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6577
6578 2002-12-16  Angus Leeming  <leeming@lyx.org>
6579
6580         * lyxrc.[Ch]:
6581         * lyx_main.C (init): remove override_x_deadkeys stuff.
6582
6583 2002-12-12  John Levon  <levon@movementarian.org>
6584
6585         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6586           insert. Only remove shift modifier under strict
6587           circumstances.
6588
6589 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * MenuBackend.C (expandToc): fix crash.
6592
6593 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * MenuBackend.C (expandToc): gettext on float names.
6596
6597 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6598
6599         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6600         implement bool empty() [bug 490]
6601
6602 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6605
6606 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * several files: ws changes
6609
6610 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * text2.C (setCounter): clean up a bit, use boost.format.
6613         (updateCounters): initialize par upon declaration.
6614
6615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6616         if the layout exists. We do not just store the layout any more.
6617         (SwitchLayoutsBetweenClasses): use boost.format
6618
6619 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6620
6621         * converter.C (convert): if from and to files are the same, use a
6622         temporary files as intermediary
6623
6624 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6625
6626         * commandtags.h:
6627         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6628
6629 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6630
6631         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6632
6633 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * tabular.C (asciiPrintCell): use string(size, char) instead of
6636         explicit loop.
6637
6638         * sgml.C (openTag): fix order of arguments to string constructor
6639         (closeTag): ditto
6640
6641         * lyxfunc.C (dispatch): use boost.format
6642
6643         * lots of files: change "c" -> 'c'
6644
6645 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6646
6647         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6648
6649 2002-11-25  Angus Leeming  <leeming@lyx.org>
6650
6651         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6652
6653         * lyx_main.C (init): compile fix.
6654
6655 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * lyx_cb.C (start): boost.formatify
6658         do not include <iostream>
6659
6660         * lengthcommon.C: ws only
6661
6662         * boost-inst.C,BoostFormat.h: add more explict instantations
6663
6664 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * lots of files: handle USE_BOOST_FORMAT
6667
6668 2002-11-21  John Levon  <levon@movementarian.org>
6669
6670         * pspell.C: fix compile
6671
6672 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6673
6674         * lyxfunc.C (dispatch): use boost::format
6675         (open): ditto
6676         (doImport): ditto
6677
6678         * lyxfont.C (stateText): use boost::format
6679
6680         * lyx_main.C (LyX): use boost::format
6681         (init): ditto
6682         (queryUserLyXDir): ditto
6683         (readRcFile): ditto
6684         (parse_dbg): ditto
6685         (typedef boost::function): use the recommened syntax.
6686
6687         * importer.C (Import): use boost::format
6688
6689         * debug.C (showLevel): use boost::format
6690
6691         * converter.C (view): use boost::format
6692         (convert): ditto
6693         (move): ditto
6694         (scanLog): ditto
6695
6696         * bufferview_funcs.C (currentState): use boost::format
6697
6698         * bufferlist.C (emergencyWrite): use boost::format
6699
6700         * buffer.C (readLyXformat2): use boost::format
6701         (parseSingleLyXformat2Token): ditto
6702
6703         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6704
6705         * LaTeX.C (run): use boost::format
6706
6707         * Chktex.C (scanLogFile): use boost::format
6708
6709         * BufferView_pimpl.C (savePosition): use boost::format
6710         (restorePosition): ditto
6711         (MenuInsertLyXFile): ditto
6712
6713         * BoostFormat.h: help file for explicit instation.
6714
6715 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6716
6717         * tabular.C (latex): Support for block alignment in fixed width
6718         columns.
6719
6720 2002-11-17  John Levon  <levon@movementarian.org>
6721
6722         * BufferView_pimpl.C:
6723         * lyx_cb.C:
6724         * lyxfunc.C: split filedialog into open/save
6725
6726 2002-11-08  Juergen Vigna  <jug@sad.it>
6727
6728         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6729         by my last patch (hopefully).
6730
6731 2002-11-08  John Levon  <levon@movementarian.org>
6732
6733         * iterators.h:
6734         * iterators.C:
6735         * buffer.h:
6736         * buffer.C:
6737         * paragraph.h:
6738         * paragraph.C:
6739         * toc.h:
6740         * toc.C: ParConstIterator, and use it (from Lars)
6741
6742 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6743
6744         * lyxtextclass.[Ch]: revise and add doxygen comments
6745
6746 2002-11-07  John Levon  <levon@movementarian.org>
6747
6748         * text.C: fix progress value for spellchecker
6749
6750         * toc.C: fix navigate menu for insetwrap inside minipage
6751
6752         * paragraph_funcs.C: added FIXME for suspect code
6753
6754 2002-11-07  John Levon  <levon@movementarian.org>
6755
6756         * BufferView_pimpl.C: fix redrawing of insets
6757           on buffer switch
6758
6759 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6760
6761         * text2.C (updateCounters): fix bug 668
6762
6763 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6764
6765         * text3.C (dispatch): Do not make the buffer dirty when moving the
6766         cursor.
6767
6768 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * vc-backend.C: STRCONV
6771         (scanMaster): ditto
6772
6773         * text2.C (setCounter): STRCONV
6774
6775         * paragraph.C (asString): STRCONV
6776
6777         * lyxlength.C (asString): STRCONV
6778         (asLatexString): ditto
6779
6780         * lyxgluelength.C (asString): STRCONV
6781         (asLatexString): ditto
6782
6783         * lyxfunc.C (dispatch): STRCONV
6784         (open): ditto
6785
6786         * lyxfont.C (stateText): STRCONV
6787
6788         * importer.C (Import): STRCONV
6789
6790         * counters.C (labelItem): STRCONV
6791         (numberLabel): ditto
6792         (numberLabel): remove unused ostringstream o
6793
6794         * chset.C: STRCONV
6795         (loadFile): ditto
6796
6797         * bufferview_funcs.C (currentState): STRCONV
6798
6799         * buffer.C (readFile): STRCONV
6800         (asciiParagraph): ditto
6801         (makeLaTeXFile): ditto
6802
6803         * Spacing.C (writeEnvirBegin): STRCONV
6804
6805         * LaTeXFeatures.C (getLanguages): STRCONV
6806         (getPackages): ditto
6807         (getMacros): ditto
6808         (getBabelOptions): ditto
6809         (getTClassPreamble): ditto
6810         (getLyXSGMLEntities): ditto
6811         (getIncludedFiles): ditto
6812
6813         * LaTeX.C: STRCONV
6814         (run): ditto
6815         (scanAuxFile): ditto
6816         (deplog): ditto
6817
6818         * LString.h: add the STRCONV macros
6819
6820         * BufferView_pimpl.C (savePosition): STRCONV
6821         (restorePosition): ditto
6822         (MenuInsertLyXFile): ditto
6823
6824         * vc-backend.C (scanMaster): change from submatch[...] to
6825         submatch.str(...)
6826
6827         * funcrequest.C: include config.h
6828
6829         * factory.C: include config.h
6830
6831         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6832
6833         * box.C: include config.h
6834
6835         * LaTeX.C (scanAuxFile): change from submatch[...] to
6836         submatch.str(...)
6837         (deplog): ditto
6838
6839 2002-10-25  Angus Leeming  <leeming@lyx.org>
6840
6841         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6842
6843         * ispell.[Ch] (setError): new method.
6844         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6845         Use setError() insetead of goto END.
6846
6847         * lyx_cb.C (AutoSave): move out child process into new class
6848         AutoSaveBuffer.
6849
6850 2002-10-30  John Levon  <levon@movementarian.org>
6851
6852         * text3.C: make start appendix undoable
6853
6854 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6855
6856         * lyxlength.C (inPixels): Fix returned value.
6857
6858         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6859         environment.
6860
6861 2002-10-24  Angus Leeming  <leeming@lyx.org>
6862
6863         * lyxgluelength.h: no need to forward declare BufferParams
6864         or BufferView, so don't.
6865
6866 2002-10-21  John Levon  <levon@movementarian.org>
6867
6868         * BufferView.C: menuUndo ->undo, redo
6869
6870         * BufferView.h: document, remove dead, make some methods private
6871
6872         * paragraph_funcs.h:
6873         * paragraph_funcs.C:
6874         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6875
6876         * buffer.h:
6877         * buffer.C:
6878         * sgml.h:
6879         * sgml.C: move sgml open/close tag into sgml.C
6880
6881         * bufferview_funcs.h: unused prototype
6882
6883         * lyxfunc.h:
6884         * lyxfunc.C: remove unused
6885
6886         * lyxtext.h:
6887         * text.C: remove unused
6888
6889 2002-10-21  John Levon  <levon@movementarian.org>
6890
6891         * BufferView.h:
6892         * BufferView.C:
6893         * BufferView_pimpl.h:
6894         * BufferView_pimpl.C: fix mouse wheel handling based on
6895           patch from Darren Freeman
6896
6897 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6898
6899         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6900
6901 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6902
6903         * lyxlength.C (inPixels): Fix hanfling of negative length.
6904         Fix LyXLength::MU case.
6905
6906 2002-10-16  John Levon  <levon@movementarian.org>
6907
6908         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6909
6910 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6911
6912         * converter.C (view): add support for $$i (file name) and $$p
6913         (file path) for the viewer command. If $$i is not specified, then
6914         it is appended to the command (for compatibility with old syntax)
6915
6916 2002-10-14  Juergen Vigna  <jug@sad.it>
6917
6918         * undo_funcs.C (textHandleUndo): alter the order in which the
6919         new undopar is added to the LyXText, as we have to set first
6920         the right prev/next and then add it as otherwise the rebuild of
6921         LyXText is not correct. Also reset the cursor to the right paragraph,
6922         with this IMO we could remove the hack in "redoParagraphs()".
6923
6924 2002-10-09  Angus Leeming  <leeming@lyx.org>
6925
6926         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6927         to turn off an optimisation if a new inset is to be inserted.
6928
6929 2002-10-11 André Pönitz <poenitz@gmx.net>
6930
6931         * lyxtext.h: make some functions public to allow access
6932         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6933
6934 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6935
6936         * text3.C (dispatch): when changing layout, avoid an infinite loop
6937         [bug #652]
6938
6939 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6940
6941         * lyxrc.C (read): treat a viewer or converter command of "none" as
6942         if it were empty.
6943
6944         * MenuBackend.C (expandFormats): for an update, also allow the
6945         formats that are not viewable
6946
6947         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6948         script if it is newer than the lyxrc.defaults in user directory
6949
6950 2002-10-07 André Pönitz <poenitz@gmx.net>
6951
6952         * text.C: Vitaly Lipatov's small i18n fix
6953
6954 2002-09-25  Angus Leeming  <leeming@lyx.org>
6955
6956         * ispell.h: doxygen fix.
6957
6958 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6959
6960         * buffer.h (readFile): Add a new argument to the method, to allow
6961         reading of old-format templates.
6962
6963 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6964
6965         * toc.C (getTocList): Get TOC from InsetWrap.
6966
6967 2002-09-16  John Levon  <levon@movementarian.org>
6968
6969         * lyxfunc.C: check tabular for cut/copy too
6970
6971 2002-09-12  John Levon  <levon@movementarian.org>
6972
6973         * LyXAction.C: tidy
6974
6975         * factory.h:
6976         * factory.C: add header
6977
6978         * paragraph_funcs.h:
6979         * paragraph_funcs.C: cleanup
6980
6981 2002-09-11  John Levon  <levon@movementarian.org>
6982
6983         * PrinterParams.h: odd/even default to true
6984
6985 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6986
6987         * PrinterParams.h: update printer parameters for new xforms dialog
6988
6989 2002-09-11  Angus Leeming  <leeming@lyx.org>
6990
6991         * lyxserver.C (read_ready): re-write to make it more transparent
6992         and to make it work in coherent fashion under Tru64 Unix.
6993
6994 2002-09-11  André Pönitz <poenitz@gmx.net>
6995
6996         * commandtags.h:
6997         * LyXAction.C:
6998         * text3.C: implement LFUN_WORDSEL
6999
7000 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7003         make floatlist_ a boost::shared_ptr<FloatList>
7004
7005         * lyxtextclass.C: include FloatList.h
7006         (LyXTextClass): initialize floatlist_
7007         (TextClassTags): add TC_NOFLOAT
7008         (Read): match "nofloat" to TC_NOFLOAT and use it.
7009         (readFloat): modify call to floatlist_
7010         (floats): ditto
7011         (floats): ditto
7012
7013         * FloatList.[Ch] (FloatList): remove commented out float
7014         initialization.
7015         (erase): new function
7016
7017 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7018
7019         * MenuBackend.C (expandToc): fix crash when there is no document
7020         open
7021
7022 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7023
7024         * many files: Add insetwrap.
7025
7026 2002-09-09  John Levon  <levon@movementarian.org>
7027
7028         * text2.C: remove confusing and awkward depth wraparound
7029
7030 2002-09-09  John Levon  <levon@movementarian.org>
7031
7032         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7033
7034         * buffer.h:
7035         * buffer.C: remove getIncludeonlyList()
7036
7037         * paragraph.C:
7038         * lyxfunc.C: remove headers
7039
7040 2002-09-09  Juergen Vigna  <jug@sad.it>
7041
7042         * text.C (getColumnNearX): fix form Michael this is most
7043         probably a cut&paste bug.
7044
7045 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7048
7049         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7050         references, ws changes.
7051
7052         * text2.C (init): update counters after init
7053         (insertParagraph): no need to set counter on idividual paragraphs.
7054         (setCounter): access the counters object in the textclass object
7055         on in the buffer object.
7056         (updateCounters): ditto
7057
7058         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7059         shared_ptr<Counters> to avoid loading counters.h in all
7060         compilation units.
7061         (LyXTextClass): initialize ctrs_
7062         (TextClassTags): add TC_COUNTER, and ...
7063         (Read): use it here.
7064         (CounterTags): new tags
7065         (readCounter): new function
7066         (counters): new funtion
7067         (defaultLayoutName): return a const reference
7068
7069         * counters.C (Counters): remove contructor
7070         (newCounter): remove a couple of unneeded statements.
7071         (newCounter): simplify a bit.
7072         (numberLabel): some small formatting changes.
7073
7074         * buffer.[Ch]: remove all traces of counters, move the Counters
7075         object to the LyXTextClass.
7076
7077 2002-09-06  Alain Castera  <castera@in2p3.fr>
7078
7079         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7080         package to set the horizontal alignment on fixed width columns.
7081
7082         * lyx_sty.C:
7083         * lyx_sty.h: added tabularnewline macro def.
7084
7085         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7086
7087 2002-09-06  John Levon  <levon@movementarian.org>
7088
7089         * LyXAction.C: tooltips for sub/superscript
7090
7091         * MenuBackend.C: a bit more verbose
7092
7093         * lyxfunc.C: tiny clean
7094
7095         * undo_funcs.C: document undo_frozen
7096
7097 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * counters.C (Counters): add missing algorithm counter.
7100
7101         * text2.C (setCounter): lookup the counter with layouts latexname
7102         instead of by section number.
7103         (setCounter): use a hackish way to lookup the correct enum
7104         counter.
7105         a float name->type change
7106         reset enum couners with counter name directly instead of depth value.
7107
7108         * counters.C (Counters): remove the push_backs, change to use the
7109         float type not the float name.
7110         (labelItem): remove unused string, float name->type change
7111
7112         * counters.h: don't include vector, loose the enums and sects vectors
7113
7114 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7117         (Read): add float->TC_FLOAT to textclassTags
7118         (Read): and handle it in the switch
7119         (readFloat): new function
7120
7121         * FloatList.C (FloatList): comment out the hardcoded float
7122         definitions.
7123
7124         * lyxlayout.h: ws change.
7125
7126 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7127
7128         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7129
7130 2002-09-03  Angus Leeming  <leeming@lyx.org>
7131
7132         * BufferView_pimpl.h: qualified name is not allowed in member
7133         declaration: WorkArea & Pimpl::workarea() const;
7134
7135         * factory.C: added using std::endl directive.
7136
7137         * text3.C: added using std::find and std::vector directives.
7138
7139 2002-08-29  André Pönitz <poenitz@gmx.net>
7140
7141         * lyxtext.h:
7142         * text2.C: remove unused member number_of_rows
7143
7144         * Makefile.am:
7145         * BufferView2.C: remove file, move contents to...
7146         * BufferView.C: ... here
7147
7148         * BufferView_pimpl.C:
7149         * factory.C: move more inset creation to factory
7150
7151         * vspace.C: avoid direct usage of LyXText, ws changes
7152
7153         * BufferView.[Ch]:
7154                 don't provide direct access to WorkArea, use two simple
7155                 acessors haveSelction() and workHeight() instead
7156
7157
7158 2002-08-29  John Levon  <levon@movementarian.org>
7159
7160         * BufferView_pimpl.C (dispatch): do not continue when
7161           no buffer
7162
7163 2002-08-28  André Pönitz <poenitz@gmx.net>
7164
7165         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7166
7167         * BufferView.h:
7168         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7169
7170 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7171
7172         * buffer.C: increment LYX_FORMAT to 221
7173
7174         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7175         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7176
7177         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7178
7179         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7180
7181 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7182
7183         * factory.C (createInset): use LyXTextClass::floats
7184
7185         * MenuBackend.C (expandFloatListInsert):
7186         (expandFloatInsert):
7187         (expandToc):
7188
7189         * text2.C (setCounter):
7190
7191         * LaTeXFeatures.C (useFloat):
7192         (getFloatDefinitions):
7193
7194         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7195
7196         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7197         floatlist_, with accessor floats().
7198
7199         * FloatList.h: remove global FloatList
7200
7201 2002-08-26  André Pönitz <poenitz@gmx.net>
7202
7203         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7204
7205         * BufferView.h:
7206         * BufferView2.C:
7207         * BufferView_pimpl.C:
7208         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7209
7210 2002-08-25  John Levon  <levon@movementarian.org>
7211
7212         * LyXAction.C: fix margin note description
7213
7214 2002-08-24  John Levon  <levon@movementarian.org>
7215
7216         * buffer.C:
7217         * bufferlist.C:
7218         * bufferview_funcs.C:
7219         * lyxfont.C:
7220         * undo_funcs.C: cleanups
7221
7222         * lyxfunc.C: disable CUT/COPY when no selection
7223
7224 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7225
7226         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7227         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7228
7229         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7230         Add backward compatibility to "mono", "gray" and "no".
7231
7232 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7233
7234         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7235         (and file_format >= 200).
7236
7237 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7238
7239         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7240
7241 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7242
7243         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7244
7245 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7246
7247         * BufferView_pimpl.C:
7248         * LyXAction.C:
7249         * buffer.C:
7250         * commandtags.h:
7251         * lyxfunc.C:
7252         * paragraph.[Ch]:
7253         * text2.C:
7254         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7255         inset and code to make it  work with the paragraph code. The inset
7256         can be anywhere in the paragraph, but will only do the expected
7257         thing in LaTeX if the layout file contains the parameter line
7258                         OptionalArgs    1
7259         (or more generally, a nonzero value) for that layout.
7260
7261 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * paragraph.h: remove the declaration of undefined counters class
7264         function.
7265
7266 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7267
7268         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7269         Dr. Richard Hawkins.
7270
7271 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7272
7273         * paragraph_funcs.h: remove some unneeded includes
7274
7275         * text.C (backspace): pasteParagraph now in global scipe
7276
7277         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7278         (pasteSelection): ditto
7279
7280         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7281         * paragraph_funcs.C (pasteParagraph): ... here
7282
7283 2002-08-20  André Pönitz <poenitz@gmx.net>
7284
7285         * commandtags.h: new LFUNs for swapping/copying table row/colums
7286
7287         * LyXAction.C:
7288         * lyxfunc.C: support for new lfuns
7289
7290 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * tabular.C:
7293         * buffer.[Ch]: remove NO_COMPABILITY stuff
7294
7295 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * boost.C (throw_exception): new file, with helper function for
7298         boost compiled without exceptions.
7299
7300         * paragraph.h:
7301         * lyxlength.C:
7302         * buffer.C:
7303         * ParameterStruct.h:
7304         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7305
7306         * bufferlist.C (emergencyWriteAll): use boost bind
7307
7308         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7309
7310         * text.C: include paragraph_funcs.h
7311         (breakParagraph): breakParagraph is now in global scope
7312
7313         * paragraph_funcs.[Ch]: new files
7314
7315         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7316         global scope
7317
7318         * buffer.C: include paragraph_funcs.h
7319         (insertStringAsLines): breakParagraph is now in global scope
7320
7321         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7322         paragraph_funcs.C
7323
7324         * CutAndPaste.C: include paragraph_funcs.h
7325         (cutSelection): breakParagraphConservative is now in global scope
7326         (pasteSelection): ditto
7327
7328         * buffer.h: declare oprator== and operator!= for
7329         Buffer::inset_iterator
7330
7331         * bufferlist.C (emergencyWrite): don't use fmt(...)
7332
7333         * text3.C: add using std::endl
7334
7335         * BufferView.C (moveCursorUpdate): remove default arg
7336
7337 2002-08-20  André Pönitz <poenitz@gmx.net>
7338
7339         * buffer.[Ch]: move inline functions to .C
7340
7341         * BufferView2.C:
7342         * BufferView_pimpl.C:
7343         * text.C:
7344         * buffer.[Ch]: use improved inset_iterator
7345
7346         * buffer.C:
7347         * paragraph.[Ch]: write one paragraph at a time
7348
7349 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7350
7351         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7352         style if style is not specified.
7353
7354 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7355
7356         * text2.C (setCounter): when searching for right label for a
7357         caption, make sure to recurse to parent insets (so that a caption
7358         in a minipage in a figure float works) (bug #568)
7359
7360 2002-08-20  André Pönitz <poenitz@gmx.net>
7361
7362         * text3.C: new file for LyXText::dispatch() and helpers
7363
7364         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7365
7366         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7367
7368 2002-08-19  André Pönitz <poenitz@gmx.net>
7369
7370         * lyxtext.h:
7371         * text.C: new LyXText::dispatch()
7372
7373         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7374
7375 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7376
7377         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7378
7379         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7380         Hebrew text.
7381
7382 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7383
7384         * Makefile.am: use $(variables) instead of @substitutions@
7385
7386 2002-08-15  André Pönitz <poenitz@gmx.net>
7387
7388         * lyxfunc.C:
7389         * BufferView_pimpl.C: streamlining mathed <-> outer world
7390         interaction
7391
7392         * commandtags.h:
7393         * LyXAction.C: remove unused LFUN_MATH
7394
7395 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7398
7399 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * paragraph.C (Paragraph): reformat a bit
7402         (cutIntoMinibuffer): use builtin InsetList function instad of
7403         doing it manually.
7404         (getInset): ditto
7405
7406         * buffer.C: include boost/bind.hpp, add using std::for_each
7407         (writeFileAscii): use ParagraphList iterators
7408         (validate): use for_each for validate traversal of paragraphs
7409         (getBibkeyList): use ParagraphList iterators
7410         (resizeInsets): use for_each to resizeInsetsLyXText for all
7411         paragraphs.
7412         (getParFromID): use ParagraphList iterators
7413
7414         * BufferView2.C (lockInset): use paragraph list and iterators
7415
7416 2002-08-14  John Levon  <levon@movementarian.org>
7417
7418         * lyxserver.C: remove spurious xforms include
7419
7420 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7421
7422         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7423
7424 2002-08-13  André Pönitz <poenitz@gmx.net>
7425
7426         * LyXAction.[Ch]:
7427         * lyxfunc.C: further cleaning
7428
7429 2002-08-13  André Pönitz <poenitz@gmx.net>
7430
7431         * funcrequest.h: new constructor
7432
7433         * funcrequest.C: move stuff here from .h
7434
7435         * Makefile.am:
7436         * BufferView_pimpl.C:
7437         * LyXAction.C:
7438         * toc.C:
7439         * lyxfunc.C: subsequent changes
7440
7441         * lyxfunc.h: new view() member function
7442
7443         * lyxfunc.C: subsequent changes
7444
7445 2002-08-13  Angus Leeming  <leeming@lyx.org>
7446
7447         * BufferView2.C:
7448         * BufferView_pimpl.C:
7449         * buffer.C:
7450         * converter.C:
7451         * importer.C:
7452         * lyxfunc.C:
7453         * lyxvc.C:
7454         * toc.C:
7455         * vc-backend.C:
7456         changes due to the changed LyXView interface that now returns references
7457         to member variables not pointers.
7458
7459 2002-08-13  Angus Leeming  <leeming@lyx.org>
7460
7461         * WordLangTuple (word, lang_code): return references to strings,
7462         not strings.
7463
7464         * BufferView.h:
7465         * SpellBase.h:
7466         * lyxtext.h: forward-declare WordLangTuple.
7467
7468         * BufferView2.C:
7469         * ispell.C:
7470         * pspell.C:
7471         * text.C: #include "WordLangTuple.h".
7472
7473         * lyxtext.h:
7474         * text.C: (selectNextWordToSpellcheck): constify return type.
7475
7476 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7477
7478         * buffer.C:
7479         * buffer.h:
7480         * lyxtext.h:
7481         * paragraph.C:
7482         * paragraph_pimpl.h:
7483         * text.C:
7484         * text2.C:
7485         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7486         suggested by Angus.
7487         Made updateCounter always count from start of buffer, and removed
7488         second argument (par).
7489         Reverted floats number display to '#'. Perhaps I'll try again when the
7490         code base is sanitized a bit.
7491
7492 2002-08-12  Angus Leeming  <leeming@lyx.org>
7493
7494         * buffer.[Ch] (getLabelList): constify.
7495
7496 2002-08-07  André Pönitz <poenitz@gmx.net>
7497
7498         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7499
7500         * funcrequest.h: extension to keep mouse (x,y) position
7501
7502 2002-08-12  Juergen Vigna  <jug@sad.it>
7503
7504         * BufferView2.C (insertErrors): forbid undo when inserting error
7505         insets.
7506
7507         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7508
7509 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * ParagraphList.[Ch]: new files
7512
7513         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7514
7515         * BufferView2.C (lockInset): ParagraphList changes
7516         * toc.C: ditto
7517         * text2.C: ditto
7518         * bufferlist.C: ditto
7519         * buffer.h: ditto
7520         * buffer.C: ditto
7521
7522 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7525         unused class variable counter_,
7526
7527         * paragraph.[Ch] (getFirstCounter): delete unused function
7528
7529         * counters.C: include LAssert.h
7530         (reset): add a new function with no arg, change other version to
7531         not have def. arg and to not allow empty arg.
7532
7533         * text2.C (setCounter): remove empty arg from call to Counters::reset
7534
7535 2002-08-11  John Levon  <levon@movementarian.org>
7536
7537         * Makefile.am: add WordLangTuple.h
7538
7539 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7542         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7543
7544         * insets/insettext.C: InsetList changes
7545
7546         * graphics/GraphicsSupport.C (operator()): InsetList changes
7547
7548         * toc.C (getTocList): InsetList changes
7549
7550         * paragraph_pimpl.[Ch]: InsetList changes
7551
7552         * paragraph.[Ch]: InsetList changes
7553
7554         * buffer.C (inset_iterator): InsetList changes
7555         (setParagraph): ditto
7556         * buffer.h (inset_iterator): ditto
7557         * iterators.C (operator++): ditto
7558         * iterators.h: ditto
7559
7560         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7561
7562         * InsetList.[Ch]: new files, most InsetList handling moved out of
7563         paragraph.C.
7564
7565         * BufferView2.C (removeAutoInsets): InsetList changes
7566         (lockInset): ditto
7567         (ChangeInsets): ditto
7568
7569 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * paragraph_pimpl.h (empty): new function
7572
7573         * paragraph.[Ch] (empty): new function
7574
7575         * other files: use the new Paragraph::empty function
7576
7577 2002-08-09  John Levon  <levon@movementarian.org>
7578
7579         * lyxtext.h: remove unused refresh_height
7580
7581 2002-08-09  John Levon  <levon@movementarian.org>
7582
7583         * Makefile.am:
7584         * sgml.h:
7585         * sgml.C:
7586         * buffer.C:
7587         * paragraph.h:
7588         * paragraph.C: move sgml char escaping out of paragraph
7589
7590         * paragraph.h:
7591         * paragraph.C: remove id setter
7592
7593         * buffer.C:
7594         * paragraph.C:
7595         * paragraph_pimpl.C: remove dead tex_code_break_column
7596
7597         * bufferview_funcs.C: small cleanup
7598
7599         * lyxfunc.C: remove dead proto
7600
7601         * lyxtext.h: make some stuff private. Remove some dead stuff.
7602
7603         * lyxgluelength.C: make as[LyX]String() readable
7604
7605 2002-08-08  John Levon  <levon@movementarian.org>
7606
7607         * LyXAction.h:
7608         * LyXAction.C:
7609         * MenuBackend.C:
7610         * ToolbarDefaults.C:
7611         * lyxfunc.C:
7612         * lyxrc.C:
7613         * toc.C: lyxaction cleanup
7614
7615 2002-08-08  John Levon  <levon@movementarian.org>
7616
7617         * BufferView2.C: small cleanup
7618
7619         * lyxfind.h:
7620         * lyxfind.C: move unnecessary header into the .C
7621
7622 2002-08-08  John Levon  <levon@movementarian.org>
7623
7624         * funcrequest.h: just tedious nonsense
7625
7626         * lyx_main.h:
7627         * lyx_main.C: cleanups
7628
7629         * buffer.C:
7630         * vspace.C: remove dead header lyx_main.h
7631
7632 2002-08-07  Angus Leeming  <leeming@lyx.org>
7633
7634         * Paragraph.[Ch]:
7635         * paragraph_pimpl.h:
7636         Forward declare class Counters in paragraph.h by moving the ctrs member
7637         variable into Paragraph::Pimpl.
7638         (counters): new method, returning a reference to pimpl_->ctrs.
7639
7640         * text2.C: ensuing changes.
7641
7642 2002-08-07  John Levon  <levon@movementarian.org>
7643
7644         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7645
7646         * BufferView_pimpl.C: announce X selection on double/triple
7647           click
7648
7649         * lyx_main.C: use correct bool in batch dispatch
7650
7651         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7652
7653 2002-08-07  André Pönitz <poenitz@gmx.net>
7654
7655         * funcrequest.h: new class to wrap a kb_action and its argument
7656
7657         * BufferView.[Ch]:
7658         * BufferView_pimpl[Ch]:
7659         * LaTeX.C:
7660         * LyXAction.[Ch]:
7661         * lyxfunc.[Ch]:
7662         * lyxrc.C: subsequent changes
7663
7664
7665 2002-08-07  John Levon  <levon@movementarian.org>
7666
7667         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7668           document options change.
7669
7670 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7671
7672         * counters.[Ch]
7673         * text2.C
7674         * paragraph.[Ch]
7675         * makefile.am: move counters functionality over from
7676         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7677
7678 2002-08-06  John Levon  <levon@movementarian.org>
7679
7680         * WordLangTuple.h: new file for word + language code tuple
7681
7682         * SpellBase.h:
7683         * pspell.h:
7684         * pspell.C:
7685         * ispell.h:
7686         * ispell.C:
7687         * lyxtext.h:
7688         * text.C:
7689         * text2.C:
7690         * BufferView.h:
7691         * BufferView2.C: use WordLangTuple
7692
7693         * layout.h:
7694         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7695
7696 2002-08-06  John Levon  <levon@movementarian.org>
7697
7698         * lyx_main.C: fix cmdline batch handling
7699
7700 2002-08-06  André Pönitz <poenitz@gmx.net>
7701
7702         * lyxrc.C: set default for show_banner to true
7703
7704 2002-08-06  John Levon  <levon@movementarian.org>
7705
7706         * pspell.C: fix a crash, and allow new aspell to work
7707
7708 2002-08-06  John Levon  <levon@movementarian.org>
7709
7710         * lyxfunc.C:
7711         * kbmap.C: small cleanup
7712
7713         * vspace.h:
7714         * vspace.C: add const
7715
7716 2002-08-05  John Levon  <levon@movementarian.org>
7717
7718         * LyXAction.C: back to tabular-insert
7719
7720 2002-08-04  John Levon  <levon@movementarian.org>
7721
7722         * BufferView.h:
7723         * BufferView.C: cosmetic change
7724
7725         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7726
7727         * bufferlist.C:
7728         * buffer.h:
7729         * buffer.C:
7730         * lyxcb.h:
7731         * lyxcb.C:
7732         * lyxserver.C:
7733         * lyxvc.C:
7734         * vc-backend.C:
7735         * BufferView2.C: purge all "Lyx" not "LyX" strings
7736
7737         * lyxcursor.h:
7738         * lyxcursor.C: attempt to add some documentation
7739
7740         * lyxfunc.C:
7741         * commandtags.h:
7742         * LyXAction.C:
7743         * ToolbarDefaults.C:
7744         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7745           merge with LFUN_TABULAR_INSERT
7746
7747         * Makefile.am:
7748         * SpellBase.h:
7749         * ispell.h:
7750         * ispell.C:
7751         * pspell.h:
7752         * pspell.C: split up i/pspell implementations into separate
7753           files, many cleanups
7754
7755         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7756
7757         * text2.C: some cleanup
7758
7759         * lyxfunc.C: don't check for isp_command == "none" any more, it
7760           didn't make any sense
7761
7762 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7763
7764         * counters.[Ch]
7765         * text2.C
7766         * paragraph.[Ch]
7767         * makefile.am: move counters functionality over
7768         from text2.C/paragraph.[Ch] to counters.[Ch], and
7769         make proper C++.
7770 2002-08-02  John Levon  <levon@movementarian.org>
7771
7772         * buffer.C: s/lyxconvert/lyx2lyx/
7773
7774 2002-08-02  Angus Leeming  <leeming@lyx.org>
7775
7776         * lyxlex.C: revert John's change as it breaks reading of the user
7777         preamble.
7778
7779 2002-08-02  Angus Leeming  <leeming@lyx.org>
7780
7781         * importer.C (Import):
7782         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7783         changes due to LyXView::view() now returning a boost::shared_ptr.
7784
7785 2002-08-02  John Levon  <levon@movementarian.org>
7786
7787         * lyxlex.C: small cleanup
7788
7789 2002-08-02  John Levon  <levon@movementarian.org>
7790
7791         * text2.C (status): small cleanup, no logic change
7792
7793 2002-08-01  John Levon  <levon@movementarian.org>
7794
7795         * buffer.h:
7796         * buffer.C (writeFile): don't output alerts, caller
7797           handles this
7798
7799         * bufferlist.C:
7800         * lyx_cb.C: from above
7801
7802         * lyxfunc.C: allow to open non-existent files
7803
7804 2002-07-31  John Levon  <levon@movementarian.org>
7805
7806         * lyxserver.C: don't let incidental errors get
7807           in the way (errno)
7808
7809 2002-07-30  John Levon  <levon@movementarian.org>
7810
7811         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7812
7813 2002-07-30  John Levon  <levon@movementarian.org>
7814
7815         * lyxserver.h:
7816         * lyxserver.C: remove I/O callback too
7817
7818 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7821         log.
7822
7823 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * many files: strip,frontStrip -> trim,ltrim,rtrim
7826
7827 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * PrinterParams.h: remove extern containsOnly, and include
7830         support/lstrings.h instead.
7831
7832         * LaTeX.C (scanAuxFile): modify because of strip changes
7833         (deplog): ditto
7834         * buffer.C (makeLaTeXFile): ditto
7835         * bufferparams.C (writeFile): ditt
7836         * lyxfont.C (stateText): ditto
7837         * lyxserver.C (read_ready): ditto
7838         * vc-backend.C (scanMaster): ditto
7839
7840         * BufferView_pimpl.h: ws changes
7841
7842         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7843
7844 2002-07-26  André Pönitz <poenitz@gmx.net>
7845
7846         * kb_sequence.C: remove unnedred usings
7847
7848 2002-07-26  Juergen Vigna  <jug@sad.it>
7849
7850         * lyxfind.C (LyXReplace): we have to check better if the returned
7851         text is not of theLockingInset()->getLockingInset().
7852
7853 2002-07-25  Juergen Vigna  <jug@sad.it>
7854
7855         * lyxfind.C (LyXReplace): don't replace if we don't get the
7856         right LyXText.
7857
7858         * undo_funcs.C (createUndo): remove debugging code.
7859
7860 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7861
7862         * buffer.C (parseSingleLyXformat2Token): Use default placement
7863         when reading old floats.
7864
7865         * FloatList.C (FloatList): Change the default placement of figure
7866         and tables to "tbp".
7867
7868 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * MenuBackend.C: using std::max
7871
7872 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * MenuBackend.C (expandToc):
7875         (expandToc2): code moved from xforms menu frontend. It is now
7876         generic and TOCs are transparent to menu frontends.
7877
7878 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7879
7880         * toc.C (getTocList): protect against buf=0
7881
7882         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7883         Menu as first parameter. Now, this calls itself recursively to
7884         expand a whole tree (this will be useful for TOC handling)
7885         (expandFloatInsert): remove 'wide' version of floats
7886
7887         * MenuBackend.h (submenuname): returns the name of the submenu.
7888         (submenu): returns the submenu itself, provided it has been
7889         created by MenuBackend::expand
7890
7891 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7892
7893         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7894         insets which have noFontChange == true. (bug #172)
7895
7896 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7897
7898         * BufferView_pimpl.C: add connection objects and use them...
7899         (Pimpl): here.
7900
7901 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7902
7903         * MenuBackend.C (expandLastfiles):
7904         (expandDocuments):
7905         (expandFormats):
7906         (expandFloatListInsert):
7907         (expandFloatInsert):
7908         (expand): split expand in parts
7909
7910 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7911
7912         * lyx_gui.C: use lyx_gui::exit()
7913
7914 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7915
7916         * LyXAction.C: show the failing pseudo action
7917
7918 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7919
7920         * buffer.C (readFile): Run the lyxconvert script in order to read
7921         old files.
7922
7923 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * LyXAction.C:
7926         * commandtags.h:
7927         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7928
7929 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * LyXAction.C:
7932         * commandtags.h:
7933         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7934
7935 2002-07-22  Herbert Voss  <voss@lyx.org>
7936
7937         * lengthcommon.C:
7938         * lyxlength.[Ch]: add support for the vertical lengths
7939
7940 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * toc.[Ch]: std:: fixes
7943
7944 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7945
7946         * lyxrc.C: do not include lyx_main.h
7947
7948         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7949         for layouts
7950
7951         * lyxrc.C:
7952         * encoding.C:
7953         * bufferlist.C:
7954         * BufferView2.C: include "lyxlex.h"
7955
7956         * tabular.h:
7957         * bufferparams.h: do not #include "lyxlex.h"
7958
7959         * lyxtextclasslist.C (Add): remove method
7960         (classlist): renamed to classlist_
7961
7962         * paragraph_pimpl.C:
7963         * paragraph.C:
7964         * text2.C:
7965         * CutAndPaste.C:
7966         * bufferview_funcs.C:
7967         * bufferlist.C:
7968         * text.C:
7969         * LaTeXFeatures.C:
7970         * buffer.C:
7971         * toc.C (getTocList): use BufferParams::getLyXTextClass
7972
7973         * toc.C (getTocList): use InsetFloat::addToToc
7974
7975         * toc.[Ch]: new files, containing helper functions to handle table
7976         of contents
7977
7978         * lyxfunc.C (dispatch): no need to remove spaces around command
7979         given as a string
7980         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7981         first command of the sequence; it is not very clever, but I do not
7982         have a better idea, actually
7983
7984         * LyXAction.C (LookupFunc): make sure to remove space at the
7985         beginning and end of the command
7986
7987 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7988
7989         * MenuBackend.C (getMenubar): new method: return the menubar of
7990         this menu set
7991         (read): treat differently reading of menu and menubar (in
7992         particular, the menubar has no name now)
7993         (Menu::menubar): remove
7994
7995         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7996         saving is finished
7997
7998 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7999
8000         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8001         a bibitem inset in a RTL paragraph.
8002
8003 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8004
8005         * paragraph_pimpl.C: constify
8006
8007         * BufferView_pimpl.C:
8008         * LaTeX.C:
8009         * lyxfunc.C: fix dispatch in a nicer way
8010
8011 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8012
8013         * lyxfunc.C (dispatch):
8014         * BufferView_pimpl.C:
8015         * BufferView_pimpl.h:
8016         * BufferView.C:
8017         * BufferView.h: rename Dispatch() to dispatch()
8018
8019         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8020
8021         * lyxlayout.C (Read): honor DependsOn tag
8022
8023         * lyxlayout.[Ch] (depends_on): new method
8024
8025         * version.C.in: update lyx_docversion
8026
8027         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8028
8029         * paragraph.C (validate): remove from here...
8030         * paragraph_pimpl.C (validate): ... and move here
8031         (isTextAt): make it const
8032
8033         * buffer.C (getLists): ws cleanup
8034
8035 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8036
8037         * language.C (read): Use iso8859-1 encoding in latex_lang
8038         (this prevents LyX from crashing when using iso10646-1 encoding).
8039
8040 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8041
8042         * text2.C (toggleInset): if cursor is inside an inset, close the
8043         inset and leave cursor _after_ it
8044
8045 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * lyxfunc.C: move minibuffer completion handling out of here
8048
8049 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8050
8051         * BufferView_pimpl.C:
8052         * LaTeX.C: fix dispatch calls
8053
8054 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8055
8056         * text.C (drawChars): Fix Arabic text rendering.
8057
8058 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8059
8060         * LyXAction.C:
8061         * commandtags.h:
8062         * lyxfunc.C: remove message-push/pop
8063
8064         * lyxserver.C:
8065         * lyxfunc.h:
8066         * lyxfunc.C: rationalise some code by removing verboseDispatch
8067           in favour of a bool argument to dispatch()
8068
8069 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8070
8071         * lyx_main.C (init): make sure to read symlinks as absolute paths
8072
8073 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * lyxfunc.h:
8076         * lyxfunc.C: no need for commandshortcut to be a member
8077
8078 2002-07-15  André Pönitz <poenitz@gmx.net>
8079
8080         * converter.C: add support for $$s (scripts from lib/scripts dir)
8081         * lyx_main.C: white space
8082
8083 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * bufferlist.C:
8086         * lyxrc.h:
8087         * lyxrc.C: remove second exit confirmation
8088
8089 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8090
8091         * BufferView.h:
8092         * BufferView.C:
8093         * BufferView2.C:
8094         * BufferView_pimpl.h:
8095         * BufferView_pimpl.C:
8096         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8097
8098 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * MenuBackend.C (expand): add numeric shortcuts to document menu
8101
8102         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8103
8104 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8105
8106         * lyxfont.C (setLyXFamily):
8107         (setLyXSeries):
8108         (setLyXShape):
8109         (setLyXSize):
8110         (setLyXMisc):
8111         (lyxRead):
8112         * debug.C (value):
8113         * buffer.C (asciiParagraph): use ascii_lowercase
8114
8115 2002-07-15  Mike Fabian  <mfabian@suse.de>
8116
8117         * lyxlex_pimpl.C (search_kw):
8118         * lyxlex.C (getLongString):
8119         * converter.h (operator<):
8120         * converter.C (operator<):
8121         * buffer.C (parseSingleLyXformat2Token):
8122         (asciiParagraph):
8123         * ToolbarDefaults.C (read):
8124         * MenuBackend.C (checkShortcuts):
8125         (read):
8126         * LColor.C (getFromGUIName):
8127         (getFromLyXName): use the compare_ascii_no_case instead of
8128         compare_no_case, because in turkish, 'i' is not the lowercase
8129         version of 'I', and thus turkish locale breaks parsing of tags.
8130
8131 2002-07-16  Angus Leeming  <leeming@lyx.org>
8132
8133         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8134         now takes a Buffer const & argument.
8135
8136 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * BufferView.C (resize): check there's a buffer to resize
8139
8140 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8141
8142         * lyxfunc.C: remove dead code
8143
8144         * lyxserver.h:
8145         * lyxserver.C: use lyx_guii::set_read_callback
8146
8147 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8148
8149         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8150         an inset in a RTL paragraph.
8151
8152 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8153
8154         * lyxfunc.C: repaint after a font size update
8155
8156 2002-07-15  André Pönitz <poenitz@gmx.net>
8157
8158         * lyxlength.C: inBP should be able to return negative values
8159
8160 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * lyxfunc.C: use lyx_gui::update_fonts()
8163
8164 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * lyxfunc.C: use lyx_gui::update_color()
8167
8168 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8169
8170         * bufferlist.C:
8171         * lyxfunc.h:
8172         * lyxfunc.C:
8173         * lyxrc.h:
8174         * lyxrc.C: remove file->new asks for name option, and let
8175           buffer-new take an argument
8176
8177 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * BufferView_pimpl.C: remove unneeded extra repaint()
8180
8181 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * LyXAction.C: allow command-sequence with NoBuffer
8184
8185         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8186
8187 2002-07-10  Angus Leeming  <leeming@lyx.org>
8188
8189         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8190
8191 2002-07-09  Angus Leeming  <leeming@lyx.org>
8192
8193         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8194
8195 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * lengthcommon.h: whitespace
8198
8199         * lyxfunc.C: update scrollbar after goto paragraph
8200
8201         * lyxtext.h: factor out page break drawing, and fix it so
8202           page break/added space paints as selected nicely
8203
8204 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * BufferView_pimpl.C: add FIXMEs, clean up a little
8207
8208 2002-07-09  André Pönitz <poenitz@gmx.net>
8209
8210         * lyxfont.[Ch]: support for wasy symbols
8211
8212 2002-07-08  André Pönitz <poenitz@gmx.net>
8213
8214         * BufferView_pimpl.C: apply John's patch for #93.
8215
8216 2002-07-05  Angus Leeming  <leeming@lyx.org>
8217
8218         * BufferView_pimpl.C (buffer): generate previews if desired.
8219
8220         * LColor.h: add "preview" to the color enum.
8221
8222         * LColor.C (LColor): add a corresponding entry to the items array.
8223
8224         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8225         with this buffer.
8226
8227 2002-07-05  Angus Leeming  <leeming@lyx.org>
8228
8229         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8230         The body of the code is now in the method that is passed an ostream &
8231         rather than a file name.
8232         Pass an additional only_preamble parameter, useful for the forthcoming
8233         preview stuff.
8234
8235 2002-07-03  André Pönitz <poenitz@gmx.net>
8236
8237         * lyxfunc.C: simplify getStatus() a bit for math stuff
8238
8239 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8240
8241         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8242
8243 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8244
8245         * text.C (changeRegionCase): do not change case of all the
8246         document when region ends at paragraph end (bug #461)
8247
8248 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8249
8250         * paragraph.C (startTeXParParams):
8251         (endTeXParParams): add \protect when necessary
8252
8253 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8254
8255         * BufferView_pimpl.C (workAreaExpose): remove warning
8256
8257 2002-06-27  Angus Leeming  <leeming@lyx.org>
8258
8259         * Makefile.am: add lyxlayout_ptr_fwd.h.
8260
8261 2002-06-26  André Pönitz <poenitz@gmx.net>
8262
8263         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8264
8265 2002-06-25  Angus Leeming  <leeming@lyx.org>
8266
8267         * lyxfunc.C (dispatch): Comment out the call to
8268         grfx::GCache::changeDisplay. The method no longer exists now that the
8269         pixmap generation part of the graphics loader has been moved into
8270         InsetGraphics.
8271
8272 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8273
8274         * text2.C: layout as layout
8275
8276         * text.C: layout as layout
8277
8278         * tabular.C (OldFormatRead): layout as layout
8279
8280         * paragraph_pimpl.C (TeXDeeper): layout as layout
8281         (realizeFont): layout as layout
8282
8283         * paragraph.C (writeFile): layout as layout
8284         (validate): layout as layout
8285         (getFont): layout as layout
8286         (getLabelFont): layout as layout
8287         (getLayoutFont): layout as layout
8288         (breakParagraph): layout as layout
8289         (stripLeadingSpaces): layout as layout
8290         (getEndLabel): layout as layout
8291         (getMaxDepthAfter): layout as layout
8292         (applyLayout): layout as layout
8293         (TeXOnePar): layout as layout
8294         (simpleTeXOnePar): layout as layout
8295         (TeXEnvironment): layout as layout
8296         (layout): layout as layout
8297         (layout): layout as layout
8298
8299         * lyxtextclass.C (compare_name): new functor to work with
8300         shared_ptr, layout as layout
8301         (Read): layout as layout
8302         (hasLayout): layout as layout
8303         (operator): layout as layout
8304         (delete_layout): layout as layout
8305         (defaultLayout): layout as layout
8306
8307         * lyxlayout_ptr_fwd.h: new file
8308
8309         * lyxlayout.C (Read): layout as layout
8310
8311         * lyx_cb.C (MenuInsertLabel): layout as layout
8312
8313         * bufferlist.C (newFile): layout as layout
8314
8315         * buffer.C (readLyXformat2): layout as layout
8316         (parseSingleLyXformat2Token): layout as layout
8317         (insertStringAsLines): layout as layout
8318         (asciiParagraph): layout as layout
8319         (latexParagraphs): layout as layout
8320         (makeLinuxDocFile): layout as layout
8321         (simpleLinuxDocOnePar): layout as layout
8322         (makeDocBookFile): layout as layout
8323         (simpleDocBookOnePar): layout as layout
8324         (getLists): layout as layout
8325
8326         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8327
8328         * CutAndPaste.C (cutSelection): layout as layout
8329         (pasteSelection): layout as layout
8330         (SwitchLayoutsBetweenClasses): layout as layout
8331
8332         * BufferView_pimpl.C (Dispatch): layout as layout
8333         (smartQuote): layout as layout
8334
8335         * BufferView2.C (unlockInset): layout as layout
8336
8337 2002-06-24  André Pönitz <poenitz@gmx.net>
8338
8339         * lyxfunc.C: fix #487
8340
8341 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8342
8343         * lyxrc.h:
8344         * lyxrc.C:
8345         * lyxfunc.C: remove display_shortcuts, show_banner
8346
8347 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * Buffer_pimpl.C: oops, update on resize
8350
8351 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8352
8353         * buffer.C:
8354         * converter.C:
8355         * exporter.C:
8356         * lyxfunc.C:
8357         * BufferView.h:
8358         * BufferView.C: use repaint()
8359
8360         * BufferView_pimpl.h:
8361         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8362           as it's a clearer description. Remove superfluous
8363           redraws.
8364
8365 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * text.C: fix bug 488. Not ideal, but getting
8368           getWord() to work properly for the insets that
8369           matter is more difficult ...
8370
8371 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * BufferView_pimpl.C:
8374         * LyXAction.C:
8375         * commandtags.h:
8376         * lyxfunc.C: remove the six million index lyxfuncs to just
8377           one, and DTRT (bug 458)
8378
8379 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8380
8381         * BufferView.h:
8382         * BufferView.C:
8383         * BufferView_pimpl.h:
8384         * BufferView_pimpl.C: clean up resize() stuff,
8385           and unnecessary updateScreen()s
8386
8387 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8388
8389         * BufferView.h:
8390         * BufferView.C:
8391         * BufferView_pimpl.h:
8392         * BufferView_pimpl.C:
8393         * lyxfind.h:
8394         * lyxfind.C:
8395         * minibuffer.C: remove focus management of workarea,
8396           not needed. Use screen's greyOut()
8397
8398 2002-06-17  Herbert Voss  <voss@lyx.org>
8399
8400         * converter.C: (convert) do not post a message, when converting
8401         fails, let the calling function decide what to do in this case
8402
8403 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8404
8405         * lyxfunc.C: tidy up a little
8406
8407 2002-06-16    <alstrup@diku.dk>
8408
8409         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8410         Got rid of FORMS_H_LOCATION include. Now we are
8411         GUII.
8412
8413 2002-06-15  LyX Development team  <lyx@rilke>
8414
8415         * buffer.[Ch] (sgmlOpenTag):
8416         (sgmlCloseTag): Added support for avoiding pernicious mixed
8417         content. Return number of lines written.
8418
8419         (makeLinuxDocFile):
8420         (makeDocBookFile): Fixed calls to sgml*Tag.
8421         Simple white space clean.
8422
8423         (simpleDocBookOnePar): Simple white space clean.
8424
8425         * tabular.[Ch] (docBook): Renamed to docbook and got another
8426         argument to related with the pernicious mixed content.
8427
8428         (docbookRow): Fixed calls for docbook inset method.
8429
8430 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8431
8432         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8433         so it's X11 independent.
8434
8435         * kb*.[Ch]: ditto.
8436
8437         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8438
8439 2002-06-15  Lyx Development team  <lyx@electronia>
8440
8441         * intl.h: Renamed getTrans to getTransManager.
8442
8443 2002-06-14  Angus Leeming  <leeming@lyx.org>
8444
8445         * Makefile.am: nuke forgotten stl_string_fwd.h.
8446
8447 2002-06-12  Angus Leeming  <leeming@lyx.org>
8448
8449         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8450
8451 2002-06-13  Angus Leeming  <leeming@lyx.org>
8452
8453         * LaTeX.C:
8454         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8455
8456 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8457
8458         * kbmap.C (getiso): add support for cyrillic and greek
8459
8460 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8461
8462         * BufferView.h:
8463         * BufferView.C:
8464         * BufferView_pimpl.h:
8465         * BufferView_pimpl.C: move bogus scrolling logic
8466           to xforms
8467
8468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * lyxfunc.C:
8471         * BufferView_pimpl.C: view->resize() change
8472
8473 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * BufferView_pimpl.C: topCursorVisible
8476           prototype change
8477
8478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * Makefile.am:
8481         * lyx_gui.h:
8482         * lyx_gui.C: move to frontends/
8483
8484         * main.C:
8485         * lyx_main.h:
8486         * lyx_main.C: changes from above
8487
8488 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * intl.C:
8491         * intl.h:
8492         * kbmap.C:
8493         * kbsequence.C:
8494         * lyx_cb.C:
8495         * lyx_main.C: minor tidy
8496
8497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * BufferView_pimpl.h:
8500         * BufferView_pimpl.C:
8501         * BufferView.h:
8502         * BufferView.C: make painter() const,
8503           remove dead code
8504
8505         * BufferView2.C: use screen() accessor
8506
8507         * lyx_main.h:
8508         * lyx_main.C: some minor cleanup
8509
8510 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * BufferView_pimpl.h:
8513         * BufferView_pimpl.C: remove enter/leaveView,
8514           use workHeight()
8515
8516 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8517
8518         * BufferView.h:
8519         * BufferView.C:
8520         * BufferView2.C:
8521         * BufferView_pimpl.h:
8522         * BufferView_pimpl.C: only construct screen once,
8523           rename
8524
8525         * lyxrc.C: remove pointless comment
8526
8527 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * BufferView.h:
8530         * BufferView.C: remove active() and belowMouse()
8531
8532         * BufferView_pimpl.h:
8533         * BufferView_pimpl.C: use workarea() not workarea_,
8534           and make it use a scoped_ptr instead
8535
8536 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8537
8538         * lyx_gui.C: add debug message on BadWindow
8539
8540 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8541
8542         * sp_spell.C: fdopen is not part of the C++ standard.
8543
8544         * paragraph.C (InsetIterator): use >= instead of ==
8545
8546 2002-06-07  Angus Leeming  <leeming@lyx.org>
8547
8548         Fixes needed to compile with Compaq cxx 6.5.
8549         * BufferView_pimpl.C:
8550         * DepTable.C:
8551         * buffer.C:
8552         * converter.C:
8553         * encoding.C:
8554         * lyx_gui.C:
8555         * lyx_main.C:
8556         * lyxtextclasslist.C:
8557         * minibuffer.C:
8558         * sp_spell.C:
8559         * tabular_funcs.C:
8560         * vc-backend.C:
8561         all c-library variables have been moved into namespace std. Wrap
8562         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8563
8564         * lyxlength.C:
8565         * tabular-old.C:
8566         * tabular.C:
8567         Add a using std::abs declaration.
8568
8569         * kbmap.h (modifier_pair):
8570         * paragraph.h (InsetTable, InsetList):
8571         * lyxfont.h (FontBits):
8572         type definition made public.
8573
8574         * bufferlist.C (emergencyWriteAll): the compiler complains that
8575         there is more than one possible lyx::class_fun template to choose from.
8576         I re-named the void specialisation as lyx::void_class_fun.
8577
8578         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8579
8580         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8581         the compiler is is unable to find tostr in write_attribute.
8582
8583 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8584
8585         * buffer.C (sgmlError): hide #warning
8586
8587 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8588
8589         * xtl/*: get rid of xtl, which is not in use anyway
8590
8591         * LyXAction.C (init):
8592         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8593         were unimplemented xtl experimentation
8594
8595 2002-06-04  André Pönitz <poenitz@gmx.net>
8596
8597         * lyxfunc.C: disable array operation on simple formulae
8598
8599 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * converter.C: constify a bit
8602
8603 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8604
8605         * lyx_gui.C: check xforms version correctly
8606
8607 2002-04-30  Herbert Voss  <voss@lyx.org>
8608
8609         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8610         "keep" option
8611
8612 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8615           attempt to register it with a VCS)
8616
8617 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8618
8619         * lyx_main.C (init): honor variables LYX_DIR_13x and
8620         LYX_USERDIR_13x
8621
8622 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8623
8624         * buffer.h:
8625         * buffer.C:
8626         * lyx_main.C: fix a crash on bad command line,
8627           and give a useful exit status on error
8628
8629         * lyxfunc.C (doImport): allow -i lyx to work
8630
8631 2002-03-30  André Pönitz <poenitz@gmx.net>
8632
8633         * lyxfunc.C: mathed font changes
8634
8635 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8636
8637         * LaTeX.C:
8638         * importer.h:
8639         * importer.C:
8640         * lyx_sty.h:
8641         * lyx_sty.C:
8642         * lyxlex.C:
8643         * lyxrow.h:
8644         * lyxtext.h:
8645         * paragraph.h:
8646         * paragraph.C:
8647         * texrow.h:
8648         * texrow.C:
8649         * text.C:
8650         * trans_mgr.h: srcdocs, and some minor cleanups
8651
8652 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8653
8654         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8655         call getFont all the time)
8656
8657 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8658
8659         * switch from SigC signals to boost::signals
8660
8661 2002-05-29  André Pönitz <poenitz@gmx.net>
8662
8663         * paragraph_pimpl.C (getChar): don't call size() too often...
8664
8665 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8666
8667         * paragraph_pimpl.C (insertChar): do not try to update tables when
8668         appending (pos == size())
8669
8670         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8671         in order to reduce drastically the number of comparisons needed to
8672         parse a large document
8673
8674 2002-05-29  André Pönitz <poenitz@gmx.net>
8675
8676         * text.C:
8677         * text2.C:
8678         * lyxtextclass.C:
8679         * sp_pspell.h:
8680         * textclasslist.[Ch]:
8681         * sp_ispell.h: whitespace change
8682
8683 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8684
8685         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8686         lyxaction directly now.
8687
8688 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * trans.C:
8691         * lyxfont.C:
8692         * lyxvc.C: remove unused headers
8693
8694 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8695
8696         * Makefile.am:
8697         * buffer.h:
8698         * undostack.h:
8699         * undostack.C:
8700         * undo_funcs.h:
8701         * undo_funcs.C: some cleanups. Use shared_ptr
8702           and a template for the undo stacks.
8703
8704 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * BufferView_pimpl.h:
8707         * BufferView_pimpl.C:
8708         * kbmap.h:
8709         * kbmap.C:
8710         * kbsequence.h:
8711         * kbsequence.C:
8712         * lyxfunc.h:
8713         * lyxfunc.C:
8714         * text2.C: use key_state/mouse_state
8715
8716 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8719         and LSubstring
8720
8721         * chset.C: change include order
8722         (loadFile): use boost regex and get rid of LRegex and LSubstring
8723
8724         * Makefile.am (BOOST_LIBS): new variable
8725         (lyx_LDADD): use it
8726
8727         * LaTeX.C: change include order.
8728         (scanAuxFile): use boost regex and get rid of LRegex and
8729         LSubstring
8730         (deplog): ditto
8731
8732 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * ColorHandler.h:
8735         * ColorHandler.C:
8736         * FontInfo.h:
8737         * FontInfo.C: moved to frontends/xforms/
8738
8739         * FontLoader.h:
8740         * FontLoader.C: moved into frontends for GUIIzation
8741
8742         * Makefile.am:
8743         * lyx_gui.C:
8744         * lyxfont.C:
8745         * lyxfunc.C: changes from above
8746
8747 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * LColor.C: remove spurious X include
8750
8751         * BufferView_pimpl.C:
8752         * Makefile.am:
8753         * font.h:
8754         * font.C:
8755         * text.C:
8756         * text2.C: move font metrics to frontends/
8757
8758 2002-05-24  Juergen Vigna  <jug@sad.it>
8759
8760         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8761         setting the undo_cursor.
8762
8763         * ParagraphParameters.h: include local includes first.
8764
8765 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView_pimpl.C:
8768         * BufferView_pimpl.h:
8769         * Makefile.am:
8770         * WorkArea.h:
8771         * WorkArea.C:
8772         * screen.C: move WorkArea into frontends/
8773
8774         * lyxscreen.h:
8775         * screen.C:
8776         * text.C:
8777         * BufferView.C:
8778         * BufferView2.C: move LyXScreen into frontends/
8779
8780         * lyxlookup.h:
8781         * lyxlookup.C:
8782         * lyx_gui.C: move lyxlookup into frontends/xforms/
8783
8784 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * BufferView2.C:
8787         * BufferView_pimpl.C:
8788         * FontLoader.C:
8789         * LyXView.h:
8790         * LyXView.C:
8791         * Makefile.am:
8792         * WorkArea.C:
8793         * XFormsView.h:
8794         * XFormsView.C:
8795         * buffer.C:
8796         * bufferlist.C:
8797         * bufferview_funcs.C:
8798         * converter.C:
8799         * importer.C:
8800         * lyx_cb.C:
8801         * lyx_gui.C:
8802         * lyx_main.C:
8803         * lyx_find.C:
8804         * lyxfunc.C:
8805         * lyxvc.C:
8806         * minibuffer.C:
8807         * text.C:
8808         * text2.C:
8809         * trans.C:
8810         * vc-backend.C: move LyX/XFormsView into frontends/
8811
8812 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * Makefile.am:
8815         * PainterBase.C:
8816         * PainterBase.h:
8817         * Painter.C:
8818         * Painter.h:
8819         * WorkArea.C:
8820         * WorkArea.h:
8821         * screen.C:
8822         * tabular.C:
8823         * text.C:
8824         * text2.C: move Painter to frontends/
8825
8826 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * buffer.C: comment out some some code that depend upon lyx_format
8829         < 220
8830
8831         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8832         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8833
8834         * buffer.h (NO_COMPABILITY): turn off compability
8835
8836         * ColorHandler.C: include scoped_array.hpp
8837
8838         * font.C: Use more specific smart_ptr header.
8839         * Painter.C: ditto
8840         * gettext.C: ditto
8841         * ShareContainer.h: ditto
8842         * lyx_main.h: ditto
8843         * kbmap.h: ditto
8844         * FontInfo.h: ditto
8845         * BufferView_pimpl.h: ditto
8846         * ColorHandler.h: ditto
8847
8848         * kbmap.C (defkey): change call to shared_ptr::reset
8849
8850 2002-05-21  Juergen Vigna  <jug@sad.it>
8851
8852         * buffer.C (insertErtContents): fix to insert ert asis if it is
8853         non empty. Skip it completely if it contains only whitespaces.
8854
8855 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * BufferView_pimpl.C:
8858         * BufferView2.C: clear selection on paste (bug 393)
8859
8860 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * DepTable.C: include ctime
8863
8864 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8865
8866         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8867
8868 2002-05-14  Juergen Vigna  <jug@sad.it>
8869
8870         * text.C (breakParagraph): fixed function to honor the keepempty
8871         layout in the right maner and also to permit the right breaking
8872         algorithm on empty or non empyt keepempty paragraphs.
8873
8874         * paragraph.C (breakParagraph): we have to check also if the par
8875         is really empty (!size()) for isempty otherwise we do the wrong
8876         paragraph break.
8877
8878 2002-05-10  Juergen Vigna  <jug@sad.it>
8879
8880         * buffer.[Ch] : The following are only changes to the ert
8881         compatibility read reading old LaTeX layout and font stuff and
8882         convert it to ERTInsets.
8883
8884         * buffer.h: added isErtInset().
8885
8886         * buffer.C (struct ErtComp): add a fromlayout bool to check
8887         if we're inside a LaTeX layout.
8888         (isErtInset): new helper function.
8889         (insertErtContents): look for other ert insets before this one
8890         and insert the contents there, so that we don't have subsequent
8891         ERT insets with nothing between them. This way we create only one
8892         inset with multiple paragraphs. Also check if we don't insert only
8893         spaces ' ' as they are ignored anyway afterwards in the .tex file
8894         so if we have only spaces we will ignore this latex part in the
8895         new file.
8896         (parseSingleLyXformat2Token \\layout): better compatibility when
8897         reading layout-latex stuff.
8898         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8899         language tag.
8900         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8901         stuff after reading the inset only get the information back from
8902         the stack.
8903
8904 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8905
8906         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8907
8908         * LaTeXFeatures.C (getBabelOptions): New method.
8909
8910 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * BufferView_pimpl.C (Dispatch): work around missing argument for
8913         'layout'
8914
8915 2002-05-08  Juergen Vigna  <jug@sad.it>
8916
8917         * text.C (leftMargin): handle paragraph leftindent.
8918
8919         * paragraph.C (writeFile): write the new \\leftindent tag.
8920         (validate): handle leftindent code.
8921         (TeXEnvironment): handle paragraphleftindent code again.
8922
8923         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8924
8925         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8926         for paragrap_extra indent code and new token \\leftindent.
8927         (latexParagraphs): handle the leftindent as environment.
8928
8929         * ParameterStruct.h: added leftindent support.
8930
8931         * ParagraphParameters.C (leftIndent): added support functions for
8932         the paragraph left indent.
8933
8934         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8935         more appropriate.
8936
8937 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8938
8939         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8940         inside insetERT.
8941
8942         * text.C (computeBidiTables): No bidi in insetERT.
8943
8944         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8945         in RTL documents.
8946
8947 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * version.C.in: pre 5
8950
8951 2002-05-02  José Matos  <jamatos@fep.up.pt>
8952         * buffer.C (makeDocBookFile): white space changes, add newline to
8953         command styles.
8954         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8955
8956         * tabular.C (docBook): fix typo.
8957
8958 2002-05-03  Juergen Vigna  <jug@sad.it>
8959
8960         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8961         change in LyXText as we can not be sure it was not freed.
8962         (drawOneRow): remove unused code.
8963
8964         * text.C (drawInset): redo the calculation of the need_break_row as
8965         it could have a row which was already freed.
8966         (draw): look at the return value of drawInset and return false if
8967         it also returned false.
8968         (paintRowText): look at the return value of draw and return false if
8969         it also returned false.
8970
8971         * lyxtext.h: added bool return type to drawInset() and draw() so that
8972         if we have a change in the row so that the rowbreak has to be redone
8973         we abort drawing as it will be called again.
8974
8975 2002-05-02  Juergen Vigna  <jug@sad.it>
8976
8977         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8978         a change in the maintext also if we're inside an inset.
8979         (Dispatch): set the cursor again after a break line and after the
8980         screen has been updated as it could be we're in a different row.
8981
8982         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8983         to set the cursor behind the pargraph with > size().
8984         (setCursor): check also for the same paragraph when checking where
8985         to put the cursor if we have a NFR inset.
8986
8987         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8988         parts of layout read further up as it still was in the wrong
8989         position.
8990
8991 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * screen.C (drawFromTo): change sine fullRebreak always return
8994         true.
8995
8996         * buffer.C (parseSingleLyXformat2Token): reindent some
8997
8998         * BufferView_pimpl.C (update): change since fullRebreak always
8999         return true.
9000         (Dispatch): git rid of the last hardcoded "Standard"s.
9001
9002 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9003
9004         * text2.[Ch] (fullRebreak): make it return void now that we always
9005         returned true.
9006
9007 2002-04-30  Juergen Vigna  <jug@sad.it>
9008
9009         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9010         ert compatibility check for "latex" layout.
9011
9012 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9013
9014         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9015         minipages: use col% instead of p%, and also use the current font.
9016         (makeLaTeXFile): Fix use babel condition.
9017         (parseSingleLyXformat2Token): Correct font when reading old floats.
9018
9019 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9020
9021         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9022         inserting list of floats.
9023
9024 2002-04-25  Herbert Voss  <voss@lyx.org>
9025
9026         * MenuBackend.C (expand): don't add the graphics extensions to the
9027         export menu
9028
9029 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9030
9031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9032         non-existing layout, do not complain if it was the default layout
9033         of the original class (bug #342)
9034
9035 2002-04-24  Juergen Vigna  <jug@sad.it>
9036
9037         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9038         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9039
9040 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9041
9042         * buffer.C (getBibkeyList): If using \bibliography, return the
9043         option field with the reference itself. Enables us to provide natbib
9044         support when using \bibliography.
9045
9046 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9047
9048         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9049
9050         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9051         natbib is provided by the LaTeX class.
9052
9053 2002-04-23  Juergen Vigna  <jug@sad.it>
9054
9055         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9056         Wakeup functions.
9057
9058         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9059
9060 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9061
9062         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9063
9064         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9065         ensuremath around textordmasculine, textordfeminine and
9066         textdegree.
9067
9068 2002-04-19  Juergen Vigna  <jug@sad.it>
9069
9070         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9071         reinitializing the buffer otherwise row-dimensions may be wrong.
9072         (update): reset also the selection cursors if they do exits otherwise
9073         their x/y positions may be wrong.
9074
9075         * text2.C (cursorDown): don't enter the inset if we came from a row
9076         above and are one row over the inset.
9077
9078         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9079         really leaving an inset.
9080
9081 2002-04-18  Juergen Vigna  <jug@sad.it>
9082
9083         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9084         of the selected paragraph does not have the selected layout also if
9085         the last one had!
9086
9087         * text2.C (setLayout): fixed bug which did not change last selected
9088         paragraph.
9089
9090         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9091         changed the read and substituted \\end_float with \\end_inset!
9092
9093         * BufferView_pimpl.C (cursorPrevious):
9094         (cursorNext): fixed to make it work with rows heigher than the work
9095         area without moving the cursor only the draw of the row.
9096         (workAreaMotionNotify): fix jumping over high rows.
9097
9098 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9099
9100         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9101         Ressler.
9102
9103 2002-04-16  Juergen Vigna  <jug@sad.it>
9104
9105         * text2.C (setCursor): set also the irow().
9106         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9107         (cursorUp):
9108         (cursorDown): support for locking an inset if the x_fix value goes
9109         inside it. That way I can transverse insets too with cursor up/down.
9110
9111         * lyxrow.h: added irow helper function same as other (i) functions.
9112
9113         * BufferView_pimpl.C (cursorPrevious):
9114         (cursorNext): fixed for insets!
9115
9116 2002-04-15  Juergen Vigna  <jug@sad.it>
9117
9118         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9119         position otherwise it is wrong in some cases.
9120
9121         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9122         inside the inset before the call.
9123
9124 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9125
9126         * buffer.[Ch] (getBibkeyList): make it const.
9127
9128 2002-04-12  Juergen Vigna  <jug@sad.it>
9129
9130         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9131
9132         * text2.C (getCursorX): new helper function
9133         (setCursor): compute also ix_
9134         (setCursorFromCoordinates): set also ix.
9135
9136         * lyxcursor.h: added ix_ and helper functions.
9137
9138         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9139
9140         * buffer.C (insertStringAsLines): dont break paragraph if the this
9141         paragraph is inside an inset which does not permit it!
9142
9143         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9144         also with no chars on this paragraph.
9145         (paintRowText): only paint stuff if it's inside the workarea!
9146
9147         * paragraph.C (breakParagraph): honor keepempty flag and break the
9148         paragraph always below not above.
9149
9150         * BufferView2.C (unlockInset): update the paragraph layout on inset
9151         unlock as we changed paragraph in such a case.
9152
9153         * lyxfind.C (LyXFind): clear the former selection if not found!
9154
9155         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9156         again called in insertChar().
9157
9158         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9159         an inset which uses the whole row!
9160         (rightMargin): ditto.
9161         (insertChar): force a rebreak if we inserted an inset!
9162
9163 2002-03-28  Herbert Voss  <voss@lyx.org>
9164
9165         * lyxlength.[Ch]: add inBP() to get the right PS-point
9166         units (BigPoint). With inPixels we have rounding errors
9167
9168 2002-04-11  Juergen Vigna  <jug@sad.it>
9169
9170         * text2.C (setCursorFromCoordinates): set iy to the right value.
9171         (setCursor): add check if row->previous exists!
9172
9173         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9174         an old float_type as this was the case in the old code!
9175
9176         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9177
9178         * BufferView2.C (showLockedInsetCursor): use iy
9179         (fitLockedInsetCursor): ditto
9180
9181         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9182         locked insets as there we have the right value now.
9183
9184         * lyxcursor.C: added iy_ variable and iy functions to set to the
9185         baseline of cursor-y of the locked inset.
9186
9187         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9188         (setCursor): fixed for insets which need a full row.
9189
9190         * text.C (rowLastPrintable): don't ignore the last space when before
9191         an inset which needs a full row.
9192         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9193         as last character of a row when before a inset which needs a full row.
9194
9195 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9196
9197         * version.C.in: update date
9198
9199         * text2.C (fullRebreak): try to always return true and see what
9200         happens...
9201
9202 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * MenuBackend.C (expand): use Floating::listName
9205
9206         * FloatList.C (FloatList): add listName argument to the built-in
9207         floats
9208
9209         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9210         text associated with the float.
9211
9212 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9213
9214         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9215
9216 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9217
9218         * ShareContainer.h: add a couple of missing typenames.
9219
9220 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9221
9222         * lyxrc.C (getDescription): use _() correctly rather than N_().
9223
9224 2002-03-28  Herbert Voss  <voss@lyx.org>
9225
9226         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9227         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9228
9229 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9230
9231         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9232         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9233
9234 2002-03-29  Juergen Vigna  <jug@sad.it>
9235
9236         * lyxfunc.C (dispatch): add a missing fitCursor call.
9237
9238         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9239         it was scrolled by a cursor move, so return the bool status.
9240
9241         * BufferView.C (fitCursor): return the bool flag also to the outside
9242         world as this is needed.
9243
9244         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9245
9246         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9247         call the edit() as it is not needed (and wrong) IMO.
9248         (workAreaButtonPress): set the screen_first variable before evt.
9249         unlock the inset as this may change screen_first and then we have
9250         a wrong y position for the click!
9251
9252 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * MenuBackend.C (expand): another translation that I missed
9255
9256 2002-03-28  Juergen Vigna  <jug@sad.it>
9257
9258         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9259
9260         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9261
9262 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9265
9266         * MenuBackend.C (expand): fix export/view/update when there is no
9267         document open.
9268
9269 2002-03-27  Herbert Voss  <voss@lyx.org>
9270
9271         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9272         and text%
9273
9274 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9275
9276         * bufferview_funcs.C (currentState): only show paragraph number
9277         for is DEVEL_VERSION is set.
9278
9279         * lyxfunc.C (dispatch): put warning in INFO channel
9280
9281         * MenuBackend.C (expand): translate the name of floats
9282
9283         * FloatList.C (FloatList): mark the float names for translation
9284
9285         * converter.C (convert): use LibScriptSearch
9286
9287 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * MenuBackend.C (defaults): fix default menu (we might as well get
9290         rid of it...)
9291
9292 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9295         directory.
9296
9297 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9298
9299         * lyxvc.C: reorder includes.
9300
9301 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9304           properly
9305
9306 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9307
9308         * CutAndPaste.C: change layouts earlier on paste
9309           to avoid crashing when calling getFont()
9310
9311 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9312
9313         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9314         irritating #error.
9315
9316 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9317
9318         * WorkArea.C: remove 'Pending' debug message.
9319
9320         * most files: ws cleanup
9321
9322         * buffer.[Ch]: ws changes
9323
9324         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9325
9326 2002-03-21  Juergen Vigna  <jug@sad.it>
9327
9328         * tabular.C (SetMultiColumn): collapse also the contents of the
9329         cells and set the last border right. Added a Buffer const * param.
9330
9331 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9334         linking or not.
9335
9336 2002-03-19  Juergen Vigna  <jug@sad.it>
9337
9338         * text2.C (clearSelection): reset also xsel_cache.
9339
9340         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9341         where it needs to be called (John tells us to do so too :)
9342         (selectionLost): reset sel_cache.
9343
9344         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9345
9346 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9347
9348         * text2.C (setCursorIntern): put debuging code in INSETS channel
9349
9350 2002-03-19  André Pönitz <poenitz@gmx.net>
9351
9352         * lyxfunc.C: tiny whitespace change
9353
9354 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * ToolbarDefaults.C (init):
9357         * LyXAction.C (init):
9358         * commandtags.h:
9359         * BufferView_pimpl.C (Dispatch):
9360         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9361
9362 2002-03-19  Allan Rae  <rae@lyx.org>
9363
9364         * exporter.C (Export): removeAutoInsets before doing anything else.
9365         While I've just introduced a dependency on BufferView this really is
9366         the best place to clean the buffer otherwise you need to cleanup in
9367         a dozen places before calling export or cleanup in a dozen functions
9368         that export calls.
9369
9370         * converter.C (runLaTeX):
9371         (scanLog): Better handling of removeAutoInsets and screen updates.
9372
9373         * lyxfunc.C (dispatch): small whitespace changes
9374
9375 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9376
9377         * WorkArea.C (C_WorkAreaEvent): return a value.
9378         (event_cb): return 1 if we handled the event, 0 otherwise.
9379
9380         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9381
9382 2002-03-18  Juergen Vigna  <jug@sad.it>
9383
9384         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9385         (GetAdditionalWidth): ditto.
9386         (RightLine): ditto.
9387         (LeftLine): ditto.
9388
9389         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9390         inset if we're there actually (probably not used right now but this
9391         is the direction to go for unifying code).
9392         (paste): disable code to clear the selection.
9393
9394         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9395         inside an InsetText and move the check further up as it is in the
9396         wrong place.
9397
9398         * text2.C (pasteSelection): set a selection over the pasted text.
9399
9400 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9401
9402         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9403         and libgraphics to build on Cygwin.
9404
9405 2002-03-15  Juergen Vigna  <jug@sad.it>
9406
9407         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9408         inserting an Inset into the paragraph. I know this is not the best
9409         fix but we already use current_view in CutAndPaste so we will remove
9410         all of it's using at the same time.
9411
9412         * buffer.C (sgmlError): deactivated function till it is rewritten in
9413         the right mode, now it can create problems.
9414
9415         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9416         before accessing it.
9417
9418 2002-03-14  Juergen Vigna  <jug@sad.it>
9419
9420         * undo_funcs.C (textHandleUndo): do the right thing when updating
9421         the inset after the undo/redo.
9422
9423         * text2.C (setCursor): just some testcode for #44 not ready yet.
9424
9425         * undo_funcs.C (textHandleUndo): set the next() and previous()
9426         pointers of the paragraph to 0 before deleting otherwise we have
9427         problems with the Paragraph::[destructor].
9428
9429         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9430         on a paragraph insertion.
9431
9432 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9433
9434         * buffer.C (asciiParagraph): use += operator for char append to
9435         string.
9436
9437         * paragraph.C (getFontSettings): compare >= not just >
9438         (highestFontInRange): ditto
9439         (setFont): ditto
9440
9441 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9442
9443         * paragraph.C: change several algorithm to be more appripriate for
9444         the problem domain. This is lookip in FontList and in the InsetList.
9445
9446 2002-03-13  André Pönitz <poenitz@gmx.net>
9447
9448         * commandtags.h:
9449         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9450
9451 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * commandtags.h:
9454         * LyXAction.C:
9455         * lyxfunc.C:
9456         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9457
9458 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9459
9460         * Painter.C (display): anon helper function, adjust code for this
9461         change.
9462         (pixmap): remove function.
9463
9464         * Painter.h: remove private display variable.
9465
9466         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9467
9468 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9469
9470         * WorkArea.[Ch]: remove figinset_canvas cruft.
9471
9472 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * lyxtextclass.C (operator): add one item cache optimization.
9475
9476         * bufferlist.h: doxy changes
9477
9478         * bufferlist.C: ws changes
9479
9480         * DepTable.[Ch] (ext_exist): place const in the right spot.
9481
9482         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9483         call resizeInsets.
9484         (workAreaExpose): call resizeInsets when the with BufferView changes.
9485         (Dispatch): adjust for protectedBlank removal
9486         (specialChar): call updateInset if the insert went ok.
9487
9488         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9489         specialChar instead.
9490
9491         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9492
9493         * BufferView.h: doxy change
9494
9495         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9496
9497         * lyxtextclass.C (operator[]): remove non-const version
9498         (defaultLayout): remove non-const version
9499
9500 2002-03-12  Juergen Vigna  <jug@sad.it>
9501
9502         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9503         did resize the LyXText too.
9504
9505         * buffer.C (readLyXformat2): set layout information on newly allocated
9506         paragraphs.
9507
9508         * tabular.C (OldFormatRead): set layout information on the paragraph.
9509
9510 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9511
9512         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9513
9514 2002-03-11  Juergen Vigna  <jug@sad.it>
9515
9516         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9517         plainly wrong.
9518         (resizeCurrentBuffer): force also the insets to resize themselfes.
9519         (moveCursorUpdate): fixed up for InsetText.
9520
9521 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9522
9523         * commandtags.h:
9524         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9525         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9526         value of Dialogs::tooltipsEnabled().
9527         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9528
9529 2002-03-08  Juergen Vigna  <jug@sad.it>
9530
9531         * BufferView_pimpl.C (updateInset): update inset inside inset also
9532         if it isn't inside theLockingInset().
9533
9534 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9535
9536         * buffer.C (asciiParagraph): redo some of the word and line length
9537         handling.
9538         (getLists): look for Caption instead of caption.
9539
9540 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * buffer.C (Buffer): initialize niceFile to true
9543         (makeLaTeXFile):
9544         (makeLinuxDocFile):
9545         (makeDocBookFile): make sure niceFile is true on exit
9546
9547 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9550
9551 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9552
9553         * LyXSendto.C: remove.
9554         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9555         * lyx_gui.C: remove now-redundant comment.
9556         * ColorHandler.h: remove forward declaration of class WorkArea.
9557         * lyxfunc.C: remove #include "WorkArea.h".
9558
9559 2002-03-07  Juergen Vigna  <jug@sad.it>
9560
9561         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9562         got moved away with the DEPM and also set the inset_owner always
9563         right which before could have been omitted.
9564
9565 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9568         wanted layout is not found.
9569
9570 2002-03-07  Juergen Vigna  <jug@sad.it>
9571
9572         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9573
9574 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9575
9576         * paragraph.C (breakParagraph): use default layout not layout of
9577         prev paragraph.
9578         (Paragraph): clear ParagraphParameters.
9579
9580 2002-03-06  Juergen Vigna  <jug@sad.it>
9581
9582         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9583         otherwise it would not be a valid lenght. Fixed a special case in
9584         the minipage compatibility read where we end the document with a
9585         minipage.
9586
9587         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9588         was set as it could be 0 for InsetTexts first entry.
9589
9590 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9591
9592         * paragraph.C (writeFile): if layout is empty write out
9593         defaultLayoutName().
9594
9595         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9596         file without named layout we set layout to defaultLayoutName().
9597
9598 2002-03-06  Juergen Vigna  <jug@sad.it>
9599
9600         * CutAndPaste.C (copySelection): set layout for new paragraph.
9601
9602         * text.C (prepareToPrint): leave ERT inset left aligned
9603         (leftMargin): don't indent paragraphs inside ERT insets
9604
9605 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9606
9607         * paragraph.C (breakParagraph): dont call clear do the work manually
9608
9609         * paragraph.[Ch] (clear): remove function
9610
9611 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9612
9613         * paragraph.C (Paragraph): dont call clear, the work has already
9614         been done.
9615
9616         * lyxtextclass.C (operator): assert if n is empty
9617
9618         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9619         work manually instead.
9620
9621 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * BufferView_pimpl.C: protect selectionLost against text == 0
9624
9625 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9626
9627         * text.C (breakParagraph): fix a setting layout to '0' problem.
9628
9629 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9630
9631         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9632         final location of file, for the included files, and graphics.
9633
9634 2002-03-05  Juergen Vigna  <jug@sad.it>
9635
9636         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9637
9638 2002-03-04  Juergen Vigna  <jug@sad.it>
9639
9640         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9641
9642         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9643         last column of multicolumn cells.
9644         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9645
9646 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9647
9648         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9649         file if it doesn't go to a temporary file.
9650
9651         * buffer.C (sgmlOpenTag):
9652         (sgmlCloseTag):  remove extra newline insertion.
9653
9654 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * text.C (getRowNearY): comment out debug msg
9657
9658 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9659
9660         * text2.C: first -> first_y
9661
9662         * text.C (getRowNearY): add some attemts at a possible
9663         optimization, not working.
9664
9665         * tabular.[Ch]: add BufferParams to several function so that newly
9666         created paragraph can be initialized to he default layotu for the
9667         buffers textclass.
9668
9669         * tabular-old.C (ReadOld): add buf->params to call of Init
9670
9671         * screen.C: rename text->first to text->first_y
9672
9673         * paragraph.C (breakParagraph): always set layout in the broken
9674         paragraph
9675
9676         * lyxtextclass.C (Read): remove lowercase
9677         (hasLayout): ditto
9678         (operator): ditto
9679         (delete_layout): ditto
9680
9681         * lyxtext.h: rename first -> first_y
9682
9683         * lyxlayout.C (Read): remove lowercase
9684         (name): ditto
9685         (setName): ditto
9686         (obsoleted_by): ditto
9687
9688         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9689
9690         * buffer.C (insertErtContents): add params are to InsetERT
9691         (parseSingleLyXformat2Token): add code to check if a paragraphs
9692         layout really exist.
9693         (parseSingleLyXformat2Token): add params to several inset
9694         constructors
9695         (asciiParagraph): remove lowercase, do the layout comparisons with
9696         no_case
9697
9698         * BufferView_pimpl.C (cursorNext): first -> first_y
9699         (resizeCurrentBuffer): first -> first_y
9700         (updateScrollbar): first -> first_y
9701         (scrollCB): first -> first_y
9702         (workAreaMotionNotify): first -> first_y
9703         (workAreaButtonPress): first -> first_y
9704         (checkInsetHit): first -> first_y
9705         (cursorPrevious): first -> first_y
9706         (cursorNext): first -> first_y
9707         (Dispatch): add buffer_->params to severl inset contructors
9708
9709 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9710
9711         * lyxlayout.C (Read): remove some debug info that I forgot.
9712
9713         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9714         clean up the code slightly.
9715         (makeLinuxDocFile): ditto
9716         (makeDocBookFile): ditto
9717
9718         * text2.C: layout as string
9719
9720         * text.C: layout as string
9721
9722         * paragraph_pimpl.C: layout as string
9723
9724         * paragraph.[Ch]: layout as string
9725
9726         * lyxtextclasslist.[Ch]: layout as string
9727
9728         * lyxtextclass.[Ch]: layout as string
9729
9730         * lyxtext.h: layout as string
9731
9732         * lyxlayout.[Ch]: layout as string
9733
9734         * lyx_cb.C: layout as string
9735
9736         * bufferview_funcs.C: layout as string
9737
9738         * bufferparams.C: layout as string
9739
9740         * buffer.C: layout as string
9741
9742         * LyXView.[Ch]: layout as string
9743
9744         * LaTeXFeatures.[Ch]: layout as string
9745
9746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9747
9748         * BufferView_pimpl.C: change current_layout to string, remove
9749         lyx::layout_type.
9750         (Dispatch):
9751         (smartQuote):
9752         (insertInset):
9753         (workAreaButtonRelease): layout as string
9754
9755         * BufferView2.C (unlockInset): adjust
9756
9757         * vspace.C (asLatexCommand): use an explict temp variable.
9758
9759 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * Makefile.am: use FRONTEND_*
9762
9763 2002-03-01  Juergen Vigna  <jug@sad.it>
9764
9765         * tabular.C (SetWidthOfMulticolCell): changed to something better
9766         I hope but still work in progress.
9767         (recalculateMulticolumnsOfColumn): renamed function from
9768         recalculateMulticolCells as it is more appropriate now.
9769         (SetWidthOfCell): calculate multicols better.
9770
9771 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9774
9775         * lyxfunc.C (processKeySym): print sequence also if it is
9776         `deleted' (complete)
9777
9778         * kbsequence.C (print): print sequence even if it is deleted
9779         (complete would be a better word, actually).
9780
9781         * lyxfunc.C (dispatch): print complete options after a prefix key
9782
9783         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9784
9785 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9786
9787         * text2.C (setCharFont): eliminate setCharFont code duplication.
9788
9789 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9792         LFUN_TABULAR_FEATURE (bug #177)
9793
9794 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * Makefile.am: remove figure.h
9797
9798 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9799
9800         * Bufferview_pimpl.C:
9801         * CutAndPasteC:
9802         * LaTeX.C:
9803         * LyXSendto.C:
9804         * buffer.C:
9805         * bufferlist.C:
9806         * converter.C:
9807         * language.C:
9808         * lyxfunc.C:
9809         * lyxvc.C:
9810         * paragraph.C:
9811         * text.C:
9812         * text2.C: remove #include "lyx_gui_misc.h".
9813
9814         * LaTeX.C: added #include <cstdio>
9815
9816 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9819         that the paragraph following this one can have.
9820
9821         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9822
9823         * vspace.C (asLatexCommand): fix bogus gcc warning
9824
9825         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9826
9827 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9828
9829         * text2.C (setLayout): get rid of redundant code
9830
9831 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9832
9833         * text2.C (incDepth): make sure depth cannot be increased beyond
9834         reasonable values.
9835
9836 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9837
9838         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9839         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9840
9841         * PainterBase.h (image):
9842         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9843         a LyXImage const *.
9844
9845 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * BufferView.C:
9848         * BufferView.h:
9849         * BufferView_pimpl.C:
9850         * BufferView_pimpl.h:
9851         * LaTeXFeatures.C:
9852         * LyXAction.C:
9853         * LyXView.C:
9854         * Makefile.am:
9855         * UpdateList.h:
9856         * UpdateList.C:
9857         * buffer.C:
9858         * figure.h:
9859         * figureForm.C:
9860         * figureForm.h:
9861         * figure_form.C:
9862         * figure_form.h:
9863         * lyx_cb.C:
9864         * lyx_gui.C:
9865         * lyx_gui_misc.C:
9866         * lyxfunc.C:
9867         * sp_base.h:
9868         * sp_ispell.h:
9869         * sp_pspell.h:
9870         * sp_spell.C: remove fig inset, and the crap house of
9871           cards that follows it
9872
9873 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * Makefile.am:
9876         * lyxserver.C:
9877         * os2_defines.h:
9878         * os2_errortable.h:
9879         * nt_defines.h: move .h into support/
9880
9881         * vms_defines.h: remove
9882
9883         * WorkArea.C: add space in debug output
9884
9885         * text2.C:
9886         * paragraph.C:
9887         * buffer.C: add WITH_WARNINGS
9888
9889         * vc-backend.h:
9890         * vc-backend.C:
9891         * bufferlist.C: s/retrive/retrieve/, add docs
9892
9893         * vspace.h:
9894         * vspace.C:
9895         * kbmap.h:
9896         * lyxlength.h:
9897         * lyxgluelength.h:
9898         * length_common.h:
9899         * chset.h:
9900         * chset.C: add docs
9901
9902         * lyxgui.C: add ID to X error handler
9903
9904         * lyxtestclass.c: fix typo
9905
9906 2002-02-26  Juergen Vigna  <jug@sad.it>
9907
9908         * tabular_funcs.C (write_attribute): changed so that some default
9909         attributes are not written at all.
9910         (getTokenValue): set default values before trying to read the
9911         value so we have the return value always set as default if we don't
9912         find the token we search for.
9913
9914         * tabular.C (Write): write bools as bools not as strings!
9915
9916 2002-02-22  Juergen Vigna  <jug@sad.it>
9917
9918         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9919         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9920
9921         * text.C (leftMargin): don't add an indent for paragraphs inside
9922         tabular cells (fix #208).
9923
9924 2002-02-21  José Matos  <jamatos@fep.up.pt>
9925
9926         * tabular.C (docBook): fixed support for long tables.
9927
9928 2002-02-20  Juergen Vigna  <jug@sad.it>
9929
9930         * text2.C (getFont): get the drawing font of the Inset if this
9931         paragraph is inside an inset (only important for InsetERT for now).
9932
9933         * buffer.C (insertErtContents): use new lanugage params in ERT
9934         constructor.
9935
9936         * CutAndPaste.C: commenting out seemingly uneeded code.
9937
9938 2002-02-19  Allan Rae  <rae@lyx.org>
9939
9940         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9941         Iterators might be simple to use but they also get invalidated.
9942         (removeAutoInsets): renamed saved cursor tracking variables and added
9943         some comments to clarify what everything does.
9944
9945 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9946
9947         * Chktex.C:
9948         * LaTeX.C:
9949         * LyXSendto.C:
9950         * converter.C:
9951         * lyx_cb.C:
9952         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9953         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9954
9955         * lyxfunc.C:
9956         * vc-backend.h: remove #include "support/syscall.h"
9957
9958         * LaTeX.C:
9959         * LyXSendto.C:
9960         * converter.C: rearrange #includes in Lars' approved fashion.
9961
9962         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9963         forward declare class Timeout in the header file.
9964
9965         * XFormsView.C: changes due to the above.
9966
9967         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9968         similar to LyXView.
9969
9970         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9971         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9972
9973 2002-02-18  José Matos  <jamatos@fep.up.pt>
9974
9975         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9976         insets contents.
9977
9978 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9979
9980         * a lot of small ws changes
9981         * add a lot of using std::XXX
9982         * use std construcs some places where approp.
9983         * use some exisint stuff from lyxfunctional where approp.
9984         * Make file changes to use partial linking (lets test this now...)
9985
9986 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9987
9988         * Chktex.C:
9989         * buffer.C:
9990         remove #include "support/syscontr.h" as it's redundant. Always has been.
9991
9992         * Chktex.C:
9993         * LaTeX.C:
9994         * LyXSendto.C:
9995         * converter.C:
9996         * lyx_cb.C:
9997         * vc-backend.C:
9998         change Systemcalls::System to Systemcalls::Wait and
9999         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10000         No change of functionality, just reflects the stripped down Systemcalls
10001         class.
10002
10003 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * debug.[Ch]: add a GRAPHICS type to the enum.
10006
10007 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10010
10011         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10012         there is an inset.
10013
10014 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10017         match the changes below.
10018
10019         * text2.C (toggleInset): if there is not editable inset at cursor
10020         position, try to see if cursor is _inside_ a collapsable inset
10021         and close it.
10022
10023 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10024
10025         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10026         document menu has a nice checkbox
10027
10028 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10029
10030         * lyxlength.C (asLatexString): change PW to output as percent of
10031         \textwidth.
10032
10033         * lengthcommon.C: change '%' to 't%'
10034
10035         * lyxfunc.C (dispatch): a few comments from Martin
10036
10037 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * WorkArea.h:
10040         * WorkArea.C:
10041         * BufferView_pimpl.h:
10042         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10043           the X selection.
10044
10045 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * vspace.C (inPixels): fix compiler warning
10048
10049 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * lyxfunc.C (getStatus): fix status message for disabled commands.
10052
10053 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * BufferView_pimpl.C: fix crash on close buffer
10056         during selection (#227)
10057
10058 2002-01-27  Herbert Voss  <voss@lyx.org>
10059
10060         * buffer.C: link old Figure to new graphic inset
10061
10062 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10063
10064         * FontLoader.C (getFontinfo): Change the latex font names in order
10065         to match the names of type1inst.
10066
10067 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10070
10071         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10072         (extchanged): ditto
10073         (ext_exist): ditto
10074         (remove_files_with_extension): ditto
10075         (remove_file): ditto
10076         (write): ditto
10077
10078         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10079         document is smaller than the work area height. Do not initialize
10080         static variables to 0.
10081
10082 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10083
10084         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10085
10086         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10087         LFUN_LAYOUT_PARAGRAPHS.
10088
10089         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10090         tabular. It is possible to provide a possible cell, which will
10091         typically be the actcell from the corresponding insettabular
10092
10093         * lyxfunc.C (getStatus): small cleanup; disable
10094         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10095         true
10096
10097 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10100
10101         * paragraph.C (startTeXParParams):
10102         (endTeXParParams): new methods. The LaTeX code to
10103         start/end paragraph formatting
10104         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10105         empty (fixes bug #200)
10106
10107         * vspace.C (inPixels): adapt to the change below
10108         (inPixels): [later] more cleanups (remove unused variables)
10109
10110         * lyxlength.C (inPixels): change to use a width and a height as
10111         parameter.
10112
10113 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10116         Replaced with \paperwidth
10117
10118         * DepTable.C (insert): add std:: qualifier
10119
10120 2002-01-18  Allan Rae  <rae@lyx.org>
10121
10122         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10123         updated also?
10124
10125         * text.C (drawInset): Turned out I didn't know enough about how
10126         rebreaking worked.  This fixes most of the redraw problems.  I see
10127         an occasional cursor trail when a line is broken now and the cursor
10128         placement can seem out by a few pixels also after a rebreak.
10129
10130 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * buffer.C (parseSingleLyXformat2Token): update because minipage
10133         width is now a LyXLength
10134
10135         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10136
10137         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10138         math insets
10139
10140 2002-01-17  Juergen Vigna  <jug@sad.it>
10141
10142         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10143
10144         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10145         is set correctly and the inset is updated correctly.
10146
10147 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10150         the beginning of the loop.
10151
10152 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10153
10154         * lyxrc.C: improve help for use_scalable_fonts
10155
10156 2002-01-17  Allan Rae  <rae@lyx.org>
10157
10158         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10159
10160 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10163         make sure to set their inset_owner to the right value (bug #171)
10164
10165 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10166
10167         * DepTable.h
10168         * DepTable.C: Implement mtime checking to reduce time spent doing
10169         CRCs.
10170
10171 2002-01-16  Juergen Vigna  <jug@sad.it>
10172
10173         * tabular.C (GetAdditionalHeight): one of error fixed.
10174
10175         * lyxrc.C (output): small fix in writing use_pspell.
10176
10177 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10178
10179         * sp_base.h: #include LString.h
10180
10181 2002-01-16  Allan Rae  <rae@lyx.org>
10182
10183         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10184         Can someone check this please?
10185
10186         * text.C (drawInset): It was possible that p.row would be removed by
10187         breakAgainOneRow upsetting a few other settings.  There may be another
10188         small tweak possible by setting need_break_row = 0 when p.row has been
10189         removed but I don't know enough about the logic here.
10190
10191 2002-01-15  Allan Rae  <rae@lyx.org>
10192
10193         * text.C (insertChar): removed conditional truism.
10194
10195         * BufferView2.C (removeAutoInsets): More tweaks.
10196         cur_par_prev could be a stray pointer.  Check for trailing empty line
10197         in case last line was cur_par and only had an error inset on it.
10198
10199 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10200
10201         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10202         absolute
10203
10204         * vc-backend.C (most methods):
10205         * exporter.C (Export):
10206         * converter.C (convert):
10207         (runLaTeX):
10208         * LyXSendto.C (SendtoApplyCB):
10209         * lyxfunc.C (dispatch):
10210         (menuNew):
10211         (open):
10212         (doImport):
10213         * lyx_cb.C (AutoSave):
10214         (InsertAsciiFile):
10215         * BufferView_pimpl.C (MenuInsertLyXFile):
10216         * buffer.C (runChktex): use Buffer::filePath().
10217
10218         * buffer.h: rename filename to filename_; rename filepath to
10219         filepath_ and make it private
10220         (filePath): new method
10221
10222         * buffer.C (writeFile): use fileName()
10223         (getLatexName):
10224
10225         * lyx_main.C (init): fix starting  of LyX when the binary is a
10226         link from so,ewhere else.
10227
10228         * minibuffer.C: include <cctype> for isprint
10229
10230 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10231
10232         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10233         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10234         name clash with InsetCollapsable's width function.
10235
10236 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10237
10238         * lastfiles.C: include <iterator>
10239
10240 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10241
10242         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10243         std::count.
10244
10245         * buffer.C (makeLaTeXFile): ditto.
10246         Also make loop operation more transparent.
10247
10248 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * ToolbarDefaults.C: remove trailing comma closing namespace.
10251
10252         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10253
10254         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10255         as in WorkArea.
10256
10257         * trans.C (Load): comment out unused variable, allowed.
10258
10259 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10260
10261         * minibuffer.[Ch] (append_char): new method to recieve input from the
10262         drop-down completion browser. If a key was pressed, then recieve this
10263         char and append it to the existing string.
10264         (peek_event): modify the positioning data passed to the completion
10265         browser so that it can be placed above the minibuffer rather than below.
10266 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10267
10268         * LyXAction.C (init): alloe error-next for readonly documents.
10269
10270         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10271         count.
10272
10273 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * bufferlist.C (readFile): create the buffer _after_ checking that
10276         the file exists.
10277
10278         * lyxfunc.C (verboseDispatch): fix handling of arguments
10279
10280         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10281
10282         * lyxrc.C: use string::erase() instead of initializing to "".
10283
10284
10285 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * BufferView_pimpl.h:
10288         * BufferView_pimpl.C:
10289         * WorkArea.h:
10290         * WorkArea.C:
10291         * text2.C: tell X when we have made a selection for copying
10292
10293 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * BufferView_pimpl.C (MenuInsertLyXFile):
10296         * lyxfunc.C (menuNew):
10297         (open):
10298         (doImport): add shortcuts to directory buttons
10299
10300         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10301         open a float)
10302
10303         * lyxfunc.C (setStatusMessage):
10304         (getStatusMessage): new methods
10305         (getStatus):use setStatusMessage instead of setErrorMessage
10306         (dispatch): when function is disabled, set error message here
10307         [instead of in getStatus previously]
10308
10309         * BufferView_pimpl.C (workAreaButtonRelease): update
10310         toolbar/menubar here too.
10311
10312 2002-01-13  Allan Rae  <rae@lyx.org>
10313
10314         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10315         Now seems indestructible.  Remaining task is to audit all other
10316         code affected by deleteEmptyParagraphMechanism.  One small quirk
10317         left is that an empty document with an error in the preamble can
10318         be made to report an error but no error box appears.  I don't know
10319         where it goes.
10320         (removeAutoInsets): Improved comments.
10321
10322 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * Thesaurus.h:
10325         * Thesaurus.C: update for Aiksaurus 0.14
10326
10327 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * text2.C (firstParagraph): removed member function, all uses
10330         replaces with ownerParagraph
10331         (redoParagraphs): here
10332         (updateInset): here
10333         (toggleAppendix): here
10334         * BufferView2.C (insertErrors): here
10335         (setCursorFromRow): here
10336
10337 2002-01-13  Allan Rae  <rae@lyx.org>
10338
10339         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10340         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10341         There is still a way to segfault this although you may have to do this
10342         multiple times: Have an InsetERT with an unknown command in it.
10343         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10344         <down-arrow>, <Enter> again, View->DVI, BANG!
10345
10346         * text2.C (setCursor):
10347         (deleteEmptyParagraphMechanism):
10348         * lyxtext.h (setCursor):
10349         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10350         Making use of the return value may help fix other bugs.
10351
10352 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10355
10356         * LyXView.C (updateMenubar): call MenuBar::update here
10357         (updateToolbar): but not here
10358         (showState): do not update toolbar/menubar
10359
10360         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10361         should need to care about that.
10362
10363         * lyxfunc.C (verboseDispatch): simplify a bit
10364         (getStatus): have a version which takes a pseudoaction, and
10365         another which requires a (kb_action,string).
10366
10367         * LyXAction.C (retrieveActionArg): make it work also when action
10368         is not a pseudo-action.
10369         (getActionName): simplify a bit
10370         (helpText):
10371
10372 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * lyxfunc.C (verboseDispatch): new families of methods with
10375         several ways to specify a command and a bool to indicate whether
10376         the command name and shortcut should be displayed in minibuffer
10377         (eventually, we could extend that to a finer bitmask like
10378         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10379         (dispatch): the pristine dispatch command which just, well,
10380         dispatchs! Note it still sets its result to minibuffer; I'm not
10381         sure we want that.
10382
10383         * lyxfunc.h: remove setHintMessage
10384
10385         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10386
10387 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * BufferView_pimpl.C (specialChar): delete new inset if we have
10390         not been able to insert it.
10391
10392         * kbmap.C: revert to using int instead of kb_action, since all we
10393         are dealing with is pseudo-actions.
10394
10395         * LyXAction.C (searchActionArg): change to return int instead of
10396         kb_action, since the result is a pseudoaction.
10397
10398 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10399
10400         * buffer.C (insertErtContents): Fix (partially) the font bug.
10401
10402 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10405         as the other one is broken on my machine!
10406
10407 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10408
10409         * commandtags.h:
10410         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10411
10412 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10415         reflect their actual use. Provide compatibility code for older lyxrc
10416         files.
10417
10418         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10419         FL_NORMAL_STYLE.
10420         change names of popup font variables in line with the changes to lyxrc.C
10421
10422 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * buffer.C (asciiParagraph): avoid outputing a word twice after
10425         an inset.
10426
10427         * lyxrc.C (getDescription): document that document_path and
10428         template_path can be empty.
10429
10430 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * LaTeXFeatures.C (getMacros):
10433         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10434
10435         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10436
10437         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10438         getPackages.
10439         (getPackages): rename feature "floats" to "float". Use an array to
10440         iterate over 'simple' features (i.e. just a \usepackage). Add
10441         handling of "amsmath" (renamed from "amsstyle").
10442
10443 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10444
10445         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10446         features list.
10447
10448 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10449
10450         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10451         FuncStaus::FuncStatus & FuncStaus::some_method().
10452
10453 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10454
10455         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10456         of the func_satus stuff. Edited and massaged in various ways by
10457         JMarc.
10458
10459         * lyxfunc.C (getStatus): use FuncStatus
10460
10461 2002-01-08  Juergen Vigna  <jug@sad.it>
10462
10463         * text.C (nextBreakPoint): use function Inset::isChar().
10464
10465         * paragraph.C (TeXOnePar): use function
10466         Inset::forceDefaultParagraphs.
10467
10468         * buffer.C (latexParagraphs): use function
10469         Inset::forceDefaultParagraphs.
10470
10471 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * lyx_gui.C (init): set the style of the menu popups to
10474         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10475
10476 2002-01-07  Juergen Vigna  <jug@sad.it>
10477
10478         * text.C (setHeightOfRow): small fix
10479         (prepareToPrint): don't look at alignment if we don't have the place
10480         for doing it.
10481
10482 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * box.C: New file. Move the Box methods and functions out of box.h,
10485         following Lars' suggestion.
10486
10487 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * box.h: #include "support/LOstream.h", needed for inlined function.
10490
10491         * lyxtextclass.C:
10492         * lyxtextclasslist.C: added some using std declarations.
10493
10494 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * box.h: make signed dimensions to allow insets wider than
10497           the screen (bug #162)
10498
10499         * BufferView_pimpl.C: add some insetHit debug
10500
10501 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * vc-backend.C: add FIXME
10504
10505 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * lyxfunc.C (getStatus): enable code for showing math font status
10508         in toolbar/menu.
10509
10510 2002-01-07  Juergen Vigna  <jug@sad.it>
10511
10512         * text.C (nextBreakPoint): removed debug output not needed anymore.
10513
10514 2002-01-06  Juergen Vigna  <jug@sad.it>
10515
10516         * text.C (nextBreakPoint): fixed up this function we had this bug
10517         since ever but now hopefully we break row better.
10518         (insertChar): we have to check if an inset is the next char as it
10519         could now happen that a large inset is causing a break.
10520
10521 2002-01-05  Juergen Vigna  <jug@sad.it>
10522
10523         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10524         if it doesn't like to be drawed.
10525
10526 2002-01-04  Juergen Vigna  <jug@sad.it>
10527
10528         * BufferView2.C (lockInset): forgot to set a cursor.
10529
10530         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10531
10532 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10533
10534         * FormMathsPanel.C:
10535         * FormMathsPanel.h
10536         * MathsSymbols.C:
10537         * form_maths_panel.C:
10538         * form_maths_panel.h:
10539         * form_maths_panel.fd: implemented sub- and super- buttons in math
10540         panel.
10541
10542         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10543         (or ^ space) to be used as in TeX (req'd by André).
10544
10545         * lyxfunc.C: Allow ^ and _ again to be used both as
10546         super/subscript (mathed) and as themselves (in text).
10547
10548 2002-01-03  Allan Rae  <rae@lyx.org>
10549
10550         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10551         "LyX" or the filename of the current buffer if it has one.  This is a
10552         modified form of John Levon's patch.
10553
10554         * XFormsView.C (setWindowTitle): also set icon title.
10555
10556         * LyXView.h (setWindowTitle): signature changed.
10557         * XFormsView.h (setWindowTitle): ditto.
10558
10559 2002-01-02  Juergen Vigna  <jug@sad.it>
10560
10561         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10562
10563 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10564
10565         * screen.C (topCursorVisible): introduce a temp var for
10566         text->cursor.row(), handle the case where this row is null. (kindo
10567         hachish)
10568
10569         * text2.C (setCursor): add a couple of asserts.
10570
10571         * paragraph.h (inset_iterator): add -> operator
10572
10573         * paragraph.[Ch] (autoDeleteInsets): remove member function
10574
10575         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10576         cursor pos correctly and handle inset deletion by itself.
10577         (insertErrors): move iterator declaration out of for expression
10578
10579         * lyxtextclass.C: add <algorithm>
10580
10581         * Makefile.am: added the new files to sources, removed layout.C
10582
10583         * layout.C: removed file
10584
10585         * layout.h: remove LYX_DUMMY_LAYOUT
10586
10587         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10588         layout.
10589
10590         * lyxlayout.[Ch]:
10591         * lyxtextclass.[Ch]:
10592         * lyxtextclasslist.[Ch]: new files
10593
10594         * include order changes to a lot of files, also changes because of
10595         the six new files.
10596
10597 2001-12-27  Juergen Vigna  <jug@sad.it>
10598
10599         * buffer.C (asciiParagraph): more fixes.
10600
10601         * tabular.C (ascii): make ascii export support export of only the
10602         data separated by a column-delimiter.
10603         (ascii): better support for ascii export.
10604
10605         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10606
10607 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10608
10609         * tabular_funcs.C: use a "using std::getline" instead of the
10610         previous fix from Angus (necessary for cxx + lyxstring)
10611
10612 2001-12-24  Juergen Vigna  <jug@sad.it>
10613
10614         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10615
10616         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10617         problems. First check a minipage also if we have some ert-contents
10618         (not only on par->size(), second set the right depth of the paragraph
10619         on the relink to the root-paragraph-list!
10620
10621         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10622         which then did not anymore update the main paragraphs on undo/redo!
10623
10624 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10625
10626         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10627         code. Support all font-changing funcs (even those which are not in
10628         menu currently). Support for reporting font settings in
10629         mathed (disabled until Andre provides a function on mathed's side).
10630
10631         * func_status.h (toggle): small helper function to set toggle
10632         state on a flag.
10633
10634 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10635
10636         * tabular_funcs.C: getline -> std::getline
10637
10638 2001-12-21  Juergen Vigna  <jug@sad.it>
10639
10640         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10641         accessed and could be 0 (I couldn't generate this but it seems
10642         Michael could!).
10643
10644 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10645
10646         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10647         * tabular_funcs.h: here and include iosfwd
10648
10649 2001-12-20  Juergen Vigna  <jug@sad.it>
10650
10651         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10652         inside inset but undo_par was.
10653
10654 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10655
10656         * Thesaurus.C: always include <config.h> in sources.
10657
10658         * Painter.h:
10659         * lyxlookup.h:
10660         * box.h: do not include <config.h> in header files
10661
10662         * text.C (paintLastRow): remove unused variable
10663
10664         * text.C (transformChar):
10665         (insertChar):
10666         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10667
10668         * Painter.C (text):
10669         * font.C (width): rewrite to use uppercase() instead of
10670         islower/toupper.
10671
10672         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10673
10674 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * lyxfind.C: clean up of find failure position change
10677
10678 2001-12-20  Juergen Vigna  <jug@sad.it>
10679
10680         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10681
10682         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10683         (TeXRow): added to LaTeX a single tabular row.
10684         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10685         (Latex): simplified and finally good LT-h/f support.
10686         (various_functions): just small adaptions for LT-h/f support.
10687
10688         * tabular_funcs.[hC]: added and moved here all not classfunctions
10689         of LyXTabular.
10690
10691 2001-12-19  Juergen Vigna  <jug@sad.it>
10692
10693         * tabular.[Ch]: better support for longtabular options (not finished
10694         yet!)
10695
10696 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * text.C (paintLastRow): use the label font instead of the font of
10699         the last character to compute the size of *_BOX. This makes more
10700         sense and avoids a crash with empty paragraphs.
10701         Use Painter::rectangle to draw EMPTY_BOX.
10702
10703 2001-12-19  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10706         the paragraphs if the replaced paragraph is not the first one!
10707         Tried to delete not used paragraphs but does not work yet so for
10708         now it's inside #ifdef's and by default off!
10709
10710 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * MenuBackend.C: include "lyx_main.h" instead of declaring
10713         lastfiles (actually was declared as LastFiles* instead of a
10714         scoped_ptr).
10715
10716 2001-12-17  Juergen Vigna  <jug@sad.it>
10717
10718         * tabular.C (AppendColumn): applied John's fix
10719
10720 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * BufferView.h:
10723         * BufferView.C:
10724         * BufferView_pimpl.h:
10725         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10726
10727         * Makefile.am:
10728         * box.h: new start of class for above
10729
10730         * lyxfunc.C: ignore space-only minibuffer dispatches.
10731           Show the command name when it doesn't exist
10732
10733         * minibuffer.C: don't add empty lines to the history
10734
10735         * minibuffer.C: add a space on dropdown completion
10736
10737 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * text.C: fix line above/below drawing in insets
10740
10741 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * lyxlength.C (LyXLength): Initialize private variables.
10744
10745 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10746
10747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10748         when inserting error insets.
10749
10750 2001-12-13  Juergen Vigna  <jug@sad.it>
10751
10752         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10753         actually sometimes the before-paragraph.
10754         (setUndo): don't clear the redostack if we're not actually undoing!
10755
10756 2001-12-06  Juergen Vigna  <jug@sad.it>
10757
10758         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10759         and fixed redoing of main paragraph, so we can use it now ;)
10760
10761         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10762
10763 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10766         Juergen's request
10767
10768 2001-12-13  André Pönitz <poenitz@gmx.net>
10769
10770         * undostack.[Ch]:
10771         * undo_func.C: minor cleanup
10772
10773 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10776         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10777         font in urw-fonts package which is marked as -urw-fontspecific and
10778         does not work (incidentally, changing the encoding in the
10779         fonts.dir of this package to -adobe-fontspecific fixes the
10780         problem).
10781
10782         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10783         is a crash when undoing first paragraph (Juergen, please take a
10784         look). THis does not mean the undo fix is wrong, just that it
10785         uncovers problems.
10786
10787         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10788         the (Paragraph*) version when needed instead of duplicating the
10789         code.
10790
10791         * text.C (workWidth): use Inset::parOwner to find out where the
10792         inset has been inserted. This is a huge performance gain for large
10793         documents with lots of insets. If Inset::parOwner is not set, fall
10794         back on the brute force method
10795
10796         * paragraph_pimpl.C (insertInset):
10797         * paragraph.C (Paragraph):
10798         (cutIntoMinibuffer): set parOwner of insets when
10799         inserting/removing them
10800
10801         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10802
10803 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10804
10805         * commandtags.h:
10806         * LyXAction.C:
10807         * lyx_main.C:
10808         * lyxfunc.C:
10809         * mathed/formulabase.C:
10810         * mathed/math_cursor.[Ch]:
10811         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10812
10813
10814 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * lyxlength.[Ch] (operator!=): new function
10817
10818 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10819
10820         * text.C (workWidth): use Inset::parOwner to find out where the
10821         inset has been inserted. This is a huge performance gain for large
10822         documents with lots of insets. If Inset::parOwner is not set, fall
10823         back on the brute force method
10824
10825         * paragraph_pimpl.C (insertInset):
10826         * paragraph.C (Paragraph):
10827         (cutIntoMinibuffer): set parOwner of insets when
10828         inserting/removing them
10829
10830         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10831
10832 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * tabular-old.C (getTokenValue):
10835         * tabular.C (getTokenValue):
10836         (write_attribute): new versions for LyXLength
10837         (everywhere): adjust the use of widths
10838
10839         * tabular.h: change the type of widths from string to LyXLength
10840
10841 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10842
10843         * paragraph.C: fixed missing line number count when exporting
10844         Environments to LaTeX file
10845
10846         * buffer.C: added informational message for checking line numbers.
10847
10848 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10851         paragraph, do the 'double space' part, but not the 'empty
10852         paragraph' one.
10853
10854         * text.C (workWidth): small optimization
10855         (getLengthMarkerHeight): use minimal size for negative lengths.
10856
10857 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10858
10859         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10860
10861         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10862
10863 2001-12-11  André Pönitz <poenitz@gmx.net>
10864
10865         * FontLoader.C:
10866         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10867
10868 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * text2.C: keep selection on a setFont()
10871
10872 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * lyx_cb.C: another bv->text misuse, from insert label
10875
10876 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * kbsequence.h:
10879         * kbsequence.C: re-instate nmodifier mask
10880
10881 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10882
10883         * lyx_main.h: make lyxGUI private.
10884
10885 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * lyxfind.C: place the cursor correctly on failed search
10888
10889 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * text.C (getLengthMarkerHeight): for small heights, the arrows
10892         are not always on top/bottom of the text
10893         (drawLengthMarker): smaller arrows; take the left margin in
10894         account; draw also vfills.
10895         (paintFirstRow):
10896         (paintLastRow): remove special code for vfill and standard spaces,
10897         since everything is handled in drawLengthMarker now.
10898
10899 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * buffer.C (insertErtContents): try to handle font and language
10902         interaction a bit better.g
10903
10904         * ColorHandler.C (updateColor): change the hash to cover the whole
10905         LColor enum, ws cleanup
10906         (getGCLinepars): ditto
10907         (getGCLinepars): only lookup in the linecache once.
10908
10909 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10910
10911         * iterators.C (operator++): Make the iterator more robust
10912
10913         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10914         (John's patch)
10915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10916
10917 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * lyxtext.h:
10920         * text.C: better added space drawing
10921
10922 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * LyXView.C:
10925         * BufferView2.C: fix layout combo update on inset unlock
10926
10927 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * Makefile.am: don't compile unused files
10930
10931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * lyxfunc.C:
10934         * commandtags.h:
10935         * LyXAction.C: remove old LFUN_LAYOUTNO
10936
10937 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * paragraph_pimpl.h:
10940         * paragraph_pimpl.C: isTextAt() doesn't need font param
10941
10942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * lyxlex.h:
10945         * lyxlex.C: little cleanup
10946
10947 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * BufferView_pimpl.C: fix insertAscii for insets
10950
10951 2001-12-05  Juergen Vigna  <jug@sad.it>
10952
10953         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10954         set the right font on the "multi" paragraph paste!
10955
10956 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * trans_decl.h:
10959         * trans_mgr.[Ch]:
10960         * trans.[Ch]:
10961         * lyxgluelength.C:
10962         * lyxlength.C: remove out-commented code.
10963
10964         * BufferView_pimpl:
10965         * CutAndPaste.C:
10966         * DepTable.C:
10967         * buffer.C:
10968         * chset.C:
10969         * lastfiles.C:
10970         * lyxlex.C:
10971         * lyxlex_pimpl.C:
10972         * lyxserver.C:
10973         * screen.C:
10974         * tabular-old.C:
10975         * tabular.C:
10976         * text.C:
10977         * trans_mgr.C:
10978         * vc-backend.C: change "while(" to "while ("
10979
10980         * lyxlength.[Ch]: add zero function to check if length is zero or
10981         not
10982         * lyxgluelength.C: use it
10983
10984 2001-12-05  Allan Rae  <rae@lyx.org>
10985
10986         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10987         Works for 2.95.3, from what I understand of Garst's reports this should
10988         work for other g++ versions.  We're screwed if the abs(int) definition
10989         changed between bugfix releases of gcc.
10990
10991 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * text.C: fix chapter label offset !
10994
10995 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * lyxtext.h:
10998         * text.C: fix hfill at end of line, clean up
10999
11000 2001-12-04  Juergen Vigna  <jug@sad.it>
11001
11002         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11003         that we force an update of the inset and it's owners if neccessary.
11004
11005 2001-12-03  Juergen Vigna  <jug@sad.it>
11006
11007         * text.C (rowLast): simplified code
11008
11009 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * lyxfunc.C: fix show options on timeout
11012
11013 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11014
11015         * screen.C (topCursorVisible): scroll half a page when the cursor
11016         reached top of bottom of screen
11017
11018 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * minibuffer.C: deactivate on loss of focus
11021
11022 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11023
11024         * vspace.[Ch] (operator!=): add operator.
11025
11026 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11027
11028         * BufferView_pimpl.C: refuse to open an inset when
11029         there's a selection.
11030
11031 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11032
11033         * BufferView_pimpl.C: allow to click on RHS of full row insets
11034
11035 2001-11-30  Juergen Vigna  <jug@sad.it>
11036
11037         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11038         insets for undo reasons.
11039
11040 2001-11-28  André Pönitz <poenitz@gmx.net>
11041
11042         * vspace.[Ch]: cosmetical changes
11043
11044 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * LyXAction.h:
11047         * LyXAction.C:
11048         * lyxfunc.h:
11049         * lyxfunc.C:
11050         * kbmap.h:
11051         * kbmap.C:
11052         * lyxrc.C:
11053         * kbsequence.h:
11054         * kbsequence.C: part re-write of old kb code
11055
11056         * Painter.C:
11057         * WorkArea.C: remove Lgb_bug_find_hack
11058
11059 2001-11-30  José Matos <jamatos@fep.up.pt>
11060
11061         * buffer.C (makeDocBookFile): add a comment to point a hack.
11062         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11063         Fixed a double write of labels.
11064
11065 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11066
11067         * LaTeX.C:
11068         * LaTeX.h Fixed bug in LaTeX class where it would not
11069         re-run latex if no depfiles were changed, but the .dvi was removed.
11070
11071 2001-11-28  André Pönitz <poenitz@gmx.net>
11072
11073         * all the files from the change on 2001/11/26:
11074         use lyx::layout_type instead of LyXTextClass::size_type
11075         use lyx::textclass_type instead of LyXTextClassList::size_type
11076
11077 2001-11-29  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C: added support for paragraph::isFreeSpacing()
11080
11081         * buffer.C: same as above
11082
11083         * paragraph.h: inserted isFreeSpacing() function to enable
11084         FreeSpacing inside InsetERT.
11085
11086         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11087         of the paragraph's in the cut/copy buffer to 0!
11088
11089         * text2.C (removeRow): remove the assert as it can!
11090
11091         * lyxtext.h: added helper function firstRow returning firstrow and
11092         made firstrow private again.
11093
11094         * BufferView2.C (lockInset): don't relock if we're already locked!
11095
11096         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11097         the only paragraph.
11098         (removeRow): added Assert::(firstrow)
11099
11100         * debug.C: forgot to add INSETTEXT here.
11101
11102 2001-11-28  Juergen Vigna  <jug@sad.it>
11103
11104         * sp_spell.C (initialize): changed error text to more general
11105         spellchecker command use (not only ispell!)
11106
11107         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11108
11109         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11110
11111 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * vspace.C: initialise lyxgluelength on failure
11114
11115 2001-11-28  Allan Rae  <rae@lyx.org>
11116
11117         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11118         declaration & definition that looks like a function declaration.
11119
11120 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11121
11122         * BufferView2.C (copy):
11123         (copyEnvironment): do not clear the selection when doing a copy.
11124
11125         * text.C (paintFirstRow): compilation fix
11126
11127 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11128
11129         * tabular.C (Latex): correct line count when writing latex.
11130
11131 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * paragraph_pimpl.h:
11134         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11135           bug a bit
11136
11137 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * text.C:
11140         * LColor.h:
11141         * LColor.C: change vfillline->added_space
11142
11143         * text.C: add markers and text for added space
11144
11145         * vspace.C: fix comment
11146
11147 2001-11-28  André Pönitz <poenitz@gmx.net>
11148
11149         * paragraph.C: whitespace changes
11150         * all the other files from the change on 2001/11/26:
11151         change *::pos_type into lyx::pos_type
11152
11153 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11154
11155         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11156         language of the document when inserting error insets.
11157
11158 2001-11-26  André Pönitz <poenitz@gmx.net>
11159
11160         * BufferView_pimpl.[Ch]:
11161         *       CutAndPaste.C:
11162         * buffer.[Ch]:
11163         * lyxcursor.[Ch]:
11164         * lyxfind.C:
11165         * lyxfunc.C:
11166         * lyxrow.[Ch]:
11167         * paragraph.[Ch]:
11168         * paragraph_pimpl.[Ch]:
11169         * sp_spell.C:
11170         * text.C:
11171         * text2.C: reduce header dependencies, introduce type for positions
11172
11173 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * <various>: change to use Alert.h
11176
11177 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11180         when encountering an unknown token.
11181         (readLyXformat2): Show an error message if there were unknown tokens.
11182
11183 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * BufferView2.C:
11186         * BufferView_pimpl.C:
11187         * buffer.C:
11188         * paragraph.h:
11189         * text.C:
11190         * text2.C: use par->isInset()
11191
11192 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * paragraph_pimpl.h:
11195         * paragraph_pimpl.C: cleanup
11196
11197 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11198
11199         * text2.C (removeRow):
11200         * text.C (setHeightOfRow): remove useless (and costly) call to
11201         getRow.
11202
11203 2001-11-20  Allan Rae  <rae@lyx.org>
11204
11205         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11206         Now need Inset*::checkInsertChar() to return true for appropriate
11207         cases so that the characters in the minibuffer will actually be
11208         inserted.
11209
11210 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11211
11212         * text.C: change the order of the includes.
11213         (workWidth): initialize it at once.
11214         (workWidth): make maxw unsigned
11215         (setHeightOfRow): remove unused variable (inset)
11216         (selectSelectedWord): remove unused variable (inset)
11217         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11218
11219 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11220
11221         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11222         server is not running.
11223         (openConnection):
11224         (closeConnection): add debug info when server is disabled.
11225
11226         * ColorHandler.C (getGCForeground): send debug message to GUI
11227         channel.
11228
11229         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11230
11231         * kbmap.C (bind): modify because return conventions of
11232         kb_sequence::parse have changed.
11233
11234         * kbsequence.C (parse): only ignore spaces and not any stupid
11235         control character. This avoids tests like s[i] <= ' ', which are
11236         guaranteed to fail with 8bit characters and signed chars.
11237         Change return code to string::npos when there have been no error
11238         (0 was a bad idea when error is at first character)
11239
11240 2001-11-14  José Matos  <jamatos@fep.up.pt>
11241
11242         * buffer.h:
11243         * buffer.C (simpleDocBookOnePar): removed unused argument.
11244
11245 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11248         insets which are part of a word. Paragraph::isLetter takes care of
11249         that now. Use Paragraph::isInset to identify insets.
11250         (selectSelectedWord): do not test for hyphenation break.
11251
11252         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11253         that protected spaces are considered as spaces.
11254
11255         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11256         Inset::isLetter.
11257
11258 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyxserver.h:
11261         * lyxserver.C: fix it. and small cleanup.
11262
11263 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * BufferView_pimpl.C: use inline helpers
11266
11267         * LaTeXFeatures.h:
11268         * LaTeXFeatures.C: fix typos
11269
11270         * Spacing.h:
11271         * Spacing.C: move spacing_string into class
11272
11273         * ToolbarDefaults.C: move stuff into namespace anon
11274
11275         * layout.h: update enum
11276
11277         * lyxfunc.C: use better debug
11278
11279         * minibuffer.h: fix typo
11280
11281         * debug.h:
11282         * debug.C:
11283         * WorkArea.C: add and use Debug::WORKAREA
11284
11285         * lyxtext.h:
11286         * text.C:
11287         * text2.C: code re-organisation, inline helpers
11288
11289 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11290
11291         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11292         std::vector.empty().
11293
11294 2001-11-09  Allan Rae  <rae@lyx.org>
11295
11296         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11297         '\n's after tables.  Tabular and ERT inset work now makes this no
11298         longer necessary.
11299
11300 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * minibuffer.h:
11303         * minibuffer.C: fix crash, improve drop-down completion
11304
11305 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * lyxserver.h:
11308         * lyxserver.C: invalidate fd's when doing endPipe()
11309
11310 2001-11-08  José Matos  <jamatos@fep.up.pt>
11311
11312         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11313         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11314
11315         * paragraph.h:
11316         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11317
11318 2001-11-07  José Matos  <jamatos@fep.up.pt>
11319
11320         * buffer.h:
11321         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11322         const qualifier.
11323
11324         * buffer.C (sgmlOpenTag):
11325         * buffer.C (sgmlCloseTag): removed debug info.
11326
11327         * buffer.h (sgmlOpenTag):
11328         * buffer.h (sgmlCloseTag): made public.
11329
11330 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11331
11332         * buffer.C (saveParamsAsDefaults):
11333         * lyx_cb.C (MenuLayoutSave): remove
11334
11335         * LyXAction.C (init):
11336         * commandtags.h:
11337         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11338
11339 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11340
11341         * buffer.C (setPaperStuff): removed from here...
11342
11343         * bufferparams.C (setPaperStuff): ... and moved there.
11344
11345 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * minibuffer.h:
11348         * minibuffer.C:
11349         * XFormsView.C: add support for drop-down completion
11350
11351 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11354         commands.
11355
11356 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11357
11358         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11359         disabled.
11360
11361 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * lyx_main.C: change ref to known bugs
11364
11365 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11366
11367         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11368         to work around older babel problems.
11369
11370 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11371
11372         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11373
11374 2001-10-24  Juergen Vigna  <jug@sad.it>
11375
11376         * tabular-old.C (ReadOld): below variable changes reflected.
11377
11378         * tabular.[Ch]: added ltType struct for longtable header/footer
11379         defines and changed all instances where they are used. Added
11380         future support for double top/bottom rows.
11381
11382 2001-10-24  José Matos  <jamatos@fep.up.pt>
11383
11384         * buffer.h (docbookHandleCaption):
11385         * buffer.C (docbookHandleCaption): removed unused function.
11386         (makeDocBookFile): moved docbook supported version to v4.1.
11387
11388 2001-10-24  José Matos  <jamatos@fep.up.pt>
11389
11390         * tabular.h:
11391         * tabular.C (docbookRow): new function to export docbook code of a row.
11392         (DocBook): now honors the longtable flags.
11393
11394 2001-10-23  José Matos  <jamatos@fep.up.pt>
11395
11396         * LaTeXFeatures.h:
11397         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11398         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11399
11400         * buffer.C (makeLinuxDocFile):
11401         (makeDocBookFile): reworked the preamble, more clean, and with
11402         support for lyx defined entities. Changed the document declaration
11403         to be more XML friendly.
11404
11405         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11406         if we need to output XML that should be done with a filter.
11407
11408 2001-10-22  Juergen Vigna  <jug@sad.it>
11409
11410         * sp_pspell.h (class PSpell): add alive function needed in the
11411         controller to see if the spellchecker could be started.
11412
11413 2001-10-22  Juergen Vigna  <jug@sad.it>
11414
11415         * buffer.C (insertStringAsLines): modify the font for inserting
11416         chars in certain conditions by calling checkInsertChar(font).
11417
11418 2001-10-19  Juergen Vigna  <jug@sad.it>
11419
11420         * text.C (workWidth): use getRow instead of wrong algorithm.
11421         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11422
11423 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * lyxserver.h:
11426         * lyxserver.C:
11427         * lyx_main.h:
11428         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11429
11430 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * text.C (workWidth): do not search for the exact row when
11433         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11434         optimization for big documents.
11435
11436 2001-10-18  Juergen Vigna  <jug@sad.it>
11437
11438         * text.C (workWidth): new function with added Inset * parameter.
11439
11440 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11441
11442         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11443
11444         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11445         change return type of getColumnNearX.
11446
11447
11448         * text.C (changeRegionCase): use uppercase/lowercase instead of
11449         toupper/tolower.
11450         (leftMargin):
11451         (rightMargin): simplify code by factoring out the uses of
11452         textclasslist.
11453         (labelFill):
11454         (numberOfHfills):
11455         (setHeightOfRow):
11456         (appendParagraph): use Paragraph::size_type
11457
11458 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11459
11460         * vspace.C (asLatexString): add a missing break
11461
11462 2001-10-15  Herbert Voss  <voss@perce.de>
11463
11464         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11465
11466 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11467
11468         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11469         is not available.
11470
11471 2001-10-10  André Pönitz <poenitz@gmx.net>
11472
11473         * lyxfunc.C: removed greek_kb_flag.
11474
11475 2001-10-10  Herbert Voss  <voss@perce.de>
11476
11477         * lyx_main.C: delete global string help_lyxdir.
11478
11479 2001-10-09  Herbert Voss  <voss@perce.de>
11480
11481         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11482
11483         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11484
11485         * lyx_main.C: added global string help_lyxdir.
11486
11487         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11488
11489 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11490
11491         * lyxrc.C (set_font_norm_type): support iso8859-4
11492
11493 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11494
11495         * LaTeX.C (deplog): add another regex for MikTeX
11496
11497 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11498
11499         * lyxrc.C (set_font_norm_type): support iso8859-3
11500
11501 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11502
11503         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11504
11505         * LaTeXFeatures.C: remove special case of french and index
11506
11507         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11508         before \begin{document}). This solves several incompatibilities.
11509
11510 2001-10-03  Garst Reese  <reese@isn.net>
11511
11512         * lyx_cb.C: change CheckTex error msg.
11513
11514 2001-10-03  José Matos  <jamatos@fep.up.pt>
11515
11516         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11517
11518 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * .cvsignore: update
11521
11522         * lyx_main.C (commandLineVersionInfo): use new style version info.
11523
11524         * buffer.C (writeFile):
11525         (makeLaTeXFile):
11526         (makeLinuxDocFile):
11527         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11528
11529         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11530
11531         * version.h: update to use stuff in version.C
11532
11533         * version.C.in: new file. Contains version information determined
11534         at compile time. This is a merging of version.h and
11535         version_info.h.in.
11536
11537 2001-10-03  Juergen Vigna  <jug@sad.it>
11538
11539         * BufferView_pimpl.C (update): don't change "dirty" status in
11540         updateInset call.
11541
11542 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11543
11544         * WorkArea.C (c-tor): re-position version string slightly.
11545
11546 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11549         revert to previous code.
11550
11551         WorkArea.[Ch]: (show, destroySplash): methods removed.
11552
11553         WorkArea.C: rework code so that it's an amalgam of the codes before and
11554         after the splash screen was moved to WorkArea.
11555
11556 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11557
11558         * lyxrc.C (read):
11559         * vspace.C (inPixels):
11560         (lyx_advance):
11561         * kbmap.C (bind):
11562         * buffer.C (insertStringAsLines):
11563         (asciiParagraph): fix types to be large enough
11564
11565         * lyxlex_pimpl.h: change member status from short to int
11566
11567         * layout.h: fix type of endlabeltype
11568
11569         * kbmap.C (bind):
11570         * kbsequence.C (parse): change return type to string::size_type
11571
11572         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11573         variable
11574
11575         * Bullet.C (bulletSize):
11576         (bulletEntry): do not use short ints as parameters
11577
11578         * BufferView2.C (insertLyXFile): change a char to an int.
11579
11580         * WorkArea.C (WorkArea): remove unneeded floats in computation
11581
11582 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11583
11584         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11585
11586         * paragraph.C (asString): Do not ignore newline/hfill chars when
11587         copying to the clipboard.
11588
11589 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11592         after a multi-line inset.
11593
11594 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11595
11596         * paragraph.C (validate): Set NeedLyXFootnoteCode
11597
11598 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11601         and decrease-error to decrease.
11602
11603 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11606         it more readable (should be equivalent)
11607
11608 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11609
11610         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11611
11612 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11615         of a cursor (row, etc.) after a character has been deleted
11616         (deleteEmptyParagraphMechanism): call the method above on _all_
11617         cursors held by the LyXText when a double space has been
11618         detected/deleted.
11619
11620 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11621
11622         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11623         pixmap.
11624         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11625
11626         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11627         background. Use greyOut() and the new show() methods to toggle between
11628         the foreground and background. Add code to remove the splash after
11629         its initial showing.
11630
11631         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11632         (create_forms): no longer call Dialogs::showSplash.
11633
11634 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * .cvsignore: add version_info.h
11637
11638 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * version_info.h.in: new file
11641
11642         * Makefile.am: add version_info.h.in
11643
11644         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11645         version_info.h instead of VERSION_INFO
11646
11647 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11648
11649         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11650         The ERT inset now returns string().
11651
11652 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11653
11654         * lyxtext.h, text.C (selectNextWord): renamed as
11655         selectNextWordToSpellcheck.
11656
11657         * text.C (selectNextWordToSpellcheck): Modified to not select
11658         words inside an ERT inset.
11659
11660 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11661
11662         * lyx_cb.C (MenuLayoutSave): change a bit the question
11663
11664         * sp_base.h: include <sys/types.h>
11665
11666 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11667
11668         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11669
11670 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11671
11672         * several files: fix typos in user-visible strings
11673
11674 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * text2.C (pasteSelection): do not set the selection, since it
11677         will be cleared later. Actually, the intent was to fix the way the
11678         selection was set, but I figured rmoving the code was just as good.
11679
11680 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11681
11682         * FontLoader.C (available): Check if font is available without
11683         loading the font.
11684
11685 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11686
11687         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11688
11689 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * lyxrc.[Ch]: added display_graphics variable and associated code.
11692
11693 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11694
11695         * bufferparams.C (hasClassDefaults): new method. Returns true if
11696         the buffer parameters correspond to known class defaults
11697
11698 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * XFormsView.C (show): set minimum size to the main window.
11701
11702 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11703
11704         * text2.C (copySelection):
11705         (cutSelection):
11706         * lyxfind.C (LyXReplace):
11707         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11708         LyXText::selectionAsString.
11709
11710         * paragraph.C (asString): add "label" argument to the second form
11711
11712         * text2.C (selectionAsString): add "label" argument and pass it to
11713         Paragraph::asString.
11714
11715 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11716
11717         * lyx_main.C (commandLineHelp): remove version information
11718
11719 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11720
11721         * lyx_main.C: add -version commandline option
11722
11723 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * paragraph.h: make the optional constructor arg required instead.
11726         some modifications to other files because of this.
11727
11728         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11729
11730         * lyxserver.C (C_LyXComm_callback): make it static
11731
11732         * lyx_main.C (error_handler): make it static
11733
11734         * lyx_gui.C (LyX_XErrHandler): make it static
11735
11736         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11737
11738         * WorkArea.C: make the extern "C" methods static.
11739
11740         * Makefile.am (lyx_LDADD): simplify
11741
11742 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11743
11744         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11745         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11746
11747         * LyXAction.C (init):
11748         * lyxfunc.C (dispatch): associated code removal.
11749
11750 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * lyxfont.h (isSymbolFont): shut off warning
11753
11754         * text.C (setHeightOfRow):
11755         (getVisibleRow): fix crash with empty paragraphs which have a
11756         bottom line
11757
11758 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11759
11760         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11761         code.
11762
11763 2001-09-04  José Matos  <jamatos@fep.up.pt>
11764         * buffer.C
11765         * buffer.h
11766         * tabular.C (docbook): rename docBook method to docbook.
11767
11768 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * Makefile.am: add dependencies to main.o.
11771
11772 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11773
11774         * FontLoader.C (available): Return false if !lyxrc.use_gui
11775
11776 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11777
11778         * FontInfo.C (query):
11779         * converter.C (view):
11780         * importer.C (Import):
11781         * exporter.C (Export): Can not -> cannot.
11782
11783 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * BufferView_pimpl.C: allow to create index inset even if
11786           string is empty
11787
11788 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         * buffer.C (getLists): replace boost::tie code with an explicit pair
11791         as boost::tie can break some compilers.
11792
11793         * iterators.h: Added a std:: declaration to the return type of
11794         ParIterator::size.
11795
11796 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11799           case.
11800
11801 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11802
11803         * iterators.[Ch]: New files. Provide paragraph iterators.
11804
11805         * buffer.C (changeLanguage): Use paragraph iterators.
11806         (isMultiLingual): ditto
11807
11808         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11809
11810 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11811
11812         * FontLoader.C: Support for cmr font.
11813
11814 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11815
11816         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11817         (available): New method.
11818
11819         * FontInfo.C (getFontname): Use scalable fonts even when
11820         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11821         found.
11822
11823 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11824
11825         * converter.C (Formats::view): reverted! Incorrect fix.
11826
11827 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11828
11829         * converter.C (Formats::view): only output the -paper option
11830         if the dvi viewer is xdvi, thereby fixing bug #233429.
11831
11832 2001-08-23  Herbert Voss  <voss@perce>
11833
11834         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11835
11836 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11837
11838         * Spacing.h (Spacing): Set space to Default on in the default
11839         constructor.
11840
11841 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11842
11843         * vc-backend.h (RCS::versionString): add RCS to version
11844         (CVS::versionString): add CVS to version
11845
11846         * vc-backend.C (scanMaster): do not add CVS to version.
11847         (scanMaster): do not add RCS to version
11848
11849         * lyxvc.C (versionString): new method
11850
11851         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11852
11853 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * Spacing.C (set): initialize fval
11856
11857 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11858
11859         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11860         " or \.
11861
11862 2001-08-16  Juergen Vigna  <jug@sad.it>
11863
11864         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11865
11866 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * BufferView_pimpl.C:
11869         * figureForm.C:
11870         * lyxtext.h:
11871         * text2.C: setParagraph takes linespacing now
11872
11873 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * LyxAction.C: add internal LFUN_CITATION_INSERT
11876
11877         * LyXView.C: actually apply fix
11878
11879         * bufferlist.C: fix open non-existent file
11880
11881         * lyxfind.C: fix indentation
11882
11883         * lyxfunc.C: remove unneeded assert, fix typo
11884
11885 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * MenuBackend.C: use "Floatname List"
11888
11889 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11890
11891         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11892         when converting LaTeX layout to insetERT.
11893         Generate a non-collapsed float when reading old float
11894
11895 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11898         ERT insets.
11899
11900 2001-08-13  Juergen Vigna  <jug@sad.it>
11901
11902         * text.C (fill): return 0 instead of 20 as this seems to be the more
11903         correct value.
11904
11905 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11906
11907         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11908         lyxrc.font_norm.
11909
11910 2001-08-13  Juergen Vigna  <jug@sad.it>
11911
11912         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11913         casesensitive off.
11914         (SearchBackward): comment out the unlocking of the inset_owner this
11915         should not be needed!
11916
11917 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11918
11919         * Many files: Remove inherit_language, and add latex_language
11920
11921         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11922         collapsible insets.
11923
11924 2001-08-10  Juergen Vigna  <jug@sad.it>
11925
11926         * text.C (prepareToPrint): fixed hfill-width in draw!
11927
11928         * BufferView2.C (selectLastWord): save the selection cursor as this
11929         now is cleared in the function LyXText::clearSelection!
11930
11931 2001-08-08  Juergen Vigna  <jug@sad.it>
11932
11933         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11934         BACKSPACE type functions.
11935
11936         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11937         is only cutted from the document but not put in the cut-buffer, where
11938         still the old stuff should be.
11939
11940         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11941
11942         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11943
11944         * tabular.C (SetWidthOfCell): fixed special case where the width
11945         was not updated!
11946         (LeftLine): handle '|' in align_special.
11947         (RightLine): ditto
11948         (LeftAlreadyDrawed): ditto
11949         (SetWidthOfCell): ditto
11950
11951 2001-08-07  Juergen Vigna  <jug@sad.it>
11952
11953         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11954
11955 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11958         * lyxlex.[hC]: ditto
11959
11960 2001-08-06  Juergen Vigna  <jug@sad.it>
11961
11962         * text.C (getVisibleRow): fix up row clearing a bit.
11963
11964 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * minibuffer.C: make sure the X server sees the changes in the input.
11967
11968 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11969
11970         * paragraph.C (getFont): split into...
11971         (getLabelFont): this
11972         (getLayoutFont): and this
11973         * paragraph_pimpl.C (realizeFont): calling this
11974
11975         * text2.C (getFont): split into...
11976         (getLayoutFont): this
11977         (getLabelFont): and this
11978         (realizeFont): all three calling this
11979
11980         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11981         files where used.
11982
11983 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11986
11987 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11988
11989         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11990         layouts from the Quote inset insertion.
11991
11992 2001-08-03  Juergen Vigna  <jug@sad.it>
11993
11994         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11995
11996         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11997         only if status not is already CHANGED_IN_DRAW (second level).
11998
11999         * text.C (draw): don't set the need_break_row when inside an
12000         InsetText LyXText.
12001
12002 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * buffer.C (parseSingleLyXformat2Token): handle more latex
12005         conversion cases.
12006
12007         * bufferview_funcs.[hC]: change function names to
12008         begin with small char, adjust other files.
12009
12010 2001-08-02  André Pönitz <poenitz@gmx.net>
12011
12012         * lyxfunc.C:
12013         BufferView_pimpl.C: remove broken special code for math-greek
12014
12015 2001-08-02  Juergen Vigna  <jug@sad.it>
12016
12017         * BufferView_pimpl.C (update): redone this function so that we
12018         update the text again if there was a CHANGE_IN_DRAW.
12019
12020         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12021         (drawFromTo): added a new internal bool which is used by draw() and
12022         redraw() function.
12023         (general): some cursor drawing problems fixed.
12024
12025 2001-08-01  Juergen Vigna  <jug@sad.it>
12026
12027         * lyxfind.C (LyXFind): fixed
12028         (SearchForward): ditto
12029         (SearchBackward): ditto
12030
12031         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12032         spurius drawing of the cursor in the main area.
12033
12034         * text2.C (status): small fix which could lead to a segfault!
12035         (clearSelection): remove unneeded BufferView param.
12036
12037 2001-08-01  André Pönitz <poenitz@gmx.net>
12038
12039         * lyxfunc.C: small change due to changed mathed interface
12040
12041 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12044
12045 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * lyxfunc.c: fail gracefully if file doesn't exist
12048
12049         * LyXSendto.C:
12050         * buffer.C:
12051         * lyxfunc.C:
12052         * BufferView_pimpl.C: IsDirWriteable() proto changed
12053
12054         * LyXView.C: fix updateWindowTitle() to store the last title
12055
12056 2001-07-31  Juergen Vigna  <jug@sad.it>
12057
12058         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12059         the font (wrong since using of Paragraph::highestFontInRange).
12060
12061         * paragraph.C (highestFontInRange): added a default_size parameter.
12062
12063         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12064         (setHeightOfRow): reformat
12065
12066 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12067
12068         * converter.[hC] + affected files: move to (inital-char)lowercase
12069         function names.
12070
12071         * ParagraphParameters.C (ParagraphParameters): remove commented code
12072
12073         * PainterBase.[Ch]: remove commented code
12074
12075         * LaTeXFeatures.h: add "bool floats" for float.sty
12076
12077         * LaTeXFeatures.C (LaTeXFeatures): init floats
12078         (require): handle float
12079         (getPackages): do it with floats
12080
12081 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12082
12083         * BufferView_pimpl.C (Dispatch): improve handling of
12084         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12085
12086         * commandtags.h: #include lyxfont.h here temporarily to avoid
12087         keybinding bug.
12088
12089         * bufferlist.h: include LString.h here.
12090
12091 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * text2.C (getStringToIndex): new method.
12094
12095 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12096
12097         * *: Reduced header file dependencies all over.
12098
12099 2001-07-30  Baruch Even  <baruch@lyx.org>
12100
12101         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12102
12103 2001-07-29  Baruch Even  <baruch@lyx.org>
12104
12105         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12106
12107 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * ParameterStruct.h (endif): add a default constructor to make
12110         sure that all variables is initialized.
12111
12112         * ParagraphParameters.C (ParagraphParameters): adjust
12113
12114 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12117         index; also, check that there is something to index, and that it
12118         does not span over several paragraphs.
12119         (doubleClick): use WHOLE_WORD_STRICT for double click.
12120
12121         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12122
12123         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12124         scheme.
12125
12126 2001-07-26  Baruch Even  <baruch@lyx.org>
12127
12128         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12129         an InsetFig figure, backwards compatible reading of old figure code.
12130
12131 2001-07-27  Juergen Vigna  <jug@sad.it>
12132
12133         * text2.C: font.realize function adaption.
12134
12135         * text.C (draw): add a warnings lyxerr text if needed.
12136
12137         * layout.C: font.realize function adaption.
12138
12139         * language.C: add inherit_language and implement it's handlings
12140
12141         * bufferview_funcs.C (StyleReset): remove language parameter from
12142         font creation (should be language_inherit now).
12143
12144         * bufferparams.C (writeFile): handle ignore_language.
12145
12146         * paragraph.C (getFontSettings): the language has to be resolved
12147         otherwise we have problems in LyXFont!
12148
12149         * lyxfont.C (lyxWriteChanges): added document_language parameter
12150         (update): removed unneeded language parameter
12151
12152         * paragraph.C (validate): fixed wrong output of color-package when
12153         using interface colors for certain fonts in certain environments,
12154         which should not seen as that on the final output.
12155
12156 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * BufferView_pimpl.C:
12159         * Thesaurus.h:
12160         * Thesaurus.C:
12161         * Makefile.am:
12162         * commandtags.h:
12163         * LyXAction.C: add thesaurus support
12164
12165         * lyxfind.h:
12166         * lyxfind.C: add "once" parameter, for thesaurus, to not
12167           move to the next match
12168
12169 2001-07-26  Juergen Vigna  <jug@sad.it>
12170
12171         * lyxfont.C (realize): honor ignore_language too!
12172         (resolved): ditto.
12173
12174         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12175
12176         * text.C (draw): one place more for ignore_language to not draw
12177         itself!
12178
12179 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12180
12181         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12182
12183 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12186         the minipage conversion problem.
12187
12188 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12191         insert an inset.
12192
12193 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * BufferView.h: don't forward declare WorkArea
12196
12197         * BufferView.C: don't include WorkArea.h
12198
12199 2001-07-25  André Pönitz <poenitz@gmx.net>
12200
12201         * commandtags.h:
12202         * LyXAction.C:
12203         * lyxfunc.C:  new LFUN 'math-space'
12204
12205         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12206
12207 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * text2.C (toggleInset): call open/close
12210
12211 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * lyxfunc.C (dispatch): add debug for the disabled case
12214
12215         * font.C (buttonText): make similar to rectText
12216
12217         * buffer.C (readInset): comment out parsing of insetlist and
12218         insttheorem
12219
12220         * PainterBase.C (rectText): small correction
12221
12222         * BufferView_pimpl.C: comment out insettheorem and insetlist
12223         * LyXAction.C: ditto
12224         * commandtags.h: ditto
12225
12226 2001-07-24  Juergen Vigna  <jug@sad.it>
12227
12228         * text.C (draw): honor the ignore_language.
12229
12230         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12231
12232 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12233
12234         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12235         char inset.
12236
12237 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12238
12239         * lyxtext.h: remove unused (and unimplemented) methods
12240
12241 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12242
12243         * text.C (getVisibleRow): honor background color
12244
12245         * PainterBase.h:
12246         * Painter.h: remove default color argument for fillRectangle
12247
12248         * text.C (backgroundColor): new method
12249
12250 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * text.C (getVisibleRow): adjust
12253
12254         * font.[Ch] (rectText): new method, metrics
12255         (buttonText): new method, metrics
12256
12257         * PainterBase.[hC]: make rectText and buttonText always draw and take
12258         fewer paramteres.
12259
12260 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12261
12262         * ToolbarDefaults.C (read):
12263         * MenuBackend.C (read): allow escaping in all strings
12264
12265         * BufferView_pimpl.C (insertAndEditInset): new method.
12266         (Dispatch): use insertAndEditInset whenever appropriate.
12267
12268         * BufferView_pimpl.C (insertNote): removed
12269
12270         * BufferView_pimpl.C (smartQuote): new method, moved from
12271         BufferView; if an insetquote cannot be inserted, insert a '"'
12272         character instead.
12273
12274         * BufferView2.C: remove insertCorrectQuote();
12275
12276         * lyxfunc.C (getStatus): Add support for all remaingin
12277         inset-insert lfuns.
12278
12279         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12280
12281         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12282         command (necessary to pass " as parameter of self-insert.
12283
12284         * text.C (selectWordWhenUnderCursor):
12285         (selectWord): add word_location parameter
12286         (selectWordWhenUnderCursor): same + remove special code for word
12287         boundary.
12288         (selectNextWord): use kind() to guess type of insetspecialchar,
12289         not latex().
12290
12291         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12292         (insertErtContents): create ert insets as collapsed.
12293         (readInset): better compatibility code for Info inset.
12294
12295 2001-07-20  Juergen Vigna  <jug@sad.it>
12296
12297         * lyxfunc.C (dispatch): use always LyXFind now!
12298
12299         * text2.C (init): add a reinit flag so that the LyXText can be
12300         reinited instead of deleted and reallocated (used in InsetText).
12301
12302         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12303
12304         * text.C: ditto
12305
12306         * text2.C: ditto
12307
12308 2001-07-18  Juergen Vigna  <jug@sad.it>
12309
12310         * text.C (selectNextWord): handle insets inside inset by calling
12311         always the bv->text functions so that we can go up the_locking_inset!
12312
12313         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12314         in strange locations when inside an inset!
12315
12316         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12317         handling to include insets.
12318
12319         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12320
12321 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * LyXAction.C (init):
12324         * commandtags.h:
12325         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12326         LIGATURE_BREAK, since the name is so stupid.
12327
12328 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12331         InsetInfos.
12332
12333         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12334
12335         * sp_form.[Ch]: remove.
12336
12337         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12338
12339         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12340         InsetInfo.
12341
12342         * src/buffer.C (readInset): ditto.
12343
12344 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12345
12346         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12347         menuSeparator(), endOfSentenceDot(), ldots() and
12348         hyphenationPoint(), which are therefore removed.
12349         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12350
12351         * LyXAction.C (init):
12352         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12353
12354         * paragraph.C (getWord): removed.
12355
12356         * BufferView_pimpl.C (Dispatch): use last word or selection for
12357         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12358
12359         * lyx_main.C (queryUserLyXDir): do not ask before creating
12360         user_dir, except if it has been named explicitely.
12361
12362 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12363
12364         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12365         a document of zero size.
12366
12367 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12370         approriately in the c-tor and in require().
12371         (getPackages): output the appropriate LaTeX for natbib support.
12372
12373         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12374         variables "use_natbib" and "use_numerical_citations" when reading the
12375         LyX file.
12376         (readInset): read the various natbib cite commands.
12377         (validate): white-space change.
12378
12379         * bufferparams.[Ch]: new variables "bool use_natbib" and
12380         "bool use_numerical_citations".
12381         (writeFile): output them in the LyX file.
12382
12383 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12384
12385         * lyxfunc.C (getStatus): add support for all the inset insertion
12386         commands.
12387
12388         * text2.C (insertInset):
12389         * paragraph.C (insetAllowed):
12390         * BufferView_pimpl.C (insertInset): update to take in account the
12391         renaming of insertInsetAllowed
12392
12393         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12394
12395         * text2.C (getInset): new method. returns inset at cursor position.
12396
12397         * BufferView_pimpl.C (Dispatch): changes because of this.
12398
12399         * LyXAction.C (init): rename open-stuff to inset-toggle.
12400
12401         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12402
12403         * text2.C (toggleInset): renamed from openStuff; use
12404         Inset::open().
12405
12406 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12407
12408         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12409
12410         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12411
12412 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12413
12414         * buffer.C (readLyXformat2): Add filename to the error dialog
12415
12416 2001-07-18  Juergen Vigna  <jug@sad.it>
12417
12418         * tabular.C (GetCellNumber): put an assert here instead of the check!
12419
12420 2001-07-17  Juergen Vigna  <jug@sad.it>
12421
12422         * BufferView_pimpl.C (toggleSelection): adapted too.
12423
12424         * text.C (selectNextWord): adapted for use with insets.
12425         (selectSelectedWord): ditto
12426
12427 2001-07-17  Juergen Vigna  <jug@sad.it>
12428
12429         * sp_spell.C (PSpell): fix initialitation order.
12430
12431 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * paragraph.C: spacing
12434
12435 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12436
12437         * sp_spell.C: repair language selection for pspell
12438
12439 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12440
12441         * lyxfunc.h: change more methods to begin with lower char.
12442
12443 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12444
12445         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12446         for unknown layouts.
12447
12448 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12449
12450         * buffer.C (readLyXformat2): Generate an error dialog if there are
12451         unknown layouts.
12452
12453 2001-07-16  Juergen Vigna  <jug@sad.it>
12454
12455         * sp_spell.C: always compile ISpell part.
12456
12457         * lyxrc.C: added use_pspell entry and it's handling.
12458
12459 2001-07-13  Juergen Vigna  <jug@sad.it>
12460
12461         * sp_spell.C: removed double includes.
12462
12463 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         Consistent use of Lsstream.h:
12466         * Lsstream.h: added using std::stringstream for consistencies sake.
12467
12468         * buffer.C: removed using std::stringstream
12469
12470         * lyxfont.C (stateText):
12471         * paragraph.C (asString):
12472         * text.C (selectNextWord, selectSelectedWord):
12473         * text2.C (setCounter):
12474         * vspace.C (asString, asLatexString):
12475         std::ostringstream -> ostringstream.
12476
12477 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12478
12479         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12480         * commandtags.h: add LFUN_HELP_ABOUTLYX
12481         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12482
12483 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12484
12485         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12486         cursorToggle()
12487         * lyx_gui_misc.C: remove spellchecker
12488         * lyxfunc.C: showSpellchecker
12489         * sp_base.h: added
12490         * sp_ispell.h: added
12491         * sp_pspell.h: added
12492         * sp_spell.C: added
12493         * sp_form.[Ch]: removed
12494         * spellchecker.[Ch]: removed
12495
12496 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12497
12498         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12499         is set.
12500         (simpleTeXSpecialChars): Simply print the input character without
12501         any special translation if pass_thru is set.
12502
12503         * layout.h: Added bool pass_thru to layout class for being able to
12504         implement pass through of a paragraph for Literate Programming.
12505
12506         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12507         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12508         * layout.C (Read): add "passthru" to list of layout tags and add
12509         code to set the pass_thru boolean when it is read.
12510
12511 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12512
12513         * trans_decl.h: remove allowed from KmodInfo
12514
12515         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12516         remove allowed code
12517         (Load): adjust
12518
12519         * paragraph_pimpl.C (erase): use boost::prior
12520
12521         * Painter.C (text): use data() instead of c_str() when length is
12522         also provided.
12523         * WorkArea.C (putClipboard): ditto
12524         * font.h (width): ditto
12525
12526         * BufferView2.C: use it-> instead of (*it). for iterators
12527         * texrow.C: ditto
12528         * paragraph_pimpl.C: ditto
12529         * paragraph.C: ditto
12530         * minibuffer.C: ditto
12531         * language.C: ditto
12532         * kbmap.C: ditto
12533         * encoding.C: ditto
12534         * counters.C: ditto
12535         * converter.C: ditto
12536         * chset.C: ditto
12537         * Variables.C: ditto
12538         * TextCache.C: ditto
12539         * MenuBackend.C: ditto
12540         * LyXAction.C: ditto
12541         * LColor.C: ditto
12542         * FloatList.C: ditto
12543         * DepTable.C: ditto
12544         * ColorHandler.C (LyXColorHandler): ditto
12545
12546 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12549
12550         * text2.C (openStuff): reintroduce this method (which had been
12551         nuked in NEW_INSETS frenzy).
12552
12553         * lyxfunc.C (Dispatch): when an action has not been handled, use
12554         its name in the error message, not its number.
12555
12556         * paragraph.C (inInset): change method name to begin with lowercase.
12557
12558         * undo_funcs.C:
12559         * text2.C: updates because of this.
12560
12561 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12562
12563         * ToolbarDefaults.C (add): add spaces in error message
12564
12565 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12568         (readLyXformat2): rename return_par to first_par, use lyxlex's
12569         pushToken and remove the manual push handling.
12570         (parseSingleLyXformat2Token): add another ert comp. variable:
12571         in_tabular, rename return_par to first_par. handle newlines better
12572
12573 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12574
12575         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12576
12577 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * text2.C (getParFromID): removed
12580
12581         * buffer.C (getParFromID): new method moved form lyxtext.
12582         * BufferView2.C (insertErrors): adjust
12583         (setCursorFromRow): adjust
12584         * BufferView_pimpl.C (restorePosition): adjust
12585         * lyxfunc.C (Dispatch): adjust
12586         * undo_funcs.C (textUndo): adjust
12587         (textRedo): adjust
12588         (textHandleUndo): adjust
12589         (textHandleUndo): adjust
12590
12591 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * buffer.C: up' the LYX_FORMAT
12594
12595         * lyxfont.h: turn NO_LATEX on as default
12596
12597         * buffer.C (insertErtContents): new methods of tex style compability.
12598         (parseSingleLyXformat2Token): use it several places.
12599         * tabular.C (OldFormatRead): and here
12600
12601 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * text2.C: remove some commented code.
12604         reindent file.
12605
12606         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12607         * trans.C: changes because of the above.
12608
12609 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12610
12611         * text2.C (setCounter): Fix counters bug with bibliography layout.
12612
12613 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12616         own member functions
12617         (simpleTeXSpecialChars): ditto
12618
12619 2001-07-06  Juergen Vigna  <jug@sad.it>
12620
12621         * a lot of files: changed the access to LyXText::status and the
12622         call of undo-functions.
12623
12624         * undo.[Ch]: added a inset_id to the undo informations.
12625
12626         * undo_funcs.[Ch]: added and moved here all undo functions.
12627
12628         * lyxtext.h: give the status enum a weight, made status_ a private
12629         variable and made accessor functions for it, removed the whole bunch
12630         of undo-functions as they are now in their own file, make some
12631         functions publically available. Added function ownerParagraph with
12632         int parameter.
12633
12634         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12635         made InInset() a const function, added getParFromID() function.
12636
12637         * buffer.[Ch]: added const version for inset_iterator functions,
12638         added getInsetFromID() function.
12639
12640         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12641         changed undo functions for new version.
12642
12643 2001-07-05  Juergen Vigna  <jug@sad.it>
12644
12645         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12646         unknow mechanism does not call the proper constructor but only this
12647         one also if I request the other!?
12648
12649 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12652
12653         * text2.C (LyXText): use initialization lists.
12654
12655         * lyxtext.h (Selection): initialize set_ and mark_
12656         (init): remove method
12657
12658 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12659
12660         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12661
12662 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * screen.[Ch]: change method names to begin with lowercase
12665
12666         * BufferView_pimpl.C (updateScrollbar): simplify further and
12667         hopefully make it a bit faster.
12668
12669 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12672         calling directly xforms functions.
12673
12674         * Painter.C (Painter):
12675         * lyx_cb.C (MenuWrite):
12676         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12677         fl_display.
12678
12679         * lyx_gui.C: remove bogus guiruntime extern declaration.
12680
12681 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12684         in NEW_INSETS
12685         (redoDrawingOfParagraph): ditto
12686         (redoParagraphs): ditto
12687         (cutSelection): don't create a object for CutAndPaste use the
12688         static method directly
12689         (pasteSelection): ditto
12690
12691         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12692         LyXview (+ rename)
12693
12694 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * modifications to some other files because of this.
12697
12698         * Makefile.am (lyx_SOURCES): add XFormsView
12699
12700         * XFormsView.[Ch]: new files
12701
12702         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12703         the main window. Move the gui dependent stuff to XFormsView
12704
12705 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * tabular.C (GetCellInset): update cur_cell also in the row/col
12708         version of this function.
12709
12710         * lyxfunc.C: no need to include figure_form.h here.
12711
12712         * FontLoader.h:
12713         * lyxfunc.h:
12714         * lyxscreen.h:
12715         * text2.C:
12716         * lyxvc.C: no need to include forms.h here.
12717
12718 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12721
12722         * lyxfunc.C (Dispatch):
12723         * Spacing.C (set):
12724         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12725         constructor argument.
12726
12727 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * paragraph.C (Paragraph): dont't clear, and just set layout.
12730         (makeSameLayout): use params's copy contructor.
12731
12732         * ParagraphParameters.[Ch] (makeSame): delete method
12733
12734 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12735
12736         * Variables.[Ch]: fix indentation, rename set to isSet
12737
12738 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * lyxfunc.C (Dispatch): fix typo
12741
12742 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12743
12744         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12745         upper_bound.
12746
12747         * bufferlist.C: include assert.h for emergencyWrite().
12748
12749 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12752           give up at last (bug #425202) !
12753
12754 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * lyx_gui_misc.C:
12757         * sp_form.h:
12758         * sp_form.C:
12759         * spellchecker.h:
12760         * spellchecker.C: strip spellchecker options and bring up
12761           preferences tab instead
12762
12763 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12766         the istringstream constructor
12767
12768 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12769
12770         * paragraph.C (getLayout): fix return value
12771
12772         * paragraph.h: do not declare getLayout as inline.
12773
12774         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12775
12776 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * lyxcursor.h (operator<): new func
12779         (operator>): new func
12780         (operator>=): new func
12781         (operator<=): new func
12782
12783         * text.C (changeCase): use selection.start and selection.end
12784         (changeRegionCase): require from to be <= to. Require par to be a
12785         valid paragraph.
12786
12787         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12788
12789 2001-06-27  Juergen Vigna  <jug@sad.it>
12790
12791         * text.C (cursorLeftOneWord): changed to return the cursor and added
12792         overlay with BufferView * parameter which calls this one.
12793         (getWord): added
12794         (selectWord): use new getWord function.
12795         (changeCase): renamed from changeWordCase as and extended to work
12796         also on selections.
12797
12798         * lyxtext.h: added enum word_location
12799
12800         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12801         changeCase as this operates now also on selections.
12802
12803 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12804
12805         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12806
12807         * many files: send debug output to Debug::INFO instead of
12808         Debug::ANY.
12809
12810         * converter.C (View):
12811         (Convert):
12812         (Move): send debug output to Debug::FILES instead of console.
12813
12814 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12815
12816         * lyxfunc.C (getStatus): use func_status
12817
12818         * func_status.h: new header, describing the results of
12819         LyXFunc::getStatus;
12820
12821         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12822         LFUN_MATH_HALIGN.
12823
12824 2001-06-25  The LyX Project  <jug@sad.it>
12825
12826         * buffer.C (sgmlOpenTag):
12827         (sgmlCloseTag):
12828         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12829
12830 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * text2.C: remove some dead code
12833
12834         * tabular.C (GetCellInset): store the last cell checked (gotten)
12835
12836         * tabular.h: add the helper for the speedup
12837
12838         * lyxtext.h: remove some dead code
12839
12840 2001-06-26  The LyX Project  <Asger>
12841
12842         * paragraph.C: Change export to LaTeX of alignment to
12843         \begin{center} and family for better roundtrip work with reLyX.
12844
12845         * Tune the math drawing a bit.
12846
12847 2001-06-25  The LyX Project  <Asger>
12848
12849         * LColor.C (LColor): New color for math background. New color
12850         for buttons.
12851
12852 2001-06-25  The LyX Project  <jug@sad.it>
12853
12854         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12855
12856         * lyxfunc.C (Open):
12857         * bufferlist.C (newFile): do not restrict to files ending with
12858         .lyx
12859
12860         * BufferView_pimpl.C (MenuInsertLyXFile):
12861
12862 2001-06-24  The LyX Project  <jug@sad.it>
12863
12864         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12865         of compare_no_case
12866
12867 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * lyxtext.h: rename most methods to begin with a small char.
12870         Lots of changes because of this.
12871
12872         * paragraph.C (Paragraph): do not call fitToSize
12873         (erase): call Pimpl::erase
12874         (insertChar): call Pimpl::insertChar
12875         (insertInset): call Pipl::insertInset
12876         (breakParagraph): do not call fitToSize
12877         (breakParagraphConservative): do not call fitToSize
12878         (fitToSize): remove method
12879
12880         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12881
12882 2001-06-24  The LyX Project  <Asger>
12883
12884         * Fix Qt compilation^2
12885
12886 2001-06-24  The LyX Project  <jug@sad.it>
12887
12888         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12889         depthHook(getDepth()-1).
12890
12891         * paragraph.h:
12892         * ParagraphParameters.h:
12893         * ParameterStruct.h: change type of depth to unsigned int ==
12894         depth_type. Many adaptations to other files before of that.
12895
12896 2001-06-24  The LyX Project  <Asger>
12897
12898         * Fix Qt compilation.
12899
12900 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * paragraph.h: renamed several methods to begin with small letter.
12903         several changes to many parts of the code because of this.
12904
12905 2001-06-23  The LyX Project  <jug@sad.it>
12906
12907         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12908         rewritten to discard all double spaces when KeepEmpty is off
12909         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12910         to only handle newlines but not fiddle with spaces and friends.
12911
12912         * lyxfunc.C (MenuNew): when doing 'new from template', use
12913         template_path as default directory
12914
12915 2001-06-23  The LyX Project  <Asger>
12916
12917         * Clean-up of header file includes all over
12918         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12919
12920 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * paragraph.h: renamed from lyxparagraph.h
12923
12924 2001-06-23  Asger  <lyx@violet.home.sad.it>
12925
12926         * Buffer.h: Removed Buffer::resize
12927         * BufferList.h: Removed BufferList::resize
12928         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12929         the document lazily when we change the width, or the font settings.
12930
12931 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12934
12935 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * buffer.h: remove out of date comment
12938
12939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * lyxscreen.h:
12942         * screen.C: fix "theoretical" GC leak
12943
12944 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * LaTeX.C (scanAuxFile):
12947         (deplog): remove trailing \r when reading stream (useful under
12948         win32)
12949
12950 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12951
12952         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12953         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12954         and BufferView::theLockingInset(Inset*), so should use them and not
12955         access bv_->text->the_locking_inset directly.
12956
12957         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12958
12959 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * Makefile.am:
12962         * tex-defs.h: remove old unused file
12963
12964 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * BufferView_pimpl.C: fix typo, remove minibuffer message
12967           when buffer has loaded
12968
12969 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * lyxfunc.C (Dispatch): use stringstream
12972         (MenuNew): use stringstream
12973         (Open): use stringstream
12974
12975         * importer.C (Import): use stringstream
12976
12977         * bufferview_funcs.C (CurrentState): use stringstream
12978
12979         * LaTeX.C (run): use stringstream
12980
12981         * BufferView_pimpl.C (savePosition): use stringstream
12982         (restorePosition): use stringstream
12983         (MenuInsertLyXFile): use stringstream
12984
12985 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12986
12987         * BufferView.C:
12988         * Bullet.C:
12989         * ColorHandler.C:
12990         * FontInfo.C:
12991         * FontLoader.C:
12992         * LColor.C:
12993         * LaTeXFeatures.C:
12994         * Painter.C:
12995         * gettext.C:
12996         * lyx_gui_misc.C:
12997         * lyxserver.C:
12998         * vspace.C: removed // -*- C++ -*- as first line.
12999
13000         * lyxfind.h:
13001         * version.h: added // -*- C++ -*- as first line.
13002
13003 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13004
13005         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13006
13007         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13008         of string
13009
13010 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13013         of floats.
13014
13015 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * gettext.C: include LString.h even when --disable-nls is on.
13018
13019 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13020
13021         * converter.h (Get): changed argument type from int to
13022         FormatList::size_type to avoid unnecessary conversion.
13023
13024         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13025         before using it.
13026
13027 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * gettext.h: include LString.h even when --disable-nls is on.
13030
13031 2001-06-07  Juergen Vigna  <jug@sad.it>
13032
13033         * text.C (BreakAgain): subst spaces with tabs.
13034
13035         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13036         (resizeInsetsLyXText): set force on resizeLyXText.
13037
13038 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * gettext.h (gettext_init):
13041         (locale_init): use a real definition instead of a macro
13042
13043 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * Bufferview_pimpl.C:
13046         * LColor.h:
13047         * LColor.C: further lcolor tidies
13048
13049 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * BufferView_pimpl.C (updateScrollbar): simplify.
13052
13053         * BufferView2.C: don't include insets/insetinfo.h, change
13054         prototype for insertInset and call the Pimpl version. let
13055         updateInset call Pimpl version.
13056
13057         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13058         gotoInset to BufferView::Pimpl
13059
13060 2001-06-01  Juergen Vigna  <jug@sad.it>
13061
13062         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13063         inside a LockingInset (is the update needed at all?).
13064
13065 2001-05-31  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13068         here not the old one otherwise how should we compare it afterwards
13069         if it's the same!
13070
13071 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * lyxfont.C:
13074         * tabular.C:
13075         * tabular-old.C:
13076         * FontInfo.C: bring C functions into global namespace when
13077         necessary
13078
13079 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * LString.h: make sure config.h has been loaded before LString.h.
13082
13083         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13084         (one for each char read by EatLine!).
13085
13086         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13087         variables.
13088
13089 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13092         to the same as the par we break from
13093
13094 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13097
13098         * MenuBackend.C (expand): also create menu entries for wide
13099         versions of the floats.
13100
13101         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13102
13103         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13104
13105         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13106         frontends/Makefile.am
13107
13108         * text2.C: adjust
13109         * text.C: adjust
13110
13111
13112         * tabular.C (getTokenValue): add std::
13113
13114         * tabular-old.C (getTokenValue): add std::
13115         (getTokenValue): ditto
13116         (getTokenValue): ditto
13117
13118         * screen.C (ToggleSelection): adjust
13119
13120         * lyxtext.h: put selection cursors inside a Selection struct.
13121
13122         * lyxfunc.C (moveCursorUpdate): adjust
13123
13124         * lyxfont.C (latexWriteStartChanges): add std::
13125
13126         * lyxfind.C: adjust
13127
13128         * font.h: delete with(char const *, LyXFont const &)
13129
13130         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13131
13132         * FontInfo.C (getFontname): add std::
13133
13134         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13135         (workAreaButtonPress): adjust
13136         (tripleClick): adjust
13137         (update): adjust
13138         (moveCursorUpdate): adjust
13139         (Dispatch): adjust
13140
13141         * BufferView2.C (gotoInset): adjust
13142
13143 2001-05-30  Juergen Vigna  <jug@sad.it>
13144
13145         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13146         to check pspell I add this as default as I now have new pspell
13147         libraries and they seem to use this.
13148
13149 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * text2.C (CutSelection): make the cursor valid before the call to
13152         ClearSelection.
13153
13154 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13157         relied on 0 terminated strings and other horrors. Bug found due to
13158         the new assert in lyxstring!
13159
13160         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13161         KP_ keys.
13162
13163 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13166         to latinkeys.bind.
13167
13168         * lyxfunc.C (processKeySym): change method of getting to the
13169         self-insert char.
13170
13171         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13172         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13173         * BufferView_pimpl.[Ch]: here as private methods.
13174
13175 2001-05-28  Juergen Vigna  <jug@sad.it>
13176
13177         * text.C (SetHeightOfRow): added the update() call again as it is
13178         needed to initialize inset dimensions!
13179
13180 2001-05-16  Juergen Vigna  <jug@sad.it>
13181
13182         * text2.C (SetCharFont): Add new function with BufferView * and
13183         bool toggleall parameters for setting insets internal fonts.
13184         (SetFont): Freeze the undo as we may change fonts in Insets and
13185         all this change should be inside only one Undo!
13186
13187         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13188         setting font's in insets as for them we have the SetFont function!
13189
13190 2001-05-15  Juergen Vigna  <jug@sad.it>
13191
13192         * text2.C (ClearSelection): to be sure we REALLY don't have any
13193         selection anymore!
13194
13195         * tabular.C (TeXCellPreamble): fixed the left border problem for
13196         multicolumn cells.
13197
13198 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13199
13200         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13201         dependancy file
13202
13203 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13206         LFUN_BREAKPARAGRAPH.
13207
13208         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13209         help test to "internal only", similar for LFUN_INSERT_URL
13210
13211         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13212         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13213         auto_region_delete and deadkeys.
13214
13215 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * LColor.h:
13218         * LColor.C: remove some dead entries, tidy a little
13219
13220 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13223         commented code.
13224         (Dispatch): implement LFUN_ESCAPE
13225
13226         * commandtags.h: add LFUN_ESCAPE
13227
13228         * LyXAction.C (init): add entry for LFUN_ESCAPE
13229
13230         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13231         Remove commented code.
13232         (insertNote): moved here
13233         (open_new_inset): moved here
13234
13235         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13236         BufferView_pimpl
13237
13238 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * kbmap.C (findbinding): clean it up and make it work correctly.
13241
13242         * lyx_main.C (init): do not pass argc and argv as parameters
13243
13244 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13245
13246         * buffer.C: fix path for OS/2 & Win32
13247
13248         * lyx_gui.C:
13249         * lyx_main:
13250         * lyx_main.C: Added os:: class.
13251
13252         * os2_defines.h: update
13253
13254 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13257         better by trying again with reduced state.
13258
13259 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * lyxrc.C (read): print error about invalid key sequence only when
13262         debugging (because not all latinX keysyms are known to some X
13263         servers)
13264
13265         * kbsequence.C (getiso): add a few std:: qualifiers
13266         (getiso): comment out extra return statement.
13267
13268 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13271         handling.
13272         (Dispatch): enhance the accent inset a bit. (not perfect)
13273
13274 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13277
13278 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * bufferlist.C (emergencyWrite): fix assert() call
13281
13282 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13283
13284         * text.C (InsertChar): Added trivial patch to only send the "you
13285         can not do multiple spaces this way" message once during a
13286         session.
13287
13288 2001-05-08  Baruch Even  <baruch@lyx.org>
13289
13290         * Makefile.am: Changed order of libraries to get LyX to link properly
13291         with the gnome frontend.
13292
13293 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * LaTeXFeatures.h: add a std:: qualifier
13296
13297 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * paragraph.C (String): use stringstream
13300
13301 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * paragraph.C (writeFile): remove footflag arg
13304
13305         * buffer.C (makeLaTeXFile): use stringstream
13306         (latexParagraphs): remove footnot gurba
13307
13308         * LaTeXFeatures.C (getPackages): use stringstream
13309         (getMacros): likewise
13310         (getTClassPreamble): likewise
13311         (getFloatDefinitions): new method
13312
13313         * paragraph.C (writeFile): reindent
13314         (Erase): reindent
13315
13316         * WorkArea.h: revert the xpos + etc changes.
13317
13318         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13319
13320         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13321
13322         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13323         (pasteSelection): likewise
13324         * text2.C (CreateUndo): likewise
13325
13326 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * minibuffer.C (peek_event): temporarily reduce the functionality
13329         of the minibuffer (to allow args on lfuns)
13330
13331         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13332         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13333
13334         * buffer.C (readInset): add compability reading of old float
13335         lists, add reading of new style float list.
13336         (readInset): avoid reevaluation of inscmd.getCmdName()
13337         (getLists): reindent
13338
13339         * MenuBackend.C (MenuItem): implement parsing of
13340         md_floatlistinsert and md_floatinsert.
13341         (expand::LastFiles): move initalizaton of iterators out of loop,
13342         avoid reevaluation.
13343         (expand::Documents): introduce typdedef vector<string> Strings,
13344         and use it.
13345         (expand::ExportFormats): introduce typedef vector<Format const *>
13346         Formats, and use it.
13347         (expand): implement FloatListInsert and FloatInsert.
13348
13349         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13350         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13351         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13352
13353         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13354         handling.
13355         (Dispatch::LFUN_FLOAT_LIST): implement
13356
13357 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13358
13359         * LaTeX.C (run): Fix problem with --export code.
13360
13361 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * BufferView.[Ch] (workarea): removed.
13364         (getClipboard) new method; wrapper for workarea()->getClipboard()
13365
13366         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13367         bug.
13368
13369         * WorkArea.h (width, height, xpos, ypos): These methods all
13370         returned the dimensions of the work_area sub-area of WorkArea,
13371         resulting in a position error if the WorkArea were resized. Now
13372         return the dimensions of the entire WorkArea.
13373
13374         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13375
13376 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * LaTeX.C (deplog): correct the syntax of regex reg1
13379
13380 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * undo.C: remove !NEW_INSETS cruft
13383
13384 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * text2.C: remove !NEW_INSETS cruft
13387
13388         * text.C: remove !NEW_INSETS cruft
13389
13390         * tabular.C: remove !NEW_INSETS cruft
13391
13392         * spellchecker.C: remove !NEW_INSETS cruft
13393
13394         * lyxtext.h: remove !NEW_INSETS cruft
13395
13396         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13397
13398         * lyxfunc.C: remove !NEW_INSETS cruft
13399
13400         * lyxfind.C: remove !NEW_INSETS cruft
13401
13402         * lyx_cb.C: remove !NEW_INSETS cruft
13403
13404         * figureForm.C: remove  !NEW_INSETS cruft
13405
13406         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13407
13408         * buffer.[Ch]: remove !NEW_INSETS cruft
13409
13410         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13411
13412         * CutAndPaste.C: remove !NEW_INSETS cruft
13413
13414         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13415
13416         * BufferView2.C: remove !NEW_INSETS cruft
13417
13418         * BufferView.h: remove !NEW_INSETS cruft
13419
13420 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * Lsstream.h: include LString.h before the sstream headers to
13423         fix problem with gcc 2.95.3 and lyxstring
13424
13425 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * lyx_main.C: add using directives when needed for C functions
13428         declared in std:: namespace.
13429
13430 2001-04-27  Juergen Vigna  <jug@sad.it>
13431
13432         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13433         (SetHeightOfRow): comment out the update call should not be needed!
13434
13435 2001-04-13  Juergen Vigna  <jug@sad.it>
13436
13437         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13438         (LyXTabular): tried to minimize operator= operations (and realized
13439         hopfully Lars wish).
13440
13441 2001-04-27  Juergen Vigna  <jug@sad.it>
13442
13443         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13444
13445 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13448
13449         * buffer.C (readInset): hack to make listof algorithm work
13450
13451         * BufferView_pimpl.C: hack to make listof algorithm work
13452
13453 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * LyXAction.C: removed all !NEW_INSETS cruft
13456         (init): moved lfun_item in method
13457
13458         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13459
13460 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * BufferView2.C (theLockingInset): white space.
13463
13464 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * minibuffer.C: include <iostream>
13467
13468         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13469
13470         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13471
13472         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13473
13474         * text.[Ch] (TransposeChars): new method
13475
13476 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * call message directly through LyXView instead of through LyXFunc
13479         * BufferView2.C: adjust
13480         * BufferView_pimpl.C: adjust
13481         * FontLoader.C: adjust
13482         * buffer.C: adjust
13483         * bufferview_funcs.C: adjust
13484         * converter.C: adjust
13485         * figureForm.C: adjust
13486         * importer.C: adjust
13487         * lyx_cb.C: adjust
13488         * lyx_gui_misc.C: adjust
13489         * lyxfunc.C: adjust
13490         * lyxvc.C: adjust
13491         * text2.C: adjust
13492         + more files in subdirs
13493
13494         * lyxparagraph.h (size): move up int file
13495         (GetLayout): ditto
13496
13497         * adjust all uses of Assert to lyx::Assert.
13498
13499         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13500         lyxfunctional in namespace lyx
13501         * layout.C (hasLayout): ditto
13502         (GetLayout): ditto
13503         (GetLayout): ditto
13504         (delete_layout): ditto
13505         (NumberOfClass): ditto
13506         * converter.C (GetFormat): ditto
13507         (GetNumber): ditto
13508         (Add): ditto
13509         (Delete): ditto
13510         (SetViewer): ditto
13511         * bufferlist.C (getFileNames): ditto
13512         (emergencyWriteAll): ditto
13513         (exists): ditto
13514         (getBuffer): ditto
13515         * MenuBackend.C (hasSubmenu): ditto
13516         (hasMenu): ditto
13517         (getMenu): ditto
13518         * BufferView_pimpl.C (getInsetByCode): ditto
13519
13520 2001-04-18  Juergen Vigna  <jug@sad.it>
13521
13522         * vspace.C (asLatexString): fixed the 100% problem.
13523
13524 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13525
13526         * lyxfunc.C (Dispatch):
13527         * minibuffer.C:
13528         * minibuffer.h: add a few std:: qualifiers
13529
13530 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * minibuffer.[Ch]: reimplement so that commands is initiated and
13533         run from lyxfunc, simplified som handling, and made the completion
13534         and history code for complete. wip.
13535
13536         * lyxfunc.C (processKeySym): call message
13537         (miniDispatch): new temporary method
13538         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13539         (LFUN_MESSAGE): implement
13540         (LFUN_MESSAGE_PUSH): implement
13541         (LFUN_MESSAGE_POP): implement
13542         (initMiniBuffer): the initial/defualt minibuffer message.
13543
13544         * lyxfont.[Ch]: inline some more getters
13545
13546         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13547
13548         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13549
13550         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13551         (AutoSave): use LFUN_MESSAGE
13552         (Reconfigure): ditto
13553
13554         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13555
13556         * figureForm.C: use LFUN_MESSAGE
13557
13558         * converter.C (runLaTeX): use LFUN_MESSAGE
13559
13560         * bufferview_funcs.C: use LFUN_MESSAGE
13561         (Melt): ditto
13562         (changeDepth): ditto
13563
13564         * bufferparams.h: use boost::
13565
13566         * bufferlist.h: inherit privately from noncopyable
13567
13568         * bufferlist.C (loadLyXFile): remove some commented code.
13569
13570         * buffer.C (runChktex): use LFUN_MESSAGE
13571
13572         * ShareContainer.h: inherit privately from noncopyable
13573
13574         * ParagraphParameters.[hC] (depth): inline it.
13575
13576         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13577         methods.
13578         (message): new method
13579         (messagePush): ditto
13580         (messagePop): ditto
13581         (show): init minibuffer
13582         (showState): direct call
13583
13584         * LaTeX.[Ch]: inherit privately from noncopyable
13585         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13586         instead of WriteStatus.
13587
13588         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13589
13590         * BufferView_pimpl.C (buffer): don't init minibuffer
13591         (workAreaButtonPress): use LFUN_MESSAGE
13592         (workAreaButtonRelease): ditto
13593         (savePosition): ditto
13594         (restorePosition): ditto
13595         (MenuInsertLyXFile): ditto
13596         (workAreaExpose): don't init minibuffer
13597         (update): remove commented code, simplify
13598
13599         * BufferView2.C (openStuff): use LFUN_MESSAGE
13600         (toggleFloat): ditto
13601         (menuUndo): ditto
13602         (menuRedo): ditto
13603         (copyEnvironment): ditto
13604         (pasteEnvironment): ditto
13605         (copy): ditto
13606         (cut): ditto
13607         (paste): ditto
13608         (gotoInset): ditto
13609         (updateInset): remove some commented code
13610
13611         * lastfiles.h: inherit privately from noncopyable
13612         * layout.h: ditto
13613         * lyx_gui.h: ditto
13614         * lyx_main.h: ditto
13615         * lyxlex.h: ditto
13616         * lyxlex_pimpl.h: ditto
13617
13618         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13619         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13620         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13621
13622         * LyXAction.h: inherit privately from noncopyable, add methods
13623         func_begin, func_end, returning iterators to the func map.
13624
13625         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13626         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13627         (func_begin): new method
13628         (func_end): new method
13629
13630         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13631         and not)
13632         (copySelection): ditto
13633         (pasteSelection): ditto
13634
13635         * BufferView.C: whitespace change
13636         * BufferView.h: inherit privately from noncopyable
13637
13638 2001-04-16  Allan Rae  <rae@lyx.org>
13639
13640         * tabular-old.C (l_getline):
13641         * spellchecker.C (sc_check_word):
13642         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13643         an unrecognised preprocessor directive.  So ensure they're wrapped.
13644
13645 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * src/exporter.C (Export): Give an error message when path to file
13648         contains spaces.
13649
13650 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * LaTeX.C (deplog): Always check that foundfile exists.
13653
13654 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * lyx_main.h:
13657         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13658
13659 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * tabular.[Ch] (getLabelList): implement new method
13662
13663         * minibuffer.h: comment ouf setTiimer
13664
13665         * minibuffer.C (ExecutingCB): constify res
13666         (peek_event): constify s
13667         (Set): constify ntext
13668         (Init): constify nicename
13669
13670         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13671
13672         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13673         (savePosition): use two params to Minibuffer::Set
13674         (restorePosition): ditto
13675
13676 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * lyx_main.C: include language.h
13679
13680         * Makefile.am (lyx_main.o): add language.h
13681
13682 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * exporter.C:
13685         * paragraph.C:
13686         * screen.C:
13687         * tabular.C:
13688         * CutAndPaste.C: include gettext.h
13689
13690         * lyxfont.h: remove old hack with ON and OFF.
13691
13692         * lyxparagraph.h:
13693         * lyxfont.h: do not include language.h...
13694
13695         * BufferView2.C:
13696         * LaTeXFeatures.C:
13697         * Painter.C:
13698         * bufferview_funcs.C:
13699         * font.C:
13700         * lyxfont.C:
13701         * text.C:
13702         * text2.C:
13703         * trans_mgr.C:
13704         * paragraph.C: ... but do it here instead
13705
13706 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13709
13710         * tabular.C: small reformat
13711
13712         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13713         NEW_INSETS version
13714         (GetChar): ditto
13715         (BreakParagraph): ditto
13716         (SetOnlyLayout): ditto
13717         (SetLayout): ditto
13718
13719         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13720         with one arg less.
13721
13722         * lastfiles.C: removed most using decl, add std:: where needed
13723
13724         * buffer.C: ws changes
13725
13726         * MenuBackend.C (class compare_format): put into anon namespace
13727         (expand): constify label, names, action, action2
13728         (expand):
13729
13730         * text.C (SingleWidth): constify font
13731         (IsBoundary): constify rtl2
13732         (GetVisibleRow): constify ww
13733
13734         * LaTeX.C (deplog): constify logfile
13735
13736         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13737         start_x, end_x
13738         (workAreaExpose): constify widthChange, heightChange
13739
13740         * lyxrow.C (par): moved
13741         (height): moved
13742         (next): moved
13743         * lyxrow.h: as inlines here
13744
13745         * lyxfont.h (shape): moved from lyxfont.C
13746         (emph): moved from lyxfont.C
13747
13748         * lyxfont.C (LyXFont): use initialization list for all
13749         constructors
13750         (shape): move to lyxfont.h as inline
13751         (emph): move to lyxfont.h as inline
13752
13753
13754 2001-04-04  Juergen Vigna  <jug@sad.it>
13755
13756         * vspace.C: had to include stdio.h for use of sscanf
13757
13758 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13759
13760         * BufferView.h:
13761         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13762         independent of xforms.
13763
13764 2001-04-02  Juergen Vigna  <jug@sad.it>
13765
13766         * spellchecker.C: fixed namespace placing!
13767
13768 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13769
13770         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13771         the LyXParagraph * is 0.
13772
13773 2001-03-29  Juergen Vigna  <jug@sad.it>
13774
13775         * vspace.C: added support for %, c%, p%, l%.
13776         (stringFromUnit): added helper function.
13777         (asLatexString): changed to give right results for the %-values.
13778
13779         * buffer.C: convert the widthp in a width%.
13780
13781 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13784         figureForm.[Ch].
13785
13786         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13787         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13788
13789         * lyx_cb.[Ch]: see above.
13790
13791         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13792         form1.[Ch].
13793
13794         * form1.[Ch]:
13795         * lyx.[Ch]: replaced by figure_form.[Ch].
13796
13797         * lyx_gui.C:
13798         * lyx_gui_misc.C:
13799         * lyxfunc.C: changed headers associated with above changes.
13800
13801 2001-03-27  Juergen Vigna  <jug@sad.it>
13802
13803         * BufferView_pimpl.C: set the temporary cursor right!
13804
13805 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13808
13809 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13810
13811         * LString.h: removed "using std::getline"!
13812
13813         * BufferView_pimpl.C (Dispatch): changes due to changes in
13814         InsetInclude::Params.
13815
13816         * buffer.C (tag_name): removed redundant break statements as they were
13817         producing lots of warnings with my compiler.
13818
13819 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * LString.h: add "using std::getline" when using the real <string>.
13822
13823 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13824
13825         * buffer.C: removed bitset usage.
13826         PAR_TAG moved to an anonymous name space.
13827         (tag_name): new funtion, also in the anonymous namespace.
13828         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13829         (makeDocBookFile): clean code. Completed transition from string arrays
13830         to string vectors.
13831         (SimpleDocBookOnePar): code clean.
13832
13833 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13834
13835         * tabular.C: add some comments.
13836
13837 2001-03-22  Juergen Vigna  <jug@sad.it>
13838
13839         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13840         compatibility read a bit and fixed bug with minipage in different
13841         depth.
13842
13843 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13844
13845         * buffer.C (pop_tag): removed.
13846         (push_tag): removed.
13847         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13848         array replaced with vector. Added support for CDATA sections.
13849         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13850         at any nest level.
13851         (makeDocBookFile): XML conformant declaration of CDATA section,
13852         fixed bug related to <emphasis> in the first paragraph char.
13853         (sgmlOpenTag): exclude empty tags.
13854         (sgmlCloseTag): ditto.
13855
13856         * buffer.h (pop_tag): removed.
13857         (push_tag): removed.
13858
13859 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13860
13861         * language.h (Languages): added size_type and size().
13862
13863 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13864
13865         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13866         response on compability reading of minipages. One probliem is that
13867         the old usage of minipages was «flertydig»
13868
13869         * several files here and in subdirs: don't use static at file
13870         scope use anon namespaces instead.
13871
13872 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13873
13874         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13875         LaTeX output. This is necessary for Literate document
13876         processing.
13877
13878 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13879
13880         * buffer.C: insert hfill when needed.
13881
13882         * tabular.C (l_getline): use string::erase, small whitespace change.
13883
13884         * BufferView_pimpl.C: try the anon namespace.
13885         * WorkArea.C: ditto
13886
13887 2001-03-16  Juergen Vigna  <jug@sad.it>
13888
13889         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13890         otherwise it won't open options-dialogs.
13891
13892         * buffer.C: honor pextraWidth(p) on converting minipages.
13893
13894         * tabular.C (l_getline): changed the functions to strip trailing \r.
13895
13896 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * BufferView_pimpl.C:
13899         * minibuffer..C: added "using SigC::slot" declaration.
13900
13901 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13902
13903         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13904
13905         * text2.C: ditto
13906
13907         * text.C: ditto
13908
13909         * paragraph.C: ditto
13910
13911         * lyxtext.h: NO_PEXTRA
13912
13913         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13914
13915         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13916         * ParameterStruct.h: ditto
13917         * ParagraphParameters.h: ditto
13918         * lyxparagraph.h: ditto
13919
13920 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13921
13922         * buffer.C: add compability for minipage alignment.
13923         (latexParagraphs): remove unwanted pextra check.
13924
13925         * several files: remove CXX_WORKING_NAMESPACES
13926
13927         * buffer.C (pop_tag): tie is in namespace boost
13928
13929         * BufferView.h: noncopyable is in namespace boost
13930         * lyxlex.h: ditto
13931         * lyx_main.h: ditto
13932         * lyx_gui.h: ditto
13933         * layout.h: ditto
13934         * lastfiles.h: ditto
13935         * bufferlist.h: ditto
13936         * ShareContainer.h: ditto
13937         * LyXView.h: ditto
13938         * LyXAction.h: ditto
13939         * LaTeX.h: ditto
13940
13941 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * Merging changes from BRANCH_MVC back into HEAD.
13944
13945         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13946
13947 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * BufferView_pimpl.C: change from intl.C
13950
13951         * combox.h:
13952         * combox.C:
13953         * Makefile.am: move combox.*
13954
13955         * form1.h:
13956         * form1.C:
13957         * lyx_gui.C:
13958         * intl.h:
13959         * intl.C: remove dialog (covered by prefs)
13960
13961 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13962
13963         * lyxfunc.C (Dispatch): removed redundant break statement.
13964
13965 2001-03-14  Juergen Vigna  <jug@sad.it>
13966
13967         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13968
13969 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13970
13971         * buffer.C: add hack to fix compability reading of minipages.
13972
13973 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * buffer.C (getLists): Cleanup.
13976
13977 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13978
13979         * lyxfont.C (update): don't honor toggleall on font size.
13980
13981 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * bmtable.c:
13984         * bmtable.h:
13985         * Makefile.am: moved to frontends/xforms/
13986
13987         * lyx_gui_misc.C:
13988         * lyxfunc.C:
13989         * BufferView_pimpl.C: changes for moved mathpanel
13990
13991 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13992
13993         * gettext.h: fix gettext_init() in --disable-nls
13994
13995 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13998
13999 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * lyx.C:
14002         * lyx.h: strip external form
14003
14004 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14005
14006         * BufferView_pimpl.C: add comment, destroySplash()
14007
14008 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * BufferView_pimpl.C:
14011         * LyXAction.C:
14012         * buffer.C:
14013         * commandtags.h:
14014         * lyxfunc.C: use re-worked insetinclude
14015
14016 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14017
14018         * buffer.C: add using std::stringstream.
14019
14020         * lyx_cb.C: readd using std::ios.
14021
14022         * buffer.C: add using std::map.
14023
14024         * BufferView_pimpl.C: add using std::vector.
14025
14026         * ShareContainer.h: add std:: to swap.
14027
14028         * buffer.h: add some typedefs
14029         * buffer.C (getLists): use them
14030         (getLists): renamed from getTocList.
14031         add a counter for the different float types and use it in the
14032         generated string.
14033         (getLists): use the same counter for the NEW_INSETS and the "non"
14034         NEW_INSETS
14035
14036         * lyx_cb.h: remove unused items, includes, using etc.
14037
14038         * ShareContainer.h: remove some commented code, add more comments
14039         and "documentation".
14040
14041 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14042
14043         * buffer.C (getTocList): make the list also when NEW_INSETS is
14044         defined.
14045
14046         * buffer.h: remove TocType
14047
14048         * buffer.C (getTocList): change to return a map<string,
14049         vector<TocItem> >, implement for dynamic number of list.
14050
14051         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14052         * text2.C (PasteSelection): adjust
14053         * CutAndPaste.C (pasteSelection): adjust
14054
14055         * FloatList.C (FloatList): update from the new_insets branch.
14056         * Floating.[Ch]: ditto
14057         * LaTeXFeatures.C: ditto
14058         * buffer.C: ditto
14059         * lyxlex_pimpl.C: ditto
14060
14061         * paragraph.C (Last): remove when NEW_INSETS is defined.
14062
14063         * other file: changes because of the above.
14064
14065 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14066
14067         * lyxparagraph.h: rename next to next_, previous to previous_,
14068         make them private for NEW_INSETS. Rename Next() to next(),
14069         Previous() to previous().
14070
14071         * other files: changes because of the above.
14072
14073 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * BufferView.h:
14076         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14077         problem.
14078
14079 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * main.C (main): pass lyx_localedir to gettext_init().
14082
14083         * gettext.h: remove locale_init and gettext_init macros
14084
14085         * gettext.C (locale_init): new function
14086         (gettext_init): new function
14087
14088         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14089         setlocale().
14090
14091 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14092
14093         * Moved credits to frontends:
14094         * credits.[Ch]: removed
14095         * credits_form.[Ch]: removed
14096         * lyx_gui_misc.C: remove credits stuff
14097         * Makefile.am:
14098
14099 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14100
14101         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14102
14103         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14104         unneeded destructor.
14105
14106         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14107         a standalone pointer again.
14108
14109         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14110
14111 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * Makefile.am:
14114         * filedlg.h:
14115         * filedlg.C:
14116         * LyXAction.C:
14117         * ToolbarDefaults.C:
14118         * bufferlist.C:
14119         * commandtags.h:
14120         * form1.C:
14121         * form1.h:
14122         * lyx_cb.C:
14123         * lyx_cb.h:
14124         * lyxfunc.h:
14125         * lyxfunc.C:
14126         * BufferView_pimpl.C: use new file dialog in GUII
14127
14128         * lyx_cb.h:
14129         * lyx_cb.C: remove LayoutsCB to Toolbar
14130
14131 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * ShareContainer.h (get): add std:: qualifier
14134
14135 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * ShareContainer.h: define a proper ShareContainer::value_type
14138         type (and use typename to please compaq cxx)
14139
14140 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14141
14142         * lyxparagraph.h: move serveral local vars to
14143         ParameterStruct/ParagraphParameters., use ShareContainer in
14144         FontTable., make vars in FontTable private and add getter and
14145         setter.
14146
14147         * paragraph.C: changes because of the above.
14148
14149         * lyxfont.h: remove copy constructor and copy assignment. (the
14150         default ones is ok), move number inside FontBits. move inlines to
14151         lyxfont.C
14152
14153         * lyxfont.C: add number to initializaton of statics, move several
14154         inlines here. constify several local vars. some whitespace
14155         cleanup. Dont hide outerscope variables.
14156
14157         * Spacing.h: add two new constructors to match the set methods.
14158
14159         * ShareContainer.h: new file, will perhaps be moved to support
14160
14161         * ParameterStruct.h: new file
14162
14163         * ParagraphParameters.h: new file
14164
14165         * ParagraphParameters.C: new file
14166
14167         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14168         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14169
14170         * BufferView_pimpl.C: ParagraphParameter changes.
14171         * buffer.C: Likewise.
14172         * bufferview_funcs.C: Likewise.
14173         * text.C: Likewise.
14174         * text2.C: Likewise.
14175
14176 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14177
14178         * lyxfind.C (LyXReplace): do not redefine default argument in
14179         implementation.
14180         (IsStringInText): ditto
14181         (SearchForward): ditto
14182         (SearchBackward): ditto
14183
14184 2001-03-06  Juergen Vigna  <jug@sad.it>
14185
14186         * lyxfind.C (IsStringInText): put parentes around expressions.
14187
14188 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14189
14190         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14191
14192 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14193
14194         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14195
14196         * stl_string_fwd.h: add comment
14197
14198         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14199
14200         * tabular.h:
14201         * tabular.C: remove unused DocBook methods
14202
14203         * intl.C:
14204         * language.C:
14205         * paragraph.C:
14206         * buffer.C:
14207         killed DO_USE_DEFAULT_LANGUAGE
14208
14209 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * lyx_gui.C: do not include language.h.
14212
14213         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14214         arguments in function implementation.
14215
14216 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14217
14218         * BufferView_pimpl.C: add <ctime>
14219
14220 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14221
14222         * BufferView_pimpl.C: add using std::find_if
14223
14224 2001-02-27  José Matos  <jamatos@fep.up.pt>
14225
14226         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14227         by OnlyPath.
14228
14229 2001-02-11  José Matos  <jamatos@fep.up.pt>
14230
14231         * buffer.C (makeDocBookFile): command styles now have a parameter as
14232         "title" by default.
14233
14234 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14235
14236         * layout_forms.[Ch]: removed
14237         * lyx_cb.[Ch]: out character
14238         * lyx_gui.C: out character
14239         * lyx_gui_misc.C: out character
14240         * bufferview_funcs.C: : out character,
14241         added toggleall as parameter in ToggleAndShow
14242
14243 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14246
14247         * text2.C (SetCurrentFont): Disable number property at boundary.
14248
14249 2001-02-26  Juergen Vigna  <jug@sad.it>
14250
14251         * lyxfunc.C (getStatus): added a string argument override function so
14252         that this is correctly called from LyXFunc::Dispatch if it contains a
14253         do_not_use_argument which is used!
14254         (Dispatch): added check for "custom" export and call appropriate func.
14255
14256 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14257
14258         * lyxrc.C: Add language_command_local, language_use_babel and
14259         language_global_options.
14260
14261         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14262
14263         * buffer.C (makeLaTeXFile): Use language_use_babel and
14264         language_global_options.
14265
14266 2001-02-23  Juergen Vigna  <jug@sad.it>
14267
14268         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14269         which works with LyXText and putted it inside BufferView. Here now we
14270         only call for that part the BufferView::Dispatch() function.
14271
14272         * BufferView.C (Dispatch): added.
14273
14274         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14275         functions which needs to use a LyXText over from LyXFunc.
14276         (MenuInsertLyXFile): added
14277         (getInsetByCode): added
14278         (moveCursorUpdate): added
14279         (static TEXT): added
14280
14281 2001-02-22  Juergen Vigna  <jug@sad.it>
14282
14283         * BufferView_pimpl.C (update): call a status update to see if LyXText
14284         needs it.
14285
14286 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14287
14288         * vc-backend.C (revert): implement for CVS
14289         (getLog): implement for CVS
14290
14291 2001-02-20  Juergen Vigna  <jug@sad.it>
14292
14293         * text2.C (ClearSelection): added BufferView param for inset_owner call
14294
14295         * lyxfunc.C (TEXT): added this function and use it instead of
14296         directly owner->view()-text of getLyXText().
14297
14298 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14299
14300         * src/layout_forms.C: out preamble
14301         * src/layout_forms.h: out preamble
14302         * src/lyx_cb.C: out preamble
14303         * src/lyx_cb.h: out preamble
14304         * src/lyx_gui.C: out preamble
14305         * src/lyx_gui_misc.C: out preamble
14306         * src/lyxfunc.C: connect with guii preamble
14307
14308 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14311
14312 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14313
14314         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14315         whether to run bibtex.
14316
14317 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14318
14319         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14320
14321 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14322
14323         * Makefile.am (lyx_SOURCES): removed bibforms.h
14324
14325         * vspace.h: doxygen
14326
14327         * text.C (GetVisibleRow): make several local vars const
14328
14329         * tabular.C: small cleanup.
14330
14331         * lyxserver.C (callback): use compare instead of strncmp
14332
14333         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14334         inlines to after class or to paragraph.C
14335
14336         * lyxfont.h: remove friend operator!=
14337
14338         * converter.h: move friend bool operator< to non friend and after
14339         class def.
14340
14341         * combox.h: small cleanup
14342
14343         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14344         to inlines after class def.
14345
14346         * buffer.C (pop_tag): use string operations instead of strcmp
14347
14348         * bmtable.c: doxygen, small cleanup
14349
14350         * LaTeX.h: remove friend operator==
14351
14352 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14353
14354         * screen.C:
14355         * lyxrc.[Ch]:
14356         * lyxfunc.C:
14357         * lyxfont.[Ch]:
14358         * lyx_cb.C:
14359         * intl.[Ch]:
14360         * commandtags.h:
14361         * buffer.C:
14362         * WorkArea.[Ch]:
14363         * LyXAction.C:
14364         * BufferView_pimpl.C:
14365         * BufferView.[Ch]: remove cruft
14366
14367 2001-02-14  Juergen Vigna  <jug@sad.it>
14368
14369         * lyxfunc.C: removed #if 0 unused code
14370
14371         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14372
14373         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14374
14375         * text2.C (SetSelection): added a BufferView * parameter
14376
14377 2001-02-13  Juergen Vigna  <jug@sad.it>
14378
14379         * lyxfunc.C (Dispatch): fixed protected blank problem.
14380         * BufferView2.C (protectedBlank): added LyxText * parameter.
14381
14382         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14383         (AppendColumn): same as above for column_info.
14384
14385         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14386         (moveCursorUpdate): use a LyXText param for support of InsetText.
14387
14388         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14389         (tripleClick): ditto
14390
14391         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14392
14393         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14394
14395         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14396
14397         * text2.C (SetSelection): set correct update status if inset_owner
14398         (ToggleFree): ditto
14399
14400 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14401
14402         * tabular.C: remove some commented code.
14403
14404 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * BufferView_pimpl.C: call hideSplash()
14407
14408         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14409
14410         * include_form.h:
14411         * bibforms.h: remove
14412
14413         * lyxfunc.C:
14414         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14415           add LFUN_CHILD_CREATE
14416
14417         * counters.h: fix tiny typo
14418
14419         * lyx_cb.C:
14420         * lyx.h:
14421         * lyx_gui.C:
14422         * lyx.C: move splash to frontends/xforms/
14423
14424         * lyx_gui_misc.C: move Include and Bibform to frontends
14425
14426         * lyxvc.h: clarify comment
14427
14428         * vspace.C: tiny housekeeping
14429
14430 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * text.C (PrepareToPrint): RTL Fix.
14433
14434         * paragraph.C (GetUChar): New method.
14435         (String):  Use GetUChar.
14436
14437         * buffer.C (asciiParagraph): Use GetUChar.
14438
14439 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14440
14441         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14442
14443 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14444
14445         * buffer.h:
14446         * buffer.C: rename to getLogName(), handle
14447           build log / latex log nicely
14448
14449 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * MenuBackend.C:
14452         * MenuBackend.h: remove support for reference menuitem type.
14453
14454 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * BufferView_pimpl.C: housekeeping
14457         * BufferView_pimpl.h:
14458         * LyXView.h:
14459         * Makefile.am:
14460         * Timeout.C:
14461         * Timeout.h:
14462         * minibuffer.h: move Timeout GUI-I
14463
14464 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14465
14466         * lyxrc.C (read): Update converters data-structures.
14467
14468 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14469
14470         * LaTeX.h (operator!=): add operator != for Aux_Info
14471
14472 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14475
14476         * LaTeXLog.C: deleted, useful code moved to Buffer
14477
14478         * buffer.h:
14479         * buffer.C: new function getLatexLogName()
14480
14481         * lyx_gui_misc.C:
14482         * lyx_gui.C:
14483         * lyxvc.C:
14484         * lyxvc.h:
14485         * lyxfunc.C: use frontends for LaTeX and VC logs
14486
14487 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * LaTeX.h: yet another std:: that Allan forgot.
14490
14491         * Variables.C (set): renamed from isset(), because this clashes
14492         with some HP-UX macros (grr).
14493
14494 2001-02-06  Allan Rae  <rae@lyx.org>
14495
14496         * LaTeX.h: Another bug fix.  Missing std:: this time.
14497
14498 2001-02-04  Allan Rae  <rae@lyx.org>
14499
14500         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14501         floats problem. I've left it commented out because it's not quite
14502         correct.  It should also test that the current object is a table or
14503         figure inset.  But I haven't gotten around to figuring out how to do
14504         that.  I *think* it'll be something like: "table" == inset.type()
14505
14506         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14507         bool.
14508
14509 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14512         all the citation/databases/styles in the auxilary file.
14513         (run): Rerun latex if there was a babel language error.
14514
14515 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * text.C (Backspace): Preserve the font when changing newline char
14518         with a space.
14519         (BreakParagraph): If the cursor is before a space, delete the space.
14520
14521         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14522
14523 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14524
14525         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14526         new argument (code).
14527         (ChangeCitationsIfUnique): New method.
14528
14529         * paragraph.C (GetPositionOfInset): Handle bibkey.
14530
14531 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14532
14533         * BufferView_pimpl.h: change type of Position::par_pos to
14534         LyXParagraph::size_type.
14535
14536 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14537
14538         * BufferView_pimpl.C (savePosition, restorePosition): Write
14539         messages to minibuffer.
14540
14541 2001-01-28  José Matos  <jamatos@fep.up.pt>
14542
14543         * buffer.C (makeDocBookFile): adds support for document language.
14544         A silly restriction on the name of LatexCommand types where removed.
14545         Added support for CDATA sections, allows to chars unescaped, used
14546         among others in code, to avoid escape < and >.
14547
14548 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14549
14550         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14551         saved positions instrad of a stack. Furthermore, a position is
14552         stored using paragraph id/paragraph position.
14553
14554         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14555         Remove LFUN_REF_BACK.
14556
14557 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * converter.C (dvipdfm_options): New method.
14560
14561 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * vspace.C (isValidLength): Fix for empty input string.
14564
14565 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14566
14567         * LyXAction.C (init): change description of LFUN_FIGURE to
14568         "Insert Graphics"
14569
14570 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * LaTeX.C: add using directive
14573
14574 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * MenuBackend.C (expand): Fix the sorting of the formats.
14577
14578 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * lyx_main.C: tiny error message fix
14581
14582 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14583
14584         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14585         calling fl_initialize(). This fixes the problem with ',' as
14586         decimal separator in text files.
14587
14588 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14589
14590         * trans.C (process): Fix the keymap bug.
14591
14592 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14593
14594         * LaTeX.C (scanAuxFiles): New method. Provides support for
14595         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14596         (scanLogFile) Scan for "run BibTeX" messages.
14597
14598         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14599         OT1 font encoding. Also, load the aecompl package if the ae
14600         package is loaded.
14601
14602         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14603
14604 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14605
14606         * texrow.C (increasePos): turn two error messages into debug
14607         messages.
14608
14609 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14610
14611         * LaTeX.C (scanAux): Handle the \@input macro.
14612         (runBibTeX): Use scanAux().
14613
14614         * language.C (latex_options_): New field.
14615
14616         * LaTeXFeatures.C (getMacros): Add language macros.
14617
14618         * buffer.C (makeLaTeXFile): Small fix.
14619
14620 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14621
14622         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14623
14624         * text2.C: add a using directive.
14625
14626 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14627
14628         * BufferView2.C:
14629         * lyx_gui_misc.h:
14630         * lyxfr1.C:
14631         * lyxfunc.C: kill LyXBell.
14632
14633 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * text.C (IsBoundary): Remove the error message
14636
14637         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14638
14639         * lyxrc.C (setDefaults): Correct initialization value for
14640         font_norm_type.
14641
14642 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14645         gotoError().
14646
14647         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14648         and GotoNextNote().
14649
14650         * src/LyXAction.C: Added reference-next.
14651
14652         * text.C (InsertChar): Use contains instead of strchr.
14653
14654         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14655
14656 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14657
14658         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14659         alignment commands (when needed).
14660
14661         * text.C (InsertChar): Add ':' to number separator chars.