]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
eb48c693ee418ad40a2a5e9aceec9f44b6291687
[lyx.git] / src / ChangeLog
1 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * lyxfind.C (find): fix argument order in call to ::find
4
5 2004-02-02  André Pönitz  <poenitz@gmx.net>
6
7         * cursor.[Ch]: remove direct access to anchor
8
9         * text.C: remove findText() hack
10
11 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * iterators.[Ch] (lockPath): remove in favour of...
14         * BufferView.[Ch] (setCursor): this addition
15         * BufferView.C (putSelectionAt): adjust
16         * undo.C (performUndoOrRedo): adjust
17         * lyxfunc.C (dispatch): adjust
18
19 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
20
21         * iterators.C (lockPath): add a missing slice
22         * undo.C (performUndoOrRedo): remove redundant positioning code
23
24 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
25
26         * vc-backend.C (scanMaster): ";" -> ';'
27
28 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
29
30         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
31         std::binary_function
32
33         * lyxtextclass.C (compare_name): rename to...
34         (LayoutNamesEqual): ...this
35
36         * lyxlex_pimpl.C (compare_tags): inherit from
37         std::binary_function, put back into anon namespace
38
39         * lyxfind.C (MatchString): inherig from std::binary_function
40         (findChange): use empty() istead of !size()
41
42         * format.C (FormatNamesEqual): new functor
43         (getFormat): use it
44         (getNumber): use it
45         (add): use it
46         (erase): use it
47         (setViewer): use it
48
49         * converter.C (compare_Converter): rename to...
50         (ConverterEqual): ...this, and fixup a bit.
51         (getConverter): use it, and make function const
52         (getNumber): use it, and make function const
53         (add): use it
54         (erase): use it:
55
56         * bufferlist.C: add using boost::bind
57
58         * MenuBackend.C (MenuNamesEqual): new functor
59         (hasMenu): use it, and make function const
60         (hasSubmenu): use nested bind to get rid of compare_memfun.
61
62 2004-01-30  André Pönitz  <poenitz@gmx.net>
63
64         * BufferView_pimpl.C:
65         * cursor.C:
66         * cursor.h:
67         * cursor_slice.[Ch]:
68         * lyxfunc.C:
69         * lyxtext.h:
70         * paragraph_funcs.C:
71         * paragraph_funcs.h:
72         * rowpainter.C:
73         * text.C:
74         * text2.C:
75         * text3.C: move some of the edit(x,y) handling to the insets
76         some coordinate changes.
77
78 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
79
80         * text.C: add using statements for std::advance and std::distance
81
82         * paragraph.C: add using statement for std::distance
83
84         * lyxfind.C: add using statement for std::advance
85
86         * cursor.C (region): remove std:: from swap
87         (openable): use nucleus in stead of operator->
88
89         * BufferView.C: add using statements for std::distance and std::swap
90
91 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
92
93         * iterators.C: Remove the pimple, move the needed structures to
94         the header file. Create accessor for the positions stack.
95         (asPosIterator): remove function
96
97         * PosIterator.C (PosIterator): move constructors to top of file
98         (PosIterator): reimplement the constructor taking a ParIterator in
99         terms of setFrom.
100         (setFrom): new function
101         (operator!=): inline it
102
103 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
104
105         * lyxfind.C (replaceAll): use std::advance
106
107         * iterators.h: inherit from std::iterator.
108
109         * PosIterator.C (advance, distance): remove
110         * PosIterator.h: interit from std::iterator.
111
112 2004-01-26  André Pönitz  <poenitz@gmx.net>
113
114         * BufferView.[Ch]:
115         * BufferView_pimpl.[Ch]:
116         * InsetList.[Ch]:
117         * PosIterator.[Ch]:
118         * buffer.h:
119         * bufferview_funcs.C:
120         * cursor.[Ch]:
121         * cursor_slice.h:
122         * factory.[Ch]:
123         * iterators.[Ch]:
124         * lyxfind.C:
125         * lyxfunc.C:
126         * lyxtext.h:
127         * output_docbook.C:
128         * output_latex.C:
129         * output_linuxdoc.C:
130         * output_plaintext.C:
131         * paragraph.[Ch]:
132         * paragraph_funcs.[Ch]:
133         * paragraph_pimpl.[Ch]:
134         * rowpainter.C:
135         * tabular.C:
136         * tabular.h:
137         * text.C:
138         * text2.C:
139         * text3.C: more IU:  dumps most of the rest of the mathcursor
140     implementation into cursor.[Ch]; "globalize" a bit of it.
141
142 2004-01-25  Angus Leeming  <leeming@lyx.org>
143
144         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
145
146 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * LaTeXFeatures.h: add nice_ and nice() const
149         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
150
151 2004-01-20  André Pönitz  <poenitz@gmx.net>
152
153         * BufferView.[Ch]:
154         * BufferView_pimpl.C:
155         * PosIterator.C:
156         * bufferview_funcs.C:
157         * cursor.[Ch]:
158         * cursor_slice.[Ch]:
159         * factory.C:
160         * iterators.C:
161         * lyx_cb.C:
162         * lyxfind.C:
163         * lyxfunc.C:
164         * lyxtext.h:
165         * rowpainter.C:
166         * text.C:
167         * text2.C:
168         * text3.C:
169         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
170           LCursor and mathcursor parts to LCursor and InsetBase.
171
172 2004-01-15  André Pönitz  <poenitz@gmx.net>
173
174         * cursor_slice.[Ch]: add a few covienience functions
175
176         * funcrequest.[Ch]: remove BufferView * member
177
178         * BufferView_pimpl.C:
179         * cursor.C:
180         * factory.[Ch]:
181         * lyxfind.[Ch]:
182         * lyxfunc.C:
183         * lyxtext.h:
184         * text3.C:
185         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
186
187 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
190         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
191
192 2004-01-13  André Pönitz  <poenitz@gmx.net>
193
194         * textcursor.[Ch]:
195         * lyxtext.h: hide cursor and selection anchor behind accessor function
196
197         * BufferView.C:
198         * BufferView_pimpl.[Ch]:
199         * PosIterator.C:
200         * bufferview_funcs.C:
201         * cursor.h:
202         * lyxfind.C:
203         * lyxfunc.C:
204         * text.C:
205         * text2.C:
206         * text3.C:
207         * undo.C: adjust
208
209         * cursor.h:
210         * cursor_slice.[Ch]: some integer type changes for inset unification
211
212         * lyxcursor.[hC]: remove, it's CursorSlice now.
213
214         * Makefile.am:
215         * BufferView_pimpl.[Ch]:
216         * bufferview_funcs.C:
217         * cursor_slice.C:
218         * lyxtext.h:
219         * text.C:
220         * text2.C:
221         * text3.C:
222         * textcursor.[Ch]: adjust
223
224 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * text2.C (undoSpan): add and use
227         * text.C (breakParagraph): use undoSpan (fix bug 578)
228         * lyxtext.h: adjust
229
230 2004-01-08  Angus Leeming  <leeming@lyx.org>
231
232         * BufferView_pimpl.C (MenuInsertLyXFile):
233         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
234         * lyxfunc.C (menuNew, open, doImport):
235         FileFilterList change to the FileDialog open and save functions.
236
237 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
238
239         * ShareContainer.h: make isEqual and isUnique adaptable
240
241         * CutAndPaste.C: make resetOwnerAndChanges adaptable
242
243 2004-01-07  Angus Leeming  <leeming@lyx.org>
244
245         * LyXAction.C:
246         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
247
248         * BufferView_pimpl.C (dispatch): act on these LFUNs.
249
250         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
251         functions replacing find, replace and replaceAll.
252
253         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
254         LFUN_WORDFIND(FORWARD|BACKWARD).
255
256 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * text.C (breakParagraph): remove an outdated #warning
259
260 2004-01-07  André Pönitz  <poenitz@gmx.net>
261
262         * lyxfind.C: somewhat clearer logic
263
264         * text.C: prevent crash in cursorX on unitialized row cache
265
266 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
267
268         * lyxcursor.[Ch] (operator>): add
269         * textcursor.C (selStart, selEnd): use std::min and std::max
270
271 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
272
273         * Chktex.C: include boost/format.hpp
274
275 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
276
277         * InsetList.C: replace functor MathcIt with adaptable functor
278         InsetTablePosLess
279         (insetIterator): modify accordingly
280
281         * BranchList.h: move the BranchNamesEqual functor here from...
282         * BranchList.C: ... to here
283
284         * BranchList.C: new BranchListEqual fuctor, use it. Remove
285         SameName and match.
286         (add): replace a finding loop with std::find_if.
287
288 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * output_docbook.C: moving LatexParam functionality into
291         .layout files
292
293 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
294
295         * buffer.C: increment format to 229.
296
297 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
298
299         * LaTeXFeatures.C:
300         * lyx_sty.[Ch]: remove minipageindent_def
301
302         * LyXAction.C:
303         * factory.C:
304         * lfuns.h:
305         * lyxfunc.C:
306         * text3.C: remove LFUN_INSET_MINIPAGE
307
308 2003-12-28  Angus Leeming  <leeming@lyx.org>
309
310         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
311
312 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * text2.C (setParagraph): fix off-by-one crash
315
316 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
317
318         * output_docbook.C: header stuff for AGU
319
320 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * text2.C (redoCursor): remove
323         * text.C:
324         * text3.C:
325         * BufferView_pimpl.C: remove calls to redoCursor and
326         setCursor(cursor.par(), cursor.pos()) all around
327
328 2003-12-15  Angus Leeming  <leeming@lyx.org>
329
330         * buffer.C: up the format to 228.
331
332 2003-12-15  André Pönitz  <poenitz@gmx.net>
333
334         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
335         slices
336
337         * Makefile.am:
338
339         * BufferView_pimpl.C:
340         * cursor.[Ch]:
341         * lyxcursor.[Ch]:
342         * rowpainter.[Ch]:
343         * lyxtext.h:
344         * text.C:
345         * text2.C:
346         * text3.C: adjust
347
348 2003-12-15  Angus Leeming  <leeming@lyx.org>
349
350         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
351         than getFromGUIName to manipulate the color.
352
353 2003-12-14  Angus Leeming  <leeming@lyx.org>
354
355         * BranchList.[Ch]: minimize the API.
356         (Branch::getBranch, getColor): now return a 'const &'.
357         (Branch::setSelected) now returns a bool set to true if the
358         selection status changes.
359         (BranchList::clear, size, getColor, setColor, setSelected,
360         allBranches, allSelected, separator): removed.
361         (BranchList::find): new functions, returning the Branch with
362         the given name.
363         (BranchList::add, remove): return a bool indicating that
364         the operation was successful.
365
366         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
367         new InsetBranch::isBranchSlected member function.
368
369         * LColor.[Ch]: mimimize the API.
370         (fill): renamed as addColor and made private.
371         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
372         versions of these functions taking a string arg have been removed.
373
374         * bufferparams.C (readToken):
375         * lyxfunc.C (dispatch):
376         * lyxrc.C (read): changes due to the altered BranchList and
377         LColor APIs.
378
379         * factory.C (createInset, readInset): changes due to altered
380         InsetBranch c-tor.
381
382 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * factory.C:
385         * lyxfunc.C: remove insetminipage. "minipage-insert"
386         now produces a frameless minipage box inset.
387
388 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * textcursor.[Ch] (selStart,selEnd): add new methods
391         remove selection::start, end, use LyXCursor::operator<
392         * lyxcursor.[Ch] (operator<): add
393         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
394         * BufferView.[Ch] (unsetXSel): add
395         * text2.C (clearSelection): use unsetXSel,adjust
396         * text.C: adjust
397         * text3.C: adjust
398         * rowpainter.C: adjust
399         * bufferview_funcs.C (put_selection_at): adjust
400
401 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * BufferView_pimpl.C: small coord. correction
404
405 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
408         dragging over the splash screen.
409
410 2003-12-11  Angus Leeming  <leeming@lyx.org>
411
412         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
413         as it is now handled in LyXText::dispatch.
414
415         * text3.C (doInsertInset): remove a level of nesting.
416
417 2003-12-11  Angus Leeming  <leeming@lyx.org>
418
419         * factory.C (createInset): changes due to the changed interface to
420         InsetCommandMailer::string2params.
421
422 2003-12-10  Angus Leeming  <leeming@lyx.org>
423
424         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
425         'dialog-show-new-inset <inset name>'
426
427 2003-12-10  Angus Leeming  <leeming@lyx.org>
428
429         * buffer.C: up the format to 227.
430
431         * factory.C: the box inset is now identified simply by 'Box'.
432
433 2003-12-10  Angus Leeming  <leeming@lyx.org>
434
435         * buffer.C: up the format to 226.
436
437         * factory.C: the note inset is now identified simply by 'Note'.
438
439 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
440
441         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
442         when a pit is enough. Standarize a couple of loops.
443
444 2003-12-05  Angus Leeming  <leeming@lyx.org>
445
446         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
447         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
448         data to the re-worked "log" dialog.
449
450 2003-12-03  André Pönitz  <poenitz@gmx.net>
451
452         * PosIterator.C:
453         * iterators.C:
454         * lyxtext.h:
455         * output_latex.C:
456         * paragraph_funcs.C:
457         * text.C:
458         * text2.C: use Inset::getText instead of Inset::getParagraph
459
460 2003-12-03  André Pönitz  <poenitz@gmx.net>
461
462         * buffer.[Ch]:
463         * lyxtext.h:
464         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
465         InsetText::read() as LyXText::read()
466
467 2003-12-02  Angus Leeming  <leeming@lyx.org>
468
469         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
470         type. Add a comment in the implementation that the function uses
471         the stream's bad() function rather than fail() as the std::streams
472         would do.
473
474 2003-12-02  André Pönitz  <poenitz@gmx.net>
475
476         * lyxlex.[Ch]: make interface more similar to std::stream
477
478         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
479
480 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
481
482         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
483
484 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
485
486         * vspace.[Ch]: remove VSpace::NONE
487
488 2003-12-01  André Pönitz  <poenitz@gmx.net>
489
490         * buffer.[Ch]:
491         * lyxtext.h: move ParagraphList member to LyXText
492         rename LyXText::ownerParagraphs to LyXText::paragraph
493
494         * CutAndPaste.C:
495         * bufferview_funcs.C:
496         * iterators.[Ch]:
497         * lyx_cb.C:
498         * paragraph.C:
499         * rowpainter.C:
500         * tabular.C:
501         * text.C:
502         * text2.C:
503         * text3.C: adjust
504
505         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
506
507         * undo.C: fix cursor positioning
508
509 2003-12-01  John Levon  <levon@movementarian.org>
510
511         * BufferView_pimpl.C: fix a crash on exit with
512         a buffer open
513
514 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * BranchList.C: fix setSelected() method.
517
518 2003-11-28  André Pönitz  <poenitz@gmx.net>
519
520         * ParagraphParameters.[Ch]:
521         * ParameterStruct.h: remove space above/below from Paragraph to
522          InsetVSpace
523
524         * BufferView_pimpl.C:
525         * factory.C:
526         * lyxfunc.C:
527         * lyxtext.h:
528         * output_latex.C:
529         * paragraph.C:
530         * paragraph_funcs.C:
531         * rowpainter.[Ch]:
532         * text.C:
533         * text2.C:
534         * text3.C: adjust
535
536 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
537
538         * factory.C: Syntax change for CharStyles
539
540 2003-11-28  André Pönitz  <poenitz@gmx.net>
541
542         * BufferView.[Ch]:
543         * BufferView.[Ch]:
544         * buffer.[Ch]:
545         * buffer.[Ch]: move LyXText member
546
547 2003-11-28  André Pönitz  <poenitz@gmx.net>
548
549         * BufferView.[Ch]: make LyXText * text a private member
550
551         * BufferView_pimpl.C:
552         * cursor.C:
553         * iterators.C:
554         * lyx_cb.C:
555         * lyxfind.C:
556         * lyxtext.h:
557         * rowpainter.[Ch]:
558         * text.C:
559         * text2.C:
560         * undo.C: adjust
561
562         * output_plaintext.C: cleanup
563
564 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
565
566         * buffer.C:
567         * lyxtextclass.[Ch]: parametrize SGML document header
568
569 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * converter.[Ch]:
572         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
573         getFlavor().
574
575 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * text2.C (setFont): rework using PosIterator (no more recursive)
578         (setCharFont): no more needed
579         (setLayout): no more selection cursors fiddling (done by redoCursor)
580         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
581         destroy remaining ones)
582
583 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
586         * lyxtext.h: ditto
587         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
588         selection cursors
589         * lyxfunc.C: adjust
590         * text3.C: adjust + re-allow multi par depth changes
591         * textcursor.C: simplify a bit
592
593 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * src/buffer.C:
596         * src/lyxlayout.C:
597         * src/lyxlayout.h:
598         * src/lyxtext.h:
599         * src/output_docbook.C:
600         * src/output_latex.C:
601         * src/paragraph.C:
602         * src/paragraph.h:
603         * src/sgml.C:
604         * src/sgml.h:
605         * src/text2.C: Introducing a number of tags parametrizing various
606         XML formats that we may want to support
607
608 2003-11-25  André Pönitz  <poenitz@gmx.net>
609
610         * InsetList.[Ch] (begein, end): inline as suggested by profiler
611
612         * lyxtext.h (leftMargin/rightMargin): simplify interface
613
614         * rowpainter.C:
615         * text.C:
616         * text2.C:
617         * text3.C: adjust
618
619 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
620
621         * lyxfunc.C (dispatch): propogate the bibtex databases from the
622         master file to any child files. Fixes bug 546.
623
624 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
625
626         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
627
628 2003-11-24  André Pönitz  <poenitz@gmx.net>
629
630         * rowpainter.C: simplification
631
632         * text2.C (updateCounters): remove call to redoParagraph on
633         changed labels as this is far too expensive.
634
635 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
636
637         * converter.C (convert): fix a crash: this function gets
638         called with buffer == 0 from importer code.
639
640 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * text3.C (cursorPrevious): make sure that we do not compare
643         iterators form different containers.
644         (cursorNext): ditto
645
646         * rowpainter.C (paintSelection): make sure that we do not compare
647         iterators from different containers.
648
649         * text3.C (dispatch): [PRIOR] make sure that we do not compare
650         iterators from different ParagraphList containers.
651         [NEXT] ditto
652
653         * text2.C (LyXText): change order of initialization slightly
654         (operator=): new function. copy all variables except cache_par_
655         (moveUp): make sure that we do not compare iterators from
656         different ParagraphList constainers.
657         (moveDown): ditto
658
659         * text.C (firstPar): new function
660         (lastPar): new function
661         (endPar): new function
662
663         * lyxtext.h: move things around and group public functions, public
664         variables, private functions, private variables
665
666 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
667
668         * factory.C: change call to InsetERT constructor to avoid
669         additional invocation of method status
670         * text2.C (toggleInset): remove redundant update() call
671         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
672         instead of a Bufferview pointer
673
674 2003-11-21  André Pönitz  <poenitz@gmx.net>
675
676         * rowpainter.C: simplification
677
678 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * text3.C (dispatch): make possible to extend a word/row selection
681         with the mouse
682
683 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
684
685         * lyxtext.h: x0_,y0_ -> xo_,yo_
686         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
687         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
688         * rowpainter.C (paintRows): paint full paragraphs
689
690 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
693         screen coordinates)
694
695 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * lyxtext.h: add x0_, y0_
698         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
699         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
700
701 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
702
703         * text2.C (setCursorIntern): move the x_target update here *
704         * text3.C: change some bv() to true/false in calls to
705         cursorUp/Down/Right/Left
706         * cursor.C: use helper function.
707
708 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
709
710         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
711         * paragraph_funcs.[Ch]: correct comment
712         * rowpainter.C: do not paint selections away from bv->cursor()
713         Fix a long standing selection painting bug.
714         * text3.C: generalize mouse-selection code to LyXTexts other that
715         top one
716         * textcursor.C: do not use y coords if we can use par offsets
717
718 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
721         cursor position after e.g. inset insert)
722
723 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
724
725         * lyxfind.C (replace): adjust to locking removal + some
726         code simplification
727
728 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
729
730         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
731         of the path
732
733 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * lyxlayout.[Ch]:
736         * output_docbook.C: XML sanitation: new layout
737         parameters InnerTag and CommandDepth
738
739 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * BufferView_pimpl.C:
742         * factory.C:
743         * text3.C: Fix the insertion and modification of button-style
744         insets
745
746 2003-11-13  André Pönitz  <poenitz@gmx.net>
747
748         * InsetList.[Ch]: remove deleteLyXText
749
750         * paragraph.[Ch]: cache beginOfBody position
751
752         * Bidi.C:
753         * text.C:
754         * text2.C:
755         * text3.C: remove superfluous update() calls
756
757         * vspace.C: cleanup
758
759 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
760
761         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
762         * BufferView.C (fitLockedInsetCursor): remove
763         * cursor.[Ch] (getDim): add
764         * text.C (getRowNearY): add faster version
765         * text3.C: remove some update calls
766
767 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
768
769         * LaTeXFeatures.C:
770         * LyXAction.C:
771         * MenuBackend.C:
772         * MenuBackend.h:
773         * dispatchresult.h:
774         * factory.C:
775         * lfuns.h:
776         * lyxfunc.C:
777         * lyxtextclass.C:
778         * lyxtextclass.h:
779         * text3.C: The Character Style /XML short element patch.
780
781 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * text3.C:
784         * factory.C: Small step to solving 'unable to insert some insets'
785         problem
786
787 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * cursor.[Ch] (updatePos): new function for updating the y
790         position of the tip inset
791         * bufferview_funcs.C (put_selection_at):
792         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
793
794 2003-11-11  André Pönitz  <poenitz@gmx.net>
795
796         * text.C: remove big comment on invalid Paragraph pointers as it is
797         not valid anymore
798
799 2003-11-11  André Pönitz  <poenitz@gmx.net>
800
801         * text_funcs.[Ch]: merge with ...
802
803         * text.C: ... this
804
805         * lyxtext.h:
806         * text2.C:
807         * text3.C: adjust
808
809         * Makefile.am: remove text_funcs.[Ch]
810
811 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
812
813         * cursor.C (getPos): return absolute cached y coord
814
815         * BufferView_pimpl.C (fitCursor): new simplistic code
816         (workAreaDispatch): add a fitCursor call
817
818 2003-11-10  André Pönitz  <poenitz@gmx.net>
819
820         * BufferView.[Ch]:
821         * BufferView_pimpl.[Ch]: merge update() and updateInset()
822
823 2003-11-10  André Pönitz  <poenitz@gmx.net>
824
825         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
826         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
827         indicate that the cursor needs to leave an inset
828
829         * lyxtext.h: remove inset locking
830
831         * cursor.[Ch]: re-implement functionality provided by inset locking
832
833         * BufferView.[Ch]:
834         * BufferView_pimpl.[Ch]:
835         * LyXAction.C:
836         * bufferview_funcs.[Ch]:
837         * factory.C:
838         * funcrequest.[Ch]:
839         * iterators.C:
840         * lyx_cb.C:
841         * lyxfind.C:
842         * lyxfunc.C:
843         * text.C:
844         * text2.C:
845         * text3.C:
846         * undo.C: adjust
847
848 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
849
850         * PosIterator.[Ch]: replace the stack with a vector, add inset
851         accesor
852         * iterators.[C]: adjust
853
854 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
855
856         * lyxfind.C (replaceAll): mark the buffer dirty if something was
857         replaced
858         * paragraph_funcs.C (readParToken): put the correct id in the
859         error item, not the id of the top paragraph
860
861 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
862
863         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
864         * bufferview_funcs.C (put_selection_at): use the above
865
866 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
867
868         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
869
870 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
871
872         * output_linuxdoc.h:
873         * output_plaintext.h:
874         * output.h:
875         * output_docbook.h: add #include statements
876
877 2003-11-05  José Matos  <jamatos@lyx.org>
878
879         * output_docbook.[Ch]:
880         * output_latex.[Ch]:
881         * output_linuxdoc.[Ch]:
882         * output_plaintext.[Ch]: New files for output formats.
883         * output.[Ch]: New file for helper functions.
884
885         * buffer.[Ch]:
886         * paragraph_funcs.[Ch]: output functions moved to new files.
887
888         * outputparams.h: rename of latexrunparams.h
889
890         * LaTeX.[Ch]:
891         * buffer.[Ch]:
892         * bufferlist.[Ch]:
893         * converter.[Ch]:
894         * exporter.C:
895         * paragraph.[Ch]:
896         * paragraph_funcs.[Ch]:
897         * paragraph_pimpl.[Ch]:
898         * tabular.[Ch]: rename ascii to plaintext
899         and LatexRunParams to OutputParams.
900
901 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
902
903         * iterators.[Ch] (text): require bv argument
904         * undo.C (recordUndo):
905         * lyxfunc.C (dispatch):
906         * bufferview_funcs.C (put_selection_at): adjust
907
908 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
909
910         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
911
912 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
913
914         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
915         nestings
916
917 2003-11-04  André Pönitz  <poenitz@gmx.net>
918
919         * cursor.[Ch]: restructure
920
921         * BufferView.[Ch]:
922         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
923
924         * iterators.[Ch] (asCursor): remove
925
926         * lfuns.h: remove LFUN_INSET_EDIT
927
928         * lyxfunc.C:
929         * tabular.C:
930         * text.C:
931         * text2.C:
932         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
933
934 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
935
936         * lyxfind.[Ch]: complete overhaul
937         * BufferView_pimpl.C:
938         * lyxfunc.C: adjust
939         * paragraph.[Ch] (insert): add
940
941 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
942
943         * BufferView.[Ch]:
944         * lyxtext.h:
945         * text.C: remove dead spellcheck code
946
947 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
948
949         * dispatchresult.h: add a val setter
950
951         * cursor.C (dispatch): use a tempvar for data_[i]
952
953 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
954
955         * PosIterator.[Ch]: compile fix
956
957 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
958
959         * text.C (cursorPar): deactivate the cursor cache
960
961 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
962
963         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
964
965 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
966
967         * text3.C (dispatch): adjust for new DisptchResult semantics.
968
969         * lyxfunc.C (dispatch): handle update when return from
970         Cursor::dispatch, adjust for new DispatchResult semantics.
971
972         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
973         DispatchResult(true) mean to not update. Add class functions for
974         setting dispatched and update, as well as reading.
975
976         * cursor.C (dispatch): don't handle update here
977
978 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
979
980         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
981         * trans_mgr.C: adjust
982
983         * paragraph_funcs.C (readParToken): exception safety
984
985         * lyxvc.h: store the vcs pointer in a scoped_ptr
986         * lyxvc.C: adjust
987
988         * lyxsocket.C (serverCallback): exception safety
989
990         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
991
992         * ispell.C (clone): make it return a auto_ptr
993
994         * factory.C (createInset): exception safety
995         (readInset): exception safety
996
997         * bufferlist.C (newBuffer): exception safety
998
999         * Thesaurus.C (Thesaurus): use initialization for aik_
1000
1001         * MenuBackend.C (expandToc): exception safety.
1002
1003 2003-11-03  André Pönitz  <poenitz@gmx.net>
1004
1005         * buffer.C:
1006         * buffer.h:
1007         * bufferview_funcs.C: remove getInsetFromId()
1008
1009         * lyxcursor.[Ch]:
1010         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1011
1012         * lyxfunc.C:
1013         * text2.C:
1014         * text3.C: adjust
1015
1016 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1017
1018         * PosIterator.C (distance, advance): new
1019         * bufferview_funcs.[Ch] (put_selection_at): new
1020         * iterators.[Ch] (lockPath): new
1021
1022 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1023
1024         * iterators.[Ch] (asPosIterator): added
1025         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1026         * PosIterator.[Ch]: added
1027
1028 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1029
1030         * text3.C:
1031         * lyxfunc.C:
1032         * cursor.C (dispatch):
1033         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1034
1035         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1036         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1037         contructor, add a class function dispatched. Remove operator>=
1038
1039 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * debug.C: only use the default constructor for debugstream
1042         (lyxerr) here.
1043
1044         * main.C (main): include debug.h and setup the lyxerr streambuf
1045         here.
1046
1047 2003-10-31  José Matos  <jamatos@lyx.org>
1048
1049         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1050
1051         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1052         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1053         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1054         * paragraph_pimpl.C (simpleTeXSpecialC):
1055         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1056         add LatexRunParams argument.
1057
1058         * exporter.C (Export): change call accordingly.
1059
1060         * latexrunparams.h: add new member to take care of the other backends.
1061 2003-10-30  José Matos  <jamatos@lyx.org>
1062
1063         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1064         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1065         factorise code for paragraph output.
1066         * buffer.[Ch]:
1067         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1068         move functions.
1069
1070 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1071
1072         * text3.C (dispatch):
1073         * lyxfunc.C (dispatch):
1074         * cursor.C (dispatch):
1075         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1076
1077         * dispatchresult.h: make the dispatch_result_t ctor explicit
1078
1079 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1080
1081         * sgml.[Ch]:
1082         * buffer.C: small refactoring of docbook stuff
1083
1084 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1085
1086         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1087         meaning.
1088
1089 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1090
1091         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1092         operator dispatch_result_t, and operators for == != and >=
1093
1094         * cursor.C (dispatch): adjust for operator dispatch_result_t
1095         removal. comment out call to update
1096
1097         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1098
1099 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1100
1101         * text3.C:
1102         * text2.C:
1103         * text.C:
1104         * lyxtext.h:
1105         * lyxfunc.C:
1106         * cursor.C:
1107         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1108         (dispatch):
1109
1110         * dispatchresult.h: new file, DispatchResult broken out of
1111         insets/insetbase.h
1112
1113         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1114
1115 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1116
1117         * text.C (rowBreakPoint): put a hack inside #if 0
1118
1119 2003-10-28  André Pönitz  <poenitz@gmx.net>
1120
1121         * lyxtext.h:
1122         * metricsinfo.C:
1123         * paragraph_funcs.C:
1124         * rowpainter.C:
1125         * text.C:
1126         * text2.C: general cleanup (lots of small stuff)
1127
1128 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * text2.C (cursorEnd): simple fix to the "end key goes to one
1131         before the end on last row" bug
1132
1133 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1134
1135         * text.C (backspace): fix the "zombie characters"
1136
1137 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1140
1141 2003-10-27  André Pönitz  <poenitz@gmx.net>
1142
1143         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1144
1145         * factory.C: handle new InsetPagebreak, InsetLine
1146
1147         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1148         and move handling into new InsetPagebreak, InsetLine
1149
1150         * BufferView_pimpl.C:
1151         * LyXAction.C:
1152         * ParagraphParameters.C:
1153         * ParameterStruct.h:
1154         * lyxfunc.C:
1155         * lyxtext.h:
1156         * paragraph.C:
1157         * paragraph.h:
1158         * paragraph_funcs.C:
1159         * paragraph_pimpl.C:
1160         * rowpainter.C:
1161         * text.C:
1162         * text2.C:
1163         * text3.C: adjust
1164
1165 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1166
1167         * text.C:
1168         * lyxrow_funcs.[Ch]:
1169         * Bidi.C:
1170         * paragraph.C:
1171         * lyxtext.h:
1172         * rowpainter.C:
1173         * text2.C:
1174         * text3.C: remove lastPos uses in favour of Row::endpos
1175
1176 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1177
1178         * undo.C (performUndoOrRedo): fix two crashes by setting a
1179         cursor by hand and reordering some calls. Use bv->lockInset instead
1180         of inset->edit because the latter loses cursor information
1181
1182 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1185         by Martin
1186         (rowBreakPoint): fix width. change point to point + 1.
1187         Add a missing check.
1188
1189 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * MenuBackend.C:
1192         * lyxfunc.C: fix (at least partly) the problems
1193         with the Nav menu and headers inside branch insets
1194         reported by Kayvan
1195
1196 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1197
1198         * paragraph.C (getChar): add strong asserts
1199
1200         * lyxrow_funcs.C (lastPos): remove hideous hack
1201
1202         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1203         (fill): adjust to that (avoid an infinite loop)
1204
1205 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1206
1207         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1208
1209 2003-10-23  André Pönitz  <poenitz@gmx.net>
1210
1211         * RowList_fwd.h: change list<> to vector<> to gain speed
1212         after suggestion from Alfredo
1213
1214 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1215
1216         * lyxtext.h: move the bidi stuff from here...
1217         * text.C: and here
1218         * text2.C: and here
1219         * Bidi.[Ch]: ... to here
1220
1221 2003-10-23  André Pönitz  <poenitz@gmx.net>
1222
1223         * lyxtext.h:
1224         * text.C (isLastRow, isFirstRow): new functions
1225
1226         * paragraph.h: new width cache member
1227
1228         * rowpainter.C: replace RowList::iterator with Row & where possible
1229
1230         * lyxfunc.C: replace several view()->text with a single call
1231
1232         * toc.C: fix 'unused' warning
1233
1234 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1235
1236         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1237         when woring with stream::pos_type
1238         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1239
1240 2003-10-22  André Pönitz  <poenitz@gmx.net>
1241
1242         * lyxtext.h:
1243         * text.C: use Row & instead of RowList::iterator
1244
1245         * lyxrow.h: rename end() to endpos()
1246
1247         * rowpainter.C:
1248         * text.C:
1249         * text2.C: adjust
1250
1251 2003-10-22  Angus Leeming  <leeming@lyx.org>
1252
1253         * buffer.[Ch] (fully_loaded): new member function, returning true
1254         only when the file has been loaded fully.
1255         Used to prevent the premature generation of previews and by the
1256         citation inset to prevent computation of the natbib-style label.
1257
1258         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1259         templates are all set up.
1260
1261         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1262
1263 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * text.C: fixed an "oops" in the "is a bit silly"
1266         bug fix
1267
1268 2003-10-21  André Pönitz  <poenitz@gmx.net>
1269
1270         * FuncStatus.[Ch]: small stuff, whitespace
1271
1272         * lyxfont.[Ch]: operator<<() for debug reasons
1273
1274         * lyxfunc.C:
1275         * lyxrow_funcs.C:
1276         * lyxtext.h: whitespace, spelling
1277
1278         * paragraph.C: naming of variables
1279
1280         * text.C:
1281         * text2.C: small stuff
1282
1283
1284 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1285
1286         * text.C: (1) finish off the inset display() work;
1287         (2) fix the "is a bit silly" bug (accessing char
1288         past end of par).
1289
1290 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * text.C: re-introduce display() for insets, fixing the
1293         various bugs (stretch of line above, math inset
1294         positioning, ...)
1295
1296 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * text.C (rightMargin): remove spurious semicolon
1299
1300         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1301         1415)
1302
1303 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * text3.C: fix one crash due to wrong cursor def
1306
1307 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * vc-backend.C (scanMaster): make the regex static
1310
1311         * LaTeX.C (scanAuxFile): make the regexs static
1312
1313         * text3.C (doInsertInset, dispatch, dispatch):
1314         * text2.C (cursorUp, cursorDown):
1315         * text.C (selectNextWordToSpellcheck):
1316         * BufferView_pimpl.C (dispatch):
1317         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1318
1319 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * lyxsocket.C: include <cerrno>
1322
1323 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * lyxfunc.C (dispatch): remove textcache stuff
1326
1327         * bufferlist.C (release): remove textcache stuff
1328         (closeAll): ditto
1329
1330         * TextCache.C: delete file
1331         * TextCache.h: delete file
1332
1333         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1334
1335         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1336         delete of the bv_->text.
1337         (resizeCurrentBuffer): remove texcache stuff
1338         (workAreaResize): ditto
1339
1340 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1343         action.
1344
1345 2003-10-16  André Pönitz  <poenitz@gmx.net>
1346
1347         * lyxrow.[Ch]:
1348         * paragraph.h:
1349         * rowpainter.C:
1350         * text.C:
1351         * text2.C:
1352         * text3.C: speed up by storing y positions per paragraph plus per-row
1353         offset instead of having a 'full' y position in the row.
1354
1355 2003-10-15  André Pönitz  <poenitz@gmx.net>
1356
1357         * iterators.[Ch]:
1358         * iterators.[Ch]:
1359         * undo.[Ch]: make undo aware of inner insets
1360
1361 2003-10-14  Angus Leeming  <leeming@lyx.org>
1362
1363         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1364         static member functions LyX::ref() and LyX::cref.
1365         (lastfiles): new accessor functions for the new lastfiles_ member var.
1366         (addLyXView, views_): add a new LyXView to the list of views_.
1367         (updateInset): loop over all LyXViews to call their own updateInset
1368         member function, returning a pointer to the Buffer owning the inset.
1369
1370         * BufferView_pimpl.C (loadLyXFile):
1371         * MenuBackend.C (expandLastfiles):
1372         * bufferlist.C (MenuWrite, QuitLyX):
1373         lastfiles is no longer a global variable.
1374         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1375
1376         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1377         static function. Access through LyX::cref().emergencyCleanup().
1378
1379 2003-10-14  André Pönitz  <poenitz@gmx.net>
1380
1381         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1382
1383         * undo.[Ch]: restoring part of 'undo in insets'
1384
1385         * Makefile.am:
1386         * undo_funcs.[Ch]: merge with undo.[Ch]
1387
1388         * tabular.C: small cleansing stuff
1389
1390 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1391
1392         * paragraph_funcs.C (readParToken): report unknown insets as error
1393         boxes. Use the outer paragraph as location (also for unknown
1394         tokens).
1395
1396         * factory.C (readInset): do not abort on reading an unknown inset.
1397         Eat it and return 0.
1398
1399 2003-10-13  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1402
1403         * lyxrc.C: displayTranslator is now a function,
1404         declared in GraphicsTypes.h.
1405
1406 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1407
1408         * format.C: new placeholder $$a to pass the socket address.
1409
1410         * bufferlist.[Ch]: new function getBufferFromTmp.
1411
1412         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1413           files in the temporary dir.
1414
1415 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1416
1417         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1418
1419         * Makefile.am: add lyxsocket.[Ch].
1420
1421         * lyx_main.C (error_handler): handle SIGPIPE.
1422
1423 2003-10-13  André Pönitz  <poenitz@gmx.net>
1424
1425         * BufferView_pimpl.C:
1426         * lyxtext.h:
1427         * text.C:
1428         * text2.C:
1429         * text3.C:
1430         * undo_funcs.[Ch]: use paroffset_type instead of
1431           ParagraphList::iterators to prevent multiple conversion
1432           (and get a more robust interface)
1433
1434 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1435
1436         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1437         * lyxtext.h: ditto
1438         * text3.C (dispatch): ditto
1439
1440 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1443         move the onlyfile, use onlyfile instead of foundfile in a couple
1444         of places.
1445
1446         * DepTable.C (update): flush the error stream a bit more
1447
1448 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1449
1450         * lyxserver.C (callback): adjust
1451
1452         * lyxfunc.C (getStatus): add a missing brace in commented code
1453         (ensureBufferClean): reindent
1454         (dispatch): delete version taking a string
1455
1456 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1457
1458         * LaTeX.C (deplog): move found file handlig from here...
1459         (handleFoundFile): .. to new function here.
1460         (deplog): make sure to discover several files mentioned on the
1461         same log line.
1462
1463 2003-10-10  André Pönitz  <poenitz@gmx.net>
1464
1465         * lyxfunc.C:
1466         * lyxtext.h:
1467         * tabular.C:
1468         * text.C:
1469         * text2.C:
1470         * text3.C: fix some of the tabular crashes
1471
1472 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1473
1474         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1475
1476         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1477
1478 2003-10-09  André Pönitz  <poenitz@gmx.net>
1479
1480         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1481
1482         * BufferView.C:
1483         * BufferView_pimpl.C:
1484         * bufferview_funcs.C:
1485         * lyx_cb.C:
1486         * lyxcursor.C:
1487         * lyxfind.C:
1488         * lyxfunc.C:
1489         * lyxtext.h:
1490         * text.C:
1491         * text2.C:
1492         * text3.C:
1493         * text_funcs.[Ch]:
1494         * textcursor.[Ch]:
1495         * undo_funcs.C: adjust
1496
1497 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * text2.C (incrementItemDepth): new function, use a backtracking
1500         algorithm to discover the correct item depth.
1501         (resetEnumCounterIfNeeded): new function, use a backtracking
1502         algorithm to discover if counter reset is needed.
1503         (setCounter): use them. Simplify a bit. Add different labels for
1504         different item depths for itemize.
1505
1506         * paragraph.C (Paragraph): remove initialization of enumdepth
1507         (operator=): ditto
1508
1509         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1510         enumerate and itemize. Change the type of itemdepth to signed char.
1511
1512 2003-10-08  André Pönitz  <poenitz@gmx.net>
1513
1514         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1515           thing assignable.
1516         * text.C:
1517         * text2.C: adjust
1518
1519         * tabular.[Ch]: fix crash after 'row-insert'
1520
1521 2003-10-08  Angus Leeming  <leeming@lyx.org>
1522
1523         Fix doxygen warnings.
1524
1525         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1526         Remove CutAndPaste:: prefix from header file declaration.
1527
1528         * LColor.h (fill): remove LColor:: prefix from declaration.
1529
1530         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1531         use lyx::depth_type rather than Paragraph::depth_type so that
1532         header file and .C file match.
1533
1534         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1535
1536         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1537         * aspell.C: \file aspell_local.C -> \file aspell.C
1538         * gettext.C: \file gettext.C -> \file src/gettext.C
1539         * gettext.h: \file gettext.h -> \file src/gettext.h
1540         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1541         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1542         * text.C: \file text.C -> \file src/text.C
1543
1544         * toc.C: move comment so that doxygen is not confused.
1545
1546 2003-10-07  Angus Leeming  <leeming@lyx.org>
1547
1548         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1549
1550 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1551
1552         * aspell.C:
1553         * aspell_local.h: add forgotten std::string's.
1554
1555 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1556
1557         * LaTeXFeatures.C:
1558         * LyXAction.C:
1559         * factory.C:
1560         * lfuns.h:
1561         * lyxfunc.C:
1562         * text3.C: The Box patch. Fancybox support, minipage, parbox
1563
1564 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1565
1566         * CutAndPaste.h:
1567         * DepTable.h:
1568         * FloatList.h:
1569         * LaTeXFeatures.h:
1570         * ParagraphParameters.h:
1571         * TextCache.h:
1572         * Thesaurus.h:
1573         * bufferlist.h:
1574         * exporter.h:
1575         * importer.h:
1576         * lastfiles.h:
1577         * lyxfind.h:
1578         * lyxfont.h:
1579         * lyxlex.h:
1580         * lyxtextclasslist.h:
1581         * messages.h:
1582         * paragraph.h:
1583         * paragraph_pimpl.C:
1584         * textcursor.h: add <string> and other small fixes to make Lars'
1585         std::string patch compile with STLport.
1586
1587 2003-10-06  Angus Leeming  <leeming@lyx.org>
1588
1589         * LColor.h: Add missing #include <string>.
1590
1591 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1592
1593         * All most all file in all subdirs: Make <string> be the prefered
1594         way of getting to std::string, add using declarations.
1595
1596 2003-10-06  André Pönitz  <poenitz@gmx.net>
1597
1598         * metricsinfo.C: initialize LyXFont before changing attribute.
1599         (fixes the 'math in \emph is upright' bug)
1600
1601 2003-10-06  André Pönitz  <poenitz@gmx.net>
1602
1603         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1604
1605 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1606
1607         * graph.C:
1608         * paragraph_pimpl.C: Small fixes to build using STLport
1609
1610 2003-10-02  André Pönitz  <poenitz@gmx.net>
1611
1612         * lyxfunc.C:
1613         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1614
1615 2003-10-01  André Pönitz  <poenitz@gmx.net>
1616
1617         * factory.C: assert early
1618
1619 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * lyx_main.C: remove the global debug object
1622
1623         * debug.h: adjust for new debugstream
1624
1625         * debug.C: adjust for new debugstream and keep the global debug
1626         object here.
1627
1628 2003-09-22  Angus Leeming  <leeming@lyx.org>
1629
1630         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1631         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1632         an incomplete class LyXFont.
1633
1634 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1635
1636         * factory.C: bug fix in branches
1637
1638 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1639
1640         * lyxfunc.C (processKeySym): adjust
1641         (dispatch): adjust
1642         (dispatch): change arg name from ev to func, adjust
1643         (sendDispatchMessage): ditto
1644
1645         * lyx_main.C (defaultKeyBindings): adjust keybindings
1646         (deadKeyBindings): ditto
1647
1648         * kbsequence.C (addkey): return a FuncRequest
1649
1650         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1651
1652         * kbmap.C (bind): take a FuncRequest as arg, adjust
1653         (read): adjust
1654         (lookup): adjust
1655         (defkey): change to take a FuncRequest as arg, adjust
1656         (findbinding): take a FuncRequest as arg, adjust.
1657
1658         * funcrequest.h (operator=): added
1659
1660         * funcrequest.C (FuncRequest): default kb_action changed from
1661         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1662
1663         * buffer.C (dispatch): simplify
1664         (dispatch): adjust to take a FuncRequest as arg, adjust
1665
1666         * boost.C (assertion_failed): change assertion message slightly
1667
1668         * ToolbarBackend.C (read): simplify
1669
1670         * MenuBackend.C (binding): adjust call to findbinding, add a
1671         message if no binding is found.
1672         (read): simplify
1673         (expandToc): correct by adding a empty FuncRequest
1674
1675         * LyXAction.C: include <boost/assert.hpp>
1676         (isPseudoAction): delete function
1677         (LookupFunc): change name to...
1678         (lookupFunc): this. change return type to FuncRequest.
1679         (getActionName): take kb_action as arg, simplify
1680         (funcHasFlag): add an assert, simplify.
1681
1682 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * toc.C (action): return a FuncRequest, simplify
1685
1686         * lyxfunc.C (processKeySym): adjust
1687         (getStatus): delete version that takes an int.
1688         (getStatus): adjust
1689         (dispatch): delete version that takes action as int
1690         (dispatch): adjust
1691         (sendDispatchMessage): simplify and adjust
1692
1693         * funcrequest.C (getArg): take unsigned int as arg
1694
1695         * ToolbarBackend.C (read): adjust
1696         (add): delete version that takes func as a string.
1697         (getIton): take a FuncRequest as arg
1698
1699         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1700         action.
1701
1702         * MenuBackend.C (MenuItem): add a new construct that only takes a
1703         Kind, simplify the constructor use for submenus.
1704         (add): adjust
1705         (expandLastfiles): adjust
1706         (expandDocuments): adjust
1707         (expandFormats): adjust
1708         (expandFloatListInsert): adjust
1709         (expandFloatInsert): adjust
1710         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1711
1712         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1713         Remove class variables lyx_pseudo_map and lyx_arg_map
1714
1715         * LyXAction.C (searchActionArg): delete function
1716         (getPseudoAction): delete function
1717         (retrieveActionArg): delete function
1718         (LookupFunc): make it return kb_action, simplify.
1719         (getActionName): simplify
1720
1721         * factory.C (createInset): fix new bug
1722
1723 2003-09-19  Angus Leeming  <leeming@lyx.org>
1724
1725         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1726         masterFilename_ parameter in the include inset.
1727
1728         * factory.C (createInset): changes due to the changes to InsetInclude.
1729
1730 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1731
1732         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1733
1734 2003-09-18  Angus Leeming  <leeming@lyx.org>
1735
1736         * buffer.C:
1737         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1738         Inset::fillWithBibKeys.
1739         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1740
1741 2003-09-18  Angus Leeming  <leeming@lyx.org>
1742
1743         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1744         variables.
1745         (ctor): pass and store a 'Buffer const &'
1746         (buffer): new member function.
1747
1748         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1749         '*this' to the LaTeXFeatures ctor.
1750
1751 2003-09-18  Angus Leeming  <leeming@lyx.org>
1752
1753         * LColor.h:
1754         * lyxfont.C:
1755         * lyxfont.h:
1756         * lyxtext.h:
1757         * text.C: rename EnumLColor as LColor_color.
1758
1759 2003-09-18  Angus Leeming  <leeming@lyx.org>
1760
1761         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1762         remove #include "insets/insetbase.h" from cursor.h.
1763
1764 2003-09-18  Angus Leeming  <leeming@lyx.org>
1765
1766         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1767         InsetOld_code to remove #include "inset.h".
1768
1769         * iterators.C: add #include "insets/inset.h"
1770
1771 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1772
1773         * BufferView.C: remove more locking stuff that apparently doesn't
1774         do anything sensible.
1775
1776 2003-09-16  André Pönitz  <poenitz@gmx.net>
1777
1778         * paragraph.[Ch]:
1779         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1780           performance boost.
1781
1782 2003-09-16  Angus Leeming  <leeming@lyx.org>
1783
1784         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1785
1786         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1787         arg/return type.
1788
1789         * paragraph.h: remove #include "lyxfont.h". Forward declare
1790         LyXFont_size.
1791
1792 2003-09-16  Angus Leeming  <leeming@lyx.org>
1793
1794         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1795         of support/textutils.h.
1796         (isWord): move the contents of support/textutils.h's IsWordChar here.
1797
1798         * buffer.C:
1799         * lyxfind.C:
1800         * rowpainter.C:
1801         * text.C:
1802         * text2.C: add #include "paragraph.h".
1803
1804         * rowpainter.C:
1805         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1806
1807 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1808
1809         * main.C:
1810         * lyx_main.C:
1811         * lyx_cb.C:
1812         * buffer.C:
1813         * LaTeX.C: use namespace alias for lyx::support::os
1814
1815 2003-09-16  Angus Leeming  <leeming@lyx.org>
1816
1817         * bufferparams.C:
1818         * bufferview_funcs.C:
1819         * factory.C:
1820         * lyxfunc.C:
1821         * paragraph_pimpl.C:
1822         * rowpainter.C:
1823         * text.C: add #include "LColor.h".
1824
1825 2003-09-16  Angus Leeming  <leeming@lyx.org>
1826
1827         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1828         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1829         return LyXFont &.
1830         Store the FontBits::color variable as an int rather than as an
1831         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1832         file.
1833
1834         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1835         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1836         string calls together.
1837
1838         * lyxrc.C: add #include "LColor.h".
1839
1840 2003-09-15  Angus Leeming  <leeming@lyx.org>
1841
1842         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1843         a cow_ptr.
1844
1845 2003-09-15  Angus Leeming  <leeming@lyx.org>
1846
1847         * LColor.h: add an EnumLColor wrapper for LColor::color.
1848
1849         * lyxfont.[Ch] (color, setColor, realColor):
1850         * lyxtext.h, text.C (backgroundColor):
1851         pass EnumLColor args to/from the functions, rather than LColor::color
1852         ones.
1853
1854         * lyxfont.h:
1855         * lyxtext.h: forward declare EnumLColor.
1856
1857         * lyx_main.C: add #include "LColor.h".
1858
1859 2003-09-15  Angus Leeming  <leeming@lyx.org>
1860
1861         * .cvsignore: add lyx-gtk.
1862
1863 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * Chktex.C
1866         * LaTeX.C
1867         * LaTeXFeatures.C
1868         * ParagraphParameters.C
1869         * Spacing.C
1870         * buffer.C
1871         * bufferparams.C
1872         * bufferview_funcs.C
1873         * chset.C
1874         * counters.C
1875         * funcrequest.C
1876         * lyxfont.C
1877         * lyxgluelength.C
1878         * lyxlength.C
1879         * paragraph.C
1880         * paragraph_funcs.C
1881         * text3.C
1882         * vc-backend.C: remove usage of STRCONV
1883
1884 2003-09-15  Angus Leeming  <leeming@lyx.org>
1885
1886         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1887         explicitly define the color passed to the painter.
1888
1889 2003-09-15  Angus Leeming  <leeming@lyx.org>
1890
1891         * bufferparams.C (BufferParams): reorder member initializers to avoid
1892         compiler warning.
1893
1894 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1897         * text.C (updateRowPositions): remove an unusual nop
1898
1899 2003-09-12  André Pönitz  <poenitz@gmx.net>
1900
1901         * BufferView_pimpl.C:
1902         * Bullet.C:
1903         * layout.h:
1904         * lyxfunc.C:
1905         * lyxlayout.[Ch]:
1906         * lyxtextclass.C:
1907         * rowpainter.C:
1908         * text.C:
1909         * text2.C:
1910         * Counters.[Ch]: finish the 'automatic counters' job
1911
1912 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1913
1914         * aspell.C: include <boost/assert.cpp> (compile fix)
1915
1916 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1917
1918         * boost.C (assertion_failed): use lyx::support::abort instead of
1919         assert.
1920
1921 2003-09-10  Angus Leeming  <leeming@lyx.org>
1922
1923         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1924         with their _fwd progeny.
1925
1926 2003-09-09  Angus Leeming  <leeming@lyx.org>
1927
1928         134 files throughtout the source tree: replace 'using namespace abc;'
1929         directives with the appropriate 'using abc::xyz;' declarations.
1930
1931 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1932
1933         * boost.C (emergencyCleanup): moved here from LAssert.c
1934         (assertion_failed): new function, called by BOOST_ASSERT
1935
1936         * several files: change Assert to BOOST_ASSERT
1937
1938 2003-09-09  Angus Leeming  <leeming@lyx.org>
1939
1940         * buffer.[Ch]: Add an Impl class and move Buffer's member
1941         variables into it. As a result move several header files out of
1942         buffer.h.
1943
1944         Add header files to lots of .C files all over the tree as a result.
1945
1946 2003-09-09  Angus Leeming  <leeming@lyx.org>
1947
1948         * buffer.[Ch]: make Buffer's member variables private. Add
1949         accessor functions.
1950
1951         Lots of changes all over the tree as a result.
1952
1953 2003-09-08  Angus Leeming  <leeming@lyx.org>
1954
1955         * graph.C: #include <config.h>.
1956
1957 2003-09-08  Angus Leeming  <leeming@lyx.org>
1958
1959         * BranchList.C:
1960         * BufferView.C:
1961         * BufferView_pimpl.C:
1962         * CutAndPaste.C:
1963         * DepTable.C:
1964         * LaTeX.C:
1965         * LaTeXFeatures.C:
1966         * LyXAction.C:
1967         * MenuBackend.C:
1968         * TextCache.C:
1969         * aspell.C:
1970         * buffer.C:
1971         * bufferlist.C:
1972         * changes.C:
1973         * chset.C:
1974         * converter.C:
1975         * counters.C:
1976         * debug.C:
1977         * graph.C:
1978         * ispell.C:
1979         * lyx_cb.C:
1980         * lyxfind.C:
1981         * lyxfunc.C:
1982         * lyxlex_pimpl.C:
1983         * lyxrc.C:
1984         * lyxrow.C:
1985         * paragraph.C:
1986         * rowpainter.C:
1987         * texrow.C:
1988         * text.C:
1989         * text2.C:
1990         * toc.C: remove redundant using directives.
1991
1992 2003-09-07  Angus Leeming  <leeming@lyx.org>
1993
1994         * LaTeXFeatures.h: remove #include "support/types.h".
1995         * ToolbarBackend.h: remove #include <algorithm>.
1996         * changes.h: remove #include <ctime>.
1997         * debug.h: remove #include <iosfwd>.
1998         * graph.h: remove #include "support/std_string.h".
1999         * lyx_main.h: remove #include <csignal>.
2000         * lyxlex_pimpl.h: remove #include <fstream>.
2001         * sgml.h: remove #include <algorithm>, <utility>.
2002         * toc.h: remove #include "support/std_ostream.h".
2003         Add #include <iosfwd>.
2004
2005 2003-09-07  Angus Leeming  <leeming@lyx.org>
2006
2007         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2008
2009         * converter.h: forward declare LatexRunParams.
2010         * encoding.h: remove #include "lyxrc.h".
2011         * lyxtext.h: remove #include "LColor.h".
2012         * lyxtextclass.h: remove #include "support/types.h".
2013         * trans.h: remove #include "tex-accent.h".
2014         * trans_mgr.h: remove #include "tex-accent.h".
2015         * insets/inset.h: remove #include "support/types.h", <vector>.
2016         * insets/insetcollapsable.h: remove #include "LColor.h".
2017         * insets/insetinclude.h: remove #include "dimension.h".
2018         * insets/insetlatexaccent.h: remove #include "dimension.h".
2019         * insets/insetoptarg.h:: remove #include "insettext.h".
2020         * insets/insettext.h: remove #include "dimension.h",
2021         <boost/shared_ptr.hpp>
2022
2023         * insets/renderers.h: add #include "dimension.h".
2024         * insets/updatableinset.h: add #include "support/types.h".
2025
2026         * many .C files: Associated changes.
2027
2028 2003-09-06  Angus Leeming  <leeming@lyx.org>
2029
2030         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2031         one, inside testInvariant.
2032
2033         * PrinterParams.C: new file.
2034         * PrinterParams.[Ch]: move the function bodies out of line.
2035
2036 2003-09-06  Angus Leeming  <leeming@lyx.org>
2037
2038         * ParagraphParameters.h: forward declare ParameterStruct rather than
2039         including its header file.
2040         (depth): moved out-of-line.
2041
2042 2003-09-06  Angus Leeming  <leeming@lyx.org>
2043
2044         * BufferView_pimpl.h:
2045         * kbmap.h:
2046         * kbsequence.h:
2047         * lyxfunc.h: forward declare LyXKeySym rather than
2048         #include "frontends/LyXKeySym.h".
2049
2050         * BufferView_pimpl.C:
2051         * kbmap.C:
2052         * kbsequence.C:
2053         * lyxfunc.C: associated changes.
2054
2055 2003-09-06  Angus Leeming  <leeming@lyx.org>
2056
2057         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2058         As a result, can remove the #include "insets/inset.h" from BufferView.h
2059
2060 2003-09-06  Angus Leeming  <leeming@lyx.org>
2061
2062         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2063         As a result, can remove the #include "insets/inset.h" from BufferView.h
2064
2065 2003-09-06  Angus Leeming  <leeming@lyx.org>
2066
2067         * buffer_funcs.C:
2068         * buffer.h:
2069         * bufferlist.C:
2070         * BufferView.C:
2071         * bufferview_funcs.C:
2072         * BufferView_pimpl.C:
2073         * CutAndPaste.C:
2074         * lyx_cb.C:
2075         * lyxfunc.C:
2076         * paragraph.h:
2077         * ParagraphParameters.C:
2078         * tabular.C:
2079         * text3.C:
2080         * toc.C:
2081         * undo_funcs.C:
2082         * frontends/controllers/ControlDocument.C:
2083         * insets/insetcaption.C: rearrange the #includes into some sort of
2084         coherent order.
2085
2086         * buffer.h: remove #includes ErrorList.h, undo.h
2087
2088 2003-09-06  Angus Leeming  <leeming@lyx.org>
2089
2090         * support/types.h: add a 'depth_type' typedef, used to store the
2091         nesting depth of a paragraph.
2092
2093         * paragraph.h:
2094         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2095         defining explicitly.
2096
2097         * buffer.h:
2098         * paragraph_funcs.h:
2099         * ParagraphParameters.h:
2100         * sgml.h: use lyx::depth_type rather than Paragraph or
2101         ParameterStruct's depth_type.
2102
2103         * buffer.h
2104         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2105
2106         * BufferView.C:
2107         * BufferView_pimpl.C:
2108         * CutAndPaste.C:
2109         * ParagraphParameters.C:
2110         * buffer_funcs.C:
2111         * bufferlist.C:
2112         * bufferview_funcs.C:
2113         * lyx_cb.C:
2114         * lyxfunc.C:
2115         * tabular.C:
2116         * text3.C:
2117         * toc.C:
2118         * undo_funcs.C:
2119         * frontends/LyXView.C:
2120         * frontends/controllers/ControlDocument.C:
2121         * frontends/controllers/ControlErrorList.C:
2122         * insets/insetbibitem.C:
2123         * insets/insetbranch.C:
2124         * insets/insetcaption.C:
2125         * insets/insetcollapsable.C:
2126         * insets/insetenv.C:
2127         * insets/insetert.C:
2128         * insets/insetfloat.C:
2129         * insets/insetfoot.C:
2130         * insets/insetfootlike.C:
2131         * insets/insetnewline.C:
2132         * insets/insetquotes.C:
2133         * insets/insettabular.C:
2134         * insets/insettext.C:
2135         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2136
2137         * frontends/controllers/ControlChanges.C: #include "changes.h".
2138
2139 2003-09-06  Angus Leeming  <leeming@lyx.org>
2140
2141         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2142         than #including paragraph.h.
2143
2144         * ParagraphList.h:
2145         * RowList.h: deleted. Superfluous.
2146
2147         * CutAndPaste.h:
2148         * iterators.h:
2149         * lyxcursor.h:
2150         * lyxtext.h:
2151         * text_funcs.h:
2152         * undo.h:
2153         * undo_funcs.h:
2154         * insets/inset.h:
2155         * insets/insettext.h: use ParagraphList_fwd.h rather than
2156         ParagraphList.h.
2157
2158         * paragraph.h: don't forward declare ParagraphList.
2159
2160         * buffer.h:
2161         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2162         rather than ParagraphList.h. paragraph.h is still needed for the
2163         Paragraph::depth_type parameters.
2164
2165         * textcursor.h: enable it to compile stand-alone in light of the
2166         above changes.
2167
2168         * bufferview_funcs.C:
2169         * iterators.C:
2170         * lyxfunc.C:
2171         * lyxrow_funcs.C:
2172         * paragraph.C:
2173         * rowpainter.C:
2174         * text.C:
2175         * text2.C:
2176         * text3.C:
2177         * text_funcs.C:
2178         * textcursor.C:
2179         * undo.C:
2180         * frontends/controllers/ControlParagraph.C:
2181         * frontends/controllers/ControlTabular.C:
2182         * insets/insetmarginal.C:
2183         * insets/insetminipage.C:
2184         * insets/insetnote.C:
2185         * insets/insetoptarg.C: add header files needed to compile again.
2186
2187 2003-09-06  Angus Leeming  <leeming@lyx.org>
2188
2189         * RowList_fwd.h: new file, forward-declaring Row rather than
2190         #including lyxrow.h.
2191
2192         * lyxrow_funcs.h:
2193         * lyxtext.h:
2194         * paragraph.h:
2195         * insets/insettext.h: use it instead of RowList.h
2196
2197         * bufferview_funcs.C:
2198         * lyxfunc.C:
2199         * lyxrow_funcs.C:
2200         * paragraph.C:
2201         * rowpainter.C:
2202         * text.C:
2203         * text2.C:
2204         * text3.C: #include "RowList.h".
2205
2206 2003-09-05  Angus Leeming  <leeming@lyx.org>
2207
2208         * factory.C (createInset):
2209         * vspace.C (c-tor): replace sscanf call with an istringstream.
2210         * ispell.C: re-add missing HP/UX headers.
2211         * lyxserver.C: re-add missing  os2 headers.
2212
2213 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2214
2215         * BranchList.C:
2216         * graph.C:
2217         * ispell.C:
2218         * lastfiles.C:
2219         * lyx_cb.C:
2220         * lyxserver.C:
2221         * texrow.C:
2222         * text3.C: re-add missing system headers, needed for 2.95.2.
2223
2224 2003-09-05  Angus Leeming  <leeming@lyx.org>
2225
2226         Changes most place everywhere due to the removal of using directives
2227         from support/std_sstream.h.
2228
2229 2003-09-05  Angus Leeming  <leeming@lyx.org>
2230
2231         Replace LString.h with support/std_string.h,
2232         Lsstream.h with support/std_sstream.h,
2233         support/LIstream.h with support/std_istream.h,
2234         support/LOstream.h with support/std_ostream.h.
2235
2236         Changes resulting throughout the tree.
2237
2238 2003-09-05  Angus Leeming  <leeming@lyx.org>
2239
2240         * sgml.h: ensure that the header file can be compiled stand-alone.
2241         * *.C: strip out redundant #includes. (320 in total.)
2242
2243 2003-09-04  Angus Leeming  <leeming@lyx.org>
2244
2245         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2246         here (from getPackages).
2247
2248         * debug.[Ch]: add a new EXTERNAL tag.
2249
2250 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2251
2252         * text2.C (cursorEnd): simplify
2253         (setCursor): adjust
2254         (getColumnNearX): adjust
2255
2256         * text.C (computeBidiTables): adjust
2257         (fill): adjust
2258
2259         * rowpainter.C (paintChars): adjust
2260         (paintSelection): adjust
2261         (paintChangeBar): adjust
2262         (paintText): adjust
2263
2264         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2265         lastPos instead.
2266         (numberOfSeparators): adjust
2267
2268 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2269
2270         * LyXAction.C:
2271         * box.[Ch]:
2272         * lfuns.h:
2273         * lyxfunc.C:
2274         * text3.C: Restricts the mouse click functionality
2275         of insets like bibtex, include, toc and floatlist to the visible
2276         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2277         up the dialogs. Cursor has to be in front of the inset (i.e.
2278         start of row) for this to function.
2279
2280 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2281
2282         * bufferview_funcs.C (currentState): output row information
2283
2284 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2285
2286         * bufferview_funcs.C (currentState): output paragraph position
2287
2288 2003-09-04  Angus Leeming  <leeming@lyx.org>
2289
2290         * FloatList.h: move out #include "Floating.h".
2291         * LaTeX.h: move out #include "DepTable.h".
2292         * LyXAction.h: move out #include "funcrequest.h".
2293         * buffer.h: move out #include "author.h", "iterators.h".
2294         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2295         * lyx_main.h: move out #include "errorlist.h".
2296         * lyxfunc.h: move out #include "FuncStatus.h".
2297         * lyxtext: move out #include "lyxcursor.h".
2298         * paragraph_pimpl.h: move out #include "counters.h".
2299
2300 2003-09-03  Angus Leeming  <leeming@lyx.org>
2301
2302         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2303         preamble_snippets list, enabling us to add snippets to the preamble
2304         only if the snippet was not there already.
2305
2306 2003-09-04  Angus Leeming  <leeming@lyx.org>
2307
2308         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2309
2310 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2313         update
2314
2315 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2316
2317         * BranchList.C: point fix, earlier forgotten
2318
2319 2003-09-02  Angus Leeming  <leeming@lyx.org>
2320
2321         * box.C (contains): renamed from 'contained' after a fantastic
2322         amount of hot air.
2323
2324 2003-09-02  John Levon  <levon@movementarian.org>
2325
2326         * BufferView.C:
2327         * lyxcursor.h:
2328         * lyxcursor.C:
2329         * lyxfunc.C:
2330         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2331
2332 2003-09-02  John Levon  <levon@movementarian.org>
2333
2334         * text2.C: simplification of cursorEnd(), including partial
2335         fix for bug 1376
2336
2337 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * buffer.C (readFile): add a space
2340
2341 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2344
2345 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * buffer.C (readFile): new function, take a filename and a
2348         ParagraphList::iterator
2349         (readFile): adjust
2350         (readFile): adjust, make it private. don't use setStream, make
2351         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2352         always contain the filename.
2353
2354         * BufferView.C (insertLyXFile): simplify and make it work for
2355         gzipped files.
2356
2357 2003-08-30  John Levon  <levon@movementarian.org>
2358
2359         * Makefile.am: fix dist (from Kayvan)
2360
2361 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * most files: change to use const Buffer refs
2364
2365 2003-08-27  André Pönitz  <poenitz@gmx.net>
2366
2367         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2368         on top of ownerPar().
2369
2370 2003-08-27  John Levon  <levon@movementarian.org>
2371
2372         * funcrequest.C: properly initialise POD members
2373
2374 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2375
2376         * lyxtext.h (top_y): move top_y from here
2377         * text.C:
2378         * text2.C:
2379         * text3.C:
2380         * BufferView.[Ch]:
2381         * BufferView_pimpl.[Ch]: to here
2382         * frontends/screen.C:
2383         * insets/insettabular.C:
2384         * insets/insettext.C: adjust
2385         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2386
2387 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2388
2389         * BufferView.[Ch]:
2390         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2391
2392 2003-08-26  André Pönitz  <poenitz@gmx.net>
2393
2394         * paragraph_func.[Ch] (outerPar): new function
2395
2396         * paragraph.C:
2397         * paragraph_funcs.C:
2398         * paragraph_funcs.h:
2399         * paragraph_pimpl.C:
2400         * text2.C: remove Inset::par_owner
2401
2402 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2403
2404         * lyxrow_funcs.C:
2405         * lyxtext.h:
2406         * text.C:
2407         * text2.C: eliminates the needFullRow/display() stuff
2408         altogether, putting the logic in metrics/draw in the insets.
2409
2410 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2411
2412         * text2.C (redoParagraphInternal, redoParagraphs):
2413         * text.C (redoParagraph): add a call to updateRowPositions at the
2414         end of each 'metrics-like' call. Remove all others.
2415         (getRow): remove the 'y-computing' version.
2416         (getRowNearY): do not compute nor return the real y. Solve the
2417         'y < 0' problem and simplify.
2418
2419 2003-08-22  Angus Leeming  <leeming@lyx.org>
2420
2421         * *.[Ch]: clean-up of licence and author blurbs.
2422         Also move config.h out of a few .h files and into a few .C files.
2423
2424 2003-08-22  André Pönitz  <poenitz@gmx.net>
2425
2426         * lyxrow.[Ch]: add x_ and *fill_ members
2427
2428         * lyxtext.h:
2429         * text.C:
2430         * rowpainter.C:
2431         * text2.C: adjust/remove prepareToPrint() calls
2432
2433 2003-08-22  André Pönitz  <poenitz@gmx.net>
2434
2435         * lyxrow.[Ch]: add  end_ member
2436
2437         * lyxrow_funcs.C: use LyXRow::end_
2438
2439         * lyxtext.h (singleWidth): add LyXFont parameter
2440
2441         * rowpainter.C:
2442         * text2.C: adjust LyXText::singleWidth() calls
2443
2444         * text.C (redoParagraph): simplify row breaking logic
2445
2446
2447 2003-08-19  André Pönitz  <poenitz@gmx.net>
2448
2449         * funcrequest.C: initialize button_ member
2450
2451         * text3.C:
2452         * rowpainter.[Ch]: interface consolidation
2453
2454 2003-08-18  André Pönitz  <poenitz@gmx.net>
2455
2456         * BufferView.C:
2457         * BufferView_pimpl.C:
2458         * lyxfind.C:
2459         * paragraph_funcs.C:
2460         * rowpainter.C:
2461         * text3.C: remove LyXScreen::draw() and fitCursor calls
2462
2463         * BranchList.h: remove spurious semicolons
2464
2465         * MenuBackend.C: fix branchlist related crash
2466
2467 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2468
2469         * BranchList.[Ch]:
2470         * InsetList.[Ch]:
2471         * LColor.[Ch]:
2472         * LyXAction.C:
2473         * Makefile.am:
2474         * MenuBackend.[Ch]:
2475         * bufferparams.[Ch]:
2476         * factory.C:
2477         * lfuns.h:
2478         * lyxfunc.C:
2479         * text3.C: implements the 'branch inset'
2480         idea. This allows the output of various versions of a document
2481         from a single source version, selectively outputing or suppressing
2482         output of parts of the text.
2483         This implementation contains a 'branch list editor' in a separate
2484         tab of the document settings dialog. Branches are user definable
2485         and have a "display colour" to distinguish them on-screen.
2486
2487         ColorHandler was somewhat cleaned up.
2488         (1) make possible a dynamically growing LColor list by allowing
2489         the graphic context cache to grow along (vector);
2490         (2) eliminate an IMHO unnecessary step in colour allocation.
2491
2492 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2493
2494         * BufferView_pimpl.C: compile fix
2495
2496 2003-08-15  André Pönitz  <poenitz@gmx.net>
2497
2498         * rowpainter.C: remove extra metrics calls
2499
2500         * lyxtext.h: merge the two constructors into a single one,
2501           pass reference to owner's par list
2502
2503         * BufferView_pimpl.C:
2504         * text.C:
2505         * text2.C: adjust
2506
2507 2003-08-15  André Pönitz  <poenitz@gmx.net>
2508
2509         * lyxrow_funcs.[Ch]:
2510         * lyxtext.h:
2511         * paragraph.h:
2512         * paragraph_funcs.C:
2513         * rowpainter.C:
2514         * text.C:
2515         * text2.C:
2516         * text3.C:
2517         * text_funcs.C: split LyXText::rowlist_ into individual
2518         Paragraph::rows_ chunks
2519
2520         * BufferView.[Ch]:
2521         * BufferView_pimpl.[Ch]:
2522         * lyxfind.C:
2523         * lyxtext.h:
2524         * text3.C: remove toggleSelection()
2525
2526 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2527
2528         * bufferlist.C: beautify two alerts (shorter text of buttons)
2529         * buffer.C: Remove redundant ' ' from message
2530         * tabular.h:
2531         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2532         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2533         rename VALIGN_CENTER to VALIGN_MIDDLE
2534
2535 2003-08-11  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxtext.h (getPar):
2538         * text.C: new function
2539
2540 2003-08-11  André Pönitz  <poenitz@gmx.net>
2541
2542         * Makefile.am:
2543         * tracer.[Ch]: remove unneeded files
2544
2545         * InsetList.[Ch]: remove resizeInsetsLyXText()
2546
2547         * lyxtext.h:
2548         * text.C:
2549         * text2.C:
2550         * text3.C: merge insertParagraphs() and appendParagraph()
2551         remove breakAgain(), update()
2552
2553         * BufferView_pimpl.[Ch]:
2554         * bufferview_funcs.[Ch]:
2555         * lyxfunc.C:
2556         * paragraph.[Ch]:
2557         * rowpainter.C:
2558         * tabular.C: adjust after text & InsetList changes.
2559
2560 2003-08-08  André Pönitz  <poenitz@gmx.net>
2561
2562         * text.C (insertChar, backspace): replace rowlist fiddling
2563         with rebreak of full par
2564
2565         * lyxtext.h:
2566         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2567         checkParagraph, updateInset): removed
2568
2569 2003-08-07  André Pönitz  <poenitz@gmx.net>
2570
2571         * paragraph.C:
2572         * text3.C: merge some LFUN handlers, remove dead code
2573
2574 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2575
2576         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2577
2578 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2579
2580         * text2.C (DEPM): fix part of bug 1255 and 1256
2581
2582 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2583
2584         * BufferView_pimpl.C (workAreaDispatch): change to use
2585         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2586         that are no mouse related.
2587
2588 2003-08-05  André Pönitz  <poenitz@gmx.net>
2589
2590         * BufferView.[Ch]:
2591         * BufferView_pimpl.[Ch]:
2592         * bufferview_funcs.C:
2593         * text2.C:
2594         * text3.C: rip out "deep update"
2595
2596         * textcursor.[Ch] (last_sel_cursor): remove unused member
2597
2598 2003-08-04  André Pönitz  <poenitz@gmx.net>
2599
2600         * BufferView.[Ch]:
2601         * BufferView_pimpl.[Ch]:
2602         * ParagraphParameters.C:
2603         * bufferview_funcs.C:
2604         * lyx_cb.C:
2605         * lyxfind.C:
2606         * lyxfunc.C:
2607         * text.C:
2608         * text2.C:
2609         * text3.C: replace "complicated" BufferView::update(...) calls with
2610         simpler ones.
2611
2612         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2613
2614 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2615
2616         * Makefile.am (lyx_SOURCES): add paper.h
2617
2618 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2619
2620         * Makefile.am: move things around so that both lyx-qt and
2621         lyx-xforms can be built (according to --with-frontend). Then lyx
2622         is a symbolic link to lyx-[firstfrontend]
2623
2624 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2625
2626         * Always use std::endl with lyxerr
2627
2628 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2629
2630         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2631
2632 2003-08-01  André Pönitz  <poenitz@gmx.net>
2633
2634         * BufferView.[Ch]:
2635         * BufferView_pimpl.[Ch]:
2636         * lyxfunc.C:
2637         * text3.C: merge BufferView::repaint() and BufferView::update()
2638
2639 2003-08-01  José Matos  <jamatos@lyx.org>
2640
2641         * buffer.[Ch]: file_format is no longer a buffer data element.
2642
2643 2003-08-01  André Pönitz  <poenitz@gmx.net>
2644
2645         * BufferView.C:
2646         * lyxtext.h:
2647         * text.C:
2648         * text2.C: make redoParagraph more independent of current cursor
2649
2650         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2651         * text.C:
2652         * text2.C: remove unneeded members
2653
2654 2003-07-30  André Pönitz  <poenitz@gmx.net>
2655
2656         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2657
2658         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2659           create a single function...
2660
2661         * paragraph_funcs.C (moveItem): ... here.
2662
2663         * text.C:
2664           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2665
2666 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2667
2668         * LColor.[Ch]: Add comment and greyedout logical colors.
2669
2670 2003-07-30  André Pönitz  <poenitz@gmx.net>
2671
2672         * tabular.C: don't use Assert too heavily. This crashes where it
2673           shouldn't
2674
2675 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2678         is disabled (bug 1232)
2679
2680 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2681
2682         * factory.C: limited 'arg' scope
2683
2684 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2685
2686         * factory.C: fixed Note submenu issues
2687
2688 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2689
2690         * factory.C: submenu for Note/Comment/Greyedout
2691
2692 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * lyx_main.C (LyX):
2695         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2696
2697 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2698
2699         * LaTeXFeatures.C:
2700         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2701         greyedout. Patch provided by Jürgen Spitzmüller.
2702
2703 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * kbmap.C (read): fix error message when reading bind files
2706
2707 2003-07-29  Angus Leeming  <leeming@lyx.org>
2708
2709         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2710         certainly does not do what it purports to do. I am doing it, and
2711         us, a favour by killing it.
2712
2713 2003-07-28  José Matos  <jamatos@lyx.org>
2714
2715         * buffer.C (readBody, do_writeFile):
2716         * paragraph.C(readParagraph): \end_document replaces \the_end.
2717
2718 2003-07-29  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView.[Ch]:
2721         * BufferView_pimpl.[Ch]:
2722         * lyxfunc.C:
2723         * text2.C:
2724         * text3.C:
2725         * textcursor.[Ch]: remove toggleToggle & Co
2726
2727 2003-07-28  José Matos  <jamatos@fep.up.pt>
2728
2729         * buffer.C (readParagraph):
2730         * params_func (readParToken, readParagraph):
2731         * paragraph.C (write): \layout -> \begin_layout.
2732
2733 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * lyxlex_pimpl.C (setFile): clean up slightly.
2736
2737         * bufferparams.h: add compressed var
2738
2739         * buffer_funcs.C (readFile): adjust for LyXLex change
2740         (newFile): ditto + simplify
2741
2742         * buffer.C (writeFile): handle writing of compressed files
2743
2744         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2745         Check if the file is compressed and set a bufferparm if so.
2746
2747         * Makefile.am (lyx_LDADD): remove explicit -lz
2748
2749 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2752         makeDocBookFile): put the real LyX version in the first line of
2753         the file
2754
2755         * version.h:
2756         * version.C.in: remove lyx_docversion
2757
2758         * tabular.C (write_attribute): add a template-based version to
2759         write enums properly
2760
2761 2003-07-28  André Pönitz  <poenitz@gmx.net>
2762
2763         * lyxtext.h:
2764         * text.C:
2765         * text2.C:
2766         * text3.C: use doubles again for x-coordinates. They are needed.
2767
2768 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * messages.C (getLocaleDir): use lyx_localedir()
2771
2772         * lyxlex_pimpl.C (setFile): compress stuff
2773
2774         * buffer.C (writeFile): add some compression stuff
2775         (do_writeFile): new func, dont call expliti close... will this
2776         breake anything?
2777
2778         * Makefile.am (lyx_LDADD): add -lz
2779
2780 2003-07-28  José Matos  <jamatos@fep.up.pt>
2781
2782         * buffer.C: increment file format.
2783         * paragraph_funcs (readParagraph, readParToken):
2784         * paragraph.C (readParagraph): add \end_layout.
2785
2786 2003-07-27  Angus Leeming  <leeming@lyx.org>
2787
2788         * Makefile.am: remove special casing for configure-time setting of
2789         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2790
2791         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2792         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2793
2794 2003-07-26  André Pönitz  <poenitz@gmx.net>
2795
2796         * paragraph_func.[Ch]:
2797         * paragraph.C (realizeFont): inline it whereever it is used
2798
2799         * rowpainter.C:
2800         * text.C:
2801         * text2.C:
2802         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2803
2804
2805 2003-07-26  André Pönitz  <poenitz@gmx.net>
2806
2807         *       lyxtext.h:
2808         * text.C:
2809         * text2.C: get rid of LyXText::need_break_row
2810
2811 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2812
2813         * toc.[Ch]: put namespace toc inside namespace lyx
2814
2815         * MenuBackend.C (expandToc2): adjust for lyx::toc
2816         (expandToc): ditto
2817
2818         * lyxfunc.C (dispatch): adjust for lyx::find
2819
2820         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2821         lyx::find instead. Reorganize a bit.
2822         (LyXReplace): rename to replace
2823         (LyXFind): rename to find
2824
2825         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2826         (dispatch): ditto
2827
2828 2003-07-26  André Pönitz  <poenitz@gmx.net>
2829
2830         * text.C (setHeightOfRow): restrict scope of temporary variable
2831
2832         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2833           code (never has been used?)
2834
2835 2003-07-27  Asger Alstrup  <alstrup@local>
2836
2837         * text.C (fill): Optimise algorithm to exploit that we can reuse
2838         the LyXFont for many characters.
2839         (setHeightOfRow): Same thing.
2840         (rowBreakPoint): Same thing.
2841
2842 2003-07-26  Asger Alstrup  <alstrup@local>
2843
2844         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2845
2846         * text.C (singleWidth): Spurious font copying in hot-spot
2847         singleWidth avoided. Reorder tests for arabic for efficiency.
2848
2849         * text.C (fill): handle empty paragraphs better.
2850
2851 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2852
2853         * ispell.C:
2854         * encoding.h: add includes
2855
2856         * lyxrc.C: remove reading of bind files
2857
2858         * lyx_main.C (init): setup bindings and menus only if we have a
2859         gui.
2860
2861         * kbmap.C (read): new method. Do the actual reading of bind
2862         files.
2863
2864         * converter.C (dvipdfm_options):
2865         * bufferparams.C:
2866         * lyxrc.C (read):
2867         (output): adapt PAPER_* enums.
2868
2869         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2870
2871         * bufferparams.h: remove paper-related enums from there
2872
2873         * paper.h: New file. A trivial header file to hold paper-related
2874         enums. It should later expand to contain many paper-related
2875         horrors access.
2876
2877         * lyxrc.C: declare extern displayTranslator
2878
2879 2003-07-27  José Matos  <jamatos@fep.up.pt>
2880
2881         * tabular.[Ch] (linuxdoc): add support for tables and figures
2882         (linuxdoc).
2883
2884 2003-07-27  José Matos  <jamatos@fep.up.pt>
2885
2886         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2887         consistency in both functions.
2888         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2889
2890 2003-07-26  Asger Alstrup  <alstrup@local>
2891
2892         * rowpainter.C (paintRows): Change algorithm to work directly on
2893         the insets rather than asking every character in the document
2894         whether its an inset.
2895
2896 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2897
2898         * buffer.C (openFileWrite): factorize some code
2899
2900 2003-07-26  Angus Leeming  <leeming@lyx.org>
2901
2902         * lyx_cb.C:
2903         * lyx_main.[Ch]: replace occurances of system_tempdir with
2904         os::getTmpDir().
2905
2906 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * rename Inset to InsetOld
2909
2910 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2911
2912         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2913         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2914         which I think is a bit clearer. EDIT is gone, since it was
2915         premature optimisation, and broken for mathed anyway.
2916         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2917         with cursor positioning in insets as well (math insets still do not
2918         work, but that's a different story anyway.) It mysteriously
2919         crashes sometimes with undo in the first paragraph, but I'm fairly
2920         confident that this is a compiler bug.
2921
2922 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * paragraph.C (Paragraph): adjust for new clone return type
2925         (operator==): ditto
2926         (copyIntoMinibuffer): ditto
2927
2928 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2929
2930         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2931         by not having a special case, and always doing a full rebreak of
2932         the document after undo.
2933
2934 2003-07-23  Angus Leeming  <leeming@lyx.org>
2935
2936         * factory.C (createInset): InsetExternal::setParams now takes a
2937         Buffer const * arg.
2938
2939 2003-07-23  Angus Leeming  <leeming@lyx.org>
2940
2941         * factory.C (createInset): changed interface to the external and
2942         graphics mailers' string2params functions.
2943
2944 2003-07-23  Angus Leeming  <leeming@lyx.org>
2945
2946         * factory.C (createInset): pass a
2947         Buffer const * parameter to InsetExternalMailer's string2params.
2948
2949 2003-07-22  John Levon  <levon@movementarian.org>
2950
2951         * Thesaurus.h: include the right aiksaurus header
2952
2953 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * MenuBackend.C (expand): check menu shortcuts unconditionally
2956
2957 2003-07-21  Angus Leeming  <leeming@lyx.org>
2958
2959         * factory.C (createInset): pass a
2960         buffer_path parameter to InsetGraphicsMailer's string2params.
2961
2962 2003-07-21  Angus Leeming  <leeming@lyx.org>
2963
2964         * BufferView_pimpl.C (buffer):
2965         * buffer.C (d-tor):
2966         * lyx_main.C (LyX):
2967         * lyxfunc.C (dispatch):
2968         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2969         rather than the grfx shortcut.
2970
2971 2003-07-21  André Pönitz  <poenitz@gmx.net>
2972
2973         * rowpainter.C: remove unused variables
2974
2975         * tabular_funcs.C:
2976         * tabular_funcs.h: move to tabular.C
2977         * Makefile.am: adjust
2978
2979         * tabular.[Ch]: basic optical cleaning
2980
2981         * author.h: pass references, not values
2982
2983 2003-07-18  André Pönitz  <poenitz@gmx.net>
2984
2985         * lyxtext.h:
2986         * metricsinfo.C:
2987         * metricsinfo.h:
2988         * rowpainter.C:
2989         * text.C:
2990         * text2.C:
2991         * text3.C: two-phase drawing for InsetText and InsetTabular
2992         some float -> int changes.
2993
2994 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * lyx_main.C: fix the fix
2997
2998 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * lyx_main.C: fix a crash in batch mode if no files specified
3001         * converter.C: ws
3002
3003 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * format.[Ch] (papersize): moved to BufferParams
3006         * converter.[Ch] (dvips_options): moved to BufferParams
3007         (dvipdfm_options): moved to anon namespace
3008         * bufferparams.[Ch]: added above functions.
3009
3010 2003-07-17  André Pönitz  <poenitz@gmx.net>
3011
3012         * lyxtext.h:
3013         * rowpainter.C:
3014         * text2.C: don't call inset->update() anymore
3015
3016         * metricsinfo.[Ch]: add convenience constructor
3017
3018 2003-07-16  André Pönitz  <poenitz@gmx.net>
3019
3020         * lyxcursor.[Ch]:
3021         * lyxfunc.[Ch]:
3022         * text.C:
3023         * text2.C: replace the LyXCursor::irow_ member with
3024          on-demand computation of the value
3025
3026 2003-07-16  John Levon  <levon@movementarian.org>
3027
3028         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3029
3030 2003-07-15  André Pönitz  <poenitz@gmx.net>
3031
3032         * text.C:
3033         * text2.C: remove no more needed refresh_row
3034
3035 2003-07-15  André Pönitz  <poenitz@gmx.net>
3036
3037         * lyxtext.h:
3038         * rowpainter.C:
3039         * text2.C:
3040         * text3.C: refresh_status tristate -> need_update bool
3041
3042 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3043
3044         * lyxtext.h (init): remove reinit argument (act as if always true)
3045         * text2.C: adjust to that
3046
3047 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3048
3049         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3050         * text3.C: use it to delete selections in some cases
3051         (bugs 441, 673, 702, 954).
3052
3053 2003-07-14  André Pönitz  <poenitz@gmx.net>
3054
3055         * rowpainter.[Ch]: reduce interface
3056
3057 2003-07-14  André Pönitz  <poenitz@gmx.net>
3058
3059         * BufferView_pimpl.C:
3060         * text2.C: adjust after removing unused BufferView * argument
3061
3062 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3063
3064         * text2.C (init): fix a crash fired on resize
3065
3066 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3067
3068         * buffer.[Ch]: added new closing signal
3069         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3070         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3071         BufferView::Pimpl via the closing the signal
3072
3073 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * buffer.[Ch]: take out all bv-related from buffer
3076         * BufferView.C:
3077         * BufferView_pimpl.[Ch]: connect to new signals
3078         * CutAndPaste.C: removed useless asserts
3079         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3080         * lyxvc.[Ch]:
3081         * vc-backend.[Ch]:
3082         * lyxfunc.C: moved view-related funciontality from vc here
3083         * paragraph.C: removed outdated comments
3084         * text.C: ws
3085
3086 2003-07-10  André Pönitz  <poenitz@gmx.net>
3087
3088         * BufferView_pimpl.C:
3089         * tabular.h:
3090         * tabular_funcs.C:
3091         * text.C:
3092         * text2.C: remove InsetText::InnerCache, clean up consequences
3093
3094 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3095
3096         * ispell.C: fix two typos in error messages
3097
3098 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3099
3100         * Extend Note inset to other forms of annotation like Comment
3101         and Greyedout. Right button click gives dialog.
3102
3103         Files modified or added (+):
3104
3105         * insetnote.[Ch]
3106         * FormNote.[Ch]      +
3107         * ControlNote.[Ch]   +
3108         * form_note.fd       +
3109         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3110         frontends/controllers
3111         * xforms/Dialogs.C
3112         * factory.C
3113
3114 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3115
3116         * aspell.C: add missing namespace lyx::support
3117
3118 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * BufferView.[Ch] (newFile): Add
3121         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3122         * LaTeX.[Ch] (message): added this signal and use it
3123         * buffer.[Ch] (busy, message): added these signals and use them
3124         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3125         * converter.C:
3126         * exporter.C:
3127         * format.C:
3128         * importer.C: use buffer signals instead of direct bv calling
3129         * lyx_cb.[Ch] (ShowMessage): removed
3130         * lyx_main.C:
3131         * lyxfunc.C:
3132         * paragraph_funcs.C:
3133         * text2.C: use buffer signals
3134
3135 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3136
3137         * introduce namespace lyx::graphics
3138
3139 2003-07-02  André Pönitz  <poenitz@gmx.net>
3140
3141         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3142
3143 2003-07-01  André Pönitz  <poenitz@gmx.net>
3144
3145         * text.C:
3146         * text2.C:
3147         * text3.C:
3148         * text_funcs.[Ch]:
3149         * textcursor.h:
3150         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3151           text*.C to text_func.C
3152
3153 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * introduce namespace lyx::support
3156
3157 2003-06-30  André Pönitz  <poenitz@gmx.net>
3158
3159         * Chktex.C:
3160         * funcrequest.C:
3161         * lyxtext.h:
3162         * text.C: re-enable --with-included-string
3163
3164 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * textcursor.C: add <config.h>
3167
3168         * text.C (getWord): remove const from word_location arg
3169
3170         * lyxvc.C (getLogFile): fix const type order
3171
3172         * lyxtext.h: remove const from word_location arg, add arg name
3173
3174         * lyxlayout.h: currect type on labeltype.
3175
3176         * importer.C: correct \file
3177
3178         * converter.C (intToFormat): use std:: on ret val, ws changes
3179
3180         * bufferlist.h: correct \file
3181
3182         * buffer.C (makeLinuxDocFile): fix const type order
3183         (makeDocBookFile): ditto
3184         (fillWithBibKeys): use std:: on stdlib args.
3185
3186         * CutAndPaste.C: fix authors.
3187         (availableSelections): use std:: on return vector
3188
3189 2003-06-27  André Pönitz  <poenitz@gmx.net>
3190
3191         * BufferView_pimpl.C:
3192         * bufferview_funcs.C:
3193         * lyxcursor.C:
3194         * lyxcursor.h:
3195         * lyxfunc.C:
3196         * lyxtext.h:
3197         * rowpainter.C:
3198         * text.C:
3199         * text2.C:
3200         * text3.C: remove LyXCursor::row_ member
3201
3202         * lyxtext.h:
3203         * text.C: rename fullRebreak() to partialRebreak() and implement
3204           a fullRebreak() that really bereks fully
3205
3206         * textcursor.h: new struct for cursor-related data
3207
3208 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3209
3210         * lyx_main.C (LyX): get full path of document loaded on the
3211         command line
3212
3213 2003-06-26  André Pönitz  <poenitz@gmx.net>
3214
3215         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3216           remove unused/broken operator>,<,>=.
3217
3218         *       text.C: remove only use of broken operator<= in an Assert().
3219
3220 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3221
3222         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3223         moved errorlist_.clear to showErrorList
3224
3225 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3226
3227         * converter.C (scanLog, runLaTeX):
3228         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3229         move the bv->showErrorList call to the callers
3230         * lyxfunc.C: i.e. here...
3231         * text2.C: and here
3232         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3233         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3234         namespace, the second to...
3235         * buffer_funcs (BufferFormat, parseErrors): added
3236         * errorlist.C (ErrorList(TeXErrors const &)): removed
3237
3238 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3239
3240         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3241
3242 2003-06-24  "Garst R. Reese" <reese@isn.net>
3243
3244         * debug.C: fix typo
3245
3246 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3247
3248         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3249
3250         * version.C.in: change docversion to 1.4
3251
3252 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3253
3254         * buffer.C: fix a bug just introduced
3255
3256 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * buffer.[Ch]: added the parseError signal and use it, removed
3259         sgmlError
3260         * BufferView.[Ch] (addError): moved to ...
3261         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3262         to the Buffer::parseError signal to catch (guess what) parse errors
3263         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3264
3265 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3268         ability to create a buffer and to return an existing one from
3269         the list. Moved these functions to...
3270         * buffer_funcs.[Ch]: added
3271         * BufferView.[Ch] (loadLyXFile): added
3272         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3273         job removed from bufferlist::loadLyXFile.
3274         * buffer.C (setReadOnly): make it work without view
3275         (i.e added an if (users))
3276
3277 2003-06-19  Angus Leeming  <leeming@lyx.org>
3278
3279         * lfuns.h:
3280         * LyXAction.C (init):
3281         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3282         with LFUN_DIALOG_SHOW <name> <data>.
3283
3284 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285
3286         * CutAndPaste.C (availableSelections): small compilation fix for
3287         ancient (gcc 2.9x) compilers
3288
3289 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text3.C (cursorNext): add tmp var
3292
3293         * text2.C (updateCounters): for function calling out of for clause
3294         (replaceSelectionWithString): ditto
3295         (insertStringAsParagraphs): ditto
3296         (getColumnNearX): add tmp var
3297         (setCursorFromCoordinates): add tmp var
3298         (cursorDownParagraph): add tmp var
3299         (deleteEmptyParagraphMechanism): add tmp var
3300
3301         * text.C (insertChar): add tmp var
3302
3303         * rowpainter.C (paintDepthBar): add tmp var
3304
3305         * CutAndPaste.C (availableSelections): potentially check all
3306         paragraphs in a cut to fill the shown strings.
3307
3308 2003-06-18  André Pönitz  <poenitz@gmx.net>
3309
3310         * kbmap.[Ch]: use vector<> instead of list<>
3311
3312 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3313
3314         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3315         pasteSelection with index
3316
3317         * text2.C (pasteSelection): modify, call pasteSelection with index
3318
3319         * paragraph.C (asString): reimplement version with no interval to
3320         call the one with interval.
3321
3322         * lyxtext.h: add index arg to pasteSelection
3323
3324         * MenuBackend.C (MenuItem): handle PasteRecent
3325         (Menu::read::Menutags): add md_pasterecent
3326         (read): handle it
3327         (expandPasteRecent): new function
3328         (expand): use it
3329
3330         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3331
3332         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3333         the limited stack
3334         (availableSelections): new function
3335
3336 2003-06-17  Angus Leeming  <leeming@lyx.org>
3337
3338         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3339
3340 2003-06-17  Angus Leeming  <leeming@lyx.org>
3341
3342         * lfuns.h:
3343         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3344
3345         * lyxfunc.C (dispatch): invoke it.
3346
3347 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * iterators.C (operator++, ParPosition): reintroduce some
3350         const_cast for the benefit of older compilers.
3351
3352 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3353
3354         * text3.C (dispatch): do not modify clipboard when doing
3355         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3356         LFUN_DELETE_SKIP on a selection selection
3357
3358 2003-06-16  André Pönitz  <poenitz@gmx.net>
3359
3360         * BufferView.C:
3361         * buffer.C:
3362         * buffer.h:
3363         * paragraph.C:
3364         * tabular.[Ch]: IU of clone() and getLabelList();
3365
3366 2003-06-13  André Pönitz  <poenitz@gmx.net>
3367
3368         * tabular.h: compactification
3369
3370 2003-06-12  André Pönitz  <poenitz@gmx.net>
3371
3372         * tabular.C:
3373         * tabular.h:
3374         * tabular_funcs.h: some renaming plus whitespace
3375
3376 2003-06-12  André Pönitz  <poenitz@gmx.net>
3377
3378         * BufferView.C:
3379         * BufferView_pimpl.C:
3380         * CutAndPaste.C:
3381         * buffer.C:
3382         * iterators.[Ch]:
3383         * lyxfunc.C:
3384         * text.C:
3385         * toc.C: Return a Paragraph & for ParIterator::operator*()
3386
3387 2003-06-11  John Levon  <levon@movementarian.org>
3388
3389         * lyx_main.C:
3390         * ToolbarBackend.h:
3391         * ToolbarBackend.C: add "Toolbars" section and
3392         put the flags there
3393
3394 2003-06-10  Angus Leeming  <leeming@lyx.org>
3395
3396         * lfuns.h:
3397         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3398
3399         * lyxfunc.C (dispatch): invoke it.
3400
3401 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * main.C: protect <ios> with HAVE_IOS
3404         (main): protect sync_with_stdio with HAVE_IOS
3405
3406 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3407
3408         * text2.C (cutSelection): adjust
3409         (pasteSelection): adjust
3410
3411         * messages.C: handle get of empty string
3412
3413         * main.C (main): use sync_with_stdio(false)
3414
3415         * lyxfunc.C (dispatch): adjust
3416
3417         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3418         (WriteAs): remove unneeded BufferView arg.
3419
3420         * bufferparams.h: use correct types on papersize, papersize2 and
3421         paperpackage.
3422
3423         * bufferparams.C (readToken): adjust for type
3424         (writeLaTeX): add missing cases to switch.
3425
3426         * bufferlist.C (quitWriteBuffer): adjust
3427         (close): adjust
3428
3429         * buffer.C (asciiParagraph): remove some commented code.
3430
3431         * CutAndPaste.C: remove current_view extern variable.
3432         (cutSelection): add BufferParams arg.
3433         (eraseSelection): add BufferParams arg.
3434         (pasteSelection): add Buffer const & arg
3435
3436 2003-06-07  John Levon  <levon@movementarian.org>
3437
3438         * buffer.C:
3439         * paragraph_funcs.C:
3440         * paragraph_pimpl.C:
3441         * text.C:
3442         * text2.C:
3443         * paragraph.h:
3444         * paragraph.C: allow InsetERT to freely space lines,
3445         and some consolidation of code
3446
3447 2003-06-06  José Matos  <jamatos@fep.up.pt>
3448
3449         * buffer.C (makeDocBookFile): fix bug #821
3450
3451 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3454
3455 2003-06-04  Angus Leeming  <leeming@lyx.org>
3456
3457         * buffer.C: bump format to 224.
3458
3459 2003-06-05  André Pönitz  <poenitz@gmx.net>
3460
3461         * text2.C (redoParagraphs): remove two const_cast<>
3462
3463 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3464
3465         * ParagraphList.h: remove last remnants of NO_STD_LIST
3466
3467 2003-06-03  Angus Leeming  <leeming@lyx.org>
3468
3469         * factory.C (createInset): small change to the way InsetExternal's params
3470         are set.
3471
3472 2003-06-04  André Pönitz  <poenitz@gmx.net>
3473
3474         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3475
3476         * paragraph_pimpl.h:
3477         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3478
3479         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3480
3481         * undo_funcs.C: make some simple cases of undo work again
3482
3483 2003-06-03  John Levon  <levon@movementarian.org>
3484
3485         * ispell.C: HPUX doesn't have sys/select.h
3486         (from Albert Chin)
3487
3488 2003-06-03  John Levon  <levon@movementarian.org>
3489
3490         * CutAndPaste.C: update tabular and include inset
3491         buffer references
3492
3493         * buffer.h:
3494         * paragraph.h:
3495         * paragraph.C: remove owningBuffer(), don't pass Buffer
3496         to clone()
3497
3498         * factory.C: insetGraphicsParams changed
3499
3500 2003-06-02  John Levon  <levon@movementarian.org>
3501
3502         * LyXAction.C:
3503         * factory.C:
3504         * lfuns.h:
3505         * lyxfunc.C:
3506         * text3.C: remove insetparent
3507
3508 2003-06-02  John Levon  <levon@movementarian.org>
3509
3510         * buffer.h:
3511         * buffer.C: fix inset_iterator.end(), move out of line
3512         (bug 1149)
3513
3514 2003-06-01  John Levon  <levon@movementarian.org>
3515
3516         * text3.C: use a proper cut/paste when doing inset
3517         insert (from Jürgen Spitzmüller)
3518
3519 2003-06-01  John Levon  <levon@movementarian.org>
3520
3521         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3522
3523 2003-05-30  André Pönitz  <poenitz@gmx.net>
3524
3525         * rowpainter.C: unify second drawing phase
3526
3527 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * trans_mgr.C: remove one case of current_view
3530
3531         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3532
3533         * paragraph_funcs.h: remove paragraph.h include
3534
3535         * paragraph.h: delete NO_STD_LIST stuff
3536
3537         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3538
3539         * buffer.h: remove paragraph.h include
3540
3541         * ParagraphList.C: delete file
3542
3543         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3544
3545         * toc.C (getTocList): adjust
3546
3547         * paragraph_pimpl.C (validate): adjust
3548
3549         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3550
3551         * paragraph.C (Paragraph): adjust
3552         (getPositionOfInset): use const_iterator, adjust
3553         (bibitem): use const_iterator, adjust
3554         (setInsetOwner): adjust
3555
3556         * iterators.C (operator++): adjust
3557
3558         * InsetList.[Ch]: Replace selfmade iterator with standard
3559         vector::iterator also introduce const_iterator. Remove getPos,
3560         getInset and setInset from InsetTable. Adjust accordingly.
3561
3562         * BufferView.C (lockInset): adjust
3563         (ChangeInsets): adjust
3564
3565         * tabular.[Ch]: delete commented same_id functions
3566
3567 2003-05-28  John Levon  <levon@movementarian.org>
3568
3569         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3570
3571 2003-05-28  André Pönitz  <poenitz@gmx.net>
3572
3573         * metricsinfo.[Ch]: remove 'fullredraw' member
3574
3575 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3576
3577         * lyxtextclass.C (operator): remove caching.
3578
3579 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * text3.C: adjust
3582
3583         * text2.C (cursorBottom): adjust
3584         (setCounter): use ParagraphList::find, adjust
3585
3586         * text.C (workWidth): use ParagraphList::find, adjust
3587
3588         * lyxcursor.C (LyXCursor): adjust
3589
3590         * buffer.C (inset_iterator): adjust
3591
3592         * ParagraphList.h: make iterator(value_type) private, make
3593         ParagraphList a friend of iterator.
3594
3595         * ParagraphList.C (find): new function
3596
3597         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3598
3599 2003-05-27  André Pönitz  <poenitz@gmx.net>
3600
3601         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3602
3603 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3604
3605         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3606
3607 2003-05-26  John Levon  <levon@movementarian.org>
3608
3609         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3610
3611 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * remove same_id from function signatures, adjust.
3614
3615 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3618
3619         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3620
3621         * paragraph.C (Paragraph): get rid of same_ids parameter
3622
3623         * ParagraphList.C (insert): adjust
3624         (push_back): adjust
3625
3626 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * paragraph_funcs.C (breakParagraph): adjust
3629         (breakParagraphConservative): adjust
3630
3631         * buffer.C (readParagraph): adjust
3632
3633         * ParagraphList.C (insert): take a reference instead of a pointer
3634         (insert): adjust
3635
3636         * paragraph.[Ch] (id): new function
3637
3638         * bufferlist.C (newFile): adjust
3639
3640         * ParagraphList.C (ParagraphList): adjust
3641         (assign): adjust
3642         (push_back): take a reference instead of a pointer.
3643
3644         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3645
3646         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3647         instead.
3648
3649         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3650         set else use old code.
3651
3652         * ParagraphList.C: remove all NO_NEXT code and only compile this
3653         code of NO_STD_LIST is set.
3654
3655 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * BufferView_pimpl.C:
3658         * TextCache.C:
3659         * TextCache.h:
3660         * bufferlist.C:
3661         * errorlist.h:
3662         * format.C:
3663         * format.h:
3664         * graph.C:
3665         * lyxfunc.C:
3666         * lyxrc.C:
3667         * graphics/GraphicsConverter.C:
3668         * graphics/PreviewLoader.C: header adjustment
3669
3670 2003-05-23  Angus Leeming  <leeming@lyx.org>
3671
3672         * LaTeXFeatures.[Ch] (useBabel): new method.
3673         * bufferparams.C (writeLaTeX): use it.
3674
3675 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * ParagraphList.h (set): remove unused function.
3678
3679 2003-05-23  André Pönitz  <poenitz@gmx.net>
3680
3681         * BufferView.C:
3682         * BufferView_pimpl.C:
3683         * buffer.C:
3684         * buffer.h:
3685         * lyxfunc.C:
3686         * undo_funcs.C: setUndo reworked
3687
3688         * iterators.[Ch]: add access to topmost ParagraphList
3689
3690         * lyxtext.[Ch] (workWidth): add a const
3691
3692 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * texrow.[Ch] (increasePos): remove function
3695         * exporter.C (export): removed unused var and outdated comment
3696
3697 2003-05-23  Angus Leeming  <leeming@lyx.org>
3698
3699         * latexrunparams.h: rename fragile as moving_arg.
3700         * paragraph.C (simpleTeXOnePar): ditto.
3701         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3702
3703 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3706         (createUndo): ditto
3707         (textUndoOrRedo): comment out a currently unused var.
3708
3709         * paragraph.h (NO_NEXT): enable NO_NEXT
3710
3711         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3712
3713         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3714
3715         * exporter.C (Export): adjust for removeAutoInsets removal.
3716
3717         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3718
3719         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3720
3721         * BufferView.[Ch] (removeAutoInsets): delete function
3722
3723 2003-05-22  Angus Leeming  <leeming@lyx.org>
3724
3725         * latexrunparams.h: add a free_spacing variable.
3726
3727         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3728         to pass moving_arg, as the data is stored in runparams.fragile.
3729
3730         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3731         to Inset::latexOptional or to simpleTeXOnePar.
3732
3733         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3734         free_spacing arg to Inset::latexOptional.
3735
3736         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3737         free_spacing arg.
3738
3739 2003-05-22  Angus Leeming  <leeming@lyx.org>
3740
3741         * latexrunparams.h: add fragile and use_babel variables.
3742
3743         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3744         * buffer.C (makeLaTeXFile): store this returned value in
3745         runparams.use_babel, thus passing it to the inset::latex methods.
3746
3747         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3748         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3749
3750         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3751         longer has a fragile arg, as it is stored in runparams.fragile.
3752
3753         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3754         moving_arg parameter as the data is stored in runparams.fragile.
3755
3756         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3757         a fragile parameter as the data is stored in runparams.fragile.
3758
3759 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3762
3763 2003-05-22  Angus Leeming  <leeming@lyx.org>
3764
3765         * latexrunparams.h: add a 'bool nice' which defaults to false.
3766
3767         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3768         now encapsulated within runparams.
3769
3770         * bufferlist.C (updateIncludedTeXfiles):
3771         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3772
3773 2003-05-22  Angus Leeming  <leeming@lyx.org>
3774
3775         * latexrunparams.h: new file containing struct LatexRunParams.
3776         * Makefile.am: add new file.
3777
3778         * LaTeX.[Ch] (c-tor, run):
3779         * buffer.[Ch] (makeLaTeXFile):
3780         * bufferlist.[Ch] (updateIncludedTeXfiles):
3781         * converter.C (convert, scanLog):
3782         * converter.[Ch] (runLaTeX):
3783         * exporter.C (Export):
3784         * paragraph.[Ch] (simpleTeXOnePar):
3785         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3786         * paragraph_funcs.[Ch] (latexParagraphs):
3787         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3788         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3789         pass around a LatexRunParams parameter.
3790
3791 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * paragraph.[Ch]: remove unused constructor
3794
3795         * ParagraphList.C (erase): new function, taking two iterators
3796
3797 2003-05-22  André Pönitz  <poenitz@gmx.net>
3798
3799         * undo_funcs.C: remove duplicated code
3800
3801         * iterator.[Ch]: operator=
3802
3803 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * tabular.C (SetMultiColumn): ws changes
3806
3807         * rowpainter.C (paintFirst): get rid of a ->previous
3808
3809         * lyx_cb.C (getPossibleLabel): parlist simplification
3810
3811         * BufferView.C (ChangeInsets): simplify slightly.
3812
3813 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3814
3815         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3816         * lfuns.h: new LFUN_SPACE
3817         * lyxfunc.C: protected space has a new lfun
3818         * paragraph_funcs.C: read new space insets
3819         * text3.C:
3820         * factory.C: handle new space insets
3821
3822 2003-05-22  André Pönitz  <poenitz@gmx.net>
3823
3824         * BufferView.C:
3825         * BufferView_pimpl.C:
3826         * buffer.[Ch]:
3827         * lyxfunc.C:
3828         * undo_funcs.C: return a ParIterator from getParFromID.
3829
3830         * iterators.[Ch]: add two const's
3831
3832 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * toc.C (getTocList): adjust
3835
3836         * iterators.[Ch]: rework for parlist
3837
3838         * buffer.C (par_iterator_begin): adjust
3839         (par_iterator_end): adjust
3840
3841         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3842
3843         * BufferView.C (removeAutoInsets): adjust
3844         (ChangeInsets): adjust
3845
3846 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * text.C (top_y): fix bug 1110
3849
3850 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3851
3852         * errorlist.[Ch]: added
3853         * buffer.C:
3854         * BufferView.[Ch]:
3855         * BufferView_pimpl.C:
3856         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3857         instead
3858
3859 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * Makefile.am: ensure that lyx is relinked upon changes to the
3862         various "convenience" libs.
3863
3864 2003-05-20  Angus Leeming  <leeming@lyx.org>
3865
3866         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3867         files are compiled in alphabetical order again.
3868
3869         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3870
3871 2003-05-19  Angus Leeming  <leeming@lyx.org>
3872
3873         * gettext.[Ch]: remove "char const * _(char const *)".
3874
3875 2003-05-19  André Pönitz  <poenitz@gmx.net>
3876
3877         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3878
3879         * Makefile.am:
3880         * BufferView.C:
3881         * DepTable.h:
3882         * LaTeXFeatures.C:
3883         * buffer.C:
3884         * lyxfont.C:
3885         * lyxlex.h:
3886         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3887
3888 2003-05-19  André Pönitz  <poenitz@gmx.net>
3889
3890         * buffer.C:
3891         * lyxlayout.[Ch]:
3892         * lyxtextclass.[Ch]:
3893         * paragraph.C:
3894         * paragraph_funcs.[Ch]:
3895         * text2.C:
3896         * text3.C: more insetenv work
3897
3898 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * ParagraphParameters.C (params2string): small bug fixed
3901
3902 2003-05-16  André Pönitz  <poenitz@gmx.net>
3903
3904         * debug.C:
3905         * bufferview_funcs.C: patch from Kornel Benko to prevent
3906           crash when _(...) is called twice in a statement
3907
3908 2003-05-16  André Pönitz  <poenitz@gmx.net>
3909
3910         * BufferView.C:
3911         * lyxfunc.C:
3912         * text.C:
3913         * text2.C:
3914         * text3.C:
3915         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3916
3917 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3918
3919         * lyx_main.C (init): remove spurious static_cast
3920
3921 2003-05-14  André Pönitz  <poenitz@gmx.net>
3922
3923         * BufferView.C: fix format string
3924
3925 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * BufferView.[Ch] (insertErrors): removed
3928         * BufferView.[Ch] (showErrorList): added
3929         * buffer.C (runChkTeX):
3930         * converter.C (scanLog): call showErrorList instead of inserterrors
3931
3932 2003-05-13  André Pönitz  <poenitz@gmx.net>
3933
3934         * BufferView_pimpl.C:
3935         * buffer.C:
3936         * bufferview_func.C:
3937         * MenuBackend.C:
3938         * lyxfunc.C:
3939         * lyxrc.C:
3940         * tex-accent.C:
3941         * text3.C:
3942         * toc.C:
3943         * tabular_funcs.h: tostr() from its own header
3944
3945         * ParagraphParameters.C:
3946         * ToolbarBackend.C:
3947         * bufferparams.C:
3948         * format.C:
3949         * lyxlex_pimpl.C:
3950         * text3.C: STRCONV()
3951
3952 2003-05-12  André Pönitz  <poenitz@gmx.net>
3953
3954         * BufferView.C:
3955         * BufferView_pimpl.C:
3956         * CutAndPaste.C:
3957         * LaTeX.C:
3958         * LaTeXFeatures.C:
3959         * ParagraphParameters.C:
3960         * buffer.C:
3961         * bufferlist.C:
3962         * bufferparams.C:
3963         * bufferview_funcs.C:
3964         * converter.C:
3965         * counters.C:
3966         * debug.C:
3967         * exporter.C:
3968         * format.C:
3969         * importer.C:
3970         * lyx_cb.C:
3971         * lyx_main.C:
3972         * lyxfont.C:
3973         * lyxfunc.C:
3974         * lyxvc.C:
3975         * paragraph.C:
3976         * paragraph_funcs.C:
3977         * tabular.C:
3978         * tabular_funcs.C:
3979         * text2.C:
3980         * text3.C:  boost::format -> bformat  all over the place
3981
3982
3983 2003-05-09  André Pönitz  <poenitz@gmx.net>
3984
3985         * LColor.[Ch]: Pimpl the #include <map> away
3986
3987 2003-05-09  John Levon  <levon@movementarian.org>
3988
3989         * bufferlist.C: never remove emergency saves
3990
3991 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * Makefile.am: better lib building
3994
3995 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3998         instead.
3999         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4000         (simpleTeXSpecialChars): adjust
4001         (simpleTeXSpecialChars): adjust
4002         * paragraph.C (simpleTeXOnePar): adjust
4003         * buffer.C (makeLaTeXFile): adjust
4004
4005         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4006
4007         * text2.C (changeDepth): parlist cleanup
4008         (getColumnNearX): ditto
4009
4010         * rowpainter.C (getLabelFont): parlist cleanup
4011
4012         * bufferlist.C (newFile): parlist cleanup
4013
4014         * CutAndPaste.C (eraseSelection): parlist cleanup
4015
4016         * BufferView_pimpl.C (trackChanges): parlist cleanup
4017         (dispatch): ditto
4018
4019         * BufferView.C (lockInset): parlist cleanup.
4020         (ChangeInsets): ditto
4021
4022 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * CutAndPaste.h: Update file header.
4025
4026         * CutAndPaste.C: Update file header.
4027         Store the parts cut out of the Document in a limited_stack.
4028         (copySelection): adjust
4029         (pasteSelection): new function, takes the index in the limited stack.
4030         (nrOfParagraphs): adjust
4031         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4032         simplify error inset insertion.
4033         (checkPastePossible): adjust
4034
4035 2003-05-06  John Levon  <levon@movementarian.org>
4036
4037         * text2.C: don't cast wrap inset to float
4038
4039 2003-05-05  André Pönitz  <poenitz@gmx.net>
4040
4041         * iterator.C:
4042         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4043
4044         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4045           few naked Paragraph *.
4046
4047 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4048
4049         * bufferparams.C: Output warning if a document with missing
4050         TeX document class is loaded
4051         * exporter.C: Disable TeX exports if the document class is missing
4052         * lyxtextclass.C:
4053         * lyxtextclass.h:
4054         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4055         isTeXClassAvailable()
4056
4057 2003-05-03  John Levon  <levon@movementarian.org>
4058
4059         * BufferView.h:
4060         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4061         explicit cursor show/hide
4062
4063         * BufferView_pimpl.h:
4064         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4065         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4066
4067         * lyxfunc.C: hide cursor before dispatching.
4068
4069         * lyx_cb.C:
4070         * lyxfind.C:
4071         * text.C:
4072         * text3.C: remove explicit cursor hides
4073
4074 2003-05-02  André Pönitz  <poenitz@gmx.net>
4075
4076         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4077
4078         * undo_funcs.C:
4079         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4080           linked lists
4081
4082         * text2.C: tiny whitespace
4083
4084 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * undo_funcs.C: almost only ws changes.
4087
4088         * ParagraphList.C (splice): just return if pl is empty.
4089
4090 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * ParagraphList.C (splice): new function.
4093
4094         * CutAndPaste.C (pasteSelection): use it
4095
4096 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * CutAndPaste.C (pasteSelection): remove the last next and
4099         previous from this file.
4100
4101 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * CutAndPaste.C (pasteSelection): more clean up, user proper
4104         ParagraphList functions for pasteing.
4105
4106         * ParagraphList.C (insert): new function, three arg insert
4107
4108 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * ParagraphList.C (insert): new function, three arg insert
4111
4112         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4113         not on paragraphs.
4114
4115 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4116
4117         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4118
4119 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4122
4123 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4126         (copySelection): clean up a bit.
4127         (pasteSelection): use make_pair
4128
4129         * ParagraphList.C (ParagraphList): implement copy constructor
4130         (operator=): implement, base on copy constructor.
4131         (assign): new func
4132
4133         * paragraph.C (erase): return a bool
4134
4135         * paragraph_pimpl.C (erasePos): remove function, move contents...
4136         (erase): ... here. Return a bool.
4137         (erase): call erase instead of erasePos.
4138
4139 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * ParagraphList.h: define PitPosPair
4142         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4143         ParagraphList, fix a bug on pasting multiple pars
4144         * text2.C: change interface to C&P
4145
4146 2003-04-30  André Pönitz  <poenitz@gmx.net>
4147
4148         * undo_func.C: revert part of yesterday's patch 2
4149
4150 2003-04-30  John Levon  <levon@movementarian.org>
4151
4152         * LColor.C: s/tabular/table/
4153
4154 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * text3.C (dispatch): do not convert iterator -> pointer
4157         * undo_funcs.C (setCursorParUndo): ditto
4158         * text_funcs.C (transposeChars): ditto
4159
4160         * text2.C (setLayout): ws changes only
4161
4162         * text.C (breakParagraph): do not convert iterator -> pointer
4163         (insertChar): ditto
4164         (acceptChange): ditto
4165         (rejectChange): ditto
4166         (changeCase): ditto
4167         (Delete): ditto
4168         (backspace): ditto
4169
4170         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4171         pointer
4172
4173 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * text3.C (gotoInset): YABG (yet another bad getChar)
4176
4177 2003-04-29  André Pönitz  <poenitz@gmx.net>
4178
4179         * paragraph.h: make operator= private unimplemented as long as
4180           it is unusable
4181
4182         * ParagraphList.C: whitespace
4183
4184         * paragraph.[Ch]:
4185         * paragraph_pimpl.[Ch]:
4186         * paragraph_funcs.C:
4187         * CutAndPaste.C:
4188         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4189
4190         * text2.C:
4191           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4192
4193 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4196         * paragraph.[Ch] (erase):
4197         * paragraph_pimpl.[Ch] (erase): change return type and value
4198         * text2.C (cutSelection): some rework
4199
4200 2003-04-28  John Levon  <levon@movementarian.org>
4201
4202         * bufferlist.C: changes for unsaved changes dialog
4203
4204 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * bufferlist.C (newFile): set language (messages_) for new
4207         documents also.
4208
4209         * buffer.C (readFile): ws changes only.
4210
4211 2003-04-28  André Pönitz  <poenitz@gmx.net>
4212
4213         * undo_funcs.C:
4214         * lyxfunc.C:
4215         * buffer.[Ch]:
4216         * BufferView_pimpl.C:
4217         * BufferView.C: getParFromID related ParagraphList::iterator changes
4218
4219 2003-04-28  André Pönitz  <poenitz@gmx.net>
4220
4221         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4222           Changes
4223
4224 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * messages.C: remove one more localedir class variable.
4227
4228 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * messages.C (getLocaleDir): singleton generation function
4231         (Pimpl): use it.
4232         (Messages): add a default constructor.
4233
4234         * main.C (main): do not setup localedir here, do not call
4235         gettext_init.
4236
4237         * gettext.C (_): use it.
4238         (gettext_init): delete funciton
4239
4240 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * gettext.C (getLyXMessages): new singleton generating function.
4243
4244         * buffer.C (updateDocLang): adjust
4245
4246         * Makefile.am (messages.o): add target
4247         (main.o): remove target
4248
4249 2003-04-27  John Levon  <levon@movementarian.org>
4250
4251         * bufferlist.C:
4252         * lyx_cb.C:
4253         * lyxfunc.C:
4254         * lyxvc.C: specify cancel button in Alert::prompt
4255
4256 2003-04-26  John Levon  <levon@movementarian.org>
4257
4258         * text3.C:
4259         * lyxfunc.C:
4260         * lfuns.h:
4261         * LyXAction.C: add LFUN_INSET_SETTINGS
4262
4263         * lyxfunc.C: don't enable tabular-feature when there's
4264         just any locking inset
4265
4266 2003-04-26  John Levon  <levon@movementarian.org>
4267
4268         * bufferlist.C: re-add Cancel to buffer close question
4269
4270         * lyxfunc.C: fix import UI a bit
4271
4272 2003-04-25  John Levon  <levon@movementarian.org>
4273
4274         * gettext.C: remove the broken asserts for now
4275
4276 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * messages.C: make case where setlocale cannot comply work better.
4279
4280         * buffer.C (updateDocLang): new function
4281         (changeLanguage): use it
4282         (readFile): use it
4283
4284         * text2.C (setCounter): use B_ a bit.
4285
4286         * lyxlayout.C (Read): be sure to trim the label strings.
4287
4288         * messages.C (Messages): fix typo in comment
4289
4290         * buffer.C (readFile): set message_ after file is loaded.
4291         (makeDocBookFile): remove double return
4292         (changeLanguage): reset message_ upon language change.
4293         (B_): new func, use this to get translated buffer strings.
4294
4295         * main.C: add myself and Jean Marc as authors.
4296
4297 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * messages.[hC]: pimplify Messages, and three different pimpls to be
4300         used in different circumstances.
4301
4302         * gettext.[Ch]: change for use with new message code.
4303
4304 2003-04-24 André Pönitz <poenitz@gmx.net>
4305
4306         * factory.C: support for eqref
4307
4308 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * messages.[Ch]: add missing char
4311
4312         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4313
4314         * messages.[Ch]: New files
4315
4316 2003-04-18  John Levon  <levon@movementarian.org>
4317
4318         * BufferView.h:
4319         * BufferView.C:
4320         * BufferView_pimpl.C:
4321         * lfuns.h:
4322         * LyXAction.C:
4323         * lyxtext.h:
4324         * text2.C: remove layout-copy/paste (bug 778)
4325
4326 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4329
4330 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4331
4332         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4333         if they succeed. Act accordingly.
4334
4335 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * text2.C (setCharFont): adjust
4338         (setCounter): adjust
4339         (insertStringAsLines): adjust
4340
4341         * text.C (leftMargin): adjust
4342         (setHeightOfRow): adjust
4343
4344         * rowpainter.C (paintFirst): adjust
4345         (paintLast): adjust
4346
4347         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4348         (outerHook): ditto
4349         (isFirstInSequence): ditto
4350         (getEndLabel): ditto
4351         (outerFont): adjust
4352
4353         * paragraph.C (getParLanguage): comment out some hard stuff.
4354
4355         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4356         (sgmlError): ditto
4357         (simpleDocBookOnePar): ditto
4358         (makeDocBookFile): use ParagraphList::iterator
4359
4360         * CutAndPaste.C (pasteSelection): adjust
4361
4362 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * text2.C (getFont): adjust
4365         (getLayoutFont): adjust
4366         (getLabelFont): adjust
4367
4368         * paragraph_funcs.C (TeXOnePar): adjust
4369
4370         * buffer.C (simpleLinuxDocOnePar): adjust
4371         (simpleDocBookOnePar): adjust
4372
4373         * CutAndPaste.C (pasteSelection): adjust
4374
4375         * BufferView.C (getEncoding): adjust
4376
4377         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4378
4379 2003-04-16  John Levon  <levon@movementarian.org>
4380
4381         * lyxfind.C: use parlist stuff for search/changes
4382
4383 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4386
4387         * text2.C (deleteEmptyParagraphMechanism): adjust
4388
4389         * text2.[Ch] (ownerParagraph): delete func (both of them
4390
4391 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4394
4395 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * ParagraphList.C: prepare for NO_NEXT
4398
4399 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * text2.C (getFont): adjust
4402         (getLayoutFont): adjust
4403         (getLabelFont): adjust
4404
4405         * paragraph.C (getFont): adjust
4406         (getLabelFont): adjust
4407         (getLayoutFont): adjust
4408
4409         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4410
4411 2003-04-15  John Levon  <levon@movementarian.org>
4412
4413         From Angus Leeming
4414
4415         * lyx_main.C: handle Include in .ui files
4416
4417 2003-04-15  John Levon  <levon@movementarian.org>
4418
4419         * MenuBackend.C: make the doc files length shorter
4420
4421         * ToolbarBackend.h:
4422         * ToolbarBackend.C: handle toolbar placement flags,
4423         Minibuffer
4424
4425 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4428         adjust
4429
4430         * paragraph_funcs.C (TeXOnePar): adjust
4431
4432         * paragraph.C (getLabelFont): add outerfont arg, adjust
4433         (getLayoutFont): ditto
4434         (simpleTeXOnePar): adjust
4435
4436         * paragraph_pimpl.C (realizeFont): delete func
4437
4438 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4441         row argument, constify cur argument.
4442
4443 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * text2.C (getFont): adjust
4446         (getLayoutFont): adjust
4447         (getLabelFont): adjust
4448
4449         * paragraph_funcs.C (TeXOnePar): adjust
4450         (outerFont): new func...
4451         (realizeFont): ...moved out from here, changed this to facilitate
4452         transition
4453
4454         * paragraph.C (getFont): take outerfont as arg, adjust
4455         (simpleTeXOnePar): add outerfont arg, adjust
4456
4457         * buffer.C (simpleLinuxDocOnePar): adjust
4458         (simpleDocBookOnePar): adjust
4459
4460         * CutAndPaste.C (pasteSelection): adjust
4461
4462         * BufferView.C (getEncoding): adjust
4463
4464 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * text2.C (setCharFont): adjust
4467         (setCounter): adjust
4468
4469         * text.C (leftMargin): adjust
4470         (setHeightOfRow): adjust
4471
4472         * rowpainter.C (paintFirst): adjust
4473         (paintLast): adjust
4474
4475         * paragraph_pimpl.C (realizeFont): adjust
4476
4477         * paragraph.C (isFirstInSequence): move from here...
4478         * paragraph_funcs.C (isFirstInSequence): ...to here
4479
4480         * paragraph.C (outerHook): move from here...
4481         * paragraph_funcs.C (outerHook): ...to here
4482
4483         * paragraph.C (depthHook): move from here...
4484         * paragraph_funcs.C (depthHook): ...to here
4485
4486         * paragraph.C (getEndLabel): move from here...
4487         * paragraph_funcs.C (getEndLabel): ...to here
4488
4489         * text2.C (realizeFont): move from here...
4490         * paragraph_funcs.C (realizeFont): ...to here
4491
4492 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4495
4496 2003-04-14  Angus Leeming  <leeming@lyx.org>
4497
4498         * LColor.[Ch]: scrap LColor mathcursor.
4499
4500 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * lyxlex.[Ch] (text): delete function
4503         * trans.C (Load): adjust
4504         * paragraph_funcs.C (readParToken): adjust
4505
4506 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4509         vector<char> instead of a char[].
4510
4511         * lyxlex_pimpl.C (getString): adjust
4512         (next): adjust
4513         (lex): use getString
4514         (eatLine): adjust
4515         (nextToken): adjust
4516
4517         * lyxlex.C (text): use pimpl_->getString()
4518         (getBool): ditto
4519         (findToken): ditto
4520
4521 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4524         (makeFontEntriesLayoutSpecific): temp var for par.size()
4525         (setLayout): temp var for ownerParagraphs().end()
4526         (fullRebreak): temp var for rows().end()
4527         (selectionAsString): temp var for boost::next(startpit), realize
4528         that the while really is a regular for loop.
4529         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4530         setCursor in one place.
4531         (setParagraph): temp vr for ownerParagraphs().end()
4532         (updateCounters): make the while loop a for loop
4533         (cutSelection): temp var for ownerParagraphs().end()
4534         (updateInset): make the do {} while() a regular for loop
4535         (getCursorX): use temp vars
4536         (setCurrentFont): use temp vars
4537         (getColumnNearX): use temp vars
4538
4539 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * text.C (transformChar): use temp var for getChar
4542         (computeBidiTables): use temp var for row->par()
4543         (fill): move temp vars for row->par() and pit->layout() earlier in
4544         the function.
4545         (labelFill): use temp var for row->par()
4546         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4547         asc and desc, realize that pit never changes and that firstpit is
4548         just a duplicate and not needed. Exchange rit->par() with pit in a
4549         lot of places.
4550         (breakAgain): use a temp var for boost::next(rit)
4551         (breakAgainOneRow): ditto
4552         (breakParagraph): use a temp var for rows().begin()
4553         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4554         (cursorRightOneWord): use temp var for cursor.par() and
4555         cursor.pos(), remove usage of tmpcursor.
4556         (cursorLeftOneWord): use temp var for cursor.par() and
4557         cursor.pos() only set cur at end of function.
4558
4559 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * text.C, text2.C: exchange all usage of Paragraph::next with
4562         boost::next(ParagraphList::iterator)
4563
4564         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4565
4566         * text2.C (cursorTop): simplify implementation
4567         (cursorBottom): ditto
4568         (setParagraph): use ParagraphList::iterator
4569         (setCurrentFont): adjust
4570         (getColumnNearX): adjust
4571         (cursorRight): adjust
4572         (cursorLeft): remove usage of Paragraph::previous
4573         (cursorUpParagraph): ditto
4574         (deleteEmptyParagraphMechanism): slight cleanup
4575
4576         * text.C (isBoundary): take a Paragraph const & instead of a
4577         pointer as arg.
4578         (addressBreakPoint): ditto
4579         (leftMargin): remove usage of Paragraph::previous.
4580         (setHeightOfRow): ditto
4581         (cursorLeftOneWord): ditto
4582         (selectNextWordToSpellcheck): ditto
4583         (Delete): ditto
4584         (backspace): ditto
4585         (breakParagraph): remove one usage of Paragraph::next
4586         (redoParagraph): ditto
4587         (acceptChange): ditto
4588         (insertChar): adjust
4589         (rowBreakPoint): adjust
4590
4591         * bufferview_funcs.C (toggleAndShow): adjust
4592
4593 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4596         methods to access it.
4597         * lyxtext.h:
4598         * text.C: Added updateRowPositions to compute all row positions.
4599         Make top_y and getRowNearY() to use the cached y position
4600
4601 2003-04-11  John Levon  <levon@movementarian.org>
4602
4603         * text.C (rowBreakPoint): reintroduce the labelEnd
4604         checks, code copied from the row fill stuff. Deep voodoo.
4605
4606         * text.C (fill): add a comment and debugging for the
4607         next poor soul.
4608
4609 2003-04-11  John Levon  <levon@movementarian.org>
4610
4611         * text.C: make sure fullrow insets get wrapped to the next line,
4612         even when they're in a manual label
4613
4614 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * text2.C (insertParagraph): make it take ParagraphList::iterator
4617         as arg.
4618         (setLayout): make it return ParagraphList::iterator
4619         (redoParagraphs): ditto
4620         (setCounter): ditto
4621         (checkParagraph): ditto
4622
4623         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4624
4625         * text2.C: adjust several funcs.
4626         (realizeFont): take a ParagraphList::iterator as arg.
4627         (getLayoutFont): ditto
4628         (getLabelFont): ditto
4629         (setCharFont): ditto
4630
4631         * text.C: adjust several funcs.
4632
4633 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4634
4635         * text.C (selectNextWordToSpellcheck): don't accidentally
4636         skip insets
4637
4638 2003-04-10  John Levon  <levon@movementarian.org>
4639
4640         * ToolbarBackend.C (getIcon): special handling for
4641         LFUN_MATH_DELIM
4642
4643 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * text2.C (cursorRight): a getChar assert fixed
4646
4647 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * text2.C (getFont): change to take a ParagraphList::iterator
4650         instead of Paragraph*
4651         Adjust several functions.
4652
4653         * text.C (transformChar): change to take a ParagraphList::iterator
4654         instead of Paragraph*
4655         (singleWidth): ditto
4656         Adjust several functions.
4657
4658         * rowpainter.C: adjust several functions
4659         * rowpainter.h:store a ParagraphList::iterator and not a
4660         Paragraph&.
4661
4662
4663 2003-04-09  John Levon  <levon@movementarian.org>
4664
4665         * lyxfunc.C:
4666         * lfuns.h:
4667         * LyXAction.h:
4668         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4669         and the "help" bits as well
4670
4671 2003-04-09  John Levon  <levon@movementarian.org>
4672
4673         * ToolbarBackend.h:
4674         * ToolbarBackend.C: allow multiple toolbars
4675
4676 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * undo_funcs.C (setCursorParUndo): adjust
4679
4680         * text_funcs.C (transposeChars): adjust
4681
4682         * text3.C (gotoNextInset): adjust
4683         (dispatch): adjust
4684
4685         * text2.C (setLayout): adjust
4686         (changeDepth): adjust
4687         (setFont): adjust
4688         (redoParagraphs): adjust
4689         (selectionAsString): adjust
4690         (setParagraph): adjust
4691         (insertInset): adjust
4692         (cutSelection): adjust
4693         (copySelection): adjust
4694         (pasteSelection): adjust
4695         (insertStringAsLines): adjust
4696         (updateInset): adjust
4697         (setCursor): change to take a ParagraphList::iterator parameter
4698         (setCursorIntern): change to take a ParagraphList::iterator parameter
4699         (setCurrentFont): adjust
4700         (cursorLeft): adjust
4701         (cursorRight): adjust
4702         (deleteEmptyParagraphMechanism): adjust
4703
4704         * text.C (breakParagraph): adjust
4705         (insertChar): adjust
4706         (acceptChange): adjust
4707         (rejectChange): adjust
4708         (selectNextWordToSpellcheck): adjust
4709         (changeCase): adjust
4710         (Delete): adjust
4711         (backspace): adjust
4712
4713         * lyxfind.C (SearchForward): adjust
4714         (SearchBackward): adjust
4715         (nextChange): adjust
4716
4717         * lyxcursor.C (par): adjust
4718
4719         * lyxcursor.h: store a ParagraphList::iterator instead of a
4720         Paragraph*
4721
4722         * lyx_cb.C (getPossibleLabel): adjust
4723
4724         * bufferview_funcs.C (toggleAndShow): adjust
4725
4726         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4727         (dispatch): adjust
4728
4729         * BufferView.C (removeAutoInsets): adjust
4730         (lockedInsetStoreUndo): adjust
4731
4732 2003-04-09  John Levon  <levon@movementarian.org>
4733
4734         * ToolbarBackend.C: try icon without argument
4735         if with argument fails
4736
4737 2003-04-08  John Levon  <levon@movementarian.org>
4738
4739         * ToolbarBackend.h:
4740         * ToolbarBackend.C: add getIcon(), handle tooltip,
4741         and change from "Icon" to "Item".
4742
4743 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4744
4745         * BufferView.C (lockInset): another bad getchar crunched
4746
4747 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4750         again)
4751
4752 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * lyxfind.C (searchForward, searchBackwards): bug 782
4755
4756 2003-04-07  John Levon  <levon@movementarian.org>
4757
4758         * paragraph.C: remove dead comment
4759
4760         * text.C: remove troublesome depth-fiddling code
4761         in leftMargin() and rightMargin() (bug 1017)
4762
4763         * text.C: fix breaking of rows in nested lists
4764         (bug 1004)
4765
4766         * text2.C (updateCounters): fix up depth values
4767         (bug 1013)
4768
4769 2003-04-07  John Levon  <levon@movementarian.org>
4770
4771         * BufferView_pimpl.C: clear message when doc finishes resizing,
4772         and after a mouse event
4773
4774         * lyxfunc.C: clear message after exiting inset
4775
4776 2003-04-07  John Levon  <levon@movementarian.org>
4777
4778         * bufferview_funcs.C: show math status not outside
4779         status in the statusbar
4780
4781 2003-04-07  John Levon  <levon@movementarian.org>
4782
4783         * lyxfunc.C: note status changed after a depth change
4784
4785 2003-04-04  Angus Leeming  <leeming@lyx.org>
4786
4787         * LaTeX.h: move AuxInfo operator==, != out of line.
4788         Remove LaTeX virtual destructor; nothing derives from it.
4789         Move operator()() out of public area and rename it startscript().
4790         Change protected for private.
4791
4792 2003-04-04  Angus Leeming  <leeming@lyx.org>
4793
4794         * lyxfunc.C:
4795         * text2.C: remove unneeded #includes.
4796
4797 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4798
4799         * text2.C (dEPM): fix the heigth of the next row
4800
4801 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * text.C: squashed an invalid getChar requester + some ws changes
4804
4805 2003-04-03  John Levon  <levon@movementarian.org>
4806
4807         * bufferview_funcs.h:
4808         * bufferview_funcs.C:
4809         * lyxfunc.C:
4810         * lyxtext.h:
4811         * text2.C: make getStatus work for the env depth lfuns
4812
4813 2003-04-03  John Levon  <levon@movementarian.org>
4814
4815         * bufferview_funcs.h:
4816         * bufferview_funcs.C:
4817         * lyxfunc.C:
4818         * lyxtext.h:
4819         * text2.C: parlistize decDepth(), by merging it with incDepth()
4820
4821 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * lyxrow.h: store a ParagraphList::iterator instead of a
4824         Paragraph* and adjust other class functions to suit.
4825
4826         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4827         above.
4828
4829 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4830
4831         * text2.C (setCursor): do not anchor to cursor row for the time being
4832
4833 2003-04-02  John Levon  <levon@movementarian.org>
4834
4835         * LyXAction.C:
4836         * lfuns.h:
4837         * lyx_main.C:
4838         * lyxtext.h:
4839         * text.C:
4840         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4841
4842 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * paragraph.h: make ParagraphList and ParagraphList::iterator
4845         friends of Paragraph.
4846
4847         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4848
4849         * ParagraphList.C: Use the private next_ and previous_ from
4850         Paragraph.
4851
4852 2003-04-01  John Levon  <levon@movementarian.org>
4853
4854         * ToolbarBackend.h:
4855         * ToolbarBackend.C:
4856         * Makefile.am: rename, remove defaults gunk
4857
4858         * MenuBackend.h:
4859         * MenuBackend.C: remove defaults gunk
4860
4861         * Languages.h:
4862         * Languages.C: remove defaults gunk
4863
4864         * lyx_main.h:
4865         * lyx_main.C: error out if files couldn't be found.
4866
4867 2003-04-02  John Levon  <levon@movementarian.org>
4868
4869         * text2.C: make incDepth() use parlist
4870
4871 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * undo_funcs.C (firstUndoParagraph): adjust
4874
4875         * text3.C (gotoInset): adjust
4876         (dispatch): adjust, and rewrite loop.
4877
4878         * text2.C (init): adjust, and rewrite loop.
4879         (redoParagraphs): adjust
4880         (updateInset): adjust, and rewrite loop.
4881         (deleteEmptyParagraphMechanism): adjust
4882
4883         * tabular.C (LyXTabular): adjust
4884         (SetMultiColumn): adjust
4885         (TeXRow): adjust
4886
4887         * lyxtext.[Ch] (ownerParagraph): delete function
4888         (ownerParagraphs): new function returns a ParagraphList.
4889
4890         * BufferView.C (removeAutoInsets): adjust
4891         (insertErrors): adjust
4892         (setCursorFromRow): adjust
4893
4894 2003-04-01  Angus Leeming  <leeming@lyx.org>
4895
4896         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4897         in the frontends.
4898
4899 2003-04-02  John Levon  <levon@movementarian.org>
4900
4901         * lyxtext.h:
4902         * text.C:
4903         * Makefile.am:
4904         * text_funcs.h:
4905         * text_funcs.C: make transposeChars a free function
4906
4907         * lyxrow_funcs.C: remove wrong comment
4908
4909 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4910
4911         * lyxtext.h: adjust
4912         * rowpainter.C: adjust
4913         * text.C: adjust
4914         * text2.C: adjust
4915         * text3.C: adjust
4916
4917         * lyxrow_funcs. [Ch]: new files
4918
4919         * lyxrow.[Ch]: remove next and previous pointers
4920         (next,previous): remove accessor functions
4921         (isParEnd): move to lyxrow_funcs
4922         (lastPos): move to lyxrow_funcs
4923         (nextRowIsAllInset): move to lyxrow_funcs
4924         (lastPrintablePos): move to lyxrow_funcs
4925         (numberOfSeparators): move to lyxrow_funcs
4926         (numberOfHfills): move to lyxrow_funcs
4927         (numberOfLabelHfills): move to lyxrow_funcs
4928         (hfillExpansion): move to lyxrow_funcs
4929
4930         * lyxfunc.C: adjust
4931
4932         * bufferview_funcs.C (toggleAndShow): adjust
4933
4934         * RowList.h: Remove class RowList from file leave just a
4935         std::list<Row>.
4936
4937         * RowList.C: delete file
4938
4939         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4940         and lyxrow_funcs.h
4941
4942 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * text3.C (cursorPrevious): adjust
4945         (cursorNext): adjust
4946         (dispatch): adjust
4947
4948         * text2.C (redoHeightOfParagraph): adjust
4949         (redoDrawingOfParagraph): adjust
4950         (setCursor): adjust
4951
4952         * text.C (breakParagraph): adjust
4953         (insertChar): adjust
4954         (backspace): adjust
4955
4956         * rowpainter.C (RowPainter): adjust
4957         (leftMargin): simplify and adjust
4958         (most rowpainter functions): adjust.
4959
4960         * rowpainter.h: store the row as RowList::iterator not as Row*
4961
4962         * lyxcursor.C (row): taka RowList::iterator as arg
4963         (irow): ditto
4964
4965         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4966         of Row*.
4967
4968 2003-04-01  Angus Leeming  <leeming@lyx.org>
4969
4970         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4971         stuff like bool Bool.
4972
4973 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4976         rewrite a loop
4977
4978 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4981         RowList::iterator.
4982
4983         * lyxtext.h (rows): drop one version and leve a const variant that
4984         returns a RowList::iterator.
4985
4986 2003-03-31  Angus Leeming  <leeming@lyx.org>
4987
4988         * text.C (fill): ensure that the signature is the same as that in the
4989         header file.
4990
4991 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * text2.C (redoParagraphs): adjust
4994         (updateCounters): adjust
4995         (checkParagraph): adjust
4996         (getColumnNearX): adjust and reformat a bit.
4997
4998         * text.C (top_y): adjust
4999         (workWidth): adjust
5000         (leftMargin): adjust
5001         (prepareToPrint): adjust
5002         (getRow): adjust
5003         (getRowNearY): adjust
5004
5005         * lyxtext.h: make rowlist_ mutable.
5006
5007         * RowList.h: add const_iterator
5008         * RowList.C: adjust for RowList::const_iterator.
5009
5010         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5011         adjust.
5012
5013 2003-03-31  John Levon  <levon@movementarian.org>
5014
5015         * lyxrc.h:
5016         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5017
5018         * lyx_main.C: set default fonts from using lyx_gui funcs
5019
5020         * exporter.C: pdf_mode moved from lyxrc
5021
5022         * lyx_cb.C:
5023         * lyxfunc.C: changes from above
5024
5025 2003-03-31  John Levon  <levon@movementarian.org>
5026
5027         * lyx_main.C: fix to the last fix
5028
5029 2003-03-31  John Levon  <levon@movementarian.org>
5030
5031         * bufferlist.C: "Load original" -> "Load Original"
5032
5033         * converter.C:
5034         * exporter.C:
5035         * importer.C:
5036         * lyx_main.C:
5037         * format.C: more Alert cleanups
5038
5039 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * text2.C (removeParagraph): make it take a RowList::iterator as
5042         arg, adjust.
5043         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5044         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5045
5046         * text.C (anchor_row): make it take a RowList::iterator as arg,
5047         adjust.
5048         (computeBidiTables): make it take a const reference to Row instead
5049         of Row pointer, adjust.
5050         (leftMargin): make it take a RowList::iterator as arg, adjust.
5051         (rowBreakPoint): adjust
5052         (breakAgainOneRow): make it take a RowList::iterator as arg,
5053         adjust.
5054         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5055
5056         * bufferview_funcs.C (toggleAndShow): adjust
5057
5058 2003-03-30  John Levon  <levon@movementarian.org>
5059
5060         * Makefile.am:
5061         * BoostFormat.h:
5062         * boost-inst.C: moved to support
5063
5064         * several files: changes as a result
5065
5066 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * text2.C (LyXText): adjust.
5069         (init): adjust
5070         (removeRow): make it take a RowList::iterator as arg, adjust.
5071         (fullRebreak): adjust
5072         (deleteEmptyParagraphMechanism): adjust
5073         (clearPaint): adjust
5074         (postPaint): adjust
5075
5076         * text.C (top_y): adjust
5077         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5078         (breakAgain): make it take a RowList::iterator as arg, adjust.
5079         (breakParagraph): adjust
5080         (insertChar): adjust
5081         (backspace): adjust
5082
5083         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5084         need_break_row, and refresh_row.
5085
5086         * text3.C (dispatch): adjust
5087
5088         * text2.C (checkParagraph): adjust
5089         (setCursor): adjust
5090         (setCursorFromCoordinates): adjust
5091
5092         * text.C (top_y): adjust
5093         (workWidth): adjust
5094         (getRow): make it return a RowList::iterator, adjust
5095         (getRowNearY): make it return a RowList::iterator, adjust
5096
5097         * text2.C (init): adjust
5098         (insertRow): remove function
5099         (insertParagraph): adjust
5100         (redoParagraphs): adjust
5101         (fullRebreak): adjust
5102         (updateCounters): adjust
5103
5104         * text.C (top_y): rewrite to use RowList iterators.
5105         (top_y): adjust
5106         (setHeightOfRow): rewrite to sue RowList iterators.
5107         (appendParagraph): adjust
5108         (breakAgain): adjust
5109         (breakAgainOneRow): adjust
5110         (breakParagraph): adjust
5111         (getRow): adjust
5112         (getRowNearY): adjust, and remove commented code.
5113
5114         * lyxtext.h (firstRow): delete function
5115         (lastRow): delete function
5116         (rows): new function (const and non-const versions.)
5117         (insertRow): delete function
5118
5119         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5120
5121 2003-03-29  John Levon  <levon@movementarian.org>
5122
5123         * BufferView_pimpl.C: always update scrollbar top
5124         because pasting text when we're anchored could mean we
5125         miss an update altogether
5126
5127 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * text2.C (init): use rowlist_.end() and not 0.
5130         (insertRow): change to take a RowList::iterator as arg, adjust
5131         for this.
5132         (insertParagraph): change to take a RowList::iterator as arg,
5133         adjust for this.
5134         (redoParagraphs): remove some debug msgs.
5135
5136         * text.C (appendParagraph): change to take a RowList::iterator
5137         arg, adjust for this.
5138         (breakAgain): add an assert
5139         (breakAgainOneRow): ditto
5140
5141 2003-03-29  John Levon  <levon@movementarian.org>
5142
5143         * text2.C: do not clear selection after inc/decDepth
5144         (bug 550)
5145
5146 2003-03-29  John Levon  <levon@movementarian.org>
5147
5148         * BufferView.C:
5149         * buffer.C: fix broken strerrors according to Lars
5150
5151 2003-03-29  John Levon  <levon@movementarian.org>
5152
5153         * converters.C: more Alert cleanups
5154
5155 2003-03-29  John Levon  <levon@movementarian.org>
5156
5157         * bufferview_funcs.C: remove pointless Alert
5158
5159         * buffer.C: fix confusing error message when
5160         a template is chmoded 000
5161
5162 2003-03-29  John Levon  <levon@movementarian.org>
5163
5164         * BufferView.C:
5165         * BufferView.h:
5166         * BufferView_pimpl.C: Alert fixes
5167
5168         * Makefile.am:
5169         * tabular.C:
5170         * tabular-old.C: remove unused table compat reading
5171
5172 2003-03-29  John Levon  <levon@movementarian.org>
5173
5174         * BufferView.C:
5175         * buffer.C:
5176         * lyx_cb.h:
5177         * lyx_cb.C: more Alert cleanups
5178
5179         * lyxfunc.C: don't allow chktex if not latex document
5180
5181 2003-03-29  John Levon  <levon@movementarian.org>
5182
5183         * lyx_cb.C:
5184         * BufferView.C:
5185         * buffer.C: warnings pushed down from support/,
5186         kill err_alert
5187
5188 2003-03-29  John Levon  <levon@movementarian.org>
5189
5190         * lyxfunc.C: safety check for C-r (revert)
5191
5192 2003-03-29  John Levon  <levon@movementarian.org>
5193
5194         * bufferlist.h:
5195         * bufferlist.C: several UI fixes using Alert::prompt.
5196         Fix the pointless looping quit code. Fix stupid revert
5197         behaviour (bug 938)
5198
5199         * lyxvc.h:
5200         * lyxvc.C:
5201         * lyx_cb.C: use Alert::prompt
5202
5203         * lyx_main.C: remove a silly question
5204
5205         * lyxfunc.C: remove a couple of silly questions,
5206         use Alert::prompt
5207
5208 2003-03-28  John Levon  <levon@movementarian.org>
5209
5210         * text2.C: fix bug 974 (End on empty par)
5211
5212 2003-03-28  John Levon  <levon@movementarian.org>
5213
5214         * BufferView_pimpl.C:
5215         * LyXAction.C:
5216         * lfuns.h: remove do-nothing math greek lfuns
5217
5218 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * lyxgluelength.h (isValidGlueLength): add default arg on
5221         parameter 2. Remove default arg from friend in class.
5222
5223         * lyxlength.h (isValidLength): add default arg on parameter 2.
5224         Remove default arg from friend in class.
5225
5226         * text2.C (LyXText): adjust, initialize refresh_row.
5227         (init): adjust
5228         (removeRow): adjust
5229         (insertRow): adjust
5230         (insertParagraph): adjst
5231         (redoParagraphs): adjust
5232         (fullRebreak): adjust
5233         (updateCounters): adjust
5234         (deleteEmptyParagraphMechanism): first attempt at fixing a
5235         crashing bug.
5236
5237         * text.C (top_y): adjust
5238         (setHeightOfRow): adjust
5239         (getRow): adjust
5240         (getRowNearY): adjust
5241
5242         * lyxtext.h: include RowList.h
5243         (~LyXText): not needed anymore, deleted.
5244         (firstRow): modify for RowList
5245         (lastRow): new function
5246         Delete firstrow and lastrow class variables, add a Rowlist
5247         rowlist_ class variable.
5248
5249         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5250         paragraph is empty.
5251
5252         * RowList.C (insert): fix case where it == begin().
5253
5254 2003-03-26  Angus Leeming  <leeming@lyx.org>
5255
5256         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5257         the thesaurus dialog.
5258
5259 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5262
5263         * RowList.[Ch]: new files
5264
5265         * ParagraphList.C (erase): handle the case where it == begin
5266         correctly.
5267
5268 2003-03-25  John Levon  <levon@movementarian.org>
5269
5270         * Makefile.am:
5271         * aspell_local.h:
5272         * aspell.C: add new aspell support
5273
5274         * lyxrc.h:
5275         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5276         have it accessible.
5277
5278 2003-03-25  Angus Leeming  <leeming@lyx.org>
5279
5280         * lfuns.h:
5281         * LyXAction.C (init): new LFUN_INSET_INSERT.
5282
5283         * BufferView_pimpl.C (dispatch): split out part of the
5284         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5285
5286         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5287         LFUN_INSET_APPLY.
5288
5289 2003-03-25  Angus Leeming  <leeming@lyx.org>
5290
5291         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5292
5293 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * text2.C:
5296         * text3.C: remove useless row->height(0)
5297
5298 2003-03-25  John Levon  <levon@movementarian.org>
5299
5300         * lyxtext.h:
5301         * text2.C:
5302         * text3.C: rename the refreshing stuff to better names
5303
5304 2003-03-24  John Levon  <levon@movementarian.org>
5305
5306         * BufferView_pimpl.h:
5307         * BufferView_pimpl.C: update layout choice on a mouse
5308         press/release
5309
5310 2003-03-23  John Levon  <levon@movementarian.org>
5311
5312         * Makefile.am: fix commandtags.h reference
5313
5314 2003-03-22  John Levon  <levon@movementarian.org>
5315
5316         * BufferView_pimpl.C:
5317         * lyxtext.h:
5318         * rowpainter.C:
5319         * rowpainter.h:
5320         * text.C:
5321         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5322
5323 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * lyxtext.h:
5326         * text.C: take the rtl methods out of line
5327
5328 2003-03-21 André Pönitz <poenitz@gmx.net>
5329
5330         * metricsinfo.[Ch]: new files containing structures to be passed around
5331         during the two-phase-drawing...
5332
5333 2003-03-21 André Pönitz <poenitz@gmx.net>
5334
5335         * lyxtextclass.C: read 'environment' tag.
5336
5337 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * text2.C (removeRow): fix bug 964
5340
5341 2003-03-20  John Levon  <levon@movementarian.org>
5342
5343         * rowpainter.C:
5344         * text.C:
5345         * text2.C: paint cleanups. Inset::update() dropped font
5346         parameter
5347
5348 2003-03-19  John Levon  <levon@movementarian.org>
5349
5350         * lyxfunc.C: only fitcursor/markDirty if available()
5351
5352 2003-03-19  John Levon  <levon@movementarian.org>
5353
5354         * commandtags.h: rename to ...
5355
5356         * lfuns.h: ... this, and renumber / cleanup
5357
5358 2003-03-19  John Levon  <levon@movementarian.org>
5359
5360         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5361         fit the cursor after an lfun
5362
5363         * BufferView.h:
5364         * BufferView.C:
5365         * BufferView_pimpl.h:
5366         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5367
5368         * LyXAction.C: layout-character should have ReadOnly
5369
5370         * ParagraphParameters.C:
5371         * buffer.C:
5372         * bufferview_funcs.C:
5373         * lyx_cb.C:
5374         * lyxfind.C:
5375         * lyxtext.h:
5376         * text.C:
5377         * text2.C:
5378         * text3.C:
5379         * undo_funcs.C: changes from above
5380
5381 2003-03-18  John Levon  <levon@movementarian.org>
5382
5383         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5384         remove it from update()
5385
5386         * lyxfunc.C: update layout choice after an lfun
5387
5388         * text3.C: remove extra updateLayoutChoice()s
5389
5390 2003-03-18  John Levon  <levon@movementarian.org>
5391
5392         * text.C: top_y change means full repaint, fix
5393         a drawing bug with cursor movement
5394
5395 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * lyxtext.h:
5398         * text.C:
5399         * text2.C: anchor row on setCursor
5400
5401 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * lyxtext.h: remove almost all mutable keywords
5404         * text.C:
5405         * text2.C:
5406         * text3.C: remove const keywords accordingly
5407
5408 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5411         anon namespace
5412         (TeXEnvironment): ditto
5413         (TeXOnePar): ditto
5414
5415 2003-03-17  John Levon  <levon@movementarian.org>
5416
5417         * text.C (rowBreakPoint): remove attempt to fix displayed
5418         math insets inside a manual label
5419
5420 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * lyxtext.h: remove BufferView* as first arg from almost all class
5423         functions.
5424         * other files: adjust.
5425
5426 2003-03-17  John Levon  <levon@movementarian.org>
5427
5428         * lyxtext.h:
5429         * undo_funcs.C:
5430         * text2.C: more paint cleanups
5431
5432         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5433
5434         * rowpainter.h:
5435         * rowpainter.C: remove "smart" background painting code
5436
5437 2003-03-16  John Levon  <levon@movementarian.org>
5438
5439         * lyxtext.h:
5440         * text.C:
5441         * text2.C:
5442         * text3.C: add helper functions for setting refresh_row/y
5443
5444 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5445
5446         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5447         newline inset which *can* get inserted in the pass_thru layouts.
5448         This is primarily for literate documents.
5449
5450 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5451
5452         * buffer.C: increment LYX_FORMAT to 223
5453
5454 2003-03-14 André Pönitz <poenitz@gmx.net>
5455
5456         * textclass.h: prepare for environment handling, ws changes
5457         * lyxlayout.C: read latexheader and latexfooter tags
5458
5459 2003-03-14  John Levon  <levon@movementarian.org>
5460
5461         * text2.C: rewrite ::status() a bit
5462
5463 2003-03-13  John Levon  <levon@movementarian.org>
5464
5465         * lyxtext.h: add some docs
5466
5467 2003-03-13  John Levon  <levon@movementarian.org>
5468
5469         * lyxtext.h:
5470         * text.C:
5471         * text2.C:
5472         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5473
5474 2003-03-13  John Levon  <levon@movementarian.org>
5475
5476         * text3.C: fix appendix redrawing
5477
5478 2003-03-13  John Levon  <levon@movementarian.org>
5479
5480         * text.C (setHeightOfRow):
5481         * rowpainter.h:
5482         * rowpainter.C: make appendix mark have the text
5483           "Appendix" so the user knows what it is
5484
5485         * LColor.h:
5486         * LColor.C: s/appendixline/appendix/ from above
5487
5488 2003-03-13  John Levon  <levon@movementarian.org>
5489
5490         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5491
5492         * text.C: fix a getChar(pos) bug properly
5493
5494 2003-03-13  Angus Leeming  <leeming@lyx.org>
5495
5496         * commandtags.h:
5497         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5498         Probably only temporary. Let's see how things pan out.
5499
5500         * BufferView.C (unlockInset):
5501         * BufferView_pimpl.C (fitCursor):
5502         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5503
5504         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5505         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5506
5507         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5508         new functions that convert ParagraphParameters to and from a string.
5509
5510         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5511         BufferView::Pimpl's dispatch.
5512         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5513
5514 2003-03-13 André Pönitz <poenitz@gmx.net>
5515
5516         * lyxfunc.C:
5517         * text3.C:
5518         * factory.C: make it aware of InsetEnv
5519
5520 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * text2.C (setCursor): never ask for one past last
5523         (setCursor): add some debugging messages.
5524
5525         * text.C (singleWidth): never ask for one past last
5526         (singleWidth): ditto
5527         (leftMargin): ditto
5528         (rightMargin): ditto
5529         (rowBreakPoint): ditto
5530         (setHeightOfRow): ditto
5531         (prepareToPrint): ditto
5532
5533         * rowpainter.C (paintBackground): never ask for one past last
5534         (paintText): never ask for one past last
5535
5536         * paragraph_pimpl.C (getChar): make the assert stricter, never
5537         allow the one past last pos to be taken
5538
5539         * paragraph.C (getChar): ws changes only
5540
5541         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5542         (numberOfSeparators): ditto
5543         (numberOfHfills): ditto
5544
5545 2003-03-12  John Levon  <levon@movementarian.org>
5546
5547         * author.h:
5548         * author.C:
5549         * bufferparams.h:
5550         * bufferparams.C:
5551         * paragraph_funcs.C: fix per-buffer authorlists
5552
5553 2003-03-12  John Levon  <levon@movementarian.org>
5554
5555         * text.C: fix newline in right address
5556
5557 2003-03-12  Angus Leeming  <leeming@lyx.org>
5558
5559         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5560         duplicate those in LyXFunc::dispatch.
5561
5562         * commandtags.h:
5563         * LyXAction.C:
5564         * ToolbarDefaults.C:
5565         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5566         Add LFUN_FONTFREE_UPDATE.
5567
5568         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5569         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5570
5571         * bufferview_func.[Ch]: several new functions to facilliate
5572         transfer of data to and from the character dialog.
5573
5574 2003-03-12  John Levon  <levon@movementarian.org>
5575
5576         * buffer.C:
5577         * paragraph.h:
5578         * paragraph.C:
5579         * paragraph_funcs.C:
5580         * paragraph_pimpl.C:
5581         * sgml.C:
5582         * tabular.C:
5583         * text.C:
5584         * text3.C: remove META_NEWLINE in favour of an inset
5585
5586         * rowpainter.h:
5587         * rowpainter.C: remove paintNewline (done by inset)
5588
5589 2003-03-12  John Levon  <levon@movementarian.org>
5590
5591         * paragraph_pimpl.C: complain about bad getChar()s
5592         for a while at least
5593
5594 2003-03-12  John Levon  <levon@movementarian.org>
5595
5596         * buffer.h:
5597         * buffer.C: move paragraph read into a separate function,
5598         a little renaming to reflect that.
5599
5600         * bufferparams.h:
5601         * bufferparams.C: remove the author_ids map, not necessary now
5602
5603         * factory.h:
5604         * factory.C: moved Buffer::readInset to here
5605
5606         * paragraph_funcs.h:
5607         * paragraph_funcs.C: readParagraph free function moved from
5608         buffer.C
5609
5610         * tabular.C: name change
5611
5612 2003-03-12  John Levon  <levon@movementarian.org>
5613
5614         * buffer.C:
5615         * ParagraphParameters.C: move par params input to
5616         a read() method
5617
5618         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5619         behave like a normal read from the stream wrt reading
5620         a line vs. a \\token
5621
5622 2003-03-12  John Levon  <levon@movementarian.org>
5623
5624         * paragraph.C:
5625         * ParagraphParameters.h:
5626         * ParagraphParameters.C: move output code to a
5627         ::write() method
5628
5629 2003-03-12  John Levon  <levon@movementarian.org>
5630
5631         * BufferView.C (insertLyXFile):
5632         * buffer.h:
5633         * buffer.C:
5634         * tabular.C: use a parlist iterator for creating the
5635           document.
5636
5637 2003-03-12  John Levon  <levon@movementarian.org>
5638
5639         * buffer.C: make current_change static local not
5640           static file-scope
5641
5642 2003-03-12  John Levon  <levon@movementarian.org>
5643
5644         * buffer.C: fix insertStringAsLines for change tracking
5645
5646 2003-03-12  John Levon  <levon@movementarian.org>
5647
5648         * BufferView.C:
5649         * tabular.C:
5650         * buffer.h:
5651         * buffer.C:
5652         * bufferparams.h:
5653         * bufferparams.C: move author list into params. Rename some
5654           functions. Move the header reading into a separate token
5655           loop. Move the header token reading into BufferParams.
5656
5657 2003-03-12  John Levon  <levon@movementarian.org>
5658
5659         * changes.C: put debug inside lyxerr.debugging() checks
5660
5661 2003-03-11 André Pönitz <poenitz@gmx.net>
5662
5663         * factory.C: make it aware of InsetHFill
5664
5665 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5666
5667         * buffer.C (latexParagraphs): move function from here...
5668         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5669         args.
5670
5671 2003-03-10  Angus Leeming  <leeming@lyx.org>
5672
5673         * LyXAction.C (init): fix bug in poplating array with multiple entries
5674         with the same LFUN (spotted by JMarc).
5675
5676 2003-03-10  John Levon  <levon@movementarian.org>
5677
5678         * text.C:
5679         * text2.C: move getColumnNearX() near its
5680         only call site
5681
5682 2003-03-10  John Levon  <levon@movementarian.org>
5683
5684         * text.C: fix break before a minipage
5685
5686 2003-03-10  John Levon  <levon@movementarian.org>
5687
5688         * text.C: fix the last commit
5689
5690 2003-03-09  John Levon  <levon@movementarian.org>
5691
5692         * lyxtext.h:
5693         * text.C:
5694         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5695         bug 365 (don't break before insets unless needed). Don't
5696         return a value > last under any circumstances.
5697
5698 2003-03-09  Angus Leeming  <leeming@lyx.org>
5699
5700         * BufferView_pimpl.C (trackChanges, dispatch): call
5701         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5702
5703 2003-03-09  Angus Leeming  <leeming@lyx.org>
5704
5705         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5706         than Dialogs::showAboutlyx().
5707
5708 2003-03-09  Angus Leeming  <leeming@lyx.org>
5709
5710         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5711         than Dialogs::showTabularCreate().
5712
5713 2003-03-09  John Levon  <levon@movementarian.org>
5714
5715         * lyxtext.h:
5716         * text.C:
5717         * text2.C: 3rd arg to nextBreakPoint was always the same.
5718           Use references.
5719
5720 2003-03-08  John Levon  <levon@movementarian.org>
5721
5722         * lyxrow.C:
5723         * paragraph.C:
5724         * paragraph.h:
5725         * rowpainter.C:
5726         * text.C:
5727         * text2.C: Remove the "main" bit from the "main body"
5728           notion.
5729
5730 2003-03-08  John Levon  <levon@movementarian.org>
5731
5732         * text.C (leftMargin): The left margin of an empty
5733         manual label paragraph should not include the label width
5734         string length.
5735
5736         * text.C (prepareToPrint): don't attempt to measure hfills
5737         for empty manual label paragraphs - the answer should be 0
5738
5739 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * CutAndPaste.C: remove commented code and reindent.
5742
5743 2003-03-08  John Levon  <levon@movementarian.org>
5744
5745         * lyxfunc.h:
5746         * lyxfunc.C: move reloadBuffer()
5747
5748         * BufferView.h:
5749         * BufferView.C: to here
5750
5751         * lyxvc.C: add comment
5752
5753         * vc-backend.h:
5754         * vc-backend.C: call bv->reload() to avoid
5755           getStatus() check on MENURELOAD
5756
5757 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5758
5759         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5760         to an old format .dep file.
5761
5762 2003-03-07  Angus Leeming  <leeming@lyx.org>
5763
5764         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5765         when the LFUN_MOUSE_RELEASE should have been handled by
5766         inset->localDispatch.
5767
5768 2003-03-07  Angus Leeming  <leeming@lyx.org>
5769
5770         * BufferView_pimpl.C (dispatch):
5771         * LyXAction.C (init):
5772         * ToolbarDefaults.C (init):
5773         * commandtags.h:
5774         * lyxfunc.C (getStatus):
5775         remove LFUN_INSET_GRAPHICS.
5776
5777         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5778
5779 2003-03-07  Angus Leeming  <leeming@lyx.org>
5780
5781         * commandtags.h:
5782         * LyXAction.C (init):
5783         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5784
5785         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5786
5787         * commandtags.h:
5788         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5789
5790         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5791         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5792
5793 2003-03-07  Angus Leeming  <leeming@lyx.org>
5794
5795         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5796         remove "ert".
5797
5798 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * ParagraphList.C (front): new function
5801         (back): implement
5802
5803 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5804
5805         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5806         and top_row_offset_. removed var first_y.
5807         * text.C (top_y):
5808         * text2.C (LyXText, removeRow):
5809         * text3.C:
5810         * BufferView_pimpl.C:
5811         use these methods instead of using first_y
5812
5813 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * text2.C (pasteSelection): adjust for checkPastePossible
5816
5817         * CutAndPaste.C: remove Paragraph * buf and replace with
5818         ParagraphList paragraphs.
5819         (DeleteBuffer): delete
5820         (cutSelection): change the tc type to textclass_type
5821         (copySelection): change the tc type to textclass_type
5822         (copySelection): adjust for ParagraphList
5823         (pasteSelection): change the tc type to textclass_type
5824         (pasteSelection): adjust for Paragraphlist
5825         (nrOfParagraphs): simplify for ParagraphList
5826         (checkPastePossible): simplify for ParagraphList
5827         (checkPastePossible): remove unused arg
5828
5829         * ParagraphList.C (insert): handle the case where there are no
5830         paragraphs yet.
5831
5832         * CutAndPaste.h: make CutAndPaste a namespace.
5833
5834         * text3.C (dispatch): adjust
5835
5836         * text.C (breakParagraph): add a ParagraphList as arg
5837
5838         * paragraph_funcs.C (breakParagraph): change to take a
5839         BufferParams and a ParagraphList as args.
5840         (breakParagraphConservative): ditto
5841         (mergeParagraph): ditto
5842         (TeXDeeper): add a ParagraphList arg
5843         (TeXEnvironment): ditto
5844         (TeXOnePar): ditto
5845
5846         * buffer.C (readLyXformat2): adjust
5847         (insertStringAsLines): adjust
5848         (latexParagraphs): adjust
5849
5850         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5851         (cutSelection): adjust
5852         (pasteSelection): adjust
5853
5854         * BufferView_pimpl.C (insertInset): adjust
5855
5856 2003-03-05  Angus Leeming  <leeming@lyx.org>
5857
5858         * commandtags.h:
5859         * LyXAction.C (init):
5860         * BufferView_pimpl.C (dispatch):
5861         * lyxfunc.C (getStatus):
5862         remove LFUN_CHILD_INSERT.
5863
5864         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5865
5866 2003-03-05  Angus Leeming  <leeming@lyx.org>
5867
5868         * commandtags.h:
5869         * LyXAction.C (init):
5870         * src/factory.C (createInset):
5871         * lyxfunc.C (getStatus):
5872         * text3.C (dispatch):
5873         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5874
5875         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5876
5877 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * ParagraphList.C (insert): handle insert right before end()
5880         (erase): fix cases where it can be first or last paragraph.
5881
5882 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5885         Paragraph::next and Paragraph::previous
5886         (TeXOnePar): ditto
5887
5888         * text.C (breakParagraph): adjust
5889
5890         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5891         BufferParams& as arg.
5892         (breakParagraph): use ParagraphList::insert
5893         (breakParagraphConservative): take a Buffer* instead of a
5894         BufferParams& as arg.
5895         (breakParagraphConservative): use ParagraphList::insert.
5896
5897         * buffer.C (insertStringAsLines): un-const it
5898         (insertStringAsLines): adjust
5899
5900         * ParagraphList.C (insert): new function
5901
5902         * CutAndPaste.C (pasteSelection): adjust
5903
5904         * text.C (backspace): adjust
5905
5906         * tabular.C (SetMultiColumn): adjust
5907
5908         * CutAndPaste.C (cutSelection): adjust
5909         (pasteSelection): adjust
5910
5911         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5912         Buffer const * as arg
5913
5914         * ParagraphList.C (erase): new function
5915         * paragraph_funcs.C (mergeParagraph): use it
5916         (mergeParagraph): make it take a Buffer* instead of a
5917         BufferParams* as arg
5918
5919         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5920         as arg
5921         (breakParagraphConservative): ditto
5922
5923         * paragraph.h: remove the breakParagraph friend
5924
5925         * paragraph.C (eraseIntern): new function
5926         (setChange): new function
5927
5928         * paragraph_funcs.C (mergeParagraph): make it take a
5929         ParagraphList::iterator instead of a Paragraph *, adjust
5930         accordingly.
5931
5932         * paragraph.h: move an #endif so that the change tracking stuff
5933         also works in the NO_NEXT case.
5934
5935 2003-03-04  Angus Leeming  <leeming@lyx.org>
5936
5937         * commandtags.h:
5938         * LyXAction.C: new LFUN_INSET_MODIFY.
5939
5940         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5941         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5942
5943 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * several files: ws changes only
5946
5947         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5948         (TeXEnvironment): ditto
5949         (TeXDeeper): ditto
5950
5951         * buffer.C (makeLaTeXFile): adjust
5952         (latexParagraphs): make it take ParagraphList::iterator as args
5953
5954 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * buffer.C (latexParagraphs): adjust
5957
5958         * paragraph.C (TeXOnePar): move function...
5959         (optArgInset): move function...
5960         (TeXEnvironment): move function...
5961         * paragraph_pimpl.C (TeXDeeper): move function...
5962         * paragraph_funcs.C: ...here
5963
5964         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5965
5966 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * buffer.C (readInset): remove compability code for old Figure and
5969         InsetInfo insets
5970
5971 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * buffer.C: ws changes
5974         (readInset):
5975
5976         * BufferView_pimpl.C: ditto
5977         * author.C: ditto
5978         * buffer.h: ditto
5979         * bufferlist.h: ditto
5980         * changes.h: ditto
5981         * lyxfunc.C: ditto
5982
5983 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5984
5985         * converter.[Ch]: split into itself +
5986         * graph.[Ch]
5987         * format.[Ch]
5988         * Makefile.am: += graph.[Ch] + format.[Ch]
5989         * MenuBackend.C
5990         * buffer.C
5991         * exporter.C
5992         * importer.C
5993         * lyx_main.C
5994         * lyxfunc.C
5995         * lyxrc.C: added #include "format.h"
5996
5997 2003-02-27  Angus Leeming  <leeming@lyx.org>
5998
5999         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6000           a label.
6001
6002         * factory.C (createInset): add "label" to the factory.
6003
6004         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6005           string and do no more.
6006
6007 2003-02-27  Angus Leeming  <leeming@lyx.org>
6008
6009         * commandtags.h:
6010         * LyXAction.C (init):
6011         * factory.C (createInset):
6012         * BufferView_pimpl.C (dispatch):
6013           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6014
6015         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6016
6017         * lyxfunc.C (dispatch):
6018         * text3.C (dispatch): pass name to params2string.
6019
6020 2003-02-26  Angus Leeming  <leeming@lyx.org>
6021
6022         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6023           blocks together.
6024           Rearrange the ~includes. Strip out the unnecessary ones.
6025
6026         * factory.C (createInset): reformat.
6027           create new insets for the various LFUN_XYZ_APPLY lfuns.
6028
6029 2003-02-26  John Levon  <levon@movementarian.org>
6030
6031         * lyxrow.h:
6032         * lyxrow.C: add isParStart,isParEnd helpers
6033
6034         * paragraph.h: make isInserted/DeletedText take refs
6035
6036         * paragraph_funcs.h:
6037         * paragraph_funcs.C: remove #if 0'd code
6038
6039         * lyxtext.h:
6040         * text3.C:
6041         * text2.C:
6042         * text.C: use lyxrow helpers above.
6043           Move draw and paint routines to RowPainter.
6044           Make several methods use refs not pointers.
6045           Make backgroundColor() const.
6046           Add markChangeInDraw(), isInInset().
6047           Merge changeRegionCase into changeCase.
6048           Make workWidth() shouldn't-happen code into an Assert.
6049
6050         * rowpainter.h:
6051         * rowpainter.C: new class for painting a row.
6052
6053         * vspace.h:
6054         * vspace.C: make inPixels take a ref
6055
6056 2003-02-26  Angus Leeming  <leeming@lyx.org>
6057
6058         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6059         LFUN_REF_APPLY.
6060
6061 2003-02-25  John Levon  <levon@movementarian.org>
6062
6063         * ispell.C: give the forked command a more accurate name
6064
6065 2003-02-22  John Levon  <levon@movementarian.org>
6066
6067         * toc.h:
6068         * toc.C: make TocItem store an id not a Paragraph *
6069           (bug #913)
6070
6071 2003-02-21  Angus Leeming  <leeming@lyx.org>
6072
6073         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6074           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6075           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6076           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6077           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6078           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6079
6080         * BufferView_pimpl.C (dispatch):
6081         * LyXAction.C (init):
6082         * factory.C (createInset):
6083         * lyxfunc.C (getStatus, dispatch):
6084         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6085
6086 2003-02-21  Angus Leeming  <leeming@lyx.org>
6087
6088         * BufferView_pimpl.C (MenuInsertLyXFile):
6089         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6090         * lyxfunc.C (menuNew, open, doImport):
6091           no longer pass a LyXView & to fileDlg.
6092
6093 2003-02-21  Angus Leeming  <leeming@lyx.org>
6094
6095         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6096         * LyXAction.C: change, BIBKEY to BIBITEM.
6097         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6098         Change InsetBibKey to InsetBibitem.
6099         Change BIBKEY_CODE to BIBITEM_CODE.
6100         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6101         * factory.C: replace insetbib.h with insetbibitem.h.
6102         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6103         * paragraph.C: replace insetbib.h with insetbibitem.h.
6104         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6105         Change bibkey() to bibitem().
6106         * text.C: remove insetbib.h.
6107         * text2.C: replace insetbib.h with insetbibitem.h.
6108         change bibkey() to bibitem().
6109         * text3.C: remove insetbib.h.
6110         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6111
6112 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * lyxrc.C (output): enclose user email in quotes (in case there are
6115         several words)
6116
6117 2003-02-18  John Levon  <levon@movementarian.org>
6118
6119         * buffer.h: add std::
6120
6121 2003-02-17  John Levon  <levon@movementarian.org>
6122
6123         * SpellBase.h:
6124         * ispell.h:
6125         * ispell.C:
6126         * pspell.h:
6127         * pspell.C: reworking. Especially in ispell, a large
6128           number of clean ups and bug fixes.
6129
6130         * lyxfunc.C: fix revert to behave sensibly
6131
6132 2003-02-17 André Pönitz <poenitz@gmx.net>
6133
6134         * LyXAction.C:
6135         * commandtags.h: new LFUN_INSERT_BIBKEY
6136
6137         * layout.h:
6138         * lyxlayout.C:
6139         * buffer.C:
6140         * factory.C:
6141         * text.C:
6142         * text2.C:
6143         * text3.C:
6144         * paragraph.[Ch]:
6145         * paragraph_func.C: remove special bibkey handling
6146
6147 2003-02-17  John Levon  <levon@movementarian.org>
6148
6149         * text.C (Delete): fix case where delete at the end of
6150           the very first paragraph would not merge the pars
6151
6152 2003-02-17  John Levon  <levon@movementarian.org>
6153
6154         * lyxrow.C: fix lastPrintablePos()
6155
6156 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6157
6158         * bufferparams.C (writeLaTeX): add a std:here
6159
6160         * buffer.C: and remove a using directive there
6161
6162 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6163
6164         * buffer.C (makeLaTeXFile): move the code that generates the
6165           preamble...
6166
6167         * bufferparams.C (writeLaTeX): ... in this new method
6168
6169         * LaTeXFeatures.C (getEncodingSet): make const
6170           (getLanguages): make const
6171
6172         * MenuBackend.C (binding): returns the binding associated to this
6173           action
6174           (add): sets the status of each item by calling getStatus. Adds
6175           some intelligence.
6176           (read): add support for OptSubMenu
6177           (expand): remove extra separator at the end of expanded menu
6178
6179 2003-02-15  John Levon  <levon@movementarian.org>
6180
6181         * BufferView.C:
6182         * BufferView_pimpl.C:
6183         * bufferlist.h:
6184         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6185           inset code that had no actual effect. Remove unneeded status
6186           code.
6187
6188 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6189
6190         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6191           in preamble
6192
6193 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6194
6195         * text.C (drawLengthMarker): also draw an arrow marker for
6196           symbolic lengths (medskip...)
6197
6198 2003-02-14  John Levon  <levon@movementarian.org>
6199
6200         * tabular.h:
6201         * tabular.C: better method names
6202
6203 2003-02-14  John Levon  <levon@movementarian.org>
6204
6205         * BufferView_pimpl.C:
6206         * bufferlist.C:
6207         * buffer.C:
6208         * converter.C:
6209         * lyx_cb.C:
6210         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6211           it's a more accurate name. Remove some pointless uses.
6212
6213 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6214
6215         * text2.C (LyXText): change order of initilizers to shut off
6216           warnings
6217
6218 2003-02-14  John Levon  <levon@movementarian.org>
6219
6220         * buffer.C: use ParIterator for getParFromID()
6221
6222         * paragraph.h:
6223         * paragraph.C:
6224         * paragraph_pimpl.h:
6225         * paragraph_pimpl.C: remove unused getParFromID()
6226
6227 2003-02-14  John Levon  <levon@movementarian.org>
6228
6229         * buffer.C: remove some very old #if 0'd parse code
6230
6231 2003-02-13  John Levon  <levon@movementarian.org>
6232
6233         * text.h:
6234         * text.C:
6235         * text2.C: move hfillExpansion(), numberOfSeparators(),
6236           rowLast(), rowLastPrintable(), numberofHfills(),
6237           numberOfLabelHfills() ...
6238
6239         * lyxrow.h:
6240         * lyxrow.C: ... to member functions here.
6241
6242         * paragraph.h:
6243         * paragraph.C:
6244         * lyxtext.h:
6245         * text.C: remove LyXText::beginningOfMainBody(), and call
6246           p->beginningOfMainBody() directly. Move the check for
6247           LABEL_MANUAL into the latter.
6248
6249         * text.h:
6250         * text.C:
6251         * text2.C:
6252         * vspace.C:
6253         * BufferView.h:
6254         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6255
6256         * text.h:
6257         * text.C:
6258         * text2.C:
6259         * text3.C:
6260         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6261           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6262
6263 2003-02-13  John Levon  <levon@movementarian.org>
6264
6265         * CutAndPaste.C: remove debug
6266
6267 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6268
6269         * paragraph.C (asString): remove two unused variables
6270
6271         * lyxtextclass.C (readTitleType):
6272           (Read):
6273           (LyXTextClass): handle new members titletype_ and titlename_
6274
6275         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6276
6277 2003-02-09  John Levon  <levon@movementarian.org>
6278
6279         * buffer.h:
6280         * buffer.C: replace hand-coded list with a map for the dep clean
6281
6282 2003-02-08  John Levon  <levon@movementarian.org>
6283
6284         * LaTeX.C: consolidate code into showRunMessage() helper
6285
6286 2003-02-08  John Levon  <levon@movementarian.org>
6287
6288         * lyxfind.C:
6289         * lyxtext.h:
6290         * text2.C:
6291         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6292           and pass the size in explicitly
6293
6294         * BufferView_pimpl.h:
6295         * BufferView_pimpl.C:
6296         * BufferView.h:
6297         * BufferView.C: add getCurrentChange()
6298
6299         * BufferView_pimpl.h:
6300         * BufferView_pimpl.C: handle change lfuns
6301
6302         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6303           for changes. Mark pasted paragraphs as new.
6304
6305         * support/lyxtime.h:
6306         * support/lyxtime.C:
6307         * DepTable.C: abstract time_t as lyx::time_type
6308
6309         * LColor.h:
6310         * LColor.C: add colours for new text, deleted text, changebars
6311
6312         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6313           package use "usenames" option.
6314
6315         * commandtags.h:
6316         * lyxfunc.C:
6317         * LyXAction.C: add change lfuns
6318
6319         * Makefile.am:
6320         * author.h:
6321         * author.C: author handling
6322
6323         * buffer.h:
6324         * buffer.C: add a per-buffer author list, with first entry as
6325           current author. Handle new .lyx tokens for change tracking. Output
6326           author list to .lyx file. Output dvipost stuff to .tex preamble.
6327           Bump lyx format to 222.
6328
6329         * bufferlist.h:
6330         * bufferlist.C: add setCurrentAuthor() to reset current author details
6331           in all buffers.
6332
6333         * bufferparams.h:
6334         * bufferparams.C: add param for tracking
6335
6336         * bufferview_funcs.C: output change info in minibuffer
6337
6338         * Makefile.am:
6339         * changes.h:
6340         * changes.C: add change-tracking structure
6341
6342         * debug.h:
6343         * debug.C: add CHANGES debug flag
6344
6345         * lyxfind.h:
6346         * lyxfind.C: add code for finding the next change piece
6347
6348         * lyxrc.h:
6349         * lyxrc.C: add user_name and user_email
6350
6351         * lyxrow.h:
6352         * lyxrow.C: add a metric for the top of the text line
6353
6354         * lyxtext.h:
6355         * text.C: implement accept/rejectChange()
6356
6357         * lyxtext.h:
6358         * text.C: paint changebars. Paint new/deleted text in the chosen
6359         colours. Strike through deleted text.
6360
6361         * paragraph.h:
6362         * paragraph.C:
6363         * paragraph_pimpl.h:
6364         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6365           in the current change to the insert functions. Rework erase to
6366           mark text as deleted, adding an eraseIntern() and a range-based
6367           erase(). Implement per-paragraph change lookup and
6368           accept/reject.
6369
6370         * paragraph_funcs.C: Fixup paste for change tracking.
6371
6372         * tabular.C: mark added row/columns as new.
6373
6374         * text.C: fix rowLast() to never return -1. Don't allow
6375           spellchecking of deleted text. Track transpose changes. Don't
6376           allow paragraph break or merge where appropriate.
6377
6378         * text2.C: leave cursor at end of selection after a cut.
6379
6380 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6381
6382         * text.C (getLengthMarkerHeight):
6383         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6384         visible on screen too.
6385
6386 2003-02-07  John Levon  <levon@movementarian.org>
6387
6388         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6389
6390 2003-02-05  Angus Leeming  <leeming@lyx.org>
6391
6392         * lyxserver.C (read_ready): revert my patch of 11 September last year
6393         as it sends PC cpu through the roof. Presumably this means that
6394         the lyxserver will no longer run on an Alpha...
6395
6396 2003-01-30  Angus Leeming  <leeming@lyx.org>
6397
6398         * factory.C (createInset): create an InsetCommandParam of type "index"
6399         and use it to 'do the right thing'.
6400
6401         * text2.C (getStringToIndex): ensure that cursor position is always
6402         reset to the reset_cursor position.
6403
6404 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6405
6406         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6407         disabled.
6408
6409 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6410
6411         * bufferview.C:
6412         * lyxcb.C:
6413         * lyxfunc.C: Output messages with identical spelling, punctuation,
6414         and spaces
6415
6416 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6417
6418         * MenuBackend.C (expandFormats): List only viewable export formats
6419         in "View" menu
6420
6421         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6422         message
6423
6424         * lyxfunc.C (getStatus): Make sure that formats other than
6425         "fax" can also be disabled
6426
6427 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6428
6429         * text3.C (dispatch): put the lfuns that insert insets in 3
6430         groups, and call doInsertInset with appropriate arguments.
6431         (doInsertInset): new function, that creates an inset and inserts
6432         it according to some boolean parameters.
6433
6434 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * buffer.C (readFile): remember to pass on 'par' when calling
6437         readFile recursively.
6438
6439 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6440
6441         * MenuBackend.C (expandFormats): add "..." to import formats.
6442
6443 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6444
6445         * paragraph.C (asString): Remove XForms RTL hacks.
6446
6447 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6448         * buffer.C: fix typo
6449
6450 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * Makefile.am (LIBS): delete var
6453         (lyx_LDADD): add @LIBS@ here instead.
6454
6455 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6456
6457         * Clarify the meaning of "wheel mouse jump"
6458
6459 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6460
6461         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6462         tabular in a float
6463
6464 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6465
6466         * importer.C (Loaders): do not preallocate 3 elements in the
6467         vector, since one ends up with 6 elements otherwise
6468
6469 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6470
6471         * DepTable.C (write): write the file name as last element of the
6472         .dep file (because it may contain spaces)
6473         (read): read info in the right order
6474
6475 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6476
6477         * paragraph_pimpl.C (simpleTeXBlanks):
6478         (simpleTeXSpecialChars):
6479         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6480
6481         * tabular.C (latex): add some missing case statements. Reindent.
6482
6483         * MenuBackend.C (expandToc): remove unused variable.
6484
6485 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6486
6487         * LColor.C:
6488         * LaTeX.C:
6489         * LyXAction.C:
6490         * MenuBackend.C:
6491         * buffer.C:
6492         * exporter.C:
6493         * lyxfunc.C:
6494         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6495         and the like.
6496
6497 2003-01-05  John Levon  <levon@movementarian.org>
6498
6499         * BufferView.h:
6500         * BufferView.C: add getEncoding()
6501
6502         * kbsequence.h:
6503         * kbsequence.C: do not store last keypress
6504
6505         * lyxfunc.h:
6506         * lyxfunc.C: store last keypress here instead. Pass encoding
6507           to getISOEncoded()
6508
6509 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6510
6511         * lyx_main.C (init): remove annoying error message when following
6512         symbolic links (bug #780)
6513
6514 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6515
6516         * text.C (insertChar):
6517         * lyxrc.C (getDescription): remove extra spaces
6518
6519 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6520
6521         * lyxrc.C (getDescription): remove extra spaces
6522
6523 2002-12-20  John Levon  <levon@movementarian.org>
6524
6525         * text3.C: hack fix for page up/down across tall rows
6526
6527 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6528
6529         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6530         not been invoked
6531
6532 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6533
6534         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6535         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6536         thesaurus is not compiled in
6537
6538 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6539
6540         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6541
6542 2002-12-16  Angus Leeming  <leeming@lyx.org>
6543
6544         * lyxrc.[Ch]:
6545         * lyx_main.C (init): remove override_x_deadkeys stuff.
6546
6547 2002-12-12  John Levon  <levon@movementarian.org>
6548
6549         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6550           insert. Only remove shift modifier under strict
6551           circumstances.
6552
6553 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * MenuBackend.C (expandToc): fix crash.
6556
6557 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * MenuBackend.C (expandToc): gettext on float names.
6560
6561 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6562
6563         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6564         implement bool empty() [bug 490]
6565
6566 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6569
6570 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * several files: ws changes
6573
6574 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * text2.C (setCounter): clean up a bit, use boost.format.
6577         (updateCounters): initialize par upon declaration.
6578
6579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6580         if the layout exists. We do not just store the layout any more.
6581         (SwitchLayoutsBetweenClasses): use boost.format
6582
6583 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6584
6585         * converter.C (convert): if from and to files are the same, use a
6586         temporary files as intermediary
6587
6588 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6589
6590         * commandtags.h:
6591         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6592
6593 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6594
6595         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6596
6597 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * tabular.C (asciiPrintCell): use string(size, char) instead of
6600         explicit loop.
6601
6602         * sgml.C (openTag): fix order of arguments to string constructor
6603         (closeTag): ditto
6604
6605         * lyxfunc.C (dispatch): use boost.format
6606
6607         * lots of files: change "c" -> 'c'
6608
6609 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6610
6611         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6612
6613 2002-11-25  Angus Leeming  <leeming@lyx.org>
6614
6615         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6616
6617         * lyx_main.C (init): compile fix.
6618
6619 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * lyx_cb.C (start): boost.formatify
6622         do not include <iostream>
6623
6624         * lengthcommon.C: ws only
6625
6626         * boost-inst.C,BoostFormat.h: add more explict instantations
6627
6628 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * lots of files: handle USE_BOOST_FORMAT
6631
6632 2002-11-21  John Levon  <levon@movementarian.org>
6633
6634         * pspell.C: fix compile
6635
6636 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6637
6638         * lyxfunc.C (dispatch): use boost::format
6639         (open): ditto
6640         (doImport): ditto
6641
6642         * lyxfont.C (stateText): use boost::format
6643
6644         * lyx_main.C (LyX): use boost::format
6645         (init): ditto
6646         (queryUserLyXDir): ditto
6647         (readRcFile): ditto
6648         (parse_dbg): ditto
6649         (typedef boost::function): use the recommened syntax.
6650
6651         * importer.C (Import): use boost::format
6652
6653         * debug.C (showLevel): use boost::format
6654
6655         * converter.C (view): use boost::format
6656         (convert): ditto
6657         (move): ditto
6658         (scanLog): ditto
6659
6660         * bufferview_funcs.C (currentState): use boost::format
6661
6662         * bufferlist.C (emergencyWrite): use boost::format
6663
6664         * buffer.C (readLyXformat2): use boost::format
6665         (parseSingleLyXformat2Token): ditto
6666
6667         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6668
6669         * LaTeX.C (run): use boost::format
6670
6671         * Chktex.C (scanLogFile): use boost::format
6672
6673         * BufferView_pimpl.C (savePosition): use boost::format
6674         (restorePosition): ditto
6675         (MenuInsertLyXFile): ditto
6676
6677         * BoostFormat.h: help file for explicit instation.
6678
6679 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * tabular.C (latex): Support for block alignment in fixed width
6682         columns.
6683
6684 2002-11-17  John Levon  <levon@movementarian.org>
6685
6686         * BufferView_pimpl.C:
6687         * lyx_cb.C:
6688         * lyxfunc.C: split filedialog into open/save
6689
6690 2002-11-08  Juergen Vigna  <jug@sad.it>
6691
6692         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6693         by my last patch (hopefully).
6694
6695 2002-11-08  John Levon  <levon@movementarian.org>
6696
6697         * iterators.h:
6698         * iterators.C:
6699         * buffer.h:
6700         * buffer.C:
6701         * paragraph.h:
6702         * paragraph.C:
6703         * toc.h:
6704         * toc.C: ParConstIterator, and use it (from Lars)
6705
6706 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6707
6708         * lyxtextclass.[Ch]: revise and add doxygen comments
6709
6710 2002-11-07  John Levon  <levon@movementarian.org>
6711
6712         * text.C: fix progress value for spellchecker
6713
6714         * toc.C: fix navigate menu for insetwrap inside minipage
6715
6716         * paragraph_funcs.C: added FIXME for suspect code
6717
6718 2002-11-07  John Levon  <levon@movementarian.org>
6719
6720         * BufferView_pimpl.C: fix redrawing of insets
6721           on buffer switch
6722
6723 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6724
6725         * text2.C (updateCounters): fix bug 668
6726
6727 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6728
6729         * text3.C (dispatch): Do not make the buffer dirty when moving the
6730         cursor.
6731
6732 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * vc-backend.C: STRCONV
6735         (scanMaster): ditto
6736
6737         * text2.C (setCounter): STRCONV
6738
6739         * paragraph.C (asString): STRCONV
6740
6741         * lyxlength.C (asString): STRCONV
6742         (asLatexString): ditto
6743
6744         * lyxgluelength.C (asString): STRCONV
6745         (asLatexString): ditto
6746
6747         * lyxfunc.C (dispatch): STRCONV
6748         (open): ditto
6749
6750         * lyxfont.C (stateText): STRCONV
6751
6752         * importer.C (Import): STRCONV
6753
6754         * counters.C (labelItem): STRCONV
6755         (numberLabel): ditto
6756         (numberLabel): remove unused ostringstream o
6757
6758         * chset.C: STRCONV
6759         (loadFile): ditto
6760
6761         * bufferview_funcs.C (currentState): STRCONV
6762
6763         * buffer.C (readFile): STRCONV
6764         (asciiParagraph): ditto
6765         (makeLaTeXFile): ditto
6766
6767         * Spacing.C (writeEnvirBegin): STRCONV
6768
6769         * LaTeXFeatures.C (getLanguages): STRCONV
6770         (getPackages): ditto
6771         (getMacros): ditto
6772         (getBabelOptions): ditto
6773         (getTClassPreamble): ditto
6774         (getLyXSGMLEntities): ditto
6775         (getIncludedFiles): ditto
6776
6777         * LaTeX.C: STRCONV
6778         (run): ditto
6779         (scanAuxFile): ditto
6780         (deplog): ditto
6781
6782         * LString.h: add the STRCONV macros
6783
6784         * BufferView_pimpl.C (savePosition): STRCONV
6785         (restorePosition): ditto
6786         (MenuInsertLyXFile): ditto
6787
6788         * vc-backend.C (scanMaster): change from submatch[...] to
6789         submatch.str(...)
6790
6791         * funcrequest.C: include config.h
6792
6793         * factory.C: include config.h
6794
6795         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6796
6797         * box.C: include config.h
6798
6799         * LaTeX.C (scanAuxFile): change from submatch[...] to
6800         submatch.str(...)
6801         (deplog): ditto
6802
6803 2002-10-25  Angus Leeming  <leeming@lyx.org>
6804
6805         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6806
6807         * ispell.[Ch] (setError): new method.
6808         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6809         Use setError() insetead of goto END.
6810
6811         * lyx_cb.C (AutoSave): move out child process into new class
6812         AutoSaveBuffer.
6813
6814 2002-10-30  John Levon  <levon@movementarian.org>
6815
6816         * text3.C: make start appendix undoable
6817
6818 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6819
6820         * lyxlength.C (inPixels): Fix returned value.
6821
6822         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6823         environment.
6824
6825 2002-10-24  Angus Leeming  <leeming@lyx.org>
6826
6827         * lyxgluelength.h: no need to forward declare BufferParams
6828         or BufferView, so don't.
6829
6830 2002-10-21  John Levon  <levon@movementarian.org>
6831
6832         * BufferView.C: menuUndo ->undo, redo
6833
6834         * BufferView.h: document, remove dead, make some methods private
6835
6836         * paragraph_funcs.h:
6837         * paragraph_funcs.C:
6838         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6839
6840         * buffer.h:
6841         * buffer.C:
6842         * sgml.h:
6843         * sgml.C: move sgml open/close tag into sgml.C
6844
6845         * bufferview_funcs.h: unused prototype
6846
6847         * lyxfunc.h:
6848         * lyxfunc.C: remove unused
6849
6850         * lyxtext.h:
6851         * text.C: remove unused
6852
6853 2002-10-21  John Levon  <levon@movementarian.org>
6854
6855         * BufferView.h:
6856         * BufferView.C:
6857         * BufferView_pimpl.h:
6858         * BufferView_pimpl.C: fix mouse wheel handling based on
6859           patch from Darren Freeman
6860
6861 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6862
6863         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6864
6865 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6866
6867         * lyxlength.C (inPixels): Fix hanfling of negative length.
6868         Fix LyXLength::MU case.
6869
6870 2002-10-16  John Levon  <levon@movementarian.org>
6871
6872         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6873
6874 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6875
6876         * converter.C (view): add support for $$i (file name) and $$p
6877         (file path) for the viewer command. If $$i is not specified, then
6878         it is appended to the command (for compatibility with old syntax)
6879
6880 2002-10-14  Juergen Vigna  <jug@sad.it>
6881
6882         * undo_funcs.C (textHandleUndo): alter the order in which the
6883         new undopar is added to the LyXText, as we have to set first
6884         the right prev/next and then add it as otherwise the rebuild of
6885         LyXText is not correct. Also reset the cursor to the right paragraph,
6886         with this IMO we could remove the hack in "redoParagraphs()".
6887
6888 2002-10-09  Angus Leeming  <leeming@lyx.org>
6889
6890         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6891         to turn off an optimisation if a new inset is to be inserted.
6892
6893 2002-10-11 André Pönitz <poenitz@gmx.net>
6894
6895         * lyxtext.h: make some functions public to allow access
6896         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6897
6898 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6899
6900         * text3.C (dispatch): when changing layout, avoid an infinite loop
6901         [bug #652]
6902
6903 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6904
6905         * lyxrc.C (read): treat a viewer or converter command of "none" as
6906         if it were empty.
6907
6908         * MenuBackend.C (expandFormats): for an update, also allow the
6909         formats that are not viewable
6910
6911         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6912         script if it is newer than the lyxrc.defaults in user directory
6913
6914 2002-10-07 André Pönitz <poenitz@gmx.net>
6915
6916         * text.C: Vitaly Lipatov's small i18n fix
6917
6918 2002-09-25  Angus Leeming  <leeming@lyx.org>
6919
6920         * ispell.h: doxygen fix.
6921
6922 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6923
6924         * buffer.h (readFile): Add a new argument to the method, to allow
6925         reading of old-format templates.
6926
6927 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6928
6929         * toc.C (getTocList): Get TOC from InsetWrap.
6930
6931 2002-09-16  John Levon  <levon@movementarian.org>
6932
6933         * lyxfunc.C: check tabular for cut/copy too
6934
6935 2002-09-12  John Levon  <levon@movementarian.org>
6936
6937         * LyXAction.C: tidy
6938
6939         * factory.h:
6940         * factory.C: add header
6941
6942         * paragraph_funcs.h:
6943         * paragraph_funcs.C: cleanup
6944
6945 2002-09-11  John Levon  <levon@movementarian.org>
6946
6947         * PrinterParams.h: odd/even default to true
6948
6949 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6950
6951         * PrinterParams.h: update printer parameters for new xforms dialog
6952
6953 2002-09-11  Angus Leeming  <leeming@lyx.org>
6954
6955         * lyxserver.C (read_ready): re-write to make it more transparent
6956         and to make it work in coherent fashion under Tru64 Unix.
6957
6958 2002-09-11  André Pönitz <poenitz@gmx.net>
6959
6960         * commandtags.h:
6961         * LyXAction.C:
6962         * text3.C: implement LFUN_WORDSEL
6963
6964 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6967         make floatlist_ a boost::shared_ptr<FloatList>
6968
6969         * lyxtextclass.C: include FloatList.h
6970         (LyXTextClass): initialize floatlist_
6971         (TextClassTags): add TC_NOFLOAT
6972         (Read): match "nofloat" to TC_NOFLOAT and use it.
6973         (readFloat): modify call to floatlist_
6974         (floats): ditto
6975         (floats): ditto
6976
6977         * FloatList.[Ch] (FloatList): remove commented out float
6978         initialization.
6979         (erase): new function
6980
6981 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6982
6983         * MenuBackend.C (expandToc): fix crash when there is no document
6984         open
6985
6986 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6987
6988         * many files: Add insetwrap.
6989
6990 2002-09-09  John Levon  <levon@movementarian.org>
6991
6992         * text2.C: remove confusing and awkward depth wraparound
6993
6994 2002-09-09  John Levon  <levon@movementarian.org>
6995
6996         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6997
6998         * buffer.h:
6999         * buffer.C: remove getIncludeonlyList()
7000
7001         * paragraph.C:
7002         * lyxfunc.C: remove headers
7003
7004 2002-09-09  Juergen Vigna  <jug@sad.it>
7005
7006         * text.C (getColumnNearX): fix form Michael this is most
7007         probably a cut&paste bug.
7008
7009 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7012
7013         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7014         references, ws changes.
7015
7016         * text2.C (init): update counters after init
7017         (insertParagraph): no need to set counter on idividual paragraphs.
7018         (setCounter): access the counters object in the textclass object
7019         on in the buffer object.
7020         (updateCounters): ditto
7021
7022         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7023         shared_ptr<Counters> to avoid loading counters.h in all
7024         compilation units.
7025         (LyXTextClass): initialize ctrs_
7026         (TextClassTags): add TC_COUNTER, and ...
7027         (Read): use it here.
7028         (CounterTags): new tags
7029         (readCounter): new function
7030         (counters): new funtion
7031         (defaultLayoutName): return a const reference
7032
7033         * counters.C (Counters): remove contructor
7034         (newCounter): remove a couple of unneeded statements.
7035         (newCounter): simplify a bit.
7036         (numberLabel): some small formatting changes.
7037
7038         * buffer.[Ch]: remove all traces of counters, move the Counters
7039         object to the LyXTextClass.
7040
7041 2002-09-06  Alain Castera  <castera@in2p3.fr>
7042
7043         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7044         package to set the horizontal alignment on fixed width columns.
7045
7046         * lyx_sty.C:
7047         * lyx_sty.h: added tabularnewline macro def.
7048
7049         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7050
7051 2002-09-06  John Levon  <levon@movementarian.org>
7052
7053         * LyXAction.C: tooltips for sub/superscript
7054
7055         * MenuBackend.C: a bit more verbose
7056
7057         * lyxfunc.C: tiny clean
7058
7059         * undo_funcs.C: document undo_frozen
7060
7061 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * counters.C (Counters): add missing algorithm counter.
7064
7065         * text2.C (setCounter): lookup the counter with layouts latexname
7066         instead of by section number.
7067         (setCounter): use a hackish way to lookup the correct enum
7068         counter.
7069         a float name->type change
7070         reset enum couners with counter name directly instead of depth value.
7071
7072         * counters.C (Counters): remove the push_backs, change to use the
7073         float type not the float name.
7074         (labelItem): remove unused string, float name->type change
7075
7076         * counters.h: don't include vector, loose the enums and sects vectors
7077
7078 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7081         (Read): add float->TC_FLOAT to textclassTags
7082         (Read): and handle it in the switch
7083         (readFloat): new function
7084
7085         * FloatList.C (FloatList): comment out the hardcoded float
7086         definitions.
7087
7088         * lyxlayout.h: ws change.
7089
7090 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7091
7092         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7093
7094 2002-09-03  Angus Leeming  <leeming@lyx.org>
7095
7096         * BufferView_pimpl.h: qualified name is not allowed in member
7097         declaration: WorkArea & Pimpl::workarea() const;
7098
7099         * factory.C: added using std::endl directive.
7100
7101         * text3.C: added using std::find and std::vector directives.
7102
7103 2002-08-29  André Pönitz <poenitz@gmx.net>
7104
7105         * lyxtext.h:
7106         * text2.C: remove unused member number_of_rows
7107
7108         * Makefile.am:
7109         * BufferView2.C: remove file, move contents to...
7110         * BufferView.C: ... here
7111
7112         * BufferView_pimpl.C:
7113         * factory.C: move more inset creation to factory
7114
7115         * vspace.C: avoid direct usage of LyXText, ws changes
7116
7117         * BufferView.[Ch]:
7118                 don't provide direct access to WorkArea, use two simple
7119                 acessors haveSelction() and workHeight() instead
7120
7121
7122 2002-08-29  John Levon  <levon@movementarian.org>
7123
7124         * BufferView_pimpl.C (dispatch): do not continue when
7125           no buffer
7126
7127 2002-08-28  André Pönitz <poenitz@gmx.net>
7128
7129         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7130
7131         * BufferView.h:
7132         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7133
7134 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7135
7136         * buffer.C: increment LYX_FORMAT to 221
7137
7138         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7139         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7140
7141         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7142
7143         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7144
7145 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7146
7147         * factory.C (createInset): use LyXTextClass::floats
7148
7149         * MenuBackend.C (expandFloatListInsert):
7150         (expandFloatInsert):
7151         (expandToc):
7152
7153         * text2.C (setCounter):
7154
7155         * LaTeXFeatures.C (useFloat):
7156         (getFloatDefinitions):
7157
7158         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7159
7160         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7161         floatlist_, with accessor floats().
7162
7163         * FloatList.h: remove global FloatList
7164
7165 2002-08-26  André Pönitz <poenitz@gmx.net>
7166
7167         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7168
7169         * BufferView.h:
7170         * BufferView2.C:
7171         * BufferView_pimpl.C:
7172         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7173
7174 2002-08-25  John Levon  <levon@movementarian.org>
7175
7176         * LyXAction.C: fix margin note description
7177
7178 2002-08-24  John Levon  <levon@movementarian.org>
7179
7180         * buffer.C:
7181         * bufferlist.C:
7182         * bufferview_funcs.C:
7183         * lyxfont.C:
7184         * undo_funcs.C: cleanups
7185
7186         * lyxfunc.C: disable CUT/COPY when no selection
7187
7188 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7189
7190         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7191         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7192
7193         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7194         Add backward compatibility to "mono", "gray" and "no".
7195
7196 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7197
7198         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7199         (and file_format >= 200).
7200
7201 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7202
7203         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7204
7205 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7206
7207         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7208
7209 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7210
7211         * BufferView_pimpl.C:
7212         * LyXAction.C:
7213         * buffer.C:
7214         * commandtags.h:
7215         * lyxfunc.C:
7216         * paragraph.[Ch]:
7217         * text2.C:
7218         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7219         inset and code to make it  work with the paragraph code. The inset
7220         can be anywhere in the paragraph, but will only do the expected
7221         thing in LaTeX if the layout file contains the parameter line
7222                         OptionalArgs    1
7223         (or more generally, a nonzero value) for that layout.
7224
7225 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * paragraph.h: remove the declaration of undefined counters class
7228         function.
7229
7230 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7231
7232         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7233         Dr. Richard Hawkins.
7234
7235 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7236
7237         * paragraph_funcs.h: remove some unneeded includes
7238
7239         * text.C (backspace): pasteParagraph now in global scipe
7240
7241         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7242         (pasteSelection): ditto
7243
7244         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7245         * paragraph_funcs.C (pasteParagraph): ... here
7246
7247 2002-08-20  André Pönitz <poenitz@gmx.net>
7248
7249         * commandtags.h: new LFUNs for swapping/copying table row/colums
7250
7251         * LyXAction.C:
7252         * lyxfunc.C: support for new lfuns
7253
7254 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * tabular.C:
7257         * buffer.[Ch]: remove NO_COMPABILITY stuff
7258
7259 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * boost.C (throw_exception): new file, with helper function for
7262         boost compiled without exceptions.
7263
7264         * paragraph.h:
7265         * lyxlength.C:
7266         * buffer.C:
7267         * ParameterStruct.h:
7268         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7269
7270         * bufferlist.C (emergencyWriteAll): use boost bind
7271
7272         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7273
7274         * text.C: include paragraph_funcs.h
7275         (breakParagraph): breakParagraph is now in global scope
7276
7277         * paragraph_funcs.[Ch]: new files
7278
7279         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7280         global scope
7281
7282         * buffer.C: include paragraph_funcs.h
7283         (insertStringAsLines): breakParagraph is now in global scope
7284
7285         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7286         paragraph_funcs.C
7287
7288         * CutAndPaste.C: include paragraph_funcs.h
7289         (cutSelection): breakParagraphConservative is now in global scope
7290         (pasteSelection): ditto
7291
7292         * buffer.h: declare oprator== and operator!= for
7293         Buffer::inset_iterator
7294
7295         * bufferlist.C (emergencyWrite): don't use fmt(...)
7296
7297         * text3.C: add using std::endl
7298
7299         * BufferView.C (moveCursorUpdate): remove default arg
7300
7301 2002-08-20  André Pönitz <poenitz@gmx.net>
7302
7303         * buffer.[Ch]: move inline functions to .C
7304
7305         * BufferView2.C:
7306         * BufferView_pimpl.C:
7307         * text.C:
7308         * buffer.[Ch]: use improved inset_iterator
7309
7310         * buffer.C:
7311         * paragraph.[Ch]: write one paragraph at a time
7312
7313 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7314
7315         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7316         style if style is not specified.
7317
7318 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7319
7320         * text2.C (setCounter): when searching for right label for a
7321         caption, make sure to recurse to parent insets (so that a caption
7322         in a minipage in a figure float works) (bug #568)
7323
7324 2002-08-20  André Pönitz <poenitz@gmx.net>
7325
7326         * text3.C: new file for LyXText::dispatch() and helpers
7327
7328         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7329
7330         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7331
7332 2002-08-19  André Pönitz <poenitz@gmx.net>
7333
7334         * lyxtext.h:
7335         * text.C: new LyXText::dispatch()
7336
7337         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7338
7339 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7340
7341         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7342
7343         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7344         Hebrew text.
7345
7346 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7347
7348         * Makefile.am: use $(variables) instead of @substitutions@
7349
7350 2002-08-15  André Pönitz <poenitz@gmx.net>
7351
7352         * lyxfunc.C:
7353         * BufferView_pimpl.C: streamlining mathed <-> outer world
7354         interaction
7355
7356         * commandtags.h:
7357         * LyXAction.C: remove unused LFUN_MATH
7358
7359 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7362
7363 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * paragraph.C (Paragraph): reformat a bit
7366         (cutIntoMinibuffer): use builtin InsetList function instad of
7367         doing it manually.
7368         (getInset): ditto
7369
7370         * buffer.C: include boost/bind.hpp, add using std::for_each
7371         (writeFileAscii): use ParagraphList iterators
7372         (validate): use for_each for validate traversal of paragraphs
7373         (getBibkeyList): use ParagraphList iterators
7374         (resizeInsets): use for_each to resizeInsetsLyXText for all
7375         paragraphs.
7376         (getParFromID): use ParagraphList iterators
7377
7378         * BufferView2.C (lockInset): use paragraph list and iterators
7379
7380 2002-08-14  John Levon  <levon@movementarian.org>
7381
7382         * lyxserver.C: remove spurious xforms include
7383
7384 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7385
7386         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7387
7388 2002-08-13  André Pönitz <poenitz@gmx.net>
7389
7390         * LyXAction.[Ch]:
7391         * lyxfunc.C: further cleaning
7392
7393 2002-08-13  André Pönitz <poenitz@gmx.net>
7394
7395         * funcrequest.h: new constructor
7396
7397         * funcrequest.C: move stuff here from .h
7398
7399         * Makefile.am:
7400         * BufferView_pimpl.C:
7401         * LyXAction.C:
7402         * toc.C:
7403         * lyxfunc.C: subsequent changes
7404
7405         * lyxfunc.h: new view() member function
7406
7407         * lyxfunc.C: subsequent changes
7408
7409 2002-08-13  Angus Leeming  <leeming@lyx.org>
7410
7411         * BufferView2.C:
7412         * BufferView_pimpl.C:
7413         * buffer.C:
7414         * converter.C:
7415         * importer.C:
7416         * lyxfunc.C:
7417         * lyxvc.C:
7418         * toc.C:
7419         * vc-backend.C:
7420         changes due to the changed LyXView interface that now returns references
7421         to member variables not pointers.
7422
7423 2002-08-13  Angus Leeming  <leeming@lyx.org>
7424
7425         * WordLangTuple (word, lang_code): return references to strings,
7426         not strings.
7427
7428         * BufferView.h:
7429         * SpellBase.h:
7430         * lyxtext.h: forward-declare WordLangTuple.
7431
7432         * BufferView2.C:
7433         * ispell.C:
7434         * pspell.C:
7435         * text.C: #include "WordLangTuple.h".
7436
7437         * lyxtext.h:
7438         * text.C: (selectNextWordToSpellcheck): constify return type.
7439
7440 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7441
7442         * buffer.C:
7443         * buffer.h:
7444         * lyxtext.h:
7445         * paragraph.C:
7446         * paragraph_pimpl.h:
7447         * text.C:
7448         * text2.C:
7449         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7450         suggested by Angus.
7451         Made updateCounter always count from start of buffer, and removed
7452         second argument (par).
7453         Reverted floats number display to '#'. Perhaps I'll try again when the
7454         code base is sanitized a bit.
7455
7456 2002-08-12  Angus Leeming  <leeming@lyx.org>
7457
7458         * buffer.[Ch] (getLabelList): constify.
7459
7460 2002-08-07  André Pönitz <poenitz@gmx.net>
7461
7462         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7463
7464         * funcrequest.h: extension to keep mouse (x,y) position
7465
7466 2002-08-12  Juergen Vigna  <jug@sad.it>
7467
7468         * BufferView2.C (insertErrors): forbid undo when inserting error
7469         insets.
7470
7471         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7472
7473 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * ParagraphList.[Ch]: new files
7476
7477         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7478
7479         * BufferView2.C (lockInset): ParagraphList changes
7480         * toc.C: ditto
7481         * text2.C: ditto
7482         * bufferlist.C: ditto
7483         * buffer.h: ditto
7484         * buffer.C: ditto
7485
7486 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7489         unused class variable counter_,
7490
7491         * paragraph.[Ch] (getFirstCounter): delete unused function
7492
7493         * counters.C: include LAssert.h
7494         (reset): add a new function with no arg, change other version to
7495         not have def. arg and to not allow empty arg.
7496
7497         * text2.C (setCounter): remove empty arg from call to Counters::reset
7498
7499 2002-08-11  John Levon  <levon@movementarian.org>
7500
7501         * Makefile.am: add WordLangTuple.h
7502
7503 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7506         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7507
7508         * insets/insettext.C: InsetList changes
7509
7510         * graphics/GraphicsSupport.C (operator()): InsetList changes
7511
7512         * toc.C (getTocList): InsetList changes
7513
7514         * paragraph_pimpl.[Ch]: InsetList changes
7515
7516         * paragraph.[Ch]: InsetList changes
7517
7518         * buffer.C (inset_iterator): InsetList changes
7519         (setParagraph): ditto
7520         * buffer.h (inset_iterator): ditto
7521         * iterators.C (operator++): ditto
7522         * iterators.h: ditto
7523
7524         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7525
7526         * InsetList.[Ch]: new files, most InsetList handling moved out of
7527         paragraph.C.
7528
7529         * BufferView2.C (removeAutoInsets): InsetList changes
7530         (lockInset): ditto
7531         (ChangeInsets): ditto
7532
7533 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * paragraph_pimpl.h (empty): new function
7536
7537         * paragraph.[Ch] (empty): new function
7538
7539         * other files: use the new Paragraph::empty function
7540
7541 2002-08-09  John Levon  <levon@movementarian.org>
7542
7543         * lyxtext.h: remove unused refresh_height
7544
7545 2002-08-09  John Levon  <levon@movementarian.org>
7546
7547         * Makefile.am:
7548         * sgml.h:
7549         * sgml.C:
7550         * buffer.C:
7551         * paragraph.h:
7552         * paragraph.C: move sgml char escaping out of paragraph
7553
7554         * paragraph.h:
7555         * paragraph.C: remove id setter
7556
7557         * buffer.C:
7558         * paragraph.C:
7559         * paragraph_pimpl.C: remove dead tex_code_break_column
7560
7561         * bufferview_funcs.C: small cleanup
7562
7563         * lyxfunc.C: remove dead proto
7564
7565         * lyxtext.h: make some stuff private. Remove some dead stuff.
7566
7567         * lyxgluelength.C: make as[LyX]String() readable
7568
7569 2002-08-08  John Levon  <levon@movementarian.org>
7570
7571         * LyXAction.h:
7572         * LyXAction.C:
7573         * MenuBackend.C:
7574         * ToolbarDefaults.C:
7575         * lyxfunc.C:
7576         * lyxrc.C:
7577         * toc.C: lyxaction cleanup
7578
7579 2002-08-08  John Levon  <levon@movementarian.org>
7580
7581         * BufferView2.C: small cleanup
7582
7583         * lyxfind.h:
7584         * lyxfind.C: move unnecessary header into the .C
7585
7586 2002-08-08  John Levon  <levon@movementarian.org>
7587
7588         * funcrequest.h: just tedious nonsense
7589
7590         * lyx_main.h:
7591         * lyx_main.C: cleanups
7592
7593         * buffer.C:
7594         * vspace.C: remove dead header lyx_main.h
7595
7596 2002-08-07  Angus Leeming  <leeming@lyx.org>
7597
7598         * Paragraph.[Ch]:
7599         * paragraph_pimpl.h:
7600         Forward declare class Counters in paragraph.h by moving the ctrs member
7601         variable into Paragraph::Pimpl.
7602         (counters): new method, returning a reference to pimpl_->ctrs.
7603
7604         * text2.C: ensuing changes.
7605
7606 2002-08-07  John Levon  <levon@movementarian.org>
7607
7608         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7609
7610         * BufferView_pimpl.C: announce X selection on double/triple
7611           click
7612
7613         * lyx_main.C: use correct bool in batch dispatch
7614
7615         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7616
7617 2002-08-07  André Pönitz <poenitz@gmx.net>
7618
7619         * funcrequest.h: new class to wrap a kb_action and its argument
7620
7621         * BufferView.[Ch]:
7622         * BufferView_pimpl[Ch]:
7623         * LaTeX.C:
7624         * LyXAction.[Ch]:
7625         * lyxfunc.[Ch]:
7626         * lyxrc.C: subsequent changes
7627
7628
7629 2002-08-07  John Levon  <levon@movementarian.org>
7630
7631         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7632           document options change.
7633
7634 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7635
7636         * counters.[Ch]
7637         * text2.C
7638         * paragraph.[Ch]
7639         * makefile.am: move counters functionality over from
7640         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7641
7642 2002-08-06  John Levon  <levon@movementarian.org>
7643
7644         * WordLangTuple.h: new file for word + language code tuple
7645
7646         * SpellBase.h:
7647         * pspell.h:
7648         * pspell.C:
7649         * ispell.h:
7650         * ispell.C:
7651         * lyxtext.h:
7652         * text.C:
7653         * text2.C:
7654         * BufferView.h:
7655         * BufferView2.C: use WordLangTuple
7656
7657         * layout.h:
7658         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7659
7660 2002-08-06  John Levon  <levon@movementarian.org>
7661
7662         * lyx_main.C: fix cmdline batch handling
7663
7664 2002-08-06  André Pönitz <poenitz@gmx.net>
7665
7666         * lyxrc.C: set default for show_banner to true
7667
7668 2002-08-06  John Levon  <levon@movementarian.org>
7669
7670         * pspell.C: fix a crash, and allow new aspell to work
7671
7672 2002-08-06  John Levon  <levon@movementarian.org>
7673
7674         * lyxfunc.C:
7675         * kbmap.C: small cleanup
7676
7677         * vspace.h:
7678         * vspace.C: add const
7679
7680 2002-08-05  John Levon  <levon@movementarian.org>
7681
7682         * LyXAction.C: back to tabular-insert
7683
7684 2002-08-04  John Levon  <levon@movementarian.org>
7685
7686         * BufferView.h:
7687         * BufferView.C: cosmetic change
7688
7689         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7690
7691         * bufferlist.C:
7692         * buffer.h:
7693         * buffer.C:
7694         * lyxcb.h:
7695         * lyxcb.C:
7696         * lyxserver.C:
7697         * lyxvc.C:
7698         * vc-backend.C:
7699         * BufferView2.C: purge all "Lyx" not "LyX" strings
7700
7701         * lyxcursor.h:
7702         * lyxcursor.C: attempt to add some documentation
7703
7704         * lyxfunc.C:
7705         * commandtags.h:
7706         * LyXAction.C:
7707         * ToolbarDefaults.C:
7708         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7709           merge with LFUN_TABULAR_INSERT
7710
7711         * Makefile.am:
7712         * SpellBase.h:
7713         * ispell.h:
7714         * ispell.C:
7715         * pspell.h:
7716         * pspell.C: split up i/pspell implementations into separate
7717           files, many cleanups
7718
7719         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7720
7721         * text2.C: some cleanup
7722
7723         * lyxfunc.C: don't check for isp_command == "none" any more, it
7724           didn't make any sense
7725
7726 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7727
7728         * counters.[Ch]
7729         * text2.C
7730         * paragraph.[Ch]
7731         * makefile.am: move counters functionality over
7732         from text2.C/paragraph.[Ch] to counters.[Ch], and
7733         make proper C++.
7734 2002-08-02  John Levon  <levon@movementarian.org>
7735
7736         * buffer.C: s/lyxconvert/lyx2lyx/
7737
7738 2002-08-02  Angus Leeming  <leeming@lyx.org>
7739
7740         * lyxlex.C: revert John's change as it breaks reading of the user
7741         preamble.
7742
7743 2002-08-02  Angus Leeming  <leeming@lyx.org>
7744
7745         * importer.C (Import):
7746         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7747         changes due to LyXView::view() now returning a boost::shared_ptr.
7748
7749 2002-08-02  John Levon  <levon@movementarian.org>
7750
7751         * lyxlex.C: small cleanup
7752
7753 2002-08-02  John Levon  <levon@movementarian.org>
7754
7755         * text2.C (status): small cleanup, no logic change
7756
7757 2002-08-01  John Levon  <levon@movementarian.org>
7758
7759         * buffer.h:
7760         * buffer.C (writeFile): don't output alerts, caller
7761           handles this
7762
7763         * bufferlist.C:
7764         * lyx_cb.C: from above
7765
7766         * lyxfunc.C: allow to open non-existent files
7767
7768 2002-07-31  John Levon  <levon@movementarian.org>
7769
7770         * lyxserver.C: don't let incidental errors get
7771           in the way (errno)
7772
7773 2002-07-30  John Levon  <levon@movementarian.org>
7774
7775         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7776
7777 2002-07-30  John Levon  <levon@movementarian.org>
7778
7779         * lyxserver.h:
7780         * lyxserver.C: remove I/O callback too
7781
7782 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7783
7784         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7785         log.
7786
7787 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * many files: strip,frontStrip -> trim,ltrim,rtrim
7790
7791 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * PrinterParams.h: remove extern containsOnly, and include
7794         support/lstrings.h instead.
7795
7796         * LaTeX.C (scanAuxFile): modify because of strip changes
7797         (deplog): ditto
7798         * buffer.C (makeLaTeXFile): ditto
7799         * bufferparams.C (writeFile): ditt
7800         * lyxfont.C (stateText): ditto
7801         * lyxserver.C (read_ready): ditto
7802         * vc-backend.C (scanMaster): ditto
7803
7804         * BufferView_pimpl.h: ws changes
7805
7806         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7807
7808 2002-07-26  André Pönitz <poenitz@gmx.net>
7809
7810         * kb_sequence.C: remove unnedred usings
7811
7812 2002-07-26  Juergen Vigna  <jug@sad.it>
7813
7814         * lyxfind.C (LyXReplace): we have to check better if the returned
7815         text is not of theLockingInset()->getLockingInset().
7816
7817 2002-07-25  Juergen Vigna  <jug@sad.it>
7818
7819         * lyxfind.C (LyXReplace): don't replace if we don't get the
7820         right LyXText.
7821
7822         * undo_funcs.C (createUndo): remove debugging code.
7823
7824 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7825
7826         * buffer.C (parseSingleLyXformat2Token): Use default placement
7827         when reading old floats.
7828
7829         * FloatList.C (FloatList): Change the default placement of figure
7830         and tables to "tbp".
7831
7832 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * MenuBackend.C: using std::max
7835
7836 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7837
7838         * MenuBackend.C (expandToc):
7839         (expandToc2): code moved from xforms menu frontend. It is now
7840         generic and TOCs are transparent to menu frontends.
7841
7842 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * toc.C (getTocList): protect against buf=0
7845
7846         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7847         Menu as first parameter. Now, this calls itself recursively to
7848         expand a whole tree (this will be useful for TOC handling)
7849         (expandFloatInsert): remove 'wide' version of floats
7850
7851         * MenuBackend.h (submenuname): returns the name of the submenu.
7852         (submenu): returns the submenu itself, provided it has been
7853         created by MenuBackend::expand
7854
7855 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7858         insets which have noFontChange == true. (bug #172)
7859
7860 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * BufferView_pimpl.C: add connection objects and use them...
7863         (Pimpl): here.
7864
7865 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7866
7867         * MenuBackend.C (expandLastfiles):
7868         (expandDocuments):
7869         (expandFormats):
7870         (expandFloatListInsert):
7871         (expandFloatInsert):
7872         (expand): split expand in parts
7873
7874 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7875
7876         * lyx_gui.C: use lyx_gui::exit()
7877
7878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7879
7880         * LyXAction.C: show the failing pseudo action
7881
7882 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7883
7884         * buffer.C (readFile): Run the lyxconvert script in order to read
7885         old files.
7886
7887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7888
7889         * LyXAction.C:
7890         * commandtags.h:
7891         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7892
7893 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7894
7895         * LyXAction.C:
7896         * commandtags.h:
7897         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7898
7899 2002-07-22  Herbert Voss  <voss@lyx.org>
7900
7901         * lengthcommon.C:
7902         * lyxlength.[Ch]: add support for the vertical lengths
7903
7904 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * toc.[Ch]: std:: fixes
7907
7908 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7909
7910         * lyxrc.C: do not include lyx_main.h
7911
7912         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7913         for layouts
7914
7915         * lyxrc.C:
7916         * encoding.C:
7917         * bufferlist.C:
7918         * BufferView2.C: include "lyxlex.h"
7919
7920         * tabular.h:
7921         * bufferparams.h: do not #include "lyxlex.h"
7922
7923         * lyxtextclasslist.C (Add): remove method
7924         (classlist): renamed to classlist_
7925
7926         * paragraph_pimpl.C:
7927         * paragraph.C:
7928         * text2.C:
7929         * CutAndPaste.C:
7930         * bufferview_funcs.C:
7931         * bufferlist.C:
7932         * text.C:
7933         * LaTeXFeatures.C:
7934         * buffer.C:
7935         * toc.C (getTocList): use BufferParams::getLyXTextClass
7936
7937         * toc.C (getTocList): use InsetFloat::addToToc
7938
7939         * toc.[Ch]: new files, containing helper functions to handle table
7940         of contents
7941
7942         * lyxfunc.C (dispatch): no need to remove spaces around command
7943         given as a string
7944         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7945         first command of the sequence; it is not very clever, but I do not
7946         have a better idea, actually
7947
7948         * LyXAction.C (LookupFunc): make sure to remove space at the
7949         beginning and end of the command
7950
7951 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * MenuBackend.C (getMenubar): new method: return the menubar of
7954         this menu set
7955         (read): treat differently reading of menu and menubar (in
7956         particular, the menubar has no name now)
7957         (Menu::menubar): remove
7958
7959         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7960         saving is finished
7961
7962 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7963
7964         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7965         a bibitem inset in a RTL paragraph.
7966
7967 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * paragraph_pimpl.C: constify
7970
7971         * BufferView_pimpl.C:
7972         * LaTeX.C:
7973         * lyxfunc.C: fix dispatch in a nicer way
7974
7975 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7976
7977         * lyxfunc.C (dispatch):
7978         * BufferView_pimpl.C:
7979         * BufferView_pimpl.h:
7980         * BufferView.C:
7981         * BufferView.h: rename Dispatch() to dispatch()
7982
7983         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7984
7985         * lyxlayout.C (Read): honor DependsOn tag
7986
7987         * lyxlayout.[Ch] (depends_on): new method
7988
7989         * version.C.in: update lyx_docversion
7990
7991         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7992
7993         * paragraph.C (validate): remove from here...
7994         * paragraph_pimpl.C (validate): ... and move here
7995         (isTextAt): make it const
7996
7997         * buffer.C (getLists): ws cleanup
7998
7999 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8000
8001         * language.C (read): Use iso8859-1 encoding in latex_lang
8002         (this prevents LyX from crashing when using iso10646-1 encoding).
8003
8004 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8005
8006         * text2.C (toggleInset): if cursor is inside an inset, close the
8007         inset and leave cursor _after_ it
8008
8009 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8010
8011         * lyxfunc.C: move minibuffer completion handling out of here
8012
8013 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8014
8015         * BufferView_pimpl.C:
8016         * LaTeX.C: fix dispatch calls
8017
8018 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8019
8020         * text.C (drawChars): Fix Arabic text rendering.
8021
8022 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * LyXAction.C:
8025         * commandtags.h:
8026         * lyxfunc.C: remove message-push/pop
8027
8028         * lyxserver.C:
8029         * lyxfunc.h:
8030         * lyxfunc.C: rationalise some code by removing verboseDispatch
8031           in favour of a bool argument to dispatch()
8032
8033 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8034
8035         * lyx_main.C (init): make sure to read symlinks as absolute paths
8036
8037 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * lyxfunc.h:
8040         * lyxfunc.C: no need for commandshortcut to be a member
8041
8042 2002-07-15  André Pönitz <poenitz@gmx.net>
8043
8044         * converter.C: add support for $$s (scripts from lib/scripts dir)
8045         * lyx_main.C: white space
8046
8047 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * bufferlist.C:
8050         * lyxrc.h:
8051         * lyxrc.C: remove second exit confirmation
8052
8053 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8054
8055         * BufferView.h:
8056         * BufferView.C:
8057         * BufferView2.C:
8058         * BufferView_pimpl.h:
8059         * BufferView_pimpl.C:
8060         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8061
8062 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8063
8064         * MenuBackend.C (expand): add numeric shortcuts to document menu
8065
8066         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8067
8068 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * lyxfont.C (setLyXFamily):
8071         (setLyXSeries):
8072         (setLyXShape):
8073         (setLyXSize):
8074         (setLyXMisc):
8075         (lyxRead):
8076         * debug.C (value):
8077         * buffer.C (asciiParagraph): use ascii_lowercase
8078
8079 2002-07-15  Mike Fabian  <mfabian@suse.de>
8080
8081         * lyxlex_pimpl.C (search_kw):
8082         * lyxlex.C (getLongString):
8083         * converter.h (operator<):
8084         * converter.C (operator<):
8085         * buffer.C (parseSingleLyXformat2Token):
8086         (asciiParagraph):
8087         * ToolbarDefaults.C (read):
8088         * MenuBackend.C (checkShortcuts):
8089         (read):
8090         * LColor.C (getFromGUIName):
8091         (getFromLyXName): use the compare_ascii_no_case instead of
8092         compare_no_case, because in turkish, 'i' is not the lowercase
8093         version of 'I', and thus turkish locale breaks parsing of tags.
8094
8095 2002-07-16  Angus Leeming  <leeming@lyx.org>
8096
8097         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8098         now takes a Buffer const & argument.
8099
8100 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * BufferView.C (resize): check there's a buffer to resize
8103
8104 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8105
8106         * lyxfunc.C: remove dead code
8107
8108         * lyxserver.h:
8109         * lyxserver.C: use lyx_guii::set_read_callback
8110
8111 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8112
8113         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8114         an inset in a RTL paragraph.
8115
8116 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8117
8118         * lyxfunc.C: repaint after a font size update
8119
8120 2002-07-15  André Pönitz <poenitz@gmx.net>
8121
8122         * lyxlength.C: inBP should be able to return negative values
8123
8124 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * lyxfunc.C: use lyx_gui::update_fonts()
8127
8128 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * lyxfunc.C: use lyx_gui::update_color()
8131
8132 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * bufferlist.C:
8135         * lyxfunc.h:
8136         * lyxfunc.C:
8137         * lyxrc.h:
8138         * lyxrc.C: remove file->new asks for name option, and let
8139           buffer-new take an argument
8140
8141 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * BufferView_pimpl.C: remove unneeded extra repaint()
8144
8145 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * LyXAction.C: allow command-sequence with NoBuffer
8148
8149         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8150
8151 2002-07-10  Angus Leeming  <leeming@lyx.org>
8152
8153         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8154
8155 2002-07-09  Angus Leeming  <leeming@lyx.org>
8156
8157         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8158
8159 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * lengthcommon.h: whitespace
8162
8163         * lyxfunc.C: update scrollbar after goto paragraph
8164
8165         * lyxtext.h: factor out page break drawing, and fix it so
8166           page break/added space paints as selected nicely
8167
8168 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8169
8170         * BufferView_pimpl.C: add FIXMEs, clean up a little
8171
8172 2002-07-09  André Pönitz <poenitz@gmx.net>
8173
8174         * lyxfont.[Ch]: support for wasy symbols
8175
8176 2002-07-08  André Pönitz <poenitz@gmx.net>
8177
8178         * BufferView_pimpl.C: apply John's patch for #93.
8179
8180 2002-07-05  Angus Leeming  <leeming@lyx.org>
8181
8182         * BufferView_pimpl.C (buffer): generate previews if desired.
8183
8184         * LColor.h: add "preview" to the color enum.
8185
8186         * LColor.C (LColor): add a corresponding entry to the items array.
8187
8188         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8189         with this buffer.
8190
8191 2002-07-05  Angus Leeming  <leeming@lyx.org>
8192
8193         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8194         The body of the code is now in the method that is passed an ostream &
8195         rather than a file name.
8196         Pass an additional only_preamble parameter, useful for the forthcoming
8197         preview stuff.
8198
8199 2002-07-03  André Pönitz <poenitz@gmx.net>
8200
8201         * lyxfunc.C: simplify getStatus() a bit for math stuff
8202
8203 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8204
8205         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8206
8207 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8208
8209         * text.C (changeRegionCase): do not change case of all the
8210         document when region ends at paragraph end (bug #461)
8211
8212 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8213
8214         * paragraph.C (startTeXParParams):
8215         (endTeXParParams): add \protect when necessary
8216
8217 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8218
8219         * BufferView_pimpl.C (workAreaExpose): remove warning
8220
8221 2002-06-27  Angus Leeming  <leeming@lyx.org>
8222
8223         * Makefile.am: add lyxlayout_ptr_fwd.h.
8224
8225 2002-06-26  André Pönitz <poenitz@gmx.net>
8226
8227         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8228
8229 2002-06-25  Angus Leeming  <leeming@lyx.org>
8230
8231         * lyxfunc.C (dispatch): Comment out the call to
8232         grfx::GCache::changeDisplay. The method no longer exists now that the
8233         pixmap generation part of the graphics loader has been moved into
8234         InsetGraphics.
8235
8236 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8237
8238         * text2.C: layout as layout
8239
8240         * text.C: layout as layout
8241
8242         * tabular.C (OldFormatRead): layout as layout
8243
8244         * paragraph_pimpl.C (TeXDeeper): layout as layout
8245         (realizeFont): layout as layout
8246
8247         * paragraph.C (writeFile): layout as layout
8248         (validate): layout as layout
8249         (getFont): layout as layout
8250         (getLabelFont): layout as layout
8251         (getLayoutFont): layout as layout
8252         (breakParagraph): layout as layout
8253         (stripLeadingSpaces): layout as layout
8254         (getEndLabel): layout as layout
8255         (getMaxDepthAfter): layout as layout
8256         (applyLayout): layout as layout
8257         (TeXOnePar): layout as layout
8258         (simpleTeXOnePar): layout as layout
8259         (TeXEnvironment): layout as layout
8260         (layout): layout as layout
8261         (layout): layout as layout
8262
8263         * lyxtextclass.C (compare_name): new functor to work with
8264         shared_ptr, layout as layout
8265         (Read): layout as layout
8266         (hasLayout): layout as layout
8267         (operator): layout as layout
8268         (delete_layout): layout as layout
8269         (defaultLayout): layout as layout
8270
8271         * lyxlayout_ptr_fwd.h: new file
8272
8273         * lyxlayout.C (Read): layout as layout
8274
8275         * lyx_cb.C (MenuInsertLabel): layout as layout
8276
8277         * bufferlist.C (newFile): layout as layout
8278
8279         * buffer.C (readLyXformat2): layout as layout
8280         (parseSingleLyXformat2Token): layout as layout
8281         (insertStringAsLines): layout as layout
8282         (asciiParagraph): layout as layout
8283         (latexParagraphs): layout as layout
8284         (makeLinuxDocFile): layout as layout
8285         (simpleLinuxDocOnePar): layout as layout
8286         (makeDocBookFile): layout as layout
8287         (simpleDocBookOnePar): layout as layout
8288         (getLists): layout as layout
8289
8290         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8291
8292         * CutAndPaste.C (cutSelection): layout as layout
8293         (pasteSelection): layout as layout
8294         (SwitchLayoutsBetweenClasses): layout as layout
8295
8296         * BufferView_pimpl.C (Dispatch): layout as layout
8297         (smartQuote): layout as layout
8298
8299         * BufferView2.C (unlockInset): layout as layout
8300
8301 2002-06-24  André Pönitz <poenitz@gmx.net>
8302
8303         * lyxfunc.C: fix #487
8304
8305 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * lyxrc.h:
8308         * lyxrc.C:
8309         * lyxfunc.C: remove display_shortcuts, show_banner
8310
8311 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * Buffer_pimpl.C: oops, update on resize
8314
8315 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8316
8317         * buffer.C:
8318         * converter.C:
8319         * exporter.C:
8320         * lyxfunc.C:
8321         * BufferView.h:
8322         * BufferView.C: use repaint()
8323
8324         * BufferView_pimpl.h:
8325         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8326           as it's a clearer description. Remove superfluous
8327           redraws.
8328
8329 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * text.C: fix bug 488. Not ideal, but getting
8332           getWord() to work properly for the insets that
8333           matter is more difficult ...
8334
8335 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * BufferView_pimpl.C:
8338         * LyXAction.C:
8339         * commandtags.h:
8340         * lyxfunc.C: remove the six million index lyxfuncs to just
8341           one, and DTRT (bug 458)
8342
8343 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8344
8345         * BufferView.h:
8346         * BufferView.C:
8347         * BufferView_pimpl.h:
8348         * BufferView_pimpl.C: clean up resize() stuff,
8349           and unnecessary updateScreen()s
8350
8351 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8352
8353         * BufferView.h:
8354         * BufferView.C:
8355         * BufferView_pimpl.h:
8356         * BufferView_pimpl.C:
8357         * lyxfind.h:
8358         * lyxfind.C:
8359         * minibuffer.C: remove focus management of workarea,
8360           not needed. Use screen's greyOut()
8361
8362 2002-06-17  Herbert Voss  <voss@lyx.org>
8363
8364         * converter.C: (convert) do not post a message, when converting
8365         fails, let the calling function decide what to do in this case
8366
8367 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * lyxfunc.C: tidy up a little
8370
8371 2002-06-16    <alstrup@diku.dk>
8372
8373         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8374         Got rid of FORMS_H_LOCATION include. Now we are
8375         GUII.
8376
8377 2002-06-15  LyX Development team  <lyx@rilke>
8378
8379         * buffer.[Ch] (sgmlOpenTag):
8380         (sgmlCloseTag): Added support for avoiding pernicious mixed
8381         content. Return number of lines written.
8382
8383         (makeLinuxDocFile):
8384         (makeDocBookFile): Fixed calls to sgml*Tag.
8385         Simple white space clean.
8386
8387         (simpleDocBookOnePar): Simple white space clean.
8388
8389         * tabular.[Ch] (docBook): Renamed to docbook and got another
8390         argument to related with the pernicious mixed content.
8391
8392         (docbookRow): Fixed calls for docbook inset method.
8393
8394 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8395
8396         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8397         so it's X11 independent.
8398
8399         * kb*.[Ch]: ditto.
8400
8401         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8402
8403 2002-06-15  Lyx Development team  <lyx@electronia>
8404
8405         * intl.h: Renamed getTrans to getTransManager.
8406
8407 2002-06-14  Angus Leeming  <leeming@lyx.org>
8408
8409         * Makefile.am: nuke forgotten stl_string_fwd.h.
8410
8411 2002-06-12  Angus Leeming  <leeming@lyx.org>
8412
8413         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8414
8415 2002-06-13  Angus Leeming  <leeming@lyx.org>
8416
8417         * LaTeX.C:
8418         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8419
8420 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8421
8422         * kbmap.C (getiso): add support for cyrillic and greek
8423
8424 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * BufferView.h:
8427         * BufferView.C:
8428         * BufferView_pimpl.h:
8429         * BufferView_pimpl.C: move bogus scrolling logic
8430           to xforms
8431
8432 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * lyxfunc.C:
8435         * BufferView_pimpl.C: view->resize() change
8436
8437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * BufferView_pimpl.C: topCursorVisible
8440           prototype change
8441
8442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8443
8444         * Makefile.am:
8445         * lyx_gui.h:
8446         * lyx_gui.C: move to frontends/
8447
8448         * main.C:
8449         * lyx_main.h:
8450         * lyx_main.C: changes from above
8451
8452 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8453
8454         * intl.C:
8455         * intl.h:
8456         * kbmap.C:
8457         * kbsequence.C:
8458         * lyx_cb.C:
8459         * lyx_main.C: minor tidy
8460
8461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * BufferView_pimpl.h:
8464         * BufferView_pimpl.C:
8465         * BufferView.h:
8466         * BufferView.C: make painter() const,
8467           remove dead code
8468
8469         * BufferView2.C: use screen() accessor
8470
8471         * lyx_main.h:
8472         * lyx_main.C: some minor cleanup
8473
8474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8475
8476         * BufferView_pimpl.h:
8477         * BufferView_pimpl.C: remove enter/leaveView,
8478           use workHeight()
8479
8480 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8481
8482         * BufferView.h:
8483         * BufferView.C:
8484         * BufferView2.C:
8485         * BufferView_pimpl.h:
8486         * BufferView_pimpl.C: only construct screen once,
8487           rename
8488
8489         * lyxrc.C: remove pointless comment
8490
8491 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8492
8493         * BufferView.h:
8494         * BufferView.C: remove active() and belowMouse()
8495
8496         * BufferView_pimpl.h:
8497         * BufferView_pimpl.C: use workarea() not workarea_,
8498           and make it use a scoped_ptr instead
8499
8500 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8501
8502         * lyx_gui.C: add debug message on BadWindow
8503
8504 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8505
8506         * sp_spell.C: fdopen is not part of the C++ standard.
8507
8508         * paragraph.C (InsetIterator): use >= instead of ==
8509
8510 2002-06-07  Angus Leeming  <leeming@lyx.org>
8511
8512         Fixes needed to compile with Compaq cxx 6.5.
8513         * BufferView_pimpl.C:
8514         * DepTable.C:
8515         * buffer.C:
8516         * converter.C:
8517         * encoding.C:
8518         * lyx_gui.C:
8519         * lyx_main.C:
8520         * lyxtextclasslist.C:
8521         * minibuffer.C:
8522         * sp_spell.C:
8523         * tabular_funcs.C:
8524         * vc-backend.C:
8525         all c-library variables have been moved into namespace std. Wrap
8526         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8527
8528         * lyxlength.C:
8529         * tabular-old.C:
8530         * tabular.C:
8531         Add a using std::abs declaration.
8532
8533         * kbmap.h (modifier_pair):
8534         * paragraph.h (InsetTable, InsetList):
8535         * lyxfont.h (FontBits):
8536         type definition made public.
8537
8538         * bufferlist.C (emergencyWriteAll): the compiler complains that
8539         there is more than one possible lyx::class_fun template to choose from.
8540         I re-named the void specialisation as lyx::void_class_fun.
8541
8542         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8543
8544         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8545         the compiler is is unable to find tostr in write_attribute.
8546
8547 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8548
8549         * buffer.C (sgmlError): hide #warning
8550
8551 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8552
8553         * xtl/*: get rid of xtl, which is not in use anyway
8554
8555         * LyXAction.C (init):
8556         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8557         were unimplemented xtl experimentation
8558
8559 2002-06-04  André Pönitz <poenitz@gmx.net>
8560
8561         * lyxfunc.C: disable array operation on simple formulae
8562
8563 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * converter.C: constify a bit
8566
8567 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8568
8569         * lyx_gui.C: check xforms version correctly
8570
8571 2002-04-30  Herbert Voss  <voss@lyx.org>
8572
8573         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8574         "keep" option
8575
8576 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8579           attempt to register it with a VCS)
8580
8581 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8582
8583         * lyx_main.C (init): honor variables LYX_DIR_13x and
8584         LYX_USERDIR_13x
8585
8586 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8587
8588         * buffer.h:
8589         * buffer.C:
8590         * lyx_main.C: fix a crash on bad command line,
8591           and give a useful exit status on error
8592
8593         * lyxfunc.C (doImport): allow -i lyx to work
8594
8595 2002-03-30  André Pönitz <poenitz@gmx.net>
8596
8597         * lyxfunc.C: mathed font changes
8598
8599 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * LaTeX.C:
8602         * importer.h:
8603         * importer.C:
8604         * lyx_sty.h:
8605         * lyx_sty.C:
8606         * lyxlex.C:
8607         * lyxrow.h:
8608         * lyxtext.h:
8609         * paragraph.h:
8610         * paragraph.C:
8611         * texrow.h:
8612         * texrow.C:
8613         * text.C:
8614         * trans_mgr.h: srcdocs, and some minor cleanups
8615
8616 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8617
8618         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8619         call getFont all the time)
8620
8621 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8622
8623         * switch from SigC signals to boost::signals
8624
8625 2002-05-29  André Pönitz <poenitz@gmx.net>
8626
8627         * paragraph_pimpl.C (getChar): don't call size() too often...
8628
8629 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8630
8631         * paragraph_pimpl.C (insertChar): do not try to update tables when
8632         appending (pos == size())
8633
8634         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8635         in order to reduce drastically the number of comparisons needed to
8636         parse a large document
8637
8638 2002-05-29  André Pönitz <poenitz@gmx.net>
8639
8640         * text.C:
8641         * text2.C:
8642         * lyxtextclass.C:
8643         * sp_pspell.h:
8644         * textclasslist.[Ch]:
8645         * sp_ispell.h: whitespace change
8646
8647 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8650         lyxaction directly now.
8651
8652 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * trans.C:
8655         * lyxfont.C:
8656         * lyxvc.C: remove unused headers
8657
8658 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * Makefile.am:
8661         * buffer.h:
8662         * undostack.h:
8663         * undostack.C:
8664         * undo_funcs.h:
8665         * undo_funcs.C: some cleanups. Use shared_ptr
8666           and a template for the undo stacks.
8667
8668 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * BufferView_pimpl.h:
8671         * BufferView_pimpl.C:
8672         * kbmap.h:
8673         * kbmap.C:
8674         * kbsequence.h:
8675         * kbsequence.C:
8676         * lyxfunc.h:
8677         * lyxfunc.C:
8678         * text2.C: use key_state/mouse_state
8679
8680 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8681
8682         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8683         and LSubstring
8684
8685         * chset.C: change include order
8686         (loadFile): use boost regex and get rid of LRegex and LSubstring
8687
8688         * Makefile.am (BOOST_LIBS): new variable
8689         (lyx_LDADD): use it
8690
8691         * LaTeX.C: change include order.
8692         (scanAuxFile): use boost regex and get rid of LRegex and
8693         LSubstring
8694         (deplog): ditto
8695
8696 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * ColorHandler.h:
8699         * ColorHandler.C:
8700         * FontInfo.h:
8701         * FontInfo.C: moved to frontends/xforms/
8702
8703         * FontLoader.h:
8704         * FontLoader.C: moved into frontends for GUIIzation
8705
8706         * Makefile.am:
8707         * lyx_gui.C:
8708         * lyxfont.C:
8709         * lyxfunc.C: changes from above
8710
8711 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * LColor.C: remove spurious X include
8714
8715         * BufferView_pimpl.C:
8716         * Makefile.am:
8717         * font.h:
8718         * font.C:
8719         * text.C:
8720         * text2.C: move font metrics to frontends/
8721
8722 2002-05-24  Juergen Vigna  <jug@sad.it>
8723
8724         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8725         setting the undo_cursor.
8726
8727         * ParagraphParameters.h: include local includes first.
8728
8729 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView_pimpl.C:
8732         * BufferView_pimpl.h:
8733         * Makefile.am:
8734         * WorkArea.h:
8735         * WorkArea.C:
8736         * screen.C: move WorkArea into frontends/
8737
8738         * lyxscreen.h:
8739         * screen.C:
8740         * text.C:
8741         * BufferView.C:
8742         * BufferView2.C: move LyXScreen into frontends/
8743
8744         * lyxlookup.h:
8745         * lyxlookup.C:
8746         * lyx_gui.C: move lyxlookup into frontends/xforms/
8747
8748 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * BufferView2.C:
8751         * BufferView_pimpl.C:
8752         * FontLoader.C:
8753         * LyXView.h:
8754         * LyXView.C:
8755         * Makefile.am:
8756         * WorkArea.C:
8757         * XFormsView.h:
8758         * XFormsView.C:
8759         * buffer.C:
8760         * bufferlist.C:
8761         * bufferview_funcs.C:
8762         * converter.C:
8763         * importer.C:
8764         * lyx_cb.C:
8765         * lyx_gui.C:
8766         * lyx_main.C:
8767         * lyx_find.C:
8768         * lyxfunc.C:
8769         * lyxvc.C:
8770         * minibuffer.C:
8771         * text.C:
8772         * text2.C:
8773         * trans.C:
8774         * vc-backend.C: move LyX/XFormsView into frontends/
8775
8776 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * Makefile.am:
8779         * PainterBase.C:
8780         * PainterBase.h:
8781         * Painter.C:
8782         * Painter.h:
8783         * WorkArea.C:
8784         * WorkArea.h:
8785         * screen.C:
8786         * tabular.C:
8787         * text.C:
8788         * text2.C: move Painter to frontends/
8789
8790 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8791
8792         * buffer.C: comment out some some code that depend upon lyx_format
8793         < 220
8794
8795         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8796         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8797
8798         * buffer.h (NO_COMPABILITY): turn off compability
8799
8800         * ColorHandler.C: include scoped_array.hpp
8801
8802         * font.C: Use more specific smart_ptr header.
8803         * Painter.C: ditto
8804         * gettext.C: ditto
8805         * ShareContainer.h: ditto
8806         * lyx_main.h: ditto
8807         * kbmap.h: ditto
8808         * FontInfo.h: ditto
8809         * BufferView_pimpl.h: ditto
8810         * ColorHandler.h: ditto
8811
8812         * kbmap.C (defkey): change call to shared_ptr::reset
8813
8814 2002-05-21  Juergen Vigna  <jug@sad.it>
8815
8816         * buffer.C (insertErtContents): fix to insert ert asis if it is
8817         non empty. Skip it completely if it contains only whitespaces.
8818
8819 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * BufferView_pimpl.C:
8822         * BufferView2.C: clear selection on paste (bug 393)
8823
8824 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8825
8826         * DepTable.C: include ctime
8827
8828 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8829
8830         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8831
8832 2002-05-14  Juergen Vigna  <jug@sad.it>
8833
8834         * text.C (breakParagraph): fixed function to honor the keepempty
8835         layout in the right maner and also to permit the right breaking
8836         algorithm on empty or non empyt keepempty paragraphs.
8837
8838         * paragraph.C (breakParagraph): we have to check also if the par
8839         is really empty (!size()) for isempty otherwise we do the wrong
8840         paragraph break.
8841
8842 2002-05-10  Juergen Vigna  <jug@sad.it>
8843
8844         * buffer.[Ch] : The following are only changes to the ert
8845         compatibility read reading old LaTeX layout and font stuff and
8846         convert it to ERTInsets.
8847
8848         * buffer.h: added isErtInset().
8849
8850         * buffer.C (struct ErtComp): add a fromlayout bool to check
8851         if we're inside a LaTeX layout.
8852         (isErtInset): new helper function.
8853         (insertErtContents): look for other ert insets before this one
8854         and insert the contents there, so that we don't have subsequent
8855         ERT insets with nothing between them. This way we create only one
8856         inset with multiple paragraphs. Also check if we don't insert only
8857         spaces ' ' as they are ignored anyway afterwards in the .tex file
8858         so if we have only spaces we will ignore this latex part in the
8859         new file.
8860         (parseSingleLyXformat2Token \\layout): better compatibility when
8861         reading layout-latex stuff.
8862         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8863         language tag.
8864         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8865         stuff after reading the inset only get the information back from
8866         the stack.
8867
8868 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8869
8870         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8871
8872         * LaTeXFeatures.C (getBabelOptions): New method.
8873
8874 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * BufferView_pimpl.C (Dispatch): work around missing argument for
8877         'layout'
8878
8879 2002-05-08  Juergen Vigna  <jug@sad.it>
8880
8881         * text.C (leftMargin): handle paragraph leftindent.
8882
8883         * paragraph.C (writeFile): write the new \\leftindent tag.
8884         (validate): handle leftindent code.
8885         (TeXEnvironment): handle paragraphleftindent code again.
8886
8887         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8888
8889         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8890         for paragrap_extra indent code and new token \\leftindent.
8891         (latexParagraphs): handle the leftindent as environment.
8892
8893         * ParameterStruct.h: added leftindent support.
8894
8895         * ParagraphParameters.C (leftIndent): added support functions for
8896         the paragraph left indent.
8897
8898         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8899         more appropriate.
8900
8901 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8904         inside insetERT.
8905
8906         * text.C (computeBidiTables): No bidi in insetERT.
8907
8908         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8909         in RTL documents.
8910
8911 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8912
8913         * version.C.in: pre 5
8914
8915 2002-05-02  José Matos  <jamatos@fep.up.pt>
8916         * buffer.C (makeDocBookFile): white space changes, add newline to
8917         command styles.
8918         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8919
8920         * tabular.C (docBook): fix typo.
8921
8922 2002-05-03  Juergen Vigna  <jug@sad.it>
8923
8924         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8925         change in LyXText as we can not be sure it was not freed.
8926         (drawOneRow): remove unused code.
8927
8928         * text.C (drawInset): redo the calculation of the need_break_row as
8929         it could have a row which was already freed.
8930         (draw): look at the return value of drawInset and return false if
8931         it also returned false.
8932         (paintRowText): look at the return value of draw and return false if
8933         it also returned false.
8934
8935         * lyxtext.h: added bool return type to drawInset() and draw() so that
8936         if we have a change in the row so that the rowbreak has to be redone
8937         we abort drawing as it will be called again.
8938
8939 2002-05-02  Juergen Vigna  <jug@sad.it>
8940
8941         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8942         a change in the maintext also if we're inside an inset.
8943         (Dispatch): set the cursor again after a break line and after the
8944         screen has been updated as it could be we're in a different row.
8945
8946         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8947         to set the cursor behind the pargraph with > size().
8948         (setCursor): check also for the same paragraph when checking where
8949         to put the cursor if we have a NFR inset.
8950
8951         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8952         parts of layout read further up as it still was in the wrong
8953         position.
8954
8955 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8956
8957         * screen.C (drawFromTo): change sine fullRebreak always return
8958         true.
8959
8960         * buffer.C (parseSingleLyXformat2Token): reindent some
8961
8962         * BufferView_pimpl.C (update): change since fullRebreak always
8963         return true.
8964         (Dispatch): git rid of the last hardcoded "Standard"s.
8965
8966 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8967
8968         * text2.[Ch] (fullRebreak): make it return void now that we always
8969         returned true.
8970
8971 2002-04-30  Juergen Vigna  <jug@sad.it>
8972
8973         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8974         ert compatibility check for "latex" layout.
8975
8976 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8977
8978         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8979         minipages: use col% instead of p%, and also use the current font.
8980         (makeLaTeXFile): Fix use babel condition.
8981         (parseSingleLyXformat2Token): Correct font when reading old floats.
8982
8983 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8984
8985         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8986         inserting list of floats.
8987
8988 2002-04-25  Herbert Voss  <voss@lyx.org>
8989
8990         * MenuBackend.C (expand): don't add the graphics extensions to the
8991         export menu
8992
8993 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8994
8995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8996         non-existing layout, do not complain if it was the default layout
8997         of the original class (bug #342)
8998
8999 2002-04-24  Juergen Vigna  <jug@sad.it>
9000
9001         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9002         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9003
9004 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9005
9006         * buffer.C (getBibkeyList): If using \bibliography, return the
9007         option field with the reference itself. Enables us to provide natbib
9008         support when using \bibliography.
9009
9010 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9011
9012         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9013
9014         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9015         natbib is provided by the LaTeX class.
9016
9017 2002-04-23  Juergen Vigna  <jug@sad.it>
9018
9019         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9020         Wakeup functions.
9021
9022         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9023
9024 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9025
9026         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9027
9028         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9029         ensuremath around textordmasculine, textordfeminine and
9030         textdegree.
9031
9032 2002-04-19  Juergen Vigna  <jug@sad.it>
9033
9034         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9035         reinitializing the buffer otherwise row-dimensions may be wrong.
9036         (update): reset also the selection cursors if they do exits otherwise
9037         their x/y positions may be wrong.
9038
9039         * text2.C (cursorDown): don't enter the inset if we came from a row
9040         above and are one row over the inset.
9041
9042         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9043         really leaving an inset.
9044
9045 2002-04-18  Juergen Vigna  <jug@sad.it>
9046
9047         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9048         of the selected paragraph does not have the selected layout also if
9049         the last one had!
9050
9051         * text2.C (setLayout): fixed bug which did not change last selected
9052         paragraph.
9053
9054         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9055         changed the read and substituted \\end_float with \\end_inset!
9056
9057         * BufferView_pimpl.C (cursorPrevious):
9058         (cursorNext): fixed to make it work with rows heigher than the work
9059         area without moving the cursor only the draw of the row.
9060         (workAreaMotionNotify): fix jumping over high rows.
9061
9062 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9063
9064         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9065         Ressler.
9066
9067 2002-04-16  Juergen Vigna  <jug@sad.it>
9068
9069         * text2.C (setCursor): set also the irow().
9070         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9071         (cursorUp):
9072         (cursorDown): support for locking an inset if the x_fix value goes
9073         inside it. That way I can transverse insets too with cursor up/down.
9074
9075         * lyxrow.h: added irow helper function same as other (i) functions.
9076
9077         * BufferView_pimpl.C (cursorPrevious):
9078         (cursorNext): fixed for insets!
9079
9080 2002-04-15  Juergen Vigna  <jug@sad.it>
9081
9082         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9083         position otherwise it is wrong in some cases.
9084
9085         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9086         inside the inset before the call.
9087
9088 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9089
9090         * buffer.[Ch] (getBibkeyList): make it const.
9091
9092 2002-04-12  Juergen Vigna  <jug@sad.it>
9093
9094         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9095
9096         * text2.C (getCursorX): new helper function
9097         (setCursor): compute also ix_
9098         (setCursorFromCoordinates): set also ix.
9099
9100         * lyxcursor.h: added ix_ and helper functions.
9101
9102         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9103
9104         * buffer.C (insertStringAsLines): dont break paragraph if the this
9105         paragraph is inside an inset which does not permit it!
9106
9107         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9108         also with no chars on this paragraph.
9109         (paintRowText): only paint stuff if it's inside the workarea!
9110
9111         * paragraph.C (breakParagraph): honor keepempty flag and break the
9112         paragraph always below not above.
9113
9114         * BufferView2.C (unlockInset): update the paragraph layout on inset
9115         unlock as we changed paragraph in such a case.
9116
9117         * lyxfind.C (LyXFind): clear the former selection if not found!
9118
9119         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9120         again called in insertChar().
9121
9122         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9123         an inset which uses the whole row!
9124         (rightMargin): ditto.
9125         (insertChar): force a rebreak if we inserted an inset!
9126
9127 2002-03-28  Herbert Voss  <voss@lyx.org>
9128
9129         * lyxlength.[Ch]: add inBP() to get the right PS-point
9130         units (BigPoint). With inPixels we have rounding errors
9131
9132 2002-04-11  Juergen Vigna  <jug@sad.it>
9133
9134         * text2.C (setCursorFromCoordinates): set iy to the right value.
9135         (setCursor): add check if row->previous exists!
9136
9137         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9138         an old float_type as this was the case in the old code!
9139
9140         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9141
9142         * BufferView2.C (showLockedInsetCursor): use iy
9143         (fitLockedInsetCursor): ditto
9144
9145         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9146         locked insets as there we have the right value now.
9147
9148         * lyxcursor.C: added iy_ variable and iy functions to set to the
9149         baseline of cursor-y of the locked inset.
9150
9151         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9152         (setCursor): fixed for insets which need a full row.
9153
9154         * text.C (rowLastPrintable): don't ignore the last space when before
9155         an inset which needs a full row.
9156         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9157         as last character of a row when before a inset which needs a full row.
9158
9159 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9160
9161         * version.C.in: update date
9162
9163         * text2.C (fullRebreak): try to always return true and see what
9164         happens...
9165
9166 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * MenuBackend.C (expand): use Floating::listName
9169
9170         * FloatList.C (FloatList): add listName argument to the built-in
9171         floats
9172
9173         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9174         text associated with the float.
9175
9176 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9179
9180 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * ShareContainer.h: add a couple of missing typenames.
9183
9184 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9185
9186         * lyxrc.C (getDescription): use _() correctly rather than N_().
9187
9188 2002-03-28  Herbert Voss  <voss@lyx.org>
9189
9190         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9191         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9192
9193 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9196         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9197
9198 2002-03-29  Juergen Vigna  <jug@sad.it>
9199
9200         * lyxfunc.C (dispatch): add a missing fitCursor call.
9201
9202         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9203         it was scrolled by a cursor move, so return the bool status.
9204
9205         * BufferView.C (fitCursor): return the bool flag also to the outside
9206         world as this is needed.
9207
9208         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9209
9210         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9211         call the edit() as it is not needed (and wrong) IMO.
9212         (workAreaButtonPress): set the screen_first variable before evt.
9213         unlock the inset as this may change screen_first and then we have
9214         a wrong y position for the click!
9215
9216 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9217
9218         * MenuBackend.C (expand): another translation that I missed
9219
9220 2002-03-28  Juergen Vigna  <jug@sad.it>
9221
9222         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9223
9224         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9225
9226 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9229
9230         * MenuBackend.C (expand): fix export/view/update when there is no
9231         document open.
9232
9233 2002-03-27  Herbert Voss  <voss@lyx.org>
9234
9235         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9236         and text%
9237
9238 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * bufferview_funcs.C (currentState): only show paragraph number
9241         for is DEVEL_VERSION is set.
9242
9243         * lyxfunc.C (dispatch): put warning in INFO channel
9244
9245         * MenuBackend.C (expand): translate the name of floats
9246
9247         * FloatList.C (FloatList): mark the float names for translation
9248
9249         * converter.C (convert): use LibScriptSearch
9250
9251 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * MenuBackend.C (defaults): fix default menu (we might as well get
9254         rid of it...)
9255
9256 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9259         directory.
9260
9261 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9262
9263         * lyxvc.C: reorder includes.
9264
9265 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9268           properly
9269
9270 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * CutAndPaste.C: change layouts earlier on paste
9273           to avoid crashing when calling getFont()
9274
9275 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9276
9277         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9278         irritating #error.
9279
9280 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * WorkArea.C: remove 'Pending' debug message.
9283
9284         * most files: ws cleanup
9285
9286         * buffer.[Ch]: ws changes
9287
9288         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9289
9290 2002-03-21  Juergen Vigna  <jug@sad.it>
9291
9292         * tabular.C (SetMultiColumn): collapse also the contents of the
9293         cells and set the last border right. Added a Buffer const * param.
9294
9295 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9296
9297         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9298         linking or not.
9299
9300 2002-03-19  Juergen Vigna  <jug@sad.it>
9301
9302         * text2.C (clearSelection): reset also xsel_cache.
9303
9304         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9305         where it needs to be called (John tells us to do so too :)
9306         (selectionLost): reset sel_cache.
9307
9308         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9309
9310 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * text2.C (setCursorIntern): put debuging code in INSETS channel
9313
9314 2002-03-19  André Pönitz <poenitz@gmx.net>
9315
9316         * lyxfunc.C: tiny whitespace change
9317
9318 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * ToolbarDefaults.C (init):
9321         * LyXAction.C (init):
9322         * commandtags.h:
9323         * BufferView_pimpl.C (Dispatch):
9324         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9325
9326 2002-03-19  Allan Rae  <rae@lyx.org>
9327
9328         * exporter.C (Export): removeAutoInsets before doing anything else.
9329         While I've just introduced a dependency on BufferView this really is
9330         the best place to clean the buffer otherwise you need to cleanup in
9331         a dozen places before calling export or cleanup in a dozen functions
9332         that export calls.
9333
9334         * converter.C (runLaTeX):
9335         (scanLog): Better handling of removeAutoInsets and screen updates.
9336
9337         * lyxfunc.C (dispatch): small whitespace changes
9338
9339 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * WorkArea.C (C_WorkAreaEvent): return a value.
9342         (event_cb): return 1 if we handled the event, 0 otherwise.
9343
9344         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9345
9346 2002-03-18  Juergen Vigna  <jug@sad.it>
9347
9348         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9349         (GetAdditionalWidth): ditto.
9350         (RightLine): ditto.
9351         (LeftLine): ditto.
9352
9353         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9354         inset if we're there actually (probably not used right now but this
9355         is the direction to go for unifying code).
9356         (paste): disable code to clear the selection.
9357
9358         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9359         inside an InsetText and move the check further up as it is in the
9360         wrong place.
9361
9362         * text2.C (pasteSelection): set a selection over the pasted text.
9363
9364 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9365
9366         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9367         and libgraphics to build on Cygwin.
9368
9369 2002-03-15  Juergen Vigna  <jug@sad.it>
9370
9371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9372         inserting an Inset into the paragraph. I know this is not the best
9373         fix but we already use current_view in CutAndPaste so we will remove
9374         all of it's using at the same time.
9375
9376         * buffer.C (sgmlError): deactivated function till it is rewritten in
9377         the right mode, now it can create problems.
9378
9379         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9380         before accessing it.
9381
9382 2002-03-14  Juergen Vigna  <jug@sad.it>
9383
9384         * undo_funcs.C (textHandleUndo): do the right thing when updating
9385         the inset after the undo/redo.
9386
9387         * text2.C (setCursor): just some testcode for #44 not ready yet.
9388
9389         * undo_funcs.C (textHandleUndo): set the next() and previous()
9390         pointers of the paragraph to 0 before deleting otherwise we have
9391         problems with the Paragraph::[destructor].
9392
9393         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9394         on a paragraph insertion.
9395
9396 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * buffer.C (asciiParagraph): use += operator for char append to
9399         string.
9400
9401         * paragraph.C (getFontSettings): compare >= not just >
9402         (highestFontInRange): ditto
9403         (setFont): ditto
9404
9405 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9406
9407         * paragraph.C: change several algorithm to be more appripriate for
9408         the problem domain. This is lookip in FontList and in the InsetList.
9409
9410 2002-03-13  André Pönitz <poenitz@gmx.net>
9411
9412         * commandtags.h:
9413         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9414
9415 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9416
9417         * commandtags.h:
9418         * LyXAction.C:
9419         * lyxfunc.C:
9420         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9421
9422 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9423
9424         * Painter.C (display): anon helper function, adjust code for this
9425         change.
9426         (pixmap): remove function.
9427
9428         * Painter.h: remove private display variable.
9429
9430         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9431
9432 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9433
9434         * WorkArea.[Ch]: remove figinset_canvas cruft.
9435
9436 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9437
9438         * lyxtextclass.C (operator): add one item cache optimization.
9439
9440         * bufferlist.h: doxy changes
9441
9442         * bufferlist.C: ws changes
9443
9444         * DepTable.[Ch] (ext_exist): place const in the right spot.
9445
9446         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9447         call resizeInsets.
9448         (workAreaExpose): call resizeInsets when the with BufferView changes.
9449         (Dispatch): adjust for protectedBlank removal
9450         (specialChar): call updateInset if the insert went ok.
9451
9452         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9453         specialChar instead.
9454
9455         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9456
9457         * BufferView.h: doxy change
9458
9459         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9460
9461         * lyxtextclass.C (operator[]): remove non-const version
9462         (defaultLayout): remove non-const version
9463
9464 2002-03-12  Juergen Vigna  <jug@sad.it>
9465
9466         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9467         did resize the LyXText too.
9468
9469         * buffer.C (readLyXformat2): set layout information on newly allocated
9470         paragraphs.
9471
9472         * tabular.C (OldFormatRead): set layout information on the paragraph.
9473
9474 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9475
9476         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9477
9478 2002-03-11  Juergen Vigna  <jug@sad.it>
9479
9480         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9481         plainly wrong.
9482         (resizeCurrentBuffer): force also the insets to resize themselfes.
9483         (moveCursorUpdate): fixed up for InsetText.
9484
9485 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9486
9487         * commandtags.h:
9488         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9489         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9490         value of Dialogs::tooltipsEnabled().
9491         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9492
9493 2002-03-08  Juergen Vigna  <jug@sad.it>
9494
9495         * BufferView_pimpl.C (updateInset): update inset inside inset also
9496         if it isn't inside theLockingInset().
9497
9498 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9499
9500         * buffer.C (asciiParagraph): redo some of the word and line length
9501         handling.
9502         (getLists): look for Caption instead of caption.
9503
9504 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * buffer.C (Buffer): initialize niceFile to true
9507         (makeLaTeXFile):
9508         (makeLinuxDocFile):
9509         (makeDocBookFile): make sure niceFile is true on exit
9510
9511 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9512
9513         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9514
9515 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9516
9517         * LyXSendto.C: remove.
9518         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9519         * lyx_gui.C: remove now-redundant comment.
9520         * ColorHandler.h: remove forward declaration of class WorkArea.
9521         * lyxfunc.C: remove #include "WorkArea.h".
9522
9523 2002-03-07  Juergen Vigna  <jug@sad.it>
9524
9525         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9526         got moved away with the DEPM and also set the inset_owner always
9527         right which before could have been omitted.
9528
9529 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9530
9531         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9532         wanted layout is not found.
9533
9534 2002-03-07  Juergen Vigna  <jug@sad.it>
9535
9536         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9537
9538 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9539
9540         * paragraph.C (breakParagraph): use default layout not layout of
9541         prev paragraph.
9542         (Paragraph): clear ParagraphParameters.
9543
9544 2002-03-06  Juergen Vigna  <jug@sad.it>
9545
9546         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9547         otherwise it would not be a valid lenght. Fixed a special case in
9548         the minipage compatibility read where we end the document with a
9549         minipage.
9550
9551         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9552         was set as it could be 0 for InsetTexts first entry.
9553
9554 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9555
9556         * paragraph.C (writeFile): if layout is empty write out
9557         defaultLayoutName().
9558
9559         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9560         file without named layout we set layout to defaultLayoutName().
9561
9562 2002-03-06  Juergen Vigna  <jug@sad.it>
9563
9564         * CutAndPaste.C (copySelection): set layout for new paragraph.
9565
9566         * text.C (prepareToPrint): leave ERT inset left aligned
9567         (leftMargin): don't indent paragraphs inside ERT insets
9568
9569 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * paragraph.C (breakParagraph): dont call clear do the work manually
9572
9573         * paragraph.[Ch] (clear): remove function
9574
9575 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9576
9577         * paragraph.C (Paragraph): dont call clear, the work has already
9578         been done.
9579
9580         * lyxtextclass.C (operator): assert if n is empty
9581
9582         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9583         work manually instead.
9584
9585 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * BufferView_pimpl.C: protect selectionLost against text == 0
9588
9589 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9590
9591         * text.C (breakParagraph): fix a setting layout to '0' problem.
9592
9593 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9594
9595         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9596         final location of file, for the included files, and graphics.
9597
9598 2002-03-05  Juergen Vigna  <jug@sad.it>
9599
9600         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9601
9602 2002-03-04  Juergen Vigna  <jug@sad.it>
9603
9604         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9605
9606         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9607         last column of multicolumn cells.
9608         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9609
9610 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9611
9612         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9613         file if it doesn't go to a temporary file.
9614
9615         * buffer.C (sgmlOpenTag):
9616         (sgmlCloseTag):  remove extra newline insertion.
9617
9618 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * text.C (getRowNearY): comment out debug msg
9621
9622 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9623
9624         * text2.C: first -> first_y
9625
9626         * text.C (getRowNearY): add some attemts at a possible
9627         optimization, not working.
9628
9629         * tabular.[Ch]: add BufferParams to several function so that newly
9630         created paragraph can be initialized to he default layotu for the
9631         buffers textclass.
9632
9633         * tabular-old.C (ReadOld): add buf->params to call of Init
9634
9635         * screen.C: rename text->first to text->first_y
9636
9637         * paragraph.C (breakParagraph): always set layout in the broken
9638         paragraph
9639
9640         * lyxtextclass.C (Read): remove lowercase
9641         (hasLayout): ditto
9642         (operator): ditto
9643         (delete_layout): ditto
9644
9645         * lyxtext.h: rename first -> first_y
9646
9647         * lyxlayout.C (Read): remove lowercase
9648         (name): ditto
9649         (setName): ditto
9650         (obsoleted_by): ditto
9651
9652         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9653
9654         * buffer.C (insertErtContents): add params are to InsetERT
9655         (parseSingleLyXformat2Token): add code to check if a paragraphs
9656         layout really exist.
9657         (parseSingleLyXformat2Token): add params to several inset
9658         constructors
9659         (asciiParagraph): remove lowercase, do the layout comparisons with
9660         no_case
9661
9662         * BufferView_pimpl.C (cursorNext): first -> first_y
9663         (resizeCurrentBuffer): first -> first_y
9664         (updateScrollbar): first -> first_y
9665         (scrollCB): first -> first_y
9666         (workAreaMotionNotify): first -> first_y
9667         (workAreaButtonPress): first -> first_y
9668         (checkInsetHit): first -> first_y
9669         (cursorPrevious): first -> first_y
9670         (cursorNext): first -> first_y
9671         (Dispatch): add buffer_->params to severl inset contructors
9672
9673 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9674
9675         * lyxlayout.C (Read): remove some debug info that I forgot.
9676
9677         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9678         clean up the code slightly.
9679         (makeLinuxDocFile): ditto
9680         (makeDocBookFile): ditto
9681
9682         * text2.C: layout as string
9683
9684         * text.C: layout as string
9685
9686         * paragraph_pimpl.C: layout as string
9687
9688         * paragraph.[Ch]: layout as string
9689
9690         * lyxtextclasslist.[Ch]: layout as string
9691
9692         * lyxtextclass.[Ch]: layout as string
9693
9694         * lyxtext.h: layout as string
9695
9696         * lyxlayout.[Ch]: layout as string
9697
9698         * lyx_cb.C: layout as string
9699
9700         * bufferview_funcs.C: layout as string
9701
9702         * bufferparams.C: layout as string
9703
9704         * buffer.C: layout as string
9705
9706         * LyXView.[Ch]: layout as string
9707
9708         * LaTeXFeatures.[Ch]: layout as string
9709
9710         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9711
9712         * BufferView_pimpl.C: change current_layout to string, remove
9713         lyx::layout_type.
9714         (Dispatch):
9715         (smartQuote):
9716         (insertInset):
9717         (workAreaButtonRelease): layout as string
9718
9719         * BufferView2.C (unlockInset): adjust
9720
9721         * vspace.C (asLatexCommand): use an explict temp variable.
9722
9723 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * Makefile.am: use FRONTEND_*
9726
9727 2002-03-01  Juergen Vigna  <jug@sad.it>
9728
9729         * tabular.C (SetWidthOfMulticolCell): changed to something better
9730         I hope but still work in progress.
9731         (recalculateMulticolumnsOfColumn): renamed function from
9732         recalculateMulticolCells as it is more appropriate now.
9733         (SetWidthOfCell): calculate multicols better.
9734
9735 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9738
9739         * lyxfunc.C (processKeySym): print sequence also if it is
9740         `deleted' (complete)
9741
9742         * kbsequence.C (print): print sequence even if it is deleted
9743         (complete would be a better word, actually).
9744
9745         * lyxfunc.C (dispatch): print complete options after a prefix key
9746
9747         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9748
9749 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9750
9751         * text2.C (setCharFont): eliminate setCharFont code duplication.
9752
9753 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9756         LFUN_TABULAR_FEATURE (bug #177)
9757
9758 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9759
9760         * Makefile.am: remove figure.h
9761
9762 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * Bufferview_pimpl.C:
9765         * CutAndPasteC:
9766         * LaTeX.C:
9767         * LyXSendto.C:
9768         * buffer.C:
9769         * bufferlist.C:
9770         * converter.C:
9771         * language.C:
9772         * lyxfunc.C:
9773         * lyxvc.C:
9774         * paragraph.C:
9775         * text.C:
9776         * text2.C: remove #include "lyx_gui_misc.h".
9777
9778         * LaTeX.C: added #include <cstdio>
9779
9780 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9783         that the paragraph following this one can have.
9784
9785         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9786
9787         * vspace.C (asLatexCommand): fix bogus gcc warning
9788
9789         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9790
9791 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9792
9793         * text2.C (setLayout): get rid of redundant code
9794
9795 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9796
9797         * text2.C (incDepth): make sure depth cannot be increased beyond
9798         reasonable values.
9799
9800 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9801
9802         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9803         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9804
9805         * PainterBase.h (image):
9806         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9807         a LyXImage const *.
9808
9809 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * BufferView.C:
9812         * BufferView.h:
9813         * BufferView_pimpl.C:
9814         * BufferView_pimpl.h:
9815         * LaTeXFeatures.C:
9816         * LyXAction.C:
9817         * LyXView.C:
9818         * Makefile.am:
9819         * UpdateList.h:
9820         * UpdateList.C:
9821         * buffer.C:
9822         * figure.h:
9823         * figureForm.C:
9824         * figureForm.h:
9825         * figure_form.C:
9826         * figure_form.h:
9827         * lyx_cb.C:
9828         * lyx_gui.C:
9829         * lyx_gui_misc.C:
9830         * lyxfunc.C:
9831         * sp_base.h:
9832         * sp_ispell.h:
9833         * sp_pspell.h:
9834         * sp_spell.C: remove fig inset, and the crap house of
9835           cards that follows it
9836
9837 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9838
9839         * Makefile.am:
9840         * lyxserver.C:
9841         * os2_defines.h:
9842         * os2_errortable.h:
9843         * nt_defines.h: move .h into support/
9844
9845         * vms_defines.h: remove
9846
9847         * WorkArea.C: add space in debug output
9848
9849         * text2.C:
9850         * paragraph.C:
9851         * buffer.C: add WITH_WARNINGS
9852
9853         * vc-backend.h:
9854         * vc-backend.C:
9855         * bufferlist.C: s/retrive/retrieve/, add docs
9856
9857         * vspace.h:
9858         * vspace.C:
9859         * kbmap.h:
9860         * lyxlength.h:
9861         * lyxgluelength.h:
9862         * length_common.h:
9863         * chset.h:
9864         * chset.C: add docs
9865
9866         * lyxgui.C: add ID to X error handler
9867
9868         * lyxtestclass.c: fix typo
9869
9870 2002-02-26  Juergen Vigna  <jug@sad.it>
9871
9872         * tabular_funcs.C (write_attribute): changed so that some default
9873         attributes are not written at all.
9874         (getTokenValue): set default values before trying to read the
9875         value so we have the return value always set as default if we don't
9876         find the token we search for.
9877
9878         * tabular.C (Write): write bools as bools not as strings!
9879
9880 2002-02-22  Juergen Vigna  <jug@sad.it>
9881
9882         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9883         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9884
9885         * text.C (leftMargin): don't add an indent for paragraphs inside
9886         tabular cells (fix #208).
9887
9888 2002-02-21  José Matos  <jamatos@fep.up.pt>
9889
9890         * tabular.C (docBook): fixed support for long tables.
9891
9892 2002-02-20  Juergen Vigna  <jug@sad.it>
9893
9894         * text2.C (getFont): get the drawing font of the Inset if this
9895         paragraph is inside an inset (only important for InsetERT for now).
9896
9897         * buffer.C (insertErtContents): use new lanugage params in ERT
9898         constructor.
9899
9900         * CutAndPaste.C: commenting out seemingly uneeded code.
9901
9902 2002-02-19  Allan Rae  <rae@lyx.org>
9903
9904         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9905         Iterators might be simple to use but they also get invalidated.
9906         (removeAutoInsets): renamed saved cursor tracking variables and added
9907         some comments to clarify what everything does.
9908
9909 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9910
9911         * Chktex.C:
9912         * LaTeX.C:
9913         * LyXSendto.C:
9914         * converter.C:
9915         * lyx_cb.C:
9916         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9917         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9918
9919         * lyxfunc.C:
9920         * vc-backend.h: remove #include "support/syscall.h"
9921
9922         * LaTeX.C:
9923         * LyXSendto.C:
9924         * converter.C: rearrange #includes in Lars' approved fashion.
9925
9926         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9927         forward declare class Timeout in the header file.
9928
9929         * XFormsView.C: changes due to the above.
9930
9931         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9932         similar to LyXView.
9933
9934         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9935         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9936
9937 2002-02-18  José Matos  <jamatos@fep.up.pt>
9938
9939         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9940         insets contents.
9941
9942 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9943
9944         * a lot of small ws changes
9945         * add a lot of using std::XXX
9946         * use std construcs some places where approp.
9947         * use some exisint stuff from lyxfunctional where approp.
9948         * Make file changes to use partial linking (lets test this now...)
9949
9950 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9951
9952         * Chktex.C:
9953         * buffer.C:
9954         remove #include "support/syscontr.h" as it's redundant. Always has been.
9955
9956         * Chktex.C:
9957         * LaTeX.C:
9958         * LyXSendto.C:
9959         * converter.C:
9960         * lyx_cb.C:
9961         * vc-backend.C:
9962         change Systemcalls::System to Systemcalls::Wait and
9963         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9964         No change of functionality, just reflects the stripped down Systemcalls
9965         class.
9966
9967 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9968
9969         * debug.[Ch]: add a GRAPHICS type to the enum.
9970
9971 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9974
9975         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9976         there is an inset.
9977
9978 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9981         match the changes below.
9982
9983         * text2.C (toggleInset): if there is not editable inset at cursor
9984         position, try to see if cursor is _inside_ a collapsable inset
9985         and close it.
9986
9987 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9990         document menu has a nice checkbox
9991
9992 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * lyxlength.C (asLatexString): change PW to output as percent of
9995         \textwidth.
9996
9997         * lengthcommon.C: change '%' to 't%'
9998
9999         * lyxfunc.C (dispatch): a few comments from Martin
10000
10001 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10002
10003         * WorkArea.h:
10004         * WorkArea.C:
10005         * BufferView_pimpl.h:
10006         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10007           the X selection.
10008
10009 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * vspace.C (inPixels): fix compiler warning
10012
10013 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * lyxfunc.C (getStatus): fix status message for disabled commands.
10016
10017 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * BufferView_pimpl.C: fix crash on close buffer
10020         during selection (#227)
10021
10022 2002-01-27  Herbert Voss  <voss@lyx.org>
10023
10024         * buffer.C: link old Figure to new graphic inset
10025
10026 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10027
10028         * FontLoader.C (getFontinfo): Change the latex font names in order
10029         to match the names of type1inst.
10030
10031 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10032
10033         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10034
10035         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10036         (extchanged): ditto
10037         (ext_exist): ditto
10038         (remove_files_with_extension): ditto
10039         (remove_file): ditto
10040         (write): ditto
10041
10042         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10043         document is smaller than the work area height. Do not initialize
10044         static variables to 0.
10045
10046 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10049
10050         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10051         LFUN_LAYOUT_PARAGRAPHS.
10052
10053         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10054         tabular. It is possible to provide a possible cell, which will
10055         typically be the actcell from the corresponding insettabular
10056
10057         * lyxfunc.C (getStatus): small cleanup; disable
10058         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10059         true
10060
10061 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10064
10065         * paragraph.C (startTeXParParams):
10066         (endTeXParParams): new methods. The LaTeX code to
10067         start/end paragraph formatting
10068         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10069         empty (fixes bug #200)
10070
10071         * vspace.C (inPixels): adapt to the change below
10072         (inPixels): [later] more cleanups (remove unused variables)
10073
10074         * lyxlength.C (inPixels): change to use a width and a height as
10075         parameter.
10076
10077 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10080         Replaced with \paperwidth
10081
10082         * DepTable.C (insert): add std:: qualifier
10083
10084 2002-01-18  Allan Rae  <rae@lyx.org>
10085
10086         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10087         updated also?
10088
10089         * text.C (drawInset): Turned out I didn't know enough about how
10090         rebreaking worked.  This fixes most of the redraw problems.  I see
10091         an occasional cursor trail when a line is broken now and the cursor
10092         placement can seem out by a few pixels also after a rebreak.
10093
10094 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * buffer.C (parseSingleLyXformat2Token): update because minipage
10097         width is now a LyXLength
10098
10099         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10100
10101         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10102         math insets
10103
10104 2002-01-17  Juergen Vigna  <jug@sad.it>
10105
10106         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10107
10108         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10109         is set correctly and the inset is updated correctly.
10110
10111 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10114         the beginning of the loop.
10115
10116 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * lyxrc.C: improve help for use_scalable_fonts
10119
10120 2002-01-17  Allan Rae  <rae@lyx.org>
10121
10122         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10123
10124 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10125
10126         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10127         make sure to set their inset_owner to the right value (bug #171)
10128
10129 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10130
10131         * DepTable.h
10132         * DepTable.C: Implement mtime checking to reduce time spent doing
10133         CRCs.
10134
10135 2002-01-16  Juergen Vigna  <jug@sad.it>
10136
10137         * tabular.C (GetAdditionalHeight): one of error fixed.
10138
10139         * lyxrc.C (output): small fix in writing use_pspell.
10140
10141 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10142
10143         * sp_base.h: #include LString.h
10144
10145 2002-01-16  Allan Rae  <rae@lyx.org>
10146
10147         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10148         Can someone check this please?
10149
10150         * text.C (drawInset): It was possible that p.row would be removed by
10151         breakAgainOneRow upsetting a few other settings.  There may be another
10152         small tweak possible by setting need_break_row = 0 when p.row has been
10153         removed but I don't know enough about the logic here.
10154
10155 2002-01-15  Allan Rae  <rae@lyx.org>
10156
10157         * text.C (insertChar): removed conditional truism.
10158
10159         * BufferView2.C (removeAutoInsets): More tweaks.
10160         cur_par_prev could be a stray pointer.  Check for trailing empty line
10161         in case last line was cur_par and only had an error inset on it.
10162
10163 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10166         absolute
10167
10168         * vc-backend.C (most methods):
10169         * exporter.C (Export):
10170         * converter.C (convert):
10171         (runLaTeX):
10172         * LyXSendto.C (SendtoApplyCB):
10173         * lyxfunc.C (dispatch):
10174         (menuNew):
10175         (open):
10176         (doImport):
10177         * lyx_cb.C (AutoSave):
10178         (InsertAsciiFile):
10179         * BufferView_pimpl.C (MenuInsertLyXFile):
10180         * buffer.C (runChktex): use Buffer::filePath().
10181
10182         * buffer.h: rename filename to filename_; rename filepath to
10183         filepath_ and make it private
10184         (filePath): new method
10185
10186         * buffer.C (writeFile): use fileName()
10187         (getLatexName):
10188
10189         * lyx_main.C (init): fix starting  of LyX when the binary is a
10190         link from so,ewhere else.
10191
10192         * minibuffer.C: include <cctype> for isprint
10193
10194 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10195
10196         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10197         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10198         name clash with InsetCollapsable's width function.
10199
10200 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * lastfiles.C: include <iterator>
10203
10204 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10205
10206         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10207         std::count.
10208
10209         * buffer.C (makeLaTeXFile): ditto.
10210         Also make loop operation more transparent.
10211
10212 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10213
10214         * ToolbarDefaults.C: remove trailing comma closing namespace.
10215
10216         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10217
10218         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10219         as in WorkArea.
10220
10221         * trans.C (Load): comment out unused variable, allowed.
10222
10223 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10224
10225         * minibuffer.[Ch] (append_char): new method to recieve input from the
10226         drop-down completion browser. If a key was pressed, then recieve this
10227         char and append it to the existing string.
10228         (peek_event): modify the positioning data passed to the completion
10229         browser so that it can be placed above the minibuffer rather than below.
10230 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10231
10232         * LyXAction.C (init): alloe error-next for readonly documents.
10233
10234         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10235         count.
10236
10237 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * bufferlist.C (readFile): create the buffer _after_ checking that
10240         the file exists.
10241
10242         * lyxfunc.C (verboseDispatch): fix handling of arguments
10243
10244         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10245
10246         * lyxrc.C: use string::erase() instead of initializing to "".
10247
10248
10249 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * BufferView_pimpl.h:
10252         * BufferView_pimpl.C:
10253         * WorkArea.h:
10254         * WorkArea.C:
10255         * text2.C: tell X when we have made a selection for copying
10256
10257 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10258
10259         * BufferView_pimpl.C (MenuInsertLyXFile):
10260         * lyxfunc.C (menuNew):
10261         (open):
10262         (doImport): add shortcuts to directory buttons
10263
10264         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10265         open a float)
10266
10267         * lyxfunc.C (setStatusMessage):
10268         (getStatusMessage): new methods
10269         (getStatus):use setStatusMessage instead of setErrorMessage
10270         (dispatch): when function is disabled, set error message here
10271         [instead of in getStatus previously]
10272
10273         * BufferView_pimpl.C (workAreaButtonRelease): update
10274         toolbar/menubar here too.
10275
10276 2002-01-13  Allan Rae  <rae@lyx.org>
10277
10278         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10279         Now seems indestructible.  Remaining task is to audit all other
10280         code affected by deleteEmptyParagraphMechanism.  One small quirk
10281         left is that an empty document with an error in the preamble can
10282         be made to report an error but no error box appears.  I don't know
10283         where it goes.
10284         (removeAutoInsets): Improved comments.
10285
10286 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * Thesaurus.h:
10289         * Thesaurus.C: update for Aiksaurus 0.14
10290
10291 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * text2.C (firstParagraph): removed member function, all uses
10294         replaces with ownerParagraph
10295         (redoParagraphs): here
10296         (updateInset): here
10297         (toggleAppendix): here
10298         * BufferView2.C (insertErrors): here
10299         (setCursorFromRow): here
10300
10301 2002-01-13  Allan Rae  <rae@lyx.org>
10302
10303         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10304         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10305         There is still a way to segfault this although you may have to do this
10306         multiple times: Have an InsetERT with an unknown command in it.
10307         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10308         <down-arrow>, <Enter> again, View->DVI, BANG!
10309
10310         * text2.C (setCursor):
10311         (deleteEmptyParagraphMechanism):
10312         * lyxtext.h (setCursor):
10313         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10314         Making use of the return value may help fix other bugs.
10315
10316 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10317
10318         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10319
10320         * LyXView.C (updateMenubar): call MenuBar::update here
10321         (updateToolbar): but not here
10322         (showState): do not update toolbar/menubar
10323
10324         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10325         should need to care about that.
10326
10327         * lyxfunc.C (verboseDispatch): simplify a bit
10328         (getStatus): have a version which takes a pseudoaction, and
10329         another which requires a (kb_action,string).
10330
10331         * LyXAction.C (retrieveActionArg): make it work also when action
10332         is not a pseudo-action.
10333         (getActionName): simplify a bit
10334         (helpText):
10335
10336 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10337
10338         * lyxfunc.C (verboseDispatch): new families of methods with
10339         several ways to specify a command and a bool to indicate whether
10340         the command name and shortcut should be displayed in minibuffer
10341         (eventually, we could extend that to a finer bitmask like
10342         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10343         (dispatch): the pristine dispatch command which just, well,
10344         dispatchs! Note it still sets its result to minibuffer; I'm not
10345         sure we want that.
10346
10347         * lyxfunc.h: remove setHintMessage
10348
10349         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10350
10351 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10352
10353         * BufferView_pimpl.C (specialChar): delete new inset if we have
10354         not been able to insert it.
10355
10356         * kbmap.C: revert to using int instead of kb_action, since all we
10357         are dealing with is pseudo-actions.
10358
10359         * LyXAction.C (searchActionArg): change to return int instead of
10360         kb_action, since the result is a pseudoaction.
10361
10362 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10363
10364         * buffer.C (insertErtContents): Fix (partially) the font bug.
10365
10366 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10367
10368         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10369         as the other one is broken on my machine!
10370
10371 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10372
10373         * commandtags.h:
10374         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10375
10376 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10377
10378         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10379         reflect their actual use. Provide compatibility code for older lyxrc
10380         files.
10381
10382         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10383         FL_NORMAL_STYLE.
10384         change names of popup font variables in line with the changes to lyxrc.C
10385
10386 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * buffer.C (asciiParagraph): avoid outputing a word twice after
10389         an inset.
10390
10391         * lyxrc.C (getDescription): document that document_path and
10392         template_path can be empty.
10393
10394 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10395
10396         * LaTeXFeatures.C (getMacros):
10397         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10398
10399         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10400
10401         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10402         getPackages.
10403         (getPackages): rename feature "floats" to "float". Use an array to
10404         iterate over 'simple' features (i.e. just a \usepackage). Add
10405         handling of "amsmath" (renamed from "amsstyle").
10406
10407 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10408
10409         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10410         features list.
10411
10412 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10415         FuncStaus::FuncStatus & FuncStaus::some_method().
10416
10417 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10418
10419         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10420         of the func_satus stuff. Edited and massaged in various ways by
10421         JMarc.
10422
10423         * lyxfunc.C (getStatus): use FuncStatus
10424
10425 2002-01-08  Juergen Vigna  <jug@sad.it>
10426
10427         * text.C (nextBreakPoint): use function Inset::isChar().
10428
10429         * paragraph.C (TeXOnePar): use function
10430         Inset::forceDefaultParagraphs.
10431
10432         * buffer.C (latexParagraphs): use function
10433         Inset::forceDefaultParagraphs.
10434
10435 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10436
10437         * lyx_gui.C (init): set the style of the menu popups to
10438         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10439
10440 2002-01-07  Juergen Vigna  <jug@sad.it>
10441
10442         * text.C (setHeightOfRow): small fix
10443         (prepareToPrint): don't look at alignment if we don't have the place
10444         for doing it.
10445
10446 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * box.C: New file. Move the Box methods and functions out of box.h,
10449         following Lars' suggestion.
10450
10451 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10452
10453         * box.h: #include "support/LOstream.h", needed for inlined function.
10454
10455         * lyxtextclass.C:
10456         * lyxtextclasslist.C: added some using std declarations.
10457
10458 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * box.h: make signed dimensions to allow insets wider than
10461           the screen (bug #162)
10462
10463         * BufferView_pimpl.C: add some insetHit debug
10464
10465 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * vc-backend.C: add FIXME
10468
10469 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * lyxfunc.C (getStatus): enable code for showing math font status
10472         in toolbar/menu.
10473
10474 2002-01-07  Juergen Vigna  <jug@sad.it>
10475
10476         * text.C (nextBreakPoint): removed debug output not needed anymore.
10477
10478 2002-01-06  Juergen Vigna  <jug@sad.it>
10479
10480         * text.C (nextBreakPoint): fixed up this function we had this bug
10481         since ever but now hopefully we break row better.
10482         (insertChar): we have to check if an inset is the next char as it
10483         could now happen that a large inset is causing a break.
10484
10485 2002-01-05  Juergen Vigna  <jug@sad.it>
10486
10487         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10488         if it doesn't like to be drawed.
10489
10490 2002-01-04  Juergen Vigna  <jug@sad.it>
10491
10492         * BufferView2.C (lockInset): forgot to set a cursor.
10493
10494         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10495
10496 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10497
10498         * FormMathsPanel.C:
10499         * FormMathsPanel.h
10500         * MathsSymbols.C:
10501         * form_maths_panel.C:
10502         * form_maths_panel.h:
10503         * form_maths_panel.fd: implemented sub- and super- buttons in math
10504         panel.
10505
10506         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10507         (or ^ space) to be used as in TeX (req'd by André).
10508
10509         * lyxfunc.C: Allow ^ and _ again to be used both as
10510         super/subscript (mathed) and as themselves (in text).
10511
10512 2002-01-03  Allan Rae  <rae@lyx.org>
10513
10514         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10515         "LyX" or the filename of the current buffer if it has one.  This is a
10516         modified form of John Levon's patch.
10517
10518         * XFormsView.C (setWindowTitle): also set icon title.
10519
10520         * LyXView.h (setWindowTitle): signature changed.
10521         * XFormsView.h (setWindowTitle): ditto.
10522
10523 2002-01-02  Juergen Vigna  <jug@sad.it>
10524
10525         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10526
10527 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * screen.C (topCursorVisible): introduce a temp var for
10530         text->cursor.row(), handle the case where this row is null. (kindo
10531         hachish)
10532
10533         * text2.C (setCursor): add a couple of asserts.
10534
10535         * paragraph.h (inset_iterator): add -> operator
10536
10537         * paragraph.[Ch] (autoDeleteInsets): remove member function
10538
10539         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10540         cursor pos correctly and handle inset deletion by itself.
10541         (insertErrors): move iterator declaration out of for expression
10542
10543         * lyxtextclass.C: add <algorithm>
10544
10545         * Makefile.am: added the new files to sources, removed layout.C
10546
10547         * layout.C: removed file
10548
10549         * layout.h: remove LYX_DUMMY_LAYOUT
10550
10551         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10552         layout.
10553
10554         * lyxlayout.[Ch]:
10555         * lyxtextclass.[Ch]:
10556         * lyxtextclasslist.[Ch]: new files
10557
10558         * include order changes to a lot of files, also changes because of
10559         the six new files.
10560
10561 2001-12-27  Juergen Vigna  <jug@sad.it>
10562
10563         * buffer.C (asciiParagraph): more fixes.
10564
10565         * tabular.C (ascii): make ascii export support export of only the
10566         data separated by a column-delimiter.
10567         (ascii): better support for ascii export.
10568
10569         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10570
10571 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * tabular_funcs.C: use a "using std::getline" instead of the
10574         previous fix from Angus (necessary for cxx + lyxstring)
10575
10576 2001-12-24  Juergen Vigna  <jug@sad.it>
10577
10578         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10579
10580         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10581         problems. First check a minipage also if we have some ert-contents
10582         (not only on par->size(), second set the right depth of the paragraph
10583         on the relink to the root-paragraph-list!
10584
10585         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10586         which then did not anymore update the main paragraphs on undo/redo!
10587
10588 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10589
10590         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10591         code. Support all font-changing funcs (even those which are not in
10592         menu currently). Support for reporting font settings in
10593         mathed (disabled until Andre provides a function on mathed's side).
10594
10595         * func_status.h (toggle): small helper function to set toggle
10596         state on a flag.
10597
10598 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10599
10600         * tabular_funcs.C: getline -> std::getline
10601
10602 2001-12-21  Juergen Vigna  <jug@sad.it>
10603
10604         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10605         accessed and could be 0 (I couldn't generate this but it seems
10606         Michael could!).
10607
10608 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10611         * tabular_funcs.h: here and include iosfwd
10612
10613 2001-12-20  Juergen Vigna  <jug@sad.it>
10614
10615         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10616         inside inset but undo_par was.
10617
10618 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * Thesaurus.C: always include <config.h> in sources.
10621
10622         * Painter.h:
10623         * lyxlookup.h:
10624         * box.h: do not include <config.h> in header files
10625
10626         * text.C (paintLastRow): remove unused variable
10627
10628         * text.C (transformChar):
10629         (insertChar):
10630         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10631
10632         * Painter.C (text):
10633         * font.C (width): rewrite to use uppercase() instead of
10634         islower/toupper.
10635
10636         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10637
10638 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * lyxfind.C: clean up of find failure position change
10641
10642 2001-12-20  Juergen Vigna  <jug@sad.it>
10643
10644         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10645
10646         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10647         (TeXRow): added to LaTeX a single tabular row.
10648         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10649         (Latex): simplified and finally good LT-h/f support.
10650         (various_functions): just small adaptions for LT-h/f support.
10651
10652         * tabular_funcs.[hC]: added and moved here all not classfunctions
10653         of LyXTabular.
10654
10655 2001-12-19  Juergen Vigna  <jug@sad.it>
10656
10657         * tabular.[Ch]: better support for longtabular options (not finished
10658         yet!)
10659
10660 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * text.C (paintLastRow): use the label font instead of the font of
10663         the last character to compute the size of *_BOX. This makes more
10664         sense and avoids a crash with empty paragraphs.
10665         Use Painter::rectangle to draw EMPTY_BOX.
10666
10667 2001-12-19  Juergen Vigna  <jug@sad.it>
10668
10669         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10670         the paragraphs if the replaced paragraph is not the first one!
10671         Tried to delete not used paragraphs but does not work yet so for
10672         now it's inside #ifdef's and by default off!
10673
10674 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * MenuBackend.C: include "lyx_main.h" instead of declaring
10677         lastfiles (actually was declared as LastFiles* instead of a
10678         scoped_ptr).
10679
10680 2001-12-17  Juergen Vigna  <jug@sad.it>
10681
10682         * tabular.C (AppendColumn): applied John's fix
10683
10684 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * BufferView.h:
10687         * BufferView.C:
10688         * BufferView_pimpl.h:
10689         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10690
10691         * Makefile.am:
10692         * box.h: new start of class for above
10693
10694         * lyxfunc.C: ignore space-only minibuffer dispatches.
10695           Show the command name when it doesn't exist
10696
10697         * minibuffer.C: don't add empty lines to the history
10698
10699         * minibuffer.C: add a space on dropdown completion
10700
10701 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * text.C: fix line above/below drawing in insets
10704
10705 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * lyxlength.C (LyXLength): Initialize private variables.
10708
10709 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10710
10711         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10712         when inserting error insets.
10713
10714 2001-12-13  Juergen Vigna  <jug@sad.it>
10715
10716         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10717         actually sometimes the before-paragraph.
10718         (setUndo): don't clear the redostack if we're not actually undoing!
10719
10720 2001-12-06  Juergen Vigna  <jug@sad.it>
10721
10722         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10723         and fixed redoing of main paragraph, so we can use it now ;)
10724
10725         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10726
10727 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10730         Juergen's request
10731
10732 2001-12-13  André Pönitz <poenitz@gmx.net>
10733
10734         * undostack.[Ch]:
10735         * undo_func.C: minor cleanup
10736
10737 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10740         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10741         font in urw-fonts package which is marked as -urw-fontspecific and
10742         does not work (incidentally, changing the encoding in the
10743         fonts.dir of this package to -adobe-fontspecific fixes the
10744         problem).
10745
10746         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10747         is a crash when undoing first paragraph (Juergen, please take a
10748         look). THis does not mean the undo fix is wrong, just that it
10749         uncovers problems.
10750
10751         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10752         the (Paragraph*) version when needed instead of duplicating the
10753         code.
10754
10755         * text.C (workWidth): use Inset::parOwner to find out where the
10756         inset has been inserted. This is a huge performance gain for large
10757         documents with lots of insets. If Inset::parOwner is not set, fall
10758         back on the brute force method
10759
10760         * paragraph_pimpl.C (insertInset):
10761         * paragraph.C (Paragraph):
10762         (cutIntoMinibuffer): set parOwner of insets when
10763         inserting/removing them
10764
10765         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10766
10767 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10768
10769         * commandtags.h:
10770         * LyXAction.C:
10771         * lyx_main.C:
10772         * lyxfunc.C:
10773         * mathed/formulabase.C:
10774         * mathed/math_cursor.[Ch]:
10775         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10776
10777
10778 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * lyxlength.[Ch] (operator!=): new function
10781
10782 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * text.C (workWidth): use Inset::parOwner to find out where the
10785         inset has been inserted. This is a huge performance gain for large
10786         documents with lots of insets. If Inset::parOwner is not set, fall
10787         back on the brute force method
10788
10789         * paragraph_pimpl.C (insertInset):
10790         * paragraph.C (Paragraph):
10791         (cutIntoMinibuffer): set parOwner of insets when
10792         inserting/removing them
10793
10794         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10795
10796 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * tabular-old.C (getTokenValue):
10799         * tabular.C (getTokenValue):
10800         (write_attribute): new versions for LyXLength
10801         (everywhere): adjust the use of widths
10802
10803         * tabular.h: change the type of widths from string to LyXLength
10804
10805 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10806
10807         * paragraph.C: fixed missing line number count when exporting
10808         Environments to LaTeX file
10809
10810         * buffer.C: added informational message for checking line numbers.
10811
10812 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10815         paragraph, do the 'double space' part, but not the 'empty
10816         paragraph' one.
10817
10818         * text.C (workWidth): small optimization
10819         (getLengthMarkerHeight): use minimal size for negative lengths.
10820
10821 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10824
10825         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10826
10827 2001-12-11  André Pönitz <poenitz@gmx.net>
10828
10829         * FontLoader.C:
10830         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10831
10832 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * text2.C: keep selection on a setFont()
10835
10836 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * lyx_cb.C: another bv->text misuse, from insert label
10839
10840 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * kbsequence.h:
10843         * kbsequence.C: re-instate nmodifier mask
10844
10845 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * lyx_main.h: make lyxGUI private.
10848
10849 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * lyxfind.C: place the cursor correctly on failed search
10852
10853 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * text.C (getLengthMarkerHeight): for small heights, the arrows
10856         are not always on top/bottom of the text
10857         (drawLengthMarker): smaller arrows; take the left margin in
10858         account; draw also vfills.
10859         (paintFirstRow):
10860         (paintLastRow): remove special code for vfill and standard spaces,
10861         since everything is handled in drawLengthMarker now.
10862
10863 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10864
10865         * buffer.C (insertErtContents): try to handle font and language
10866         interaction a bit better.g
10867
10868         * ColorHandler.C (updateColor): change the hash to cover the whole
10869         LColor enum, ws cleanup
10870         (getGCLinepars): ditto
10871         (getGCLinepars): only lookup in the linecache once.
10872
10873 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10874
10875         * iterators.C (operator++): Make the iterator more robust
10876
10877         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10878         (John's patch)
10879         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10880
10881 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * lyxtext.h:
10884         * text.C: better added space drawing
10885
10886 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * LyXView.C:
10889         * BufferView2.C: fix layout combo update on inset unlock
10890
10891 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * Makefile.am: don't compile unused files
10894
10895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * lyxfunc.C:
10898         * commandtags.h:
10899         * LyXAction.C: remove old LFUN_LAYOUTNO
10900
10901 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * paragraph_pimpl.h:
10904         * paragraph_pimpl.C: isTextAt() doesn't need font param
10905
10906 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * lyxlex.h:
10909         * lyxlex.C: little cleanup
10910
10911 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView_pimpl.C: fix insertAscii for insets
10914
10915 2001-12-05  Juergen Vigna  <jug@sad.it>
10916
10917         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10918         set the right font on the "multi" paragraph paste!
10919
10920 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * trans_decl.h:
10923         * trans_mgr.[Ch]:
10924         * trans.[Ch]:
10925         * lyxgluelength.C:
10926         * lyxlength.C: remove out-commented code.
10927
10928         * BufferView_pimpl:
10929         * CutAndPaste.C:
10930         * DepTable.C:
10931         * buffer.C:
10932         * chset.C:
10933         * lastfiles.C:
10934         * lyxlex.C:
10935         * lyxlex_pimpl.C:
10936         * lyxserver.C:
10937         * screen.C:
10938         * tabular-old.C:
10939         * tabular.C:
10940         * text.C:
10941         * trans_mgr.C:
10942         * vc-backend.C: change "while(" to "while ("
10943
10944         * lyxlength.[Ch]: add zero function to check if length is zero or
10945         not
10946         * lyxgluelength.C: use it
10947
10948 2001-12-05  Allan Rae  <rae@lyx.org>
10949
10950         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10951         Works for 2.95.3, from what I understand of Garst's reports this should
10952         work for other g++ versions.  We're screwed if the abs(int) definition
10953         changed between bugfix releases of gcc.
10954
10955 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * text.C: fix chapter label offset !
10958
10959 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * lyxtext.h:
10962         * text.C: fix hfill at end of line, clean up
10963
10964 2001-12-04  Juergen Vigna  <jug@sad.it>
10965
10966         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10967         that we force an update of the inset and it's owners if neccessary.
10968
10969 2001-12-03  Juergen Vigna  <jug@sad.it>
10970
10971         * text.C (rowLast): simplified code
10972
10973 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * lyxfunc.C: fix show options on timeout
10976
10977 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10978
10979         * screen.C (topCursorVisible): scroll half a page when the cursor
10980         reached top of bottom of screen
10981
10982 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * minibuffer.C: deactivate on loss of focus
10985
10986 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * vspace.[Ch] (operator!=): add operator.
10989
10990 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * BufferView_pimpl.C: refuse to open an inset when
10993         there's a selection.
10994
10995 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView_pimpl.C: allow to click on RHS of full row insets
10998
10999 2001-11-30  Juergen Vigna  <jug@sad.it>
11000
11001         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11002         insets for undo reasons.
11003
11004 2001-11-28  André Pönitz <poenitz@gmx.net>
11005
11006         * vspace.[Ch]: cosmetical changes
11007
11008 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * LyXAction.h:
11011         * LyXAction.C:
11012         * lyxfunc.h:
11013         * lyxfunc.C:
11014         * kbmap.h:
11015         * kbmap.C:
11016         * lyxrc.C:
11017         * kbsequence.h:
11018         * kbsequence.C: part re-write of old kb code
11019
11020         * Painter.C:
11021         * WorkArea.C: remove Lgb_bug_find_hack
11022
11023 2001-11-30  José Matos <jamatos@fep.up.pt>
11024
11025         * buffer.C (makeDocBookFile): add a comment to point a hack.
11026         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11027         Fixed a double write of labels.
11028
11029 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11030
11031         * LaTeX.C:
11032         * LaTeX.h Fixed bug in LaTeX class where it would not
11033         re-run latex if no depfiles were changed, but the .dvi was removed.
11034
11035 2001-11-28  André Pönitz <poenitz@gmx.net>
11036
11037         * all the files from the change on 2001/11/26:
11038         use lyx::layout_type instead of LyXTextClass::size_type
11039         use lyx::textclass_type instead of LyXTextClassList::size_type
11040
11041 2001-11-29  Juergen Vigna  <jug@sad.it>
11042
11043         * text.C: added support for paragraph::isFreeSpacing()
11044
11045         * buffer.C: same as above
11046
11047         * paragraph.h: inserted isFreeSpacing() function to enable
11048         FreeSpacing inside InsetERT.
11049
11050         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11051         of the paragraph's in the cut/copy buffer to 0!
11052
11053         * text2.C (removeRow): remove the assert as it can!
11054
11055         * lyxtext.h: added helper function firstRow returning firstrow and
11056         made firstrow private again.
11057
11058         * BufferView2.C (lockInset): don't relock if we're already locked!
11059
11060         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11061         the only paragraph.
11062         (removeRow): added Assert::(firstrow)
11063
11064         * debug.C: forgot to add INSETTEXT here.
11065
11066 2001-11-28  Juergen Vigna  <jug@sad.it>
11067
11068         * sp_spell.C (initialize): changed error text to more general
11069         spellchecker command use (not only ispell!)
11070
11071         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11072
11073         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11074
11075 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * vspace.C: initialise lyxgluelength on failure
11078
11079 2001-11-28  Allan Rae  <rae@lyx.org>
11080
11081         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11082         declaration & definition that looks like a function declaration.
11083
11084 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * BufferView2.C (copy):
11087         (copyEnvironment): do not clear the selection when doing a copy.
11088
11089         * text.C (paintFirstRow): compilation fix
11090
11091 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11092
11093         * tabular.C (Latex): correct line count when writing latex.
11094
11095 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * paragraph_pimpl.h:
11098         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11099           bug a bit
11100
11101 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * text.C:
11104         * LColor.h:
11105         * LColor.C: change vfillline->added_space
11106
11107         * text.C: add markers and text for added space
11108
11109         * vspace.C: fix comment
11110
11111 2001-11-28  André Pönitz <poenitz@gmx.net>
11112
11113         * paragraph.C: whitespace changes
11114         * all the other files from the change on 2001/11/26:
11115         change *::pos_type into lyx::pos_type
11116
11117 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11118
11119         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11120         language of the document when inserting error insets.
11121
11122 2001-11-26  André Pönitz <poenitz@gmx.net>
11123
11124         * BufferView_pimpl.[Ch]:
11125         *       CutAndPaste.C:
11126         * buffer.[Ch]:
11127         * lyxcursor.[Ch]:
11128         * lyxfind.C:
11129         * lyxfunc.C:
11130         * lyxrow.[Ch]:
11131         * paragraph.[Ch]:
11132         * paragraph_pimpl.[Ch]:
11133         * sp_spell.C:
11134         * text.C:
11135         * text2.C: reduce header dependencies, introduce type for positions
11136
11137 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * <various>: change to use Alert.h
11140
11141 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11144         when encountering an unknown token.
11145         (readLyXformat2): Show an error message if there were unknown tokens.
11146
11147 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * BufferView2.C:
11150         * BufferView_pimpl.C:
11151         * buffer.C:
11152         * paragraph.h:
11153         * text.C:
11154         * text2.C: use par->isInset()
11155
11156 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * paragraph_pimpl.h:
11159         * paragraph_pimpl.C: cleanup
11160
11161 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11162
11163         * text2.C (removeRow):
11164         * text.C (setHeightOfRow): remove useless (and costly) call to
11165         getRow.
11166
11167 2001-11-20  Allan Rae  <rae@lyx.org>
11168
11169         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11170         Now need Inset*::checkInsertChar() to return true for appropriate
11171         cases so that the characters in the minibuffer will actually be
11172         inserted.
11173
11174 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * text.C: change the order of the includes.
11177         (workWidth): initialize it at once.
11178         (workWidth): make maxw unsigned
11179         (setHeightOfRow): remove unused variable (inset)
11180         (selectSelectedWord): remove unused variable (inset)
11181         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11182
11183 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11184
11185         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11186         server is not running.
11187         (openConnection):
11188         (closeConnection): add debug info when server is disabled.
11189
11190         * ColorHandler.C (getGCForeground): send debug message to GUI
11191         channel.
11192
11193         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11194
11195         * kbmap.C (bind): modify because return conventions of
11196         kb_sequence::parse have changed.
11197
11198         * kbsequence.C (parse): only ignore spaces and not any stupid
11199         control character. This avoids tests like s[i] <= ' ', which are
11200         guaranteed to fail with 8bit characters and signed chars.
11201         Change return code to string::npos when there have been no error
11202         (0 was a bad idea when error is at first character)
11203
11204 2001-11-14  José Matos  <jamatos@fep.up.pt>
11205
11206         * buffer.h:
11207         * buffer.C (simpleDocBookOnePar): removed unused argument.
11208
11209 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11210
11211         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11212         insets which are part of a word. Paragraph::isLetter takes care of
11213         that now. Use Paragraph::isInset to identify insets.
11214         (selectSelectedWord): do not test for hyphenation break.
11215
11216         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11217         that protected spaces are considered as spaces.
11218
11219         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11220         Inset::isLetter.
11221
11222 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * lyxserver.h:
11225         * lyxserver.C: fix it. and small cleanup.
11226
11227 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * BufferView_pimpl.C: use inline helpers
11230
11231         * LaTeXFeatures.h:
11232         * LaTeXFeatures.C: fix typos
11233
11234         * Spacing.h:
11235         * Spacing.C: move spacing_string into class
11236
11237         * ToolbarDefaults.C: move stuff into namespace anon
11238
11239         * layout.h: update enum
11240
11241         * lyxfunc.C: use better debug
11242
11243         * minibuffer.h: fix typo
11244
11245         * debug.h:
11246         * debug.C:
11247         * WorkArea.C: add and use Debug::WORKAREA
11248
11249         * lyxtext.h:
11250         * text.C:
11251         * text2.C: code re-organisation, inline helpers
11252
11253 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11254
11255         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11256         std::vector.empty().
11257
11258 2001-11-09  Allan Rae  <rae@lyx.org>
11259
11260         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11261         '\n's after tables.  Tabular and ERT inset work now makes this no
11262         longer necessary.
11263
11264 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * minibuffer.h:
11267         * minibuffer.C: fix crash, improve drop-down completion
11268
11269 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * lyxserver.h:
11272         * lyxserver.C: invalidate fd's when doing endPipe()
11273
11274 2001-11-08  José Matos  <jamatos@fep.up.pt>
11275
11276         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11277         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11278
11279         * paragraph.h:
11280         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11281
11282 2001-11-07  José Matos  <jamatos@fep.up.pt>
11283
11284         * buffer.h:
11285         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11286         const qualifier.
11287
11288         * buffer.C (sgmlOpenTag):
11289         * buffer.C (sgmlCloseTag): removed debug info.
11290
11291         * buffer.h (sgmlOpenTag):
11292         * buffer.h (sgmlCloseTag): made public.
11293
11294 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11295
11296         * buffer.C (saveParamsAsDefaults):
11297         * lyx_cb.C (MenuLayoutSave): remove
11298
11299         * LyXAction.C (init):
11300         * commandtags.h:
11301         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11302
11303 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11304
11305         * buffer.C (setPaperStuff): removed from here...
11306
11307         * bufferparams.C (setPaperStuff): ... and moved there.
11308
11309 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * minibuffer.h:
11312         * minibuffer.C:
11313         * XFormsView.C: add support for drop-down completion
11314
11315 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11316
11317         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11318         commands.
11319
11320 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11321
11322         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11323         disabled.
11324
11325 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * lyx_main.C: change ref to known bugs
11328
11329 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11330
11331         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11332         to work around older babel problems.
11333
11334 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11335
11336         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11337
11338 2001-10-24  Juergen Vigna  <jug@sad.it>
11339
11340         * tabular-old.C (ReadOld): below variable changes reflected.
11341
11342         * tabular.[Ch]: added ltType struct for longtable header/footer
11343         defines and changed all instances where they are used. Added
11344         future support for double top/bottom rows.
11345
11346 2001-10-24  José Matos  <jamatos@fep.up.pt>
11347
11348         * buffer.h (docbookHandleCaption):
11349         * buffer.C (docbookHandleCaption): removed unused function.
11350         (makeDocBookFile): moved docbook supported version to v4.1.
11351
11352 2001-10-24  José Matos  <jamatos@fep.up.pt>
11353
11354         * tabular.h:
11355         * tabular.C (docbookRow): new function to export docbook code of a row.
11356         (DocBook): now honors the longtable flags.
11357
11358 2001-10-23  José Matos  <jamatos@fep.up.pt>
11359
11360         * LaTeXFeatures.h:
11361         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11362         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11363
11364         * buffer.C (makeLinuxDocFile):
11365         (makeDocBookFile): reworked the preamble, more clean, and with
11366         support for lyx defined entities. Changed the document declaration
11367         to be more XML friendly.
11368
11369         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11370         if we need to output XML that should be done with a filter.
11371
11372 2001-10-22  Juergen Vigna  <jug@sad.it>
11373
11374         * sp_pspell.h (class PSpell): add alive function needed in the
11375         controller to see if the spellchecker could be started.
11376
11377 2001-10-22  Juergen Vigna  <jug@sad.it>
11378
11379         * buffer.C (insertStringAsLines): modify the font for inserting
11380         chars in certain conditions by calling checkInsertChar(font).
11381
11382 2001-10-19  Juergen Vigna  <jug@sad.it>
11383
11384         * text.C (workWidth): use getRow instead of wrong algorithm.
11385         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11386
11387 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * lyxserver.h:
11390         * lyxserver.C:
11391         * lyx_main.h:
11392         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11393
11394 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11395
11396         * text.C (workWidth): do not search for the exact row when
11397         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11398         optimization for big documents.
11399
11400 2001-10-18  Juergen Vigna  <jug@sad.it>
11401
11402         * text.C (workWidth): new function with added Inset * parameter.
11403
11404 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11407
11408         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11409         change return type of getColumnNearX.
11410
11411
11412         * text.C (changeRegionCase): use uppercase/lowercase instead of
11413         toupper/tolower.
11414         (leftMargin):
11415         (rightMargin): simplify code by factoring out the uses of
11416         textclasslist.
11417         (labelFill):
11418         (numberOfHfills):
11419         (setHeightOfRow):
11420         (appendParagraph): use Paragraph::size_type
11421
11422 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * vspace.C (asLatexString): add a missing break
11425
11426 2001-10-15  Herbert Voss  <voss@perce.de>
11427
11428         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11429
11430 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11433         is not available.
11434
11435 2001-10-10  André Pönitz <poenitz@gmx.net>
11436
11437         * lyxfunc.C: removed greek_kb_flag.
11438
11439 2001-10-10  Herbert Voss  <voss@perce.de>
11440
11441         * lyx_main.C: delete global string help_lyxdir.
11442
11443 2001-10-09  Herbert Voss  <voss@perce.de>
11444
11445         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11446
11447         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11448
11449         * lyx_main.C: added global string help_lyxdir.
11450
11451         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11452
11453 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11454
11455         * lyxrc.C (set_font_norm_type): support iso8859-4
11456
11457 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11458
11459         * LaTeX.C (deplog): add another regex for MikTeX
11460
11461 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11462
11463         * lyxrc.C (set_font_norm_type): support iso8859-3
11464
11465 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11466
11467         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11468
11469         * LaTeXFeatures.C: remove special case of french and index
11470
11471         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11472         before \begin{document}). This solves several incompatibilities.
11473
11474 2001-10-03  Garst Reese  <reese@isn.net>
11475
11476         * lyx_cb.C: change CheckTex error msg.
11477
11478 2001-10-03  José Matos  <jamatos@fep.up.pt>
11479
11480         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11481
11482 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11483
11484         * .cvsignore: update
11485
11486         * lyx_main.C (commandLineVersionInfo): use new style version info.
11487
11488         * buffer.C (writeFile):
11489         (makeLaTeXFile):
11490         (makeLinuxDocFile):
11491         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11492
11493         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11494
11495         * version.h: update to use stuff in version.C
11496
11497         * version.C.in: new file. Contains version information determined
11498         at compile time. This is a merging of version.h and
11499         version_info.h.in.
11500
11501 2001-10-03  Juergen Vigna  <jug@sad.it>
11502
11503         * BufferView_pimpl.C (update): don't change "dirty" status in
11504         updateInset call.
11505
11506 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * WorkArea.C (c-tor): re-position version string slightly.
11509
11510 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11513         revert to previous code.
11514
11515         WorkArea.[Ch]: (show, destroySplash): methods removed.
11516
11517         WorkArea.C: rework code so that it's an amalgam of the codes before and
11518         after the splash screen was moved to WorkArea.
11519
11520 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11521
11522         * lyxrc.C (read):
11523         * vspace.C (inPixels):
11524         (lyx_advance):
11525         * kbmap.C (bind):
11526         * buffer.C (insertStringAsLines):
11527         (asciiParagraph): fix types to be large enough
11528
11529         * lyxlex_pimpl.h: change member status from short to int
11530
11531         * layout.h: fix type of endlabeltype
11532
11533         * kbmap.C (bind):
11534         * kbsequence.C (parse): change return type to string::size_type
11535
11536         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11537         variable
11538
11539         * Bullet.C (bulletSize):
11540         (bulletEntry): do not use short ints as parameters
11541
11542         * BufferView2.C (insertLyXFile): change a char to an int.
11543
11544         * WorkArea.C (WorkArea): remove unneeded floats in computation
11545
11546 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11547
11548         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11549
11550         * paragraph.C (asString): Do not ignore newline/hfill chars when
11551         copying to the clipboard.
11552
11553 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11554
11555         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11556         after a multi-line inset.
11557
11558 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11559
11560         * paragraph.C (validate): Set NeedLyXFootnoteCode
11561
11562 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11563
11564         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11565         and decrease-error to decrease.
11566
11567 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11568
11569         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11570         it more readable (should be equivalent)
11571
11572 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11573
11574         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11575
11576 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11577
11578         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11579         of a cursor (row, etc.) after a character has been deleted
11580         (deleteEmptyParagraphMechanism): call the method above on _all_
11581         cursors held by the LyXText when a double space has been
11582         detected/deleted.
11583
11584 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11585
11586         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11587         pixmap.
11588         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11589
11590         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11591         background. Use greyOut() and the new show() methods to toggle between
11592         the foreground and background. Add code to remove the splash after
11593         its initial showing.
11594
11595         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11596         (create_forms): no longer call Dialogs::showSplash.
11597
11598 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * .cvsignore: add version_info.h
11601
11602 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * version_info.h.in: new file
11605
11606         * Makefile.am: add version_info.h.in
11607
11608         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11609         version_info.h instead of VERSION_INFO
11610
11611 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11614         The ERT inset now returns string().
11615
11616 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11617
11618         * lyxtext.h, text.C (selectNextWord): renamed as
11619         selectNextWordToSpellcheck.
11620
11621         * text.C (selectNextWordToSpellcheck): Modified to not select
11622         words inside an ERT inset.
11623
11624 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * lyx_cb.C (MenuLayoutSave): change a bit the question
11627
11628         * sp_base.h: include <sys/types.h>
11629
11630 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11633
11634 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11635
11636         * several files: fix typos in user-visible strings
11637
11638 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * text2.C (pasteSelection): do not set the selection, since it
11641         will be cleared later. Actually, the intent was to fix the way the
11642         selection was set, but I figured rmoving the code was just as good.
11643
11644 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11645
11646         * FontLoader.C (available): Check if font is available without
11647         loading the font.
11648
11649 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11650
11651         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11652
11653 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11654
11655         * lyxrc.[Ch]: added display_graphics variable and associated code.
11656
11657 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * bufferparams.C (hasClassDefaults): new method. Returns true if
11660         the buffer parameters correspond to known class defaults
11661
11662 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11663
11664         * XFormsView.C (show): set minimum size to the main window.
11665
11666 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11667
11668         * text2.C (copySelection):
11669         (cutSelection):
11670         * lyxfind.C (LyXReplace):
11671         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11672         LyXText::selectionAsString.
11673
11674         * paragraph.C (asString): add "label" argument to the second form
11675
11676         * text2.C (selectionAsString): add "label" argument and pass it to
11677         Paragraph::asString.
11678
11679 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11680
11681         * lyx_main.C (commandLineHelp): remove version information
11682
11683 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11684
11685         * lyx_main.C: add -version commandline option
11686
11687 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * paragraph.h: make the optional constructor arg required instead.
11690         some modifications to other files because of this.
11691
11692         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11693
11694         * lyxserver.C (C_LyXComm_callback): make it static
11695
11696         * lyx_main.C (error_handler): make it static
11697
11698         * lyx_gui.C (LyX_XErrHandler): make it static
11699
11700         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11701
11702         * WorkArea.C: make the extern "C" methods static.
11703
11704         * Makefile.am (lyx_LDADD): simplify
11705
11706 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11707
11708         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11709         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11710
11711         * LyXAction.C (init):
11712         * lyxfunc.C (dispatch): associated code removal.
11713
11714 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11715
11716         * lyxfont.h (isSymbolFont): shut off warning
11717
11718         * text.C (setHeightOfRow):
11719         (getVisibleRow): fix crash with empty paragraphs which have a
11720         bottom line
11721
11722 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11723
11724         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11725         code.
11726
11727 2001-09-04  José Matos  <jamatos@fep.up.pt>
11728         * buffer.C
11729         * buffer.h
11730         * tabular.C (docbook): rename docBook method to docbook.
11731
11732 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * Makefile.am: add dependencies to main.o.
11735
11736 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11737
11738         * FontLoader.C (available): Return false if !lyxrc.use_gui
11739
11740 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11741
11742         * FontInfo.C (query):
11743         * converter.C (view):
11744         * importer.C (Import):
11745         * exporter.C (Export): Can not -> cannot.
11746
11747 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * BufferView_pimpl.C: allow to create index inset even if
11750           string is empty
11751
11752 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11753
11754         * buffer.C (getLists): replace boost::tie code with an explicit pair
11755         as boost::tie can break some compilers.
11756
11757         * iterators.h: Added a std:: declaration to the return type of
11758         ParIterator::size.
11759
11760 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11763           case.
11764
11765 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11766
11767         * iterators.[Ch]: New files. Provide paragraph iterators.
11768
11769         * buffer.C (changeLanguage): Use paragraph iterators.
11770         (isMultiLingual): ditto
11771
11772         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11773
11774 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11775
11776         * FontLoader.C: Support for cmr font.
11777
11778 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11779
11780         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11781         (available): New method.
11782
11783         * FontInfo.C (getFontname): Use scalable fonts even when
11784         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11785         found.
11786
11787 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11788
11789         * converter.C (Formats::view): reverted! Incorrect fix.
11790
11791 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11792
11793         * converter.C (Formats::view): only output the -paper option
11794         if the dvi viewer is xdvi, thereby fixing bug #233429.
11795
11796 2001-08-23  Herbert Voss  <voss@perce>
11797
11798         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11799
11800 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11801
11802         * Spacing.h (Spacing): Set space to Default on in the default
11803         constructor.
11804
11805 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * vc-backend.h (RCS::versionString): add RCS to version
11808         (CVS::versionString): add CVS to version
11809
11810         * vc-backend.C (scanMaster): do not add CVS to version.
11811         (scanMaster): do not add RCS to version
11812
11813         * lyxvc.C (versionString): new method
11814
11815         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11816
11817 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * Spacing.C (set): initialize fval
11820
11821 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11822
11823         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11824         " or \.
11825
11826 2001-08-16  Juergen Vigna  <jug@sad.it>
11827
11828         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11829
11830 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * BufferView_pimpl.C:
11833         * figureForm.C:
11834         * lyxtext.h:
11835         * text2.C: setParagraph takes linespacing now
11836
11837 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * LyxAction.C: add internal LFUN_CITATION_INSERT
11840
11841         * LyXView.C: actually apply fix
11842
11843         * bufferlist.C: fix open non-existent file
11844
11845         * lyxfind.C: fix indentation
11846
11847         * lyxfunc.C: remove unneeded assert, fix typo
11848
11849 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * MenuBackend.C: use "Floatname List"
11852
11853 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11854
11855         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11856         when converting LaTeX layout to insetERT.
11857         Generate a non-collapsed float when reading old float
11858
11859 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11860
11861         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11862         ERT insets.
11863
11864 2001-08-13  Juergen Vigna  <jug@sad.it>
11865
11866         * text.C (fill): return 0 instead of 20 as this seems to be the more
11867         correct value.
11868
11869 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11872         lyxrc.font_norm.
11873
11874 2001-08-13  Juergen Vigna  <jug@sad.it>
11875
11876         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11877         casesensitive off.
11878         (SearchBackward): comment out the unlocking of the inset_owner this
11879         should not be needed!
11880
11881 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11882
11883         * Many files: Remove inherit_language, and add latex_language
11884
11885         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11886         collapsible insets.
11887
11888 2001-08-10  Juergen Vigna  <jug@sad.it>
11889
11890         * text.C (prepareToPrint): fixed hfill-width in draw!
11891
11892         * BufferView2.C (selectLastWord): save the selection cursor as this
11893         now is cleared in the function LyXText::clearSelection!
11894
11895 2001-08-08  Juergen Vigna  <jug@sad.it>
11896
11897         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11898         BACKSPACE type functions.
11899
11900         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11901         is only cutted from the document but not put in the cut-buffer, where
11902         still the old stuff should be.
11903
11904         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11905
11906         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11907
11908         * tabular.C (SetWidthOfCell): fixed special case where the width
11909         was not updated!
11910         (LeftLine): handle '|' in align_special.
11911         (RightLine): ditto
11912         (LeftAlreadyDrawed): ditto
11913         (SetWidthOfCell): ditto
11914
11915 2001-08-07  Juergen Vigna  <jug@sad.it>
11916
11917         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11918
11919 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11920
11921         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11922         * lyxlex.[hC]: ditto
11923
11924 2001-08-06  Juergen Vigna  <jug@sad.it>
11925
11926         * text.C (getVisibleRow): fix up row clearing a bit.
11927
11928 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11929
11930         * minibuffer.C: make sure the X server sees the changes in the input.
11931
11932 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * paragraph.C (getFont): split into...
11935         (getLabelFont): this
11936         (getLayoutFont): and this
11937         * paragraph_pimpl.C (realizeFont): calling this
11938
11939         * text2.C (getFont): split into...
11940         (getLayoutFont): this
11941         (getLabelFont): and this
11942         (realizeFont): all three calling this
11943
11944         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11945         files where used.
11946
11947 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11948
11949         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11950
11951 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11952
11953         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11954         layouts from the Quote inset insertion.
11955
11956 2001-08-03  Juergen Vigna  <jug@sad.it>
11957
11958         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11959
11960         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11961         only if status not is already CHANGED_IN_DRAW (second level).
11962
11963         * text.C (draw): don't set the need_break_row when inside an
11964         InsetText LyXText.
11965
11966 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * buffer.C (parseSingleLyXformat2Token): handle more latex
11969         conversion cases.
11970
11971         * bufferview_funcs.[hC]: change function names to
11972         begin with small char, adjust other files.
11973
11974 2001-08-02  André Pönitz <poenitz@gmx.net>
11975
11976         * lyxfunc.C:
11977         BufferView_pimpl.C: remove broken special code for math-greek
11978
11979 2001-08-02  Juergen Vigna  <jug@sad.it>
11980
11981         * BufferView_pimpl.C (update): redone this function so that we
11982         update the text again if there was a CHANGE_IN_DRAW.
11983
11984         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11985         (drawFromTo): added a new internal bool which is used by draw() and
11986         redraw() function.
11987         (general): some cursor drawing problems fixed.
11988
11989 2001-08-01  Juergen Vigna  <jug@sad.it>
11990
11991         * lyxfind.C (LyXFind): fixed
11992         (SearchForward): ditto
11993         (SearchBackward): ditto
11994
11995         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11996         spurius drawing of the cursor in the main area.
11997
11998         * text2.C (status): small fix which could lead to a segfault!
11999         (clearSelection): remove unneeded BufferView param.
12000
12001 2001-08-01  André Pönitz <poenitz@gmx.net>
12002
12003         * lyxfunc.C: small change due to changed mathed interface
12004
12005 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12008
12009 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyxfunc.c: fail gracefully if file doesn't exist
12012
12013         * LyXSendto.C:
12014         * buffer.C:
12015         * lyxfunc.C:
12016         * BufferView_pimpl.C: IsDirWriteable() proto changed
12017
12018         * LyXView.C: fix updateWindowTitle() to store the last title
12019
12020 2001-07-31  Juergen Vigna  <jug@sad.it>
12021
12022         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12023         the font (wrong since using of Paragraph::highestFontInRange).
12024
12025         * paragraph.C (highestFontInRange): added a default_size parameter.
12026
12027         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12028         (setHeightOfRow): reformat
12029
12030 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * converter.[hC] + affected files: move to (inital-char)lowercase
12033         function names.
12034
12035         * ParagraphParameters.C (ParagraphParameters): remove commented code
12036
12037         * PainterBase.[Ch]: remove commented code
12038
12039         * LaTeXFeatures.h: add "bool floats" for float.sty
12040
12041         * LaTeXFeatures.C (LaTeXFeatures): init floats
12042         (require): handle float
12043         (getPackages): do it with floats
12044
12045 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * BufferView_pimpl.C (Dispatch): improve handling of
12048         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12049
12050         * commandtags.h: #include lyxfont.h here temporarily to avoid
12051         keybinding bug.
12052
12053         * bufferlist.h: include LString.h here.
12054
12055 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * text2.C (getStringToIndex): new method.
12058
12059 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12060
12061         * *: Reduced header file dependencies all over.
12062
12063 2001-07-30  Baruch Even  <baruch@lyx.org>
12064
12065         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12066
12067 2001-07-29  Baruch Even  <baruch@lyx.org>
12068
12069         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12070
12071 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * ParameterStruct.h (endif): add a default constructor to make
12074         sure that all variables is initialized.
12075
12076         * ParagraphParameters.C (ParagraphParameters): adjust
12077
12078 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12081         index; also, check that there is something to index, and that it
12082         does not span over several paragraphs.
12083         (doubleClick): use WHOLE_WORD_STRICT for double click.
12084
12085         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12086
12087         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12088         scheme.
12089
12090 2001-07-26  Baruch Even  <baruch@lyx.org>
12091
12092         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12093         an InsetFig figure, backwards compatible reading of old figure code.
12094
12095 2001-07-27  Juergen Vigna  <jug@sad.it>
12096
12097         * text2.C: font.realize function adaption.
12098
12099         * text.C (draw): add a warnings lyxerr text if needed.
12100
12101         * layout.C: font.realize function adaption.
12102
12103         * language.C: add inherit_language and implement it's handlings
12104
12105         * bufferview_funcs.C (StyleReset): remove language parameter from
12106         font creation (should be language_inherit now).
12107
12108         * bufferparams.C (writeFile): handle ignore_language.
12109
12110         * paragraph.C (getFontSettings): the language has to be resolved
12111         otherwise we have problems in LyXFont!
12112
12113         * lyxfont.C (lyxWriteChanges): added document_language parameter
12114         (update): removed unneeded language parameter
12115
12116         * paragraph.C (validate): fixed wrong output of color-package when
12117         using interface colors for certain fonts in certain environments,
12118         which should not seen as that on the final output.
12119
12120 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * BufferView_pimpl.C:
12123         * Thesaurus.h:
12124         * Thesaurus.C:
12125         * Makefile.am:
12126         * commandtags.h:
12127         * LyXAction.C: add thesaurus support
12128
12129         * lyxfind.h:
12130         * lyxfind.C: add "once" parameter, for thesaurus, to not
12131           move to the next match
12132
12133 2001-07-26  Juergen Vigna  <jug@sad.it>
12134
12135         * lyxfont.C (realize): honor ignore_language too!
12136         (resolved): ditto.
12137
12138         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12139
12140         * text.C (draw): one place more for ignore_language to not draw
12141         itself!
12142
12143 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12146
12147 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12150         the minipage conversion problem.
12151
12152 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12153
12154         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12155         insert an inset.
12156
12157 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * BufferView.h: don't forward declare WorkArea
12160
12161         * BufferView.C: don't include WorkArea.h
12162
12163 2001-07-25  André Pönitz <poenitz@gmx.net>
12164
12165         * commandtags.h:
12166         * LyXAction.C:
12167         * lyxfunc.C:  new LFUN 'math-space'
12168
12169         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12170
12171 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * text2.C (toggleInset): call open/close
12174
12175 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * lyxfunc.C (dispatch): add debug for the disabled case
12178
12179         * font.C (buttonText): make similar to rectText
12180
12181         * buffer.C (readInset): comment out parsing of insetlist and
12182         insttheorem
12183
12184         * PainterBase.C (rectText): small correction
12185
12186         * BufferView_pimpl.C: comment out insettheorem and insetlist
12187         * LyXAction.C: ditto
12188         * commandtags.h: ditto
12189
12190 2001-07-24  Juergen Vigna  <jug@sad.it>
12191
12192         * text.C (draw): honor the ignore_language.
12193
12194         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12195
12196 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12199         char inset.
12200
12201 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12202
12203         * lyxtext.h: remove unused (and unimplemented) methods
12204
12205 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12206
12207         * text.C (getVisibleRow): honor background color
12208
12209         * PainterBase.h:
12210         * Painter.h: remove default color argument for fillRectangle
12211
12212         * text.C (backgroundColor): new method
12213
12214 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * text.C (getVisibleRow): adjust
12217
12218         * font.[Ch] (rectText): new method, metrics
12219         (buttonText): new method, metrics
12220
12221         * PainterBase.[hC]: make rectText and buttonText always draw and take
12222         fewer paramteres.
12223
12224 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12225
12226         * ToolbarDefaults.C (read):
12227         * MenuBackend.C (read): allow escaping in all strings
12228
12229         * BufferView_pimpl.C (insertAndEditInset): new method.
12230         (Dispatch): use insertAndEditInset whenever appropriate.
12231
12232         * BufferView_pimpl.C (insertNote): removed
12233
12234         * BufferView_pimpl.C (smartQuote): new method, moved from
12235         BufferView; if an insetquote cannot be inserted, insert a '"'
12236         character instead.
12237
12238         * BufferView2.C: remove insertCorrectQuote();
12239
12240         * lyxfunc.C (getStatus): Add support for all remaingin
12241         inset-insert lfuns.
12242
12243         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12244
12245         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12246         command (necessary to pass " as parameter of self-insert.
12247
12248         * text.C (selectWordWhenUnderCursor):
12249         (selectWord): add word_location parameter
12250         (selectWordWhenUnderCursor): same + remove special code for word
12251         boundary.
12252         (selectNextWord): use kind() to guess type of insetspecialchar,
12253         not latex().
12254
12255         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12256         (insertErtContents): create ert insets as collapsed.
12257         (readInset): better compatibility code for Info inset.
12258
12259 2001-07-20  Juergen Vigna  <jug@sad.it>
12260
12261         * lyxfunc.C (dispatch): use always LyXFind now!
12262
12263         * text2.C (init): add a reinit flag so that the LyXText can be
12264         reinited instead of deleted and reallocated (used in InsetText).
12265
12266         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12267
12268         * text.C: ditto
12269
12270         * text2.C: ditto
12271
12272 2001-07-18  Juergen Vigna  <jug@sad.it>
12273
12274         * text.C (selectNextWord): handle insets inside inset by calling
12275         always the bv->text functions so that we can go up the_locking_inset!
12276
12277         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12278         in strange locations when inside an inset!
12279
12280         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12281         handling to include insets.
12282
12283         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12284
12285 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * LyXAction.C (init):
12288         * commandtags.h:
12289         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12290         LIGATURE_BREAK, since the name is so stupid.
12291
12292 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12295         InsetInfos.
12296
12297         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12298
12299         * sp_form.[Ch]: remove.
12300
12301         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12302
12303         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12304         InsetInfo.
12305
12306         * src/buffer.C (readInset): ditto.
12307
12308 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12309
12310         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12311         menuSeparator(), endOfSentenceDot(), ldots() and
12312         hyphenationPoint(), which are therefore removed.
12313         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12314
12315         * LyXAction.C (init):
12316         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12317
12318         * paragraph.C (getWord): removed.
12319
12320         * BufferView_pimpl.C (Dispatch): use last word or selection for
12321         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12322
12323         * lyx_main.C (queryUserLyXDir): do not ask before creating
12324         user_dir, except if it has been named explicitely.
12325
12326 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12329         a document of zero size.
12330
12331 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12334         approriately in the c-tor and in require().
12335         (getPackages): output the appropriate LaTeX for natbib support.
12336
12337         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12338         variables "use_natbib" and "use_numerical_citations" when reading the
12339         LyX file.
12340         (readInset): read the various natbib cite commands.
12341         (validate): white-space change.
12342
12343         * bufferparams.[Ch]: new variables "bool use_natbib" and
12344         "bool use_numerical_citations".
12345         (writeFile): output them in the LyX file.
12346
12347 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12348
12349         * lyxfunc.C (getStatus): add support for all the inset insertion
12350         commands.
12351
12352         * text2.C (insertInset):
12353         * paragraph.C (insetAllowed):
12354         * BufferView_pimpl.C (insertInset): update to take in account the
12355         renaming of insertInsetAllowed
12356
12357         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12358
12359         * text2.C (getInset): new method. returns inset at cursor position.
12360
12361         * BufferView_pimpl.C (Dispatch): changes because of this.
12362
12363         * LyXAction.C (init): rename open-stuff to inset-toggle.
12364
12365         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12366
12367         * text2.C (toggleInset): renamed from openStuff; use
12368         Inset::open().
12369
12370 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12371
12372         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12373
12374         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12375
12376 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * buffer.C (readLyXformat2): Add filename to the error dialog
12379
12380 2001-07-18  Juergen Vigna  <jug@sad.it>
12381
12382         * tabular.C (GetCellNumber): put an assert here instead of the check!
12383
12384 2001-07-17  Juergen Vigna  <jug@sad.it>
12385
12386         * BufferView_pimpl.C (toggleSelection): adapted too.
12387
12388         * text.C (selectNextWord): adapted for use with insets.
12389         (selectSelectedWord): ditto
12390
12391 2001-07-17  Juergen Vigna  <jug@sad.it>
12392
12393         * sp_spell.C (PSpell): fix initialitation order.
12394
12395 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * paragraph.C: spacing
12398
12399 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12400
12401         * sp_spell.C: repair language selection for pspell
12402
12403 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * lyxfunc.h: change more methods to begin with lower char.
12406
12407 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12410         for unknown layouts.
12411
12412 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12413
12414         * buffer.C (readLyXformat2): Generate an error dialog if there are
12415         unknown layouts.
12416
12417 2001-07-16  Juergen Vigna  <jug@sad.it>
12418
12419         * sp_spell.C: always compile ISpell part.
12420
12421         * lyxrc.C: added use_pspell entry and it's handling.
12422
12423 2001-07-13  Juergen Vigna  <jug@sad.it>
12424
12425         * sp_spell.C: removed double includes.
12426
12427 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         Consistent use of Lsstream.h:
12430         * Lsstream.h: added using std::stringstream for consistencies sake.
12431
12432         * buffer.C: removed using std::stringstream
12433
12434         * lyxfont.C (stateText):
12435         * paragraph.C (asString):
12436         * text.C (selectNextWord, selectSelectedWord):
12437         * text2.C (setCounter):
12438         * vspace.C (asString, asLatexString):
12439         std::ostringstream -> ostringstream.
12440
12441 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12442
12443         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12444         * commandtags.h: add LFUN_HELP_ABOUTLYX
12445         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12446
12447 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12448
12449         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12450         cursorToggle()
12451         * lyx_gui_misc.C: remove spellchecker
12452         * lyxfunc.C: showSpellchecker
12453         * sp_base.h: added
12454         * sp_ispell.h: added
12455         * sp_pspell.h: added
12456         * sp_spell.C: added
12457         * sp_form.[Ch]: removed
12458         * spellchecker.[Ch]: removed
12459
12460 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12461
12462         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12463         is set.
12464         (simpleTeXSpecialChars): Simply print the input character without
12465         any special translation if pass_thru is set.
12466
12467         * layout.h: Added bool pass_thru to layout class for being able to
12468         implement pass through of a paragraph for Literate Programming.
12469
12470         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12471         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12472         * layout.C (Read): add "passthru" to list of layout tags and add
12473         code to set the pass_thru boolean when it is read.
12474
12475 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * trans_decl.h: remove allowed from KmodInfo
12478
12479         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12480         remove allowed code
12481         (Load): adjust
12482
12483         * paragraph_pimpl.C (erase): use boost::prior
12484
12485         * Painter.C (text): use data() instead of c_str() when length is
12486         also provided.
12487         * WorkArea.C (putClipboard): ditto
12488         * font.h (width): ditto
12489
12490         * BufferView2.C: use it-> instead of (*it). for iterators
12491         * texrow.C: ditto
12492         * paragraph_pimpl.C: ditto
12493         * paragraph.C: ditto
12494         * minibuffer.C: ditto
12495         * language.C: ditto
12496         * kbmap.C: ditto
12497         * encoding.C: ditto
12498         * counters.C: ditto
12499         * converter.C: ditto
12500         * chset.C: ditto
12501         * Variables.C: ditto
12502         * TextCache.C: ditto
12503         * MenuBackend.C: ditto
12504         * LyXAction.C: ditto
12505         * LColor.C: ditto
12506         * FloatList.C: ditto
12507         * DepTable.C: ditto
12508         * ColorHandler.C (LyXColorHandler): ditto
12509
12510 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12511
12512         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12513
12514         * text2.C (openStuff): reintroduce this method (which had been
12515         nuked in NEW_INSETS frenzy).
12516
12517         * lyxfunc.C (Dispatch): when an action has not been handled, use
12518         its name in the error message, not its number.
12519
12520         * paragraph.C (inInset): change method name to begin with lowercase.
12521
12522         * undo_funcs.C:
12523         * text2.C: updates because of this.
12524
12525 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * ToolbarDefaults.C (add): add spaces in error message
12528
12529 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12532         (readLyXformat2): rename return_par to first_par, use lyxlex's
12533         pushToken and remove the manual push handling.
12534         (parseSingleLyXformat2Token): add another ert comp. variable:
12535         in_tabular, rename return_par to first_par. handle newlines better
12536
12537 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12538
12539         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12540
12541 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * text2.C (getParFromID): removed
12544
12545         * buffer.C (getParFromID): new method moved form lyxtext.
12546         * BufferView2.C (insertErrors): adjust
12547         (setCursorFromRow): adjust
12548         * BufferView_pimpl.C (restorePosition): adjust
12549         * lyxfunc.C (Dispatch): adjust
12550         * undo_funcs.C (textUndo): adjust
12551         (textRedo): adjust
12552         (textHandleUndo): adjust
12553         (textHandleUndo): adjust
12554
12555 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * buffer.C: up' the LYX_FORMAT
12558
12559         * lyxfont.h: turn NO_LATEX on as default
12560
12561         * buffer.C (insertErtContents): new methods of tex style compability.
12562         (parseSingleLyXformat2Token): use it several places.
12563         * tabular.C (OldFormatRead): and here
12564
12565 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * text2.C: remove some commented code.
12568         reindent file.
12569
12570         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12571         * trans.C: changes because of the above.
12572
12573 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * text2.C (setCounter): Fix counters bug with bibliography layout.
12576
12577 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12580         own member functions
12581         (simpleTeXSpecialChars): ditto
12582
12583 2001-07-06  Juergen Vigna  <jug@sad.it>
12584
12585         * a lot of files: changed the access to LyXText::status and the
12586         call of undo-functions.
12587
12588         * undo.[Ch]: added a inset_id to the undo informations.
12589
12590         * undo_funcs.[Ch]: added and moved here all undo functions.
12591
12592         * lyxtext.h: give the status enum a weight, made status_ a private
12593         variable and made accessor functions for it, removed the whole bunch
12594         of undo-functions as they are now in their own file, make some
12595         functions publically available. Added function ownerParagraph with
12596         int parameter.
12597
12598         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12599         made InInset() a const function, added getParFromID() function.
12600
12601         * buffer.[Ch]: added const version for inset_iterator functions,
12602         added getInsetFromID() function.
12603
12604         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12605         changed undo functions for new version.
12606
12607 2001-07-05  Juergen Vigna  <jug@sad.it>
12608
12609         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12610         unknow mechanism does not call the proper constructor but only this
12611         one also if I request the other!?
12612
12613 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12616
12617         * text2.C (LyXText): use initialization lists.
12618
12619         * lyxtext.h (Selection): initialize set_ and mark_
12620         (init): remove method
12621
12622 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12623
12624         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12625
12626 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * screen.[Ch]: change method names to begin with lowercase
12629
12630         * BufferView_pimpl.C (updateScrollbar): simplify further and
12631         hopefully make it a bit faster.
12632
12633 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12634
12635         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12636         calling directly xforms functions.
12637
12638         * Painter.C (Painter):
12639         * lyx_cb.C (MenuWrite):
12640         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12641         fl_display.
12642
12643         * lyx_gui.C: remove bogus guiruntime extern declaration.
12644
12645 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12648         in NEW_INSETS
12649         (redoDrawingOfParagraph): ditto
12650         (redoParagraphs): ditto
12651         (cutSelection): don't create a object for CutAndPaste use the
12652         static method directly
12653         (pasteSelection): ditto
12654
12655         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12656         LyXview (+ rename)
12657
12658 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * modifications to some other files because of this.
12661
12662         * Makefile.am (lyx_SOURCES): add XFormsView
12663
12664         * XFormsView.[Ch]: new files
12665
12666         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12667         the main window. Move the gui dependent stuff to XFormsView
12668
12669 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * tabular.C (GetCellInset): update cur_cell also in the row/col
12672         version of this function.
12673
12674         * lyxfunc.C: no need to include figure_form.h here.
12675
12676         * FontLoader.h:
12677         * lyxfunc.h:
12678         * lyxscreen.h:
12679         * text2.C:
12680         * lyxvc.C: no need to include forms.h here.
12681
12682 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12683
12684         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12685
12686         * lyxfunc.C (Dispatch):
12687         * Spacing.C (set):
12688         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12689         constructor argument.
12690
12691 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * paragraph.C (Paragraph): dont't clear, and just set layout.
12694         (makeSameLayout): use params's copy contructor.
12695
12696         * ParagraphParameters.[Ch] (makeSame): delete method
12697
12698 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * Variables.[Ch]: fix indentation, rename set to isSet
12701
12702 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * lyxfunc.C (Dispatch): fix typo
12705
12706 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12709         upper_bound.
12710
12711         * bufferlist.C: include assert.h for emergencyWrite().
12712
12713 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12716           give up at last (bug #425202) !
12717
12718 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * lyx_gui_misc.C:
12721         * sp_form.h:
12722         * sp_form.C:
12723         * spellchecker.h:
12724         * spellchecker.C: strip spellchecker options and bring up
12725           preferences tab instead
12726
12727 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12730         the istringstream constructor
12731
12732 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12733
12734         * paragraph.C (getLayout): fix return value
12735
12736         * paragraph.h: do not declare getLayout as inline.
12737
12738         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12739
12740 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * lyxcursor.h (operator<): new func
12743         (operator>): new func
12744         (operator>=): new func
12745         (operator<=): new func
12746
12747         * text.C (changeCase): use selection.start and selection.end
12748         (changeRegionCase): require from to be <= to. Require par to be a
12749         valid paragraph.
12750
12751         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12752
12753 2001-06-27  Juergen Vigna  <jug@sad.it>
12754
12755         * text.C (cursorLeftOneWord): changed to return the cursor and added
12756         overlay with BufferView * parameter which calls this one.
12757         (getWord): added
12758         (selectWord): use new getWord function.
12759         (changeCase): renamed from changeWordCase as and extended to work
12760         also on selections.
12761
12762         * lyxtext.h: added enum word_location
12763
12764         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12765         changeCase as this operates now also on selections.
12766
12767 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12768
12769         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12770
12771         * many files: send debug output to Debug::INFO instead of
12772         Debug::ANY.
12773
12774         * converter.C (View):
12775         (Convert):
12776         (Move): send debug output to Debug::FILES instead of console.
12777
12778 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12779
12780         * lyxfunc.C (getStatus): use func_status
12781
12782         * func_status.h: new header, describing the results of
12783         LyXFunc::getStatus;
12784
12785         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12786         LFUN_MATH_HALIGN.
12787
12788 2001-06-25  The LyX Project  <jug@sad.it>
12789
12790         * buffer.C (sgmlOpenTag):
12791         (sgmlCloseTag):
12792         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12793
12794 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * text2.C: remove some dead code
12797
12798         * tabular.C (GetCellInset): store the last cell checked (gotten)
12799
12800         * tabular.h: add the helper for the speedup
12801
12802         * lyxtext.h: remove some dead code
12803
12804 2001-06-26  The LyX Project  <Asger>
12805
12806         * paragraph.C: Change export to LaTeX of alignment to
12807         \begin{center} and family for better roundtrip work with reLyX.
12808
12809         * Tune the math drawing a bit.
12810
12811 2001-06-25  The LyX Project  <Asger>
12812
12813         * LColor.C (LColor): New color for math background. New color
12814         for buttons.
12815
12816 2001-06-25  The LyX Project  <jug@sad.it>
12817
12818         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12819
12820         * lyxfunc.C (Open):
12821         * bufferlist.C (newFile): do not restrict to files ending with
12822         .lyx
12823
12824         * BufferView_pimpl.C (MenuInsertLyXFile):
12825
12826 2001-06-24  The LyX Project  <jug@sad.it>
12827
12828         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12829         of compare_no_case
12830
12831 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * lyxtext.h: rename most methods to begin with a small char.
12834         Lots of changes because of this.
12835
12836         * paragraph.C (Paragraph): do not call fitToSize
12837         (erase): call Pimpl::erase
12838         (insertChar): call Pimpl::insertChar
12839         (insertInset): call Pipl::insertInset
12840         (breakParagraph): do not call fitToSize
12841         (breakParagraphConservative): do not call fitToSize
12842         (fitToSize): remove method
12843
12844         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12845
12846 2001-06-24  The LyX Project  <Asger>
12847
12848         * Fix Qt compilation^2
12849
12850 2001-06-24  The LyX Project  <jug@sad.it>
12851
12852         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12853         depthHook(getDepth()-1).
12854
12855         * paragraph.h:
12856         * ParagraphParameters.h:
12857         * ParameterStruct.h: change type of depth to unsigned int ==
12858         depth_type. Many adaptations to other files before of that.
12859
12860 2001-06-24  The LyX Project  <Asger>
12861
12862         * Fix Qt compilation.
12863
12864 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * paragraph.h: renamed several methods to begin with small letter.
12867         several changes to many parts of the code because of this.
12868
12869 2001-06-23  The LyX Project  <jug@sad.it>
12870
12871         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12872         rewritten to discard all double spaces when KeepEmpty is off
12873         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12874         to only handle newlines but not fiddle with spaces and friends.
12875
12876         * lyxfunc.C (MenuNew): when doing 'new from template', use
12877         template_path as default directory
12878
12879 2001-06-23  The LyX Project  <Asger>
12880
12881         * Clean-up of header file includes all over
12882         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12883
12884 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.h: renamed from lyxparagraph.h
12887
12888 2001-06-23  Asger  <lyx@violet.home.sad.it>
12889
12890         * Buffer.h: Removed Buffer::resize
12891         * BufferList.h: Removed BufferList::resize
12892         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12893         the document lazily when we change the width, or the font settings.
12894
12895 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12898
12899 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * buffer.h: remove out of date comment
12902
12903 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * lyxscreen.h:
12906         * screen.C: fix "theoretical" GC leak
12907
12908 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * LaTeX.C (scanAuxFile):
12911         (deplog): remove trailing \r when reading stream (useful under
12912         win32)
12913
12914 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12915
12916         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12917         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12918         and BufferView::theLockingInset(Inset*), so should use them and not
12919         access bv_->text->the_locking_inset directly.
12920
12921         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12922
12923 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * Makefile.am:
12926         * tex-defs.h: remove old unused file
12927
12928 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * BufferView_pimpl.C: fix typo, remove minibuffer message
12931           when buffer has loaded
12932
12933 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * lyxfunc.C (Dispatch): use stringstream
12936         (MenuNew): use stringstream
12937         (Open): use stringstream
12938
12939         * importer.C (Import): use stringstream
12940
12941         * bufferview_funcs.C (CurrentState): use stringstream
12942
12943         * LaTeX.C (run): use stringstream
12944
12945         * BufferView_pimpl.C (savePosition): use stringstream
12946         (restorePosition): use stringstream
12947         (MenuInsertLyXFile): use stringstream
12948
12949 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * BufferView.C:
12952         * Bullet.C:
12953         * ColorHandler.C:
12954         * FontInfo.C:
12955         * FontLoader.C:
12956         * LColor.C:
12957         * LaTeXFeatures.C:
12958         * Painter.C:
12959         * gettext.C:
12960         * lyx_gui_misc.C:
12961         * lyxserver.C:
12962         * vspace.C: removed // -*- C++ -*- as first line.
12963
12964         * lyxfind.h:
12965         * version.h: added // -*- C++ -*- as first line.
12966
12967 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12970
12971         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12972         of string
12973
12974 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12977         of floats.
12978
12979 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * gettext.C: include LString.h even when --disable-nls is on.
12982
12983 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * converter.h (Get): changed argument type from int to
12986         FormatList::size_type to avoid unnecessary conversion.
12987
12988         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12989         before using it.
12990
12991 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * gettext.h: include LString.h even when --disable-nls is on.
12994
12995 2001-06-07  Juergen Vigna  <jug@sad.it>
12996
12997         * text.C (BreakAgain): subst spaces with tabs.
12998
12999         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13000         (resizeInsetsLyXText): set force on resizeLyXText.
13001
13002 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * gettext.h (gettext_init):
13005         (locale_init): use a real definition instead of a macro
13006
13007 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * Bufferview_pimpl.C:
13010         * LColor.h:
13011         * LColor.C: further lcolor tidies
13012
13013 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * BufferView_pimpl.C (updateScrollbar): simplify.
13016
13017         * BufferView2.C: don't include insets/insetinfo.h, change
13018         prototype for insertInset and call the Pimpl version. let
13019         updateInset call Pimpl version.
13020
13021         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13022         gotoInset to BufferView::Pimpl
13023
13024 2001-06-01  Juergen Vigna  <jug@sad.it>
13025
13026         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13027         inside a LockingInset (is the update needed at all?).
13028
13029 2001-05-31  Juergen Vigna  <jug@sad.it>
13030
13031         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13032         here not the old one otherwise how should we compare it afterwards
13033         if it's the same!
13034
13035 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * lyxfont.C:
13038         * tabular.C:
13039         * tabular-old.C:
13040         * FontInfo.C: bring C functions into global namespace when
13041         necessary
13042
13043 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13044
13045         * LString.h: make sure config.h has been loaded before LString.h.
13046
13047         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13048         (one for each char read by EatLine!).
13049
13050         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13051         variables.
13052
13053 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13056         to the same as the par we break from
13057
13058 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13059
13060         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13061
13062         * MenuBackend.C (expand): also create menu entries for wide
13063         versions of the floats.
13064
13065         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13066
13067         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13068
13069         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13070         frontends/Makefile.am
13071
13072         * text2.C: adjust
13073         * text.C: adjust
13074
13075
13076         * tabular.C (getTokenValue): add std::
13077
13078         * tabular-old.C (getTokenValue): add std::
13079         (getTokenValue): ditto
13080         (getTokenValue): ditto
13081
13082         * screen.C (ToggleSelection): adjust
13083
13084         * lyxtext.h: put selection cursors inside a Selection struct.
13085
13086         * lyxfunc.C (moveCursorUpdate): adjust
13087
13088         * lyxfont.C (latexWriteStartChanges): add std::
13089
13090         * lyxfind.C: adjust
13091
13092         * font.h: delete with(char const *, LyXFont const &)
13093
13094         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13095
13096         * FontInfo.C (getFontname): add std::
13097
13098         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13099         (workAreaButtonPress): adjust
13100         (tripleClick): adjust
13101         (update): adjust
13102         (moveCursorUpdate): adjust
13103         (Dispatch): adjust
13104
13105         * BufferView2.C (gotoInset): adjust
13106
13107 2001-05-30  Juergen Vigna  <jug@sad.it>
13108
13109         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13110         to check pspell I add this as default as I now have new pspell
13111         libraries and they seem to use this.
13112
13113 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * text2.C (CutSelection): make the cursor valid before the call to
13116         ClearSelection.
13117
13118 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13119
13120         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13121         relied on 0 terminated strings and other horrors. Bug found due to
13122         the new assert in lyxstring!
13123
13124         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13125         KP_ keys.
13126
13127 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13130         to latinkeys.bind.
13131
13132         * lyxfunc.C (processKeySym): change method of getting to the
13133         self-insert char.
13134
13135         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13136         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13137         * BufferView_pimpl.[Ch]: here as private methods.
13138
13139 2001-05-28  Juergen Vigna  <jug@sad.it>
13140
13141         * text.C (SetHeightOfRow): added the update() call again as it is
13142         needed to initialize inset dimensions!
13143
13144 2001-05-16  Juergen Vigna  <jug@sad.it>
13145
13146         * text2.C (SetCharFont): Add new function with BufferView * and
13147         bool toggleall parameters for setting insets internal fonts.
13148         (SetFont): Freeze the undo as we may change fonts in Insets and
13149         all this change should be inside only one Undo!
13150
13151         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13152         setting font's in insets as for them we have the SetFont function!
13153
13154 2001-05-15  Juergen Vigna  <jug@sad.it>
13155
13156         * text2.C (ClearSelection): to be sure we REALLY don't have any
13157         selection anymore!
13158
13159         * tabular.C (TeXCellPreamble): fixed the left border problem for
13160         multicolumn cells.
13161
13162 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13165         dependancy file
13166
13167 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13170         LFUN_BREAKPARAGRAPH.
13171
13172         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13173         help test to "internal only", similar for LFUN_INSERT_URL
13174
13175         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13176         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13177         auto_region_delete and deadkeys.
13178
13179 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13180
13181         * LColor.h:
13182         * LColor.C: remove some dead entries, tidy a little
13183
13184 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13187         commented code.
13188         (Dispatch): implement LFUN_ESCAPE
13189
13190         * commandtags.h: add LFUN_ESCAPE
13191
13192         * LyXAction.C (init): add entry for LFUN_ESCAPE
13193
13194         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13195         Remove commented code.
13196         (insertNote): moved here
13197         (open_new_inset): moved here
13198
13199         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13200         BufferView_pimpl
13201
13202 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * kbmap.C (findbinding): clean it up and make it work correctly.
13205
13206         * lyx_main.C (init): do not pass argc and argv as parameters
13207
13208 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13209
13210         * buffer.C: fix path for OS/2 & Win32
13211
13212         * lyx_gui.C:
13213         * lyx_main:
13214         * lyx_main.C: Added os:: class.
13215
13216         * os2_defines.h: update
13217
13218 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13221         better by trying again with reduced state.
13222
13223 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * lyxrc.C (read): print error about invalid key sequence only when
13226         debugging (because not all latinX keysyms are known to some X
13227         servers)
13228
13229         * kbsequence.C (getiso): add a few std:: qualifiers
13230         (getiso): comment out extra return statement.
13231
13232 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13235         handling.
13236         (Dispatch): enhance the accent inset a bit. (not perfect)
13237
13238 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13241
13242 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * bufferlist.C (emergencyWrite): fix assert() call
13245
13246 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13247
13248         * text.C (InsertChar): Added trivial patch to only send the "you
13249         can not do multiple spaces this way" message once during a
13250         session.
13251
13252 2001-05-08  Baruch Even  <baruch@lyx.org>
13253
13254         * Makefile.am: Changed order of libraries to get LyX to link properly
13255         with the gnome frontend.
13256
13257 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13258
13259         * LaTeXFeatures.h: add a std:: qualifier
13260
13261 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13262
13263         * paragraph.C (String): use stringstream
13264
13265 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * paragraph.C (writeFile): remove footflag arg
13268
13269         * buffer.C (makeLaTeXFile): use stringstream
13270         (latexParagraphs): remove footnot gurba
13271
13272         * LaTeXFeatures.C (getPackages): use stringstream
13273         (getMacros): likewise
13274         (getTClassPreamble): likewise
13275         (getFloatDefinitions): new method
13276
13277         * paragraph.C (writeFile): reindent
13278         (Erase): reindent
13279
13280         * WorkArea.h: revert the xpos + etc changes.
13281
13282         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13283
13284         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13285
13286         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13287         (pasteSelection): likewise
13288         * text2.C (CreateUndo): likewise
13289
13290 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * minibuffer.C (peek_event): temporarily reduce the functionality
13293         of the minibuffer (to allow args on lfuns)
13294
13295         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13296         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13297
13298         * buffer.C (readInset): add compability reading of old float
13299         lists, add reading of new style float list.
13300         (readInset): avoid reevaluation of inscmd.getCmdName()
13301         (getLists): reindent
13302
13303         * MenuBackend.C (MenuItem): implement parsing of
13304         md_floatlistinsert and md_floatinsert.
13305         (expand::LastFiles): move initalizaton of iterators out of loop,
13306         avoid reevaluation.
13307         (expand::Documents): introduce typdedef vector<string> Strings,
13308         and use it.
13309         (expand::ExportFormats): introduce typedef vector<Format const *>
13310         Formats, and use it.
13311         (expand): implement FloatListInsert and FloatInsert.
13312
13313         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13314         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13315         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13316
13317         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13318         handling.
13319         (Dispatch::LFUN_FLOAT_LIST): implement
13320
13321 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13322
13323         * LaTeX.C (run): Fix problem with --export code.
13324
13325 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * BufferView.[Ch] (workarea): removed.
13328         (getClipboard) new method; wrapper for workarea()->getClipboard()
13329
13330         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13331         bug.
13332
13333         * WorkArea.h (width, height, xpos, ypos): These methods all
13334         returned the dimensions of the work_area sub-area of WorkArea,
13335         resulting in a position error if the WorkArea were resized. Now
13336         return the dimensions of the entire WorkArea.
13337
13338         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13339
13340 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13341
13342         * LaTeX.C (deplog): correct the syntax of regex reg1
13343
13344 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * undo.C: remove !NEW_INSETS cruft
13347
13348 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * text2.C: remove !NEW_INSETS cruft
13351
13352         * text.C: remove !NEW_INSETS cruft
13353
13354         * tabular.C: remove !NEW_INSETS cruft
13355
13356         * spellchecker.C: remove !NEW_INSETS cruft
13357
13358         * lyxtext.h: remove !NEW_INSETS cruft
13359
13360         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13361
13362         * lyxfunc.C: remove !NEW_INSETS cruft
13363
13364         * lyxfind.C: remove !NEW_INSETS cruft
13365
13366         * lyx_cb.C: remove !NEW_INSETS cruft
13367
13368         * figureForm.C: remove  !NEW_INSETS cruft
13369
13370         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13371
13372         * buffer.[Ch]: remove !NEW_INSETS cruft
13373
13374         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13375
13376         * CutAndPaste.C: remove !NEW_INSETS cruft
13377
13378         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13379
13380         * BufferView2.C: remove !NEW_INSETS cruft
13381
13382         * BufferView.h: remove !NEW_INSETS cruft
13383
13384 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * Lsstream.h: include LString.h before the sstream headers to
13387         fix problem with gcc 2.95.3 and lyxstring
13388
13389 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * lyx_main.C: add using directives when needed for C functions
13392         declared in std:: namespace.
13393
13394 2001-04-27  Juergen Vigna  <jug@sad.it>
13395
13396         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13397         (SetHeightOfRow): comment out the update call should not be needed!
13398
13399 2001-04-13  Juergen Vigna  <jug@sad.it>
13400
13401         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13402         (LyXTabular): tried to minimize operator= operations (and realized
13403         hopfully Lars wish).
13404
13405 2001-04-27  Juergen Vigna  <jug@sad.it>
13406
13407         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13408
13409 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13412
13413         * buffer.C (readInset): hack to make listof algorithm work
13414
13415         * BufferView_pimpl.C: hack to make listof algorithm work
13416
13417 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * LyXAction.C: removed all !NEW_INSETS cruft
13420         (init): moved lfun_item in method
13421
13422         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13423
13424 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * BufferView2.C (theLockingInset): white space.
13427
13428 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * minibuffer.C: include <iostream>
13431
13432         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13433
13434         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13435
13436         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13437
13438         * text.[Ch] (TransposeChars): new method
13439
13440 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * call message directly through LyXView instead of through LyXFunc
13443         * BufferView2.C: adjust
13444         * BufferView_pimpl.C: adjust
13445         * FontLoader.C: adjust
13446         * buffer.C: adjust
13447         * bufferview_funcs.C: adjust
13448         * converter.C: adjust
13449         * figureForm.C: adjust
13450         * importer.C: adjust
13451         * lyx_cb.C: adjust
13452         * lyx_gui_misc.C: adjust
13453         * lyxfunc.C: adjust
13454         * lyxvc.C: adjust
13455         * text2.C: adjust
13456         + more files in subdirs
13457
13458         * lyxparagraph.h (size): move up int file
13459         (GetLayout): ditto
13460
13461         * adjust all uses of Assert to lyx::Assert.
13462
13463         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13464         lyxfunctional in namespace lyx
13465         * layout.C (hasLayout): ditto
13466         (GetLayout): ditto
13467         (GetLayout): ditto
13468         (delete_layout): ditto
13469         (NumberOfClass): ditto
13470         * converter.C (GetFormat): ditto
13471         (GetNumber): ditto
13472         (Add): ditto
13473         (Delete): ditto
13474         (SetViewer): ditto
13475         * bufferlist.C (getFileNames): ditto
13476         (emergencyWriteAll): ditto
13477         (exists): ditto
13478         (getBuffer): ditto
13479         * MenuBackend.C (hasSubmenu): ditto
13480         (hasMenu): ditto
13481         (getMenu): ditto
13482         * BufferView_pimpl.C (getInsetByCode): ditto
13483
13484 2001-04-18  Juergen Vigna  <jug@sad.it>
13485
13486         * vspace.C (asLatexString): fixed the 100% problem.
13487
13488 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13489
13490         * lyxfunc.C (Dispatch):
13491         * minibuffer.C:
13492         * minibuffer.h: add a few std:: qualifiers
13493
13494 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * minibuffer.[Ch]: reimplement so that commands is initiated and
13497         run from lyxfunc, simplified som handling, and made the completion
13498         and history code for complete. wip.
13499
13500         * lyxfunc.C (processKeySym): call message
13501         (miniDispatch): new temporary method
13502         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13503         (LFUN_MESSAGE): implement
13504         (LFUN_MESSAGE_PUSH): implement
13505         (LFUN_MESSAGE_POP): implement
13506         (initMiniBuffer): the initial/defualt minibuffer message.
13507
13508         * lyxfont.[Ch]: inline some more getters
13509
13510         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13511
13512         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13513
13514         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13515         (AutoSave): use LFUN_MESSAGE
13516         (Reconfigure): ditto
13517
13518         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13519
13520         * figureForm.C: use LFUN_MESSAGE
13521
13522         * converter.C (runLaTeX): use LFUN_MESSAGE
13523
13524         * bufferview_funcs.C: use LFUN_MESSAGE
13525         (Melt): ditto
13526         (changeDepth): ditto
13527
13528         * bufferparams.h: use boost::
13529
13530         * bufferlist.h: inherit privately from noncopyable
13531
13532         * bufferlist.C (loadLyXFile): remove some commented code.
13533
13534         * buffer.C (runChktex): use LFUN_MESSAGE
13535
13536         * ShareContainer.h: inherit privately from noncopyable
13537
13538         * ParagraphParameters.[hC] (depth): inline it.
13539
13540         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13541         methods.
13542         (message): new method
13543         (messagePush): ditto
13544         (messagePop): ditto
13545         (show): init minibuffer
13546         (showState): direct call
13547
13548         * LaTeX.[Ch]: inherit privately from noncopyable
13549         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13550         instead of WriteStatus.
13551
13552         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13553
13554         * BufferView_pimpl.C (buffer): don't init minibuffer
13555         (workAreaButtonPress): use LFUN_MESSAGE
13556         (workAreaButtonRelease): ditto
13557         (savePosition): ditto
13558         (restorePosition): ditto
13559         (MenuInsertLyXFile): ditto
13560         (workAreaExpose): don't init minibuffer
13561         (update): remove commented code, simplify
13562
13563         * BufferView2.C (openStuff): use LFUN_MESSAGE
13564         (toggleFloat): ditto
13565         (menuUndo): ditto
13566         (menuRedo): ditto
13567         (copyEnvironment): ditto
13568         (pasteEnvironment): ditto
13569         (copy): ditto
13570         (cut): ditto
13571         (paste): ditto
13572         (gotoInset): ditto
13573         (updateInset): remove some commented code
13574
13575         * lastfiles.h: inherit privately from noncopyable
13576         * layout.h: ditto
13577         * lyx_gui.h: ditto
13578         * lyx_main.h: ditto
13579         * lyxlex.h: ditto
13580         * lyxlex_pimpl.h: ditto
13581
13582         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13583         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13584         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13585
13586         * LyXAction.h: inherit privately from noncopyable, add methods
13587         func_begin, func_end, returning iterators to the func map.
13588
13589         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13590         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13591         (func_begin): new method
13592         (func_end): new method
13593
13594         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13595         and not)
13596         (copySelection): ditto
13597         (pasteSelection): ditto
13598
13599         * BufferView.C: whitespace change
13600         * BufferView.h: inherit privately from noncopyable
13601
13602 2001-04-16  Allan Rae  <rae@lyx.org>
13603
13604         * tabular-old.C (l_getline):
13605         * spellchecker.C (sc_check_word):
13606         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13607         an unrecognised preprocessor directive.  So ensure they're wrapped.
13608
13609 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13610
13611         * src/exporter.C (Export): Give an error message when path to file
13612         contains spaces.
13613
13614 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * LaTeX.C (deplog): Always check that foundfile exists.
13617
13618 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * lyx_main.h:
13621         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13622
13623 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * tabular.[Ch] (getLabelList): implement new method
13626
13627         * minibuffer.h: comment ouf setTiimer
13628
13629         * minibuffer.C (ExecutingCB): constify res
13630         (peek_event): constify s
13631         (Set): constify ntext
13632         (Init): constify nicename
13633
13634         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13635
13636         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13637         (savePosition): use two params to Minibuffer::Set
13638         (restorePosition): ditto
13639
13640 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * lyx_main.C: include language.h
13643
13644         * Makefile.am (lyx_main.o): add language.h
13645
13646 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13647
13648         * exporter.C:
13649         * paragraph.C:
13650         * screen.C:
13651         * tabular.C:
13652         * CutAndPaste.C: include gettext.h
13653
13654         * lyxfont.h: remove old hack with ON and OFF.
13655
13656         * lyxparagraph.h:
13657         * lyxfont.h: do not include language.h...
13658
13659         * BufferView2.C:
13660         * LaTeXFeatures.C:
13661         * Painter.C:
13662         * bufferview_funcs.C:
13663         * font.C:
13664         * lyxfont.C:
13665         * text.C:
13666         * text2.C:
13667         * trans_mgr.C:
13668         * paragraph.C: ... but do it here instead
13669
13670 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13673
13674         * tabular.C: small reformat
13675
13676         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13677         NEW_INSETS version
13678         (GetChar): ditto
13679         (BreakParagraph): ditto
13680         (SetOnlyLayout): ditto
13681         (SetLayout): ditto
13682
13683         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13684         with one arg less.
13685
13686         * lastfiles.C: removed most using decl, add std:: where needed
13687
13688         * buffer.C: ws changes
13689
13690         * MenuBackend.C (class compare_format): put into anon namespace
13691         (expand): constify label, names, action, action2
13692         (expand):
13693
13694         * text.C (SingleWidth): constify font
13695         (IsBoundary): constify rtl2
13696         (GetVisibleRow): constify ww
13697
13698         * LaTeX.C (deplog): constify logfile
13699
13700         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13701         start_x, end_x
13702         (workAreaExpose): constify widthChange, heightChange
13703
13704         * lyxrow.C (par): moved
13705         (height): moved
13706         (next): moved
13707         * lyxrow.h: as inlines here
13708
13709         * lyxfont.h (shape): moved from lyxfont.C
13710         (emph): moved from lyxfont.C
13711
13712         * lyxfont.C (LyXFont): use initialization list for all
13713         constructors
13714         (shape): move to lyxfont.h as inline
13715         (emph): move to lyxfont.h as inline
13716
13717
13718 2001-04-04  Juergen Vigna  <jug@sad.it>
13719
13720         * vspace.C: had to include stdio.h for use of sscanf
13721
13722 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * BufferView.h:
13725         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13726         independent of xforms.
13727
13728 2001-04-02  Juergen Vigna  <jug@sad.it>
13729
13730         * spellchecker.C: fixed namespace placing!
13731
13732 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13733
13734         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13735         the LyXParagraph * is 0.
13736
13737 2001-03-29  Juergen Vigna  <jug@sad.it>
13738
13739         * vspace.C: added support for %, c%, p%, l%.
13740         (stringFromUnit): added helper function.
13741         (asLatexString): changed to give right results for the %-values.
13742
13743         * buffer.C: convert the widthp in a width%.
13744
13745 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13748         figureForm.[Ch].
13749
13750         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13751         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13752
13753         * lyx_cb.[Ch]: see above.
13754
13755         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13756         form1.[Ch].
13757
13758         * form1.[Ch]:
13759         * lyx.[Ch]: replaced by figure_form.[Ch].
13760
13761         * lyx_gui.C:
13762         * lyx_gui_misc.C:
13763         * lyxfunc.C: changed headers associated with above changes.
13764
13765 2001-03-27  Juergen Vigna  <jug@sad.it>
13766
13767         * BufferView_pimpl.C: set the temporary cursor right!
13768
13769 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13772
13773 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * LString.h: removed "using std::getline"!
13776
13777         * BufferView_pimpl.C (Dispatch): changes due to changes in
13778         InsetInclude::Params.
13779
13780         * buffer.C (tag_name): removed redundant break statements as they were
13781         producing lots of warnings with my compiler.
13782
13783 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * LString.h: add "using std::getline" when using the real <string>.
13786
13787 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13788
13789         * buffer.C: removed bitset usage.
13790         PAR_TAG moved to an anonymous name space.
13791         (tag_name): new funtion, also in the anonymous namespace.
13792         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13793         (makeDocBookFile): clean code. Completed transition from string arrays
13794         to string vectors.
13795         (SimpleDocBookOnePar): code clean.
13796
13797 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13798
13799         * tabular.C: add some comments.
13800
13801 2001-03-22  Juergen Vigna  <jug@sad.it>
13802
13803         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13804         compatibility read a bit and fixed bug with minipage in different
13805         depth.
13806
13807 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13808
13809         * buffer.C (pop_tag): removed.
13810         (push_tag): removed.
13811         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13812         array replaced with vector. Added support for CDATA sections.
13813         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13814         at any nest level.
13815         (makeDocBookFile): XML conformant declaration of CDATA section,
13816         fixed bug related to <emphasis> in the first paragraph char.
13817         (sgmlOpenTag): exclude empty tags.
13818         (sgmlCloseTag): ditto.
13819
13820         * buffer.h (pop_tag): removed.
13821         (push_tag): removed.
13822
13823 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13824
13825         * language.h (Languages): added size_type and size().
13826
13827 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13828
13829         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13830         response on compability reading of minipages. One probliem is that
13831         the old usage of minipages was «flertydig»
13832
13833         * several files here and in subdirs: don't use static at file
13834         scope use anon namespaces instead.
13835
13836 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13837
13838         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13839         LaTeX output. This is necessary for Literate document
13840         processing.
13841
13842 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13843
13844         * buffer.C: insert hfill when needed.
13845
13846         * tabular.C (l_getline): use string::erase, small whitespace change.
13847
13848         * BufferView_pimpl.C: try the anon namespace.
13849         * WorkArea.C: ditto
13850
13851 2001-03-16  Juergen Vigna  <jug@sad.it>
13852
13853         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13854         otherwise it won't open options-dialogs.
13855
13856         * buffer.C: honor pextraWidth(p) on converting minipages.
13857
13858         * tabular.C (l_getline): changed the functions to strip trailing \r.
13859
13860 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13861
13862         * BufferView_pimpl.C:
13863         * minibuffer..C: added "using SigC::slot" declaration.
13864
13865 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13866
13867         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13868
13869         * text2.C: ditto
13870
13871         * text.C: ditto
13872
13873         * paragraph.C: ditto
13874
13875         * lyxtext.h: NO_PEXTRA
13876
13877         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13878
13879         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13880         * ParameterStruct.h: ditto
13881         * ParagraphParameters.h: ditto
13882         * lyxparagraph.h: ditto
13883
13884 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13885
13886         * buffer.C: add compability for minipage alignment.
13887         (latexParagraphs): remove unwanted pextra check.
13888
13889         * several files: remove CXX_WORKING_NAMESPACES
13890
13891         * buffer.C (pop_tag): tie is in namespace boost
13892
13893         * BufferView.h: noncopyable is in namespace boost
13894         * lyxlex.h: ditto
13895         * lyx_main.h: ditto
13896         * lyx_gui.h: ditto
13897         * layout.h: ditto
13898         * lastfiles.h: ditto
13899         * bufferlist.h: ditto
13900         * ShareContainer.h: ditto
13901         * LyXView.h: ditto
13902         * LyXAction.h: ditto
13903         * LaTeX.h: ditto
13904
13905 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * Merging changes from BRANCH_MVC back into HEAD.
13908
13909         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13910
13911 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * BufferView_pimpl.C: change from intl.C
13914
13915         * combox.h:
13916         * combox.C:
13917         * Makefile.am: move combox.*
13918
13919         * form1.h:
13920         * form1.C:
13921         * lyx_gui.C:
13922         * intl.h:
13923         * intl.C: remove dialog (covered by prefs)
13924
13925 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13926
13927         * lyxfunc.C (Dispatch): removed redundant break statement.
13928
13929 2001-03-14  Juergen Vigna  <jug@sad.it>
13930
13931         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13932
13933 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13934
13935         * buffer.C: add hack to fix compability reading of minipages.
13936
13937 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * buffer.C (getLists): Cleanup.
13940
13941 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13942
13943         * lyxfont.C (update): don't honor toggleall on font size.
13944
13945 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * bmtable.c:
13948         * bmtable.h:
13949         * Makefile.am: moved to frontends/xforms/
13950
13951         * lyx_gui_misc.C:
13952         * lyxfunc.C:
13953         * BufferView_pimpl.C: changes for moved mathpanel
13954
13955 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13956
13957         * gettext.h: fix gettext_init() in --disable-nls
13958
13959 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13962
13963 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * lyx.C:
13966         * lyx.h: strip external form
13967
13968 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * BufferView_pimpl.C: add comment, destroySplash()
13971
13972 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13973
13974         * BufferView_pimpl.C:
13975         * LyXAction.C:
13976         * buffer.C:
13977         * commandtags.h:
13978         * lyxfunc.C: use re-worked insetinclude
13979
13980 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13981
13982         * buffer.C: add using std::stringstream.
13983
13984         * lyx_cb.C: readd using std::ios.
13985
13986         * buffer.C: add using std::map.
13987
13988         * BufferView_pimpl.C: add using std::vector.
13989
13990         * ShareContainer.h: add std:: to swap.
13991
13992         * buffer.h: add some typedefs
13993         * buffer.C (getLists): use them
13994         (getLists): renamed from getTocList.
13995         add a counter for the different float types and use it in the
13996         generated string.
13997         (getLists): use the same counter for the NEW_INSETS and the "non"
13998         NEW_INSETS
13999
14000         * lyx_cb.h: remove unused items, includes, using etc.
14001
14002         * ShareContainer.h: remove some commented code, add more comments
14003         and "documentation".
14004
14005 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14006
14007         * buffer.C (getTocList): make the list also when NEW_INSETS is
14008         defined.
14009
14010         * buffer.h: remove TocType
14011
14012         * buffer.C (getTocList): change to return a map<string,
14013         vector<TocItem> >, implement for dynamic number of list.
14014
14015         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14016         * text2.C (PasteSelection): adjust
14017         * CutAndPaste.C (pasteSelection): adjust
14018
14019         * FloatList.C (FloatList): update from the new_insets branch.
14020         * Floating.[Ch]: ditto
14021         * LaTeXFeatures.C: ditto
14022         * buffer.C: ditto
14023         * lyxlex_pimpl.C: ditto
14024
14025         * paragraph.C (Last): remove when NEW_INSETS is defined.
14026
14027         * other file: changes because of the above.
14028
14029 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14030
14031         * lyxparagraph.h: rename next to next_, previous to previous_,
14032         make them private for NEW_INSETS. Rename Next() to next(),
14033         Previous() to previous().
14034
14035         * other files: changes because of the above.
14036
14037 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14038
14039         * BufferView.h:
14040         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14041         problem.
14042
14043 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * main.C (main): pass lyx_localedir to gettext_init().
14046
14047         * gettext.h: remove locale_init and gettext_init macros
14048
14049         * gettext.C (locale_init): new function
14050         (gettext_init): new function
14051
14052         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14053         setlocale().
14054
14055 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14056
14057         * Moved credits to frontends:
14058         * credits.[Ch]: removed
14059         * credits_form.[Ch]: removed
14060         * lyx_gui_misc.C: remove credits stuff
14061         * Makefile.am:
14062
14063 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14064
14065         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14066
14067         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14068         unneeded destructor.
14069
14070         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14071         a standalone pointer again.
14072
14073         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14074
14075 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * Makefile.am:
14078         * filedlg.h:
14079         * filedlg.C:
14080         * LyXAction.C:
14081         * ToolbarDefaults.C:
14082         * bufferlist.C:
14083         * commandtags.h:
14084         * form1.C:
14085         * form1.h:
14086         * lyx_cb.C:
14087         * lyx_cb.h:
14088         * lyxfunc.h:
14089         * lyxfunc.C:
14090         * BufferView_pimpl.C: use new file dialog in GUII
14091
14092         * lyx_cb.h:
14093         * lyx_cb.C: remove LayoutsCB to Toolbar
14094
14095 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * ShareContainer.h (get): add std:: qualifier
14098
14099 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * ShareContainer.h: define a proper ShareContainer::value_type
14102         type (and use typename to please compaq cxx)
14103
14104 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14105
14106         * lyxparagraph.h: move serveral local vars to
14107         ParameterStruct/ParagraphParameters., use ShareContainer in
14108         FontTable., make vars in FontTable private and add getter and
14109         setter.
14110
14111         * paragraph.C: changes because of the above.
14112
14113         * lyxfont.h: remove copy constructor and copy assignment. (the
14114         default ones is ok), move number inside FontBits. move inlines to
14115         lyxfont.C
14116
14117         * lyxfont.C: add number to initializaton of statics, move several
14118         inlines here. constify several local vars. some whitespace
14119         cleanup. Dont hide outerscope variables.
14120
14121         * Spacing.h: add two new constructors to match the set methods.
14122
14123         * ShareContainer.h: new file, will perhaps be moved to support
14124
14125         * ParameterStruct.h: new file
14126
14127         * ParagraphParameters.h: new file
14128
14129         * ParagraphParameters.C: new file
14130
14131         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14132         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14133
14134         * BufferView_pimpl.C: ParagraphParameter changes.
14135         * buffer.C: Likewise.
14136         * bufferview_funcs.C: Likewise.
14137         * text.C: Likewise.
14138         * text2.C: Likewise.
14139
14140 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14141
14142         * lyxfind.C (LyXReplace): do not redefine default argument in
14143         implementation.
14144         (IsStringInText): ditto
14145         (SearchForward): ditto
14146         (SearchBackward): ditto
14147
14148 2001-03-06  Juergen Vigna  <jug@sad.it>
14149
14150         * lyxfind.C (IsStringInText): put parentes around expressions.
14151
14152 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14153
14154         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14155
14156 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14159
14160         * stl_string_fwd.h: add comment
14161
14162         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14163
14164         * tabular.h:
14165         * tabular.C: remove unused DocBook methods
14166
14167         * intl.C:
14168         * language.C:
14169         * paragraph.C:
14170         * buffer.C:
14171         killed DO_USE_DEFAULT_LANGUAGE
14172
14173 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14174
14175         * lyx_gui.C: do not include language.h.
14176
14177         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14178         arguments in function implementation.
14179
14180 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14181
14182         * BufferView_pimpl.C: add <ctime>
14183
14184 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14185
14186         * BufferView_pimpl.C: add using std::find_if
14187
14188 2001-02-27  José Matos  <jamatos@fep.up.pt>
14189
14190         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14191         by OnlyPath.
14192
14193 2001-02-11  José Matos  <jamatos@fep.up.pt>
14194
14195         * buffer.C (makeDocBookFile): command styles now have a parameter as
14196         "title" by default.
14197
14198 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14199
14200         * layout_forms.[Ch]: removed
14201         * lyx_cb.[Ch]: out character
14202         * lyx_gui.C: out character
14203         * lyx_gui_misc.C: out character
14204         * bufferview_funcs.C: : out character,
14205         added toggleall as parameter in ToggleAndShow
14206
14207 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14208
14209         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14210
14211         * text2.C (SetCurrentFont): Disable number property at boundary.
14212
14213 2001-02-26  Juergen Vigna  <jug@sad.it>
14214
14215         * lyxfunc.C (getStatus): added a string argument override function so
14216         that this is correctly called from LyXFunc::Dispatch if it contains a
14217         do_not_use_argument which is used!
14218         (Dispatch): added check for "custom" export and call appropriate func.
14219
14220 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14221
14222         * lyxrc.C: Add language_command_local, language_use_babel and
14223         language_global_options.
14224
14225         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14226
14227         * buffer.C (makeLaTeXFile): Use language_use_babel and
14228         language_global_options.
14229
14230 2001-02-23  Juergen Vigna  <jug@sad.it>
14231
14232         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14233         which works with LyXText and putted it inside BufferView. Here now we
14234         only call for that part the BufferView::Dispatch() function.
14235
14236         * BufferView.C (Dispatch): added.
14237
14238         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14239         functions which needs to use a LyXText over from LyXFunc.
14240         (MenuInsertLyXFile): added
14241         (getInsetByCode): added
14242         (moveCursorUpdate): added
14243         (static TEXT): added
14244
14245 2001-02-22  Juergen Vigna  <jug@sad.it>
14246
14247         * BufferView_pimpl.C (update): call a status update to see if LyXText
14248         needs it.
14249
14250 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14251
14252         * vc-backend.C (revert): implement for CVS
14253         (getLog): implement for CVS
14254
14255 2001-02-20  Juergen Vigna  <jug@sad.it>
14256
14257         * text2.C (ClearSelection): added BufferView param for inset_owner call
14258
14259         * lyxfunc.C (TEXT): added this function and use it instead of
14260         directly owner->view()-text of getLyXText().
14261
14262 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14263
14264         * src/layout_forms.C: out preamble
14265         * src/layout_forms.h: out preamble
14266         * src/lyx_cb.C: out preamble
14267         * src/lyx_cb.h: out preamble
14268         * src/lyx_gui.C: out preamble
14269         * src/lyx_gui_misc.C: out preamble
14270         * src/lyxfunc.C: connect with guii preamble
14271
14272 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14273
14274         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14275
14276 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14277
14278         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14279         whether to run bibtex.
14280
14281 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14282
14283         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14284
14285 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14286
14287         * Makefile.am (lyx_SOURCES): removed bibforms.h
14288
14289         * vspace.h: doxygen
14290
14291         * text.C (GetVisibleRow): make several local vars const
14292
14293         * tabular.C: small cleanup.
14294
14295         * lyxserver.C (callback): use compare instead of strncmp
14296
14297         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14298         inlines to after class or to paragraph.C
14299
14300         * lyxfont.h: remove friend operator!=
14301
14302         * converter.h: move friend bool operator< to non friend and after
14303         class def.
14304
14305         * combox.h: small cleanup
14306
14307         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14308         to inlines after class def.
14309
14310         * buffer.C (pop_tag): use string operations instead of strcmp
14311
14312         * bmtable.c: doxygen, small cleanup
14313
14314         * LaTeX.h: remove friend operator==
14315
14316 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14317
14318         * screen.C:
14319         * lyxrc.[Ch]:
14320         * lyxfunc.C:
14321         * lyxfont.[Ch]:
14322         * lyx_cb.C:
14323         * intl.[Ch]:
14324         * commandtags.h:
14325         * buffer.C:
14326         * WorkArea.[Ch]:
14327         * LyXAction.C:
14328         * BufferView_pimpl.C:
14329         * BufferView.[Ch]: remove cruft
14330
14331 2001-02-14  Juergen Vigna  <jug@sad.it>
14332
14333         * lyxfunc.C: removed #if 0 unused code
14334
14335         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14336
14337         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14338
14339         * text2.C (SetSelection): added a BufferView * parameter
14340
14341 2001-02-13  Juergen Vigna  <jug@sad.it>
14342
14343         * lyxfunc.C (Dispatch): fixed protected blank problem.
14344         * BufferView2.C (protectedBlank): added LyxText * parameter.
14345
14346         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14347         (AppendColumn): same as above for column_info.
14348
14349         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14350         (moveCursorUpdate): use a LyXText param for support of InsetText.
14351
14352         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14353         (tripleClick): ditto
14354
14355         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14356
14357         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14358
14359         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14360
14361         * text2.C (SetSelection): set correct update status if inset_owner
14362         (ToggleFree): ditto
14363
14364 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14365
14366         * tabular.C: remove some commented code.
14367
14368 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * BufferView_pimpl.C: call hideSplash()
14371
14372         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14373
14374         * include_form.h:
14375         * bibforms.h: remove
14376
14377         * lyxfunc.C:
14378         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14379           add LFUN_CHILD_CREATE
14380
14381         * counters.h: fix tiny typo
14382
14383         * lyx_cb.C:
14384         * lyx.h:
14385         * lyx_gui.C:
14386         * lyx.C: move splash to frontends/xforms/
14387
14388         * lyx_gui_misc.C: move Include and Bibform to frontends
14389
14390         * lyxvc.h: clarify comment
14391
14392         * vspace.C: tiny housekeeping
14393
14394 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14395
14396         * text.C (PrepareToPrint): RTL Fix.
14397
14398         * paragraph.C (GetUChar): New method.
14399         (String):  Use GetUChar.
14400
14401         * buffer.C (asciiParagraph): Use GetUChar.
14402
14403 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14406
14407 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14408
14409         * buffer.h:
14410         * buffer.C: rename to getLogName(), handle
14411           build log / latex log nicely
14412
14413 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * MenuBackend.C:
14416         * MenuBackend.h: remove support for reference menuitem type.
14417
14418 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * BufferView_pimpl.C: housekeeping
14421         * BufferView_pimpl.h:
14422         * LyXView.h:
14423         * Makefile.am:
14424         * Timeout.C:
14425         * Timeout.h:
14426         * minibuffer.h: move Timeout GUI-I
14427
14428 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * lyxrc.C (read): Update converters data-structures.
14431
14432 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14433
14434         * LaTeX.h (operator!=): add operator != for Aux_Info
14435
14436 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14439
14440         * LaTeXLog.C: deleted, useful code moved to Buffer
14441
14442         * buffer.h:
14443         * buffer.C: new function getLatexLogName()
14444
14445         * lyx_gui_misc.C:
14446         * lyx_gui.C:
14447         * lyxvc.C:
14448         * lyxvc.h:
14449         * lyxfunc.C: use frontends for LaTeX and VC logs
14450
14451 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14452
14453         * LaTeX.h: yet another std:: that Allan forgot.
14454
14455         * Variables.C (set): renamed from isset(), because this clashes
14456         with some HP-UX macros (grr).
14457
14458 2001-02-06  Allan Rae  <rae@lyx.org>
14459
14460         * LaTeX.h: Another bug fix.  Missing std:: this time.
14461
14462 2001-02-04  Allan Rae  <rae@lyx.org>
14463
14464         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14465         floats problem. I've left it commented out because it's not quite
14466         correct.  It should also test that the current object is a table or
14467         figure inset.  But I haven't gotten around to figuring out how to do
14468         that.  I *think* it'll be something like: "table" == inset.type()
14469
14470         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14471         bool.
14472
14473 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14474
14475         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14476         all the citation/databases/styles in the auxilary file.
14477         (run): Rerun latex if there was a babel language error.
14478
14479 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * text.C (Backspace): Preserve the font when changing newline char
14482         with a space.
14483         (BreakParagraph): If the cursor is before a space, delete the space.
14484
14485         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14486
14487 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14488
14489         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14490         new argument (code).
14491         (ChangeCitationsIfUnique): New method.
14492
14493         * paragraph.C (GetPositionOfInset): Handle bibkey.
14494
14495 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * BufferView_pimpl.h: change type of Position::par_pos to
14498         LyXParagraph::size_type.
14499
14500 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * BufferView_pimpl.C (savePosition, restorePosition): Write
14503         messages to minibuffer.
14504
14505 2001-01-28  José Matos  <jamatos@fep.up.pt>
14506
14507         * buffer.C (makeDocBookFile): adds support for document language.
14508         A silly restriction on the name of LatexCommand types where removed.
14509         Added support for CDATA sections, allows to chars unescaped, used
14510         among others in code, to avoid escape < and >.
14511
14512 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14513
14514         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14515         saved positions instrad of a stack. Furthermore, a position is
14516         stored using paragraph id/paragraph position.
14517
14518         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14519         Remove LFUN_REF_BACK.
14520
14521 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * converter.C (dvipdfm_options): New method.
14524
14525 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14526
14527         * vspace.C (isValidLength): Fix for empty input string.
14528
14529 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * LyXAction.C (init): change description of LFUN_FIGURE to
14532         "Insert Graphics"
14533
14534 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * LaTeX.C: add using directive
14537
14538 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * MenuBackend.C (expand): Fix the sorting of the formats.
14541
14542 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * lyx_main.C: tiny error message fix
14545
14546 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14549         calling fl_initialize(). This fixes the problem with ',' as
14550         decimal separator in text files.
14551
14552 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14553
14554         * trans.C (process): Fix the keymap bug.
14555
14556 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14557
14558         * LaTeX.C (scanAuxFiles): New method. Provides support for
14559         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14560         (scanLogFile) Scan for "run BibTeX" messages.
14561
14562         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14563         OT1 font encoding. Also, load the aecompl package if the ae
14564         package is loaded.
14565
14566         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14567
14568 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * texrow.C (increasePos): turn two error messages into debug
14571         messages.
14572
14573 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14574
14575         * LaTeX.C (scanAux): Handle the \@input macro.
14576         (runBibTeX): Use scanAux().
14577
14578         * language.C (latex_options_): New field.
14579
14580         * LaTeXFeatures.C (getMacros): Add language macros.
14581
14582         * buffer.C (makeLaTeXFile): Small fix.
14583
14584 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14587
14588         * text2.C: add a using directive.
14589
14590 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * BufferView2.C:
14593         * lyx_gui_misc.h:
14594         * lyxfr1.C:
14595         * lyxfunc.C: kill LyXBell.
14596
14597 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14598
14599         * text.C (IsBoundary): Remove the error message
14600
14601         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14602
14603         * lyxrc.C (setDefaults): Correct initialization value for
14604         font_norm_type.
14605
14606 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14609         gotoError().
14610
14611         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14612         and GotoNextNote().
14613
14614         * src/LyXAction.C: Added reference-next.
14615
14616         * text.C (InsertChar): Use contains instead of strchr.
14617
14618         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14619
14620 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14623         alignment commands (when needed).
14624
14625         * text.C (InsertChar): Add ':' to number separator chars.