]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
170f709d0dd392360647d5fde929a670e0973150
[lyx.git] / src / ChangeLog
1 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2
3         * Spacing.C: compile fix
4
5 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * cursor.C (dispatch): restore current_ before returning
8
9 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * text2.C (cursorUp, cursorDown): fix coords
12         (moveUp): fix crash
13
14 2004-02-12  André Pönitz  <poenitz@gmx.net>
15
16         * lyxtext.h:
17         * text.C:
18         * text2.C:
19         * text3.C: add LCursor & parameter to most cursor movement functions
20           remove usage of LyXText::cursorRow() and cursorPar()
21
22         * cursor.[Ch]: add textRow() needed members
23
24         * BufferView.C:
25         * BufferView_pimpl.C:
26         * paragraph.[Ch]:
27         * BufferView.C:
28         * BufferView_pimpl.C: adjust
29
30 2004-02-11  André Pönitz  <poenitz@gmx.net>
31
32         * lyxfunc.C:
33         * BufferView.[Ch]:
34         * BufferView_pimpl.C: shift undo/redo handling
35
36         * cursor.[Ch]: fix mathed crash
37
38         * lyxfind.C:
39         * lyxtext.h: move selectionAsText to LCursor
40
41         * output_latex.C:
42         * paragraph.C:
43         * text.C:
44         * text2.C:
45         * text3.C: adjust
46
47         * rowpainter.C: fix excessive drawing
48
49 2004-02-06  André Pönitz  <poenitz@gmx.net>
50
51         * BufferView.[Ch]:
52         * BufferView_pimpl.[Ch]:
53         * text3.C: move some text specific LFUN handling
54
55 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
56
57         * text3.C (checkInsetHit): adjust coords
58         * text2.C (getColumnNearX): adjust coords
59         (edit): adjust coords
60         * text.C (getRowNearY): add two asserts
61
62 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
63
64         * converter.C:
65         * format.C: add using std::distance to compile on gcc 2.95/stlport
66
67 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
68
69         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
70
71 2004-02-04  André Pönitz  <poenitz@gmx.net>
72
73         * BufferView.[Ch] (insertInset):
74         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
75
76         * text2.C:
77         * text3.C: adjust
78
79 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
82         on the default clause of the switch
83         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
84         wasn't catched by LCursor::dispatch
85
86 2004-02-03  André Pönitz  <poenitz@gmx.net>
87
88         * BufferView.C:
89         * cursor.[Ch]: some additional asserts
90
91         * undo.[Ch]: remove LyXText dependency in interface
92
93         * lyxfunc.C: adjust
94
95         * lyxtext.h (firstPar, lastPar): remove dead functions 
96
97         * text.C:
98         * text2.C:
99         * text3.C:
100         * paragraph.[Ch]: adjust
101
102 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * lyxfind.C (find): fix argument order in call to ::find
105
106 2004-02-02  André Pönitz  <poenitz@gmx.net>
107
108         * cursor.[Ch]: remove direct access to anchor
109
110         * text.C: remove findText() hack
111
112 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
113
114         * iterators.[Ch] (lockPath): remove in favour of...
115         * BufferView.[Ch] (setCursor): this addition
116         * BufferView.C (putSelectionAt): adjust
117         * undo.C (performUndoOrRedo): adjust
118         * lyxfunc.C (dispatch): adjust
119
120 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * iterators.C (lockPath): add a missing slice
123         * undo.C (performUndoOrRedo): remove redundant positioning code
124
125 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
126
127         * vc-backend.C (scanMaster): ";" -> ';'
128
129 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
130
131         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
132         std::binary_function
133
134         * lyxtextclass.C (compare_name): rename to...
135         (LayoutNamesEqual): ...this
136
137         * lyxlex_pimpl.C (compare_tags): inherit from
138         std::binary_function, put back into anon namespace
139
140         * lyxfind.C (MatchString): inherig from std::binary_function
141         (findChange): use empty() istead of !size()
142
143         * format.C (FormatNamesEqual): new functor
144         (getFormat): use it
145         (getNumber): use it
146         (add): use it
147         (erase): use it
148         (setViewer): use it
149
150         * converter.C (compare_Converter): rename to...
151         (ConverterEqual): ...this, and fixup a bit.
152         (getConverter): use it, and make function const
153         (getNumber): use it, and make function const
154         (add): use it
155         (erase): use it:
156
157         * bufferlist.C: add using boost::bind
158
159         * MenuBackend.C (MenuNamesEqual): new functor
160         (hasMenu): use it, and make function const
161         (hasSubmenu): use nested bind to get rid of compare_memfun.
162
163 2004-01-30  André Pönitz  <poenitz@gmx.net>
164
165         * BufferView_pimpl.C:
166         * cursor.C:
167         * cursor.h:
168         * cursor_slice.[Ch]:
169         * lyxfunc.C:
170         * lyxtext.h:
171         * paragraph_funcs.C:
172         * paragraph_funcs.h:
173         * rowpainter.C:
174         * text.C:
175         * text2.C:
176         * text3.C: move some of the edit(x,y) handling to the insets
177         some coordinate changes.
178
179 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * text.C: add using statements for std::advance and std::distance
182
183         * paragraph.C: add using statement for std::distance
184
185         * lyxfind.C: add using statement for std::advance
186
187         * cursor.C (region): remove std:: from swap
188         (openable): use nucleus in stead of operator->
189
190         * BufferView.C: add using statements for std::distance and std::swap
191
192 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * iterators.C: Remove the pimple, move the needed structures to
195         the header file. Create accessor for the positions stack.
196         (asPosIterator): remove function
197
198         * PosIterator.C (PosIterator): move constructors to top of file
199         (PosIterator): reimplement the constructor taking a ParIterator in
200         terms of setFrom.
201         (setFrom): new function
202         (operator!=): inline it
203
204 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
205
206         * lyxfind.C (replaceAll): use std::advance
207
208         * iterators.h: inherit from std::iterator.
209
210         * PosIterator.C (advance, distance): remove
211         * PosIterator.h: interit from std::iterator.
212
213 2004-01-26  André Pönitz  <poenitz@gmx.net>
214
215         * BufferView.[Ch]:
216         * BufferView_pimpl.[Ch]:
217         * InsetList.[Ch]:
218         * PosIterator.[Ch]:
219         * buffer.h:
220         * bufferview_funcs.C:
221         * cursor.[Ch]:
222         * cursor_slice.h:
223         * factory.[Ch]:
224         * iterators.[Ch]:
225         * lyxfind.C:
226         * lyxfunc.C:
227         * lyxtext.h:
228         * output_docbook.C:
229         * output_latex.C:
230         * output_linuxdoc.C:
231         * output_plaintext.C:
232         * paragraph.[Ch]:
233         * paragraph_funcs.[Ch]:
234         * paragraph_pimpl.[Ch]:
235         * rowpainter.C:
236         * tabular.C:
237         * tabular.h:
238         * text.C:
239         * text2.C:
240         * text3.C: more IU:  dumps most of the rest of the mathcursor
241     implementation into cursor.[Ch]; "globalize" a bit of it.
242
243 2004-01-25  Angus Leeming  <leeming@lyx.org>
244
245         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
246
247 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
248
249         * LaTeXFeatures.h: add nice_ and nice() const
250         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
251
252 2004-01-20  André Pönitz  <poenitz@gmx.net>
253
254         * BufferView.[Ch]:
255         * BufferView_pimpl.C:
256         * PosIterator.C:
257         * bufferview_funcs.C:
258         * cursor.[Ch]:
259         * cursor_slice.[Ch]:
260         * factory.C:
261         * iterators.C:
262         * lyx_cb.C:
263         * lyxfind.C:
264         * lyxfunc.C:
265         * lyxtext.h:
266         * rowpainter.C:
267         * text.C:
268         * text2.C:
269         * text3.C:
270         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
271           LCursor and mathcursor parts to LCursor and InsetBase.
272
273 2004-01-15  André Pönitz  <poenitz@gmx.net>
274
275         * cursor_slice.[Ch]: add a few covienience functions
276
277         * funcrequest.[Ch]: remove BufferView * member
278
279         * BufferView_pimpl.C:
280         * cursor.C:
281         * factory.[Ch]:
282         * lyxfind.[Ch]:
283         * lyxfunc.C:
284         * lyxtext.h:
285         * text3.C:
286         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
287
288 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
291         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
292
293 2004-01-13  André Pönitz  <poenitz@gmx.net>
294
295         * textcursor.[Ch]:
296         * lyxtext.h: hide cursor and selection anchor behind accessor function
297
298         * BufferView.C:
299         * BufferView_pimpl.[Ch]:
300         * PosIterator.C:
301         * bufferview_funcs.C:
302         * cursor.h:
303         * lyxfind.C:
304         * lyxfunc.C:
305         * text.C:
306         * text2.C:
307         * text3.C:
308         * undo.C: adjust
309
310         * cursor.h:
311         * cursor_slice.[Ch]: some integer type changes for inset unification
312
313         * lyxcursor.[hC]: remove, it's CursorSlice now.
314
315         * Makefile.am:
316         * BufferView_pimpl.[Ch]:
317         * bufferview_funcs.C:
318         * cursor_slice.C:
319         * lyxtext.h:
320         * text.C:
321         * text2.C:
322         * text3.C:
323         * textcursor.[Ch]: adjust
324
325 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * text2.C (undoSpan): add and use
328         * text.C (breakParagraph): use undoSpan (fix bug 578)
329         * lyxtext.h: adjust
330
331 2004-01-08  Angus Leeming  <leeming@lyx.org>
332
333         * BufferView_pimpl.C (MenuInsertLyXFile):
334         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
335         * lyxfunc.C (menuNew, open, doImport):
336         FileFilterList change to the FileDialog open and save functions.
337
338 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
339
340         * ShareContainer.h: make isEqual and isUnique adaptable
341
342         * CutAndPaste.C: make resetOwnerAndChanges adaptable
343
344 2004-01-07  Angus Leeming  <leeming@lyx.org>
345
346         * LyXAction.C:
347         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
348
349         * BufferView_pimpl.C (dispatch): act on these LFUNs.
350
351         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
352         functions replacing find, replace and replaceAll.
353
354         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
355         LFUN_WORDFIND(FORWARD|BACKWARD).
356
357 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * text.C (breakParagraph): remove an outdated #warning
360
361 2004-01-07  André Pönitz  <poenitz@gmx.net>
362
363         * lyxfind.C: somewhat clearer logic
364
365         * text.C: prevent crash in cursorX on unitialized row cache
366
367 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
368
369         * lyxcursor.[Ch] (operator>): add
370         * textcursor.C (selStart, selEnd): use std::min and std::max
371
372 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * Chktex.C: include boost/format.hpp
375
376 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
377
378         * InsetList.C: replace functor MathcIt with adaptable functor
379         InsetTablePosLess
380         (insetIterator): modify accordingly
381
382         * BranchList.h: move the BranchNamesEqual functor here from...
383         * BranchList.C: ... to here
384
385         * BranchList.C: new BranchListEqual fuctor, use it. Remove
386         SameName and match.
387         (add): replace a finding loop with std::find_if.
388
389 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
390
391         * output_docbook.C: moving LatexParam functionality into
392         .layout files
393
394 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * buffer.C: increment format to 229.
397
398 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
399
400         * LaTeXFeatures.C:
401         * lyx_sty.[Ch]: remove minipageindent_def
402
403         * LyXAction.C:
404         * factory.C:
405         * lfuns.h:
406         * lyxfunc.C:
407         * text3.C: remove LFUN_INSET_MINIPAGE
408
409 2003-12-28  Angus Leeming  <leeming@lyx.org>
410
411         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
412
413 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * text2.C (setParagraph): fix off-by-one crash
416
417 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * output_docbook.C: header stuff for AGU
420
421 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * text2.C (redoCursor): remove
424         * text.C:
425         * text3.C:
426         * BufferView_pimpl.C: remove calls to redoCursor and
427         setCursor(cursor.par(), cursor.pos()) all around
428
429 2003-12-15  Angus Leeming  <leeming@lyx.org>
430
431         * buffer.C: up the format to 228.
432
433 2003-12-15  André Pönitz  <poenitz@gmx.net>
434
435         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
436         slices
437
438         * Makefile.am:
439
440         * BufferView_pimpl.C:
441         * cursor.[Ch]:
442         * lyxcursor.[Ch]:
443         * rowpainter.[Ch]:
444         * lyxtext.h:
445         * text.C:
446         * text2.C:
447         * text3.C: adjust
448
449 2003-12-15  Angus Leeming  <leeming@lyx.org>
450
451         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
452         than getFromGUIName to manipulate the color.
453
454 2003-12-14  Angus Leeming  <leeming@lyx.org>
455
456         * BranchList.[Ch]: minimize the API.
457         (Branch::getBranch, getColor): now return a 'const &'.
458         (Branch::setSelected) now returns a bool set to true if the
459         selection status changes.
460         (BranchList::clear, size, getColor, setColor, setSelected,
461         allBranches, allSelected, separator): removed.
462         (BranchList::find): new functions, returning the Branch with
463         the given name.
464         (BranchList::add, remove): return a bool indicating that
465         the operation was successful.
466
467         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
468         new InsetBranch::isBranchSlected member function.
469
470         * LColor.[Ch]: mimimize the API.
471         (fill): renamed as addColor and made private.
472         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
473         versions of these functions taking a string arg have been removed.
474
475         * bufferparams.C (readToken):
476         * lyxfunc.C (dispatch):
477         * lyxrc.C (read): changes due to the altered BranchList and
478         LColor APIs.
479
480         * factory.C (createInset, readInset): changes due to altered
481         InsetBranch c-tor.
482
483 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
484
485         * factory.C:
486         * lyxfunc.C: remove insetminipage. "minipage-insert"
487         now produces a frameless minipage box inset.
488
489 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
490
491         * textcursor.[Ch] (selStart,selEnd): add new methods
492         remove selection::start, end, use LyXCursor::operator<
493         * lyxcursor.[Ch] (operator<): add
494         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
495         * BufferView.[Ch] (unsetXSel): add
496         * text2.C (clearSelection): use unsetXSel,adjust
497         * text.C: adjust
498         * text3.C: adjust
499         * rowpainter.C: adjust
500         * bufferview_funcs.C (put_selection_at): adjust
501
502 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * BufferView_pimpl.C: small coord. correction
505
506 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
509         dragging over the splash screen.
510
511 2003-12-11  Angus Leeming  <leeming@lyx.org>
512
513         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
514         as it is now handled in LyXText::dispatch.
515
516         * text3.C (doInsertInset): remove a level of nesting.
517
518 2003-12-11  Angus Leeming  <leeming@lyx.org>
519
520         * factory.C (createInset): changes due to the changed interface to
521         InsetCommandMailer::string2params.
522
523 2003-12-10  Angus Leeming  <leeming@lyx.org>
524
525         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
526         'dialog-show-new-inset <inset name>'
527
528 2003-12-10  Angus Leeming  <leeming@lyx.org>
529
530         * buffer.C: up the format to 227.
531
532         * factory.C: the box inset is now identified simply by 'Box'.
533
534 2003-12-10  Angus Leeming  <leeming@lyx.org>
535
536         * buffer.C: up the format to 226.
537
538         * factory.C: the note inset is now identified simply by 'Note'.
539
540 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
541
542         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
543         when a pit is enough. Standarize a couple of loops.
544
545 2003-12-05  Angus Leeming  <leeming@lyx.org>
546
547         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
548         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
549         data to the re-worked "log" dialog.
550
551 2003-12-03  André Pönitz  <poenitz@gmx.net>
552
553         * PosIterator.C:
554         * iterators.C:
555         * lyxtext.h:
556         * output_latex.C:
557         * paragraph_funcs.C:
558         * text.C:
559         * text2.C: use Inset::getText instead of Inset::getParagraph
560
561 2003-12-03  André Pönitz  <poenitz@gmx.net>
562
563         * buffer.[Ch]:
564         * lyxtext.h:
565         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
566         InsetText::read() as LyXText::read()
567
568 2003-12-02  Angus Leeming  <leeming@lyx.org>
569
570         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
571         type. Add a comment in the implementation that the function uses
572         the stream's bad() function rather than fail() as the std::streams
573         would do.
574
575 2003-12-02  André Pönitz  <poenitz@gmx.net>
576
577         * lyxlex.[Ch]: make interface more similar to std::stream
578
579         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
580
581 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
584
585 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
586
587         * vspace.[Ch]: remove VSpace::NONE
588
589 2003-12-01  André Pönitz  <poenitz@gmx.net>
590
591         * buffer.[Ch]:
592         * lyxtext.h: move ParagraphList member to LyXText
593         rename LyXText::ownerParagraphs to LyXText::paragraph
594
595         * CutAndPaste.C:
596         * bufferview_funcs.C:
597         * iterators.[Ch]:
598         * lyx_cb.C:
599         * paragraph.C:
600         * rowpainter.C:
601         * tabular.C:
602         * text.C:
603         * text2.C:
604         * text3.C: adjust
605
606         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
607
608         * undo.C: fix cursor positioning
609
610 2003-12-01  John Levon  <levon@movementarian.org>
611
612         * BufferView_pimpl.C: fix a crash on exit with
613         a buffer open
614
615 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
616
617         * BranchList.C: fix setSelected() method.
618
619 2003-11-28  André Pönitz  <poenitz@gmx.net>
620
621         * ParagraphParameters.[Ch]:
622         * ParameterStruct.h: remove space above/below from Paragraph to
623          InsetVSpace
624
625         * BufferView_pimpl.C:
626         * factory.C:
627         * lyxfunc.C:
628         * lyxtext.h:
629         * output_latex.C:
630         * paragraph.C:
631         * paragraph_funcs.C:
632         * rowpainter.[Ch]:
633         * text.C:
634         * text2.C:
635         * text3.C: adjust
636
637 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
638
639         * factory.C: Syntax change for CharStyles
640
641 2003-11-28  André Pönitz  <poenitz@gmx.net>
642
643         * BufferView.[Ch]:
644         * BufferView.[Ch]:
645         * buffer.[Ch]:
646         * buffer.[Ch]: move LyXText member
647
648 2003-11-28  André Pönitz  <poenitz@gmx.net>
649
650         * BufferView.[Ch]: make LyXText * text a private member
651
652         * BufferView_pimpl.C:
653         * cursor.C:
654         * iterators.C:
655         * lyx_cb.C:
656         * lyxfind.C:
657         * lyxtext.h:
658         * rowpainter.[Ch]:
659         * text.C:
660         * text2.C:
661         * undo.C: adjust
662
663         * output_plaintext.C: cleanup
664
665 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
666
667         * buffer.C:
668         * lyxtextclass.[Ch]: parametrize SGML document header
669
670 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * converter.[Ch]:
673         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
674         getFlavor().
675
676 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
677
678         * text2.C (setFont): rework using PosIterator (no more recursive)
679         (setCharFont): no more needed
680         (setLayout): no more selection cursors fiddling (done by redoCursor)
681         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
682         destroy remaining ones)
683
684 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
685
686         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
687         * lyxtext.h: ditto
688         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
689         selection cursors
690         * lyxfunc.C: adjust
691         * text3.C: adjust + re-allow multi par depth changes
692         * textcursor.C: simplify a bit
693
694 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
695
696         * src/buffer.C:
697         * src/lyxlayout.C:
698         * src/lyxlayout.h:
699         * src/lyxtext.h:
700         * src/output_docbook.C:
701         * src/output_latex.C:
702         * src/paragraph.C:
703         * src/paragraph.h:
704         * src/sgml.C:
705         * src/sgml.h:
706         * src/text2.C: Introducing a number of tags parametrizing various
707         XML formats that we may want to support
708
709 2003-11-25  André Pönitz  <poenitz@gmx.net>
710
711         * InsetList.[Ch] (begein, end): inline as suggested by profiler
712
713         * lyxtext.h (leftMargin/rightMargin): simplify interface
714
715         * rowpainter.C:
716         * text.C:
717         * text2.C:
718         * text3.C: adjust
719
720 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * lyxfunc.C (dispatch): propogate the bibtex databases from the
723         master file to any child files. Fixes bug 546.
724
725 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
728
729 2003-11-24  André Pönitz  <poenitz@gmx.net>
730
731         * rowpainter.C: simplification
732
733         * text2.C (updateCounters): remove call to redoParagraph on
734         changed labels as this is far too expensive.
735
736 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * converter.C (convert): fix a crash: this function gets
739         called with buffer == 0 from importer code.
740
741 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
742
743         * text3.C (cursorPrevious): make sure that we do not compare
744         iterators form different containers.
745         (cursorNext): ditto
746
747         * rowpainter.C (paintSelection): make sure that we do not compare
748         iterators from different containers.
749
750         * text3.C (dispatch): [PRIOR] make sure that we do not compare
751         iterators from different ParagraphList containers.
752         [NEXT] ditto
753
754         * text2.C (LyXText): change order of initialization slightly
755         (operator=): new function. copy all variables except cache_par_
756         (moveUp): make sure that we do not compare iterators from
757         different ParagraphList constainers.
758         (moveDown): ditto
759
760         * text.C (firstPar): new function
761         (lastPar): new function
762         (endPar): new function
763
764         * lyxtext.h: move things around and group public functions, public
765         variables, private functions, private variables
766
767 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
768
769         * factory.C: change call to InsetERT constructor to avoid
770         additional invocation of method status
771         * text2.C (toggleInset): remove redundant update() call
772         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
773         instead of a Bufferview pointer
774
775 2003-11-21  André Pönitz  <poenitz@gmx.net>
776
777         * rowpainter.C: simplification
778
779 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * text3.C (dispatch): make possible to extend a word/row selection
782         with the mouse
783
784 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
785
786         * lyxtext.h: x0_,y0_ -> xo_,yo_
787         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
788         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
789         * rowpainter.C (paintRows): paint full paragraphs
790
791 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
794         screen coordinates)
795
796 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
797
798         * lyxtext.h: add x0_, y0_
799         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
800         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
801
802 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * text2.C (setCursorIntern): move the x_target update here *
805         * text3.C: change some bv() to true/false in calls to
806         cursorUp/Down/Right/Left
807         * cursor.C: use helper function.
808
809 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
810
811         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
812         * paragraph_funcs.[Ch]: correct comment
813         * rowpainter.C: do not paint selections away from bv->cursor()
814         Fix a long standing selection painting bug.
815         * text3.C: generalize mouse-selection code to LyXTexts other that
816         top one
817         * textcursor.C: do not use y coords if we can use par offsets
818
819 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
822         cursor position after e.g. inset insert)
823
824 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
825
826         * lyxfind.C (replace): adjust to locking removal + some
827         code simplification
828
829 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
830
831         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
832         of the path
833
834 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
835
836         * lyxlayout.[Ch]:
837         * output_docbook.C: XML sanitation: new layout
838         parameters InnerTag and CommandDepth
839
840 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * BufferView_pimpl.C:
843         * factory.C:
844         * text3.C: Fix the insertion and modification of button-style
845         insets
846
847 2003-11-13  André Pönitz  <poenitz@gmx.net>
848
849         * InsetList.[Ch]: remove deleteLyXText
850
851         * paragraph.[Ch]: cache beginOfBody position
852
853         * Bidi.C:
854         * text.C:
855         * text2.C:
856         * text3.C: remove superfluous update() calls
857
858         * vspace.C: cleanup
859
860 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
863         * BufferView.C (fitLockedInsetCursor): remove
864         * cursor.[Ch] (getDim): add
865         * text.C (getRowNearY): add faster version
866         * text3.C: remove some update calls
867
868 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
869
870         * LaTeXFeatures.C:
871         * LyXAction.C:
872         * MenuBackend.C:
873         * MenuBackend.h:
874         * dispatchresult.h:
875         * factory.C:
876         * lfuns.h:
877         * lyxfunc.C:
878         * lyxtextclass.C:
879         * lyxtextclass.h:
880         * text3.C: The Character Style /XML short element patch.
881
882 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * text3.C:
885         * factory.C: Small step to solving 'unable to insert some insets'
886         problem
887
888 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * cursor.[Ch] (updatePos): new function for updating the y
891         position of the tip inset
892         * bufferview_funcs.C (put_selection_at):
893         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
894
895 2003-11-11  André Pönitz  <poenitz@gmx.net>
896
897         * text.C: remove big comment on invalid Paragraph pointers as it is
898         not valid anymore
899
900 2003-11-11  André Pönitz  <poenitz@gmx.net>
901
902         * text_funcs.[Ch]: merge with ...
903
904         * text.C: ... this
905
906         * lyxtext.h:
907         * text2.C:
908         * text3.C: adjust
909
910         * Makefile.am: remove text_funcs.[Ch]
911
912 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
913
914         * cursor.C (getPos): return absolute cached y coord
915
916         * BufferView_pimpl.C (fitCursor): new simplistic code
917         (workAreaDispatch): add a fitCursor call
918
919 2003-11-10  André Pönitz  <poenitz@gmx.net>
920
921         * BufferView.[Ch]:
922         * BufferView_pimpl.[Ch]: merge update() and updateInset()
923
924 2003-11-10  André Pönitz  <poenitz@gmx.net>
925
926         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
927         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
928         indicate that the cursor needs to leave an inset
929
930         * lyxtext.h: remove inset locking
931
932         * cursor.[Ch]: re-implement functionality provided by inset locking
933
934         * BufferView.[Ch]:
935         * BufferView_pimpl.[Ch]:
936         * LyXAction.C:
937         * bufferview_funcs.[Ch]:
938         * factory.C:
939         * funcrequest.[Ch]:
940         * iterators.C:
941         * lyx_cb.C:
942         * lyxfind.C:
943         * lyxfunc.C:
944         * text.C:
945         * text2.C:
946         * text3.C:
947         * undo.C: adjust
948
949 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
950
951         * PosIterator.[Ch]: replace the stack with a vector, add inset
952         accesor
953         * iterators.[C]: adjust
954
955 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
956
957         * lyxfind.C (replaceAll): mark the buffer dirty if something was
958         replaced
959         * paragraph_funcs.C (readParToken): put the correct id in the
960         error item, not the id of the top paragraph
961
962 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
963
964         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
965         * bufferview_funcs.C (put_selection_at): use the above
966
967 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
968
969         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
970
971 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * output_linuxdoc.h:
974         * output_plaintext.h:
975         * output.h:
976         * output_docbook.h: add #include statements
977
978 2003-11-05  José Matos  <jamatos@lyx.org>
979
980         * output_docbook.[Ch]:
981         * output_latex.[Ch]:
982         * output_linuxdoc.[Ch]:
983         * output_plaintext.[Ch]: New files for output formats.
984         * output.[Ch]: New file for helper functions.
985
986         * buffer.[Ch]:
987         * paragraph_funcs.[Ch]: output functions moved to new files.
988
989         * outputparams.h: rename of latexrunparams.h
990
991         * LaTeX.[Ch]:
992         * buffer.[Ch]:
993         * bufferlist.[Ch]:
994         * converter.[Ch]:
995         * exporter.C:
996         * paragraph.[Ch]:
997         * paragraph_funcs.[Ch]:
998         * paragraph_pimpl.[Ch]:
999         * tabular.[Ch]: rename ascii to plaintext
1000         and LatexRunParams to OutputParams.
1001
1002 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1003
1004         * iterators.[Ch] (text): require bv argument
1005         * undo.C (recordUndo):
1006         * lyxfunc.C (dispatch):
1007         * bufferview_funcs.C (put_selection_at): adjust
1008
1009 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1010
1011         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1012
1013 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1014
1015         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1016         nestings
1017
1018 2003-11-04  André Pönitz  <poenitz@gmx.net>
1019
1020         * cursor.[Ch]: restructure
1021
1022         * BufferView.[Ch]:
1023         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1024
1025         * iterators.[Ch] (asCursor): remove
1026
1027         * lfuns.h: remove LFUN_INSET_EDIT
1028
1029         * lyxfunc.C:
1030         * tabular.C:
1031         * text.C:
1032         * text2.C:
1033         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1034
1035 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * lyxfind.[Ch]: complete overhaul
1038         * BufferView_pimpl.C:
1039         * lyxfunc.C: adjust
1040         * paragraph.[Ch] (insert): add
1041
1042 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1043
1044         * BufferView.[Ch]:
1045         * lyxtext.h:
1046         * text.C: remove dead spellcheck code
1047
1048 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * dispatchresult.h: add a val setter
1051
1052         * cursor.C (dispatch): use a tempvar for data_[i]
1053
1054 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1055
1056         * PosIterator.[Ch]: compile fix
1057
1058 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1059
1060         * text.C (cursorPar): deactivate the cursor cache
1061
1062 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1063
1064         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1065
1066 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1067
1068         * text3.C (dispatch): adjust for new DisptchResult semantics.
1069
1070         * lyxfunc.C (dispatch): handle update when return from
1071         Cursor::dispatch, adjust for new DispatchResult semantics.
1072
1073         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1074         DispatchResult(true) mean to not update. Add class functions for
1075         setting dispatched and update, as well as reading.
1076
1077         * cursor.C (dispatch): don't handle update here
1078
1079 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1080
1081         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1082         * trans_mgr.C: adjust
1083
1084         * paragraph_funcs.C (readParToken): exception safety
1085
1086         * lyxvc.h: store the vcs pointer in a scoped_ptr
1087         * lyxvc.C: adjust
1088
1089         * lyxsocket.C (serverCallback): exception safety
1090
1091         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1092
1093         * ispell.C (clone): make it return a auto_ptr
1094
1095         * factory.C (createInset): exception safety
1096         (readInset): exception safety
1097
1098         * bufferlist.C (newBuffer): exception safety
1099
1100         * Thesaurus.C (Thesaurus): use initialization for aik_
1101
1102         * MenuBackend.C (expandToc): exception safety.
1103
1104 2003-11-03  André Pönitz  <poenitz@gmx.net>
1105
1106         * buffer.C:
1107         * buffer.h:
1108         * bufferview_funcs.C: remove getInsetFromId()
1109
1110         * lyxcursor.[Ch]:
1111         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1112
1113         * lyxfunc.C:
1114         * text2.C:
1115         * text3.C: adjust
1116
1117 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1118
1119         * PosIterator.C (distance, advance): new
1120         * bufferview_funcs.[Ch] (put_selection_at): new
1121         * iterators.[Ch] (lockPath): new
1122
1123 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1124
1125         * iterators.[Ch] (asPosIterator): added
1126         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1127         * PosIterator.[Ch]: added
1128
1129 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1130
1131         * text3.C:
1132         * lyxfunc.C:
1133         * cursor.C (dispatch):
1134         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1135
1136         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1137         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1138         contructor, add a class function dispatched. Remove operator>=
1139
1140 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1141
1142         * debug.C: only use the default constructor for debugstream
1143         (lyxerr) here.
1144
1145         * main.C (main): include debug.h and setup the lyxerr streambuf
1146         here.
1147
1148 2003-10-31  José Matos  <jamatos@lyx.org>
1149
1150         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1151
1152         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1153         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1154         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1155         * paragraph_pimpl.C (simpleTeXSpecialC):
1156         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1157         add LatexRunParams argument.
1158
1159         * exporter.C (Export): change call accordingly.
1160
1161         * latexrunparams.h: add new member to take care of the other backends.
1162 2003-10-30  José Matos  <jamatos@lyx.org>
1163
1164         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1165         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1166         factorise code for paragraph output.
1167         * buffer.[Ch]:
1168         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1169         move functions.
1170
1171 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1172
1173         * text3.C (dispatch):
1174         * lyxfunc.C (dispatch):
1175         * cursor.C (dispatch):
1176         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1177
1178         * dispatchresult.h: make the dispatch_result_t ctor explicit
1179
1180 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * sgml.[Ch]:
1183         * buffer.C: small refactoring of docbook stuff
1184
1185 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1186
1187         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1188         meaning.
1189
1190 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1193         operator dispatch_result_t, and operators for == != and >=
1194
1195         * cursor.C (dispatch): adjust for operator dispatch_result_t
1196         removal. comment out call to update
1197
1198         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1199
1200 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1201
1202         * text3.C:
1203         * text2.C:
1204         * text.C:
1205         * lyxtext.h:
1206         * lyxfunc.C:
1207         * cursor.C:
1208         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1209         (dispatch):
1210
1211         * dispatchresult.h: new file, DispatchResult broken out of
1212         insets/insetbase.h
1213
1214         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1215
1216 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1217
1218         * text.C (rowBreakPoint): put a hack inside #if 0
1219
1220 2003-10-28  André Pönitz  <poenitz@gmx.net>
1221
1222         * lyxtext.h:
1223         * metricsinfo.C:
1224         * paragraph_funcs.C:
1225         * rowpainter.C:
1226         * text.C:
1227         * text2.C: general cleanup (lots of small stuff)
1228
1229 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1230
1231         * text2.C (cursorEnd): simple fix to the "end key goes to one
1232         before the end on last row" bug
1233
1234 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * text.C (backspace): fix the "zombie characters"
1237
1238 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1239
1240         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1241
1242 2003-10-27  André Pönitz  <poenitz@gmx.net>
1243
1244         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1245
1246         * factory.C: handle new InsetPagebreak, InsetLine
1247
1248         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1249         and move handling into new InsetPagebreak, InsetLine
1250
1251         * BufferView_pimpl.C:
1252         * LyXAction.C:
1253         * ParagraphParameters.C:
1254         * ParameterStruct.h:
1255         * lyxfunc.C:
1256         * lyxtext.h:
1257         * paragraph.C:
1258         * paragraph.h:
1259         * paragraph_funcs.C:
1260         * paragraph_pimpl.C:
1261         * rowpainter.C:
1262         * text.C:
1263         * text2.C:
1264         * text3.C: adjust
1265
1266 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1267
1268         * text.C:
1269         * lyxrow_funcs.[Ch]:
1270         * Bidi.C:
1271         * paragraph.C:
1272         * lyxtext.h:
1273         * rowpainter.C:
1274         * text2.C:
1275         * text3.C: remove lastPos uses in favour of Row::endpos
1276
1277 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1278
1279         * undo.C (performUndoOrRedo): fix two crashes by setting a
1280         cursor by hand and reordering some calls. Use bv->lockInset instead
1281         of inset->edit because the latter loses cursor information
1282
1283 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1284
1285         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1286         by Martin
1287         (rowBreakPoint): fix width. change point to point + 1.
1288         Add a missing check.
1289
1290 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * MenuBackend.C:
1293         * lyxfunc.C: fix (at least partly) the problems
1294         with the Nav menu and headers inside branch insets
1295         reported by Kayvan
1296
1297 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1298
1299         * paragraph.C (getChar): add strong asserts
1300
1301         * lyxrow_funcs.C (lastPos): remove hideous hack
1302
1303         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1304         (fill): adjust to that (avoid an infinite loop)
1305
1306 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1307
1308         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1309
1310 2003-10-23  André Pönitz  <poenitz@gmx.net>
1311
1312         * RowList_fwd.h: change list<> to vector<> to gain speed
1313         after suggestion from Alfredo
1314
1315 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1316
1317         * lyxtext.h: move the bidi stuff from here...
1318         * text.C: and here
1319         * text2.C: and here
1320         * Bidi.[Ch]: ... to here
1321
1322 2003-10-23  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxtext.h:
1325         * text.C (isLastRow, isFirstRow): new functions
1326
1327         * paragraph.h: new width cache member
1328
1329         * rowpainter.C: replace RowList::iterator with Row & where possible
1330
1331         * lyxfunc.C: replace several view()->text with a single call
1332
1333         * toc.C: fix 'unused' warning
1334
1335 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1336
1337         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1338         when woring with stream::pos_type
1339         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1340
1341 2003-10-22  André Pönitz  <poenitz@gmx.net>
1342
1343         * lyxtext.h:
1344         * text.C: use Row & instead of RowList::iterator
1345
1346         * lyxrow.h: rename end() to endpos()
1347
1348         * rowpainter.C:
1349         * text.C:
1350         * text2.C: adjust
1351
1352 2003-10-22  Angus Leeming  <leeming@lyx.org>
1353
1354         * buffer.[Ch] (fully_loaded): new member function, returning true
1355         only when the file has been loaded fully.
1356         Used to prevent the premature generation of previews and by the
1357         citation inset to prevent computation of the natbib-style label.
1358
1359         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1360         templates are all set up.
1361
1362         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1363
1364 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * text.C: fixed an "oops" in the "is a bit silly"
1367         bug fix
1368
1369 2003-10-21  André Pönitz  <poenitz@gmx.net>
1370
1371         * FuncStatus.[Ch]: small stuff, whitespace
1372
1373         * lyxfont.[Ch]: operator<<() for debug reasons
1374
1375         * lyxfunc.C:
1376         * lyxrow_funcs.C:
1377         * lyxtext.h: whitespace, spelling
1378
1379         * paragraph.C: naming of variables
1380
1381         * text.C:
1382         * text2.C: small stuff
1383
1384
1385 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1386
1387         * text.C: (1) finish off the inset display() work;
1388         (2) fix the "is a bit silly" bug (accessing char
1389         past end of par).
1390
1391 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1392
1393         * text.C: re-introduce display() for insets, fixing the
1394         various bugs (stretch of line above, math inset
1395         positioning, ...)
1396
1397 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1398
1399         * text.C (rightMargin): remove spurious semicolon
1400
1401         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1402         1415)
1403
1404 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * text3.C: fix one crash due to wrong cursor def
1407
1408 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1409
1410         * vc-backend.C (scanMaster): make the regex static
1411
1412         * LaTeX.C (scanAuxFile): make the regexs static
1413
1414         * text3.C (doInsertInset, dispatch, dispatch):
1415         * text2.C (cursorUp, cursorDown):
1416         * text.C (selectNextWordToSpellcheck):
1417         * BufferView_pimpl.C (dispatch):
1418         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1419
1420 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * lyxsocket.C: include <cerrno>
1423
1424 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1425
1426         * lyxfunc.C (dispatch): remove textcache stuff
1427
1428         * bufferlist.C (release): remove textcache stuff
1429         (closeAll): ditto
1430
1431         * TextCache.C: delete file
1432         * TextCache.h: delete file
1433
1434         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1435
1436         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1437         delete of the bv_->text.
1438         (resizeCurrentBuffer): remove texcache stuff
1439         (workAreaResize): ditto
1440
1441 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1442
1443         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1444         action.
1445
1446 2003-10-16  André Pönitz  <poenitz@gmx.net>
1447
1448         * lyxrow.[Ch]:
1449         * paragraph.h:
1450         * rowpainter.C:
1451         * text.C:
1452         * text2.C:
1453         * text3.C: speed up by storing y positions per paragraph plus per-row
1454         offset instead of having a 'full' y position in the row.
1455
1456 2003-10-15  André Pönitz  <poenitz@gmx.net>
1457
1458         * iterators.[Ch]:
1459         * iterators.[Ch]:
1460         * undo.[Ch]: make undo aware of inner insets
1461
1462 2003-10-14  Angus Leeming  <leeming@lyx.org>
1463
1464         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1465         static member functions LyX::ref() and LyX::cref.
1466         (lastfiles): new accessor functions for the new lastfiles_ member var.
1467         (addLyXView, views_): add a new LyXView to the list of views_.
1468         (updateInset): loop over all LyXViews to call their own updateInset
1469         member function, returning a pointer to the Buffer owning the inset.
1470
1471         * BufferView_pimpl.C (loadLyXFile):
1472         * MenuBackend.C (expandLastfiles):
1473         * bufferlist.C (MenuWrite, QuitLyX):
1474         lastfiles is no longer a global variable.
1475         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1476
1477         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1478         static function. Access through LyX::cref().emergencyCleanup().
1479
1480 2003-10-14  André Pönitz  <poenitz@gmx.net>
1481
1482         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1483
1484         * undo.[Ch]: restoring part of 'undo in insets'
1485
1486         * Makefile.am:
1487         * undo_funcs.[Ch]: merge with undo.[Ch]
1488
1489         * tabular.C: small cleansing stuff
1490
1491 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * paragraph_funcs.C (readParToken): report unknown insets as error
1494         boxes. Use the outer paragraph as location (also for unknown
1495         tokens).
1496
1497         * factory.C (readInset): do not abort on reading an unknown inset.
1498         Eat it and return 0.
1499
1500 2003-10-13  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1503
1504         * lyxrc.C: displayTranslator is now a function,
1505         declared in GraphicsTypes.h.
1506
1507 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1508
1509         * format.C: new placeholder $$a to pass the socket address.
1510
1511         * bufferlist.[Ch]: new function getBufferFromTmp.
1512
1513         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1514           files in the temporary dir.
1515
1516 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1517
1518         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1519
1520         * Makefile.am: add lyxsocket.[Ch].
1521
1522         * lyx_main.C (error_handler): handle SIGPIPE.
1523
1524 2003-10-13  André Pönitz  <poenitz@gmx.net>
1525
1526         * BufferView_pimpl.C:
1527         * lyxtext.h:
1528         * text.C:
1529         * text2.C:
1530         * text3.C:
1531         * undo_funcs.[Ch]: use paroffset_type instead of
1532           ParagraphList::iterators to prevent multiple conversion
1533           (and get a more robust interface)
1534
1535 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1536
1537         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1538         * lyxtext.h: ditto
1539         * text3.C (dispatch): ditto
1540
1541 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1542
1543         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1544         move the onlyfile, use onlyfile instead of foundfile in a couple
1545         of places.
1546
1547         * DepTable.C (update): flush the error stream a bit more
1548
1549 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * lyxserver.C (callback): adjust
1552
1553         * lyxfunc.C (getStatus): add a missing brace in commented code
1554         (ensureBufferClean): reindent
1555         (dispatch): delete version taking a string
1556
1557 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1558
1559         * LaTeX.C (deplog): move found file handlig from here...
1560         (handleFoundFile): .. to new function here.
1561         (deplog): make sure to discover several files mentioned on the
1562         same log line.
1563
1564 2003-10-10  André Pönitz  <poenitz@gmx.net>
1565
1566         * lyxfunc.C:
1567         * lyxtext.h:
1568         * tabular.C:
1569         * text.C:
1570         * text2.C:
1571         * text3.C: fix some of the tabular crashes
1572
1573 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1574
1575         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1576
1577         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1578
1579 2003-10-09  André Pönitz  <poenitz@gmx.net>
1580
1581         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1582
1583         * BufferView.C:
1584         * BufferView_pimpl.C:
1585         * bufferview_funcs.C:
1586         * lyx_cb.C:
1587         * lyxcursor.C:
1588         * lyxfind.C:
1589         * lyxfunc.C:
1590         * lyxtext.h:
1591         * text.C:
1592         * text2.C:
1593         * text3.C:
1594         * text_funcs.[Ch]:
1595         * textcursor.[Ch]:
1596         * undo_funcs.C: adjust
1597
1598 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * text2.C (incrementItemDepth): new function, use a backtracking
1601         algorithm to discover the correct item depth.
1602         (resetEnumCounterIfNeeded): new function, use a backtracking
1603         algorithm to discover if counter reset is needed.
1604         (setCounter): use them. Simplify a bit. Add different labels for
1605         different item depths for itemize.
1606
1607         * paragraph.C (Paragraph): remove initialization of enumdepth
1608         (operator=): ditto
1609
1610         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1611         enumerate and itemize. Change the type of itemdepth to signed char.
1612
1613 2003-10-08  André Pönitz  <poenitz@gmx.net>
1614
1615         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1616           thing assignable.
1617         * text.C:
1618         * text2.C: adjust
1619
1620         * tabular.[Ch]: fix crash after 'row-insert'
1621
1622 2003-10-08  Angus Leeming  <leeming@lyx.org>
1623
1624         Fix doxygen warnings.
1625
1626         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1627         Remove CutAndPaste:: prefix from header file declaration.
1628
1629         * LColor.h (fill): remove LColor:: prefix from declaration.
1630
1631         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1632         use lyx::depth_type rather than Paragraph::depth_type so that
1633         header file and .C file match.
1634
1635         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1636
1637         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1638         * aspell.C: \file aspell_local.C -> \file aspell.C
1639         * gettext.C: \file gettext.C -> \file src/gettext.C
1640         * gettext.h: \file gettext.h -> \file src/gettext.h
1641         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1642         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1643         * text.C: \file text.C -> \file src/text.C
1644
1645         * toc.C: move comment so that doxygen is not confused.
1646
1647 2003-10-07  Angus Leeming  <leeming@lyx.org>
1648
1649         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1650
1651 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1652
1653         * aspell.C:
1654         * aspell_local.h: add forgotten std::string's.
1655
1656 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1657
1658         * LaTeXFeatures.C:
1659         * LyXAction.C:
1660         * factory.C:
1661         * lfuns.h:
1662         * lyxfunc.C:
1663         * text3.C: The Box patch. Fancybox support, minipage, parbox
1664
1665 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1666
1667         * CutAndPaste.h:
1668         * DepTable.h:
1669         * FloatList.h:
1670         * LaTeXFeatures.h:
1671         * ParagraphParameters.h:
1672         * TextCache.h:
1673         * Thesaurus.h:
1674         * bufferlist.h:
1675         * exporter.h:
1676         * importer.h:
1677         * lastfiles.h:
1678         * lyxfind.h:
1679         * lyxfont.h:
1680         * lyxlex.h:
1681         * lyxtextclasslist.h:
1682         * messages.h:
1683         * paragraph.h:
1684         * paragraph_pimpl.C:
1685         * textcursor.h: add <string> and other small fixes to make Lars'
1686         std::string patch compile with STLport.
1687
1688 2003-10-06  Angus Leeming  <leeming@lyx.org>
1689
1690         * LColor.h: Add missing #include <string>.
1691
1692 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * All most all file in all subdirs: Make <string> be the prefered
1695         way of getting to std::string, add using declarations.
1696
1697 2003-10-06  André Pönitz  <poenitz@gmx.net>
1698
1699         * metricsinfo.C: initialize LyXFont before changing attribute.
1700         (fixes the 'math in \emph is upright' bug)
1701
1702 2003-10-06  André Pönitz  <poenitz@gmx.net>
1703
1704         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1705
1706 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1707
1708         * graph.C:
1709         * paragraph_pimpl.C: Small fixes to build using STLport
1710
1711 2003-10-02  André Pönitz  <poenitz@gmx.net>
1712
1713         * lyxfunc.C:
1714         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1715
1716 2003-10-01  André Pönitz  <poenitz@gmx.net>
1717
1718         * factory.C: assert early
1719
1720 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1721
1722         * lyx_main.C: remove the global debug object
1723
1724         * debug.h: adjust for new debugstream
1725
1726         * debug.C: adjust for new debugstream and keep the global debug
1727         object here.
1728
1729 2003-09-22  Angus Leeming  <leeming@lyx.org>
1730
1731         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1732         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1733         an incomplete class LyXFont.
1734
1735 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1736
1737         * factory.C: bug fix in branches
1738
1739 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * lyxfunc.C (processKeySym): adjust
1742         (dispatch): adjust
1743         (dispatch): change arg name from ev to func, adjust
1744         (sendDispatchMessage): ditto
1745
1746         * lyx_main.C (defaultKeyBindings): adjust keybindings
1747         (deadKeyBindings): ditto
1748
1749         * kbsequence.C (addkey): return a FuncRequest
1750
1751         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1752
1753         * kbmap.C (bind): take a FuncRequest as arg, adjust
1754         (read): adjust
1755         (lookup): adjust
1756         (defkey): change to take a FuncRequest as arg, adjust
1757         (findbinding): take a FuncRequest as arg, adjust.
1758
1759         * funcrequest.h (operator=): added
1760
1761         * funcrequest.C (FuncRequest): default kb_action changed from
1762         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1763
1764         * buffer.C (dispatch): simplify
1765         (dispatch): adjust to take a FuncRequest as arg, adjust
1766
1767         * boost.C (assertion_failed): change assertion message slightly
1768
1769         * ToolbarBackend.C (read): simplify
1770
1771         * MenuBackend.C (binding): adjust call to findbinding, add a
1772         message if no binding is found.
1773         (read): simplify
1774         (expandToc): correct by adding a empty FuncRequest
1775
1776         * LyXAction.C: include <boost/assert.hpp>
1777         (isPseudoAction): delete function
1778         (LookupFunc): change name to...
1779         (lookupFunc): this. change return type to FuncRequest.
1780         (getActionName): take kb_action as arg, simplify
1781         (funcHasFlag): add an assert, simplify.
1782
1783 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1784
1785         * toc.C (action): return a FuncRequest, simplify
1786
1787         * lyxfunc.C (processKeySym): adjust
1788         (getStatus): delete version that takes an int.
1789         (getStatus): adjust
1790         (dispatch): delete version that takes action as int
1791         (dispatch): adjust
1792         (sendDispatchMessage): simplify and adjust
1793
1794         * funcrequest.C (getArg): take unsigned int as arg
1795
1796         * ToolbarBackend.C (read): adjust
1797         (add): delete version that takes func as a string.
1798         (getIton): take a FuncRequest as arg
1799
1800         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1801         action.
1802
1803         * MenuBackend.C (MenuItem): add a new construct that only takes a
1804         Kind, simplify the constructor use for submenus.
1805         (add): adjust
1806         (expandLastfiles): adjust
1807         (expandDocuments): adjust
1808         (expandFormats): adjust
1809         (expandFloatListInsert): adjust
1810         (expandFloatInsert): adjust
1811         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1812
1813         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1814         Remove class variables lyx_pseudo_map and lyx_arg_map
1815
1816         * LyXAction.C (searchActionArg): delete function
1817         (getPseudoAction): delete function
1818         (retrieveActionArg): delete function
1819         (LookupFunc): make it return kb_action, simplify.
1820         (getActionName): simplify
1821
1822         * factory.C (createInset): fix new bug
1823
1824 2003-09-19  Angus Leeming  <leeming@lyx.org>
1825
1826         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1827         masterFilename_ parameter in the include inset.
1828
1829         * factory.C (createInset): changes due to the changes to InsetInclude.
1830
1831 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1832
1833         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1834
1835 2003-09-18  Angus Leeming  <leeming@lyx.org>
1836
1837         * buffer.C:
1838         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1839         Inset::fillWithBibKeys.
1840         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1841
1842 2003-09-18  Angus Leeming  <leeming@lyx.org>
1843
1844         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1845         variables.
1846         (ctor): pass and store a 'Buffer const &'
1847         (buffer): new member function.
1848
1849         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1850         '*this' to the LaTeXFeatures ctor.
1851
1852 2003-09-18  Angus Leeming  <leeming@lyx.org>
1853
1854         * LColor.h:
1855         * lyxfont.C:
1856         * lyxfont.h:
1857         * lyxtext.h:
1858         * text.C: rename EnumLColor as LColor_color.
1859
1860 2003-09-18  Angus Leeming  <leeming@lyx.org>
1861
1862         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1863         remove #include "insets/insetbase.h" from cursor.h.
1864
1865 2003-09-18  Angus Leeming  <leeming@lyx.org>
1866
1867         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1868         InsetOld_code to remove #include "inset.h".
1869
1870         * iterators.C: add #include "insets/inset.h"
1871
1872 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1873
1874         * BufferView.C: remove more locking stuff that apparently doesn't
1875         do anything sensible.
1876
1877 2003-09-16  André Pönitz  <poenitz@gmx.net>
1878
1879         * paragraph.[Ch]:
1880         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1881           performance boost.
1882
1883 2003-09-16  Angus Leeming  <leeming@lyx.org>
1884
1885         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1886
1887         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1888         arg/return type.
1889
1890         * paragraph.h: remove #include "lyxfont.h". Forward declare
1891         LyXFont_size.
1892
1893 2003-09-16  Angus Leeming  <leeming@lyx.org>
1894
1895         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1896         of support/textutils.h.
1897         (isWord): move the contents of support/textutils.h's IsWordChar here.
1898
1899         * buffer.C:
1900         * lyxfind.C:
1901         * rowpainter.C:
1902         * text.C:
1903         * text2.C: add #include "paragraph.h".
1904
1905         * rowpainter.C:
1906         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1907
1908 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * main.C:
1911         * lyx_main.C:
1912         * lyx_cb.C:
1913         * buffer.C:
1914         * LaTeX.C: use namespace alias for lyx::support::os
1915
1916 2003-09-16  Angus Leeming  <leeming@lyx.org>
1917
1918         * bufferparams.C:
1919         * bufferview_funcs.C:
1920         * factory.C:
1921         * lyxfunc.C:
1922         * paragraph_pimpl.C:
1923         * rowpainter.C:
1924         * text.C: add #include "LColor.h".
1925
1926 2003-09-16  Angus Leeming  <leeming@lyx.org>
1927
1928         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1929         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1930         return LyXFont &.
1931         Store the FontBits::color variable as an int rather than as an
1932         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1933         file.
1934
1935         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1936         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1937         string calls together.
1938
1939         * lyxrc.C: add #include "LColor.h".
1940
1941 2003-09-15  Angus Leeming  <leeming@lyx.org>
1942
1943         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1944         a cow_ptr.
1945
1946 2003-09-15  Angus Leeming  <leeming@lyx.org>
1947
1948         * LColor.h: add an EnumLColor wrapper for LColor::color.
1949
1950         * lyxfont.[Ch] (color, setColor, realColor):
1951         * lyxtext.h, text.C (backgroundColor):
1952         pass EnumLColor args to/from the functions, rather than LColor::color
1953         ones.
1954
1955         * lyxfont.h:
1956         * lyxtext.h: forward declare EnumLColor.
1957
1958         * lyx_main.C: add #include "LColor.h".
1959
1960 2003-09-15  Angus Leeming  <leeming@lyx.org>
1961
1962         * .cvsignore: add lyx-gtk.
1963
1964 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * Chktex.C
1967         * LaTeX.C
1968         * LaTeXFeatures.C
1969         * ParagraphParameters.C
1970         * Spacing.C
1971         * buffer.C
1972         * bufferparams.C
1973         * bufferview_funcs.C
1974         * chset.C
1975         * counters.C
1976         * funcrequest.C
1977         * lyxfont.C
1978         * lyxgluelength.C
1979         * lyxlength.C
1980         * paragraph.C
1981         * paragraph_funcs.C
1982         * text3.C
1983         * vc-backend.C: remove usage of STRCONV
1984
1985 2003-09-15  Angus Leeming  <leeming@lyx.org>
1986
1987         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1988         explicitly define the color passed to the painter.
1989
1990 2003-09-15  Angus Leeming  <leeming@lyx.org>
1991
1992         * bufferparams.C (BufferParams): reorder member initializers to avoid
1993         compiler warning.
1994
1995 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1996
1997         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1998         * text.C (updateRowPositions): remove an unusual nop
1999
2000 2003-09-12  André Pönitz  <poenitz@gmx.net>
2001
2002         * BufferView_pimpl.C:
2003         * Bullet.C:
2004         * layout.h:
2005         * lyxfunc.C:
2006         * lyxlayout.[Ch]:
2007         * lyxtextclass.C:
2008         * rowpainter.C:
2009         * text.C:
2010         * text2.C:
2011         * Counters.[Ch]: finish the 'automatic counters' job
2012
2013 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2014
2015         * aspell.C: include <boost/assert.cpp> (compile fix)
2016
2017 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2018
2019         * boost.C (assertion_failed): use lyx::support::abort instead of
2020         assert.
2021
2022 2003-09-10  Angus Leeming  <leeming@lyx.org>
2023
2024         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2025         with their _fwd progeny.
2026
2027 2003-09-09  Angus Leeming  <leeming@lyx.org>
2028
2029         134 files throughtout the source tree: replace 'using namespace abc;'
2030         directives with the appropriate 'using abc::xyz;' declarations.
2031
2032 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2033
2034         * boost.C (emergencyCleanup): moved here from LAssert.c
2035         (assertion_failed): new function, called by BOOST_ASSERT
2036
2037         * several files: change Assert to BOOST_ASSERT
2038
2039 2003-09-09  Angus Leeming  <leeming@lyx.org>
2040
2041         * buffer.[Ch]: Add an Impl class and move Buffer's member
2042         variables into it. As a result move several header files out of
2043         buffer.h.
2044
2045         Add header files to lots of .C files all over the tree as a result.
2046
2047 2003-09-09  Angus Leeming  <leeming@lyx.org>
2048
2049         * buffer.[Ch]: make Buffer's member variables private. Add
2050         accessor functions.
2051
2052         Lots of changes all over the tree as a result.
2053
2054 2003-09-08  Angus Leeming  <leeming@lyx.org>
2055
2056         * graph.C: #include <config.h>.
2057
2058 2003-09-08  Angus Leeming  <leeming@lyx.org>
2059
2060         * BranchList.C:
2061         * BufferView.C:
2062         * BufferView_pimpl.C:
2063         * CutAndPaste.C:
2064         * DepTable.C:
2065         * LaTeX.C:
2066         * LaTeXFeatures.C:
2067         * LyXAction.C:
2068         * MenuBackend.C:
2069         * TextCache.C:
2070         * aspell.C:
2071         * buffer.C:
2072         * bufferlist.C:
2073         * changes.C:
2074         * chset.C:
2075         * converter.C:
2076         * counters.C:
2077         * debug.C:
2078         * graph.C:
2079         * ispell.C:
2080         * lyx_cb.C:
2081         * lyxfind.C:
2082         * lyxfunc.C:
2083         * lyxlex_pimpl.C:
2084         * lyxrc.C:
2085         * lyxrow.C:
2086         * paragraph.C:
2087         * rowpainter.C:
2088         * texrow.C:
2089         * text.C:
2090         * text2.C:
2091         * toc.C: remove redundant using directives.
2092
2093 2003-09-07  Angus Leeming  <leeming@lyx.org>
2094
2095         * LaTeXFeatures.h: remove #include "support/types.h".
2096         * ToolbarBackend.h: remove #include <algorithm>.
2097         * changes.h: remove #include <ctime>.
2098         * debug.h: remove #include <iosfwd>.
2099         * graph.h: remove #include "support/std_string.h".
2100         * lyx_main.h: remove #include <csignal>.
2101         * lyxlex_pimpl.h: remove #include <fstream>.
2102         * sgml.h: remove #include <algorithm>, <utility>.
2103         * toc.h: remove #include "support/std_ostream.h".
2104         Add #include <iosfwd>.
2105
2106 2003-09-07  Angus Leeming  <leeming@lyx.org>
2107
2108         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2109
2110         * converter.h: forward declare LatexRunParams.
2111         * encoding.h: remove #include "lyxrc.h".
2112         * lyxtext.h: remove #include "LColor.h".
2113         * lyxtextclass.h: remove #include "support/types.h".
2114         * trans.h: remove #include "tex-accent.h".
2115         * trans_mgr.h: remove #include "tex-accent.h".
2116         * insets/inset.h: remove #include "support/types.h", <vector>.
2117         * insets/insetcollapsable.h: remove #include "LColor.h".
2118         * insets/insetinclude.h: remove #include "dimension.h".
2119         * insets/insetlatexaccent.h: remove #include "dimension.h".
2120         * insets/insetoptarg.h:: remove #include "insettext.h".
2121         * insets/insettext.h: remove #include "dimension.h",
2122         <boost/shared_ptr.hpp>
2123
2124         * insets/renderers.h: add #include "dimension.h".
2125         * insets/updatableinset.h: add #include "support/types.h".
2126
2127         * many .C files: Associated changes.
2128
2129 2003-09-06  Angus Leeming  <leeming@lyx.org>
2130
2131         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2132         one, inside testInvariant.
2133
2134         * PrinterParams.C: new file.
2135         * PrinterParams.[Ch]: move the function bodies out of line.
2136
2137 2003-09-06  Angus Leeming  <leeming@lyx.org>
2138
2139         * ParagraphParameters.h: forward declare ParameterStruct rather than
2140         including its header file.
2141         (depth): moved out-of-line.
2142
2143 2003-09-06  Angus Leeming  <leeming@lyx.org>
2144
2145         * BufferView_pimpl.h:
2146         * kbmap.h:
2147         * kbsequence.h:
2148         * lyxfunc.h: forward declare LyXKeySym rather than
2149         #include "frontends/LyXKeySym.h".
2150
2151         * BufferView_pimpl.C:
2152         * kbmap.C:
2153         * kbsequence.C:
2154         * lyxfunc.C: associated changes.
2155
2156 2003-09-06  Angus Leeming  <leeming@lyx.org>
2157
2158         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2159         As a result, can remove the #include "insets/inset.h" from BufferView.h
2160
2161 2003-09-06  Angus Leeming  <leeming@lyx.org>
2162
2163         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2164         As a result, can remove the #include "insets/inset.h" from BufferView.h
2165
2166 2003-09-06  Angus Leeming  <leeming@lyx.org>
2167
2168         * buffer_funcs.C:
2169         * buffer.h:
2170         * bufferlist.C:
2171         * BufferView.C:
2172         * bufferview_funcs.C:
2173         * BufferView_pimpl.C:
2174         * CutAndPaste.C:
2175         * lyx_cb.C:
2176         * lyxfunc.C:
2177         * paragraph.h:
2178         * ParagraphParameters.C:
2179         * tabular.C:
2180         * text3.C:
2181         * toc.C:
2182         * undo_funcs.C:
2183         * frontends/controllers/ControlDocument.C:
2184         * insets/insetcaption.C: rearrange the #includes into some sort of
2185         coherent order.
2186
2187         * buffer.h: remove #includes ErrorList.h, undo.h
2188
2189 2003-09-06  Angus Leeming  <leeming@lyx.org>
2190
2191         * support/types.h: add a 'depth_type' typedef, used to store the
2192         nesting depth of a paragraph.
2193
2194         * paragraph.h:
2195         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2196         defining explicitly.
2197
2198         * buffer.h:
2199         * paragraph_funcs.h:
2200         * ParagraphParameters.h:
2201         * sgml.h: use lyx::depth_type rather than Paragraph or
2202         ParameterStruct's depth_type.
2203
2204         * buffer.h
2205         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2206
2207         * BufferView.C:
2208         * BufferView_pimpl.C:
2209         * CutAndPaste.C:
2210         * ParagraphParameters.C:
2211         * buffer_funcs.C:
2212         * bufferlist.C:
2213         * bufferview_funcs.C:
2214         * lyx_cb.C:
2215         * lyxfunc.C:
2216         * tabular.C:
2217         * text3.C:
2218         * toc.C:
2219         * undo_funcs.C:
2220         * frontends/LyXView.C:
2221         * frontends/controllers/ControlDocument.C:
2222         * frontends/controllers/ControlErrorList.C:
2223         * insets/insetbibitem.C:
2224         * insets/insetbranch.C:
2225         * insets/insetcaption.C:
2226         * insets/insetcollapsable.C:
2227         * insets/insetenv.C:
2228         * insets/insetert.C:
2229         * insets/insetfloat.C:
2230         * insets/insetfoot.C:
2231         * insets/insetfootlike.C:
2232         * insets/insetnewline.C:
2233         * insets/insetquotes.C:
2234         * insets/insettabular.C:
2235         * insets/insettext.C:
2236         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2237
2238         * frontends/controllers/ControlChanges.C: #include "changes.h".
2239
2240 2003-09-06  Angus Leeming  <leeming@lyx.org>
2241
2242         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2243         than #including paragraph.h.
2244
2245         * ParagraphList.h:
2246         * RowList.h: deleted. Superfluous.
2247
2248         * CutAndPaste.h:
2249         * iterators.h:
2250         * lyxcursor.h:
2251         * lyxtext.h:
2252         * text_funcs.h:
2253         * undo.h:
2254         * undo_funcs.h:
2255         * insets/inset.h:
2256         * insets/insettext.h: use ParagraphList_fwd.h rather than
2257         ParagraphList.h.
2258
2259         * paragraph.h: don't forward declare ParagraphList.
2260
2261         * buffer.h:
2262         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2263         rather than ParagraphList.h. paragraph.h is still needed for the
2264         Paragraph::depth_type parameters.
2265
2266         * textcursor.h: enable it to compile stand-alone in light of the
2267         above changes.
2268
2269         * bufferview_funcs.C:
2270         * iterators.C:
2271         * lyxfunc.C:
2272         * lyxrow_funcs.C:
2273         * paragraph.C:
2274         * rowpainter.C:
2275         * text.C:
2276         * text2.C:
2277         * text3.C:
2278         * text_funcs.C:
2279         * textcursor.C:
2280         * undo.C:
2281         * frontends/controllers/ControlParagraph.C:
2282         * frontends/controllers/ControlTabular.C:
2283         * insets/insetmarginal.C:
2284         * insets/insetminipage.C:
2285         * insets/insetnote.C:
2286         * insets/insetoptarg.C: add header files needed to compile again.
2287
2288 2003-09-06  Angus Leeming  <leeming@lyx.org>
2289
2290         * RowList_fwd.h: new file, forward-declaring Row rather than
2291         #including lyxrow.h.
2292
2293         * lyxrow_funcs.h:
2294         * lyxtext.h:
2295         * paragraph.h:
2296         * insets/insettext.h: use it instead of RowList.h
2297
2298         * bufferview_funcs.C:
2299         * lyxfunc.C:
2300         * lyxrow_funcs.C:
2301         * paragraph.C:
2302         * rowpainter.C:
2303         * text.C:
2304         * text2.C:
2305         * text3.C: #include "RowList.h".
2306
2307 2003-09-05  Angus Leeming  <leeming@lyx.org>
2308
2309         * factory.C (createInset):
2310         * vspace.C (c-tor): replace sscanf call with an istringstream.
2311         * ispell.C: re-add missing HP/UX headers.
2312         * lyxserver.C: re-add missing  os2 headers.
2313
2314 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2315
2316         * BranchList.C:
2317         * graph.C:
2318         * ispell.C:
2319         * lastfiles.C:
2320         * lyx_cb.C:
2321         * lyxserver.C:
2322         * texrow.C:
2323         * text3.C: re-add missing system headers, needed for 2.95.2.
2324
2325 2003-09-05  Angus Leeming  <leeming@lyx.org>
2326
2327         Changes most place everywhere due to the removal of using directives
2328         from support/std_sstream.h.
2329
2330 2003-09-05  Angus Leeming  <leeming@lyx.org>
2331
2332         Replace LString.h with support/std_string.h,
2333         Lsstream.h with support/std_sstream.h,
2334         support/LIstream.h with support/std_istream.h,
2335         support/LOstream.h with support/std_ostream.h.
2336
2337         Changes resulting throughout the tree.
2338
2339 2003-09-05  Angus Leeming  <leeming@lyx.org>
2340
2341         * sgml.h: ensure that the header file can be compiled stand-alone.
2342         * *.C: strip out redundant #includes. (320 in total.)
2343
2344 2003-09-04  Angus Leeming  <leeming@lyx.org>
2345
2346         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2347         here (from getPackages).
2348
2349         * debug.[Ch]: add a new EXTERNAL tag.
2350
2351 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2352
2353         * text2.C (cursorEnd): simplify
2354         (setCursor): adjust
2355         (getColumnNearX): adjust
2356
2357         * text.C (computeBidiTables): adjust
2358         (fill): adjust
2359
2360         * rowpainter.C (paintChars): adjust
2361         (paintSelection): adjust
2362         (paintChangeBar): adjust
2363         (paintText): adjust
2364
2365         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2366         lastPos instead.
2367         (numberOfSeparators): adjust
2368
2369 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2370
2371         * LyXAction.C:
2372         * box.[Ch]:
2373         * lfuns.h:
2374         * lyxfunc.C:
2375         * text3.C: Restricts the mouse click functionality
2376         of insets like bibtex, include, toc and floatlist to the visible
2377         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2378         up the dialogs. Cursor has to be in front of the inset (i.e.
2379         start of row) for this to function.
2380
2381 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2382
2383         * bufferview_funcs.C (currentState): output row information
2384
2385 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2386
2387         * bufferview_funcs.C (currentState): output paragraph position
2388
2389 2003-09-04  Angus Leeming  <leeming@lyx.org>
2390
2391         * FloatList.h: move out #include "Floating.h".
2392         * LaTeX.h: move out #include "DepTable.h".
2393         * LyXAction.h: move out #include "funcrequest.h".
2394         * buffer.h: move out #include "author.h", "iterators.h".
2395         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2396         * lyx_main.h: move out #include "errorlist.h".
2397         * lyxfunc.h: move out #include "FuncStatus.h".
2398         * lyxtext: move out #include "lyxcursor.h".
2399         * paragraph_pimpl.h: move out #include "counters.h".
2400
2401 2003-09-03  Angus Leeming  <leeming@lyx.org>
2402
2403         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2404         preamble_snippets list, enabling us to add snippets to the preamble
2405         only if the snippet was not there already.
2406
2407 2003-09-04  Angus Leeming  <leeming@lyx.org>
2408
2409         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2410
2411 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2414         update
2415
2416 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * BranchList.C: point fix, earlier forgotten
2419
2420 2003-09-02  Angus Leeming  <leeming@lyx.org>
2421
2422         * box.C (contains): renamed from 'contained' after a fantastic
2423         amount of hot air.
2424
2425 2003-09-02  John Levon  <levon@movementarian.org>
2426
2427         * BufferView.C:
2428         * lyxcursor.h:
2429         * lyxcursor.C:
2430         * lyxfunc.C:
2431         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2432
2433 2003-09-02  John Levon  <levon@movementarian.org>
2434
2435         * text2.C: simplification of cursorEnd(), including partial
2436         fix for bug 1376
2437
2438 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2439
2440         * buffer.C (readFile): add a space
2441
2442 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2445
2446 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2447
2448         * buffer.C (readFile): new function, take a filename and a
2449         ParagraphList::iterator
2450         (readFile): adjust
2451         (readFile): adjust, make it private. don't use setStream, make
2452         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2453         always contain the filename.
2454
2455         * BufferView.C (insertLyXFile): simplify and make it work for
2456         gzipped files.
2457
2458 2003-08-30  John Levon  <levon@movementarian.org>
2459
2460         * Makefile.am: fix dist (from Kayvan)
2461
2462 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * most files: change to use const Buffer refs
2465
2466 2003-08-27  André Pönitz  <poenitz@gmx.net>
2467
2468         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2469         on top of ownerPar().
2470
2471 2003-08-27  John Levon  <levon@movementarian.org>
2472
2473         * funcrequest.C: properly initialise POD members
2474
2475 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2476
2477         * lyxtext.h (top_y): move top_y from here
2478         * text.C:
2479         * text2.C:
2480         * text3.C:
2481         * BufferView.[Ch]:
2482         * BufferView_pimpl.[Ch]: to here
2483         * frontends/screen.C:
2484         * insets/insettabular.C:
2485         * insets/insettext.C: adjust
2486         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2487
2488 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2489
2490         * BufferView.[Ch]:
2491         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2492
2493 2003-08-26  André Pönitz  <poenitz@gmx.net>
2494
2495         * paragraph_func.[Ch] (outerPar): new function
2496
2497         * paragraph.C:
2498         * paragraph_funcs.C:
2499         * paragraph_funcs.h:
2500         * paragraph_pimpl.C:
2501         * text2.C: remove Inset::par_owner
2502
2503 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2504
2505         * lyxrow_funcs.C:
2506         * lyxtext.h:
2507         * text.C:
2508         * text2.C: eliminates the needFullRow/display() stuff
2509         altogether, putting the logic in metrics/draw in the insets.
2510
2511 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * text2.C (redoParagraphInternal, redoParagraphs):
2514         * text.C (redoParagraph): add a call to updateRowPositions at the
2515         end of each 'metrics-like' call. Remove all others.
2516         (getRow): remove the 'y-computing' version.
2517         (getRowNearY): do not compute nor return the real y. Solve the
2518         'y < 0' problem and simplify.
2519
2520 2003-08-22  Angus Leeming  <leeming@lyx.org>
2521
2522         * *.[Ch]: clean-up of licence and author blurbs.
2523         Also move config.h out of a few .h files and into a few .C files.
2524
2525 2003-08-22  André Pönitz  <poenitz@gmx.net>
2526
2527         * lyxrow.[Ch]: add x_ and *fill_ members
2528
2529         * lyxtext.h:
2530         * text.C:
2531         * rowpainter.C:
2532         * text2.C: adjust/remove prepareToPrint() calls
2533
2534 2003-08-22  André Pönitz  <poenitz@gmx.net>
2535
2536         * lyxrow.[Ch]: add  end_ member
2537
2538         * lyxrow_funcs.C: use LyXRow::end_
2539
2540         * lyxtext.h (singleWidth): add LyXFont parameter
2541
2542         * rowpainter.C:
2543         * text2.C: adjust LyXText::singleWidth() calls
2544
2545         * text.C (redoParagraph): simplify row breaking logic
2546
2547
2548 2003-08-19  André Pönitz  <poenitz@gmx.net>
2549
2550         * funcrequest.C: initialize button_ member
2551
2552         * text3.C:
2553         * rowpainter.[Ch]: interface consolidation
2554
2555 2003-08-18  André Pönitz  <poenitz@gmx.net>
2556
2557         * BufferView.C:
2558         * BufferView_pimpl.C:
2559         * lyxfind.C:
2560         * paragraph_funcs.C:
2561         * rowpainter.C:
2562         * text3.C: remove LyXScreen::draw() and fitCursor calls
2563
2564         * BranchList.h: remove spurious semicolons
2565
2566         * MenuBackend.C: fix branchlist related crash
2567
2568 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2569
2570         * BranchList.[Ch]:
2571         * InsetList.[Ch]:
2572         * LColor.[Ch]:
2573         * LyXAction.C:
2574         * Makefile.am:
2575         * MenuBackend.[Ch]:
2576         * bufferparams.[Ch]:
2577         * factory.C:
2578         * lfuns.h:
2579         * lyxfunc.C:
2580         * text3.C: implements the 'branch inset'
2581         idea. This allows the output of various versions of a document
2582         from a single source version, selectively outputing or suppressing
2583         output of parts of the text.
2584         This implementation contains a 'branch list editor' in a separate
2585         tab of the document settings dialog. Branches are user definable
2586         and have a "display colour" to distinguish them on-screen.
2587
2588         ColorHandler was somewhat cleaned up.
2589         (1) make possible a dynamically growing LColor list by allowing
2590         the graphic context cache to grow along (vector);
2591         (2) eliminate an IMHO unnecessary step in colour allocation.
2592
2593 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2594
2595         * BufferView_pimpl.C: compile fix
2596
2597 2003-08-15  André Pönitz  <poenitz@gmx.net>
2598
2599         * rowpainter.C: remove extra metrics calls
2600
2601         * lyxtext.h: merge the two constructors into a single one,
2602           pass reference to owner's par list
2603
2604         * BufferView_pimpl.C:
2605         * text.C:
2606         * text2.C: adjust
2607
2608 2003-08-15  André Pönitz  <poenitz@gmx.net>
2609
2610         * lyxrow_funcs.[Ch]:
2611         * lyxtext.h:
2612         * paragraph.h:
2613         * paragraph_funcs.C:
2614         * rowpainter.C:
2615         * text.C:
2616         * text2.C:
2617         * text3.C:
2618         * text_funcs.C: split LyXText::rowlist_ into individual
2619         Paragraph::rows_ chunks
2620
2621         * BufferView.[Ch]:
2622         * BufferView_pimpl.[Ch]:
2623         * lyxfind.C:
2624         * lyxtext.h:
2625         * text3.C: remove toggleSelection()
2626
2627 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2628
2629         * bufferlist.C: beautify two alerts (shorter text of buttons)
2630         * buffer.C: Remove redundant ' ' from message
2631         * tabular.h:
2632         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2633         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2634         rename VALIGN_CENTER to VALIGN_MIDDLE
2635
2636 2003-08-11  André Pönitz  <poenitz@gmx.net>
2637
2638         * lyxtext.h (getPar):
2639         * text.C: new function
2640
2641 2003-08-11  André Pönitz  <poenitz@gmx.net>
2642
2643         * Makefile.am:
2644         * tracer.[Ch]: remove unneeded files
2645
2646         * InsetList.[Ch]: remove resizeInsetsLyXText()
2647
2648         * lyxtext.h:
2649         * text.C:
2650         * text2.C:
2651         * text3.C: merge insertParagraphs() and appendParagraph()
2652         remove breakAgain(), update()
2653
2654         * BufferView_pimpl.[Ch]:
2655         * bufferview_funcs.[Ch]:
2656         * lyxfunc.C:
2657         * paragraph.[Ch]:
2658         * rowpainter.C:
2659         * tabular.C: adjust after text & InsetList changes.
2660
2661 2003-08-08  André Pönitz  <poenitz@gmx.net>
2662
2663         * text.C (insertChar, backspace): replace rowlist fiddling
2664         with rebreak of full par
2665
2666         * lyxtext.h:
2667         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2668         checkParagraph, updateInset): removed
2669
2670 2003-08-07  André Pönitz  <poenitz@gmx.net>
2671
2672         * paragraph.C:
2673         * text3.C: merge some LFUN handlers, remove dead code
2674
2675 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2678
2679 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * text2.C (DEPM): fix part of bug 1255 and 1256
2682
2683 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * BufferView_pimpl.C (workAreaDispatch): change to use
2686         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2687         that are no mouse related.
2688
2689 2003-08-05  André Pönitz  <poenitz@gmx.net>
2690
2691         * BufferView.[Ch]:
2692         * BufferView_pimpl.[Ch]:
2693         * bufferview_funcs.C:
2694         * text2.C:
2695         * text3.C: rip out "deep update"
2696
2697         * textcursor.[Ch] (last_sel_cursor): remove unused member
2698
2699 2003-08-04  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView.[Ch]:
2702         * BufferView_pimpl.[Ch]:
2703         * ParagraphParameters.C:
2704         * bufferview_funcs.C:
2705         * lyx_cb.C:
2706         * lyxfind.C:
2707         * lyxfunc.C:
2708         * text.C:
2709         * text2.C:
2710         * text3.C: replace "complicated" BufferView::update(...) calls with
2711         simpler ones.
2712
2713         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2714
2715 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2716
2717         * Makefile.am (lyx_SOURCES): add paper.h
2718
2719 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2720
2721         * Makefile.am: move things around so that both lyx-qt and
2722         lyx-xforms can be built (according to --with-frontend). Then lyx
2723         is a symbolic link to lyx-[firstfrontend]
2724
2725 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2726
2727         * Always use std::endl with lyxerr
2728
2729 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2730
2731         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2732
2733 2003-08-01  André Pönitz  <poenitz@gmx.net>
2734
2735         * BufferView.[Ch]:
2736         * BufferView_pimpl.[Ch]:
2737         * lyxfunc.C:
2738         * text3.C: merge BufferView::repaint() and BufferView::update()
2739
2740 2003-08-01  José Matos  <jamatos@lyx.org>
2741
2742         * buffer.[Ch]: file_format is no longer a buffer data element.
2743
2744 2003-08-01  André Pönitz  <poenitz@gmx.net>
2745
2746         * BufferView.C:
2747         * lyxtext.h:
2748         * text.C:
2749         * text2.C: make redoParagraph more independent of current cursor
2750
2751         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2752         * text.C:
2753         * text2.C: remove unneeded members
2754
2755 2003-07-30  André Pönitz  <poenitz@gmx.net>
2756
2757         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2758
2759         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2760           create a single function...
2761
2762         * paragraph_funcs.C (moveItem): ... here.
2763
2764         * text.C:
2765           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2766
2767 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2768
2769         * LColor.[Ch]: Add comment and greyedout logical colors.
2770
2771 2003-07-30  André Pönitz  <poenitz@gmx.net>
2772
2773         * tabular.C: don't use Assert too heavily. This crashes where it
2774           shouldn't
2775
2776 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2777
2778         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2779         is disabled (bug 1232)
2780
2781 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * factory.C: limited 'arg' scope
2784
2785 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * factory.C: fixed Note submenu issues
2788
2789 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2790
2791         * factory.C: submenu for Note/Comment/Greyedout
2792
2793 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * lyx_main.C (LyX):
2796         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2797
2798 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2799
2800         * LaTeXFeatures.C:
2801         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2802         greyedout. Patch provided by Jürgen Spitzmüller.
2803
2804 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * kbmap.C (read): fix error message when reading bind files
2807
2808 2003-07-29  Angus Leeming  <leeming@lyx.org>
2809
2810         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2811         certainly does not do what it purports to do. I am doing it, and
2812         us, a favour by killing it.
2813
2814 2003-07-28  José Matos  <jamatos@lyx.org>
2815
2816         * buffer.C (readBody, do_writeFile):
2817         * paragraph.C(readParagraph): \end_document replaces \the_end.
2818
2819 2003-07-29  André Pönitz  <poenitz@gmx.net>
2820
2821         * BufferView.[Ch]:
2822         * BufferView_pimpl.[Ch]:
2823         * lyxfunc.C:
2824         * text2.C:
2825         * text3.C:
2826         * textcursor.[Ch]: remove toggleToggle & Co
2827
2828 2003-07-28  José Matos  <jamatos@fep.up.pt>
2829
2830         * buffer.C (readParagraph):
2831         * params_func (readParToken, readParagraph):
2832         * paragraph.C (write): \layout -> \begin_layout.
2833
2834 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * lyxlex_pimpl.C (setFile): clean up slightly.
2837
2838         * bufferparams.h: add compressed var
2839
2840         * buffer_funcs.C (readFile): adjust for LyXLex change
2841         (newFile): ditto + simplify
2842
2843         * buffer.C (writeFile): handle writing of compressed files
2844
2845         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2846         Check if the file is compressed and set a bufferparm if so.
2847
2848         * Makefile.am (lyx_LDADD): remove explicit -lz
2849
2850 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2851
2852         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2853         makeDocBookFile): put the real LyX version in the first line of
2854         the file
2855
2856         * version.h:
2857         * version.C.in: remove lyx_docversion
2858
2859         * tabular.C (write_attribute): add a template-based version to
2860         write enums properly
2861
2862 2003-07-28  André Pönitz  <poenitz@gmx.net>
2863
2864         * lyxtext.h:
2865         * text.C:
2866         * text2.C:
2867         * text3.C: use doubles again for x-coordinates. They are needed.
2868
2869 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2870
2871         * messages.C (getLocaleDir): use lyx_localedir()
2872
2873         * lyxlex_pimpl.C (setFile): compress stuff
2874
2875         * buffer.C (writeFile): add some compression stuff
2876         (do_writeFile): new func, dont call expliti close... will this
2877         breake anything?
2878
2879         * Makefile.am (lyx_LDADD): add -lz
2880
2881 2003-07-28  José Matos  <jamatos@fep.up.pt>
2882
2883         * buffer.C: increment file format.
2884         * paragraph_funcs (readParagraph, readParToken):
2885         * paragraph.C (readParagraph): add \end_layout.
2886
2887 2003-07-27  Angus Leeming  <leeming@lyx.org>
2888
2889         * Makefile.am: remove special casing for configure-time setting of
2890         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2891
2892         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2893         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2894
2895 2003-07-26  André Pönitz  <poenitz@gmx.net>
2896
2897         * paragraph_func.[Ch]:
2898         * paragraph.C (realizeFont): inline it whereever it is used
2899
2900         * rowpainter.C:
2901         * text.C:
2902         * text2.C:
2903         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2904
2905
2906 2003-07-26  André Pönitz  <poenitz@gmx.net>
2907
2908         *       lyxtext.h:
2909         * text.C:
2910         * text2.C: get rid of LyXText::need_break_row
2911
2912 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * toc.[Ch]: put namespace toc inside namespace lyx
2915
2916         * MenuBackend.C (expandToc2): adjust for lyx::toc
2917         (expandToc): ditto
2918
2919         * lyxfunc.C (dispatch): adjust for lyx::find
2920
2921         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2922         lyx::find instead. Reorganize a bit.
2923         (LyXReplace): rename to replace
2924         (LyXFind): rename to find
2925
2926         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2927         (dispatch): ditto
2928
2929 2003-07-26  André Pönitz  <poenitz@gmx.net>
2930
2931         * text.C (setHeightOfRow): restrict scope of temporary variable
2932
2933         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2934           code (never has been used?)
2935
2936 2003-07-27  Asger Alstrup  <alstrup@local>
2937
2938         * text.C (fill): Optimise algorithm to exploit that we can reuse
2939         the LyXFont for many characters.
2940         (setHeightOfRow): Same thing.
2941         (rowBreakPoint): Same thing.
2942
2943 2003-07-26  Asger Alstrup  <alstrup@local>
2944
2945         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2946
2947         * text.C (singleWidth): Spurious font copying in hot-spot
2948         singleWidth avoided. Reorder tests for arabic for efficiency.
2949
2950         * text.C (fill): handle empty paragraphs better.
2951
2952 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2953
2954         * ispell.C:
2955         * encoding.h: add includes
2956
2957         * lyxrc.C: remove reading of bind files
2958
2959         * lyx_main.C (init): setup bindings and menus only if we have a
2960         gui.
2961
2962         * kbmap.C (read): new method. Do the actual reading of bind
2963         files.
2964
2965         * converter.C (dvipdfm_options):
2966         * bufferparams.C:
2967         * lyxrc.C (read):
2968         (output): adapt PAPER_* enums.
2969
2970         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2971
2972         * bufferparams.h: remove paper-related enums from there
2973
2974         * paper.h: New file. A trivial header file to hold paper-related
2975         enums. It should later expand to contain many paper-related
2976         horrors access.
2977
2978         * lyxrc.C: declare extern displayTranslator
2979
2980 2003-07-27  José Matos  <jamatos@fep.up.pt>
2981
2982         * tabular.[Ch] (linuxdoc): add support for tables and figures
2983         (linuxdoc).
2984
2985 2003-07-27  José Matos  <jamatos@fep.up.pt>
2986
2987         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2988         consistency in both functions.
2989         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2990
2991 2003-07-26  Asger Alstrup  <alstrup@local>
2992
2993         * rowpainter.C (paintRows): Change algorithm to work directly on
2994         the insets rather than asking every character in the document
2995         whether its an inset.
2996
2997 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * buffer.C (openFileWrite): factorize some code
3000
3001 2003-07-26  Angus Leeming  <leeming@lyx.org>
3002
3003         * lyx_cb.C:
3004         * lyx_main.[Ch]: replace occurances of system_tempdir with
3005         os::getTmpDir().
3006
3007 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3008
3009         * rename Inset to InsetOld
3010
3011 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3012
3013         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3014         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3015         which I think is a bit clearer. EDIT is gone, since it was
3016         premature optimisation, and broken for mathed anyway.
3017         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3018         with cursor positioning in insets as well (math insets still do not
3019         work, but that's a different story anyway.) It mysteriously
3020         crashes sometimes with undo in the first paragraph, but I'm fairly
3021         confident that this is a compiler bug.
3022
3023 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * paragraph.C (Paragraph): adjust for new clone return type
3026         (operator==): ditto
3027         (copyIntoMinibuffer): ditto
3028
3029 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3030
3031         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3032         by not having a special case, and always doing a full rebreak of
3033         the document after undo.
3034
3035 2003-07-23  Angus Leeming  <leeming@lyx.org>
3036
3037         * factory.C (createInset): InsetExternal::setParams now takes a
3038         Buffer const * arg.
3039
3040 2003-07-23  Angus Leeming  <leeming@lyx.org>
3041
3042         * factory.C (createInset): changed interface to the external and
3043         graphics mailers' string2params functions.
3044
3045 2003-07-23  Angus Leeming  <leeming@lyx.org>
3046
3047         * factory.C (createInset): pass a
3048         Buffer const * parameter to InsetExternalMailer's string2params.
3049
3050 2003-07-22  John Levon  <levon@movementarian.org>
3051
3052         * Thesaurus.h: include the right aiksaurus header
3053
3054 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * MenuBackend.C (expand): check menu shortcuts unconditionally
3057
3058 2003-07-21  Angus Leeming  <leeming@lyx.org>
3059
3060         * factory.C (createInset): pass a
3061         buffer_path parameter to InsetGraphicsMailer's string2params.
3062
3063 2003-07-21  Angus Leeming  <leeming@lyx.org>
3064
3065         * BufferView_pimpl.C (buffer):
3066         * buffer.C (d-tor):
3067         * lyx_main.C (LyX):
3068         * lyxfunc.C (dispatch):
3069         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3070         rather than the grfx shortcut.
3071
3072 2003-07-21  André Pönitz  <poenitz@gmx.net>
3073
3074         * rowpainter.C: remove unused variables
3075
3076         * tabular_funcs.C:
3077         * tabular_funcs.h: move to tabular.C
3078         * Makefile.am: adjust
3079
3080         * tabular.[Ch]: basic optical cleaning
3081
3082         * author.h: pass references, not values
3083
3084 2003-07-18  André Pönitz  <poenitz@gmx.net>
3085
3086         * lyxtext.h:
3087         * metricsinfo.C:
3088         * metricsinfo.h:
3089         * rowpainter.C:
3090         * text.C:
3091         * text2.C:
3092         * text3.C: two-phase drawing for InsetText and InsetTabular
3093         some float -> int changes.
3094
3095 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * lyx_main.C: fix the fix
3098
3099 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * lyx_main.C: fix a crash in batch mode if no files specified
3102         * converter.C: ws
3103
3104 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3105
3106         * format.[Ch] (papersize): moved to BufferParams
3107         * converter.[Ch] (dvips_options): moved to BufferParams
3108         (dvipdfm_options): moved to anon namespace
3109         * bufferparams.[Ch]: added above functions.
3110
3111 2003-07-17  André Pönitz  <poenitz@gmx.net>
3112
3113         * lyxtext.h:
3114         * rowpainter.C:
3115         * text2.C: don't call inset->update() anymore
3116
3117         * metricsinfo.[Ch]: add convenience constructor
3118
3119 2003-07-16  André Pönitz  <poenitz@gmx.net>
3120
3121         * lyxcursor.[Ch]:
3122         * lyxfunc.[Ch]:
3123         * text.C:
3124         * text2.C: replace the LyXCursor::irow_ member with
3125          on-demand computation of the value
3126
3127 2003-07-16  John Levon  <levon@movementarian.org>
3128
3129         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3130
3131 2003-07-15  André Pönitz  <poenitz@gmx.net>
3132
3133         * text.C:
3134         * text2.C: remove no more needed refresh_row
3135
3136 2003-07-15  André Pönitz  <poenitz@gmx.net>
3137
3138         * lyxtext.h:
3139         * rowpainter.C:
3140         * text2.C:
3141         * text3.C: refresh_status tristate -> need_update bool
3142
3143 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3144
3145         * lyxtext.h (init): remove reinit argument (act as if always true)
3146         * text2.C: adjust to that
3147
3148 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3149
3150         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3151         * text3.C: use it to delete selections in some cases
3152         (bugs 441, 673, 702, 954).
3153
3154 2003-07-14  André Pönitz  <poenitz@gmx.net>
3155
3156         * rowpainter.[Ch]: reduce interface
3157
3158 2003-07-14  André Pönitz  <poenitz@gmx.net>
3159
3160         * BufferView_pimpl.C:
3161         * text2.C: adjust after removing unused BufferView * argument
3162
3163 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3164
3165         * text2.C (init): fix a crash fired on resize
3166
3167 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * buffer.[Ch]: added new closing signal
3170         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3171         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3172         BufferView::Pimpl via the closing the signal
3173
3174 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * buffer.[Ch]: take out all bv-related from buffer
3177         * BufferView.C:
3178         * BufferView_pimpl.[Ch]: connect to new signals
3179         * CutAndPaste.C: removed useless asserts
3180         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3181         * lyxvc.[Ch]:
3182         * vc-backend.[Ch]:
3183         * lyxfunc.C: moved view-related funciontality from vc here
3184         * paragraph.C: removed outdated comments
3185         * text.C: ws
3186
3187 2003-07-10  André Pönitz  <poenitz@gmx.net>
3188
3189         * BufferView_pimpl.C:
3190         * tabular.h:
3191         * tabular_funcs.C:
3192         * text.C:
3193         * text2.C: remove InsetText::InnerCache, clean up consequences
3194
3195 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3196
3197         * ispell.C: fix two typos in error messages
3198
3199 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3200
3201         * Extend Note inset to other forms of annotation like Comment
3202         and Greyedout. Right button click gives dialog.
3203
3204         Files modified or added (+):
3205
3206         * insetnote.[Ch]
3207         * FormNote.[Ch]      +
3208         * ControlNote.[Ch]   +
3209         * form_note.fd       +
3210         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3211         frontends/controllers
3212         * xforms/Dialogs.C
3213         * factory.C
3214
3215 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3216
3217         * aspell.C: add missing namespace lyx::support
3218
3219 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * BufferView.[Ch] (newFile): Add
3222         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3223         * LaTeX.[Ch] (message): added this signal and use it
3224         * buffer.[Ch] (busy, message): added these signals and use them
3225         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3226         * converter.C:
3227         * exporter.C:
3228         * format.C:
3229         * importer.C: use buffer signals instead of direct bv calling
3230         * lyx_cb.[Ch] (ShowMessage): removed
3231         * lyx_main.C:
3232         * lyxfunc.C:
3233         * paragraph_funcs.C:
3234         * text2.C: use buffer signals
3235
3236 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3237
3238         * introduce namespace lyx::graphics
3239
3240 2003-07-02  André Pönitz  <poenitz@gmx.net>
3241
3242         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3243
3244 2003-07-01  André Pönitz  <poenitz@gmx.net>
3245
3246         * text.C:
3247         * text2.C:
3248         * text3.C:
3249         * text_funcs.[Ch]:
3250         * textcursor.h:
3251         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3252           text*.C to text_func.C
3253
3254 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * introduce namespace lyx::support
3257
3258 2003-06-30  André Pönitz  <poenitz@gmx.net>
3259
3260         * Chktex.C:
3261         * funcrequest.C:
3262         * lyxtext.h:
3263         * text.C: re-enable --with-included-string
3264
3265 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3266
3267         * textcursor.C: add <config.h>
3268
3269         * text.C (getWord): remove const from word_location arg
3270
3271         * lyxvc.C (getLogFile): fix const type order
3272
3273         * lyxtext.h: remove const from word_location arg, add arg name
3274
3275         * lyxlayout.h: currect type on labeltype.
3276
3277         * importer.C: correct \file
3278
3279         * converter.C (intToFormat): use std:: on ret val, ws changes
3280
3281         * bufferlist.h: correct \file
3282
3283         * buffer.C (makeLinuxDocFile): fix const type order
3284         (makeDocBookFile): ditto
3285         (fillWithBibKeys): use std:: on stdlib args.
3286
3287         * CutAndPaste.C: fix authors.
3288         (availableSelections): use std:: on return vector
3289
3290 2003-06-27  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView_pimpl.C:
3293         * bufferview_funcs.C:
3294         * lyxcursor.C:
3295         * lyxcursor.h:
3296         * lyxfunc.C:
3297         * lyxtext.h:
3298         * rowpainter.C:
3299         * text.C:
3300         * text2.C:
3301         * text3.C: remove LyXCursor::row_ member
3302
3303         * lyxtext.h:
3304         * text.C: rename fullRebreak() to partialRebreak() and implement
3305           a fullRebreak() that really bereks fully
3306
3307         * textcursor.h: new struct for cursor-related data
3308
3309 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * lyx_main.C (LyX): get full path of document loaded on the
3312         command line
3313
3314 2003-06-26  André Pönitz  <poenitz@gmx.net>
3315
3316         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3317           remove unused/broken operator>,<,>=.
3318
3319         *       text.C: remove only use of broken operator<= in an Assert().
3320
3321 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3324         moved errorlist_.clear to showErrorList
3325
3326 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * converter.C (scanLog, runLaTeX):
3329         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3330         move the bv->showErrorList call to the callers
3331         * lyxfunc.C: i.e. here...
3332         * text2.C: and here
3333         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3334         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3335         namespace, the second to...
3336         * buffer_funcs (BufferFormat, parseErrors): added
3337         * errorlist.C (ErrorList(TeXErrors const &)): removed
3338
3339 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3340
3341         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3342
3343 2003-06-24  "Garst R. Reese" <reese@isn.net>
3344
3345         * debug.C: fix typo
3346
3347 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3350
3351         * version.C.in: change docversion to 1.4
3352
3353 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * buffer.C: fix a bug just introduced
3356
3357 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3358
3359         * buffer.[Ch]: added the parseError signal and use it, removed
3360         sgmlError
3361         * BufferView.[Ch] (addError): moved to ...
3362         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3363         to the Buffer::parseError signal to catch (guess what) parse errors
3364         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3365
3366 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3367
3368         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3369         ability to create a buffer and to return an existing one from
3370         the list. Moved these functions to...
3371         * buffer_funcs.[Ch]: added
3372         * BufferView.[Ch] (loadLyXFile): added
3373         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3374         job removed from bufferlist::loadLyXFile.
3375         * buffer.C (setReadOnly): make it work without view
3376         (i.e added an if (users))
3377
3378 2003-06-19  Angus Leeming  <leeming@lyx.org>
3379
3380         * lfuns.h:
3381         * LyXAction.C (init):
3382         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3383         with LFUN_DIALOG_SHOW <name> <data>.
3384
3385 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3386
3387         * CutAndPaste.C (availableSelections): small compilation fix for
3388         ancient (gcc 2.9x) compilers
3389
3390 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * text3.C (cursorNext): add tmp var
3393
3394         * text2.C (updateCounters): for function calling out of for clause
3395         (replaceSelectionWithString): ditto
3396         (insertStringAsParagraphs): ditto
3397         (getColumnNearX): add tmp var
3398         (setCursorFromCoordinates): add tmp var
3399         (cursorDownParagraph): add tmp var
3400         (deleteEmptyParagraphMechanism): add tmp var
3401
3402         * text.C (insertChar): add tmp var
3403
3404         * rowpainter.C (paintDepthBar): add tmp var
3405
3406         * CutAndPaste.C (availableSelections): potentially check all
3407         paragraphs in a cut to fill the shown strings.
3408
3409 2003-06-18  André Pönitz  <poenitz@gmx.net>
3410
3411         * kbmap.[Ch]: use vector<> instead of list<>
3412
3413 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3414
3415         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3416         pasteSelection with index
3417
3418         * text2.C (pasteSelection): modify, call pasteSelection with index
3419
3420         * paragraph.C (asString): reimplement version with no interval to
3421         call the one with interval.
3422
3423         * lyxtext.h: add index arg to pasteSelection
3424
3425         * MenuBackend.C (MenuItem): handle PasteRecent
3426         (Menu::read::Menutags): add md_pasterecent
3427         (read): handle it
3428         (expandPasteRecent): new function
3429         (expand): use it
3430
3431         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3432
3433         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3434         the limited stack
3435         (availableSelections): new function
3436
3437 2003-06-17  Angus Leeming  <leeming@lyx.org>
3438
3439         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3440
3441 2003-06-17  Angus Leeming  <leeming@lyx.org>
3442
3443         * lfuns.h:
3444         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3445
3446         * lyxfunc.C (dispatch): invoke it.
3447
3448 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3449
3450         * iterators.C (operator++, ParPosition): reintroduce some
3451         const_cast for the benefit of older compilers.
3452
3453 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3454
3455         * text3.C (dispatch): do not modify clipboard when doing
3456         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3457         LFUN_DELETE_SKIP on a selection selection
3458
3459 2003-06-16  André Pönitz  <poenitz@gmx.net>
3460
3461         * BufferView.C:
3462         * buffer.C:
3463         * buffer.h:
3464         * paragraph.C:
3465         * tabular.[Ch]: IU of clone() and getLabelList();
3466
3467 2003-06-13  André Pönitz  <poenitz@gmx.net>
3468
3469         * tabular.h: compactification
3470
3471 2003-06-12  André Pönitz  <poenitz@gmx.net>
3472
3473         * tabular.C:
3474         * tabular.h:
3475         * tabular_funcs.h: some renaming plus whitespace
3476
3477 2003-06-12  André Pönitz  <poenitz@gmx.net>
3478
3479         * BufferView.C:
3480         * BufferView_pimpl.C:
3481         * CutAndPaste.C:
3482         * buffer.C:
3483         * iterators.[Ch]:
3484         * lyxfunc.C:
3485         * text.C:
3486         * toc.C: Return a Paragraph & for ParIterator::operator*()
3487
3488 2003-06-11  John Levon  <levon@movementarian.org>
3489
3490         * lyx_main.C:
3491         * ToolbarBackend.h:
3492         * ToolbarBackend.C: add "Toolbars" section and
3493         put the flags there
3494
3495 2003-06-10  Angus Leeming  <leeming@lyx.org>
3496
3497         * lfuns.h:
3498         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3499
3500         * lyxfunc.C (dispatch): invoke it.
3501
3502 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * main.C: protect <ios> with HAVE_IOS
3505         (main): protect sync_with_stdio with HAVE_IOS
3506
3507 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3508
3509         * text2.C (cutSelection): adjust
3510         (pasteSelection): adjust
3511
3512         * messages.C: handle get of empty string
3513
3514         * main.C (main): use sync_with_stdio(false)
3515
3516         * lyxfunc.C (dispatch): adjust
3517
3518         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3519         (WriteAs): remove unneeded BufferView arg.
3520
3521         * bufferparams.h: use correct types on papersize, papersize2 and
3522         paperpackage.
3523
3524         * bufferparams.C (readToken): adjust for type
3525         (writeLaTeX): add missing cases to switch.
3526
3527         * bufferlist.C (quitWriteBuffer): adjust
3528         (close): adjust
3529
3530         * buffer.C (asciiParagraph): remove some commented code.
3531
3532         * CutAndPaste.C: remove current_view extern variable.
3533         (cutSelection): add BufferParams arg.
3534         (eraseSelection): add BufferParams arg.
3535         (pasteSelection): add Buffer const & arg
3536
3537 2003-06-07  John Levon  <levon@movementarian.org>
3538
3539         * buffer.C:
3540         * paragraph_funcs.C:
3541         * paragraph_pimpl.C:
3542         * text.C:
3543         * text2.C:
3544         * paragraph.h:
3545         * paragraph.C: allow InsetERT to freely space lines,
3546         and some consolidation of code
3547
3548 2003-06-06  José Matos  <jamatos@fep.up.pt>
3549
3550         * buffer.C (makeDocBookFile): fix bug #821
3551
3552 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3555
3556 2003-06-04  Angus Leeming  <leeming@lyx.org>
3557
3558         * buffer.C: bump format to 224.
3559
3560 2003-06-05  André Pönitz  <poenitz@gmx.net>
3561
3562         * text2.C (redoParagraphs): remove two const_cast<>
3563
3564 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3565
3566         * ParagraphList.h: remove last remnants of NO_STD_LIST
3567
3568 2003-06-03  Angus Leeming  <leeming@lyx.org>
3569
3570         * factory.C (createInset): small change to the way InsetExternal's params
3571         are set.
3572
3573 2003-06-04  André Pönitz  <poenitz@gmx.net>
3574
3575         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3576
3577         * paragraph_pimpl.h:
3578         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3579
3580         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3581
3582         * undo_funcs.C: make some simple cases of undo work again
3583
3584 2003-06-03  John Levon  <levon@movementarian.org>
3585
3586         * ispell.C: HPUX doesn't have sys/select.h
3587         (from Albert Chin)
3588
3589 2003-06-03  John Levon  <levon@movementarian.org>
3590
3591         * CutAndPaste.C: update tabular and include inset
3592         buffer references
3593
3594         * buffer.h:
3595         * paragraph.h:
3596         * paragraph.C: remove owningBuffer(), don't pass Buffer
3597         to clone()
3598
3599         * factory.C: insetGraphicsParams changed
3600
3601 2003-06-02  John Levon  <levon@movementarian.org>
3602
3603         * LyXAction.C:
3604         * factory.C:
3605         * lfuns.h:
3606         * lyxfunc.C:
3607         * text3.C: remove insetparent
3608
3609 2003-06-02  John Levon  <levon@movementarian.org>
3610
3611         * buffer.h:
3612         * buffer.C: fix inset_iterator.end(), move out of line
3613         (bug 1149)
3614
3615 2003-06-01  John Levon  <levon@movementarian.org>
3616
3617         * text3.C: use a proper cut/paste when doing inset
3618         insert (from Jürgen Spitzmüller)
3619
3620 2003-06-01  John Levon  <levon@movementarian.org>
3621
3622         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3623
3624 2003-05-30  André Pönitz  <poenitz@gmx.net>
3625
3626         * rowpainter.C: unify second drawing phase
3627
3628 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * trans_mgr.C: remove one case of current_view
3631
3632         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3633
3634         * paragraph_funcs.h: remove paragraph.h include
3635
3636         * paragraph.h: delete NO_STD_LIST stuff
3637
3638         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3639
3640         * buffer.h: remove paragraph.h include
3641
3642         * ParagraphList.C: delete file
3643
3644         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3645
3646         * toc.C (getTocList): adjust
3647
3648         * paragraph_pimpl.C (validate): adjust
3649
3650         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3651
3652         * paragraph.C (Paragraph): adjust
3653         (getPositionOfInset): use const_iterator, adjust
3654         (bibitem): use const_iterator, adjust
3655         (setInsetOwner): adjust
3656
3657         * iterators.C (operator++): adjust
3658
3659         * InsetList.[Ch]: Replace selfmade iterator with standard
3660         vector::iterator also introduce const_iterator. Remove getPos,
3661         getInset and setInset from InsetTable. Adjust accordingly.
3662
3663         * BufferView.C (lockInset): adjust
3664         (ChangeInsets): adjust
3665
3666         * tabular.[Ch]: delete commented same_id functions
3667
3668 2003-05-28  John Levon  <levon@movementarian.org>
3669
3670         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3671
3672 2003-05-28  André Pönitz  <poenitz@gmx.net>
3673
3674         * metricsinfo.[Ch]: remove 'fullredraw' member
3675
3676 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3677
3678         * lyxtextclass.C (operator): remove caching.
3679
3680 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text3.C: adjust
3683
3684         * text2.C (cursorBottom): adjust
3685         (setCounter): use ParagraphList::find, adjust
3686
3687         * text.C (workWidth): use ParagraphList::find, adjust
3688
3689         * lyxcursor.C (LyXCursor): adjust
3690
3691         * buffer.C (inset_iterator): adjust
3692
3693         * ParagraphList.h: make iterator(value_type) private, make
3694         ParagraphList a friend of iterator.
3695
3696         * ParagraphList.C (find): new function
3697
3698         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3699
3700 2003-05-27  André Pönitz  <poenitz@gmx.net>
3701
3702         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3703
3704 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3705
3706         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3707
3708 2003-05-26  John Levon  <levon@movementarian.org>
3709
3710         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3711
3712 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * remove same_id from function signatures, adjust.
3715
3716 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3719
3720         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3721
3722         * paragraph.C (Paragraph): get rid of same_ids parameter
3723
3724         * ParagraphList.C (insert): adjust
3725         (push_back): adjust
3726
3727 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * paragraph_funcs.C (breakParagraph): adjust
3730         (breakParagraphConservative): adjust
3731
3732         * buffer.C (readParagraph): adjust
3733
3734         * ParagraphList.C (insert): take a reference instead of a pointer
3735         (insert): adjust
3736
3737         * paragraph.[Ch] (id): new function
3738
3739         * bufferlist.C (newFile): adjust
3740
3741         * ParagraphList.C (ParagraphList): adjust
3742         (assign): adjust
3743         (push_back): take a reference instead of a pointer.
3744
3745         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3746
3747         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3748         instead.
3749
3750         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3751         set else use old code.
3752
3753         * ParagraphList.C: remove all NO_NEXT code and only compile this
3754         code of NO_STD_LIST is set.
3755
3756 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * BufferView_pimpl.C:
3759         * TextCache.C:
3760         * TextCache.h:
3761         * bufferlist.C:
3762         * errorlist.h:
3763         * format.C:
3764         * format.h:
3765         * graph.C:
3766         * lyxfunc.C:
3767         * lyxrc.C:
3768         * graphics/GraphicsConverter.C:
3769         * graphics/PreviewLoader.C: header adjustment
3770
3771 2003-05-23  Angus Leeming  <leeming@lyx.org>
3772
3773         * LaTeXFeatures.[Ch] (useBabel): new method.
3774         * bufferparams.C (writeLaTeX): use it.
3775
3776 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777
3778         * ParagraphList.h (set): remove unused function.
3779
3780 2003-05-23  André Pönitz  <poenitz@gmx.net>
3781
3782         * BufferView.C:
3783         * BufferView_pimpl.C:
3784         * buffer.C:
3785         * buffer.h:
3786         * lyxfunc.C:
3787         * undo_funcs.C: setUndo reworked
3788
3789         * iterators.[Ch]: add access to topmost ParagraphList
3790
3791         * lyxtext.[Ch] (workWidth): add a const
3792
3793 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * texrow.[Ch] (increasePos): remove function
3796         * exporter.C (export): removed unused var and outdated comment
3797
3798 2003-05-23  Angus Leeming  <leeming@lyx.org>
3799
3800         * latexrunparams.h: rename fragile as moving_arg.
3801         * paragraph.C (simpleTeXOnePar): ditto.
3802         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3803
3804 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3807         (createUndo): ditto
3808         (textUndoOrRedo): comment out a currently unused var.
3809
3810         * paragraph.h (NO_NEXT): enable NO_NEXT
3811
3812         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3813
3814         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3815
3816         * exporter.C (Export): adjust for removeAutoInsets removal.
3817
3818         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3819
3820         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3821
3822         * BufferView.[Ch] (removeAutoInsets): delete function
3823
3824 2003-05-22  Angus Leeming  <leeming@lyx.org>
3825
3826         * latexrunparams.h: add a free_spacing variable.
3827
3828         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3829         to pass moving_arg, as the data is stored in runparams.fragile.
3830
3831         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3832         to Inset::latexOptional or to simpleTeXOnePar.
3833
3834         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3835         free_spacing arg to Inset::latexOptional.
3836
3837         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3838         free_spacing arg.
3839
3840 2003-05-22  Angus Leeming  <leeming@lyx.org>
3841
3842         * latexrunparams.h: add fragile and use_babel variables.
3843
3844         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3845         * buffer.C (makeLaTeXFile): store this returned value in
3846         runparams.use_babel, thus passing it to the inset::latex methods.
3847
3848         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3849         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3850
3851         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3852         longer has a fragile arg, as it is stored in runparams.fragile.
3853
3854         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3855         moving_arg parameter as the data is stored in runparams.fragile.
3856
3857         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3858         a fragile parameter as the data is stored in runparams.fragile.
3859
3860 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3863
3864 2003-05-22  Angus Leeming  <leeming@lyx.org>
3865
3866         * latexrunparams.h: add a 'bool nice' which defaults to false.
3867
3868         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3869         now encapsulated within runparams.
3870
3871         * bufferlist.C (updateIncludedTeXfiles):
3872         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3873
3874 2003-05-22  Angus Leeming  <leeming@lyx.org>
3875
3876         * latexrunparams.h: new file containing struct LatexRunParams.
3877         * Makefile.am: add new file.
3878
3879         * LaTeX.[Ch] (c-tor, run):
3880         * buffer.[Ch] (makeLaTeXFile):
3881         * bufferlist.[Ch] (updateIncludedTeXfiles):
3882         * converter.C (convert, scanLog):
3883         * converter.[Ch] (runLaTeX):
3884         * exporter.C (Export):
3885         * paragraph.[Ch] (simpleTeXOnePar):
3886         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3887         * paragraph_funcs.[Ch] (latexParagraphs):
3888         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3889         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3890         pass around a LatexRunParams parameter.
3891
3892 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * paragraph.[Ch]: remove unused constructor
3895
3896         * ParagraphList.C (erase): new function, taking two iterators
3897
3898 2003-05-22  André Pönitz  <poenitz@gmx.net>
3899
3900         * undo_funcs.C: remove duplicated code
3901
3902         * iterator.[Ch]: operator=
3903
3904 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * tabular.C (SetMultiColumn): ws changes
3907
3908         * rowpainter.C (paintFirst): get rid of a ->previous
3909
3910         * lyx_cb.C (getPossibleLabel): parlist simplification
3911
3912         * BufferView.C (ChangeInsets): simplify slightly.
3913
3914 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3915
3916         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3917         * lfuns.h: new LFUN_SPACE
3918         * lyxfunc.C: protected space has a new lfun
3919         * paragraph_funcs.C: read new space insets
3920         * text3.C:
3921         * factory.C: handle new space insets
3922
3923 2003-05-22  André Pönitz  <poenitz@gmx.net>
3924
3925         * BufferView.C:
3926         * BufferView_pimpl.C:
3927         * buffer.[Ch]:
3928         * lyxfunc.C:
3929         * undo_funcs.C: return a ParIterator from getParFromID.
3930
3931         * iterators.[Ch]: add two const's
3932
3933 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * toc.C (getTocList): adjust
3936
3937         * iterators.[Ch]: rework for parlist
3938
3939         * buffer.C (par_iterator_begin): adjust
3940         (par_iterator_end): adjust
3941
3942         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3943
3944         * BufferView.C (removeAutoInsets): adjust
3945         (ChangeInsets): adjust
3946
3947 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * text.C (top_y): fix bug 1110
3950
3951 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3952
3953         * errorlist.[Ch]: added
3954         * buffer.C:
3955         * BufferView.[Ch]:
3956         * BufferView_pimpl.C:
3957         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3958         instead
3959
3960 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * Makefile.am: ensure that lyx is relinked upon changes to the
3963         various "convenience" libs.
3964
3965 2003-05-20  Angus Leeming  <leeming@lyx.org>
3966
3967         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3968         files are compiled in alphabetical order again.
3969
3970         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3971
3972 2003-05-19  Angus Leeming  <leeming@lyx.org>
3973
3974         * gettext.[Ch]: remove "char const * _(char const *)".
3975
3976 2003-05-19  André Pönitz  <poenitz@gmx.net>
3977
3978         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3979
3980         * Makefile.am:
3981         * BufferView.C:
3982         * DepTable.h:
3983         * LaTeXFeatures.C:
3984         * buffer.C:
3985         * lyxfont.C:
3986         * lyxlex.h:
3987         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3988
3989 2003-05-19  André Pönitz  <poenitz@gmx.net>
3990
3991         * buffer.C:
3992         * lyxlayout.[Ch]:
3993         * lyxtextclass.[Ch]:
3994         * paragraph.C:
3995         * paragraph_funcs.[Ch]:
3996         * text2.C:
3997         * text3.C: more insetenv work
3998
3999 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * ParagraphParameters.C (params2string): small bug fixed
4002
4003 2003-05-16  André Pönitz  <poenitz@gmx.net>
4004
4005         * debug.C:
4006         * bufferview_funcs.C: patch from Kornel Benko to prevent
4007           crash when _(...) is called twice in a statement
4008
4009 2003-05-16  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView.C:
4012         * lyxfunc.C:
4013         * text.C:
4014         * text2.C:
4015         * text3.C:
4016         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4017
4018 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4019
4020         * lyx_main.C (init): remove spurious static_cast
4021
4022 2003-05-14  André Pönitz  <poenitz@gmx.net>
4023
4024         * BufferView.C: fix format string
4025
4026 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * BufferView.[Ch] (insertErrors): removed
4029         * BufferView.[Ch] (showErrorList): added
4030         * buffer.C (runChkTeX):
4031         * converter.C (scanLog): call showErrorList instead of inserterrors
4032
4033 2003-05-13  André Pönitz  <poenitz@gmx.net>
4034
4035         * BufferView_pimpl.C:
4036         * buffer.C:
4037         * bufferview_func.C:
4038         * MenuBackend.C:
4039         * lyxfunc.C:
4040         * lyxrc.C:
4041         * tex-accent.C:
4042         * text3.C:
4043         * toc.C:
4044         * tabular_funcs.h: tostr() from its own header
4045
4046         * ParagraphParameters.C:
4047         * ToolbarBackend.C:
4048         * bufferparams.C:
4049         * format.C:
4050         * lyxlex_pimpl.C:
4051         * text3.C: STRCONV()
4052
4053 2003-05-12  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView.C:
4056         * BufferView_pimpl.C:
4057         * CutAndPaste.C:
4058         * LaTeX.C:
4059         * LaTeXFeatures.C:
4060         * ParagraphParameters.C:
4061         * buffer.C:
4062         * bufferlist.C:
4063         * bufferparams.C:
4064         * bufferview_funcs.C:
4065         * converter.C:
4066         * counters.C:
4067         * debug.C:
4068         * exporter.C:
4069         * format.C:
4070         * importer.C:
4071         * lyx_cb.C:
4072         * lyx_main.C:
4073         * lyxfont.C:
4074         * lyxfunc.C:
4075         * lyxvc.C:
4076         * paragraph.C:
4077         * paragraph_funcs.C:
4078         * tabular.C:
4079         * tabular_funcs.C:
4080         * text2.C:
4081         * text3.C:  boost::format -> bformat  all over the place
4082
4083
4084 2003-05-09  André Pönitz  <poenitz@gmx.net>
4085
4086         * LColor.[Ch]: Pimpl the #include <map> away
4087
4088 2003-05-09  John Levon  <levon@movementarian.org>
4089
4090         * bufferlist.C: never remove emergency saves
4091
4092 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * Makefile.am: better lib building
4095
4096 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4099         instead.
4100         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4101         (simpleTeXSpecialChars): adjust
4102         (simpleTeXSpecialChars): adjust
4103         * paragraph.C (simpleTeXOnePar): adjust
4104         * buffer.C (makeLaTeXFile): adjust
4105
4106         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4107
4108         * text2.C (changeDepth): parlist cleanup
4109         (getColumnNearX): ditto
4110
4111         * rowpainter.C (getLabelFont): parlist cleanup
4112
4113         * bufferlist.C (newFile): parlist cleanup
4114
4115         * CutAndPaste.C (eraseSelection): parlist cleanup
4116
4117         * BufferView_pimpl.C (trackChanges): parlist cleanup
4118         (dispatch): ditto
4119
4120         * BufferView.C (lockInset): parlist cleanup.
4121         (ChangeInsets): ditto
4122
4123 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * CutAndPaste.h: Update file header.
4126
4127         * CutAndPaste.C: Update file header.
4128         Store the parts cut out of the Document in a limited_stack.
4129         (copySelection): adjust
4130         (pasteSelection): new function, takes the index in the limited stack.
4131         (nrOfParagraphs): adjust
4132         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4133         simplify error inset insertion.
4134         (checkPastePossible): adjust
4135
4136 2003-05-06  John Levon  <levon@movementarian.org>
4137
4138         * text2.C: don't cast wrap inset to float
4139
4140 2003-05-05  André Pönitz  <poenitz@gmx.net>
4141
4142         * iterator.C:
4143         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4144
4145         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4146           few naked Paragraph *.
4147
4148 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4149
4150         * bufferparams.C: Output warning if a document with missing
4151         TeX document class is loaded
4152         * exporter.C: Disable TeX exports if the document class is missing
4153         * lyxtextclass.C:
4154         * lyxtextclass.h:
4155         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4156         isTeXClassAvailable()
4157
4158 2003-05-03  John Levon  <levon@movementarian.org>
4159
4160         * BufferView.h:
4161         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4162         explicit cursor show/hide
4163
4164         * BufferView_pimpl.h:
4165         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4166         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4167
4168         * lyxfunc.C: hide cursor before dispatching.
4169
4170         * lyx_cb.C:
4171         * lyxfind.C:
4172         * text.C:
4173         * text3.C: remove explicit cursor hides
4174
4175 2003-05-02  André Pönitz  <poenitz@gmx.net>
4176
4177         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4178
4179         * undo_funcs.C:
4180         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4181           linked lists
4182
4183         * text2.C: tiny whitespace
4184
4185 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * undo_funcs.C: almost only ws changes.
4188
4189         * ParagraphList.C (splice): just return if pl is empty.
4190
4191 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4192
4193         * ParagraphList.C (splice): new function.
4194
4195         * CutAndPaste.C (pasteSelection): use it
4196
4197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * CutAndPaste.C (pasteSelection): remove the last next and
4200         previous from this file.
4201
4202 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * CutAndPaste.C (pasteSelection): more clean up, user proper
4205         ParagraphList functions for pasteing.
4206
4207         * ParagraphList.C (insert): new function, three arg insert
4208
4209 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * ParagraphList.C (insert): new function, three arg insert
4212
4213         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4214         not on paragraphs.
4215
4216 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4217
4218         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4219
4220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4223
4224 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4227         (copySelection): clean up a bit.
4228         (pasteSelection): use make_pair
4229
4230         * ParagraphList.C (ParagraphList): implement copy constructor
4231         (operator=): implement, base on copy constructor.
4232         (assign): new func
4233
4234         * paragraph.C (erase): return a bool
4235
4236         * paragraph_pimpl.C (erasePos): remove function, move contents...
4237         (erase): ... here. Return a bool.
4238         (erase): call erase instead of erasePos.
4239
4240 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * ParagraphList.h: define PitPosPair
4243         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4244         ParagraphList, fix a bug on pasting multiple pars
4245         * text2.C: change interface to C&P
4246
4247 2003-04-30  André Pönitz  <poenitz@gmx.net>
4248
4249         * undo_func.C: revert part of yesterday's patch 2
4250
4251 2003-04-30  John Levon  <levon@movementarian.org>
4252
4253         * LColor.C: s/tabular/table/
4254
4255 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * text3.C (dispatch): do not convert iterator -> pointer
4258         * undo_funcs.C (setCursorParUndo): ditto
4259         * text_funcs.C (transposeChars): ditto
4260
4261         * text2.C (setLayout): ws changes only
4262
4263         * text.C (breakParagraph): do not convert iterator -> pointer
4264         (insertChar): ditto
4265         (acceptChange): ditto
4266         (rejectChange): ditto
4267         (changeCase): ditto
4268         (Delete): ditto
4269         (backspace): ditto
4270
4271         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4272         pointer
4273
4274 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * text3.C (gotoInset): YABG (yet another bad getChar)
4277
4278 2003-04-29  André Pönitz  <poenitz@gmx.net>
4279
4280         * paragraph.h: make operator= private unimplemented as long as
4281           it is unusable
4282
4283         * ParagraphList.C: whitespace
4284
4285         * paragraph.[Ch]:
4286         * paragraph_pimpl.[Ch]:
4287         * paragraph_funcs.C:
4288         * CutAndPaste.C:
4289         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4290
4291         * text2.C:
4292           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4293
4294 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4297         * paragraph.[Ch] (erase):
4298         * paragraph_pimpl.[Ch] (erase): change return type and value
4299         * text2.C (cutSelection): some rework
4300
4301 2003-04-28  John Levon  <levon@movementarian.org>
4302
4303         * bufferlist.C: changes for unsaved changes dialog
4304
4305 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * bufferlist.C (newFile): set language (messages_) for new
4308         documents also.
4309
4310         * buffer.C (readFile): ws changes only.
4311
4312 2003-04-28  André Pönitz  <poenitz@gmx.net>
4313
4314         * undo_funcs.C:
4315         * lyxfunc.C:
4316         * buffer.[Ch]:
4317         * BufferView_pimpl.C:
4318         * BufferView.C: getParFromID related ParagraphList::iterator changes
4319
4320 2003-04-28  André Pönitz  <poenitz@gmx.net>
4321
4322         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4323           Changes
4324
4325 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * messages.C: remove one more localedir class variable.
4328
4329 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * messages.C (getLocaleDir): singleton generation function
4332         (Pimpl): use it.
4333         (Messages): add a default constructor.
4334
4335         * main.C (main): do not setup localedir here, do not call
4336         gettext_init.
4337
4338         * gettext.C (_): use it.
4339         (gettext_init): delete funciton
4340
4341 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * gettext.C (getLyXMessages): new singleton generating function.
4344
4345         * buffer.C (updateDocLang): adjust
4346
4347         * Makefile.am (messages.o): add target
4348         (main.o): remove target
4349
4350 2003-04-27  John Levon  <levon@movementarian.org>
4351
4352         * bufferlist.C:
4353         * lyx_cb.C:
4354         * lyxfunc.C:
4355         * lyxvc.C: specify cancel button in Alert::prompt
4356
4357 2003-04-26  John Levon  <levon@movementarian.org>
4358
4359         * text3.C:
4360         * lyxfunc.C:
4361         * lfuns.h:
4362         * LyXAction.C: add LFUN_INSET_SETTINGS
4363
4364         * lyxfunc.C: don't enable tabular-feature when there's
4365         just any locking inset
4366
4367 2003-04-26  John Levon  <levon@movementarian.org>
4368
4369         * bufferlist.C: re-add Cancel to buffer close question
4370
4371         * lyxfunc.C: fix import UI a bit
4372
4373 2003-04-25  John Levon  <levon@movementarian.org>
4374
4375         * gettext.C: remove the broken asserts for now
4376
4377 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * messages.C: make case where setlocale cannot comply work better.
4380
4381         * buffer.C (updateDocLang): new function
4382         (changeLanguage): use it
4383         (readFile): use it
4384
4385         * text2.C (setCounter): use B_ a bit.
4386
4387         * lyxlayout.C (Read): be sure to trim the label strings.
4388
4389         * messages.C (Messages): fix typo in comment
4390
4391         * buffer.C (readFile): set message_ after file is loaded.
4392         (makeDocBookFile): remove double return
4393         (changeLanguage): reset message_ upon language change.
4394         (B_): new func, use this to get translated buffer strings.
4395
4396         * main.C: add myself and Jean Marc as authors.
4397
4398 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * messages.[hC]: pimplify Messages, and three different pimpls to be
4401         used in different circumstances.
4402
4403         * gettext.[Ch]: change for use with new message code.
4404
4405 2003-04-24 André Pönitz <poenitz@gmx.net>
4406
4407         * factory.C: support for eqref
4408
4409 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * messages.[Ch]: add missing char
4412
4413         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4414
4415         * messages.[Ch]: New files
4416
4417 2003-04-18  John Levon  <levon@movementarian.org>
4418
4419         * BufferView.h:
4420         * BufferView.C:
4421         * BufferView_pimpl.C:
4422         * lfuns.h:
4423         * LyXAction.C:
4424         * lyxtext.h:
4425         * text2.C: remove layout-copy/paste (bug 778)
4426
4427 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4430
4431 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4434         if they succeed. Act accordingly.
4435
4436 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4437
4438         * text2.C (setCharFont): adjust
4439         (setCounter): adjust
4440         (insertStringAsLines): adjust
4441
4442         * text.C (leftMargin): adjust
4443         (setHeightOfRow): adjust
4444
4445         * rowpainter.C (paintFirst): adjust
4446         (paintLast): adjust
4447
4448         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4449         (outerHook): ditto
4450         (isFirstInSequence): ditto
4451         (getEndLabel): ditto
4452         (outerFont): adjust
4453
4454         * paragraph.C (getParLanguage): comment out some hard stuff.
4455
4456         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4457         (sgmlError): ditto
4458         (simpleDocBookOnePar): ditto
4459         (makeDocBookFile): use ParagraphList::iterator
4460
4461         * CutAndPaste.C (pasteSelection): adjust
4462
4463 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * text2.C (getFont): adjust
4466         (getLayoutFont): adjust
4467         (getLabelFont): adjust
4468
4469         * paragraph_funcs.C (TeXOnePar): adjust
4470
4471         * buffer.C (simpleLinuxDocOnePar): adjust
4472         (simpleDocBookOnePar): adjust
4473
4474         * CutAndPaste.C (pasteSelection): adjust
4475
4476         * BufferView.C (getEncoding): adjust
4477
4478         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4479
4480 2003-04-16  John Levon  <levon@movementarian.org>
4481
4482         * lyxfind.C: use parlist stuff for search/changes
4483
4484 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4487
4488         * text2.C (deleteEmptyParagraphMechanism): adjust
4489
4490         * text2.[Ch] (ownerParagraph): delete func (both of them
4491
4492 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4495
4496 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * ParagraphList.C: prepare for NO_NEXT
4499
4500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * text2.C (getFont): adjust
4503         (getLayoutFont): adjust
4504         (getLabelFont): adjust
4505
4506         * paragraph.C (getFont): adjust
4507         (getLabelFont): adjust
4508         (getLayoutFont): adjust
4509
4510         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4511
4512 2003-04-15  John Levon  <levon@movementarian.org>
4513
4514         From Angus Leeming
4515
4516         * lyx_main.C: handle Include in .ui files
4517
4518 2003-04-15  John Levon  <levon@movementarian.org>
4519
4520         * MenuBackend.C: make the doc files length shorter
4521
4522         * ToolbarBackend.h:
4523         * ToolbarBackend.C: handle toolbar placement flags,
4524         Minibuffer
4525
4526 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4529         adjust
4530
4531         * paragraph_funcs.C (TeXOnePar): adjust
4532
4533         * paragraph.C (getLabelFont): add outerfont arg, adjust
4534         (getLayoutFont): ditto
4535         (simpleTeXOnePar): adjust
4536
4537         * paragraph_pimpl.C (realizeFont): delete func
4538
4539 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4542         row argument, constify cur argument.
4543
4544 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * text2.C (getFont): adjust
4547         (getLayoutFont): adjust
4548         (getLabelFont): adjust
4549
4550         * paragraph_funcs.C (TeXOnePar): adjust
4551         (outerFont): new func...
4552         (realizeFont): ...moved out from here, changed this to facilitate
4553         transition
4554
4555         * paragraph.C (getFont): take outerfont as arg, adjust
4556         (simpleTeXOnePar): add outerfont arg, adjust
4557
4558         * buffer.C (simpleLinuxDocOnePar): adjust
4559         (simpleDocBookOnePar): adjust
4560
4561         * CutAndPaste.C (pasteSelection): adjust
4562
4563         * BufferView.C (getEncoding): adjust
4564
4565 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text2.C (setCharFont): adjust
4568         (setCounter): adjust
4569
4570         * text.C (leftMargin): adjust
4571         (setHeightOfRow): adjust
4572
4573         * rowpainter.C (paintFirst): adjust
4574         (paintLast): adjust
4575
4576         * paragraph_pimpl.C (realizeFont): adjust
4577
4578         * paragraph.C (isFirstInSequence): move from here...
4579         * paragraph_funcs.C (isFirstInSequence): ...to here
4580
4581         * paragraph.C (outerHook): move from here...
4582         * paragraph_funcs.C (outerHook): ...to here
4583
4584         * paragraph.C (depthHook): move from here...
4585         * paragraph_funcs.C (depthHook): ...to here
4586
4587         * paragraph.C (getEndLabel): move from here...
4588         * paragraph_funcs.C (getEndLabel): ...to here
4589
4590         * text2.C (realizeFont): move from here...
4591         * paragraph_funcs.C (realizeFont): ...to here
4592
4593 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4596
4597 2003-04-14  Angus Leeming  <leeming@lyx.org>
4598
4599         * LColor.[Ch]: scrap LColor mathcursor.
4600
4601 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * lyxlex.[Ch] (text): delete function
4604         * trans.C (Load): adjust
4605         * paragraph_funcs.C (readParToken): adjust
4606
4607 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4610         vector<char> instead of a char[].
4611
4612         * lyxlex_pimpl.C (getString): adjust
4613         (next): adjust
4614         (lex): use getString
4615         (eatLine): adjust
4616         (nextToken): adjust
4617
4618         * lyxlex.C (text): use pimpl_->getString()
4619         (getBool): ditto
4620         (findToken): ditto
4621
4622 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4625         (makeFontEntriesLayoutSpecific): temp var for par.size()
4626         (setLayout): temp var for ownerParagraphs().end()
4627         (fullRebreak): temp var for rows().end()
4628         (selectionAsString): temp var for boost::next(startpit), realize
4629         that the while really is a regular for loop.
4630         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4631         setCursor in one place.
4632         (setParagraph): temp vr for ownerParagraphs().end()
4633         (updateCounters): make the while loop a for loop
4634         (cutSelection): temp var for ownerParagraphs().end()
4635         (updateInset): make the do {} while() a regular for loop
4636         (getCursorX): use temp vars
4637         (setCurrentFont): use temp vars
4638         (getColumnNearX): use temp vars
4639
4640 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * text.C (transformChar): use temp var for getChar
4643         (computeBidiTables): use temp var for row->par()
4644         (fill): move temp vars for row->par() and pit->layout() earlier in
4645         the function.
4646         (labelFill): use temp var for row->par()
4647         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4648         asc and desc, realize that pit never changes and that firstpit is
4649         just a duplicate and not needed. Exchange rit->par() with pit in a
4650         lot of places.
4651         (breakAgain): use a temp var for boost::next(rit)
4652         (breakAgainOneRow): ditto
4653         (breakParagraph): use a temp var for rows().begin()
4654         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4655         (cursorRightOneWord): use temp var for cursor.par() and
4656         cursor.pos(), remove usage of tmpcursor.
4657         (cursorLeftOneWord): use temp var for cursor.par() and
4658         cursor.pos() only set cur at end of function.
4659
4660 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text.C, text2.C: exchange all usage of Paragraph::next with
4663         boost::next(ParagraphList::iterator)
4664
4665         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4666
4667         * text2.C (cursorTop): simplify implementation
4668         (cursorBottom): ditto
4669         (setParagraph): use ParagraphList::iterator
4670         (setCurrentFont): adjust
4671         (getColumnNearX): adjust
4672         (cursorRight): adjust
4673         (cursorLeft): remove usage of Paragraph::previous
4674         (cursorUpParagraph): ditto
4675         (deleteEmptyParagraphMechanism): slight cleanup
4676
4677         * text.C (isBoundary): take a Paragraph const & instead of a
4678         pointer as arg.
4679         (addressBreakPoint): ditto
4680         (leftMargin): remove usage of Paragraph::previous.
4681         (setHeightOfRow): ditto
4682         (cursorLeftOneWord): ditto
4683         (selectNextWordToSpellcheck): ditto
4684         (Delete): ditto
4685         (backspace): ditto
4686         (breakParagraph): remove one usage of Paragraph::next
4687         (redoParagraph): ditto
4688         (acceptChange): ditto
4689         (insertChar): adjust
4690         (rowBreakPoint): adjust
4691
4692         * bufferview_funcs.C (toggleAndShow): adjust
4693
4694 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4695
4696         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4697         methods to access it.
4698         * lyxtext.h:
4699         * text.C: Added updateRowPositions to compute all row positions.
4700         Make top_y and getRowNearY() to use the cached y position
4701
4702 2003-04-11  John Levon  <levon@movementarian.org>
4703
4704         * text.C (rowBreakPoint): reintroduce the labelEnd
4705         checks, code copied from the row fill stuff. Deep voodoo.
4706
4707         * text.C (fill): add a comment and debugging for the
4708         next poor soul.
4709
4710 2003-04-11  John Levon  <levon@movementarian.org>
4711
4712         * text.C: make sure fullrow insets get wrapped to the next line,
4713         even when they're in a manual label
4714
4715 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * text2.C (insertParagraph): make it take ParagraphList::iterator
4718         as arg.
4719         (setLayout): make it return ParagraphList::iterator
4720         (redoParagraphs): ditto
4721         (setCounter): ditto
4722         (checkParagraph): ditto
4723
4724         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4725
4726         * text2.C: adjust several funcs.
4727         (realizeFont): take a ParagraphList::iterator as arg.
4728         (getLayoutFont): ditto
4729         (getLabelFont): ditto
4730         (setCharFont): ditto
4731
4732         * text.C: adjust several funcs.
4733
4734 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4735
4736         * text.C (selectNextWordToSpellcheck): don't accidentally
4737         skip insets
4738
4739 2003-04-10  John Levon  <levon@movementarian.org>
4740
4741         * ToolbarBackend.C (getIcon): special handling for
4742         LFUN_MATH_DELIM
4743
4744 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * text2.C (cursorRight): a getChar assert fixed
4747
4748 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * text2.C (getFont): change to take a ParagraphList::iterator
4751         instead of Paragraph*
4752         Adjust several functions.
4753
4754         * text.C (transformChar): change to take a ParagraphList::iterator
4755         instead of Paragraph*
4756         (singleWidth): ditto
4757         Adjust several functions.
4758
4759         * rowpainter.C: adjust several functions
4760         * rowpainter.h:store a ParagraphList::iterator and not a
4761         Paragraph&.
4762
4763
4764 2003-04-09  John Levon  <levon@movementarian.org>
4765
4766         * lyxfunc.C:
4767         * lfuns.h:
4768         * LyXAction.h:
4769         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4770         and the "help" bits as well
4771
4772 2003-04-09  John Levon  <levon@movementarian.org>
4773
4774         * ToolbarBackend.h:
4775         * ToolbarBackend.C: allow multiple toolbars
4776
4777 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * undo_funcs.C (setCursorParUndo): adjust
4780
4781         * text_funcs.C (transposeChars): adjust
4782
4783         * text3.C (gotoNextInset): adjust
4784         (dispatch): adjust
4785
4786         * text2.C (setLayout): adjust
4787         (changeDepth): adjust
4788         (setFont): adjust
4789         (redoParagraphs): adjust
4790         (selectionAsString): adjust
4791         (setParagraph): adjust
4792         (insertInset): adjust
4793         (cutSelection): adjust
4794         (copySelection): adjust
4795         (pasteSelection): adjust
4796         (insertStringAsLines): adjust
4797         (updateInset): adjust
4798         (setCursor): change to take a ParagraphList::iterator parameter
4799         (setCursorIntern): change to take a ParagraphList::iterator parameter
4800         (setCurrentFont): adjust
4801         (cursorLeft): adjust
4802         (cursorRight): adjust
4803         (deleteEmptyParagraphMechanism): adjust
4804
4805         * text.C (breakParagraph): adjust
4806         (insertChar): adjust
4807         (acceptChange): adjust
4808         (rejectChange): adjust
4809         (selectNextWordToSpellcheck): adjust
4810         (changeCase): adjust
4811         (Delete): adjust
4812         (backspace): adjust
4813
4814         * lyxfind.C (SearchForward): adjust
4815         (SearchBackward): adjust
4816         (nextChange): adjust
4817
4818         * lyxcursor.C (par): adjust
4819
4820         * lyxcursor.h: store a ParagraphList::iterator instead of a
4821         Paragraph*
4822
4823         * lyx_cb.C (getPossibleLabel): adjust
4824
4825         * bufferview_funcs.C (toggleAndShow): adjust
4826
4827         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4828         (dispatch): adjust
4829
4830         * BufferView.C (removeAutoInsets): adjust
4831         (lockedInsetStoreUndo): adjust
4832
4833 2003-04-09  John Levon  <levon@movementarian.org>
4834
4835         * ToolbarBackend.C: try icon without argument
4836         if with argument fails
4837
4838 2003-04-08  John Levon  <levon@movementarian.org>
4839
4840         * ToolbarBackend.h:
4841         * ToolbarBackend.C: add getIcon(), handle tooltip,
4842         and change from "Icon" to "Item".
4843
4844 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * BufferView.C (lockInset): another bad getchar crunched
4847
4848 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4851         again)
4852
4853 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * lyxfind.C (searchForward, searchBackwards): bug 782
4856
4857 2003-04-07  John Levon  <levon@movementarian.org>
4858
4859         * paragraph.C: remove dead comment
4860
4861         * text.C: remove troublesome depth-fiddling code
4862         in leftMargin() and rightMargin() (bug 1017)
4863
4864         * text.C: fix breaking of rows in nested lists
4865         (bug 1004)
4866
4867         * text2.C (updateCounters): fix up depth values
4868         (bug 1013)
4869
4870 2003-04-07  John Levon  <levon@movementarian.org>
4871
4872         * BufferView_pimpl.C: clear message when doc finishes resizing,
4873         and after a mouse event
4874
4875         * lyxfunc.C: clear message after exiting inset
4876
4877 2003-04-07  John Levon  <levon@movementarian.org>
4878
4879         * bufferview_funcs.C: show math status not outside
4880         status in the statusbar
4881
4882 2003-04-07  John Levon  <levon@movementarian.org>
4883
4884         * lyxfunc.C: note status changed after a depth change
4885
4886 2003-04-04  Angus Leeming  <leeming@lyx.org>
4887
4888         * LaTeX.h: move AuxInfo operator==, != out of line.
4889         Remove LaTeX virtual destructor; nothing derives from it.
4890         Move operator()() out of public area and rename it startscript().
4891         Change protected for private.
4892
4893 2003-04-04  Angus Leeming  <leeming@lyx.org>
4894
4895         * lyxfunc.C:
4896         * text2.C: remove unneeded #includes.
4897
4898 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * text2.C (dEPM): fix the heigth of the next row
4901
4902 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text.C: squashed an invalid getChar requester + some ws changes
4905
4906 2003-04-03  John Levon  <levon@movementarian.org>
4907
4908         * bufferview_funcs.h:
4909         * bufferview_funcs.C:
4910         * lyxfunc.C:
4911         * lyxtext.h:
4912         * text2.C: make getStatus work for the env depth lfuns
4913
4914 2003-04-03  John Levon  <levon@movementarian.org>
4915
4916         * bufferview_funcs.h:
4917         * bufferview_funcs.C:
4918         * lyxfunc.C:
4919         * lyxtext.h:
4920         * text2.C: parlistize decDepth(), by merging it with incDepth()
4921
4922 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * lyxrow.h: store a ParagraphList::iterator instead of a
4925         Paragraph* and adjust other class functions to suit.
4926
4927         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4928         above.
4929
4930 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * text2.C (setCursor): do not anchor to cursor row for the time being
4933
4934 2003-04-02  John Levon  <levon@movementarian.org>
4935
4936         * LyXAction.C:
4937         * lfuns.h:
4938         * lyx_main.C:
4939         * lyxtext.h:
4940         * text.C:
4941         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4942
4943 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * paragraph.h: make ParagraphList and ParagraphList::iterator
4946         friends of Paragraph.
4947
4948         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4949
4950         * ParagraphList.C: Use the private next_ and previous_ from
4951         Paragraph.
4952
4953 2003-04-01  John Levon  <levon@movementarian.org>
4954
4955         * ToolbarBackend.h:
4956         * ToolbarBackend.C:
4957         * Makefile.am: rename, remove defaults gunk
4958
4959         * MenuBackend.h:
4960         * MenuBackend.C: remove defaults gunk
4961
4962         * Languages.h:
4963         * Languages.C: remove defaults gunk
4964
4965         * lyx_main.h:
4966         * lyx_main.C: error out if files couldn't be found.
4967
4968 2003-04-02  John Levon  <levon@movementarian.org>
4969
4970         * text2.C: make incDepth() use parlist
4971
4972 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * undo_funcs.C (firstUndoParagraph): adjust
4975
4976         * text3.C (gotoInset): adjust
4977         (dispatch): adjust, and rewrite loop.
4978
4979         * text2.C (init): adjust, and rewrite loop.
4980         (redoParagraphs): adjust
4981         (updateInset): adjust, and rewrite loop.
4982         (deleteEmptyParagraphMechanism): adjust
4983
4984         * tabular.C (LyXTabular): adjust
4985         (SetMultiColumn): adjust
4986         (TeXRow): adjust
4987
4988         * lyxtext.[Ch] (ownerParagraph): delete function
4989         (ownerParagraphs): new function returns a ParagraphList.
4990
4991         * BufferView.C (removeAutoInsets): adjust
4992         (insertErrors): adjust
4993         (setCursorFromRow): adjust
4994
4995 2003-04-01  Angus Leeming  <leeming@lyx.org>
4996
4997         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4998         in the frontends.
4999
5000 2003-04-02  John Levon  <levon@movementarian.org>
5001
5002         * lyxtext.h:
5003         * text.C:
5004         * Makefile.am:
5005         * text_funcs.h:
5006         * text_funcs.C: make transposeChars a free function
5007
5008         * lyxrow_funcs.C: remove wrong comment
5009
5010 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * lyxtext.h: adjust
5013         * rowpainter.C: adjust
5014         * text.C: adjust
5015         * text2.C: adjust
5016         * text3.C: adjust
5017
5018         * lyxrow_funcs. [Ch]: new files
5019
5020         * lyxrow.[Ch]: remove next and previous pointers
5021         (next,previous): remove accessor functions
5022         (isParEnd): move to lyxrow_funcs
5023         (lastPos): move to lyxrow_funcs
5024         (nextRowIsAllInset): move to lyxrow_funcs
5025         (lastPrintablePos): move to lyxrow_funcs
5026         (numberOfSeparators): move to lyxrow_funcs
5027         (numberOfHfills): move to lyxrow_funcs
5028         (numberOfLabelHfills): move to lyxrow_funcs
5029         (hfillExpansion): move to lyxrow_funcs
5030
5031         * lyxfunc.C: adjust
5032
5033         * bufferview_funcs.C (toggleAndShow): adjust
5034
5035         * RowList.h: Remove class RowList from file leave just a
5036         std::list<Row>.
5037
5038         * RowList.C: delete file
5039
5040         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5041         and lyxrow_funcs.h
5042
5043 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * text3.C (cursorPrevious): adjust
5046         (cursorNext): adjust
5047         (dispatch): adjust
5048
5049         * text2.C (redoHeightOfParagraph): adjust
5050         (redoDrawingOfParagraph): adjust
5051         (setCursor): adjust
5052
5053         * text.C (breakParagraph): adjust
5054         (insertChar): adjust
5055         (backspace): adjust
5056
5057         * rowpainter.C (RowPainter): adjust
5058         (leftMargin): simplify and adjust
5059         (most rowpainter functions): adjust.
5060
5061         * rowpainter.h: store the row as RowList::iterator not as Row*
5062
5063         * lyxcursor.C (row): taka RowList::iterator as arg
5064         (irow): ditto
5065
5066         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5067         of Row*.
5068
5069 2003-04-01  Angus Leeming  <leeming@lyx.org>
5070
5071         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5072         stuff like bool Bool.
5073
5074 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5077         rewrite a loop
5078
5079 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5082         RowList::iterator.
5083
5084         * lyxtext.h (rows): drop one version and leve a const variant that
5085         returns a RowList::iterator.
5086
5087 2003-03-31  Angus Leeming  <leeming@lyx.org>
5088
5089         * text.C (fill): ensure that the signature is the same as that in the
5090         header file.
5091
5092 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * text2.C (redoParagraphs): adjust
5095         (updateCounters): adjust
5096         (checkParagraph): adjust
5097         (getColumnNearX): adjust and reformat a bit.
5098
5099         * text.C (top_y): adjust
5100         (workWidth): adjust
5101         (leftMargin): adjust
5102         (prepareToPrint): adjust
5103         (getRow): adjust
5104         (getRowNearY): adjust
5105
5106         * lyxtext.h: make rowlist_ mutable.
5107
5108         * RowList.h: add const_iterator
5109         * RowList.C: adjust for RowList::const_iterator.
5110
5111         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5112         adjust.
5113
5114 2003-03-31  John Levon  <levon@movementarian.org>
5115
5116         * lyxrc.h:
5117         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5118
5119         * lyx_main.C: set default fonts from using lyx_gui funcs
5120
5121         * exporter.C: pdf_mode moved from lyxrc
5122
5123         * lyx_cb.C:
5124         * lyxfunc.C: changes from above
5125
5126 2003-03-31  John Levon  <levon@movementarian.org>
5127
5128         * lyx_main.C: fix to the last fix
5129
5130 2003-03-31  John Levon  <levon@movementarian.org>
5131
5132         * bufferlist.C: "Load original" -> "Load Original"
5133
5134         * converter.C:
5135         * exporter.C:
5136         * importer.C:
5137         * lyx_main.C:
5138         * format.C: more Alert cleanups
5139
5140 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * text2.C (removeParagraph): make it take a RowList::iterator as
5143         arg, adjust.
5144         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5145         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5146
5147         * text.C (anchor_row): make it take a RowList::iterator as arg,
5148         adjust.
5149         (computeBidiTables): make it take a const reference to Row instead
5150         of Row pointer, adjust.
5151         (leftMargin): make it take a RowList::iterator as arg, adjust.
5152         (rowBreakPoint): adjust
5153         (breakAgainOneRow): make it take a RowList::iterator as arg,
5154         adjust.
5155         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5156
5157         * bufferview_funcs.C (toggleAndShow): adjust
5158
5159 2003-03-30  John Levon  <levon@movementarian.org>
5160
5161         * Makefile.am:
5162         * BoostFormat.h:
5163         * boost-inst.C: moved to support
5164
5165         * several files: changes as a result
5166
5167 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * text2.C (LyXText): adjust.
5170         (init): adjust
5171         (removeRow): make it take a RowList::iterator as arg, adjust.
5172         (fullRebreak): adjust
5173         (deleteEmptyParagraphMechanism): adjust
5174         (clearPaint): adjust
5175         (postPaint): adjust
5176
5177         * text.C (top_y): adjust
5178         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5179         (breakAgain): make it take a RowList::iterator as arg, adjust.
5180         (breakParagraph): adjust
5181         (insertChar): adjust
5182         (backspace): adjust
5183
5184         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5185         need_break_row, and refresh_row.
5186
5187         * text3.C (dispatch): adjust
5188
5189         * text2.C (checkParagraph): adjust
5190         (setCursor): adjust
5191         (setCursorFromCoordinates): adjust
5192
5193         * text.C (top_y): adjust
5194         (workWidth): adjust
5195         (getRow): make it return a RowList::iterator, adjust
5196         (getRowNearY): make it return a RowList::iterator, adjust
5197
5198         * text2.C (init): adjust
5199         (insertRow): remove function
5200         (insertParagraph): adjust
5201         (redoParagraphs): adjust
5202         (fullRebreak): adjust
5203         (updateCounters): adjust
5204
5205         * text.C (top_y): rewrite to use RowList iterators.
5206         (top_y): adjust
5207         (setHeightOfRow): rewrite to sue RowList iterators.
5208         (appendParagraph): adjust
5209         (breakAgain): adjust
5210         (breakAgainOneRow): adjust
5211         (breakParagraph): adjust
5212         (getRow): adjust
5213         (getRowNearY): adjust, and remove commented code.
5214
5215         * lyxtext.h (firstRow): delete function
5216         (lastRow): delete function
5217         (rows): new function (const and non-const versions.)
5218         (insertRow): delete function
5219
5220         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5221
5222 2003-03-29  John Levon  <levon@movementarian.org>
5223
5224         * BufferView_pimpl.C: always update scrollbar top
5225         because pasting text when we're anchored could mean we
5226         miss an update altogether
5227
5228 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * text2.C (init): use rowlist_.end() and not 0.
5231         (insertRow): change to take a RowList::iterator as arg, adjust
5232         for this.
5233         (insertParagraph): change to take a RowList::iterator as arg,
5234         adjust for this.
5235         (redoParagraphs): remove some debug msgs.
5236
5237         * text.C (appendParagraph): change to take a RowList::iterator
5238         arg, adjust for this.
5239         (breakAgain): add an assert
5240         (breakAgainOneRow): ditto
5241
5242 2003-03-29  John Levon  <levon@movementarian.org>
5243
5244         * text2.C: do not clear selection after inc/decDepth
5245         (bug 550)
5246
5247 2003-03-29  John Levon  <levon@movementarian.org>
5248
5249         * BufferView.C:
5250         * buffer.C: fix broken strerrors according to Lars
5251
5252 2003-03-29  John Levon  <levon@movementarian.org>
5253
5254         * converters.C: more Alert cleanups
5255
5256 2003-03-29  John Levon  <levon@movementarian.org>
5257
5258         * bufferview_funcs.C: remove pointless Alert
5259
5260         * buffer.C: fix confusing error message when
5261         a template is chmoded 000
5262
5263 2003-03-29  John Levon  <levon@movementarian.org>
5264
5265         * BufferView.C:
5266         * BufferView.h:
5267         * BufferView_pimpl.C: Alert fixes
5268
5269         * Makefile.am:
5270         * tabular.C:
5271         * tabular-old.C: remove unused table compat reading
5272
5273 2003-03-29  John Levon  <levon@movementarian.org>
5274
5275         * BufferView.C:
5276         * buffer.C:
5277         * lyx_cb.h:
5278         * lyx_cb.C: more Alert cleanups
5279
5280         * lyxfunc.C: don't allow chktex if not latex document
5281
5282 2003-03-29  John Levon  <levon@movementarian.org>
5283
5284         * lyx_cb.C:
5285         * BufferView.C:
5286         * buffer.C: warnings pushed down from support/,
5287         kill err_alert
5288
5289 2003-03-29  John Levon  <levon@movementarian.org>
5290
5291         * lyxfunc.C: safety check for C-r (revert)
5292
5293 2003-03-29  John Levon  <levon@movementarian.org>
5294
5295         * bufferlist.h:
5296         * bufferlist.C: several UI fixes using Alert::prompt.
5297         Fix the pointless looping quit code. Fix stupid revert
5298         behaviour (bug 938)
5299
5300         * lyxvc.h:
5301         * lyxvc.C:
5302         * lyx_cb.C: use Alert::prompt
5303
5304         * lyx_main.C: remove a silly question
5305
5306         * lyxfunc.C: remove a couple of silly questions,
5307         use Alert::prompt
5308
5309 2003-03-28  John Levon  <levon@movementarian.org>
5310
5311         * text2.C: fix bug 974 (End on empty par)
5312
5313 2003-03-28  John Levon  <levon@movementarian.org>
5314
5315         * BufferView_pimpl.C:
5316         * LyXAction.C:
5317         * lfuns.h: remove do-nothing math greek lfuns
5318
5319 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5320
5321         * lyxgluelength.h (isValidGlueLength): add default arg on
5322         parameter 2. Remove default arg from friend in class.
5323
5324         * lyxlength.h (isValidLength): add default arg on parameter 2.
5325         Remove default arg from friend in class.
5326
5327         * text2.C (LyXText): adjust, initialize refresh_row.
5328         (init): adjust
5329         (removeRow): adjust
5330         (insertRow): adjust
5331         (insertParagraph): adjst
5332         (redoParagraphs): adjust
5333         (fullRebreak): adjust
5334         (updateCounters): adjust
5335         (deleteEmptyParagraphMechanism): first attempt at fixing a
5336         crashing bug.
5337
5338         * text.C (top_y): adjust
5339         (setHeightOfRow): adjust
5340         (getRow): adjust
5341         (getRowNearY): adjust
5342
5343         * lyxtext.h: include RowList.h
5344         (~LyXText): not needed anymore, deleted.
5345         (firstRow): modify for RowList
5346         (lastRow): new function
5347         Delete firstrow and lastrow class variables, add a Rowlist
5348         rowlist_ class variable.
5349
5350         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5351         paragraph is empty.
5352
5353         * RowList.C (insert): fix case where it == begin().
5354
5355 2003-03-26  Angus Leeming  <leeming@lyx.org>
5356
5357         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5358         the thesaurus dialog.
5359
5360 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5363
5364         * RowList.[Ch]: new files
5365
5366         * ParagraphList.C (erase): handle the case where it == begin
5367         correctly.
5368
5369 2003-03-25  John Levon  <levon@movementarian.org>
5370
5371         * Makefile.am:
5372         * aspell_local.h:
5373         * aspell.C: add new aspell support
5374
5375         * lyxrc.h:
5376         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5377         have it accessible.
5378
5379 2003-03-25  Angus Leeming  <leeming@lyx.org>
5380
5381         * lfuns.h:
5382         * LyXAction.C (init): new LFUN_INSET_INSERT.
5383
5384         * BufferView_pimpl.C (dispatch): split out part of the
5385         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5386
5387         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5388         LFUN_INSET_APPLY.
5389
5390 2003-03-25  Angus Leeming  <leeming@lyx.org>
5391
5392         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5393
5394 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * text2.C:
5397         * text3.C: remove useless row->height(0)
5398
5399 2003-03-25  John Levon  <levon@movementarian.org>
5400
5401         * lyxtext.h:
5402         * text2.C:
5403         * text3.C: rename the refreshing stuff to better names
5404
5405 2003-03-24  John Levon  <levon@movementarian.org>
5406
5407         * BufferView_pimpl.h:
5408         * BufferView_pimpl.C: update layout choice on a mouse
5409         press/release
5410
5411 2003-03-23  John Levon  <levon@movementarian.org>
5412
5413         * Makefile.am: fix commandtags.h reference
5414
5415 2003-03-22  John Levon  <levon@movementarian.org>
5416
5417         * BufferView_pimpl.C:
5418         * lyxtext.h:
5419         * rowpainter.C:
5420         * rowpainter.h:
5421         * text.C:
5422         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5423
5424 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * lyxtext.h:
5427         * text.C: take the rtl methods out of line
5428
5429 2003-03-21 André Pönitz <poenitz@gmx.net>
5430
5431         * metricsinfo.[Ch]: new files containing structures to be passed around
5432         during the two-phase-drawing...
5433
5434 2003-03-21 André Pönitz <poenitz@gmx.net>
5435
5436         * lyxtextclass.C: read 'environment' tag.
5437
5438 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * text2.C (removeRow): fix bug 964
5441
5442 2003-03-20  John Levon  <levon@movementarian.org>
5443
5444         * rowpainter.C:
5445         * text.C:
5446         * text2.C: paint cleanups. Inset::update() dropped font
5447         parameter
5448
5449 2003-03-19  John Levon  <levon@movementarian.org>
5450
5451         * lyxfunc.C: only fitcursor/markDirty if available()
5452
5453 2003-03-19  John Levon  <levon@movementarian.org>
5454
5455         * commandtags.h: rename to ...
5456
5457         * lfuns.h: ... this, and renumber / cleanup
5458
5459 2003-03-19  John Levon  <levon@movementarian.org>
5460
5461         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5462         fit the cursor after an lfun
5463
5464         * BufferView.h:
5465         * BufferView.C:
5466         * BufferView_pimpl.h:
5467         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5468
5469         * LyXAction.C: layout-character should have ReadOnly
5470
5471         * ParagraphParameters.C:
5472         * buffer.C:
5473         * bufferview_funcs.C:
5474         * lyx_cb.C:
5475         * lyxfind.C:
5476         * lyxtext.h:
5477         * text.C:
5478         * text2.C:
5479         * text3.C:
5480         * undo_funcs.C: changes from above
5481
5482 2003-03-18  John Levon  <levon@movementarian.org>
5483
5484         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5485         remove it from update()
5486
5487         * lyxfunc.C: update layout choice after an lfun
5488
5489         * text3.C: remove extra updateLayoutChoice()s
5490
5491 2003-03-18  John Levon  <levon@movementarian.org>
5492
5493         * text.C: top_y change means full repaint, fix
5494         a drawing bug with cursor movement
5495
5496 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5497
5498         * lyxtext.h:
5499         * text.C:
5500         * text2.C: anchor row on setCursor
5501
5502 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5503
5504         * lyxtext.h: remove almost all mutable keywords
5505         * text.C:
5506         * text2.C:
5507         * text3.C: remove const keywords accordingly
5508
5509 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5512         anon namespace
5513         (TeXEnvironment): ditto
5514         (TeXOnePar): ditto
5515
5516 2003-03-17  John Levon  <levon@movementarian.org>
5517
5518         * text.C (rowBreakPoint): remove attempt to fix displayed
5519         math insets inside a manual label
5520
5521 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * lyxtext.h: remove BufferView* as first arg from almost all class
5524         functions.
5525         * other files: adjust.
5526
5527 2003-03-17  John Levon  <levon@movementarian.org>
5528
5529         * lyxtext.h:
5530         * undo_funcs.C:
5531         * text2.C: more paint cleanups
5532
5533         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5534
5535         * rowpainter.h:
5536         * rowpainter.C: remove "smart" background painting code
5537
5538 2003-03-16  John Levon  <levon@movementarian.org>
5539
5540         * lyxtext.h:
5541         * text.C:
5542         * text2.C:
5543         * text3.C: add helper functions for setting refresh_row/y
5544
5545 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5546
5547         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5548         newline inset which *can* get inserted in the pass_thru layouts.
5549         This is primarily for literate documents.
5550
5551 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5552
5553         * buffer.C: increment LYX_FORMAT to 223
5554
5555 2003-03-14 André Pönitz <poenitz@gmx.net>
5556
5557         * textclass.h: prepare for environment handling, ws changes
5558         * lyxlayout.C: read latexheader and latexfooter tags
5559
5560 2003-03-14  John Levon  <levon@movementarian.org>
5561
5562         * text2.C: rewrite ::status() a bit
5563
5564 2003-03-13  John Levon  <levon@movementarian.org>
5565
5566         * lyxtext.h: add some docs
5567
5568 2003-03-13  John Levon  <levon@movementarian.org>
5569
5570         * lyxtext.h:
5571         * text.C:
5572         * text2.C:
5573         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5574
5575 2003-03-13  John Levon  <levon@movementarian.org>
5576
5577         * text3.C: fix appendix redrawing
5578
5579 2003-03-13  John Levon  <levon@movementarian.org>
5580
5581         * text.C (setHeightOfRow):
5582         * rowpainter.h:
5583         * rowpainter.C: make appendix mark have the text
5584           "Appendix" so the user knows what it is
5585
5586         * LColor.h:
5587         * LColor.C: s/appendixline/appendix/ from above
5588
5589 2003-03-13  John Levon  <levon@movementarian.org>
5590
5591         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5592
5593         * text.C: fix a getChar(pos) bug properly
5594
5595 2003-03-13  Angus Leeming  <leeming@lyx.org>
5596
5597         * commandtags.h:
5598         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5599         Probably only temporary. Let's see how things pan out.
5600
5601         * BufferView.C (unlockInset):
5602         * BufferView_pimpl.C (fitCursor):
5603         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5604
5605         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5606         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5607
5608         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5609         new functions that convert ParagraphParameters to and from a string.
5610
5611         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5612         BufferView::Pimpl's dispatch.
5613         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5614
5615 2003-03-13 André Pönitz <poenitz@gmx.net>
5616
5617         * lyxfunc.C:
5618         * text3.C:
5619         * factory.C: make it aware of InsetEnv
5620
5621 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * text2.C (setCursor): never ask for one past last
5624         (setCursor): add some debugging messages.
5625
5626         * text.C (singleWidth): never ask for one past last
5627         (singleWidth): ditto
5628         (leftMargin): ditto
5629         (rightMargin): ditto
5630         (rowBreakPoint): ditto
5631         (setHeightOfRow): ditto
5632         (prepareToPrint): ditto
5633
5634         * rowpainter.C (paintBackground): never ask for one past last
5635         (paintText): never ask for one past last
5636
5637         * paragraph_pimpl.C (getChar): make the assert stricter, never
5638         allow the one past last pos to be taken
5639
5640         * paragraph.C (getChar): ws changes only
5641
5642         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5643         (numberOfSeparators): ditto
5644         (numberOfHfills): ditto
5645
5646 2003-03-12  John Levon  <levon@movementarian.org>
5647
5648         * author.h:
5649         * author.C:
5650         * bufferparams.h:
5651         * bufferparams.C:
5652         * paragraph_funcs.C: fix per-buffer authorlists
5653
5654 2003-03-12  John Levon  <levon@movementarian.org>
5655
5656         * text.C: fix newline in right address
5657
5658 2003-03-12  Angus Leeming  <leeming@lyx.org>
5659
5660         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5661         duplicate those in LyXFunc::dispatch.
5662
5663         * commandtags.h:
5664         * LyXAction.C:
5665         * ToolbarDefaults.C:
5666         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5667         Add LFUN_FONTFREE_UPDATE.
5668
5669         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5670         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5671
5672         * bufferview_func.[Ch]: several new functions to facilliate
5673         transfer of data to and from the character dialog.
5674
5675 2003-03-12  John Levon  <levon@movementarian.org>
5676
5677         * buffer.C:
5678         * paragraph.h:
5679         * paragraph.C:
5680         * paragraph_funcs.C:
5681         * paragraph_pimpl.C:
5682         * sgml.C:
5683         * tabular.C:
5684         * text.C:
5685         * text3.C: remove META_NEWLINE in favour of an inset
5686
5687         * rowpainter.h:
5688         * rowpainter.C: remove paintNewline (done by inset)
5689
5690 2003-03-12  John Levon  <levon@movementarian.org>
5691
5692         * paragraph_pimpl.C: complain about bad getChar()s
5693         for a while at least
5694
5695 2003-03-12  John Levon  <levon@movementarian.org>
5696
5697         * buffer.h:
5698         * buffer.C: move paragraph read into a separate function,
5699         a little renaming to reflect that.
5700
5701         * bufferparams.h:
5702         * bufferparams.C: remove the author_ids map, not necessary now
5703
5704         * factory.h:
5705         * factory.C: moved Buffer::readInset to here
5706
5707         * paragraph_funcs.h:
5708         * paragraph_funcs.C: readParagraph free function moved from
5709         buffer.C
5710
5711         * tabular.C: name change
5712
5713 2003-03-12  John Levon  <levon@movementarian.org>
5714
5715         * buffer.C:
5716         * ParagraphParameters.C: move par params input to
5717         a read() method
5718
5719         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5720         behave like a normal read from the stream wrt reading
5721         a line vs. a \\token
5722
5723 2003-03-12  John Levon  <levon@movementarian.org>
5724
5725         * paragraph.C:
5726         * ParagraphParameters.h:
5727         * ParagraphParameters.C: move output code to a
5728         ::write() method
5729
5730 2003-03-12  John Levon  <levon@movementarian.org>
5731
5732         * BufferView.C (insertLyXFile):
5733         * buffer.h:
5734         * buffer.C:
5735         * tabular.C: use a parlist iterator for creating the
5736           document.
5737
5738 2003-03-12  John Levon  <levon@movementarian.org>
5739
5740         * buffer.C: make current_change static local not
5741           static file-scope
5742
5743 2003-03-12  John Levon  <levon@movementarian.org>
5744
5745         * buffer.C: fix insertStringAsLines for change tracking
5746
5747 2003-03-12  John Levon  <levon@movementarian.org>
5748
5749         * BufferView.C:
5750         * tabular.C:
5751         * buffer.h:
5752         * buffer.C:
5753         * bufferparams.h:
5754         * bufferparams.C: move author list into params. Rename some
5755           functions. Move the header reading into a separate token
5756           loop. Move the header token reading into BufferParams.
5757
5758 2003-03-12  John Levon  <levon@movementarian.org>
5759
5760         * changes.C: put debug inside lyxerr.debugging() checks
5761
5762 2003-03-11 André Pönitz <poenitz@gmx.net>
5763
5764         * factory.C: make it aware of InsetHFill
5765
5766 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5767
5768         * buffer.C (latexParagraphs): move function from here...
5769         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5770         args.
5771
5772 2003-03-10  Angus Leeming  <leeming@lyx.org>
5773
5774         * LyXAction.C (init): fix bug in poplating array with multiple entries
5775         with the same LFUN (spotted by JMarc).
5776
5777 2003-03-10  John Levon  <levon@movementarian.org>
5778
5779         * text.C:
5780         * text2.C: move getColumnNearX() near its
5781         only call site
5782
5783 2003-03-10  John Levon  <levon@movementarian.org>
5784
5785         * text.C: fix break before a minipage
5786
5787 2003-03-10  John Levon  <levon@movementarian.org>
5788
5789         * text.C: fix the last commit
5790
5791 2003-03-09  John Levon  <levon@movementarian.org>
5792
5793         * lyxtext.h:
5794         * text.C:
5795         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5796         bug 365 (don't break before insets unless needed). Don't
5797         return a value > last under any circumstances.
5798
5799 2003-03-09  Angus Leeming  <leeming@lyx.org>
5800
5801         * BufferView_pimpl.C (trackChanges, dispatch): call
5802         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5803
5804 2003-03-09  Angus Leeming  <leeming@lyx.org>
5805
5806         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5807         than Dialogs::showAboutlyx().
5808
5809 2003-03-09  Angus Leeming  <leeming@lyx.org>
5810
5811         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5812         than Dialogs::showTabularCreate().
5813
5814 2003-03-09  John Levon  <levon@movementarian.org>
5815
5816         * lyxtext.h:
5817         * text.C:
5818         * text2.C: 3rd arg to nextBreakPoint was always the same.
5819           Use references.
5820
5821 2003-03-08  John Levon  <levon@movementarian.org>
5822
5823         * lyxrow.C:
5824         * paragraph.C:
5825         * paragraph.h:
5826         * rowpainter.C:
5827         * text.C:
5828         * text2.C: Remove the "main" bit from the "main body"
5829           notion.
5830
5831 2003-03-08  John Levon  <levon@movementarian.org>
5832
5833         * text.C (leftMargin): The left margin of an empty
5834         manual label paragraph should not include the label width
5835         string length.
5836
5837         * text.C (prepareToPrint): don't attempt to measure hfills
5838         for empty manual label paragraphs - the answer should be 0
5839
5840 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * CutAndPaste.C: remove commented code and reindent.
5843
5844 2003-03-08  John Levon  <levon@movementarian.org>
5845
5846         * lyxfunc.h:
5847         * lyxfunc.C: move reloadBuffer()
5848
5849         * BufferView.h:
5850         * BufferView.C: to here
5851
5852         * lyxvc.C: add comment
5853
5854         * vc-backend.h:
5855         * vc-backend.C: call bv->reload() to avoid
5856           getStatus() check on MENURELOAD
5857
5858 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5859
5860         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5861         to an old format .dep file.
5862
5863 2003-03-07  Angus Leeming  <leeming@lyx.org>
5864
5865         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5866         when the LFUN_MOUSE_RELEASE should have been handled by
5867         inset->localDispatch.
5868
5869 2003-03-07  Angus Leeming  <leeming@lyx.org>
5870
5871         * BufferView_pimpl.C (dispatch):
5872         * LyXAction.C (init):
5873         * ToolbarDefaults.C (init):
5874         * commandtags.h:
5875         * lyxfunc.C (getStatus):
5876         remove LFUN_INSET_GRAPHICS.
5877
5878         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5879
5880 2003-03-07  Angus Leeming  <leeming@lyx.org>
5881
5882         * commandtags.h:
5883         * LyXAction.C (init):
5884         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5885
5886         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5887
5888         * commandtags.h:
5889         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5890
5891         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5892         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5893
5894 2003-03-07  Angus Leeming  <leeming@lyx.org>
5895
5896         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5897         remove "ert".
5898
5899 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * ParagraphList.C (front): new function
5902         (back): implement
5903
5904 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5907         and top_row_offset_. removed var first_y.
5908         * text.C (top_y):
5909         * text2.C (LyXText, removeRow):
5910         * text3.C:
5911         * BufferView_pimpl.C:
5912         use these methods instead of using first_y
5913
5914 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * text2.C (pasteSelection): adjust for checkPastePossible
5917
5918         * CutAndPaste.C: remove Paragraph * buf and replace with
5919         ParagraphList paragraphs.
5920         (DeleteBuffer): delete
5921         (cutSelection): change the tc type to textclass_type
5922         (copySelection): change the tc type to textclass_type
5923         (copySelection): adjust for ParagraphList
5924         (pasteSelection): change the tc type to textclass_type
5925         (pasteSelection): adjust for Paragraphlist
5926         (nrOfParagraphs): simplify for ParagraphList
5927         (checkPastePossible): simplify for ParagraphList
5928         (checkPastePossible): remove unused arg
5929
5930         * ParagraphList.C (insert): handle the case where there are no
5931         paragraphs yet.
5932
5933         * CutAndPaste.h: make CutAndPaste a namespace.
5934
5935         * text3.C (dispatch): adjust
5936
5937         * text.C (breakParagraph): add a ParagraphList as arg
5938
5939         * paragraph_funcs.C (breakParagraph): change to take a
5940         BufferParams and a ParagraphList as args.
5941         (breakParagraphConservative): ditto
5942         (mergeParagraph): ditto
5943         (TeXDeeper): add a ParagraphList arg
5944         (TeXEnvironment): ditto
5945         (TeXOnePar): ditto
5946
5947         * buffer.C (readLyXformat2): adjust
5948         (insertStringAsLines): adjust
5949         (latexParagraphs): adjust
5950
5951         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5952         (cutSelection): adjust
5953         (pasteSelection): adjust
5954
5955         * BufferView_pimpl.C (insertInset): adjust
5956
5957 2003-03-05  Angus Leeming  <leeming@lyx.org>
5958
5959         * commandtags.h:
5960         * LyXAction.C (init):
5961         * BufferView_pimpl.C (dispatch):
5962         * lyxfunc.C (getStatus):
5963         remove LFUN_CHILD_INSERT.
5964
5965         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5966
5967 2003-03-05  Angus Leeming  <leeming@lyx.org>
5968
5969         * commandtags.h:
5970         * LyXAction.C (init):
5971         * src/factory.C (createInset):
5972         * lyxfunc.C (getStatus):
5973         * text3.C (dispatch):
5974         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5975
5976         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5977
5978 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * ParagraphList.C (insert): handle insert right before end()
5981         (erase): fix cases where it can be first or last paragraph.
5982
5983 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5986         Paragraph::next and Paragraph::previous
5987         (TeXOnePar): ditto
5988
5989         * text.C (breakParagraph): adjust
5990
5991         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5992         BufferParams& as arg.
5993         (breakParagraph): use ParagraphList::insert
5994         (breakParagraphConservative): take a Buffer* instead of a
5995         BufferParams& as arg.
5996         (breakParagraphConservative): use ParagraphList::insert.
5997
5998         * buffer.C (insertStringAsLines): un-const it
5999         (insertStringAsLines): adjust
6000
6001         * ParagraphList.C (insert): new function
6002
6003         * CutAndPaste.C (pasteSelection): adjust
6004
6005         * text.C (backspace): adjust
6006
6007         * tabular.C (SetMultiColumn): adjust
6008
6009         * CutAndPaste.C (cutSelection): adjust
6010         (pasteSelection): adjust
6011
6012         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6013         Buffer const * as arg
6014
6015         * ParagraphList.C (erase): new function
6016         * paragraph_funcs.C (mergeParagraph): use it
6017         (mergeParagraph): make it take a Buffer* instead of a
6018         BufferParams* as arg
6019
6020         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6021         as arg
6022         (breakParagraphConservative): ditto
6023
6024         * paragraph.h: remove the breakParagraph friend
6025
6026         * paragraph.C (eraseIntern): new function
6027         (setChange): new function
6028
6029         * paragraph_funcs.C (mergeParagraph): make it take a
6030         ParagraphList::iterator instead of a Paragraph *, adjust
6031         accordingly.
6032
6033         * paragraph.h: move an #endif so that the change tracking stuff
6034         also works in the NO_NEXT case.
6035
6036 2003-03-04  Angus Leeming  <leeming@lyx.org>
6037
6038         * commandtags.h:
6039         * LyXAction.C: new LFUN_INSET_MODIFY.
6040
6041         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6042         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6043
6044 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * several files: ws changes only
6047
6048         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6049         (TeXEnvironment): ditto
6050         (TeXDeeper): ditto
6051
6052         * buffer.C (makeLaTeXFile): adjust
6053         (latexParagraphs): make it take ParagraphList::iterator as args
6054
6055 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * buffer.C (latexParagraphs): adjust
6058
6059         * paragraph.C (TeXOnePar): move function...
6060         (optArgInset): move function...
6061         (TeXEnvironment): move function...
6062         * paragraph_pimpl.C (TeXDeeper): move function...
6063         * paragraph_funcs.C: ...here
6064
6065         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6066
6067 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * buffer.C (readInset): remove compability code for old Figure and
6070         InsetInfo insets
6071
6072 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * buffer.C: ws changes
6075         (readInset):
6076
6077         * BufferView_pimpl.C: ditto
6078         * author.C: ditto
6079         * buffer.h: ditto
6080         * bufferlist.h: ditto
6081         * changes.h: ditto
6082         * lyxfunc.C: ditto
6083
6084 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6085
6086         * converter.[Ch]: split into itself +
6087         * graph.[Ch]
6088         * format.[Ch]
6089         * Makefile.am: += graph.[Ch] + format.[Ch]
6090         * MenuBackend.C
6091         * buffer.C
6092         * exporter.C
6093         * importer.C
6094         * lyx_main.C
6095         * lyxfunc.C
6096         * lyxrc.C: added #include "format.h"
6097
6098 2003-02-27  Angus Leeming  <leeming@lyx.org>
6099
6100         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6101           a label.
6102
6103         * factory.C (createInset): add "label" to the factory.
6104
6105         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6106           string and do no more.
6107
6108 2003-02-27  Angus Leeming  <leeming@lyx.org>
6109
6110         * commandtags.h:
6111         * LyXAction.C (init):
6112         * factory.C (createInset):
6113         * BufferView_pimpl.C (dispatch):
6114           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6115
6116         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6117
6118         * lyxfunc.C (dispatch):
6119         * text3.C (dispatch): pass name to params2string.
6120
6121 2003-02-26  Angus Leeming  <leeming@lyx.org>
6122
6123         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6124           blocks together.
6125           Rearrange the ~includes. Strip out the unnecessary ones.
6126
6127         * factory.C (createInset): reformat.
6128           create new insets for the various LFUN_XYZ_APPLY lfuns.
6129
6130 2003-02-26  John Levon  <levon@movementarian.org>
6131
6132         * lyxrow.h:
6133         * lyxrow.C: add isParStart,isParEnd helpers
6134
6135         * paragraph.h: make isInserted/DeletedText take refs
6136
6137         * paragraph_funcs.h:
6138         * paragraph_funcs.C: remove #if 0'd code
6139
6140         * lyxtext.h:
6141         * text3.C:
6142         * text2.C:
6143         * text.C: use lyxrow helpers above.
6144           Move draw and paint routines to RowPainter.
6145           Make several methods use refs not pointers.
6146           Make backgroundColor() const.
6147           Add markChangeInDraw(), isInInset().
6148           Merge changeRegionCase into changeCase.
6149           Make workWidth() shouldn't-happen code into an Assert.
6150
6151         * rowpainter.h:
6152         * rowpainter.C: new class for painting a row.
6153
6154         * vspace.h:
6155         * vspace.C: make inPixels take a ref
6156
6157 2003-02-26  Angus Leeming  <leeming@lyx.org>
6158
6159         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6160         LFUN_REF_APPLY.
6161
6162 2003-02-25  John Levon  <levon@movementarian.org>
6163
6164         * ispell.C: give the forked command a more accurate name
6165
6166 2003-02-22  John Levon  <levon@movementarian.org>
6167
6168         * toc.h:
6169         * toc.C: make TocItem store an id not a Paragraph *
6170           (bug #913)
6171
6172 2003-02-21  Angus Leeming  <leeming@lyx.org>
6173
6174         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6175           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6176           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6177           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6178           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6179           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6180
6181         * BufferView_pimpl.C (dispatch):
6182         * LyXAction.C (init):
6183         * factory.C (createInset):
6184         * lyxfunc.C (getStatus, dispatch):
6185         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6186
6187 2003-02-21  Angus Leeming  <leeming@lyx.org>
6188
6189         * BufferView_pimpl.C (MenuInsertLyXFile):
6190         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6191         * lyxfunc.C (menuNew, open, doImport):
6192           no longer pass a LyXView & to fileDlg.
6193
6194 2003-02-21  Angus Leeming  <leeming@lyx.org>
6195
6196         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6197         * LyXAction.C: change, BIBKEY to BIBITEM.
6198         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6199         Change InsetBibKey to InsetBibitem.
6200         Change BIBKEY_CODE to BIBITEM_CODE.
6201         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6202         * factory.C: replace insetbib.h with insetbibitem.h.
6203         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6204         * paragraph.C: replace insetbib.h with insetbibitem.h.
6205         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6206         Change bibkey() to bibitem().
6207         * text.C: remove insetbib.h.
6208         * text2.C: replace insetbib.h with insetbibitem.h.
6209         change bibkey() to bibitem().
6210         * text3.C: remove insetbib.h.
6211         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6212
6213 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6214
6215         * lyxrc.C (output): enclose user email in quotes (in case there are
6216         several words)
6217
6218 2003-02-18  John Levon  <levon@movementarian.org>
6219
6220         * buffer.h: add std::
6221
6222 2003-02-17  John Levon  <levon@movementarian.org>
6223
6224         * SpellBase.h:
6225         * ispell.h:
6226         * ispell.C:
6227         * pspell.h:
6228         * pspell.C: reworking. Especially in ispell, a large
6229           number of clean ups and bug fixes.
6230
6231         * lyxfunc.C: fix revert to behave sensibly
6232
6233 2003-02-17 André Pönitz <poenitz@gmx.net>
6234
6235         * LyXAction.C:
6236         * commandtags.h: new LFUN_INSERT_BIBKEY
6237
6238         * layout.h:
6239         * lyxlayout.C:
6240         * buffer.C:
6241         * factory.C:
6242         * text.C:
6243         * text2.C:
6244         * text3.C:
6245         * paragraph.[Ch]:
6246         * paragraph_func.C: remove special bibkey handling
6247
6248 2003-02-17  John Levon  <levon@movementarian.org>
6249
6250         * text.C (Delete): fix case where delete at the end of
6251           the very first paragraph would not merge the pars
6252
6253 2003-02-17  John Levon  <levon@movementarian.org>
6254
6255         * lyxrow.C: fix lastPrintablePos()
6256
6257 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6258
6259         * bufferparams.C (writeLaTeX): add a std:here
6260
6261         * buffer.C: and remove a using directive there
6262
6263 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6264
6265         * buffer.C (makeLaTeXFile): move the code that generates the
6266           preamble...
6267
6268         * bufferparams.C (writeLaTeX): ... in this new method
6269
6270         * LaTeXFeatures.C (getEncodingSet): make const
6271           (getLanguages): make const
6272
6273         * MenuBackend.C (binding): returns the binding associated to this
6274           action
6275           (add): sets the status of each item by calling getStatus. Adds
6276           some intelligence.
6277           (read): add support for OptSubMenu
6278           (expand): remove extra separator at the end of expanded menu
6279
6280 2003-02-15  John Levon  <levon@movementarian.org>
6281
6282         * BufferView.C:
6283         * BufferView_pimpl.C:
6284         * bufferlist.h:
6285         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6286           inset code that had no actual effect. Remove unneeded status
6287           code.
6288
6289 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6290
6291         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6292           in preamble
6293
6294 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6295
6296         * text.C (drawLengthMarker): also draw an arrow marker for
6297           symbolic lengths (medskip...)
6298
6299 2003-02-14  John Levon  <levon@movementarian.org>
6300
6301         * tabular.h:
6302         * tabular.C: better method names
6303
6304 2003-02-14  John Levon  <levon@movementarian.org>
6305
6306         * BufferView_pimpl.C:
6307         * bufferlist.C:
6308         * buffer.C:
6309         * converter.C:
6310         * lyx_cb.C:
6311         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6312           it's a more accurate name. Remove some pointless uses.
6313
6314 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6315
6316         * text2.C (LyXText): change order of initilizers to shut off
6317           warnings
6318
6319 2003-02-14  John Levon  <levon@movementarian.org>
6320
6321         * buffer.C: use ParIterator for getParFromID()
6322
6323         * paragraph.h:
6324         * paragraph.C:
6325         * paragraph_pimpl.h:
6326         * paragraph_pimpl.C: remove unused getParFromID()
6327
6328 2003-02-14  John Levon  <levon@movementarian.org>
6329
6330         * buffer.C: remove some very old #if 0'd parse code
6331
6332 2003-02-13  John Levon  <levon@movementarian.org>
6333
6334         * text.h:
6335         * text.C:
6336         * text2.C: move hfillExpansion(), numberOfSeparators(),
6337           rowLast(), rowLastPrintable(), numberofHfills(),
6338           numberOfLabelHfills() ...
6339
6340         * lyxrow.h:
6341         * lyxrow.C: ... to member functions here.
6342
6343         * paragraph.h:
6344         * paragraph.C:
6345         * lyxtext.h:
6346         * text.C: remove LyXText::beginningOfMainBody(), and call
6347           p->beginningOfMainBody() directly. Move the check for
6348           LABEL_MANUAL into the latter.
6349
6350         * text.h:
6351         * text.C:
6352         * text2.C:
6353         * vspace.C:
6354         * BufferView.h:
6355         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6356
6357         * text.h:
6358         * text.C:
6359         * text2.C:
6360         * text3.C:
6361         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6362           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6363
6364 2003-02-13  John Levon  <levon@movementarian.org>
6365
6366         * CutAndPaste.C: remove debug
6367
6368 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6369
6370         * paragraph.C (asString): remove two unused variables
6371
6372         * lyxtextclass.C (readTitleType):
6373           (Read):
6374           (LyXTextClass): handle new members titletype_ and titlename_
6375
6376         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6377
6378 2003-02-09  John Levon  <levon@movementarian.org>
6379
6380         * buffer.h:
6381         * buffer.C: replace hand-coded list with a map for the dep clean
6382
6383 2003-02-08  John Levon  <levon@movementarian.org>
6384
6385         * LaTeX.C: consolidate code into showRunMessage() helper
6386
6387 2003-02-08  John Levon  <levon@movementarian.org>
6388
6389         * lyxfind.C:
6390         * lyxtext.h:
6391         * text2.C:
6392         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6393           and pass the size in explicitly
6394
6395         * BufferView_pimpl.h:
6396         * BufferView_pimpl.C:
6397         * BufferView.h:
6398         * BufferView.C: add getCurrentChange()
6399
6400         * BufferView_pimpl.h:
6401         * BufferView_pimpl.C: handle change lfuns
6402
6403         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6404           for changes. Mark pasted paragraphs as new.
6405
6406         * support/lyxtime.h:
6407         * support/lyxtime.C:
6408         * DepTable.C: abstract time_t as lyx::time_type
6409
6410         * LColor.h:
6411         * LColor.C: add colours for new text, deleted text, changebars
6412
6413         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6414           package use "usenames" option.
6415
6416         * commandtags.h:
6417         * lyxfunc.C:
6418         * LyXAction.C: add change lfuns
6419
6420         * Makefile.am:
6421         * author.h:
6422         * author.C: author handling
6423
6424         * buffer.h:
6425         * buffer.C: add a per-buffer author list, with first entry as
6426           current author. Handle new .lyx tokens for change tracking. Output
6427           author list to .lyx file. Output dvipost stuff to .tex preamble.
6428           Bump lyx format to 222.
6429
6430         * bufferlist.h:
6431         * bufferlist.C: add setCurrentAuthor() to reset current author details
6432           in all buffers.
6433
6434         * bufferparams.h:
6435         * bufferparams.C: add param for tracking
6436
6437         * bufferview_funcs.C: output change info in minibuffer
6438
6439         * Makefile.am:
6440         * changes.h:
6441         * changes.C: add change-tracking structure
6442
6443         * debug.h:
6444         * debug.C: add CHANGES debug flag
6445
6446         * lyxfind.h:
6447         * lyxfind.C: add code for finding the next change piece
6448
6449         * lyxrc.h:
6450         * lyxrc.C: add user_name and user_email
6451
6452         * lyxrow.h:
6453         * lyxrow.C: add a metric for the top of the text line
6454
6455         * lyxtext.h:
6456         * text.C: implement accept/rejectChange()
6457
6458         * lyxtext.h:
6459         * text.C: paint changebars. Paint new/deleted text in the chosen
6460         colours. Strike through deleted text.
6461
6462         * paragraph.h:
6463         * paragraph.C:
6464         * paragraph_pimpl.h:
6465         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6466           in the current change to the insert functions. Rework erase to
6467           mark text as deleted, adding an eraseIntern() and a range-based
6468           erase(). Implement per-paragraph change lookup and
6469           accept/reject.
6470
6471         * paragraph_funcs.C: Fixup paste for change tracking.
6472
6473         * tabular.C: mark added row/columns as new.
6474
6475         * text.C: fix rowLast() to never return -1. Don't allow
6476           spellchecking of deleted text. Track transpose changes. Don't
6477           allow paragraph break or merge where appropriate.
6478
6479         * text2.C: leave cursor at end of selection after a cut.
6480
6481 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6482
6483         * text.C (getLengthMarkerHeight):
6484         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6485         visible on screen too.
6486
6487 2003-02-07  John Levon  <levon@movementarian.org>
6488
6489         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6490
6491 2003-02-05  Angus Leeming  <leeming@lyx.org>
6492
6493         * lyxserver.C (read_ready): revert my patch of 11 September last year
6494         as it sends PC cpu through the roof. Presumably this means that
6495         the lyxserver will no longer run on an Alpha...
6496
6497 2003-01-30  Angus Leeming  <leeming@lyx.org>
6498
6499         * factory.C (createInset): create an InsetCommandParam of type "index"
6500         and use it to 'do the right thing'.
6501
6502         * text2.C (getStringToIndex): ensure that cursor position is always
6503         reset to the reset_cursor position.
6504
6505 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6506
6507         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6508         disabled.
6509
6510 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6511
6512         * bufferview.C:
6513         * lyxcb.C:
6514         * lyxfunc.C: Output messages with identical spelling, punctuation,
6515         and spaces
6516
6517 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6518
6519         * MenuBackend.C (expandFormats): List only viewable export formats
6520         in "View" menu
6521
6522         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6523         message
6524
6525         * lyxfunc.C (getStatus): Make sure that formats other than
6526         "fax" can also be disabled
6527
6528 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6529
6530         * text3.C (dispatch): put the lfuns that insert insets in 3
6531         groups, and call doInsertInset with appropriate arguments.
6532         (doInsertInset): new function, that creates an inset and inserts
6533         it according to some boolean parameters.
6534
6535 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * buffer.C (readFile): remember to pass on 'par' when calling
6538         readFile recursively.
6539
6540 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6541
6542         * MenuBackend.C (expandFormats): add "..." to import formats.
6543
6544 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6545
6546         * paragraph.C (asString): Remove XForms RTL hacks.
6547
6548 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6549         * buffer.C: fix typo
6550
6551 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * Makefile.am (LIBS): delete var
6554         (lyx_LDADD): add @LIBS@ here instead.
6555
6556 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6557
6558         * Clarify the meaning of "wheel mouse jump"
6559
6560 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6561
6562         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6563         tabular in a float
6564
6565 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6566
6567         * importer.C (Loaders): do not preallocate 3 elements in the
6568         vector, since one ends up with 6 elements otherwise
6569
6570 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6571
6572         * DepTable.C (write): write the file name as last element of the
6573         .dep file (because it may contain spaces)
6574         (read): read info in the right order
6575
6576 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6577
6578         * paragraph_pimpl.C (simpleTeXBlanks):
6579         (simpleTeXSpecialChars):
6580         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6581
6582         * tabular.C (latex): add some missing case statements. Reindent.
6583
6584         * MenuBackend.C (expandToc): remove unused variable.
6585
6586 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6587
6588         * LColor.C:
6589         * LaTeX.C:
6590         * LyXAction.C:
6591         * MenuBackend.C:
6592         * buffer.C:
6593         * exporter.C:
6594         * lyxfunc.C:
6595         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6596         and the like.
6597
6598 2003-01-05  John Levon  <levon@movementarian.org>
6599
6600         * BufferView.h:
6601         * BufferView.C: add getEncoding()
6602
6603         * kbsequence.h:
6604         * kbsequence.C: do not store last keypress
6605
6606         * lyxfunc.h:
6607         * lyxfunc.C: store last keypress here instead. Pass encoding
6608           to getISOEncoded()
6609
6610 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6611
6612         * lyx_main.C (init): remove annoying error message when following
6613         symbolic links (bug #780)
6614
6615 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6616
6617         * text.C (insertChar):
6618         * lyxrc.C (getDescription): remove extra spaces
6619
6620 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6621
6622         * lyxrc.C (getDescription): remove extra spaces
6623
6624 2002-12-20  John Levon  <levon@movementarian.org>
6625
6626         * text3.C: hack fix for page up/down across tall rows
6627
6628 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6629
6630         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6631         not been invoked
6632
6633 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6634
6635         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6636         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6637         thesaurus is not compiled in
6638
6639 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6640
6641         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6642
6643 2002-12-16  Angus Leeming  <leeming@lyx.org>
6644
6645         * lyxrc.[Ch]:
6646         * lyx_main.C (init): remove override_x_deadkeys stuff.
6647
6648 2002-12-12  John Levon  <levon@movementarian.org>
6649
6650         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6651           insert. Only remove shift modifier under strict
6652           circumstances.
6653
6654 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * MenuBackend.C (expandToc): fix crash.
6657
6658 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * MenuBackend.C (expandToc): gettext on float names.
6661
6662 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6663
6664         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6665         implement bool empty() [bug 490]
6666
6667 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6668
6669         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6670
6671 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * several files: ws changes
6674
6675 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * text2.C (setCounter): clean up a bit, use boost.format.
6678         (updateCounters): initialize par upon declaration.
6679
6680         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6681         if the layout exists. We do not just store the layout any more.
6682         (SwitchLayoutsBetweenClasses): use boost.format
6683
6684 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6685
6686         * converter.C (convert): if from and to files are the same, use a
6687         temporary files as intermediary
6688
6689 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6690
6691         * commandtags.h:
6692         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6693
6694 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6695
6696         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6697
6698 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * tabular.C (asciiPrintCell): use string(size, char) instead of
6701         explicit loop.
6702
6703         * sgml.C (openTag): fix order of arguments to string constructor
6704         (closeTag): ditto
6705
6706         * lyxfunc.C (dispatch): use boost.format
6707
6708         * lots of files: change "c" -> 'c'
6709
6710 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6711
6712         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6713
6714 2002-11-25  Angus Leeming  <leeming@lyx.org>
6715
6716         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6717
6718         * lyx_main.C (init): compile fix.
6719
6720 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * lyx_cb.C (start): boost.formatify
6723         do not include <iostream>
6724
6725         * lengthcommon.C: ws only
6726
6727         * boost-inst.C,BoostFormat.h: add more explict instantations
6728
6729 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * lots of files: handle USE_BOOST_FORMAT
6732
6733 2002-11-21  John Levon  <levon@movementarian.org>
6734
6735         * pspell.C: fix compile
6736
6737 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6738
6739         * lyxfunc.C (dispatch): use boost::format
6740         (open): ditto
6741         (doImport): ditto
6742
6743         * lyxfont.C (stateText): use boost::format
6744
6745         * lyx_main.C (LyX): use boost::format
6746         (init): ditto
6747         (queryUserLyXDir): ditto
6748         (readRcFile): ditto
6749         (parse_dbg): ditto
6750         (typedef boost::function): use the recommened syntax.
6751
6752         * importer.C (Import): use boost::format
6753
6754         * debug.C (showLevel): use boost::format
6755
6756         * converter.C (view): use boost::format
6757         (convert): ditto
6758         (move): ditto
6759         (scanLog): ditto
6760
6761         * bufferview_funcs.C (currentState): use boost::format
6762
6763         * bufferlist.C (emergencyWrite): use boost::format
6764
6765         * buffer.C (readLyXformat2): use boost::format
6766         (parseSingleLyXformat2Token): ditto
6767
6768         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6769
6770         * LaTeX.C (run): use boost::format
6771
6772         * Chktex.C (scanLogFile): use boost::format
6773
6774         * BufferView_pimpl.C (savePosition): use boost::format
6775         (restorePosition): ditto
6776         (MenuInsertLyXFile): ditto
6777
6778         * BoostFormat.h: help file for explicit instation.
6779
6780 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6781
6782         * tabular.C (latex): Support for block alignment in fixed width
6783         columns.
6784
6785 2002-11-17  John Levon  <levon@movementarian.org>
6786
6787         * BufferView_pimpl.C:
6788         * lyx_cb.C:
6789         * lyxfunc.C: split filedialog into open/save
6790
6791 2002-11-08  Juergen Vigna  <jug@sad.it>
6792
6793         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6794         by my last patch (hopefully).
6795
6796 2002-11-08  John Levon  <levon@movementarian.org>
6797
6798         * iterators.h:
6799         * iterators.C:
6800         * buffer.h:
6801         * buffer.C:
6802         * paragraph.h:
6803         * paragraph.C:
6804         * toc.h:
6805         * toc.C: ParConstIterator, and use it (from Lars)
6806
6807 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6808
6809         * lyxtextclass.[Ch]: revise and add doxygen comments
6810
6811 2002-11-07  John Levon  <levon@movementarian.org>
6812
6813         * text.C: fix progress value for spellchecker
6814
6815         * toc.C: fix navigate menu for insetwrap inside minipage
6816
6817         * paragraph_funcs.C: added FIXME for suspect code
6818
6819 2002-11-07  John Levon  <levon@movementarian.org>
6820
6821         * BufferView_pimpl.C: fix redrawing of insets
6822           on buffer switch
6823
6824 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6825
6826         * text2.C (updateCounters): fix bug 668
6827
6828 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6829
6830         * text3.C (dispatch): Do not make the buffer dirty when moving the
6831         cursor.
6832
6833 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * vc-backend.C: STRCONV
6836         (scanMaster): ditto
6837
6838         * text2.C (setCounter): STRCONV
6839
6840         * paragraph.C (asString): STRCONV
6841
6842         * lyxlength.C (asString): STRCONV
6843         (asLatexString): ditto
6844
6845         * lyxgluelength.C (asString): STRCONV
6846         (asLatexString): ditto
6847
6848         * lyxfunc.C (dispatch): STRCONV
6849         (open): ditto
6850
6851         * lyxfont.C (stateText): STRCONV
6852
6853         * importer.C (Import): STRCONV
6854
6855         * counters.C (labelItem): STRCONV
6856         (numberLabel): ditto
6857         (numberLabel): remove unused ostringstream o
6858
6859         * chset.C: STRCONV
6860         (loadFile): ditto
6861
6862         * bufferview_funcs.C (currentState): STRCONV
6863
6864         * buffer.C (readFile): STRCONV
6865         (asciiParagraph): ditto
6866         (makeLaTeXFile): ditto
6867
6868         * Spacing.C (writeEnvirBegin): STRCONV
6869
6870         * LaTeXFeatures.C (getLanguages): STRCONV
6871         (getPackages): ditto
6872         (getMacros): ditto
6873         (getBabelOptions): ditto
6874         (getTClassPreamble): ditto
6875         (getLyXSGMLEntities): ditto
6876         (getIncludedFiles): ditto
6877
6878         * LaTeX.C: STRCONV
6879         (run): ditto
6880         (scanAuxFile): ditto
6881         (deplog): ditto
6882
6883         * LString.h: add the STRCONV macros
6884
6885         * BufferView_pimpl.C (savePosition): STRCONV
6886         (restorePosition): ditto
6887         (MenuInsertLyXFile): ditto
6888
6889         * vc-backend.C (scanMaster): change from submatch[...] to
6890         submatch.str(...)
6891
6892         * funcrequest.C: include config.h
6893
6894         * factory.C: include config.h
6895
6896         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6897
6898         * box.C: include config.h
6899
6900         * LaTeX.C (scanAuxFile): change from submatch[...] to
6901         submatch.str(...)
6902         (deplog): ditto
6903
6904 2002-10-25  Angus Leeming  <leeming@lyx.org>
6905
6906         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6907
6908         * ispell.[Ch] (setError): new method.
6909         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6910         Use setError() insetead of goto END.
6911
6912         * lyx_cb.C (AutoSave): move out child process into new class
6913         AutoSaveBuffer.
6914
6915 2002-10-30  John Levon  <levon@movementarian.org>
6916
6917         * text3.C: make start appendix undoable
6918
6919 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6920
6921         * lyxlength.C (inPixels): Fix returned value.
6922
6923         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6924         environment.
6925
6926 2002-10-24  Angus Leeming  <leeming@lyx.org>
6927
6928         * lyxgluelength.h: no need to forward declare BufferParams
6929         or BufferView, so don't.
6930
6931 2002-10-21  John Levon  <levon@movementarian.org>
6932
6933         * BufferView.C: menuUndo ->undo, redo
6934
6935         * BufferView.h: document, remove dead, make some methods private
6936
6937         * paragraph_funcs.h:
6938         * paragraph_funcs.C:
6939         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6940
6941         * buffer.h:
6942         * buffer.C:
6943         * sgml.h:
6944         * sgml.C: move sgml open/close tag into sgml.C
6945
6946         * bufferview_funcs.h: unused prototype
6947
6948         * lyxfunc.h:
6949         * lyxfunc.C: remove unused
6950
6951         * lyxtext.h:
6952         * text.C: remove unused
6953
6954 2002-10-21  John Levon  <levon@movementarian.org>
6955
6956         * BufferView.h:
6957         * BufferView.C:
6958         * BufferView_pimpl.h:
6959         * BufferView_pimpl.C: fix mouse wheel handling based on
6960           patch from Darren Freeman
6961
6962 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6963
6964         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6965
6966 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6967
6968         * lyxlength.C (inPixels): Fix hanfling of negative length.
6969         Fix LyXLength::MU case.
6970
6971 2002-10-16  John Levon  <levon@movementarian.org>
6972
6973         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6974
6975 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6976
6977         * converter.C (view): add support for $$i (file name) and $$p
6978         (file path) for the viewer command. If $$i is not specified, then
6979         it is appended to the command (for compatibility with old syntax)
6980
6981 2002-10-14  Juergen Vigna  <jug@sad.it>
6982
6983         * undo_funcs.C (textHandleUndo): alter the order in which the
6984         new undopar is added to the LyXText, as we have to set first
6985         the right prev/next and then add it as otherwise the rebuild of
6986         LyXText is not correct. Also reset the cursor to the right paragraph,
6987         with this IMO we could remove the hack in "redoParagraphs()".
6988
6989 2002-10-09  Angus Leeming  <leeming@lyx.org>
6990
6991         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6992         to turn off an optimisation if a new inset is to be inserted.
6993
6994 2002-10-11 André Pönitz <poenitz@gmx.net>
6995
6996         * lyxtext.h: make some functions public to allow access
6997         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6998
6999 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7000
7001         * text3.C (dispatch): when changing layout, avoid an infinite loop
7002         [bug #652]
7003
7004 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7005
7006         * lyxrc.C (read): treat a viewer or converter command of "none" as
7007         if it were empty.
7008
7009         * MenuBackend.C (expandFormats): for an update, also allow the
7010         formats that are not viewable
7011
7012         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7013         script if it is newer than the lyxrc.defaults in user directory
7014
7015 2002-10-07 André Pönitz <poenitz@gmx.net>
7016
7017         * text.C: Vitaly Lipatov's small i18n fix
7018
7019 2002-09-25  Angus Leeming  <leeming@lyx.org>
7020
7021         * ispell.h: doxygen fix.
7022
7023 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7024
7025         * buffer.h (readFile): Add a new argument to the method, to allow
7026         reading of old-format templates.
7027
7028 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7029
7030         * toc.C (getTocList): Get TOC from InsetWrap.
7031
7032 2002-09-16  John Levon  <levon@movementarian.org>
7033
7034         * lyxfunc.C: check tabular for cut/copy too
7035
7036 2002-09-12  John Levon  <levon@movementarian.org>
7037
7038         * LyXAction.C: tidy
7039
7040         * factory.h:
7041         * factory.C: add header
7042
7043         * paragraph_funcs.h:
7044         * paragraph_funcs.C: cleanup
7045
7046 2002-09-11  John Levon  <levon@movementarian.org>
7047
7048         * PrinterParams.h: odd/even default to true
7049
7050 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7051
7052         * PrinterParams.h: update printer parameters for new xforms dialog
7053
7054 2002-09-11  Angus Leeming  <leeming@lyx.org>
7055
7056         * lyxserver.C (read_ready): re-write to make it more transparent
7057         and to make it work in coherent fashion under Tru64 Unix.
7058
7059 2002-09-11  André Pönitz <poenitz@gmx.net>
7060
7061         * commandtags.h:
7062         * LyXAction.C:
7063         * text3.C: implement LFUN_WORDSEL
7064
7065 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7068         make floatlist_ a boost::shared_ptr<FloatList>
7069
7070         * lyxtextclass.C: include FloatList.h
7071         (LyXTextClass): initialize floatlist_
7072         (TextClassTags): add TC_NOFLOAT
7073         (Read): match "nofloat" to TC_NOFLOAT and use it.
7074         (readFloat): modify call to floatlist_
7075         (floats): ditto
7076         (floats): ditto
7077
7078         * FloatList.[Ch] (FloatList): remove commented out float
7079         initialization.
7080         (erase): new function
7081
7082 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7083
7084         * MenuBackend.C (expandToc): fix crash when there is no document
7085         open
7086
7087 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7088
7089         * many files: Add insetwrap.
7090
7091 2002-09-09  John Levon  <levon@movementarian.org>
7092
7093         * text2.C: remove confusing and awkward depth wraparound
7094
7095 2002-09-09  John Levon  <levon@movementarian.org>
7096
7097         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7098
7099         * buffer.h:
7100         * buffer.C: remove getIncludeonlyList()
7101
7102         * paragraph.C:
7103         * lyxfunc.C: remove headers
7104
7105 2002-09-09  Juergen Vigna  <jug@sad.it>
7106
7107         * text.C (getColumnNearX): fix form Michael this is most
7108         probably a cut&paste bug.
7109
7110 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7113
7114         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7115         references, ws changes.
7116
7117         * text2.C (init): update counters after init
7118         (insertParagraph): no need to set counter on idividual paragraphs.
7119         (setCounter): access the counters object in the textclass object
7120         on in the buffer object.
7121         (updateCounters): ditto
7122
7123         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7124         shared_ptr<Counters> to avoid loading counters.h in all
7125         compilation units.
7126         (LyXTextClass): initialize ctrs_
7127         (TextClassTags): add TC_COUNTER, and ...
7128         (Read): use it here.
7129         (CounterTags): new tags
7130         (readCounter): new function
7131         (counters): new funtion
7132         (defaultLayoutName): return a const reference
7133
7134         * counters.C (Counters): remove contructor
7135         (newCounter): remove a couple of unneeded statements.
7136         (newCounter): simplify a bit.
7137         (numberLabel): some small formatting changes.
7138
7139         * buffer.[Ch]: remove all traces of counters, move the Counters
7140         object to the LyXTextClass.
7141
7142 2002-09-06  Alain Castera  <castera@in2p3.fr>
7143
7144         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7145         package to set the horizontal alignment on fixed width columns.
7146
7147         * lyx_sty.C:
7148         * lyx_sty.h: added tabularnewline macro def.
7149
7150         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7151
7152 2002-09-06  John Levon  <levon@movementarian.org>
7153
7154         * LyXAction.C: tooltips for sub/superscript
7155
7156         * MenuBackend.C: a bit more verbose
7157
7158         * lyxfunc.C: tiny clean
7159
7160         * undo_funcs.C: document undo_frozen
7161
7162 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * counters.C (Counters): add missing algorithm counter.
7165
7166         * text2.C (setCounter): lookup the counter with layouts latexname
7167         instead of by section number.
7168         (setCounter): use a hackish way to lookup the correct enum
7169         counter.
7170         a float name->type change
7171         reset enum couners with counter name directly instead of depth value.
7172
7173         * counters.C (Counters): remove the push_backs, change to use the
7174         float type not the float name.
7175         (labelItem): remove unused string, float name->type change
7176
7177         * counters.h: don't include vector, loose the enums and sects vectors
7178
7179 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7180
7181         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7182         (Read): add float->TC_FLOAT to textclassTags
7183         (Read): and handle it in the switch
7184         (readFloat): new function
7185
7186         * FloatList.C (FloatList): comment out the hardcoded float
7187         definitions.
7188
7189         * lyxlayout.h: ws change.
7190
7191 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7192
7193         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7194
7195 2002-09-03  Angus Leeming  <leeming@lyx.org>
7196
7197         * BufferView_pimpl.h: qualified name is not allowed in member
7198         declaration: WorkArea & Pimpl::workarea() const;
7199
7200         * factory.C: added using std::endl directive.
7201
7202         * text3.C: added using std::find and std::vector directives.
7203
7204 2002-08-29  André Pönitz <poenitz@gmx.net>
7205
7206         * lyxtext.h:
7207         * text2.C: remove unused member number_of_rows
7208
7209         * Makefile.am:
7210         * BufferView2.C: remove file, move contents to...
7211         * BufferView.C: ... here
7212
7213         * BufferView_pimpl.C:
7214         * factory.C: move more inset creation to factory
7215
7216         * vspace.C: avoid direct usage of LyXText, ws changes
7217
7218         * BufferView.[Ch]:
7219                 don't provide direct access to WorkArea, use two simple
7220                 acessors haveSelction() and workHeight() instead
7221
7222
7223 2002-08-29  John Levon  <levon@movementarian.org>
7224
7225         * BufferView_pimpl.C (dispatch): do not continue when
7226           no buffer
7227
7228 2002-08-28  André Pönitz <poenitz@gmx.net>
7229
7230         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7231
7232         * BufferView.h:
7233         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7234
7235 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7236
7237         * buffer.C: increment LYX_FORMAT to 221
7238
7239         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7240         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7241
7242         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7243
7244         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7245
7246 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7247
7248         * factory.C (createInset): use LyXTextClass::floats
7249
7250         * MenuBackend.C (expandFloatListInsert):
7251         (expandFloatInsert):
7252         (expandToc):
7253
7254         * text2.C (setCounter):
7255
7256         * LaTeXFeatures.C (useFloat):
7257         (getFloatDefinitions):
7258
7259         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7260
7261         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7262         floatlist_, with accessor floats().
7263
7264         * FloatList.h: remove global FloatList
7265
7266 2002-08-26  André Pönitz <poenitz@gmx.net>
7267
7268         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7269
7270         * BufferView.h:
7271         * BufferView2.C:
7272         * BufferView_pimpl.C:
7273         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7274
7275 2002-08-25  John Levon  <levon@movementarian.org>
7276
7277         * LyXAction.C: fix margin note description
7278
7279 2002-08-24  John Levon  <levon@movementarian.org>
7280
7281         * buffer.C:
7282         * bufferlist.C:
7283         * bufferview_funcs.C:
7284         * lyxfont.C:
7285         * undo_funcs.C: cleanups
7286
7287         * lyxfunc.C: disable CUT/COPY when no selection
7288
7289 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7290
7291         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7292         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7293
7294         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7295         Add backward compatibility to "mono", "gray" and "no".
7296
7297 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7298
7299         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7300         (and file_format >= 200).
7301
7302 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7305
7306 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7307
7308         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7309
7310 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7311
7312         * BufferView_pimpl.C:
7313         * LyXAction.C:
7314         * buffer.C:
7315         * commandtags.h:
7316         * lyxfunc.C:
7317         * paragraph.[Ch]:
7318         * text2.C:
7319         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7320         inset and code to make it  work with the paragraph code. The inset
7321         can be anywhere in the paragraph, but will only do the expected
7322         thing in LaTeX if the layout file contains the parameter line
7323                         OptionalArgs    1
7324         (or more generally, a nonzero value) for that layout.
7325
7326 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * paragraph.h: remove the declaration of undefined counters class
7329         function.
7330
7331 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7332
7333         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7334         Dr. Richard Hawkins.
7335
7336 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7337
7338         * paragraph_funcs.h: remove some unneeded includes
7339
7340         * text.C (backspace): pasteParagraph now in global scipe
7341
7342         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7343         (pasteSelection): ditto
7344
7345         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7346         * paragraph_funcs.C (pasteParagraph): ... here
7347
7348 2002-08-20  André Pönitz <poenitz@gmx.net>
7349
7350         * commandtags.h: new LFUNs for swapping/copying table row/colums
7351
7352         * LyXAction.C:
7353         * lyxfunc.C: support for new lfuns
7354
7355 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * tabular.C:
7358         * buffer.[Ch]: remove NO_COMPABILITY stuff
7359
7360 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * boost.C (throw_exception): new file, with helper function for
7363         boost compiled without exceptions.
7364
7365         * paragraph.h:
7366         * lyxlength.C:
7367         * buffer.C:
7368         * ParameterStruct.h:
7369         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7370
7371         * bufferlist.C (emergencyWriteAll): use boost bind
7372
7373         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7374
7375         * text.C: include paragraph_funcs.h
7376         (breakParagraph): breakParagraph is now in global scope
7377
7378         * paragraph_funcs.[Ch]: new files
7379
7380         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7381         global scope
7382
7383         * buffer.C: include paragraph_funcs.h
7384         (insertStringAsLines): breakParagraph is now in global scope
7385
7386         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7387         paragraph_funcs.C
7388
7389         * CutAndPaste.C: include paragraph_funcs.h
7390         (cutSelection): breakParagraphConservative is now in global scope
7391         (pasteSelection): ditto
7392
7393         * buffer.h: declare oprator== and operator!= for
7394         Buffer::inset_iterator
7395
7396         * bufferlist.C (emergencyWrite): don't use fmt(...)
7397
7398         * text3.C: add using std::endl
7399
7400         * BufferView.C (moveCursorUpdate): remove default arg
7401
7402 2002-08-20  André Pönitz <poenitz@gmx.net>
7403
7404         * buffer.[Ch]: move inline functions to .C
7405
7406         * BufferView2.C:
7407         * BufferView_pimpl.C:
7408         * text.C:
7409         * buffer.[Ch]: use improved inset_iterator
7410
7411         * buffer.C:
7412         * paragraph.[Ch]: write one paragraph at a time
7413
7414 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7415
7416         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7417         style if style is not specified.
7418
7419 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * text2.C (setCounter): when searching for right label for a
7422         caption, make sure to recurse to parent insets (so that a caption
7423         in a minipage in a figure float works) (bug #568)
7424
7425 2002-08-20  André Pönitz <poenitz@gmx.net>
7426
7427         * text3.C: new file for LyXText::dispatch() and helpers
7428
7429         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7430
7431         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7432
7433 2002-08-19  André Pönitz <poenitz@gmx.net>
7434
7435         * lyxtext.h:
7436         * text.C: new LyXText::dispatch()
7437
7438         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7439
7440 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7441
7442         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7443
7444         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7445         Hebrew text.
7446
7447 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7448
7449         * Makefile.am: use $(variables) instead of @substitutions@
7450
7451 2002-08-15  André Pönitz <poenitz@gmx.net>
7452
7453         * lyxfunc.C:
7454         * BufferView_pimpl.C: streamlining mathed <-> outer world
7455         interaction
7456
7457         * commandtags.h:
7458         * LyXAction.C: remove unused LFUN_MATH
7459
7460 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7463
7464 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * paragraph.C (Paragraph): reformat a bit
7467         (cutIntoMinibuffer): use builtin InsetList function instad of
7468         doing it manually.
7469         (getInset): ditto
7470
7471         * buffer.C: include boost/bind.hpp, add using std::for_each
7472         (writeFileAscii): use ParagraphList iterators
7473         (validate): use for_each for validate traversal of paragraphs
7474         (getBibkeyList): use ParagraphList iterators
7475         (resizeInsets): use for_each to resizeInsetsLyXText for all
7476         paragraphs.
7477         (getParFromID): use ParagraphList iterators
7478
7479         * BufferView2.C (lockInset): use paragraph list and iterators
7480
7481 2002-08-14  John Levon  <levon@movementarian.org>
7482
7483         * lyxserver.C: remove spurious xforms include
7484
7485 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7486
7487         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7488
7489 2002-08-13  André Pönitz <poenitz@gmx.net>
7490
7491         * LyXAction.[Ch]:
7492         * lyxfunc.C: further cleaning
7493
7494 2002-08-13  André Pönitz <poenitz@gmx.net>
7495
7496         * funcrequest.h: new constructor
7497
7498         * funcrequest.C: move stuff here from .h
7499
7500         * Makefile.am:
7501         * BufferView_pimpl.C:
7502         * LyXAction.C:
7503         * toc.C:
7504         * lyxfunc.C: subsequent changes
7505
7506         * lyxfunc.h: new view() member function
7507
7508         * lyxfunc.C: subsequent changes
7509
7510 2002-08-13  Angus Leeming  <leeming@lyx.org>
7511
7512         * BufferView2.C:
7513         * BufferView_pimpl.C:
7514         * buffer.C:
7515         * converter.C:
7516         * importer.C:
7517         * lyxfunc.C:
7518         * lyxvc.C:
7519         * toc.C:
7520         * vc-backend.C:
7521         changes due to the changed LyXView interface that now returns references
7522         to member variables not pointers.
7523
7524 2002-08-13  Angus Leeming  <leeming@lyx.org>
7525
7526         * WordLangTuple (word, lang_code): return references to strings,
7527         not strings.
7528
7529         * BufferView.h:
7530         * SpellBase.h:
7531         * lyxtext.h: forward-declare WordLangTuple.
7532
7533         * BufferView2.C:
7534         * ispell.C:
7535         * pspell.C:
7536         * text.C: #include "WordLangTuple.h".
7537
7538         * lyxtext.h:
7539         * text.C: (selectNextWordToSpellcheck): constify return type.
7540
7541 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7542
7543         * buffer.C:
7544         * buffer.h:
7545         * lyxtext.h:
7546         * paragraph.C:
7547         * paragraph_pimpl.h:
7548         * text.C:
7549         * text2.C:
7550         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7551         suggested by Angus.
7552         Made updateCounter always count from start of buffer, and removed
7553         second argument (par).
7554         Reverted floats number display to '#'. Perhaps I'll try again when the
7555         code base is sanitized a bit.
7556
7557 2002-08-12  Angus Leeming  <leeming@lyx.org>
7558
7559         * buffer.[Ch] (getLabelList): constify.
7560
7561 2002-08-07  André Pönitz <poenitz@gmx.net>
7562
7563         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7564
7565         * funcrequest.h: extension to keep mouse (x,y) position
7566
7567 2002-08-12  Juergen Vigna  <jug@sad.it>
7568
7569         * BufferView2.C (insertErrors): forbid undo when inserting error
7570         insets.
7571
7572         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7573
7574 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * ParagraphList.[Ch]: new files
7577
7578         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7579
7580         * BufferView2.C (lockInset): ParagraphList changes
7581         * toc.C: ditto
7582         * text2.C: ditto
7583         * bufferlist.C: ditto
7584         * buffer.h: ditto
7585         * buffer.C: ditto
7586
7587 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7590         unused class variable counter_,
7591
7592         * paragraph.[Ch] (getFirstCounter): delete unused function
7593
7594         * counters.C: include LAssert.h
7595         (reset): add a new function with no arg, change other version to
7596         not have def. arg and to not allow empty arg.
7597
7598         * text2.C (setCounter): remove empty arg from call to Counters::reset
7599
7600 2002-08-11  John Levon  <levon@movementarian.org>
7601
7602         * Makefile.am: add WordLangTuple.h
7603
7604 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7607         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7608
7609         * insets/insettext.C: InsetList changes
7610
7611         * graphics/GraphicsSupport.C (operator()): InsetList changes
7612
7613         * toc.C (getTocList): InsetList changes
7614
7615         * paragraph_pimpl.[Ch]: InsetList changes
7616
7617         * paragraph.[Ch]: InsetList changes
7618
7619         * buffer.C (inset_iterator): InsetList changes
7620         (setParagraph): ditto
7621         * buffer.h (inset_iterator): ditto
7622         * iterators.C (operator++): ditto
7623         * iterators.h: ditto
7624
7625         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7626
7627         * InsetList.[Ch]: new files, most InsetList handling moved out of
7628         paragraph.C.
7629
7630         * BufferView2.C (removeAutoInsets): InsetList changes
7631         (lockInset): ditto
7632         (ChangeInsets): ditto
7633
7634 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * paragraph_pimpl.h (empty): new function
7637
7638         * paragraph.[Ch] (empty): new function
7639
7640         * other files: use the new Paragraph::empty function
7641
7642 2002-08-09  John Levon  <levon@movementarian.org>
7643
7644         * lyxtext.h: remove unused refresh_height
7645
7646 2002-08-09  John Levon  <levon@movementarian.org>
7647
7648         * Makefile.am:
7649         * sgml.h:
7650         * sgml.C:
7651         * buffer.C:
7652         * paragraph.h:
7653         * paragraph.C: move sgml char escaping out of paragraph
7654
7655         * paragraph.h:
7656         * paragraph.C: remove id setter
7657
7658         * buffer.C:
7659         * paragraph.C:
7660         * paragraph_pimpl.C: remove dead tex_code_break_column
7661
7662         * bufferview_funcs.C: small cleanup
7663
7664         * lyxfunc.C: remove dead proto
7665
7666         * lyxtext.h: make some stuff private. Remove some dead stuff.
7667
7668         * lyxgluelength.C: make as[LyX]String() readable
7669
7670 2002-08-08  John Levon  <levon@movementarian.org>
7671
7672         * LyXAction.h:
7673         * LyXAction.C:
7674         * MenuBackend.C:
7675         * ToolbarDefaults.C:
7676         * lyxfunc.C:
7677         * lyxrc.C:
7678         * toc.C: lyxaction cleanup
7679
7680 2002-08-08  John Levon  <levon@movementarian.org>
7681
7682         * BufferView2.C: small cleanup
7683
7684         * lyxfind.h:
7685         * lyxfind.C: move unnecessary header into the .C
7686
7687 2002-08-08  John Levon  <levon@movementarian.org>
7688
7689         * funcrequest.h: just tedious nonsense
7690
7691         * lyx_main.h:
7692         * lyx_main.C: cleanups
7693
7694         * buffer.C:
7695         * vspace.C: remove dead header lyx_main.h
7696
7697 2002-08-07  Angus Leeming  <leeming@lyx.org>
7698
7699         * Paragraph.[Ch]:
7700         * paragraph_pimpl.h:
7701         Forward declare class Counters in paragraph.h by moving the ctrs member
7702         variable into Paragraph::Pimpl.
7703         (counters): new method, returning a reference to pimpl_->ctrs.
7704
7705         * text2.C: ensuing changes.
7706
7707 2002-08-07  John Levon  <levon@movementarian.org>
7708
7709         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7710
7711         * BufferView_pimpl.C: announce X selection on double/triple
7712           click
7713
7714         * lyx_main.C: use correct bool in batch dispatch
7715
7716         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7717
7718 2002-08-07  André Pönitz <poenitz@gmx.net>
7719
7720         * funcrequest.h: new class to wrap a kb_action and its argument
7721
7722         * BufferView.[Ch]:
7723         * BufferView_pimpl[Ch]:
7724         * LaTeX.C:
7725         * LyXAction.[Ch]:
7726         * lyxfunc.[Ch]:
7727         * lyxrc.C: subsequent changes
7728
7729
7730 2002-08-07  John Levon  <levon@movementarian.org>
7731
7732         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7733           document options change.
7734
7735 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7736
7737         * counters.[Ch]
7738         * text2.C
7739         * paragraph.[Ch]
7740         * makefile.am: move counters functionality over from
7741         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7742
7743 2002-08-06  John Levon  <levon@movementarian.org>
7744
7745         * WordLangTuple.h: new file for word + language code tuple
7746
7747         * SpellBase.h:
7748         * pspell.h:
7749         * pspell.C:
7750         * ispell.h:
7751         * ispell.C:
7752         * lyxtext.h:
7753         * text.C:
7754         * text2.C:
7755         * BufferView.h:
7756         * BufferView2.C: use WordLangTuple
7757
7758         * layout.h:
7759         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7760
7761 2002-08-06  John Levon  <levon@movementarian.org>
7762
7763         * lyx_main.C: fix cmdline batch handling
7764
7765 2002-08-06  André Pönitz <poenitz@gmx.net>
7766
7767         * lyxrc.C: set default for show_banner to true
7768
7769 2002-08-06  John Levon  <levon@movementarian.org>
7770
7771         * pspell.C: fix a crash, and allow new aspell to work
7772
7773 2002-08-06  John Levon  <levon@movementarian.org>
7774
7775         * lyxfunc.C:
7776         * kbmap.C: small cleanup
7777
7778         * vspace.h:
7779         * vspace.C: add const
7780
7781 2002-08-05  John Levon  <levon@movementarian.org>
7782
7783         * LyXAction.C: back to tabular-insert
7784
7785 2002-08-04  John Levon  <levon@movementarian.org>
7786
7787         * BufferView.h:
7788         * BufferView.C: cosmetic change
7789
7790         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7791
7792         * bufferlist.C:
7793         * buffer.h:
7794         * buffer.C:
7795         * lyxcb.h:
7796         * lyxcb.C:
7797         * lyxserver.C:
7798         * lyxvc.C:
7799         * vc-backend.C:
7800         * BufferView2.C: purge all "Lyx" not "LyX" strings
7801
7802         * lyxcursor.h:
7803         * lyxcursor.C: attempt to add some documentation
7804
7805         * lyxfunc.C:
7806         * commandtags.h:
7807         * LyXAction.C:
7808         * ToolbarDefaults.C:
7809         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7810           merge with LFUN_TABULAR_INSERT
7811
7812         * Makefile.am:
7813         * SpellBase.h:
7814         * ispell.h:
7815         * ispell.C:
7816         * pspell.h:
7817         * pspell.C: split up i/pspell implementations into separate
7818           files, many cleanups
7819
7820         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7821
7822         * text2.C: some cleanup
7823
7824         * lyxfunc.C: don't check for isp_command == "none" any more, it
7825           didn't make any sense
7826
7827 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7828
7829         * counters.[Ch]
7830         * text2.C
7831         * paragraph.[Ch]
7832         * makefile.am: move counters functionality over
7833         from text2.C/paragraph.[Ch] to counters.[Ch], and
7834         make proper C++.
7835 2002-08-02  John Levon  <levon@movementarian.org>
7836
7837         * buffer.C: s/lyxconvert/lyx2lyx/
7838
7839 2002-08-02  Angus Leeming  <leeming@lyx.org>
7840
7841         * lyxlex.C: revert John's change as it breaks reading of the user
7842         preamble.
7843
7844 2002-08-02  Angus Leeming  <leeming@lyx.org>
7845
7846         * importer.C (Import):
7847         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7848         changes due to LyXView::view() now returning a boost::shared_ptr.
7849
7850 2002-08-02  John Levon  <levon@movementarian.org>
7851
7852         * lyxlex.C: small cleanup
7853
7854 2002-08-02  John Levon  <levon@movementarian.org>
7855
7856         * text2.C (status): small cleanup, no logic change
7857
7858 2002-08-01  John Levon  <levon@movementarian.org>
7859
7860         * buffer.h:
7861         * buffer.C (writeFile): don't output alerts, caller
7862           handles this
7863
7864         * bufferlist.C:
7865         * lyx_cb.C: from above
7866
7867         * lyxfunc.C: allow to open non-existent files
7868
7869 2002-07-31  John Levon  <levon@movementarian.org>
7870
7871         * lyxserver.C: don't let incidental errors get
7872           in the way (errno)
7873
7874 2002-07-30  John Levon  <levon@movementarian.org>
7875
7876         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7877
7878 2002-07-30  John Levon  <levon@movementarian.org>
7879
7880         * lyxserver.h:
7881         * lyxserver.C: remove I/O callback too
7882
7883 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7884
7885         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7886         log.
7887
7888 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * many files: strip,frontStrip -> trim,ltrim,rtrim
7891
7892 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * PrinterParams.h: remove extern containsOnly, and include
7895         support/lstrings.h instead.
7896
7897         * LaTeX.C (scanAuxFile): modify because of strip changes
7898         (deplog): ditto
7899         * buffer.C (makeLaTeXFile): ditto
7900         * bufferparams.C (writeFile): ditt
7901         * lyxfont.C (stateText): ditto
7902         * lyxserver.C (read_ready): ditto
7903         * vc-backend.C (scanMaster): ditto
7904
7905         * BufferView_pimpl.h: ws changes
7906
7907         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7908
7909 2002-07-26  André Pönitz <poenitz@gmx.net>
7910
7911         * kb_sequence.C: remove unnedred usings
7912
7913 2002-07-26  Juergen Vigna  <jug@sad.it>
7914
7915         * lyxfind.C (LyXReplace): we have to check better if the returned
7916         text is not of theLockingInset()->getLockingInset().
7917
7918 2002-07-25  Juergen Vigna  <jug@sad.it>
7919
7920         * lyxfind.C (LyXReplace): don't replace if we don't get the
7921         right LyXText.
7922
7923         * undo_funcs.C (createUndo): remove debugging code.
7924
7925 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7926
7927         * buffer.C (parseSingleLyXformat2Token): Use default placement
7928         when reading old floats.
7929
7930         * FloatList.C (FloatList): Change the default placement of figure
7931         and tables to "tbp".
7932
7933 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7934
7935         * MenuBackend.C: using std::max
7936
7937 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7938
7939         * MenuBackend.C (expandToc):
7940         (expandToc2): code moved from xforms menu frontend. It is now
7941         generic and TOCs are transparent to menu frontends.
7942
7943 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * toc.C (getTocList): protect against buf=0
7946
7947         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7948         Menu as first parameter. Now, this calls itself recursively to
7949         expand a whole tree (this will be useful for TOC handling)
7950         (expandFloatInsert): remove 'wide' version of floats
7951
7952         * MenuBackend.h (submenuname): returns the name of the submenu.
7953         (submenu): returns the submenu itself, provided it has been
7954         created by MenuBackend::expand
7955
7956 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7957
7958         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7959         insets which have noFontChange == true. (bug #172)
7960
7961 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7962
7963         * BufferView_pimpl.C: add connection objects and use them...
7964         (Pimpl): here.
7965
7966 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7967
7968         * MenuBackend.C (expandLastfiles):
7969         (expandDocuments):
7970         (expandFormats):
7971         (expandFloatListInsert):
7972         (expandFloatInsert):
7973         (expand): split expand in parts
7974
7975 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * lyx_gui.C: use lyx_gui::exit()
7978
7979 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7980
7981         * LyXAction.C: show the failing pseudo action
7982
7983 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7984
7985         * buffer.C (readFile): Run the lyxconvert script in order to read
7986         old files.
7987
7988 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7989
7990         * LyXAction.C:
7991         * commandtags.h:
7992         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7993
7994 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * LyXAction.C:
7997         * commandtags.h:
7998         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7999
8000 2002-07-22  Herbert Voss  <voss@lyx.org>
8001
8002         * lengthcommon.C:
8003         * lyxlength.[Ch]: add support for the vertical lengths
8004
8005 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * toc.[Ch]: std:: fixes
8008
8009 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * lyxrc.C: do not include lyx_main.h
8012
8013         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8014         for layouts
8015
8016         * lyxrc.C:
8017         * encoding.C:
8018         * bufferlist.C:
8019         * BufferView2.C: include "lyxlex.h"
8020
8021         * tabular.h:
8022         * bufferparams.h: do not #include "lyxlex.h"
8023
8024         * lyxtextclasslist.C (Add): remove method
8025         (classlist): renamed to classlist_
8026
8027         * paragraph_pimpl.C:
8028         * paragraph.C:
8029         * text2.C:
8030         * CutAndPaste.C:
8031         * bufferview_funcs.C:
8032         * bufferlist.C:
8033         * text.C:
8034         * LaTeXFeatures.C:
8035         * buffer.C:
8036         * toc.C (getTocList): use BufferParams::getLyXTextClass
8037
8038         * toc.C (getTocList): use InsetFloat::addToToc
8039
8040         * toc.[Ch]: new files, containing helper functions to handle table
8041         of contents
8042
8043         * lyxfunc.C (dispatch): no need to remove spaces around command
8044         given as a string
8045         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8046         first command of the sequence; it is not very clever, but I do not
8047         have a better idea, actually
8048
8049         * LyXAction.C (LookupFunc): make sure to remove space at the
8050         beginning and end of the command
8051
8052 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8053
8054         * MenuBackend.C (getMenubar): new method: return the menubar of
8055         this menu set
8056         (read): treat differently reading of menu and menubar (in
8057         particular, the menubar has no name now)
8058         (Menu::menubar): remove
8059
8060         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8061         saving is finished
8062
8063 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8064
8065         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8066         a bibitem inset in a RTL paragraph.
8067
8068 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8069
8070         * paragraph_pimpl.C: constify
8071
8072         * BufferView_pimpl.C:
8073         * LaTeX.C:
8074         * lyxfunc.C: fix dispatch in a nicer way
8075
8076 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * lyxfunc.C (dispatch):
8079         * BufferView_pimpl.C:
8080         * BufferView_pimpl.h:
8081         * BufferView.C:
8082         * BufferView.h: rename Dispatch() to dispatch()
8083
8084         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8085
8086         * lyxlayout.C (Read): honor DependsOn tag
8087
8088         * lyxlayout.[Ch] (depends_on): new method
8089
8090         * version.C.in: update lyx_docversion
8091
8092         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8093
8094         * paragraph.C (validate): remove from here...
8095         * paragraph_pimpl.C (validate): ... and move here
8096         (isTextAt): make it const
8097
8098         * buffer.C (getLists): ws cleanup
8099
8100 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8101
8102         * language.C (read): Use iso8859-1 encoding in latex_lang
8103         (this prevents LyX from crashing when using iso10646-1 encoding).
8104
8105 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8106
8107         * text2.C (toggleInset): if cursor is inside an inset, close the
8108         inset and leave cursor _after_ it
8109
8110 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * lyxfunc.C: move minibuffer completion handling out of here
8113
8114 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * BufferView_pimpl.C:
8117         * LaTeX.C: fix dispatch calls
8118
8119 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8120
8121         * text.C (drawChars): Fix Arabic text rendering.
8122
8123 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * LyXAction.C:
8126         * commandtags.h:
8127         * lyxfunc.C: remove message-push/pop
8128
8129         * lyxserver.C:
8130         * lyxfunc.h:
8131         * lyxfunc.C: rationalise some code by removing verboseDispatch
8132           in favour of a bool argument to dispatch()
8133
8134 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * lyx_main.C (init): make sure to read symlinks as absolute paths
8137
8138 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * lyxfunc.h:
8141         * lyxfunc.C: no need for commandshortcut to be a member
8142
8143 2002-07-15  André Pönitz <poenitz@gmx.net>
8144
8145         * converter.C: add support for $$s (scripts from lib/scripts dir)
8146         * lyx_main.C: white space
8147
8148 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * bufferlist.C:
8151         * lyxrc.h:
8152         * lyxrc.C: remove second exit confirmation
8153
8154 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * BufferView.h:
8157         * BufferView.C:
8158         * BufferView2.C:
8159         * BufferView_pimpl.h:
8160         * BufferView_pimpl.C:
8161         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8162
8163 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8164
8165         * MenuBackend.C (expand): add numeric shortcuts to document menu
8166
8167         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8168
8169 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8170
8171         * lyxfont.C (setLyXFamily):
8172         (setLyXSeries):
8173         (setLyXShape):
8174         (setLyXSize):
8175         (setLyXMisc):
8176         (lyxRead):
8177         * debug.C (value):
8178         * buffer.C (asciiParagraph): use ascii_lowercase
8179
8180 2002-07-15  Mike Fabian  <mfabian@suse.de>
8181
8182         * lyxlex_pimpl.C (search_kw):
8183         * lyxlex.C (getLongString):
8184         * converter.h (operator<):
8185         * converter.C (operator<):
8186         * buffer.C (parseSingleLyXformat2Token):
8187         (asciiParagraph):
8188         * ToolbarDefaults.C (read):
8189         * MenuBackend.C (checkShortcuts):
8190         (read):
8191         * LColor.C (getFromGUIName):
8192         (getFromLyXName): use the compare_ascii_no_case instead of
8193         compare_no_case, because in turkish, 'i' is not the lowercase
8194         version of 'I', and thus turkish locale breaks parsing of tags.
8195
8196 2002-07-16  Angus Leeming  <leeming@lyx.org>
8197
8198         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8199         now takes a Buffer const & argument.
8200
8201 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * BufferView.C (resize): check there's a buffer to resize
8204
8205 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * lyxfunc.C: remove dead code
8208
8209         * lyxserver.h:
8210         * lyxserver.C: use lyx_guii::set_read_callback
8211
8212 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8213
8214         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8215         an inset in a RTL paragraph.
8216
8217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8218
8219         * lyxfunc.C: repaint after a font size update
8220
8221 2002-07-15  André Pönitz <poenitz@gmx.net>
8222
8223         * lyxlength.C: inBP should be able to return negative values
8224
8225 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * lyxfunc.C: use lyx_gui::update_fonts()
8228
8229 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8230
8231         * lyxfunc.C: use lyx_gui::update_color()
8232
8233 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8234
8235         * bufferlist.C:
8236         * lyxfunc.h:
8237         * lyxfunc.C:
8238         * lyxrc.h:
8239         * lyxrc.C: remove file->new asks for name option, and let
8240           buffer-new take an argument
8241
8242 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * BufferView_pimpl.C: remove unneeded extra repaint()
8245
8246 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * LyXAction.C: allow command-sequence with NoBuffer
8249
8250         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8251
8252 2002-07-10  Angus Leeming  <leeming@lyx.org>
8253
8254         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8255
8256 2002-07-09  Angus Leeming  <leeming@lyx.org>
8257
8258         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8259
8260 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8261
8262         * lengthcommon.h: whitespace
8263
8264         * lyxfunc.C: update scrollbar after goto paragraph
8265
8266         * lyxtext.h: factor out page break drawing, and fix it so
8267           page break/added space paints as selected nicely
8268
8269 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8270
8271         * BufferView_pimpl.C: add FIXMEs, clean up a little
8272
8273 2002-07-09  André Pönitz <poenitz@gmx.net>
8274
8275         * lyxfont.[Ch]: support for wasy symbols
8276
8277 2002-07-08  André Pönitz <poenitz@gmx.net>
8278
8279         * BufferView_pimpl.C: apply John's patch for #93.
8280
8281 2002-07-05  Angus Leeming  <leeming@lyx.org>
8282
8283         * BufferView_pimpl.C (buffer): generate previews if desired.
8284
8285         * LColor.h: add "preview" to the color enum.
8286
8287         * LColor.C (LColor): add a corresponding entry to the items array.
8288
8289         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8290         with this buffer.
8291
8292 2002-07-05  Angus Leeming  <leeming@lyx.org>
8293
8294         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8295         The body of the code is now in the method that is passed an ostream &
8296         rather than a file name.
8297         Pass an additional only_preamble parameter, useful for the forthcoming
8298         preview stuff.
8299
8300 2002-07-03  André Pönitz <poenitz@gmx.net>
8301
8302         * lyxfunc.C: simplify getStatus() a bit for math stuff
8303
8304 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8305
8306         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8307
8308 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8309
8310         * text.C (changeRegionCase): do not change case of all the
8311         document when region ends at paragraph end (bug #461)
8312
8313 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * paragraph.C (startTeXParParams):
8316         (endTeXParParams): add \protect when necessary
8317
8318 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8319
8320         * BufferView_pimpl.C (workAreaExpose): remove warning
8321
8322 2002-06-27  Angus Leeming  <leeming@lyx.org>
8323
8324         * Makefile.am: add lyxlayout_ptr_fwd.h.
8325
8326 2002-06-26  André Pönitz <poenitz@gmx.net>
8327
8328         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8329
8330 2002-06-25  Angus Leeming  <leeming@lyx.org>
8331
8332         * lyxfunc.C (dispatch): Comment out the call to
8333         grfx::GCache::changeDisplay. The method no longer exists now that the
8334         pixmap generation part of the graphics loader has been moved into
8335         InsetGraphics.
8336
8337 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8338
8339         * text2.C: layout as layout
8340
8341         * text.C: layout as layout
8342
8343         * tabular.C (OldFormatRead): layout as layout
8344
8345         * paragraph_pimpl.C (TeXDeeper): layout as layout
8346         (realizeFont): layout as layout
8347
8348         * paragraph.C (writeFile): layout as layout
8349         (validate): layout as layout
8350         (getFont): layout as layout
8351         (getLabelFont): layout as layout
8352         (getLayoutFont): layout as layout
8353         (breakParagraph): layout as layout
8354         (stripLeadingSpaces): layout as layout
8355         (getEndLabel): layout as layout
8356         (getMaxDepthAfter): layout as layout
8357         (applyLayout): layout as layout
8358         (TeXOnePar): layout as layout
8359         (simpleTeXOnePar): layout as layout
8360         (TeXEnvironment): layout as layout
8361         (layout): layout as layout
8362         (layout): layout as layout
8363
8364         * lyxtextclass.C (compare_name): new functor to work with
8365         shared_ptr, layout as layout
8366         (Read): layout as layout
8367         (hasLayout): layout as layout
8368         (operator): layout as layout
8369         (delete_layout): layout as layout
8370         (defaultLayout): layout as layout
8371
8372         * lyxlayout_ptr_fwd.h: new file
8373
8374         * lyxlayout.C (Read): layout as layout
8375
8376         * lyx_cb.C (MenuInsertLabel): layout as layout
8377
8378         * bufferlist.C (newFile): layout as layout
8379
8380         * buffer.C (readLyXformat2): layout as layout
8381         (parseSingleLyXformat2Token): layout as layout
8382         (insertStringAsLines): layout as layout
8383         (asciiParagraph): layout as layout
8384         (latexParagraphs): layout as layout
8385         (makeLinuxDocFile): layout as layout
8386         (simpleLinuxDocOnePar): layout as layout
8387         (makeDocBookFile): layout as layout
8388         (simpleDocBookOnePar): layout as layout
8389         (getLists): layout as layout
8390
8391         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8392
8393         * CutAndPaste.C (cutSelection): layout as layout
8394         (pasteSelection): layout as layout
8395         (SwitchLayoutsBetweenClasses): layout as layout
8396
8397         * BufferView_pimpl.C (Dispatch): layout as layout
8398         (smartQuote): layout as layout
8399
8400         * BufferView2.C (unlockInset): layout as layout
8401
8402 2002-06-24  André Pönitz <poenitz@gmx.net>
8403
8404         * lyxfunc.C: fix #487
8405
8406 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8407
8408         * lyxrc.h:
8409         * lyxrc.C:
8410         * lyxfunc.C: remove display_shortcuts, show_banner
8411
8412 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8413
8414         * Buffer_pimpl.C: oops, update on resize
8415
8416 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * buffer.C:
8419         * converter.C:
8420         * exporter.C:
8421         * lyxfunc.C:
8422         * BufferView.h:
8423         * BufferView.C: use repaint()
8424
8425         * BufferView_pimpl.h:
8426         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8427           as it's a clearer description. Remove superfluous
8428           redraws.
8429
8430 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * text.C: fix bug 488. Not ideal, but getting
8433           getWord() to work properly for the insets that
8434           matter is more difficult ...
8435
8436 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8437
8438         * BufferView_pimpl.C:
8439         * LyXAction.C:
8440         * commandtags.h:
8441         * lyxfunc.C: remove the six million index lyxfuncs to just
8442           one, and DTRT (bug 458)
8443
8444 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8445
8446         * BufferView.h:
8447         * BufferView.C:
8448         * BufferView_pimpl.h:
8449         * BufferView_pimpl.C: clean up resize() stuff,
8450           and unnecessary updateScreen()s
8451
8452 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8453
8454         * BufferView.h:
8455         * BufferView.C:
8456         * BufferView_pimpl.h:
8457         * BufferView_pimpl.C:
8458         * lyxfind.h:
8459         * lyxfind.C:
8460         * minibuffer.C: remove focus management of workarea,
8461           not needed. Use screen's greyOut()
8462
8463 2002-06-17  Herbert Voss  <voss@lyx.org>
8464
8465         * converter.C: (convert) do not post a message, when converting
8466         fails, let the calling function decide what to do in this case
8467
8468 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * lyxfunc.C: tidy up a little
8471
8472 2002-06-16    <alstrup@diku.dk>
8473
8474         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8475         Got rid of FORMS_H_LOCATION include. Now we are
8476         GUII.
8477
8478 2002-06-15  LyX Development team  <lyx@rilke>
8479
8480         * buffer.[Ch] (sgmlOpenTag):
8481         (sgmlCloseTag): Added support for avoiding pernicious mixed
8482         content. Return number of lines written.
8483
8484         (makeLinuxDocFile):
8485         (makeDocBookFile): Fixed calls to sgml*Tag.
8486         Simple white space clean.
8487
8488         (simpleDocBookOnePar): Simple white space clean.
8489
8490         * tabular.[Ch] (docBook): Renamed to docbook and got another
8491         argument to related with the pernicious mixed content.
8492
8493         (docbookRow): Fixed calls for docbook inset method.
8494
8495 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8496
8497         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8498         so it's X11 independent.
8499
8500         * kb*.[Ch]: ditto.
8501
8502         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8503
8504 2002-06-15  Lyx Development team  <lyx@electronia>
8505
8506         * intl.h: Renamed getTrans to getTransManager.
8507
8508 2002-06-14  Angus Leeming  <leeming@lyx.org>
8509
8510         * Makefile.am: nuke forgotten stl_string_fwd.h.
8511
8512 2002-06-12  Angus Leeming  <leeming@lyx.org>
8513
8514         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8515
8516 2002-06-13  Angus Leeming  <leeming@lyx.org>
8517
8518         * LaTeX.C:
8519         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8520
8521 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8522
8523         * kbmap.C (getiso): add support for cyrillic and greek
8524
8525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * BufferView.h:
8528         * BufferView.C:
8529         * BufferView_pimpl.h:
8530         * BufferView_pimpl.C: move bogus scrolling logic
8531           to xforms
8532
8533 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8534
8535         * lyxfunc.C:
8536         * BufferView_pimpl.C: view->resize() change
8537
8538 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8539
8540         * BufferView_pimpl.C: topCursorVisible
8541           prototype change
8542
8543 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * Makefile.am:
8546         * lyx_gui.h:
8547         * lyx_gui.C: move to frontends/
8548
8549         * main.C:
8550         * lyx_main.h:
8551         * lyx_main.C: changes from above
8552
8553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * intl.C:
8556         * intl.h:
8557         * kbmap.C:
8558         * kbsequence.C:
8559         * lyx_cb.C:
8560         * lyx_main.C: minor tidy
8561
8562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * BufferView_pimpl.h:
8565         * BufferView_pimpl.C:
8566         * BufferView.h:
8567         * BufferView.C: make painter() const,
8568           remove dead code
8569
8570         * BufferView2.C: use screen() accessor
8571
8572         * lyx_main.h:
8573         * lyx_main.C: some minor cleanup
8574
8575 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * BufferView_pimpl.h:
8578         * BufferView_pimpl.C: remove enter/leaveView,
8579           use workHeight()
8580
8581 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * BufferView.h:
8584         * BufferView.C:
8585         * BufferView2.C:
8586         * BufferView_pimpl.h:
8587         * BufferView_pimpl.C: only construct screen once,
8588           rename
8589
8590         * lyxrc.C: remove pointless comment
8591
8592 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8593
8594         * BufferView.h:
8595         * BufferView.C: remove active() and belowMouse()
8596
8597         * BufferView_pimpl.h:
8598         * BufferView_pimpl.C: use workarea() not workarea_,
8599           and make it use a scoped_ptr instead
8600
8601 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8602
8603         * lyx_gui.C: add debug message on BadWindow
8604
8605 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8606
8607         * sp_spell.C: fdopen is not part of the C++ standard.
8608
8609         * paragraph.C (InsetIterator): use >= instead of ==
8610
8611 2002-06-07  Angus Leeming  <leeming@lyx.org>
8612
8613         Fixes needed to compile with Compaq cxx 6.5.
8614         * BufferView_pimpl.C:
8615         * DepTable.C:
8616         * buffer.C:
8617         * converter.C:
8618         * encoding.C:
8619         * lyx_gui.C:
8620         * lyx_main.C:
8621         * lyxtextclasslist.C:
8622         * minibuffer.C:
8623         * sp_spell.C:
8624         * tabular_funcs.C:
8625         * vc-backend.C:
8626         all c-library variables have been moved into namespace std. Wrap
8627         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8628
8629         * lyxlength.C:
8630         * tabular-old.C:
8631         * tabular.C:
8632         Add a using std::abs declaration.
8633
8634         * kbmap.h (modifier_pair):
8635         * paragraph.h (InsetTable, InsetList):
8636         * lyxfont.h (FontBits):
8637         type definition made public.
8638
8639         * bufferlist.C (emergencyWriteAll): the compiler complains that
8640         there is more than one possible lyx::class_fun template to choose from.
8641         I re-named the void specialisation as lyx::void_class_fun.
8642
8643         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8644
8645         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8646         the compiler is is unable to find tostr in write_attribute.
8647
8648 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * buffer.C (sgmlError): hide #warning
8651
8652 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8653
8654         * xtl/*: get rid of xtl, which is not in use anyway
8655
8656         * LyXAction.C (init):
8657         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8658         were unimplemented xtl experimentation
8659
8660 2002-06-04  André Pönitz <poenitz@gmx.net>
8661
8662         * lyxfunc.C: disable array operation on simple formulae
8663
8664 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * converter.C: constify a bit
8667
8668 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * lyx_gui.C: check xforms version correctly
8671
8672 2002-04-30  Herbert Voss  <voss@lyx.org>
8673
8674         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8675         "keep" option
8676
8677 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8680           attempt to register it with a VCS)
8681
8682 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8683
8684         * lyx_main.C (init): honor variables LYX_DIR_13x and
8685         LYX_USERDIR_13x
8686
8687 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8688
8689         * buffer.h:
8690         * buffer.C:
8691         * lyx_main.C: fix a crash on bad command line,
8692           and give a useful exit status on error
8693
8694         * lyxfunc.C (doImport): allow -i lyx to work
8695
8696 2002-03-30  André Pönitz <poenitz@gmx.net>
8697
8698         * lyxfunc.C: mathed font changes
8699
8700 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * LaTeX.C:
8703         * importer.h:
8704         * importer.C:
8705         * lyx_sty.h:
8706         * lyx_sty.C:
8707         * lyxlex.C:
8708         * lyxrow.h:
8709         * lyxtext.h:
8710         * paragraph.h:
8711         * paragraph.C:
8712         * texrow.h:
8713         * texrow.C:
8714         * text.C:
8715         * trans_mgr.h: srcdocs, and some minor cleanups
8716
8717 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8718
8719         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8720         call getFont all the time)
8721
8722 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * switch from SigC signals to boost::signals
8725
8726 2002-05-29  André Pönitz <poenitz@gmx.net>
8727
8728         * paragraph_pimpl.C (getChar): don't call size() too often...
8729
8730 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * paragraph_pimpl.C (insertChar): do not try to update tables when
8733         appending (pos == size())
8734
8735         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8736         in order to reduce drastically the number of comparisons needed to
8737         parse a large document
8738
8739 2002-05-29  André Pönitz <poenitz@gmx.net>
8740
8741         * text.C:
8742         * text2.C:
8743         * lyxtextclass.C:
8744         * sp_pspell.h:
8745         * textclasslist.[Ch]:
8746         * sp_ispell.h: whitespace change
8747
8748 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8749
8750         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8751         lyxaction directly now.
8752
8753 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * trans.C:
8756         * lyxfont.C:
8757         * lyxvc.C: remove unused headers
8758
8759 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8760
8761         * Makefile.am:
8762         * buffer.h:
8763         * undostack.h:
8764         * undostack.C:
8765         * undo_funcs.h:
8766         * undo_funcs.C: some cleanups. Use shared_ptr
8767           and a template for the undo stacks.
8768
8769 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * BufferView_pimpl.h:
8772         * BufferView_pimpl.C:
8773         * kbmap.h:
8774         * kbmap.C:
8775         * kbsequence.h:
8776         * kbsequence.C:
8777         * lyxfunc.h:
8778         * lyxfunc.C:
8779         * text2.C: use key_state/mouse_state
8780
8781 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8784         and LSubstring
8785
8786         * chset.C: change include order
8787         (loadFile): use boost regex and get rid of LRegex and LSubstring
8788
8789         * Makefile.am (BOOST_LIBS): new variable
8790         (lyx_LDADD): use it
8791
8792         * LaTeX.C: change include order.
8793         (scanAuxFile): use boost regex and get rid of LRegex and
8794         LSubstring
8795         (deplog): ditto
8796
8797 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * ColorHandler.h:
8800         * ColorHandler.C:
8801         * FontInfo.h:
8802         * FontInfo.C: moved to frontends/xforms/
8803
8804         * FontLoader.h:
8805         * FontLoader.C: moved into frontends for GUIIzation
8806
8807         * Makefile.am:
8808         * lyx_gui.C:
8809         * lyxfont.C:
8810         * lyxfunc.C: changes from above
8811
8812 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * LColor.C: remove spurious X include
8815
8816         * BufferView_pimpl.C:
8817         * Makefile.am:
8818         * font.h:
8819         * font.C:
8820         * text.C:
8821         * text2.C: move font metrics to frontends/
8822
8823 2002-05-24  Juergen Vigna  <jug@sad.it>
8824
8825         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8826         setting the undo_cursor.
8827
8828         * ParagraphParameters.h: include local includes first.
8829
8830 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * BufferView_pimpl.C:
8833         * BufferView_pimpl.h:
8834         * Makefile.am:
8835         * WorkArea.h:
8836         * WorkArea.C:
8837         * screen.C: move WorkArea into frontends/
8838
8839         * lyxscreen.h:
8840         * screen.C:
8841         * text.C:
8842         * BufferView.C:
8843         * BufferView2.C: move LyXScreen into frontends/
8844
8845         * lyxlookup.h:
8846         * lyxlookup.C:
8847         * lyx_gui.C: move lyxlookup into frontends/xforms/
8848
8849 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * BufferView2.C:
8852         * BufferView_pimpl.C:
8853         * FontLoader.C:
8854         * LyXView.h:
8855         * LyXView.C:
8856         * Makefile.am:
8857         * WorkArea.C:
8858         * XFormsView.h:
8859         * XFormsView.C:
8860         * buffer.C:
8861         * bufferlist.C:
8862         * bufferview_funcs.C:
8863         * converter.C:
8864         * importer.C:
8865         * lyx_cb.C:
8866         * lyx_gui.C:
8867         * lyx_main.C:
8868         * lyx_find.C:
8869         * lyxfunc.C:
8870         * lyxvc.C:
8871         * minibuffer.C:
8872         * text.C:
8873         * text2.C:
8874         * trans.C:
8875         * vc-backend.C: move LyX/XFormsView into frontends/
8876
8877 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * Makefile.am:
8880         * PainterBase.C:
8881         * PainterBase.h:
8882         * Painter.C:
8883         * Painter.h:
8884         * WorkArea.C:
8885         * WorkArea.h:
8886         * screen.C:
8887         * tabular.C:
8888         * text.C:
8889         * text2.C: move Painter to frontends/
8890
8891 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * buffer.C: comment out some some code that depend upon lyx_format
8894         < 220
8895
8896         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8897         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8898
8899         * buffer.h (NO_COMPABILITY): turn off compability
8900
8901         * ColorHandler.C: include scoped_array.hpp
8902
8903         * font.C: Use more specific smart_ptr header.
8904         * Painter.C: ditto
8905         * gettext.C: ditto
8906         * ShareContainer.h: ditto
8907         * lyx_main.h: ditto
8908         * kbmap.h: ditto
8909         * FontInfo.h: ditto
8910         * BufferView_pimpl.h: ditto
8911         * ColorHandler.h: ditto
8912
8913         * kbmap.C (defkey): change call to shared_ptr::reset
8914
8915 2002-05-21  Juergen Vigna  <jug@sad.it>
8916
8917         * buffer.C (insertErtContents): fix to insert ert asis if it is
8918         non empty. Skip it completely if it contains only whitespaces.
8919
8920 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * BufferView_pimpl.C:
8923         * BufferView2.C: clear selection on paste (bug 393)
8924
8925 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8926
8927         * DepTable.C: include ctime
8928
8929 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8930
8931         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8932
8933 2002-05-14  Juergen Vigna  <jug@sad.it>
8934
8935         * text.C (breakParagraph): fixed function to honor the keepempty
8936         layout in the right maner and also to permit the right breaking
8937         algorithm on empty or non empyt keepempty paragraphs.
8938
8939         * paragraph.C (breakParagraph): we have to check also if the par
8940         is really empty (!size()) for isempty otherwise we do the wrong
8941         paragraph break.
8942
8943 2002-05-10  Juergen Vigna  <jug@sad.it>
8944
8945         * buffer.[Ch] : The following are only changes to the ert
8946         compatibility read reading old LaTeX layout and font stuff and
8947         convert it to ERTInsets.
8948
8949         * buffer.h: added isErtInset().
8950
8951         * buffer.C (struct ErtComp): add a fromlayout bool to check
8952         if we're inside a LaTeX layout.
8953         (isErtInset): new helper function.
8954         (insertErtContents): look for other ert insets before this one
8955         and insert the contents there, so that we don't have subsequent
8956         ERT insets with nothing between them. This way we create only one
8957         inset with multiple paragraphs. Also check if we don't insert only
8958         spaces ' ' as they are ignored anyway afterwards in the .tex file
8959         so if we have only spaces we will ignore this latex part in the
8960         new file.
8961         (parseSingleLyXformat2Token \\layout): better compatibility when
8962         reading layout-latex stuff.
8963         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8964         language tag.
8965         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8966         stuff after reading the inset only get the information back from
8967         the stack.
8968
8969 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8970
8971         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8972
8973         * LaTeXFeatures.C (getBabelOptions): New method.
8974
8975 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8976
8977         * BufferView_pimpl.C (Dispatch): work around missing argument for
8978         'layout'
8979
8980 2002-05-08  Juergen Vigna  <jug@sad.it>
8981
8982         * text.C (leftMargin): handle paragraph leftindent.
8983
8984         * paragraph.C (writeFile): write the new \\leftindent tag.
8985         (validate): handle leftindent code.
8986         (TeXEnvironment): handle paragraphleftindent code again.
8987
8988         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8989
8990         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8991         for paragrap_extra indent code and new token \\leftindent.
8992         (latexParagraphs): handle the leftindent as environment.
8993
8994         * ParameterStruct.h: added leftindent support.
8995
8996         * ParagraphParameters.C (leftIndent): added support functions for
8997         the paragraph left indent.
8998
8999         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9000         more appropriate.
9001
9002 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9003
9004         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9005         inside insetERT.
9006
9007         * text.C (computeBidiTables): No bidi in insetERT.
9008
9009         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9010         in RTL documents.
9011
9012 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9013
9014         * version.C.in: pre 5
9015
9016 2002-05-02  José Matos  <jamatos@fep.up.pt>
9017         * buffer.C (makeDocBookFile): white space changes, add newline to
9018         command styles.
9019         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9020
9021         * tabular.C (docBook): fix typo.
9022
9023 2002-05-03  Juergen Vigna  <jug@sad.it>
9024
9025         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9026         change in LyXText as we can not be sure it was not freed.
9027         (drawOneRow): remove unused code.
9028
9029         * text.C (drawInset): redo the calculation of the need_break_row as
9030         it could have a row which was already freed.
9031         (draw): look at the return value of drawInset and return false if
9032         it also returned false.
9033         (paintRowText): look at the return value of draw and return false if
9034         it also returned false.
9035
9036         * lyxtext.h: added bool return type to drawInset() and draw() so that
9037         if we have a change in the row so that the rowbreak has to be redone
9038         we abort drawing as it will be called again.
9039
9040 2002-05-02  Juergen Vigna  <jug@sad.it>
9041
9042         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9043         a change in the maintext also if we're inside an inset.
9044         (Dispatch): set the cursor again after a break line and after the
9045         screen has been updated as it could be we're in a different row.
9046
9047         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9048         to set the cursor behind the pargraph with > size().
9049         (setCursor): check also for the same paragraph when checking where
9050         to put the cursor if we have a NFR inset.
9051
9052         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9053         parts of layout read further up as it still was in the wrong
9054         position.
9055
9056 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9057
9058         * screen.C (drawFromTo): change sine fullRebreak always return
9059         true.
9060
9061         * buffer.C (parseSingleLyXformat2Token): reindent some
9062
9063         * BufferView_pimpl.C (update): change since fullRebreak always
9064         return true.
9065         (Dispatch): git rid of the last hardcoded "Standard"s.
9066
9067 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * text2.[Ch] (fullRebreak): make it return void now that we always
9070         returned true.
9071
9072 2002-04-30  Juergen Vigna  <jug@sad.it>
9073
9074         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9075         ert compatibility check for "latex" layout.
9076
9077 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9078
9079         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9080         minipages: use col% instead of p%, and also use the current font.
9081         (makeLaTeXFile): Fix use babel condition.
9082         (parseSingleLyXformat2Token): Correct font when reading old floats.
9083
9084 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9085
9086         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9087         inserting list of floats.
9088
9089 2002-04-25  Herbert Voss  <voss@lyx.org>
9090
9091         * MenuBackend.C (expand): don't add the graphics extensions to the
9092         export menu
9093
9094 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9095
9096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9097         non-existing layout, do not complain if it was the default layout
9098         of the original class (bug #342)
9099
9100 2002-04-24  Juergen Vigna  <jug@sad.it>
9101
9102         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9103         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9104
9105 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9106
9107         * buffer.C (getBibkeyList): If using \bibliography, return the
9108         option field with the reference itself. Enables us to provide natbib
9109         support when using \bibliography.
9110
9111 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9112
9113         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9114
9115         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9116         natbib is provided by the LaTeX class.
9117
9118 2002-04-23  Juergen Vigna  <jug@sad.it>
9119
9120         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9121         Wakeup functions.
9122
9123         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9124
9125 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9128
9129         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9130         ensuremath around textordmasculine, textordfeminine and
9131         textdegree.
9132
9133 2002-04-19  Juergen Vigna  <jug@sad.it>
9134
9135         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9136         reinitializing the buffer otherwise row-dimensions may be wrong.
9137         (update): reset also the selection cursors if they do exits otherwise
9138         their x/y positions may be wrong.
9139
9140         * text2.C (cursorDown): don't enter the inset if we came from a row
9141         above and are one row over the inset.
9142
9143         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9144         really leaving an inset.
9145
9146 2002-04-18  Juergen Vigna  <jug@sad.it>
9147
9148         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9149         of the selected paragraph does not have the selected layout also if
9150         the last one had!
9151
9152         * text2.C (setLayout): fixed bug which did not change last selected
9153         paragraph.
9154
9155         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9156         changed the read and substituted \\end_float with \\end_inset!
9157
9158         * BufferView_pimpl.C (cursorPrevious):
9159         (cursorNext): fixed to make it work with rows heigher than the work
9160         area without moving the cursor only the draw of the row.
9161         (workAreaMotionNotify): fix jumping over high rows.
9162
9163 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9166         Ressler.
9167
9168 2002-04-16  Juergen Vigna  <jug@sad.it>
9169
9170         * text2.C (setCursor): set also the irow().
9171         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9172         (cursorUp):
9173         (cursorDown): support for locking an inset if the x_fix value goes
9174         inside it. That way I can transverse insets too with cursor up/down.
9175
9176         * lyxrow.h: added irow helper function same as other (i) functions.
9177
9178         * BufferView_pimpl.C (cursorPrevious):
9179         (cursorNext): fixed for insets!
9180
9181 2002-04-15  Juergen Vigna  <jug@sad.it>
9182
9183         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9184         position otherwise it is wrong in some cases.
9185
9186         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9187         inside the inset before the call.
9188
9189 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9190
9191         * buffer.[Ch] (getBibkeyList): make it const.
9192
9193 2002-04-12  Juergen Vigna  <jug@sad.it>
9194
9195         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9196
9197         * text2.C (getCursorX): new helper function
9198         (setCursor): compute also ix_
9199         (setCursorFromCoordinates): set also ix.
9200
9201         * lyxcursor.h: added ix_ and helper functions.
9202
9203         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9204
9205         * buffer.C (insertStringAsLines): dont break paragraph if the this
9206         paragraph is inside an inset which does not permit it!
9207
9208         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9209         also with no chars on this paragraph.
9210         (paintRowText): only paint stuff if it's inside the workarea!
9211
9212         * paragraph.C (breakParagraph): honor keepempty flag and break the
9213         paragraph always below not above.
9214
9215         * BufferView2.C (unlockInset): update the paragraph layout on inset
9216         unlock as we changed paragraph in such a case.
9217
9218         * lyxfind.C (LyXFind): clear the former selection if not found!
9219
9220         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9221         again called in insertChar().
9222
9223         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9224         an inset which uses the whole row!
9225         (rightMargin): ditto.
9226         (insertChar): force a rebreak if we inserted an inset!
9227
9228 2002-03-28  Herbert Voss  <voss@lyx.org>
9229
9230         * lyxlength.[Ch]: add inBP() to get the right PS-point
9231         units (BigPoint). With inPixels we have rounding errors
9232
9233 2002-04-11  Juergen Vigna  <jug@sad.it>
9234
9235         * text2.C (setCursorFromCoordinates): set iy to the right value.
9236         (setCursor): add check if row->previous exists!
9237
9238         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9239         an old float_type as this was the case in the old code!
9240
9241         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9242
9243         * BufferView2.C (showLockedInsetCursor): use iy
9244         (fitLockedInsetCursor): ditto
9245
9246         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9247         locked insets as there we have the right value now.
9248
9249         * lyxcursor.C: added iy_ variable and iy functions to set to the
9250         baseline of cursor-y of the locked inset.
9251
9252         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9253         (setCursor): fixed for insets which need a full row.
9254
9255         * text.C (rowLastPrintable): don't ignore the last space when before
9256         an inset which needs a full row.
9257         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9258         as last character of a row when before a inset which needs a full row.
9259
9260 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * version.C.in: update date
9263
9264         * text2.C (fullRebreak): try to always return true and see what
9265         happens...
9266
9267 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * MenuBackend.C (expand): use Floating::listName
9270
9271         * FloatList.C (FloatList): add listName argument to the built-in
9272         floats
9273
9274         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9275         text associated with the float.
9276
9277 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9280
9281 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9282
9283         * ShareContainer.h: add a couple of missing typenames.
9284
9285 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9286
9287         * lyxrc.C (getDescription): use _() correctly rather than N_().
9288
9289 2002-03-28  Herbert Voss  <voss@lyx.org>
9290
9291         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9292         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9293
9294 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9297         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9298
9299 2002-03-29  Juergen Vigna  <jug@sad.it>
9300
9301         * lyxfunc.C (dispatch): add a missing fitCursor call.
9302
9303         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9304         it was scrolled by a cursor move, so return the bool status.
9305
9306         * BufferView.C (fitCursor): return the bool flag also to the outside
9307         world as this is needed.
9308
9309         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9310
9311         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9312         call the edit() as it is not needed (and wrong) IMO.
9313         (workAreaButtonPress): set the screen_first variable before evt.
9314         unlock the inset as this may change screen_first and then we have
9315         a wrong y position for the click!
9316
9317 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * MenuBackend.C (expand): another translation that I missed
9320
9321 2002-03-28  Juergen Vigna  <jug@sad.it>
9322
9323         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9324
9325         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9326
9327 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9330
9331         * MenuBackend.C (expand): fix export/view/update when there is no
9332         document open.
9333
9334 2002-03-27  Herbert Voss  <voss@lyx.org>
9335
9336         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9337         and text%
9338
9339 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * bufferview_funcs.C (currentState): only show paragraph number
9342         for is DEVEL_VERSION is set.
9343
9344         * lyxfunc.C (dispatch): put warning in INFO channel
9345
9346         * MenuBackend.C (expand): translate the name of floats
9347
9348         * FloatList.C (FloatList): mark the float names for translation
9349
9350         * converter.C (convert): use LibScriptSearch
9351
9352 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9353
9354         * MenuBackend.C (defaults): fix default menu (we might as well get
9355         rid of it...)
9356
9357 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9360         directory.
9361
9362 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * lyxvc.C: reorder includes.
9365
9366 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9369           properly
9370
9371 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * CutAndPaste.C: change layouts earlier on paste
9374           to avoid crashing when calling getFont()
9375
9376 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9377
9378         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9379         irritating #error.
9380
9381 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9382
9383         * WorkArea.C: remove 'Pending' debug message.
9384
9385         * most files: ws cleanup
9386
9387         * buffer.[Ch]: ws changes
9388
9389         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9390
9391 2002-03-21  Juergen Vigna  <jug@sad.it>
9392
9393         * tabular.C (SetMultiColumn): collapse also the contents of the
9394         cells and set the last border right. Added a Buffer const * param.
9395
9396 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9399         linking or not.
9400
9401 2002-03-19  Juergen Vigna  <jug@sad.it>
9402
9403         * text2.C (clearSelection): reset also xsel_cache.
9404
9405         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9406         where it needs to be called (John tells us to do so too :)
9407         (selectionLost): reset sel_cache.
9408
9409         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9410
9411 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * text2.C (setCursorIntern): put debuging code in INSETS channel
9414
9415 2002-03-19  André Pönitz <poenitz@gmx.net>
9416
9417         * lyxfunc.C: tiny whitespace change
9418
9419 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * ToolbarDefaults.C (init):
9422         * LyXAction.C (init):
9423         * commandtags.h:
9424         * BufferView_pimpl.C (Dispatch):
9425         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9426
9427 2002-03-19  Allan Rae  <rae@lyx.org>
9428
9429         * exporter.C (Export): removeAutoInsets before doing anything else.
9430         While I've just introduced a dependency on BufferView this really is
9431         the best place to clean the buffer otherwise you need to cleanup in
9432         a dozen places before calling export or cleanup in a dozen functions
9433         that export calls.
9434
9435         * converter.C (runLaTeX):
9436         (scanLog): Better handling of removeAutoInsets and screen updates.
9437
9438         * lyxfunc.C (dispatch): small whitespace changes
9439
9440 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9441
9442         * WorkArea.C (C_WorkAreaEvent): return a value.
9443         (event_cb): return 1 if we handled the event, 0 otherwise.
9444
9445         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9446
9447 2002-03-18  Juergen Vigna  <jug@sad.it>
9448
9449         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9450         (GetAdditionalWidth): ditto.
9451         (RightLine): ditto.
9452         (LeftLine): ditto.
9453
9454         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9455         inset if we're there actually (probably not used right now but this
9456         is the direction to go for unifying code).
9457         (paste): disable code to clear the selection.
9458
9459         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9460         inside an InsetText and move the check further up as it is in the
9461         wrong place.
9462
9463         * text2.C (pasteSelection): set a selection over the pasted text.
9464
9465 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9466
9467         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9468         and libgraphics to build on Cygwin.
9469
9470 2002-03-15  Juergen Vigna  <jug@sad.it>
9471
9472         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9473         inserting an Inset into the paragraph. I know this is not the best
9474         fix but we already use current_view in CutAndPaste so we will remove
9475         all of it's using at the same time.
9476
9477         * buffer.C (sgmlError): deactivated function till it is rewritten in
9478         the right mode, now it can create problems.
9479
9480         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9481         before accessing it.
9482
9483 2002-03-14  Juergen Vigna  <jug@sad.it>
9484
9485         * undo_funcs.C (textHandleUndo): do the right thing when updating
9486         the inset after the undo/redo.
9487
9488         * text2.C (setCursor): just some testcode for #44 not ready yet.
9489
9490         * undo_funcs.C (textHandleUndo): set the next() and previous()
9491         pointers of the paragraph to 0 before deleting otherwise we have
9492         problems with the Paragraph::[destructor].
9493
9494         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9495         on a paragraph insertion.
9496
9497 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9498
9499         * buffer.C (asciiParagraph): use += operator for char append to
9500         string.
9501
9502         * paragraph.C (getFontSettings): compare >= not just >
9503         (highestFontInRange): ditto
9504         (setFont): ditto
9505
9506 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * paragraph.C: change several algorithm to be more appripriate for
9509         the problem domain. This is lookip in FontList and in the InsetList.
9510
9511 2002-03-13  André Pönitz <poenitz@gmx.net>
9512
9513         * commandtags.h:
9514         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9515
9516 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9517
9518         * commandtags.h:
9519         * LyXAction.C:
9520         * lyxfunc.C:
9521         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9522
9523 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * Painter.C (display): anon helper function, adjust code for this
9526         change.
9527         (pixmap): remove function.
9528
9529         * Painter.h: remove private display variable.
9530
9531         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9532
9533 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9534
9535         * WorkArea.[Ch]: remove figinset_canvas cruft.
9536
9537 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9538
9539         * lyxtextclass.C (operator): add one item cache optimization.
9540
9541         * bufferlist.h: doxy changes
9542
9543         * bufferlist.C: ws changes
9544
9545         * DepTable.[Ch] (ext_exist): place const in the right spot.
9546
9547         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9548         call resizeInsets.
9549         (workAreaExpose): call resizeInsets when the with BufferView changes.
9550         (Dispatch): adjust for protectedBlank removal
9551         (specialChar): call updateInset if the insert went ok.
9552
9553         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9554         specialChar instead.
9555
9556         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9557
9558         * BufferView.h: doxy change
9559
9560         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9561
9562         * lyxtextclass.C (operator[]): remove non-const version
9563         (defaultLayout): remove non-const version
9564
9565 2002-03-12  Juergen Vigna  <jug@sad.it>
9566
9567         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9568         did resize the LyXText too.
9569
9570         * buffer.C (readLyXformat2): set layout information on newly allocated
9571         paragraphs.
9572
9573         * tabular.C (OldFormatRead): set layout information on the paragraph.
9574
9575 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9576
9577         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9578
9579 2002-03-11  Juergen Vigna  <jug@sad.it>
9580
9581         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9582         plainly wrong.
9583         (resizeCurrentBuffer): force also the insets to resize themselfes.
9584         (moveCursorUpdate): fixed up for InsetText.
9585
9586 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9587
9588         * commandtags.h:
9589         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9590         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9591         value of Dialogs::tooltipsEnabled().
9592         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9593
9594 2002-03-08  Juergen Vigna  <jug@sad.it>
9595
9596         * BufferView_pimpl.C (updateInset): update inset inside inset also
9597         if it isn't inside theLockingInset().
9598
9599 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9600
9601         * buffer.C (asciiParagraph): redo some of the word and line length
9602         handling.
9603         (getLists): look for Caption instead of caption.
9604
9605 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * buffer.C (Buffer): initialize niceFile to true
9608         (makeLaTeXFile):
9609         (makeLinuxDocFile):
9610         (makeDocBookFile): make sure niceFile is true on exit
9611
9612 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9615
9616 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9617
9618         * LyXSendto.C: remove.
9619         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9620         * lyx_gui.C: remove now-redundant comment.
9621         * ColorHandler.h: remove forward declaration of class WorkArea.
9622         * lyxfunc.C: remove #include "WorkArea.h".
9623
9624 2002-03-07  Juergen Vigna  <jug@sad.it>
9625
9626         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9627         got moved away with the DEPM and also set the inset_owner always
9628         right which before could have been omitted.
9629
9630 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9631
9632         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9633         wanted layout is not found.
9634
9635 2002-03-07  Juergen Vigna  <jug@sad.it>
9636
9637         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9638
9639 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9640
9641         * paragraph.C (breakParagraph): use default layout not layout of
9642         prev paragraph.
9643         (Paragraph): clear ParagraphParameters.
9644
9645 2002-03-06  Juergen Vigna  <jug@sad.it>
9646
9647         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9648         otherwise it would not be a valid lenght. Fixed a special case in
9649         the minipage compatibility read where we end the document with a
9650         minipage.
9651
9652         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9653         was set as it could be 0 for InsetTexts first entry.
9654
9655 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * paragraph.C (writeFile): if layout is empty write out
9658         defaultLayoutName().
9659
9660         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9661         file without named layout we set layout to defaultLayoutName().
9662
9663 2002-03-06  Juergen Vigna  <jug@sad.it>
9664
9665         * CutAndPaste.C (copySelection): set layout for new paragraph.
9666
9667         * text.C (prepareToPrint): leave ERT inset left aligned
9668         (leftMargin): don't indent paragraphs inside ERT insets
9669
9670 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * paragraph.C (breakParagraph): dont call clear do the work manually
9673
9674         * paragraph.[Ch] (clear): remove function
9675
9676 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9677
9678         * paragraph.C (Paragraph): dont call clear, the work has already
9679         been done.
9680
9681         * lyxtextclass.C (operator): assert if n is empty
9682
9683         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9684         work manually instead.
9685
9686 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * BufferView_pimpl.C: protect selectionLost against text == 0
9689
9690 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * text.C (breakParagraph): fix a setting layout to '0' problem.
9693
9694 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9695
9696         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9697         final location of file, for the included files, and graphics.
9698
9699 2002-03-05  Juergen Vigna  <jug@sad.it>
9700
9701         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9702
9703 2002-03-04  Juergen Vigna  <jug@sad.it>
9704
9705         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9706
9707         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9708         last column of multicolumn cells.
9709         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9710
9711 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9712
9713         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9714         file if it doesn't go to a temporary file.
9715
9716         * buffer.C (sgmlOpenTag):
9717         (sgmlCloseTag):  remove extra newline insertion.
9718
9719 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9720
9721         * text.C (getRowNearY): comment out debug msg
9722
9723 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * text2.C: first -> first_y
9726
9727         * text.C (getRowNearY): add some attemts at a possible
9728         optimization, not working.
9729
9730         * tabular.[Ch]: add BufferParams to several function so that newly
9731         created paragraph can be initialized to he default layotu for the
9732         buffers textclass.
9733
9734         * tabular-old.C (ReadOld): add buf->params to call of Init
9735
9736         * screen.C: rename text->first to text->first_y
9737
9738         * paragraph.C (breakParagraph): always set layout in the broken
9739         paragraph
9740
9741         * lyxtextclass.C (Read): remove lowercase
9742         (hasLayout): ditto
9743         (operator): ditto
9744         (delete_layout): ditto
9745
9746         * lyxtext.h: rename first -> first_y
9747
9748         * lyxlayout.C (Read): remove lowercase
9749         (name): ditto
9750         (setName): ditto
9751         (obsoleted_by): ditto
9752
9753         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9754
9755         * buffer.C (insertErtContents): add params are to InsetERT
9756         (parseSingleLyXformat2Token): add code to check if a paragraphs
9757         layout really exist.
9758         (parseSingleLyXformat2Token): add params to several inset
9759         constructors
9760         (asciiParagraph): remove lowercase, do the layout comparisons with
9761         no_case
9762
9763         * BufferView_pimpl.C (cursorNext): first -> first_y
9764         (resizeCurrentBuffer): first -> first_y
9765         (updateScrollbar): first -> first_y
9766         (scrollCB): first -> first_y
9767         (workAreaMotionNotify): first -> first_y
9768         (workAreaButtonPress): first -> first_y
9769         (checkInsetHit): first -> first_y
9770         (cursorPrevious): first -> first_y
9771         (cursorNext): first -> first_y
9772         (Dispatch): add buffer_->params to severl inset contructors
9773
9774 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9775
9776         * lyxlayout.C (Read): remove some debug info that I forgot.
9777
9778         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9779         clean up the code slightly.
9780         (makeLinuxDocFile): ditto
9781         (makeDocBookFile): ditto
9782
9783         * text2.C: layout as string
9784
9785         * text.C: layout as string
9786
9787         * paragraph_pimpl.C: layout as string
9788
9789         * paragraph.[Ch]: layout as string
9790
9791         * lyxtextclasslist.[Ch]: layout as string
9792
9793         * lyxtextclass.[Ch]: layout as string
9794
9795         * lyxtext.h: layout as string
9796
9797         * lyxlayout.[Ch]: layout as string
9798
9799         * lyx_cb.C: layout as string
9800
9801         * bufferview_funcs.C: layout as string
9802
9803         * bufferparams.C: layout as string
9804
9805         * buffer.C: layout as string
9806
9807         * LyXView.[Ch]: layout as string
9808
9809         * LaTeXFeatures.[Ch]: layout as string
9810
9811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9812
9813         * BufferView_pimpl.C: change current_layout to string, remove
9814         lyx::layout_type.
9815         (Dispatch):
9816         (smartQuote):
9817         (insertInset):
9818         (workAreaButtonRelease): layout as string
9819
9820         * BufferView2.C (unlockInset): adjust
9821
9822         * vspace.C (asLatexCommand): use an explict temp variable.
9823
9824 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * Makefile.am: use FRONTEND_*
9827
9828 2002-03-01  Juergen Vigna  <jug@sad.it>
9829
9830         * tabular.C (SetWidthOfMulticolCell): changed to something better
9831         I hope but still work in progress.
9832         (recalculateMulticolumnsOfColumn): renamed function from
9833         recalculateMulticolCells as it is more appropriate now.
9834         (SetWidthOfCell): calculate multicols better.
9835
9836 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9839
9840         * lyxfunc.C (processKeySym): print sequence also if it is
9841         `deleted' (complete)
9842
9843         * kbsequence.C (print): print sequence even if it is deleted
9844         (complete would be a better word, actually).
9845
9846         * lyxfunc.C (dispatch): print complete options after a prefix key
9847
9848         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9849
9850 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9851
9852         * text2.C (setCharFont): eliminate setCharFont code duplication.
9853
9854 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9857         LFUN_TABULAR_FEATURE (bug #177)
9858
9859 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9860
9861         * Makefile.am: remove figure.h
9862
9863 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9864
9865         * Bufferview_pimpl.C:
9866         * CutAndPasteC:
9867         * LaTeX.C:
9868         * LyXSendto.C:
9869         * buffer.C:
9870         * bufferlist.C:
9871         * converter.C:
9872         * language.C:
9873         * lyxfunc.C:
9874         * lyxvc.C:
9875         * paragraph.C:
9876         * text.C:
9877         * text2.C: remove #include "lyx_gui_misc.h".
9878
9879         * LaTeX.C: added #include <cstdio>
9880
9881 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9882
9883         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9884         that the paragraph following this one can have.
9885
9886         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9887
9888         * vspace.C (asLatexCommand): fix bogus gcc warning
9889
9890         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9891
9892 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9893
9894         * text2.C (setLayout): get rid of redundant code
9895
9896 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9897
9898         * text2.C (incDepth): make sure depth cannot be increased beyond
9899         reasonable values.
9900
9901 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9902
9903         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9904         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9905
9906         * PainterBase.h (image):
9907         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9908         a LyXImage const *.
9909
9910 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * BufferView.C:
9913         * BufferView.h:
9914         * BufferView_pimpl.C:
9915         * BufferView_pimpl.h:
9916         * LaTeXFeatures.C:
9917         * LyXAction.C:
9918         * LyXView.C:
9919         * Makefile.am:
9920         * UpdateList.h:
9921         * UpdateList.C:
9922         * buffer.C:
9923         * figure.h:
9924         * figureForm.C:
9925         * figureForm.h:
9926         * figure_form.C:
9927         * figure_form.h:
9928         * lyx_cb.C:
9929         * lyx_gui.C:
9930         * lyx_gui_misc.C:
9931         * lyxfunc.C:
9932         * sp_base.h:
9933         * sp_ispell.h:
9934         * sp_pspell.h:
9935         * sp_spell.C: remove fig inset, and the crap house of
9936           cards that follows it
9937
9938 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9939
9940         * Makefile.am:
9941         * lyxserver.C:
9942         * os2_defines.h:
9943         * os2_errortable.h:
9944         * nt_defines.h: move .h into support/
9945
9946         * vms_defines.h: remove
9947
9948         * WorkArea.C: add space in debug output
9949
9950         * text2.C:
9951         * paragraph.C:
9952         * buffer.C: add WITH_WARNINGS
9953
9954         * vc-backend.h:
9955         * vc-backend.C:
9956         * bufferlist.C: s/retrive/retrieve/, add docs
9957
9958         * vspace.h:
9959         * vspace.C:
9960         * kbmap.h:
9961         * lyxlength.h:
9962         * lyxgluelength.h:
9963         * length_common.h:
9964         * chset.h:
9965         * chset.C: add docs
9966
9967         * lyxgui.C: add ID to X error handler
9968
9969         * lyxtestclass.c: fix typo
9970
9971 2002-02-26  Juergen Vigna  <jug@sad.it>
9972
9973         * tabular_funcs.C (write_attribute): changed so that some default
9974         attributes are not written at all.
9975         (getTokenValue): set default values before trying to read the
9976         value so we have the return value always set as default if we don't
9977         find the token we search for.
9978
9979         * tabular.C (Write): write bools as bools not as strings!
9980
9981 2002-02-22  Juergen Vigna  <jug@sad.it>
9982
9983         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9984         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9985
9986         * text.C (leftMargin): don't add an indent for paragraphs inside
9987         tabular cells (fix #208).
9988
9989 2002-02-21  José Matos  <jamatos@fep.up.pt>
9990
9991         * tabular.C (docBook): fixed support for long tables.
9992
9993 2002-02-20  Juergen Vigna  <jug@sad.it>
9994
9995         * text2.C (getFont): get the drawing font of the Inset if this
9996         paragraph is inside an inset (only important for InsetERT for now).
9997
9998         * buffer.C (insertErtContents): use new lanugage params in ERT
9999         constructor.
10000
10001         * CutAndPaste.C: commenting out seemingly uneeded code.
10002
10003 2002-02-19  Allan Rae  <rae@lyx.org>
10004
10005         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10006         Iterators might be simple to use but they also get invalidated.
10007         (removeAutoInsets): renamed saved cursor tracking variables and added
10008         some comments to clarify what everything does.
10009
10010 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10011
10012         * Chktex.C:
10013         * LaTeX.C:
10014         * LyXSendto.C:
10015         * converter.C:
10016         * lyx_cb.C:
10017         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10018         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10019
10020         * lyxfunc.C:
10021         * vc-backend.h: remove #include "support/syscall.h"
10022
10023         * LaTeX.C:
10024         * LyXSendto.C:
10025         * converter.C: rearrange #includes in Lars' approved fashion.
10026
10027         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10028         forward declare class Timeout in the header file.
10029
10030         * XFormsView.C: changes due to the above.
10031
10032         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10033         similar to LyXView.
10034
10035         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10036         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10037
10038 2002-02-18  José Matos  <jamatos@fep.up.pt>
10039
10040         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10041         insets contents.
10042
10043 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10044
10045         * a lot of small ws changes
10046         * add a lot of using std::XXX
10047         * use std construcs some places where approp.
10048         * use some exisint stuff from lyxfunctional where approp.
10049         * Make file changes to use partial linking (lets test this now...)
10050
10051 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * Chktex.C:
10054         * buffer.C:
10055         remove #include "support/syscontr.h" as it's redundant. Always has been.
10056
10057         * Chktex.C:
10058         * LaTeX.C:
10059         * LyXSendto.C:
10060         * converter.C:
10061         * lyx_cb.C:
10062         * vc-backend.C:
10063         change Systemcalls::System to Systemcalls::Wait and
10064         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10065         No change of functionality, just reflects the stripped down Systemcalls
10066         class.
10067
10068 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10069
10070         * debug.[Ch]: add a GRAPHICS type to the enum.
10071
10072 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10073
10074         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10075
10076         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10077         there is an inset.
10078
10079 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10082         match the changes below.
10083
10084         * text2.C (toggleInset): if there is not editable inset at cursor
10085         position, try to see if cursor is _inside_ a collapsable inset
10086         and close it.
10087
10088 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10091         document menu has a nice checkbox
10092
10093 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * lyxlength.C (asLatexString): change PW to output as percent of
10096         \textwidth.
10097
10098         * lengthcommon.C: change '%' to 't%'
10099
10100         * lyxfunc.C (dispatch): a few comments from Martin
10101
10102 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * WorkArea.h:
10105         * WorkArea.C:
10106         * BufferView_pimpl.h:
10107         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10108           the X selection.
10109
10110 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10111
10112         * vspace.C (inPixels): fix compiler warning
10113
10114 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * lyxfunc.C (getStatus): fix status message for disabled commands.
10117
10118 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * BufferView_pimpl.C: fix crash on close buffer
10121         during selection (#227)
10122
10123 2002-01-27  Herbert Voss  <voss@lyx.org>
10124
10125         * buffer.C: link old Figure to new graphic inset
10126
10127 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * FontLoader.C (getFontinfo): Change the latex font names in order
10130         to match the names of type1inst.
10131
10132 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10135
10136         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10137         (extchanged): ditto
10138         (ext_exist): ditto
10139         (remove_files_with_extension): ditto
10140         (remove_file): ditto
10141         (write): ditto
10142
10143         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10144         document is smaller than the work area height. Do not initialize
10145         static variables to 0.
10146
10147 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10150
10151         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10152         LFUN_LAYOUT_PARAGRAPHS.
10153
10154         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10155         tabular. It is possible to provide a possible cell, which will
10156         typically be the actcell from the corresponding insettabular
10157
10158         * lyxfunc.C (getStatus): small cleanup; disable
10159         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10160         true
10161
10162 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10165
10166         * paragraph.C (startTeXParParams):
10167         (endTeXParParams): new methods. The LaTeX code to
10168         start/end paragraph formatting
10169         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10170         empty (fixes bug #200)
10171
10172         * vspace.C (inPixels): adapt to the change below
10173         (inPixels): [later] more cleanups (remove unused variables)
10174
10175         * lyxlength.C (inPixels): change to use a width and a height as
10176         parameter.
10177
10178 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10181         Replaced with \paperwidth
10182
10183         * DepTable.C (insert): add std:: qualifier
10184
10185 2002-01-18  Allan Rae  <rae@lyx.org>
10186
10187         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10188         updated also?
10189
10190         * text.C (drawInset): Turned out I didn't know enough about how
10191         rebreaking worked.  This fixes most of the redraw problems.  I see
10192         an occasional cursor trail when a line is broken now and the cursor
10193         placement can seem out by a few pixels also after a rebreak.
10194
10195 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * buffer.C (parseSingleLyXformat2Token): update because minipage
10198         width is now a LyXLength
10199
10200         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10201
10202         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10203         math insets
10204
10205 2002-01-17  Juergen Vigna  <jug@sad.it>
10206
10207         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10208
10209         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10210         is set correctly and the inset is updated correctly.
10211
10212 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10213
10214         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10215         the beginning of the loop.
10216
10217 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * lyxrc.C: improve help for use_scalable_fonts
10220
10221 2002-01-17  Allan Rae  <rae@lyx.org>
10222
10223         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10224
10225 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10226
10227         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10228         make sure to set their inset_owner to the right value (bug #171)
10229
10230 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10231
10232         * DepTable.h
10233         * DepTable.C: Implement mtime checking to reduce time spent doing
10234         CRCs.
10235
10236 2002-01-16  Juergen Vigna  <jug@sad.it>
10237
10238         * tabular.C (GetAdditionalHeight): one of error fixed.
10239
10240         * lyxrc.C (output): small fix in writing use_pspell.
10241
10242 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10243
10244         * sp_base.h: #include LString.h
10245
10246 2002-01-16  Allan Rae  <rae@lyx.org>
10247
10248         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10249         Can someone check this please?
10250
10251         * text.C (drawInset): It was possible that p.row would be removed by
10252         breakAgainOneRow upsetting a few other settings.  There may be another
10253         small tweak possible by setting need_break_row = 0 when p.row has been
10254         removed but I don't know enough about the logic here.
10255
10256 2002-01-15  Allan Rae  <rae@lyx.org>
10257
10258         * text.C (insertChar): removed conditional truism.
10259
10260         * BufferView2.C (removeAutoInsets): More tweaks.
10261         cur_par_prev could be a stray pointer.  Check for trailing empty line
10262         in case last line was cur_par and only had an error inset on it.
10263
10264 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10267         absolute
10268
10269         * vc-backend.C (most methods):
10270         * exporter.C (Export):
10271         * converter.C (convert):
10272         (runLaTeX):
10273         * LyXSendto.C (SendtoApplyCB):
10274         * lyxfunc.C (dispatch):
10275         (menuNew):
10276         (open):
10277         (doImport):
10278         * lyx_cb.C (AutoSave):
10279         (InsertAsciiFile):
10280         * BufferView_pimpl.C (MenuInsertLyXFile):
10281         * buffer.C (runChktex): use Buffer::filePath().
10282
10283         * buffer.h: rename filename to filename_; rename filepath to
10284         filepath_ and make it private
10285         (filePath): new method
10286
10287         * buffer.C (writeFile): use fileName()
10288         (getLatexName):
10289
10290         * lyx_main.C (init): fix starting  of LyX when the binary is a
10291         link from so,ewhere else.
10292
10293         * minibuffer.C: include <cctype> for isprint
10294
10295 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10296
10297         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10298         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10299         name clash with InsetCollapsable's width function.
10300
10301 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * lastfiles.C: include <iterator>
10304
10305 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10306
10307         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10308         std::count.
10309
10310         * buffer.C (makeLaTeXFile): ditto.
10311         Also make loop operation more transparent.
10312
10313 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10314
10315         * ToolbarDefaults.C: remove trailing comma closing namespace.
10316
10317         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10318
10319         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10320         as in WorkArea.
10321
10322         * trans.C (Load): comment out unused variable, allowed.
10323
10324 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10325
10326         * minibuffer.[Ch] (append_char): new method to recieve input from the
10327         drop-down completion browser. If a key was pressed, then recieve this
10328         char and append it to the existing string.
10329         (peek_event): modify the positioning data passed to the completion
10330         browser so that it can be placed above the minibuffer rather than below.
10331 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10332
10333         * LyXAction.C (init): alloe error-next for readonly documents.
10334
10335         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10336         count.
10337
10338 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * bufferlist.C (readFile): create the buffer _after_ checking that
10341         the file exists.
10342
10343         * lyxfunc.C (verboseDispatch): fix handling of arguments
10344
10345         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10346
10347         * lyxrc.C: use string::erase() instead of initializing to "".
10348
10349
10350 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * BufferView_pimpl.h:
10353         * BufferView_pimpl.C:
10354         * WorkArea.h:
10355         * WorkArea.C:
10356         * text2.C: tell X when we have made a selection for copying
10357
10358 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * BufferView_pimpl.C (MenuInsertLyXFile):
10361         * lyxfunc.C (menuNew):
10362         (open):
10363         (doImport): add shortcuts to directory buttons
10364
10365         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10366         open a float)
10367
10368         * lyxfunc.C (setStatusMessage):
10369         (getStatusMessage): new methods
10370         (getStatus):use setStatusMessage instead of setErrorMessage
10371         (dispatch): when function is disabled, set error message here
10372         [instead of in getStatus previously]
10373
10374         * BufferView_pimpl.C (workAreaButtonRelease): update
10375         toolbar/menubar here too.
10376
10377 2002-01-13  Allan Rae  <rae@lyx.org>
10378
10379         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10380         Now seems indestructible.  Remaining task is to audit all other
10381         code affected by deleteEmptyParagraphMechanism.  One small quirk
10382         left is that an empty document with an error in the preamble can
10383         be made to report an error but no error box appears.  I don't know
10384         where it goes.
10385         (removeAutoInsets): Improved comments.
10386
10387 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * Thesaurus.h:
10390         * Thesaurus.C: update for Aiksaurus 0.14
10391
10392 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10393
10394         * text2.C (firstParagraph): removed member function, all uses
10395         replaces with ownerParagraph
10396         (redoParagraphs): here
10397         (updateInset): here
10398         (toggleAppendix): here
10399         * BufferView2.C (insertErrors): here
10400         (setCursorFromRow): here
10401
10402 2002-01-13  Allan Rae  <rae@lyx.org>
10403
10404         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10405         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10406         There is still a way to segfault this although you may have to do this
10407         multiple times: Have an InsetERT with an unknown command in it.
10408         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10409         <down-arrow>, <Enter> again, View->DVI, BANG!
10410
10411         * text2.C (setCursor):
10412         (deleteEmptyParagraphMechanism):
10413         * lyxtext.h (setCursor):
10414         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10415         Making use of the return value may help fix other bugs.
10416
10417 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10420
10421         * LyXView.C (updateMenubar): call MenuBar::update here
10422         (updateToolbar): but not here
10423         (showState): do not update toolbar/menubar
10424
10425         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10426         should need to care about that.
10427
10428         * lyxfunc.C (verboseDispatch): simplify a bit
10429         (getStatus): have a version which takes a pseudoaction, and
10430         another which requires a (kb_action,string).
10431
10432         * LyXAction.C (retrieveActionArg): make it work also when action
10433         is not a pseudo-action.
10434         (getActionName): simplify a bit
10435         (helpText):
10436
10437 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * lyxfunc.C (verboseDispatch): new families of methods with
10440         several ways to specify a command and a bool to indicate whether
10441         the command name and shortcut should be displayed in minibuffer
10442         (eventually, we could extend that to a finer bitmask like
10443         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10444         (dispatch): the pristine dispatch command which just, well,
10445         dispatchs! Note it still sets its result to minibuffer; I'm not
10446         sure we want that.
10447
10448         * lyxfunc.h: remove setHintMessage
10449
10450         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10451
10452 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * BufferView_pimpl.C (specialChar): delete new inset if we have
10455         not been able to insert it.
10456
10457         * kbmap.C: revert to using int instead of kb_action, since all we
10458         are dealing with is pseudo-actions.
10459
10460         * LyXAction.C (searchActionArg): change to return int instead of
10461         kb_action, since the result is a pseudoaction.
10462
10463 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10464
10465         * buffer.C (insertErtContents): Fix (partially) the font bug.
10466
10467 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10470         as the other one is broken on my machine!
10471
10472 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10473
10474         * commandtags.h:
10475         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10476
10477 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10478
10479         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10480         reflect their actual use. Provide compatibility code for older lyxrc
10481         files.
10482
10483         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10484         FL_NORMAL_STYLE.
10485         change names of popup font variables in line with the changes to lyxrc.C
10486
10487 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * buffer.C (asciiParagraph): avoid outputing a word twice after
10490         an inset.
10491
10492         * lyxrc.C (getDescription): document that document_path and
10493         template_path can be empty.
10494
10495 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * LaTeXFeatures.C (getMacros):
10498         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10499
10500         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10501
10502         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10503         getPackages.
10504         (getPackages): rename feature "floats" to "float". Use an array to
10505         iterate over 'simple' features (i.e. just a \usepackage). Add
10506         handling of "amsmath" (renamed from "amsstyle").
10507
10508 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10509
10510         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10511         features list.
10512
10513 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10516         FuncStaus::FuncStatus & FuncStaus::some_method().
10517
10518 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10519
10520         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10521         of the func_satus stuff. Edited and massaged in various ways by
10522         JMarc.
10523
10524         * lyxfunc.C (getStatus): use FuncStatus
10525
10526 2002-01-08  Juergen Vigna  <jug@sad.it>
10527
10528         * text.C (nextBreakPoint): use function Inset::isChar().
10529
10530         * paragraph.C (TeXOnePar): use function
10531         Inset::forceDefaultParagraphs.
10532
10533         * buffer.C (latexParagraphs): use function
10534         Inset::forceDefaultParagraphs.
10535
10536 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10537
10538         * lyx_gui.C (init): set the style of the menu popups to
10539         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10540
10541 2002-01-07  Juergen Vigna  <jug@sad.it>
10542
10543         * text.C (setHeightOfRow): small fix
10544         (prepareToPrint): don't look at alignment if we don't have the place
10545         for doing it.
10546
10547 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10548
10549         * box.C: New file. Move the Box methods and functions out of box.h,
10550         following Lars' suggestion.
10551
10552 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10553
10554         * box.h: #include "support/LOstream.h", needed for inlined function.
10555
10556         * lyxtextclass.C:
10557         * lyxtextclasslist.C: added some using std declarations.
10558
10559 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * box.h: make signed dimensions to allow insets wider than
10562           the screen (bug #162)
10563
10564         * BufferView_pimpl.C: add some insetHit debug
10565
10566 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * vc-backend.C: add FIXME
10569
10570 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * lyxfunc.C (getStatus): enable code for showing math font status
10573         in toolbar/menu.
10574
10575 2002-01-07  Juergen Vigna  <jug@sad.it>
10576
10577         * text.C (nextBreakPoint): removed debug output not needed anymore.
10578
10579 2002-01-06  Juergen Vigna  <jug@sad.it>
10580
10581         * text.C (nextBreakPoint): fixed up this function we had this bug
10582         since ever but now hopefully we break row better.
10583         (insertChar): we have to check if an inset is the next char as it
10584         could now happen that a large inset is causing a break.
10585
10586 2002-01-05  Juergen Vigna  <jug@sad.it>
10587
10588         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10589         if it doesn't like to be drawed.
10590
10591 2002-01-04  Juergen Vigna  <jug@sad.it>
10592
10593         * BufferView2.C (lockInset): forgot to set a cursor.
10594
10595         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10596
10597 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10598
10599         * FormMathsPanel.C:
10600         * FormMathsPanel.h
10601         * MathsSymbols.C:
10602         * form_maths_panel.C:
10603         * form_maths_panel.h:
10604         * form_maths_panel.fd: implemented sub- and super- buttons in math
10605         panel.
10606
10607         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10608         (or ^ space) to be used as in TeX (req'd by André).
10609
10610         * lyxfunc.C: Allow ^ and _ again to be used both as
10611         super/subscript (mathed) and as themselves (in text).
10612
10613 2002-01-03  Allan Rae  <rae@lyx.org>
10614
10615         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10616         "LyX" or the filename of the current buffer if it has one.  This is a
10617         modified form of John Levon's patch.
10618
10619         * XFormsView.C (setWindowTitle): also set icon title.
10620
10621         * LyXView.h (setWindowTitle): signature changed.
10622         * XFormsView.h (setWindowTitle): ditto.
10623
10624 2002-01-02  Juergen Vigna  <jug@sad.it>
10625
10626         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10627
10628 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * screen.C (topCursorVisible): introduce a temp var for
10631         text->cursor.row(), handle the case where this row is null. (kindo
10632         hachish)
10633
10634         * text2.C (setCursor): add a couple of asserts.
10635
10636         * paragraph.h (inset_iterator): add -> operator
10637
10638         * paragraph.[Ch] (autoDeleteInsets): remove member function
10639
10640         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10641         cursor pos correctly and handle inset deletion by itself.
10642         (insertErrors): move iterator declaration out of for expression
10643
10644         * lyxtextclass.C: add <algorithm>
10645
10646         * Makefile.am: added the new files to sources, removed layout.C
10647
10648         * layout.C: removed file
10649
10650         * layout.h: remove LYX_DUMMY_LAYOUT
10651
10652         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10653         layout.
10654
10655         * lyxlayout.[Ch]:
10656         * lyxtextclass.[Ch]:
10657         * lyxtextclasslist.[Ch]: new files
10658
10659         * include order changes to a lot of files, also changes because of
10660         the six new files.
10661
10662 2001-12-27  Juergen Vigna  <jug@sad.it>
10663
10664         * buffer.C (asciiParagraph): more fixes.
10665
10666         * tabular.C (ascii): make ascii export support export of only the
10667         data separated by a column-delimiter.
10668         (ascii): better support for ascii export.
10669
10670         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10671
10672 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * tabular_funcs.C: use a "using std::getline" instead of the
10675         previous fix from Angus (necessary for cxx + lyxstring)
10676
10677 2001-12-24  Juergen Vigna  <jug@sad.it>
10678
10679         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10680
10681         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10682         problems. First check a minipage also if we have some ert-contents
10683         (not only on par->size(), second set the right depth of the paragraph
10684         on the relink to the root-paragraph-list!
10685
10686         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10687         which then did not anymore update the main paragraphs on undo/redo!
10688
10689 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10690
10691         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10692         code. Support all font-changing funcs (even those which are not in
10693         menu currently). Support for reporting font settings in
10694         mathed (disabled until Andre provides a function on mathed's side).
10695
10696         * func_status.h (toggle): small helper function to set toggle
10697         state on a flag.
10698
10699 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10700
10701         * tabular_funcs.C: getline -> std::getline
10702
10703 2001-12-21  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10706         accessed and could be 0 (I couldn't generate this but it seems
10707         Michael could!).
10708
10709 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10712         * tabular_funcs.h: here and include iosfwd
10713
10714 2001-12-20  Juergen Vigna  <jug@sad.it>
10715
10716         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10717         inside inset but undo_par was.
10718
10719 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * Thesaurus.C: always include <config.h> in sources.
10722
10723         * Painter.h:
10724         * lyxlookup.h:
10725         * box.h: do not include <config.h> in header files
10726
10727         * text.C (paintLastRow): remove unused variable
10728
10729         * text.C (transformChar):
10730         (insertChar):
10731         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10732
10733         * Painter.C (text):
10734         * font.C (width): rewrite to use uppercase() instead of
10735         islower/toupper.
10736
10737         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10738
10739 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * lyxfind.C: clean up of find failure position change
10742
10743 2001-12-20  Juergen Vigna  <jug@sad.it>
10744
10745         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10746
10747         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10748         (TeXRow): added to LaTeX a single tabular row.
10749         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10750         (Latex): simplified and finally good LT-h/f support.
10751         (various_functions): just small adaptions for LT-h/f support.
10752
10753         * tabular_funcs.[hC]: added and moved here all not classfunctions
10754         of LyXTabular.
10755
10756 2001-12-19  Juergen Vigna  <jug@sad.it>
10757
10758         * tabular.[Ch]: better support for longtabular options (not finished
10759         yet!)
10760
10761 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10762
10763         * text.C (paintLastRow): use the label font instead of the font of
10764         the last character to compute the size of *_BOX. This makes more
10765         sense and avoids a crash with empty paragraphs.
10766         Use Painter::rectangle to draw EMPTY_BOX.
10767
10768 2001-12-19  Juergen Vigna  <jug@sad.it>
10769
10770         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10771         the paragraphs if the replaced paragraph is not the first one!
10772         Tried to delete not used paragraphs but does not work yet so for
10773         now it's inside #ifdef's and by default off!
10774
10775 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10776
10777         * MenuBackend.C: include "lyx_main.h" instead of declaring
10778         lastfiles (actually was declared as LastFiles* instead of a
10779         scoped_ptr).
10780
10781 2001-12-17  Juergen Vigna  <jug@sad.it>
10782
10783         * tabular.C (AppendColumn): applied John's fix
10784
10785 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * BufferView.h:
10788         * BufferView.C:
10789         * BufferView_pimpl.h:
10790         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10791
10792         * Makefile.am:
10793         * box.h: new start of class for above
10794
10795         * lyxfunc.C: ignore space-only minibuffer dispatches.
10796           Show the command name when it doesn't exist
10797
10798         * minibuffer.C: don't add empty lines to the history
10799
10800         * minibuffer.C: add a space on dropdown completion
10801
10802 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * text.C: fix line above/below drawing in insets
10805
10806 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10807
10808         * lyxlength.C (LyXLength): Initialize private variables.
10809
10810 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10811
10812         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10813         when inserting error insets.
10814
10815 2001-12-13  Juergen Vigna  <jug@sad.it>
10816
10817         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10818         actually sometimes the before-paragraph.
10819         (setUndo): don't clear the redostack if we're not actually undoing!
10820
10821 2001-12-06  Juergen Vigna  <jug@sad.it>
10822
10823         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10824         and fixed redoing of main paragraph, so we can use it now ;)
10825
10826         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10827
10828 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10829
10830         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10831         Juergen's request
10832
10833 2001-12-13  André Pönitz <poenitz@gmx.net>
10834
10835         * undostack.[Ch]:
10836         * undo_func.C: minor cleanup
10837
10838 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10841         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10842         font in urw-fonts package which is marked as -urw-fontspecific and
10843         does not work (incidentally, changing the encoding in the
10844         fonts.dir of this package to -adobe-fontspecific fixes the
10845         problem).
10846
10847         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10848         is a crash when undoing first paragraph (Juergen, please take a
10849         look). THis does not mean the undo fix is wrong, just that it
10850         uncovers problems.
10851
10852         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10853         the (Paragraph*) version when needed instead of duplicating the
10854         code.
10855
10856         * text.C (workWidth): use Inset::parOwner to find out where the
10857         inset has been inserted. This is a huge performance gain for large
10858         documents with lots of insets. If Inset::parOwner is not set, fall
10859         back on the brute force method
10860
10861         * paragraph_pimpl.C (insertInset):
10862         * paragraph.C (Paragraph):
10863         (cutIntoMinibuffer): set parOwner of insets when
10864         inserting/removing them
10865
10866         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10867
10868 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10869
10870         * commandtags.h:
10871         * LyXAction.C:
10872         * lyx_main.C:
10873         * lyxfunc.C:
10874         * mathed/formulabase.C:
10875         * mathed/math_cursor.[Ch]:
10876         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10877
10878
10879 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10880
10881         * lyxlength.[Ch] (operator!=): new function
10882
10883 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10884
10885         * text.C (workWidth): use Inset::parOwner to find out where the
10886         inset has been inserted. This is a huge performance gain for large
10887         documents with lots of insets. If Inset::parOwner is not set, fall
10888         back on the brute force method
10889
10890         * paragraph_pimpl.C (insertInset):
10891         * paragraph.C (Paragraph):
10892         (cutIntoMinibuffer): set parOwner of insets when
10893         inserting/removing them
10894
10895         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10896
10897 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * tabular-old.C (getTokenValue):
10900         * tabular.C (getTokenValue):
10901         (write_attribute): new versions for LyXLength
10902         (everywhere): adjust the use of widths
10903
10904         * tabular.h: change the type of widths from string to LyXLength
10905
10906 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10907
10908         * paragraph.C: fixed missing line number count when exporting
10909         Environments to LaTeX file
10910
10911         * buffer.C: added informational message for checking line numbers.
10912
10913 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10916         paragraph, do the 'double space' part, but not the 'empty
10917         paragraph' one.
10918
10919         * text.C (workWidth): small optimization
10920         (getLengthMarkerHeight): use minimal size for negative lengths.
10921
10922 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10923
10924         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10925
10926         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10927
10928 2001-12-11  André Pönitz <poenitz@gmx.net>
10929
10930         * FontLoader.C:
10931         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10932
10933 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * text2.C: keep selection on a setFont()
10936
10937 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * lyx_cb.C: another bv->text misuse, from insert label
10940
10941 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * kbsequence.h:
10944         * kbsequence.C: re-instate nmodifier mask
10945
10946 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10947
10948         * lyx_main.h: make lyxGUI private.
10949
10950 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * lyxfind.C: place the cursor correctly on failed search
10953
10954 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10955
10956         * text.C (getLengthMarkerHeight): for small heights, the arrows
10957         are not always on top/bottom of the text
10958         (drawLengthMarker): smaller arrows; take the left margin in
10959         account; draw also vfills.
10960         (paintFirstRow):
10961         (paintLastRow): remove special code for vfill and standard spaces,
10962         since everything is handled in drawLengthMarker now.
10963
10964 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * buffer.C (insertErtContents): try to handle font and language
10967         interaction a bit better.g
10968
10969         * ColorHandler.C (updateColor): change the hash to cover the whole
10970         LColor enum, ws cleanup
10971         (getGCLinepars): ditto
10972         (getGCLinepars): only lookup in the linecache once.
10973
10974 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10975
10976         * iterators.C (operator++): Make the iterator more robust
10977
10978         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10979         (John's patch)
10980         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10981
10982 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * lyxtext.h:
10985         * text.C: better added space drawing
10986
10987 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * LyXView.C:
10990         * BufferView2.C: fix layout combo update on inset unlock
10991
10992 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * Makefile.am: don't compile unused files
10995
10996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * lyxfunc.C:
10999         * commandtags.h:
11000         * LyXAction.C: remove old LFUN_LAYOUTNO
11001
11002 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * paragraph_pimpl.h:
11005         * paragraph_pimpl.C: isTextAt() doesn't need font param
11006
11007 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * lyxlex.h:
11010         * lyxlex.C: little cleanup
11011
11012 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * BufferView_pimpl.C: fix insertAscii for insets
11015
11016 2001-12-05  Juergen Vigna  <jug@sad.it>
11017
11018         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11019         set the right font on the "multi" paragraph paste!
11020
11021 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * trans_decl.h:
11024         * trans_mgr.[Ch]:
11025         * trans.[Ch]:
11026         * lyxgluelength.C:
11027         * lyxlength.C: remove out-commented code.
11028
11029         * BufferView_pimpl:
11030         * CutAndPaste.C:
11031         * DepTable.C:
11032         * buffer.C:
11033         * chset.C:
11034         * lastfiles.C:
11035         * lyxlex.C:
11036         * lyxlex_pimpl.C:
11037         * lyxserver.C:
11038         * screen.C:
11039         * tabular-old.C:
11040         * tabular.C:
11041         * text.C:
11042         * trans_mgr.C:
11043         * vc-backend.C: change "while(" to "while ("
11044
11045         * lyxlength.[Ch]: add zero function to check if length is zero or
11046         not
11047         * lyxgluelength.C: use it
11048
11049 2001-12-05  Allan Rae  <rae@lyx.org>
11050
11051         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11052         Works for 2.95.3, from what I understand of Garst's reports this should
11053         work for other g++ versions.  We're screwed if the abs(int) definition
11054         changed between bugfix releases of gcc.
11055
11056 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * text.C: fix chapter label offset !
11059
11060 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * lyxtext.h:
11063         * text.C: fix hfill at end of line, clean up
11064
11065 2001-12-04  Juergen Vigna  <jug@sad.it>
11066
11067         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11068         that we force an update of the inset and it's owners if neccessary.
11069
11070 2001-12-03  Juergen Vigna  <jug@sad.it>
11071
11072         * text.C (rowLast): simplified code
11073
11074 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * lyxfunc.C: fix show options on timeout
11077
11078 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * screen.C (topCursorVisible): scroll half a page when the cursor
11081         reached top of bottom of screen
11082
11083 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * minibuffer.C: deactivate on loss of focus
11086
11087 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * vspace.[Ch] (operator!=): add operator.
11090
11091 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * BufferView_pimpl.C: refuse to open an inset when
11094         there's a selection.
11095
11096 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11097
11098         * BufferView_pimpl.C: allow to click on RHS of full row insets
11099
11100 2001-11-30  Juergen Vigna  <jug@sad.it>
11101
11102         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11103         insets for undo reasons.
11104
11105 2001-11-28  André Pönitz <poenitz@gmx.net>
11106
11107         * vspace.[Ch]: cosmetical changes
11108
11109 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * LyXAction.h:
11112         * LyXAction.C:
11113         * lyxfunc.h:
11114         * lyxfunc.C:
11115         * kbmap.h:
11116         * kbmap.C:
11117         * lyxrc.C:
11118         * kbsequence.h:
11119         * kbsequence.C: part re-write of old kb code
11120
11121         * Painter.C:
11122         * WorkArea.C: remove Lgb_bug_find_hack
11123
11124 2001-11-30  José Matos <jamatos@fep.up.pt>
11125
11126         * buffer.C (makeDocBookFile): add a comment to point a hack.
11127         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11128         Fixed a double write of labels.
11129
11130 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11131
11132         * LaTeX.C:
11133         * LaTeX.h Fixed bug in LaTeX class where it would not
11134         re-run latex if no depfiles were changed, but the .dvi was removed.
11135
11136 2001-11-28  André Pönitz <poenitz@gmx.net>
11137
11138         * all the files from the change on 2001/11/26:
11139         use lyx::layout_type instead of LyXTextClass::size_type
11140         use lyx::textclass_type instead of LyXTextClassList::size_type
11141
11142 2001-11-29  Juergen Vigna  <jug@sad.it>
11143
11144         * text.C: added support for paragraph::isFreeSpacing()
11145
11146         * buffer.C: same as above
11147
11148         * paragraph.h: inserted isFreeSpacing() function to enable
11149         FreeSpacing inside InsetERT.
11150
11151         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11152         of the paragraph's in the cut/copy buffer to 0!
11153
11154         * text2.C (removeRow): remove the assert as it can!
11155
11156         * lyxtext.h: added helper function firstRow returning firstrow and
11157         made firstrow private again.
11158
11159         * BufferView2.C (lockInset): don't relock if we're already locked!
11160
11161         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11162         the only paragraph.
11163         (removeRow): added Assert::(firstrow)
11164
11165         * debug.C: forgot to add INSETTEXT here.
11166
11167 2001-11-28  Juergen Vigna  <jug@sad.it>
11168
11169         * sp_spell.C (initialize): changed error text to more general
11170         spellchecker command use (not only ispell!)
11171
11172         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11173
11174         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11175
11176 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * vspace.C: initialise lyxgluelength on failure
11179
11180 2001-11-28  Allan Rae  <rae@lyx.org>
11181
11182         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11183         declaration & definition that looks like a function declaration.
11184
11185 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11186
11187         * BufferView2.C (copy):
11188         (copyEnvironment): do not clear the selection when doing a copy.
11189
11190         * text.C (paintFirstRow): compilation fix
11191
11192 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11193
11194         * tabular.C (Latex): correct line count when writing latex.
11195
11196 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * paragraph_pimpl.h:
11199         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11200           bug a bit
11201
11202 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * text.C:
11205         * LColor.h:
11206         * LColor.C: change vfillline->added_space
11207
11208         * text.C: add markers and text for added space
11209
11210         * vspace.C: fix comment
11211
11212 2001-11-28  André Pönitz <poenitz@gmx.net>
11213
11214         * paragraph.C: whitespace changes
11215         * all the other files from the change on 2001/11/26:
11216         change *::pos_type into lyx::pos_type
11217
11218 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11221         language of the document when inserting error insets.
11222
11223 2001-11-26  André Pönitz <poenitz@gmx.net>
11224
11225         * BufferView_pimpl.[Ch]:
11226         *       CutAndPaste.C:
11227         * buffer.[Ch]:
11228         * lyxcursor.[Ch]:
11229         * lyxfind.C:
11230         * lyxfunc.C:
11231         * lyxrow.[Ch]:
11232         * paragraph.[Ch]:
11233         * paragraph_pimpl.[Ch]:
11234         * sp_spell.C:
11235         * text.C:
11236         * text2.C: reduce header dependencies, introduce type for positions
11237
11238 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * <various>: change to use Alert.h
11241
11242 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11243
11244         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11245         when encountering an unknown token.
11246         (readLyXformat2): Show an error message if there were unknown tokens.
11247
11248 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * BufferView2.C:
11251         * BufferView_pimpl.C:
11252         * buffer.C:
11253         * paragraph.h:
11254         * text.C:
11255         * text2.C: use par->isInset()
11256
11257 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * paragraph_pimpl.h:
11260         * paragraph_pimpl.C: cleanup
11261
11262 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11263
11264         * text2.C (removeRow):
11265         * text.C (setHeightOfRow): remove useless (and costly) call to
11266         getRow.
11267
11268 2001-11-20  Allan Rae  <rae@lyx.org>
11269
11270         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11271         Now need Inset*::checkInsertChar() to return true for appropriate
11272         cases so that the characters in the minibuffer will actually be
11273         inserted.
11274
11275 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * text.C: change the order of the includes.
11278         (workWidth): initialize it at once.
11279         (workWidth): make maxw unsigned
11280         (setHeightOfRow): remove unused variable (inset)
11281         (selectSelectedWord): remove unused variable (inset)
11282         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11283
11284 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11285
11286         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11287         server is not running.
11288         (openConnection):
11289         (closeConnection): add debug info when server is disabled.
11290
11291         * ColorHandler.C (getGCForeground): send debug message to GUI
11292         channel.
11293
11294         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11295
11296         * kbmap.C (bind): modify because return conventions of
11297         kb_sequence::parse have changed.
11298
11299         * kbsequence.C (parse): only ignore spaces and not any stupid
11300         control character. This avoids tests like s[i] <= ' ', which are
11301         guaranteed to fail with 8bit characters and signed chars.
11302         Change return code to string::npos when there have been no error
11303         (0 was a bad idea when error is at first character)
11304
11305 2001-11-14  José Matos  <jamatos@fep.up.pt>
11306
11307         * buffer.h:
11308         * buffer.C (simpleDocBookOnePar): removed unused argument.
11309
11310 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11311
11312         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11313         insets which are part of a word. Paragraph::isLetter takes care of
11314         that now. Use Paragraph::isInset to identify insets.
11315         (selectSelectedWord): do not test for hyphenation break.
11316
11317         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11318         that protected spaces are considered as spaces.
11319
11320         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11321         Inset::isLetter.
11322
11323 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * lyxserver.h:
11326         * lyxserver.C: fix it. and small cleanup.
11327
11328 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * BufferView_pimpl.C: use inline helpers
11331
11332         * LaTeXFeatures.h:
11333         * LaTeXFeatures.C: fix typos
11334
11335         * Spacing.h:
11336         * Spacing.C: move spacing_string into class
11337
11338         * ToolbarDefaults.C: move stuff into namespace anon
11339
11340         * layout.h: update enum
11341
11342         * lyxfunc.C: use better debug
11343
11344         * minibuffer.h: fix typo
11345
11346         * debug.h:
11347         * debug.C:
11348         * WorkArea.C: add and use Debug::WORKAREA
11349
11350         * lyxtext.h:
11351         * text.C:
11352         * text2.C: code re-organisation, inline helpers
11353
11354 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11355
11356         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11357         std::vector.empty().
11358
11359 2001-11-09  Allan Rae  <rae@lyx.org>
11360
11361         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11362         '\n's after tables.  Tabular and ERT inset work now makes this no
11363         longer necessary.
11364
11365 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * minibuffer.h:
11368         * minibuffer.C: fix crash, improve drop-down completion
11369
11370 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * lyxserver.h:
11373         * lyxserver.C: invalidate fd's when doing endPipe()
11374
11375 2001-11-08  José Matos  <jamatos@fep.up.pt>
11376
11377         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11378         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11379
11380         * paragraph.h:
11381         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11382
11383 2001-11-07  José Matos  <jamatos@fep.up.pt>
11384
11385         * buffer.h:
11386         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11387         const qualifier.
11388
11389         * buffer.C (sgmlOpenTag):
11390         * buffer.C (sgmlCloseTag): removed debug info.
11391
11392         * buffer.h (sgmlOpenTag):
11393         * buffer.h (sgmlCloseTag): made public.
11394
11395 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11396
11397         * buffer.C (saveParamsAsDefaults):
11398         * lyx_cb.C (MenuLayoutSave): remove
11399
11400         * LyXAction.C (init):
11401         * commandtags.h:
11402         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11403
11404 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * buffer.C (setPaperStuff): removed from here...
11407
11408         * bufferparams.C (setPaperStuff): ... and moved there.
11409
11410 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * minibuffer.h:
11413         * minibuffer.C:
11414         * XFormsView.C: add support for drop-down completion
11415
11416 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11417
11418         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11419         commands.
11420
11421 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11424         disabled.
11425
11426 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * lyx_main.C: change ref to known bugs
11429
11430 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11431
11432         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11433         to work around older babel problems.
11434
11435 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11436
11437         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11438
11439 2001-10-24  Juergen Vigna  <jug@sad.it>
11440
11441         * tabular-old.C (ReadOld): below variable changes reflected.
11442
11443         * tabular.[Ch]: added ltType struct for longtable header/footer
11444         defines and changed all instances where they are used. Added
11445         future support for double top/bottom rows.
11446
11447 2001-10-24  José Matos  <jamatos@fep.up.pt>
11448
11449         * buffer.h (docbookHandleCaption):
11450         * buffer.C (docbookHandleCaption): removed unused function.
11451         (makeDocBookFile): moved docbook supported version to v4.1.
11452
11453 2001-10-24  José Matos  <jamatos@fep.up.pt>
11454
11455         * tabular.h:
11456         * tabular.C (docbookRow): new function to export docbook code of a row.
11457         (DocBook): now honors the longtable flags.
11458
11459 2001-10-23  José Matos  <jamatos@fep.up.pt>
11460
11461         * LaTeXFeatures.h:
11462         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11463         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11464
11465         * buffer.C (makeLinuxDocFile):
11466         (makeDocBookFile): reworked the preamble, more clean, and with
11467         support for lyx defined entities. Changed the document declaration
11468         to be more XML friendly.
11469
11470         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11471         if we need to output XML that should be done with a filter.
11472
11473 2001-10-22  Juergen Vigna  <jug@sad.it>
11474
11475         * sp_pspell.h (class PSpell): add alive function needed in the
11476         controller to see if the spellchecker could be started.
11477
11478 2001-10-22  Juergen Vigna  <jug@sad.it>
11479
11480         * buffer.C (insertStringAsLines): modify the font for inserting
11481         chars in certain conditions by calling checkInsertChar(font).
11482
11483 2001-10-19  Juergen Vigna  <jug@sad.it>
11484
11485         * text.C (workWidth): use getRow instead of wrong algorithm.
11486         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11487
11488 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * lyxserver.h:
11491         * lyxserver.C:
11492         * lyx_main.h:
11493         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11494
11495 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11496
11497         * text.C (workWidth): do not search for the exact row when
11498         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11499         optimization for big documents.
11500
11501 2001-10-18  Juergen Vigna  <jug@sad.it>
11502
11503         * text.C (workWidth): new function with added Inset * parameter.
11504
11505 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11506
11507         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11508
11509         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11510         change return type of getColumnNearX.
11511
11512
11513         * text.C (changeRegionCase): use uppercase/lowercase instead of
11514         toupper/tolower.
11515         (leftMargin):
11516         (rightMargin): simplify code by factoring out the uses of
11517         textclasslist.
11518         (labelFill):
11519         (numberOfHfills):
11520         (setHeightOfRow):
11521         (appendParagraph): use Paragraph::size_type
11522
11523 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11524
11525         * vspace.C (asLatexString): add a missing break
11526
11527 2001-10-15  Herbert Voss  <voss@perce.de>
11528
11529         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11530
11531 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11532
11533         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11534         is not available.
11535
11536 2001-10-10  André Pönitz <poenitz@gmx.net>
11537
11538         * lyxfunc.C: removed greek_kb_flag.
11539
11540 2001-10-10  Herbert Voss  <voss@perce.de>
11541
11542         * lyx_main.C: delete global string help_lyxdir.
11543
11544 2001-10-09  Herbert Voss  <voss@perce.de>
11545
11546         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11547
11548         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11549
11550         * lyx_main.C: added global string help_lyxdir.
11551
11552         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11553
11554 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11555
11556         * lyxrc.C (set_font_norm_type): support iso8859-4
11557
11558 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11559
11560         * LaTeX.C (deplog): add another regex for MikTeX
11561
11562 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11563
11564         * lyxrc.C (set_font_norm_type): support iso8859-3
11565
11566 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11567
11568         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11569
11570         * LaTeXFeatures.C: remove special case of french and index
11571
11572         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11573         before \begin{document}). This solves several incompatibilities.
11574
11575 2001-10-03  Garst Reese  <reese@isn.net>
11576
11577         * lyx_cb.C: change CheckTex error msg.
11578
11579 2001-10-03  José Matos  <jamatos@fep.up.pt>
11580
11581         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11582
11583 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11584
11585         * .cvsignore: update
11586
11587         * lyx_main.C (commandLineVersionInfo): use new style version info.
11588
11589         * buffer.C (writeFile):
11590         (makeLaTeXFile):
11591         (makeLinuxDocFile):
11592         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11593
11594         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11595
11596         * version.h: update to use stuff in version.C
11597
11598         * version.C.in: new file. Contains version information determined
11599         at compile time. This is a merging of version.h and
11600         version_info.h.in.
11601
11602 2001-10-03  Juergen Vigna  <jug@sad.it>
11603
11604         * BufferView_pimpl.C (update): don't change "dirty" status in
11605         updateInset call.
11606
11607 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11608
11609         * WorkArea.C (c-tor): re-position version string slightly.
11610
11611 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11614         revert to previous code.
11615
11616         WorkArea.[Ch]: (show, destroySplash): methods removed.
11617
11618         WorkArea.C: rework code so that it's an amalgam of the codes before and
11619         after the splash screen was moved to WorkArea.
11620
11621 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11622
11623         * lyxrc.C (read):
11624         * vspace.C (inPixels):
11625         (lyx_advance):
11626         * kbmap.C (bind):
11627         * buffer.C (insertStringAsLines):
11628         (asciiParagraph): fix types to be large enough
11629
11630         * lyxlex_pimpl.h: change member status from short to int
11631
11632         * layout.h: fix type of endlabeltype
11633
11634         * kbmap.C (bind):
11635         * kbsequence.C (parse): change return type to string::size_type
11636
11637         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11638         variable
11639
11640         * Bullet.C (bulletSize):
11641         (bulletEntry): do not use short ints as parameters
11642
11643         * BufferView2.C (insertLyXFile): change a char to an int.
11644
11645         * WorkArea.C (WorkArea): remove unneeded floats in computation
11646
11647 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11648
11649         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11650
11651         * paragraph.C (asString): Do not ignore newline/hfill chars when
11652         copying to the clipboard.
11653
11654 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11657         after a multi-line inset.
11658
11659 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11660
11661         * paragraph.C (validate): Set NeedLyXFootnoteCode
11662
11663 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11664
11665         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11666         and decrease-error to decrease.
11667
11668 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11671         it more readable (should be equivalent)
11672
11673 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11674
11675         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11676
11677 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11678
11679         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11680         of a cursor (row, etc.) after a character has been deleted
11681         (deleteEmptyParagraphMechanism): call the method above on _all_
11682         cursors held by the LyXText when a double space has been
11683         detected/deleted.
11684
11685 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11686
11687         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11688         pixmap.
11689         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11690
11691         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11692         background. Use greyOut() and the new show() methods to toggle between
11693         the foreground and background. Add code to remove the splash after
11694         its initial showing.
11695
11696         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11697         (create_forms): no longer call Dialogs::showSplash.
11698
11699 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * .cvsignore: add version_info.h
11702
11703 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * version_info.h.in: new file
11706
11707         * Makefile.am: add version_info.h.in
11708
11709         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11710         version_info.h instead of VERSION_INFO
11711
11712 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11713
11714         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11715         The ERT inset now returns string().
11716
11717 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * lyxtext.h, text.C (selectNextWord): renamed as
11720         selectNextWordToSpellcheck.
11721
11722         * text.C (selectNextWordToSpellcheck): Modified to not select
11723         words inside an ERT inset.
11724
11725 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11726
11727         * lyx_cb.C (MenuLayoutSave): change a bit the question
11728
11729         * sp_base.h: include <sys/types.h>
11730
11731 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11732
11733         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11734
11735 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11736
11737         * several files: fix typos in user-visible strings
11738
11739 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11740
11741         * text2.C (pasteSelection): do not set the selection, since it
11742         will be cleared later. Actually, the intent was to fix the way the
11743         selection was set, but I figured rmoving the code was just as good.
11744
11745 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11746
11747         * FontLoader.C (available): Check if font is available without
11748         loading the font.
11749
11750 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11751
11752         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11753
11754 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11755
11756         * lyxrc.[Ch]: added display_graphics variable and associated code.
11757
11758 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * bufferparams.C (hasClassDefaults): new method. Returns true if
11761         the buffer parameters correspond to known class defaults
11762
11763 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * XFormsView.C (show): set minimum size to the main window.
11766
11767 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11768
11769         * text2.C (copySelection):
11770         (cutSelection):
11771         * lyxfind.C (LyXReplace):
11772         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11773         LyXText::selectionAsString.
11774
11775         * paragraph.C (asString): add "label" argument to the second form
11776
11777         * text2.C (selectionAsString): add "label" argument and pass it to
11778         Paragraph::asString.
11779
11780 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11781
11782         * lyx_main.C (commandLineHelp): remove version information
11783
11784 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11785
11786         * lyx_main.C: add -version commandline option
11787
11788 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * paragraph.h: make the optional constructor arg required instead.
11791         some modifications to other files because of this.
11792
11793         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11794
11795         * lyxserver.C (C_LyXComm_callback): make it static
11796
11797         * lyx_main.C (error_handler): make it static
11798
11799         * lyx_gui.C (LyX_XErrHandler): make it static
11800
11801         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11802
11803         * WorkArea.C: make the extern "C" methods static.
11804
11805         * Makefile.am (lyx_LDADD): simplify
11806
11807 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11808
11809         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11810         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11811
11812         * LyXAction.C (init):
11813         * lyxfunc.C (dispatch): associated code removal.
11814
11815 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11816
11817         * lyxfont.h (isSymbolFont): shut off warning
11818
11819         * text.C (setHeightOfRow):
11820         (getVisibleRow): fix crash with empty paragraphs which have a
11821         bottom line
11822
11823 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11824
11825         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11826         code.
11827
11828 2001-09-04  José Matos  <jamatos@fep.up.pt>
11829         * buffer.C
11830         * buffer.h
11831         * tabular.C (docbook): rename docBook method to docbook.
11832
11833 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11834
11835         * Makefile.am: add dependencies to main.o.
11836
11837 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11838
11839         * FontLoader.C (available): Return false if !lyxrc.use_gui
11840
11841 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11842
11843         * FontInfo.C (query):
11844         * converter.C (view):
11845         * importer.C (Import):
11846         * exporter.C (Export): Can not -> cannot.
11847
11848 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * BufferView_pimpl.C: allow to create index inset even if
11851           string is empty
11852
11853 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11854
11855         * buffer.C (getLists): replace boost::tie code with an explicit pair
11856         as boost::tie can break some compilers.
11857
11858         * iterators.h: Added a std:: declaration to the return type of
11859         ParIterator::size.
11860
11861 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11864           case.
11865
11866 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * iterators.[Ch]: New files. Provide paragraph iterators.
11869
11870         * buffer.C (changeLanguage): Use paragraph iterators.
11871         (isMultiLingual): ditto
11872
11873         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11874
11875 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11876
11877         * FontLoader.C: Support for cmr font.
11878
11879 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11880
11881         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11882         (available): New method.
11883
11884         * FontInfo.C (getFontname): Use scalable fonts even when
11885         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11886         found.
11887
11888 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * converter.C (Formats::view): reverted! Incorrect fix.
11891
11892 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11893
11894         * converter.C (Formats::view): only output the -paper option
11895         if the dvi viewer is xdvi, thereby fixing bug #233429.
11896
11897 2001-08-23  Herbert Voss  <voss@perce>
11898
11899         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11900
11901 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11902
11903         * Spacing.h (Spacing): Set space to Default on in the default
11904         constructor.
11905
11906 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * vc-backend.h (RCS::versionString): add RCS to version
11909         (CVS::versionString): add CVS to version
11910
11911         * vc-backend.C (scanMaster): do not add CVS to version.
11912         (scanMaster): do not add RCS to version
11913
11914         * lyxvc.C (versionString): new method
11915
11916         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11917
11918 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * Spacing.C (set): initialize fval
11921
11922 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11923
11924         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11925         " or \.
11926
11927 2001-08-16  Juergen Vigna  <jug@sad.it>
11928
11929         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11930
11931 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * BufferView_pimpl.C:
11934         * figureForm.C:
11935         * lyxtext.h:
11936         * text2.C: setParagraph takes linespacing now
11937
11938 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * LyxAction.C: add internal LFUN_CITATION_INSERT
11941
11942         * LyXView.C: actually apply fix
11943
11944         * bufferlist.C: fix open non-existent file
11945
11946         * lyxfind.C: fix indentation
11947
11948         * lyxfunc.C: remove unneeded assert, fix typo
11949
11950 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * MenuBackend.C: use "Floatname List"
11953
11954 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11955
11956         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11957         when converting LaTeX layout to insetERT.
11958         Generate a non-collapsed float when reading old float
11959
11960 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11961
11962         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11963         ERT insets.
11964
11965 2001-08-13  Juergen Vigna  <jug@sad.it>
11966
11967         * text.C (fill): return 0 instead of 20 as this seems to be the more
11968         correct value.
11969
11970 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11971
11972         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11973         lyxrc.font_norm.
11974
11975 2001-08-13  Juergen Vigna  <jug@sad.it>
11976
11977         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11978         casesensitive off.
11979         (SearchBackward): comment out the unlocking of the inset_owner this
11980         should not be needed!
11981
11982 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11983
11984         * Many files: Remove inherit_language, and add latex_language
11985
11986         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11987         collapsible insets.
11988
11989 2001-08-10  Juergen Vigna  <jug@sad.it>
11990
11991         * text.C (prepareToPrint): fixed hfill-width in draw!
11992
11993         * BufferView2.C (selectLastWord): save the selection cursor as this
11994         now is cleared in the function LyXText::clearSelection!
11995
11996 2001-08-08  Juergen Vigna  <jug@sad.it>
11997
11998         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11999         BACKSPACE type functions.
12000
12001         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12002         is only cutted from the document but not put in the cut-buffer, where
12003         still the old stuff should be.
12004
12005         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12006
12007         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12008
12009         * tabular.C (SetWidthOfCell): fixed special case where the width
12010         was not updated!
12011         (LeftLine): handle '|' in align_special.
12012         (RightLine): ditto
12013         (LeftAlreadyDrawed): ditto
12014         (SetWidthOfCell): ditto
12015
12016 2001-08-07  Juergen Vigna  <jug@sad.it>
12017
12018         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12019
12020 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12023         * lyxlex.[hC]: ditto
12024
12025 2001-08-06  Juergen Vigna  <jug@sad.it>
12026
12027         * text.C (getVisibleRow): fix up row clearing a bit.
12028
12029 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * minibuffer.C: make sure the X server sees the changes in the input.
12032
12033 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * paragraph.C (getFont): split into...
12036         (getLabelFont): this
12037         (getLayoutFont): and this
12038         * paragraph_pimpl.C (realizeFont): calling this
12039
12040         * text2.C (getFont): split into...
12041         (getLayoutFont): this
12042         (getLabelFont): and this
12043         (realizeFont): all three calling this
12044
12045         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12046         files where used.
12047
12048 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12049
12050         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12051
12052 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12053
12054         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12055         layouts from the Quote inset insertion.
12056
12057 2001-08-03  Juergen Vigna  <jug@sad.it>
12058
12059         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12060
12061         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12062         only if status not is already CHANGED_IN_DRAW (second level).
12063
12064         * text.C (draw): don't set the need_break_row when inside an
12065         InsetText LyXText.
12066
12067 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * buffer.C (parseSingleLyXformat2Token): handle more latex
12070         conversion cases.
12071
12072         * bufferview_funcs.[hC]: change function names to
12073         begin with small char, adjust other files.
12074
12075 2001-08-02  André Pönitz <poenitz@gmx.net>
12076
12077         * lyxfunc.C:
12078         BufferView_pimpl.C: remove broken special code for math-greek
12079
12080 2001-08-02  Juergen Vigna  <jug@sad.it>
12081
12082         * BufferView_pimpl.C (update): redone this function so that we
12083         update the text again if there was a CHANGE_IN_DRAW.
12084
12085         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12086         (drawFromTo): added a new internal bool which is used by draw() and
12087         redraw() function.
12088         (general): some cursor drawing problems fixed.
12089
12090 2001-08-01  Juergen Vigna  <jug@sad.it>
12091
12092         * lyxfind.C (LyXFind): fixed
12093         (SearchForward): ditto
12094         (SearchBackward): ditto
12095
12096         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12097         spurius drawing of the cursor in the main area.
12098
12099         * text2.C (status): small fix which could lead to a segfault!
12100         (clearSelection): remove unneeded BufferView param.
12101
12102 2001-08-01  André Pönitz <poenitz@gmx.net>
12103
12104         * lyxfunc.C: small change due to changed mathed interface
12105
12106 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12109
12110 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * lyxfunc.c: fail gracefully if file doesn't exist
12113
12114         * LyXSendto.C:
12115         * buffer.C:
12116         * lyxfunc.C:
12117         * BufferView_pimpl.C: IsDirWriteable() proto changed
12118
12119         * LyXView.C: fix updateWindowTitle() to store the last title
12120
12121 2001-07-31  Juergen Vigna  <jug@sad.it>
12122
12123         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12124         the font (wrong since using of Paragraph::highestFontInRange).
12125
12126         * paragraph.C (highestFontInRange): added a default_size parameter.
12127
12128         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12129         (setHeightOfRow): reformat
12130
12131 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * converter.[hC] + affected files: move to (inital-char)lowercase
12134         function names.
12135
12136         * ParagraphParameters.C (ParagraphParameters): remove commented code
12137
12138         * PainterBase.[Ch]: remove commented code
12139
12140         * LaTeXFeatures.h: add "bool floats" for float.sty
12141
12142         * LaTeXFeatures.C (LaTeXFeatures): init floats
12143         (require): handle float
12144         (getPackages): do it with floats
12145
12146 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * BufferView_pimpl.C (Dispatch): improve handling of
12149         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12150
12151         * commandtags.h: #include lyxfont.h here temporarily to avoid
12152         keybinding bug.
12153
12154         * bufferlist.h: include LString.h here.
12155
12156 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * text2.C (getStringToIndex): new method.
12159
12160 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12161
12162         * *: Reduced header file dependencies all over.
12163
12164 2001-07-30  Baruch Even  <baruch@lyx.org>
12165
12166         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12167
12168 2001-07-29  Baruch Even  <baruch@lyx.org>
12169
12170         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12171
12172 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * ParameterStruct.h (endif): add a default constructor to make
12175         sure that all variables is initialized.
12176
12177         * ParagraphParameters.C (ParagraphParameters): adjust
12178
12179 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12180
12181         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12182         index; also, check that there is something to index, and that it
12183         does not span over several paragraphs.
12184         (doubleClick): use WHOLE_WORD_STRICT for double click.
12185
12186         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12187
12188         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12189         scheme.
12190
12191 2001-07-26  Baruch Even  <baruch@lyx.org>
12192
12193         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12194         an InsetFig figure, backwards compatible reading of old figure code.
12195
12196 2001-07-27  Juergen Vigna  <jug@sad.it>
12197
12198         * text2.C: font.realize function adaption.
12199
12200         * text.C (draw): add a warnings lyxerr text if needed.
12201
12202         * layout.C: font.realize function adaption.
12203
12204         * language.C: add inherit_language and implement it's handlings
12205
12206         * bufferview_funcs.C (StyleReset): remove language parameter from
12207         font creation (should be language_inherit now).
12208
12209         * bufferparams.C (writeFile): handle ignore_language.
12210
12211         * paragraph.C (getFontSettings): the language has to be resolved
12212         otherwise we have problems in LyXFont!
12213
12214         * lyxfont.C (lyxWriteChanges): added document_language parameter
12215         (update): removed unneeded language parameter
12216
12217         * paragraph.C (validate): fixed wrong output of color-package when
12218         using interface colors for certain fonts in certain environments,
12219         which should not seen as that on the final output.
12220
12221 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * BufferView_pimpl.C:
12224         * Thesaurus.h:
12225         * Thesaurus.C:
12226         * Makefile.am:
12227         * commandtags.h:
12228         * LyXAction.C: add thesaurus support
12229
12230         * lyxfind.h:
12231         * lyxfind.C: add "once" parameter, for thesaurus, to not
12232           move to the next match
12233
12234 2001-07-26  Juergen Vigna  <jug@sad.it>
12235
12236         * lyxfont.C (realize): honor ignore_language too!
12237         (resolved): ditto.
12238
12239         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12240
12241         * text.C (draw): one place more for ignore_language to not draw
12242         itself!
12243
12244 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12247
12248 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12251         the minipage conversion problem.
12252
12253 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12256         insert an inset.
12257
12258 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * BufferView.h: don't forward declare WorkArea
12261
12262         * BufferView.C: don't include WorkArea.h
12263
12264 2001-07-25  André Pönitz <poenitz@gmx.net>
12265
12266         * commandtags.h:
12267         * LyXAction.C:
12268         * lyxfunc.C:  new LFUN 'math-space'
12269
12270         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12271
12272 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * text2.C (toggleInset): call open/close
12275
12276 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * lyxfunc.C (dispatch): add debug for the disabled case
12279
12280         * font.C (buttonText): make similar to rectText
12281
12282         * buffer.C (readInset): comment out parsing of insetlist and
12283         insttheorem
12284
12285         * PainterBase.C (rectText): small correction
12286
12287         * BufferView_pimpl.C: comment out insettheorem and insetlist
12288         * LyXAction.C: ditto
12289         * commandtags.h: ditto
12290
12291 2001-07-24  Juergen Vigna  <jug@sad.it>
12292
12293         * text.C (draw): honor the ignore_language.
12294
12295         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12296
12297 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12298
12299         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12300         char inset.
12301
12302 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12303
12304         * lyxtext.h: remove unused (and unimplemented) methods
12305
12306 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12307
12308         * text.C (getVisibleRow): honor background color
12309
12310         * PainterBase.h:
12311         * Painter.h: remove default color argument for fillRectangle
12312
12313         * text.C (backgroundColor): new method
12314
12315 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * text.C (getVisibleRow): adjust
12318
12319         * font.[Ch] (rectText): new method, metrics
12320         (buttonText): new method, metrics
12321
12322         * PainterBase.[hC]: make rectText and buttonText always draw and take
12323         fewer paramteres.
12324
12325 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12326
12327         * ToolbarDefaults.C (read):
12328         * MenuBackend.C (read): allow escaping in all strings
12329
12330         * BufferView_pimpl.C (insertAndEditInset): new method.
12331         (Dispatch): use insertAndEditInset whenever appropriate.
12332
12333         * BufferView_pimpl.C (insertNote): removed
12334
12335         * BufferView_pimpl.C (smartQuote): new method, moved from
12336         BufferView; if an insetquote cannot be inserted, insert a '"'
12337         character instead.
12338
12339         * BufferView2.C: remove insertCorrectQuote();
12340
12341         * lyxfunc.C (getStatus): Add support for all remaingin
12342         inset-insert lfuns.
12343
12344         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12345
12346         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12347         command (necessary to pass " as parameter of self-insert.
12348
12349         * text.C (selectWordWhenUnderCursor):
12350         (selectWord): add word_location parameter
12351         (selectWordWhenUnderCursor): same + remove special code for word
12352         boundary.
12353         (selectNextWord): use kind() to guess type of insetspecialchar,
12354         not latex().
12355
12356         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12357         (insertErtContents): create ert insets as collapsed.
12358         (readInset): better compatibility code for Info inset.
12359
12360 2001-07-20  Juergen Vigna  <jug@sad.it>
12361
12362         * lyxfunc.C (dispatch): use always LyXFind now!
12363
12364         * text2.C (init): add a reinit flag so that the LyXText can be
12365         reinited instead of deleted and reallocated (used in InsetText).
12366
12367         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12368
12369         * text.C: ditto
12370
12371         * text2.C: ditto
12372
12373 2001-07-18  Juergen Vigna  <jug@sad.it>
12374
12375         * text.C (selectNextWord): handle insets inside inset by calling
12376         always the bv->text functions so that we can go up the_locking_inset!
12377
12378         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12379         in strange locations when inside an inset!
12380
12381         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12382         handling to include insets.
12383
12384         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12385
12386 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * LyXAction.C (init):
12389         * commandtags.h:
12390         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12391         LIGATURE_BREAK, since the name is so stupid.
12392
12393 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12396         InsetInfos.
12397
12398         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12399
12400         * sp_form.[Ch]: remove.
12401
12402         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12403
12404         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12405         InsetInfo.
12406
12407         * src/buffer.C (readInset): ditto.
12408
12409 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12410
12411         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12412         menuSeparator(), endOfSentenceDot(), ldots() and
12413         hyphenationPoint(), which are therefore removed.
12414         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12415
12416         * LyXAction.C (init):
12417         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12418
12419         * paragraph.C (getWord): removed.
12420
12421         * BufferView_pimpl.C (Dispatch): use last word or selection for
12422         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12423
12424         * lyx_main.C (queryUserLyXDir): do not ask before creating
12425         user_dir, except if it has been named explicitely.
12426
12427 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12430         a document of zero size.
12431
12432 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12433
12434         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12435         approriately in the c-tor and in require().
12436         (getPackages): output the appropriate LaTeX for natbib support.
12437
12438         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12439         variables "use_natbib" and "use_numerical_citations" when reading the
12440         LyX file.
12441         (readInset): read the various natbib cite commands.
12442         (validate): white-space change.
12443
12444         * bufferparams.[Ch]: new variables "bool use_natbib" and
12445         "bool use_numerical_citations".
12446         (writeFile): output them in the LyX file.
12447
12448 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12449
12450         * lyxfunc.C (getStatus): add support for all the inset insertion
12451         commands.
12452
12453         * text2.C (insertInset):
12454         * paragraph.C (insetAllowed):
12455         * BufferView_pimpl.C (insertInset): update to take in account the
12456         renaming of insertInsetAllowed
12457
12458         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12459
12460         * text2.C (getInset): new method. returns inset at cursor position.
12461
12462         * BufferView_pimpl.C (Dispatch): changes because of this.
12463
12464         * LyXAction.C (init): rename open-stuff to inset-toggle.
12465
12466         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12467
12468         * text2.C (toggleInset): renamed from openStuff; use
12469         Inset::open().
12470
12471 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12472
12473         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12474
12475         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12476
12477 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12478
12479         * buffer.C (readLyXformat2): Add filename to the error dialog
12480
12481 2001-07-18  Juergen Vigna  <jug@sad.it>
12482
12483         * tabular.C (GetCellNumber): put an assert here instead of the check!
12484
12485 2001-07-17  Juergen Vigna  <jug@sad.it>
12486
12487         * BufferView_pimpl.C (toggleSelection): adapted too.
12488
12489         * text.C (selectNextWord): adapted for use with insets.
12490         (selectSelectedWord): ditto
12491
12492 2001-07-17  Juergen Vigna  <jug@sad.it>
12493
12494         * sp_spell.C (PSpell): fix initialitation order.
12495
12496 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * paragraph.C: spacing
12499
12500 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12501
12502         * sp_spell.C: repair language selection for pspell
12503
12504 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * lyxfunc.h: change more methods to begin with lower char.
12507
12508 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12509
12510         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12511         for unknown layouts.
12512
12513 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12514
12515         * buffer.C (readLyXformat2): Generate an error dialog if there are
12516         unknown layouts.
12517
12518 2001-07-16  Juergen Vigna  <jug@sad.it>
12519
12520         * sp_spell.C: always compile ISpell part.
12521
12522         * lyxrc.C: added use_pspell entry and it's handling.
12523
12524 2001-07-13  Juergen Vigna  <jug@sad.it>
12525
12526         * sp_spell.C: removed double includes.
12527
12528 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12529
12530         Consistent use of Lsstream.h:
12531         * Lsstream.h: added using std::stringstream for consistencies sake.
12532
12533         * buffer.C: removed using std::stringstream
12534
12535         * lyxfont.C (stateText):
12536         * paragraph.C (asString):
12537         * text.C (selectNextWord, selectSelectedWord):
12538         * text2.C (setCounter):
12539         * vspace.C (asString, asLatexString):
12540         std::ostringstream -> ostringstream.
12541
12542 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12543
12544         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12545         * commandtags.h: add LFUN_HELP_ABOUTLYX
12546         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12547
12548 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12549
12550         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12551         cursorToggle()
12552         * lyx_gui_misc.C: remove spellchecker
12553         * lyxfunc.C: showSpellchecker
12554         * sp_base.h: added
12555         * sp_ispell.h: added
12556         * sp_pspell.h: added
12557         * sp_spell.C: added
12558         * sp_form.[Ch]: removed
12559         * spellchecker.[Ch]: removed
12560
12561 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12562
12563         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12564         is set.
12565         (simpleTeXSpecialChars): Simply print the input character without
12566         any special translation if pass_thru is set.
12567
12568         * layout.h: Added bool pass_thru to layout class for being able to
12569         implement pass through of a paragraph for Literate Programming.
12570
12571         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12572         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12573         * layout.C (Read): add "passthru" to list of layout tags and add
12574         code to set the pass_thru boolean when it is read.
12575
12576 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * trans_decl.h: remove allowed from KmodInfo
12579
12580         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12581         remove allowed code
12582         (Load): adjust
12583
12584         * paragraph_pimpl.C (erase): use boost::prior
12585
12586         * Painter.C (text): use data() instead of c_str() when length is
12587         also provided.
12588         * WorkArea.C (putClipboard): ditto
12589         * font.h (width): ditto
12590
12591         * BufferView2.C: use it-> instead of (*it). for iterators
12592         * texrow.C: ditto
12593         * paragraph_pimpl.C: ditto
12594         * paragraph.C: ditto
12595         * minibuffer.C: ditto
12596         * language.C: ditto
12597         * kbmap.C: ditto
12598         * encoding.C: ditto
12599         * counters.C: ditto
12600         * converter.C: ditto
12601         * chset.C: ditto
12602         * Variables.C: ditto
12603         * TextCache.C: ditto
12604         * MenuBackend.C: ditto
12605         * LyXAction.C: ditto
12606         * LColor.C: ditto
12607         * FloatList.C: ditto
12608         * DepTable.C: ditto
12609         * ColorHandler.C (LyXColorHandler): ditto
12610
12611 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12614
12615         * text2.C (openStuff): reintroduce this method (which had been
12616         nuked in NEW_INSETS frenzy).
12617
12618         * lyxfunc.C (Dispatch): when an action has not been handled, use
12619         its name in the error message, not its number.
12620
12621         * paragraph.C (inInset): change method name to begin with lowercase.
12622
12623         * undo_funcs.C:
12624         * text2.C: updates because of this.
12625
12626 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12627
12628         * ToolbarDefaults.C (add): add spaces in error message
12629
12630 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12633         (readLyXformat2): rename return_par to first_par, use lyxlex's
12634         pushToken and remove the manual push handling.
12635         (parseSingleLyXformat2Token): add another ert comp. variable:
12636         in_tabular, rename return_par to first_par. handle newlines better
12637
12638 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12641
12642 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * text2.C (getParFromID): removed
12645
12646         * buffer.C (getParFromID): new method moved form lyxtext.
12647         * BufferView2.C (insertErrors): adjust
12648         (setCursorFromRow): adjust
12649         * BufferView_pimpl.C (restorePosition): adjust
12650         * lyxfunc.C (Dispatch): adjust
12651         * undo_funcs.C (textUndo): adjust
12652         (textRedo): adjust
12653         (textHandleUndo): adjust
12654         (textHandleUndo): adjust
12655
12656 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * buffer.C: up' the LYX_FORMAT
12659
12660         * lyxfont.h: turn NO_LATEX on as default
12661
12662         * buffer.C (insertErtContents): new methods of tex style compability.
12663         (parseSingleLyXformat2Token): use it several places.
12664         * tabular.C (OldFormatRead): and here
12665
12666 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * text2.C: remove some commented code.
12669         reindent file.
12670
12671         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12672         * trans.C: changes because of the above.
12673
12674 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12675
12676         * text2.C (setCounter): Fix counters bug with bibliography layout.
12677
12678 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12681         own member functions
12682         (simpleTeXSpecialChars): ditto
12683
12684 2001-07-06  Juergen Vigna  <jug@sad.it>
12685
12686         * a lot of files: changed the access to LyXText::status and the
12687         call of undo-functions.
12688
12689         * undo.[Ch]: added a inset_id to the undo informations.
12690
12691         * undo_funcs.[Ch]: added and moved here all undo functions.
12692
12693         * lyxtext.h: give the status enum a weight, made status_ a private
12694         variable and made accessor functions for it, removed the whole bunch
12695         of undo-functions as they are now in their own file, make some
12696         functions publically available. Added function ownerParagraph with
12697         int parameter.
12698
12699         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12700         made InInset() a const function, added getParFromID() function.
12701
12702         * buffer.[Ch]: added const version for inset_iterator functions,
12703         added getInsetFromID() function.
12704
12705         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12706         changed undo functions for new version.
12707
12708 2001-07-05  Juergen Vigna  <jug@sad.it>
12709
12710         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12711         unknow mechanism does not call the proper constructor but only this
12712         one also if I request the other!?
12713
12714 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12717
12718         * text2.C (LyXText): use initialization lists.
12719
12720         * lyxtext.h (Selection): initialize set_ and mark_
12721         (init): remove method
12722
12723 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12726
12727 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * screen.[Ch]: change method names to begin with lowercase
12730
12731         * BufferView_pimpl.C (updateScrollbar): simplify further and
12732         hopefully make it a bit faster.
12733
12734 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12735
12736         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12737         calling directly xforms functions.
12738
12739         * Painter.C (Painter):
12740         * lyx_cb.C (MenuWrite):
12741         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12742         fl_display.
12743
12744         * lyx_gui.C: remove bogus guiruntime extern declaration.
12745
12746 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12749         in NEW_INSETS
12750         (redoDrawingOfParagraph): ditto
12751         (redoParagraphs): ditto
12752         (cutSelection): don't create a object for CutAndPaste use the
12753         static method directly
12754         (pasteSelection): ditto
12755
12756         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12757         LyXview (+ rename)
12758
12759 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * modifications to some other files because of this.
12762
12763         * Makefile.am (lyx_SOURCES): add XFormsView
12764
12765         * XFormsView.[Ch]: new files
12766
12767         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12768         the main window. Move the gui dependent stuff to XFormsView
12769
12770 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * tabular.C (GetCellInset): update cur_cell also in the row/col
12773         version of this function.
12774
12775         * lyxfunc.C: no need to include figure_form.h here.
12776
12777         * FontLoader.h:
12778         * lyxfunc.h:
12779         * lyxscreen.h:
12780         * text2.C:
12781         * lyxvc.C: no need to include forms.h here.
12782
12783 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12786
12787         * lyxfunc.C (Dispatch):
12788         * Spacing.C (set):
12789         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12790         constructor argument.
12791
12792 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * paragraph.C (Paragraph): dont't clear, and just set layout.
12795         (makeSameLayout): use params's copy contructor.
12796
12797         * ParagraphParameters.[Ch] (makeSame): delete method
12798
12799 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * Variables.[Ch]: fix indentation, rename set to isSet
12802
12803 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * lyxfunc.C (Dispatch): fix typo
12806
12807 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12810         upper_bound.
12811
12812         * bufferlist.C: include assert.h for emergencyWrite().
12813
12814 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12817           give up at last (bug #425202) !
12818
12819 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * lyx_gui_misc.C:
12822         * sp_form.h:
12823         * sp_form.C:
12824         * spellchecker.h:
12825         * spellchecker.C: strip spellchecker options and bring up
12826           preferences tab instead
12827
12828 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12829
12830         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12831         the istringstream constructor
12832
12833 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * paragraph.C (getLayout): fix return value
12836
12837         * paragraph.h: do not declare getLayout as inline.
12838
12839         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12840
12841 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * lyxcursor.h (operator<): new func
12844         (operator>): new func
12845         (operator>=): new func
12846         (operator<=): new func
12847
12848         * text.C (changeCase): use selection.start and selection.end
12849         (changeRegionCase): require from to be <= to. Require par to be a
12850         valid paragraph.
12851
12852         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12853
12854 2001-06-27  Juergen Vigna  <jug@sad.it>
12855
12856         * text.C (cursorLeftOneWord): changed to return the cursor and added
12857         overlay with BufferView * parameter which calls this one.
12858         (getWord): added
12859         (selectWord): use new getWord function.
12860         (changeCase): renamed from changeWordCase as and extended to work
12861         also on selections.
12862
12863         * lyxtext.h: added enum word_location
12864
12865         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12866         changeCase as this operates now also on selections.
12867
12868 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12869
12870         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12871
12872         * many files: send debug output to Debug::INFO instead of
12873         Debug::ANY.
12874
12875         * converter.C (View):
12876         (Convert):
12877         (Move): send debug output to Debug::FILES instead of console.
12878
12879 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12880
12881         * lyxfunc.C (getStatus): use func_status
12882
12883         * func_status.h: new header, describing the results of
12884         LyXFunc::getStatus;
12885
12886         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12887         LFUN_MATH_HALIGN.
12888
12889 2001-06-25  The LyX Project  <jug@sad.it>
12890
12891         * buffer.C (sgmlOpenTag):
12892         (sgmlCloseTag):
12893         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12894
12895 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * text2.C: remove some dead code
12898
12899         * tabular.C (GetCellInset): store the last cell checked (gotten)
12900
12901         * tabular.h: add the helper for the speedup
12902
12903         * lyxtext.h: remove some dead code
12904
12905 2001-06-26  The LyX Project  <Asger>
12906
12907         * paragraph.C: Change export to LaTeX of alignment to
12908         \begin{center} and family for better roundtrip work with reLyX.
12909
12910         * Tune the math drawing a bit.
12911
12912 2001-06-25  The LyX Project  <Asger>
12913
12914         * LColor.C (LColor): New color for math background. New color
12915         for buttons.
12916
12917 2001-06-25  The LyX Project  <jug@sad.it>
12918
12919         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12920
12921         * lyxfunc.C (Open):
12922         * bufferlist.C (newFile): do not restrict to files ending with
12923         .lyx
12924
12925         * BufferView_pimpl.C (MenuInsertLyXFile):
12926
12927 2001-06-24  The LyX Project  <jug@sad.it>
12928
12929         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12930         of compare_no_case
12931
12932 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * lyxtext.h: rename most methods to begin with a small char.
12935         Lots of changes because of this.
12936
12937         * paragraph.C (Paragraph): do not call fitToSize
12938         (erase): call Pimpl::erase
12939         (insertChar): call Pimpl::insertChar
12940         (insertInset): call Pipl::insertInset
12941         (breakParagraph): do not call fitToSize
12942         (breakParagraphConservative): do not call fitToSize
12943         (fitToSize): remove method
12944
12945         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12946
12947 2001-06-24  The LyX Project  <Asger>
12948
12949         * Fix Qt compilation^2
12950
12951 2001-06-24  The LyX Project  <jug@sad.it>
12952
12953         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12954         depthHook(getDepth()-1).
12955
12956         * paragraph.h:
12957         * ParagraphParameters.h:
12958         * ParameterStruct.h: change type of depth to unsigned int ==
12959         depth_type. Many adaptations to other files before of that.
12960
12961 2001-06-24  The LyX Project  <Asger>
12962
12963         * Fix Qt compilation.
12964
12965 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * paragraph.h: renamed several methods to begin with small letter.
12968         several changes to many parts of the code because of this.
12969
12970 2001-06-23  The LyX Project  <jug@sad.it>
12971
12972         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12973         rewritten to discard all double spaces when KeepEmpty is off
12974         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12975         to only handle newlines but not fiddle with spaces and friends.
12976
12977         * lyxfunc.C (MenuNew): when doing 'new from template', use
12978         template_path as default directory
12979
12980 2001-06-23  The LyX Project  <Asger>
12981
12982         * Clean-up of header file includes all over
12983         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12984
12985 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * paragraph.h: renamed from lyxparagraph.h
12988
12989 2001-06-23  Asger  <lyx@violet.home.sad.it>
12990
12991         * Buffer.h: Removed Buffer::resize
12992         * BufferList.h: Removed BufferList::resize
12993         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12994         the document lazily when we change the width, or the font settings.
12995
12996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12999
13000 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * buffer.h: remove out of date comment
13003
13004 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * lyxscreen.h:
13007         * screen.C: fix "theoretical" GC leak
13008
13009 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * LaTeX.C (scanAuxFile):
13012         (deplog): remove trailing \r when reading stream (useful under
13013         win32)
13014
13015 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13018         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13019         and BufferView::theLockingInset(Inset*), so should use them and not
13020         access bv_->text->the_locking_inset directly.
13021
13022         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13023
13024 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * Makefile.am:
13027         * tex-defs.h: remove old unused file
13028
13029 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * BufferView_pimpl.C: fix typo, remove minibuffer message
13032           when buffer has loaded
13033
13034 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * lyxfunc.C (Dispatch): use stringstream
13037         (MenuNew): use stringstream
13038         (Open): use stringstream
13039
13040         * importer.C (Import): use stringstream
13041
13042         * bufferview_funcs.C (CurrentState): use stringstream
13043
13044         * LaTeX.C (run): use stringstream
13045
13046         * BufferView_pimpl.C (savePosition): use stringstream
13047         (restorePosition): use stringstream
13048         (MenuInsertLyXFile): use stringstream
13049
13050 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * BufferView.C:
13053         * Bullet.C:
13054         * ColorHandler.C:
13055         * FontInfo.C:
13056         * FontLoader.C:
13057         * LColor.C:
13058         * LaTeXFeatures.C:
13059         * Painter.C:
13060         * gettext.C:
13061         * lyx_gui_misc.C:
13062         * lyxserver.C:
13063         * vspace.C: removed // -*- C++ -*- as first line.
13064
13065         * lyxfind.h:
13066         * version.h: added // -*- C++ -*- as first line.
13067
13068 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13069
13070         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13071
13072         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13073         of string
13074
13075 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13078         of floats.
13079
13080 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13081
13082         * gettext.C: include LString.h even when --disable-nls is on.
13083
13084 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13085
13086         * converter.h (Get): changed argument type from int to
13087         FormatList::size_type to avoid unnecessary conversion.
13088
13089         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13090         before using it.
13091
13092 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * gettext.h: include LString.h even when --disable-nls is on.
13095
13096 2001-06-07  Juergen Vigna  <jug@sad.it>
13097
13098         * text.C (BreakAgain): subst spaces with tabs.
13099
13100         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13101         (resizeInsetsLyXText): set force on resizeLyXText.
13102
13103 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13104
13105         * gettext.h (gettext_init):
13106         (locale_init): use a real definition instead of a macro
13107
13108 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * Bufferview_pimpl.C:
13111         * LColor.h:
13112         * LColor.C: further lcolor tidies
13113
13114 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * BufferView_pimpl.C (updateScrollbar): simplify.
13117
13118         * BufferView2.C: don't include insets/insetinfo.h, change
13119         prototype for insertInset and call the Pimpl version. let
13120         updateInset call Pimpl version.
13121
13122         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13123         gotoInset to BufferView::Pimpl
13124
13125 2001-06-01  Juergen Vigna  <jug@sad.it>
13126
13127         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13128         inside a LockingInset (is the update needed at all?).
13129
13130 2001-05-31  Juergen Vigna  <jug@sad.it>
13131
13132         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13133         here not the old one otherwise how should we compare it afterwards
13134         if it's the same!
13135
13136 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * lyxfont.C:
13139         * tabular.C:
13140         * tabular-old.C:
13141         * FontInfo.C: bring C functions into global namespace when
13142         necessary
13143
13144 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * LString.h: make sure config.h has been loaded before LString.h.
13147
13148         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13149         (one for each char read by EatLine!).
13150
13151         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13152         variables.
13153
13154 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13157         to the same as the par we break from
13158
13159 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13162
13163         * MenuBackend.C (expand): also create menu entries for wide
13164         versions of the floats.
13165
13166         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13167
13168         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13169
13170         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13171         frontends/Makefile.am
13172
13173         * text2.C: adjust
13174         * text.C: adjust
13175
13176
13177         * tabular.C (getTokenValue): add std::
13178
13179         * tabular-old.C (getTokenValue): add std::
13180         (getTokenValue): ditto
13181         (getTokenValue): ditto
13182
13183         * screen.C (ToggleSelection): adjust
13184
13185         * lyxtext.h: put selection cursors inside a Selection struct.
13186
13187         * lyxfunc.C (moveCursorUpdate): adjust
13188
13189         * lyxfont.C (latexWriteStartChanges): add std::
13190
13191         * lyxfind.C: adjust
13192
13193         * font.h: delete with(char const *, LyXFont const &)
13194
13195         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13196
13197         * FontInfo.C (getFontname): add std::
13198
13199         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13200         (workAreaButtonPress): adjust
13201         (tripleClick): adjust
13202         (update): adjust
13203         (moveCursorUpdate): adjust
13204         (Dispatch): adjust
13205
13206         * BufferView2.C (gotoInset): adjust
13207
13208 2001-05-30  Juergen Vigna  <jug@sad.it>
13209
13210         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13211         to check pspell I add this as default as I now have new pspell
13212         libraries and they seem to use this.
13213
13214 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * text2.C (CutSelection): make the cursor valid before the call to
13217         ClearSelection.
13218
13219 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13222         relied on 0 terminated strings and other horrors. Bug found due to
13223         the new assert in lyxstring!
13224
13225         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13226         KP_ keys.
13227
13228 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13231         to latinkeys.bind.
13232
13233         * lyxfunc.C (processKeySym): change method of getting to the
13234         self-insert char.
13235
13236         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13237         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13238         * BufferView_pimpl.[Ch]: here as private methods.
13239
13240 2001-05-28  Juergen Vigna  <jug@sad.it>
13241
13242         * text.C (SetHeightOfRow): added the update() call again as it is
13243         needed to initialize inset dimensions!
13244
13245 2001-05-16  Juergen Vigna  <jug@sad.it>
13246
13247         * text2.C (SetCharFont): Add new function with BufferView * and
13248         bool toggleall parameters for setting insets internal fonts.
13249         (SetFont): Freeze the undo as we may change fonts in Insets and
13250         all this change should be inside only one Undo!
13251
13252         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13253         setting font's in insets as for them we have the SetFont function!
13254
13255 2001-05-15  Juergen Vigna  <jug@sad.it>
13256
13257         * text2.C (ClearSelection): to be sure we REALLY don't have any
13258         selection anymore!
13259
13260         * tabular.C (TeXCellPreamble): fixed the left border problem for
13261         multicolumn cells.
13262
13263 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13266         dependancy file
13267
13268 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13271         LFUN_BREAKPARAGRAPH.
13272
13273         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13274         help test to "internal only", similar for LFUN_INSERT_URL
13275
13276         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13277         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13278         auto_region_delete and deadkeys.
13279
13280 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * LColor.h:
13283         * LColor.C: remove some dead entries, tidy a little
13284
13285 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13288         commented code.
13289         (Dispatch): implement LFUN_ESCAPE
13290
13291         * commandtags.h: add LFUN_ESCAPE
13292
13293         * LyXAction.C (init): add entry for LFUN_ESCAPE
13294
13295         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13296         Remove commented code.
13297         (insertNote): moved here
13298         (open_new_inset): moved here
13299
13300         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13301         BufferView_pimpl
13302
13303 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * kbmap.C (findbinding): clean it up and make it work correctly.
13306
13307         * lyx_main.C (init): do not pass argc and argv as parameters
13308
13309 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13310
13311         * buffer.C: fix path for OS/2 & Win32
13312
13313         * lyx_gui.C:
13314         * lyx_main:
13315         * lyx_main.C: Added os:: class.
13316
13317         * os2_defines.h: update
13318
13319 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13322         better by trying again with reduced state.
13323
13324 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * lyxrc.C (read): print error about invalid key sequence only when
13327         debugging (because not all latinX keysyms are known to some X
13328         servers)
13329
13330         * kbsequence.C (getiso): add a few std:: qualifiers
13331         (getiso): comment out extra return statement.
13332
13333 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13336         handling.
13337         (Dispatch): enhance the accent inset a bit. (not perfect)
13338
13339 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13342
13343 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * bufferlist.C (emergencyWrite): fix assert() call
13346
13347 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13348
13349         * text.C (InsertChar): Added trivial patch to only send the "you
13350         can not do multiple spaces this way" message once during a
13351         session.
13352
13353 2001-05-08  Baruch Even  <baruch@lyx.org>
13354
13355         * Makefile.am: Changed order of libraries to get LyX to link properly
13356         with the gnome frontend.
13357
13358 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * LaTeXFeatures.h: add a std:: qualifier
13361
13362 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C (String): use stringstream
13365
13366 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * paragraph.C (writeFile): remove footflag arg
13369
13370         * buffer.C (makeLaTeXFile): use stringstream
13371         (latexParagraphs): remove footnot gurba
13372
13373         * LaTeXFeatures.C (getPackages): use stringstream
13374         (getMacros): likewise
13375         (getTClassPreamble): likewise
13376         (getFloatDefinitions): new method
13377
13378         * paragraph.C (writeFile): reindent
13379         (Erase): reindent
13380
13381         * WorkArea.h: revert the xpos + etc changes.
13382
13383         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13384
13385         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13386
13387         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13388         (pasteSelection): likewise
13389         * text2.C (CreateUndo): likewise
13390
13391 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * minibuffer.C (peek_event): temporarily reduce the functionality
13394         of the minibuffer (to allow args on lfuns)
13395
13396         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13397         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13398
13399         * buffer.C (readInset): add compability reading of old float
13400         lists, add reading of new style float list.
13401         (readInset): avoid reevaluation of inscmd.getCmdName()
13402         (getLists): reindent
13403
13404         * MenuBackend.C (MenuItem): implement parsing of
13405         md_floatlistinsert and md_floatinsert.
13406         (expand::LastFiles): move initalizaton of iterators out of loop,
13407         avoid reevaluation.
13408         (expand::Documents): introduce typdedef vector<string> Strings,
13409         and use it.
13410         (expand::ExportFormats): introduce typedef vector<Format const *>
13411         Formats, and use it.
13412         (expand): implement FloatListInsert and FloatInsert.
13413
13414         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13415         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13416         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13417
13418         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13419         handling.
13420         (Dispatch::LFUN_FLOAT_LIST): implement
13421
13422 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13423
13424         * LaTeX.C (run): Fix problem with --export code.
13425
13426 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * BufferView.[Ch] (workarea): removed.
13429         (getClipboard) new method; wrapper for workarea()->getClipboard()
13430
13431         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13432         bug.
13433
13434         * WorkArea.h (width, height, xpos, ypos): These methods all
13435         returned the dimensions of the work_area sub-area of WorkArea,
13436         resulting in a position error if the WorkArea were resized. Now
13437         return the dimensions of the entire WorkArea.
13438
13439         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13440
13441 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13442
13443         * LaTeX.C (deplog): correct the syntax of regex reg1
13444
13445 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * undo.C: remove !NEW_INSETS cruft
13448
13449 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * text2.C: remove !NEW_INSETS cruft
13452
13453         * text.C: remove !NEW_INSETS cruft
13454
13455         * tabular.C: remove !NEW_INSETS cruft
13456
13457         * spellchecker.C: remove !NEW_INSETS cruft
13458
13459         * lyxtext.h: remove !NEW_INSETS cruft
13460
13461         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13462
13463         * lyxfunc.C: remove !NEW_INSETS cruft
13464
13465         * lyxfind.C: remove !NEW_INSETS cruft
13466
13467         * lyx_cb.C: remove !NEW_INSETS cruft
13468
13469         * figureForm.C: remove  !NEW_INSETS cruft
13470
13471         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13472
13473         * buffer.[Ch]: remove !NEW_INSETS cruft
13474
13475         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13476
13477         * CutAndPaste.C: remove !NEW_INSETS cruft
13478
13479         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13480
13481         * BufferView2.C: remove !NEW_INSETS cruft
13482
13483         * BufferView.h: remove !NEW_INSETS cruft
13484
13485 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * Lsstream.h: include LString.h before the sstream headers to
13488         fix problem with gcc 2.95.3 and lyxstring
13489
13490 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * lyx_main.C: add using directives when needed for C functions
13493         declared in std:: namespace.
13494
13495 2001-04-27  Juergen Vigna  <jug@sad.it>
13496
13497         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13498         (SetHeightOfRow): comment out the update call should not be needed!
13499
13500 2001-04-13  Juergen Vigna  <jug@sad.it>
13501
13502         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13503         (LyXTabular): tried to minimize operator= operations (and realized
13504         hopfully Lars wish).
13505
13506 2001-04-27  Juergen Vigna  <jug@sad.it>
13507
13508         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13509
13510 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13513
13514         * buffer.C (readInset): hack to make listof algorithm work
13515
13516         * BufferView_pimpl.C: hack to make listof algorithm work
13517
13518 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * LyXAction.C: removed all !NEW_INSETS cruft
13521         (init): moved lfun_item in method
13522
13523         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13524
13525 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * BufferView2.C (theLockingInset): white space.
13528
13529 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * minibuffer.C: include <iostream>
13532
13533         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13534
13535         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13536
13537         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13538
13539         * text.[Ch] (TransposeChars): new method
13540
13541 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * call message directly through LyXView instead of through LyXFunc
13544         * BufferView2.C: adjust
13545         * BufferView_pimpl.C: adjust
13546         * FontLoader.C: adjust
13547         * buffer.C: adjust
13548         * bufferview_funcs.C: adjust
13549         * converter.C: adjust
13550         * figureForm.C: adjust
13551         * importer.C: adjust
13552         * lyx_cb.C: adjust
13553         * lyx_gui_misc.C: adjust
13554         * lyxfunc.C: adjust
13555         * lyxvc.C: adjust
13556         * text2.C: adjust
13557         + more files in subdirs
13558
13559         * lyxparagraph.h (size): move up int file
13560         (GetLayout): ditto
13561
13562         * adjust all uses of Assert to lyx::Assert.
13563
13564         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13565         lyxfunctional in namespace lyx
13566         * layout.C (hasLayout): ditto
13567         (GetLayout): ditto
13568         (GetLayout): ditto
13569         (delete_layout): ditto
13570         (NumberOfClass): ditto
13571         * converter.C (GetFormat): ditto
13572         (GetNumber): ditto
13573         (Add): ditto
13574         (Delete): ditto
13575         (SetViewer): ditto
13576         * bufferlist.C (getFileNames): ditto
13577         (emergencyWriteAll): ditto
13578         (exists): ditto
13579         (getBuffer): ditto
13580         * MenuBackend.C (hasSubmenu): ditto
13581         (hasMenu): ditto
13582         (getMenu): ditto
13583         * BufferView_pimpl.C (getInsetByCode): ditto
13584
13585 2001-04-18  Juergen Vigna  <jug@sad.it>
13586
13587         * vspace.C (asLatexString): fixed the 100% problem.
13588
13589 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * lyxfunc.C (Dispatch):
13592         * minibuffer.C:
13593         * minibuffer.h: add a few std:: qualifiers
13594
13595 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * minibuffer.[Ch]: reimplement so that commands is initiated and
13598         run from lyxfunc, simplified som handling, and made the completion
13599         and history code for complete. wip.
13600
13601         * lyxfunc.C (processKeySym): call message
13602         (miniDispatch): new temporary method
13603         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13604         (LFUN_MESSAGE): implement
13605         (LFUN_MESSAGE_PUSH): implement
13606         (LFUN_MESSAGE_POP): implement
13607         (initMiniBuffer): the initial/defualt minibuffer message.
13608
13609         * lyxfont.[Ch]: inline some more getters
13610
13611         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13612
13613         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13614
13615         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13616         (AutoSave): use LFUN_MESSAGE
13617         (Reconfigure): ditto
13618
13619         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13620
13621         * figureForm.C: use LFUN_MESSAGE
13622
13623         * converter.C (runLaTeX): use LFUN_MESSAGE
13624
13625         * bufferview_funcs.C: use LFUN_MESSAGE
13626         (Melt): ditto
13627         (changeDepth): ditto
13628
13629         * bufferparams.h: use boost::
13630
13631         * bufferlist.h: inherit privately from noncopyable
13632
13633         * bufferlist.C (loadLyXFile): remove some commented code.
13634
13635         * buffer.C (runChktex): use LFUN_MESSAGE
13636
13637         * ShareContainer.h: inherit privately from noncopyable
13638
13639         * ParagraphParameters.[hC] (depth): inline it.
13640
13641         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13642         methods.
13643         (message): new method
13644         (messagePush): ditto
13645         (messagePop): ditto
13646         (show): init minibuffer
13647         (showState): direct call
13648
13649         * LaTeX.[Ch]: inherit privately from noncopyable
13650         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13651         instead of WriteStatus.
13652
13653         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13654
13655         * BufferView_pimpl.C (buffer): don't init minibuffer
13656         (workAreaButtonPress): use LFUN_MESSAGE
13657         (workAreaButtonRelease): ditto
13658         (savePosition): ditto
13659         (restorePosition): ditto
13660         (MenuInsertLyXFile): ditto
13661         (workAreaExpose): don't init minibuffer
13662         (update): remove commented code, simplify
13663
13664         * BufferView2.C (openStuff): use LFUN_MESSAGE
13665         (toggleFloat): ditto
13666         (menuUndo): ditto
13667         (menuRedo): ditto
13668         (copyEnvironment): ditto
13669         (pasteEnvironment): ditto
13670         (copy): ditto
13671         (cut): ditto
13672         (paste): ditto
13673         (gotoInset): ditto
13674         (updateInset): remove some commented code
13675
13676         * lastfiles.h: inherit privately from noncopyable
13677         * layout.h: ditto
13678         * lyx_gui.h: ditto
13679         * lyx_main.h: ditto
13680         * lyxlex.h: ditto
13681         * lyxlex_pimpl.h: ditto
13682
13683         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13684         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13685         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13686
13687         * LyXAction.h: inherit privately from noncopyable, add methods
13688         func_begin, func_end, returning iterators to the func map.
13689
13690         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13691         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13692         (func_begin): new method
13693         (func_end): new method
13694
13695         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13696         and not)
13697         (copySelection): ditto
13698         (pasteSelection): ditto
13699
13700         * BufferView.C: whitespace change
13701         * BufferView.h: inherit privately from noncopyable
13702
13703 2001-04-16  Allan Rae  <rae@lyx.org>
13704
13705         * tabular-old.C (l_getline):
13706         * spellchecker.C (sc_check_word):
13707         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13708         an unrecognised preprocessor directive.  So ensure they're wrapped.
13709
13710 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13711
13712         * src/exporter.C (Export): Give an error message when path to file
13713         contains spaces.
13714
13715 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13716
13717         * LaTeX.C (deplog): Always check that foundfile exists.
13718
13719 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * lyx_main.h:
13722         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13723
13724 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * tabular.[Ch] (getLabelList): implement new method
13727
13728         * minibuffer.h: comment ouf setTiimer
13729
13730         * minibuffer.C (ExecutingCB): constify res
13731         (peek_event): constify s
13732         (Set): constify ntext
13733         (Init): constify nicename
13734
13735         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13736
13737         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13738         (savePosition): use two params to Minibuffer::Set
13739         (restorePosition): ditto
13740
13741 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * lyx_main.C: include language.h
13744
13745         * Makefile.am (lyx_main.o): add language.h
13746
13747 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13748
13749         * exporter.C:
13750         * paragraph.C:
13751         * screen.C:
13752         * tabular.C:
13753         * CutAndPaste.C: include gettext.h
13754
13755         * lyxfont.h: remove old hack with ON and OFF.
13756
13757         * lyxparagraph.h:
13758         * lyxfont.h: do not include language.h...
13759
13760         * BufferView2.C:
13761         * LaTeXFeatures.C:
13762         * Painter.C:
13763         * bufferview_funcs.C:
13764         * font.C:
13765         * lyxfont.C:
13766         * text.C:
13767         * text2.C:
13768         * trans_mgr.C:
13769         * paragraph.C: ... but do it here instead
13770
13771 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13774
13775         * tabular.C: small reformat
13776
13777         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13778         NEW_INSETS version
13779         (GetChar): ditto
13780         (BreakParagraph): ditto
13781         (SetOnlyLayout): ditto
13782         (SetLayout): ditto
13783
13784         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13785         with one arg less.
13786
13787         * lastfiles.C: removed most using decl, add std:: where needed
13788
13789         * buffer.C: ws changes
13790
13791         * MenuBackend.C (class compare_format): put into anon namespace
13792         (expand): constify label, names, action, action2
13793         (expand):
13794
13795         * text.C (SingleWidth): constify font
13796         (IsBoundary): constify rtl2
13797         (GetVisibleRow): constify ww
13798
13799         * LaTeX.C (deplog): constify logfile
13800
13801         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13802         start_x, end_x
13803         (workAreaExpose): constify widthChange, heightChange
13804
13805         * lyxrow.C (par): moved
13806         (height): moved
13807         (next): moved
13808         * lyxrow.h: as inlines here
13809
13810         * lyxfont.h (shape): moved from lyxfont.C
13811         (emph): moved from lyxfont.C
13812
13813         * lyxfont.C (LyXFont): use initialization list for all
13814         constructors
13815         (shape): move to lyxfont.h as inline
13816         (emph): move to lyxfont.h as inline
13817
13818
13819 2001-04-04  Juergen Vigna  <jug@sad.it>
13820
13821         * vspace.C: had to include stdio.h for use of sscanf
13822
13823 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13824
13825         * BufferView.h:
13826         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13827         independent of xforms.
13828
13829 2001-04-02  Juergen Vigna  <jug@sad.it>
13830
13831         * spellchecker.C: fixed namespace placing!
13832
13833 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13834
13835         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13836         the LyXParagraph * is 0.
13837
13838 2001-03-29  Juergen Vigna  <jug@sad.it>
13839
13840         * vspace.C: added support for %, c%, p%, l%.
13841         (stringFromUnit): added helper function.
13842         (asLatexString): changed to give right results for the %-values.
13843
13844         * buffer.C: convert the widthp in a width%.
13845
13846 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13849         figureForm.[Ch].
13850
13851         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13852         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13853
13854         * lyx_cb.[Ch]: see above.
13855
13856         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13857         form1.[Ch].
13858
13859         * form1.[Ch]:
13860         * lyx.[Ch]: replaced by figure_form.[Ch].
13861
13862         * lyx_gui.C:
13863         * lyx_gui_misc.C:
13864         * lyxfunc.C: changed headers associated with above changes.
13865
13866 2001-03-27  Juergen Vigna  <jug@sad.it>
13867
13868         * BufferView_pimpl.C: set the temporary cursor right!
13869
13870 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13873
13874 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13875
13876         * LString.h: removed "using std::getline"!
13877
13878         * BufferView_pimpl.C (Dispatch): changes due to changes in
13879         InsetInclude::Params.
13880
13881         * buffer.C (tag_name): removed redundant break statements as they were
13882         producing lots of warnings with my compiler.
13883
13884 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * LString.h: add "using std::getline" when using the real <string>.
13887
13888 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13889
13890         * buffer.C: removed bitset usage.
13891         PAR_TAG moved to an anonymous name space.
13892         (tag_name): new funtion, also in the anonymous namespace.
13893         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13894         (makeDocBookFile): clean code. Completed transition from string arrays
13895         to string vectors.
13896         (SimpleDocBookOnePar): code clean.
13897
13898 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13899
13900         * tabular.C: add some comments.
13901
13902 2001-03-22  Juergen Vigna  <jug@sad.it>
13903
13904         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13905         compatibility read a bit and fixed bug with minipage in different
13906         depth.
13907
13908 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13909
13910         * buffer.C (pop_tag): removed.
13911         (push_tag): removed.
13912         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13913         array replaced with vector. Added support for CDATA sections.
13914         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13915         at any nest level.
13916         (makeDocBookFile): XML conformant declaration of CDATA section,
13917         fixed bug related to <emphasis> in the first paragraph char.
13918         (sgmlOpenTag): exclude empty tags.
13919         (sgmlCloseTag): ditto.
13920
13921         * buffer.h (pop_tag): removed.
13922         (push_tag): removed.
13923
13924 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * language.h (Languages): added size_type and size().
13927
13928 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13929
13930         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13931         response on compability reading of minipages. One probliem is that
13932         the old usage of minipages was «flertydig»
13933
13934         * several files here and in subdirs: don't use static at file
13935         scope use anon namespaces instead.
13936
13937 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13938
13939         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13940         LaTeX output. This is necessary for Literate document
13941         processing.
13942
13943 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13944
13945         * buffer.C: insert hfill when needed.
13946
13947         * tabular.C (l_getline): use string::erase, small whitespace change.
13948
13949         * BufferView_pimpl.C: try the anon namespace.
13950         * WorkArea.C: ditto
13951
13952 2001-03-16  Juergen Vigna  <jug@sad.it>
13953
13954         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13955         otherwise it won't open options-dialogs.
13956
13957         * buffer.C: honor pextraWidth(p) on converting minipages.
13958
13959         * tabular.C (l_getline): changed the functions to strip trailing \r.
13960
13961 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13962
13963         * BufferView_pimpl.C:
13964         * minibuffer..C: added "using SigC::slot" declaration.
13965
13966 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13967
13968         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13969
13970         * text2.C: ditto
13971
13972         * text.C: ditto
13973
13974         * paragraph.C: ditto
13975
13976         * lyxtext.h: NO_PEXTRA
13977
13978         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13979
13980         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13981         * ParameterStruct.h: ditto
13982         * ParagraphParameters.h: ditto
13983         * lyxparagraph.h: ditto
13984
13985 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13986
13987         * buffer.C: add compability for minipage alignment.
13988         (latexParagraphs): remove unwanted pextra check.
13989
13990         * several files: remove CXX_WORKING_NAMESPACES
13991
13992         * buffer.C (pop_tag): tie is in namespace boost
13993
13994         * BufferView.h: noncopyable is in namespace boost
13995         * lyxlex.h: ditto
13996         * lyx_main.h: ditto
13997         * lyx_gui.h: ditto
13998         * layout.h: ditto
13999         * lastfiles.h: ditto
14000         * bufferlist.h: ditto
14001         * ShareContainer.h: ditto
14002         * LyXView.h: ditto
14003         * LyXAction.h: ditto
14004         * LaTeX.h: ditto
14005
14006 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * Merging changes from BRANCH_MVC back into HEAD.
14009
14010         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14011
14012 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14013
14014         * BufferView_pimpl.C: change from intl.C
14015
14016         * combox.h:
14017         * combox.C:
14018         * Makefile.am: move combox.*
14019
14020         * form1.h:
14021         * form1.C:
14022         * lyx_gui.C:
14023         * intl.h:
14024         * intl.C: remove dialog (covered by prefs)
14025
14026 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * lyxfunc.C (Dispatch): removed redundant break statement.
14029
14030 2001-03-14  Juergen Vigna  <jug@sad.it>
14031
14032         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14033
14034 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14035
14036         * buffer.C: add hack to fix compability reading of minipages.
14037
14038 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * buffer.C (getLists): Cleanup.
14041
14042 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14043
14044         * lyxfont.C (update): don't honor toggleall on font size.
14045
14046 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * bmtable.c:
14049         * bmtable.h:
14050         * Makefile.am: moved to frontends/xforms/
14051
14052         * lyx_gui_misc.C:
14053         * lyxfunc.C:
14054         * BufferView_pimpl.C: changes for moved mathpanel
14055
14056 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * gettext.h: fix gettext_init() in --disable-nls
14059
14060 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14063
14064 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * lyx.C:
14067         * lyx.h: strip external form
14068
14069 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * BufferView_pimpl.C: add comment, destroySplash()
14072
14073 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14074
14075         * BufferView_pimpl.C:
14076         * LyXAction.C:
14077         * buffer.C:
14078         * commandtags.h:
14079         * lyxfunc.C: use re-worked insetinclude
14080
14081 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14082
14083         * buffer.C: add using std::stringstream.
14084
14085         * lyx_cb.C: readd using std::ios.
14086
14087         * buffer.C: add using std::map.
14088
14089         * BufferView_pimpl.C: add using std::vector.
14090
14091         * ShareContainer.h: add std:: to swap.
14092
14093         * buffer.h: add some typedefs
14094         * buffer.C (getLists): use them
14095         (getLists): renamed from getTocList.
14096         add a counter for the different float types and use it in the
14097         generated string.
14098         (getLists): use the same counter for the NEW_INSETS and the "non"
14099         NEW_INSETS
14100
14101         * lyx_cb.h: remove unused items, includes, using etc.
14102
14103         * ShareContainer.h: remove some commented code, add more comments
14104         and "documentation".
14105
14106 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14107
14108         * buffer.C (getTocList): make the list also when NEW_INSETS is
14109         defined.
14110
14111         * buffer.h: remove TocType
14112
14113         * buffer.C (getTocList): change to return a map<string,
14114         vector<TocItem> >, implement for dynamic number of list.
14115
14116         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14117         * text2.C (PasteSelection): adjust
14118         * CutAndPaste.C (pasteSelection): adjust
14119
14120         * FloatList.C (FloatList): update from the new_insets branch.
14121         * Floating.[Ch]: ditto
14122         * LaTeXFeatures.C: ditto
14123         * buffer.C: ditto
14124         * lyxlex_pimpl.C: ditto
14125
14126         * paragraph.C (Last): remove when NEW_INSETS is defined.
14127
14128         * other file: changes because of the above.
14129
14130 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14131
14132         * lyxparagraph.h: rename next to next_, previous to previous_,
14133         make them private for NEW_INSETS. Rename Next() to next(),
14134         Previous() to previous().
14135
14136         * other files: changes because of the above.
14137
14138 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14139
14140         * BufferView.h:
14141         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14142         problem.
14143
14144 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14145
14146         * main.C (main): pass lyx_localedir to gettext_init().
14147
14148         * gettext.h: remove locale_init and gettext_init macros
14149
14150         * gettext.C (locale_init): new function
14151         (gettext_init): new function
14152
14153         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14154         setlocale().
14155
14156 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14157
14158         * Moved credits to frontends:
14159         * credits.[Ch]: removed
14160         * credits_form.[Ch]: removed
14161         * lyx_gui_misc.C: remove credits stuff
14162         * Makefile.am:
14163
14164 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14165
14166         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14167
14168         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14169         unneeded destructor.
14170
14171         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14172         a standalone pointer again.
14173
14174         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14175
14176 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * Makefile.am:
14179         * filedlg.h:
14180         * filedlg.C:
14181         * LyXAction.C:
14182         * ToolbarDefaults.C:
14183         * bufferlist.C:
14184         * commandtags.h:
14185         * form1.C:
14186         * form1.h:
14187         * lyx_cb.C:
14188         * lyx_cb.h:
14189         * lyxfunc.h:
14190         * lyxfunc.C:
14191         * BufferView_pimpl.C: use new file dialog in GUII
14192
14193         * lyx_cb.h:
14194         * lyx_cb.C: remove LayoutsCB to Toolbar
14195
14196 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * ShareContainer.h (get): add std:: qualifier
14199
14200 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * ShareContainer.h: define a proper ShareContainer::value_type
14203         type (and use typename to please compaq cxx)
14204
14205 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14206
14207         * lyxparagraph.h: move serveral local vars to
14208         ParameterStruct/ParagraphParameters., use ShareContainer in
14209         FontTable., make vars in FontTable private and add getter and
14210         setter.
14211
14212         * paragraph.C: changes because of the above.
14213
14214         * lyxfont.h: remove copy constructor and copy assignment. (the
14215         default ones is ok), move number inside FontBits. move inlines to
14216         lyxfont.C
14217
14218         * lyxfont.C: add number to initializaton of statics, move several
14219         inlines here. constify several local vars. some whitespace
14220         cleanup. Dont hide outerscope variables.
14221
14222         * Spacing.h: add two new constructors to match the set methods.
14223
14224         * ShareContainer.h: new file, will perhaps be moved to support
14225
14226         * ParameterStruct.h: new file
14227
14228         * ParagraphParameters.h: new file
14229
14230         * ParagraphParameters.C: new file
14231
14232         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14233         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14234
14235         * BufferView_pimpl.C: ParagraphParameter changes.
14236         * buffer.C: Likewise.
14237         * bufferview_funcs.C: Likewise.
14238         * text.C: Likewise.
14239         * text2.C: Likewise.
14240
14241 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14242
14243         * lyxfind.C (LyXReplace): do not redefine default argument in
14244         implementation.
14245         (IsStringInText): ditto
14246         (SearchForward): ditto
14247         (SearchBackward): ditto
14248
14249 2001-03-06  Juergen Vigna  <jug@sad.it>
14250
14251         * lyxfind.C (IsStringInText): put parentes around expressions.
14252
14253 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14254
14255         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14256
14257 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14260
14261         * stl_string_fwd.h: add comment
14262
14263         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14264
14265         * tabular.h:
14266         * tabular.C: remove unused DocBook methods
14267
14268         * intl.C:
14269         * language.C:
14270         * paragraph.C:
14271         * buffer.C:
14272         killed DO_USE_DEFAULT_LANGUAGE
14273
14274 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * lyx_gui.C: do not include language.h.
14277
14278         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14279         arguments in function implementation.
14280
14281 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14282
14283         * BufferView_pimpl.C: add <ctime>
14284
14285 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14286
14287         * BufferView_pimpl.C: add using std::find_if
14288
14289 2001-02-27  José Matos  <jamatos@fep.up.pt>
14290
14291         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14292         by OnlyPath.
14293
14294 2001-02-11  José Matos  <jamatos@fep.up.pt>
14295
14296         * buffer.C (makeDocBookFile): command styles now have a parameter as
14297         "title" by default.
14298
14299 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14300
14301         * layout_forms.[Ch]: removed
14302         * lyx_cb.[Ch]: out character
14303         * lyx_gui.C: out character
14304         * lyx_gui_misc.C: out character
14305         * bufferview_funcs.C: : out character,
14306         added toggleall as parameter in ToggleAndShow
14307
14308 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14309
14310         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14311
14312         * text2.C (SetCurrentFont): Disable number property at boundary.
14313
14314 2001-02-26  Juergen Vigna  <jug@sad.it>
14315
14316         * lyxfunc.C (getStatus): added a string argument override function so
14317         that this is correctly called from LyXFunc::Dispatch if it contains a
14318         do_not_use_argument which is used!
14319         (Dispatch): added check for "custom" export and call appropriate func.
14320
14321 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14322
14323         * lyxrc.C: Add language_command_local, language_use_babel and
14324         language_global_options.
14325
14326         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14327
14328         * buffer.C (makeLaTeXFile): Use language_use_babel and
14329         language_global_options.
14330
14331 2001-02-23  Juergen Vigna  <jug@sad.it>
14332
14333         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14334         which works with LyXText and putted it inside BufferView. Here now we
14335         only call for that part the BufferView::Dispatch() function.
14336
14337         * BufferView.C (Dispatch): added.
14338
14339         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14340         functions which needs to use a LyXText over from LyXFunc.
14341         (MenuInsertLyXFile): added
14342         (getInsetByCode): added
14343         (moveCursorUpdate): added
14344         (static TEXT): added
14345
14346 2001-02-22  Juergen Vigna  <jug@sad.it>
14347
14348         * BufferView_pimpl.C (update): call a status update to see if LyXText
14349         needs it.
14350
14351 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14352
14353         * vc-backend.C (revert): implement for CVS
14354         (getLog): implement for CVS
14355
14356 2001-02-20  Juergen Vigna  <jug@sad.it>
14357
14358         * text2.C (ClearSelection): added BufferView param for inset_owner call
14359
14360         * lyxfunc.C (TEXT): added this function and use it instead of
14361         directly owner->view()-text of getLyXText().
14362
14363 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14364
14365         * src/layout_forms.C: out preamble
14366         * src/layout_forms.h: out preamble
14367         * src/lyx_cb.C: out preamble
14368         * src/lyx_cb.h: out preamble
14369         * src/lyx_gui.C: out preamble
14370         * src/lyx_gui_misc.C: out preamble
14371         * src/lyxfunc.C: connect with guii preamble
14372
14373 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14374
14375         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14376
14377 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14378
14379         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14380         whether to run bibtex.
14381
14382 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14383
14384         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14385
14386 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14387
14388         * Makefile.am (lyx_SOURCES): removed bibforms.h
14389
14390         * vspace.h: doxygen
14391
14392         * text.C (GetVisibleRow): make several local vars const
14393
14394         * tabular.C: small cleanup.
14395
14396         * lyxserver.C (callback): use compare instead of strncmp
14397
14398         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14399         inlines to after class or to paragraph.C
14400
14401         * lyxfont.h: remove friend operator!=
14402
14403         * converter.h: move friend bool operator< to non friend and after
14404         class def.
14405
14406         * combox.h: small cleanup
14407
14408         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14409         to inlines after class def.
14410
14411         * buffer.C (pop_tag): use string operations instead of strcmp
14412
14413         * bmtable.c: doxygen, small cleanup
14414
14415         * LaTeX.h: remove friend operator==
14416
14417 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14418
14419         * screen.C:
14420         * lyxrc.[Ch]:
14421         * lyxfunc.C:
14422         * lyxfont.[Ch]:
14423         * lyx_cb.C:
14424         * intl.[Ch]:
14425         * commandtags.h:
14426         * buffer.C:
14427         * WorkArea.[Ch]:
14428         * LyXAction.C:
14429         * BufferView_pimpl.C:
14430         * BufferView.[Ch]: remove cruft
14431
14432 2001-02-14  Juergen Vigna  <jug@sad.it>
14433
14434         * lyxfunc.C: removed #if 0 unused code
14435
14436         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14437
14438         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14439
14440         * text2.C (SetSelection): added a BufferView * parameter
14441
14442 2001-02-13  Juergen Vigna  <jug@sad.it>
14443
14444         * lyxfunc.C (Dispatch): fixed protected blank problem.
14445         * BufferView2.C (protectedBlank): added LyxText * parameter.
14446
14447         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14448         (AppendColumn): same as above for column_info.
14449
14450         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14451         (moveCursorUpdate): use a LyXText param for support of InsetText.
14452
14453         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14454         (tripleClick): ditto
14455
14456         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14457
14458         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14459
14460         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14461
14462         * text2.C (SetSelection): set correct update status if inset_owner
14463         (ToggleFree): ditto
14464
14465 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14466
14467         * tabular.C: remove some commented code.
14468
14469 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * BufferView_pimpl.C: call hideSplash()
14472
14473         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14474
14475         * include_form.h:
14476         * bibforms.h: remove
14477
14478         * lyxfunc.C:
14479         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14480           add LFUN_CHILD_CREATE
14481
14482         * counters.h: fix tiny typo
14483
14484         * lyx_cb.C:
14485         * lyx.h:
14486         * lyx_gui.C:
14487         * lyx.C: move splash to frontends/xforms/
14488
14489         * lyx_gui_misc.C: move Include and Bibform to frontends
14490
14491         * lyxvc.h: clarify comment
14492
14493         * vspace.C: tiny housekeeping
14494
14495 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14496
14497         * text.C (PrepareToPrint): RTL Fix.
14498
14499         * paragraph.C (GetUChar): New method.
14500         (String):  Use GetUChar.
14501
14502         * buffer.C (asciiParagraph): Use GetUChar.
14503
14504 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14507
14508 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * buffer.h:
14511         * buffer.C: rename to getLogName(), handle
14512           build log / latex log nicely
14513
14514 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14515
14516         * MenuBackend.C:
14517         * MenuBackend.h: remove support for reference menuitem type.
14518
14519 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * BufferView_pimpl.C: housekeeping
14522         * BufferView_pimpl.h:
14523         * LyXView.h:
14524         * Makefile.am:
14525         * Timeout.C:
14526         * Timeout.h:
14527         * minibuffer.h: move Timeout GUI-I
14528
14529 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * lyxrc.C (read): Update converters data-structures.
14532
14533 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14534
14535         * LaTeX.h (operator!=): add operator != for Aux_Info
14536
14537 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14540
14541         * LaTeXLog.C: deleted, useful code moved to Buffer
14542
14543         * buffer.h:
14544         * buffer.C: new function getLatexLogName()
14545
14546         * lyx_gui_misc.C:
14547         * lyx_gui.C:
14548         * lyxvc.C:
14549         * lyxvc.h:
14550         * lyxfunc.C: use frontends for LaTeX and VC logs
14551
14552 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14553
14554         * LaTeX.h: yet another std:: that Allan forgot.
14555
14556         * Variables.C (set): renamed from isset(), because this clashes
14557         with some HP-UX macros (grr).
14558
14559 2001-02-06  Allan Rae  <rae@lyx.org>
14560
14561         * LaTeX.h: Another bug fix.  Missing std:: this time.
14562
14563 2001-02-04  Allan Rae  <rae@lyx.org>
14564
14565         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14566         floats problem. I've left it commented out because it's not quite
14567         correct.  It should also test that the current object is a table or
14568         figure inset.  But I haven't gotten around to figuring out how to do
14569         that.  I *think* it'll be something like: "table" == inset.type()
14570
14571         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14572         bool.
14573
14574 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14577         all the citation/databases/styles in the auxilary file.
14578         (run): Rerun latex if there was a babel language error.
14579
14580 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14581
14582         * text.C (Backspace): Preserve the font when changing newline char
14583         with a space.
14584         (BreakParagraph): If the cursor is before a space, delete the space.
14585
14586         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14587
14588 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14589
14590         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14591         new argument (code).
14592         (ChangeCitationsIfUnique): New method.
14593
14594         * paragraph.C (GetPositionOfInset): Handle bibkey.
14595
14596 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14597
14598         * BufferView_pimpl.h: change type of Position::par_pos to
14599         LyXParagraph::size_type.
14600
14601 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * BufferView_pimpl.C (savePosition, restorePosition): Write
14604         messages to minibuffer.
14605
14606 2001-01-28  José Matos  <jamatos@fep.up.pt>
14607
14608         * buffer.C (makeDocBookFile): adds support for document language.
14609         A silly restriction on the name of LatexCommand types where removed.
14610         Added support for CDATA sections, allows to chars unescaped, used
14611         among others in code, to avoid escape < and >.
14612
14613 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14614
14615         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14616         saved positions instrad of a stack. Furthermore, a position is
14617         stored using paragraph id/paragraph position.
14618
14619         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14620         Remove LFUN_REF_BACK.
14621
14622 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14623
14624         * converter.C (dvipdfm_options): New method.
14625
14626 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14627
14628         * vspace.C (isValidLength): Fix for empty input string.
14629
14630 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14631
14632         * LyXAction.C (init): change description of LFUN_FIGURE to
14633         "Insert Graphics"
14634
14635 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * LaTeX.C: add using directive
14638
14639 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * MenuBackend.C (expand): Fix the sorting of the formats.
14642
14643 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * lyx_main.C: tiny error message fix
14646
14647 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14650         calling fl_initialize(). This fixes the problem with ',' as
14651         decimal separator in text files.
14652
14653 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * trans.C (process): Fix the keymap bug.
14656
14657 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14658
14659         * LaTeX.C (scanAuxFiles): New method. Provides support for
14660         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14661         (scanLogFile) Scan for "run BibTeX" messages.
14662
14663         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14664         OT1 font encoding. Also, load the aecompl package if the ae
14665         package is loaded.
14666
14667         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14668
14669 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * texrow.C (increasePos): turn two error messages into debug
14672         messages.
14673
14674 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14675
14676         * LaTeX.C (scanAux): Handle the \@input macro.
14677         (runBibTeX): Use scanAux().
14678
14679         * language.C (latex_options_): New field.
14680
14681         * LaTeXFeatures.C (getMacros): Add language macros.
14682
14683         * buffer.C (makeLaTeXFile): Small fix.
14684
14685 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14688
14689         * text2.C: add a using directive.
14690
14691 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14692
14693         * BufferView2.C:
14694         * lyx_gui_misc.h:
14695         * lyxfr1.C:
14696         * lyxfunc.C: kill LyXBell.
14697
14698 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * text.C (IsBoundary): Remove the error message
14701
14702         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14703
14704         * lyxrc.C (setDefaults): Correct initialization value for
14705         font_norm_type.
14706
14707 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14708
14709         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14710         gotoError().
14711
14712         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14713         and GotoNextNote().
14714
14715         * src/LyXAction.C: Added reference-next.
14716
14717         * text.C (InsertChar): Use contains instead of strchr.
14718
14719         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14720
14721 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14722
14723         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14724         alignment commands (when needed).
14725
14726         * text.C (InsertChar): Add ':' to number separator chars.