]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d58c83408abe518b1912f5bbfddb6cfee5086e5a
[lyx.git] / src / ChangeLog
1 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * vc-backend.C (scanMaster): ";" -> ';'
4
5 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
8         std::binary_function
9
10         * lyxtextclass.C (compare_name): rename to...
11         (LayoutNamesEqual): ...this
12
13         * lyxlex_pimpl.C (compare_tags): inherit from
14         std::binary_function, put back into anon namespace
15
16         * lyxfind.C (MatchString): inherig from std::binary_function
17         (findChange): use empty() istead of !size()
18
19         * format.C (FormatNamesEqual): new functor
20         (getFormat): use it
21         (getNumber): use it
22         (add): use it
23         (erase): use it
24         (setViewer): use it
25
26         * converter.C (compare_Converter): rename to...
27         (ConverterEqual): ...this, and fixup a bit.
28         (getConverter): use it, and make function const
29         (getNumber): use it, and make function const
30         (add): use it
31         (erase): use it:
32
33         * bufferlist.C: add using boost::bind
34
35         * MenuBackend.C (MenuNamesEqual): new functor
36         (hasMenu): use it, and make function const
37         (hasSubmenu): use nested bind to get rid of compare_memfun.
38
39 2004-01-30  André Pönitz  <poenitz@gmx.net>
40
41         * BufferView_pimpl.C:
42         * cursor.C:
43         * cursor.h:
44         * cursor_slice.[Ch]:
45         * lyxfunc.C:
46         * lyxtext.h:
47         * paragraph_funcs.C:
48         * paragraph_funcs.h:
49         * rowpainter.C:
50         * text.C:
51         * text2.C:
52         * text3.C: move some of the edit(x,y) handling to the insets
53         some coordinate changes.
54
55 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
56
57         * text.C: add using statements for std::advance and std::distance
58
59         * paragraph.C: add using statement for std::distance
60
61         * lyxfind.C: add using statement for std::advance
62
63         * cursor.C (region): remove std:: from swap
64         (openable): use nucleus in stead of operator->
65
66         * BufferView.C: add using statements for std::distance and std::swap
67
68 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * iterators.C: Remove the pimple, move the needed structures to
71         the header file. Create accessor for the positions stack.
72         (asPosIterator): remove function
73
74         * PosIterator.C (PosIterator): move constructors to top of file
75         (PosIterator): reimplement the constructor taking a ParIterator in
76         terms of setFrom.
77         (setFrom): new function
78         (operator!=): inline it
79
80 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * lyxfind.C (replaceAll): use std::advance
83
84         * iterators.h: inherit from std::iterator.
85
86         * PosIterator.C (advance, distance): remove
87         * PosIterator.h: interit from std::iterator.
88
89 2004-01-26  André Pönitz  <poenitz@gmx.net>
90
91         * BufferView.[Ch]:
92         * BufferView_pimpl.[Ch]:
93         * InsetList.[Ch]:
94         * PosIterator.[Ch]:
95         * buffer.h:
96         * bufferview_funcs.C:
97         * cursor.[Ch]:
98         * cursor_slice.h:
99         * factory.[Ch]:
100         * iterators.[Ch]:
101         * lyxfind.C:
102         * lyxfunc.C:
103         * lyxtext.h:
104         * output_docbook.C:
105         * output_latex.C:
106         * output_linuxdoc.C:
107         * output_plaintext.C:
108         * paragraph.[Ch]:
109         * paragraph_funcs.[Ch]:
110         * paragraph_pimpl.[Ch]:
111         * rowpainter.C:
112         * tabular.C:
113         * tabular.h:
114         * text.C:
115         * text2.C:
116         * text3.C: more IU:  dumps most of the rest of the mathcursor
117     implementation into cursor.[Ch]; "globalize" a bit of it.
118
119 2004-01-25  Angus Leeming  <leeming@lyx.org>
120
121         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
122
123 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * LaTeXFeatures.h: add nice_ and nice() const
126         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
127
128 2004-01-20  André Pönitz  <poenitz@gmx.net>
129
130         * BufferView.[Ch]:
131         * BufferView_pimpl.C:
132         * PosIterator.C:
133         * bufferview_funcs.C:
134         * cursor.[Ch]:
135         * cursor_slice.[Ch]:
136         * factory.C:
137         * iterators.C:
138         * lyx_cb.C:
139         * lyxfind.C:
140         * lyxfunc.C:
141         * lyxtext.h:
142         * rowpainter.C:
143         * text.C:
144         * text2.C:
145         * text3.C:
146         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
147           LCursor and mathcursor parts to LCursor and InsetBase.
148
149 2004-01-15  André Pönitz  <poenitz@gmx.net>
150
151         * cursor_slice.[Ch]: add a few covienience functions
152
153         * funcrequest.[Ch]: remove BufferView * member
154
155         * BufferView_pimpl.C:
156         * cursor.C:
157         * factory.[Ch]:
158         * lyxfind.[Ch]:
159         * lyxfunc.C:
160         * lyxtext.h:
161         * text3.C:
162         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
163
164 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
165
166         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
167         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
168
169 2004-01-13  André Pönitz  <poenitz@gmx.net>
170
171         * textcursor.[Ch]:
172         * lyxtext.h: hide cursor and selection anchor behind accessor function
173
174         * BufferView.C:
175         * BufferView_pimpl.[Ch]:
176         * PosIterator.C:
177         * bufferview_funcs.C:
178         * cursor.h:
179         * lyxfind.C:
180         * lyxfunc.C:
181         * text.C:
182         * text2.C:
183         * text3.C:
184         * undo.C: adjust
185
186         * cursor.h:
187         * cursor_slice.[Ch]: some integer type changes for inset unification
188
189         * lyxcursor.[hC]: remove, it's CursorSlice now.
190
191         * Makefile.am:
192         * BufferView_pimpl.[Ch]:
193         * bufferview_funcs.C:
194         * cursor_slice.C:
195         * lyxtext.h:
196         * text.C:
197         * text2.C:
198         * text3.C:
199         * textcursor.[Ch]: adjust
200
201 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * text2.C (undoSpan): add and use
204         * text.C (breakParagraph): use undoSpan (fix bug 578)
205         * lyxtext.h: adjust
206
207 2004-01-08  Angus Leeming  <leeming@lyx.org>
208
209         * BufferView_pimpl.C (MenuInsertLyXFile):
210         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
211         * lyxfunc.C (menuNew, open, doImport):
212         FileFilterList change to the FileDialog open and save functions.
213
214 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
215
216         * ShareContainer.h: make isEqual and isUnique adaptable
217
218         * CutAndPaste.C: make resetOwnerAndChanges adaptable
219
220 2004-01-07  Angus Leeming  <leeming@lyx.org>
221
222         * LyXAction.C:
223         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
224
225         * BufferView_pimpl.C (dispatch): act on these LFUNs.
226
227         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
228         functions replacing find, replace and replaceAll.
229
230         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
231         LFUN_WORDFIND(FORWARD|BACKWARD).
232
233 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
234
235         * text.C (breakParagraph): remove an outdated #warning
236
237 2004-01-07  André Pönitz  <poenitz@gmx.net>
238
239         * lyxfind.C: somewhat clearer logic
240
241         * text.C: prevent crash in cursorX on unitialized row cache
242
243 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * lyxcursor.[Ch] (operator>): add
246         * textcursor.C (selStart, selEnd): use std::min and std::max
247
248 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
249
250         * Chktex.C: include boost/format.hpp
251
252 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
253
254         * InsetList.C: replace functor MathcIt with adaptable functor
255         InsetTablePosLess
256         (insetIterator): modify accordingly
257
258         * BranchList.h: move the BranchNamesEqual functor here from...
259         * BranchList.C: ... to here
260
261         * BranchList.C: new BranchListEqual fuctor, use it. Remove
262         SameName and match.
263         (add): replace a finding loop with std::find_if.
264
265 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
266
267         * output_docbook.C: moving LatexParam functionality into
268         .layout files
269
270 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
271
272         * buffer.C: increment format to 229.
273
274 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
275
276         * LaTeXFeatures.C:
277         * lyx_sty.[Ch]: remove minipageindent_def
278
279         * LyXAction.C:
280         * factory.C:
281         * lfuns.h:
282         * lyxfunc.C:
283         * text3.C: remove LFUN_INSET_MINIPAGE
284
285 2003-12-28  Angus Leeming  <leeming@lyx.org>
286
287         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
288
289 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
290
291         * text2.C (setParagraph): fix off-by-one crash
292
293 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * output_docbook.C: header stuff for AGU
296
297 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * text2.C (redoCursor): remove
300         * text.C:
301         * text3.C:
302         * BufferView_pimpl.C: remove calls to redoCursor and
303         setCursor(cursor.par(), cursor.pos()) all around
304
305 2003-12-15  Angus Leeming  <leeming@lyx.org>
306
307         * buffer.C: up the format to 228.
308
309 2003-12-15  André Pönitz  <poenitz@gmx.net>
310
311         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
312         slices
313
314         * Makefile.am:
315
316         * BufferView_pimpl.C:
317         * cursor.[Ch]:
318         * lyxcursor.[Ch]:
319         * rowpainter.[Ch]:
320         * lyxtext.h:
321         * text.C:
322         * text2.C:
323         * text3.C: adjust
324
325 2003-12-15  Angus Leeming  <leeming@lyx.org>
326
327         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
328         than getFromGUIName to manipulate the color.
329
330 2003-12-14  Angus Leeming  <leeming@lyx.org>
331
332         * BranchList.[Ch]: minimize the API.
333         (Branch::getBranch, getColor): now return a 'const &'.
334         (Branch::setSelected) now returns a bool set to true if the
335         selection status changes.
336         (BranchList::clear, size, getColor, setColor, setSelected,
337         allBranches, allSelected, separator): removed.
338         (BranchList::find): new functions, returning the Branch with
339         the given name.
340         (BranchList::add, remove): return a bool indicating that
341         the operation was successful.
342
343         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
344         new InsetBranch::isBranchSlected member function.
345
346         * LColor.[Ch]: mimimize the API.
347         (fill): renamed as addColor and made private.
348         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
349         versions of these functions taking a string arg have been removed.
350
351         * bufferparams.C (readToken):
352         * lyxfunc.C (dispatch):
353         * lyxrc.C (read): changes due to the altered BranchList and
354         LColor APIs.
355
356         * factory.C (createInset, readInset): changes due to altered
357         InsetBranch c-tor.
358
359 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * factory.C:
362         * lyxfunc.C: remove insetminipage. "minipage-insert"
363         now produces a frameless minipage box inset.
364
365 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
366
367         * textcursor.[Ch] (selStart,selEnd): add new methods
368         remove selection::start, end, use LyXCursor::operator<
369         * lyxcursor.[Ch] (operator<): add
370         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
371         * BufferView.[Ch] (unsetXSel): add
372         * text2.C (clearSelection): use unsetXSel,adjust
373         * text.C: adjust
374         * text3.C: adjust
375         * rowpainter.C: adjust
376         * bufferview_funcs.C (put_selection_at): adjust
377
378 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * BufferView_pimpl.C: small coord. correction
381
382 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
385         dragging over the splash screen.
386
387 2003-12-11  Angus Leeming  <leeming@lyx.org>
388
389         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
390         as it is now handled in LyXText::dispatch.
391
392         * text3.C (doInsertInset): remove a level of nesting.
393
394 2003-12-11  Angus Leeming  <leeming@lyx.org>
395
396         * factory.C (createInset): changes due to the changed interface to
397         InsetCommandMailer::string2params.
398
399 2003-12-10  Angus Leeming  <leeming@lyx.org>
400
401         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
402         'dialog-show-new-inset <inset name>'
403
404 2003-12-10  Angus Leeming  <leeming@lyx.org>
405
406         * buffer.C: up the format to 227.
407
408         * factory.C: the box inset is now identified simply by 'Box'.
409
410 2003-12-10  Angus Leeming  <leeming@lyx.org>
411
412         * buffer.C: up the format to 226.
413
414         * factory.C: the note inset is now identified simply by 'Note'.
415
416 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
417
418         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
419         when a pit is enough. Standarize a couple of loops.
420
421 2003-12-05  Angus Leeming  <leeming@lyx.org>
422
423         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
424         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
425         data to the re-worked "log" dialog.
426
427 2003-12-03  André Pönitz  <poenitz@gmx.net>
428
429         * PosIterator.C:
430         * iterators.C:
431         * lyxtext.h:
432         * output_latex.C:
433         * paragraph_funcs.C:
434         * text.C:
435         * text2.C: use Inset::getText instead of Inset::getParagraph
436
437 2003-12-03  André Pönitz  <poenitz@gmx.net>
438
439         * buffer.[Ch]:
440         * lyxtext.h:
441         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
442         InsetText::read() as LyXText::read()
443
444 2003-12-02  Angus Leeming  <leeming@lyx.org>
445
446         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
447         type. Add a comment in the implementation that the function uses
448         the stream's bad() function rather than fail() as the std::streams
449         would do.
450
451 2003-12-02  André Pönitz  <poenitz@gmx.net>
452
453         * lyxlex.[Ch]: make interface more similar to std::stream
454
455         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
456
457 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
460
461 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
462
463         * vspace.[Ch]: remove VSpace::NONE
464
465 2003-12-01  André Pönitz  <poenitz@gmx.net>
466
467         * buffer.[Ch]:
468         * lyxtext.h: move ParagraphList member to LyXText
469         rename LyXText::ownerParagraphs to LyXText::paragraph
470
471         * CutAndPaste.C:
472         * bufferview_funcs.C:
473         * iterators.[Ch]:
474         * lyx_cb.C:
475         * paragraph.C:
476         * rowpainter.C:
477         * tabular.C:
478         * text.C:
479         * text2.C:
480         * text3.C: adjust
481
482         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
483
484         * undo.C: fix cursor positioning
485
486 2003-12-01  John Levon  <levon@movementarian.org>
487
488         * BufferView_pimpl.C: fix a crash on exit with
489         a buffer open
490
491 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
492
493         * BranchList.C: fix setSelected() method.
494
495 2003-11-28  André Pönitz  <poenitz@gmx.net>
496
497         * ParagraphParameters.[Ch]:
498         * ParameterStruct.h: remove space above/below from Paragraph to
499          InsetVSpace
500
501         * BufferView_pimpl.C:
502         * factory.C:
503         * lyxfunc.C:
504         * lyxtext.h:
505         * output_latex.C:
506         * paragraph.C:
507         * paragraph_funcs.C:
508         * rowpainter.[Ch]:
509         * text.C:
510         * text2.C:
511         * text3.C: adjust
512
513 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
514
515         * factory.C: Syntax change for CharStyles
516
517 2003-11-28  André Pönitz  <poenitz@gmx.net>
518
519         * BufferView.[Ch]:
520         * BufferView.[Ch]:
521         * buffer.[Ch]:
522         * buffer.[Ch]: move LyXText member
523
524 2003-11-28  André Pönitz  <poenitz@gmx.net>
525
526         * BufferView.[Ch]: make LyXText * text a private member
527
528         * BufferView_pimpl.C:
529         * cursor.C:
530         * iterators.C:
531         * lyx_cb.C:
532         * lyxfind.C:
533         * lyxtext.h:
534         * rowpainter.[Ch]:
535         * text.C:
536         * text2.C:
537         * undo.C: adjust
538
539         * output_plaintext.C: cleanup
540
541 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
542
543         * buffer.C:
544         * lyxtextclass.[Ch]: parametrize SGML document header
545
546 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * converter.[Ch]:
549         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
550         getFlavor().
551
552 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
553
554         * text2.C (setFont): rework using PosIterator (no more recursive)
555         (setCharFont): no more needed
556         (setLayout): no more selection cursors fiddling (done by redoCursor)
557         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
558         destroy remaining ones)
559
560 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
561
562         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
563         * lyxtext.h: ditto
564         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
565         selection cursors
566         * lyxfunc.C: adjust
567         * text3.C: adjust + re-allow multi par depth changes
568         * textcursor.C: simplify a bit
569
570 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
571
572         * src/buffer.C:
573         * src/lyxlayout.C:
574         * src/lyxlayout.h:
575         * src/lyxtext.h:
576         * src/output_docbook.C:
577         * src/output_latex.C:
578         * src/paragraph.C:
579         * src/paragraph.h:
580         * src/sgml.C:
581         * src/sgml.h:
582         * src/text2.C: Introducing a number of tags parametrizing various
583         XML formats that we may want to support
584
585 2003-11-25  André Pönitz  <poenitz@gmx.net>
586
587         * InsetList.[Ch] (begein, end): inline as suggested by profiler
588
589         * lyxtext.h (leftMargin/rightMargin): simplify interface
590
591         * rowpainter.C:
592         * text.C:
593         * text2.C:
594         * text3.C: adjust
595
596 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
597
598         * lyxfunc.C (dispatch): propogate the bibtex databases from the
599         master file to any child files. Fixes bug 546.
600
601 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
602
603         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
604
605 2003-11-24  André Pönitz  <poenitz@gmx.net>
606
607         * rowpainter.C: simplification
608
609         * text2.C (updateCounters): remove call to redoParagraph on
610         changed labels as this is far too expensive.
611
612 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
613
614         * converter.C (convert): fix a crash: this function gets
615         called with buffer == 0 from importer code.
616
617 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
618
619         * text3.C (cursorPrevious): make sure that we do not compare
620         iterators form different containers.
621         (cursorNext): ditto
622
623         * rowpainter.C (paintSelection): make sure that we do not compare
624         iterators from different containers.
625
626         * text3.C (dispatch): [PRIOR] make sure that we do not compare
627         iterators from different ParagraphList containers.
628         [NEXT] ditto
629
630         * text2.C (LyXText): change order of initialization slightly
631         (operator=): new function. copy all variables except cache_par_
632         (moveUp): make sure that we do not compare iterators from
633         different ParagraphList constainers.
634         (moveDown): ditto
635
636         * text.C (firstPar): new function
637         (lastPar): new function
638         (endPar): new function
639
640         * lyxtext.h: move things around and group public functions, public
641         variables, private functions, private variables
642
643 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
644
645         * factory.C: change call to InsetERT constructor to avoid
646         additional invocation of method status
647         * text2.C (toggleInset): remove redundant update() call
648         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
649         instead of a Bufferview pointer
650
651 2003-11-21  André Pönitz  <poenitz@gmx.net>
652
653         * rowpainter.C: simplification
654
655 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * text3.C (dispatch): make possible to extend a word/row selection
658         with the mouse
659
660 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * lyxtext.h: x0_,y0_ -> xo_,yo_
663         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
664         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
665         * rowpainter.C (paintRows): paint full paragraphs
666
667 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
668
669         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
670         screen coordinates)
671
672 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * lyxtext.h: add x0_, y0_
675         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
676         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
677
678 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * text2.C (setCursorIntern): move the x_target update here *
681         * text3.C: change some bv() to true/false in calls to
682         cursorUp/Down/Right/Left
683         * cursor.C: use helper function.
684
685 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
688         * paragraph_funcs.[Ch]: correct comment
689         * rowpainter.C: do not paint selections away from bv->cursor()
690         Fix a long standing selection painting bug.
691         * text3.C: generalize mouse-selection code to LyXTexts other that
692         top one
693         * textcursor.C: do not use y coords if we can use par offsets
694
695 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
698         cursor position after e.g. inset insert)
699
700 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * lyxfind.C (replace): adjust to locking removal + some
703         code simplification
704
705 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
706
707         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
708         of the path
709
710 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
711
712         * lyxlayout.[Ch]:
713         * output_docbook.C: XML sanitation: new layout
714         parameters InnerTag and CommandDepth
715
716 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
717
718         * BufferView_pimpl.C:
719         * factory.C:
720         * text3.C: Fix the insertion and modification of button-style
721         insets
722
723 2003-11-13  André Pönitz  <poenitz@gmx.net>
724
725         * InsetList.[Ch]: remove deleteLyXText
726
727         * paragraph.[Ch]: cache beginOfBody position
728
729         * Bidi.C:
730         * text.C:
731         * text2.C:
732         * text3.C: remove superfluous update() calls
733
734         * vspace.C: cleanup
735
736 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
739         * BufferView.C (fitLockedInsetCursor): remove
740         * cursor.[Ch] (getDim): add
741         * text.C (getRowNearY): add faster version
742         * text3.C: remove some update calls
743
744 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * LaTeXFeatures.C:
747         * LyXAction.C:
748         * MenuBackend.C:
749         * MenuBackend.h:
750         * dispatchresult.h:
751         * factory.C:
752         * lfuns.h:
753         * lyxfunc.C:
754         * lyxtextclass.C:
755         * lyxtextclass.h:
756         * text3.C: The Character Style /XML short element patch.
757
758 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * text3.C:
761         * factory.C: Small step to solving 'unable to insert some insets'
762         problem
763
764 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
765
766         * cursor.[Ch] (updatePos): new function for updating the y
767         position of the tip inset
768         * bufferview_funcs.C (put_selection_at):
769         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
770
771 2003-11-11  André Pönitz  <poenitz@gmx.net>
772
773         * text.C: remove big comment on invalid Paragraph pointers as it is
774         not valid anymore
775
776 2003-11-11  André Pönitz  <poenitz@gmx.net>
777
778         * text_funcs.[Ch]: merge with ...
779
780         * text.C: ... this
781
782         * lyxtext.h:
783         * text2.C:
784         * text3.C: adjust
785
786         * Makefile.am: remove text_funcs.[Ch]
787
788 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
789
790         * cursor.C (getPos): return absolute cached y coord
791
792         * BufferView_pimpl.C (fitCursor): new simplistic code
793         (workAreaDispatch): add a fitCursor call
794
795 2003-11-10  André Pönitz  <poenitz@gmx.net>
796
797         * BufferView.[Ch]:
798         * BufferView_pimpl.[Ch]: merge update() and updateInset()
799
800 2003-11-10  André Pönitz  <poenitz@gmx.net>
801
802         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
803         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
804         indicate that the cursor needs to leave an inset
805
806         * lyxtext.h: remove inset locking
807
808         * cursor.[Ch]: re-implement functionality provided by inset locking
809
810         * BufferView.[Ch]:
811         * BufferView_pimpl.[Ch]:
812         * LyXAction.C:
813         * bufferview_funcs.[Ch]:
814         * factory.C:
815         * funcrequest.[Ch]:
816         * iterators.C:
817         * lyx_cb.C:
818         * lyxfind.C:
819         * lyxfunc.C:
820         * text.C:
821         * text2.C:
822         * text3.C:
823         * undo.C: adjust
824
825 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
826
827         * PosIterator.[Ch]: replace the stack with a vector, add inset
828         accesor
829         * iterators.[C]: adjust
830
831 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
832
833         * lyxfind.C (replaceAll): mark the buffer dirty if something was
834         replaced
835         * paragraph_funcs.C (readParToken): put the correct id in the
836         error item, not the id of the top paragraph
837
838 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
839
840         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
841         * bufferview_funcs.C (put_selection_at): use the above
842
843 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
844
845         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
846
847 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * output_linuxdoc.h:
850         * output_plaintext.h:
851         * output.h:
852         * output_docbook.h: add #include statements
853
854 2003-11-05  José Matos  <jamatos@lyx.org>
855
856         * output_docbook.[Ch]:
857         * output_latex.[Ch]:
858         * output_linuxdoc.[Ch]:
859         * output_plaintext.[Ch]: New files for output formats.
860         * output.[Ch]: New file for helper functions.
861
862         * buffer.[Ch]:
863         * paragraph_funcs.[Ch]: output functions moved to new files.
864
865         * outputparams.h: rename of latexrunparams.h
866
867         * LaTeX.[Ch]:
868         * buffer.[Ch]:
869         * bufferlist.[Ch]:
870         * converter.[Ch]:
871         * exporter.C:
872         * paragraph.[Ch]:
873         * paragraph_funcs.[Ch]:
874         * paragraph_pimpl.[Ch]:
875         * tabular.[Ch]: rename ascii to plaintext
876         and LatexRunParams to OutputParams.
877
878 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
879
880         * iterators.[Ch] (text): require bv argument
881         * undo.C (recordUndo):
882         * lyxfunc.C (dispatch):
883         * bufferview_funcs.C (put_selection_at): adjust
884
885 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
886
887         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
888
889 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
890
891         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
892         nestings
893
894 2003-11-04  André Pönitz  <poenitz@gmx.net>
895
896         * cursor.[Ch]: restructure
897
898         * BufferView.[Ch]:
899         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
900
901         * iterators.[Ch] (asCursor): remove
902
903         * lfuns.h: remove LFUN_INSET_EDIT
904
905         * lyxfunc.C:
906         * tabular.C:
907         * text.C:
908         * text2.C:
909         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
910
911 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
912
913         * lyxfind.[Ch]: complete overhaul
914         * BufferView_pimpl.C:
915         * lyxfunc.C: adjust
916         * paragraph.[Ch] (insert): add
917
918 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
919
920         * BufferView.[Ch]:
921         * lyxtext.h:
922         * text.C: remove dead spellcheck code
923
924 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
925
926         * dispatchresult.h: add a val setter
927
928         * cursor.C (dispatch): use a tempvar for data_[i]
929
930 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
931
932         * PosIterator.[Ch]: compile fix
933
934 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
935
936         * text.C (cursorPar): deactivate the cursor cache
937
938 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
939
940         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
941
942 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * text3.C (dispatch): adjust for new DisptchResult semantics.
945
946         * lyxfunc.C (dispatch): handle update when return from
947         Cursor::dispatch, adjust for new DispatchResult semantics.
948
949         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
950         DispatchResult(true) mean to not update. Add class functions for
951         setting dispatched and update, as well as reading.
952
953         * cursor.C (dispatch): don't handle update here
954
955 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
956
957         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
958         * trans_mgr.C: adjust
959
960         * paragraph_funcs.C (readParToken): exception safety
961
962         * lyxvc.h: store the vcs pointer in a scoped_ptr
963         * lyxvc.C: adjust
964
965         * lyxsocket.C (serverCallback): exception safety
966
967         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
968
969         * ispell.C (clone): make it return a auto_ptr
970
971         * factory.C (createInset): exception safety
972         (readInset): exception safety
973
974         * bufferlist.C (newBuffer): exception safety
975
976         * Thesaurus.C (Thesaurus): use initialization for aik_
977
978         * MenuBackend.C (expandToc): exception safety.
979
980 2003-11-03  André Pönitz  <poenitz@gmx.net>
981
982         * buffer.C:
983         * buffer.h:
984         * bufferview_funcs.C: remove getInsetFromId()
985
986         * lyxcursor.[Ch]:
987         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
988
989         * lyxfunc.C:
990         * text2.C:
991         * text3.C: adjust
992
993 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
994
995         * PosIterator.C (distance, advance): new
996         * bufferview_funcs.[Ch] (put_selection_at): new
997         * iterators.[Ch] (lockPath): new
998
999 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1000
1001         * iterators.[Ch] (asPosIterator): added
1002         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1003         * PosIterator.[Ch]: added
1004
1005 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1006
1007         * text3.C:
1008         * lyxfunc.C:
1009         * cursor.C (dispatch):
1010         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1011
1012         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1013         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1014         contructor, add a class function dispatched. Remove operator>=
1015
1016 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1017
1018         * debug.C: only use the default constructor for debugstream
1019         (lyxerr) here.
1020
1021         * main.C (main): include debug.h and setup the lyxerr streambuf
1022         here.
1023
1024 2003-10-31  José Matos  <jamatos@lyx.org>
1025
1026         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1027
1028         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1029         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1030         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1031         * paragraph_pimpl.C (simpleTeXSpecialC):
1032         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1033         add LatexRunParams argument.
1034
1035         * exporter.C (Export): change call accordingly.
1036
1037         * latexrunparams.h: add new member to take care of the other backends.
1038 2003-10-30  José Matos  <jamatos@lyx.org>
1039
1040         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1041         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1042         factorise code for paragraph output.
1043         * buffer.[Ch]:
1044         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1045         move functions.
1046
1047 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1048
1049         * text3.C (dispatch):
1050         * lyxfunc.C (dispatch):
1051         * cursor.C (dispatch):
1052         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1053
1054         * dispatchresult.h: make the dispatch_result_t ctor explicit
1055
1056 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * sgml.[Ch]:
1059         * buffer.C: small refactoring of docbook stuff
1060
1061 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1062
1063         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1064         meaning.
1065
1066 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1067
1068         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1069         operator dispatch_result_t, and operators for == != and >=
1070
1071         * cursor.C (dispatch): adjust for operator dispatch_result_t
1072         removal. comment out call to update
1073
1074         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1075
1076 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * text3.C:
1079         * text2.C:
1080         * text.C:
1081         * lyxtext.h:
1082         * lyxfunc.C:
1083         * cursor.C:
1084         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1085         (dispatch):
1086
1087         * dispatchresult.h: new file, DispatchResult broken out of
1088         insets/insetbase.h
1089
1090         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1091
1092 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1093
1094         * text.C (rowBreakPoint): put a hack inside #if 0
1095
1096 2003-10-28  André Pönitz  <poenitz@gmx.net>
1097
1098         * lyxtext.h:
1099         * metricsinfo.C:
1100         * paragraph_funcs.C:
1101         * rowpainter.C:
1102         * text.C:
1103         * text2.C: general cleanup (lots of small stuff)
1104
1105 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1106
1107         * text2.C (cursorEnd): simple fix to the "end key goes to one
1108         before the end on last row" bug
1109
1110 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1111
1112         * text.C (backspace): fix the "zombie characters"
1113
1114 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1117
1118 2003-10-27  André Pönitz  <poenitz@gmx.net>
1119
1120         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1121
1122         * factory.C: handle new InsetPagebreak, InsetLine
1123
1124         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1125         and move handling into new InsetPagebreak, InsetLine
1126
1127         * BufferView_pimpl.C:
1128         * LyXAction.C:
1129         * ParagraphParameters.C:
1130         * ParameterStruct.h:
1131         * lyxfunc.C:
1132         * lyxtext.h:
1133         * paragraph.C:
1134         * paragraph.h:
1135         * paragraph_funcs.C:
1136         * paragraph_pimpl.C:
1137         * rowpainter.C:
1138         * text.C:
1139         * text2.C:
1140         * text3.C: adjust
1141
1142 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1143
1144         * text.C:
1145         * lyxrow_funcs.[Ch]:
1146         * Bidi.C:
1147         * paragraph.C:
1148         * lyxtext.h:
1149         * rowpainter.C:
1150         * text2.C:
1151         * text3.C: remove lastPos uses in favour of Row::endpos
1152
1153 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1154
1155         * undo.C (performUndoOrRedo): fix two crashes by setting a
1156         cursor by hand and reordering some calls. Use bv->lockInset instead
1157         of inset->edit because the latter loses cursor information
1158
1159 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1160
1161         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1162         by Martin
1163         (rowBreakPoint): fix width. change point to point + 1.
1164         Add a missing check.
1165
1166 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * MenuBackend.C:
1169         * lyxfunc.C: fix (at least partly) the problems
1170         with the Nav menu and headers inside branch insets
1171         reported by Kayvan
1172
1173 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1174
1175         * paragraph.C (getChar): add strong asserts
1176
1177         * lyxrow_funcs.C (lastPos): remove hideous hack
1178
1179         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1180         (fill): adjust to that (avoid an infinite loop)
1181
1182 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1185
1186 2003-10-23  André Pönitz  <poenitz@gmx.net>
1187
1188         * RowList_fwd.h: change list<> to vector<> to gain speed
1189         after suggestion from Alfredo
1190
1191 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * lyxtext.h: move the bidi stuff from here...
1194         * text.C: and here
1195         * text2.C: and here
1196         * Bidi.[Ch]: ... to here
1197
1198 2003-10-23  André Pönitz  <poenitz@gmx.net>
1199
1200         * lyxtext.h:
1201         * text.C (isLastRow, isFirstRow): new functions
1202
1203         * paragraph.h: new width cache member
1204
1205         * rowpainter.C: replace RowList::iterator with Row & where possible
1206
1207         * lyxfunc.C: replace several view()->text with a single call
1208
1209         * toc.C: fix 'unused' warning
1210
1211 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1212
1213         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1214         when woring with stream::pos_type
1215         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1216
1217 2003-10-22  André Pönitz  <poenitz@gmx.net>
1218
1219         * lyxtext.h:
1220         * text.C: use Row & instead of RowList::iterator
1221
1222         * lyxrow.h: rename end() to endpos()
1223
1224         * rowpainter.C:
1225         * text.C:
1226         * text2.C: adjust
1227
1228 2003-10-22  Angus Leeming  <leeming@lyx.org>
1229
1230         * buffer.[Ch] (fully_loaded): new member function, returning true
1231         only when the file has been loaded fully.
1232         Used to prevent the premature generation of previews and by the
1233         citation inset to prevent computation of the natbib-style label.
1234
1235         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1236         templates are all set up.
1237
1238         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1239
1240 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * text.C: fixed an "oops" in the "is a bit silly"
1243         bug fix
1244
1245 2003-10-21  André Pönitz  <poenitz@gmx.net>
1246
1247         * FuncStatus.[Ch]: small stuff, whitespace
1248
1249         * lyxfont.[Ch]: operator<<() for debug reasons
1250
1251         * lyxfunc.C:
1252         * lyxrow_funcs.C:
1253         * lyxtext.h: whitespace, spelling
1254
1255         * paragraph.C: naming of variables
1256
1257         * text.C:
1258         * text2.C: small stuff
1259
1260
1261 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * text.C: (1) finish off the inset display() work;
1264         (2) fix the "is a bit silly" bug (accessing char
1265         past end of par).
1266
1267 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * text.C: re-introduce display() for insets, fixing the
1270         various bugs (stretch of line above, math inset
1271         positioning, ...)
1272
1273 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         * text.C (rightMargin): remove spurious semicolon
1276
1277         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1278         1415)
1279
1280 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1281
1282         * text3.C: fix one crash due to wrong cursor def
1283
1284 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * vc-backend.C (scanMaster): make the regex static
1287
1288         * LaTeX.C (scanAuxFile): make the regexs static
1289
1290         * text3.C (doInsertInset, dispatch, dispatch):
1291         * text2.C (cursorUp, cursorDown):
1292         * text.C (selectNextWordToSpellcheck):
1293         * BufferView_pimpl.C (dispatch):
1294         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1295
1296 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * lyxsocket.C: include <cerrno>
1299
1300 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1301
1302         * lyxfunc.C (dispatch): remove textcache stuff
1303
1304         * bufferlist.C (release): remove textcache stuff
1305         (closeAll): ditto
1306
1307         * TextCache.C: delete file
1308         * TextCache.h: delete file
1309
1310         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1311
1312         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1313         delete of the bv_->text.
1314         (resizeCurrentBuffer): remove texcache stuff
1315         (workAreaResize): ditto
1316
1317 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1318
1319         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1320         action.
1321
1322 2003-10-16  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxrow.[Ch]:
1325         * paragraph.h:
1326         * rowpainter.C:
1327         * text.C:
1328         * text2.C:
1329         * text3.C: speed up by storing y positions per paragraph plus per-row
1330         offset instead of having a 'full' y position in the row.
1331
1332 2003-10-15  André Pönitz  <poenitz@gmx.net>
1333
1334         * iterators.[Ch]:
1335         * iterators.[Ch]:
1336         * undo.[Ch]: make undo aware of inner insets
1337
1338 2003-10-14  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1341         static member functions LyX::ref() and LyX::cref.
1342         (lastfiles): new accessor functions for the new lastfiles_ member var.
1343         (addLyXView, views_): add a new LyXView to the list of views_.
1344         (updateInset): loop over all LyXViews to call their own updateInset
1345         member function, returning a pointer to the Buffer owning the inset.
1346
1347         * BufferView_pimpl.C (loadLyXFile):
1348         * MenuBackend.C (expandLastfiles):
1349         * bufferlist.C (MenuWrite, QuitLyX):
1350         lastfiles is no longer a global variable.
1351         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1352
1353         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1354         static function. Access through LyX::cref().emergencyCleanup().
1355
1356 2003-10-14  André Pönitz  <poenitz@gmx.net>
1357
1358         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1359
1360         * undo.[Ch]: restoring part of 'undo in insets'
1361
1362         * Makefile.am:
1363         * undo_funcs.[Ch]: merge with undo.[Ch]
1364
1365         * tabular.C: small cleansing stuff
1366
1367 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1368
1369         * paragraph_funcs.C (readParToken): report unknown insets as error
1370         boxes. Use the outer paragraph as location (also for unknown
1371         tokens).
1372
1373         * factory.C (readInset): do not abort on reading an unknown inset.
1374         Eat it and return 0.
1375
1376 2003-10-13  Angus Leeming  <leeming@lyx.org>
1377
1378         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1379
1380         * lyxrc.C: displayTranslator is now a function,
1381         declared in GraphicsTypes.h.
1382
1383 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1384
1385         * format.C: new placeholder $$a to pass the socket address.
1386
1387         * bufferlist.[Ch]: new function getBufferFromTmp.
1388
1389         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1390           files in the temporary dir.
1391
1392 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1393
1394         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1395
1396         * Makefile.am: add lyxsocket.[Ch].
1397
1398         * lyx_main.C (error_handler): handle SIGPIPE.
1399
1400 2003-10-13  André Pönitz  <poenitz@gmx.net>
1401
1402         * BufferView_pimpl.C:
1403         * lyxtext.h:
1404         * text.C:
1405         * text2.C:
1406         * text3.C:
1407         * undo_funcs.[Ch]: use paroffset_type instead of
1408           ParagraphList::iterators to prevent multiple conversion
1409           (and get a more robust interface)
1410
1411 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1412
1413         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1414         * lyxtext.h: ditto
1415         * text3.C (dispatch): ditto
1416
1417 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1418
1419         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1420         move the onlyfile, use onlyfile instead of foundfile in a couple
1421         of places.
1422
1423         * DepTable.C (update): flush the error stream a bit more
1424
1425 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1426
1427         * lyxserver.C (callback): adjust
1428
1429         * lyxfunc.C (getStatus): add a missing brace in commented code
1430         (ensureBufferClean): reindent
1431         (dispatch): delete version taking a string
1432
1433 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1434
1435         * LaTeX.C (deplog): move found file handlig from here...
1436         (handleFoundFile): .. to new function here.
1437         (deplog): make sure to discover several files mentioned on the
1438         same log line.
1439
1440 2003-10-10  André Pönitz  <poenitz@gmx.net>
1441
1442         * lyxfunc.C:
1443         * lyxtext.h:
1444         * tabular.C:
1445         * text.C:
1446         * text2.C:
1447         * text3.C: fix some of the tabular crashes
1448
1449 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1450
1451         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1452
1453         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1454
1455 2003-10-09  André Pönitz  <poenitz@gmx.net>
1456
1457         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1458
1459         * BufferView.C:
1460         * BufferView_pimpl.C:
1461         * bufferview_funcs.C:
1462         * lyx_cb.C:
1463         * lyxcursor.C:
1464         * lyxfind.C:
1465         * lyxfunc.C:
1466         * lyxtext.h:
1467         * text.C:
1468         * text2.C:
1469         * text3.C:
1470         * text_funcs.[Ch]:
1471         * textcursor.[Ch]:
1472         * undo_funcs.C: adjust
1473
1474 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1475
1476         * text2.C (incrementItemDepth): new function, use a backtracking
1477         algorithm to discover the correct item depth.
1478         (resetEnumCounterIfNeeded): new function, use a backtracking
1479         algorithm to discover if counter reset is needed.
1480         (setCounter): use them. Simplify a bit. Add different labels for
1481         different item depths for itemize.
1482
1483         * paragraph.C (Paragraph): remove initialization of enumdepth
1484         (operator=): ditto
1485
1486         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1487         enumerate and itemize. Change the type of itemdepth to signed char.
1488
1489 2003-10-08  André Pönitz  <poenitz@gmx.net>
1490
1491         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1492           thing assignable.
1493         * text.C:
1494         * text2.C: adjust
1495
1496         * tabular.[Ch]: fix crash after 'row-insert'
1497
1498 2003-10-08  Angus Leeming  <leeming@lyx.org>
1499
1500         Fix doxygen warnings.
1501
1502         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1503         Remove CutAndPaste:: prefix from header file declaration.
1504
1505         * LColor.h (fill): remove LColor:: prefix from declaration.
1506
1507         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1508         use lyx::depth_type rather than Paragraph::depth_type so that
1509         header file and .C file match.
1510
1511         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1512
1513         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1514         * aspell.C: \file aspell_local.C -> \file aspell.C
1515         * gettext.C: \file gettext.C -> \file src/gettext.C
1516         * gettext.h: \file gettext.h -> \file src/gettext.h
1517         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1518         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1519         * text.C: \file text.C -> \file src/text.C
1520
1521         * toc.C: move comment so that doxygen is not confused.
1522
1523 2003-10-07  Angus Leeming  <leeming@lyx.org>
1524
1525         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1526
1527 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528
1529         * aspell.C:
1530         * aspell_local.h: add forgotten std::string's.
1531
1532 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1533
1534         * LaTeXFeatures.C:
1535         * LyXAction.C:
1536         * factory.C:
1537         * lfuns.h:
1538         * lyxfunc.C:
1539         * text3.C: The Box patch. Fancybox support, minipage, parbox
1540
1541 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1542
1543         * CutAndPaste.h:
1544         * DepTable.h:
1545         * FloatList.h:
1546         * LaTeXFeatures.h:
1547         * ParagraphParameters.h:
1548         * TextCache.h:
1549         * Thesaurus.h:
1550         * bufferlist.h:
1551         * exporter.h:
1552         * importer.h:
1553         * lastfiles.h:
1554         * lyxfind.h:
1555         * lyxfont.h:
1556         * lyxlex.h:
1557         * lyxtextclasslist.h:
1558         * messages.h:
1559         * paragraph.h:
1560         * paragraph_pimpl.C:
1561         * textcursor.h: add <string> and other small fixes to make Lars'
1562         std::string patch compile with STLport.
1563
1564 2003-10-06  Angus Leeming  <leeming@lyx.org>
1565
1566         * LColor.h: Add missing #include <string>.
1567
1568 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * All most all file in all subdirs: Make <string> be the prefered
1571         way of getting to std::string, add using declarations.
1572
1573 2003-10-06  André Pönitz  <poenitz@gmx.net>
1574
1575         * metricsinfo.C: initialize LyXFont before changing attribute.
1576         (fixes the 'math in \emph is upright' bug)
1577
1578 2003-10-06  André Pönitz  <poenitz@gmx.net>
1579
1580         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1581
1582 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1583
1584         * graph.C:
1585         * paragraph_pimpl.C: Small fixes to build using STLport
1586
1587 2003-10-02  André Pönitz  <poenitz@gmx.net>
1588
1589         * lyxfunc.C:
1590         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1591
1592 2003-10-01  André Pönitz  <poenitz@gmx.net>
1593
1594         * factory.C: assert early
1595
1596 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1597
1598         * lyx_main.C: remove the global debug object
1599
1600         * debug.h: adjust for new debugstream
1601
1602         * debug.C: adjust for new debugstream and keep the global debug
1603         object here.
1604
1605 2003-09-22  Angus Leeming  <leeming@lyx.org>
1606
1607         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1608         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1609         an incomplete class LyXFont.
1610
1611 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1612
1613         * factory.C: bug fix in branches
1614
1615 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * lyxfunc.C (processKeySym): adjust
1618         (dispatch): adjust
1619         (dispatch): change arg name from ev to func, adjust
1620         (sendDispatchMessage): ditto
1621
1622         * lyx_main.C (defaultKeyBindings): adjust keybindings
1623         (deadKeyBindings): ditto
1624
1625         * kbsequence.C (addkey): return a FuncRequest
1626
1627         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1628
1629         * kbmap.C (bind): take a FuncRequest as arg, adjust
1630         (read): adjust
1631         (lookup): adjust
1632         (defkey): change to take a FuncRequest as arg, adjust
1633         (findbinding): take a FuncRequest as arg, adjust.
1634
1635         * funcrequest.h (operator=): added
1636
1637         * funcrequest.C (FuncRequest): default kb_action changed from
1638         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1639
1640         * buffer.C (dispatch): simplify
1641         (dispatch): adjust to take a FuncRequest as arg, adjust
1642
1643         * boost.C (assertion_failed): change assertion message slightly
1644
1645         * ToolbarBackend.C (read): simplify
1646
1647         * MenuBackend.C (binding): adjust call to findbinding, add a
1648         message if no binding is found.
1649         (read): simplify
1650         (expandToc): correct by adding a empty FuncRequest
1651
1652         * LyXAction.C: include <boost/assert.hpp>
1653         (isPseudoAction): delete function
1654         (LookupFunc): change name to...
1655         (lookupFunc): this. change return type to FuncRequest.
1656         (getActionName): take kb_action as arg, simplify
1657         (funcHasFlag): add an assert, simplify.
1658
1659 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * toc.C (action): return a FuncRequest, simplify
1662
1663         * lyxfunc.C (processKeySym): adjust
1664         (getStatus): delete version that takes an int.
1665         (getStatus): adjust
1666         (dispatch): delete version that takes action as int
1667         (dispatch): adjust
1668         (sendDispatchMessage): simplify and adjust
1669
1670         * funcrequest.C (getArg): take unsigned int as arg
1671
1672         * ToolbarBackend.C (read): adjust
1673         (add): delete version that takes func as a string.
1674         (getIton): take a FuncRequest as arg
1675
1676         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1677         action.
1678
1679         * MenuBackend.C (MenuItem): add a new construct that only takes a
1680         Kind, simplify the constructor use for submenus.
1681         (add): adjust
1682         (expandLastfiles): adjust
1683         (expandDocuments): adjust
1684         (expandFormats): adjust
1685         (expandFloatListInsert): adjust
1686         (expandFloatInsert): adjust
1687         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1688
1689         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1690         Remove class variables lyx_pseudo_map and lyx_arg_map
1691
1692         * LyXAction.C (searchActionArg): delete function
1693         (getPseudoAction): delete function
1694         (retrieveActionArg): delete function
1695         (LookupFunc): make it return kb_action, simplify.
1696         (getActionName): simplify
1697
1698         * factory.C (createInset): fix new bug
1699
1700 2003-09-19  Angus Leeming  <leeming@lyx.org>
1701
1702         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1703         masterFilename_ parameter in the include inset.
1704
1705         * factory.C (createInset): changes due to the changes to InsetInclude.
1706
1707 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1708
1709         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1710
1711 2003-09-18  Angus Leeming  <leeming@lyx.org>
1712
1713         * buffer.C:
1714         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1715         Inset::fillWithBibKeys.
1716         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1717
1718 2003-09-18  Angus Leeming  <leeming@lyx.org>
1719
1720         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1721         variables.
1722         (ctor): pass and store a 'Buffer const &'
1723         (buffer): new member function.
1724
1725         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1726         '*this' to the LaTeXFeatures ctor.
1727
1728 2003-09-18  Angus Leeming  <leeming@lyx.org>
1729
1730         * LColor.h:
1731         * lyxfont.C:
1732         * lyxfont.h:
1733         * lyxtext.h:
1734         * text.C: rename EnumLColor as LColor_color.
1735
1736 2003-09-18  Angus Leeming  <leeming@lyx.org>
1737
1738         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1739         remove #include "insets/insetbase.h" from cursor.h.
1740
1741 2003-09-18  Angus Leeming  <leeming@lyx.org>
1742
1743         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1744         InsetOld_code to remove #include "inset.h".
1745
1746         * iterators.C: add #include "insets/inset.h"
1747
1748 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1749
1750         * BufferView.C: remove more locking stuff that apparently doesn't
1751         do anything sensible.
1752
1753 2003-09-16  André Pönitz  <poenitz@gmx.net>
1754
1755         * paragraph.[Ch]:
1756         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1757           performance boost.
1758
1759 2003-09-16  Angus Leeming  <leeming@lyx.org>
1760
1761         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1762
1763         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1764         arg/return type.
1765
1766         * paragraph.h: remove #include "lyxfont.h". Forward declare
1767         LyXFont_size.
1768
1769 2003-09-16  Angus Leeming  <leeming@lyx.org>
1770
1771         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1772         of support/textutils.h.
1773         (isWord): move the contents of support/textutils.h's IsWordChar here.
1774
1775         * buffer.C:
1776         * lyxfind.C:
1777         * rowpainter.C:
1778         * text.C:
1779         * text2.C: add #include "paragraph.h".
1780
1781         * rowpainter.C:
1782         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1783
1784 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1785
1786         * main.C:
1787         * lyx_main.C:
1788         * lyx_cb.C:
1789         * buffer.C:
1790         * LaTeX.C: use namespace alias for lyx::support::os
1791
1792 2003-09-16  Angus Leeming  <leeming@lyx.org>
1793
1794         * bufferparams.C:
1795         * bufferview_funcs.C:
1796         * factory.C:
1797         * lyxfunc.C:
1798         * paragraph_pimpl.C:
1799         * rowpainter.C:
1800         * text.C: add #include "LColor.h".
1801
1802 2003-09-16  Angus Leeming  <leeming@lyx.org>
1803
1804         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1805         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1806         return LyXFont &.
1807         Store the FontBits::color variable as an int rather than as an
1808         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1809         file.
1810
1811         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1812         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1813         string calls together.
1814
1815         * lyxrc.C: add #include "LColor.h".
1816
1817 2003-09-15  Angus Leeming  <leeming@lyx.org>
1818
1819         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1820         a cow_ptr.
1821
1822 2003-09-15  Angus Leeming  <leeming@lyx.org>
1823
1824         * LColor.h: add an EnumLColor wrapper for LColor::color.
1825
1826         * lyxfont.[Ch] (color, setColor, realColor):
1827         * lyxtext.h, text.C (backgroundColor):
1828         pass EnumLColor args to/from the functions, rather than LColor::color
1829         ones.
1830
1831         * lyxfont.h:
1832         * lyxtext.h: forward declare EnumLColor.
1833
1834         * lyx_main.C: add #include "LColor.h".
1835
1836 2003-09-15  Angus Leeming  <leeming@lyx.org>
1837
1838         * .cvsignore: add lyx-gtk.
1839
1840 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1841
1842         * Chktex.C
1843         * LaTeX.C
1844         * LaTeXFeatures.C
1845         * ParagraphParameters.C
1846         * Spacing.C
1847         * buffer.C
1848         * bufferparams.C
1849         * bufferview_funcs.C
1850         * chset.C
1851         * counters.C
1852         * funcrequest.C
1853         * lyxfont.C
1854         * lyxgluelength.C
1855         * lyxlength.C
1856         * paragraph.C
1857         * paragraph_funcs.C
1858         * text3.C
1859         * vc-backend.C: remove usage of STRCONV
1860
1861 2003-09-15  Angus Leeming  <leeming@lyx.org>
1862
1863         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1864         explicitly define the color passed to the painter.
1865
1866 2003-09-15  Angus Leeming  <leeming@lyx.org>
1867
1868         * bufferparams.C (BufferParams): reorder member initializers to avoid
1869         compiler warning.
1870
1871 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1874         * text.C (updateRowPositions): remove an unusual nop
1875
1876 2003-09-12  André Pönitz  <poenitz@gmx.net>
1877
1878         * BufferView_pimpl.C:
1879         * Bullet.C:
1880         * layout.h:
1881         * lyxfunc.C:
1882         * lyxlayout.[Ch]:
1883         * lyxtextclass.C:
1884         * rowpainter.C:
1885         * text.C:
1886         * text2.C:
1887         * Counters.[Ch]: finish the 'automatic counters' job
1888
1889 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1890
1891         * aspell.C: include <boost/assert.cpp> (compile fix)
1892
1893 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1894
1895         * boost.C (assertion_failed): use lyx::support::abort instead of
1896         assert.
1897
1898 2003-09-10  Angus Leeming  <leeming@lyx.org>
1899
1900         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1901         with their _fwd progeny.
1902
1903 2003-09-09  Angus Leeming  <leeming@lyx.org>
1904
1905         134 files throughtout the source tree: replace 'using namespace abc;'
1906         directives with the appropriate 'using abc::xyz;' declarations.
1907
1908 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1909
1910         * boost.C (emergencyCleanup): moved here from LAssert.c
1911         (assertion_failed): new function, called by BOOST_ASSERT
1912
1913         * several files: change Assert to BOOST_ASSERT
1914
1915 2003-09-09  Angus Leeming  <leeming@lyx.org>
1916
1917         * buffer.[Ch]: Add an Impl class and move Buffer's member
1918         variables into it. As a result move several header files out of
1919         buffer.h.
1920
1921         Add header files to lots of .C files all over the tree as a result.
1922
1923 2003-09-09  Angus Leeming  <leeming@lyx.org>
1924
1925         * buffer.[Ch]: make Buffer's member variables private. Add
1926         accessor functions.
1927
1928         Lots of changes all over the tree as a result.
1929
1930 2003-09-08  Angus Leeming  <leeming@lyx.org>
1931
1932         * graph.C: #include <config.h>.
1933
1934 2003-09-08  Angus Leeming  <leeming@lyx.org>
1935
1936         * BranchList.C:
1937         * BufferView.C:
1938         * BufferView_pimpl.C:
1939         * CutAndPaste.C:
1940         * DepTable.C:
1941         * LaTeX.C:
1942         * LaTeXFeatures.C:
1943         * LyXAction.C:
1944         * MenuBackend.C:
1945         * TextCache.C:
1946         * aspell.C:
1947         * buffer.C:
1948         * bufferlist.C:
1949         * changes.C:
1950         * chset.C:
1951         * converter.C:
1952         * counters.C:
1953         * debug.C:
1954         * graph.C:
1955         * ispell.C:
1956         * lyx_cb.C:
1957         * lyxfind.C:
1958         * lyxfunc.C:
1959         * lyxlex_pimpl.C:
1960         * lyxrc.C:
1961         * lyxrow.C:
1962         * paragraph.C:
1963         * rowpainter.C:
1964         * texrow.C:
1965         * text.C:
1966         * text2.C:
1967         * toc.C: remove redundant using directives.
1968
1969 2003-09-07  Angus Leeming  <leeming@lyx.org>
1970
1971         * LaTeXFeatures.h: remove #include "support/types.h".
1972         * ToolbarBackend.h: remove #include <algorithm>.
1973         * changes.h: remove #include <ctime>.
1974         * debug.h: remove #include <iosfwd>.
1975         * graph.h: remove #include "support/std_string.h".
1976         * lyx_main.h: remove #include <csignal>.
1977         * lyxlex_pimpl.h: remove #include <fstream>.
1978         * sgml.h: remove #include <algorithm>, <utility>.
1979         * toc.h: remove #include "support/std_ostream.h".
1980         Add #include <iosfwd>.
1981
1982 2003-09-07  Angus Leeming  <leeming@lyx.org>
1983
1984         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1985
1986         * converter.h: forward declare LatexRunParams.
1987         * encoding.h: remove #include "lyxrc.h".
1988         * lyxtext.h: remove #include "LColor.h".
1989         * lyxtextclass.h: remove #include "support/types.h".
1990         * trans.h: remove #include "tex-accent.h".
1991         * trans_mgr.h: remove #include "tex-accent.h".
1992         * insets/inset.h: remove #include "support/types.h", <vector>.
1993         * insets/insetcollapsable.h: remove #include "LColor.h".
1994         * insets/insetinclude.h: remove #include "dimension.h".
1995         * insets/insetlatexaccent.h: remove #include "dimension.h".
1996         * insets/insetoptarg.h:: remove #include "insettext.h".
1997         * insets/insettext.h: remove #include "dimension.h",
1998         <boost/shared_ptr.hpp>
1999
2000         * insets/renderers.h: add #include "dimension.h".
2001         * insets/updatableinset.h: add #include "support/types.h".
2002
2003         * many .C files: Associated changes.
2004
2005 2003-09-06  Angus Leeming  <leeming@lyx.org>
2006
2007         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2008         one, inside testInvariant.
2009
2010         * PrinterParams.C: new file.
2011         * PrinterParams.[Ch]: move the function bodies out of line.
2012
2013 2003-09-06  Angus Leeming  <leeming@lyx.org>
2014
2015         * ParagraphParameters.h: forward declare ParameterStruct rather than
2016         including its header file.
2017         (depth): moved out-of-line.
2018
2019 2003-09-06  Angus Leeming  <leeming@lyx.org>
2020
2021         * BufferView_pimpl.h:
2022         * kbmap.h:
2023         * kbsequence.h:
2024         * lyxfunc.h: forward declare LyXKeySym rather than
2025         #include "frontends/LyXKeySym.h".
2026
2027         * BufferView_pimpl.C:
2028         * kbmap.C:
2029         * kbsequence.C:
2030         * lyxfunc.C: associated changes.
2031
2032 2003-09-06  Angus Leeming  <leeming@lyx.org>
2033
2034         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2035         As a result, can remove the #include "insets/inset.h" from BufferView.h
2036
2037 2003-09-06  Angus Leeming  <leeming@lyx.org>
2038
2039         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2040         As a result, can remove the #include "insets/inset.h" from BufferView.h
2041
2042 2003-09-06  Angus Leeming  <leeming@lyx.org>
2043
2044         * buffer_funcs.C:
2045         * buffer.h:
2046         * bufferlist.C:
2047         * BufferView.C:
2048         * bufferview_funcs.C:
2049         * BufferView_pimpl.C:
2050         * CutAndPaste.C:
2051         * lyx_cb.C:
2052         * lyxfunc.C:
2053         * paragraph.h:
2054         * ParagraphParameters.C:
2055         * tabular.C:
2056         * text3.C:
2057         * toc.C:
2058         * undo_funcs.C:
2059         * frontends/controllers/ControlDocument.C:
2060         * insets/insetcaption.C: rearrange the #includes into some sort of
2061         coherent order.
2062
2063         * buffer.h: remove #includes ErrorList.h, undo.h
2064
2065 2003-09-06  Angus Leeming  <leeming@lyx.org>
2066
2067         * support/types.h: add a 'depth_type' typedef, used to store the
2068         nesting depth of a paragraph.
2069
2070         * paragraph.h:
2071         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2072         defining explicitly.
2073
2074         * buffer.h:
2075         * paragraph_funcs.h:
2076         * ParagraphParameters.h:
2077         * sgml.h: use lyx::depth_type rather than Paragraph or
2078         ParameterStruct's depth_type.
2079
2080         * buffer.h
2081         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2082
2083         * BufferView.C:
2084         * BufferView_pimpl.C:
2085         * CutAndPaste.C:
2086         * ParagraphParameters.C:
2087         * buffer_funcs.C:
2088         * bufferlist.C:
2089         * bufferview_funcs.C:
2090         * lyx_cb.C:
2091         * lyxfunc.C:
2092         * tabular.C:
2093         * text3.C:
2094         * toc.C:
2095         * undo_funcs.C:
2096         * frontends/LyXView.C:
2097         * frontends/controllers/ControlDocument.C:
2098         * frontends/controllers/ControlErrorList.C:
2099         * insets/insetbibitem.C:
2100         * insets/insetbranch.C:
2101         * insets/insetcaption.C:
2102         * insets/insetcollapsable.C:
2103         * insets/insetenv.C:
2104         * insets/insetert.C:
2105         * insets/insetfloat.C:
2106         * insets/insetfoot.C:
2107         * insets/insetfootlike.C:
2108         * insets/insetnewline.C:
2109         * insets/insetquotes.C:
2110         * insets/insettabular.C:
2111         * insets/insettext.C:
2112         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2113
2114         * frontends/controllers/ControlChanges.C: #include "changes.h".
2115
2116 2003-09-06  Angus Leeming  <leeming@lyx.org>
2117
2118         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2119         than #including paragraph.h.
2120
2121         * ParagraphList.h:
2122         * RowList.h: deleted. Superfluous.
2123
2124         * CutAndPaste.h:
2125         * iterators.h:
2126         * lyxcursor.h:
2127         * lyxtext.h:
2128         * text_funcs.h:
2129         * undo.h:
2130         * undo_funcs.h:
2131         * insets/inset.h:
2132         * insets/insettext.h: use ParagraphList_fwd.h rather than
2133         ParagraphList.h.
2134
2135         * paragraph.h: don't forward declare ParagraphList.
2136
2137         * buffer.h:
2138         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2139         rather than ParagraphList.h. paragraph.h is still needed for the
2140         Paragraph::depth_type parameters.
2141
2142         * textcursor.h: enable it to compile stand-alone in light of the
2143         above changes.
2144
2145         * bufferview_funcs.C:
2146         * iterators.C:
2147         * lyxfunc.C:
2148         * lyxrow_funcs.C:
2149         * paragraph.C:
2150         * rowpainter.C:
2151         * text.C:
2152         * text2.C:
2153         * text3.C:
2154         * text_funcs.C:
2155         * textcursor.C:
2156         * undo.C:
2157         * frontends/controllers/ControlParagraph.C:
2158         * frontends/controllers/ControlTabular.C:
2159         * insets/insetmarginal.C:
2160         * insets/insetminipage.C:
2161         * insets/insetnote.C:
2162         * insets/insetoptarg.C: add header files needed to compile again.
2163
2164 2003-09-06  Angus Leeming  <leeming@lyx.org>
2165
2166         * RowList_fwd.h: new file, forward-declaring Row rather than
2167         #including lyxrow.h.
2168
2169         * lyxrow_funcs.h:
2170         * lyxtext.h:
2171         * paragraph.h:
2172         * insets/insettext.h: use it instead of RowList.h
2173
2174         * bufferview_funcs.C:
2175         * lyxfunc.C:
2176         * lyxrow_funcs.C:
2177         * paragraph.C:
2178         * rowpainter.C:
2179         * text.C:
2180         * text2.C:
2181         * text3.C: #include "RowList.h".
2182
2183 2003-09-05  Angus Leeming  <leeming@lyx.org>
2184
2185         * factory.C (createInset):
2186         * vspace.C (c-tor): replace sscanf call with an istringstream.
2187         * ispell.C: re-add missing HP/UX headers.
2188         * lyxserver.C: re-add missing  os2 headers.
2189
2190 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2191
2192         * BranchList.C:
2193         * graph.C:
2194         * ispell.C:
2195         * lastfiles.C:
2196         * lyx_cb.C:
2197         * lyxserver.C:
2198         * texrow.C:
2199         * text3.C: re-add missing system headers, needed for 2.95.2.
2200
2201 2003-09-05  Angus Leeming  <leeming@lyx.org>
2202
2203         Changes most place everywhere due to the removal of using directives
2204         from support/std_sstream.h.
2205
2206 2003-09-05  Angus Leeming  <leeming@lyx.org>
2207
2208         Replace LString.h with support/std_string.h,
2209         Lsstream.h with support/std_sstream.h,
2210         support/LIstream.h with support/std_istream.h,
2211         support/LOstream.h with support/std_ostream.h.
2212
2213         Changes resulting throughout the tree.
2214
2215 2003-09-05  Angus Leeming  <leeming@lyx.org>
2216
2217         * sgml.h: ensure that the header file can be compiled stand-alone.
2218         * *.C: strip out redundant #includes. (320 in total.)
2219
2220 2003-09-04  Angus Leeming  <leeming@lyx.org>
2221
2222         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2223         here (from getPackages).
2224
2225         * debug.[Ch]: add a new EXTERNAL tag.
2226
2227 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2228
2229         * text2.C (cursorEnd): simplify
2230         (setCursor): adjust
2231         (getColumnNearX): adjust
2232
2233         * text.C (computeBidiTables): adjust
2234         (fill): adjust
2235
2236         * rowpainter.C (paintChars): adjust
2237         (paintSelection): adjust
2238         (paintChangeBar): adjust
2239         (paintText): adjust
2240
2241         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2242         lastPos instead.
2243         (numberOfSeparators): adjust
2244
2245 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * LyXAction.C:
2248         * box.[Ch]:
2249         * lfuns.h:
2250         * lyxfunc.C:
2251         * text3.C: Restricts the mouse click functionality
2252         of insets like bibtex, include, toc and floatlist to the visible
2253         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2254         up the dialogs. Cursor has to be in front of the inset (i.e.
2255         start of row) for this to function.
2256
2257 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2258
2259         * bufferview_funcs.C (currentState): output row information
2260
2261 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2262
2263         * bufferview_funcs.C (currentState): output paragraph position
2264
2265 2003-09-04  Angus Leeming  <leeming@lyx.org>
2266
2267         * FloatList.h: move out #include "Floating.h".
2268         * LaTeX.h: move out #include "DepTable.h".
2269         * LyXAction.h: move out #include "funcrequest.h".
2270         * buffer.h: move out #include "author.h", "iterators.h".
2271         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2272         * lyx_main.h: move out #include "errorlist.h".
2273         * lyxfunc.h: move out #include "FuncStatus.h".
2274         * lyxtext: move out #include "lyxcursor.h".
2275         * paragraph_pimpl.h: move out #include "counters.h".
2276
2277 2003-09-03  Angus Leeming  <leeming@lyx.org>
2278
2279         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2280         preamble_snippets list, enabling us to add snippets to the preamble
2281         only if the snippet was not there already.
2282
2283 2003-09-04  Angus Leeming  <leeming@lyx.org>
2284
2285         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2286
2287 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2290         update
2291
2292 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2293
2294         * BranchList.C: point fix, earlier forgotten
2295
2296 2003-09-02  Angus Leeming  <leeming@lyx.org>
2297
2298         * box.C (contains): renamed from 'contained' after a fantastic
2299         amount of hot air.
2300
2301 2003-09-02  John Levon  <levon@movementarian.org>
2302
2303         * BufferView.C:
2304         * lyxcursor.h:
2305         * lyxcursor.C:
2306         * lyxfunc.C:
2307         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2308
2309 2003-09-02  John Levon  <levon@movementarian.org>
2310
2311         * text2.C: simplification of cursorEnd(), including partial
2312         fix for bug 1376
2313
2314 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * buffer.C (readFile): add a space
2317
2318 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2319
2320         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2321
2322 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2323
2324         * buffer.C (readFile): new function, take a filename and a
2325         ParagraphList::iterator
2326         (readFile): adjust
2327         (readFile): adjust, make it private. don't use setStream, make
2328         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2329         always contain the filename.
2330
2331         * BufferView.C (insertLyXFile): simplify and make it work for
2332         gzipped files.
2333
2334 2003-08-30  John Levon  <levon@movementarian.org>
2335
2336         * Makefile.am: fix dist (from Kayvan)
2337
2338 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2339
2340         * most files: change to use const Buffer refs
2341
2342 2003-08-27  André Pönitz  <poenitz@gmx.net>
2343
2344         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2345         on top of ownerPar().
2346
2347 2003-08-27  John Levon  <levon@movementarian.org>
2348
2349         * funcrequest.C: properly initialise POD members
2350
2351 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2352
2353         * lyxtext.h (top_y): move top_y from here
2354         * text.C:
2355         * text2.C:
2356         * text3.C:
2357         * BufferView.[Ch]:
2358         * BufferView_pimpl.[Ch]: to here
2359         * frontends/screen.C:
2360         * insets/insettabular.C:
2361         * insets/insettext.C: adjust
2362         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2363
2364 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * BufferView.[Ch]:
2367         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2368
2369 2003-08-26  André Pönitz  <poenitz@gmx.net>
2370
2371         * paragraph_func.[Ch] (outerPar): new function
2372
2373         * paragraph.C:
2374         * paragraph_funcs.C:
2375         * paragraph_funcs.h:
2376         * paragraph_pimpl.C:
2377         * text2.C: remove Inset::par_owner
2378
2379 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2380
2381         * lyxrow_funcs.C:
2382         * lyxtext.h:
2383         * text.C:
2384         * text2.C: eliminates the needFullRow/display() stuff
2385         altogether, putting the logic in metrics/draw in the insets.
2386
2387 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2388
2389         * text2.C (redoParagraphInternal, redoParagraphs):
2390         * text.C (redoParagraph): add a call to updateRowPositions at the
2391         end of each 'metrics-like' call. Remove all others.
2392         (getRow): remove the 'y-computing' version.
2393         (getRowNearY): do not compute nor return the real y. Solve the
2394         'y < 0' problem and simplify.
2395
2396 2003-08-22  Angus Leeming  <leeming@lyx.org>
2397
2398         * *.[Ch]: clean-up of licence and author blurbs.
2399         Also move config.h out of a few .h files and into a few .C files.
2400
2401 2003-08-22  André Pönitz  <poenitz@gmx.net>
2402
2403         * lyxrow.[Ch]: add x_ and *fill_ members
2404
2405         * lyxtext.h:
2406         * text.C:
2407         * rowpainter.C:
2408         * text2.C: adjust/remove prepareToPrint() calls
2409
2410 2003-08-22  André Pönitz  <poenitz@gmx.net>
2411
2412         * lyxrow.[Ch]: add  end_ member
2413
2414         * lyxrow_funcs.C: use LyXRow::end_
2415
2416         * lyxtext.h (singleWidth): add LyXFont parameter
2417
2418         * rowpainter.C:
2419         * text2.C: adjust LyXText::singleWidth() calls
2420
2421         * text.C (redoParagraph): simplify row breaking logic
2422
2423
2424 2003-08-19  André Pönitz  <poenitz@gmx.net>
2425
2426         * funcrequest.C: initialize button_ member
2427
2428         * text3.C:
2429         * rowpainter.[Ch]: interface consolidation
2430
2431 2003-08-18  André Pönitz  <poenitz@gmx.net>
2432
2433         * BufferView.C:
2434         * BufferView_pimpl.C:
2435         * lyxfind.C:
2436         * paragraph_funcs.C:
2437         * rowpainter.C:
2438         * text3.C: remove LyXScreen::draw() and fitCursor calls
2439
2440         * BranchList.h: remove spurious semicolons
2441
2442         * MenuBackend.C: fix branchlist related crash
2443
2444 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * BranchList.[Ch]:
2447         * InsetList.[Ch]:
2448         * LColor.[Ch]:
2449         * LyXAction.C:
2450         * Makefile.am:
2451         * MenuBackend.[Ch]:
2452         * bufferparams.[Ch]:
2453         * factory.C:
2454         * lfuns.h:
2455         * lyxfunc.C:
2456         * text3.C: implements the 'branch inset'
2457         idea. This allows the output of various versions of a document
2458         from a single source version, selectively outputing or suppressing
2459         output of parts of the text.
2460         This implementation contains a 'branch list editor' in a separate
2461         tab of the document settings dialog. Branches are user definable
2462         and have a "display colour" to distinguish them on-screen.
2463
2464         ColorHandler was somewhat cleaned up.
2465         (1) make possible a dynamically growing LColor list by allowing
2466         the graphic context cache to grow along (vector);
2467         (2) eliminate an IMHO unnecessary step in colour allocation.
2468
2469 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2470
2471         * BufferView_pimpl.C: compile fix
2472
2473 2003-08-15  André Pönitz  <poenitz@gmx.net>
2474
2475         * rowpainter.C: remove extra metrics calls
2476
2477         * lyxtext.h: merge the two constructors into a single one,
2478           pass reference to owner's par list
2479
2480         * BufferView_pimpl.C:
2481         * text.C:
2482         * text2.C: adjust
2483
2484 2003-08-15  André Pönitz  <poenitz@gmx.net>
2485
2486         * lyxrow_funcs.[Ch]:
2487         * lyxtext.h:
2488         * paragraph.h:
2489         * paragraph_funcs.C:
2490         * rowpainter.C:
2491         * text.C:
2492         * text2.C:
2493         * text3.C:
2494         * text_funcs.C: split LyXText::rowlist_ into individual
2495         Paragraph::rows_ chunks
2496
2497         * BufferView.[Ch]:
2498         * BufferView_pimpl.[Ch]:
2499         * lyxfind.C:
2500         * lyxtext.h:
2501         * text3.C: remove toggleSelection()
2502
2503 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2504
2505         * bufferlist.C: beautify two alerts (shorter text of buttons)
2506         * buffer.C: Remove redundant ' ' from message
2507         * tabular.h:
2508         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2509         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2510         rename VALIGN_CENTER to VALIGN_MIDDLE
2511
2512 2003-08-11  André Pönitz  <poenitz@gmx.net>
2513
2514         * lyxtext.h (getPar):
2515         * text.C: new function
2516
2517 2003-08-11  André Pönitz  <poenitz@gmx.net>
2518
2519         * Makefile.am:
2520         * tracer.[Ch]: remove unneeded files
2521
2522         * InsetList.[Ch]: remove resizeInsetsLyXText()
2523
2524         * lyxtext.h:
2525         * text.C:
2526         * text2.C:
2527         * text3.C: merge insertParagraphs() and appendParagraph()
2528         remove breakAgain(), update()
2529
2530         * BufferView_pimpl.[Ch]:
2531         * bufferview_funcs.[Ch]:
2532         * lyxfunc.C:
2533         * paragraph.[Ch]:
2534         * rowpainter.C:
2535         * tabular.C: adjust after text & InsetList changes.
2536
2537 2003-08-08  André Pönitz  <poenitz@gmx.net>
2538
2539         * text.C (insertChar, backspace): replace rowlist fiddling
2540         with rebreak of full par
2541
2542         * lyxtext.h:
2543         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2544         checkParagraph, updateInset): removed
2545
2546 2003-08-07  André Pönitz  <poenitz@gmx.net>
2547
2548         * paragraph.C:
2549         * text3.C: merge some LFUN handlers, remove dead code
2550
2551 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2552
2553         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2554
2555 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * text2.C (DEPM): fix part of bug 1255 and 1256
2558
2559 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * BufferView_pimpl.C (workAreaDispatch): change to use
2562         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2563         that are no mouse related.
2564
2565 2003-08-05  André Pönitz  <poenitz@gmx.net>
2566
2567         * BufferView.[Ch]:
2568         * BufferView_pimpl.[Ch]:
2569         * bufferview_funcs.C:
2570         * text2.C:
2571         * text3.C: rip out "deep update"
2572
2573         * textcursor.[Ch] (last_sel_cursor): remove unused member
2574
2575 2003-08-04  André Pönitz  <poenitz@gmx.net>
2576
2577         * BufferView.[Ch]:
2578         * BufferView_pimpl.[Ch]:
2579         * ParagraphParameters.C:
2580         * bufferview_funcs.C:
2581         * lyx_cb.C:
2582         * lyxfind.C:
2583         * lyxfunc.C:
2584         * text.C:
2585         * text2.C:
2586         * text3.C: replace "complicated" BufferView::update(...) calls with
2587         simpler ones.
2588
2589         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2590
2591 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2592
2593         * Makefile.am (lyx_SOURCES): add paper.h
2594
2595 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2596
2597         * Makefile.am: move things around so that both lyx-qt and
2598         lyx-xforms can be built (according to --with-frontend). Then lyx
2599         is a symbolic link to lyx-[firstfrontend]
2600
2601 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2602
2603         * Always use std::endl with lyxerr
2604
2605 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2606
2607         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2608
2609 2003-08-01  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView.[Ch]:
2612         * BufferView_pimpl.[Ch]:
2613         * lyxfunc.C:
2614         * text3.C: merge BufferView::repaint() and BufferView::update()
2615
2616 2003-08-01  José Matos  <jamatos@lyx.org>
2617
2618         * buffer.[Ch]: file_format is no longer a buffer data element.
2619
2620 2003-08-01  André Pönitz  <poenitz@gmx.net>
2621
2622         * BufferView.C:
2623         * lyxtext.h:
2624         * text.C:
2625         * text2.C: make redoParagraph more independent of current cursor
2626
2627         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2628         * text.C:
2629         * text2.C: remove unneeded members
2630
2631 2003-07-30  André Pönitz  <poenitz@gmx.net>
2632
2633         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2634
2635         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2636           create a single function...
2637
2638         * paragraph_funcs.C (moveItem): ... here.
2639
2640         * text.C:
2641           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2642
2643 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2644
2645         * LColor.[Ch]: Add comment and greyedout logical colors.
2646
2647 2003-07-30  André Pönitz  <poenitz@gmx.net>
2648
2649         * tabular.C: don't use Assert too heavily. This crashes where it
2650           shouldn't
2651
2652 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2655         is disabled (bug 1232)
2656
2657 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2658
2659         * factory.C: limited 'arg' scope
2660
2661 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2662
2663         * factory.C: fixed Note submenu issues
2664
2665 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2666
2667         * factory.C: submenu for Note/Comment/Greyedout
2668
2669 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2670
2671         * lyx_main.C (LyX):
2672         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2673
2674 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2675
2676         * LaTeXFeatures.C:
2677         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2678         greyedout. Patch provided by Jürgen Spitzmüller.
2679
2680 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2681
2682         * kbmap.C (read): fix error message when reading bind files
2683
2684 2003-07-29  Angus Leeming  <leeming@lyx.org>
2685
2686         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2687         certainly does not do what it purports to do. I am doing it, and
2688         us, a favour by killing it.
2689
2690 2003-07-28  José Matos  <jamatos@lyx.org>
2691
2692         * buffer.C (readBody, do_writeFile):
2693         * paragraph.C(readParagraph): \end_document replaces \the_end.
2694
2695 2003-07-29  André Pönitz  <poenitz@gmx.net>
2696
2697         * BufferView.[Ch]:
2698         * BufferView_pimpl.[Ch]:
2699         * lyxfunc.C:
2700         * text2.C:
2701         * text3.C:
2702         * textcursor.[Ch]: remove toggleToggle & Co
2703
2704 2003-07-28  José Matos  <jamatos@fep.up.pt>
2705
2706         * buffer.C (readParagraph):
2707         * params_func (readParToken, readParagraph):
2708         * paragraph.C (write): \layout -> \begin_layout.
2709
2710 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * lyxlex_pimpl.C (setFile): clean up slightly.
2713
2714         * bufferparams.h: add compressed var
2715
2716         * buffer_funcs.C (readFile): adjust for LyXLex change
2717         (newFile): ditto + simplify
2718
2719         * buffer.C (writeFile): handle writing of compressed files
2720
2721         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2722         Check if the file is compressed and set a bufferparm if so.
2723
2724         * Makefile.am (lyx_LDADD): remove explicit -lz
2725
2726 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2727
2728         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2729         makeDocBookFile): put the real LyX version in the first line of
2730         the file
2731
2732         * version.h:
2733         * version.C.in: remove lyx_docversion
2734
2735         * tabular.C (write_attribute): add a template-based version to
2736         write enums properly
2737
2738 2003-07-28  André Pönitz  <poenitz@gmx.net>
2739
2740         * lyxtext.h:
2741         * text.C:
2742         * text2.C:
2743         * text3.C: use doubles again for x-coordinates. They are needed.
2744
2745 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * messages.C (getLocaleDir): use lyx_localedir()
2748
2749         * lyxlex_pimpl.C (setFile): compress stuff
2750
2751         * buffer.C (writeFile): add some compression stuff
2752         (do_writeFile): new func, dont call expliti close... will this
2753         breake anything?
2754
2755         * Makefile.am (lyx_LDADD): add -lz
2756
2757 2003-07-28  José Matos  <jamatos@fep.up.pt>
2758
2759         * buffer.C: increment file format.
2760         * paragraph_funcs (readParagraph, readParToken):
2761         * paragraph.C (readParagraph): add \end_layout.
2762
2763 2003-07-27  Angus Leeming  <leeming@lyx.org>
2764
2765         * Makefile.am: remove special casing for configure-time setting of
2766         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2767
2768         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2769         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2770
2771 2003-07-26  André Pönitz  <poenitz@gmx.net>
2772
2773         * paragraph_func.[Ch]:
2774         * paragraph.C (realizeFont): inline it whereever it is used
2775
2776         * rowpainter.C:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2780
2781
2782 2003-07-26  André Pönitz  <poenitz@gmx.net>
2783
2784         *       lyxtext.h:
2785         * text.C:
2786         * text2.C: get rid of LyXText::need_break_row
2787
2788 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * toc.[Ch]: put namespace toc inside namespace lyx
2791
2792         * MenuBackend.C (expandToc2): adjust for lyx::toc
2793         (expandToc): ditto
2794
2795         * lyxfunc.C (dispatch): adjust for lyx::find
2796
2797         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2798         lyx::find instead. Reorganize a bit.
2799         (LyXReplace): rename to replace
2800         (LyXFind): rename to find
2801
2802         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2803         (dispatch): ditto
2804
2805 2003-07-26  André Pönitz  <poenitz@gmx.net>
2806
2807         * text.C (setHeightOfRow): restrict scope of temporary variable
2808
2809         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2810           code (never has been used?)
2811
2812 2003-07-27  Asger Alstrup  <alstrup@local>
2813
2814         * text.C (fill): Optimise algorithm to exploit that we can reuse
2815         the LyXFont for many characters.
2816         (setHeightOfRow): Same thing.
2817         (rowBreakPoint): Same thing.
2818
2819 2003-07-26  Asger Alstrup  <alstrup@local>
2820
2821         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2822
2823         * text.C (singleWidth): Spurious font copying in hot-spot
2824         singleWidth avoided. Reorder tests for arabic for efficiency.
2825
2826         * text.C (fill): handle empty paragraphs better.
2827
2828 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2829
2830         * ispell.C:
2831         * encoding.h: add includes
2832
2833         * lyxrc.C: remove reading of bind files
2834
2835         * lyx_main.C (init): setup bindings and menus only if we have a
2836         gui.
2837
2838         * kbmap.C (read): new method. Do the actual reading of bind
2839         files.
2840
2841         * converter.C (dvipdfm_options):
2842         * bufferparams.C:
2843         * lyxrc.C (read):
2844         (output): adapt PAPER_* enums.
2845
2846         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2847
2848         * bufferparams.h: remove paper-related enums from there
2849
2850         * paper.h: New file. A trivial header file to hold paper-related
2851         enums. It should later expand to contain many paper-related
2852         horrors access.
2853
2854         * lyxrc.C: declare extern displayTranslator
2855
2856 2003-07-27  José Matos  <jamatos@fep.up.pt>
2857
2858         * tabular.[Ch] (linuxdoc): add support for tables and figures
2859         (linuxdoc).
2860
2861 2003-07-27  José Matos  <jamatos@fep.up.pt>
2862
2863         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2864         consistency in both functions.
2865         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2866
2867 2003-07-26  Asger Alstrup  <alstrup@local>
2868
2869         * rowpainter.C (paintRows): Change algorithm to work directly on
2870         the insets rather than asking every character in the document
2871         whether its an inset.
2872
2873 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2874
2875         * buffer.C (openFileWrite): factorize some code
2876
2877 2003-07-26  Angus Leeming  <leeming@lyx.org>
2878
2879         * lyx_cb.C:
2880         * lyx_main.[Ch]: replace occurances of system_tempdir with
2881         os::getTmpDir().
2882
2883 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * rename Inset to InsetOld
2886
2887 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2888
2889         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2890         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2891         which I think is a bit clearer. EDIT is gone, since it was
2892         premature optimisation, and broken for mathed anyway.
2893         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2894         with cursor positioning in insets as well (math insets still do not
2895         work, but that's a different story anyway.) It mysteriously
2896         crashes sometimes with undo in the first paragraph, but I'm fairly
2897         confident that this is a compiler bug.
2898
2899 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2900
2901         * paragraph.C (Paragraph): adjust for new clone return type
2902         (operator==): ditto
2903         (copyIntoMinibuffer): ditto
2904
2905 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2906
2907         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2908         by not having a special case, and always doing a full rebreak of
2909         the document after undo.
2910
2911 2003-07-23  Angus Leeming  <leeming@lyx.org>
2912
2913         * factory.C (createInset): InsetExternal::setParams now takes a
2914         Buffer const * arg.
2915
2916 2003-07-23  Angus Leeming  <leeming@lyx.org>
2917
2918         * factory.C (createInset): changed interface to the external and
2919         graphics mailers' string2params functions.
2920
2921 2003-07-23  Angus Leeming  <leeming@lyx.org>
2922
2923         * factory.C (createInset): pass a
2924         Buffer const * parameter to InsetExternalMailer's string2params.
2925
2926 2003-07-22  John Levon  <levon@movementarian.org>
2927
2928         * Thesaurus.h: include the right aiksaurus header
2929
2930 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2931
2932         * MenuBackend.C (expand): check menu shortcuts unconditionally
2933
2934 2003-07-21  Angus Leeming  <leeming@lyx.org>
2935
2936         * factory.C (createInset): pass a
2937         buffer_path parameter to InsetGraphicsMailer's string2params.
2938
2939 2003-07-21  Angus Leeming  <leeming@lyx.org>
2940
2941         * BufferView_pimpl.C (buffer):
2942         * buffer.C (d-tor):
2943         * lyx_main.C (LyX):
2944         * lyxfunc.C (dispatch):
2945         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2946         rather than the grfx shortcut.
2947
2948 2003-07-21  André Pönitz  <poenitz@gmx.net>
2949
2950         * rowpainter.C: remove unused variables
2951
2952         * tabular_funcs.C:
2953         * tabular_funcs.h: move to tabular.C
2954         * Makefile.am: adjust
2955
2956         * tabular.[Ch]: basic optical cleaning
2957
2958         * author.h: pass references, not values
2959
2960 2003-07-18  André Pönitz  <poenitz@gmx.net>
2961
2962         * lyxtext.h:
2963         * metricsinfo.C:
2964         * metricsinfo.h:
2965         * rowpainter.C:
2966         * text.C:
2967         * text2.C:
2968         * text3.C: two-phase drawing for InsetText and InsetTabular
2969         some float -> int changes.
2970
2971 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * lyx_main.C: fix the fix
2974
2975 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * lyx_main.C: fix a crash in batch mode if no files specified
2978         * converter.C: ws
2979
2980 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * format.[Ch] (papersize): moved to BufferParams
2983         * converter.[Ch] (dvips_options): moved to BufferParams
2984         (dvipdfm_options): moved to anon namespace
2985         * bufferparams.[Ch]: added above functions.
2986
2987 2003-07-17  André Pönitz  <poenitz@gmx.net>
2988
2989         * lyxtext.h:
2990         * rowpainter.C:
2991         * text2.C: don't call inset->update() anymore
2992
2993         * metricsinfo.[Ch]: add convenience constructor
2994
2995 2003-07-16  André Pönitz  <poenitz@gmx.net>
2996
2997         * lyxcursor.[Ch]:
2998         * lyxfunc.[Ch]:
2999         * text.C:
3000         * text2.C: replace the LyXCursor::irow_ member with
3001          on-demand computation of the value
3002
3003 2003-07-16  John Levon  <levon@movementarian.org>
3004
3005         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3006
3007 2003-07-15  André Pönitz  <poenitz@gmx.net>
3008
3009         * text.C:
3010         * text2.C: remove no more needed refresh_row
3011
3012 2003-07-15  André Pönitz  <poenitz@gmx.net>
3013
3014         * lyxtext.h:
3015         * rowpainter.C:
3016         * text2.C:
3017         * text3.C: refresh_status tristate -> need_update bool
3018
3019 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3020
3021         * lyxtext.h (init): remove reinit argument (act as if always true)
3022         * text2.C: adjust to that
3023
3024 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3025
3026         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3027         * text3.C: use it to delete selections in some cases
3028         (bugs 441, 673, 702, 954).
3029
3030 2003-07-14  André Pönitz  <poenitz@gmx.net>
3031
3032         * rowpainter.[Ch]: reduce interface
3033
3034 2003-07-14  André Pönitz  <poenitz@gmx.net>
3035
3036         * BufferView_pimpl.C:
3037         * text2.C: adjust after removing unused BufferView * argument
3038
3039 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * text2.C (init): fix a crash fired on resize
3042
3043 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * buffer.[Ch]: added new closing signal
3046         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3047         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3048         BufferView::Pimpl via the closing the signal
3049
3050 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * buffer.[Ch]: take out all bv-related from buffer
3053         * BufferView.C:
3054         * BufferView_pimpl.[Ch]: connect to new signals
3055         * CutAndPaste.C: removed useless asserts
3056         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3057         * lyxvc.[Ch]:
3058         * vc-backend.[Ch]:
3059         * lyxfunc.C: moved view-related funciontality from vc here
3060         * paragraph.C: removed outdated comments
3061         * text.C: ws
3062
3063 2003-07-10  André Pönitz  <poenitz@gmx.net>
3064
3065         * BufferView_pimpl.C:
3066         * tabular.h:
3067         * tabular_funcs.C:
3068         * text.C:
3069         * text2.C: remove InsetText::InnerCache, clean up consequences
3070
3071 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3072
3073         * ispell.C: fix two typos in error messages
3074
3075 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3076
3077         * Extend Note inset to other forms of annotation like Comment
3078         and Greyedout. Right button click gives dialog.
3079
3080         Files modified or added (+):
3081
3082         * insetnote.[Ch]
3083         * FormNote.[Ch]      +
3084         * ControlNote.[Ch]   +
3085         * form_note.fd       +
3086         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3087         frontends/controllers
3088         * xforms/Dialogs.C
3089         * factory.C
3090
3091 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3092
3093         * aspell.C: add missing namespace lyx::support
3094
3095 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * BufferView.[Ch] (newFile): Add
3098         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3099         * LaTeX.[Ch] (message): added this signal and use it
3100         * buffer.[Ch] (busy, message): added these signals and use them
3101         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3102         * converter.C:
3103         * exporter.C:
3104         * format.C:
3105         * importer.C: use buffer signals instead of direct bv calling
3106         * lyx_cb.[Ch] (ShowMessage): removed
3107         * lyx_main.C:
3108         * lyxfunc.C:
3109         * paragraph_funcs.C:
3110         * text2.C: use buffer signals
3111
3112 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * introduce namespace lyx::graphics
3115
3116 2003-07-02  André Pönitz  <poenitz@gmx.net>
3117
3118         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3119
3120 2003-07-01  André Pönitz  <poenitz@gmx.net>
3121
3122         * text.C:
3123         * text2.C:
3124         * text3.C:
3125         * text_funcs.[Ch]:
3126         * textcursor.h:
3127         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3128           text*.C to text_func.C
3129
3130 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * introduce namespace lyx::support
3133
3134 2003-06-30  André Pönitz  <poenitz@gmx.net>
3135
3136         * Chktex.C:
3137         * funcrequest.C:
3138         * lyxtext.h:
3139         * text.C: re-enable --with-included-string
3140
3141 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * textcursor.C: add <config.h>
3144
3145         * text.C (getWord): remove const from word_location arg
3146
3147         * lyxvc.C (getLogFile): fix const type order
3148
3149         * lyxtext.h: remove const from word_location arg, add arg name
3150
3151         * lyxlayout.h: currect type on labeltype.
3152
3153         * importer.C: correct \file
3154
3155         * converter.C (intToFormat): use std:: on ret val, ws changes
3156
3157         * bufferlist.h: correct \file
3158
3159         * buffer.C (makeLinuxDocFile): fix const type order
3160         (makeDocBookFile): ditto
3161         (fillWithBibKeys): use std:: on stdlib args.
3162
3163         * CutAndPaste.C: fix authors.
3164         (availableSelections): use std:: on return vector
3165
3166 2003-06-27  André Pönitz  <poenitz@gmx.net>
3167
3168         * BufferView_pimpl.C:
3169         * bufferview_funcs.C:
3170         * lyxcursor.C:
3171         * lyxcursor.h:
3172         * lyxfunc.C:
3173         * lyxtext.h:
3174         * rowpainter.C:
3175         * text.C:
3176         * text2.C:
3177         * text3.C: remove LyXCursor::row_ member
3178
3179         * lyxtext.h:
3180         * text.C: rename fullRebreak() to partialRebreak() and implement
3181           a fullRebreak() that really bereks fully
3182
3183         * textcursor.h: new struct for cursor-related data
3184
3185 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * lyx_main.C (LyX): get full path of document loaded on the
3188         command line
3189
3190 2003-06-26  André Pönitz  <poenitz@gmx.net>
3191
3192         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3193           remove unused/broken operator>,<,>=.
3194
3195         *       text.C: remove only use of broken operator<= in an Assert().
3196
3197 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3200         moved errorlist_.clear to showErrorList
3201
3202 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * converter.C (scanLog, runLaTeX):
3205         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3206         move the bv->showErrorList call to the callers
3207         * lyxfunc.C: i.e. here...
3208         * text2.C: and here
3209         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3210         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3211         namespace, the second to...
3212         * buffer_funcs (BufferFormat, parseErrors): added
3213         * errorlist.C (ErrorList(TeXErrors const &)): removed
3214
3215 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3216
3217         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3218
3219 2003-06-24  "Garst R. Reese" <reese@isn.net>
3220
3221         * debug.C: fix typo
3222
3223 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3224
3225         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3226
3227         * version.C.in: change docversion to 1.4
3228
3229 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * buffer.C: fix a bug just introduced
3232
3233 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3234
3235         * buffer.[Ch]: added the parseError signal and use it, removed
3236         sgmlError
3237         * BufferView.[Ch] (addError): moved to ...
3238         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3239         to the Buffer::parseError signal to catch (guess what) parse errors
3240         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3241
3242 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3245         ability to create a buffer and to return an existing one from
3246         the list. Moved these functions to...
3247         * buffer_funcs.[Ch]: added
3248         * BufferView.[Ch] (loadLyXFile): added
3249         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3250         job removed from bufferlist::loadLyXFile.
3251         * buffer.C (setReadOnly): make it work without view
3252         (i.e added an if (users))
3253
3254 2003-06-19  Angus Leeming  <leeming@lyx.org>
3255
3256         * lfuns.h:
3257         * LyXAction.C (init):
3258         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3259         with LFUN_DIALOG_SHOW <name> <data>.
3260
3261 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3262
3263         * CutAndPaste.C (availableSelections): small compilation fix for
3264         ancient (gcc 2.9x) compilers
3265
3266 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * text3.C (cursorNext): add tmp var
3269
3270         * text2.C (updateCounters): for function calling out of for clause
3271         (replaceSelectionWithString): ditto
3272         (insertStringAsParagraphs): ditto
3273         (getColumnNearX): add tmp var
3274         (setCursorFromCoordinates): add tmp var
3275         (cursorDownParagraph): add tmp var
3276         (deleteEmptyParagraphMechanism): add tmp var
3277
3278         * text.C (insertChar): add tmp var
3279
3280         * rowpainter.C (paintDepthBar): add tmp var
3281
3282         * CutAndPaste.C (availableSelections): potentially check all
3283         paragraphs in a cut to fill the shown strings.
3284
3285 2003-06-18  André Pönitz  <poenitz@gmx.net>
3286
3287         * kbmap.[Ch]: use vector<> instead of list<>
3288
3289 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3290
3291         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3292         pasteSelection with index
3293
3294         * text2.C (pasteSelection): modify, call pasteSelection with index
3295
3296         * paragraph.C (asString): reimplement version with no interval to
3297         call the one with interval.
3298
3299         * lyxtext.h: add index arg to pasteSelection
3300
3301         * MenuBackend.C (MenuItem): handle PasteRecent
3302         (Menu::read::Menutags): add md_pasterecent
3303         (read): handle it
3304         (expandPasteRecent): new function
3305         (expand): use it
3306
3307         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3308
3309         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3310         the limited stack
3311         (availableSelections): new function
3312
3313 2003-06-17  Angus Leeming  <leeming@lyx.org>
3314
3315         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3316
3317 2003-06-17  Angus Leeming  <leeming@lyx.org>
3318
3319         * lfuns.h:
3320         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3321
3322         * lyxfunc.C (dispatch): invoke it.
3323
3324 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3325
3326         * iterators.C (operator++, ParPosition): reintroduce some
3327         const_cast for the benefit of older compilers.
3328
3329 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3330
3331         * text3.C (dispatch): do not modify clipboard when doing
3332         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3333         LFUN_DELETE_SKIP on a selection selection
3334
3335 2003-06-16  André Pönitz  <poenitz@gmx.net>
3336
3337         * BufferView.C:
3338         * buffer.C:
3339         * buffer.h:
3340         * paragraph.C:
3341         * tabular.[Ch]: IU of clone() and getLabelList();
3342
3343 2003-06-13  André Pönitz  <poenitz@gmx.net>
3344
3345         * tabular.h: compactification
3346
3347 2003-06-12  André Pönitz  <poenitz@gmx.net>
3348
3349         * tabular.C:
3350         * tabular.h:
3351         * tabular_funcs.h: some renaming plus whitespace
3352
3353 2003-06-12  André Pönitz  <poenitz@gmx.net>
3354
3355         * BufferView.C:
3356         * BufferView_pimpl.C:
3357         * CutAndPaste.C:
3358         * buffer.C:
3359         * iterators.[Ch]:
3360         * lyxfunc.C:
3361         * text.C:
3362         * toc.C: Return a Paragraph & for ParIterator::operator*()
3363
3364 2003-06-11  John Levon  <levon@movementarian.org>
3365
3366         * lyx_main.C:
3367         * ToolbarBackend.h:
3368         * ToolbarBackend.C: add "Toolbars" section and
3369         put the flags there
3370
3371 2003-06-10  Angus Leeming  <leeming@lyx.org>
3372
3373         * lfuns.h:
3374         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3375
3376         * lyxfunc.C (dispatch): invoke it.
3377
3378 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * main.C: protect <ios> with HAVE_IOS
3381         (main): protect sync_with_stdio with HAVE_IOS
3382
3383 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3384
3385         * text2.C (cutSelection): adjust
3386         (pasteSelection): adjust
3387
3388         * messages.C: handle get of empty string
3389
3390         * main.C (main): use sync_with_stdio(false)
3391
3392         * lyxfunc.C (dispatch): adjust
3393
3394         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3395         (WriteAs): remove unneeded BufferView arg.
3396
3397         * bufferparams.h: use correct types on papersize, papersize2 and
3398         paperpackage.
3399
3400         * bufferparams.C (readToken): adjust for type
3401         (writeLaTeX): add missing cases to switch.
3402
3403         * bufferlist.C (quitWriteBuffer): adjust
3404         (close): adjust
3405
3406         * buffer.C (asciiParagraph): remove some commented code.
3407
3408         * CutAndPaste.C: remove current_view extern variable.
3409         (cutSelection): add BufferParams arg.
3410         (eraseSelection): add BufferParams arg.
3411         (pasteSelection): add Buffer const & arg
3412
3413 2003-06-07  John Levon  <levon@movementarian.org>
3414
3415         * buffer.C:
3416         * paragraph_funcs.C:
3417         * paragraph_pimpl.C:
3418         * text.C:
3419         * text2.C:
3420         * paragraph.h:
3421         * paragraph.C: allow InsetERT to freely space lines,
3422         and some consolidation of code
3423
3424 2003-06-06  José Matos  <jamatos@fep.up.pt>
3425
3426         * buffer.C (makeDocBookFile): fix bug #821
3427
3428 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3431
3432 2003-06-04  Angus Leeming  <leeming@lyx.org>
3433
3434         * buffer.C: bump format to 224.
3435
3436 2003-06-05  André Pönitz  <poenitz@gmx.net>
3437
3438         * text2.C (redoParagraphs): remove two const_cast<>
3439
3440 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3441
3442         * ParagraphList.h: remove last remnants of NO_STD_LIST
3443
3444 2003-06-03  Angus Leeming  <leeming@lyx.org>
3445
3446         * factory.C (createInset): small change to the way InsetExternal's params
3447         are set.
3448
3449 2003-06-04  André Pönitz  <poenitz@gmx.net>
3450
3451         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3452
3453         * paragraph_pimpl.h:
3454         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3455
3456         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3457
3458         * undo_funcs.C: make some simple cases of undo work again
3459
3460 2003-06-03  John Levon  <levon@movementarian.org>
3461
3462         * ispell.C: HPUX doesn't have sys/select.h
3463         (from Albert Chin)
3464
3465 2003-06-03  John Levon  <levon@movementarian.org>
3466
3467         * CutAndPaste.C: update tabular and include inset
3468         buffer references
3469
3470         * buffer.h:
3471         * paragraph.h:
3472         * paragraph.C: remove owningBuffer(), don't pass Buffer
3473         to clone()
3474
3475         * factory.C: insetGraphicsParams changed
3476
3477 2003-06-02  John Levon  <levon@movementarian.org>
3478
3479         * LyXAction.C:
3480         * factory.C:
3481         * lfuns.h:
3482         * lyxfunc.C:
3483         * text3.C: remove insetparent
3484
3485 2003-06-02  John Levon  <levon@movementarian.org>
3486
3487         * buffer.h:
3488         * buffer.C: fix inset_iterator.end(), move out of line
3489         (bug 1149)
3490
3491 2003-06-01  John Levon  <levon@movementarian.org>
3492
3493         * text3.C: use a proper cut/paste when doing inset
3494         insert (from Jürgen Spitzmüller)
3495
3496 2003-06-01  John Levon  <levon@movementarian.org>
3497
3498         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3499
3500 2003-05-30  André Pönitz  <poenitz@gmx.net>
3501
3502         * rowpainter.C: unify second drawing phase
3503
3504 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3505
3506         * trans_mgr.C: remove one case of current_view
3507
3508         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3509
3510         * paragraph_funcs.h: remove paragraph.h include
3511
3512         * paragraph.h: delete NO_STD_LIST stuff
3513
3514         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3515
3516         * buffer.h: remove paragraph.h include
3517
3518         * ParagraphList.C: delete file
3519
3520         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3521
3522         * toc.C (getTocList): adjust
3523
3524         * paragraph_pimpl.C (validate): adjust
3525
3526         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3527
3528         * paragraph.C (Paragraph): adjust
3529         (getPositionOfInset): use const_iterator, adjust
3530         (bibitem): use const_iterator, adjust
3531         (setInsetOwner): adjust
3532
3533         * iterators.C (operator++): adjust
3534
3535         * InsetList.[Ch]: Replace selfmade iterator with standard
3536         vector::iterator also introduce const_iterator. Remove getPos,
3537         getInset and setInset from InsetTable. Adjust accordingly.
3538
3539         * BufferView.C (lockInset): adjust
3540         (ChangeInsets): adjust
3541
3542         * tabular.[Ch]: delete commented same_id functions
3543
3544 2003-05-28  John Levon  <levon@movementarian.org>
3545
3546         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3547
3548 2003-05-28  André Pönitz  <poenitz@gmx.net>
3549
3550         * metricsinfo.[Ch]: remove 'fullredraw' member
3551
3552 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3553
3554         * lyxtextclass.C (operator): remove caching.
3555
3556 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * text3.C: adjust
3559
3560         * text2.C (cursorBottom): adjust
3561         (setCounter): use ParagraphList::find, adjust
3562
3563         * text.C (workWidth): use ParagraphList::find, adjust
3564
3565         * lyxcursor.C (LyXCursor): adjust
3566
3567         * buffer.C (inset_iterator): adjust
3568
3569         * ParagraphList.h: make iterator(value_type) private, make
3570         ParagraphList a friend of iterator.
3571
3572         * ParagraphList.C (find): new function
3573
3574         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3575
3576 2003-05-27  André Pönitz  <poenitz@gmx.net>
3577
3578         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3579
3580 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3581
3582         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3583
3584 2003-05-26  John Levon  <levon@movementarian.org>
3585
3586         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3587
3588 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * remove same_id from function signatures, adjust.
3591
3592 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3595
3596         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3597
3598         * paragraph.C (Paragraph): get rid of same_ids parameter
3599
3600         * ParagraphList.C (insert): adjust
3601         (push_back): adjust
3602
3603 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * paragraph_funcs.C (breakParagraph): adjust
3606         (breakParagraphConservative): adjust
3607
3608         * buffer.C (readParagraph): adjust
3609
3610         * ParagraphList.C (insert): take a reference instead of a pointer
3611         (insert): adjust
3612
3613         * paragraph.[Ch] (id): new function
3614
3615         * bufferlist.C (newFile): adjust
3616
3617         * ParagraphList.C (ParagraphList): adjust
3618         (assign): adjust
3619         (push_back): take a reference instead of a pointer.
3620
3621         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3622
3623         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3624         instead.
3625
3626         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3627         set else use old code.
3628
3629         * ParagraphList.C: remove all NO_NEXT code and only compile this
3630         code of NO_STD_LIST is set.
3631
3632 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * BufferView_pimpl.C:
3635         * TextCache.C:
3636         * TextCache.h:
3637         * bufferlist.C:
3638         * errorlist.h:
3639         * format.C:
3640         * format.h:
3641         * graph.C:
3642         * lyxfunc.C:
3643         * lyxrc.C:
3644         * graphics/GraphicsConverter.C:
3645         * graphics/PreviewLoader.C: header adjustment
3646
3647 2003-05-23  Angus Leeming  <leeming@lyx.org>
3648
3649         * LaTeXFeatures.[Ch] (useBabel): new method.
3650         * bufferparams.C (writeLaTeX): use it.
3651
3652 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * ParagraphList.h (set): remove unused function.
3655
3656 2003-05-23  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.C:
3659         * BufferView_pimpl.C:
3660         * buffer.C:
3661         * buffer.h:
3662         * lyxfunc.C:
3663         * undo_funcs.C: setUndo reworked
3664
3665         * iterators.[Ch]: add access to topmost ParagraphList
3666
3667         * lyxtext.[Ch] (workWidth): add a const
3668
3669 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * texrow.[Ch] (increasePos): remove function
3672         * exporter.C (export): removed unused var and outdated comment
3673
3674 2003-05-23  Angus Leeming  <leeming@lyx.org>
3675
3676         * latexrunparams.h: rename fragile as moving_arg.
3677         * paragraph.C (simpleTeXOnePar): ditto.
3678         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3679
3680 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3683         (createUndo): ditto
3684         (textUndoOrRedo): comment out a currently unused var.
3685
3686         * paragraph.h (NO_NEXT): enable NO_NEXT
3687
3688         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3689
3690         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3691
3692         * exporter.C (Export): adjust for removeAutoInsets removal.
3693
3694         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3695
3696         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3697
3698         * BufferView.[Ch] (removeAutoInsets): delete function
3699
3700 2003-05-22  Angus Leeming  <leeming@lyx.org>
3701
3702         * latexrunparams.h: add a free_spacing variable.
3703
3704         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3705         to pass moving_arg, as the data is stored in runparams.fragile.
3706
3707         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3708         to Inset::latexOptional or to simpleTeXOnePar.
3709
3710         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3711         free_spacing arg to Inset::latexOptional.
3712
3713         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3714         free_spacing arg.
3715
3716 2003-05-22  Angus Leeming  <leeming@lyx.org>
3717
3718         * latexrunparams.h: add fragile and use_babel variables.
3719
3720         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3721         * buffer.C (makeLaTeXFile): store this returned value in
3722         runparams.use_babel, thus passing it to the inset::latex methods.
3723
3724         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3725         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3726
3727         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3728         longer has a fragile arg, as it is stored in runparams.fragile.
3729
3730         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3731         moving_arg parameter as the data is stored in runparams.fragile.
3732
3733         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3734         a fragile parameter as the data is stored in runparams.fragile.
3735
3736 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3739
3740 2003-05-22  Angus Leeming  <leeming@lyx.org>
3741
3742         * latexrunparams.h: add a 'bool nice' which defaults to false.
3743
3744         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3745         now encapsulated within runparams.
3746
3747         * bufferlist.C (updateIncludedTeXfiles):
3748         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3749
3750 2003-05-22  Angus Leeming  <leeming@lyx.org>
3751
3752         * latexrunparams.h: new file containing struct LatexRunParams.
3753         * Makefile.am: add new file.
3754
3755         * LaTeX.[Ch] (c-tor, run):
3756         * buffer.[Ch] (makeLaTeXFile):
3757         * bufferlist.[Ch] (updateIncludedTeXfiles):
3758         * converter.C (convert, scanLog):
3759         * converter.[Ch] (runLaTeX):
3760         * exporter.C (Export):
3761         * paragraph.[Ch] (simpleTeXOnePar):
3762         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3763         * paragraph_funcs.[Ch] (latexParagraphs):
3764         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3765         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3766         pass around a LatexRunParams parameter.
3767
3768 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * paragraph.[Ch]: remove unused constructor
3771
3772         * ParagraphList.C (erase): new function, taking two iterators
3773
3774 2003-05-22  André Pönitz  <poenitz@gmx.net>
3775
3776         * undo_funcs.C: remove duplicated code
3777
3778         * iterator.[Ch]: operator=
3779
3780 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * tabular.C (SetMultiColumn): ws changes
3783
3784         * rowpainter.C (paintFirst): get rid of a ->previous
3785
3786         * lyx_cb.C (getPossibleLabel): parlist simplification
3787
3788         * BufferView.C (ChangeInsets): simplify slightly.
3789
3790 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3791
3792         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3793         * lfuns.h: new LFUN_SPACE
3794         * lyxfunc.C: protected space has a new lfun
3795         * paragraph_funcs.C: read new space insets
3796         * text3.C:
3797         * factory.C: handle new space insets
3798
3799 2003-05-22  André Pönitz  <poenitz@gmx.net>
3800
3801         * BufferView.C:
3802         * BufferView_pimpl.C:
3803         * buffer.[Ch]:
3804         * lyxfunc.C:
3805         * undo_funcs.C: return a ParIterator from getParFromID.
3806
3807         * iterators.[Ch]: add two const's
3808
3809 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * toc.C (getTocList): adjust
3812
3813         * iterators.[Ch]: rework for parlist
3814
3815         * buffer.C (par_iterator_begin): adjust
3816         (par_iterator_end): adjust
3817
3818         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3819
3820         * BufferView.C (removeAutoInsets): adjust
3821         (ChangeInsets): adjust
3822
3823 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3824
3825         * text.C (top_y): fix bug 1110
3826
3827 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3828
3829         * errorlist.[Ch]: added
3830         * buffer.C:
3831         * BufferView.[Ch]:
3832         * BufferView_pimpl.C:
3833         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3834         instead
3835
3836 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * Makefile.am: ensure that lyx is relinked upon changes to the
3839         various "convenience" libs.
3840
3841 2003-05-20  Angus Leeming  <leeming@lyx.org>
3842
3843         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3844         files are compiled in alphabetical order again.
3845
3846         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3847
3848 2003-05-19  Angus Leeming  <leeming@lyx.org>
3849
3850         * gettext.[Ch]: remove "char const * _(char const *)".
3851
3852 2003-05-19  André Pönitz  <poenitz@gmx.net>
3853
3854         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3855
3856         * Makefile.am:
3857         * BufferView.C:
3858         * DepTable.h:
3859         * LaTeXFeatures.C:
3860         * buffer.C:
3861         * lyxfont.C:
3862         * lyxlex.h:
3863         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3864
3865 2003-05-19  André Pönitz  <poenitz@gmx.net>
3866
3867         * buffer.C:
3868         * lyxlayout.[Ch]:
3869         * lyxtextclass.[Ch]:
3870         * paragraph.C:
3871         * paragraph_funcs.[Ch]:
3872         * text2.C:
3873         * text3.C: more insetenv work
3874
3875 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3876
3877         * ParagraphParameters.C (params2string): small bug fixed
3878
3879 2003-05-16  André Pönitz  <poenitz@gmx.net>
3880
3881         * debug.C:
3882         * bufferview_funcs.C: patch from Kornel Benko to prevent
3883           crash when _(...) is called twice in a statement
3884
3885 2003-05-16  André Pönitz  <poenitz@gmx.net>
3886
3887         * BufferView.C:
3888         * lyxfunc.C:
3889         * text.C:
3890         * text2.C:
3891         * text3.C:
3892         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3893
3894 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3895
3896         * lyx_main.C (init): remove spurious static_cast
3897
3898 2003-05-14  André Pönitz  <poenitz@gmx.net>
3899
3900         * BufferView.C: fix format string
3901
3902 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3903
3904         * BufferView.[Ch] (insertErrors): removed
3905         * BufferView.[Ch] (showErrorList): added
3906         * buffer.C (runChkTeX):
3907         * converter.C (scanLog): call showErrorList instead of inserterrors
3908
3909 2003-05-13  André Pönitz  <poenitz@gmx.net>
3910
3911         * BufferView_pimpl.C:
3912         * buffer.C:
3913         * bufferview_func.C:
3914         * MenuBackend.C:
3915         * lyxfunc.C:
3916         * lyxrc.C:
3917         * tex-accent.C:
3918         * text3.C:
3919         * toc.C:
3920         * tabular_funcs.h: tostr() from its own header
3921
3922         * ParagraphParameters.C:
3923         * ToolbarBackend.C:
3924         * bufferparams.C:
3925         * format.C:
3926         * lyxlex_pimpl.C:
3927         * text3.C: STRCONV()
3928
3929 2003-05-12  André Pönitz  <poenitz@gmx.net>
3930
3931         * BufferView.C:
3932         * BufferView_pimpl.C:
3933         * CutAndPaste.C:
3934         * LaTeX.C:
3935         * LaTeXFeatures.C:
3936         * ParagraphParameters.C:
3937         * buffer.C:
3938         * bufferlist.C:
3939         * bufferparams.C:
3940         * bufferview_funcs.C:
3941         * converter.C:
3942         * counters.C:
3943         * debug.C:
3944         * exporter.C:
3945         * format.C:
3946         * importer.C:
3947         * lyx_cb.C:
3948         * lyx_main.C:
3949         * lyxfont.C:
3950         * lyxfunc.C:
3951         * lyxvc.C:
3952         * paragraph.C:
3953         * paragraph_funcs.C:
3954         * tabular.C:
3955         * tabular_funcs.C:
3956         * text2.C:
3957         * text3.C:  boost::format -> bformat  all over the place
3958
3959
3960 2003-05-09  André Pönitz  <poenitz@gmx.net>
3961
3962         * LColor.[Ch]: Pimpl the #include <map> away
3963
3964 2003-05-09  John Levon  <levon@movementarian.org>
3965
3966         * bufferlist.C: never remove emergency saves
3967
3968 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * Makefile.am: better lib building
3971
3972 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3975         instead.
3976         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3977         (simpleTeXSpecialChars): adjust
3978         (simpleTeXSpecialChars): adjust
3979         * paragraph.C (simpleTeXOnePar): adjust
3980         * buffer.C (makeLaTeXFile): adjust
3981
3982         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3983
3984         * text2.C (changeDepth): parlist cleanup
3985         (getColumnNearX): ditto
3986
3987         * rowpainter.C (getLabelFont): parlist cleanup
3988
3989         * bufferlist.C (newFile): parlist cleanup
3990
3991         * CutAndPaste.C (eraseSelection): parlist cleanup
3992
3993         * BufferView_pimpl.C (trackChanges): parlist cleanup
3994         (dispatch): ditto
3995
3996         * BufferView.C (lockInset): parlist cleanup.
3997         (ChangeInsets): ditto
3998
3999 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * CutAndPaste.h: Update file header.
4002
4003         * CutAndPaste.C: Update file header.
4004         Store the parts cut out of the Document in a limited_stack.
4005         (copySelection): adjust
4006         (pasteSelection): new function, takes the index in the limited stack.
4007         (nrOfParagraphs): adjust
4008         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4009         simplify error inset insertion.
4010         (checkPastePossible): adjust
4011
4012 2003-05-06  John Levon  <levon@movementarian.org>
4013
4014         * text2.C: don't cast wrap inset to float
4015
4016 2003-05-05  André Pönitz  <poenitz@gmx.net>
4017
4018         * iterator.C:
4019         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4020
4021         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4022           few naked Paragraph *.
4023
4024 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4025
4026         * bufferparams.C: Output warning if a document with missing
4027         TeX document class is loaded
4028         * exporter.C: Disable TeX exports if the document class is missing
4029         * lyxtextclass.C:
4030         * lyxtextclass.h:
4031         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4032         isTeXClassAvailable()
4033
4034 2003-05-03  John Levon  <levon@movementarian.org>
4035
4036         * BufferView.h:
4037         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4038         explicit cursor show/hide
4039
4040         * BufferView_pimpl.h:
4041         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4042         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4043
4044         * lyxfunc.C: hide cursor before dispatching.
4045
4046         * lyx_cb.C:
4047         * lyxfind.C:
4048         * text.C:
4049         * text3.C: remove explicit cursor hides
4050
4051 2003-05-02  André Pönitz  <poenitz@gmx.net>
4052
4053         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4054
4055         * undo_funcs.C:
4056         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4057           linked lists
4058
4059         * text2.C: tiny whitespace
4060
4061 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * undo_funcs.C: almost only ws changes.
4064
4065         * ParagraphList.C (splice): just return if pl is empty.
4066
4067 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * ParagraphList.C (splice): new function.
4070
4071         * CutAndPaste.C (pasteSelection): use it
4072
4073 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * CutAndPaste.C (pasteSelection): remove the last next and
4076         previous from this file.
4077
4078 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * CutAndPaste.C (pasteSelection): more clean up, user proper
4081         ParagraphList functions for pasteing.
4082
4083         * ParagraphList.C (insert): new function, three arg insert
4084
4085 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * ParagraphList.C (insert): new function, three arg insert
4088
4089         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4090         not on paragraphs.
4091
4092 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4095
4096 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4099
4100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4103         (copySelection): clean up a bit.
4104         (pasteSelection): use make_pair
4105
4106         * ParagraphList.C (ParagraphList): implement copy constructor
4107         (operator=): implement, base on copy constructor.
4108         (assign): new func
4109
4110         * paragraph.C (erase): return a bool
4111
4112         * paragraph_pimpl.C (erasePos): remove function, move contents...
4113         (erase): ... here. Return a bool.
4114         (erase): call erase instead of erasePos.
4115
4116 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4117
4118         * ParagraphList.h: define PitPosPair
4119         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4120         ParagraphList, fix a bug on pasting multiple pars
4121         * text2.C: change interface to C&P
4122
4123 2003-04-30  André Pönitz  <poenitz@gmx.net>
4124
4125         * undo_func.C: revert part of yesterday's patch 2
4126
4127 2003-04-30  John Levon  <levon@movementarian.org>
4128
4129         * LColor.C: s/tabular/table/
4130
4131 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text3.C (dispatch): do not convert iterator -> pointer
4134         * undo_funcs.C (setCursorParUndo): ditto
4135         * text_funcs.C (transposeChars): ditto
4136
4137         * text2.C (setLayout): ws changes only
4138
4139         * text.C (breakParagraph): do not convert iterator -> pointer
4140         (insertChar): ditto
4141         (acceptChange): ditto
4142         (rejectChange): ditto
4143         (changeCase): ditto
4144         (Delete): ditto
4145         (backspace): ditto
4146
4147         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4148         pointer
4149
4150 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * text3.C (gotoInset): YABG (yet another bad getChar)
4153
4154 2003-04-29  André Pönitz  <poenitz@gmx.net>
4155
4156         * paragraph.h: make operator= private unimplemented as long as
4157           it is unusable
4158
4159         * ParagraphList.C: whitespace
4160
4161         * paragraph.[Ch]:
4162         * paragraph_pimpl.[Ch]:
4163         * paragraph_funcs.C:
4164         * CutAndPaste.C:
4165         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4166
4167         * text2.C:
4168           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4169
4170 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4173         * paragraph.[Ch] (erase):
4174         * paragraph_pimpl.[Ch] (erase): change return type and value
4175         * text2.C (cutSelection): some rework
4176
4177 2003-04-28  John Levon  <levon@movementarian.org>
4178
4179         * bufferlist.C: changes for unsaved changes dialog
4180
4181 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * bufferlist.C (newFile): set language (messages_) for new
4184         documents also.
4185
4186         * buffer.C (readFile): ws changes only.
4187
4188 2003-04-28  André Pönitz  <poenitz@gmx.net>
4189
4190         * undo_funcs.C:
4191         * lyxfunc.C:
4192         * buffer.[Ch]:
4193         * BufferView_pimpl.C:
4194         * BufferView.C: getParFromID related ParagraphList::iterator changes
4195
4196 2003-04-28  André Pönitz  <poenitz@gmx.net>
4197
4198         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4199           Changes
4200
4201 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * messages.C: remove one more localedir class variable.
4204
4205 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * messages.C (getLocaleDir): singleton generation function
4208         (Pimpl): use it.
4209         (Messages): add a default constructor.
4210
4211         * main.C (main): do not setup localedir here, do not call
4212         gettext_init.
4213
4214         * gettext.C (_): use it.
4215         (gettext_init): delete funciton
4216
4217 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * gettext.C (getLyXMessages): new singleton generating function.
4220
4221         * buffer.C (updateDocLang): adjust
4222
4223         * Makefile.am (messages.o): add target
4224         (main.o): remove target
4225
4226 2003-04-27  John Levon  <levon@movementarian.org>
4227
4228         * bufferlist.C:
4229         * lyx_cb.C:
4230         * lyxfunc.C:
4231         * lyxvc.C: specify cancel button in Alert::prompt
4232
4233 2003-04-26  John Levon  <levon@movementarian.org>
4234
4235         * text3.C:
4236         * lyxfunc.C:
4237         * lfuns.h:
4238         * LyXAction.C: add LFUN_INSET_SETTINGS
4239
4240         * lyxfunc.C: don't enable tabular-feature when there's
4241         just any locking inset
4242
4243 2003-04-26  John Levon  <levon@movementarian.org>
4244
4245         * bufferlist.C: re-add Cancel to buffer close question
4246
4247         * lyxfunc.C: fix import UI a bit
4248
4249 2003-04-25  John Levon  <levon@movementarian.org>
4250
4251         * gettext.C: remove the broken asserts for now
4252
4253 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * messages.C: make case where setlocale cannot comply work better.
4256
4257         * buffer.C (updateDocLang): new function
4258         (changeLanguage): use it
4259         (readFile): use it
4260
4261         * text2.C (setCounter): use B_ a bit.
4262
4263         * lyxlayout.C (Read): be sure to trim the label strings.
4264
4265         * messages.C (Messages): fix typo in comment
4266
4267         * buffer.C (readFile): set message_ after file is loaded.
4268         (makeDocBookFile): remove double return
4269         (changeLanguage): reset message_ upon language change.
4270         (B_): new func, use this to get translated buffer strings.
4271
4272         * main.C: add myself and Jean Marc as authors.
4273
4274 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * messages.[hC]: pimplify Messages, and three different pimpls to be
4277         used in different circumstances.
4278
4279         * gettext.[Ch]: change for use with new message code.
4280
4281 2003-04-24 André Pönitz <poenitz@gmx.net>
4282
4283         * factory.C: support for eqref
4284
4285 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * messages.[Ch]: add missing char
4288
4289         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4290
4291         * messages.[Ch]: New files
4292
4293 2003-04-18  John Levon  <levon@movementarian.org>
4294
4295         * BufferView.h:
4296         * BufferView.C:
4297         * BufferView_pimpl.C:
4298         * lfuns.h:
4299         * LyXAction.C:
4300         * lyxtext.h:
4301         * text2.C: remove layout-copy/paste (bug 778)
4302
4303 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4304
4305         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4306
4307 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4310         if they succeed. Act accordingly.
4311
4312 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * text2.C (setCharFont): adjust
4315         (setCounter): adjust
4316         (insertStringAsLines): adjust
4317
4318         * text.C (leftMargin): adjust
4319         (setHeightOfRow): adjust
4320
4321         * rowpainter.C (paintFirst): adjust
4322         (paintLast): adjust
4323
4324         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4325         (outerHook): ditto
4326         (isFirstInSequence): ditto
4327         (getEndLabel): ditto
4328         (outerFont): adjust
4329
4330         * paragraph.C (getParLanguage): comment out some hard stuff.
4331
4332         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4333         (sgmlError): ditto
4334         (simpleDocBookOnePar): ditto
4335         (makeDocBookFile): use ParagraphList::iterator
4336
4337         * CutAndPaste.C (pasteSelection): adjust
4338
4339 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * text2.C (getFont): adjust
4342         (getLayoutFont): adjust
4343         (getLabelFont): adjust
4344
4345         * paragraph_funcs.C (TeXOnePar): adjust
4346
4347         * buffer.C (simpleLinuxDocOnePar): adjust
4348         (simpleDocBookOnePar): adjust
4349
4350         * CutAndPaste.C (pasteSelection): adjust
4351
4352         * BufferView.C (getEncoding): adjust
4353
4354         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4355
4356 2003-04-16  John Levon  <levon@movementarian.org>
4357
4358         * lyxfind.C: use parlist stuff for search/changes
4359
4360 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4363
4364         * text2.C (deleteEmptyParagraphMechanism): adjust
4365
4366         * text2.[Ch] (ownerParagraph): delete func (both of them
4367
4368 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4371
4372 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * ParagraphList.C: prepare for NO_NEXT
4375
4376 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * text2.C (getFont): adjust
4379         (getLayoutFont): adjust
4380         (getLabelFont): adjust
4381
4382         * paragraph.C (getFont): adjust
4383         (getLabelFont): adjust
4384         (getLayoutFont): adjust
4385
4386         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4387
4388 2003-04-15  John Levon  <levon@movementarian.org>
4389
4390         From Angus Leeming
4391
4392         * lyx_main.C: handle Include in .ui files
4393
4394 2003-04-15  John Levon  <levon@movementarian.org>
4395
4396         * MenuBackend.C: make the doc files length shorter
4397
4398         * ToolbarBackend.h:
4399         * ToolbarBackend.C: handle toolbar placement flags,
4400         Minibuffer
4401
4402 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4405         adjust
4406
4407         * paragraph_funcs.C (TeXOnePar): adjust
4408
4409         * paragraph.C (getLabelFont): add outerfont arg, adjust
4410         (getLayoutFont): ditto
4411         (simpleTeXOnePar): adjust
4412
4413         * paragraph_pimpl.C (realizeFont): delete func
4414
4415 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4418         row argument, constify cur argument.
4419
4420 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4421
4422         * text2.C (getFont): adjust
4423         (getLayoutFont): adjust
4424         (getLabelFont): adjust
4425
4426         * paragraph_funcs.C (TeXOnePar): adjust
4427         (outerFont): new func...
4428         (realizeFont): ...moved out from here, changed this to facilitate
4429         transition
4430
4431         * paragraph.C (getFont): take outerfont as arg, adjust
4432         (simpleTeXOnePar): add outerfont arg, adjust
4433
4434         * buffer.C (simpleLinuxDocOnePar): adjust
4435         (simpleDocBookOnePar): adjust
4436
4437         * CutAndPaste.C (pasteSelection): adjust
4438
4439         * BufferView.C (getEncoding): adjust
4440
4441 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * text2.C (setCharFont): adjust
4444         (setCounter): adjust
4445
4446         * text.C (leftMargin): adjust
4447         (setHeightOfRow): adjust
4448
4449         * rowpainter.C (paintFirst): adjust
4450         (paintLast): adjust
4451
4452         * paragraph_pimpl.C (realizeFont): adjust
4453
4454         * paragraph.C (isFirstInSequence): move from here...
4455         * paragraph_funcs.C (isFirstInSequence): ...to here
4456
4457         * paragraph.C (outerHook): move from here...
4458         * paragraph_funcs.C (outerHook): ...to here
4459
4460         * paragraph.C (depthHook): move from here...
4461         * paragraph_funcs.C (depthHook): ...to here
4462
4463         * paragraph.C (getEndLabel): move from here...
4464         * paragraph_funcs.C (getEndLabel): ...to here
4465
4466         * text2.C (realizeFont): move from here...
4467         * paragraph_funcs.C (realizeFont): ...to here
4468
4469 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4472
4473 2003-04-14  Angus Leeming  <leeming@lyx.org>
4474
4475         * LColor.[Ch]: scrap LColor mathcursor.
4476
4477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * lyxlex.[Ch] (text): delete function
4480         * trans.C (Load): adjust
4481         * paragraph_funcs.C (readParToken): adjust
4482
4483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4486         vector<char> instead of a char[].
4487
4488         * lyxlex_pimpl.C (getString): adjust
4489         (next): adjust
4490         (lex): use getString
4491         (eatLine): adjust
4492         (nextToken): adjust
4493
4494         * lyxlex.C (text): use pimpl_->getString()
4495         (getBool): ditto
4496         (findToken): ditto
4497
4498 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4501         (makeFontEntriesLayoutSpecific): temp var for par.size()
4502         (setLayout): temp var for ownerParagraphs().end()
4503         (fullRebreak): temp var for rows().end()
4504         (selectionAsString): temp var for boost::next(startpit), realize
4505         that the while really is a regular for loop.
4506         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4507         setCursor in one place.
4508         (setParagraph): temp vr for ownerParagraphs().end()
4509         (updateCounters): make the while loop a for loop
4510         (cutSelection): temp var for ownerParagraphs().end()
4511         (updateInset): make the do {} while() a regular for loop
4512         (getCursorX): use temp vars
4513         (setCurrentFont): use temp vars
4514         (getColumnNearX): use temp vars
4515
4516 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * text.C (transformChar): use temp var for getChar
4519         (computeBidiTables): use temp var for row->par()
4520         (fill): move temp vars for row->par() and pit->layout() earlier in
4521         the function.
4522         (labelFill): use temp var for row->par()
4523         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4524         asc and desc, realize that pit never changes and that firstpit is
4525         just a duplicate and not needed. Exchange rit->par() with pit in a
4526         lot of places.
4527         (breakAgain): use a temp var for boost::next(rit)
4528         (breakAgainOneRow): ditto
4529         (breakParagraph): use a temp var for rows().begin()
4530         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4531         (cursorRightOneWord): use temp var for cursor.par() and
4532         cursor.pos(), remove usage of tmpcursor.
4533         (cursorLeftOneWord): use temp var for cursor.par() and
4534         cursor.pos() only set cur at end of function.
4535
4536 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * text.C, text2.C: exchange all usage of Paragraph::next with
4539         boost::next(ParagraphList::iterator)
4540
4541         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4542
4543         * text2.C (cursorTop): simplify implementation
4544         (cursorBottom): ditto
4545         (setParagraph): use ParagraphList::iterator
4546         (setCurrentFont): adjust
4547         (getColumnNearX): adjust
4548         (cursorRight): adjust
4549         (cursorLeft): remove usage of Paragraph::previous
4550         (cursorUpParagraph): ditto
4551         (deleteEmptyParagraphMechanism): slight cleanup
4552
4553         * text.C (isBoundary): take a Paragraph const & instead of a
4554         pointer as arg.
4555         (addressBreakPoint): ditto
4556         (leftMargin): remove usage of Paragraph::previous.
4557         (setHeightOfRow): ditto
4558         (cursorLeftOneWord): ditto
4559         (selectNextWordToSpellcheck): ditto
4560         (Delete): ditto
4561         (backspace): ditto
4562         (breakParagraph): remove one usage of Paragraph::next
4563         (redoParagraph): ditto
4564         (acceptChange): ditto
4565         (insertChar): adjust
4566         (rowBreakPoint): adjust
4567
4568         * bufferview_funcs.C (toggleAndShow): adjust
4569
4570 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4573         methods to access it.
4574         * lyxtext.h:
4575         * text.C: Added updateRowPositions to compute all row positions.
4576         Make top_y and getRowNearY() to use the cached y position
4577
4578 2003-04-11  John Levon  <levon@movementarian.org>
4579
4580         * text.C (rowBreakPoint): reintroduce the labelEnd
4581         checks, code copied from the row fill stuff. Deep voodoo.
4582
4583         * text.C (fill): add a comment and debugging for the
4584         next poor soul.
4585
4586 2003-04-11  John Levon  <levon@movementarian.org>
4587
4588         * text.C: make sure fullrow insets get wrapped to the next line,
4589         even when they're in a manual label
4590
4591 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text2.C (insertParagraph): make it take ParagraphList::iterator
4594         as arg.
4595         (setLayout): make it return ParagraphList::iterator
4596         (redoParagraphs): ditto
4597         (setCounter): ditto
4598         (checkParagraph): ditto
4599
4600         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4601
4602         * text2.C: adjust several funcs.
4603         (realizeFont): take a ParagraphList::iterator as arg.
4604         (getLayoutFont): ditto
4605         (getLabelFont): ditto
4606         (setCharFont): ditto
4607
4608         * text.C: adjust several funcs.
4609
4610 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4611
4612         * text.C (selectNextWordToSpellcheck): don't accidentally
4613         skip insets
4614
4615 2003-04-10  John Levon  <levon@movementarian.org>
4616
4617         * ToolbarBackend.C (getIcon): special handling for
4618         LFUN_MATH_DELIM
4619
4620 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * text2.C (cursorRight): a getChar assert fixed
4623
4624 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * text2.C (getFont): change to take a ParagraphList::iterator
4627         instead of Paragraph*
4628         Adjust several functions.
4629
4630         * text.C (transformChar): change to take a ParagraphList::iterator
4631         instead of Paragraph*
4632         (singleWidth): ditto
4633         Adjust several functions.
4634
4635         * rowpainter.C: adjust several functions
4636         * rowpainter.h:store a ParagraphList::iterator and not a
4637         Paragraph&.
4638
4639
4640 2003-04-09  John Levon  <levon@movementarian.org>
4641
4642         * lyxfunc.C:
4643         * lfuns.h:
4644         * LyXAction.h:
4645         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4646         and the "help" bits as well
4647
4648 2003-04-09  John Levon  <levon@movementarian.org>
4649
4650         * ToolbarBackend.h:
4651         * ToolbarBackend.C: allow multiple toolbars
4652
4653 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * undo_funcs.C (setCursorParUndo): adjust
4656
4657         * text_funcs.C (transposeChars): adjust
4658
4659         * text3.C (gotoNextInset): adjust
4660         (dispatch): adjust
4661
4662         * text2.C (setLayout): adjust
4663         (changeDepth): adjust
4664         (setFont): adjust
4665         (redoParagraphs): adjust
4666         (selectionAsString): adjust
4667         (setParagraph): adjust
4668         (insertInset): adjust
4669         (cutSelection): adjust
4670         (copySelection): adjust
4671         (pasteSelection): adjust
4672         (insertStringAsLines): adjust
4673         (updateInset): adjust
4674         (setCursor): change to take a ParagraphList::iterator parameter
4675         (setCursorIntern): change to take a ParagraphList::iterator parameter
4676         (setCurrentFont): adjust
4677         (cursorLeft): adjust
4678         (cursorRight): adjust
4679         (deleteEmptyParagraphMechanism): adjust
4680
4681         * text.C (breakParagraph): adjust
4682         (insertChar): adjust
4683         (acceptChange): adjust
4684         (rejectChange): adjust
4685         (selectNextWordToSpellcheck): adjust
4686         (changeCase): adjust
4687         (Delete): adjust
4688         (backspace): adjust
4689
4690         * lyxfind.C (SearchForward): adjust
4691         (SearchBackward): adjust
4692         (nextChange): adjust
4693
4694         * lyxcursor.C (par): adjust
4695
4696         * lyxcursor.h: store a ParagraphList::iterator instead of a
4697         Paragraph*
4698
4699         * lyx_cb.C (getPossibleLabel): adjust
4700
4701         * bufferview_funcs.C (toggleAndShow): adjust
4702
4703         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4704         (dispatch): adjust
4705
4706         * BufferView.C (removeAutoInsets): adjust
4707         (lockedInsetStoreUndo): adjust
4708
4709 2003-04-09  John Levon  <levon@movementarian.org>
4710
4711         * ToolbarBackend.C: try icon without argument
4712         if with argument fails
4713
4714 2003-04-08  John Levon  <levon@movementarian.org>
4715
4716         * ToolbarBackend.h:
4717         * ToolbarBackend.C: add getIcon(), handle tooltip,
4718         and change from "Icon" to "Item".
4719
4720 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * BufferView.C (lockInset): another bad getchar crunched
4723
4724 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4727         again)
4728
4729 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4730
4731         * lyxfind.C (searchForward, searchBackwards): bug 782
4732
4733 2003-04-07  John Levon  <levon@movementarian.org>
4734
4735         * paragraph.C: remove dead comment
4736
4737         * text.C: remove troublesome depth-fiddling code
4738         in leftMargin() and rightMargin() (bug 1017)
4739
4740         * text.C: fix breaking of rows in nested lists
4741         (bug 1004)
4742
4743         * text2.C (updateCounters): fix up depth values
4744         (bug 1013)
4745
4746 2003-04-07  John Levon  <levon@movementarian.org>
4747
4748         * BufferView_pimpl.C: clear message when doc finishes resizing,
4749         and after a mouse event
4750
4751         * lyxfunc.C: clear message after exiting inset
4752
4753 2003-04-07  John Levon  <levon@movementarian.org>
4754
4755         * bufferview_funcs.C: show math status not outside
4756         status in the statusbar
4757
4758 2003-04-07  John Levon  <levon@movementarian.org>
4759
4760         * lyxfunc.C: note status changed after a depth change
4761
4762 2003-04-04  Angus Leeming  <leeming@lyx.org>
4763
4764         * LaTeX.h: move AuxInfo operator==, != out of line.
4765         Remove LaTeX virtual destructor; nothing derives from it.
4766         Move operator()() out of public area and rename it startscript().
4767         Change protected for private.
4768
4769 2003-04-04  Angus Leeming  <leeming@lyx.org>
4770
4771         * lyxfunc.C:
4772         * text2.C: remove unneeded #includes.
4773
4774 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4775
4776         * text2.C (dEPM): fix the heigth of the next row
4777
4778 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * text.C: squashed an invalid getChar requester + some ws changes
4781
4782 2003-04-03  John Levon  <levon@movementarian.org>
4783
4784         * bufferview_funcs.h:
4785         * bufferview_funcs.C:
4786         * lyxfunc.C:
4787         * lyxtext.h:
4788         * text2.C: make getStatus work for the env depth lfuns
4789
4790 2003-04-03  John Levon  <levon@movementarian.org>
4791
4792         * bufferview_funcs.h:
4793         * bufferview_funcs.C:
4794         * lyxfunc.C:
4795         * lyxtext.h:
4796         * text2.C: parlistize decDepth(), by merging it with incDepth()
4797
4798 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * lyxrow.h: store a ParagraphList::iterator instead of a
4801         Paragraph* and adjust other class functions to suit.
4802
4803         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4804         above.
4805
4806 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * text2.C (setCursor): do not anchor to cursor row for the time being
4809
4810 2003-04-02  John Levon  <levon@movementarian.org>
4811
4812         * LyXAction.C:
4813         * lfuns.h:
4814         * lyx_main.C:
4815         * lyxtext.h:
4816         * text.C:
4817         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4818
4819 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * paragraph.h: make ParagraphList and ParagraphList::iterator
4822         friends of Paragraph.
4823
4824         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4825
4826         * ParagraphList.C: Use the private next_ and previous_ from
4827         Paragraph.
4828
4829 2003-04-01  John Levon  <levon@movementarian.org>
4830
4831         * ToolbarBackend.h:
4832         * ToolbarBackend.C:
4833         * Makefile.am: rename, remove defaults gunk
4834
4835         * MenuBackend.h:
4836         * MenuBackend.C: remove defaults gunk
4837
4838         * Languages.h:
4839         * Languages.C: remove defaults gunk
4840
4841         * lyx_main.h:
4842         * lyx_main.C: error out if files couldn't be found.
4843
4844 2003-04-02  John Levon  <levon@movementarian.org>
4845
4846         * text2.C: make incDepth() use parlist
4847
4848 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * undo_funcs.C (firstUndoParagraph): adjust
4851
4852         * text3.C (gotoInset): adjust
4853         (dispatch): adjust, and rewrite loop.
4854
4855         * text2.C (init): adjust, and rewrite loop.
4856         (redoParagraphs): adjust
4857         (updateInset): adjust, and rewrite loop.
4858         (deleteEmptyParagraphMechanism): adjust
4859
4860         * tabular.C (LyXTabular): adjust
4861         (SetMultiColumn): adjust
4862         (TeXRow): adjust
4863
4864         * lyxtext.[Ch] (ownerParagraph): delete function
4865         (ownerParagraphs): new function returns a ParagraphList.
4866
4867         * BufferView.C (removeAutoInsets): adjust
4868         (insertErrors): adjust
4869         (setCursorFromRow): adjust
4870
4871 2003-04-01  Angus Leeming  <leeming@lyx.org>
4872
4873         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4874         in the frontends.
4875
4876 2003-04-02  John Levon  <levon@movementarian.org>
4877
4878         * lyxtext.h:
4879         * text.C:
4880         * Makefile.am:
4881         * text_funcs.h:
4882         * text_funcs.C: make transposeChars a free function
4883
4884         * lyxrow_funcs.C: remove wrong comment
4885
4886 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * lyxtext.h: adjust
4889         * rowpainter.C: adjust
4890         * text.C: adjust
4891         * text2.C: adjust
4892         * text3.C: adjust
4893
4894         * lyxrow_funcs. [Ch]: new files
4895
4896         * lyxrow.[Ch]: remove next and previous pointers
4897         (next,previous): remove accessor functions
4898         (isParEnd): move to lyxrow_funcs
4899         (lastPos): move to lyxrow_funcs
4900         (nextRowIsAllInset): move to lyxrow_funcs
4901         (lastPrintablePos): move to lyxrow_funcs
4902         (numberOfSeparators): move to lyxrow_funcs
4903         (numberOfHfills): move to lyxrow_funcs
4904         (numberOfLabelHfills): move to lyxrow_funcs
4905         (hfillExpansion): move to lyxrow_funcs
4906
4907         * lyxfunc.C: adjust
4908
4909         * bufferview_funcs.C (toggleAndShow): adjust
4910
4911         * RowList.h: Remove class RowList from file leave just a
4912         std::list<Row>.
4913
4914         * RowList.C: delete file
4915
4916         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4917         and lyxrow_funcs.h
4918
4919 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * text3.C (cursorPrevious): adjust
4922         (cursorNext): adjust
4923         (dispatch): adjust
4924
4925         * text2.C (redoHeightOfParagraph): adjust
4926         (redoDrawingOfParagraph): adjust
4927         (setCursor): adjust
4928
4929         * text.C (breakParagraph): adjust
4930         (insertChar): adjust
4931         (backspace): adjust
4932
4933         * rowpainter.C (RowPainter): adjust
4934         (leftMargin): simplify and adjust
4935         (most rowpainter functions): adjust.
4936
4937         * rowpainter.h: store the row as RowList::iterator not as Row*
4938
4939         * lyxcursor.C (row): taka RowList::iterator as arg
4940         (irow): ditto
4941
4942         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4943         of Row*.
4944
4945 2003-04-01  Angus Leeming  <leeming@lyx.org>
4946
4947         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4948         stuff like bool Bool.
4949
4950 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4953         rewrite a loop
4954
4955 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4958         RowList::iterator.
4959
4960         * lyxtext.h (rows): drop one version and leve a const variant that
4961         returns a RowList::iterator.
4962
4963 2003-03-31  Angus Leeming  <leeming@lyx.org>
4964
4965         * text.C (fill): ensure that the signature is the same as that in the
4966         header file.
4967
4968 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * text2.C (redoParagraphs): adjust
4971         (updateCounters): adjust
4972         (checkParagraph): adjust
4973         (getColumnNearX): adjust and reformat a bit.
4974
4975         * text.C (top_y): adjust
4976         (workWidth): adjust
4977         (leftMargin): adjust
4978         (prepareToPrint): adjust
4979         (getRow): adjust
4980         (getRowNearY): adjust
4981
4982         * lyxtext.h: make rowlist_ mutable.
4983
4984         * RowList.h: add const_iterator
4985         * RowList.C: adjust for RowList::const_iterator.
4986
4987         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4988         adjust.
4989
4990 2003-03-31  John Levon  <levon@movementarian.org>
4991
4992         * lyxrc.h:
4993         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4994
4995         * lyx_main.C: set default fonts from using lyx_gui funcs
4996
4997         * exporter.C: pdf_mode moved from lyxrc
4998
4999         * lyx_cb.C:
5000         * lyxfunc.C: changes from above
5001
5002 2003-03-31  John Levon  <levon@movementarian.org>
5003
5004         * lyx_main.C: fix to the last fix
5005
5006 2003-03-31  John Levon  <levon@movementarian.org>
5007
5008         * bufferlist.C: "Load original" -> "Load Original"
5009
5010         * converter.C:
5011         * exporter.C:
5012         * importer.C:
5013         * lyx_main.C:
5014         * format.C: more Alert cleanups
5015
5016 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * text2.C (removeParagraph): make it take a RowList::iterator as
5019         arg, adjust.
5020         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5021         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5022
5023         * text.C (anchor_row): make it take a RowList::iterator as arg,
5024         adjust.
5025         (computeBidiTables): make it take a const reference to Row instead
5026         of Row pointer, adjust.
5027         (leftMargin): make it take a RowList::iterator as arg, adjust.
5028         (rowBreakPoint): adjust
5029         (breakAgainOneRow): make it take a RowList::iterator as arg,
5030         adjust.
5031         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5032
5033         * bufferview_funcs.C (toggleAndShow): adjust
5034
5035 2003-03-30  John Levon  <levon@movementarian.org>
5036
5037         * Makefile.am:
5038         * BoostFormat.h:
5039         * boost-inst.C: moved to support
5040
5041         * several files: changes as a result
5042
5043 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * text2.C (LyXText): adjust.
5046         (init): adjust
5047         (removeRow): make it take a RowList::iterator as arg, adjust.
5048         (fullRebreak): adjust
5049         (deleteEmptyParagraphMechanism): adjust
5050         (clearPaint): adjust
5051         (postPaint): adjust
5052
5053         * text.C (top_y): adjust
5054         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5055         (breakAgain): make it take a RowList::iterator as arg, adjust.
5056         (breakParagraph): adjust
5057         (insertChar): adjust
5058         (backspace): adjust
5059
5060         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5061         need_break_row, and refresh_row.
5062
5063         * text3.C (dispatch): adjust
5064
5065         * text2.C (checkParagraph): adjust
5066         (setCursor): adjust
5067         (setCursorFromCoordinates): adjust
5068
5069         * text.C (top_y): adjust
5070         (workWidth): adjust
5071         (getRow): make it return a RowList::iterator, adjust
5072         (getRowNearY): make it return a RowList::iterator, adjust
5073
5074         * text2.C (init): adjust
5075         (insertRow): remove function
5076         (insertParagraph): adjust
5077         (redoParagraphs): adjust
5078         (fullRebreak): adjust
5079         (updateCounters): adjust
5080
5081         * text.C (top_y): rewrite to use RowList iterators.
5082         (top_y): adjust
5083         (setHeightOfRow): rewrite to sue RowList iterators.
5084         (appendParagraph): adjust
5085         (breakAgain): adjust
5086         (breakAgainOneRow): adjust
5087         (breakParagraph): adjust
5088         (getRow): adjust
5089         (getRowNearY): adjust, and remove commented code.
5090
5091         * lyxtext.h (firstRow): delete function
5092         (lastRow): delete function
5093         (rows): new function (const and non-const versions.)
5094         (insertRow): delete function
5095
5096         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5097
5098 2003-03-29  John Levon  <levon@movementarian.org>
5099
5100         * BufferView_pimpl.C: always update scrollbar top
5101         because pasting text when we're anchored could mean we
5102         miss an update altogether
5103
5104 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5105
5106         * text2.C (init): use rowlist_.end() and not 0.
5107         (insertRow): change to take a RowList::iterator as arg, adjust
5108         for this.
5109         (insertParagraph): change to take a RowList::iterator as arg,
5110         adjust for this.
5111         (redoParagraphs): remove some debug msgs.
5112
5113         * text.C (appendParagraph): change to take a RowList::iterator
5114         arg, adjust for this.
5115         (breakAgain): add an assert
5116         (breakAgainOneRow): ditto
5117
5118 2003-03-29  John Levon  <levon@movementarian.org>
5119
5120         * text2.C: do not clear selection after inc/decDepth
5121         (bug 550)
5122
5123 2003-03-29  John Levon  <levon@movementarian.org>
5124
5125         * BufferView.C:
5126         * buffer.C: fix broken strerrors according to Lars
5127
5128 2003-03-29  John Levon  <levon@movementarian.org>
5129
5130         * converters.C: more Alert cleanups
5131
5132 2003-03-29  John Levon  <levon@movementarian.org>
5133
5134         * bufferview_funcs.C: remove pointless Alert
5135
5136         * buffer.C: fix confusing error message when
5137         a template is chmoded 000
5138
5139 2003-03-29  John Levon  <levon@movementarian.org>
5140
5141         * BufferView.C:
5142         * BufferView.h:
5143         * BufferView_pimpl.C: Alert fixes
5144
5145         * Makefile.am:
5146         * tabular.C:
5147         * tabular-old.C: remove unused table compat reading
5148
5149 2003-03-29  John Levon  <levon@movementarian.org>
5150
5151         * BufferView.C:
5152         * buffer.C:
5153         * lyx_cb.h:
5154         * lyx_cb.C: more Alert cleanups
5155
5156         * lyxfunc.C: don't allow chktex if not latex document
5157
5158 2003-03-29  John Levon  <levon@movementarian.org>
5159
5160         * lyx_cb.C:
5161         * BufferView.C:
5162         * buffer.C: warnings pushed down from support/,
5163         kill err_alert
5164
5165 2003-03-29  John Levon  <levon@movementarian.org>
5166
5167         * lyxfunc.C: safety check for C-r (revert)
5168
5169 2003-03-29  John Levon  <levon@movementarian.org>
5170
5171         * bufferlist.h:
5172         * bufferlist.C: several UI fixes using Alert::prompt.
5173         Fix the pointless looping quit code. Fix stupid revert
5174         behaviour (bug 938)
5175
5176         * lyxvc.h:
5177         * lyxvc.C:
5178         * lyx_cb.C: use Alert::prompt
5179
5180         * lyx_main.C: remove a silly question
5181
5182         * lyxfunc.C: remove a couple of silly questions,
5183         use Alert::prompt
5184
5185 2003-03-28  John Levon  <levon@movementarian.org>
5186
5187         * text2.C: fix bug 974 (End on empty par)
5188
5189 2003-03-28  John Levon  <levon@movementarian.org>
5190
5191         * BufferView_pimpl.C:
5192         * LyXAction.C:
5193         * lfuns.h: remove do-nothing math greek lfuns
5194
5195 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * lyxgluelength.h (isValidGlueLength): add default arg on
5198         parameter 2. Remove default arg from friend in class.
5199
5200         * lyxlength.h (isValidLength): add default arg on parameter 2.
5201         Remove default arg from friend in class.
5202
5203         * text2.C (LyXText): adjust, initialize refresh_row.
5204         (init): adjust
5205         (removeRow): adjust
5206         (insertRow): adjust
5207         (insertParagraph): adjst
5208         (redoParagraphs): adjust
5209         (fullRebreak): adjust
5210         (updateCounters): adjust
5211         (deleteEmptyParagraphMechanism): first attempt at fixing a
5212         crashing bug.
5213
5214         * text.C (top_y): adjust
5215         (setHeightOfRow): adjust
5216         (getRow): adjust
5217         (getRowNearY): adjust
5218
5219         * lyxtext.h: include RowList.h
5220         (~LyXText): not needed anymore, deleted.
5221         (firstRow): modify for RowList
5222         (lastRow): new function
5223         Delete firstrow and lastrow class variables, add a Rowlist
5224         rowlist_ class variable.
5225
5226         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5227         paragraph is empty.
5228
5229         * RowList.C (insert): fix case where it == begin().
5230
5231 2003-03-26  Angus Leeming  <leeming@lyx.org>
5232
5233         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5234         the thesaurus dialog.
5235
5236 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5239
5240         * RowList.[Ch]: new files
5241
5242         * ParagraphList.C (erase): handle the case where it == begin
5243         correctly.
5244
5245 2003-03-25  John Levon  <levon@movementarian.org>
5246
5247         * Makefile.am:
5248         * aspell_local.h:
5249         * aspell.C: add new aspell support
5250
5251         * lyxrc.h:
5252         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5253         have it accessible.
5254
5255 2003-03-25  Angus Leeming  <leeming@lyx.org>
5256
5257         * lfuns.h:
5258         * LyXAction.C (init): new LFUN_INSET_INSERT.
5259
5260         * BufferView_pimpl.C (dispatch): split out part of the
5261         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5262
5263         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5264         LFUN_INSET_APPLY.
5265
5266 2003-03-25  Angus Leeming  <leeming@lyx.org>
5267
5268         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5269
5270 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5271
5272         * text2.C:
5273         * text3.C: remove useless row->height(0)
5274
5275 2003-03-25  John Levon  <levon@movementarian.org>
5276
5277         * lyxtext.h:
5278         * text2.C:
5279         * text3.C: rename the refreshing stuff to better names
5280
5281 2003-03-24  John Levon  <levon@movementarian.org>
5282
5283         * BufferView_pimpl.h:
5284         * BufferView_pimpl.C: update layout choice on a mouse
5285         press/release
5286
5287 2003-03-23  John Levon  <levon@movementarian.org>
5288
5289         * Makefile.am: fix commandtags.h reference
5290
5291 2003-03-22  John Levon  <levon@movementarian.org>
5292
5293         * BufferView_pimpl.C:
5294         * lyxtext.h:
5295         * rowpainter.C:
5296         * rowpainter.h:
5297         * text.C:
5298         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5299
5300 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5301
5302         * lyxtext.h:
5303         * text.C: take the rtl methods out of line
5304
5305 2003-03-21 André Pönitz <poenitz@gmx.net>
5306
5307         * metricsinfo.[Ch]: new files containing structures to be passed around
5308         during the two-phase-drawing...
5309
5310 2003-03-21 André Pönitz <poenitz@gmx.net>
5311
5312         * lyxtextclass.C: read 'environment' tag.
5313
5314 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * text2.C (removeRow): fix bug 964
5317
5318 2003-03-20  John Levon  <levon@movementarian.org>
5319
5320         * rowpainter.C:
5321         * text.C:
5322         * text2.C: paint cleanups. Inset::update() dropped font
5323         parameter
5324
5325 2003-03-19  John Levon  <levon@movementarian.org>
5326
5327         * lyxfunc.C: only fitcursor/markDirty if available()
5328
5329 2003-03-19  John Levon  <levon@movementarian.org>
5330
5331         * commandtags.h: rename to ...
5332
5333         * lfuns.h: ... this, and renumber / cleanup
5334
5335 2003-03-19  John Levon  <levon@movementarian.org>
5336
5337         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5338         fit the cursor after an lfun
5339
5340         * BufferView.h:
5341         * BufferView.C:
5342         * BufferView_pimpl.h:
5343         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5344
5345         * LyXAction.C: layout-character should have ReadOnly
5346
5347         * ParagraphParameters.C:
5348         * buffer.C:
5349         * bufferview_funcs.C:
5350         * lyx_cb.C:
5351         * lyxfind.C:
5352         * lyxtext.h:
5353         * text.C:
5354         * text2.C:
5355         * text3.C:
5356         * undo_funcs.C: changes from above
5357
5358 2003-03-18  John Levon  <levon@movementarian.org>
5359
5360         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5361         remove it from update()
5362
5363         * lyxfunc.C: update layout choice after an lfun
5364
5365         * text3.C: remove extra updateLayoutChoice()s
5366
5367 2003-03-18  John Levon  <levon@movementarian.org>
5368
5369         * text.C: top_y change means full repaint, fix
5370         a drawing bug with cursor movement
5371
5372 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * lyxtext.h:
5375         * text.C:
5376         * text2.C: anchor row on setCursor
5377
5378 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * lyxtext.h: remove almost all mutable keywords
5381         * text.C:
5382         * text2.C:
5383         * text3.C: remove const keywords accordingly
5384
5385 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5388         anon namespace
5389         (TeXEnvironment): ditto
5390         (TeXOnePar): ditto
5391
5392 2003-03-17  John Levon  <levon@movementarian.org>
5393
5394         * text.C (rowBreakPoint): remove attempt to fix displayed
5395         math insets inside a manual label
5396
5397 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * lyxtext.h: remove BufferView* as first arg from almost all class
5400         functions.
5401         * other files: adjust.
5402
5403 2003-03-17  John Levon  <levon@movementarian.org>
5404
5405         * lyxtext.h:
5406         * undo_funcs.C:
5407         * text2.C: more paint cleanups
5408
5409         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5410
5411         * rowpainter.h:
5412         * rowpainter.C: remove "smart" background painting code
5413
5414 2003-03-16  John Levon  <levon@movementarian.org>
5415
5416         * lyxtext.h:
5417         * text.C:
5418         * text2.C:
5419         * text3.C: add helper functions for setting refresh_row/y
5420
5421 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5422
5423         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5424         newline inset which *can* get inserted in the pass_thru layouts.
5425         This is primarily for literate documents.
5426
5427 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5428
5429         * buffer.C: increment LYX_FORMAT to 223
5430
5431 2003-03-14 André Pönitz <poenitz@gmx.net>
5432
5433         * textclass.h: prepare for environment handling, ws changes
5434         * lyxlayout.C: read latexheader and latexfooter tags
5435
5436 2003-03-14  John Levon  <levon@movementarian.org>
5437
5438         * text2.C: rewrite ::status() a bit
5439
5440 2003-03-13  John Levon  <levon@movementarian.org>
5441
5442         * lyxtext.h: add some docs
5443
5444 2003-03-13  John Levon  <levon@movementarian.org>
5445
5446         * lyxtext.h:
5447         * text.C:
5448         * text2.C:
5449         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5450
5451 2003-03-13  John Levon  <levon@movementarian.org>
5452
5453         * text3.C: fix appendix redrawing
5454
5455 2003-03-13  John Levon  <levon@movementarian.org>
5456
5457         * text.C (setHeightOfRow):
5458         * rowpainter.h:
5459         * rowpainter.C: make appendix mark have the text
5460           "Appendix" so the user knows what it is
5461
5462         * LColor.h:
5463         * LColor.C: s/appendixline/appendix/ from above
5464
5465 2003-03-13  John Levon  <levon@movementarian.org>
5466
5467         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5468
5469         * text.C: fix a getChar(pos) bug properly
5470
5471 2003-03-13  Angus Leeming  <leeming@lyx.org>
5472
5473         * commandtags.h:
5474         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5475         Probably only temporary. Let's see how things pan out.
5476
5477         * BufferView.C (unlockInset):
5478         * BufferView_pimpl.C (fitCursor):
5479         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5480
5481         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5482         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5483
5484         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5485         new functions that convert ParagraphParameters to and from a string.
5486
5487         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5488         BufferView::Pimpl's dispatch.
5489         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5490
5491 2003-03-13 André Pönitz <poenitz@gmx.net>
5492
5493         * lyxfunc.C:
5494         * text3.C:
5495         * factory.C: make it aware of InsetEnv
5496
5497 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * text2.C (setCursor): never ask for one past last
5500         (setCursor): add some debugging messages.
5501
5502         * text.C (singleWidth): never ask for one past last
5503         (singleWidth): ditto
5504         (leftMargin): ditto
5505         (rightMargin): ditto
5506         (rowBreakPoint): ditto
5507         (setHeightOfRow): ditto
5508         (prepareToPrint): ditto
5509
5510         * rowpainter.C (paintBackground): never ask for one past last
5511         (paintText): never ask for one past last
5512
5513         * paragraph_pimpl.C (getChar): make the assert stricter, never
5514         allow the one past last pos to be taken
5515
5516         * paragraph.C (getChar): ws changes only
5517
5518         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5519         (numberOfSeparators): ditto
5520         (numberOfHfills): ditto
5521
5522 2003-03-12  John Levon  <levon@movementarian.org>
5523
5524         * author.h:
5525         * author.C:
5526         * bufferparams.h:
5527         * bufferparams.C:
5528         * paragraph_funcs.C: fix per-buffer authorlists
5529
5530 2003-03-12  John Levon  <levon@movementarian.org>
5531
5532         * text.C: fix newline in right address
5533
5534 2003-03-12  Angus Leeming  <leeming@lyx.org>
5535
5536         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5537         duplicate those in LyXFunc::dispatch.
5538
5539         * commandtags.h:
5540         * LyXAction.C:
5541         * ToolbarDefaults.C:
5542         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5543         Add LFUN_FONTFREE_UPDATE.
5544
5545         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5546         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5547
5548         * bufferview_func.[Ch]: several new functions to facilliate
5549         transfer of data to and from the character dialog.
5550
5551 2003-03-12  John Levon  <levon@movementarian.org>
5552
5553         * buffer.C:
5554         * paragraph.h:
5555         * paragraph.C:
5556         * paragraph_funcs.C:
5557         * paragraph_pimpl.C:
5558         * sgml.C:
5559         * tabular.C:
5560         * text.C:
5561         * text3.C: remove META_NEWLINE in favour of an inset
5562
5563         * rowpainter.h:
5564         * rowpainter.C: remove paintNewline (done by inset)
5565
5566 2003-03-12  John Levon  <levon@movementarian.org>
5567
5568         * paragraph_pimpl.C: complain about bad getChar()s
5569         for a while at least
5570
5571 2003-03-12  John Levon  <levon@movementarian.org>
5572
5573         * buffer.h:
5574         * buffer.C: move paragraph read into a separate function,
5575         a little renaming to reflect that.
5576
5577         * bufferparams.h:
5578         * bufferparams.C: remove the author_ids map, not necessary now
5579
5580         * factory.h:
5581         * factory.C: moved Buffer::readInset to here
5582
5583         * paragraph_funcs.h:
5584         * paragraph_funcs.C: readParagraph free function moved from
5585         buffer.C
5586
5587         * tabular.C: name change
5588
5589 2003-03-12  John Levon  <levon@movementarian.org>
5590
5591         * buffer.C:
5592         * ParagraphParameters.C: move par params input to
5593         a read() method
5594
5595         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5596         behave like a normal read from the stream wrt reading
5597         a line vs. a \\token
5598
5599 2003-03-12  John Levon  <levon@movementarian.org>
5600
5601         * paragraph.C:
5602         * ParagraphParameters.h:
5603         * ParagraphParameters.C: move output code to a
5604         ::write() method
5605
5606 2003-03-12  John Levon  <levon@movementarian.org>
5607
5608         * BufferView.C (insertLyXFile):
5609         * buffer.h:
5610         * buffer.C:
5611         * tabular.C: use a parlist iterator for creating the
5612           document.
5613
5614 2003-03-12  John Levon  <levon@movementarian.org>
5615
5616         * buffer.C: make current_change static local not
5617           static file-scope
5618
5619 2003-03-12  John Levon  <levon@movementarian.org>
5620
5621         * buffer.C: fix insertStringAsLines for change tracking
5622
5623 2003-03-12  John Levon  <levon@movementarian.org>
5624
5625         * BufferView.C:
5626         * tabular.C:
5627         * buffer.h:
5628         * buffer.C:
5629         * bufferparams.h:
5630         * bufferparams.C: move author list into params. Rename some
5631           functions. Move the header reading into a separate token
5632           loop. Move the header token reading into BufferParams.
5633
5634 2003-03-12  John Levon  <levon@movementarian.org>
5635
5636         * changes.C: put debug inside lyxerr.debugging() checks
5637
5638 2003-03-11 André Pönitz <poenitz@gmx.net>
5639
5640         * factory.C: make it aware of InsetHFill
5641
5642 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5643
5644         * buffer.C (latexParagraphs): move function from here...
5645         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5646         args.
5647
5648 2003-03-10  Angus Leeming  <leeming@lyx.org>
5649
5650         * LyXAction.C (init): fix bug in poplating array with multiple entries
5651         with the same LFUN (spotted by JMarc).
5652
5653 2003-03-10  John Levon  <levon@movementarian.org>
5654
5655         * text.C:
5656         * text2.C: move getColumnNearX() near its
5657         only call site
5658
5659 2003-03-10  John Levon  <levon@movementarian.org>
5660
5661         * text.C: fix break before a minipage
5662
5663 2003-03-10  John Levon  <levon@movementarian.org>
5664
5665         * text.C: fix the last commit
5666
5667 2003-03-09  John Levon  <levon@movementarian.org>
5668
5669         * lyxtext.h:
5670         * text.C:
5671         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5672         bug 365 (don't break before insets unless needed). Don't
5673         return a value > last under any circumstances.
5674
5675 2003-03-09  Angus Leeming  <leeming@lyx.org>
5676
5677         * BufferView_pimpl.C (trackChanges, dispatch): call
5678         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5679
5680 2003-03-09  Angus Leeming  <leeming@lyx.org>
5681
5682         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5683         than Dialogs::showAboutlyx().
5684
5685 2003-03-09  Angus Leeming  <leeming@lyx.org>
5686
5687         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5688         than Dialogs::showTabularCreate().
5689
5690 2003-03-09  John Levon  <levon@movementarian.org>
5691
5692         * lyxtext.h:
5693         * text.C:
5694         * text2.C: 3rd arg to nextBreakPoint was always the same.
5695           Use references.
5696
5697 2003-03-08  John Levon  <levon@movementarian.org>
5698
5699         * lyxrow.C:
5700         * paragraph.C:
5701         * paragraph.h:
5702         * rowpainter.C:
5703         * text.C:
5704         * text2.C: Remove the "main" bit from the "main body"
5705           notion.
5706
5707 2003-03-08  John Levon  <levon@movementarian.org>
5708
5709         * text.C (leftMargin): The left margin of an empty
5710         manual label paragraph should not include the label width
5711         string length.
5712
5713         * text.C (prepareToPrint): don't attempt to measure hfills
5714         for empty manual label paragraphs - the answer should be 0
5715
5716 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * CutAndPaste.C: remove commented code and reindent.
5719
5720 2003-03-08  John Levon  <levon@movementarian.org>
5721
5722         * lyxfunc.h:
5723         * lyxfunc.C: move reloadBuffer()
5724
5725         * BufferView.h:
5726         * BufferView.C: to here
5727
5728         * lyxvc.C: add comment
5729
5730         * vc-backend.h:
5731         * vc-backend.C: call bv->reload() to avoid
5732           getStatus() check on MENURELOAD
5733
5734 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5735
5736         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5737         to an old format .dep file.
5738
5739 2003-03-07  Angus Leeming  <leeming@lyx.org>
5740
5741         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5742         when the LFUN_MOUSE_RELEASE should have been handled by
5743         inset->localDispatch.
5744
5745 2003-03-07  Angus Leeming  <leeming@lyx.org>
5746
5747         * BufferView_pimpl.C (dispatch):
5748         * LyXAction.C (init):
5749         * ToolbarDefaults.C (init):
5750         * commandtags.h:
5751         * lyxfunc.C (getStatus):
5752         remove LFUN_INSET_GRAPHICS.
5753
5754         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5755
5756 2003-03-07  Angus Leeming  <leeming@lyx.org>
5757
5758         * commandtags.h:
5759         * LyXAction.C (init):
5760         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5761
5762         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5763
5764         * commandtags.h:
5765         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5766
5767         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5768         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5769
5770 2003-03-07  Angus Leeming  <leeming@lyx.org>
5771
5772         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5773         remove "ert".
5774
5775 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * ParagraphList.C (front): new function
5778         (back): implement
5779
5780 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5781
5782         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5783         and top_row_offset_. removed var first_y.
5784         * text.C (top_y):
5785         * text2.C (LyXText, removeRow):
5786         * text3.C:
5787         * BufferView_pimpl.C:
5788         use these methods instead of using first_y
5789
5790 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * text2.C (pasteSelection): adjust for checkPastePossible
5793
5794         * CutAndPaste.C: remove Paragraph * buf and replace with
5795         ParagraphList paragraphs.
5796         (DeleteBuffer): delete
5797         (cutSelection): change the tc type to textclass_type
5798         (copySelection): change the tc type to textclass_type
5799         (copySelection): adjust for ParagraphList
5800         (pasteSelection): change the tc type to textclass_type
5801         (pasteSelection): adjust for Paragraphlist
5802         (nrOfParagraphs): simplify for ParagraphList
5803         (checkPastePossible): simplify for ParagraphList
5804         (checkPastePossible): remove unused arg
5805
5806         * ParagraphList.C (insert): handle the case where there are no
5807         paragraphs yet.
5808
5809         * CutAndPaste.h: make CutAndPaste a namespace.
5810
5811         * text3.C (dispatch): adjust
5812
5813         * text.C (breakParagraph): add a ParagraphList as arg
5814
5815         * paragraph_funcs.C (breakParagraph): change to take a
5816         BufferParams and a ParagraphList as args.
5817         (breakParagraphConservative): ditto
5818         (mergeParagraph): ditto
5819         (TeXDeeper): add a ParagraphList arg
5820         (TeXEnvironment): ditto
5821         (TeXOnePar): ditto
5822
5823         * buffer.C (readLyXformat2): adjust
5824         (insertStringAsLines): adjust
5825         (latexParagraphs): adjust
5826
5827         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5828         (cutSelection): adjust
5829         (pasteSelection): adjust
5830
5831         * BufferView_pimpl.C (insertInset): adjust
5832
5833 2003-03-05  Angus Leeming  <leeming@lyx.org>
5834
5835         * commandtags.h:
5836         * LyXAction.C (init):
5837         * BufferView_pimpl.C (dispatch):
5838         * lyxfunc.C (getStatus):
5839         remove LFUN_CHILD_INSERT.
5840
5841         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5842
5843 2003-03-05  Angus Leeming  <leeming@lyx.org>
5844
5845         * commandtags.h:
5846         * LyXAction.C (init):
5847         * src/factory.C (createInset):
5848         * lyxfunc.C (getStatus):
5849         * text3.C (dispatch):
5850         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5851
5852         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5853
5854 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * ParagraphList.C (insert): handle insert right before end()
5857         (erase): fix cases where it can be first or last paragraph.
5858
5859 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5862         Paragraph::next and Paragraph::previous
5863         (TeXOnePar): ditto
5864
5865         * text.C (breakParagraph): adjust
5866
5867         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5868         BufferParams& as arg.
5869         (breakParagraph): use ParagraphList::insert
5870         (breakParagraphConservative): take a Buffer* instead of a
5871         BufferParams& as arg.
5872         (breakParagraphConservative): use ParagraphList::insert.
5873
5874         * buffer.C (insertStringAsLines): un-const it
5875         (insertStringAsLines): adjust
5876
5877         * ParagraphList.C (insert): new function
5878
5879         * CutAndPaste.C (pasteSelection): adjust
5880
5881         * text.C (backspace): adjust
5882
5883         * tabular.C (SetMultiColumn): adjust
5884
5885         * CutAndPaste.C (cutSelection): adjust
5886         (pasteSelection): adjust
5887
5888         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5889         Buffer const * as arg
5890
5891         * ParagraphList.C (erase): new function
5892         * paragraph_funcs.C (mergeParagraph): use it
5893         (mergeParagraph): make it take a Buffer* instead of a
5894         BufferParams* as arg
5895
5896         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5897         as arg
5898         (breakParagraphConservative): ditto
5899
5900         * paragraph.h: remove the breakParagraph friend
5901
5902         * paragraph.C (eraseIntern): new function
5903         (setChange): new function
5904
5905         * paragraph_funcs.C (mergeParagraph): make it take a
5906         ParagraphList::iterator instead of a Paragraph *, adjust
5907         accordingly.
5908
5909         * paragraph.h: move an #endif so that the change tracking stuff
5910         also works in the NO_NEXT case.
5911
5912 2003-03-04  Angus Leeming  <leeming@lyx.org>
5913
5914         * commandtags.h:
5915         * LyXAction.C: new LFUN_INSET_MODIFY.
5916
5917         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5918         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5919
5920 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * several files: ws changes only
5923
5924         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5925         (TeXEnvironment): ditto
5926         (TeXDeeper): ditto
5927
5928         * buffer.C (makeLaTeXFile): adjust
5929         (latexParagraphs): make it take ParagraphList::iterator as args
5930
5931 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * buffer.C (latexParagraphs): adjust
5934
5935         * paragraph.C (TeXOnePar): move function...
5936         (optArgInset): move function...
5937         (TeXEnvironment): move function...
5938         * paragraph_pimpl.C (TeXDeeper): move function...
5939         * paragraph_funcs.C: ...here
5940
5941         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5942
5943 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * buffer.C (readInset): remove compability code for old Figure and
5946         InsetInfo insets
5947
5948 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * buffer.C: ws changes
5951         (readInset):
5952
5953         * BufferView_pimpl.C: ditto
5954         * author.C: ditto
5955         * buffer.h: ditto
5956         * bufferlist.h: ditto
5957         * changes.h: ditto
5958         * lyxfunc.C: ditto
5959
5960 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5961
5962         * converter.[Ch]: split into itself +
5963         * graph.[Ch]
5964         * format.[Ch]
5965         * Makefile.am: += graph.[Ch] + format.[Ch]
5966         * MenuBackend.C
5967         * buffer.C
5968         * exporter.C
5969         * importer.C
5970         * lyx_main.C
5971         * lyxfunc.C
5972         * lyxrc.C: added #include "format.h"
5973
5974 2003-02-27  Angus Leeming  <leeming@lyx.org>
5975
5976         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5977           a label.
5978
5979         * factory.C (createInset): add "label" to the factory.
5980
5981         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5982           string and do no more.
5983
5984 2003-02-27  Angus Leeming  <leeming@lyx.org>
5985
5986         * commandtags.h:
5987         * LyXAction.C (init):
5988         * factory.C (createInset):
5989         * BufferView_pimpl.C (dispatch):
5990           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5991
5992         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5993
5994         * lyxfunc.C (dispatch):
5995         * text3.C (dispatch): pass name to params2string.
5996
5997 2003-02-26  Angus Leeming  <leeming@lyx.org>
5998
5999         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6000           blocks together.
6001           Rearrange the ~includes. Strip out the unnecessary ones.
6002
6003         * factory.C (createInset): reformat.
6004           create new insets for the various LFUN_XYZ_APPLY lfuns.
6005
6006 2003-02-26  John Levon  <levon@movementarian.org>
6007
6008         * lyxrow.h:
6009         * lyxrow.C: add isParStart,isParEnd helpers
6010
6011         * paragraph.h: make isInserted/DeletedText take refs
6012
6013         * paragraph_funcs.h:
6014         * paragraph_funcs.C: remove #if 0'd code
6015
6016         * lyxtext.h:
6017         * text3.C:
6018         * text2.C:
6019         * text.C: use lyxrow helpers above.
6020           Move draw and paint routines to RowPainter.
6021           Make several methods use refs not pointers.
6022           Make backgroundColor() const.
6023           Add markChangeInDraw(), isInInset().
6024           Merge changeRegionCase into changeCase.
6025           Make workWidth() shouldn't-happen code into an Assert.
6026
6027         * rowpainter.h:
6028         * rowpainter.C: new class for painting a row.
6029
6030         * vspace.h:
6031         * vspace.C: make inPixels take a ref
6032
6033 2003-02-26  Angus Leeming  <leeming@lyx.org>
6034
6035         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6036         LFUN_REF_APPLY.
6037
6038 2003-02-25  John Levon  <levon@movementarian.org>
6039
6040         * ispell.C: give the forked command a more accurate name
6041
6042 2003-02-22  John Levon  <levon@movementarian.org>
6043
6044         * toc.h:
6045         * toc.C: make TocItem store an id not a Paragraph *
6046           (bug #913)
6047
6048 2003-02-21  Angus Leeming  <leeming@lyx.org>
6049
6050         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6051           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6052           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6053           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6054           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6055           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6056
6057         * BufferView_pimpl.C (dispatch):
6058         * LyXAction.C (init):
6059         * factory.C (createInset):
6060         * lyxfunc.C (getStatus, dispatch):
6061         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6062
6063 2003-02-21  Angus Leeming  <leeming@lyx.org>
6064
6065         * BufferView_pimpl.C (MenuInsertLyXFile):
6066         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6067         * lyxfunc.C (menuNew, open, doImport):
6068           no longer pass a LyXView & to fileDlg.
6069
6070 2003-02-21  Angus Leeming  <leeming@lyx.org>
6071
6072         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6073         * LyXAction.C: change, BIBKEY to BIBITEM.
6074         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6075         Change InsetBibKey to InsetBibitem.
6076         Change BIBKEY_CODE to BIBITEM_CODE.
6077         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6078         * factory.C: replace insetbib.h with insetbibitem.h.
6079         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6080         * paragraph.C: replace insetbib.h with insetbibitem.h.
6081         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6082         Change bibkey() to bibitem().
6083         * text.C: remove insetbib.h.
6084         * text2.C: replace insetbib.h with insetbibitem.h.
6085         change bibkey() to bibitem().
6086         * text3.C: remove insetbib.h.
6087         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6088
6089 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6090
6091         * lyxrc.C (output): enclose user email in quotes (in case there are
6092         several words)
6093
6094 2003-02-18  John Levon  <levon@movementarian.org>
6095
6096         * buffer.h: add std::
6097
6098 2003-02-17  John Levon  <levon@movementarian.org>
6099
6100         * SpellBase.h:
6101         * ispell.h:
6102         * ispell.C:
6103         * pspell.h:
6104         * pspell.C: reworking. Especially in ispell, a large
6105           number of clean ups and bug fixes.
6106
6107         * lyxfunc.C: fix revert to behave sensibly
6108
6109 2003-02-17 André Pönitz <poenitz@gmx.net>
6110
6111         * LyXAction.C:
6112         * commandtags.h: new LFUN_INSERT_BIBKEY
6113
6114         * layout.h:
6115         * lyxlayout.C:
6116         * buffer.C:
6117         * factory.C:
6118         * text.C:
6119         * text2.C:
6120         * text3.C:
6121         * paragraph.[Ch]:
6122         * paragraph_func.C: remove special bibkey handling
6123
6124 2003-02-17  John Levon  <levon@movementarian.org>
6125
6126         * text.C (Delete): fix case where delete at the end of
6127           the very first paragraph would not merge the pars
6128
6129 2003-02-17  John Levon  <levon@movementarian.org>
6130
6131         * lyxrow.C: fix lastPrintablePos()
6132
6133 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6134
6135         * bufferparams.C (writeLaTeX): add a std:here
6136
6137         * buffer.C: and remove a using directive there
6138
6139 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6140
6141         * buffer.C (makeLaTeXFile): move the code that generates the
6142           preamble...
6143
6144         * bufferparams.C (writeLaTeX): ... in this new method
6145
6146         * LaTeXFeatures.C (getEncodingSet): make const
6147           (getLanguages): make const
6148
6149         * MenuBackend.C (binding): returns the binding associated to this
6150           action
6151           (add): sets the status of each item by calling getStatus. Adds
6152           some intelligence.
6153           (read): add support for OptSubMenu
6154           (expand): remove extra separator at the end of expanded menu
6155
6156 2003-02-15  John Levon  <levon@movementarian.org>
6157
6158         * BufferView.C:
6159         * BufferView_pimpl.C:
6160         * bufferlist.h:
6161         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6162           inset code that had no actual effect. Remove unneeded status
6163           code.
6164
6165 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6166
6167         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6168           in preamble
6169
6170 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6171
6172         * text.C (drawLengthMarker): also draw an arrow marker for
6173           symbolic lengths (medskip...)
6174
6175 2003-02-14  John Levon  <levon@movementarian.org>
6176
6177         * tabular.h:
6178         * tabular.C: better method names
6179
6180 2003-02-14  John Levon  <levon@movementarian.org>
6181
6182         * BufferView_pimpl.C:
6183         * bufferlist.C:
6184         * buffer.C:
6185         * converter.C:
6186         * lyx_cb.C:
6187         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6188           it's a more accurate name. Remove some pointless uses.
6189
6190 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6191
6192         * text2.C (LyXText): change order of initilizers to shut off
6193           warnings
6194
6195 2003-02-14  John Levon  <levon@movementarian.org>
6196
6197         * buffer.C: use ParIterator for getParFromID()
6198
6199         * paragraph.h:
6200         * paragraph.C:
6201         * paragraph_pimpl.h:
6202         * paragraph_pimpl.C: remove unused getParFromID()
6203
6204 2003-02-14  John Levon  <levon@movementarian.org>
6205
6206         * buffer.C: remove some very old #if 0'd parse code
6207
6208 2003-02-13  John Levon  <levon@movementarian.org>
6209
6210         * text.h:
6211         * text.C:
6212         * text2.C: move hfillExpansion(), numberOfSeparators(),
6213           rowLast(), rowLastPrintable(), numberofHfills(),
6214           numberOfLabelHfills() ...
6215
6216         * lyxrow.h:
6217         * lyxrow.C: ... to member functions here.
6218
6219         * paragraph.h:
6220         * paragraph.C:
6221         * lyxtext.h:
6222         * text.C: remove LyXText::beginningOfMainBody(), and call
6223           p->beginningOfMainBody() directly. Move the check for
6224           LABEL_MANUAL into the latter.
6225
6226         * text.h:
6227         * text.C:
6228         * text2.C:
6229         * vspace.C:
6230         * BufferView.h:
6231         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6232
6233         * text.h:
6234         * text.C:
6235         * text2.C:
6236         * text3.C:
6237         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6238           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6239
6240 2003-02-13  John Levon  <levon@movementarian.org>
6241
6242         * CutAndPaste.C: remove debug
6243
6244 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6245
6246         * paragraph.C (asString): remove two unused variables
6247
6248         * lyxtextclass.C (readTitleType):
6249           (Read):
6250           (LyXTextClass): handle new members titletype_ and titlename_
6251
6252         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6253
6254 2003-02-09  John Levon  <levon@movementarian.org>
6255
6256         * buffer.h:
6257         * buffer.C: replace hand-coded list with a map for the dep clean
6258
6259 2003-02-08  John Levon  <levon@movementarian.org>
6260
6261         * LaTeX.C: consolidate code into showRunMessage() helper
6262
6263 2003-02-08  John Levon  <levon@movementarian.org>
6264
6265         * lyxfind.C:
6266         * lyxtext.h:
6267         * text2.C:
6268         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6269           and pass the size in explicitly
6270
6271         * BufferView_pimpl.h:
6272         * BufferView_pimpl.C:
6273         * BufferView.h:
6274         * BufferView.C: add getCurrentChange()
6275
6276         * BufferView_pimpl.h:
6277         * BufferView_pimpl.C: handle change lfuns
6278
6279         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6280           for changes. Mark pasted paragraphs as new.
6281
6282         * support/lyxtime.h:
6283         * support/lyxtime.C:
6284         * DepTable.C: abstract time_t as lyx::time_type
6285
6286         * LColor.h:
6287         * LColor.C: add colours for new text, deleted text, changebars
6288
6289         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6290           package use "usenames" option.
6291
6292         * commandtags.h:
6293         * lyxfunc.C:
6294         * LyXAction.C: add change lfuns
6295
6296         * Makefile.am:
6297         * author.h:
6298         * author.C: author handling
6299
6300         * buffer.h:
6301         * buffer.C: add a per-buffer author list, with first entry as
6302           current author. Handle new .lyx tokens for change tracking. Output
6303           author list to .lyx file. Output dvipost stuff to .tex preamble.
6304           Bump lyx format to 222.
6305
6306         * bufferlist.h:
6307         * bufferlist.C: add setCurrentAuthor() to reset current author details
6308           in all buffers.
6309
6310         * bufferparams.h:
6311         * bufferparams.C: add param for tracking
6312
6313         * bufferview_funcs.C: output change info in minibuffer
6314
6315         * Makefile.am:
6316         * changes.h:
6317         * changes.C: add change-tracking structure
6318
6319         * debug.h:
6320         * debug.C: add CHANGES debug flag
6321
6322         * lyxfind.h:
6323         * lyxfind.C: add code for finding the next change piece
6324
6325         * lyxrc.h:
6326         * lyxrc.C: add user_name and user_email
6327
6328         * lyxrow.h:
6329         * lyxrow.C: add a metric for the top of the text line
6330
6331         * lyxtext.h:
6332         * text.C: implement accept/rejectChange()
6333
6334         * lyxtext.h:
6335         * text.C: paint changebars. Paint new/deleted text in the chosen
6336         colours. Strike through deleted text.
6337
6338         * paragraph.h:
6339         * paragraph.C:
6340         * paragraph_pimpl.h:
6341         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6342           in the current change to the insert functions. Rework erase to
6343           mark text as deleted, adding an eraseIntern() and a range-based
6344           erase(). Implement per-paragraph change lookup and
6345           accept/reject.
6346
6347         * paragraph_funcs.C: Fixup paste for change tracking.
6348
6349         * tabular.C: mark added row/columns as new.
6350
6351         * text.C: fix rowLast() to never return -1. Don't allow
6352           spellchecking of deleted text. Track transpose changes. Don't
6353           allow paragraph break or merge where appropriate.
6354
6355         * text2.C: leave cursor at end of selection after a cut.
6356
6357 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6358
6359         * text.C (getLengthMarkerHeight):
6360         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6361         visible on screen too.
6362
6363 2003-02-07  John Levon  <levon@movementarian.org>
6364
6365         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6366
6367 2003-02-05  Angus Leeming  <leeming@lyx.org>
6368
6369         * lyxserver.C (read_ready): revert my patch of 11 September last year
6370         as it sends PC cpu through the roof. Presumably this means that
6371         the lyxserver will no longer run on an Alpha...
6372
6373 2003-01-30  Angus Leeming  <leeming@lyx.org>
6374
6375         * factory.C (createInset): create an InsetCommandParam of type "index"
6376         and use it to 'do the right thing'.
6377
6378         * text2.C (getStringToIndex): ensure that cursor position is always
6379         reset to the reset_cursor position.
6380
6381 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6382
6383         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6384         disabled.
6385
6386 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6387
6388         * bufferview.C:
6389         * lyxcb.C:
6390         * lyxfunc.C: Output messages with identical spelling, punctuation,
6391         and spaces
6392
6393 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6394
6395         * MenuBackend.C (expandFormats): List only viewable export formats
6396         in "View" menu
6397
6398         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6399         message
6400
6401         * lyxfunc.C (getStatus): Make sure that formats other than
6402         "fax" can also be disabled
6403
6404 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6405
6406         * text3.C (dispatch): put the lfuns that insert insets in 3
6407         groups, and call doInsertInset with appropriate arguments.
6408         (doInsertInset): new function, that creates an inset and inserts
6409         it according to some boolean parameters.
6410
6411 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * buffer.C (readFile): remember to pass on 'par' when calling
6414         readFile recursively.
6415
6416 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6417
6418         * MenuBackend.C (expandFormats): add "..." to import formats.
6419
6420 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6421
6422         * paragraph.C (asString): Remove XForms RTL hacks.
6423
6424 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6425         * buffer.C: fix typo
6426
6427 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * Makefile.am (LIBS): delete var
6430         (lyx_LDADD): add @LIBS@ here instead.
6431
6432 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6433
6434         * Clarify the meaning of "wheel mouse jump"
6435
6436 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6437
6438         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6439         tabular in a float
6440
6441 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6442
6443         * importer.C (Loaders): do not preallocate 3 elements in the
6444         vector, since one ends up with 6 elements otherwise
6445
6446 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6447
6448         * DepTable.C (write): write the file name as last element of the
6449         .dep file (because it may contain spaces)
6450         (read): read info in the right order
6451
6452 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6453
6454         * paragraph_pimpl.C (simpleTeXBlanks):
6455         (simpleTeXSpecialChars):
6456         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6457
6458         * tabular.C (latex): add some missing case statements. Reindent.
6459
6460         * MenuBackend.C (expandToc): remove unused variable.
6461
6462 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6463
6464         * LColor.C:
6465         * LaTeX.C:
6466         * LyXAction.C:
6467         * MenuBackend.C:
6468         * buffer.C:
6469         * exporter.C:
6470         * lyxfunc.C:
6471         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6472         and the like.
6473
6474 2003-01-05  John Levon  <levon@movementarian.org>
6475
6476         * BufferView.h:
6477         * BufferView.C: add getEncoding()
6478
6479         * kbsequence.h:
6480         * kbsequence.C: do not store last keypress
6481
6482         * lyxfunc.h:
6483         * lyxfunc.C: store last keypress here instead. Pass encoding
6484           to getISOEncoded()
6485
6486 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6487
6488         * lyx_main.C (init): remove annoying error message when following
6489         symbolic links (bug #780)
6490
6491 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6492
6493         * text.C (insertChar):
6494         * lyxrc.C (getDescription): remove extra spaces
6495
6496 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6497
6498         * lyxrc.C (getDescription): remove extra spaces
6499
6500 2002-12-20  John Levon  <levon@movementarian.org>
6501
6502         * text3.C: hack fix for page up/down across tall rows
6503
6504 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6505
6506         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6507         not been invoked
6508
6509 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6510
6511         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6512         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6513         thesaurus is not compiled in
6514
6515 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6516
6517         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6518
6519 2002-12-16  Angus Leeming  <leeming@lyx.org>
6520
6521         * lyxrc.[Ch]:
6522         * lyx_main.C (init): remove override_x_deadkeys stuff.
6523
6524 2002-12-12  John Levon  <levon@movementarian.org>
6525
6526         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6527           insert. Only remove shift modifier under strict
6528           circumstances.
6529
6530 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * MenuBackend.C (expandToc): fix crash.
6533
6534 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * MenuBackend.C (expandToc): gettext on float names.
6537
6538 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6539
6540         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6541         implement bool empty() [bug 490]
6542
6543 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6546
6547 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * several files: ws changes
6550
6551 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * text2.C (setCounter): clean up a bit, use boost.format.
6554         (updateCounters): initialize par upon declaration.
6555
6556         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6557         if the layout exists. We do not just store the layout any more.
6558         (SwitchLayoutsBetweenClasses): use boost.format
6559
6560 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6561
6562         * converter.C (convert): if from and to files are the same, use a
6563         temporary files as intermediary
6564
6565 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6566
6567         * commandtags.h:
6568         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6569
6570 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6571
6572         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6573
6574 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * tabular.C (asciiPrintCell): use string(size, char) instead of
6577         explicit loop.
6578
6579         * sgml.C (openTag): fix order of arguments to string constructor
6580         (closeTag): ditto
6581
6582         * lyxfunc.C (dispatch): use boost.format
6583
6584         * lots of files: change "c" -> 'c'
6585
6586 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6587
6588         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6589
6590 2002-11-25  Angus Leeming  <leeming@lyx.org>
6591
6592         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6593
6594         * lyx_main.C (init): compile fix.
6595
6596 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * lyx_cb.C (start): boost.formatify
6599         do not include <iostream>
6600
6601         * lengthcommon.C: ws only
6602
6603         * boost-inst.C,BoostFormat.h: add more explict instantations
6604
6605 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * lots of files: handle USE_BOOST_FORMAT
6608
6609 2002-11-21  John Levon  <levon@movementarian.org>
6610
6611         * pspell.C: fix compile
6612
6613 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6614
6615         * lyxfunc.C (dispatch): use boost::format
6616         (open): ditto
6617         (doImport): ditto
6618
6619         * lyxfont.C (stateText): use boost::format
6620
6621         * lyx_main.C (LyX): use boost::format
6622         (init): ditto
6623         (queryUserLyXDir): ditto
6624         (readRcFile): ditto
6625         (parse_dbg): ditto
6626         (typedef boost::function): use the recommened syntax.
6627
6628         * importer.C (Import): use boost::format
6629
6630         * debug.C (showLevel): use boost::format
6631
6632         * converter.C (view): use boost::format
6633         (convert): ditto
6634         (move): ditto
6635         (scanLog): ditto
6636
6637         * bufferview_funcs.C (currentState): use boost::format
6638
6639         * bufferlist.C (emergencyWrite): use boost::format
6640
6641         * buffer.C (readLyXformat2): use boost::format
6642         (parseSingleLyXformat2Token): ditto
6643
6644         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6645
6646         * LaTeX.C (run): use boost::format
6647
6648         * Chktex.C (scanLogFile): use boost::format
6649
6650         * BufferView_pimpl.C (savePosition): use boost::format
6651         (restorePosition): ditto
6652         (MenuInsertLyXFile): ditto
6653
6654         * BoostFormat.h: help file for explicit instation.
6655
6656 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6657
6658         * tabular.C (latex): Support for block alignment in fixed width
6659         columns.
6660
6661 2002-11-17  John Levon  <levon@movementarian.org>
6662
6663         * BufferView_pimpl.C:
6664         * lyx_cb.C:
6665         * lyxfunc.C: split filedialog into open/save
6666
6667 2002-11-08  Juergen Vigna  <jug@sad.it>
6668
6669         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6670         by my last patch (hopefully).
6671
6672 2002-11-08  John Levon  <levon@movementarian.org>
6673
6674         * iterators.h:
6675         * iterators.C:
6676         * buffer.h:
6677         * buffer.C:
6678         * paragraph.h:
6679         * paragraph.C:
6680         * toc.h:
6681         * toc.C: ParConstIterator, and use it (from Lars)
6682
6683 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6684
6685         * lyxtextclass.[Ch]: revise and add doxygen comments
6686
6687 2002-11-07  John Levon  <levon@movementarian.org>
6688
6689         * text.C: fix progress value for spellchecker
6690
6691         * toc.C: fix navigate menu for insetwrap inside minipage
6692
6693         * paragraph_funcs.C: added FIXME for suspect code
6694
6695 2002-11-07  John Levon  <levon@movementarian.org>
6696
6697         * BufferView_pimpl.C: fix redrawing of insets
6698           on buffer switch
6699
6700 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6701
6702         * text2.C (updateCounters): fix bug 668
6703
6704 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6705
6706         * text3.C (dispatch): Do not make the buffer dirty when moving the
6707         cursor.
6708
6709 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * vc-backend.C: STRCONV
6712         (scanMaster): ditto
6713
6714         * text2.C (setCounter): STRCONV
6715
6716         * paragraph.C (asString): STRCONV
6717
6718         * lyxlength.C (asString): STRCONV
6719         (asLatexString): ditto
6720
6721         * lyxgluelength.C (asString): STRCONV
6722         (asLatexString): ditto
6723
6724         * lyxfunc.C (dispatch): STRCONV
6725         (open): ditto
6726
6727         * lyxfont.C (stateText): STRCONV
6728
6729         * importer.C (Import): STRCONV
6730
6731         * counters.C (labelItem): STRCONV
6732         (numberLabel): ditto
6733         (numberLabel): remove unused ostringstream o
6734
6735         * chset.C: STRCONV
6736         (loadFile): ditto
6737
6738         * bufferview_funcs.C (currentState): STRCONV
6739
6740         * buffer.C (readFile): STRCONV
6741         (asciiParagraph): ditto
6742         (makeLaTeXFile): ditto
6743
6744         * Spacing.C (writeEnvirBegin): STRCONV
6745
6746         * LaTeXFeatures.C (getLanguages): STRCONV
6747         (getPackages): ditto
6748         (getMacros): ditto
6749         (getBabelOptions): ditto
6750         (getTClassPreamble): ditto
6751         (getLyXSGMLEntities): ditto
6752         (getIncludedFiles): ditto
6753
6754         * LaTeX.C: STRCONV
6755         (run): ditto
6756         (scanAuxFile): ditto
6757         (deplog): ditto
6758
6759         * LString.h: add the STRCONV macros
6760
6761         * BufferView_pimpl.C (savePosition): STRCONV
6762         (restorePosition): ditto
6763         (MenuInsertLyXFile): ditto
6764
6765         * vc-backend.C (scanMaster): change from submatch[...] to
6766         submatch.str(...)
6767
6768         * funcrequest.C: include config.h
6769
6770         * factory.C: include config.h
6771
6772         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6773
6774         * box.C: include config.h
6775
6776         * LaTeX.C (scanAuxFile): change from submatch[...] to
6777         submatch.str(...)
6778         (deplog): ditto
6779
6780 2002-10-25  Angus Leeming  <leeming@lyx.org>
6781
6782         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6783
6784         * ispell.[Ch] (setError): new method.
6785         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6786         Use setError() insetead of goto END.
6787
6788         * lyx_cb.C (AutoSave): move out child process into new class
6789         AutoSaveBuffer.
6790
6791 2002-10-30  John Levon  <levon@movementarian.org>
6792
6793         * text3.C: make start appendix undoable
6794
6795 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6796
6797         * lyxlength.C (inPixels): Fix returned value.
6798
6799         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6800         environment.
6801
6802 2002-10-24  Angus Leeming  <leeming@lyx.org>
6803
6804         * lyxgluelength.h: no need to forward declare BufferParams
6805         or BufferView, so don't.
6806
6807 2002-10-21  John Levon  <levon@movementarian.org>
6808
6809         * BufferView.C: menuUndo ->undo, redo
6810
6811         * BufferView.h: document, remove dead, make some methods private
6812
6813         * paragraph_funcs.h:
6814         * paragraph_funcs.C:
6815         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6816
6817         * buffer.h:
6818         * buffer.C:
6819         * sgml.h:
6820         * sgml.C: move sgml open/close tag into sgml.C
6821
6822         * bufferview_funcs.h: unused prototype
6823
6824         * lyxfunc.h:
6825         * lyxfunc.C: remove unused
6826
6827         * lyxtext.h:
6828         * text.C: remove unused
6829
6830 2002-10-21  John Levon  <levon@movementarian.org>
6831
6832         * BufferView.h:
6833         * BufferView.C:
6834         * BufferView_pimpl.h:
6835         * BufferView_pimpl.C: fix mouse wheel handling based on
6836           patch from Darren Freeman
6837
6838 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6839
6840         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6841
6842 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6843
6844         * lyxlength.C (inPixels): Fix hanfling of negative length.
6845         Fix LyXLength::MU case.
6846
6847 2002-10-16  John Levon  <levon@movementarian.org>
6848
6849         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6850
6851 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6852
6853         * converter.C (view): add support for $$i (file name) and $$p
6854         (file path) for the viewer command. If $$i is not specified, then
6855         it is appended to the command (for compatibility with old syntax)
6856
6857 2002-10-14  Juergen Vigna  <jug@sad.it>
6858
6859         * undo_funcs.C (textHandleUndo): alter the order in which the
6860         new undopar is added to the LyXText, as we have to set first
6861         the right prev/next and then add it as otherwise the rebuild of
6862         LyXText is not correct. Also reset the cursor to the right paragraph,
6863         with this IMO we could remove the hack in "redoParagraphs()".
6864
6865 2002-10-09  Angus Leeming  <leeming@lyx.org>
6866
6867         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6868         to turn off an optimisation if a new inset is to be inserted.
6869
6870 2002-10-11 André Pönitz <poenitz@gmx.net>
6871
6872         * lyxtext.h: make some functions public to allow access
6873         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6874
6875 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6876
6877         * text3.C (dispatch): when changing layout, avoid an infinite loop
6878         [bug #652]
6879
6880 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6881
6882         * lyxrc.C (read): treat a viewer or converter command of "none" as
6883         if it were empty.
6884
6885         * MenuBackend.C (expandFormats): for an update, also allow the
6886         formats that are not viewable
6887
6888         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6889         script if it is newer than the lyxrc.defaults in user directory
6890
6891 2002-10-07 André Pönitz <poenitz@gmx.net>
6892
6893         * text.C: Vitaly Lipatov's small i18n fix
6894
6895 2002-09-25  Angus Leeming  <leeming@lyx.org>
6896
6897         * ispell.h: doxygen fix.
6898
6899 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6900
6901         * buffer.h (readFile): Add a new argument to the method, to allow
6902         reading of old-format templates.
6903
6904 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * toc.C (getTocList): Get TOC from InsetWrap.
6907
6908 2002-09-16  John Levon  <levon@movementarian.org>
6909
6910         * lyxfunc.C: check tabular for cut/copy too
6911
6912 2002-09-12  John Levon  <levon@movementarian.org>
6913
6914         * LyXAction.C: tidy
6915
6916         * factory.h:
6917         * factory.C: add header
6918
6919         * paragraph_funcs.h:
6920         * paragraph_funcs.C: cleanup
6921
6922 2002-09-11  John Levon  <levon@movementarian.org>
6923
6924         * PrinterParams.h: odd/even default to true
6925
6926 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6927
6928         * PrinterParams.h: update printer parameters for new xforms dialog
6929
6930 2002-09-11  Angus Leeming  <leeming@lyx.org>
6931
6932         * lyxserver.C (read_ready): re-write to make it more transparent
6933         and to make it work in coherent fashion under Tru64 Unix.
6934
6935 2002-09-11  André Pönitz <poenitz@gmx.net>
6936
6937         * commandtags.h:
6938         * LyXAction.C:
6939         * text3.C: implement LFUN_WORDSEL
6940
6941 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6944         make floatlist_ a boost::shared_ptr<FloatList>
6945
6946         * lyxtextclass.C: include FloatList.h
6947         (LyXTextClass): initialize floatlist_
6948         (TextClassTags): add TC_NOFLOAT
6949         (Read): match "nofloat" to TC_NOFLOAT and use it.
6950         (readFloat): modify call to floatlist_
6951         (floats): ditto
6952         (floats): ditto
6953
6954         * FloatList.[Ch] (FloatList): remove commented out float
6955         initialization.
6956         (erase): new function
6957
6958 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6959
6960         * MenuBackend.C (expandToc): fix crash when there is no document
6961         open
6962
6963 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6964
6965         * many files: Add insetwrap.
6966
6967 2002-09-09  John Levon  <levon@movementarian.org>
6968
6969         * text2.C: remove confusing and awkward depth wraparound
6970
6971 2002-09-09  John Levon  <levon@movementarian.org>
6972
6973         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6974
6975         * buffer.h:
6976         * buffer.C: remove getIncludeonlyList()
6977
6978         * paragraph.C:
6979         * lyxfunc.C: remove headers
6980
6981 2002-09-09  Juergen Vigna  <jug@sad.it>
6982
6983         * text.C (getColumnNearX): fix form Michael this is most
6984         probably a cut&paste bug.
6985
6986 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6989
6990         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6991         references, ws changes.
6992
6993         * text2.C (init): update counters after init
6994         (insertParagraph): no need to set counter on idividual paragraphs.
6995         (setCounter): access the counters object in the textclass object
6996         on in the buffer object.
6997         (updateCounters): ditto
6998
6999         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7000         shared_ptr<Counters> to avoid loading counters.h in all
7001         compilation units.
7002         (LyXTextClass): initialize ctrs_
7003         (TextClassTags): add TC_COUNTER, and ...
7004         (Read): use it here.
7005         (CounterTags): new tags
7006         (readCounter): new function
7007         (counters): new funtion
7008         (defaultLayoutName): return a const reference
7009
7010         * counters.C (Counters): remove contructor
7011         (newCounter): remove a couple of unneeded statements.
7012         (newCounter): simplify a bit.
7013         (numberLabel): some small formatting changes.
7014
7015         * buffer.[Ch]: remove all traces of counters, move the Counters
7016         object to the LyXTextClass.
7017
7018 2002-09-06  Alain Castera  <castera@in2p3.fr>
7019
7020         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7021         package to set the horizontal alignment on fixed width columns.
7022
7023         * lyx_sty.C:
7024         * lyx_sty.h: added tabularnewline macro def.
7025
7026         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7027
7028 2002-09-06  John Levon  <levon@movementarian.org>
7029
7030         * LyXAction.C: tooltips for sub/superscript
7031
7032         * MenuBackend.C: a bit more verbose
7033
7034         * lyxfunc.C: tiny clean
7035
7036         * undo_funcs.C: document undo_frozen
7037
7038 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * counters.C (Counters): add missing algorithm counter.
7041
7042         * text2.C (setCounter): lookup the counter with layouts latexname
7043         instead of by section number.
7044         (setCounter): use a hackish way to lookup the correct enum
7045         counter.
7046         a float name->type change
7047         reset enum couners with counter name directly instead of depth value.
7048
7049         * counters.C (Counters): remove the push_backs, change to use the
7050         float type not the float name.
7051         (labelItem): remove unused string, float name->type change
7052
7053         * counters.h: don't include vector, loose the enums and sects vectors
7054
7055 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7058         (Read): add float->TC_FLOAT to textclassTags
7059         (Read): and handle it in the switch
7060         (readFloat): new function
7061
7062         * FloatList.C (FloatList): comment out the hardcoded float
7063         definitions.
7064
7065         * lyxlayout.h: ws change.
7066
7067 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7068
7069         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7070
7071 2002-09-03  Angus Leeming  <leeming@lyx.org>
7072
7073         * BufferView_pimpl.h: qualified name is not allowed in member
7074         declaration: WorkArea & Pimpl::workarea() const;
7075
7076         * factory.C: added using std::endl directive.
7077
7078         * text3.C: added using std::find and std::vector directives.
7079
7080 2002-08-29  André Pönitz <poenitz@gmx.net>
7081
7082         * lyxtext.h:
7083         * text2.C: remove unused member number_of_rows
7084
7085         * Makefile.am:
7086         * BufferView2.C: remove file, move contents to...
7087         * BufferView.C: ... here
7088
7089         * BufferView_pimpl.C:
7090         * factory.C: move more inset creation to factory
7091
7092         * vspace.C: avoid direct usage of LyXText, ws changes
7093
7094         * BufferView.[Ch]:
7095                 don't provide direct access to WorkArea, use two simple
7096                 acessors haveSelction() and workHeight() instead
7097
7098
7099 2002-08-29  John Levon  <levon@movementarian.org>
7100
7101         * BufferView_pimpl.C (dispatch): do not continue when
7102           no buffer
7103
7104 2002-08-28  André Pönitz <poenitz@gmx.net>
7105
7106         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7107
7108         * BufferView.h:
7109         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7110
7111 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7112
7113         * buffer.C: increment LYX_FORMAT to 221
7114
7115         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7116         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7117
7118         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7119
7120         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7121
7122 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7123
7124         * factory.C (createInset): use LyXTextClass::floats
7125
7126         * MenuBackend.C (expandFloatListInsert):
7127         (expandFloatInsert):
7128         (expandToc):
7129
7130         * text2.C (setCounter):
7131
7132         * LaTeXFeatures.C (useFloat):
7133         (getFloatDefinitions):
7134
7135         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7136
7137         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7138         floatlist_, with accessor floats().
7139
7140         * FloatList.h: remove global FloatList
7141
7142 2002-08-26  André Pönitz <poenitz@gmx.net>
7143
7144         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7145
7146         * BufferView.h:
7147         * BufferView2.C:
7148         * BufferView_pimpl.C:
7149         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7150
7151 2002-08-25  John Levon  <levon@movementarian.org>
7152
7153         * LyXAction.C: fix margin note description
7154
7155 2002-08-24  John Levon  <levon@movementarian.org>
7156
7157         * buffer.C:
7158         * bufferlist.C:
7159         * bufferview_funcs.C:
7160         * lyxfont.C:
7161         * undo_funcs.C: cleanups
7162
7163         * lyxfunc.C: disable CUT/COPY when no selection
7164
7165 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7166
7167         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7168         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7169
7170         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7171         Add backward compatibility to "mono", "gray" and "no".
7172
7173 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7174
7175         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7176         (and file_format >= 200).
7177
7178 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7179
7180         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7181
7182 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7183
7184         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7185
7186 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7187
7188         * BufferView_pimpl.C:
7189         * LyXAction.C:
7190         * buffer.C:
7191         * commandtags.h:
7192         * lyxfunc.C:
7193         * paragraph.[Ch]:
7194         * text2.C:
7195         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7196         inset and code to make it  work with the paragraph code. The inset
7197         can be anywhere in the paragraph, but will only do the expected
7198         thing in LaTeX if the layout file contains the parameter line
7199                         OptionalArgs    1
7200         (or more generally, a nonzero value) for that layout.
7201
7202 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * paragraph.h: remove the declaration of undefined counters class
7205         function.
7206
7207 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7208
7209         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7210         Dr. Richard Hawkins.
7211
7212 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7213
7214         * paragraph_funcs.h: remove some unneeded includes
7215
7216         * text.C (backspace): pasteParagraph now in global scipe
7217
7218         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7219         (pasteSelection): ditto
7220
7221         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7222         * paragraph_funcs.C (pasteParagraph): ... here
7223
7224 2002-08-20  André Pönitz <poenitz@gmx.net>
7225
7226         * commandtags.h: new LFUNs for swapping/copying table row/colums
7227
7228         * LyXAction.C:
7229         * lyxfunc.C: support for new lfuns
7230
7231 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * tabular.C:
7234         * buffer.[Ch]: remove NO_COMPABILITY stuff
7235
7236 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * boost.C (throw_exception): new file, with helper function for
7239         boost compiled without exceptions.
7240
7241         * paragraph.h:
7242         * lyxlength.C:
7243         * buffer.C:
7244         * ParameterStruct.h:
7245         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7246
7247         * bufferlist.C (emergencyWriteAll): use boost bind
7248
7249         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7250
7251         * text.C: include paragraph_funcs.h
7252         (breakParagraph): breakParagraph is now in global scope
7253
7254         * paragraph_funcs.[Ch]: new files
7255
7256         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7257         global scope
7258
7259         * buffer.C: include paragraph_funcs.h
7260         (insertStringAsLines): breakParagraph is now in global scope
7261
7262         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7263         paragraph_funcs.C
7264
7265         * CutAndPaste.C: include paragraph_funcs.h
7266         (cutSelection): breakParagraphConservative is now in global scope
7267         (pasteSelection): ditto
7268
7269         * buffer.h: declare oprator== and operator!= for
7270         Buffer::inset_iterator
7271
7272         * bufferlist.C (emergencyWrite): don't use fmt(...)
7273
7274         * text3.C: add using std::endl
7275
7276         * BufferView.C (moveCursorUpdate): remove default arg
7277
7278 2002-08-20  André Pönitz <poenitz@gmx.net>
7279
7280         * buffer.[Ch]: move inline functions to .C
7281
7282         * BufferView2.C:
7283         * BufferView_pimpl.C:
7284         * text.C:
7285         * buffer.[Ch]: use improved inset_iterator
7286
7287         * buffer.C:
7288         * paragraph.[Ch]: write one paragraph at a time
7289
7290 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7291
7292         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7293         style if style is not specified.
7294
7295 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7296
7297         * text2.C (setCounter): when searching for right label for a
7298         caption, make sure to recurse to parent insets (so that a caption
7299         in a minipage in a figure float works) (bug #568)
7300
7301 2002-08-20  André Pönitz <poenitz@gmx.net>
7302
7303         * text3.C: new file for LyXText::dispatch() and helpers
7304
7305         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7306
7307         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7308
7309 2002-08-19  André Pönitz <poenitz@gmx.net>
7310
7311         * lyxtext.h:
7312         * text.C: new LyXText::dispatch()
7313
7314         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7315
7316 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7317
7318         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7319
7320         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7321         Hebrew text.
7322
7323 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7324
7325         * Makefile.am: use $(variables) instead of @substitutions@
7326
7327 2002-08-15  André Pönitz <poenitz@gmx.net>
7328
7329         * lyxfunc.C:
7330         * BufferView_pimpl.C: streamlining mathed <-> outer world
7331         interaction
7332
7333         * commandtags.h:
7334         * LyXAction.C: remove unused LFUN_MATH
7335
7336 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7339
7340 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * paragraph.C (Paragraph): reformat a bit
7343         (cutIntoMinibuffer): use builtin InsetList function instad of
7344         doing it manually.
7345         (getInset): ditto
7346
7347         * buffer.C: include boost/bind.hpp, add using std::for_each
7348         (writeFileAscii): use ParagraphList iterators
7349         (validate): use for_each for validate traversal of paragraphs
7350         (getBibkeyList): use ParagraphList iterators
7351         (resizeInsets): use for_each to resizeInsetsLyXText for all
7352         paragraphs.
7353         (getParFromID): use ParagraphList iterators
7354
7355         * BufferView2.C (lockInset): use paragraph list and iterators
7356
7357 2002-08-14  John Levon  <levon@movementarian.org>
7358
7359         * lyxserver.C: remove spurious xforms include
7360
7361 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7362
7363         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7364
7365 2002-08-13  André Pönitz <poenitz@gmx.net>
7366
7367         * LyXAction.[Ch]:
7368         * lyxfunc.C: further cleaning
7369
7370 2002-08-13  André Pönitz <poenitz@gmx.net>
7371
7372         * funcrequest.h: new constructor
7373
7374         * funcrequest.C: move stuff here from .h
7375
7376         * Makefile.am:
7377         * BufferView_pimpl.C:
7378         * LyXAction.C:
7379         * toc.C:
7380         * lyxfunc.C: subsequent changes
7381
7382         * lyxfunc.h: new view() member function
7383
7384         * lyxfunc.C: subsequent changes
7385
7386 2002-08-13  Angus Leeming  <leeming@lyx.org>
7387
7388         * BufferView2.C:
7389         * BufferView_pimpl.C:
7390         * buffer.C:
7391         * converter.C:
7392         * importer.C:
7393         * lyxfunc.C:
7394         * lyxvc.C:
7395         * toc.C:
7396         * vc-backend.C:
7397         changes due to the changed LyXView interface that now returns references
7398         to member variables not pointers.
7399
7400 2002-08-13  Angus Leeming  <leeming@lyx.org>
7401
7402         * WordLangTuple (word, lang_code): return references to strings,
7403         not strings.
7404
7405         * BufferView.h:
7406         * SpellBase.h:
7407         * lyxtext.h: forward-declare WordLangTuple.
7408
7409         * BufferView2.C:
7410         * ispell.C:
7411         * pspell.C:
7412         * text.C: #include "WordLangTuple.h".
7413
7414         * lyxtext.h:
7415         * text.C: (selectNextWordToSpellcheck): constify return type.
7416
7417 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7418
7419         * buffer.C:
7420         * buffer.h:
7421         * lyxtext.h:
7422         * paragraph.C:
7423         * paragraph_pimpl.h:
7424         * text.C:
7425         * text2.C:
7426         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7427         suggested by Angus.
7428         Made updateCounter always count from start of buffer, and removed
7429         second argument (par).
7430         Reverted floats number display to '#'. Perhaps I'll try again when the
7431         code base is sanitized a bit.
7432
7433 2002-08-12  Angus Leeming  <leeming@lyx.org>
7434
7435         * buffer.[Ch] (getLabelList): constify.
7436
7437 2002-08-07  André Pönitz <poenitz@gmx.net>
7438
7439         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7440
7441         * funcrequest.h: extension to keep mouse (x,y) position
7442
7443 2002-08-12  Juergen Vigna  <jug@sad.it>
7444
7445         * BufferView2.C (insertErrors): forbid undo when inserting error
7446         insets.
7447
7448         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7449
7450 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7451
7452         * ParagraphList.[Ch]: new files
7453
7454         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7455
7456         * BufferView2.C (lockInset): ParagraphList changes
7457         * toc.C: ditto
7458         * text2.C: ditto
7459         * bufferlist.C: ditto
7460         * buffer.h: ditto
7461         * buffer.C: ditto
7462
7463 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7466         unused class variable counter_,
7467
7468         * paragraph.[Ch] (getFirstCounter): delete unused function
7469
7470         * counters.C: include LAssert.h
7471         (reset): add a new function with no arg, change other version to
7472         not have def. arg and to not allow empty arg.
7473
7474         * text2.C (setCounter): remove empty arg from call to Counters::reset
7475
7476 2002-08-11  John Levon  <levon@movementarian.org>
7477
7478         * Makefile.am: add WordLangTuple.h
7479
7480 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7483         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7484
7485         * insets/insettext.C: InsetList changes
7486
7487         * graphics/GraphicsSupport.C (operator()): InsetList changes
7488
7489         * toc.C (getTocList): InsetList changes
7490
7491         * paragraph_pimpl.[Ch]: InsetList changes
7492
7493         * paragraph.[Ch]: InsetList changes
7494
7495         * buffer.C (inset_iterator): InsetList changes
7496         (setParagraph): ditto
7497         * buffer.h (inset_iterator): ditto
7498         * iterators.C (operator++): ditto
7499         * iterators.h: ditto
7500
7501         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7502
7503         * InsetList.[Ch]: new files, most InsetList handling moved out of
7504         paragraph.C.
7505
7506         * BufferView2.C (removeAutoInsets): InsetList changes
7507         (lockInset): ditto
7508         (ChangeInsets): ditto
7509
7510 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * paragraph_pimpl.h (empty): new function
7513
7514         * paragraph.[Ch] (empty): new function
7515
7516         * other files: use the new Paragraph::empty function
7517
7518 2002-08-09  John Levon  <levon@movementarian.org>
7519
7520         * lyxtext.h: remove unused refresh_height
7521
7522 2002-08-09  John Levon  <levon@movementarian.org>
7523
7524         * Makefile.am:
7525         * sgml.h:
7526         * sgml.C:
7527         * buffer.C:
7528         * paragraph.h:
7529         * paragraph.C: move sgml char escaping out of paragraph
7530
7531         * paragraph.h:
7532         * paragraph.C: remove id setter
7533
7534         * buffer.C:
7535         * paragraph.C:
7536         * paragraph_pimpl.C: remove dead tex_code_break_column
7537
7538         * bufferview_funcs.C: small cleanup
7539
7540         * lyxfunc.C: remove dead proto
7541
7542         * lyxtext.h: make some stuff private. Remove some dead stuff.
7543
7544         * lyxgluelength.C: make as[LyX]String() readable
7545
7546 2002-08-08  John Levon  <levon@movementarian.org>
7547
7548         * LyXAction.h:
7549         * LyXAction.C:
7550         * MenuBackend.C:
7551         * ToolbarDefaults.C:
7552         * lyxfunc.C:
7553         * lyxrc.C:
7554         * toc.C: lyxaction cleanup
7555
7556 2002-08-08  John Levon  <levon@movementarian.org>
7557
7558         * BufferView2.C: small cleanup
7559
7560         * lyxfind.h:
7561         * lyxfind.C: move unnecessary header into the .C
7562
7563 2002-08-08  John Levon  <levon@movementarian.org>
7564
7565         * funcrequest.h: just tedious nonsense
7566
7567         * lyx_main.h:
7568         * lyx_main.C: cleanups
7569
7570         * buffer.C:
7571         * vspace.C: remove dead header lyx_main.h
7572
7573 2002-08-07  Angus Leeming  <leeming@lyx.org>
7574
7575         * Paragraph.[Ch]:
7576         * paragraph_pimpl.h:
7577         Forward declare class Counters in paragraph.h by moving the ctrs member
7578         variable into Paragraph::Pimpl.
7579         (counters): new method, returning a reference to pimpl_->ctrs.
7580
7581         * text2.C: ensuing changes.
7582
7583 2002-08-07  John Levon  <levon@movementarian.org>
7584
7585         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7586
7587         * BufferView_pimpl.C: announce X selection on double/triple
7588           click
7589
7590         * lyx_main.C: use correct bool in batch dispatch
7591
7592         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7593
7594 2002-08-07  André Pönitz <poenitz@gmx.net>
7595
7596         * funcrequest.h: new class to wrap a kb_action and its argument
7597
7598         * BufferView.[Ch]:
7599         * BufferView_pimpl[Ch]:
7600         * LaTeX.C:
7601         * LyXAction.[Ch]:
7602         * lyxfunc.[Ch]:
7603         * lyxrc.C: subsequent changes
7604
7605
7606 2002-08-07  John Levon  <levon@movementarian.org>
7607
7608         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7609           document options change.
7610
7611 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7612
7613         * counters.[Ch]
7614         * text2.C
7615         * paragraph.[Ch]
7616         * makefile.am: move counters functionality over from
7617         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7618
7619 2002-08-06  John Levon  <levon@movementarian.org>
7620
7621         * WordLangTuple.h: new file for word + language code tuple
7622
7623         * SpellBase.h:
7624         * pspell.h:
7625         * pspell.C:
7626         * ispell.h:
7627         * ispell.C:
7628         * lyxtext.h:
7629         * text.C:
7630         * text2.C:
7631         * BufferView.h:
7632         * BufferView2.C: use WordLangTuple
7633
7634         * layout.h:
7635         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7636
7637 2002-08-06  John Levon  <levon@movementarian.org>
7638
7639         * lyx_main.C: fix cmdline batch handling
7640
7641 2002-08-06  André Pönitz <poenitz@gmx.net>
7642
7643         * lyxrc.C: set default for show_banner to true
7644
7645 2002-08-06  John Levon  <levon@movementarian.org>
7646
7647         * pspell.C: fix a crash, and allow new aspell to work
7648
7649 2002-08-06  John Levon  <levon@movementarian.org>
7650
7651         * lyxfunc.C:
7652         * kbmap.C: small cleanup
7653
7654         * vspace.h:
7655         * vspace.C: add const
7656
7657 2002-08-05  John Levon  <levon@movementarian.org>
7658
7659         * LyXAction.C: back to tabular-insert
7660
7661 2002-08-04  John Levon  <levon@movementarian.org>
7662
7663         * BufferView.h:
7664         * BufferView.C: cosmetic change
7665
7666         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7667
7668         * bufferlist.C:
7669         * buffer.h:
7670         * buffer.C:
7671         * lyxcb.h:
7672         * lyxcb.C:
7673         * lyxserver.C:
7674         * lyxvc.C:
7675         * vc-backend.C:
7676         * BufferView2.C: purge all "Lyx" not "LyX" strings
7677
7678         * lyxcursor.h:
7679         * lyxcursor.C: attempt to add some documentation
7680
7681         * lyxfunc.C:
7682         * commandtags.h:
7683         * LyXAction.C:
7684         * ToolbarDefaults.C:
7685         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7686           merge with LFUN_TABULAR_INSERT
7687
7688         * Makefile.am:
7689         * SpellBase.h:
7690         * ispell.h:
7691         * ispell.C:
7692         * pspell.h:
7693         * pspell.C: split up i/pspell implementations into separate
7694           files, many cleanups
7695
7696         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7697
7698         * text2.C: some cleanup
7699
7700         * lyxfunc.C: don't check for isp_command == "none" any more, it
7701           didn't make any sense
7702
7703 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7704
7705         * counters.[Ch]
7706         * text2.C
7707         * paragraph.[Ch]
7708         * makefile.am: move counters functionality over
7709         from text2.C/paragraph.[Ch] to counters.[Ch], and
7710         make proper C++.
7711 2002-08-02  John Levon  <levon@movementarian.org>
7712
7713         * buffer.C: s/lyxconvert/lyx2lyx/
7714
7715 2002-08-02  Angus Leeming  <leeming@lyx.org>
7716
7717         * lyxlex.C: revert John's change as it breaks reading of the user
7718         preamble.
7719
7720 2002-08-02  Angus Leeming  <leeming@lyx.org>
7721
7722         * importer.C (Import):
7723         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7724         changes due to LyXView::view() now returning a boost::shared_ptr.
7725
7726 2002-08-02  John Levon  <levon@movementarian.org>
7727
7728         * lyxlex.C: small cleanup
7729
7730 2002-08-02  John Levon  <levon@movementarian.org>
7731
7732         * text2.C (status): small cleanup, no logic change
7733
7734 2002-08-01  John Levon  <levon@movementarian.org>
7735
7736         * buffer.h:
7737         * buffer.C (writeFile): don't output alerts, caller
7738           handles this
7739
7740         * bufferlist.C:
7741         * lyx_cb.C: from above
7742
7743         * lyxfunc.C: allow to open non-existent files
7744
7745 2002-07-31  John Levon  <levon@movementarian.org>
7746
7747         * lyxserver.C: don't let incidental errors get
7748           in the way (errno)
7749
7750 2002-07-30  John Levon  <levon@movementarian.org>
7751
7752         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7753
7754 2002-07-30  John Levon  <levon@movementarian.org>
7755
7756         * lyxserver.h:
7757         * lyxserver.C: remove I/O callback too
7758
7759 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7762         log.
7763
7764 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * many files: strip,frontStrip -> trim,ltrim,rtrim
7767
7768 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * PrinterParams.h: remove extern containsOnly, and include
7771         support/lstrings.h instead.
7772
7773         * LaTeX.C (scanAuxFile): modify because of strip changes
7774         (deplog): ditto
7775         * buffer.C (makeLaTeXFile): ditto
7776         * bufferparams.C (writeFile): ditt
7777         * lyxfont.C (stateText): ditto
7778         * lyxserver.C (read_ready): ditto
7779         * vc-backend.C (scanMaster): ditto
7780
7781         * BufferView_pimpl.h: ws changes
7782
7783         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7784
7785 2002-07-26  André Pönitz <poenitz@gmx.net>
7786
7787         * kb_sequence.C: remove unnedred usings
7788
7789 2002-07-26  Juergen Vigna  <jug@sad.it>
7790
7791         * lyxfind.C (LyXReplace): we have to check better if the returned
7792         text is not of theLockingInset()->getLockingInset().
7793
7794 2002-07-25  Juergen Vigna  <jug@sad.it>
7795
7796         * lyxfind.C (LyXReplace): don't replace if we don't get the
7797         right LyXText.
7798
7799         * undo_funcs.C (createUndo): remove debugging code.
7800
7801 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7802
7803         * buffer.C (parseSingleLyXformat2Token): Use default placement
7804         when reading old floats.
7805
7806         * FloatList.C (FloatList): Change the default placement of figure
7807         and tables to "tbp".
7808
7809 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * MenuBackend.C: using std::max
7812
7813 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * MenuBackend.C (expandToc):
7816         (expandToc2): code moved from xforms menu frontend. It is now
7817         generic and TOCs are transparent to menu frontends.
7818
7819 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7820
7821         * toc.C (getTocList): protect against buf=0
7822
7823         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7824         Menu as first parameter. Now, this calls itself recursively to
7825         expand a whole tree (this will be useful for TOC handling)
7826         (expandFloatInsert): remove 'wide' version of floats
7827
7828         * MenuBackend.h (submenuname): returns the name of the submenu.
7829         (submenu): returns the submenu itself, provided it has been
7830         created by MenuBackend::expand
7831
7832 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7833
7834         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7835         insets which have noFontChange == true. (bug #172)
7836
7837 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7838
7839         * BufferView_pimpl.C: add connection objects and use them...
7840         (Pimpl): here.
7841
7842 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * MenuBackend.C (expandLastfiles):
7845         (expandDocuments):
7846         (expandFormats):
7847         (expandFloatListInsert):
7848         (expandFloatInsert):
7849         (expand): split expand in parts
7850
7851 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * lyx_gui.C: use lyx_gui::exit()
7854
7855 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * LyXAction.C: show the failing pseudo action
7858
7859 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7860
7861         * buffer.C (readFile): Run the lyxconvert script in order to read
7862         old files.
7863
7864 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * LyXAction.C:
7867         * commandtags.h:
7868         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7869
7870 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7871
7872         * LyXAction.C:
7873         * commandtags.h:
7874         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7875
7876 2002-07-22  Herbert Voss  <voss@lyx.org>
7877
7878         * lengthcommon.C:
7879         * lyxlength.[Ch]: add support for the vertical lengths
7880
7881 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * toc.[Ch]: std:: fixes
7884
7885 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7886
7887         * lyxrc.C: do not include lyx_main.h
7888
7889         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7890         for layouts
7891
7892         * lyxrc.C:
7893         * encoding.C:
7894         * bufferlist.C:
7895         * BufferView2.C: include "lyxlex.h"
7896
7897         * tabular.h:
7898         * bufferparams.h: do not #include "lyxlex.h"
7899
7900         * lyxtextclasslist.C (Add): remove method
7901         (classlist): renamed to classlist_
7902
7903         * paragraph_pimpl.C:
7904         * paragraph.C:
7905         * text2.C:
7906         * CutAndPaste.C:
7907         * bufferview_funcs.C:
7908         * bufferlist.C:
7909         * text.C:
7910         * LaTeXFeatures.C:
7911         * buffer.C:
7912         * toc.C (getTocList): use BufferParams::getLyXTextClass
7913
7914         * toc.C (getTocList): use InsetFloat::addToToc
7915
7916         * toc.[Ch]: new files, containing helper functions to handle table
7917         of contents
7918
7919         * lyxfunc.C (dispatch): no need to remove spaces around command
7920         given as a string
7921         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7922         first command of the sequence; it is not very clever, but I do not
7923         have a better idea, actually
7924
7925         * LyXAction.C (LookupFunc): make sure to remove space at the
7926         beginning and end of the command
7927
7928 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7929
7930         * MenuBackend.C (getMenubar): new method: return the menubar of
7931         this menu set
7932         (read): treat differently reading of menu and menubar (in
7933         particular, the menubar has no name now)
7934         (Menu::menubar): remove
7935
7936         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7937         saving is finished
7938
7939 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7940
7941         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7942         a bibitem inset in a RTL paragraph.
7943
7944 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * paragraph_pimpl.C: constify
7947
7948         * BufferView_pimpl.C:
7949         * LaTeX.C:
7950         * lyxfunc.C: fix dispatch in a nicer way
7951
7952 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * lyxfunc.C (dispatch):
7955         * BufferView_pimpl.C:
7956         * BufferView_pimpl.h:
7957         * BufferView.C:
7958         * BufferView.h: rename Dispatch() to dispatch()
7959
7960         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7961
7962         * lyxlayout.C (Read): honor DependsOn tag
7963
7964         * lyxlayout.[Ch] (depends_on): new method
7965
7966         * version.C.in: update lyx_docversion
7967
7968         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7969
7970         * paragraph.C (validate): remove from here...
7971         * paragraph_pimpl.C (validate): ... and move here
7972         (isTextAt): make it const
7973
7974         * buffer.C (getLists): ws cleanup
7975
7976 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7977
7978         * language.C (read): Use iso8859-1 encoding in latex_lang
7979         (this prevents LyX from crashing when using iso10646-1 encoding).
7980
7981 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * text2.C (toggleInset): if cursor is inside an inset, close the
7984         inset and leave cursor _after_ it
7985
7986 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * lyxfunc.C: move minibuffer completion handling out of here
7989
7990 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7991
7992         * BufferView_pimpl.C:
7993         * LaTeX.C: fix dispatch calls
7994
7995 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7996
7997         * text.C (drawChars): Fix Arabic text rendering.
7998
7999 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * LyXAction.C:
8002         * commandtags.h:
8003         * lyxfunc.C: remove message-push/pop
8004
8005         * lyxserver.C:
8006         * lyxfunc.h:
8007         * lyxfunc.C: rationalise some code by removing verboseDispatch
8008           in favour of a bool argument to dispatch()
8009
8010 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * lyx_main.C (init): make sure to read symlinks as absolute paths
8013
8014 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * lyxfunc.h:
8017         * lyxfunc.C: no need for commandshortcut to be a member
8018
8019 2002-07-15  André Pönitz <poenitz@gmx.net>
8020
8021         * converter.C: add support for $$s (scripts from lib/scripts dir)
8022         * lyx_main.C: white space
8023
8024 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * bufferlist.C:
8027         * lyxrc.h:
8028         * lyxrc.C: remove second exit confirmation
8029
8030 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8031
8032         * BufferView.h:
8033         * BufferView.C:
8034         * BufferView2.C:
8035         * BufferView_pimpl.h:
8036         * BufferView_pimpl.C:
8037         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8038
8039 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8040
8041         * MenuBackend.C (expand): add numeric shortcuts to document menu
8042
8043         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8044
8045 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8046
8047         * lyxfont.C (setLyXFamily):
8048         (setLyXSeries):
8049         (setLyXShape):
8050         (setLyXSize):
8051         (setLyXMisc):
8052         (lyxRead):
8053         * debug.C (value):
8054         * buffer.C (asciiParagraph): use ascii_lowercase
8055
8056 2002-07-15  Mike Fabian  <mfabian@suse.de>
8057
8058         * lyxlex_pimpl.C (search_kw):
8059         * lyxlex.C (getLongString):
8060         * converter.h (operator<):
8061         * converter.C (operator<):
8062         * buffer.C (parseSingleLyXformat2Token):
8063         (asciiParagraph):
8064         * ToolbarDefaults.C (read):
8065         * MenuBackend.C (checkShortcuts):
8066         (read):
8067         * LColor.C (getFromGUIName):
8068         (getFromLyXName): use the compare_ascii_no_case instead of
8069         compare_no_case, because in turkish, 'i' is not the lowercase
8070         version of 'I', and thus turkish locale breaks parsing of tags.
8071
8072 2002-07-16  Angus Leeming  <leeming@lyx.org>
8073
8074         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8075         now takes a Buffer const & argument.
8076
8077 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * BufferView.C (resize): check there's a buffer to resize
8080
8081 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8082
8083         * lyxfunc.C: remove dead code
8084
8085         * lyxserver.h:
8086         * lyxserver.C: use lyx_guii::set_read_callback
8087
8088 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8089
8090         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8091         an inset in a RTL paragraph.
8092
8093 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * lyxfunc.C: repaint after a font size update
8096
8097 2002-07-15  André Pönitz <poenitz@gmx.net>
8098
8099         * lyxlength.C: inBP should be able to return negative values
8100
8101 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * lyxfunc.C: use lyx_gui::update_fonts()
8104
8105 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * lyxfunc.C: use lyx_gui::update_color()
8108
8109 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * bufferlist.C:
8112         * lyxfunc.h:
8113         * lyxfunc.C:
8114         * lyxrc.h:
8115         * lyxrc.C: remove file->new asks for name option, and let
8116           buffer-new take an argument
8117
8118 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8119
8120         * BufferView_pimpl.C: remove unneeded extra repaint()
8121
8122 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8123
8124         * LyXAction.C: allow command-sequence with NoBuffer
8125
8126         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8127
8128 2002-07-10  Angus Leeming  <leeming@lyx.org>
8129
8130         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8131
8132 2002-07-09  Angus Leeming  <leeming@lyx.org>
8133
8134         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8135
8136 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * lengthcommon.h: whitespace
8139
8140         * lyxfunc.C: update scrollbar after goto paragraph
8141
8142         * lyxtext.h: factor out page break drawing, and fix it so
8143           page break/added space paints as selected nicely
8144
8145 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * BufferView_pimpl.C: add FIXMEs, clean up a little
8148
8149 2002-07-09  André Pönitz <poenitz@gmx.net>
8150
8151         * lyxfont.[Ch]: support for wasy symbols
8152
8153 2002-07-08  André Pönitz <poenitz@gmx.net>
8154
8155         * BufferView_pimpl.C: apply John's patch for #93.
8156
8157 2002-07-05  Angus Leeming  <leeming@lyx.org>
8158
8159         * BufferView_pimpl.C (buffer): generate previews if desired.
8160
8161         * LColor.h: add "preview" to the color enum.
8162
8163         * LColor.C (LColor): add a corresponding entry to the items array.
8164
8165         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8166         with this buffer.
8167
8168 2002-07-05  Angus Leeming  <leeming@lyx.org>
8169
8170         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8171         The body of the code is now in the method that is passed an ostream &
8172         rather than a file name.
8173         Pass an additional only_preamble parameter, useful for the forthcoming
8174         preview stuff.
8175
8176 2002-07-03  André Pönitz <poenitz@gmx.net>
8177
8178         * lyxfunc.C: simplify getStatus() a bit for math stuff
8179
8180 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8181
8182         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8183
8184 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8185
8186         * text.C (changeRegionCase): do not change case of all the
8187         document when region ends at paragraph end (bug #461)
8188
8189 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * paragraph.C (startTeXParParams):
8192         (endTeXParParams): add \protect when necessary
8193
8194 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * BufferView_pimpl.C (workAreaExpose): remove warning
8197
8198 2002-06-27  Angus Leeming  <leeming@lyx.org>
8199
8200         * Makefile.am: add lyxlayout_ptr_fwd.h.
8201
8202 2002-06-26  André Pönitz <poenitz@gmx.net>
8203
8204         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8205
8206 2002-06-25  Angus Leeming  <leeming@lyx.org>
8207
8208         * lyxfunc.C (dispatch): Comment out the call to
8209         grfx::GCache::changeDisplay. The method no longer exists now that the
8210         pixmap generation part of the graphics loader has been moved into
8211         InsetGraphics.
8212
8213 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8214
8215         * text2.C: layout as layout
8216
8217         * text.C: layout as layout
8218
8219         * tabular.C (OldFormatRead): layout as layout
8220
8221         * paragraph_pimpl.C (TeXDeeper): layout as layout
8222         (realizeFont): layout as layout
8223
8224         * paragraph.C (writeFile): layout as layout
8225         (validate): layout as layout
8226         (getFont): layout as layout
8227         (getLabelFont): layout as layout
8228         (getLayoutFont): layout as layout
8229         (breakParagraph): layout as layout
8230         (stripLeadingSpaces): layout as layout
8231         (getEndLabel): layout as layout
8232         (getMaxDepthAfter): layout as layout
8233         (applyLayout): layout as layout
8234         (TeXOnePar): layout as layout
8235         (simpleTeXOnePar): layout as layout
8236         (TeXEnvironment): layout as layout
8237         (layout): layout as layout
8238         (layout): layout as layout
8239
8240         * lyxtextclass.C (compare_name): new functor to work with
8241         shared_ptr, layout as layout
8242         (Read): layout as layout
8243         (hasLayout): layout as layout
8244         (operator): layout as layout
8245         (delete_layout): layout as layout
8246         (defaultLayout): layout as layout
8247
8248         * lyxlayout_ptr_fwd.h: new file
8249
8250         * lyxlayout.C (Read): layout as layout
8251
8252         * lyx_cb.C (MenuInsertLabel): layout as layout
8253
8254         * bufferlist.C (newFile): layout as layout
8255
8256         * buffer.C (readLyXformat2): layout as layout
8257         (parseSingleLyXformat2Token): layout as layout
8258         (insertStringAsLines): layout as layout
8259         (asciiParagraph): layout as layout
8260         (latexParagraphs): layout as layout
8261         (makeLinuxDocFile): layout as layout
8262         (simpleLinuxDocOnePar): layout as layout
8263         (makeDocBookFile): layout as layout
8264         (simpleDocBookOnePar): layout as layout
8265         (getLists): layout as layout
8266
8267         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8268
8269         * CutAndPaste.C (cutSelection): layout as layout
8270         (pasteSelection): layout as layout
8271         (SwitchLayoutsBetweenClasses): layout as layout
8272
8273         * BufferView_pimpl.C (Dispatch): layout as layout
8274         (smartQuote): layout as layout
8275
8276         * BufferView2.C (unlockInset): layout as layout
8277
8278 2002-06-24  André Pönitz <poenitz@gmx.net>
8279
8280         * lyxfunc.C: fix #487
8281
8282 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * lyxrc.h:
8285         * lyxrc.C:
8286         * lyxfunc.C: remove display_shortcuts, show_banner
8287
8288 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8289
8290         * Buffer_pimpl.C: oops, update on resize
8291
8292 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * buffer.C:
8295         * converter.C:
8296         * exporter.C:
8297         * lyxfunc.C:
8298         * BufferView.h:
8299         * BufferView.C: use repaint()
8300
8301         * BufferView_pimpl.h:
8302         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8303           as it's a clearer description. Remove superfluous
8304           redraws.
8305
8306 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * text.C: fix bug 488. Not ideal, but getting
8309           getWord() to work properly for the insets that
8310           matter is more difficult ...
8311
8312 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * BufferView_pimpl.C:
8315         * LyXAction.C:
8316         * commandtags.h:
8317         * lyxfunc.C: remove the six million index lyxfuncs to just
8318           one, and DTRT (bug 458)
8319
8320 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * BufferView.h:
8323         * BufferView.C:
8324         * BufferView_pimpl.h:
8325         * BufferView_pimpl.C: clean up resize() stuff,
8326           and unnecessary updateScreen()s
8327
8328 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8329
8330         * BufferView.h:
8331         * BufferView.C:
8332         * BufferView_pimpl.h:
8333         * BufferView_pimpl.C:
8334         * lyxfind.h:
8335         * lyxfind.C:
8336         * minibuffer.C: remove focus management of workarea,
8337           not needed. Use screen's greyOut()
8338
8339 2002-06-17  Herbert Voss  <voss@lyx.org>
8340
8341         * converter.C: (convert) do not post a message, when converting
8342         fails, let the calling function decide what to do in this case
8343
8344 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * lyxfunc.C: tidy up a little
8347
8348 2002-06-16    <alstrup@diku.dk>
8349
8350         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8351         Got rid of FORMS_H_LOCATION include. Now we are
8352         GUII.
8353
8354 2002-06-15  LyX Development team  <lyx@rilke>
8355
8356         * buffer.[Ch] (sgmlOpenTag):
8357         (sgmlCloseTag): Added support for avoiding pernicious mixed
8358         content. Return number of lines written.
8359
8360         (makeLinuxDocFile):
8361         (makeDocBookFile): Fixed calls to sgml*Tag.
8362         Simple white space clean.
8363
8364         (simpleDocBookOnePar): Simple white space clean.
8365
8366         * tabular.[Ch] (docBook): Renamed to docbook and got another
8367         argument to related with the pernicious mixed content.
8368
8369         (docbookRow): Fixed calls for docbook inset method.
8370
8371 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8372
8373         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8374         so it's X11 independent.
8375
8376         * kb*.[Ch]: ditto.
8377
8378         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8379
8380 2002-06-15  Lyx Development team  <lyx@electronia>
8381
8382         * intl.h: Renamed getTrans to getTransManager.
8383
8384 2002-06-14  Angus Leeming  <leeming@lyx.org>
8385
8386         * Makefile.am: nuke forgotten stl_string_fwd.h.
8387
8388 2002-06-12  Angus Leeming  <leeming@lyx.org>
8389
8390         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8391
8392 2002-06-13  Angus Leeming  <leeming@lyx.org>
8393
8394         * LaTeX.C:
8395         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8396
8397 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8398
8399         * kbmap.C (getiso): add support for cyrillic and greek
8400
8401 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * BufferView.h:
8404         * BufferView.C:
8405         * BufferView_pimpl.h:
8406         * BufferView_pimpl.C: move bogus scrolling logic
8407           to xforms
8408
8409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * lyxfunc.C:
8412         * BufferView_pimpl.C: view->resize() change
8413
8414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * BufferView_pimpl.C: topCursorVisible
8417           prototype change
8418
8419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * Makefile.am:
8422         * lyx_gui.h:
8423         * lyx_gui.C: move to frontends/
8424
8425         * main.C:
8426         * lyx_main.h:
8427         * lyx_main.C: changes from above
8428
8429 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * intl.C:
8432         * intl.h:
8433         * kbmap.C:
8434         * kbsequence.C:
8435         * lyx_cb.C:
8436         * lyx_main.C: minor tidy
8437
8438 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * BufferView_pimpl.h:
8441         * BufferView_pimpl.C:
8442         * BufferView.h:
8443         * BufferView.C: make painter() const,
8444           remove dead code
8445
8446         * BufferView2.C: use screen() accessor
8447
8448         * lyx_main.h:
8449         * lyx_main.C: some minor cleanup
8450
8451 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * BufferView_pimpl.h:
8454         * BufferView_pimpl.C: remove enter/leaveView,
8455           use workHeight()
8456
8457 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * BufferView.h:
8460         * BufferView.C:
8461         * BufferView2.C:
8462         * BufferView_pimpl.h:
8463         * BufferView_pimpl.C: only construct screen once,
8464           rename
8465
8466         * lyxrc.C: remove pointless comment
8467
8468 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView.h:
8471         * BufferView.C: remove active() and belowMouse()
8472
8473         * BufferView_pimpl.h:
8474         * BufferView_pimpl.C: use workarea() not workarea_,
8475           and make it use a scoped_ptr instead
8476
8477 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * lyx_gui.C: add debug message on BadWindow
8480
8481 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8482
8483         * sp_spell.C: fdopen is not part of the C++ standard.
8484
8485         * paragraph.C (InsetIterator): use >= instead of ==
8486
8487 2002-06-07  Angus Leeming  <leeming@lyx.org>
8488
8489         Fixes needed to compile with Compaq cxx 6.5.
8490         * BufferView_pimpl.C:
8491         * DepTable.C:
8492         * buffer.C:
8493         * converter.C:
8494         * encoding.C:
8495         * lyx_gui.C:
8496         * lyx_main.C:
8497         * lyxtextclasslist.C:
8498         * minibuffer.C:
8499         * sp_spell.C:
8500         * tabular_funcs.C:
8501         * vc-backend.C:
8502         all c-library variables have been moved into namespace std. Wrap
8503         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8504
8505         * lyxlength.C:
8506         * tabular-old.C:
8507         * tabular.C:
8508         Add a using std::abs declaration.
8509
8510         * kbmap.h (modifier_pair):
8511         * paragraph.h (InsetTable, InsetList):
8512         * lyxfont.h (FontBits):
8513         type definition made public.
8514
8515         * bufferlist.C (emergencyWriteAll): the compiler complains that
8516         there is more than one possible lyx::class_fun template to choose from.
8517         I re-named the void specialisation as lyx::void_class_fun.
8518
8519         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8520
8521         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8522         the compiler is is unable to find tostr in write_attribute.
8523
8524 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8525
8526         * buffer.C (sgmlError): hide #warning
8527
8528 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8529
8530         * xtl/*: get rid of xtl, which is not in use anyway
8531
8532         * LyXAction.C (init):
8533         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8534         were unimplemented xtl experimentation
8535
8536 2002-06-04  André Pönitz <poenitz@gmx.net>
8537
8538         * lyxfunc.C: disable array operation on simple formulae
8539
8540 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * converter.C: constify a bit
8543
8544 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8545
8546         * lyx_gui.C: check xforms version correctly
8547
8548 2002-04-30  Herbert Voss  <voss@lyx.org>
8549
8550         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8551         "keep" option
8552
8553 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8556           attempt to register it with a VCS)
8557
8558 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * lyx_main.C (init): honor variables LYX_DIR_13x and
8561         LYX_USERDIR_13x
8562
8563 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * buffer.h:
8566         * buffer.C:
8567         * lyx_main.C: fix a crash on bad command line,
8568           and give a useful exit status on error
8569
8570         * lyxfunc.C (doImport): allow -i lyx to work
8571
8572 2002-03-30  André Pönitz <poenitz@gmx.net>
8573
8574         * lyxfunc.C: mathed font changes
8575
8576 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * LaTeX.C:
8579         * importer.h:
8580         * importer.C:
8581         * lyx_sty.h:
8582         * lyx_sty.C:
8583         * lyxlex.C:
8584         * lyxrow.h:
8585         * lyxtext.h:
8586         * paragraph.h:
8587         * paragraph.C:
8588         * texrow.h:
8589         * texrow.C:
8590         * text.C:
8591         * trans_mgr.h: srcdocs, and some minor cleanups
8592
8593 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8596         call getFont all the time)
8597
8598 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8599
8600         * switch from SigC signals to boost::signals
8601
8602 2002-05-29  André Pönitz <poenitz@gmx.net>
8603
8604         * paragraph_pimpl.C (getChar): don't call size() too often...
8605
8606 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8607
8608         * paragraph_pimpl.C (insertChar): do not try to update tables when
8609         appending (pos == size())
8610
8611         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8612         in order to reduce drastically the number of comparisons needed to
8613         parse a large document
8614
8615 2002-05-29  André Pönitz <poenitz@gmx.net>
8616
8617         * text.C:
8618         * text2.C:
8619         * lyxtextclass.C:
8620         * sp_pspell.h:
8621         * textclasslist.[Ch]:
8622         * sp_ispell.h: whitespace change
8623
8624 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8625
8626         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8627         lyxaction directly now.
8628
8629 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * trans.C:
8632         * lyxfont.C:
8633         * lyxvc.C: remove unused headers
8634
8635 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8636
8637         * Makefile.am:
8638         * buffer.h:
8639         * undostack.h:
8640         * undostack.C:
8641         * undo_funcs.h:
8642         * undo_funcs.C: some cleanups. Use shared_ptr
8643           and a template for the undo stacks.
8644
8645 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * BufferView_pimpl.h:
8648         * BufferView_pimpl.C:
8649         * kbmap.h:
8650         * kbmap.C:
8651         * kbsequence.h:
8652         * kbsequence.C:
8653         * lyxfunc.h:
8654         * lyxfunc.C:
8655         * text2.C: use key_state/mouse_state
8656
8657 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8658
8659         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8660         and LSubstring
8661
8662         * chset.C: change include order
8663         (loadFile): use boost regex and get rid of LRegex and LSubstring
8664
8665         * Makefile.am (BOOST_LIBS): new variable
8666         (lyx_LDADD): use it
8667
8668         * LaTeX.C: change include order.
8669         (scanAuxFile): use boost regex and get rid of LRegex and
8670         LSubstring
8671         (deplog): ditto
8672
8673 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8674
8675         * ColorHandler.h:
8676         * ColorHandler.C:
8677         * FontInfo.h:
8678         * FontInfo.C: moved to frontends/xforms/
8679
8680         * FontLoader.h:
8681         * FontLoader.C: moved into frontends for GUIIzation
8682
8683         * Makefile.am:
8684         * lyx_gui.C:
8685         * lyxfont.C:
8686         * lyxfunc.C: changes from above
8687
8688 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * LColor.C: remove spurious X include
8691
8692         * BufferView_pimpl.C:
8693         * Makefile.am:
8694         * font.h:
8695         * font.C:
8696         * text.C:
8697         * text2.C: move font metrics to frontends/
8698
8699 2002-05-24  Juergen Vigna  <jug@sad.it>
8700
8701         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8702         setting the undo_cursor.
8703
8704         * ParagraphParameters.h: include local includes first.
8705
8706 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * BufferView_pimpl.C:
8709         * BufferView_pimpl.h:
8710         * Makefile.am:
8711         * WorkArea.h:
8712         * WorkArea.C:
8713         * screen.C: move WorkArea into frontends/
8714
8715         * lyxscreen.h:
8716         * screen.C:
8717         * text.C:
8718         * BufferView.C:
8719         * BufferView2.C: move LyXScreen into frontends/
8720
8721         * lyxlookup.h:
8722         * lyxlookup.C:
8723         * lyx_gui.C: move lyxlookup into frontends/xforms/
8724
8725 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * BufferView2.C:
8728         * BufferView_pimpl.C:
8729         * FontLoader.C:
8730         * LyXView.h:
8731         * LyXView.C:
8732         * Makefile.am:
8733         * WorkArea.C:
8734         * XFormsView.h:
8735         * XFormsView.C:
8736         * buffer.C:
8737         * bufferlist.C:
8738         * bufferview_funcs.C:
8739         * converter.C:
8740         * importer.C:
8741         * lyx_cb.C:
8742         * lyx_gui.C:
8743         * lyx_main.C:
8744         * lyx_find.C:
8745         * lyxfunc.C:
8746         * lyxvc.C:
8747         * minibuffer.C:
8748         * text.C:
8749         * text2.C:
8750         * trans.C:
8751         * vc-backend.C: move LyX/XFormsView into frontends/
8752
8753 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * Makefile.am:
8756         * PainterBase.C:
8757         * PainterBase.h:
8758         * Painter.C:
8759         * Painter.h:
8760         * WorkArea.C:
8761         * WorkArea.h:
8762         * screen.C:
8763         * tabular.C:
8764         * text.C:
8765         * text2.C: move Painter to frontends/
8766
8767 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8768
8769         * buffer.C: comment out some some code that depend upon lyx_format
8770         < 220
8771
8772         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8773         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8774
8775         * buffer.h (NO_COMPABILITY): turn off compability
8776
8777         * ColorHandler.C: include scoped_array.hpp
8778
8779         * font.C: Use more specific smart_ptr header.
8780         * Painter.C: ditto
8781         * gettext.C: ditto
8782         * ShareContainer.h: ditto
8783         * lyx_main.h: ditto
8784         * kbmap.h: ditto
8785         * FontInfo.h: ditto
8786         * BufferView_pimpl.h: ditto
8787         * ColorHandler.h: ditto
8788
8789         * kbmap.C (defkey): change call to shared_ptr::reset
8790
8791 2002-05-21  Juergen Vigna  <jug@sad.it>
8792
8793         * buffer.C (insertErtContents): fix to insert ert asis if it is
8794         non empty. Skip it completely if it contains only whitespaces.
8795
8796 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * BufferView_pimpl.C:
8799         * BufferView2.C: clear selection on paste (bug 393)
8800
8801 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8802
8803         * DepTable.C: include ctime
8804
8805 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8806
8807         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8808
8809 2002-05-14  Juergen Vigna  <jug@sad.it>
8810
8811         * text.C (breakParagraph): fixed function to honor the keepempty
8812         layout in the right maner and also to permit the right breaking
8813         algorithm on empty or non empyt keepempty paragraphs.
8814
8815         * paragraph.C (breakParagraph): we have to check also if the par
8816         is really empty (!size()) for isempty otherwise we do the wrong
8817         paragraph break.
8818
8819 2002-05-10  Juergen Vigna  <jug@sad.it>
8820
8821         * buffer.[Ch] : The following are only changes to the ert
8822         compatibility read reading old LaTeX layout and font stuff and
8823         convert it to ERTInsets.
8824
8825         * buffer.h: added isErtInset().
8826
8827         * buffer.C (struct ErtComp): add a fromlayout bool to check
8828         if we're inside a LaTeX layout.
8829         (isErtInset): new helper function.
8830         (insertErtContents): look for other ert insets before this one
8831         and insert the contents there, so that we don't have subsequent
8832         ERT insets with nothing between them. This way we create only one
8833         inset with multiple paragraphs. Also check if we don't insert only
8834         spaces ' ' as they are ignored anyway afterwards in the .tex file
8835         so if we have only spaces we will ignore this latex part in the
8836         new file.
8837         (parseSingleLyXformat2Token \\layout): better compatibility when
8838         reading layout-latex stuff.
8839         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8840         language tag.
8841         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8842         stuff after reading the inset only get the information back from
8843         the stack.
8844
8845 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8846
8847         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8848
8849         * LaTeXFeatures.C (getBabelOptions): New method.
8850
8851 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8852
8853         * BufferView_pimpl.C (Dispatch): work around missing argument for
8854         'layout'
8855
8856 2002-05-08  Juergen Vigna  <jug@sad.it>
8857
8858         * text.C (leftMargin): handle paragraph leftindent.
8859
8860         * paragraph.C (writeFile): write the new \\leftindent tag.
8861         (validate): handle leftindent code.
8862         (TeXEnvironment): handle paragraphleftindent code again.
8863
8864         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8865
8866         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8867         for paragrap_extra indent code and new token \\leftindent.
8868         (latexParagraphs): handle the leftindent as environment.
8869
8870         * ParameterStruct.h: added leftindent support.
8871
8872         * ParagraphParameters.C (leftIndent): added support functions for
8873         the paragraph left indent.
8874
8875         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8876         more appropriate.
8877
8878 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8879
8880         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8881         inside insetERT.
8882
8883         * text.C (computeBidiTables): No bidi in insetERT.
8884
8885         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8886         in RTL documents.
8887
8888 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * version.C.in: pre 5
8891
8892 2002-05-02  José Matos  <jamatos@fep.up.pt>
8893         * buffer.C (makeDocBookFile): white space changes, add newline to
8894         command styles.
8895         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8896
8897         * tabular.C (docBook): fix typo.
8898
8899 2002-05-03  Juergen Vigna  <jug@sad.it>
8900
8901         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8902         change in LyXText as we can not be sure it was not freed.
8903         (drawOneRow): remove unused code.
8904
8905         * text.C (drawInset): redo the calculation of the need_break_row as
8906         it could have a row which was already freed.
8907         (draw): look at the return value of drawInset and return false if
8908         it also returned false.
8909         (paintRowText): look at the return value of draw and return false if
8910         it also returned false.
8911
8912         * lyxtext.h: added bool return type to drawInset() and draw() so that
8913         if we have a change in the row so that the rowbreak has to be redone
8914         we abort drawing as it will be called again.
8915
8916 2002-05-02  Juergen Vigna  <jug@sad.it>
8917
8918         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8919         a change in the maintext also if we're inside an inset.
8920         (Dispatch): set the cursor again after a break line and after the
8921         screen has been updated as it could be we're in a different row.
8922
8923         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8924         to set the cursor behind the pargraph with > size().
8925         (setCursor): check also for the same paragraph when checking where
8926         to put the cursor if we have a NFR inset.
8927
8928         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8929         parts of layout read further up as it still was in the wrong
8930         position.
8931
8932 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8933
8934         * screen.C (drawFromTo): change sine fullRebreak always return
8935         true.
8936
8937         * buffer.C (parseSingleLyXformat2Token): reindent some
8938
8939         * BufferView_pimpl.C (update): change since fullRebreak always
8940         return true.
8941         (Dispatch): git rid of the last hardcoded "Standard"s.
8942
8943 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * text2.[Ch] (fullRebreak): make it return void now that we always
8946         returned true.
8947
8948 2002-04-30  Juergen Vigna  <jug@sad.it>
8949
8950         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8951         ert compatibility check for "latex" layout.
8952
8953 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8954
8955         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8956         minipages: use col% instead of p%, and also use the current font.
8957         (makeLaTeXFile): Fix use babel condition.
8958         (parseSingleLyXformat2Token): Correct font when reading old floats.
8959
8960 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8961
8962         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8963         inserting list of floats.
8964
8965 2002-04-25  Herbert Voss  <voss@lyx.org>
8966
8967         * MenuBackend.C (expand): don't add the graphics extensions to the
8968         export menu
8969
8970 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8973         non-existing layout, do not complain if it was the default layout
8974         of the original class (bug #342)
8975
8976 2002-04-24  Juergen Vigna  <jug@sad.it>
8977
8978         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8979         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8980
8981 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8982
8983         * buffer.C (getBibkeyList): If using \bibliography, return the
8984         option field with the reference itself. Enables us to provide natbib
8985         support when using \bibliography.
8986
8987 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8988
8989         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8990
8991         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8992         natbib is provided by the LaTeX class.
8993
8994 2002-04-23  Juergen Vigna  <jug@sad.it>
8995
8996         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8997         Wakeup functions.
8998
8999         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9000
9001 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9004
9005         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9006         ensuremath around textordmasculine, textordfeminine and
9007         textdegree.
9008
9009 2002-04-19  Juergen Vigna  <jug@sad.it>
9010
9011         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9012         reinitializing the buffer otherwise row-dimensions may be wrong.
9013         (update): reset also the selection cursors if they do exits otherwise
9014         their x/y positions may be wrong.
9015
9016         * text2.C (cursorDown): don't enter the inset if we came from a row
9017         above and are one row over the inset.
9018
9019         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9020         really leaving an inset.
9021
9022 2002-04-18  Juergen Vigna  <jug@sad.it>
9023
9024         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9025         of the selected paragraph does not have the selected layout also if
9026         the last one had!
9027
9028         * text2.C (setLayout): fixed bug which did not change last selected
9029         paragraph.
9030
9031         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9032         changed the read and substituted \\end_float with \\end_inset!
9033
9034         * BufferView_pimpl.C (cursorPrevious):
9035         (cursorNext): fixed to make it work with rows heigher than the work
9036         area without moving the cursor only the draw of the row.
9037         (workAreaMotionNotify): fix jumping over high rows.
9038
9039 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9040
9041         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9042         Ressler.
9043
9044 2002-04-16  Juergen Vigna  <jug@sad.it>
9045
9046         * text2.C (setCursor): set also the irow().
9047         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9048         (cursorUp):
9049         (cursorDown): support for locking an inset if the x_fix value goes
9050         inside it. That way I can transverse insets too with cursor up/down.
9051
9052         * lyxrow.h: added irow helper function same as other (i) functions.
9053
9054         * BufferView_pimpl.C (cursorPrevious):
9055         (cursorNext): fixed for insets!
9056
9057 2002-04-15  Juergen Vigna  <jug@sad.it>
9058
9059         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9060         position otherwise it is wrong in some cases.
9061
9062         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9063         inside the inset before the call.
9064
9065 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9066
9067         * buffer.[Ch] (getBibkeyList): make it const.
9068
9069 2002-04-12  Juergen Vigna  <jug@sad.it>
9070
9071         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9072
9073         * text2.C (getCursorX): new helper function
9074         (setCursor): compute also ix_
9075         (setCursorFromCoordinates): set also ix.
9076
9077         * lyxcursor.h: added ix_ and helper functions.
9078
9079         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9080
9081         * buffer.C (insertStringAsLines): dont break paragraph if the this
9082         paragraph is inside an inset which does not permit it!
9083
9084         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9085         also with no chars on this paragraph.
9086         (paintRowText): only paint stuff if it's inside the workarea!
9087
9088         * paragraph.C (breakParagraph): honor keepempty flag and break the
9089         paragraph always below not above.
9090
9091         * BufferView2.C (unlockInset): update the paragraph layout on inset
9092         unlock as we changed paragraph in such a case.
9093
9094         * lyxfind.C (LyXFind): clear the former selection if not found!
9095
9096         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9097         again called in insertChar().
9098
9099         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9100         an inset which uses the whole row!
9101         (rightMargin): ditto.
9102         (insertChar): force a rebreak if we inserted an inset!
9103
9104 2002-03-28  Herbert Voss  <voss@lyx.org>
9105
9106         * lyxlength.[Ch]: add inBP() to get the right PS-point
9107         units (BigPoint). With inPixels we have rounding errors
9108
9109 2002-04-11  Juergen Vigna  <jug@sad.it>
9110
9111         * text2.C (setCursorFromCoordinates): set iy to the right value.
9112         (setCursor): add check if row->previous exists!
9113
9114         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9115         an old float_type as this was the case in the old code!
9116
9117         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9118
9119         * BufferView2.C (showLockedInsetCursor): use iy
9120         (fitLockedInsetCursor): ditto
9121
9122         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9123         locked insets as there we have the right value now.
9124
9125         * lyxcursor.C: added iy_ variable and iy functions to set to the
9126         baseline of cursor-y of the locked inset.
9127
9128         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9129         (setCursor): fixed for insets which need a full row.
9130
9131         * text.C (rowLastPrintable): don't ignore the last space when before
9132         an inset which needs a full row.
9133         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9134         as last character of a row when before a inset which needs a full row.
9135
9136 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9137
9138         * version.C.in: update date
9139
9140         * text2.C (fullRebreak): try to always return true and see what
9141         happens...
9142
9143 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9144
9145         * MenuBackend.C (expand): use Floating::listName
9146
9147         * FloatList.C (FloatList): add listName argument to the built-in
9148         floats
9149
9150         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9151         text associated with the float.
9152
9153 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9156
9157 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9158
9159         * ShareContainer.h: add a couple of missing typenames.
9160
9161 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9162
9163         * lyxrc.C (getDescription): use _() correctly rather than N_().
9164
9165 2002-03-28  Herbert Voss  <voss@lyx.org>
9166
9167         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9168         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9169
9170 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9171
9172         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9173         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9174
9175 2002-03-29  Juergen Vigna  <jug@sad.it>
9176
9177         * lyxfunc.C (dispatch): add a missing fitCursor call.
9178
9179         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9180         it was scrolled by a cursor move, so return the bool status.
9181
9182         * BufferView.C (fitCursor): return the bool flag also to the outside
9183         world as this is needed.
9184
9185         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9186
9187         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9188         call the edit() as it is not needed (and wrong) IMO.
9189         (workAreaButtonPress): set the screen_first variable before evt.
9190         unlock the inset as this may change screen_first and then we have
9191         a wrong y position for the click!
9192
9193 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * MenuBackend.C (expand): another translation that I missed
9196
9197 2002-03-28  Juergen Vigna  <jug@sad.it>
9198
9199         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9200
9201         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9202
9203 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9204
9205         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9206
9207         * MenuBackend.C (expand): fix export/view/update when there is no
9208         document open.
9209
9210 2002-03-27  Herbert Voss  <voss@lyx.org>
9211
9212         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9213         and text%
9214
9215 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9216
9217         * bufferview_funcs.C (currentState): only show paragraph number
9218         for is DEVEL_VERSION is set.
9219
9220         * lyxfunc.C (dispatch): put warning in INFO channel
9221
9222         * MenuBackend.C (expand): translate the name of floats
9223
9224         * FloatList.C (FloatList): mark the float names for translation
9225
9226         * converter.C (convert): use LibScriptSearch
9227
9228 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9229
9230         * MenuBackend.C (defaults): fix default menu (we might as well get
9231         rid of it...)
9232
9233 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9234
9235         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9236         directory.
9237
9238 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9239
9240         * lyxvc.C: reorder includes.
9241
9242 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9245           properly
9246
9247 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * CutAndPaste.C: change layouts earlier on paste
9250           to avoid crashing when calling getFont()
9251
9252 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9253
9254         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9255         irritating #error.
9256
9257 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9258
9259         * WorkArea.C: remove 'Pending' debug message.
9260
9261         * most files: ws cleanup
9262
9263         * buffer.[Ch]: ws changes
9264
9265         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9266
9267 2002-03-21  Juergen Vigna  <jug@sad.it>
9268
9269         * tabular.C (SetMultiColumn): collapse also the contents of the
9270         cells and set the last border right. Added a Buffer const * param.
9271
9272 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9273
9274         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9275         linking or not.
9276
9277 2002-03-19  Juergen Vigna  <jug@sad.it>
9278
9279         * text2.C (clearSelection): reset also xsel_cache.
9280
9281         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9282         where it needs to be called (John tells us to do so too :)
9283         (selectionLost): reset sel_cache.
9284
9285         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9286
9287 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * text2.C (setCursorIntern): put debuging code in INSETS channel
9290
9291 2002-03-19  André Pönitz <poenitz@gmx.net>
9292
9293         * lyxfunc.C: tiny whitespace change
9294
9295 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9296
9297         * ToolbarDefaults.C (init):
9298         * LyXAction.C (init):
9299         * commandtags.h:
9300         * BufferView_pimpl.C (Dispatch):
9301         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9302
9303 2002-03-19  Allan Rae  <rae@lyx.org>
9304
9305         * exporter.C (Export): removeAutoInsets before doing anything else.
9306         While I've just introduced a dependency on BufferView this really is
9307         the best place to clean the buffer otherwise you need to cleanup in
9308         a dozen places before calling export or cleanup in a dozen functions
9309         that export calls.
9310
9311         * converter.C (runLaTeX):
9312         (scanLog): Better handling of removeAutoInsets and screen updates.
9313
9314         * lyxfunc.C (dispatch): small whitespace changes
9315
9316 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9317
9318         * WorkArea.C (C_WorkAreaEvent): return a value.
9319         (event_cb): return 1 if we handled the event, 0 otherwise.
9320
9321         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9322
9323 2002-03-18  Juergen Vigna  <jug@sad.it>
9324
9325         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9326         (GetAdditionalWidth): ditto.
9327         (RightLine): ditto.
9328         (LeftLine): ditto.
9329
9330         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9331         inset if we're there actually (probably not used right now but this
9332         is the direction to go for unifying code).
9333         (paste): disable code to clear the selection.
9334
9335         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9336         inside an InsetText and move the check further up as it is in the
9337         wrong place.
9338
9339         * text2.C (pasteSelection): set a selection over the pasted text.
9340
9341 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9342
9343         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9344         and libgraphics to build on Cygwin.
9345
9346 2002-03-15  Juergen Vigna  <jug@sad.it>
9347
9348         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9349         inserting an Inset into the paragraph. I know this is not the best
9350         fix but we already use current_view in CutAndPaste so we will remove
9351         all of it's using at the same time.
9352
9353         * buffer.C (sgmlError): deactivated function till it is rewritten in
9354         the right mode, now it can create problems.
9355
9356         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9357         before accessing it.
9358
9359 2002-03-14  Juergen Vigna  <jug@sad.it>
9360
9361         * undo_funcs.C (textHandleUndo): do the right thing when updating
9362         the inset after the undo/redo.
9363
9364         * text2.C (setCursor): just some testcode for #44 not ready yet.
9365
9366         * undo_funcs.C (textHandleUndo): set the next() and previous()
9367         pointers of the paragraph to 0 before deleting otherwise we have
9368         problems with the Paragraph::[destructor].
9369
9370         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9371         on a paragraph insertion.
9372
9373 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9374
9375         * buffer.C (asciiParagraph): use += operator for char append to
9376         string.
9377
9378         * paragraph.C (getFontSettings): compare >= not just >
9379         (highestFontInRange): ditto
9380         (setFont): ditto
9381
9382 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * paragraph.C: change several algorithm to be more appripriate for
9385         the problem domain. This is lookip in FontList and in the InsetList.
9386
9387 2002-03-13  André Pönitz <poenitz@gmx.net>
9388
9389         * commandtags.h:
9390         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9391
9392 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * commandtags.h:
9395         * LyXAction.C:
9396         * lyxfunc.C:
9397         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9398
9399 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * Painter.C (display): anon helper function, adjust code for this
9402         change.
9403         (pixmap): remove function.
9404
9405         * Painter.h: remove private display variable.
9406
9407         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9408
9409 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9410
9411         * WorkArea.[Ch]: remove figinset_canvas cruft.
9412
9413 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * lyxtextclass.C (operator): add one item cache optimization.
9416
9417         * bufferlist.h: doxy changes
9418
9419         * bufferlist.C: ws changes
9420
9421         * DepTable.[Ch] (ext_exist): place const in the right spot.
9422
9423         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9424         call resizeInsets.
9425         (workAreaExpose): call resizeInsets when the with BufferView changes.
9426         (Dispatch): adjust for protectedBlank removal
9427         (specialChar): call updateInset if the insert went ok.
9428
9429         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9430         specialChar instead.
9431
9432         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9433
9434         * BufferView.h: doxy change
9435
9436         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9437
9438         * lyxtextclass.C (operator[]): remove non-const version
9439         (defaultLayout): remove non-const version
9440
9441 2002-03-12  Juergen Vigna  <jug@sad.it>
9442
9443         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9444         did resize the LyXText too.
9445
9446         * buffer.C (readLyXformat2): set layout information on newly allocated
9447         paragraphs.
9448
9449         * tabular.C (OldFormatRead): set layout information on the paragraph.
9450
9451 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9452
9453         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9454
9455 2002-03-11  Juergen Vigna  <jug@sad.it>
9456
9457         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9458         plainly wrong.
9459         (resizeCurrentBuffer): force also the insets to resize themselfes.
9460         (moveCursorUpdate): fixed up for InsetText.
9461
9462 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9463
9464         * commandtags.h:
9465         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9466         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9467         value of Dialogs::tooltipsEnabled().
9468         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9469
9470 2002-03-08  Juergen Vigna  <jug@sad.it>
9471
9472         * BufferView_pimpl.C (updateInset): update inset inside inset also
9473         if it isn't inside theLockingInset().
9474
9475 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9476
9477         * buffer.C (asciiParagraph): redo some of the word and line length
9478         handling.
9479         (getLists): look for Caption instead of caption.
9480
9481 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9482
9483         * buffer.C (Buffer): initialize niceFile to true
9484         (makeLaTeXFile):
9485         (makeLinuxDocFile):
9486         (makeDocBookFile): make sure niceFile is true on exit
9487
9488 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9491
9492 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9493
9494         * LyXSendto.C: remove.
9495         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9496         * lyx_gui.C: remove now-redundant comment.
9497         * ColorHandler.h: remove forward declaration of class WorkArea.
9498         * lyxfunc.C: remove #include "WorkArea.h".
9499
9500 2002-03-07  Juergen Vigna  <jug@sad.it>
9501
9502         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9503         got moved away with the DEPM and also set the inset_owner always
9504         right which before could have been omitted.
9505
9506 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9509         wanted layout is not found.
9510
9511 2002-03-07  Juergen Vigna  <jug@sad.it>
9512
9513         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9514
9515 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9516
9517         * paragraph.C (breakParagraph): use default layout not layout of
9518         prev paragraph.
9519         (Paragraph): clear ParagraphParameters.
9520
9521 2002-03-06  Juergen Vigna  <jug@sad.it>
9522
9523         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9524         otherwise it would not be a valid lenght. Fixed a special case in
9525         the minipage compatibility read where we end the document with a
9526         minipage.
9527
9528         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9529         was set as it could be 0 for InsetTexts first entry.
9530
9531 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9532
9533         * paragraph.C (writeFile): if layout is empty write out
9534         defaultLayoutName().
9535
9536         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9537         file without named layout we set layout to defaultLayoutName().
9538
9539 2002-03-06  Juergen Vigna  <jug@sad.it>
9540
9541         * CutAndPaste.C (copySelection): set layout for new paragraph.
9542
9543         * text.C (prepareToPrint): leave ERT inset left aligned
9544         (leftMargin): don't indent paragraphs inside ERT insets
9545
9546 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9547
9548         * paragraph.C (breakParagraph): dont call clear do the work manually
9549
9550         * paragraph.[Ch] (clear): remove function
9551
9552 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9553
9554         * paragraph.C (Paragraph): dont call clear, the work has already
9555         been done.
9556
9557         * lyxtextclass.C (operator): assert if n is empty
9558
9559         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9560         work manually instead.
9561
9562 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * BufferView_pimpl.C: protect selectionLost against text == 0
9565
9566 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9567
9568         * text.C (breakParagraph): fix a setting layout to '0' problem.
9569
9570 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9571
9572         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9573         final location of file, for the included files, and graphics.
9574
9575 2002-03-05  Juergen Vigna  <jug@sad.it>
9576
9577         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9578
9579 2002-03-04  Juergen Vigna  <jug@sad.it>
9580
9581         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9582
9583         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9584         last column of multicolumn cells.
9585         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9586
9587 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9588
9589         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9590         file if it doesn't go to a temporary file.
9591
9592         * buffer.C (sgmlOpenTag):
9593         (sgmlCloseTag):  remove extra newline insertion.
9594
9595 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * text.C (getRowNearY): comment out debug msg
9598
9599 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9600
9601         * text2.C: first -> first_y
9602
9603         * text.C (getRowNearY): add some attemts at a possible
9604         optimization, not working.
9605
9606         * tabular.[Ch]: add BufferParams to several function so that newly
9607         created paragraph can be initialized to he default layotu for the
9608         buffers textclass.
9609
9610         * tabular-old.C (ReadOld): add buf->params to call of Init
9611
9612         * screen.C: rename text->first to text->first_y
9613
9614         * paragraph.C (breakParagraph): always set layout in the broken
9615         paragraph
9616
9617         * lyxtextclass.C (Read): remove lowercase
9618         (hasLayout): ditto
9619         (operator): ditto
9620         (delete_layout): ditto
9621
9622         * lyxtext.h: rename first -> first_y
9623
9624         * lyxlayout.C (Read): remove lowercase
9625         (name): ditto
9626         (setName): ditto
9627         (obsoleted_by): ditto
9628
9629         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9630
9631         * buffer.C (insertErtContents): add params are to InsetERT
9632         (parseSingleLyXformat2Token): add code to check if a paragraphs
9633         layout really exist.
9634         (parseSingleLyXformat2Token): add params to several inset
9635         constructors
9636         (asciiParagraph): remove lowercase, do the layout comparisons with
9637         no_case
9638
9639         * BufferView_pimpl.C (cursorNext): first -> first_y
9640         (resizeCurrentBuffer): first -> first_y
9641         (updateScrollbar): first -> first_y
9642         (scrollCB): first -> first_y
9643         (workAreaMotionNotify): first -> first_y
9644         (workAreaButtonPress): first -> first_y
9645         (checkInsetHit): first -> first_y
9646         (cursorPrevious): first -> first_y
9647         (cursorNext): first -> first_y
9648         (Dispatch): add buffer_->params to severl inset contructors
9649
9650 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * lyxlayout.C (Read): remove some debug info that I forgot.
9653
9654         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9655         clean up the code slightly.
9656         (makeLinuxDocFile): ditto
9657         (makeDocBookFile): ditto
9658
9659         * text2.C: layout as string
9660
9661         * text.C: layout as string
9662
9663         * paragraph_pimpl.C: layout as string
9664
9665         * paragraph.[Ch]: layout as string
9666
9667         * lyxtextclasslist.[Ch]: layout as string
9668
9669         * lyxtextclass.[Ch]: layout as string
9670
9671         * lyxtext.h: layout as string
9672
9673         * lyxlayout.[Ch]: layout as string
9674
9675         * lyx_cb.C: layout as string
9676
9677         * bufferview_funcs.C: layout as string
9678
9679         * bufferparams.C: layout as string
9680
9681         * buffer.C: layout as string
9682
9683         * LyXView.[Ch]: layout as string
9684
9685         * LaTeXFeatures.[Ch]: layout as string
9686
9687         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9688
9689         * BufferView_pimpl.C: change current_layout to string, remove
9690         lyx::layout_type.
9691         (Dispatch):
9692         (smartQuote):
9693         (insertInset):
9694         (workAreaButtonRelease): layout as string
9695
9696         * BufferView2.C (unlockInset): adjust
9697
9698         * vspace.C (asLatexCommand): use an explict temp variable.
9699
9700 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * Makefile.am: use FRONTEND_*
9703
9704 2002-03-01  Juergen Vigna  <jug@sad.it>
9705
9706         * tabular.C (SetWidthOfMulticolCell): changed to something better
9707         I hope but still work in progress.
9708         (recalculateMulticolumnsOfColumn): renamed function from
9709         recalculateMulticolCells as it is more appropriate now.
9710         (SetWidthOfCell): calculate multicols better.
9711
9712 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9715
9716         * lyxfunc.C (processKeySym): print sequence also if it is
9717         `deleted' (complete)
9718
9719         * kbsequence.C (print): print sequence even if it is deleted
9720         (complete would be a better word, actually).
9721
9722         * lyxfunc.C (dispatch): print complete options after a prefix key
9723
9724         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9725
9726 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9727
9728         * text2.C (setCharFont): eliminate setCharFont code duplication.
9729
9730 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9733         LFUN_TABULAR_FEATURE (bug #177)
9734
9735 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9736
9737         * Makefile.am: remove figure.h
9738
9739 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * Bufferview_pimpl.C:
9742         * CutAndPasteC:
9743         * LaTeX.C:
9744         * LyXSendto.C:
9745         * buffer.C:
9746         * bufferlist.C:
9747         * converter.C:
9748         * language.C:
9749         * lyxfunc.C:
9750         * lyxvc.C:
9751         * paragraph.C:
9752         * text.C:
9753         * text2.C: remove #include "lyx_gui_misc.h".
9754
9755         * LaTeX.C: added #include <cstdio>
9756
9757 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9760         that the paragraph following this one can have.
9761
9762         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9763
9764         * vspace.C (asLatexCommand): fix bogus gcc warning
9765
9766         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9767
9768 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9769
9770         * text2.C (setLayout): get rid of redundant code
9771
9772 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9773
9774         * text2.C (incDepth): make sure depth cannot be increased beyond
9775         reasonable values.
9776
9777 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9778
9779         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9780         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9781
9782         * PainterBase.h (image):
9783         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9784         a LyXImage const *.
9785
9786 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * BufferView.C:
9789         * BufferView.h:
9790         * BufferView_pimpl.C:
9791         * BufferView_pimpl.h:
9792         * LaTeXFeatures.C:
9793         * LyXAction.C:
9794         * LyXView.C:
9795         * Makefile.am:
9796         * UpdateList.h:
9797         * UpdateList.C:
9798         * buffer.C:
9799         * figure.h:
9800         * figureForm.C:
9801         * figureForm.h:
9802         * figure_form.C:
9803         * figure_form.h:
9804         * lyx_cb.C:
9805         * lyx_gui.C:
9806         * lyx_gui_misc.C:
9807         * lyxfunc.C:
9808         * sp_base.h:
9809         * sp_ispell.h:
9810         * sp_pspell.h:
9811         * sp_spell.C: remove fig inset, and the crap house of
9812           cards that follows it
9813
9814 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * Makefile.am:
9817         * lyxserver.C:
9818         * os2_defines.h:
9819         * os2_errortable.h:
9820         * nt_defines.h: move .h into support/
9821
9822         * vms_defines.h: remove
9823
9824         * WorkArea.C: add space in debug output
9825
9826         * text2.C:
9827         * paragraph.C:
9828         * buffer.C: add WITH_WARNINGS
9829
9830         * vc-backend.h:
9831         * vc-backend.C:
9832         * bufferlist.C: s/retrive/retrieve/, add docs
9833
9834         * vspace.h:
9835         * vspace.C:
9836         * kbmap.h:
9837         * lyxlength.h:
9838         * lyxgluelength.h:
9839         * length_common.h:
9840         * chset.h:
9841         * chset.C: add docs
9842
9843         * lyxgui.C: add ID to X error handler
9844
9845         * lyxtestclass.c: fix typo
9846
9847 2002-02-26  Juergen Vigna  <jug@sad.it>
9848
9849         * tabular_funcs.C (write_attribute): changed so that some default
9850         attributes are not written at all.
9851         (getTokenValue): set default values before trying to read the
9852         value so we have the return value always set as default if we don't
9853         find the token we search for.
9854
9855         * tabular.C (Write): write bools as bools not as strings!
9856
9857 2002-02-22  Juergen Vigna  <jug@sad.it>
9858
9859         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9860         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9861
9862         * text.C (leftMargin): don't add an indent for paragraphs inside
9863         tabular cells (fix #208).
9864
9865 2002-02-21  José Matos  <jamatos@fep.up.pt>
9866
9867         * tabular.C (docBook): fixed support for long tables.
9868
9869 2002-02-20  Juergen Vigna  <jug@sad.it>
9870
9871         * text2.C (getFont): get the drawing font of the Inset if this
9872         paragraph is inside an inset (only important for InsetERT for now).
9873
9874         * buffer.C (insertErtContents): use new lanugage params in ERT
9875         constructor.
9876
9877         * CutAndPaste.C: commenting out seemingly uneeded code.
9878
9879 2002-02-19  Allan Rae  <rae@lyx.org>
9880
9881         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9882         Iterators might be simple to use but they also get invalidated.
9883         (removeAutoInsets): renamed saved cursor tracking variables and added
9884         some comments to clarify what everything does.
9885
9886 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9887
9888         * Chktex.C:
9889         * LaTeX.C:
9890         * LyXSendto.C:
9891         * converter.C:
9892         * lyx_cb.C:
9893         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9894         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9895
9896         * lyxfunc.C:
9897         * vc-backend.h: remove #include "support/syscall.h"
9898
9899         * LaTeX.C:
9900         * LyXSendto.C:
9901         * converter.C: rearrange #includes in Lars' approved fashion.
9902
9903         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9904         forward declare class Timeout in the header file.
9905
9906         * XFormsView.C: changes due to the above.
9907
9908         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9909         similar to LyXView.
9910
9911         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9912         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9913
9914 2002-02-18  José Matos  <jamatos@fep.up.pt>
9915
9916         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9917         insets contents.
9918
9919 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9920
9921         * a lot of small ws changes
9922         * add a lot of using std::XXX
9923         * use std construcs some places where approp.
9924         * use some exisint stuff from lyxfunctional where approp.
9925         * Make file changes to use partial linking (lets test this now...)
9926
9927 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9928
9929         * Chktex.C:
9930         * buffer.C:
9931         remove #include "support/syscontr.h" as it's redundant. Always has been.
9932
9933         * Chktex.C:
9934         * LaTeX.C:
9935         * LyXSendto.C:
9936         * converter.C:
9937         * lyx_cb.C:
9938         * vc-backend.C:
9939         change Systemcalls::System to Systemcalls::Wait and
9940         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9941         No change of functionality, just reflects the stripped down Systemcalls
9942         class.
9943
9944 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9945
9946         * debug.[Ch]: add a GRAPHICS type to the enum.
9947
9948 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9951
9952         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9953         there is an inset.
9954
9955 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9956
9957         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9958         match the changes below.
9959
9960         * text2.C (toggleInset): if there is not editable inset at cursor
9961         position, try to see if cursor is _inside_ a collapsable inset
9962         and close it.
9963
9964 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9967         document menu has a nice checkbox
9968
9969 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * lyxlength.C (asLatexString): change PW to output as percent of
9972         \textwidth.
9973
9974         * lengthcommon.C: change '%' to 't%'
9975
9976         * lyxfunc.C (dispatch): a few comments from Martin
9977
9978 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * WorkArea.h:
9981         * WorkArea.C:
9982         * BufferView_pimpl.h:
9983         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9984           the X selection.
9985
9986 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * vspace.C (inPixels): fix compiler warning
9989
9990 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * lyxfunc.C (getStatus): fix status message for disabled commands.
9993
9994 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView_pimpl.C: fix crash on close buffer
9997         during selection (#227)
9998
9999 2002-01-27  Herbert Voss  <voss@lyx.org>
10000
10001         * buffer.C: link old Figure to new graphic inset
10002
10003 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * FontLoader.C (getFontinfo): Change the latex font names in order
10006         to match the names of type1inst.
10007
10008 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10011
10012         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10013         (extchanged): ditto
10014         (ext_exist): ditto
10015         (remove_files_with_extension): ditto
10016         (remove_file): ditto
10017         (write): ditto
10018
10019         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10020         document is smaller than the work area height. Do not initialize
10021         static variables to 0.
10022
10023 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10024
10025         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10026
10027         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10028         LFUN_LAYOUT_PARAGRAPHS.
10029
10030         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10031         tabular. It is possible to provide a possible cell, which will
10032         typically be the actcell from the corresponding insettabular
10033
10034         * lyxfunc.C (getStatus): small cleanup; disable
10035         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10036         true
10037
10038 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10041
10042         * paragraph.C (startTeXParParams):
10043         (endTeXParParams): new methods. The LaTeX code to
10044         start/end paragraph formatting
10045         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10046         empty (fixes bug #200)
10047
10048         * vspace.C (inPixels): adapt to the change below
10049         (inPixels): [later] more cleanups (remove unused variables)
10050
10051         * lyxlength.C (inPixels): change to use a width and a height as
10052         parameter.
10053
10054 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10057         Replaced with \paperwidth
10058
10059         * DepTable.C (insert): add std:: qualifier
10060
10061 2002-01-18  Allan Rae  <rae@lyx.org>
10062
10063         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10064         updated also?
10065
10066         * text.C (drawInset): Turned out I didn't know enough about how
10067         rebreaking worked.  This fixes most of the redraw problems.  I see
10068         an occasional cursor trail when a line is broken now and the cursor
10069         placement can seem out by a few pixels also after a rebreak.
10070
10071 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * buffer.C (parseSingleLyXformat2Token): update because minipage
10074         width is now a LyXLength
10075
10076         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10077
10078         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10079         math insets
10080
10081 2002-01-17  Juergen Vigna  <jug@sad.it>
10082
10083         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10084
10085         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10086         is set correctly and the inset is updated correctly.
10087
10088 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10091         the beginning of the loop.
10092
10093 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10094
10095         * lyxrc.C: improve help for use_scalable_fonts
10096
10097 2002-01-17  Allan Rae  <rae@lyx.org>
10098
10099         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10100
10101 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10102
10103         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10104         make sure to set their inset_owner to the right value (bug #171)
10105
10106 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10107
10108         * DepTable.h
10109         * DepTable.C: Implement mtime checking to reduce time spent doing
10110         CRCs.
10111
10112 2002-01-16  Juergen Vigna  <jug@sad.it>
10113
10114         * tabular.C (GetAdditionalHeight): one of error fixed.
10115
10116         * lyxrc.C (output): small fix in writing use_pspell.
10117
10118 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10119
10120         * sp_base.h: #include LString.h
10121
10122 2002-01-16  Allan Rae  <rae@lyx.org>
10123
10124         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10125         Can someone check this please?
10126
10127         * text.C (drawInset): It was possible that p.row would be removed by
10128         breakAgainOneRow upsetting a few other settings.  There may be another
10129         small tweak possible by setting need_break_row = 0 when p.row has been
10130         removed but I don't know enough about the logic here.
10131
10132 2002-01-15  Allan Rae  <rae@lyx.org>
10133
10134         * text.C (insertChar): removed conditional truism.
10135
10136         * BufferView2.C (removeAutoInsets): More tweaks.
10137         cur_par_prev could be a stray pointer.  Check for trailing empty line
10138         in case last line was cur_par and only had an error inset on it.
10139
10140 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10141
10142         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10143         absolute
10144
10145         * vc-backend.C (most methods):
10146         * exporter.C (Export):
10147         * converter.C (convert):
10148         (runLaTeX):
10149         * LyXSendto.C (SendtoApplyCB):
10150         * lyxfunc.C (dispatch):
10151         (menuNew):
10152         (open):
10153         (doImport):
10154         * lyx_cb.C (AutoSave):
10155         (InsertAsciiFile):
10156         * BufferView_pimpl.C (MenuInsertLyXFile):
10157         * buffer.C (runChktex): use Buffer::filePath().
10158
10159         * buffer.h: rename filename to filename_; rename filepath to
10160         filepath_ and make it private
10161         (filePath): new method
10162
10163         * buffer.C (writeFile): use fileName()
10164         (getLatexName):
10165
10166         * lyx_main.C (init): fix starting  of LyX when the binary is a
10167         link from so,ewhere else.
10168
10169         * minibuffer.C: include <cctype> for isprint
10170
10171 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10172
10173         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10174         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10175         name clash with InsetCollapsable's width function.
10176
10177 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * lastfiles.C: include <iterator>
10180
10181 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10182
10183         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10184         std::count.
10185
10186         * buffer.C (makeLaTeXFile): ditto.
10187         Also make loop operation more transparent.
10188
10189 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10190
10191         * ToolbarDefaults.C: remove trailing comma closing namespace.
10192
10193         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10194
10195         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10196         as in WorkArea.
10197
10198         * trans.C (Load): comment out unused variable, allowed.
10199
10200 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10201
10202         * minibuffer.[Ch] (append_char): new method to recieve input from the
10203         drop-down completion browser. If a key was pressed, then recieve this
10204         char and append it to the existing string.
10205         (peek_event): modify the positioning data passed to the completion
10206         browser so that it can be placed above the minibuffer rather than below.
10207 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10208
10209         * LyXAction.C (init): alloe error-next for readonly documents.
10210
10211         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10212         count.
10213
10214 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * bufferlist.C (readFile): create the buffer _after_ checking that
10217         the file exists.
10218
10219         * lyxfunc.C (verboseDispatch): fix handling of arguments
10220
10221         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10222
10223         * lyxrc.C: use string::erase() instead of initializing to "".
10224
10225
10226 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * BufferView_pimpl.h:
10229         * BufferView_pimpl.C:
10230         * WorkArea.h:
10231         * WorkArea.C:
10232         * text2.C: tell X when we have made a selection for copying
10233
10234 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * BufferView_pimpl.C (MenuInsertLyXFile):
10237         * lyxfunc.C (menuNew):
10238         (open):
10239         (doImport): add shortcuts to directory buttons
10240
10241         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10242         open a float)
10243
10244         * lyxfunc.C (setStatusMessage):
10245         (getStatusMessage): new methods
10246         (getStatus):use setStatusMessage instead of setErrorMessage
10247         (dispatch): when function is disabled, set error message here
10248         [instead of in getStatus previously]
10249
10250         * BufferView_pimpl.C (workAreaButtonRelease): update
10251         toolbar/menubar here too.
10252
10253 2002-01-13  Allan Rae  <rae@lyx.org>
10254
10255         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10256         Now seems indestructible.  Remaining task is to audit all other
10257         code affected by deleteEmptyParagraphMechanism.  One small quirk
10258         left is that an empty document with an error in the preamble can
10259         be made to report an error but no error box appears.  I don't know
10260         where it goes.
10261         (removeAutoInsets): Improved comments.
10262
10263 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * Thesaurus.h:
10266         * Thesaurus.C: update for Aiksaurus 0.14
10267
10268 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10269
10270         * text2.C (firstParagraph): removed member function, all uses
10271         replaces with ownerParagraph
10272         (redoParagraphs): here
10273         (updateInset): here
10274         (toggleAppendix): here
10275         * BufferView2.C (insertErrors): here
10276         (setCursorFromRow): here
10277
10278 2002-01-13  Allan Rae  <rae@lyx.org>
10279
10280         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10281         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10282         There is still a way to segfault this although you may have to do this
10283         multiple times: Have an InsetERT with an unknown command in it.
10284         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10285         <down-arrow>, <Enter> again, View->DVI, BANG!
10286
10287         * text2.C (setCursor):
10288         (deleteEmptyParagraphMechanism):
10289         * lyxtext.h (setCursor):
10290         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10291         Making use of the return value may help fix other bugs.
10292
10293 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10296
10297         * LyXView.C (updateMenubar): call MenuBar::update here
10298         (updateToolbar): but not here
10299         (showState): do not update toolbar/menubar
10300
10301         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10302         should need to care about that.
10303
10304         * lyxfunc.C (verboseDispatch): simplify a bit
10305         (getStatus): have a version which takes a pseudoaction, and
10306         another which requires a (kb_action,string).
10307
10308         * LyXAction.C (retrieveActionArg): make it work also when action
10309         is not a pseudo-action.
10310         (getActionName): simplify a bit
10311         (helpText):
10312
10313 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * lyxfunc.C (verboseDispatch): new families of methods with
10316         several ways to specify a command and a bool to indicate whether
10317         the command name and shortcut should be displayed in minibuffer
10318         (eventually, we could extend that to a finer bitmask like
10319         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10320         (dispatch): the pristine dispatch command which just, well,
10321         dispatchs! Note it still sets its result to minibuffer; I'm not
10322         sure we want that.
10323
10324         * lyxfunc.h: remove setHintMessage
10325
10326         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10327
10328 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * BufferView_pimpl.C (specialChar): delete new inset if we have
10331         not been able to insert it.
10332
10333         * kbmap.C: revert to using int instead of kb_action, since all we
10334         are dealing with is pseudo-actions.
10335
10336         * LyXAction.C (searchActionArg): change to return int instead of
10337         kb_action, since the result is a pseudoaction.
10338
10339 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * buffer.C (insertErtContents): Fix (partially) the font bug.
10342
10343 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10344
10345         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10346         as the other one is broken on my machine!
10347
10348 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10349
10350         * commandtags.h:
10351         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10352
10353 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10354
10355         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10356         reflect their actual use. Provide compatibility code for older lyxrc
10357         files.
10358
10359         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10360         FL_NORMAL_STYLE.
10361         change names of popup font variables in line with the changes to lyxrc.C
10362
10363 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * buffer.C (asciiParagraph): avoid outputing a word twice after
10366         an inset.
10367
10368         * lyxrc.C (getDescription): document that document_path and
10369         template_path can be empty.
10370
10371 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * LaTeXFeatures.C (getMacros):
10374         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10375
10376         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10377
10378         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10379         getPackages.
10380         (getPackages): rename feature "floats" to "float". Use an array to
10381         iterate over 'simple' features (i.e. just a \usepackage). Add
10382         handling of "amsmath" (renamed from "amsstyle").
10383
10384 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10385
10386         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10387         features list.
10388
10389 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10390
10391         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10392         FuncStaus::FuncStatus & FuncStaus::some_method().
10393
10394 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10395
10396         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10397         of the func_satus stuff. Edited and massaged in various ways by
10398         JMarc.
10399
10400         * lyxfunc.C (getStatus): use FuncStatus
10401
10402 2002-01-08  Juergen Vigna  <jug@sad.it>
10403
10404         * text.C (nextBreakPoint): use function Inset::isChar().
10405
10406         * paragraph.C (TeXOnePar): use function
10407         Inset::forceDefaultParagraphs.
10408
10409         * buffer.C (latexParagraphs): use function
10410         Inset::forceDefaultParagraphs.
10411
10412 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * lyx_gui.C (init): set the style of the menu popups to
10415         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10416
10417 2002-01-07  Juergen Vigna  <jug@sad.it>
10418
10419         * text.C (setHeightOfRow): small fix
10420         (prepareToPrint): don't look at alignment if we don't have the place
10421         for doing it.
10422
10423 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10424
10425         * box.C: New file. Move the Box methods and functions out of box.h,
10426         following Lars' suggestion.
10427
10428 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * box.h: #include "support/LOstream.h", needed for inlined function.
10431
10432         * lyxtextclass.C:
10433         * lyxtextclasslist.C: added some using std declarations.
10434
10435 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * box.h: make signed dimensions to allow insets wider than
10438           the screen (bug #162)
10439
10440         * BufferView_pimpl.C: add some insetHit debug
10441
10442 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * vc-backend.C: add FIXME
10445
10446 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * lyxfunc.C (getStatus): enable code for showing math font status
10449         in toolbar/menu.
10450
10451 2002-01-07  Juergen Vigna  <jug@sad.it>
10452
10453         * text.C (nextBreakPoint): removed debug output not needed anymore.
10454
10455 2002-01-06  Juergen Vigna  <jug@sad.it>
10456
10457         * text.C (nextBreakPoint): fixed up this function we had this bug
10458         since ever but now hopefully we break row better.
10459         (insertChar): we have to check if an inset is the next char as it
10460         could now happen that a large inset is causing a break.
10461
10462 2002-01-05  Juergen Vigna  <jug@sad.it>
10463
10464         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10465         if it doesn't like to be drawed.
10466
10467 2002-01-04  Juergen Vigna  <jug@sad.it>
10468
10469         * BufferView2.C (lockInset): forgot to set a cursor.
10470
10471         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10472
10473 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10474
10475         * FormMathsPanel.C:
10476         * FormMathsPanel.h
10477         * MathsSymbols.C:
10478         * form_maths_panel.C:
10479         * form_maths_panel.h:
10480         * form_maths_panel.fd: implemented sub- and super- buttons in math
10481         panel.
10482
10483         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10484         (or ^ space) to be used as in TeX (req'd by André).
10485
10486         * lyxfunc.C: Allow ^ and _ again to be used both as
10487         super/subscript (mathed) and as themselves (in text).
10488
10489 2002-01-03  Allan Rae  <rae@lyx.org>
10490
10491         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10492         "LyX" or the filename of the current buffer if it has one.  This is a
10493         modified form of John Levon's patch.
10494
10495         * XFormsView.C (setWindowTitle): also set icon title.
10496
10497         * LyXView.h (setWindowTitle): signature changed.
10498         * XFormsView.h (setWindowTitle): ditto.
10499
10500 2002-01-02  Juergen Vigna  <jug@sad.it>
10501
10502         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10503
10504 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * screen.C (topCursorVisible): introduce a temp var for
10507         text->cursor.row(), handle the case where this row is null. (kindo
10508         hachish)
10509
10510         * text2.C (setCursor): add a couple of asserts.
10511
10512         * paragraph.h (inset_iterator): add -> operator
10513
10514         * paragraph.[Ch] (autoDeleteInsets): remove member function
10515
10516         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10517         cursor pos correctly and handle inset deletion by itself.
10518         (insertErrors): move iterator declaration out of for expression
10519
10520         * lyxtextclass.C: add <algorithm>
10521
10522         * Makefile.am: added the new files to sources, removed layout.C
10523
10524         * layout.C: removed file
10525
10526         * layout.h: remove LYX_DUMMY_LAYOUT
10527
10528         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10529         layout.
10530
10531         * lyxlayout.[Ch]:
10532         * lyxtextclass.[Ch]:
10533         * lyxtextclasslist.[Ch]: new files
10534
10535         * include order changes to a lot of files, also changes because of
10536         the six new files.
10537
10538 2001-12-27  Juergen Vigna  <jug@sad.it>
10539
10540         * buffer.C (asciiParagraph): more fixes.
10541
10542         * tabular.C (ascii): make ascii export support export of only the
10543         data separated by a column-delimiter.
10544         (ascii): better support for ascii export.
10545
10546         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10547
10548 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10549
10550         * tabular_funcs.C: use a "using std::getline" instead of the
10551         previous fix from Angus (necessary for cxx + lyxstring)
10552
10553 2001-12-24  Juergen Vigna  <jug@sad.it>
10554
10555         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10556
10557         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10558         problems. First check a minipage also if we have some ert-contents
10559         (not only on par->size(), second set the right depth of the paragraph
10560         on the relink to the root-paragraph-list!
10561
10562         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10563         which then did not anymore update the main paragraphs on undo/redo!
10564
10565 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10566
10567         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10568         code. Support all font-changing funcs (even those which are not in
10569         menu currently). Support for reporting font settings in
10570         mathed (disabled until Andre provides a function on mathed's side).
10571
10572         * func_status.h (toggle): small helper function to set toggle
10573         state on a flag.
10574
10575 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10576
10577         * tabular_funcs.C: getline -> std::getline
10578
10579 2001-12-21  Juergen Vigna  <jug@sad.it>
10580
10581         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10582         accessed and could be 0 (I couldn't generate this but it seems
10583         Michael could!).
10584
10585 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10588         * tabular_funcs.h: here and include iosfwd
10589
10590 2001-12-20  Juergen Vigna  <jug@sad.it>
10591
10592         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10593         inside inset but undo_par was.
10594
10595 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * Thesaurus.C: always include <config.h> in sources.
10598
10599         * Painter.h:
10600         * lyxlookup.h:
10601         * box.h: do not include <config.h> in header files
10602
10603         * text.C (paintLastRow): remove unused variable
10604
10605         * text.C (transformChar):
10606         (insertChar):
10607         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10608
10609         * Painter.C (text):
10610         * font.C (width): rewrite to use uppercase() instead of
10611         islower/toupper.
10612
10613         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10614
10615 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * lyxfind.C: clean up of find failure position change
10618
10619 2001-12-20  Juergen Vigna  <jug@sad.it>
10620
10621         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10622
10623         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10624         (TeXRow): added to LaTeX a single tabular row.
10625         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10626         (Latex): simplified and finally good LT-h/f support.
10627         (various_functions): just small adaptions for LT-h/f support.
10628
10629         * tabular_funcs.[hC]: added and moved here all not classfunctions
10630         of LyXTabular.
10631
10632 2001-12-19  Juergen Vigna  <jug@sad.it>
10633
10634         * tabular.[Ch]: better support for longtabular options (not finished
10635         yet!)
10636
10637 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10638
10639         * text.C (paintLastRow): use the label font instead of the font of
10640         the last character to compute the size of *_BOX. This makes more
10641         sense and avoids a crash with empty paragraphs.
10642         Use Painter::rectangle to draw EMPTY_BOX.
10643
10644 2001-12-19  Juergen Vigna  <jug@sad.it>
10645
10646         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10647         the paragraphs if the replaced paragraph is not the first one!
10648         Tried to delete not used paragraphs but does not work yet so for
10649         now it's inside #ifdef's and by default off!
10650
10651 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * MenuBackend.C: include "lyx_main.h" instead of declaring
10654         lastfiles (actually was declared as LastFiles* instead of a
10655         scoped_ptr).
10656
10657 2001-12-17  Juergen Vigna  <jug@sad.it>
10658
10659         * tabular.C (AppendColumn): applied John's fix
10660
10661 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * BufferView.h:
10664         * BufferView.C:
10665         * BufferView_pimpl.h:
10666         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10667
10668         * Makefile.am:
10669         * box.h: new start of class for above
10670
10671         * lyxfunc.C: ignore space-only minibuffer dispatches.
10672           Show the command name when it doesn't exist
10673
10674         * minibuffer.C: don't add empty lines to the history
10675
10676         * minibuffer.C: add a space on dropdown completion
10677
10678 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * text.C: fix line above/below drawing in insets
10681
10682 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10683
10684         * lyxlength.C (LyXLength): Initialize private variables.
10685
10686 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10689         when inserting error insets.
10690
10691 2001-12-13  Juergen Vigna  <jug@sad.it>
10692
10693         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10694         actually sometimes the before-paragraph.
10695         (setUndo): don't clear the redostack if we're not actually undoing!
10696
10697 2001-12-06  Juergen Vigna  <jug@sad.it>
10698
10699         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10700         and fixed redoing of main paragraph, so we can use it now ;)
10701
10702         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10703
10704 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10707         Juergen's request
10708
10709 2001-12-13  André Pönitz <poenitz@gmx.net>
10710
10711         * undostack.[Ch]:
10712         * undo_func.C: minor cleanup
10713
10714 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10715
10716         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10717         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10718         font in urw-fonts package which is marked as -urw-fontspecific and
10719         does not work (incidentally, changing the encoding in the
10720         fonts.dir of this package to -adobe-fontspecific fixes the
10721         problem).
10722
10723         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10724         is a crash when undoing first paragraph (Juergen, please take a
10725         look). THis does not mean the undo fix is wrong, just that it
10726         uncovers problems.
10727
10728         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10729         the (Paragraph*) version when needed instead of duplicating the
10730         code.
10731
10732         * text.C (workWidth): use Inset::parOwner to find out where the
10733         inset has been inserted. This is a huge performance gain for large
10734         documents with lots of insets. If Inset::parOwner is not set, fall
10735         back on the brute force method
10736
10737         * paragraph_pimpl.C (insertInset):
10738         * paragraph.C (Paragraph):
10739         (cutIntoMinibuffer): set parOwner of insets when
10740         inserting/removing them
10741
10742         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10743
10744 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10745
10746         * commandtags.h:
10747         * LyXAction.C:
10748         * lyx_main.C:
10749         * lyxfunc.C:
10750         * mathed/formulabase.C:
10751         * mathed/math_cursor.[Ch]:
10752         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10753
10754
10755 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * lyxlength.[Ch] (operator!=): new function
10758
10759 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * text.C (workWidth): use Inset::parOwner to find out where the
10762         inset has been inserted. This is a huge performance gain for large
10763         documents with lots of insets. If Inset::parOwner is not set, fall
10764         back on the brute force method
10765
10766         * paragraph_pimpl.C (insertInset):
10767         * paragraph.C (Paragraph):
10768         (cutIntoMinibuffer): set parOwner of insets when
10769         inserting/removing them
10770
10771         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10772
10773 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * tabular-old.C (getTokenValue):
10776         * tabular.C (getTokenValue):
10777         (write_attribute): new versions for LyXLength
10778         (everywhere): adjust the use of widths
10779
10780         * tabular.h: change the type of widths from string to LyXLength
10781
10782 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10783
10784         * paragraph.C: fixed missing line number count when exporting
10785         Environments to LaTeX file
10786
10787         * buffer.C: added informational message for checking line numbers.
10788
10789 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10790
10791         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10792         paragraph, do the 'double space' part, but not the 'empty
10793         paragraph' one.
10794
10795         * text.C (workWidth): small optimization
10796         (getLengthMarkerHeight): use minimal size for negative lengths.
10797
10798 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10799
10800         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10801
10802         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10803
10804 2001-12-11  André Pönitz <poenitz@gmx.net>
10805
10806         * FontLoader.C:
10807         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10808
10809 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * text2.C: keep selection on a setFont()
10812
10813 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * lyx_cb.C: another bv->text misuse, from insert label
10816
10817 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * kbsequence.h:
10820         * kbsequence.C: re-instate nmodifier mask
10821
10822 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10823
10824         * lyx_main.h: make lyxGUI private.
10825
10826 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * lyxfind.C: place the cursor correctly on failed search
10829
10830 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * text.C (getLengthMarkerHeight): for small heights, the arrows
10833         are not always on top/bottom of the text
10834         (drawLengthMarker): smaller arrows; take the left margin in
10835         account; draw also vfills.
10836         (paintFirstRow):
10837         (paintLastRow): remove special code for vfill and standard spaces,
10838         since everything is handled in drawLengthMarker now.
10839
10840 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * buffer.C (insertErtContents): try to handle font and language
10843         interaction a bit better.g
10844
10845         * ColorHandler.C (updateColor): change the hash to cover the whole
10846         LColor enum, ws cleanup
10847         (getGCLinepars): ditto
10848         (getGCLinepars): only lookup in the linecache once.
10849
10850 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10851
10852         * iterators.C (operator++): Make the iterator more robust
10853
10854         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10855         (John's patch)
10856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10857
10858 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * lyxtext.h:
10861         * text.C: better added space drawing
10862
10863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * LyXView.C:
10866         * BufferView2.C: fix layout combo update on inset unlock
10867
10868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * Makefile.am: don't compile unused files
10871
10872 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * lyxfunc.C:
10875         * commandtags.h:
10876         * LyXAction.C: remove old LFUN_LAYOUTNO
10877
10878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * paragraph_pimpl.h:
10881         * paragraph_pimpl.C: isTextAt() doesn't need font param
10882
10883 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lyxlex.h:
10886         * lyxlex.C: little cleanup
10887
10888 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * BufferView_pimpl.C: fix insertAscii for insets
10891
10892 2001-12-05  Juergen Vigna  <jug@sad.it>
10893
10894         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10895         set the right font on the "multi" paragraph paste!
10896
10897 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * trans_decl.h:
10900         * trans_mgr.[Ch]:
10901         * trans.[Ch]:
10902         * lyxgluelength.C:
10903         * lyxlength.C: remove out-commented code.
10904
10905         * BufferView_pimpl:
10906         * CutAndPaste.C:
10907         * DepTable.C:
10908         * buffer.C:
10909         * chset.C:
10910         * lastfiles.C:
10911         * lyxlex.C:
10912         * lyxlex_pimpl.C:
10913         * lyxserver.C:
10914         * screen.C:
10915         * tabular-old.C:
10916         * tabular.C:
10917         * text.C:
10918         * trans_mgr.C:
10919         * vc-backend.C: change "while(" to "while ("
10920
10921         * lyxlength.[Ch]: add zero function to check if length is zero or
10922         not
10923         * lyxgluelength.C: use it
10924
10925 2001-12-05  Allan Rae  <rae@lyx.org>
10926
10927         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10928         Works for 2.95.3, from what I understand of Garst's reports this should
10929         work for other g++ versions.  We're screwed if the abs(int) definition
10930         changed between bugfix releases of gcc.
10931
10932 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * text.C: fix chapter label offset !
10935
10936 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * lyxtext.h:
10939         * text.C: fix hfill at end of line, clean up
10940
10941 2001-12-04  Juergen Vigna  <jug@sad.it>
10942
10943         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10944         that we force an update of the inset and it's owners if neccessary.
10945
10946 2001-12-03  Juergen Vigna  <jug@sad.it>
10947
10948         * text.C (rowLast): simplified code
10949
10950 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * lyxfunc.C: fix show options on timeout
10953
10954 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10955
10956         * screen.C (topCursorVisible): scroll half a page when the cursor
10957         reached top of bottom of screen
10958
10959 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * minibuffer.C: deactivate on loss of focus
10962
10963 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10964
10965         * vspace.[Ch] (operator!=): add operator.
10966
10967 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * BufferView_pimpl.C: refuse to open an inset when
10970         there's a selection.
10971
10972 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * BufferView_pimpl.C: allow to click on RHS of full row insets
10975
10976 2001-11-30  Juergen Vigna  <jug@sad.it>
10977
10978         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10979         insets for undo reasons.
10980
10981 2001-11-28  André Pönitz <poenitz@gmx.net>
10982
10983         * vspace.[Ch]: cosmetical changes
10984
10985 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * LyXAction.h:
10988         * LyXAction.C:
10989         * lyxfunc.h:
10990         * lyxfunc.C:
10991         * kbmap.h:
10992         * kbmap.C:
10993         * lyxrc.C:
10994         * kbsequence.h:
10995         * kbsequence.C: part re-write of old kb code
10996
10997         * Painter.C:
10998         * WorkArea.C: remove Lgb_bug_find_hack
10999
11000 2001-11-30  José Matos <jamatos@fep.up.pt>
11001
11002         * buffer.C (makeDocBookFile): add a comment to point a hack.
11003         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11004         Fixed a double write of labels.
11005
11006 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11007
11008         * LaTeX.C:
11009         * LaTeX.h Fixed bug in LaTeX class where it would not
11010         re-run latex if no depfiles were changed, but the .dvi was removed.
11011
11012 2001-11-28  André Pönitz <poenitz@gmx.net>
11013
11014         * all the files from the change on 2001/11/26:
11015         use lyx::layout_type instead of LyXTextClass::size_type
11016         use lyx::textclass_type instead of LyXTextClassList::size_type
11017
11018 2001-11-29  Juergen Vigna  <jug@sad.it>
11019
11020         * text.C: added support for paragraph::isFreeSpacing()
11021
11022         * buffer.C: same as above
11023
11024         * paragraph.h: inserted isFreeSpacing() function to enable
11025         FreeSpacing inside InsetERT.
11026
11027         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11028         of the paragraph's in the cut/copy buffer to 0!
11029
11030         * text2.C (removeRow): remove the assert as it can!
11031
11032         * lyxtext.h: added helper function firstRow returning firstrow and
11033         made firstrow private again.
11034
11035         * BufferView2.C (lockInset): don't relock if we're already locked!
11036
11037         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11038         the only paragraph.
11039         (removeRow): added Assert::(firstrow)
11040
11041         * debug.C: forgot to add INSETTEXT here.
11042
11043 2001-11-28  Juergen Vigna  <jug@sad.it>
11044
11045         * sp_spell.C (initialize): changed error text to more general
11046         spellchecker command use (not only ispell!)
11047
11048         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11049
11050         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11051
11052 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * vspace.C: initialise lyxgluelength on failure
11055
11056 2001-11-28  Allan Rae  <rae@lyx.org>
11057
11058         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11059         declaration & definition that looks like a function declaration.
11060
11061 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * BufferView2.C (copy):
11064         (copyEnvironment): do not clear the selection when doing a copy.
11065
11066         * text.C (paintFirstRow): compilation fix
11067
11068 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11069
11070         * tabular.C (Latex): correct line count when writing latex.
11071
11072 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * paragraph_pimpl.h:
11075         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11076           bug a bit
11077
11078 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * text.C:
11081         * LColor.h:
11082         * LColor.C: change vfillline->added_space
11083
11084         * text.C: add markers and text for added space
11085
11086         * vspace.C: fix comment
11087
11088 2001-11-28  André Pönitz <poenitz@gmx.net>
11089
11090         * paragraph.C: whitespace changes
11091         * all the other files from the change on 2001/11/26:
11092         change *::pos_type into lyx::pos_type
11093
11094 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11095
11096         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11097         language of the document when inserting error insets.
11098
11099 2001-11-26  André Pönitz <poenitz@gmx.net>
11100
11101         * BufferView_pimpl.[Ch]:
11102         *       CutAndPaste.C:
11103         * buffer.[Ch]:
11104         * lyxcursor.[Ch]:
11105         * lyxfind.C:
11106         * lyxfunc.C:
11107         * lyxrow.[Ch]:
11108         * paragraph.[Ch]:
11109         * paragraph_pimpl.[Ch]:
11110         * sp_spell.C:
11111         * text.C:
11112         * text2.C: reduce header dependencies, introduce type for positions
11113
11114 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * <various>: change to use Alert.h
11117
11118 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11121         when encountering an unknown token.
11122         (readLyXformat2): Show an error message if there were unknown tokens.
11123
11124 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11125
11126         * BufferView2.C:
11127         * BufferView_pimpl.C:
11128         * buffer.C:
11129         * paragraph.h:
11130         * text.C:
11131         * text2.C: use par->isInset()
11132
11133 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * paragraph_pimpl.h:
11136         * paragraph_pimpl.C: cleanup
11137
11138 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * text2.C (removeRow):
11141         * text.C (setHeightOfRow): remove useless (and costly) call to
11142         getRow.
11143
11144 2001-11-20  Allan Rae  <rae@lyx.org>
11145
11146         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11147         Now need Inset*::checkInsertChar() to return true for appropriate
11148         cases so that the characters in the minibuffer will actually be
11149         inserted.
11150
11151 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * text.C: change the order of the includes.
11154         (workWidth): initialize it at once.
11155         (workWidth): make maxw unsigned
11156         (setHeightOfRow): remove unused variable (inset)
11157         (selectSelectedWord): remove unused variable (inset)
11158         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11159
11160 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11161
11162         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11163         server is not running.
11164         (openConnection):
11165         (closeConnection): add debug info when server is disabled.
11166
11167         * ColorHandler.C (getGCForeground): send debug message to GUI
11168         channel.
11169
11170         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11171
11172         * kbmap.C (bind): modify because return conventions of
11173         kb_sequence::parse have changed.
11174
11175         * kbsequence.C (parse): only ignore spaces and not any stupid
11176         control character. This avoids tests like s[i] <= ' ', which are
11177         guaranteed to fail with 8bit characters and signed chars.
11178         Change return code to string::npos when there have been no error
11179         (0 was a bad idea when error is at first character)
11180
11181 2001-11-14  José Matos  <jamatos@fep.up.pt>
11182
11183         * buffer.h:
11184         * buffer.C (simpleDocBookOnePar): removed unused argument.
11185
11186 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11189         insets which are part of a word. Paragraph::isLetter takes care of
11190         that now. Use Paragraph::isInset to identify insets.
11191         (selectSelectedWord): do not test for hyphenation break.
11192
11193         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11194         that protected spaces are considered as spaces.
11195
11196         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11197         Inset::isLetter.
11198
11199 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11200
11201         * lyxserver.h:
11202         * lyxserver.C: fix it. and small cleanup.
11203
11204 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * BufferView_pimpl.C: use inline helpers
11207
11208         * LaTeXFeatures.h:
11209         * LaTeXFeatures.C: fix typos
11210
11211         * Spacing.h:
11212         * Spacing.C: move spacing_string into class
11213
11214         * ToolbarDefaults.C: move stuff into namespace anon
11215
11216         * layout.h: update enum
11217
11218         * lyxfunc.C: use better debug
11219
11220         * minibuffer.h: fix typo
11221
11222         * debug.h:
11223         * debug.C:
11224         * WorkArea.C: add and use Debug::WORKAREA
11225
11226         * lyxtext.h:
11227         * text.C:
11228         * text2.C: code re-organisation, inline helpers
11229
11230 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11231
11232         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11233         std::vector.empty().
11234
11235 2001-11-09  Allan Rae  <rae@lyx.org>
11236
11237         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11238         '\n's after tables.  Tabular and ERT inset work now makes this no
11239         longer necessary.
11240
11241 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * minibuffer.h:
11244         * minibuffer.C: fix crash, improve drop-down completion
11245
11246 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * lyxserver.h:
11249         * lyxserver.C: invalidate fd's when doing endPipe()
11250
11251 2001-11-08  José Matos  <jamatos@fep.up.pt>
11252
11253         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11254         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11255
11256         * paragraph.h:
11257         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11258
11259 2001-11-07  José Matos  <jamatos@fep.up.pt>
11260
11261         * buffer.h:
11262         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11263         const qualifier.
11264
11265         * buffer.C (sgmlOpenTag):
11266         * buffer.C (sgmlCloseTag): removed debug info.
11267
11268         * buffer.h (sgmlOpenTag):
11269         * buffer.h (sgmlCloseTag): made public.
11270
11271 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * buffer.C (saveParamsAsDefaults):
11274         * lyx_cb.C (MenuLayoutSave): remove
11275
11276         * LyXAction.C (init):
11277         * commandtags.h:
11278         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11279
11280 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * buffer.C (setPaperStuff): removed from here...
11283
11284         * bufferparams.C (setPaperStuff): ... and moved there.
11285
11286 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * minibuffer.h:
11289         * minibuffer.C:
11290         * XFormsView.C: add support for drop-down completion
11291
11292 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11295         commands.
11296
11297 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11298
11299         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11300         disabled.
11301
11302 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * lyx_main.C: change ref to known bugs
11305
11306 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11307
11308         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11309         to work around older babel problems.
11310
11311 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11312
11313         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11314
11315 2001-10-24  Juergen Vigna  <jug@sad.it>
11316
11317         * tabular-old.C (ReadOld): below variable changes reflected.
11318
11319         * tabular.[Ch]: added ltType struct for longtable header/footer
11320         defines and changed all instances where they are used. Added
11321         future support for double top/bottom rows.
11322
11323 2001-10-24  José Matos  <jamatos@fep.up.pt>
11324
11325         * buffer.h (docbookHandleCaption):
11326         * buffer.C (docbookHandleCaption): removed unused function.
11327         (makeDocBookFile): moved docbook supported version to v4.1.
11328
11329 2001-10-24  José Matos  <jamatos@fep.up.pt>
11330
11331         * tabular.h:
11332         * tabular.C (docbookRow): new function to export docbook code of a row.
11333         (DocBook): now honors the longtable flags.
11334
11335 2001-10-23  José Matos  <jamatos@fep.up.pt>
11336
11337         * LaTeXFeatures.h:
11338         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11339         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11340
11341         * buffer.C (makeLinuxDocFile):
11342         (makeDocBookFile): reworked the preamble, more clean, and with
11343         support for lyx defined entities. Changed the document declaration
11344         to be more XML friendly.
11345
11346         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11347         if we need to output XML that should be done with a filter.
11348
11349 2001-10-22  Juergen Vigna  <jug@sad.it>
11350
11351         * sp_pspell.h (class PSpell): add alive function needed in the
11352         controller to see if the spellchecker could be started.
11353
11354 2001-10-22  Juergen Vigna  <jug@sad.it>
11355
11356         * buffer.C (insertStringAsLines): modify the font for inserting
11357         chars in certain conditions by calling checkInsertChar(font).
11358
11359 2001-10-19  Juergen Vigna  <jug@sad.it>
11360
11361         * text.C (workWidth): use getRow instead of wrong algorithm.
11362         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11363
11364 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * lyxserver.h:
11367         * lyxserver.C:
11368         * lyx_main.h:
11369         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11370
11371 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * text.C (workWidth): do not search for the exact row when
11374         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11375         optimization for big documents.
11376
11377 2001-10-18  Juergen Vigna  <jug@sad.it>
11378
11379         * text.C (workWidth): new function with added Inset * parameter.
11380
11381 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11382
11383         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11384
11385         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11386         change return type of getColumnNearX.
11387
11388
11389         * text.C (changeRegionCase): use uppercase/lowercase instead of
11390         toupper/tolower.
11391         (leftMargin):
11392         (rightMargin): simplify code by factoring out the uses of
11393         textclasslist.
11394         (labelFill):
11395         (numberOfHfills):
11396         (setHeightOfRow):
11397         (appendParagraph): use Paragraph::size_type
11398
11399 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11400
11401         * vspace.C (asLatexString): add a missing break
11402
11403 2001-10-15  Herbert Voss  <voss@perce.de>
11404
11405         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11406
11407 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11408
11409         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11410         is not available.
11411
11412 2001-10-10  André Pönitz <poenitz@gmx.net>
11413
11414         * lyxfunc.C: removed greek_kb_flag.
11415
11416 2001-10-10  Herbert Voss  <voss@perce.de>
11417
11418         * lyx_main.C: delete global string help_lyxdir.
11419
11420 2001-10-09  Herbert Voss  <voss@perce.de>
11421
11422         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11423
11424         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11425
11426         * lyx_main.C: added global string help_lyxdir.
11427
11428         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11429
11430 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11431
11432         * lyxrc.C (set_font_norm_type): support iso8859-4
11433
11434 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11435
11436         * LaTeX.C (deplog): add another regex for MikTeX
11437
11438 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11439
11440         * lyxrc.C (set_font_norm_type): support iso8859-3
11441
11442 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11443
11444         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11445
11446         * LaTeXFeatures.C: remove special case of french and index
11447
11448         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11449         before \begin{document}). This solves several incompatibilities.
11450
11451 2001-10-03  Garst Reese  <reese@isn.net>
11452
11453         * lyx_cb.C: change CheckTex error msg.
11454
11455 2001-10-03  José Matos  <jamatos@fep.up.pt>
11456
11457         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11458
11459 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11460
11461         * .cvsignore: update
11462
11463         * lyx_main.C (commandLineVersionInfo): use new style version info.
11464
11465         * buffer.C (writeFile):
11466         (makeLaTeXFile):
11467         (makeLinuxDocFile):
11468         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11469
11470         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11471
11472         * version.h: update to use stuff in version.C
11473
11474         * version.C.in: new file. Contains version information determined
11475         at compile time. This is a merging of version.h and
11476         version_info.h.in.
11477
11478 2001-10-03  Juergen Vigna  <jug@sad.it>
11479
11480         * BufferView_pimpl.C (update): don't change "dirty" status in
11481         updateInset call.
11482
11483 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * WorkArea.C (c-tor): re-position version string slightly.
11486
11487 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11488
11489         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11490         revert to previous code.
11491
11492         WorkArea.[Ch]: (show, destroySplash): methods removed.
11493
11494         WorkArea.C: rework code so that it's an amalgam of the codes before and
11495         after the splash screen was moved to WorkArea.
11496
11497 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11498
11499         * lyxrc.C (read):
11500         * vspace.C (inPixels):
11501         (lyx_advance):
11502         * kbmap.C (bind):
11503         * buffer.C (insertStringAsLines):
11504         (asciiParagraph): fix types to be large enough
11505
11506         * lyxlex_pimpl.h: change member status from short to int
11507
11508         * layout.h: fix type of endlabeltype
11509
11510         * kbmap.C (bind):
11511         * kbsequence.C (parse): change return type to string::size_type
11512
11513         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11514         variable
11515
11516         * Bullet.C (bulletSize):
11517         (bulletEntry): do not use short ints as parameters
11518
11519         * BufferView2.C (insertLyXFile): change a char to an int.
11520
11521         * WorkArea.C (WorkArea): remove unneeded floats in computation
11522
11523 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11526
11527         * paragraph.C (asString): Do not ignore newline/hfill chars when
11528         copying to the clipboard.
11529
11530 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11531
11532         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11533         after a multi-line inset.
11534
11535 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * paragraph.C (validate): Set NeedLyXFootnoteCode
11538
11539 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11540
11541         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11542         and decrease-error to decrease.
11543
11544 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11545
11546         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11547         it more readable (should be equivalent)
11548
11549 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11550
11551         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11552
11553 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11554
11555         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11556         of a cursor (row, etc.) after a character has been deleted
11557         (deleteEmptyParagraphMechanism): call the method above on _all_
11558         cursors held by the LyXText when a double space has been
11559         detected/deleted.
11560
11561 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11562
11563         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11564         pixmap.
11565         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11566
11567         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11568         background. Use greyOut() and the new show() methods to toggle between
11569         the foreground and background. Add code to remove the splash after
11570         its initial showing.
11571
11572         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11573         (create_forms): no longer call Dialogs::showSplash.
11574
11575 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11576
11577         * .cvsignore: add version_info.h
11578
11579 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * version_info.h.in: new file
11582
11583         * Makefile.am: add version_info.h.in
11584
11585         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11586         version_info.h instead of VERSION_INFO
11587
11588 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11589
11590         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11591         The ERT inset now returns string().
11592
11593 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * lyxtext.h, text.C (selectNextWord): renamed as
11596         selectNextWordToSpellcheck.
11597
11598         * text.C (selectNextWordToSpellcheck): Modified to not select
11599         words inside an ERT inset.
11600
11601 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11602
11603         * lyx_cb.C (MenuLayoutSave): change a bit the question
11604
11605         * sp_base.h: include <sys/types.h>
11606
11607 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11608
11609         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11610
11611 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11612
11613         * several files: fix typos in user-visible strings
11614
11615 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11616
11617         * text2.C (pasteSelection): do not set the selection, since it
11618         will be cleared later. Actually, the intent was to fix the way the
11619         selection was set, but I figured rmoving the code was just as good.
11620
11621 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11622
11623         * FontLoader.C (available): Check if font is available without
11624         loading the font.
11625
11626 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11627
11628         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11629
11630 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * lyxrc.[Ch]: added display_graphics variable and associated code.
11633
11634 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * bufferparams.C (hasClassDefaults): new method. Returns true if
11637         the buffer parameters correspond to known class defaults
11638
11639 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11640
11641         * XFormsView.C (show): set minimum size to the main window.
11642
11643 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11644
11645         * text2.C (copySelection):
11646         (cutSelection):
11647         * lyxfind.C (LyXReplace):
11648         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11649         LyXText::selectionAsString.
11650
11651         * paragraph.C (asString): add "label" argument to the second form
11652
11653         * text2.C (selectionAsString): add "label" argument and pass it to
11654         Paragraph::asString.
11655
11656 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11657
11658         * lyx_main.C (commandLineHelp): remove version information
11659
11660 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11661
11662         * lyx_main.C: add -version commandline option
11663
11664 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * paragraph.h: make the optional constructor arg required instead.
11667         some modifications to other files because of this.
11668
11669         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11670
11671         * lyxserver.C (C_LyXComm_callback): make it static
11672
11673         * lyx_main.C (error_handler): make it static
11674
11675         * lyx_gui.C (LyX_XErrHandler): make it static
11676
11677         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11678
11679         * WorkArea.C: make the extern "C" methods static.
11680
11681         * Makefile.am (lyx_LDADD): simplify
11682
11683 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11686         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11687
11688         * LyXAction.C (init):
11689         * lyxfunc.C (dispatch): associated code removal.
11690
11691 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * lyxfont.h (isSymbolFont): shut off warning
11694
11695         * text.C (setHeightOfRow):
11696         (getVisibleRow): fix crash with empty paragraphs which have a
11697         bottom line
11698
11699 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11700
11701         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11702         code.
11703
11704 2001-09-04  José Matos  <jamatos@fep.up.pt>
11705         * buffer.C
11706         * buffer.h
11707         * tabular.C (docbook): rename docBook method to docbook.
11708
11709 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11710
11711         * Makefile.am: add dependencies to main.o.
11712
11713 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11714
11715         * FontLoader.C (available): Return false if !lyxrc.use_gui
11716
11717 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11718
11719         * FontInfo.C (query):
11720         * converter.C (view):
11721         * importer.C (Import):
11722         * exporter.C (Export): Can not -> cannot.
11723
11724 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * BufferView_pimpl.C: allow to create index inset even if
11727           string is empty
11728
11729 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11730
11731         * buffer.C (getLists): replace boost::tie code with an explicit pair
11732         as boost::tie can break some compilers.
11733
11734         * iterators.h: Added a std:: declaration to the return type of
11735         ParIterator::size.
11736
11737 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11740           case.
11741
11742 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11743
11744         * iterators.[Ch]: New files. Provide paragraph iterators.
11745
11746         * buffer.C (changeLanguage): Use paragraph iterators.
11747         (isMultiLingual): ditto
11748
11749         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11750
11751 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11752
11753         * FontLoader.C: Support for cmr font.
11754
11755 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11756
11757         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11758         (available): New method.
11759
11760         * FontInfo.C (getFontname): Use scalable fonts even when
11761         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11762         found.
11763
11764 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * converter.C (Formats::view): reverted! Incorrect fix.
11767
11768 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * converter.C (Formats::view): only output the -paper option
11771         if the dvi viewer is xdvi, thereby fixing bug #233429.
11772
11773 2001-08-23  Herbert Voss  <voss@perce>
11774
11775         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11776
11777 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11778
11779         * Spacing.h (Spacing): Set space to Default on in the default
11780         constructor.
11781
11782 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * vc-backend.h (RCS::versionString): add RCS to version
11785         (CVS::versionString): add CVS to version
11786
11787         * vc-backend.C (scanMaster): do not add CVS to version.
11788         (scanMaster): do not add RCS to version
11789
11790         * lyxvc.C (versionString): new method
11791
11792         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11793
11794 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * Spacing.C (set): initialize fval
11797
11798 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11799
11800         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11801         " or \.
11802
11803 2001-08-16  Juergen Vigna  <jug@sad.it>
11804
11805         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11806
11807 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * BufferView_pimpl.C:
11810         * figureForm.C:
11811         * lyxtext.h:
11812         * text2.C: setParagraph takes linespacing now
11813
11814 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11815
11816         * LyxAction.C: add internal LFUN_CITATION_INSERT
11817
11818         * LyXView.C: actually apply fix
11819
11820         * bufferlist.C: fix open non-existent file
11821
11822         * lyxfind.C: fix indentation
11823
11824         * lyxfunc.C: remove unneeded assert, fix typo
11825
11826 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * MenuBackend.C: use "Floatname List"
11829
11830 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11833         when converting LaTeX layout to insetERT.
11834         Generate a non-collapsed float when reading old float
11835
11836 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11837
11838         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11839         ERT insets.
11840
11841 2001-08-13  Juergen Vigna  <jug@sad.it>
11842
11843         * text.C (fill): return 0 instead of 20 as this seems to be the more
11844         correct value.
11845
11846 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11847
11848         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11849         lyxrc.font_norm.
11850
11851 2001-08-13  Juergen Vigna  <jug@sad.it>
11852
11853         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11854         casesensitive off.
11855         (SearchBackward): comment out the unlocking of the inset_owner this
11856         should not be needed!
11857
11858 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11859
11860         * Many files: Remove inherit_language, and add latex_language
11861
11862         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11863         collapsible insets.
11864
11865 2001-08-10  Juergen Vigna  <jug@sad.it>
11866
11867         * text.C (prepareToPrint): fixed hfill-width in draw!
11868
11869         * BufferView2.C (selectLastWord): save the selection cursor as this
11870         now is cleared in the function LyXText::clearSelection!
11871
11872 2001-08-08  Juergen Vigna  <jug@sad.it>
11873
11874         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11875         BACKSPACE type functions.
11876
11877         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11878         is only cutted from the document but not put in the cut-buffer, where
11879         still the old stuff should be.
11880
11881         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11882
11883         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11884
11885         * tabular.C (SetWidthOfCell): fixed special case where the width
11886         was not updated!
11887         (LeftLine): handle '|' in align_special.
11888         (RightLine): ditto
11889         (LeftAlreadyDrawed): ditto
11890         (SetWidthOfCell): ditto
11891
11892 2001-08-07  Juergen Vigna  <jug@sad.it>
11893
11894         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11895
11896 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11899         * lyxlex.[hC]: ditto
11900
11901 2001-08-06  Juergen Vigna  <jug@sad.it>
11902
11903         * text.C (getVisibleRow): fix up row clearing a bit.
11904
11905 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * minibuffer.C: make sure the X server sees the changes in the input.
11908
11909 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11910
11911         * paragraph.C (getFont): split into...
11912         (getLabelFont): this
11913         (getLayoutFont): and this
11914         * paragraph_pimpl.C (realizeFont): calling this
11915
11916         * text2.C (getFont): split into...
11917         (getLayoutFont): this
11918         (getLabelFont): and this
11919         (realizeFont): all three calling this
11920
11921         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11922         files where used.
11923
11924 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11925
11926         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11927
11928 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11929
11930         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11931         layouts from the Quote inset insertion.
11932
11933 2001-08-03  Juergen Vigna  <jug@sad.it>
11934
11935         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11936
11937         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11938         only if status not is already CHANGED_IN_DRAW (second level).
11939
11940         * text.C (draw): don't set the need_break_row when inside an
11941         InsetText LyXText.
11942
11943 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11944
11945         * buffer.C (parseSingleLyXformat2Token): handle more latex
11946         conversion cases.
11947
11948         * bufferview_funcs.[hC]: change function names to
11949         begin with small char, adjust other files.
11950
11951 2001-08-02  André Pönitz <poenitz@gmx.net>
11952
11953         * lyxfunc.C:
11954         BufferView_pimpl.C: remove broken special code for math-greek
11955
11956 2001-08-02  Juergen Vigna  <jug@sad.it>
11957
11958         * BufferView_pimpl.C (update): redone this function so that we
11959         update the text again if there was a CHANGE_IN_DRAW.
11960
11961         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11962         (drawFromTo): added a new internal bool which is used by draw() and
11963         redraw() function.
11964         (general): some cursor drawing problems fixed.
11965
11966 2001-08-01  Juergen Vigna  <jug@sad.it>
11967
11968         * lyxfind.C (LyXFind): fixed
11969         (SearchForward): ditto
11970         (SearchBackward): ditto
11971
11972         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11973         spurius drawing of the cursor in the main area.
11974
11975         * text2.C (status): small fix which could lead to a segfault!
11976         (clearSelection): remove unneeded BufferView param.
11977
11978 2001-08-01  André Pönitz <poenitz@gmx.net>
11979
11980         * lyxfunc.C: small change due to changed mathed interface
11981
11982 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11985
11986 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * lyxfunc.c: fail gracefully if file doesn't exist
11989
11990         * LyXSendto.C:
11991         * buffer.C:
11992         * lyxfunc.C:
11993         * BufferView_pimpl.C: IsDirWriteable() proto changed
11994
11995         * LyXView.C: fix updateWindowTitle() to store the last title
11996
11997 2001-07-31  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12000         the font (wrong since using of Paragraph::highestFontInRange).
12001
12002         * paragraph.C (highestFontInRange): added a default_size parameter.
12003
12004         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12005         (setHeightOfRow): reformat
12006
12007 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * converter.[hC] + affected files: move to (inital-char)lowercase
12010         function names.
12011
12012         * ParagraphParameters.C (ParagraphParameters): remove commented code
12013
12014         * PainterBase.[Ch]: remove commented code
12015
12016         * LaTeXFeatures.h: add "bool floats" for float.sty
12017
12018         * LaTeXFeatures.C (LaTeXFeatures): init floats
12019         (require): handle float
12020         (getPackages): do it with floats
12021
12022 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * BufferView_pimpl.C (Dispatch): improve handling of
12025         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12026
12027         * commandtags.h: #include lyxfont.h here temporarily to avoid
12028         keybinding bug.
12029
12030         * bufferlist.h: include LString.h here.
12031
12032 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12033
12034         * text2.C (getStringToIndex): new method.
12035
12036 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12037
12038         * *: Reduced header file dependencies all over.
12039
12040 2001-07-30  Baruch Even  <baruch@lyx.org>
12041
12042         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12043
12044 2001-07-29  Baruch Even  <baruch@lyx.org>
12045
12046         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12047
12048 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * ParameterStruct.h (endif): add a default constructor to make
12051         sure that all variables is initialized.
12052
12053         * ParagraphParameters.C (ParagraphParameters): adjust
12054
12055 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12058         index; also, check that there is something to index, and that it
12059         does not span over several paragraphs.
12060         (doubleClick): use WHOLE_WORD_STRICT for double click.
12061
12062         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12063
12064         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12065         scheme.
12066
12067 2001-07-26  Baruch Even  <baruch@lyx.org>
12068
12069         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12070         an InsetFig figure, backwards compatible reading of old figure code.
12071
12072 2001-07-27  Juergen Vigna  <jug@sad.it>
12073
12074         * text2.C: font.realize function adaption.
12075
12076         * text.C (draw): add a warnings lyxerr text if needed.
12077
12078         * layout.C: font.realize function adaption.
12079
12080         * language.C: add inherit_language and implement it's handlings
12081
12082         * bufferview_funcs.C (StyleReset): remove language parameter from
12083         font creation (should be language_inherit now).
12084
12085         * bufferparams.C (writeFile): handle ignore_language.
12086
12087         * paragraph.C (getFontSettings): the language has to be resolved
12088         otherwise we have problems in LyXFont!
12089
12090         * lyxfont.C (lyxWriteChanges): added document_language parameter
12091         (update): removed unneeded language parameter
12092
12093         * paragraph.C (validate): fixed wrong output of color-package when
12094         using interface colors for certain fonts in certain environments,
12095         which should not seen as that on the final output.
12096
12097 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * BufferView_pimpl.C:
12100         * Thesaurus.h:
12101         * Thesaurus.C:
12102         * Makefile.am:
12103         * commandtags.h:
12104         * LyXAction.C: add thesaurus support
12105
12106         * lyxfind.h:
12107         * lyxfind.C: add "once" parameter, for thesaurus, to not
12108           move to the next match
12109
12110 2001-07-26  Juergen Vigna  <jug@sad.it>
12111
12112         * lyxfont.C (realize): honor ignore_language too!
12113         (resolved): ditto.
12114
12115         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12116
12117         * text.C (draw): one place more for ignore_language to not draw
12118         itself!
12119
12120 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12121
12122         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12123
12124 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12127         the minipage conversion problem.
12128
12129 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12132         insert an inset.
12133
12134 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * BufferView.h: don't forward declare WorkArea
12137
12138         * BufferView.C: don't include WorkArea.h
12139
12140 2001-07-25  André Pönitz <poenitz@gmx.net>
12141
12142         * commandtags.h:
12143         * LyXAction.C:
12144         * lyxfunc.C:  new LFUN 'math-space'
12145
12146         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12147
12148 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * text2.C (toggleInset): call open/close
12151
12152 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12153
12154         * lyxfunc.C (dispatch): add debug for the disabled case
12155
12156         * font.C (buttonText): make similar to rectText
12157
12158         * buffer.C (readInset): comment out parsing of insetlist and
12159         insttheorem
12160
12161         * PainterBase.C (rectText): small correction
12162
12163         * BufferView_pimpl.C: comment out insettheorem and insetlist
12164         * LyXAction.C: ditto
12165         * commandtags.h: ditto
12166
12167 2001-07-24  Juergen Vigna  <jug@sad.it>
12168
12169         * text.C (draw): honor the ignore_language.
12170
12171         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12172
12173 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12176         char inset.
12177
12178 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12179
12180         * lyxtext.h: remove unused (and unimplemented) methods
12181
12182 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12183
12184         * text.C (getVisibleRow): honor background color
12185
12186         * PainterBase.h:
12187         * Painter.h: remove default color argument for fillRectangle
12188
12189         * text.C (backgroundColor): new method
12190
12191 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12192
12193         * text.C (getVisibleRow): adjust
12194
12195         * font.[Ch] (rectText): new method, metrics
12196         (buttonText): new method, metrics
12197
12198         * PainterBase.[hC]: make rectText and buttonText always draw and take
12199         fewer paramteres.
12200
12201 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12202
12203         * ToolbarDefaults.C (read):
12204         * MenuBackend.C (read): allow escaping in all strings
12205
12206         * BufferView_pimpl.C (insertAndEditInset): new method.
12207         (Dispatch): use insertAndEditInset whenever appropriate.
12208
12209         * BufferView_pimpl.C (insertNote): removed
12210
12211         * BufferView_pimpl.C (smartQuote): new method, moved from
12212         BufferView; if an insetquote cannot be inserted, insert a '"'
12213         character instead.
12214
12215         * BufferView2.C: remove insertCorrectQuote();
12216
12217         * lyxfunc.C (getStatus): Add support for all remaingin
12218         inset-insert lfuns.
12219
12220         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12221
12222         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12223         command (necessary to pass " as parameter of self-insert.
12224
12225         * text.C (selectWordWhenUnderCursor):
12226         (selectWord): add word_location parameter
12227         (selectWordWhenUnderCursor): same + remove special code for word
12228         boundary.
12229         (selectNextWord): use kind() to guess type of insetspecialchar,
12230         not latex().
12231
12232         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12233         (insertErtContents): create ert insets as collapsed.
12234         (readInset): better compatibility code for Info inset.
12235
12236 2001-07-20  Juergen Vigna  <jug@sad.it>
12237
12238         * lyxfunc.C (dispatch): use always LyXFind now!
12239
12240         * text2.C (init): add a reinit flag so that the LyXText can be
12241         reinited instead of deleted and reallocated (used in InsetText).
12242
12243         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12244
12245         * text.C: ditto
12246
12247         * text2.C: ditto
12248
12249 2001-07-18  Juergen Vigna  <jug@sad.it>
12250
12251         * text.C (selectNextWord): handle insets inside inset by calling
12252         always the bv->text functions so that we can go up the_locking_inset!
12253
12254         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12255         in strange locations when inside an inset!
12256
12257         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12258         handling to include insets.
12259
12260         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12261
12262 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12263
12264         * LyXAction.C (init):
12265         * commandtags.h:
12266         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12267         LIGATURE_BREAK, since the name is so stupid.
12268
12269 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12272         InsetInfos.
12273
12274         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12275
12276         * sp_form.[Ch]: remove.
12277
12278         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12279
12280         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12281         InsetInfo.
12282
12283         * src/buffer.C (readInset): ditto.
12284
12285 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12286
12287         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12288         menuSeparator(), endOfSentenceDot(), ldots() and
12289         hyphenationPoint(), which are therefore removed.
12290         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12291
12292         * LyXAction.C (init):
12293         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12294
12295         * paragraph.C (getWord): removed.
12296
12297         * BufferView_pimpl.C (Dispatch): use last word or selection for
12298         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12299
12300         * lyx_main.C (queryUserLyXDir): do not ask before creating
12301         user_dir, except if it has been named explicitely.
12302
12303 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12306         a document of zero size.
12307
12308 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12311         approriately in the c-tor and in require().
12312         (getPackages): output the appropriate LaTeX for natbib support.
12313
12314         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12315         variables "use_natbib" and "use_numerical_citations" when reading the
12316         LyX file.
12317         (readInset): read the various natbib cite commands.
12318         (validate): white-space change.
12319
12320         * bufferparams.[Ch]: new variables "bool use_natbib" and
12321         "bool use_numerical_citations".
12322         (writeFile): output them in the LyX file.
12323
12324 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12325
12326         * lyxfunc.C (getStatus): add support for all the inset insertion
12327         commands.
12328
12329         * text2.C (insertInset):
12330         * paragraph.C (insetAllowed):
12331         * BufferView_pimpl.C (insertInset): update to take in account the
12332         renaming of insertInsetAllowed
12333
12334         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12335
12336         * text2.C (getInset): new method. returns inset at cursor position.
12337
12338         * BufferView_pimpl.C (Dispatch): changes because of this.
12339
12340         * LyXAction.C (init): rename open-stuff to inset-toggle.
12341
12342         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12343
12344         * text2.C (toggleInset): renamed from openStuff; use
12345         Inset::open().
12346
12347 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12348
12349         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12350
12351         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12352
12353 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12354
12355         * buffer.C (readLyXformat2): Add filename to the error dialog
12356
12357 2001-07-18  Juergen Vigna  <jug@sad.it>
12358
12359         * tabular.C (GetCellNumber): put an assert here instead of the check!
12360
12361 2001-07-17  Juergen Vigna  <jug@sad.it>
12362
12363         * BufferView_pimpl.C (toggleSelection): adapted too.
12364
12365         * text.C (selectNextWord): adapted for use with insets.
12366         (selectSelectedWord): ditto
12367
12368 2001-07-17  Juergen Vigna  <jug@sad.it>
12369
12370         * sp_spell.C (PSpell): fix initialitation order.
12371
12372 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * paragraph.C: spacing
12375
12376 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12377
12378         * sp_spell.C: repair language selection for pspell
12379
12380 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * lyxfunc.h: change more methods to begin with lower char.
12383
12384 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12385
12386         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12387         for unknown layouts.
12388
12389 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12390
12391         * buffer.C (readLyXformat2): Generate an error dialog if there are
12392         unknown layouts.
12393
12394 2001-07-16  Juergen Vigna  <jug@sad.it>
12395
12396         * sp_spell.C: always compile ISpell part.
12397
12398         * lyxrc.C: added use_pspell entry and it's handling.
12399
12400 2001-07-13  Juergen Vigna  <jug@sad.it>
12401
12402         * sp_spell.C: removed double includes.
12403
12404 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         Consistent use of Lsstream.h:
12407         * Lsstream.h: added using std::stringstream for consistencies sake.
12408
12409         * buffer.C: removed using std::stringstream
12410
12411         * lyxfont.C (stateText):
12412         * paragraph.C (asString):
12413         * text.C (selectNextWord, selectSelectedWord):
12414         * text2.C (setCounter):
12415         * vspace.C (asString, asLatexString):
12416         std::ostringstream -> ostringstream.
12417
12418 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12419
12420         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12421         * commandtags.h: add LFUN_HELP_ABOUTLYX
12422         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12423
12424 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12425
12426         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12427         cursorToggle()
12428         * lyx_gui_misc.C: remove spellchecker
12429         * lyxfunc.C: showSpellchecker
12430         * sp_base.h: added
12431         * sp_ispell.h: added
12432         * sp_pspell.h: added
12433         * sp_spell.C: added
12434         * sp_form.[Ch]: removed
12435         * spellchecker.[Ch]: removed
12436
12437 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12438
12439         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12440         is set.
12441         (simpleTeXSpecialChars): Simply print the input character without
12442         any special translation if pass_thru is set.
12443
12444         * layout.h: Added bool pass_thru to layout class for being able to
12445         implement pass through of a paragraph for Literate Programming.
12446
12447         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12448         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12449         * layout.C (Read): add "passthru" to list of layout tags and add
12450         code to set the pass_thru boolean when it is read.
12451
12452 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * trans_decl.h: remove allowed from KmodInfo
12455
12456         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12457         remove allowed code
12458         (Load): adjust
12459
12460         * paragraph_pimpl.C (erase): use boost::prior
12461
12462         * Painter.C (text): use data() instead of c_str() when length is
12463         also provided.
12464         * WorkArea.C (putClipboard): ditto
12465         * font.h (width): ditto
12466
12467         * BufferView2.C: use it-> instead of (*it). for iterators
12468         * texrow.C: ditto
12469         * paragraph_pimpl.C: ditto
12470         * paragraph.C: ditto
12471         * minibuffer.C: ditto
12472         * language.C: ditto
12473         * kbmap.C: ditto
12474         * encoding.C: ditto
12475         * counters.C: ditto
12476         * converter.C: ditto
12477         * chset.C: ditto
12478         * Variables.C: ditto
12479         * TextCache.C: ditto
12480         * MenuBackend.C: ditto
12481         * LyXAction.C: ditto
12482         * LColor.C: ditto
12483         * FloatList.C: ditto
12484         * DepTable.C: ditto
12485         * ColorHandler.C (LyXColorHandler): ditto
12486
12487 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12490
12491         * text2.C (openStuff): reintroduce this method (which had been
12492         nuked in NEW_INSETS frenzy).
12493
12494         * lyxfunc.C (Dispatch): when an action has not been handled, use
12495         its name in the error message, not its number.
12496
12497         * paragraph.C (inInset): change method name to begin with lowercase.
12498
12499         * undo_funcs.C:
12500         * text2.C: updates because of this.
12501
12502 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12503
12504         * ToolbarDefaults.C (add): add spaces in error message
12505
12506 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12509         (readLyXformat2): rename return_par to first_par, use lyxlex's
12510         pushToken and remove the manual push handling.
12511         (parseSingleLyXformat2Token): add another ert comp. variable:
12512         in_tabular, rename return_par to first_par. handle newlines better
12513
12514 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12515
12516         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12517
12518 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * text2.C (getParFromID): removed
12521
12522         * buffer.C (getParFromID): new method moved form lyxtext.
12523         * BufferView2.C (insertErrors): adjust
12524         (setCursorFromRow): adjust
12525         * BufferView_pimpl.C (restorePosition): adjust
12526         * lyxfunc.C (Dispatch): adjust
12527         * undo_funcs.C (textUndo): adjust
12528         (textRedo): adjust
12529         (textHandleUndo): adjust
12530         (textHandleUndo): adjust
12531
12532 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * buffer.C: up' the LYX_FORMAT
12535
12536         * lyxfont.h: turn NO_LATEX on as default
12537
12538         * buffer.C (insertErtContents): new methods of tex style compability.
12539         (parseSingleLyXformat2Token): use it several places.
12540         * tabular.C (OldFormatRead): and here
12541
12542 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * text2.C: remove some commented code.
12545         reindent file.
12546
12547         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12548         * trans.C: changes because of the above.
12549
12550 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12551
12552         * text2.C (setCounter): Fix counters bug with bibliography layout.
12553
12554 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12557         own member functions
12558         (simpleTeXSpecialChars): ditto
12559
12560 2001-07-06  Juergen Vigna  <jug@sad.it>
12561
12562         * a lot of files: changed the access to LyXText::status and the
12563         call of undo-functions.
12564
12565         * undo.[Ch]: added a inset_id to the undo informations.
12566
12567         * undo_funcs.[Ch]: added and moved here all undo functions.
12568
12569         * lyxtext.h: give the status enum a weight, made status_ a private
12570         variable and made accessor functions for it, removed the whole bunch
12571         of undo-functions as they are now in their own file, make some
12572         functions publically available. Added function ownerParagraph with
12573         int parameter.
12574
12575         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12576         made InInset() a const function, added getParFromID() function.
12577
12578         * buffer.[Ch]: added const version for inset_iterator functions,
12579         added getInsetFromID() function.
12580
12581         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12582         changed undo functions for new version.
12583
12584 2001-07-05  Juergen Vigna  <jug@sad.it>
12585
12586         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12587         unknow mechanism does not call the proper constructor but only this
12588         one also if I request the other!?
12589
12590 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12593
12594         * text2.C (LyXText): use initialization lists.
12595
12596         * lyxtext.h (Selection): initialize set_ and mark_
12597         (init): remove method
12598
12599 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12600
12601         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12602
12603 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * screen.[Ch]: change method names to begin with lowercase
12606
12607         * BufferView_pimpl.C (updateScrollbar): simplify further and
12608         hopefully make it a bit faster.
12609
12610 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12613         calling directly xforms functions.
12614
12615         * Painter.C (Painter):
12616         * lyx_cb.C (MenuWrite):
12617         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12618         fl_display.
12619
12620         * lyx_gui.C: remove bogus guiruntime extern declaration.
12621
12622 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12625         in NEW_INSETS
12626         (redoDrawingOfParagraph): ditto
12627         (redoParagraphs): ditto
12628         (cutSelection): don't create a object for CutAndPaste use the
12629         static method directly
12630         (pasteSelection): ditto
12631
12632         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12633         LyXview (+ rename)
12634
12635 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * modifications to some other files because of this.
12638
12639         * Makefile.am (lyx_SOURCES): add XFormsView
12640
12641         * XFormsView.[Ch]: new files
12642
12643         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12644         the main window. Move the gui dependent stuff to XFormsView
12645
12646 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * tabular.C (GetCellInset): update cur_cell also in the row/col
12649         version of this function.
12650
12651         * lyxfunc.C: no need to include figure_form.h here.
12652
12653         * FontLoader.h:
12654         * lyxfunc.h:
12655         * lyxscreen.h:
12656         * text2.C:
12657         * lyxvc.C: no need to include forms.h here.
12658
12659 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12660
12661         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12662
12663         * lyxfunc.C (Dispatch):
12664         * Spacing.C (set):
12665         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12666         constructor argument.
12667
12668 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * paragraph.C (Paragraph): dont't clear, and just set layout.
12671         (makeSameLayout): use params's copy contructor.
12672
12673         * ParagraphParameters.[Ch] (makeSame): delete method
12674
12675 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * Variables.[Ch]: fix indentation, rename set to isSet
12678
12679 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * lyxfunc.C (Dispatch): fix typo
12682
12683 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12686         upper_bound.
12687
12688         * bufferlist.C: include assert.h for emergencyWrite().
12689
12690 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12693           give up at last (bug #425202) !
12694
12695 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * lyx_gui_misc.C:
12698         * sp_form.h:
12699         * sp_form.C:
12700         * spellchecker.h:
12701         * spellchecker.C: strip spellchecker options and bring up
12702           preferences tab instead
12703
12704 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12707         the istringstream constructor
12708
12709 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710
12711         * paragraph.C (getLayout): fix return value
12712
12713         * paragraph.h: do not declare getLayout as inline.
12714
12715         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12716
12717 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12718
12719         * lyxcursor.h (operator<): new func
12720         (operator>): new func
12721         (operator>=): new func
12722         (operator<=): new func
12723
12724         * text.C (changeCase): use selection.start and selection.end
12725         (changeRegionCase): require from to be <= to. Require par to be a
12726         valid paragraph.
12727
12728         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12729
12730 2001-06-27  Juergen Vigna  <jug@sad.it>
12731
12732         * text.C (cursorLeftOneWord): changed to return the cursor and added
12733         overlay with BufferView * parameter which calls this one.
12734         (getWord): added
12735         (selectWord): use new getWord function.
12736         (changeCase): renamed from changeWordCase as and extended to work
12737         also on selections.
12738
12739         * lyxtext.h: added enum word_location
12740
12741         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12742         changeCase as this operates now also on selections.
12743
12744 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12745
12746         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12747
12748         * many files: send debug output to Debug::INFO instead of
12749         Debug::ANY.
12750
12751         * converter.C (View):
12752         (Convert):
12753         (Move): send debug output to Debug::FILES instead of console.
12754
12755 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12756
12757         * lyxfunc.C (getStatus): use func_status
12758
12759         * func_status.h: new header, describing the results of
12760         LyXFunc::getStatus;
12761
12762         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12763         LFUN_MATH_HALIGN.
12764
12765 2001-06-25  The LyX Project  <jug@sad.it>
12766
12767         * buffer.C (sgmlOpenTag):
12768         (sgmlCloseTag):
12769         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12770
12771 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * text2.C: remove some dead code
12774
12775         * tabular.C (GetCellInset): store the last cell checked (gotten)
12776
12777         * tabular.h: add the helper for the speedup
12778
12779         * lyxtext.h: remove some dead code
12780
12781 2001-06-26  The LyX Project  <Asger>
12782
12783         * paragraph.C: Change export to LaTeX of alignment to
12784         \begin{center} and family for better roundtrip work with reLyX.
12785
12786         * Tune the math drawing a bit.
12787
12788 2001-06-25  The LyX Project  <Asger>
12789
12790         * LColor.C (LColor): New color for math background. New color
12791         for buttons.
12792
12793 2001-06-25  The LyX Project  <jug@sad.it>
12794
12795         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12796
12797         * lyxfunc.C (Open):
12798         * bufferlist.C (newFile): do not restrict to files ending with
12799         .lyx
12800
12801         * BufferView_pimpl.C (MenuInsertLyXFile):
12802
12803 2001-06-24  The LyX Project  <jug@sad.it>
12804
12805         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12806         of compare_no_case
12807
12808 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * lyxtext.h: rename most methods to begin with a small char.
12811         Lots of changes because of this.
12812
12813         * paragraph.C (Paragraph): do not call fitToSize
12814         (erase): call Pimpl::erase
12815         (insertChar): call Pimpl::insertChar
12816         (insertInset): call Pipl::insertInset
12817         (breakParagraph): do not call fitToSize
12818         (breakParagraphConservative): do not call fitToSize
12819         (fitToSize): remove method
12820
12821         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12822
12823 2001-06-24  The LyX Project  <Asger>
12824
12825         * Fix Qt compilation^2
12826
12827 2001-06-24  The LyX Project  <jug@sad.it>
12828
12829         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12830         depthHook(getDepth()-1).
12831
12832         * paragraph.h:
12833         * ParagraphParameters.h:
12834         * ParameterStruct.h: change type of depth to unsigned int ==
12835         depth_type. Many adaptations to other files before of that.
12836
12837 2001-06-24  The LyX Project  <Asger>
12838
12839         * Fix Qt compilation.
12840
12841 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * paragraph.h: renamed several methods to begin with small letter.
12844         several changes to many parts of the code because of this.
12845
12846 2001-06-23  The LyX Project  <jug@sad.it>
12847
12848         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12849         rewritten to discard all double spaces when KeepEmpty is off
12850         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12851         to only handle newlines but not fiddle with spaces and friends.
12852
12853         * lyxfunc.C (MenuNew): when doing 'new from template', use
12854         template_path as default directory
12855
12856 2001-06-23  The LyX Project  <Asger>
12857
12858         * Clean-up of header file includes all over
12859         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12860
12861 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * paragraph.h: renamed from lyxparagraph.h
12864
12865 2001-06-23  Asger  <lyx@violet.home.sad.it>
12866
12867         * Buffer.h: Removed Buffer::resize
12868         * BufferList.h: Removed BufferList::resize
12869         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12870         the document lazily when we change the width, or the font settings.
12871
12872 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12875
12876 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * buffer.h: remove out of date comment
12879
12880 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyxscreen.h:
12883         * screen.C: fix "theoretical" GC leak
12884
12885 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12886
12887         * LaTeX.C (scanAuxFile):
12888         (deplog): remove trailing \r when reading stream (useful under
12889         win32)
12890
12891 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12892
12893         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12894         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12895         and BufferView::theLockingInset(Inset*), so should use them and not
12896         access bv_->text->the_locking_inset directly.
12897
12898         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12899
12900 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * Makefile.am:
12903         * tex-defs.h: remove old unused file
12904
12905 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * BufferView_pimpl.C: fix typo, remove minibuffer message
12908           when buffer has loaded
12909
12910 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * lyxfunc.C (Dispatch): use stringstream
12913         (MenuNew): use stringstream
12914         (Open): use stringstream
12915
12916         * importer.C (Import): use stringstream
12917
12918         * bufferview_funcs.C (CurrentState): use stringstream
12919
12920         * LaTeX.C (run): use stringstream
12921
12922         * BufferView_pimpl.C (savePosition): use stringstream
12923         (restorePosition): use stringstream
12924         (MenuInsertLyXFile): use stringstream
12925
12926 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12927
12928         * BufferView.C:
12929         * Bullet.C:
12930         * ColorHandler.C:
12931         * FontInfo.C:
12932         * FontLoader.C:
12933         * LColor.C:
12934         * LaTeXFeatures.C:
12935         * Painter.C:
12936         * gettext.C:
12937         * lyx_gui_misc.C:
12938         * lyxserver.C:
12939         * vspace.C: removed // -*- C++ -*- as first line.
12940
12941         * lyxfind.h:
12942         * version.h: added // -*- C++ -*- as first line.
12943
12944 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12947
12948         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12949         of string
12950
12951 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12954         of floats.
12955
12956 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * gettext.C: include LString.h even when --disable-nls is on.
12959
12960 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12961
12962         * converter.h (Get): changed argument type from int to
12963         FormatList::size_type to avoid unnecessary conversion.
12964
12965         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12966         before using it.
12967
12968 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * gettext.h: include LString.h even when --disable-nls is on.
12971
12972 2001-06-07  Juergen Vigna  <jug@sad.it>
12973
12974         * text.C (BreakAgain): subst spaces with tabs.
12975
12976         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12977         (resizeInsetsLyXText): set force on resizeLyXText.
12978
12979 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * gettext.h (gettext_init):
12982         (locale_init): use a real definition instead of a macro
12983
12984 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * Bufferview_pimpl.C:
12987         * LColor.h:
12988         * LColor.C: further lcolor tidies
12989
12990 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * BufferView_pimpl.C (updateScrollbar): simplify.
12993
12994         * BufferView2.C: don't include insets/insetinfo.h, change
12995         prototype for insertInset and call the Pimpl version. let
12996         updateInset call Pimpl version.
12997
12998         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12999         gotoInset to BufferView::Pimpl
13000
13001 2001-06-01  Juergen Vigna  <jug@sad.it>
13002
13003         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13004         inside a LockingInset (is the update needed at all?).
13005
13006 2001-05-31  Juergen Vigna  <jug@sad.it>
13007
13008         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13009         here not the old one otherwise how should we compare it afterwards
13010         if it's the same!
13011
13012 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * lyxfont.C:
13015         * tabular.C:
13016         * tabular-old.C:
13017         * FontInfo.C: bring C functions into global namespace when
13018         necessary
13019
13020 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13021
13022         * LString.h: make sure config.h has been loaded before LString.h.
13023
13024         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13025         (one for each char read by EatLine!).
13026
13027         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13028         variables.
13029
13030 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13033         to the same as the par we break from
13034
13035 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13038
13039         * MenuBackend.C (expand): also create menu entries for wide
13040         versions of the floats.
13041
13042         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13043
13044         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13045
13046         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13047         frontends/Makefile.am
13048
13049         * text2.C: adjust
13050         * text.C: adjust
13051
13052
13053         * tabular.C (getTokenValue): add std::
13054
13055         * tabular-old.C (getTokenValue): add std::
13056         (getTokenValue): ditto
13057         (getTokenValue): ditto
13058
13059         * screen.C (ToggleSelection): adjust
13060
13061         * lyxtext.h: put selection cursors inside a Selection struct.
13062
13063         * lyxfunc.C (moveCursorUpdate): adjust
13064
13065         * lyxfont.C (latexWriteStartChanges): add std::
13066
13067         * lyxfind.C: adjust
13068
13069         * font.h: delete with(char const *, LyXFont const &)
13070
13071         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13072
13073         * FontInfo.C (getFontname): add std::
13074
13075         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13076         (workAreaButtonPress): adjust
13077         (tripleClick): adjust
13078         (update): adjust
13079         (moveCursorUpdate): adjust
13080         (Dispatch): adjust
13081
13082         * BufferView2.C (gotoInset): adjust
13083
13084 2001-05-30  Juergen Vigna  <jug@sad.it>
13085
13086         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13087         to check pspell I add this as default as I now have new pspell
13088         libraries and they seem to use this.
13089
13090 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * text2.C (CutSelection): make the cursor valid before the call to
13093         ClearSelection.
13094
13095 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13096
13097         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13098         relied on 0 terminated strings and other horrors. Bug found due to
13099         the new assert in lyxstring!
13100
13101         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13102         KP_ keys.
13103
13104 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13107         to latinkeys.bind.
13108
13109         * lyxfunc.C (processKeySym): change method of getting to the
13110         self-insert char.
13111
13112         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13113         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13114         * BufferView_pimpl.[Ch]: here as private methods.
13115
13116 2001-05-28  Juergen Vigna  <jug@sad.it>
13117
13118         * text.C (SetHeightOfRow): added the update() call again as it is
13119         needed to initialize inset dimensions!
13120
13121 2001-05-16  Juergen Vigna  <jug@sad.it>
13122
13123         * text2.C (SetCharFont): Add new function with BufferView * and
13124         bool toggleall parameters for setting insets internal fonts.
13125         (SetFont): Freeze the undo as we may change fonts in Insets and
13126         all this change should be inside only one Undo!
13127
13128         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13129         setting font's in insets as for them we have the SetFont function!
13130
13131 2001-05-15  Juergen Vigna  <jug@sad.it>
13132
13133         * text2.C (ClearSelection): to be sure we REALLY don't have any
13134         selection anymore!
13135
13136         * tabular.C (TeXCellPreamble): fixed the left border problem for
13137         multicolumn cells.
13138
13139 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13140
13141         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13142         dependancy file
13143
13144 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13147         LFUN_BREAKPARAGRAPH.
13148
13149         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13150         help test to "internal only", similar for LFUN_INSERT_URL
13151
13152         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13153         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13154         auto_region_delete and deadkeys.
13155
13156 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * LColor.h:
13159         * LColor.C: remove some dead entries, tidy a little
13160
13161 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13162
13163         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13164         commented code.
13165         (Dispatch): implement LFUN_ESCAPE
13166
13167         * commandtags.h: add LFUN_ESCAPE
13168
13169         * LyXAction.C (init): add entry for LFUN_ESCAPE
13170
13171         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13172         Remove commented code.
13173         (insertNote): moved here
13174         (open_new_inset): moved here
13175
13176         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13177         BufferView_pimpl
13178
13179 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * kbmap.C (findbinding): clean it up and make it work correctly.
13182
13183         * lyx_main.C (init): do not pass argc and argv as parameters
13184
13185 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13186
13187         * buffer.C: fix path for OS/2 & Win32
13188
13189         * lyx_gui.C:
13190         * lyx_main:
13191         * lyx_main.C: Added os:: class.
13192
13193         * os2_defines.h: update
13194
13195 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13198         better by trying again with reduced state.
13199
13200 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * lyxrc.C (read): print error about invalid key sequence only when
13203         debugging (because not all latinX keysyms are known to some X
13204         servers)
13205
13206         * kbsequence.C (getiso): add a few std:: qualifiers
13207         (getiso): comment out extra return statement.
13208
13209 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13212         handling.
13213         (Dispatch): enhance the accent inset a bit. (not perfect)
13214
13215 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13218
13219 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * bufferlist.C (emergencyWrite): fix assert() call
13222
13223 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13224
13225         * text.C (InsertChar): Added trivial patch to only send the "you
13226         can not do multiple spaces this way" message once during a
13227         session.
13228
13229 2001-05-08  Baruch Even  <baruch@lyx.org>
13230
13231         * Makefile.am: Changed order of libraries to get LyX to link properly
13232         with the gnome frontend.
13233
13234 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * LaTeXFeatures.h: add a std:: qualifier
13237
13238 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * paragraph.C (String): use stringstream
13241
13242 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * paragraph.C (writeFile): remove footflag arg
13245
13246         * buffer.C (makeLaTeXFile): use stringstream
13247         (latexParagraphs): remove footnot gurba
13248
13249         * LaTeXFeatures.C (getPackages): use stringstream
13250         (getMacros): likewise
13251         (getTClassPreamble): likewise
13252         (getFloatDefinitions): new method
13253
13254         * paragraph.C (writeFile): reindent
13255         (Erase): reindent
13256
13257         * WorkArea.h: revert the xpos + etc changes.
13258
13259         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13260
13261         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13262
13263         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13264         (pasteSelection): likewise
13265         * text2.C (CreateUndo): likewise
13266
13267 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * minibuffer.C (peek_event): temporarily reduce the functionality
13270         of the minibuffer (to allow args on lfuns)
13271
13272         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13273         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13274
13275         * buffer.C (readInset): add compability reading of old float
13276         lists, add reading of new style float list.
13277         (readInset): avoid reevaluation of inscmd.getCmdName()
13278         (getLists): reindent
13279
13280         * MenuBackend.C (MenuItem): implement parsing of
13281         md_floatlistinsert and md_floatinsert.
13282         (expand::LastFiles): move initalizaton of iterators out of loop,
13283         avoid reevaluation.
13284         (expand::Documents): introduce typdedef vector<string> Strings,
13285         and use it.
13286         (expand::ExportFormats): introduce typedef vector<Format const *>
13287         Formats, and use it.
13288         (expand): implement FloatListInsert and FloatInsert.
13289
13290         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13291         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13292         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13293
13294         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13295         handling.
13296         (Dispatch::LFUN_FLOAT_LIST): implement
13297
13298 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13299
13300         * LaTeX.C (run): Fix problem with --export code.
13301
13302 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13303
13304         * BufferView.[Ch] (workarea): removed.
13305         (getClipboard) new method; wrapper for workarea()->getClipboard()
13306
13307         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13308         bug.
13309
13310         * WorkArea.h (width, height, xpos, ypos): These methods all
13311         returned the dimensions of the work_area sub-area of WorkArea,
13312         resulting in a position error if the WorkArea were resized. Now
13313         return the dimensions of the entire WorkArea.
13314
13315         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13316
13317 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * LaTeX.C (deplog): correct the syntax of regex reg1
13320
13321 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * undo.C: remove !NEW_INSETS cruft
13324
13325 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * text2.C: remove !NEW_INSETS cruft
13328
13329         * text.C: remove !NEW_INSETS cruft
13330
13331         * tabular.C: remove !NEW_INSETS cruft
13332
13333         * spellchecker.C: remove !NEW_INSETS cruft
13334
13335         * lyxtext.h: remove !NEW_INSETS cruft
13336
13337         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13338
13339         * lyxfunc.C: remove !NEW_INSETS cruft
13340
13341         * lyxfind.C: remove !NEW_INSETS cruft
13342
13343         * lyx_cb.C: remove !NEW_INSETS cruft
13344
13345         * figureForm.C: remove  !NEW_INSETS cruft
13346
13347         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13348
13349         * buffer.[Ch]: remove !NEW_INSETS cruft
13350
13351         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13352
13353         * CutAndPaste.C: remove !NEW_INSETS cruft
13354
13355         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13356
13357         * BufferView2.C: remove !NEW_INSETS cruft
13358
13359         * BufferView.h: remove !NEW_INSETS cruft
13360
13361 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * Lsstream.h: include LString.h before the sstream headers to
13364         fix problem with gcc 2.95.3 and lyxstring
13365
13366 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13367
13368         * lyx_main.C: add using directives when needed for C functions
13369         declared in std:: namespace.
13370
13371 2001-04-27  Juergen Vigna  <jug@sad.it>
13372
13373         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13374         (SetHeightOfRow): comment out the update call should not be needed!
13375
13376 2001-04-13  Juergen Vigna  <jug@sad.it>
13377
13378         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13379         (LyXTabular): tried to minimize operator= operations (and realized
13380         hopfully Lars wish).
13381
13382 2001-04-27  Juergen Vigna  <jug@sad.it>
13383
13384         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13385
13386 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13389
13390         * buffer.C (readInset): hack to make listof algorithm work
13391
13392         * BufferView_pimpl.C: hack to make listof algorithm work
13393
13394 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * LyXAction.C: removed all !NEW_INSETS cruft
13397         (init): moved lfun_item in method
13398
13399         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13400
13401 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13402
13403         * BufferView2.C (theLockingInset): white space.
13404
13405 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * minibuffer.C: include <iostream>
13408
13409         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13410
13411         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13412
13413         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13414
13415         * text.[Ch] (TransposeChars): new method
13416
13417 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * call message directly through LyXView instead of through LyXFunc
13420         * BufferView2.C: adjust
13421         * BufferView_pimpl.C: adjust
13422         * FontLoader.C: adjust
13423         * buffer.C: adjust
13424         * bufferview_funcs.C: adjust
13425         * converter.C: adjust
13426         * figureForm.C: adjust
13427         * importer.C: adjust
13428         * lyx_cb.C: adjust
13429         * lyx_gui_misc.C: adjust
13430         * lyxfunc.C: adjust
13431         * lyxvc.C: adjust
13432         * text2.C: adjust
13433         + more files in subdirs
13434
13435         * lyxparagraph.h (size): move up int file
13436         (GetLayout): ditto
13437
13438         * adjust all uses of Assert to lyx::Assert.
13439
13440         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13441         lyxfunctional in namespace lyx
13442         * layout.C (hasLayout): ditto
13443         (GetLayout): ditto
13444         (GetLayout): ditto
13445         (delete_layout): ditto
13446         (NumberOfClass): ditto
13447         * converter.C (GetFormat): ditto
13448         (GetNumber): ditto
13449         (Add): ditto
13450         (Delete): ditto
13451         (SetViewer): ditto
13452         * bufferlist.C (getFileNames): ditto
13453         (emergencyWriteAll): ditto
13454         (exists): ditto
13455         (getBuffer): ditto
13456         * MenuBackend.C (hasSubmenu): ditto
13457         (hasMenu): ditto
13458         (getMenu): ditto
13459         * BufferView_pimpl.C (getInsetByCode): ditto
13460
13461 2001-04-18  Juergen Vigna  <jug@sad.it>
13462
13463         * vspace.C (asLatexString): fixed the 100% problem.
13464
13465 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * lyxfunc.C (Dispatch):
13468         * minibuffer.C:
13469         * minibuffer.h: add a few std:: qualifiers
13470
13471 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * minibuffer.[Ch]: reimplement so that commands is initiated and
13474         run from lyxfunc, simplified som handling, and made the completion
13475         and history code for complete. wip.
13476
13477         * lyxfunc.C (processKeySym): call message
13478         (miniDispatch): new temporary method
13479         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13480         (LFUN_MESSAGE): implement
13481         (LFUN_MESSAGE_PUSH): implement
13482         (LFUN_MESSAGE_POP): implement
13483         (initMiniBuffer): the initial/defualt minibuffer message.
13484
13485         * lyxfont.[Ch]: inline some more getters
13486
13487         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13488
13489         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13490
13491         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13492         (AutoSave): use LFUN_MESSAGE
13493         (Reconfigure): ditto
13494
13495         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13496
13497         * figureForm.C: use LFUN_MESSAGE
13498
13499         * converter.C (runLaTeX): use LFUN_MESSAGE
13500
13501         * bufferview_funcs.C: use LFUN_MESSAGE
13502         (Melt): ditto
13503         (changeDepth): ditto
13504
13505         * bufferparams.h: use boost::
13506
13507         * bufferlist.h: inherit privately from noncopyable
13508
13509         * bufferlist.C (loadLyXFile): remove some commented code.
13510
13511         * buffer.C (runChktex): use LFUN_MESSAGE
13512
13513         * ShareContainer.h: inherit privately from noncopyable
13514
13515         * ParagraphParameters.[hC] (depth): inline it.
13516
13517         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13518         methods.
13519         (message): new method
13520         (messagePush): ditto
13521         (messagePop): ditto
13522         (show): init minibuffer
13523         (showState): direct call
13524
13525         * LaTeX.[Ch]: inherit privately from noncopyable
13526         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13527         instead of WriteStatus.
13528
13529         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13530
13531         * BufferView_pimpl.C (buffer): don't init minibuffer
13532         (workAreaButtonPress): use LFUN_MESSAGE
13533         (workAreaButtonRelease): ditto
13534         (savePosition): ditto
13535         (restorePosition): ditto
13536         (MenuInsertLyXFile): ditto
13537         (workAreaExpose): don't init minibuffer
13538         (update): remove commented code, simplify
13539
13540         * BufferView2.C (openStuff): use LFUN_MESSAGE
13541         (toggleFloat): ditto
13542         (menuUndo): ditto
13543         (menuRedo): ditto
13544         (copyEnvironment): ditto
13545         (pasteEnvironment): ditto
13546         (copy): ditto
13547         (cut): ditto
13548         (paste): ditto
13549         (gotoInset): ditto
13550         (updateInset): remove some commented code
13551
13552         * lastfiles.h: inherit privately from noncopyable
13553         * layout.h: ditto
13554         * lyx_gui.h: ditto
13555         * lyx_main.h: ditto
13556         * lyxlex.h: ditto
13557         * lyxlex_pimpl.h: ditto
13558
13559         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13560         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13561         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13562
13563         * LyXAction.h: inherit privately from noncopyable, add methods
13564         func_begin, func_end, returning iterators to the func map.
13565
13566         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13567         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13568         (func_begin): new method
13569         (func_end): new method
13570
13571         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13572         and not)
13573         (copySelection): ditto
13574         (pasteSelection): ditto
13575
13576         * BufferView.C: whitespace change
13577         * BufferView.h: inherit privately from noncopyable
13578
13579 2001-04-16  Allan Rae  <rae@lyx.org>
13580
13581         * tabular-old.C (l_getline):
13582         * spellchecker.C (sc_check_word):
13583         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13584         an unrecognised preprocessor directive.  So ensure they're wrapped.
13585
13586 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * src/exporter.C (Export): Give an error message when path to file
13589         contains spaces.
13590
13591 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * LaTeX.C (deplog): Always check that foundfile exists.
13594
13595 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * lyx_main.h:
13598         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13599
13600 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * tabular.[Ch] (getLabelList): implement new method
13603
13604         * minibuffer.h: comment ouf setTiimer
13605
13606         * minibuffer.C (ExecutingCB): constify res
13607         (peek_event): constify s
13608         (Set): constify ntext
13609         (Init): constify nicename
13610
13611         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13612
13613         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13614         (savePosition): use two params to Minibuffer::Set
13615         (restorePosition): ditto
13616
13617 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * lyx_main.C: include language.h
13620
13621         * Makefile.am (lyx_main.o): add language.h
13622
13623 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * exporter.C:
13626         * paragraph.C:
13627         * screen.C:
13628         * tabular.C:
13629         * CutAndPaste.C: include gettext.h
13630
13631         * lyxfont.h: remove old hack with ON and OFF.
13632
13633         * lyxparagraph.h:
13634         * lyxfont.h: do not include language.h...
13635
13636         * BufferView2.C:
13637         * LaTeXFeatures.C:
13638         * Painter.C:
13639         * bufferview_funcs.C:
13640         * font.C:
13641         * lyxfont.C:
13642         * text.C:
13643         * text2.C:
13644         * trans_mgr.C:
13645         * paragraph.C: ... but do it here instead
13646
13647 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13650
13651         * tabular.C: small reformat
13652
13653         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13654         NEW_INSETS version
13655         (GetChar): ditto
13656         (BreakParagraph): ditto
13657         (SetOnlyLayout): ditto
13658         (SetLayout): ditto
13659
13660         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13661         with one arg less.
13662
13663         * lastfiles.C: removed most using decl, add std:: where needed
13664
13665         * buffer.C: ws changes
13666
13667         * MenuBackend.C (class compare_format): put into anon namespace
13668         (expand): constify label, names, action, action2
13669         (expand):
13670
13671         * text.C (SingleWidth): constify font
13672         (IsBoundary): constify rtl2
13673         (GetVisibleRow): constify ww
13674
13675         * LaTeX.C (deplog): constify logfile
13676
13677         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13678         start_x, end_x
13679         (workAreaExpose): constify widthChange, heightChange
13680
13681         * lyxrow.C (par): moved
13682         (height): moved
13683         (next): moved
13684         * lyxrow.h: as inlines here
13685
13686         * lyxfont.h (shape): moved from lyxfont.C
13687         (emph): moved from lyxfont.C
13688
13689         * lyxfont.C (LyXFont): use initialization list for all
13690         constructors
13691         (shape): move to lyxfont.h as inline
13692         (emph): move to lyxfont.h as inline
13693
13694
13695 2001-04-04  Juergen Vigna  <jug@sad.it>
13696
13697         * vspace.C: had to include stdio.h for use of sscanf
13698
13699 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13700
13701         * BufferView.h:
13702         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13703         independent of xforms.
13704
13705 2001-04-02  Juergen Vigna  <jug@sad.it>
13706
13707         * spellchecker.C: fixed namespace placing!
13708
13709 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13712         the LyXParagraph * is 0.
13713
13714 2001-03-29  Juergen Vigna  <jug@sad.it>
13715
13716         * vspace.C: added support for %, c%, p%, l%.
13717         (stringFromUnit): added helper function.
13718         (asLatexString): changed to give right results for the %-values.
13719
13720         * buffer.C: convert the widthp in a width%.
13721
13722 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13725         figureForm.[Ch].
13726
13727         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13728         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13729
13730         * lyx_cb.[Ch]: see above.
13731
13732         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13733         form1.[Ch].
13734
13735         * form1.[Ch]:
13736         * lyx.[Ch]: replaced by figure_form.[Ch].
13737
13738         * lyx_gui.C:
13739         * lyx_gui_misc.C:
13740         * lyxfunc.C: changed headers associated with above changes.
13741
13742 2001-03-27  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView_pimpl.C: set the temporary cursor right!
13745
13746 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13747
13748         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13749
13750 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13751
13752         * LString.h: removed "using std::getline"!
13753
13754         * BufferView_pimpl.C (Dispatch): changes due to changes in
13755         InsetInclude::Params.
13756
13757         * buffer.C (tag_name): removed redundant break statements as they were
13758         producing lots of warnings with my compiler.
13759
13760 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * LString.h: add "using std::getline" when using the real <string>.
13763
13764 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13765
13766         * buffer.C: removed bitset usage.
13767         PAR_TAG moved to an anonymous name space.
13768         (tag_name): new funtion, also in the anonymous namespace.
13769         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13770         (makeDocBookFile): clean code. Completed transition from string arrays
13771         to string vectors.
13772         (SimpleDocBookOnePar): code clean.
13773
13774 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13775
13776         * tabular.C: add some comments.
13777
13778 2001-03-22  Juergen Vigna  <jug@sad.it>
13779
13780         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13781         compatibility read a bit and fixed bug with minipage in different
13782         depth.
13783
13784 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13785
13786         * buffer.C (pop_tag): removed.
13787         (push_tag): removed.
13788         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13789         array replaced with vector. Added support for CDATA sections.
13790         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13791         at any nest level.
13792         (makeDocBookFile): XML conformant declaration of CDATA section,
13793         fixed bug related to <emphasis> in the first paragraph char.
13794         (sgmlOpenTag): exclude empty tags.
13795         (sgmlCloseTag): ditto.
13796
13797         * buffer.h (pop_tag): removed.
13798         (push_tag): removed.
13799
13800 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * language.h (Languages): added size_type and size().
13803
13804 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13805
13806         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13807         response on compability reading of minipages. One probliem is that
13808         the old usage of minipages was «flertydig»
13809
13810         * several files here and in subdirs: don't use static at file
13811         scope use anon namespaces instead.
13812
13813 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13814
13815         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13816         LaTeX output. This is necessary for Literate document
13817         processing.
13818
13819 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13820
13821         * buffer.C: insert hfill when needed.
13822
13823         * tabular.C (l_getline): use string::erase, small whitespace change.
13824
13825         * BufferView_pimpl.C: try the anon namespace.
13826         * WorkArea.C: ditto
13827
13828 2001-03-16  Juergen Vigna  <jug@sad.it>
13829
13830         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13831         otherwise it won't open options-dialogs.
13832
13833         * buffer.C: honor pextraWidth(p) on converting minipages.
13834
13835         * tabular.C (l_getline): changed the functions to strip trailing \r.
13836
13837 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         * BufferView_pimpl.C:
13840         * minibuffer..C: added "using SigC::slot" declaration.
13841
13842 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13843
13844         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13845
13846         * text2.C: ditto
13847
13848         * text.C: ditto
13849
13850         * paragraph.C: ditto
13851
13852         * lyxtext.h: NO_PEXTRA
13853
13854         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13855
13856         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13857         * ParameterStruct.h: ditto
13858         * ParagraphParameters.h: ditto
13859         * lyxparagraph.h: ditto
13860
13861 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13862
13863         * buffer.C: add compability for minipage alignment.
13864         (latexParagraphs): remove unwanted pextra check.
13865
13866         * several files: remove CXX_WORKING_NAMESPACES
13867
13868         * buffer.C (pop_tag): tie is in namespace boost
13869
13870         * BufferView.h: noncopyable is in namespace boost
13871         * lyxlex.h: ditto
13872         * lyx_main.h: ditto
13873         * lyx_gui.h: ditto
13874         * layout.h: ditto
13875         * lastfiles.h: ditto
13876         * bufferlist.h: ditto
13877         * ShareContainer.h: ditto
13878         * LyXView.h: ditto
13879         * LyXAction.h: ditto
13880         * LaTeX.h: ditto
13881
13882 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13883
13884         * Merging changes from BRANCH_MVC back into HEAD.
13885
13886         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13887
13888 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13889
13890         * BufferView_pimpl.C: change from intl.C
13891
13892         * combox.h:
13893         * combox.C:
13894         * Makefile.am: move combox.*
13895
13896         * form1.h:
13897         * form1.C:
13898         * lyx_gui.C:
13899         * intl.h:
13900         * intl.C: remove dialog (covered by prefs)
13901
13902 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13903
13904         * lyxfunc.C (Dispatch): removed redundant break statement.
13905
13906 2001-03-14  Juergen Vigna  <jug@sad.it>
13907
13908         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13909
13910 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13911
13912         * buffer.C: add hack to fix compability reading of minipages.
13913
13914 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * buffer.C (getLists): Cleanup.
13917
13918 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * lyxfont.C (update): don't honor toggleall on font size.
13921
13922 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13923
13924         * bmtable.c:
13925         * bmtable.h:
13926         * Makefile.am: moved to frontends/xforms/
13927
13928         * lyx_gui_misc.C:
13929         * lyxfunc.C:
13930         * BufferView_pimpl.C: changes for moved mathpanel
13931
13932 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * gettext.h: fix gettext_init() in --disable-nls
13935
13936 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13937
13938         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13939
13940 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * lyx.C:
13943         * lyx.h: strip external form
13944
13945 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * BufferView_pimpl.C: add comment, destroySplash()
13948
13949 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * BufferView_pimpl.C:
13952         * LyXAction.C:
13953         * buffer.C:
13954         * commandtags.h:
13955         * lyxfunc.C: use re-worked insetinclude
13956
13957 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13958
13959         * buffer.C: add using std::stringstream.
13960
13961         * lyx_cb.C: readd using std::ios.
13962
13963         * buffer.C: add using std::map.
13964
13965         * BufferView_pimpl.C: add using std::vector.
13966
13967         * ShareContainer.h: add std:: to swap.
13968
13969         * buffer.h: add some typedefs
13970         * buffer.C (getLists): use them
13971         (getLists): renamed from getTocList.
13972         add a counter for the different float types and use it in the
13973         generated string.
13974         (getLists): use the same counter for the NEW_INSETS and the "non"
13975         NEW_INSETS
13976
13977         * lyx_cb.h: remove unused items, includes, using etc.
13978
13979         * ShareContainer.h: remove some commented code, add more comments
13980         and "documentation".
13981
13982 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13983
13984         * buffer.C (getTocList): make the list also when NEW_INSETS is
13985         defined.
13986
13987         * buffer.h: remove TocType
13988
13989         * buffer.C (getTocList): change to return a map<string,
13990         vector<TocItem> >, implement for dynamic number of list.
13991
13992         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13993         * text2.C (PasteSelection): adjust
13994         * CutAndPaste.C (pasteSelection): adjust
13995
13996         * FloatList.C (FloatList): update from the new_insets branch.
13997         * Floating.[Ch]: ditto
13998         * LaTeXFeatures.C: ditto
13999         * buffer.C: ditto
14000         * lyxlex_pimpl.C: ditto
14001
14002         * paragraph.C (Last): remove when NEW_INSETS is defined.
14003
14004         * other file: changes because of the above.
14005
14006 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14007
14008         * lyxparagraph.h: rename next to next_, previous to previous_,
14009         make them private for NEW_INSETS. Rename Next() to next(),
14010         Previous() to previous().
14011
14012         * other files: changes because of the above.
14013
14014 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14015
14016         * BufferView.h:
14017         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14018         problem.
14019
14020 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * main.C (main): pass lyx_localedir to gettext_init().
14023
14024         * gettext.h: remove locale_init and gettext_init macros
14025
14026         * gettext.C (locale_init): new function
14027         (gettext_init): new function
14028
14029         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14030         setlocale().
14031
14032 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14033
14034         * Moved credits to frontends:
14035         * credits.[Ch]: removed
14036         * credits_form.[Ch]: removed
14037         * lyx_gui_misc.C: remove credits stuff
14038         * Makefile.am:
14039
14040 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14041
14042         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14043
14044         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14045         unneeded destructor.
14046
14047         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14048         a standalone pointer again.
14049
14050         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14051
14052 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * Makefile.am:
14055         * filedlg.h:
14056         * filedlg.C:
14057         * LyXAction.C:
14058         * ToolbarDefaults.C:
14059         * bufferlist.C:
14060         * commandtags.h:
14061         * form1.C:
14062         * form1.h:
14063         * lyx_cb.C:
14064         * lyx_cb.h:
14065         * lyxfunc.h:
14066         * lyxfunc.C:
14067         * BufferView_pimpl.C: use new file dialog in GUII
14068
14069         * lyx_cb.h:
14070         * lyx_cb.C: remove LayoutsCB to Toolbar
14071
14072 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * ShareContainer.h (get): add std:: qualifier
14075
14076 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * ShareContainer.h: define a proper ShareContainer::value_type
14079         type (and use typename to please compaq cxx)
14080
14081 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14082
14083         * lyxparagraph.h: move serveral local vars to
14084         ParameterStruct/ParagraphParameters., use ShareContainer in
14085         FontTable., make vars in FontTable private and add getter and
14086         setter.
14087
14088         * paragraph.C: changes because of the above.
14089
14090         * lyxfont.h: remove copy constructor and copy assignment. (the
14091         default ones is ok), move number inside FontBits. move inlines to
14092         lyxfont.C
14093
14094         * lyxfont.C: add number to initializaton of statics, move several
14095         inlines here. constify several local vars. some whitespace
14096         cleanup. Dont hide outerscope variables.
14097
14098         * Spacing.h: add two new constructors to match the set methods.
14099
14100         * ShareContainer.h: new file, will perhaps be moved to support
14101
14102         * ParameterStruct.h: new file
14103
14104         * ParagraphParameters.h: new file
14105
14106         * ParagraphParameters.C: new file
14107
14108         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14109         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14110
14111         * BufferView_pimpl.C: ParagraphParameter changes.
14112         * buffer.C: Likewise.
14113         * bufferview_funcs.C: Likewise.
14114         * text.C: Likewise.
14115         * text2.C: Likewise.
14116
14117 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * lyxfind.C (LyXReplace): do not redefine default argument in
14120         implementation.
14121         (IsStringInText): ditto
14122         (SearchForward): ditto
14123         (SearchBackward): ditto
14124
14125 2001-03-06  Juergen Vigna  <jug@sad.it>
14126
14127         * lyxfind.C (IsStringInText): put parentes around expressions.
14128
14129 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14130
14131         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14132
14133 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14136
14137         * stl_string_fwd.h: add comment
14138
14139         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14140
14141         * tabular.h:
14142         * tabular.C: remove unused DocBook methods
14143
14144         * intl.C:
14145         * language.C:
14146         * paragraph.C:
14147         * buffer.C:
14148         killed DO_USE_DEFAULT_LANGUAGE
14149
14150 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14151
14152         * lyx_gui.C: do not include language.h.
14153
14154         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14155         arguments in function implementation.
14156
14157 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14158
14159         * BufferView_pimpl.C: add <ctime>
14160
14161 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14162
14163         * BufferView_pimpl.C: add using std::find_if
14164
14165 2001-02-27  José Matos  <jamatos@fep.up.pt>
14166
14167         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14168         by OnlyPath.
14169
14170 2001-02-11  José Matos  <jamatos@fep.up.pt>
14171
14172         * buffer.C (makeDocBookFile): command styles now have a parameter as
14173         "title" by default.
14174
14175 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14176
14177         * layout_forms.[Ch]: removed
14178         * lyx_cb.[Ch]: out character
14179         * lyx_gui.C: out character
14180         * lyx_gui_misc.C: out character
14181         * bufferview_funcs.C: : out character,
14182         added toggleall as parameter in ToggleAndShow
14183
14184 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14185
14186         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14187
14188         * text2.C (SetCurrentFont): Disable number property at boundary.
14189
14190 2001-02-26  Juergen Vigna  <jug@sad.it>
14191
14192         * lyxfunc.C (getStatus): added a string argument override function so
14193         that this is correctly called from LyXFunc::Dispatch if it contains a
14194         do_not_use_argument which is used!
14195         (Dispatch): added check for "custom" export and call appropriate func.
14196
14197 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14198
14199         * lyxrc.C: Add language_command_local, language_use_babel and
14200         language_global_options.
14201
14202         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14203
14204         * buffer.C (makeLaTeXFile): Use language_use_babel and
14205         language_global_options.
14206
14207 2001-02-23  Juergen Vigna  <jug@sad.it>
14208
14209         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14210         which works with LyXText and putted it inside BufferView. Here now we
14211         only call for that part the BufferView::Dispatch() function.
14212
14213         * BufferView.C (Dispatch): added.
14214
14215         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14216         functions which needs to use a LyXText over from LyXFunc.
14217         (MenuInsertLyXFile): added
14218         (getInsetByCode): added
14219         (moveCursorUpdate): added
14220         (static TEXT): added
14221
14222 2001-02-22  Juergen Vigna  <jug@sad.it>
14223
14224         * BufferView_pimpl.C (update): call a status update to see if LyXText
14225         needs it.
14226
14227 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14228
14229         * vc-backend.C (revert): implement for CVS
14230         (getLog): implement for CVS
14231
14232 2001-02-20  Juergen Vigna  <jug@sad.it>
14233
14234         * text2.C (ClearSelection): added BufferView param for inset_owner call
14235
14236         * lyxfunc.C (TEXT): added this function and use it instead of
14237         directly owner->view()-text of getLyXText().
14238
14239 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14240
14241         * src/layout_forms.C: out preamble
14242         * src/layout_forms.h: out preamble
14243         * src/lyx_cb.C: out preamble
14244         * src/lyx_cb.h: out preamble
14245         * src/lyx_gui.C: out preamble
14246         * src/lyx_gui_misc.C: out preamble
14247         * src/lyxfunc.C: connect with guii preamble
14248
14249 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14252
14253 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14256         whether to run bibtex.
14257
14258 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14261
14262 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14263
14264         * Makefile.am (lyx_SOURCES): removed bibforms.h
14265
14266         * vspace.h: doxygen
14267
14268         * text.C (GetVisibleRow): make several local vars const
14269
14270         * tabular.C: small cleanup.
14271
14272         * lyxserver.C (callback): use compare instead of strncmp
14273
14274         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14275         inlines to after class or to paragraph.C
14276
14277         * lyxfont.h: remove friend operator!=
14278
14279         * converter.h: move friend bool operator< to non friend and after
14280         class def.
14281
14282         * combox.h: small cleanup
14283
14284         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14285         to inlines after class def.
14286
14287         * buffer.C (pop_tag): use string operations instead of strcmp
14288
14289         * bmtable.c: doxygen, small cleanup
14290
14291         * LaTeX.h: remove friend operator==
14292
14293 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14294
14295         * screen.C:
14296         * lyxrc.[Ch]:
14297         * lyxfunc.C:
14298         * lyxfont.[Ch]:
14299         * lyx_cb.C:
14300         * intl.[Ch]:
14301         * commandtags.h:
14302         * buffer.C:
14303         * WorkArea.[Ch]:
14304         * LyXAction.C:
14305         * BufferView_pimpl.C:
14306         * BufferView.[Ch]: remove cruft
14307
14308 2001-02-14  Juergen Vigna  <jug@sad.it>
14309
14310         * lyxfunc.C: removed #if 0 unused code
14311
14312         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14313
14314         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14315
14316         * text2.C (SetSelection): added a BufferView * parameter
14317
14318 2001-02-13  Juergen Vigna  <jug@sad.it>
14319
14320         * lyxfunc.C (Dispatch): fixed protected blank problem.
14321         * BufferView2.C (protectedBlank): added LyxText * parameter.
14322
14323         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14324         (AppendColumn): same as above for column_info.
14325
14326         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14327         (moveCursorUpdate): use a LyXText param for support of InsetText.
14328
14329         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14330         (tripleClick): ditto
14331
14332         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14333
14334         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14335
14336         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14337
14338         * text2.C (SetSelection): set correct update status if inset_owner
14339         (ToggleFree): ditto
14340
14341 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14342
14343         * tabular.C: remove some commented code.
14344
14345 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14346
14347         * BufferView_pimpl.C: call hideSplash()
14348
14349         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14350
14351         * include_form.h:
14352         * bibforms.h: remove
14353
14354         * lyxfunc.C:
14355         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14356           add LFUN_CHILD_CREATE
14357
14358         * counters.h: fix tiny typo
14359
14360         * lyx_cb.C:
14361         * lyx.h:
14362         * lyx_gui.C:
14363         * lyx.C: move splash to frontends/xforms/
14364
14365         * lyx_gui_misc.C: move Include and Bibform to frontends
14366
14367         * lyxvc.h: clarify comment
14368
14369         * vspace.C: tiny housekeeping
14370
14371 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * text.C (PrepareToPrint): RTL Fix.
14374
14375         * paragraph.C (GetUChar): New method.
14376         (String):  Use GetUChar.
14377
14378         * buffer.C (asciiParagraph): Use GetUChar.
14379
14380 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14383
14384 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * buffer.h:
14387         * buffer.C: rename to getLogName(), handle
14388           build log / latex log nicely
14389
14390 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * MenuBackend.C:
14393         * MenuBackend.h: remove support for reference menuitem type.
14394
14395 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14396
14397         * BufferView_pimpl.C: housekeeping
14398         * BufferView_pimpl.h:
14399         * LyXView.h:
14400         * Makefile.am:
14401         * Timeout.C:
14402         * Timeout.h:
14403         * minibuffer.h: move Timeout GUI-I
14404
14405 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14406
14407         * lyxrc.C (read): Update converters data-structures.
14408
14409 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14410
14411         * LaTeX.h (operator!=): add operator != for Aux_Info
14412
14413 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14416
14417         * LaTeXLog.C: deleted, useful code moved to Buffer
14418
14419         * buffer.h:
14420         * buffer.C: new function getLatexLogName()
14421
14422         * lyx_gui_misc.C:
14423         * lyx_gui.C:
14424         * lyxvc.C:
14425         * lyxvc.h:
14426         * lyxfunc.C: use frontends for LaTeX and VC logs
14427
14428 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * LaTeX.h: yet another std:: that Allan forgot.
14431
14432         * Variables.C (set): renamed from isset(), because this clashes
14433         with some HP-UX macros (grr).
14434
14435 2001-02-06  Allan Rae  <rae@lyx.org>
14436
14437         * LaTeX.h: Another bug fix.  Missing std:: this time.
14438
14439 2001-02-04  Allan Rae  <rae@lyx.org>
14440
14441         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14442         floats problem. I've left it commented out because it's not quite
14443         correct.  It should also test that the current object is a table or
14444         figure inset.  But I haven't gotten around to figuring out how to do
14445         that.  I *think* it'll be something like: "table" == inset.type()
14446
14447         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14448         bool.
14449
14450 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14453         all the citation/databases/styles in the auxilary file.
14454         (run): Rerun latex if there was a babel language error.
14455
14456 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14457
14458         * text.C (Backspace): Preserve the font when changing newline char
14459         with a space.
14460         (BreakParagraph): If the cursor is before a space, delete the space.
14461
14462         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14463
14464 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14465
14466         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14467         new argument (code).
14468         (ChangeCitationsIfUnique): New method.
14469
14470         * paragraph.C (GetPositionOfInset): Handle bibkey.
14471
14472 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * BufferView_pimpl.h: change type of Position::par_pos to
14475         LyXParagraph::size_type.
14476
14477 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14478
14479         * BufferView_pimpl.C (savePosition, restorePosition): Write
14480         messages to minibuffer.
14481
14482 2001-01-28  José Matos  <jamatos@fep.up.pt>
14483
14484         * buffer.C (makeDocBookFile): adds support for document language.
14485         A silly restriction on the name of LatexCommand types where removed.
14486         Added support for CDATA sections, allows to chars unescaped, used
14487         among others in code, to avoid escape < and >.
14488
14489 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14492         saved positions instrad of a stack. Furthermore, a position is
14493         stored using paragraph id/paragraph position.
14494
14495         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14496         Remove LFUN_REF_BACK.
14497
14498 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14499
14500         * converter.C (dvipdfm_options): New method.
14501
14502 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14503
14504         * vspace.C (isValidLength): Fix for empty input string.
14505
14506 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14507
14508         * LyXAction.C (init): change description of LFUN_FIGURE to
14509         "Insert Graphics"
14510
14511 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14512
14513         * LaTeX.C: add using directive
14514
14515 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * MenuBackend.C (expand): Fix the sorting of the formats.
14518
14519 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * lyx_main.C: tiny error message fix
14522
14523 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14526         calling fl_initialize(). This fixes the problem with ',' as
14527         decimal separator in text files.
14528
14529 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * trans.C (process): Fix the keymap bug.
14532
14533 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14534
14535         * LaTeX.C (scanAuxFiles): New method. Provides support for
14536         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14537         (scanLogFile) Scan for "run BibTeX" messages.
14538
14539         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14540         OT1 font encoding. Also, load the aecompl package if the ae
14541         package is loaded.
14542
14543         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14544
14545 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * texrow.C (increasePos): turn two error messages into debug
14548         messages.
14549
14550 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14551
14552         * LaTeX.C (scanAux): Handle the \@input macro.
14553         (runBibTeX): Use scanAux().
14554
14555         * language.C (latex_options_): New field.
14556
14557         * LaTeXFeatures.C (getMacros): Add language macros.
14558
14559         * buffer.C (makeLaTeXFile): Small fix.
14560
14561 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14564
14565         * text2.C: add a using directive.
14566
14567 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14568
14569         * BufferView2.C:
14570         * lyx_gui_misc.h:
14571         * lyxfr1.C:
14572         * lyxfunc.C: kill LyXBell.
14573
14574 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * text.C (IsBoundary): Remove the error message
14577
14578         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14579
14580         * lyxrc.C (setDefaults): Correct initialization value for
14581         font_norm_type.
14582
14583 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14584
14585         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14586         gotoError().
14587
14588         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14589         and GotoNextNote().
14590
14591         * src/LyXAction.C: Added reference-next.
14592
14593         * text.C (InsertChar): Use contains instead of strchr.
14594
14595         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14596
14597 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14598
14599         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14600         alignment commands (when needed).
14601
14602         * text.C (InsertChar): Add ':' to number separator chars.