]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
66cf1e442e568a45a48307ceff2c1528b14c992d
[lyx.git] / src / ChangeLog
1 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * cursor.C (dispatch): restore current_ before returning
4
5 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text2.C (cursorUp, cursorDown): fix coords
8         (moveUp): fix crash
9
10 2004-02-12  André Pönitz  <poenitz@gmx.net>
11
12         * lyxtext.h:
13         * text.C:
14         * text2.C:
15         * text3.C: add LCursor & parameter to most cursor movement functions
16           remove usage of LyXText::cursorRow() and cursorPar()
17
18         * cursor.[Ch]: add textRow() needed members
19
20         * BufferView.C:
21         * BufferView_pimpl.C:
22         * paragraph.[Ch]:
23         * BufferView.C:
24         * BufferView_pimpl.C: adjust
25
26 2004-02-11  André Pönitz  <poenitz@gmx.net>
27
28         * lyxfunc.C:
29         * BufferView.[Ch]:
30         * BufferView_pimpl.C: shift undo/redo handling
31
32         * cursor.[Ch]: fix mathed crash
33
34         * lyxfind.C:
35         * lyxtext.h: move selectionAsText to LCursor
36
37         * output_latex.C:
38         * paragraph.C:
39         * text.C:
40         * text2.C:
41         * text3.C: adjust
42
43         * rowpainter.C: fix excessive drawing
44
45 2004-02-06  André Pönitz  <poenitz@gmx.net>
46
47         * BufferView.[Ch]:
48         * BufferView_pimpl.[Ch]:
49         * text3.C: move some text specific LFUN handling
50
51 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * text3.C (checkInsetHit): adjust coords
54         * text2.C (getColumnNearX): adjust coords
55         (edit): adjust coords
56         * text.C (getRowNearY): add two asserts
57
58 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * converter.C:
61         * format.C: add using std::distance to compile on gcc 2.95/stlport
62
63 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
66
67 2004-02-04  André Pönitz  <poenitz@gmx.net>
68
69         * BufferView.[Ch] (insertInset):
70         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
71
72         * text2.C:
73         * text3.C: adjust
74
75 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
78         on the default clause of the switch
79         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
80         wasn't catched by LCursor::dispatch
81
82 2004-02-03  André Pönitz  <poenitz@gmx.net>
83
84         * BufferView.C:
85         * cursor.[Ch]: some additional asserts
86
87         * undo.[Ch]: remove LyXText dependency in interface
88
89         * lyxfunc.C: adjust
90
91         * lyxtext.h (firstPar, lastPar): remove dead functions 
92
93         * text.C:
94         * text2.C:
95         * text3.C:
96         * paragraph.[Ch]: adjust
97
98 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
99
100         * lyxfind.C (find): fix argument order in call to ::find
101
102 2004-02-02  André Pönitz  <poenitz@gmx.net>
103
104         * cursor.[Ch]: remove direct access to anchor
105
106         * text.C: remove findText() hack
107
108 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * iterators.[Ch] (lockPath): remove in favour of...
111         * BufferView.[Ch] (setCursor): this addition
112         * BufferView.C (putSelectionAt): adjust
113         * undo.C (performUndoOrRedo): adjust
114         * lyxfunc.C (dispatch): adjust
115
116 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
117
118         * iterators.C (lockPath): add a missing slice
119         * undo.C (performUndoOrRedo): remove redundant positioning code
120
121 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
122
123         * vc-backend.C (scanMaster): ";" -> ';'
124
125 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
126
127         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
128         std::binary_function
129
130         * lyxtextclass.C (compare_name): rename to...
131         (LayoutNamesEqual): ...this
132
133         * lyxlex_pimpl.C (compare_tags): inherit from
134         std::binary_function, put back into anon namespace
135
136         * lyxfind.C (MatchString): inherig from std::binary_function
137         (findChange): use empty() istead of !size()
138
139         * format.C (FormatNamesEqual): new functor
140         (getFormat): use it
141         (getNumber): use it
142         (add): use it
143         (erase): use it
144         (setViewer): use it
145
146         * converter.C (compare_Converter): rename to...
147         (ConverterEqual): ...this, and fixup a bit.
148         (getConverter): use it, and make function const
149         (getNumber): use it, and make function const
150         (add): use it
151         (erase): use it:
152
153         * bufferlist.C: add using boost::bind
154
155         * MenuBackend.C (MenuNamesEqual): new functor
156         (hasMenu): use it, and make function const
157         (hasSubmenu): use nested bind to get rid of compare_memfun.
158
159 2004-01-30  André Pönitz  <poenitz@gmx.net>
160
161         * BufferView_pimpl.C:
162         * cursor.C:
163         * cursor.h:
164         * cursor_slice.[Ch]:
165         * lyxfunc.C:
166         * lyxtext.h:
167         * paragraph_funcs.C:
168         * paragraph_funcs.h:
169         * rowpainter.C:
170         * text.C:
171         * text2.C:
172         * text3.C: move some of the edit(x,y) handling to the insets
173         some coordinate changes.
174
175 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
176
177         * text.C: add using statements for std::advance and std::distance
178
179         * paragraph.C: add using statement for std::distance
180
181         * lyxfind.C: add using statement for std::advance
182
183         * cursor.C (region): remove std:: from swap
184         (openable): use nucleus in stead of operator->
185
186         * BufferView.C: add using statements for std::distance and std::swap
187
188 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
189
190         * iterators.C: Remove the pimple, move the needed structures to
191         the header file. Create accessor for the positions stack.
192         (asPosIterator): remove function
193
194         * PosIterator.C (PosIterator): move constructors to top of file
195         (PosIterator): reimplement the constructor taking a ParIterator in
196         terms of setFrom.
197         (setFrom): new function
198         (operator!=): inline it
199
200 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
201
202         * lyxfind.C (replaceAll): use std::advance
203
204         * iterators.h: inherit from std::iterator.
205
206         * PosIterator.C (advance, distance): remove
207         * PosIterator.h: interit from std::iterator.
208
209 2004-01-26  André Pönitz  <poenitz@gmx.net>
210
211         * BufferView.[Ch]:
212         * BufferView_pimpl.[Ch]:
213         * InsetList.[Ch]:
214         * PosIterator.[Ch]:
215         * buffer.h:
216         * bufferview_funcs.C:
217         * cursor.[Ch]:
218         * cursor_slice.h:
219         * factory.[Ch]:
220         * iterators.[Ch]:
221         * lyxfind.C:
222         * lyxfunc.C:
223         * lyxtext.h:
224         * output_docbook.C:
225         * output_latex.C:
226         * output_linuxdoc.C:
227         * output_plaintext.C:
228         * paragraph.[Ch]:
229         * paragraph_funcs.[Ch]:
230         * paragraph_pimpl.[Ch]:
231         * rowpainter.C:
232         * tabular.C:
233         * tabular.h:
234         * text.C:
235         * text2.C:
236         * text3.C: more IU:  dumps most of the rest of the mathcursor
237     implementation into cursor.[Ch]; "globalize" a bit of it.
238
239 2004-01-25  Angus Leeming  <leeming@lyx.org>
240
241         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
242
243 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
244
245         * LaTeXFeatures.h: add nice_ and nice() const
246         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
247
248 2004-01-20  André Pönitz  <poenitz@gmx.net>
249
250         * BufferView.[Ch]:
251         * BufferView_pimpl.C:
252         * PosIterator.C:
253         * bufferview_funcs.C:
254         * cursor.[Ch]:
255         * cursor_slice.[Ch]:
256         * factory.C:
257         * iterators.C:
258         * lyx_cb.C:
259         * lyxfind.C:
260         * lyxfunc.C:
261         * lyxtext.h:
262         * rowpainter.C:
263         * text.C:
264         * text2.C:
265         * text3.C:
266         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
267           LCursor and mathcursor parts to LCursor and InsetBase.
268
269 2004-01-15  André Pönitz  <poenitz@gmx.net>
270
271         * cursor_slice.[Ch]: add a few covienience functions
272
273         * funcrequest.[Ch]: remove BufferView * member
274
275         * BufferView_pimpl.C:
276         * cursor.C:
277         * factory.[Ch]:
278         * lyxfind.[Ch]:
279         * lyxfunc.C:
280         * lyxtext.h:
281         * text3.C:
282         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
283
284 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
287         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
288
289 2004-01-13  André Pönitz  <poenitz@gmx.net>
290
291         * textcursor.[Ch]:
292         * lyxtext.h: hide cursor and selection anchor behind accessor function
293
294         * BufferView.C:
295         * BufferView_pimpl.[Ch]:
296         * PosIterator.C:
297         * bufferview_funcs.C:
298         * cursor.h:
299         * lyxfind.C:
300         * lyxfunc.C:
301         * text.C:
302         * text2.C:
303         * text3.C:
304         * undo.C: adjust
305
306         * cursor.h:
307         * cursor_slice.[Ch]: some integer type changes for inset unification
308
309         * lyxcursor.[hC]: remove, it's CursorSlice now.
310
311         * Makefile.am:
312         * BufferView_pimpl.[Ch]:
313         * bufferview_funcs.C:
314         * cursor_slice.C:
315         * lyxtext.h:
316         * text.C:
317         * text2.C:
318         * text3.C:
319         * textcursor.[Ch]: adjust
320
321 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * text2.C (undoSpan): add and use
324         * text.C (breakParagraph): use undoSpan (fix bug 578)
325         * lyxtext.h: adjust
326
327 2004-01-08  Angus Leeming  <leeming@lyx.org>
328
329         * BufferView_pimpl.C (MenuInsertLyXFile):
330         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
331         * lyxfunc.C (menuNew, open, doImport):
332         FileFilterList change to the FileDialog open and save functions.
333
334 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
335
336         * ShareContainer.h: make isEqual and isUnique adaptable
337
338         * CutAndPaste.C: make resetOwnerAndChanges adaptable
339
340 2004-01-07  Angus Leeming  <leeming@lyx.org>
341
342         * LyXAction.C:
343         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
344
345         * BufferView_pimpl.C (dispatch): act on these LFUNs.
346
347         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
348         functions replacing find, replace and replaceAll.
349
350         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
351         LFUN_WORDFIND(FORWARD|BACKWARD).
352
353 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
354
355         * text.C (breakParagraph): remove an outdated #warning
356
357 2004-01-07  André Pönitz  <poenitz@gmx.net>
358
359         * lyxfind.C: somewhat clearer logic
360
361         * text.C: prevent crash in cursorX on unitialized row cache
362
363 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * lyxcursor.[Ch] (operator>): add
366         * textcursor.C (selStart, selEnd): use std::min and std::max
367
368 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * Chktex.C: include boost/format.hpp
371
372 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * InsetList.C: replace functor MathcIt with adaptable functor
375         InsetTablePosLess
376         (insetIterator): modify accordingly
377
378         * BranchList.h: move the BranchNamesEqual functor here from...
379         * BranchList.C: ... to here
380
381         * BranchList.C: new BranchListEqual fuctor, use it. Remove
382         SameName and match.
383         (add): replace a finding loop with std::find_if.
384
385 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * output_docbook.C: moving LatexParam functionality into
388         .layout files
389
390 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
391
392         * buffer.C: increment format to 229.
393
394 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
395
396         * LaTeXFeatures.C:
397         * lyx_sty.[Ch]: remove minipageindent_def
398
399         * LyXAction.C:
400         * factory.C:
401         * lfuns.h:
402         * lyxfunc.C:
403         * text3.C: remove LFUN_INSET_MINIPAGE
404
405 2003-12-28  Angus Leeming  <leeming@lyx.org>
406
407         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
408
409 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * text2.C (setParagraph): fix off-by-one crash
412
413 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
414
415         * output_docbook.C: header stuff for AGU
416
417 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * text2.C (redoCursor): remove
420         * text.C:
421         * text3.C:
422         * BufferView_pimpl.C: remove calls to redoCursor and
423         setCursor(cursor.par(), cursor.pos()) all around
424
425 2003-12-15  Angus Leeming  <leeming@lyx.org>
426
427         * buffer.C: up the format to 228.
428
429 2003-12-15  André Pönitz  <poenitz@gmx.net>
430
431         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
432         slices
433
434         * Makefile.am:
435
436         * BufferView_pimpl.C:
437         * cursor.[Ch]:
438         * lyxcursor.[Ch]:
439         * rowpainter.[Ch]:
440         * lyxtext.h:
441         * text.C:
442         * text2.C:
443         * text3.C: adjust
444
445 2003-12-15  Angus Leeming  <leeming@lyx.org>
446
447         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
448         than getFromGUIName to manipulate the color.
449
450 2003-12-14  Angus Leeming  <leeming@lyx.org>
451
452         * BranchList.[Ch]: minimize the API.
453         (Branch::getBranch, getColor): now return a 'const &'.
454         (Branch::setSelected) now returns a bool set to true if the
455         selection status changes.
456         (BranchList::clear, size, getColor, setColor, setSelected,
457         allBranches, allSelected, separator): removed.
458         (BranchList::find): new functions, returning the Branch with
459         the given name.
460         (BranchList::add, remove): return a bool indicating that
461         the operation was successful.
462
463         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
464         new InsetBranch::isBranchSlected member function.
465
466         * LColor.[Ch]: mimimize the API.
467         (fill): renamed as addColor and made private.
468         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
469         versions of these functions taking a string arg have been removed.
470
471         * bufferparams.C (readToken):
472         * lyxfunc.C (dispatch):
473         * lyxrc.C (read): changes due to the altered BranchList and
474         LColor APIs.
475
476         * factory.C (createInset, readInset): changes due to altered
477         InsetBranch c-tor.
478
479 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * factory.C:
482         * lyxfunc.C: remove insetminipage. "minipage-insert"
483         now produces a frameless minipage box inset.
484
485 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * textcursor.[Ch] (selStart,selEnd): add new methods
488         remove selection::start, end, use LyXCursor::operator<
489         * lyxcursor.[Ch] (operator<): add
490         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
491         * BufferView.[Ch] (unsetXSel): add
492         * text2.C (clearSelection): use unsetXSel,adjust
493         * text.C: adjust
494         * text3.C: adjust
495         * rowpainter.C: adjust
496         * bufferview_funcs.C (put_selection_at): adjust
497
498 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * BufferView_pimpl.C: small coord. correction
501
502 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
505         dragging over the splash screen.
506
507 2003-12-11  Angus Leeming  <leeming@lyx.org>
508
509         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
510         as it is now handled in LyXText::dispatch.
511
512         * text3.C (doInsertInset): remove a level of nesting.
513
514 2003-12-11  Angus Leeming  <leeming@lyx.org>
515
516         * factory.C (createInset): changes due to the changed interface to
517         InsetCommandMailer::string2params.
518
519 2003-12-10  Angus Leeming  <leeming@lyx.org>
520
521         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
522         'dialog-show-new-inset <inset name>'
523
524 2003-12-10  Angus Leeming  <leeming@lyx.org>
525
526         * buffer.C: up the format to 227.
527
528         * factory.C: the box inset is now identified simply by 'Box'.
529
530 2003-12-10  Angus Leeming  <leeming@lyx.org>
531
532         * buffer.C: up the format to 226.
533
534         * factory.C: the note inset is now identified simply by 'Note'.
535
536 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
537
538         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
539         when a pit is enough. Standarize a couple of loops.
540
541 2003-12-05  Angus Leeming  <leeming@lyx.org>
542
543         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
544         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
545         data to the re-worked "log" dialog.
546
547 2003-12-03  André Pönitz  <poenitz@gmx.net>
548
549         * PosIterator.C:
550         * iterators.C:
551         * lyxtext.h:
552         * output_latex.C:
553         * paragraph_funcs.C:
554         * text.C:
555         * text2.C: use Inset::getText instead of Inset::getParagraph
556
557 2003-12-03  André Pönitz  <poenitz@gmx.net>
558
559         * buffer.[Ch]:
560         * lyxtext.h:
561         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
562         InsetText::read() as LyXText::read()
563
564 2003-12-02  Angus Leeming  <leeming@lyx.org>
565
566         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
567         type. Add a comment in the implementation that the function uses
568         the stream's bad() function rather than fail() as the std::streams
569         would do.
570
571 2003-12-02  André Pönitz  <poenitz@gmx.net>
572
573         * lyxlex.[Ch]: make interface more similar to std::stream
574
575         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
576
577 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
580
581 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
582
583         * vspace.[Ch]: remove VSpace::NONE
584
585 2003-12-01  André Pönitz  <poenitz@gmx.net>
586
587         * buffer.[Ch]:
588         * lyxtext.h: move ParagraphList member to LyXText
589         rename LyXText::ownerParagraphs to LyXText::paragraph
590
591         * CutAndPaste.C:
592         * bufferview_funcs.C:
593         * iterators.[Ch]:
594         * lyx_cb.C:
595         * paragraph.C:
596         * rowpainter.C:
597         * tabular.C:
598         * text.C:
599         * text2.C:
600         * text3.C: adjust
601
602         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
603
604         * undo.C: fix cursor positioning
605
606 2003-12-01  John Levon  <levon@movementarian.org>
607
608         * BufferView_pimpl.C: fix a crash on exit with
609         a buffer open
610
611 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
612
613         * BranchList.C: fix setSelected() method.
614
615 2003-11-28  André Pönitz  <poenitz@gmx.net>
616
617         * ParagraphParameters.[Ch]:
618         * ParameterStruct.h: remove space above/below from Paragraph to
619          InsetVSpace
620
621         * BufferView_pimpl.C:
622         * factory.C:
623         * lyxfunc.C:
624         * lyxtext.h:
625         * output_latex.C:
626         * paragraph.C:
627         * paragraph_funcs.C:
628         * rowpainter.[Ch]:
629         * text.C:
630         * text2.C:
631         * text3.C: adjust
632
633 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
634
635         * factory.C: Syntax change for CharStyles
636
637 2003-11-28  André Pönitz  <poenitz@gmx.net>
638
639         * BufferView.[Ch]:
640         * BufferView.[Ch]:
641         * buffer.[Ch]:
642         * buffer.[Ch]: move LyXText member
643
644 2003-11-28  André Pönitz  <poenitz@gmx.net>
645
646         * BufferView.[Ch]: make LyXText * text a private member
647
648         * BufferView_pimpl.C:
649         * cursor.C:
650         * iterators.C:
651         * lyx_cb.C:
652         * lyxfind.C:
653         * lyxtext.h:
654         * rowpainter.[Ch]:
655         * text.C:
656         * text2.C:
657         * undo.C: adjust
658
659         * output_plaintext.C: cleanup
660
661 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
662
663         * buffer.C:
664         * lyxtextclass.[Ch]: parametrize SGML document header
665
666 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * converter.[Ch]:
669         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
670         getFlavor().
671
672 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * text2.C (setFont): rework using PosIterator (no more recursive)
675         (setCharFont): no more needed
676         (setLayout): no more selection cursors fiddling (done by redoCursor)
677         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
678         destroy remaining ones)
679
680 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
681
682         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
683         * lyxtext.h: ditto
684         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
685         selection cursors
686         * lyxfunc.C: adjust
687         * text3.C: adjust + re-allow multi par depth changes
688         * textcursor.C: simplify a bit
689
690 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
691
692         * src/buffer.C:
693         * src/lyxlayout.C:
694         * src/lyxlayout.h:
695         * src/lyxtext.h:
696         * src/output_docbook.C:
697         * src/output_latex.C:
698         * src/paragraph.C:
699         * src/paragraph.h:
700         * src/sgml.C:
701         * src/sgml.h:
702         * src/text2.C: Introducing a number of tags parametrizing various
703         XML formats that we may want to support
704
705 2003-11-25  André Pönitz  <poenitz@gmx.net>
706
707         * InsetList.[Ch] (begein, end): inline as suggested by profiler
708
709         * lyxtext.h (leftMargin/rightMargin): simplify interface
710
711         * rowpainter.C:
712         * text.C:
713         * text2.C:
714         * text3.C: adjust
715
716 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * lyxfunc.C (dispatch): propogate the bibtex databases from the
719         master file to any child files. Fixes bug 546.
720
721 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
724
725 2003-11-24  André Pönitz  <poenitz@gmx.net>
726
727         * rowpainter.C: simplification
728
729         * text2.C (updateCounters): remove call to redoParagraph on
730         changed labels as this is far too expensive.
731
732 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
733
734         * converter.C (convert): fix a crash: this function gets
735         called with buffer == 0 from importer code.
736
737 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * text3.C (cursorPrevious): make sure that we do not compare
740         iterators form different containers.
741         (cursorNext): ditto
742
743         * rowpainter.C (paintSelection): make sure that we do not compare
744         iterators from different containers.
745
746         * text3.C (dispatch): [PRIOR] make sure that we do not compare
747         iterators from different ParagraphList containers.
748         [NEXT] ditto
749
750         * text2.C (LyXText): change order of initialization slightly
751         (operator=): new function. copy all variables except cache_par_
752         (moveUp): make sure that we do not compare iterators from
753         different ParagraphList constainers.
754         (moveDown): ditto
755
756         * text.C (firstPar): new function
757         (lastPar): new function
758         (endPar): new function
759
760         * lyxtext.h: move things around and group public functions, public
761         variables, private functions, private variables
762
763 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
764
765         * factory.C: change call to InsetERT constructor to avoid
766         additional invocation of method status
767         * text2.C (toggleInset): remove redundant update() call
768         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
769         instead of a Bufferview pointer
770
771 2003-11-21  André Pönitz  <poenitz@gmx.net>
772
773         * rowpainter.C: simplification
774
775 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
776
777         * text3.C (dispatch): make possible to extend a word/row selection
778         with the mouse
779
780 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
781
782         * lyxtext.h: x0_,y0_ -> xo_,yo_
783         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
784         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
785         * rowpainter.C (paintRows): paint full paragraphs
786
787 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
790         screen coordinates)
791
792 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * lyxtext.h: add x0_, y0_
795         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
796         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
797
798 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
799
800         * text2.C (setCursorIntern): move the x_target update here *
801         * text3.C: change some bv() to true/false in calls to
802         cursorUp/Down/Right/Left
803         * cursor.C: use helper function.
804
805 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
806
807         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
808         * paragraph_funcs.[Ch]: correct comment
809         * rowpainter.C: do not paint selections away from bv->cursor()
810         Fix a long standing selection painting bug.
811         * text3.C: generalize mouse-selection code to LyXTexts other that
812         top one
813         * textcursor.C: do not use y coords if we can use par offsets
814
815 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
816
817         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
818         cursor position after e.g. inset insert)
819
820 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * lyxfind.C (replace): adjust to locking removal + some
823         code simplification
824
825 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
826
827         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
828         of the path
829
830 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
831
832         * lyxlayout.[Ch]:
833         * output_docbook.C: XML sanitation: new layout
834         parameters InnerTag and CommandDepth
835
836 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * BufferView_pimpl.C:
839         * factory.C:
840         * text3.C: Fix the insertion and modification of button-style
841         insets
842
843 2003-11-13  André Pönitz  <poenitz@gmx.net>
844
845         * InsetList.[Ch]: remove deleteLyXText
846
847         * paragraph.[Ch]: cache beginOfBody position
848
849         * Bidi.C:
850         * text.C:
851         * text2.C:
852         * text3.C: remove superfluous update() calls
853
854         * vspace.C: cleanup
855
856 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
859         * BufferView.C (fitLockedInsetCursor): remove
860         * cursor.[Ch] (getDim): add
861         * text.C (getRowNearY): add faster version
862         * text3.C: remove some update calls
863
864 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * LaTeXFeatures.C:
867         * LyXAction.C:
868         * MenuBackend.C:
869         * MenuBackend.h:
870         * dispatchresult.h:
871         * factory.C:
872         * lfuns.h:
873         * lyxfunc.C:
874         * lyxtextclass.C:
875         * lyxtextclass.h:
876         * text3.C: The Character Style /XML short element patch.
877
878 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
879
880         * text3.C:
881         * factory.C: Small step to solving 'unable to insert some insets'
882         problem
883
884 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * cursor.[Ch] (updatePos): new function for updating the y
887         position of the tip inset
888         * bufferview_funcs.C (put_selection_at):
889         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
890
891 2003-11-11  André Pönitz  <poenitz@gmx.net>
892
893         * text.C: remove big comment on invalid Paragraph pointers as it is
894         not valid anymore
895
896 2003-11-11  André Pönitz  <poenitz@gmx.net>
897
898         * text_funcs.[Ch]: merge with ...
899
900         * text.C: ... this
901
902         * lyxtext.h:
903         * text2.C:
904         * text3.C: adjust
905
906         * Makefile.am: remove text_funcs.[Ch]
907
908 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
909
910         * cursor.C (getPos): return absolute cached y coord
911
912         * BufferView_pimpl.C (fitCursor): new simplistic code
913         (workAreaDispatch): add a fitCursor call
914
915 2003-11-10  André Pönitz  <poenitz@gmx.net>
916
917         * BufferView.[Ch]:
918         * BufferView_pimpl.[Ch]: merge update() and updateInset()
919
920 2003-11-10  André Pönitz  <poenitz@gmx.net>
921
922         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
923         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
924         indicate that the cursor needs to leave an inset
925
926         * lyxtext.h: remove inset locking
927
928         * cursor.[Ch]: re-implement functionality provided by inset locking
929
930         * BufferView.[Ch]:
931         * BufferView_pimpl.[Ch]:
932         * LyXAction.C:
933         * bufferview_funcs.[Ch]:
934         * factory.C:
935         * funcrequest.[Ch]:
936         * iterators.C:
937         * lyx_cb.C:
938         * lyxfind.C:
939         * lyxfunc.C:
940         * text.C:
941         * text2.C:
942         * text3.C:
943         * undo.C: adjust
944
945 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
946
947         * PosIterator.[Ch]: replace the stack with a vector, add inset
948         accesor
949         * iterators.[C]: adjust
950
951 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
952
953         * lyxfind.C (replaceAll): mark the buffer dirty if something was
954         replaced
955         * paragraph_funcs.C (readParToken): put the correct id in the
956         error item, not the id of the top paragraph
957
958 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
959
960         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
961         * bufferview_funcs.C (put_selection_at): use the above
962
963 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
964
965         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
966
967 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * output_linuxdoc.h:
970         * output_plaintext.h:
971         * output.h:
972         * output_docbook.h: add #include statements
973
974 2003-11-05  José Matos  <jamatos@lyx.org>
975
976         * output_docbook.[Ch]:
977         * output_latex.[Ch]:
978         * output_linuxdoc.[Ch]:
979         * output_plaintext.[Ch]: New files for output formats.
980         * output.[Ch]: New file for helper functions.
981
982         * buffer.[Ch]:
983         * paragraph_funcs.[Ch]: output functions moved to new files.
984
985         * outputparams.h: rename of latexrunparams.h
986
987         * LaTeX.[Ch]:
988         * buffer.[Ch]:
989         * bufferlist.[Ch]:
990         * converter.[Ch]:
991         * exporter.C:
992         * paragraph.[Ch]:
993         * paragraph_funcs.[Ch]:
994         * paragraph_pimpl.[Ch]:
995         * tabular.[Ch]: rename ascii to plaintext
996         and LatexRunParams to OutputParams.
997
998 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
999
1000         * iterators.[Ch] (text): require bv argument
1001         * undo.C (recordUndo):
1002         * lyxfunc.C (dispatch):
1003         * bufferview_funcs.C (put_selection_at): adjust
1004
1005 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1006
1007         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1008
1009 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1010
1011         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1012         nestings
1013
1014 2003-11-04  André Pönitz  <poenitz@gmx.net>
1015
1016         * cursor.[Ch]: restructure
1017
1018         * BufferView.[Ch]:
1019         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1020
1021         * iterators.[Ch] (asCursor): remove
1022
1023         * lfuns.h: remove LFUN_INSET_EDIT
1024
1025         * lyxfunc.C:
1026         * tabular.C:
1027         * text.C:
1028         * text2.C:
1029         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1030
1031 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1032
1033         * lyxfind.[Ch]: complete overhaul
1034         * BufferView_pimpl.C:
1035         * lyxfunc.C: adjust
1036         * paragraph.[Ch] (insert): add
1037
1038 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1039
1040         * BufferView.[Ch]:
1041         * lyxtext.h:
1042         * text.C: remove dead spellcheck code
1043
1044 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1045
1046         * dispatchresult.h: add a val setter
1047
1048         * cursor.C (dispatch): use a tempvar for data_[i]
1049
1050 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1051
1052         * PosIterator.[Ch]: compile fix
1053
1054 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1055
1056         * text.C (cursorPar): deactivate the cursor cache
1057
1058 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1059
1060         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1061
1062 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1063
1064         * text3.C (dispatch): adjust for new DisptchResult semantics.
1065
1066         * lyxfunc.C (dispatch): handle update when return from
1067         Cursor::dispatch, adjust for new DispatchResult semantics.
1068
1069         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1070         DispatchResult(true) mean to not update. Add class functions for
1071         setting dispatched and update, as well as reading.
1072
1073         * cursor.C (dispatch): don't handle update here
1074
1075 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1078         * trans_mgr.C: adjust
1079
1080         * paragraph_funcs.C (readParToken): exception safety
1081
1082         * lyxvc.h: store the vcs pointer in a scoped_ptr
1083         * lyxvc.C: adjust
1084
1085         * lyxsocket.C (serverCallback): exception safety
1086
1087         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1088
1089         * ispell.C (clone): make it return a auto_ptr
1090
1091         * factory.C (createInset): exception safety
1092         (readInset): exception safety
1093
1094         * bufferlist.C (newBuffer): exception safety
1095
1096         * Thesaurus.C (Thesaurus): use initialization for aik_
1097
1098         * MenuBackend.C (expandToc): exception safety.
1099
1100 2003-11-03  André Pönitz  <poenitz@gmx.net>
1101
1102         * buffer.C:
1103         * buffer.h:
1104         * bufferview_funcs.C: remove getInsetFromId()
1105
1106         * lyxcursor.[Ch]:
1107         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1108
1109         * lyxfunc.C:
1110         * text2.C:
1111         * text3.C: adjust
1112
1113 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1114
1115         * PosIterator.C (distance, advance): new
1116         * bufferview_funcs.[Ch] (put_selection_at): new
1117         * iterators.[Ch] (lockPath): new
1118
1119 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1120
1121         * iterators.[Ch] (asPosIterator): added
1122         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1123         * PosIterator.[Ch]: added
1124
1125 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * text3.C:
1128         * lyxfunc.C:
1129         * cursor.C (dispatch):
1130         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1131
1132         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1133         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1134         contructor, add a class function dispatched. Remove operator>=
1135
1136 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1137
1138         * debug.C: only use the default constructor for debugstream
1139         (lyxerr) here.
1140
1141         * main.C (main): include debug.h and setup the lyxerr streambuf
1142         here.
1143
1144 2003-10-31  José Matos  <jamatos@lyx.org>
1145
1146         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1147
1148         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1149         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1150         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1151         * paragraph_pimpl.C (simpleTeXSpecialC):
1152         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1153         add LatexRunParams argument.
1154
1155         * exporter.C (Export): change call accordingly.
1156
1157         * latexrunparams.h: add new member to take care of the other backends.
1158 2003-10-30  José Matos  <jamatos@lyx.org>
1159
1160         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1161         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1162         factorise code for paragraph output.
1163         * buffer.[Ch]:
1164         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1165         move functions.
1166
1167 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1168
1169         * text3.C (dispatch):
1170         * lyxfunc.C (dispatch):
1171         * cursor.C (dispatch):
1172         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1173
1174         * dispatchresult.h: make the dispatch_result_t ctor explicit
1175
1176 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * sgml.[Ch]:
1179         * buffer.C: small refactoring of docbook stuff
1180
1181 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1182
1183         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1184         meaning.
1185
1186 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1187
1188         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1189         operator dispatch_result_t, and operators for == != and >=
1190
1191         * cursor.C (dispatch): adjust for operator dispatch_result_t
1192         removal. comment out call to update
1193
1194         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1195
1196 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1197
1198         * text3.C:
1199         * text2.C:
1200         * text.C:
1201         * lyxtext.h:
1202         * lyxfunc.C:
1203         * cursor.C:
1204         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1205         (dispatch):
1206
1207         * dispatchresult.h: new file, DispatchResult broken out of
1208         insets/insetbase.h
1209
1210         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1211
1212 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * text.C (rowBreakPoint): put a hack inside #if 0
1215
1216 2003-10-28  André Pönitz  <poenitz@gmx.net>
1217
1218         * lyxtext.h:
1219         * metricsinfo.C:
1220         * paragraph_funcs.C:
1221         * rowpainter.C:
1222         * text.C:
1223         * text2.C: general cleanup (lots of small stuff)
1224
1225 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1226
1227         * text2.C (cursorEnd): simple fix to the "end key goes to one
1228         before the end on last row" bug
1229
1230 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1231
1232         * text.C (backspace): fix the "zombie characters"
1233
1234 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1237
1238 2003-10-27  André Pönitz  <poenitz@gmx.net>
1239
1240         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1241
1242         * factory.C: handle new InsetPagebreak, InsetLine
1243
1244         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1245         and move handling into new InsetPagebreak, InsetLine
1246
1247         * BufferView_pimpl.C:
1248         * LyXAction.C:
1249         * ParagraphParameters.C:
1250         * ParameterStruct.h:
1251         * lyxfunc.C:
1252         * lyxtext.h:
1253         * paragraph.C:
1254         * paragraph.h:
1255         * paragraph_funcs.C:
1256         * paragraph_pimpl.C:
1257         * rowpainter.C:
1258         * text.C:
1259         * text2.C:
1260         * text3.C: adjust
1261
1262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1263
1264         * text.C:
1265         * lyxrow_funcs.[Ch]:
1266         * Bidi.C:
1267         * paragraph.C:
1268         * lyxtext.h:
1269         * rowpainter.C:
1270         * text2.C:
1271         * text3.C: remove lastPos uses in favour of Row::endpos
1272
1273 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1274
1275         * undo.C (performUndoOrRedo): fix two crashes by setting a
1276         cursor by hand and reordering some calls. Use bv->lockInset instead
1277         of inset->edit because the latter loses cursor information
1278
1279 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1280
1281         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1282         by Martin
1283         (rowBreakPoint): fix width. change point to point + 1.
1284         Add a missing check.
1285
1286 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1287
1288         * MenuBackend.C:
1289         * lyxfunc.C: fix (at least partly) the problems
1290         with the Nav menu and headers inside branch insets
1291         reported by Kayvan
1292
1293 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1294
1295         * paragraph.C (getChar): add strong asserts
1296
1297         * lyxrow_funcs.C (lastPos): remove hideous hack
1298
1299         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1300         (fill): adjust to that (avoid an infinite loop)
1301
1302 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1303
1304         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1305
1306 2003-10-23  André Pönitz  <poenitz@gmx.net>
1307
1308         * RowList_fwd.h: change list<> to vector<> to gain speed
1309         after suggestion from Alfredo
1310
1311 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1312
1313         * lyxtext.h: move the bidi stuff from here...
1314         * text.C: and here
1315         * text2.C: and here
1316         * Bidi.[Ch]: ... to here
1317
1318 2003-10-23  André Pönitz  <poenitz@gmx.net>
1319
1320         * lyxtext.h:
1321         * text.C (isLastRow, isFirstRow): new functions
1322
1323         * paragraph.h: new width cache member
1324
1325         * rowpainter.C: replace RowList::iterator with Row & where possible
1326
1327         * lyxfunc.C: replace several view()->text with a single call
1328
1329         * toc.C: fix 'unused' warning
1330
1331 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1332
1333         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1334         when woring with stream::pos_type
1335         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1336
1337 2003-10-22  André Pönitz  <poenitz@gmx.net>
1338
1339         * lyxtext.h:
1340         * text.C: use Row & instead of RowList::iterator
1341
1342         * lyxrow.h: rename end() to endpos()
1343
1344         * rowpainter.C:
1345         * text.C:
1346         * text2.C: adjust
1347
1348 2003-10-22  Angus Leeming  <leeming@lyx.org>
1349
1350         * buffer.[Ch] (fully_loaded): new member function, returning true
1351         only when the file has been loaded fully.
1352         Used to prevent the premature generation of previews and by the
1353         citation inset to prevent computation of the natbib-style label.
1354
1355         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1356         templates are all set up.
1357
1358         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1359
1360 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1361
1362         * text.C: fixed an "oops" in the "is a bit silly"
1363         bug fix
1364
1365 2003-10-21  André Pönitz  <poenitz@gmx.net>
1366
1367         * FuncStatus.[Ch]: small stuff, whitespace
1368
1369         * lyxfont.[Ch]: operator<<() for debug reasons
1370
1371         * lyxfunc.C:
1372         * lyxrow_funcs.C:
1373         * lyxtext.h: whitespace, spelling
1374
1375         * paragraph.C: naming of variables
1376
1377         * text.C:
1378         * text2.C: small stuff
1379
1380
1381 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1382
1383         * text.C: (1) finish off the inset display() work;
1384         (2) fix the "is a bit silly" bug (accessing char
1385         past end of par).
1386
1387 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1388
1389         * text.C: re-introduce display() for insets, fixing the
1390         various bugs (stretch of line above, math inset
1391         positioning, ...)
1392
1393 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1394
1395         * text.C (rightMargin): remove spurious semicolon
1396
1397         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1398         1415)
1399
1400 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * text3.C: fix one crash due to wrong cursor def
1403
1404 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1405
1406         * vc-backend.C (scanMaster): make the regex static
1407
1408         * LaTeX.C (scanAuxFile): make the regexs static
1409
1410         * text3.C (doInsertInset, dispatch, dispatch):
1411         * text2.C (cursorUp, cursorDown):
1412         * text.C (selectNextWordToSpellcheck):
1413         * BufferView_pimpl.C (dispatch):
1414         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1415
1416 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * lyxsocket.C: include <cerrno>
1419
1420 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1421
1422         * lyxfunc.C (dispatch): remove textcache stuff
1423
1424         * bufferlist.C (release): remove textcache stuff
1425         (closeAll): ditto
1426
1427         * TextCache.C: delete file
1428         * TextCache.h: delete file
1429
1430         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1431
1432         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1433         delete of the bv_->text.
1434         (resizeCurrentBuffer): remove texcache stuff
1435         (workAreaResize): ditto
1436
1437 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1440         action.
1441
1442 2003-10-16  André Pönitz  <poenitz@gmx.net>
1443
1444         * lyxrow.[Ch]:
1445         * paragraph.h:
1446         * rowpainter.C:
1447         * text.C:
1448         * text2.C:
1449         * text3.C: speed up by storing y positions per paragraph plus per-row
1450         offset instead of having a 'full' y position in the row.
1451
1452 2003-10-15  André Pönitz  <poenitz@gmx.net>
1453
1454         * iterators.[Ch]:
1455         * iterators.[Ch]:
1456         * undo.[Ch]: make undo aware of inner insets
1457
1458 2003-10-14  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1461         static member functions LyX::ref() and LyX::cref.
1462         (lastfiles): new accessor functions for the new lastfiles_ member var.
1463         (addLyXView, views_): add a new LyXView to the list of views_.
1464         (updateInset): loop over all LyXViews to call their own updateInset
1465         member function, returning a pointer to the Buffer owning the inset.
1466
1467         * BufferView_pimpl.C (loadLyXFile):
1468         * MenuBackend.C (expandLastfiles):
1469         * bufferlist.C (MenuWrite, QuitLyX):
1470         lastfiles is no longer a global variable.
1471         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1472
1473         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1474         static function. Access through LyX::cref().emergencyCleanup().
1475
1476 2003-10-14  André Pönitz  <poenitz@gmx.net>
1477
1478         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1479
1480         * undo.[Ch]: restoring part of 'undo in insets'
1481
1482         * Makefile.am:
1483         * undo_funcs.[Ch]: merge with undo.[Ch]
1484
1485         * tabular.C: small cleansing stuff
1486
1487 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * paragraph_funcs.C (readParToken): report unknown insets as error
1490         boxes. Use the outer paragraph as location (also for unknown
1491         tokens).
1492
1493         * factory.C (readInset): do not abort on reading an unknown inset.
1494         Eat it and return 0.
1495
1496 2003-10-13  Angus Leeming  <leeming@lyx.org>
1497
1498         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1499
1500         * lyxrc.C: displayTranslator is now a function,
1501         declared in GraphicsTypes.h.
1502
1503 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1504
1505         * format.C: new placeholder $$a to pass the socket address.
1506
1507         * bufferlist.[Ch]: new function getBufferFromTmp.
1508
1509         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1510           files in the temporary dir.
1511
1512 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1513
1514         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1515
1516         * Makefile.am: add lyxsocket.[Ch].
1517
1518         * lyx_main.C (error_handler): handle SIGPIPE.
1519
1520 2003-10-13  André Pönitz  <poenitz@gmx.net>
1521
1522         * BufferView_pimpl.C:
1523         * lyxtext.h:
1524         * text.C:
1525         * text2.C:
1526         * text3.C:
1527         * undo_funcs.[Ch]: use paroffset_type instead of
1528           ParagraphList::iterators to prevent multiple conversion
1529           (and get a more robust interface)
1530
1531 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1532
1533         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1534         * lyxtext.h: ditto
1535         * text3.C (dispatch): ditto
1536
1537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1540         move the onlyfile, use onlyfile instead of foundfile in a couple
1541         of places.
1542
1543         * DepTable.C (update): flush the error stream a bit more
1544
1545 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * lyxserver.C (callback): adjust
1548
1549         * lyxfunc.C (getStatus): add a missing brace in commented code
1550         (ensureBufferClean): reindent
1551         (dispatch): delete version taking a string
1552
1553 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * LaTeX.C (deplog): move found file handlig from here...
1556         (handleFoundFile): .. to new function here.
1557         (deplog): make sure to discover several files mentioned on the
1558         same log line.
1559
1560 2003-10-10  André Pönitz  <poenitz@gmx.net>
1561
1562         * lyxfunc.C:
1563         * lyxtext.h:
1564         * tabular.C:
1565         * text.C:
1566         * text2.C:
1567         * text3.C: fix some of the tabular crashes
1568
1569 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1570
1571         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1572
1573         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1574
1575 2003-10-09  André Pönitz  <poenitz@gmx.net>
1576
1577         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1578
1579         * BufferView.C:
1580         * BufferView_pimpl.C:
1581         * bufferview_funcs.C:
1582         * lyx_cb.C:
1583         * lyxcursor.C:
1584         * lyxfind.C:
1585         * lyxfunc.C:
1586         * lyxtext.h:
1587         * text.C:
1588         * text2.C:
1589         * text3.C:
1590         * text_funcs.[Ch]:
1591         * textcursor.[Ch]:
1592         * undo_funcs.C: adjust
1593
1594 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1595
1596         * text2.C (incrementItemDepth): new function, use a backtracking
1597         algorithm to discover the correct item depth.
1598         (resetEnumCounterIfNeeded): new function, use a backtracking
1599         algorithm to discover if counter reset is needed.
1600         (setCounter): use them. Simplify a bit. Add different labels for
1601         different item depths for itemize.
1602
1603         * paragraph.C (Paragraph): remove initialization of enumdepth
1604         (operator=): ditto
1605
1606         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1607         enumerate and itemize. Change the type of itemdepth to signed char.
1608
1609 2003-10-08  André Pönitz  <poenitz@gmx.net>
1610
1611         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1612           thing assignable.
1613         * text.C:
1614         * text2.C: adjust
1615
1616         * tabular.[Ch]: fix crash after 'row-insert'
1617
1618 2003-10-08  Angus Leeming  <leeming@lyx.org>
1619
1620         Fix doxygen warnings.
1621
1622         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1623         Remove CutAndPaste:: prefix from header file declaration.
1624
1625         * LColor.h (fill): remove LColor:: prefix from declaration.
1626
1627         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1628         use lyx::depth_type rather than Paragraph::depth_type so that
1629         header file and .C file match.
1630
1631         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1632
1633         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1634         * aspell.C: \file aspell_local.C -> \file aspell.C
1635         * gettext.C: \file gettext.C -> \file src/gettext.C
1636         * gettext.h: \file gettext.h -> \file src/gettext.h
1637         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1638         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1639         * text.C: \file text.C -> \file src/text.C
1640
1641         * toc.C: move comment so that doxygen is not confused.
1642
1643 2003-10-07  Angus Leeming  <leeming@lyx.org>
1644
1645         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1646
1647 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1648
1649         * aspell.C:
1650         * aspell_local.h: add forgotten std::string's.
1651
1652 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1653
1654         * LaTeXFeatures.C:
1655         * LyXAction.C:
1656         * factory.C:
1657         * lfuns.h:
1658         * lyxfunc.C:
1659         * text3.C: The Box patch. Fancybox support, minipage, parbox
1660
1661 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1662
1663         * CutAndPaste.h:
1664         * DepTable.h:
1665         * FloatList.h:
1666         * LaTeXFeatures.h:
1667         * ParagraphParameters.h:
1668         * TextCache.h:
1669         * Thesaurus.h:
1670         * bufferlist.h:
1671         * exporter.h:
1672         * importer.h:
1673         * lastfiles.h:
1674         * lyxfind.h:
1675         * lyxfont.h:
1676         * lyxlex.h:
1677         * lyxtextclasslist.h:
1678         * messages.h:
1679         * paragraph.h:
1680         * paragraph_pimpl.C:
1681         * textcursor.h: add <string> and other small fixes to make Lars'
1682         std::string patch compile with STLport.
1683
1684 2003-10-06  Angus Leeming  <leeming@lyx.org>
1685
1686         * LColor.h: Add missing #include <string>.
1687
1688 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * All most all file in all subdirs: Make <string> be the prefered
1691         way of getting to std::string, add using declarations.
1692
1693 2003-10-06  André Pönitz  <poenitz@gmx.net>
1694
1695         * metricsinfo.C: initialize LyXFont before changing attribute.
1696         (fixes the 'math in \emph is upright' bug)
1697
1698 2003-10-06  André Pönitz  <poenitz@gmx.net>
1699
1700         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1701
1702 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1703
1704         * graph.C:
1705         * paragraph_pimpl.C: Small fixes to build using STLport
1706
1707 2003-10-02  André Pönitz  <poenitz@gmx.net>
1708
1709         * lyxfunc.C:
1710         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1711
1712 2003-10-01  André Pönitz  <poenitz@gmx.net>
1713
1714         * factory.C: assert early
1715
1716 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1717
1718         * lyx_main.C: remove the global debug object
1719
1720         * debug.h: adjust for new debugstream
1721
1722         * debug.C: adjust for new debugstream and keep the global debug
1723         object here.
1724
1725 2003-09-22  Angus Leeming  <leeming@lyx.org>
1726
1727         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1728         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1729         an incomplete class LyXFont.
1730
1731 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1732
1733         * factory.C: bug fix in branches
1734
1735 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * lyxfunc.C (processKeySym): adjust
1738         (dispatch): adjust
1739         (dispatch): change arg name from ev to func, adjust
1740         (sendDispatchMessage): ditto
1741
1742         * lyx_main.C (defaultKeyBindings): adjust keybindings
1743         (deadKeyBindings): ditto
1744
1745         * kbsequence.C (addkey): return a FuncRequest
1746
1747         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1748
1749         * kbmap.C (bind): take a FuncRequest as arg, adjust
1750         (read): adjust
1751         (lookup): adjust
1752         (defkey): change to take a FuncRequest as arg, adjust
1753         (findbinding): take a FuncRequest as arg, adjust.
1754
1755         * funcrequest.h (operator=): added
1756
1757         * funcrequest.C (FuncRequest): default kb_action changed from
1758         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1759
1760         * buffer.C (dispatch): simplify
1761         (dispatch): adjust to take a FuncRequest as arg, adjust
1762
1763         * boost.C (assertion_failed): change assertion message slightly
1764
1765         * ToolbarBackend.C (read): simplify
1766
1767         * MenuBackend.C (binding): adjust call to findbinding, add a
1768         message if no binding is found.
1769         (read): simplify
1770         (expandToc): correct by adding a empty FuncRequest
1771
1772         * LyXAction.C: include <boost/assert.hpp>
1773         (isPseudoAction): delete function
1774         (LookupFunc): change name to...
1775         (lookupFunc): this. change return type to FuncRequest.
1776         (getActionName): take kb_action as arg, simplify
1777         (funcHasFlag): add an assert, simplify.
1778
1779 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * toc.C (action): return a FuncRequest, simplify
1782
1783         * lyxfunc.C (processKeySym): adjust
1784         (getStatus): delete version that takes an int.
1785         (getStatus): adjust
1786         (dispatch): delete version that takes action as int
1787         (dispatch): adjust
1788         (sendDispatchMessage): simplify and adjust
1789
1790         * funcrequest.C (getArg): take unsigned int as arg
1791
1792         * ToolbarBackend.C (read): adjust
1793         (add): delete version that takes func as a string.
1794         (getIton): take a FuncRequest as arg
1795
1796         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1797         action.
1798
1799         * MenuBackend.C (MenuItem): add a new construct that only takes a
1800         Kind, simplify the constructor use for submenus.
1801         (add): adjust
1802         (expandLastfiles): adjust
1803         (expandDocuments): adjust
1804         (expandFormats): adjust
1805         (expandFloatListInsert): adjust
1806         (expandFloatInsert): adjust
1807         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1808
1809         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1810         Remove class variables lyx_pseudo_map and lyx_arg_map
1811
1812         * LyXAction.C (searchActionArg): delete function
1813         (getPseudoAction): delete function
1814         (retrieveActionArg): delete function
1815         (LookupFunc): make it return kb_action, simplify.
1816         (getActionName): simplify
1817
1818         * factory.C (createInset): fix new bug
1819
1820 2003-09-19  Angus Leeming  <leeming@lyx.org>
1821
1822         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1823         masterFilename_ parameter in the include inset.
1824
1825         * factory.C (createInset): changes due to the changes to InsetInclude.
1826
1827 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1828
1829         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1830
1831 2003-09-18  Angus Leeming  <leeming@lyx.org>
1832
1833         * buffer.C:
1834         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1835         Inset::fillWithBibKeys.
1836         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1837
1838 2003-09-18  Angus Leeming  <leeming@lyx.org>
1839
1840         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1841         variables.
1842         (ctor): pass and store a 'Buffer const &'
1843         (buffer): new member function.
1844
1845         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1846         '*this' to the LaTeXFeatures ctor.
1847
1848 2003-09-18  Angus Leeming  <leeming@lyx.org>
1849
1850         * LColor.h:
1851         * lyxfont.C:
1852         * lyxfont.h:
1853         * lyxtext.h:
1854         * text.C: rename EnumLColor as LColor_color.
1855
1856 2003-09-18  Angus Leeming  <leeming@lyx.org>
1857
1858         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1859         remove #include "insets/insetbase.h" from cursor.h.
1860
1861 2003-09-18  Angus Leeming  <leeming@lyx.org>
1862
1863         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1864         InsetOld_code to remove #include "inset.h".
1865
1866         * iterators.C: add #include "insets/inset.h"
1867
1868 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * BufferView.C: remove more locking stuff that apparently doesn't
1871         do anything sensible.
1872
1873 2003-09-16  André Pönitz  <poenitz@gmx.net>
1874
1875         * paragraph.[Ch]:
1876         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1877           performance boost.
1878
1879 2003-09-16  Angus Leeming  <leeming@lyx.org>
1880
1881         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1882
1883         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1884         arg/return type.
1885
1886         * paragraph.h: remove #include "lyxfont.h". Forward declare
1887         LyXFont_size.
1888
1889 2003-09-16  Angus Leeming  <leeming@lyx.org>
1890
1891         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1892         of support/textutils.h.
1893         (isWord): move the contents of support/textutils.h's IsWordChar here.
1894
1895         * buffer.C:
1896         * lyxfind.C:
1897         * rowpainter.C:
1898         * text.C:
1899         * text2.C: add #include "paragraph.h".
1900
1901         * rowpainter.C:
1902         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1903
1904 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * main.C:
1907         * lyx_main.C:
1908         * lyx_cb.C:
1909         * buffer.C:
1910         * LaTeX.C: use namespace alias for lyx::support::os
1911
1912 2003-09-16  Angus Leeming  <leeming@lyx.org>
1913
1914         * bufferparams.C:
1915         * bufferview_funcs.C:
1916         * factory.C:
1917         * lyxfunc.C:
1918         * paragraph_pimpl.C:
1919         * rowpainter.C:
1920         * text.C: add #include "LColor.h".
1921
1922 2003-09-16  Angus Leeming  <leeming@lyx.org>
1923
1924         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1925         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1926         return LyXFont &.
1927         Store the FontBits::color variable as an int rather than as an
1928         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1929         file.
1930
1931         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1932         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1933         string calls together.
1934
1935         * lyxrc.C: add #include "LColor.h".
1936
1937 2003-09-15  Angus Leeming  <leeming@lyx.org>
1938
1939         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1940         a cow_ptr.
1941
1942 2003-09-15  Angus Leeming  <leeming@lyx.org>
1943
1944         * LColor.h: add an EnumLColor wrapper for LColor::color.
1945
1946         * lyxfont.[Ch] (color, setColor, realColor):
1947         * lyxtext.h, text.C (backgroundColor):
1948         pass EnumLColor args to/from the functions, rather than LColor::color
1949         ones.
1950
1951         * lyxfont.h:
1952         * lyxtext.h: forward declare EnumLColor.
1953
1954         * lyx_main.C: add #include "LColor.h".
1955
1956 2003-09-15  Angus Leeming  <leeming@lyx.org>
1957
1958         * .cvsignore: add lyx-gtk.
1959
1960 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * Chktex.C
1963         * LaTeX.C
1964         * LaTeXFeatures.C
1965         * ParagraphParameters.C
1966         * Spacing.C
1967         * buffer.C
1968         * bufferparams.C
1969         * bufferview_funcs.C
1970         * chset.C
1971         * counters.C
1972         * funcrequest.C
1973         * lyxfont.C
1974         * lyxgluelength.C
1975         * lyxlength.C
1976         * paragraph.C
1977         * paragraph_funcs.C
1978         * text3.C
1979         * vc-backend.C: remove usage of STRCONV
1980
1981 2003-09-15  Angus Leeming  <leeming@lyx.org>
1982
1983         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1984         explicitly define the color passed to the painter.
1985
1986 2003-09-15  Angus Leeming  <leeming@lyx.org>
1987
1988         * bufferparams.C (BufferParams): reorder member initializers to avoid
1989         compiler warning.
1990
1991 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1992
1993         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1994         * text.C (updateRowPositions): remove an unusual nop
1995
1996 2003-09-12  André Pönitz  <poenitz@gmx.net>
1997
1998         * BufferView_pimpl.C:
1999         * Bullet.C:
2000         * layout.h:
2001         * lyxfunc.C:
2002         * lyxlayout.[Ch]:
2003         * lyxtextclass.C:
2004         * rowpainter.C:
2005         * text.C:
2006         * text2.C:
2007         * Counters.[Ch]: finish the 'automatic counters' job
2008
2009 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2010
2011         * aspell.C: include <boost/assert.cpp> (compile fix)
2012
2013 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2014
2015         * boost.C (assertion_failed): use lyx::support::abort instead of
2016         assert.
2017
2018 2003-09-10  Angus Leeming  <leeming@lyx.org>
2019
2020         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2021         with their _fwd progeny.
2022
2023 2003-09-09  Angus Leeming  <leeming@lyx.org>
2024
2025         134 files throughtout the source tree: replace 'using namespace abc;'
2026         directives with the appropriate 'using abc::xyz;' declarations.
2027
2028 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2029
2030         * boost.C (emergencyCleanup): moved here from LAssert.c
2031         (assertion_failed): new function, called by BOOST_ASSERT
2032
2033         * several files: change Assert to BOOST_ASSERT
2034
2035 2003-09-09  Angus Leeming  <leeming@lyx.org>
2036
2037         * buffer.[Ch]: Add an Impl class and move Buffer's member
2038         variables into it. As a result move several header files out of
2039         buffer.h.
2040
2041         Add header files to lots of .C files all over the tree as a result.
2042
2043 2003-09-09  Angus Leeming  <leeming@lyx.org>
2044
2045         * buffer.[Ch]: make Buffer's member variables private. Add
2046         accessor functions.
2047
2048         Lots of changes all over the tree as a result.
2049
2050 2003-09-08  Angus Leeming  <leeming@lyx.org>
2051
2052         * graph.C: #include <config.h>.
2053
2054 2003-09-08  Angus Leeming  <leeming@lyx.org>
2055
2056         * BranchList.C:
2057         * BufferView.C:
2058         * BufferView_pimpl.C:
2059         * CutAndPaste.C:
2060         * DepTable.C:
2061         * LaTeX.C:
2062         * LaTeXFeatures.C:
2063         * LyXAction.C:
2064         * MenuBackend.C:
2065         * TextCache.C:
2066         * aspell.C:
2067         * buffer.C:
2068         * bufferlist.C:
2069         * changes.C:
2070         * chset.C:
2071         * converter.C:
2072         * counters.C:
2073         * debug.C:
2074         * graph.C:
2075         * ispell.C:
2076         * lyx_cb.C:
2077         * lyxfind.C:
2078         * lyxfunc.C:
2079         * lyxlex_pimpl.C:
2080         * lyxrc.C:
2081         * lyxrow.C:
2082         * paragraph.C:
2083         * rowpainter.C:
2084         * texrow.C:
2085         * text.C:
2086         * text2.C:
2087         * toc.C: remove redundant using directives.
2088
2089 2003-09-07  Angus Leeming  <leeming@lyx.org>
2090
2091         * LaTeXFeatures.h: remove #include "support/types.h".
2092         * ToolbarBackend.h: remove #include <algorithm>.
2093         * changes.h: remove #include <ctime>.
2094         * debug.h: remove #include <iosfwd>.
2095         * graph.h: remove #include "support/std_string.h".
2096         * lyx_main.h: remove #include <csignal>.
2097         * lyxlex_pimpl.h: remove #include <fstream>.
2098         * sgml.h: remove #include <algorithm>, <utility>.
2099         * toc.h: remove #include "support/std_ostream.h".
2100         Add #include <iosfwd>.
2101
2102 2003-09-07  Angus Leeming  <leeming@lyx.org>
2103
2104         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2105
2106         * converter.h: forward declare LatexRunParams.
2107         * encoding.h: remove #include "lyxrc.h".
2108         * lyxtext.h: remove #include "LColor.h".
2109         * lyxtextclass.h: remove #include "support/types.h".
2110         * trans.h: remove #include "tex-accent.h".
2111         * trans_mgr.h: remove #include "tex-accent.h".
2112         * insets/inset.h: remove #include "support/types.h", <vector>.
2113         * insets/insetcollapsable.h: remove #include "LColor.h".
2114         * insets/insetinclude.h: remove #include "dimension.h".
2115         * insets/insetlatexaccent.h: remove #include "dimension.h".
2116         * insets/insetoptarg.h:: remove #include "insettext.h".
2117         * insets/insettext.h: remove #include "dimension.h",
2118         <boost/shared_ptr.hpp>
2119
2120         * insets/renderers.h: add #include "dimension.h".
2121         * insets/updatableinset.h: add #include "support/types.h".
2122
2123         * many .C files: Associated changes.
2124
2125 2003-09-06  Angus Leeming  <leeming@lyx.org>
2126
2127         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2128         one, inside testInvariant.
2129
2130         * PrinterParams.C: new file.
2131         * PrinterParams.[Ch]: move the function bodies out of line.
2132
2133 2003-09-06  Angus Leeming  <leeming@lyx.org>
2134
2135         * ParagraphParameters.h: forward declare ParameterStruct rather than
2136         including its header file.
2137         (depth): moved out-of-line.
2138
2139 2003-09-06  Angus Leeming  <leeming@lyx.org>
2140
2141         * BufferView_pimpl.h:
2142         * kbmap.h:
2143         * kbsequence.h:
2144         * lyxfunc.h: forward declare LyXKeySym rather than
2145         #include "frontends/LyXKeySym.h".
2146
2147         * BufferView_pimpl.C:
2148         * kbmap.C:
2149         * kbsequence.C:
2150         * lyxfunc.C: associated changes.
2151
2152 2003-09-06  Angus Leeming  <leeming@lyx.org>
2153
2154         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2155         As a result, can remove the #include "insets/inset.h" from BufferView.h
2156
2157 2003-09-06  Angus Leeming  <leeming@lyx.org>
2158
2159         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2160         As a result, can remove the #include "insets/inset.h" from BufferView.h
2161
2162 2003-09-06  Angus Leeming  <leeming@lyx.org>
2163
2164         * buffer_funcs.C:
2165         * buffer.h:
2166         * bufferlist.C:
2167         * BufferView.C:
2168         * bufferview_funcs.C:
2169         * BufferView_pimpl.C:
2170         * CutAndPaste.C:
2171         * lyx_cb.C:
2172         * lyxfunc.C:
2173         * paragraph.h:
2174         * ParagraphParameters.C:
2175         * tabular.C:
2176         * text3.C:
2177         * toc.C:
2178         * undo_funcs.C:
2179         * frontends/controllers/ControlDocument.C:
2180         * insets/insetcaption.C: rearrange the #includes into some sort of
2181         coherent order.
2182
2183         * buffer.h: remove #includes ErrorList.h, undo.h
2184
2185 2003-09-06  Angus Leeming  <leeming@lyx.org>
2186
2187         * support/types.h: add a 'depth_type' typedef, used to store the
2188         nesting depth of a paragraph.
2189
2190         * paragraph.h:
2191         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2192         defining explicitly.
2193
2194         * buffer.h:
2195         * paragraph_funcs.h:
2196         * ParagraphParameters.h:
2197         * sgml.h: use lyx::depth_type rather than Paragraph or
2198         ParameterStruct's depth_type.
2199
2200         * buffer.h
2201         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2202
2203         * BufferView.C:
2204         * BufferView_pimpl.C:
2205         * CutAndPaste.C:
2206         * ParagraphParameters.C:
2207         * buffer_funcs.C:
2208         * bufferlist.C:
2209         * bufferview_funcs.C:
2210         * lyx_cb.C:
2211         * lyxfunc.C:
2212         * tabular.C:
2213         * text3.C:
2214         * toc.C:
2215         * undo_funcs.C:
2216         * frontends/LyXView.C:
2217         * frontends/controllers/ControlDocument.C:
2218         * frontends/controllers/ControlErrorList.C:
2219         * insets/insetbibitem.C:
2220         * insets/insetbranch.C:
2221         * insets/insetcaption.C:
2222         * insets/insetcollapsable.C:
2223         * insets/insetenv.C:
2224         * insets/insetert.C:
2225         * insets/insetfloat.C:
2226         * insets/insetfoot.C:
2227         * insets/insetfootlike.C:
2228         * insets/insetnewline.C:
2229         * insets/insetquotes.C:
2230         * insets/insettabular.C:
2231         * insets/insettext.C:
2232         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2233
2234         * frontends/controllers/ControlChanges.C: #include "changes.h".
2235
2236 2003-09-06  Angus Leeming  <leeming@lyx.org>
2237
2238         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2239         than #including paragraph.h.
2240
2241         * ParagraphList.h:
2242         * RowList.h: deleted. Superfluous.
2243
2244         * CutAndPaste.h:
2245         * iterators.h:
2246         * lyxcursor.h:
2247         * lyxtext.h:
2248         * text_funcs.h:
2249         * undo.h:
2250         * undo_funcs.h:
2251         * insets/inset.h:
2252         * insets/insettext.h: use ParagraphList_fwd.h rather than
2253         ParagraphList.h.
2254
2255         * paragraph.h: don't forward declare ParagraphList.
2256
2257         * buffer.h:
2258         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2259         rather than ParagraphList.h. paragraph.h is still needed for the
2260         Paragraph::depth_type parameters.
2261
2262         * textcursor.h: enable it to compile stand-alone in light of the
2263         above changes.
2264
2265         * bufferview_funcs.C:
2266         * iterators.C:
2267         * lyxfunc.C:
2268         * lyxrow_funcs.C:
2269         * paragraph.C:
2270         * rowpainter.C:
2271         * text.C:
2272         * text2.C:
2273         * text3.C:
2274         * text_funcs.C:
2275         * textcursor.C:
2276         * undo.C:
2277         * frontends/controllers/ControlParagraph.C:
2278         * frontends/controllers/ControlTabular.C:
2279         * insets/insetmarginal.C:
2280         * insets/insetminipage.C:
2281         * insets/insetnote.C:
2282         * insets/insetoptarg.C: add header files needed to compile again.
2283
2284 2003-09-06  Angus Leeming  <leeming@lyx.org>
2285
2286         * RowList_fwd.h: new file, forward-declaring Row rather than
2287         #including lyxrow.h.
2288
2289         * lyxrow_funcs.h:
2290         * lyxtext.h:
2291         * paragraph.h:
2292         * insets/insettext.h: use it instead of RowList.h
2293
2294         * bufferview_funcs.C:
2295         * lyxfunc.C:
2296         * lyxrow_funcs.C:
2297         * paragraph.C:
2298         * rowpainter.C:
2299         * text.C:
2300         * text2.C:
2301         * text3.C: #include "RowList.h".
2302
2303 2003-09-05  Angus Leeming  <leeming@lyx.org>
2304
2305         * factory.C (createInset):
2306         * vspace.C (c-tor): replace sscanf call with an istringstream.
2307         * ispell.C: re-add missing HP/UX headers.
2308         * lyxserver.C: re-add missing  os2 headers.
2309
2310 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2311
2312         * BranchList.C:
2313         * graph.C:
2314         * ispell.C:
2315         * lastfiles.C:
2316         * lyx_cb.C:
2317         * lyxserver.C:
2318         * texrow.C:
2319         * text3.C: re-add missing system headers, needed for 2.95.2.
2320
2321 2003-09-05  Angus Leeming  <leeming@lyx.org>
2322
2323         Changes most place everywhere due to the removal of using directives
2324         from support/std_sstream.h.
2325
2326 2003-09-05  Angus Leeming  <leeming@lyx.org>
2327
2328         Replace LString.h with support/std_string.h,
2329         Lsstream.h with support/std_sstream.h,
2330         support/LIstream.h with support/std_istream.h,
2331         support/LOstream.h with support/std_ostream.h.
2332
2333         Changes resulting throughout the tree.
2334
2335 2003-09-05  Angus Leeming  <leeming@lyx.org>
2336
2337         * sgml.h: ensure that the header file can be compiled stand-alone.
2338         * *.C: strip out redundant #includes. (320 in total.)
2339
2340 2003-09-04  Angus Leeming  <leeming@lyx.org>
2341
2342         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2343         here (from getPackages).
2344
2345         * debug.[Ch]: add a new EXTERNAL tag.
2346
2347 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2348
2349         * text2.C (cursorEnd): simplify
2350         (setCursor): adjust
2351         (getColumnNearX): adjust
2352
2353         * text.C (computeBidiTables): adjust
2354         (fill): adjust
2355
2356         * rowpainter.C (paintChars): adjust
2357         (paintSelection): adjust
2358         (paintChangeBar): adjust
2359         (paintText): adjust
2360
2361         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2362         lastPos instead.
2363         (numberOfSeparators): adjust
2364
2365 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2366
2367         * LyXAction.C:
2368         * box.[Ch]:
2369         * lfuns.h:
2370         * lyxfunc.C:
2371         * text3.C: Restricts the mouse click functionality
2372         of insets like bibtex, include, toc and floatlist to the visible
2373         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2374         up the dialogs. Cursor has to be in front of the inset (i.e.
2375         start of row) for this to function.
2376
2377 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2378
2379         * bufferview_funcs.C (currentState): output row information
2380
2381 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2382
2383         * bufferview_funcs.C (currentState): output paragraph position
2384
2385 2003-09-04  Angus Leeming  <leeming@lyx.org>
2386
2387         * FloatList.h: move out #include "Floating.h".
2388         * LaTeX.h: move out #include "DepTable.h".
2389         * LyXAction.h: move out #include "funcrequest.h".
2390         * buffer.h: move out #include "author.h", "iterators.h".
2391         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2392         * lyx_main.h: move out #include "errorlist.h".
2393         * lyxfunc.h: move out #include "FuncStatus.h".
2394         * lyxtext: move out #include "lyxcursor.h".
2395         * paragraph_pimpl.h: move out #include "counters.h".
2396
2397 2003-09-03  Angus Leeming  <leeming@lyx.org>
2398
2399         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2400         preamble_snippets list, enabling us to add snippets to the preamble
2401         only if the snippet was not there already.
2402
2403 2003-09-04  Angus Leeming  <leeming@lyx.org>
2404
2405         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2406
2407 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2410         update
2411
2412 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2413
2414         * BranchList.C: point fix, earlier forgotten
2415
2416 2003-09-02  Angus Leeming  <leeming@lyx.org>
2417
2418         * box.C (contains): renamed from 'contained' after a fantastic
2419         amount of hot air.
2420
2421 2003-09-02  John Levon  <levon@movementarian.org>
2422
2423         * BufferView.C:
2424         * lyxcursor.h:
2425         * lyxcursor.C:
2426         * lyxfunc.C:
2427         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2428
2429 2003-09-02  John Levon  <levon@movementarian.org>
2430
2431         * text2.C: simplification of cursorEnd(), including partial
2432         fix for bug 1376
2433
2434 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * buffer.C (readFile): add a space
2437
2438 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2439
2440         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2441
2442 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * buffer.C (readFile): new function, take a filename and a
2445         ParagraphList::iterator
2446         (readFile): adjust
2447         (readFile): adjust, make it private. don't use setStream, make
2448         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2449         always contain the filename.
2450
2451         * BufferView.C (insertLyXFile): simplify and make it work for
2452         gzipped files.
2453
2454 2003-08-30  John Levon  <levon@movementarian.org>
2455
2456         * Makefile.am: fix dist (from Kayvan)
2457
2458 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * most files: change to use const Buffer refs
2461
2462 2003-08-27  André Pönitz  <poenitz@gmx.net>
2463
2464         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2465         on top of ownerPar().
2466
2467 2003-08-27  John Levon  <levon@movementarian.org>
2468
2469         * funcrequest.C: properly initialise POD members
2470
2471 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2472
2473         * lyxtext.h (top_y): move top_y from here
2474         * text.C:
2475         * text2.C:
2476         * text3.C:
2477         * BufferView.[Ch]:
2478         * BufferView_pimpl.[Ch]: to here
2479         * frontends/screen.C:
2480         * insets/insettabular.C:
2481         * insets/insettext.C: adjust
2482         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2483
2484 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * BufferView.[Ch]:
2487         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2488
2489 2003-08-26  André Pönitz  <poenitz@gmx.net>
2490
2491         * paragraph_func.[Ch] (outerPar): new function
2492
2493         * paragraph.C:
2494         * paragraph_funcs.C:
2495         * paragraph_funcs.h:
2496         * paragraph_pimpl.C:
2497         * text2.C: remove Inset::par_owner
2498
2499 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2500
2501         * lyxrow_funcs.C:
2502         * lyxtext.h:
2503         * text.C:
2504         * text2.C: eliminates the needFullRow/display() stuff
2505         altogether, putting the logic in metrics/draw in the insets.
2506
2507 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2508
2509         * text2.C (redoParagraphInternal, redoParagraphs):
2510         * text.C (redoParagraph): add a call to updateRowPositions at the
2511         end of each 'metrics-like' call. Remove all others.
2512         (getRow): remove the 'y-computing' version.
2513         (getRowNearY): do not compute nor return the real y. Solve the
2514         'y < 0' problem and simplify.
2515
2516 2003-08-22  Angus Leeming  <leeming@lyx.org>
2517
2518         * *.[Ch]: clean-up of licence and author blurbs.
2519         Also move config.h out of a few .h files and into a few .C files.
2520
2521 2003-08-22  André Pönitz  <poenitz@gmx.net>
2522
2523         * lyxrow.[Ch]: add x_ and *fill_ members
2524
2525         * lyxtext.h:
2526         * text.C:
2527         * rowpainter.C:
2528         * text2.C: adjust/remove prepareToPrint() calls
2529
2530 2003-08-22  André Pönitz  <poenitz@gmx.net>
2531
2532         * lyxrow.[Ch]: add  end_ member
2533
2534         * lyxrow_funcs.C: use LyXRow::end_
2535
2536         * lyxtext.h (singleWidth): add LyXFont parameter
2537
2538         * rowpainter.C:
2539         * text2.C: adjust LyXText::singleWidth() calls
2540
2541         * text.C (redoParagraph): simplify row breaking logic
2542
2543
2544 2003-08-19  André Pönitz  <poenitz@gmx.net>
2545
2546         * funcrequest.C: initialize button_ member
2547
2548         * text3.C:
2549         * rowpainter.[Ch]: interface consolidation
2550
2551 2003-08-18  André Pönitz  <poenitz@gmx.net>
2552
2553         * BufferView.C:
2554         * BufferView_pimpl.C:
2555         * lyxfind.C:
2556         * paragraph_funcs.C:
2557         * rowpainter.C:
2558         * text3.C: remove LyXScreen::draw() and fitCursor calls
2559
2560         * BranchList.h: remove spurious semicolons
2561
2562         * MenuBackend.C: fix branchlist related crash
2563
2564 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2565
2566         * BranchList.[Ch]:
2567         * InsetList.[Ch]:
2568         * LColor.[Ch]:
2569         * LyXAction.C:
2570         * Makefile.am:
2571         * MenuBackend.[Ch]:
2572         * bufferparams.[Ch]:
2573         * factory.C:
2574         * lfuns.h:
2575         * lyxfunc.C:
2576         * text3.C: implements the 'branch inset'
2577         idea. This allows the output of various versions of a document
2578         from a single source version, selectively outputing or suppressing
2579         output of parts of the text.
2580         This implementation contains a 'branch list editor' in a separate
2581         tab of the document settings dialog. Branches are user definable
2582         and have a "display colour" to distinguish them on-screen.
2583
2584         ColorHandler was somewhat cleaned up.
2585         (1) make possible a dynamically growing LColor list by allowing
2586         the graphic context cache to grow along (vector);
2587         (2) eliminate an IMHO unnecessary step in colour allocation.
2588
2589 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2590
2591         * BufferView_pimpl.C: compile fix
2592
2593 2003-08-15  André Pönitz  <poenitz@gmx.net>
2594
2595         * rowpainter.C: remove extra metrics calls
2596
2597         * lyxtext.h: merge the two constructors into a single one,
2598           pass reference to owner's par list
2599
2600         * BufferView_pimpl.C:
2601         * text.C:
2602         * text2.C: adjust
2603
2604 2003-08-15  André Pönitz  <poenitz@gmx.net>
2605
2606         * lyxrow_funcs.[Ch]:
2607         * lyxtext.h:
2608         * paragraph.h:
2609         * paragraph_funcs.C:
2610         * rowpainter.C:
2611         * text.C:
2612         * text2.C:
2613         * text3.C:
2614         * text_funcs.C: split LyXText::rowlist_ into individual
2615         Paragraph::rows_ chunks
2616
2617         * BufferView.[Ch]:
2618         * BufferView_pimpl.[Ch]:
2619         * lyxfind.C:
2620         * lyxtext.h:
2621         * text3.C: remove toggleSelection()
2622
2623 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2624
2625         * bufferlist.C: beautify two alerts (shorter text of buttons)
2626         * buffer.C: Remove redundant ' ' from message
2627         * tabular.h:
2628         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2629         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2630         rename VALIGN_CENTER to VALIGN_MIDDLE
2631
2632 2003-08-11  André Pönitz  <poenitz@gmx.net>
2633
2634         * lyxtext.h (getPar):
2635         * text.C: new function
2636
2637 2003-08-11  André Pönitz  <poenitz@gmx.net>
2638
2639         * Makefile.am:
2640         * tracer.[Ch]: remove unneeded files
2641
2642         * InsetList.[Ch]: remove resizeInsetsLyXText()
2643
2644         * lyxtext.h:
2645         * text.C:
2646         * text2.C:
2647         * text3.C: merge insertParagraphs() and appendParagraph()
2648         remove breakAgain(), update()
2649
2650         * BufferView_pimpl.[Ch]:
2651         * bufferview_funcs.[Ch]:
2652         * lyxfunc.C:
2653         * paragraph.[Ch]:
2654         * rowpainter.C:
2655         * tabular.C: adjust after text & InsetList changes.
2656
2657 2003-08-08  André Pönitz  <poenitz@gmx.net>
2658
2659         * text.C (insertChar, backspace): replace rowlist fiddling
2660         with rebreak of full par
2661
2662         * lyxtext.h:
2663         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2664         checkParagraph, updateInset): removed
2665
2666 2003-08-07  André Pönitz  <poenitz@gmx.net>
2667
2668         * paragraph.C:
2669         * text3.C: merge some LFUN handlers, remove dead code
2670
2671 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2674
2675 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * text2.C (DEPM): fix part of bug 1255 and 1256
2678
2679 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * BufferView_pimpl.C (workAreaDispatch): change to use
2682         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2683         that are no mouse related.
2684
2685 2003-08-05  André Pönitz  <poenitz@gmx.net>
2686
2687         * BufferView.[Ch]:
2688         * BufferView_pimpl.[Ch]:
2689         * bufferview_funcs.C:
2690         * text2.C:
2691         * text3.C: rip out "deep update"
2692
2693         * textcursor.[Ch] (last_sel_cursor): remove unused member
2694
2695 2003-08-04  André Pönitz  <poenitz@gmx.net>
2696
2697         * BufferView.[Ch]:
2698         * BufferView_pimpl.[Ch]:
2699         * ParagraphParameters.C:
2700         * bufferview_funcs.C:
2701         * lyx_cb.C:
2702         * lyxfind.C:
2703         * lyxfunc.C:
2704         * text.C:
2705         * text2.C:
2706         * text3.C: replace "complicated" BufferView::update(...) calls with
2707         simpler ones.
2708
2709         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2710
2711 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2712
2713         * Makefile.am (lyx_SOURCES): add paper.h
2714
2715 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2716
2717         * Makefile.am: move things around so that both lyx-qt and
2718         lyx-xforms can be built (according to --with-frontend). Then lyx
2719         is a symbolic link to lyx-[firstfrontend]
2720
2721 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2722
2723         * Always use std::endl with lyxerr
2724
2725 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2726
2727         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2728
2729 2003-08-01  André Pönitz  <poenitz@gmx.net>
2730
2731         * BufferView.[Ch]:
2732         * BufferView_pimpl.[Ch]:
2733         * lyxfunc.C:
2734         * text3.C: merge BufferView::repaint() and BufferView::update()
2735
2736 2003-08-01  José Matos  <jamatos@lyx.org>
2737
2738         * buffer.[Ch]: file_format is no longer a buffer data element.
2739
2740 2003-08-01  André Pönitz  <poenitz@gmx.net>
2741
2742         * BufferView.C:
2743         * lyxtext.h:
2744         * text.C:
2745         * text2.C: make redoParagraph more independent of current cursor
2746
2747         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2748         * text.C:
2749         * text2.C: remove unneeded members
2750
2751 2003-07-30  André Pönitz  <poenitz@gmx.net>
2752
2753         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2754
2755         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2756           create a single function...
2757
2758         * paragraph_funcs.C (moveItem): ... here.
2759
2760         * text.C:
2761           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2762
2763 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * LColor.[Ch]: Add comment and greyedout logical colors.
2766
2767 2003-07-30  André Pönitz  <poenitz@gmx.net>
2768
2769         * tabular.C: don't use Assert too heavily. This crashes where it
2770           shouldn't
2771
2772 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2775         is disabled (bug 1232)
2776
2777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * factory.C: limited 'arg' scope
2780
2781 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * factory.C: fixed Note submenu issues
2784
2785 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * factory.C: submenu for Note/Comment/Greyedout
2788
2789 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2790
2791         * lyx_main.C (LyX):
2792         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2793
2794 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2795
2796         * LaTeXFeatures.C:
2797         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2798         greyedout. Patch provided by Jürgen Spitzmüller.
2799
2800 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801
2802         * kbmap.C (read): fix error message when reading bind files
2803
2804 2003-07-29  Angus Leeming  <leeming@lyx.org>
2805
2806         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2807         certainly does not do what it purports to do. I am doing it, and
2808         us, a favour by killing it.
2809
2810 2003-07-28  José Matos  <jamatos@lyx.org>
2811
2812         * buffer.C (readBody, do_writeFile):
2813         * paragraph.C(readParagraph): \end_document replaces \the_end.
2814
2815 2003-07-29  André Pönitz  <poenitz@gmx.net>
2816
2817         * BufferView.[Ch]:
2818         * BufferView_pimpl.[Ch]:
2819         * lyxfunc.C:
2820         * text2.C:
2821         * text3.C:
2822         * textcursor.[Ch]: remove toggleToggle & Co
2823
2824 2003-07-28  José Matos  <jamatos@fep.up.pt>
2825
2826         * buffer.C (readParagraph):
2827         * params_func (readParToken, readParagraph):
2828         * paragraph.C (write): \layout -> \begin_layout.
2829
2830 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * lyxlex_pimpl.C (setFile): clean up slightly.
2833
2834         * bufferparams.h: add compressed var
2835
2836         * buffer_funcs.C (readFile): adjust for LyXLex change
2837         (newFile): ditto + simplify
2838
2839         * buffer.C (writeFile): handle writing of compressed files
2840
2841         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2842         Check if the file is compressed and set a bufferparm if so.
2843
2844         * Makefile.am (lyx_LDADD): remove explicit -lz
2845
2846 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2847
2848         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2849         makeDocBookFile): put the real LyX version in the first line of
2850         the file
2851
2852         * version.h:
2853         * version.C.in: remove lyx_docversion
2854
2855         * tabular.C (write_attribute): add a template-based version to
2856         write enums properly
2857
2858 2003-07-28  André Pönitz  <poenitz@gmx.net>
2859
2860         * lyxtext.h:
2861         * text.C:
2862         * text2.C:
2863         * text3.C: use doubles again for x-coordinates. They are needed.
2864
2865 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * messages.C (getLocaleDir): use lyx_localedir()
2868
2869         * lyxlex_pimpl.C (setFile): compress stuff
2870
2871         * buffer.C (writeFile): add some compression stuff
2872         (do_writeFile): new func, dont call expliti close... will this
2873         breake anything?
2874
2875         * Makefile.am (lyx_LDADD): add -lz
2876
2877 2003-07-28  José Matos  <jamatos@fep.up.pt>
2878
2879         * buffer.C: increment file format.
2880         * paragraph_funcs (readParagraph, readParToken):
2881         * paragraph.C (readParagraph): add \end_layout.
2882
2883 2003-07-27  Angus Leeming  <leeming@lyx.org>
2884
2885         * Makefile.am: remove special casing for configure-time setting of
2886         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2887
2888         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2889         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2890
2891 2003-07-26  André Pönitz  <poenitz@gmx.net>
2892
2893         * paragraph_func.[Ch]:
2894         * paragraph.C (realizeFont): inline it whereever it is used
2895
2896         * rowpainter.C:
2897         * text.C:
2898         * text2.C:
2899         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2900
2901
2902 2003-07-26  André Pönitz  <poenitz@gmx.net>
2903
2904         *       lyxtext.h:
2905         * text.C:
2906         * text2.C: get rid of LyXText::need_break_row
2907
2908 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * toc.[Ch]: put namespace toc inside namespace lyx
2911
2912         * MenuBackend.C (expandToc2): adjust for lyx::toc
2913         (expandToc): ditto
2914
2915         * lyxfunc.C (dispatch): adjust for lyx::find
2916
2917         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2918         lyx::find instead. Reorganize a bit.
2919         (LyXReplace): rename to replace
2920         (LyXFind): rename to find
2921
2922         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2923         (dispatch): ditto
2924
2925 2003-07-26  André Pönitz  <poenitz@gmx.net>
2926
2927         * text.C (setHeightOfRow): restrict scope of temporary variable
2928
2929         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2930           code (never has been used?)
2931
2932 2003-07-27  Asger Alstrup  <alstrup@local>
2933
2934         * text.C (fill): Optimise algorithm to exploit that we can reuse
2935         the LyXFont for many characters.
2936         (setHeightOfRow): Same thing.
2937         (rowBreakPoint): Same thing.
2938
2939 2003-07-26  Asger Alstrup  <alstrup@local>
2940
2941         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2942
2943         * text.C (singleWidth): Spurious font copying in hot-spot
2944         singleWidth avoided. Reorder tests for arabic for efficiency.
2945
2946         * text.C (fill): handle empty paragraphs better.
2947
2948 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * ispell.C:
2951         * encoding.h: add includes
2952
2953         * lyxrc.C: remove reading of bind files
2954
2955         * lyx_main.C (init): setup bindings and menus only if we have a
2956         gui.
2957
2958         * kbmap.C (read): new method. Do the actual reading of bind
2959         files.
2960
2961         * converter.C (dvipdfm_options):
2962         * bufferparams.C:
2963         * lyxrc.C (read):
2964         (output): adapt PAPER_* enums.
2965
2966         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2967
2968         * bufferparams.h: remove paper-related enums from there
2969
2970         * paper.h: New file. A trivial header file to hold paper-related
2971         enums. It should later expand to contain many paper-related
2972         horrors access.
2973
2974         * lyxrc.C: declare extern displayTranslator
2975
2976 2003-07-27  José Matos  <jamatos@fep.up.pt>
2977
2978         * tabular.[Ch] (linuxdoc): add support for tables and figures
2979         (linuxdoc).
2980
2981 2003-07-27  José Matos  <jamatos@fep.up.pt>
2982
2983         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2984         consistency in both functions.
2985         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2986
2987 2003-07-26  Asger Alstrup  <alstrup@local>
2988
2989         * rowpainter.C (paintRows): Change algorithm to work directly on
2990         the insets rather than asking every character in the document
2991         whether its an inset.
2992
2993 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * buffer.C (openFileWrite): factorize some code
2996
2997 2003-07-26  Angus Leeming  <leeming@lyx.org>
2998
2999         * lyx_cb.C:
3000         * lyx_main.[Ch]: replace occurances of system_tempdir with
3001         os::getTmpDir().
3002
3003 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3004
3005         * rename Inset to InsetOld
3006
3007 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3008
3009         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3010         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3011         which I think is a bit clearer. EDIT is gone, since it was
3012         premature optimisation, and broken for mathed anyway.
3013         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3014         with cursor positioning in insets as well (math insets still do not
3015         work, but that's a different story anyway.) It mysteriously
3016         crashes sometimes with undo in the first paragraph, but I'm fairly
3017         confident that this is a compiler bug.
3018
3019 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3020
3021         * paragraph.C (Paragraph): adjust for new clone return type
3022         (operator==): ditto
3023         (copyIntoMinibuffer): ditto
3024
3025 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3026
3027         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3028         by not having a special case, and always doing a full rebreak of
3029         the document after undo.
3030
3031 2003-07-23  Angus Leeming  <leeming@lyx.org>
3032
3033         * factory.C (createInset): InsetExternal::setParams now takes a
3034         Buffer const * arg.
3035
3036 2003-07-23  Angus Leeming  <leeming@lyx.org>
3037
3038         * factory.C (createInset): changed interface to the external and
3039         graphics mailers' string2params functions.
3040
3041 2003-07-23  Angus Leeming  <leeming@lyx.org>
3042
3043         * factory.C (createInset): pass a
3044         Buffer const * parameter to InsetExternalMailer's string2params.
3045
3046 2003-07-22  John Levon  <levon@movementarian.org>
3047
3048         * Thesaurus.h: include the right aiksaurus header
3049
3050 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051
3052         * MenuBackend.C (expand): check menu shortcuts unconditionally
3053
3054 2003-07-21  Angus Leeming  <leeming@lyx.org>
3055
3056         * factory.C (createInset): pass a
3057         buffer_path parameter to InsetGraphicsMailer's string2params.
3058
3059 2003-07-21  Angus Leeming  <leeming@lyx.org>
3060
3061         * BufferView_pimpl.C (buffer):
3062         * buffer.C (d-tor):
3063         * lyx_main.C (LyX):
3064         * lyxfunc.C (dispatch):
3065         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3066         rather than the grfx shortcut.
3067
3068 2003-07-21  André Pönitz  <poenitz@gmx.net>
3069
3070         * rowpainter.C: remove unused variables
3071
3072         * tabular_funcs.C:
3073         * tabular_funcs.h: move to tabular.C
3074         * Makefile.am: adjust
3075
3076         * tabular.[Ch]: basic optical cleaning
3077
3078         * author.h: pass references, not values
3079
3080 2003-07-18  André Pönitz  <poenitz@gmx.net>
3081
3082         * lyxtext.h:
3083         * metricsinfo.C:
3084         * metricsinfo.h:
3085         * rowpainter.C:
3086         * text.C:
3087         * text2.C:
3088         * text3.C: two-phase drawing for InsetText and InsetTabular
3089         some float -> int changes.
3090
3091 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3092
3093         * lyx_main.C: fix the fix
3094
3095 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * lyx_main.C: fix a crash in batch mode if no files specified
3098         * converter.C: ws
3099
3100 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3101
3102         * format.[Ch] (papersize): moved to BufferParams
3103         * converter.[Ch] (dvips_options): moved to BufferParams
3104         (dvipdfm_options): moved to anon namespace
3105         * bufferparams.[Ch]: added above functions.
3106
3107 2003-07-17  André Pönitz  <poenitz@gmx.net>
3108
3109         * lyxtext.h:
3110         * rowpainter.C:
3111         * text2.C: don't call inset->update() anymore
3112
3113         * metricsinfo.[Ch]: add convenience constructor
3114
3115 2003-07-16  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxcursor.[Ch]:
3118         * lyxfunc.[Ch]:
3119         * text.C:
3120         * text2.C: replace the LyXCursor::irow_ member with
3121          on-demand computation of the value
3122
3123 2003-07-16  John Levon  <levon@movementarian.org>
3124
3125         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3126
3127 2003-07-15  André Pönitz  <poenitz@gmx.net>
3128
3129         * text.C:
3130         * text2.C: remove no more needed refresh_row
3131
3132 2003-07-15  André Pönitz  <poenitz@gmx.net>
3133
3134         * lyxtext.h:
3135         * rowpainter.C:
3136         * text2.C:
3137         * text3.C: refresh_status tristate -> need_update bool
3138
3139 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * lyxtext.h (init): remove reinit argument (act as if always true)
3142         * text2.C: adjust to that
3143
3144 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3145
3146         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3147         * text3.C: use it to delete selections in some cases
3148         (bugs 441, 673, 702, 954).
3149
3150 2003-07-14  André Pönitz  <poenitz@gmx.net>
3151
3152         * rowpainter.[Ch]: reduce interface
3153
3154 2003-07-14  André Pönitz  <poenitz@gmx.net>
3155
3156         * BufferView_pimpl.C:
3157         * text2.C: adjust after removing unused BufferView * argument
3158
3159 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3160
3161         * text2.C (init): fix a crash fired on resize
3162
3163 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3164
3165         * buffer.[Ch]: added new closing signal
3166         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3167         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3168         BufferView::Pimpl via the closing the signal
3169
3170 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * buffer.[Ch]: take out all bv-related from buffer
3173         * BufferView.C:
3174         * BufferView_pimpl.[Ch]: connect to new signals
3175         * CutAndPaste.C: removed useless asserts
3176         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3177         * lyxvc.[Ch]:
3178         * vc-backend.[Ch]:
3179         * lyxfunc.C: moved view-related funciontality from vc here
3180         * paragraph.C: removed outdated comments
3181         * text.C: ws
3182
3183 2003-07-10  André Pönitz  <poenitz@gmx.net>
3184
3185         * BufferView_pimpl.C:
3186         * tabular.h:
3187         * tabular_funcs.C:
3188         * text.C:
3189         * text2.C: remove InsetText::InnerCache, clean up consequences
3190
3191 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3192
3193         * ispell.C: fix two typos in error messages
3194
3195 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * Extend Note inset to other forms of annotation like Comment
3198         and Greyedout. Right button click gives dialog.
3199
3200         Files modified or added (+):
3201
3202         * insetnote.[Ch]
3203         * FormNote.[Ch]      +
3204         * ControlNote.[Ch]   +
3205         * form_note.fd       +
3206         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3207         frontends/controllers
3208         * xforms/Dialogs.C
3209         * factory.C
3210
3211 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3212
3213         * aspell.C: add missing namespace lyx::support
3214
3215 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * BufferView.[Ch] (newFile): Add
3218         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3219         * LaTeX.[Ch] (message): added this signal and use it
3220         * buffer.[Ch] (busy, message): added these signals and use them
3221         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3222         * converter.C:
3223         * exporter.C:
3224         * format.C:
3225         * importer.C: use buffer signals instead of direct bv calling
3226         * lyx_cb.[Ch] (ShowMessage): removed
3227         * lyx_main.C:
3228         * lyxfunc.C:
3229         * paragraph_funcs.C:
3230         * text2.C: use buffer signals
3231
3232 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3233
3234         * introduce namespace lyx::graphics
3235
3236 2003-07-02  André Pönitz  <poenitz@gmx.net>
3237
3238         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3239
3240 2003-07-01  André Pönitz  <poenitz@gmx.net>
3241
3242         * text.C:
3243         * text2.C:
3244         * text3.C:
3245         * text_funcs.[Ch]:
3246         * textcursor.h:
3247         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3248           text*.C to text_func.C
3249
3250 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * introduce namespace lyx::support
3253
3254 2003-06-30  André Pönitz  <poenitz@gmx.net>
3255
3256         * Chktex.C:
3257         * funcrequest.C:
3258         * lyxtext.h:
3259         * text.C: re-enable --with-included-string
3260
3261 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * textcursor.C: add <config.h>
3264
3265         * text.C (getWord): remove const from word_location arg
3266
3267         * lyxvc.C (getLogFile): fix const type order
3268
3269         * lyxtext.h: remove const from word_location arg, add arg name
3270
3271         * lyxlayout.h: currect type on labeltype.
3272
3273         * importer.C: correct \file
3274
3275         * converter.C (intToFormat): use std:: on ret val, ws changes
3276
3277         * bufferlist.h: correct \file
3278
3279         * buffer.C (makeLinuxDocFile): fix const type order
3280         (makeDocBookFile): ditto
3281         (fillWithBibKeys): use std:: on stdlib args.
3282
3283         * CutAndPaste.C: fix authors.
3284         (availableSelections): use std:: on return vector
3285
3286 2003-06-27  André Pönitz  <poenitz@gmx.net>
3287
3288         * BufferView_pimpl.C:
3289         * bufferview_funcs.C:
3290         * lyxcursor.C:
3291         * lyxcursor.h:
3292         * lyxfunc.C:
3293         * lyxtext.h:
3294         * rowpainter.C:
3295         * text.C:
3296         * text2.C:
3297         * text3.C: remove LyXCursor::row_ member
3298
3299         * lyxtext.h:
3300         * text.C: rename fullRebreak() to partialRebreak() and implement
3301           a fullRebreak() that really bereks fully
3302
3303         * textcursor.h: new struct for cursor-related data
3304
3305 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * lyx_main.C (LyX): get full path of document loaded on the
3308         command line
3309
3310 2003-06-26  André Pönitz  <poenitz@gmx.net>
3311
3312         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3313           remove unused/broken operator>,<,>=.
3314
3315         *       text.C: remove only use of broken operator<= in an Assert().
3316
3317 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3320         moved errorlist_.clear to showErrorList
3321
3322 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3323
3324         * converter.C (scanLog, runLaTeX):
3325         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3326         move the bv->showErrorList call to the callers
3327         * lyxfunc.C: i.e. here...
3328         * text2.C: and here
3329         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3330         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3331         namespace, the second to...
3332         * buffer_funcs (BufferFormat, parseErrors): added
3333         * errorlist.C (ErrorList(TeXErrors const &)): removed
3334
3335 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3336
3337         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3338
3339 2003-06-24  "Garst R. Reese" <reese@isn.net>
3340
3341         * debug.C: fix typo
3342
3343 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3344
3345         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3346
3347         * version.C.in: change docversion to 1.4
3348
3349 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3350
3351         * buffer.C: fix a bug just introduced
3352
3353 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * buffer.[Ch]: added the parseError signal and use it, removed
3356         sgmlError
3357         * BufferView.[Ch] (addError): moved to ...
3358         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3359         to the Buffer::parseError signal to catch (guess what) parse errors
3360         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3361
3362 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3365         ability to create a buffer and to return an existing one from
3366         the list. Moved these functions to...
3367         * buffer_funcs.[Ch]: added
3368         * BufferView.[Ch] (loadLyXFile): added
3369         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3370         job removed from bufferlist::loadLyXFile.
3371         * buffer.C (setReadOnly): make it work without view
3372         (i.e added an if (users))
3373
3374 2003-06-19  Angus Leeming  <leeming@lyx.org>
3375
3376         * lfuns.h:
3377         * LyXAction.C (init):
3378         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3379         with LFUN_DIALOG_SHOW <name> <data>.
3380
3381 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3382
3383         * CutAndPaste.C (availableSelections): small compilation fix for
3384         ancient (gcc 2.9x) compilers
3385
3386 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3387
3388         * text3.C (cursorNext): add tmp var
3389
3390         * text2.C (updateCounters): for function calling out of for clause
3391         (replaceSelectionWithString): ditto
3392         (insertStringAsParagraphs): ditto
3393         (getColumnNearX): add tmp var
3394         (setCursorFromCoordinates): add tmp var
3395         (cursorDownParagraph): add tmp var
3396         (deleteEmptyParagraphMechanism): add tmp var
3397
3398         * text.C (insertChar): add tmp var
3399
3400         * rowpainter.C (paintDepthBar): add tmp var
3401
3402         * CutAndPaste.C (availableSelections): potentially check all
3403         paragraphs in a cut to fill the shown strings.
3404
3405 2003-06-18  André Pönitz  <poenitz@gmx.net>
3406
3407         * kbmap.[Ch]: use vector<> instead of list<>
3408
3409 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3410
3411         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3412         pasteSelection with index
3413
3414         * text2.C (pasteSelection): modify, call pasteSelection with index
3415
3416         * paragraph.C (asString): reimplement version with no interval to
3417         call the one with interval.
3418
3419         * lyxtext.h: add index arg to pasteSelection
3420
3421         * MenuBackend.C (MenuItem): handle PasteRecent
3422         (Menu::read::Menutags): add md_pasterecent
3423         (read): handle it
3424         (expandPasteRecent): new function
3425         (expand): use it
3426
3427         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3428
3429         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3430         the limited stack
3431         (availableSelections): new function
3432
3433 2003-06-17  Angus Leeming  <leeming@lyx.org>
3434
3435         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3436
3437 2003-06-17  Angus Leeming  <leeming@lyx.org>
3438
3439         * lfuns.h:
3440         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3441
3442         * lyxfunc.C (dispatch): invoke it.
3443
3444 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3445
3446         * iterators.C (operator++, ParPosition): reintroduce some
3447         const_cast for the benefit of older compilers.
3448
3449 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3450
3451         * text3.C (dispatch): do not modify clipboard when doing
3452         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3453         LFUN_DELETE_SKIP on a selection selection
3454
3455 2003-06-16  André Pönitz  <poenitz@gmx.net>
3456
3457         * BufferView.C:
3458         * buffer.C:
3459         * buffer.h:
3460         * paragraph.C:
3461         * tabular.[Ch]: IU of clone() and getLabelList();
3462
3463 2003-06-13  André Pönitz  <poenitz@gmx.net>
3464
3465         * tabular.h: compactification
3466
3467 2003-06-12  André Pönitz  <poenitz@gmx.net>
3468
3469         * tabular.C:
3470         * tabular.h:
3471         * tabular_funcs.h: some renaming plus whitespace
3472
3473 2003-06-12  André Pönitz  <poenitz@gmx.net>
3474
3475         * BufferView.C:
3476         * BufferView_pimpl.C:
3477         * CutAndPaste.C:
3478         * buffer.C:
3479         * iterators.[Ch]:
3480         * lyxfunc.C:
3481         * text.C:
3482         * toc.C: Return a Paragraph & for ParIterator::operator*()
3483
3484 2003-06-11  John Levon  <levon@movementarian.org>
3485
3486         * lyx_main.C:
3487         * ToolbarBackend.h:
3488         * ToolbarBackend.C: add "Toolbars" section and
3489         put the flags there
3490
3491 2003-06-10  Angus Leeming  <leeming@lyx.org>
3492
3493         * lfuns.h:
3494         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3495
3496         * lyxfunc.C (dispatch): invoke it.
3497
3498 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * main.C: protect <ios> with HAVE_IOS
3501         (main): protect sync_with_stdio with HAVE_IOS
3502
3503 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3504
3505         * text2.C (cutSelection): adjust
3506         (pasteSelection): adjust
3507
3508         * messages.C: handle get of empty string
3509
3510         * main.C (main): use sync_with_stdio(false)
3511
3512         * lyxfunc.C (dispatch): adjust
3513
3514         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3515         (WriteAs): remove unneeded BufferView arg.
3516
3517         * bufferparams.h: use correct types on papersize, papersize2 and
3518         paperpackage.
3519
3520         * bufferparams.C (readToken): adjust for type
3521         (writeLaTeX): add missing cases to switch.
3522
3523         * bufferlist.C (quitWriteBuffer): adjust
3524         (close): adjust
3525
3526         * buffer.C (asciiParagraph): remove some commented code.
3527
3528         * CutAndPaste.C: remove current_view extern variable.
3529         (cutSelection): add BufferParams arg.
3530         (eraseSelection): add BufferParams arg.
3531         (pasteSelection): add Buffer const & arg
3532
3533 2003-06-07  John Levon  <levon@movementarian.org>
3534
3535         * buffer.C:
3536         * paragraph_funcs.C:
3537         * paragraph_pimpl.C:
3538         * text.C:
3539         * text2.C:
3540         * paragraph.h:
3541         * paragraph.C: allow InsetERT to freely space lines,
3542         and some consolidation of code
3543
3544 2003-06-06  José Matos  <jamatos@fep.up.pt>
3545
3546         * buffer.C (makeDocBookFile): fix bug #821
3547
3548 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3551
3552 2003-06-04  Angus Leeming  <leeming@lyx.org>
3553
3554         * buffer.C: bump format to 224.
3555
3556 2003-06-05  André Pönitz  <poenitz@gmx.net>
3557
3558         * text2.C (redoParagraphs): remove two const_cast<>
3559
3560 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3561
3562         * ParagraphList.h: remove last remnants of NO_STD_LIST
3563
3564 2003-06-03  Angus Leeming  <leeming@lyx.org>
3565
3566         * factory.C (createInset): small change to the way InsetExternal's params
3567         are set.
3568
3569 2003-06-04  André Pönitz  <poenitz@gmx.net>
3570
3571         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3572
3573         * paragraph_pimpl.h:
3574         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3575
3576         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3577
3578         * undo_funcs.C: make some simple cases of undo work again
3579
3580 2003-06-03  John Levon  <levon@movementarian.org>
3581
3582         * ispell.C: HPUX doesn't have sys/select.h
3583         (from Albert Chin)
3584
3585 2003-06-03  John Levon  <levon@movementarian.org>
3586
3587         * CutAndPaste.C: update tabular and include inset
3588         buffer references
3589
3590         * buffer.h:
3591         * paragraph.h:
3592         * paragraph.C: remove owningBuffer(), don't pass Buffer
3593         to clone()
3594
3595         * factory.C: insetGraphicsParams changed
3596
3597 2003-06-02  John Levon  <levon@movementarian.org>
3598
3599         * LyXAction.C:
3600         * factory.C:
3601         * lfuns.h:
3602         * lyxfunc.C:
3603         * text3.C: remove insetparent
3604
3605 2003-06-02  John Levon  <levon@movementarian.org>
3606
3607         * buffer.h:
3608         * buffer.C: fix inset_iterator.end(), move out of line
3609         (bug 1149)
3610
3611 2003-06-01  John Levon  <levon@movementarian.org>
3612
3613         * text3.C: use a proper cut/paste when doing inset
3614         insert (from Jürgen Spitzmüller)
3615
3616 2003-06-01  John Levon  <levon@movementarian.org>
3617
3618         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3619
3620 2003-05-30  André Pönitz  <poenitz@gmx.net>
3621
3622         * rowpainter.C: unify second drawing phase
3623
3624 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * trans_mgr.C: remove one case of current_view
3627
3628         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3629
3630         * paragraph_funcs.h: remove paragraph.h include
3631
3632         * paragraph.h: delete NO_STD_LIST stuff
3633
3634         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3635
3636         * buffer.h: remove paragraph.h include
3637
3638         * ParagraphList.C: delete file
3639
3640         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3641
3642         * toc.C (getTocList): adjust
3643
3644         * paragraph_pimpl.C (validate): adjust
3645
3646         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3647
3648         * paragraph.C (Paragraph): adjust
3649         (getPositionOfInset): use const_iterator, adjust
3650         (bibitem): use const_iterator, adjust
3651         (setInsetOwner): adjust
3652
3653         * iterators.C (operator++): adjust
3654
3655         * InsetList.[Ch]: Replace selfmade iterator with standard
3656         vector::iterator also introduce const_iterator. Remove getPos,
3657         getInset and setInset from InsetTable. Adjust accordingly.
3658
3659         * BufferView.C (lockInset): adjust
3660         (ChangeInsets): adjust
3661
3662         * tabular.[Ch]: delete commented same_id functions
3663
3664 2003-05-28  John Levon  <levon@movementarian.org>
3665
3666         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3667
3668 2003-05-28  André Pönitz  <poenitz@gmx.net>
3669
3670         * metricsinfo.[Ch]: remove 'fullredraw' member
3671
3672 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3673
3674         * lyxtextclass.C (operator): remove caching.
3675
3676 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * text3.C: adjust
3679
3680         * text2.C (cursorBottom): adjust
3681         (setCounter): use ParagraphList::find, adjust
3682
3683         * text.C (workWidth): use ParagraphList::find, adjust
3684
3685         * lyxcursor.C (LyXCursor): adjust
3686
3687         * buffer.C (inset_iterator): adjust
3688
3689         * ParagraphList.h: make iterator(value_type) private, make
3690         ParagraphList a friend of iterator.
3691
3692         * ParagraphList.C (find): new function
3693
3694         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3695
3696 2003-05-27  André Pönitz  <poenitz@gmx.net>
3697
3698         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3699
3700 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3701
3702         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3703
3704 2003-05-26  John Levon  <levon@movementarian.org>
3705
3706         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3707
3708 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * remove same_id from function signatures, adjust.
3711
3712 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3715
3716         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3717
3718         * paragraph.C (Paragraph): get rid of same_ids parameter
3719
3720         * ParagraphList.C (insert): adjust
3721         (push_back): adjust
3722
3723 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * paragraph_funcs.C (breakParagraph): adjust
3726         (breakParagraphConservative): adjust
3727
3728         * buffer.C (readParagraph): adjust
3729
3730         * ParagraphList.C (insert): take a reference instead of a pointer
3731         (insert): adjust
3732
3733         * paragraph.[Ch] (id): new function
3734
3735         * bufferlist.C (newFile): adjust
3736
3737         * ParagraphList.C (ParagraphList): adjust
3738         (assign): adjust
3739         (push_back): take a reference instead of a pointer.
3740
3741         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3742
3743         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3744         instead.
3745
3746         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3747         set else use old code.
3748
3749         * ParagraphList.C: remove all NO_NEXT code and only compile this
3750         code of NO_STD_LIST is set.
3751
3752 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * BufferView_pimpl.C:
3755         * TextCache.C:
3756         * TextCache.h:
3757         * bufferlist.C:
3758         * errorlist.h:
3759         * format.C:
3760         * format.h:
3761         * graph.C:
3762         * lyxfunc.C:
3763         * lyxrc.C:
3764         * graphics/GraphicsConverter.C:
3765         * graphics/PreviewLoader.C: header adjustment
3766
3767 2003-05-23  Angus Leeming  <leeming@lyx.org>
3768
3769         * LaTeXFeatures.[Ch] (useBabel): new method.
3770         * bufferparams.C (writeLaTeX): use it.
3771
3772 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * ParagraphList.h (set): remove unused function.
3775
3776 2003-05-23  André Pönitz  <poenitz@gmx.net>
3777
3778         * BufferView.C:
3779         * BufferView_pimpl.C:
3780         * buffer.C:
3781         * buffer.h:
3782         * lyxfunc.C:
3783         * undo_funcs.C: setUndo reworked
3784
3785         * iterators.[Ch]: add access to topmost ParagraphList
3786
3787         * lyxtext.[Ch] (workWidth): add a const
3788
3789 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * texrow.[Ch] (increasePos): remove function
3792         * exporter.C (export): removed unused var and outdated comment
3793
3794 2003-05-23  Angus Leeming  <leeming@lyx.org>
3795
3796         * latexrunparams.h: rename fragile as moving_arg.
3797         * paragraph.C (simpleTeXOnePar): ditto.
3798         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3799
3800 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3803         (createUndo): ditto
3804         (textUndoOrRedo): comment out a currently unused var.
3805
3806         * paragraph.h (NO_NEXT): enable NO_NEXT
3807
3808         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3809
3810         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3811
3812         * exporter.C (Export): adjust for removeAutoInsets removal.
3813
3814         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3815
3816         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3817
3818         * BufferView.[Ch] (removeAutoInsets): delete function
3819
3820 2003-05-22  Angus Leeming  <leeming@lyx.org>
3821
3822         * latexrunparams.h: add a free_spacing variable.
3823
3824         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3825         to pass moving_arg, as the data is stored in runparams.fragile.
3826
3827         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3828         to Inset::latexOptional or to simpleTeXOnePar.
3829
3830         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3831         free_spacing arg to Inset::latexOptional.
3832
3833         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3834         free_spacing arg.
3835
3836 2003-05-22  Angus Leeming  <leeming@lyx.org>
3837
3838         * latexrunparams.h: add fragile and use_babel variables.
3839
3840         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3841         * buffer.C (makeLaTeXFile): store this returned value in
3842         runparams.use_babel, thus passing it to the inset::latex methods.
3843
3844         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3845         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3846
3847         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3848         longer has a fragile arg, as it is stored in runparams.fragile.
3849
3850         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3851         moving_arg parameter as the data is stored in runparams.fragile.
3852
3853         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3854         a fragile parameter as the data is stored in runparams.fragile.
3855
3856 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3859
3860 2003-05-22  Angus Leeming  <leeming@lyx.org>
3861
3862         * latexrunparams.h: add a 'bool nice' which defaults to false.
3863
3864         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3865         now encapsulated within runparams.
3866
3867         * bufferlist.C (updateIncludedTeXfiles):
3868         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3869
3870 2003-05-22  Angus Leeming  <leeming@lyx.org>
3871
3872         * latexrunparams.h: new file containing struct LatexRunParams.
3873         * Makefile.am: add new file.
3874
3875         * LaTeX.[Ch] (c-tor, run):
3876         * buffer.[Ch] (makeLaTeXFile):
3877         * bufferlist.[Ch] (updateIncludedTeXfiles):
3878         * converter.C (convert, scanLog):
3879         * converter.[Ch] (runLaTeX):
3880         * exporter.C (Export):
3881         * paragraph.[Ch] (simpleTeXOnePar):
3882         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3883         * paragraph_funcs.[Ch] (latexParagraphs):
3884         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3885         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3886         pass around a LatexRunParams parameter.
3887
3888 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * paragraph.[Ch]: remove unused constructor
3891
3892         * ParagraphList.C (erase): new function, taking two iterators
3893
3894 2003-05-22  André Pönitz  <poenitz@gmx.net>
3895
3896         * undo_funcs.C: remove duplicated code
3897
3898         * iterator.[Ch]: operator=
3899
3900 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * tabular.C (SetMultiColumn): ws changes
3903
3904         * rowpainter.C (paintFirst): get rid of a ->previous
3905
3906         * lyx_cb.C (getPossibleLabel): parlist simplification
3907
3908         * BufferView.C (ChangeInsets): simplify slightly.
3909
3910 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3911
3912         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3913         * lfuns.h: new LFUN_SPACE
3914         * lyxfunc.C: protected space has a new lfun
3915         * paragraph_funcs.C: read new space insets
3916         * text3.C:
3917         * factory.C: handle new space insets
3918
3919 2003-05-22  André Pönitz  <poenitz@gmx.net>
3920
3921         * BufferView.C:
3922         * BufferView_pimpl.C:
3923         * buffer.[Ch]:
3924         * lyxfunc.C:
3925         * undo_funcs.C: return a ParIterator from getParFromID.
3926
3927         * iterators.[Ch]: add two const's
3928
3929 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * toc.C (getTocList): adjust
3932
3933         * iterators.[Ch]: rework for parlist
3934
3935         * buffer.C (par_iterator_begin): adjust
3936         (par_iterator_end): adjust
3937
3938         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3939
3940         * BufferView.C (removeAutoInsets): adjust
3941         (ChangeInsets): adjust
3942
3943 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * text.C (top_y): fix bug 1110
3946
3947 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * errorlist.[Ch]: added
3950         * buffer.C:
3951         * BufferView.[Ch]:
3952         * BufferView_pimpl.C:
3953         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3954         instead
3955
3956 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * Makefile.am: ensure that lyx is relinked upon changes to the
3959         various "convenience" libs.
3960
3961 2003-05-20  Angus Leeming  <leeming@lyx.org>
3962
3963         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3964         files are compiled in alphabetical order again.
3965
3966         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3967
3968 2003-05-19  Angus Leeming  <leeming@lyx.org>
3969
3970         * gettext.[Ch]: remove "char const * _(char const *)".
3971
3972 2003-05-19  André Pönitz  <poenitz@gmx.net>
3973
3974         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3975
3976         * Makefile.am:
3977         * BufferView.C:
3978         * DepTable.h:
3979         * LaTeXFeatures.C:
3980         * buffer.C:
3981         * lyxfont.C:
3982         * lyxlex.h:
3983         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3984
3985 2003-05-19  André Pönitz  <poenitz@gmx.net>
3986
3987         * buffer.C:
3988         * lyxlayout.[Ch]:
3989         * lyxtextclass.[Ch]:
3990         * paragraph.C:
3991         * paragraph_funcs.[Ch]:
3992         * text2.C:
3993         * text3.C: more insetenv work
3994
3995 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * ParagraphParameters.C (params2string): small bug fixed
3998
3999 2003-05-16  André Pönitz  <poenitz@gmx.net>
4000
4001         * debug.C:
4002         * bufferview_funcs.C: patch from Kornel Benko to prevent
4003           crash when _(...) is called twice in a statement
4004
4005 2003-05-16  André Pönitz  <poenitz@gmx.net>
4006
4007         * BufferView.C:
4008         * lyxfunc.C:
4009         * text.C:
4010         * text2.C:
4011         * text3.C:
4012         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4013
4014 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4015
4016         * lyx_main.C (init): remove spurious static_cast
4017
4018 2003-05-14  André Pönitz  <poenitz@gmx.net>
4019
4020         * BufferView.C: fix format string
4021
4022 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * BufferView.[Ch] (insertErrors): removed
4025         * BufferView.[Ch] (showErrorList): added
4026         * buffer.C (runChkTeX):
4027         * converter.C (scanLog): call showErrorList instead of inserterrors
4028
4029 2003-05-13  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView_pimpl.C:
4032         * buffer.C:
4033         * bufferview_func.C:
4034         * MenuBackend.C:
4035         * lyxfunc.C:
4036         * lyxrc.C:
4037         * tex-accent.C:
4038         * text3.C:
4039         * toc.C:
4040         * tabular_funcs.h: tostr() from its own header
4041
4042         * ParagraphParameters.C:
4043         * ToolbarBackend.C:
4044         * bufferparams.C:
4045         * format.C:
4046         * lyxlex_pimpl.C:
4047         * text3.C: STRCONV()
4048
4049 2003-05-12  André Pönitz  <poenitz@gmx.net>
4050
4051         * BufferView.C:
4052         * BufferView_pimpl.C:
4053         * CutAndPaste.C:
4054         * LaTeX.C:
4055         * LaTeXFeatures.C:
4056         * ParagraphParameters.C:
4057         * buffer.C:
4058         * bufferlist.C:
4059         * bufferparams.C:
4060         * bufferview_funcs.C:
4061         * converter.C:
4062         * counters.C:
4063         * debug.C:
4064         * exporter.C:
4065         * format.C:
4066         * importer.C:
4067         * lyx_cb.C:
4068         * lyx_main.C:
4069         * lyxfont.C:
4070         * lyxfunc.C:
4071         * lyxvc.C:
4072         * paragraph.C:
4073         * paragraph_funcs.C:
4074         * tabular.C:
4075         * tabular_funcs.C:
4076         * text2.C:
4077         * text3.C:  boost::format -> bformat  all over the place
4078
4079
4080 2003-05-09  André Pönitz  <poenitz@gmx.net>
4081
4082         * LColor.[Ch]: Pimpl the #include <map> away
4083
4084 2003-05-09  John Levon  <levon@movementarian.org>
4085
4086         * bufferlist.C: never remove emergency saves
4087
4088 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * Makefile.am: better lib building
4091
4092 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4095         instead.
4096         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4097         (simpleTeXSpecialChars): adjust
4098         (simpleTeXSpecialChars): adjust
4099         * paragraph.C (simpleTeXOnePar): adjust
4100         * buffer.C (makeLaTeXFile): adjust
4101
4102         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4103
4104         * text2.C (changeDepth): parlist cleanup
4105         (getColumnNearX): ditto
4106
4107         * rowpainter.C (getLabelFont): parlist cleanup
4108
4109         * bufferlist.C (newFile): parlist cleanup
4110
4111         * CutAndPaste.C (eraseSelection): parlist cleanup
4112
4113         * BufferView_pimpl.C (trackChanges): parlist cleanup
4114         (dispatch): ditto
4115
4116         * BufferView.C (lockInset): parlist cleanup.
4117         (ChangeInsets): ditto
4118
4119 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * CutAndPaste.h: Update file header.
4122
4123         * CutAndPaste.C: Update file header.
4124         Store the parts cut out of the Document in a limited_stack.
4125         (copySelection): adjust
4126         (pasteSelection): new function, takes the index in the limited stack.
4127         (nrOfParagraphs): adjust
4128         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4129         simplify error inset insertion.
4130         (checkPastePossible): adjust
4131
4132 2003-05-06  John Levon  <levon@movementarian.org>
4133
4134         * text2.C: don't cast wrap inset to float
4135
4136 2003-05-05  André Pönitz  <poenitz@gmx.net>
4137
4138         * iterator.C:
4139         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4140
4141         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4142           few naked Paragraph *.
4143
4144 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4145
4146         * bufferparams.C: Output warning if a document with missing
4147         TeX document class is loaded
4148         * exporter.C: Disable TeX exports if the document class is missing
4149         * lyxtextclass.C:
4150         * lyxtextclass.h:
4151         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4152         isTeXClassAvailable()
4153
4154 2003-05-03  John Levon  <levon@movementarian.org>
4155
4156         * BufferView.h:
4157         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4158         explicit cursor show/hide
4159
4160         * BufferView_pimpl.h:
4161         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4162         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4163
4164         * lyxfunc.C: hide cursor before dispatching.
4165
4166         * lyx_cb.C:
4167         * lyxfind.C:
4168         * text.C:
4169         * text3.C: remove explicit cursor hides
4170
4171 2003-05-02  André Pönitz  <poenitz@gmx.net>
4172
4173         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4174
4175         * undo_funcs.C:
4176         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4177           linked lists
4178
4179         * text2.C: tiny whitespace
4180
4181 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * undo_funcs.C: almost only ws changes.
4184
4185         * ParagraphList.C (splice): just return if pl is empty.
4186
4187 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * ParagraphList.C (splice): new function.
4190
4191         * CutAndPaste.C (pasteSelection): use it
4192
4193 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * CutAndPaste.C (pasteSelection): remove the last next and
4196         previous from this file.
4197
4198 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * CutAndPaste.C (pasteSelection): more clean up, user proper
4201         ParagraphList functions for pasteing.
4202
4203         * ParagraphList.C (insert): new function, three arg insert
4204
4205 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * ParagraphList.C (insert): new function, three arg insert
4208
4209         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4210         not on paragraphs.
4211
4212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4215
4216 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4217
4218         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4219
4220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4223         (copySelection): clean up a bit.
4224         (pasteSelection): use make_pair
4225
4226         * ParagraphList.C (ParagraphList): implement copy constructor
4227         (operator=): implement, base on copy constructor.
4228         (assign): new func
4229
4230         * paragraph.C (erase): return a bool
4231
4232         * paragraph_pimpl.C (erasePos): remove function, move contents...
4233         (erase): ... here. Return a bool.
4234         (erase): call erase instead of erasePos.
4235
4236 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * ParagraphList.h: define PitPosPair
4239         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4240         ParagraphList, fix a bug on pasting multiple pars
4241         * text2.C: change interface to C&P
4242
4243 2003-04-30  André Pönitz  <poenitz@gmx.net>
4244
4245         * undo_func.C: revert part of yesterday's patch 2
4246
4247 2003-04-30  John Levon  <levon@movementarian.org>
4248
4249         * LColor.C: s/tabular/table/
4250
4251 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * text3.C (dispatch): do not convert iterator -> pointer
4254         * undo_funcs.C (setCursorParUndo): ditto
4255         * text_funcs.C (transposeChars): ditto
4256
4257         * text2.C (setLayout): ws changes only
4258
4259         * text.C (breakParagraph): do not convert iterator -> pointer
4260         (insertChar): ditto
4261         (acceptChange): ditto
4262         (rejectChange): ditto
4263         (changeCase): ditto
4264         (Delete): ditto
4265         (backspace): ditto
4266
4267         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4268         pointer
4269
4270 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * text3.C (gotoInset): YABG (yet another bad getChar)
4273
4274 2003-04-29  André Pönitz  <poenitz@gmx.net>
4275
4276         * paragraph.h: make operator= private unimplemented as long as
4277           it is unusable
4278
4279         * ParagraphList.C: whitespace
4280
4281         * paragraph.[Ch]:
4282         * paragraph_pimpl.[Ch]:
4283         * paragraph_funcs.C:
4284         * CutAndPaste.C:
4285         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4286
4287         * text2.C:
4288           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4289
4290 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4291
4292         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4293         * paragraph.[Ch] (erase):
4294         * paragraph_pimpl.[Ch] (erase): change return type and value
4295         * text2.C (cutSelection): some rework
4296
4297 2003-04-28  John Levon  <levon@movementarian.org>
4298
4299         * bufferlist.C: changes for unsaved changes dialog
4300
4301 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * bufferlist.C (newFile): set language (messages_) for new
4304         documents also.
4305
4306         * buffer.C (readFile): ws changes only.
4307
4308 2003-04-28  André Pönitz  <poenitz@gmx.net>
4309
4310         * undo_funcs.C:
4311         * lyxfunc.C:
4312         * buffer.[Ch]:
4313         * BufferView_pimpl.C:
4314         * BufferView.C: getParFromID related ParagraphList::iterator changes
4315
4316 2003-04-28  André Pönitz  <poenitz@gmx.net>
4317
4318         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4319           Changes
4320
4321 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * messages.C: remove one more localedir class variable.
4324
4325 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * messages.C (getLocaleDir): singleton generation function
4328         (Pimpl): use it.
4329         (Messages): add a default constructor.
4330
4331         * main.C (main): do not setup localedir here, do not call
4332         gettext_init.
4333
4334         * gettext.C (_): use it.
4335         (gettext_init): delete funciton
4336
4337 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * gettext.C (getLyXMessages): new singleton generating function.
4340
4341         * buffer.C (updateDocLang): adjust
4342
4343         * Makefile.am (messages.o): add target
4344         (main.o): remove target
4345
4346 2003-04-27  John Levon  <levon@movementarian.org>
4347
4348         * bufferlist.C:
4349         * lyx_cb.C:
4350         * lyxfunc.C:
4351         * lyxvc.C: specify cancel button in Alert::prompt
4352
4353 2003-04-26  John Levon  <levon@movementarian.org>
4354
4355         * text3.C:
4356         * lyxfunc.C:
4357         * lfuns.h:
4358         * LyXAction.C: add LFUN_INSET_SETTINGS
4359
4360         * lyxfunc.C: don't enable tabular-feature when there's
4361         just any locking inset
4362
4363 2003-04-26  John Levon  <levon@movementarian.org>
4364
4365         * bufferlist.C: re-add Cancel to buffer close question
4366
4367         * lyxfunc.C: fix import UI a bit
4368
4369 2003-04-25  John Levon  <levon@movementarian.org>
4370
4371         * gettext.C: remove the broken asserts for now
4372
4373 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * messages.C: make case where setlocale cannot comply work better.
4376
4377         * buffer.C (updateDocLang): new function
4378         (changeLanguage): use it
4379         (readFile): use it
4380
4381         * text2.C (setCounter): use B_ a bit.
4382
4383         * lyxlayout.C (Read): be sure to trim the label strings.
4384
4385         * messages.C (Messages): fix typo in comment
4386
4387         * buffer.C (readFile): set message_ after file is loaded.
4388         (makeDocBookFile): remove double return
4389         (changeLanguage): reset message_ upon language change.
4390         (B_): new func, use this to get translated buffer strings.
4391
4392         * main.C: add myself and Jean Marc as authors.
4393
4394 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * messages.[hC]: pimplify Messages, and three different pimpls to be
4397         used in different circumstances.
4398
4399         * gettext.[Ch]: change for use with new message code.
4400
4401 2003-04-24 André Pönitz <poenitz@gmx.net>
4402
4403         * factory.C: support for eqref
4404
4405 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * messages.[Ch]: add missing char
4408
4409         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4410
4411         * messages.[Ch]: New files
4412
4413 2003-04-18  John Levon  <levon@movementarian.org>
4414
4415         * BufferView.h:
4416         * BufferView.C:
4417         * BufferView_pimpl.C:
4418         * lfuns.h:
4419         * LyXAction.C:
4420         * lyxtext.h:
4421         * text2.C: remove layout-copy/paste (bug 778)
4422
4423 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4426
4427 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4430         if they succeed. Act accordingly.
4431
4432 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * text2.C (setCharFont): adjust
4435         (setCounter): adjust
4436         (insertStringAsLines): adjust
4437
4438         * text.C (leftMargin): adjust
4439         (setHeightOfRow): adjust
4440
4441         * rowpainter.C (paintFirst): adjust
4442         (paintLast): adjust
4443
4444         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4445         (outerHook): ditto
4446         (isFirstInSequence): ditto
4447         (getEndLabel): ditto
4448         (outerFont): adjust
4449
4450         * paragraph.C (getParLanguage): comment out some hard stuff.
4451
4452         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4453         (sgmlError): ditto
4454         (simpleDocBookOnePar): ditto
4455         (makeDocBookFile): use ParagraphList::iterator
4456
4457         * CutAndPaste.C (pasteSelection): adjust
4458
4459 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * text2.C (getFont): adjust
4462         (getLayoutFont): adjust
4463         (getLabelFont): adjust
4464
4465         * paragraph_funcs.C (TeXOnePar): adjust
4466
4467         * buffer.C (simpleLinuxDocOnePar): adjust
4468         (simpleDocBookOnePar): adjust
4469
4470         * CutAndPaste.C (pasteSelection): adjust
4471
4472         * BufferView.C (getEncoding): adjust
4473
4474         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4475
4476 2003-04-16  John Levon  <levon@movementarian.org>
4477
4478         * lyxfind.C: use parlist stuff for search/changes
4479
4480 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4483
4484         * text2.C (deleteEmptyParagraphMechanism): adjust
4485
4486         * text2.[Ch] (ownerParagraph): delete func (both of them
4487
4488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4491
4492 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * ParagraphList.C: prepare for NO_NEXT
4495
4496 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * text2.C (getFont): adjust
4499         (getLayoutFont): adjust
4500         (getLabelFont): adjust
4501
4502         * paragraph.C (getFont): adjust
4503         (getLabelFont): adjust
4504         (getLayoutFont): adjust
4505
4506         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4507
4508 2003-04-15  John Levon  <levon@movementarian.org>
4509
4510         From Angus Leeming
4511
4512         * lyx_main.C: handle Include in .ui files
4513
4514 2003-04-15  John Levon  <levon@movementarian.org>
4515
4516         * MenuBackend.C: make the doc files length shorter
4517
4518         * ToolbarBackend.h:
4519         * ToolbarBackend.C: handle toolbar placement flags,
4520         Minibuffer
4521
4522 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4523
4524         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4525         adjust
4526
4527         * paragraph_funcs.C (TeXOnePar): adjust
4528
4529         * paragraph.C (getLabelFont): add outerfont arg, adjust
4530         (getLayoutFont): ditto
4531         (simpleTeXOnePar): adjust
4532
4533         * paragraph_pimpl.C (realizeFont): delete func
4534
4535 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4538         row argument, constify cur argument.
4539
4540 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * text2.C (getFont): adjust
4543         (getLayoutFont): adjust
4544         (getLabelFont): adjust
4545
4546         * paragraph_funcs.C (TeXOnePar): adjust
4547         (outerFont): new func...
4548         (realizeFont): ...moved out from here, changed this to facilitate
4549         transition
4550
4551         * paragraph.C (getFont): take outerfont as arg, adjust
4552         (simpleTeXOnePar): add outerfont arg, adjust
4553
4554         * buffer.C (simpleLinuxDocOnePar): adjust
4555         (simpleDocBookOnePar): adjust
4556
4557         * CutAndPaste.C (pasteSelection): adjust
4558
4559         * BufferView.C (getEncoding): adjust
4560
4561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * text2.C (setCharFont): adjust
4564         (setCounter): adjust
4565
4566         * text.C (leftMargin): adjust
4567         (setHeightOfRow): adjust
4568
4569         * rowpainter.C (paintFirst): adjust
4570         (paintLast): adjust
4571
4572         * paragraph_pimpl.C (realizeFont): adjust
4573
4574         * paragraph.C (isFirstInSequence): move from here...
4575         * paragraph_funcs.C (isFirstInSequence): ...to here
4576
4577         * paragraph.C (outerHook): move from here...
4578         * paragraph_funcs.C (outerHook): ...to here
4579
4580         * paragraph.C (depthHook): move from here...
4581         * paragraph_funcs.C (depthHook): ...to here
4582
4583         * paragraph.C (getEndLabel): move from here...
4584         * paragraph_funcs.C (getEndLabel): ...to here
4585
4586         * text2.C (realizeFont): move from here...
4587         * paragraph_funcs.C (realizeFont): ...to here
4588
4589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4590
4591         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4592
4593 2003-04-14  Angus Leeming  <leeming@lyx.org>
4594
4595         * LColor.[Ch]: scrap LColor mathcursor.
4596
4597 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * lyxlex.[Ch] (text): delete function
4600         * trans.C (Load): adjust
4601         * paragraph_funcs.C (readParToken): adjust
4602
4603 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4604
4605         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4606         vector<char> instead of a char[].
4607
4608         * lyxlex_pimpl.C (getString): adjust
4609         (next): adjust
4610         (lex): use getString
4611         (eatLine): adjust
4612         (nextToken): adjust
4613
4614         * lyxlex.C (text): use pimpl_->getString()
4615         (getBool): ditto
4616         (findToken): ditto
4617
4618 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4621         (makeFontEntriesLayoutSpecific): temp var for par.size()
4622         (setLayout): temp var for ownerParagraphs().end()
4623         (fullRebreak): temp var for rows().end()
4624         (selectionAsString): temp var for boost::next(startpit), realize
4625         that the while really is a regular for loop.
4626         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4627         setCursor in one place.
4628         (setParagraph): temp vr for ownerParagraphs().end()
4629         (updateCounters): make the while loop a for loop
4630         (cutSelection): temp var for ownerParagraphs().end()
4631         (updateInset): make the do {} while() a regular for loop
4632         (getCursorX): use temp vars
4633         (setCurrentFont): use temp vars
4634         (getColumnNearX): use temp vars
4635
4636 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * text.C (transformChar): use temp var for getChar
4639         (computeBidiTables): use temp var for row->par()
4640         (fill): move temp vars for row->par() and pit->layout() earlier in
4641         the function.
4642         (labelFill): use temp var for row->par()
4643         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4644         asc and desc, realize that pit never changes and that firstpit is
4645         just a duplicate and not needed. Exchange rit->par() with pit in a
4646         lot of places.
4647         (breakAgain): use a temp var for boost::next(rit)
4648         (breakAgainOneRow): ditto
4649         (breakParagraph): use a temp var for rows().begin()
4650         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4651         (cursorRightOneWord): use temp var for cursor.par() and
4652         cursor.pos(), remove usage of tmpcursor.
4653         (cursorLeftOneWord): use temp var for cursor.par() and
4654         cursor.pos() only set cur at end of function.
4655
4656 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * text.C, text2.C: exchange all usage of Paragraph::next with
4659         boost::next(ParagraphList::iterator)
4660
4661         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4662
4663         * text2.C (cursorTop): simplify implementation
4664         (cursorBottom): ditto
4665         (setParagraph): use ParagraphList::iterator
4666         (setCurrentFont): adjust
4667         (getColumnNearX): adjust
4668         (cursorRight): adjust
4669         (cursorLeft): remove usage of Paragraph::previous
4670         (cursorUpParagraph): ditto
4671         (deleteEmptyParagraphMechanism): slight cleanup
4672
4673         * text.C (isBoundary): take a Paragraph const & instead of a
4674         pointer as arg.
4675         (addressBreakPoint): ditto
4676         (leftMargin): remove usage of Paragraph::previous.
4677         (setHeightOfRow): ditto
4678         (cursorLeftOneWord): ditto
4679         (selectNextWordToSpellcheck): ditto
4680         (Delete): ditto
4681         (backspace): ditto
4682         (breakParagraph): remove one usage of Paragraph::next
4683         (redoParagraph): ditto
4684         (acceptChange): ditto
4685         (insertChar): adjust
4686         (rowBreakPoint): adjust
4687
4688         * bufferview_funcs.C (toggleAndShow): adjust
4689
4690 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4693         methods to access it.
4694         * lyxtext.h:
4695         * text.C: Added updateRowPositions to compute all row positions.
4696         Make top_y and getRowNearY() to use the cached y position
4697
4698 2003-04-11  John Levon  <levon@movementarian.org>
4699
4700         * text.C (rowBreakPoint): reintroduce the labelEnd
4701         checks, code copied from the row fill stuff. Deep voodoo.
4702
4703         * text.C (fill): add a comment and debugging for the
4704         next poor soul.
4705
4706 2003-04-11  John Levon  <levon@movementarian.org>
4707
4708         * text.C: make sure fullrow insets get wrapped to the next line,
4709         even when they're in a manual label
4710
4711 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * text2.C (insertParagraph): make it take ParagraphList::iterator
4714         as arg.
4715         (setLayout): make it return ParagraphList::iterator
4716         (redoParagraphs): ditto
4717         (setCounter): ditto
4718         (checkParagraph): ditto
4719
4720         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4721
4722         * text2.C: adjust several funcs.
4723         (realizeFont): take a ParagraphList::iterator as arg.
4724         (getLayoutFont): ditto
4725         (getLabelFont): ditto
4726         (setCharFont): ditto
4727
4728         * text.C: adjust several funcs.
4729
4730 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * text.C (selectNextWordToSpellcheck): don't accidentally
4733         skip insets
4734
4735 2003-04-10  John Levon  <levon@movementarian.org>
4736
4737         * ToolbarBackend.C (getIcon): special handling for
4738         LFUN_MATH_DELIM
4739
4740 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * text2.C (cursorRight): a getChar assert fixed
4743
4744 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * text2.C (getFont): change to take a ParagraphList::iterator
4747         instead of Paragraph*
4748         Adjust several functions.
4749
4750         * text.C (transformChar): change to take a ParagraphList::iterator
4751         instead of Paragraph*
4752         (singleWidth): ditto
4753         Adjust several functions.
4754
4755         * rowpainter.C: adjust several functions
4756         * rowpainter.h:store a ParagraphList::iterator and not a
4757         Paragraph&.
4758
4759
4760 2003-04-09  John Levon  <levon@movementarian.org>
4761
4762         * lyxfunc.C:
4763         * lfuns.h:
4764         * LyXAction.h:
4765         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4766         and the "help" bits as well
4767
4768 2003-04-09  John Levon  <levon@movementarian.org>
4769
4770         * ToolbarBackend.h:
4771         * ToolbarBackend.C: allow multiple toolbars
4772
4773 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * undo_funcs.C (setCursorParUndo): adjust
4776
4777         * text_funcs.C (transposeChars): adjust
4778
4779         * text3.C (gotoNextInset): adjust
4780         (dispatch): adjust
4781
4782         * text2.C (setLayout): adjust
4783         (changeDepth): adjust
4784         (setFont): adjust
4785         (redoParagraphs): adjust
4786         (selectionAsString): adjust
4787         (setParagraph): adjust
4788         (insertInset): adjust
4789         (cutSelection): adjust
4790         (copySelection): adjust
4791         (pasteSelection): adjust
4792         (insertStringAsLines): adjust
4793         (updateInset): adjust
4794         (setCursor): change to take a ParagraphList::iterator parameter
4795         (setCursorIntern): change to take a ParagraphList::iterator parameter
4796         (setCurrentFont): adjust
4797         (cursorLeft): adjust
4798         (cursorRight): adjust
4799         (deleteEmptyParagraphMechanism): adjust
4800
4801         * text.C (breakParagraph): adjust
4802         (insertChar): adjust
4803         (acceptChange): adjust
4804         (rejectChange): adjust
4805         (selectNextWordToSpellcheck): adjust
4806         (changeCase): adjust
4807         (Delete): adjust
4808         (backspace): adjust
4809
4810         * lyxfind.C (SearchForward): adjust
4811         (SearchBackward): adjust
4812         (nextChange): adjust
4813
4814         * lyxcursor.C (par): adjust
4815
4816         * lyxcursor.h: store a ParagraphList::iterator instead of a
4817         Paragraph*
4818
4819         * lyx_cb.C (getPossibleLabel): adjust
4820
4821         * bufferview_funcs.C (toggleAndShow): adjust
4822
4823         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4824         (dispatch): adjust
4825
4826         * BufferView.C (removeAutoInsets): adjust
4827         (lockedInsetStoreUndo): adjust
4828
4829 2003-04-09  John Levon  <levon@movementarian.org>
4830
4831         * ToolbarBackend.C: try icon without argument
4832         if with argument fails
4833
4834 2003-04-08  John Levon  <levon@movementarian.org>
4835
4836         * ToolbarBackend.h:
4837         * ToolbarBackend.C: add getIcon(), handle tooltip,
4838         and change from "Icon" to "Item".
4839
4840 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * BufferView.C (lockInset): another bad getchar crunched
4843
4844 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4847         again)
4848
4849 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * lyxfind.C (searchForward, searchBackwards): bug 782
4852
4853 2003-04-07  John Levon  <levon@movementarian.org>
4854
4855         * paragraph.C: remove dead comment
4856
4857         * text.C: remove troublesome depth-fiddling code
4858         in leftMargin() and rightMargin() (bug 1017)
4859
4860         * text.C: fix breaking of rows in nested lists
4861         (bug 1004)
4862
4863         * text2.C (updateCounters): fix up depth values
4864         (bug 1013)
4865
4866 2003-04-07  John Levon  <levon@movementarian.org>
4867
4868         * BufferView_pimpl.C: clear message when doc finishes resizing,
4869         and after a mouse event
4870
4871         * lyxfunc.C: clear message after exiting inset
4872
4873 2003-04-07  John Levon  <levon@movementarian.org>
4874
4875         * bufferview_funcs.C: show math status not outside
4876         status in the statusbar
4877
4878 2003-04-07  John Levon  <levon@movementarian.org>
4879
4880         * lyxfunc.C: note status changed after a depth change
4881
4882 2003-04-04  Angus Leeming  <leeming@lyx.org>
4883
4884         * LaTeX.h: move AuxInfo operator==, != out of line.
4885         Remove LaTeX virtual destructor; nothing derives from it.
4886         Move operator()() out of public area and rename it startscript().
4887         Change protected for private.
4888
4889 2003-04-04  Angus Leeming  <leeming@lyx.org>
4890
4891         * lyxfunc.C:
4892         * text2.C: remove unneeded #includes.
4893
4894 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * text2.C (dEPM): fix the heigth of the next row
4897
4898 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * text.C: squashed an invalid getChar requester + some ws changes
4901
4902 2003-04-03  John Levon  <levon@movementarian.org>
4903
4904         * bufferview_funcs.h:
4905         * bufferview_funcs.C:
4906         * lyxfunc.C:
4907         * lyxtext.h:
4908         * text2.C: make getStatus work for the env depth lfuns
4909
4910 2003-04-03  John Levon  <levon@movementarian.org>
4911
4912         * bufferview_funcs.h:
4913         * bufferview_funcs.C:
4914         * lyxfunc.C:
4915         * lyxtext.h:
4916         * text2.C: parlistize decDepth(), by merging it with incDepth()
4917
4918 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4919
4920         * lyxrow.h: store a ParagraphList::iterator instead of a
4921         Paragraph* and adjust other class functions to suit.
4922
4923         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4924         above.
4925
4926 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * text2.C (setCursor): do not anchor to cursor row for the time being
4929
4930 2003-04-02  John Levon  <levon@movementarian.org>
4931
4932         * LyXAction.C:
4933         * lfuns.h:
4934         * lyx_main.C:
4935         * lyxtext.h:
4936         * text.C:
4937         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4938
4939 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * paragraph.h: make ParagraphList and ParagraphList::iterator
4942         friends of Paragraph.
4943
4944         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4945
4946         * ParagraphList.C: Use the private next_ and previous_ from
4947         Paragraph.
4948
4949 2003-04-01  John Levon  <levon@movementarian.org>
4950
4951         * ToolbarBackend.h:
4952         * ToolbarBackend.C:
4953         * Makefile.am: rename, remove defaults gunk
4954
4955         * MenuBackend.h:
4956         * MenuBackend.C: remove defaults gunk
4957
4958         * Languages.h:
4959         * Languages.C: remove defaults gunk
4960
4961         * lyx_main.h:
4962         * lyx_main.C: error out if files couldn't be found.
4963
4964 2003-04-02  John Levon  <levon@movementarian.org>
4965
4966         * text2.C: make incDepth() use parlist
4967
4968 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * undo_funcs.C (firstUndoParagraph): adjust
4971
4972         * text3.C (gotoInset): adjust
4973         (dispatch): adjust, and rewrite loop.
4974
4975         * text2.C (init): adjust, and rewrite loop.
4976         (redoParagraphs): adjust
4977         (updateInset): adjust, and rewrite loop.
4978         (deleteEmptyParagraphMechanism): adjust
4979
4980         * tabular.C (LyXTabular): adjust
4981         (SetMultiColumn): adjust
4982         (TeXRow): adjust
4983
4984         * lyxtext.[Ch] (ownerParagraph): delete function
4985         (ownerParagraphs): new function returns a ParagraphList.
4986
4987         * BufferView.C (removeAutoInsets): adjust
4988         (insertErrors): adjust
4989         (setCursorFromRow): adjust
4990
4991 2003-04-01  Angus Leeming  <leeming@lyx.org>
4992
4993         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4994         in the frontends.
4995
4996 2003-04-02  John Levon  <levon@movementarian.org>
4997
4998         * lyxtext.h:
4999         * text.C:
5000         * Makefile.am:
5001         * text_funcs.h:
5002         * text_funcs.C: make transposeChars a free function
5003
5004         * lyxrow_funcs.C: remove wrong comment
5005
5006 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * lyxtext.h: adjust
5009         * rowpainter.C: adjust
5010         * text.C: adjust
5011         * text2.C: adjust
5012         * text3.C: adjust
5013
5014         * lyxrow_funcs. [Ch]: new files
5015
5016         * lyxrow.[Ch]: remove next and previous pointers
5017         (next,previous): remove accessor functions
5018         (isParEnd): move to lyxrow_funcs
5019         (lastPos): move to lyxrow_funcs
5020         (nextRowIsAllInset): move to lyxrow_funcs
5021         (lastPrintablePos): move to lyxrow_funcs
5022         (numberOfSeparators): move to lyxrow_funcs
5023         (numberOfHfills): move to lyxrow_funcs
5024         (numberOfLabelHfills): move to lyxrow_funcs
5025         (hfillExpansion): move to lyxrow_funcs
5026
5027         * lyxfunc.C: adjust
5028
5029         * bufferview_funcs.C (toggleAndShow): adjust
5030
5031         * RowList.h: Remove class RowList from file leave just a
5032         std::list<Row>.
5033
5034         * RowList.C: delete file
5035
5036         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5037         and lyxrow_funcs.h
5038
5039 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * text3.C (cursorPrevious): adjust
5042         (cursorNext): adjust
5043         (dispatch): adjust
5044
5045         * text2.C (redoHeightOfParagraph): adjust
5046         (redoDrawingOfParagraph): adjust
5047         (setCursor): adjust
5048
5049         * text.C (breakParagraph): adjust
5050         (insertChar): adjust
5051         (backspace): adjust
5052
5053         * rowpainter.C (RowPainter): adjust
5054         (leftMargin): simplify and adjust
5055         (most rowpainter functions): adjust.
5056
5057         * rowpainter.h: store the row as RowList::iterator not as Row*
5058
5059         * lyxcursor.C (row): taka RowList::iterator as arg
5060         (irow): ditto
5061
5062         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5063         of Row*.
5064
5065 2003-04-01  Angus Leeming  <leeming@lyx.org>
5066
5067         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5068         stuff like bool Bool.
5069
5070 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5073         rewrite a loop
5074
5075 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5078         RowList::iterator.
5079
5080         * lyxtext.h (rows): drop one version and leve a const variant that
5081         returns a RowList::iterator.
5082
5083 2003-03-31  Angus Leeming  <leeming@lyx.org>
5084
5085         * text.C (fill): ensure that the signature is the same as that in the
5086         header file.
5087
5088 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * text2.C (redoParagraphs): adjust
5091         (updateCounters): adjust
5092         (checkParagraph): adjust
5093         (getColumnNearX): adjust and reformat a bit.
5094
5095         * text.C (top_y): adjust
5096         (workWidth): adjust
5097         (leftMargin): adjust
5098         (prepareToPrint): adjust
5099         (getRow): adjust
5100         (getRowNearY): adjust
5101
5102         * lyxtext.h: make rowlist_ mutable.
5103
5104         * RowList.h: add const_iterator
5105         * RowList.C: adjust for RowList::const_iterator.
5106
5107         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5108         adjust.
5109
5110 2003-03-31  John Levon  <levon@movementarian.org>
5111
5112         * lyxrc.h:
5113         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5114
5115         * lyx_main.C: set default fonts from using lyx_gui funcs
5116
5117         * exporter.C: pdf_mode moved from lyxrc
5118
5119         * lyx_cb.C:
5120         * lyxfunc.C: changes from above
5121
5122 2003-03-31  John Levon  <levon@movementarian.org>
5123
5124         * lyx_main.C: fix to the last fix
5125
5126 2003-03-31  John Levon  <levon@movementarian.org>
5127
5128         * bufferlist.C: "Load original" -> "Load Original"
5129
5130         * converter.C:
5131         * exporter.C:
5132         * importer.C:
5133         * lyx_main.C:
5134         * format.C: more Alert cleanups
5135
5136 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * text2.C (removeParagraph): make it take a RowList::iterator as
5139         arg, adjust.
5140         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5141         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5142
5143         * text.C (anchor_row): make it take a RowList::iterator as arg,
5144         adjust.
5145         (computeBidiTables): make it take a const reference to Row instead
5146         of Row pointer, adjust.
5147         (leftMargin): make it take a RowList::iterator as arg, adjust.
5148         (rowBreakPoint): adjust
5149         (breakAgainOneRow): make it take a RowList::iterator as arg,
5150         adjust.
5151         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5152
5153         * bufferview_funcs.C (toggleAndShow): adjust
5154
5155 2003-03-30  John Levon  <levon@movementarian.org>
5156
5157         * Makefile.am:
5158         * BoostFormat.h:
5159         * boost-inst.C: moved to support
5160
5161         * several files: changes as a result
5162
5163 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * text2.C (LyXText): adjust.
5166         (init): adjust
5167         (removeRow): make it take a RowList::iterator as arg, adjust.
5168         (fullRebreak): adjust
5169         (deleteEmptyParagraphMechanism): adjust
5170         (clearPaint): adjust
5171         (postPaint): adjust
5172
5173         * text.C (top_y): adjust
5174         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5175         (breakAgain): make it take a RowList::iterator as arg, adjust.
5176         (breakParagraph): adjust
5177         (insertChar): adjust
5178         (backspace): adjust
5179
5180         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5181         need_break_row, and refresh_row.
5182
5183         * text3.C (dispatch): adjust
5184
5185         * text2.C (checkParagraph): adjust
5186         (setCursor): adjust
5187         (setCursorFromCoordinates): adjust
5188
5189         * text.C (top_y): adjust
5190         (workWidth): adjust
5191         (getRow): make it return a RowList::iterator, adjust
5192         (getRowNearY): make it return a RowList::iterator, adjust
5193
5194         * text2.C (init): adjust
5195         (insertRow): remove function
5196         (insertParagraph): adjust
5197         (redoParagraphs): adjust
5198         (fullRebreak): adjust
5199         (updateCounters): adjust
5200
5201         * text.C (top_y): rewrite to use RowList iterators.
5202         (top_y): adjust
5203         (setHeightOfRow): rewrite to sue RowList iterators.
5204         (appendParagraph): adjust
5205         (breakAgain): adjust
5206         (breakAgainOneRow): adjust
5207         (breakParagraph): adjust
5208         (getRow): adjust
5209         (getRowNearY): adjust, and remove commented code.
5210
5211         * lyxtext.h (firstRow): delete function
5212         (lastRow): delete function
5213         (rows): new function (const and non-const versions.)
5214         (insertRow): delete function
5215
5216         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5217
5218 2003-03-29  John Levon  <levon@movementarian.org>
5219
5220         * BufferView_pimpl.C: always update scrollbar top
5221         because pasting text when we're anchored could mean we
5222         miss an update altogether
5223
5224 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * text2.C (init): use rowlist_.end() and not 0.
5227         (insertRow): change to take a RowList::iterator as arg, adjust
5228         for this.
5229         (insertParagraph): change to take a RowList::iterator as arg,
5230         adjust for this.
5231         (redoParagraphs): remove some debug msgs.
5232
5233         * text.C (appendParagraph): change to take a RowList::iterator
5234         arg, adjust for this.
5235         (breakAgain): add an assert
5236         (breakAgainOneRow): ditto
5237
5238 2003-03-29  John Levon  <levon@movementarian.org>
5239
5240         * text2.C: do not clear selection after inc/decDepth
5241         (bug 550)
5242
5243 2003-03-29  John Levon  <levon@movementarian.org>
5244
5245         * BufferView.C:
5246         * buffer.C: fix broken strerrors according to Lars
5247
5248 2003-03-29  John Levon  <levon@movementarian.org>
5249
5250         * converters.C: more Alert cleanups
5251
5252 2003-03-29  John Levon  <levon@movementarian.org>
5253
5254         * bufferview_funcs.C: remove pointless Alert
5255
5256         * buffer.C: fix confusing error message when
5257         a template is chmoded 000
5258
5259 2003-03-29  John Levon  <levon@movementarian.org>
5260
5261         * BufferView.C:
5262         * BufferView.h:
5263         * BufferView_pimpl.C: Alert fixes
5264
5265         * Makefile.am:
5266         * tabular.C:
5267         * tabular-old.C: remove unused table compat reading
5268
5269 2003-03-29  John Levon  <levon@movementarian.org>
5270
5271         * BufferView.C:
5272         * buffer.C:
5273         * lyx_cb.h:
5274         * lyx_cb.C: more Alert cleanups
5275
5276         * lyxfunc.C: don't allow chktex if not latex document
5277
5278 2003-03-29  John Levon  <levon@movementarian.org>
5279
5280         * lyx_cb.C:
5281         * BufferView.C:
5282         * buffer.C: warnings pushed down from support/,
5283         kill err_alert
5284
5285 2003-03-29  John Levon  <levon@movementarian.org>
5286
5287         * lyxfunc.C: safety check for C-r (revert)
5288
5289 2003-03-29  John Levon  <levon@movementarian.org>
5290
5291         * bufferlist.h:
5292         * bufferlist.C: several UI fixes using Alert::prompt.
5293         Fix the pointless looping quit code. Fix stupid revert
5294         behaviour (bug 938)
5295
5296         * lyxvc.h:
5297         * lyxvc.C:
5298         * lyx_cb.C: use Alert::prompt
5299
5300         * lyx_main.C: remove a silly question
5301
5302         * lyxfunc.C: remove a couple of silly questions,
5303         use Alert::prompt
5304
5305 2003-03-28  John Levon  <levon@movementarian.org>
5306
5307         * text2.C: fix bug 974 (End on empty par)
5308
5309 2003-03-28  John Levon  <levon@movementarian.org>
5310
5311         * BufferView_pimpl.C:
5312         * LyXAction.C:
5313         * lfuns.h: remove do-nothing math greek lfuns
5314
5315 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * lyxgluelength.h (isValidGlueLength): add default arg on
5318         parameter 2. Remove default arg from friend in class.
5319
5320         * lyxlength.h (isValidLength): add default arg on parameter 2.
5321         Remove default arg from friend in class.
5322
5323         * text2.C (LyXText): adjust, initialize refresh_row.
5324         (init): adjust
5325         (removeRow): adjust
5326         (insertRow): adjust
5327         (insertParagraph): adjst
5328         (redoParagraphs): adjust
5329         (fullRebreak): adjust
5330         (updateCounters): adjust
5331         (deleteEmptyParagraphMechanism): first attempt at fixing a
5332         crashing bug.
5333
5334         * text.C (top_y): adjust
5335         (setHeightOfRow): adjust
5336         (getRow): adjust
5337         (getRowNearY): adjust
5338
5339         * lyxtext.h: include RowList.h
5340         (~LyXText): not needed anymore, deleted.
5341         (firstRow): modify for RowList
5342         (lastRow): new function
5343         Delete firstrow and lastrow class variables, add a Rowlist
5344         rowlist_ class variable.
5345
5346         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5347         paragraph is empty.
5348
5349         * RowList.C (insert): fix case where it == begin().
5350
5351 2003-03-26  Angus Leeming  <leeming@lyx.org>
5352
5353         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5354         the thesaurus dialog.
5355
5356 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5357
5358         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5359
5360         * RowList.[Ch]: new files
5361
5362         * ParagraphList.C (erase): handle the case where it == begin
5363         correctly.
5364
5365 2003-03-25  John Levon  <levon@movementarian.org>
5366
5367         * Makefile.am:
5368         * aspell_local.h:
5369         * aspell.C: add new aspell support
5370
5371         * lyxrc.h:
5372         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5373         have it accessible.
5374
5375 2003-03-25  Angus Leeming  <leeming@lyx.org>
5376
5377         * lfuns.h:
5378         * LyXAction.C (init): new LFUN_INSET_INSERT.
5379
5380         * BufferView_pimpl.C (dispatch): split out part of the
5381         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5382
5383         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5384         LFUN_INSET_APPLY.
5385
5386 2003-03-25  Angus Leeming  <leeming@lyx.org>
5387
5388         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5389
5390 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * text2.C:
5393         * text3.C: remove useless row->height(0)
5394
5395 2003-03-25  John Levon  <levon@movementarian.org>
5396
5397         * lyxtext.h:
5398         * text2.C:
5399         * text3.C: rename the refreshing stuff to better names
5400
5401 2003-03-24  John Levon  <levon@movementarian.org>
5402
5403         * BufferView_pimpl.h:
5404         * BufferView_pimpl.C: update layout choice on a mouse
5405         press/release
5406
5407 2003-03-23  John Levon  <levon@movementarian.org>
5408
5409         * Makefile.am: fix commandtags.h reference
5410
5411 2003-03-22  John Levon  <levon@movementarian.org>
5412
5413         * BufferView_pimpl.C:
5414         * lyxtext.h:
5415         * rowpainter.C:
5416         * rowpainter.h:
5417         * text.C:
5418         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5419
5420 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5421
5422         * lyxtext.h:
5423         * text.C: take the rtl methods out of line
5424
5425 2003-03-21 André Pönitz <poenitz@gmx.net>
5426
5427         * metricsinfo.[Ch]: new files containing structures to be passed around
5428         during the two-phase-drawing...
5429
5430 2003-03-21 André Pönitz <poenitz@gmx.net>
5431
5432         * lyxtextclass.C: read 'environment' tag.
5433
5434 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * text2.C (removeRow): fix bug 964
5437
5438 2003-03-20  John Levon  <levon@movementarian.org>
5439
5440         * rowpainter.C:
5441         * text.C:
5442         * text2.C: paint cleanups. Inset::update() dropped font
5443         parameter
5444
5445 2003-03-19  John Levon  <levon@movementarian.org>
5446
5447         * lyxfunc.C: only fitcursor/markDirty if available()
5448
5449 2003-03-19  John Levon  <levon@movementarian.org>
5450
5451         * commandtags.h: rename to ...
5452
5453         * lfuns.h: ... this, and renumber / cleanup
5454
5455 2003-03-19  John Levon  <levon@movementarian.org>
5456
5457         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5458         fit the cursor after an lfun
5459
5460         * BufferView.h:
5461         * BufferView.C:
5462         * BufferView_pimpl.h:
5463         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5464
5465         * LyXAction.C: layout-character should have ReadOnly
5466
5467         * ParagraphParameters.C:
5468         * buffer.C:
5469         * bufferview_funcs.C:
5470         * lyx_cb.C:
5471         * lyxfind.C:
5472         * lyxtext.h:
5473         * text.C:
5474         * text2.C:
5475         * text3.C:
5476         * undo_funcs.C: changes from above
5477
5478 2003-03-18  John Levon  <levon@movementarian.org>
5479
5480         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5481         remove it from update()
5482
5483         * lyxfunc.C: update layout choice after an lfun
5484
5485         * text3.C: remove extra updateLayoutChoice()s
5486
5487 2003-03-18  John Levon  <levon@movementarian.org>
5488
5489         * text.C: top_y change means full repaint, fix
5490         a drawing bug with cursor movement
5491
5492 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5493
5494         * lyxtext.h:
5495         * text.C:
5496         * text2.C: anchor row on setCursor
5497
5498 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * lyxtext.h: remove almost all mutable keywords
5501         * text.C:
5502         * text2.C:
5503         * text3.C: remove const keywords accordingly
5504
5505 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5508         anon namespace
5509         (TeXEnvironment): ditto
5510         (TeXOnePar): ditto
5511
5512 2003-03-17  John Levon  <levon@movementarian.org>
5513
5514         * text.C (rowBreakPoint): remove attempt to fix displayed
5515         math insets inside a manual label
5516
5517 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * lyxtext.h: remove BufferView* as first arg from almost all class
5520         functions.
5521         * other files: adjust.
5522
5523 2003-03-17  John Levon  <levon@movementarian.org>
5524
5525         * lyxtext.h:
5526         * undo_funcs.C:
5527         * text2.C: more paint cleanups
5528
5529         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5530
5531         * rowpainter.h:
5532         * rowpainter.C: remove "smart" background painting code
5533
5534 2003-03-16  John Levon  <levon@movementarian.org>
5535
5536         * lyxtext.h:
5537         * text.C:
5538         * text2.C:
5539         * text3.C: add helper functions for setting refresh_row/y
5540
5541 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5542
5543         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5544         newline inset which *can* get inserted in the pass_thru layouts.
5545         This is primarily for literate documents.
5546
5547 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5548
5549         * buffer.C: increment LYX_FORMAT to 223
5550
5551 2003-03-14 André Pönitz <poenitz@gmx.net>
5552
5553         * textclass.h: prepare for environment handling, ws changes
5554         * lyxlayout.C: read latexheader and latexfooter tags
5555
5556 2003-03-14  John Levon  <levon@movementarian.org>
5557
5558         * text2.C: rewrite ::status() a bit
5559
5560 2003-03-13  John Levon  <levon@movementarian.org>
5561
5562         * lyxtext.h: add some docs
5563
5564 2003-03-13  John Levon  <levon@movementarian.org>
5565
5566         * lyxtext.h:
5567         * text.C:
5568         * text2.C:
5569         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5570
5571 2003-03-13  John Levon  <levon@movementarian.org>
5572
5573         * text3.C: fix appendix redrawing
5574
5575 2003-03-13  John Levon  <levon@movementarian.org>
5576
5577         * text.C (setHeightOfRow):
5578         * rowpainter.h:
5579         * rowpainter.C: make appendix mark have the text
5580           "Appendix" so the user knows what it is
5581
5582         * LColor.h:
5583         * LColor.C: s/appendixline/appendix/ from above
5584
5585 2003-03-13  John Levon  <levon@movementarian.org>
5586
5587         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5588
5589         * text.C: fix a getChar(pos) bug properly
5590
5591 2003-03-13  Angus Leeming  <leeming@lyx.org>
5592
5593         * commandtags.h:
5594         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5595         Probably only temporary. Let's see how things pan out.
5596
5597         * BufferView.C (unlockInset):
5598         * BufferView_pimpl.C (fitCursor):
5599         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5600
5601         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5602         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5603
5604         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5605         new functions that convert ParagraphParameters to and from a string.
5606
5607         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5608         BufferView::Pimpl's dispatch.
5609         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5610
5611 2003-03-13 André Pönitz <poenitz@gmx.net>
5612
5613         * lyxfunc.C:
5614         * text3.C:
5615         * factory.C: make it aware of InsetEnv
5616
5617 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * text2.C (setCursor): never ask for one past last
5620         (setCursor): add some debugging messages.
5621
5622         * text.C (singleWidth): never ask for one past last
5623         (singleWidth): ditto
5624         (leftMargin): ditto
5625         (rightMargin): ditto
5626         (rowBreakPoint): ditto
5627         (setHeightOfRow): ditto
5628         (prepareToPrint): ditto
5629
5630         * rowpainter.C (paintBackground): never ask for one past last
5631         (paintText): never ask for one past last
5632
5633         * paragraph_pimpl.C (getChar): make the assert stricter, never
5634         allow the one past last pos to be taken
5635
5636         * paragraph.C (getChar): ws changes only
5637
5638         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5639         (numberOfSeparators): ditto
5640         (numberOfHfills): ditto
5641
5642 2003-03-12  John Levon  <levon@movementarian.org>
5643
5644         * author.h:
5645         * author.C:
5646         * bufferparams.h:
5647         * bufferparams.C:
5648         * paragraph_funcs.C: fix per-buffer authorlists
5649
5650 2003-03-12  John Levon  <levon@movementarian.org>
5651
5652         * text.C: fix newline in right address
5653
5654 2003-03-12  Angus Leeming  <leeming@lyx.org>
5655
5656         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5657         duplicate those in LyXFunc::dispatch.
5658
5659         * commandtags.h:
5660         * LyXAction.C:
5661         * ToolbarDefaults.C:
5662         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5663         Add LFUN_FONTFREE_UPDATE.
5664
5665         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5666         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5667
5668         * bufferview_func.[Ch]: several new functions to facilliate
5669         transfer of data to and from the character dialog.
5670
5671 2003-03-12  John Levon  <levon@movementarian.org>
5672
5673         * buffer.C:
5674         * paragraph.h:
5675         * paragraph.C:
5676         * paragraph_funcs.C:
5677         * paragraph_pimpl.C:
5678         * sgml.C:
5679         * tabular.C:
5680         * text.C:
5681         * text3.C: remove META_NEWLINE in favour of an inset
5682
5683         * rowpainter.h:
5684         * rowpainter.C: remove paintNewline (done by inset)
5685
5686 2003-03-12  John Levon  <levon@movementarian.org>
5687
5688         * paragraph_pimpl.C: complain about bad getChar()s
5689         for a while at least
5690
5691 2003-03-12  John Levon  <levon@movementarian.org>
5692
5693         * buffer.h:
5694         * buffer.C: move paragraph read into a separate function,
5695         a little renaming to reflect that.
5696
5697         * bufferparams.h:
5698         * bufferparams.C: remove the author_ids map, not necessary now
5699
5700         * factory.h:
5701         * factory.C: moved Buffer::readInset to here
5702
5703         * paragraph_funcs.h:
5704         * paragraph_funcs.C: readParagraph free function moved from
5705         buffer.C
5706
5707         * tabular.C: name change
5708
5709 2003-03-12  John Levon  <levon@movementarian.org>
5710
5711         * buffer.C:
5712         * ParagraphParameters.C: move par params input to
5713         a read() method
5714
5715         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5716         behave like a normal read from the stream wrt reading
5717         a line vs. a \\token
5718
5719 2003-03-12  John Levon  <levon@movementarian.org>
5720
5721         * paragraph.C:
5722         * ParagraphParameters.h:
5723         * ParagraphParameters.C: move output code to a
5724         ::write() method
5725
5726 2003-03-12  John Levon  <levon@movementarian.org>
5727
5728         * BufferView.C (insertLyXFile):
5729         * buffer.h:
5730         * buffer.C:
5731         * tabular.C: use a parlist iterator for creating the
5732           document.
5733
5734 2003-03-12  John Levon  <levon@movementarian.org>
5735
5736         * buffer.C: make current_change static local not
5737           static file-scope
5738
5739 2003-03-12  John Levon  <levon@movementarian.org>
5740
5741         * buffer.C: fix insertStringAsLines for change tracking
5742
5743 2003-03-12  John Levon  <levon@movementarian.org>
5744
5745         * BufferView.C:
5746         * tabular.C:
5747         * buffer.h:
5748         * buffer.C:
5749         * bufferparams.h:
5750         * bufferparams.C: move author list into params. Rename some
5751           functions. Move the header reading into a separate token
5752           loop. Move the header token reading into BufferParams.
5753
5754 2003-03-12  John Levon  <levon@movementarian.org>
5755
5756         * changes.C: put debug inside lyxerr.debugging() checks
5757
5758 2003-03-11 André Pönitz <poenitz@gmx.net>
5759
5760         * factory.C: make it aware of InsetHFill
5761
5762 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5763
5764         * buffer.C (latexParagraphs): move function from here...
5765         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5766         args.
5767
5768 2003-03-10  Angus Leeming  <leeming@lyx.org>
5769
5770         * LyXAction.C (init): fix bug in poplating array with multiple entries
5771         with the same LFUN (spotted by JMarc).
5772
5773 2003-03-10  John Levon  <levon@movementarian.org>
5774
5775         * text.C:
5776         * text2.C: move getColumnNearX() near its
5777         only call site
5778
5779 2003-03-10  John Levon  <levon@movementarian.org>
5780
5781         * text.C: fix break before a minipage
5782
5783 2003-03-10  John Levon  <levon@movementarian.org>
5784
5785         * text.C: fix the last commit
5786
5787 2003-03-09  John Levon  <levon@movementarian.org>
5788
5789         * lyxtext.h:
5790         * text.C:
5791         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5792         bug 365 (don't break before insets unless needed). Don't
5793         return a value > last under any circumstances.
5794
5795 2003-03-09  Angus Leeming  <leeming@lyx.org>
5796
5797         * BufferView_pimpl.C (trackChanges, dispatch): call
5798         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5799
5800 2003-03-09  Angus Leeming  <leeming@lyx.org>
5801
5802         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5803         than Dialogs::showAboutlyx().
5804
5805 2003-03-09  Angus Leeming  <leeming@lyx.org>
5806
5807         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5808         than Dialogs::showTabularCreate().
5809
5810 2003-03-09  John Levon  <levon@movementarian.org>
5811
5812         * lyxtext.h:
5813         * text.C:
5814         * text2.C: 3rd arg to nextBreakPoint was always the same.
5815           Use references.
5816
5817 2003-03-08  John Levon  <levon@movementarian.org>
5818
5819         * lyxrow.C:
5820         * paragraph.C:
5821         * paragraph.h:
5822         * rowpainter.C:
5823         * text.C:
5824         * text2.C: Remove the "main" bit from the "main body"
5825           notion.
5826
5827 2003-03-08  John Levon  <levon@movementarian.org>
5828
5829         * text.C (leftMargin): The left margin of an empty
5830         manual label paragraph should not include the label width
5831         string length.
5832
5833         * text.C (prepareToPrint): don't attempt to measure hfills
5834         for empty manual label paragraphs - the answer should be 0
5835
5836 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * CutAndPaste.C: remove commented code and reindent.
5839
5840 2003-03-08  John Levon  <levon@movementarian.org>
5841
5842         * lyxfunc.h:
5843         * lyxfunc.C: move reloadBuffer()
5844
5845         * BufferView.h:
5846         * BufferView.C: to here
5847
5848         * lyxvc.C: add comment
5849
5850         * vc-backend.h:
5851         * vc-backend.C: call bv->reload() to avoid
5852           getStatus() check on MENURELOAD
5853
5854 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5855
5856         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5857         to an old format .dep file.
5858
5859 2003-03-07  Angus Leeming  <leeming@lyx.org>
5860
5861         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5862         when the LFUN_MOUSE_RELEASE should have been handled by
5863         inset->localDispatch.
5864
5865 2003-03-07  Angus Leeming  <leeming@lyx.org>
5866
5867         * BufferView_pimpl.C (dispatch):
5868         * LyXAction.C (init):
5869         * ToolbarDefaults.C (init):
5870         * commandtags.h:
5871         * lyxfunc.C (getStatus):
5872         remove LFUN_INSET_GRAPHICS.
5873
5874         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5875
5876 2003-03-07  Angus Leeming  <leeming@lyx.org>
5877
5878         * commandtags.h:
5879         * LyXAction.C (init):
5880         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5881
5882         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5883
5884         * commandtags.h:
5885         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5886
5887         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5888         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5889
5890 2003-03-07  Angus Leeming  <leeming@lyx.org>
5891
5892         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5893         remove "ert".
5894
5895 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * ParagraphList.C (front): new function
5898         (back): implement
5899
5900 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5903         and top_row_offset_. removed var first_y.
5904         * text.C (top_y):
5905         * text2.C (LyXText, removeRow):
5906         * text3.C:
5907         * BufferView_pimpl.C:
5908         use these methods instead of using first_y
5909
5910 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * text2.C (pasteSelection): adjust for checkPastePossible
5913
5914         * CutAndPaste.C: remove Paragraph * buf and replace with
5915         ParagraphList paragraphs.
5916         (DeleteBuffer): delete
5917         (cutSelection): change the tc type to textclass_type
5918         (copySelection): change the tc type to textclass_type
5919         (copySelection): adjust for ParagraphList
5920         (pasteSelection): change the tc type to textclass_type
5921         (pasteSelection): adjust for Paragraphlist
5922         (nrOfParagraphs): simplify for ParagraphList
5923         (checkPastePossible): simplify for ParagraphList
5924         (checkPastePossible): remove unused arg
5925
5926         * ParagraphList.C (insert): handle the case where there are no
5927         paragraphs yet.
5928
5929         * CutAndPaste.h: make CutAndPaste a namespace.
5930
5931         * text3.C (dispatch): adjust
5932
5933         * text.C (breakParagraph): add a ParagraphList as arg
5934
5935         * paragraph_funcs.C (breakParagraph): change to take a
5936         BufferParams and a ParagraphList as args.
5937         (breakParagraphConservative): ditto
5938         (mergeParagraph): ditto
5939         (TeXDeeper): add a ParagraphList arg
5940         (TeXEnvironment): ditto
5941         (TeXOnePar): ditto
5942
5943         * buffer.C (readLyXformat2): adjust
5944         (insertStringAsLines): adjust
5945         (latexParagraphs): adjust
5946
5947         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5948         (cutSelection): adjust
5949         (pasteSelection): adjust
5950
5951         * BufferView_pimpl.C (insertInset): adjust
5952
5953 2003-03-05  Angus Leeming  <leeming@lyx.org>
5954
5955         * commandtags.h:
5956         * LyXAction.C (init):
5957         * BufferView_pimpl.C (dispatch):
5958         * lyxfunc.C (getStatus):
5959         remove LFUN_CHILD_INSERT.
5960
5961         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5962
5963 2003-03-05  Angus Leeming  <leeming@lyx.org>
5964
5965         * commandtags.h:
5966         * LyXAction.C (init):
5967         * src/factory.C (createInset):
5968         * lyxfunc.C (getStatus):
5969         * text3.C (dispatch):
5970         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5971
5972         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5973
5974 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * ParagraphList.C (insert): handle insert right before end()
5977         (erase): fix cases where it can be first or last paragraph.
5978
5979 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5982         Paragraph::next and Paragraph::previous
5983         (TeXOnePar): ditto
5984
5985         * text.C (breakParagraph): adjust
5986
5987         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5988         BufferParams& as arg.
5989         (breakParagraph): use ParagraphList::insert
5990         (breakParagraphConservative): take a Buffer* instead of a
5991         BufferParams& as arg.
5992         (breakParagraphConservative): use ParagraphList::insert.
5993
5994         * buffer.C (insertStringAsLines): un-const it
5995         (insertStringAsLines): adjust
5996
5997         * ParagraphList.C (insert): new function
5998
5999         * CutAndPaste.C (pasteSelection): adjust
6000
6001         * text.C (backspace): adjust
6002
6003         * tabular.C (SetMultiColumn): adjust
6004
6005         * CutAndPaste.C (cutSelection): adjust
6006         (pasteSelection): adjust
6007
6008         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6009         Buffer const * as arg
6010
6011         * ParagraphList.C (erase): new function
6012         * paragraph_funcs.C (mergeParagraph): use it
6013         (mergeParagraph): make it take a Buffer* instead of a
6014         BufferParams* as arg
6015
6016         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6017         as arg
6018         (breakParagraphConservative): ditto
6019
6020         * paragraph.h: remove the breakParagraph friend
6021
6022         * paragraph.C (eraseIntern): new function
6023         (setChange): new function
6024
6025         * paragraph_funcs.C (mergeParagraph): make it take a
6026         ParagraphList::iterator instead of a Paragraph *, adjust
6027         accordingly.
6028
6029         * paragraph.h: move an #endif so that the change tracking stuff
6030         also works in the NO_NEXT case.
6031
6032 2003-03-04  Angus Leeming  <leeming@lyx.org>
6033
6034         * commandtags.h:
6035         * LyXAction.C: new LFUN_INSET_MODIFY.
6036
6037         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6038         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6039
6040 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * several files: ws changes only
6043
6044         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6045         (TeXEnvironment): ditto
6046         (TeXDeeper): ditto
6047
6048         * buffer.C (makeLaTeXFile): adjust
6049         (latexParagraphs): make it take ParagraphList::iterator as args
6050
6051 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * buffer.C (latexParagraphs): adjust
6054
6055         * paragraph.C (TeXOnePar): move function...
6056         (optArgInset): move function...
6057         (TeXEnvironment): move function...
6058         * paragraph_pimpl.C (TeXDeeper): move function...
6059         * paragraph_funcs.C: ...here
6060
6061         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6062
6063 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * buffer.C (readInset): remove compability code for old Figure and
6066         InsetInfo insets
6067
6068 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * buffer.C: ws changes
6071         (readInset):
6072
6073         * BufferView_pimpl.C: ditto
6074         * author.C: ditto
6075         * buffer.h: ditto
6076         * bufferlist.h: ditto
6077         * changes.h: ditto
6078         * lyxfunc.C: ditto
6079
6080 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6081
6082         * converter.[Ch]: split into itself +
6083         * graph.[Ch]
6084         * format.[Ch]
6085         * Makefile.am: += graph.[Ch] + format.[Ch]
6086         * MenuBackend.C
6087         * buffer.C
6088         * exporter.C
6089         * importer.C
6090         * lyx_main.C
6091         * lyxfunc.C
6092         * lyxrc.C: added #include "format.h"
6093
6094 2003-02-27  Angus Leeming  <leeming@lyx.org>
6095
6096         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6097           a label.
6098
6099         * factory.C (createInset): add "label" to the factory.
6100
6101         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6102           string and do no more.
6103
6104 2003-02-27  Angus Leeming  <leeming@lyx.org>
6105
6106         * commandtags.h:
6107         * LyXAction.C (init):
6108         * factory.C (createInset):
6109         * BufferView_pimpl.C (dispatch):
6110           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6111
6112         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6113
6114         * lyxfunc.C (dispatch):
6115         * text3.C (dispatch): pass name to params2string.
6116
6117 2003-02-26  Angus Leeming  <leeming@lyx.org>
6118
6119         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6120           blocks together.
6121           Rearrange the ~includes. Strip out the unnecessary ones.
6122
6123         * factory.C (createInset): reformat.
6124           create new insets for the various LFUN_XYZ_APPLY lfuns.
6125
6126 2003-02-26  John Levon  <levon@movementarian.org>
6127
6128         * lyxrow.h:
6129         * lyxrow.C: add isParStart,isParEnd helpers
6130
6131         * paragraph.h: make isInserted/DeletedText take refs
6132
6133         * paragraph_funcs.h:
6134         * paragraph_funcs.C: remove #if 0'd code
6135
6136         * lyxtext.h:
6137         * text3.C:
6138         * text2.C:
6139         * text.C: use lyxrow helpers above.
6140           Move draw and paint routines to RowPainter.
6141           Make several methods use refs not pointers.
6142           Make backgroundColor() const.
6143           Add markChangeInDraw(), isInInset().
6144           Merge changeRegionCase into changeCase.
6145           Make workWidth() shouldn't-happen code into an Assert.
6146
6147         * rowpainter.h:
6148         * rowpainter.C: new class for painting a row.
6149
6150         * vspace.h:
6151         * vspace.C: make inPixels take a ref
6152
6153 2003-02-26  Angus Leeming  <leeming@lyx.org>
6154
6155         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6156         LFUN_REF_APPLY.
6157
6158 2003-02-25  John Levon  <levon@movementarian.org>
6159
6160         * ispell.C: give the forked command a more accurate name
6161
6162 2003-02-22  John Levon  <levon@movementarian.org>
6163
6164         * toc.h:
6165         * toc.C: make TocItem store an id not a Paragraph *
6166           (bug #913)
6167
6168 2003-02-21  Angus Leeming  <leeming@lyx.org>
6169
6170         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6171           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6172           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6173           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6174           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6175           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6176
6177         * BufferView_pimpl.C (dispatch):
6178         * LyXAction.C (init):
6179         * factory.C (createInset):
6180         * lyxfunc.C (getStatus, dispatch):
6181         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6182
6183 2003-02-21  Angus Leeming  <leeming@lyx.org>
6184
6185         * BufferView_pimpl.C (MenuInsertLyXFile):
6186         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6187         * lyxfunc.C (menuNew, open, doImport):
6188           no longer pass a LyXView & to fileDlg.
6189
6190 2003-02-21  Angus Leeming  <leeming@lyx.org>
6191
6192         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6193         * LyXAction.C: change, BIBKEY to BIBITEM.
6194         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6195         Change InsetBibKey to InsetBibitem.
6196         Change BIBKEY_CODE to BIBITEM_CODE.
6197         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6198         * factory.C: replace insetbib.h with insetbibitem.h.
6199         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6200         * paragraph.C: replace insetbib.h with insetbibitem.h.
6201         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6202         Change bibkey() to bibitem().
6203         * text.C: remove insetbib.h.
6204         * text2.C: replace insetbib.h with insetbibitem.h.
6205         change bibkey() to bibitem().
6206         * text3.C: remove insetbib.h.
6207         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6208
6209 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6210
6211         * lyxrc.C (output): enclose user email in quotes (in case there are
6212         several words)
6213
6214 2003-02-18  John Levon  <levon@movementarian.org>
6215
6216         * buffer.h: add std::
6217
6218 2003-02-17  John Levon  <levon@movementarian.org>
6219
6220         * SpellBase.h:
6221         * ispell.h:
6222         * ispell.C:
6223         * pspell.h:
6224         * pspell.C: reworking. Especially in ispell, a large
6225           number of clean ups and bug fixes.
6226
6227         * lyxfunc.C: fix revert to behave sensibly
6228
6229 2003-02-17 André Pönitz <poenitz@gmx.net>
6230
6231         * LyXAction.C:
6232         * commandtags.h: new LFUN_INSERT_BIBKEY
6233
6234         * layout.h:
6235         * lyxlayout.C:
6236         * buffer.C:
6237         * factory.C:
6238         * text.C:
6239         * text2.C:
6240         * text3.C:
6241         * paragraph.[Ch]:
6242         * paragraph_func.C: remove special bibkey handling
6243
6244 2003-02-17  John Levon  <levon@movementarian.org>
6245
6246         * text.C (Delete): fix case where delete at the end of
6247           the very first paragraph would not merge the pars
6248
6249 2003-02-17  John Levon  <levon@movementarian.org>
6250
6251         * lyxrow.C: fix lastPrintablePos()
6252
6253 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6254
6255         * bufferparams.C (writeLaTeX): add a std:here
6256
6257         * buffer.C: and remove a using directive there
6258
6259 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6260
6261         * buffer.C (makeLaTeXFile): move the code that generates the
6262           preamble...
6263
6264         * bufferparams.C (writeLaTeX): ... in this new method
6265
6266         * LaTeXFeatures.C (getEncodingSet): make const
6267           (getLanguages): make const
6268
6269         * MenuBackend.C (binding): returns the binding associated to this
6270           action
6271           (add): sets the status of each item by calling getStatus. Adds
6272           some intelligence.
6273           (read): add support for OptSubMenu
6274           (expand): remove extra separator at the end of expanded menu
6275
6276 2003-02-15  John Levon  <levon@movementarian.org>
6277
6278         * BufferView.C:
6279         * BufferView_pimpl.C:
6280         * bufferlist.h:
6281         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6282           inset code that had no actual effect. Remove unneeded status
6283           code.
6284
6285 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6286
6287         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6288           in preamble
6289
6290 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6291
6292         * text.C (drawLengthMarker): also draw an arrow marker for
6293           symbolic lengths (medskip...)
6294
6295 2003-02-14  John Levon  <levon@movementarian.org>
6296
6297         * tabular.h:
6298         * tabular.C: better method names
6299
6300 2003-02-14  John Levon  <levon@movementarian.org>
6301
6302         * BufferView_pimpl.C:
6303         * bufferlist.C:
6304         * buffer.C:
6305         * converter.C:
6306         * lyx_cb.C:
6307         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6308           it's a more accurate name. Remove some pointless uses.
6309
6310 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6311
6312         * text2.C (LyXText): change order of initilizers to shut off
6313           warnings
6314
6315 2003-02-14  John Levon  <levon@movementarian.org>
6316
6317         * buffer.C: use ParIterator for getParFromID()
6318
6319         * paragraph.h:
6320         * paragraph.C:
6321         * paragraph_pimpl.h:
6322         * paragraph_pimpl.C: remove unused getParFromID()
6323
6324 2003-02-14  John Levon  <levon@movementarian.org>
6325
6326         * buffer.C: remove some very old #if 0'd parse code
6327
6328 2003-02-13  John Levon  <levon@movementarian.org>
6329
6330         * text.h:
6331         * text.C:
6332         * text2.C: move hfillExpansion(), numberOfSeparators(),
6333           rowLast(), rowLastPrintable(), numberofHfills(),
6334           numberOfLabelHfills() ...
6335
6336         * lyxrow.h:
6337         * lyxrow.C: ... to member functions here.
6338
6339         * paragraph.h:
6340         * paragraph.C:
6341         * lyxtext.h:
6342         * text.C: remove LyXText::beginningOfMainBody(), and call
6343           p->beginningOfMainBody() directly. Move the check for
6344           LABEL_MANUAL into the latter.
6345
6346         * text.h:
6347         * text.C:
6348         * text2.C:
6349         * vspace.C:
6350         * BufferView.h:
6351         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6352
6353         * text.h:
6354         * text.C:
6355         * text2.C:
6356         * text3.C:
6357         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6358           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6359
6360 2003-02-13  John Levon  <levon@movementarian.org>
6361
6362         * CutAndPaste.C: remove debug
6363
6364 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6365
6366         * paragraph.C (asString): remove two unused variables
6367
6368         * lyxtextclass.C (readTitleType):
6369           (Read):
6370           (LyXTextClass): handle new members titletype_ and titlename_
6371
6372         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6373
6374 2003-02-09  John Levon  <levon@movementarian.org>
6375
6376         * buffer.h:
6377         * buffer.C: replace hand-coded list with a map for the dep clean
6378
6379 2003-02-08  John Levon  <levon@movementarian.org>
6380
6381         * LaTeX.C: consolidate code into showRunMessage() helper
6382
6383 2003-02-08  John Levon  <levon@movementarian.org>
6384
6385         * lyxfind.C:
6386         * lyxtext.h:
6387         * text2.C:
6388         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6389           and pass the size in explicitly
6390
6391         * BufferView_pimpl.h:
6392         * BufferView_pimpl.C:
6393         * BufferView.h:
6394         * BufferView.C: add getCurrentChange()
6395
6396         * BufferView_pimpl.h:
6397         * BufferView_pimpl.C: handle change lfuns
6398
6399         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6400           for changes. Mark pasted paragraphs as new.
6401
6402         * support/lyxtime.h:
6403         * support/lyxtime.C:
6404         * DepTable.C: abstract time_t as lyx::time_type
6405
6406         * LColor.h:
6407         * LColor.C: add colours for new text, deleted text, changebars
6408
6409         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6410           package use "usenames" option.
6411
6412         * commandtags.h:
6413         * lyxfunc.C:
6414         * LyXAction.C: add change lfuns
6415
6416         * Makefile.am:
6417         * author.h:
6418         * author.C: author handling
6419
6420         * buffer.h:
6421         * buffer.C: add a per-buffer author list, with first entry as
6422           current author. Handle new .lyx tokens for change tracking. Output
6423           author list to .lyx file. Output dvipost stuff to .tex preamble.
6424           Bump lyx format to 222.
6425
6426         * bufferlist.h:
6427         * bufferlist.C: add setCurrentAuthor() to reset current author details
6428           in all buffers.
6429
6430         * bufferparams.h:
6431         * bufferparams.C: add param for tracking
6432
6433         * bufferview_funcs.C: output change info in minibuffer
6434
6435         * Makefile.am:
6436         * changes.h:
6437         * changes.C: add change-tracking structure
6438
6439         * debug.h:
6440         * debug.C: add CHANGES debug flag
6441
6442         * lyxfind.h:
6443         * lyxfind.C: add code for finding the next change piece
6444
6445         * lyxrc.h:
6446         * lyxrc.C: add user_name and user_email
6447
6448         * lyxrow.h:
6449         * lyxrow.C: add a metric for the top of the text line
6450
6451         * lyxtext.h:
6452         * text.C: implement accept/rejectChange()
6453
6454         * lyxtext.h:
6455         * text.C: paint changebars. Paint new/deleted text in the chosen
6456         colours. Strike through deleted text.
6457
6458         * paragraph.h:
6459         * paragraph.C:
6460         * paragraph_pimpl.h:
6461         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6462           in the current change to the insert functions. Rework erase to
6463           mark text as deleted, adding an eraseIntern() and a range-based
6464           erase(). Implement per-paragraph change lookup and
6465           accept/reject.
6466
6467         * paragraph_funcs.C: Fixup paste for change tracking.
6468
6469         * tabular.C: mark added row/columns as new.
6470
6471         * text.C: fix rowLast() to never return -1. Don't allow
6472           spellchecking of deleted text. Track transpose changes. Don't
6473           allow paragraph break or merge where appropriate.
6474
6475         * text2.C: leave cursor at end of selection after a cut.
6476
6477 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6478
6479         * text.C (getLengthMarkerHeight):
6480         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6481         visible on screen too.
6482
6483 2003-02-07  John Levon  <levon@movementarian.org>
6484
6485         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6486
6487 2003-02-05  Angus Leeming  <leeming@lyx.org>
6488
6489         * lyxserver.C (read_ready): revert my patch of 11 September last year
6490         as it sends PC cpu through the roof. Presumably this means that
6491         the lyxserver will no longer run on an Alpha...
6492
6493 2003-01-30  Angus Leeming  <leeming@lyx.org>
6494
6495         * factory.C (createInset): create an InsetCommandParam of type "index"
6496         and use it to 'do the right thing'.
6497
6498         * text2.C (getStringToIndex): ensure that cursor position is always
6499         reset to the reset_cursor position.
6500
6501 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6502
6503         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6504         disabled.
6505
6506 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6507
6508         * bufferview.C:
6509         * lyxcb.C:
6510         * lyxfunc.C: Output messages with identical spelling, punctuation,
6511         and spaces
6512
6513 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6514
6515         * MenuBackend.C (expandFormats): List only viewable export formats
6516         in "View" menu
6517
6518         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6519         message
6520
6521         * lyxfunc.C (getStatus): Make sure that formats other than
6522         "fax" can also be disabled
6523
6524 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6525
6526         * text3.C (dispatch): put the lfuns that insert insets in 3
6527         groups, and call doInsertInset with appropriate arguments.
6528         (doInsertInset): new function, that creates an inset and inserts
6529         it according to some boolean parameters.
6530
6531 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * buffer.C (readFile): remember to pass on 'par' when calling
6534         readFile recursively.
6535
6536 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6537
6538         * MenuBackend.C (expandFormats): add "..." to import formats.
6539
6540 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6541
6542         * paragraph.C (asString): Remove XForms RTL hacks.
6543
6544 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6545         * buffer.C: fix typo
6546
6547 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * Makefile.am (LIBS): delete var
6550         (lyx_LDADD): add @LIBS@ here instead.
6551
6552 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6553
6554         * Clarify the meaning of "wheel mouse jump"
6555
6556 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6557
6558         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6559         tabular in a float
6560
6561 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6562
6563         * importer.C (Loaders): do not preallocate 3 elements in the
6564         vector, since one ends up with 6 elements otherwise
6565
6566 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6567
6568         * DepTable.C (write): write the file name as last element of the
6569         .dep file (because it may contain spaces)
6570         (read): read info in the right order
6571
6572 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6573
6574         * paragraph_pimpl.C (simpleTeXBlanks):
6575         (simpleTeXSpecialChars):
6576         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6577
6578         * tabular.C (latex): add some missing case statements. Reindent.
6579
6580         * MenuBackend.C (expandToc): remove unused variable.
6581
6582 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6583
6584         * LColor.C:
6585         * LaTeX.C:
6586         * LyXAction.C:
6587         * MenuBackend.C:
6588         * buffer.C:
6589         * exporter.C:
6590         * lyxfunc.C:
6591         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6592         and the like.
6593
6594 2003-01-05  John Levon  <levon@movementarian.org>
6595
6596         * BufferView.h:
6597         * BufferView.C: add getEncoding()
6598
6599         * kbsequence.h:
6600         * kbsequence.C: do not store last keypress
6601
6602         * lyxfunc.h:
6603         * lyxfunc.C: store last keypress here instead. Pass encoding
6604           to getISOEncoded()
6605
6606 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6607
6608         * lyx_main.C (init): remove annoying error message when following
6609         symbolic links (bug #780)
6610
6611 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6612
6613         * text.C (insertChar):
6614         * lyxrc.C (getDescription): remove extra spaces
6615
6616 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6617
6618         * lyxrc.C (getDescription): remove extra spaces
6619
6620 2002-12-20  John Levon  <levon@movementarian.org>
6621
6622         * text3.C: hack fix for page up/down across tall rows
6623
6624 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6625
6626         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6627         not been invoked
6628
6629 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6630
6631         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6632         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6633         thesaurus is not compiled in
6634
6635 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6636
6637         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6638
6639 2002-12-16  Angus Leeming  <leeming@lyx.org>
6640
6641         * lyxrc.[Ch]:
6642         * lyx_main.C (init): remove override_x_deadkeys stuff.
6643
6644 2002-12-12  John Levon  <levon@movementarian.org>
6645
6646         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6647           insert. Only remove shift modifier under strict
6648           circumstances.
6649
6650 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * MenuBackend.C (expandToc): fix crash.
6653
6654 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * MenuBackend.C (expandToc): gettext on float names.
6657
6658 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6659
6660         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6661         implement bool empty() [bug 490]
6662
6663 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6666
6667 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6668
6669         * several files: ws changes
6670
6671 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * text2.C (setCounter): clean up a bit, use boost.format.
6674         (updateCounters): initialize par upon declaration.
6675
6676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6677         if the layout exists. We do not just store the layout any more.
6678         (SwitchLayoutsBetweenClasses): use boost.format
6679
6680 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6681
6682         * converter.C (convert): if from and to files are the same, use a
6683         temporary files as intermediary
6684
6685 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6686
6687         * commandtags.h:
6688         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6689
6690 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6691
6692         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6693
6694 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * tabular.C (asciiPrintCell): use string(size, char) instead of
6697         explicit loop.
6698
6699         * sgml.C (openTag): fix order of arguments to string constructor
6700         (closeTag): ditto
6701
6702         * lyxfunc.C (dispatch): use boost.format
6703
6704         * lots of files: change "c" -> 'c'
6705
6706 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6707
6708         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6709
6710 2002-11-25  Angus Leeming  <leeming@lyx.org>
6711
6712         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6713
6714         * lyx_main.C (init): compile fix.
6715
6716 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * lyx_cb.C (start): boost.formatify
6719         do not include <iostream>
6720
6721         * lengthcommon.C: ws only
6722
6723         * boost-inst.C,BoostFormat.h: add more explict instantations
6724
6725 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * lots of files: handle USE_BOOST_FORMAT
6728
6729 2002-11-21  John Levon  <levon@movementarian.org>
6730
6731         * pspell.C: fix compile
6732
6733 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6734
6735         * lyxfunc.C (dispatch): use boost::format
6736         (open): ditto
6737         (doImport): ditto
6738
6739         * lyxfont.C (stateText): use boost::format
6740
6741         * lyx_main.C (LyX): use boost::format
6742         (init): ditto
6743         (queryUserLyXDir): ditto
6744         (readRcFile): ditto
6745         (parse_dbg): ditto
6746         (typedef boost::function): use the recommened syntax.
6747
6748         * importer.C (Import): use boost::format
6749
6750         * debug.C (showLevel): use boost::format
6751
6752         * converter.C (view): use boost::format
6753         (convert): ditto
6754         (move): ditto
6755         (scanLog): ditto
6756
6757         * bufferview_funcs.C (currentState): use boost::format
6758
6759         * bufferlist.C (emergencyWrite): use boost::format
6760
6761         * buffer.C (readLyXformat2): use boost::format
6762         (parseSingleLyXformat2Token): ditto
6763
6764         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6765
6766         * LaTeX.C (run): use boost::format
6767
6768         * Chktex.C (scanLogFile): use boost::format
6769
6770         * BufferView_pimpl.C (savePosition): use boost::format
6771         (restorePosition): ditto
6772         (MenuInsertLyXFile): ditto
6773
6774         * BoostFormat.h: help file for explicit instation.
6775
6776 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6777
6778         * tabular.C (latex): Support for block alignment in fixed width
6779         columns.
6780
6781 2002-11-17  John Levon  <levon@movementarian.org>
6782
6783         * BufferView_pimpl.C:
6784         * lyx_cb.C:
6785         * lyxfunc.C: split filedialog into open/save
6786
6787 2002-11-08  Juergen Vigna  <jug@sad.it>
6788
6789         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6790         by my last patch (hopefully).
6791
6792 2002-11-08  John Levon  <levon@movementarian.org>
6793
6794         * iterators.h:
6795         * iterators.C:
6796         * buffer.h:
6797         * buffer.C:
6798         * paragraph.h:
6799         * paragraph.C:
6800         * toc.h:
6801         * toc.C: ParConstIterator, and use it (from Lars)
6802
6803 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6804
6805         * lyxtextclass.[Ch]: revise and add doxygen comments
6806
6807 2002-11-07  John Levon  <levon@movementarian.org>
6808
6809         * text.C: fix progress value for spellchecker
6810
6811         * toc.C: fix navigate menu for insetwrap inside minipage
6812
6813         * paragraph_funcs.C: added FIXME for suspect code
6814
6815 2002-11-07  John Levon  <levon@movementarian.org>
6816
6817         * BufferView_pimpl.C: fix redrawing of insets
6818           on buffer switch
6819
6820 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6821
6822         * text2.C (updateCounters): fix bug 668
6823
6824 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6825
6826         * text3.C (dispatch): Do not make the buffer dirty when moving the
6827         cursor.
6828
6829 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * vc-backend.C: STRCONV
6832         (scanMaster): ditto
6833
6834         * text2.C (setCounter): STRCONV
6835
6836         * paragraph.C (asString): STRCONV
6837
6838         * lyxlength.C (asString): STRCONV
6839         (asLatexString): ditto
6840
6841         * lyxgluelength.C (asString): STRCONV
6842         (asLatexString): ditto
6843
6844         * lyxfunc.C (dispatch): STRCONV
6845         (open): ditto
6846
6847         * lyxfont.C (stateText): STRCONV
6848
6849         * importer.C (Import): STRCONV
6850
6851         * counters.C (labelItem): STRCONV
6852         (numberLabel): ditto
6853         (numberLabel): remove unused ostringstream o
6854
6855         * chset.C: STRCONV
6856         (loadFile): ditto
6857
6858         * bufferview_funcs.C (currentState): STRCONV
6859
6860         * buffer.C (readFile): STRCONV
6861         (asciiParagraph): ditto
6862         (makeLaTeXFile): ditto
6863
6864         * Spacing.C (writeEnvirBegin): STRCONV
6865
6866         * LaTeXFeatures.C (getLanguages): STRCONV
6867         (getPackages): ditto
6868         (getMacros): ditto
6869         (getBabelOptions): ditto
6870         (getTClassPreamble): ditto
6871         (getLyXSGMLEntities): ditto
6872         (getIncludedFiles): ditto
6873
6874         * LaTeX.C: STRCONV
6875         (run): ditto
6876         (scanAuxFile): ditto
6877         (deplog): ditto
6878
6879         * LString.h: add the STRCONV macros
6880
6881         * BufferView_pimpl.C (savePosition): STRCONV
6882         (restorePosition): ditto
6883         (MenuInsertLyXFile): ditto
6884
6885         * vc-backend.C (scanMaster): change from submatch[...] to
6886         submatch.str(...)
6887
6888         * funcrequest.C: include config.h
6889
6890         * factory.C: include config.h
6891
6892         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6893
6894         * box.C: include config.h
6895
6896         * LaTeX.C (scanAuxFile): change from submatch[...] to
6897         submatch.str(...)
6898         (deplog): ditto
6899
6900 2002-10-25  Angus Leeming  <leeming@lyx.org>
6901
6902         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6903
6904         * ispell.[Ch] (setError): new method.
6905         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6906         Use setError() insetead of goto END.
6907
6908         * lyx_cb.C (AutoSave): move out child process into new class
6909         AutoSaveBuffer.
6910
6911 2002-10-30  John Levon  <levon@movementarian.org>
6912
6913         * text3.C: make start appendix undoable
6914
6915 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6916
6917         * lyxlength.C (inPixels): Fix returned value.
6918
6919         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6920         environment.
6921
6922 2002-10-24  Angus Leeming  <leeming@lyx.org>
6923
6924         * lyxgluelength.h: no need to forward declare BufferParams
6925         or BufferView, so don't.
6926
6927 2002-10-21  John Levon  <levon@movementarian.org>
6928
6929         * BufferView.C: menuUndo ->undo, redo
6930
6931         * BufferView.h: document, remove dead, make some methods private
6932
6933         * paragraph_funcs.h:
6934         * paragraph_funcs.C:
6935         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6936
6937         * buffer.h:
6938         * buffer.C:
6939         * sgml.h:
6940         * sgml.C: move sgml open/close tag into sgml.C
6941
6942         * bufferview_funcs.h: unused prototype
6943
6944         * lyxfunc.h:
6945         * lyxfunc.C: remove unused
6946
6947         * lyxtext.h:
6948         * text.C: remove unused
6949
6950 2002-10-21  John Levon  <levon@movementarian.org>
6951
6952         * BufferView.h:
6953         * BufferView.C:
6954         * BufferView_pimpl.h:
6955         * BufferView_pimpl.C: fix mouse wheel handling based on
6956           patch from Darren Freeman
6957
6958 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6959
6960         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6961
6962 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6963
6964         * lyxlength.C (inPixels): Fix hanfling of negative length.
6965         Fix LyXLength::MU case.
6966
6967 2002-10-16  John Levon  <levon@movementarian.org>
6968
6969         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6970
6971 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6972
6973         * converter.C (view): add support for $$i (file name) and $$p
6974         (file path) for the viewer command. If $$i is not specified, then
6975         it is appended to the command (for compatibility with old syntax)
6976
6977 2002-10-14  Juergen Vigna  <jug@sad.it>
6978
6979         * undo_funcs.C (textHandleUndo): alter the order in which the
6980         new undopar is added to the LyXText, as we have to set first
6981         the right prev/next and then add it as otherwise the rebuild of
6982         LyXText is not correct. Also reset the cursor to the right paragraph,
6983         with this IMO we could remove the hack in "redoParagraphs()".
6984
6985 2002-10-09  Angus Leeming  <leeming@lyx.org>
6986
6987         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6988         to turn off an optimisation if a new inset is to be inserted.
6989
6990 2002-10-11 André Pönitz <poenitz@gmx.net>
6991
6992         * lyxtext.h: make some functions public to allow access
6993         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6994
6995 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6996
6997         * text3.C (dispatch): when changing layout, avoid an infinite loop
6998         [bug #652]
6999
7000 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7001
7002         * lyxrc.C (read): treat a viewer or converter command of "none" as
7003         if it were empty.
7004
7005         * MenuBackend.C (expandFormats): for an update, also allow the
7006         formats that are not viewable
7007
7008         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7009         script if it is newer than the lyxrc.defaults in user directory
7010
7011 2002-10-07 André Pönitz <poenitz@gmx.net>
7012
7013         * text.C: Vitaly Lipatov's small i18n fix
7014
7015 2002-09-25  Angus Leeming  <leeming@lyx.org>
7016
7017         * ispell.h: doxygen fix.
7018
7019 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7020
7021         * buffer.h (readFile): Add a new argument to the method, to allow
7022         reading of old-format templates.
7023
7024 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7025
7026         * toc.C (getTocList): Get TOC from InsetWrap.
7027
7028 2002-09-16  John Levon  <levon@movementarian.org>
7029
7030         * lyxfunc.C: check tabular for cut/copy too
7031
7032 2002-09-12  John Levon  <levon@movementarian.org>
7033
7034         * LyXAction.C: tidy
7035
7036         * factory.h:
7037         * factory.C: add header
7038
7039         * paragraph_funcs.h:
7040         * paragraph_funcs.C: cleanup
7041
7042 2002-09-11  John Levon  <levon@movementarian.org>
7043
7044         * PrinterParams.h: odd/even default to true
7045
7046 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7047
7048         * PrinterParams.h: update printer parameters for new xforms dialog
7049
7050 2002-09-11  Angus Leeming  <leeming@lyx.org>
7051
7052         * lyxserver.C (read_ready): re-write to make it more transparent
7053         and to make it work in coherent fashion under Tru64 Unix.
7054
7055 2002-09-11  André Pönitz <poenitz@gmx.net>
7056
7057         * commandtags.h:
7058         * LyXAction.C:
7059         * text3.C: implement LFUN_WORDSEL
7060
7061 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7064         make floatlist_ a boost::shared_ptr<FloatList>
7065
7066         * lyxtextclass.C: include FloatList.h
7067         (LyXTextClass): initialize floatlist_
7068         (TextClassTags): add TC_NOFLOAT
7069         (Read): match "nofloat" to TC_NOFLOAT and use it.
7070         (readFloat): modify call to floatlist_
7071         (floats): ditto
7072         (floats): ditto
7073
7074         * FloatList.[Ch] (FloatList): remove commented out float
7075         initialization.
7076         (erase): new function
7077
7078 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7079
7080         * MenuBackend.C (expandToc): fix crash when there is no document
7081         open
7082
7083 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7084
7085         * many files: Add insetwrap.
7086
7087 2002-09-09  John Levon  <levon@movementarian.org>
7088
7089         * text2.C: remove confusing and awkward depth wraparound
7090
7091 2002-09-09  John Levon  <levon@movementarian.org>
7092
7093         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7094
7095         * buffer.h:
7096         * buffer.C: remove getIncludeonlyList()
7097
7098         * paragraph.C:
7099         * lyxfunc.C: remove headers
7100
7101 2002-09-09  Juergen Vigna  <jug@sad.it>
7102
7103         * text.C (getColumnNearX): fix form Michael this is most
7104         probably a cut&paste bug.
7105
7106 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7109
7110         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7111         references, ws changes.
7112
7113         * text2.C (init): update counters after init
7114         (insertParagraph): no need to set counter on idividual paragraphs.
7115         (setCounter): access the counters object in the textclass object
7116         on in the buffer object.
7117         (updateCounters): ditto
7118
7119         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7120         shared_ptr<Counters> to avoid loading counters.h in all
7121         compilation units.
7122         (LyXTextClass): initialize ctrs_
7123         (TextClassTags): add TC_COUNTER, and ...
7124         (Read): use it here.
7125         (CounterTags): new tags
7126         (readCounter): new function
7127         (counters): new funtion
7128         (defaultLayoutName): return a const reference
7129
7130         * counters.C (Counters): remove contructor
7131         (newCounter): remove a couple of unneeded statements.
7132         (newCounter): simplify a bit.
7133         (numberLabel): some small formatting changes.
7134
7135         * buffer.[Ch]: remove all traces of counters, move the Counters
7136         object to the LyXTextClass.
7137
7138 2002-09-06  Alain Castera  <castera@in2p3.fr>
7139
7140         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7141         package to set the horizontal alignment on fixed width columns.
7142
7143         * lyx_sty.C:
7144         * lyx_sty.h: added tabularnewline macro def.
7145
7146         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7147
7148 2002-09-06  John Levon  <levon@movementarian.org>
7149
7150         * LyXAction.C: tooltips for sub/superscript
7151
7152         * MenuBackend.C: a bit more verbose
7153
7154         * lyxfunc.C: tiny clean
7155
7156         * undo_funcs.C: document undo_frozen
7157
7158 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * counters.C (Counters): add missing algorithm counter.
7161
7162         * text2.C (setCounter): lookup the counter with layouts latexname
7163         instead of by section number.
7164         (setCounter): use a hackish way to lookup the correct enum
7165         counter.
7166         a float name->type change
7167         reset enum couners with counter name directly instead of depth value.
7168
7169         * counters.C (Counters): remove the push_backs, change to use the
7170         float type not the float name.
7171         (labelItem): remove unused string, float name->type change
7172
7173         * counters.h: don't include vector, loose the enums and sects vectors
7174
7175 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7178         (Read): add float->TC_FLOAT to textclassTags
7179         (Read): and handle it in the switch
7180         (readFloat): new function
7181
7182         * FloatList.C (FloatList): comment out the hardcoded float
7183         definitions.
7184
7185         * lyxlayout.h: ws change.
7186
7187 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7188
7189         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7190
7191 2002-09-03  Angus Leeming  <leeming@lyx.org>
7192
7193         * BufferView_pimpl.h: qualified name is not allowed in member
7194         declaration: WorkArea & Pimpl::workarea() const;
7195
7196         * factory.C: added using std::endl directive.
7197
7198         * text3.C: added using std::find and std::vector directives.
7199
7200 2002-08-29  André Pönitz <poenitz@gmx.net>
7201
7202         * lyxtext.h:
7203         * text2.C: remove unused member number_of_rows
7204
7205         * Makefile.am:
7206         * BufferView2.C: remove file, move contents to...
7207         * BufferView.C: ... here
7208
7209         * BufferView_pimpl.C:
7210         * factory.C: move more inset creation to factory
7211
7212         * vspace.C: avoid direct usage of LyXText, ws changes
7213
7214         * BufferView.[Ch]:
7215                 don't provide direct access to WorkArea, use two simple
7216                 acessors haveSelction() and workHeight() instead
7217
7218
7219 2002-08-29  John Levon  <levon@movementarian.org>
7220
7221         * BufferView_pimpl.C (dispatch): do not continue when
7222           no buffer
7223
7224 2002-08-28  André Pönitz <poenitz@gmx.net>
7225
7226         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7227
7228         * BufferView.h:
7229         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7230
7231 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7232
7233         * buffer.C: increment LYX_FORMAT to 221
7234
7235         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7236         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7237
7238         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7239
7240         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7241
7242 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7243
7244         * factory.C (createInset): use LyXTextClass::floats
7245
7246         * MenuBackend.C (expandFloatListInsert):
7247         (expandFloatInsert):
7248         (expandToc):
7249
7250         * text2.C (setCounter):
7251
7252         * LaTeXFeatures.C (useFloat):
7253         (getFloatDefinitions):
7254
7255         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7256
7257         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7258         floatlist_, with accessor floats().
7259
7260         * FloatList.h: remove global FloatList
7261
7262 2002-08-26  André Pönitz <poenitz@gmx.net>
7263
7264         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7265
7266         * BufferView.h:
7267         * BufferView2.C:
7268         * BufferView_pimpl.C:
7269         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7270
7271 2002-08-25  John Levon  <levon@movementarian.org>
7272
7273         * LyXAction.C: fix margin note description
7274
7275 2002-08-24  John Levon  <levon@movementarian.org>
7276
7277         * buffer.C:
7278         * bufferlist.C:
7279         * bufferview_funcs.C:
7280         * lyxfont.C:
7281         * undo_funcs.C: cleanups
7282
7283         * lyxfunc.C: disable CUT/COPY when no selection
7284
7285 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7286
7287         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7288         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7289
7290         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7291         Add backward compatibility to "mono", "gray" and "no".
7292
7293 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7294
7295         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7296         (and file_format >= 200).
7297
7298 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7299
7300         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7301
7302 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7305
7306 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7307
7308         * BufferView_pimpl.C:
7309         * LyXAction.C:
7310         * buffer.C:
7311         * commandtags.h:
7312         * lyxfunc.C:
7313         * paragraph.[Ch]:
7314         * text2.C:
7315         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7316         inset and code to make it  work with the paragraph code. The inset
7317         can be anywhere in the paragraph, but will only do the expected
7318         thing in LaTeX if the layout file contains the parameter line
7319                         OptionalArgs    1
7320         (or more generally, a nonzero value) for that layout.
7321
7322 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * paragraph.h: remove the declaration of undefined counters class
7325         function.
7326
7327 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7328
7329         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7330         Dr. Richard Hawkins.
7331
7332 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7333
7334         * paragraph_funcs.h: remove some unneeded includes
7335
7336         * text.C (backspace): pasteParagraph now in global scipe
7337
7338         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7339         (pasteSelection): ditto
7340
7341         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7342         * paragraph_funcs.C (pasteParagraph): ... here
7343
7344 2002-08-20  André Pönitz <poenitz@gmx.net>
7345
7346         * commandtags.h: new LFUNs for swapping/copying table row/colums
7347
7348         * LyXAction.C:
7349         * lyxfunc.C: support for new lfuns
7350
7351 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * tabular.C:
7354         * buffer.[Ch]: remove NO_COMPABILITY stuff
7355
7356 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * boost.C (throw_exception): new file, with helper function for
7359         boost compiled without exceptions.
7360
7361         * paragraph.h:
7362         * lyxlength.C:
7363         * buffer.C:
7364         * ParameterStruct.h:
7365         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7366
7367         * bufferlist.C (emergencyWriteAll): use boost bind
7368
7369         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7370
7371         * text.C: include paragraph_funcs.h
7372         (breakParagraph): breakParagraph is now in global scope
7373
7374         * paragraph_funcs.[Ch]: new files
7375
7376         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7377         global scope
7378
7379         * buffer.C: include paragraph_funcs.h
7380         (insertStringAsLines): breakParagraph is now in global scope
7381
7382         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7383         paragraph_funcs.C
7384
7385         * CutAndPaste.C: include paragraph_funcs.h
7386         (cutSelection): breakParagraphConservative is now in global scope
7387         (pasteSelection): ditto
7388
7389         * buffer.h: declare oprator== and operator!= for
7390         Buffer::inset_iterator
7391
7392         * bufferlist.C (emergencyWrite): don't use fmt(...)
7393
7394         * text3.C: add using std::endl
7395
7396         * BufferView.C (moveCursorUpdate): remove default arg
7397
7398 2002-08-20  André Pönitz <poenitz@gmx.net>
7399
7400         * buffer.[Ch]: move inline functions to .C
7401
7402         * BufferView2.C:
7403         * BufferView_pimpl.C:
7404         * text.C:
7405         * buffer.[Ch]: use improved inset_iterator
7406
7407         * buffer.C:
7408         * paragraph.[Ch]: write one paragraph at a time
7409
7410 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7411
7412         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7413         style if style is not specified.
7414
7415 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7416
7417         * text2.C (setCounter): when searching for right label for a
7418         caption, make sure to recurse to parent insets (so that a caption
7419         in a minipage in a figure float works) (bug #568)
7420
7421 2002-08-20  André Pönitz <poenitz@gmx.net>
7422
7423         * text3.C: new file for LyXText::dispatch() and helpers
7424
7425         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7426
7427         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7428
7429 2002-08-19  André Pönitz <poenitz@gmx.net>
7430
7431         * lyxtext.h:
7432         * text.C: new LyXText::dispatch()
7433
7434         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7435
7436 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7437
7438         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7439
7440         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7441         Hebrew text.
7442
7443 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7444
7445         * Makefile.am: use $(variables) instead of @substitutions@
7446
7447 2002-08-15  André Pönitz <poenitz@gmx.net>
7448
7449         * lyxfunc.C:
7450         * BufferView_pimpl.C: streamlining mathed <-> outer world
7451         interaction
7452
7453         * commandtags.h:
7454         * LyXAction.C: remove unused LFUN_MATH
7455
7456 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7459
7460 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * paragraph.C (Paragraph): reformat a bit
7463         (cutIntoMinibuffer): use builtin InsetList function instad of
7464         doing it manually.
7465         (getInset): ditto
7466
7467         * buffer.C: include boost/bind.hpp, add using std::for_each
7468         (writeFileAscii): use ParagraphList iterators
7469         (validate): use for_each for validate traversal of paragraphs
7470         (getBibkeyList): use ParagraphList iterators
7471         (resizeInsets): use for_each to resizeInsetsLyXText for all
7472         paragraphs.
7473         (getParFromID): use ParagraphList iterators
7474
7475         * BufferView2.C (lockInset): use paragraph list and iterators
7476
7477 2002-08-14  John Levon  <levon@movementarian.org>
7478
7479         * lyxserver.C: remove spurious xforms include
7480
7481 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7482
7483         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7484
7485 2002-08-13  André Pönitz <poenitz@gmx.net>
7486
7487         * LyXAction.[Ch]:
7488         * lyxfunc.C: further cleaning
7489
7490 2002-08-13  André Pönitz <poenitz@gmx.net>
7491
7492         * funcrequest.h: new constructor
7493
7494         * funcrequest.C: move stuff here from .h
7495
7496         * Makefile.am:
7497         * BufferView_pimpl.C:
7498         * LyXAction.C:
7499         * toc.C:
7500         * lyxfunc.C: subsequent changes
7501
7502         * lyxfunc.h: new view() member function
7503
7504         * lyxfunc.C: subsequent changes
7505
7506 2002-08-13  Angus Leeming  <leeming@lyx.org>
7507
7508         * BufferView2.C:
7509         * BufferView_pimpl.C:
7510         * buffer.C:
7511         * converter.C:
7512         * importer.C:
7513         * lyxfunc.C:
7514         * lyxvc.C:
7515         * toc.C:
7516         * vc-backend.C:
7517         changes due to the changed LyXView interface that now returns references
7518         to member variables not pointers.
7519
7520 2002-08-13  Angus Leeming  <leeming@lyx.org>
7521
7522         * WordLangTuple (word, lang_code): return references to strings,
7523         not strings.
7524
7525         * BufferView.h:
7526         * SpellBase.h:
7527         * lyxtext.h: forward-declare WordLangTuple.
7528
7529         * BufferView2.C:
7530         * ispell.C:
7531         * pspell.C:
7532         * text.C: #include "WordLangTuple.h".
7533
7534         * lyxtext.h:
7535         * text.C: (selectNextWordToSpellcheck): constify return type.
7536
7537 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7538
7539         * buffer.C:
7540         * buffer.h:
7541         * lyxtext.h:
7542         * paragraph.C:
7543         * paragraph_pimpl.h:
7544         * text.C:
7545         * text2.C:
7546         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7547         suggested by Angus.
7548         Made updateCounter always count from start of buffer, and removed
7549         second argument (par).
7550         Reverted floats number display to '#'. Perhaps I'll try again when the
7551         code base is sanitized a bit.
7552
7553 2002-08-12  Angus Leeming  <leeming@lyx.org>
7554
7555         * buffer.[Ch] (getLabelList): constify.
7556
7557 2002-08-07  André Pönitz <poenitz@gmx.net>
7558
7559         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7560
7561         * funcrequest.h: extension to keep mouse (x,y) position
7562
7563 2002-08-12  Juergen Vigna  <jug@sad.it>
7564
7565         * BufferView2.C (insertErrors): forbid undo when inserting error
7566         insets.
7567
7568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7569
7570 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * ParagraphList.[Ch]: new files
7573
7574         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7575
7576         * BufferView2.C (lockInset): ParagraphList changes
7577         * toc.C: ditto
7578         * text2.C: ditto
7579         * bufferlist.C: ditto
7580         * buffer.h: ditto
7581         * buffer.C: ditto
7582
7583 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7586         unused class variable counter_,
7587
7588         * paragraph.[Ch] (getFirstCounter): delete unused function
7589
7590         * counters.C: include LAssert.h
7591         (reset): add a new function with no arg, change other version to
7592         not have def. arg and to not allow empty arg.
7593
7594         * text2.C (setCounter): remove empty arg from call to Counters::reset
7595
7596 2002-08-11  John Levon  <levon@movementarian.org>
7597
7598         * Makefile.am: add WordLangTuple.h
7599
7600 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7603         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7604
7605         * insets/insettext.C: InsetList changes
7606
7607         * graphics/GraphicsSupport.C (operator()): InsetList changes
7608
7609         * toc.C (getTocList): InsetList changes
7610
7611         * paragraph_pimpl.[Ch]: InsetList changes
7612
7613         * paragraph.[Ch]: InsetList changes
7614
7615         * buffer.C (inset_iterator): InsetList changes
7616         (setParagraph): ditto
7617         * buffer.h (inset_iterator): ditto
7618         * iterators.C (operator++): ditto
7619         * iterators.h: ditto
7620
7621         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7622
7623         * InsetList.[Ch]: new files, most InsetList handling moved out of
7624         paragraph.C.
7625
7626         * BufferView2.C (removeAutoInsets): InsetList changes
7627         (lockInset): ditto
7628         (ChangeInsets): ditto
7629
7630 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * paragraph_pimpl.h (empty): new function
7633
7634         * paragraph.[Ch] (empty): new function
7635
7636         * other files: use the new Paragraph::empty function
7637
7638 2002-08-09  John Levon  <levon@movementarian.org>
7639
7640         * lyxtext.h: remove unused refresh_height
7641
7642 2002-08-09  John Levon  <levon@movementarian.org>
7643
7644         * Makefile.am:
7645         * sgml.h:
7646         * sgml.C:
7647         * buffer.C:
7648         * paragraph.h:
7649         * paragraph.C: move sgml char escaping out of paragraph
7650
7651         * paragraph.h:
7652         * paragraph.C: remove id setter
7653
7654         * buffer.C:
7655         * paragraph.C:
7656         * paragraph_pimpl.C: remove dead tex_code_break_column
7657
7658         * bufferview_funcs.C: small cleanup
7659
7660         * lyxfunc.C: remove dead proto
7661
7662         * lyxtext.h: make some stuff private. Remove some dead stuff.
7663
7664         * lyxgluelength.C: make as[LyX]String() readable
7665
7666 2002-08-08  John Levon  <levon@movementarian.org>
7667
7668         * LyXAction.h:
7669         * LyXAction.C:
7670         * MenuBackend.C:
7671         * ToolbarDefaults.C:
7672         * lyxfunc.C:
7673         * lyxrc.C:
7674         * toc.C: lyxaction cleanup
7675
7676 2002-08-08  John Levon  <levon@movementarian.org>
7677
7678         * BufferView2.C: small cleanup
7679
7680         * lyxfind.h:
7681         * lyxfind.C: move unnecessary header into the .C
7682
7683 2002-08-08  John Levon  <levon@movementarian.org>
7684
7685         * funcrequest.h: just tedious nonsense
7686
7687         * lyx_main.h:
7688         * lyx_main.C: cleanups
7689
7690         * buffer.C:
7691         * vspace.C: remove dead header lyx_main.h
7692
7693 2002-08-07  Angus Leeming  <leeming@lyx.org>
7694
7695         * Paragraph.[Ch]:
7696         * paragraph_pimpl.h:
7697         Forward declare class Counters in paragraph.h by moving the ctrs member
7698         variable into Paragraph::Pimpl.
7699         (counters): new method, returning a reference to pimpl_->ctrs.
7700
7701         * text2.C: ensuing changes.
7702
7703 2002-08-07  John Levon  <levon@movementarian.org>
7704
7705         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7706
7707         * BufferView_pimpl.C: announce X selection on double/triple
7708           click
7709
7710         * lyx_main.C: use correct bool in batch dispatch
7711
7712         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7713
7714 2002-08-07  André Pönitz <poenitz@gmx.net>
7715
7716         * funcrequest.h: new class to wrap a kb_action and its argument
7717
7718         * BufferView.[Ch]:
7719         * BufferView_pimpl[Ch]:
7720         * LaTeX.C:
7721         * LyXAction.[Ch]:
7722         * lyxfunc.[Ch]:
7723         * lyxrc.C: subsequent changes
7724
7725
7726 2002-08-07  John Levon  <levon@movementarian.org>
7727
7728         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7729           document options change.
7730
7731 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7732
7733         * counters.[Ch]
7734         * text2.C
7735         * paragraph.[Ch]
7736         * makefile.am: move counters functionality over from
7737         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7738
7739 2002-08-06  John Levon  <levon@movementarian.org>
7740
7741         * WordLangTuple.h: new file for word + language code tuple
7742
7743         * SpellBase.h:
7744         * pspell.h:
7745         * pspell.C:
7746         * ispell.h:
7747         * ispell.C:
7748         * lyxtext.h:
7749         * text.C:
7750         * text2.C:
7751         * BufferView.h:
7752         * BufferView2.C: use WordLangTuple
7753
7754         * layout.h:
7755         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7756
7757 2002-08-06  John Levon  <levon@movementarian.org>
7758
7759         * lyx_main.C: fix cmdline batch handling
7760
7761 2002-08-06  André Pönitz <poenitz@gmx.net>
7762
7763         * lyxrc.C: set default for show_banner to true
7764
7765 2002-08-06  John Levon  <levon@movementarian.org>
7766
7767         * pspell.C: fix a crash, and allow new aspell to work
7768
7769 2002-08-06  John Levon  <levon@movementarian.org>
7770
7771         * lyxfunc.C:
7772         * kbmap.C: small cleanup
7773
7774         * vspace.h:
7775         * vspace.C: add const
7776
7777 2002-08-05  John Levon  <levon@movementarian.org>
7778
7779         * LyXAction.C: back to tabular-insert
7780
7781 2002-08-04  John Levon  <levon@movementarian.org>
7782
7783         * BufferView.h:
7784         * BufferView.C: cosmetic change
7785
7786         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7787
7788         * bufferlist.C:
7789         * buffer.h:
7790         * buffer.C:
7791         * lyxcb.h:
7792         * lyxcb.C:
7793         * lyxserver.C:
7794         * lyxvc.C:
7795         * vc-backend.C:
7796         * BufferView2.C: purge all "Lyx" not "LyX" strings
7797
7798         * lyxcursor.h:
7799         * lyxcursor.C: attempt to add some documentation
7800
7801         * lyxfunc.C:
7802         * commandtags.h:
7803         * LyXAction.C:
7804         * ToolbarDefaults.C:
7805         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7806           merge with LFUN_TABULAR_INSERT
7807
7808         * Makefile.am:
7809         * SpellBase.h:
7810         * ispell.h:
7811         * ispell.C:
7812         * pspell.h:
7813         * pspell.C: split up i/pspell implementations into separate
7814           files, many cleanups
7815
7816         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7817
7818         * text2.C: some cleanup
7819
7820         * lyxfunc.C: don't check for isp_command == "none" any more, it
7821           didn't make any sense
7822
7823 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7824
7825         * counters.[Ch]
7826         * text2.C
7827         * paragraph.[Ch]
7828         * makefile.am: move counters functionality over
7829         from text2.C/paragraph.[Ch] to counters.[Ch], and
7830         make proper C++.
7831 2002-08-02  John Levon  <levon@movementarian.org>
7832
7833         * buffer.C: s/lyxconvert/lyx2lyx/
7834
7835 2002-08-02  Angus Leeming  <leeming@lyx.org>
7836
7837         * lyxlex.C: revert John's change as it breaks reading of the user
7838         preamble.
7839
7840 2002-08-02  Angus Leeming  <leeming@lyx.org>
7841
7842         * importer.C (Import):
7843         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7844         changes due to LyXView::view() now returning a boost::shared_ptr.
7845
7846 2002-08-02  John Levon  <levon@movementarian.org>
7847
7848         * lyxlex.C: small cleanup
7849
7850 2002-08-02  John Levon  <levon@movementarian.org>
7851
7852         * text2.C (status): small cleanup, no logic change
7853
7854 2002-08-01  John Levon  <levon@movementarian.org>
7855
7856         * buffer.h:
7857         * buffer.C (writeFile): don't output alerts, caller
7858           handles this
7859
7860         * bufferlist.C:
7861         * lyx_cb.C: from above
7862
7863         * lyxfunc.C: allow to open non-existent files
7864
7865 2002-07-31  John Levon  <levon@movementarian.org>
7866
7867         * lyxserver.C: don't let incidental errors get
7868           in the way (errno)
7869
7870 2002-07-30  John Levon  <levon@movementarian.org>
7871
7872         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7873
7874 2002-07-30  John Levon  <levon@movementarian.org>
7875
7876         * lyxserver.h:
7877         * lyxserver.C: remove I/O callback too
7878
7879 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7880
7881         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7882         log.
7883
7884 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * many files: strip,frontStrip -> trim,ltrim,rtrim
7887
7888 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * PrinterParams.h: remove extern containsOnly, and include
7891         support/lstrings.h instead.
7892
7893         * LaTeX.C (scanAuxFile): modify because of strip changes
7894         (deplog): ditto
7895         * buffer.C (makeLaTeXFile): ditto
7896         * bufferparams.C (writeFile): ditt
7897         * lyxfont.C (stateText): ditto
7898         * lyxserver.C (read_ready): ditto
7899         * vc-backend.C (scanMaster): ditto
7900
7901         * BufferView_pimpl.h: ws changes
7902
7903         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7904
7905 2002-07-26  André Pönitz <poenitz@gmx.net>
7906
7907         * kb_sequence.C: remove unnedred usings
7908
7909 2002-07-26  Juergen Vigna  <jug@sad.it>
7910
7911         * lyxfind.C (LyXReplace): we have to check better if the returned
7912         text is not of theLockingInset()->getLockingInset().
7913
7914 2002-07-25  Juergen Vigna  <jug@sad.it>
7915
7916         * lyxfind.C (LyXReplace): don't replace if we don't get the
7917         right LyXText.
7918
7919         * undo_funcs.C (createUndo): remove debugging code.
7920
7921 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7922
7923         * buffer.C (parseSingleLyXformat2Token): Use default placement
7924         when reading old floats.
7925
7926         * FloatList.C (FloatList): Change the default placement of figure
7927         and tables to "tbp".
7928
7929 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * MenuBackend.C: using std::max
7932
7933 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * MenuBackend.C (expandToc):
7936         (expandToc2): code moved from xforms menu frontend. It is now
7937         generic and TOCs are transparent to menu frontends.
7938
7939 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7940
7941         * toc.C (getTocList): protect against buf=0
7942
7943         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7944         Menu as first parameter. Now, this calls itself recursively to
7945         expand a whole tree (this will be useful for TOC handling)
7946         (expandFloatInsert): remove 'wide' version of floats
7947
7948         * MenuBackend.h (submenuname): returns the name of the submenu.
7949         (submenu): returns the submenu itself, provided it has been
7950         created by MenuBackend::expand
7951
7952 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7955         insets which have noFontChange == true. (bug #172)
7956
7957 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7958
7959         * BufferView_pimpl.C: add connection objects and use them...
7960         (Pimpl): here.
7961
7962 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7963
7964         * MenuBackend.C (expandLastfiles):
7965         (expandDocuments):
7966         (expandFormats):
7967         (expandFloatListInsert):
7968         (expandFloatInsert):
7969         (expand): split expand in parts
7970
7971 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7972
7973         * lyx_gui.C: use lyx_gui::exit()
7974
7975 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * LyXAction.C: show the failing pseudo action
7978
7979 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7980
7981         * buffer.C (readFile): Run the lyxconvert script in order to read
7982         old files.
7983
7984 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * LyXAction.C:
7987         * commandtags.h:
7988         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7989
7990 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7991
7992         * LyXAction.C:
7993         * commandtags.h:
7994         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7995
7996 2002-07-22  Herbert Voss  <voss@lyx.org>
7997
7998         * lengthcommon.C:
7999         * lyxlength.[Ch]: add support for the vertical lengths
8000
8001 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8002
8003         * toc.[Ch]: std:: fixes
8004
8005 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8006
8007         * lyxrc.C: do not include lyx_main.h
8008
8009         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8010         for layouts
8011
8012         * lyxrc.C:
8013         * encoding.C:
8014         * bufferlist.C:
8015         * BufferView2.C: include "lyxlex.h"
8016
8017         * tabular.h:
8018         * bufferparams.h: do not #include "lyxlex.h"
8019
8020         * lyxtextclasslist.C (Add): remove method
8021         (classlist): renamed to classlist_
8022
8023         * paragraph_pimpl.C:
8024         * paragraph.C:
8025         * text2.C:
8026         * CutAndPaste.C:
8027         * bufferview_funcs.C:
8028         * bufferlist.C:
8029         * text.C:
8030         * LaTeXFeatures.C:
8031         * buffer.C:
8032         * toc.C (getTocList): use BufferParams::getLyXTextClass
8033
8034         * toc.C (getTocList): use InsetFloat::addToToc
8035
8036         * toc.[Ch]: new files, containing helper functions to handle table
8037         of contents
8038
8039         * lyxfunc.C (dispatch): no need to remove spaces around command
8040         given as a string
8041         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8042         first command of the sequence; it is not very clever, but I do not
8043         have a better idea, actually
8044
8045         * LyXAction.C (LookupFunc): make sure to remove space at the
8046         beginning and end of the command
8047
8048 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * MenuBackend.C (getMenubar): new method: return the menubar of
8051         this menu set
8052         (read): treat differently reading of menu and menubar (in
8053         particular, the menubar has no name now)
8054         (Menu::menubar): remove
8055
8056         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8057         saving is finished
8058
8059 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8060
8061         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8062         a bibitem inset in a RTL paragraph.
8063
8064 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8065
8066         * paragraph_pimpl.C: constify
8067
8068         * BufferView_pimpl.C:
8069         * LaTeX.C:
8070         * lyxfunc.C: fix dispatch in a nicer way
8071
8072 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8073
8074         * lyxfunc.C (dispatch):
8075         * BufferView_pimpl.C:
8076         * BufferView_pimpl.h:
8077         * BufferView.C:
8078         * BufferView.h: rename Dispatch() to dispatch()
8079
8080         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8081
8082         * lyxlayout.C (Read): honor DependsOn tag
8083
8084         * lyxlayout.[Ch] (depends_on): new method
8085
8086         * version.C.in: update lyx_docversion
8087
8088         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8089
8090         * paragraph.C (validate): remove from here...
8091         * paragraph_pimpl.C (validate): ... and move here
8092         (isTextAt): make it const
8093
8094         * buffer.C (getLists): ws cleanup
8095
8096 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8097
8098         * language.C (read): Use iso8859-1 encoding in latex_lang
8099         (this prevents LyX from crashing when using iso10646-1 encoding).
8100
8101 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8102
8103         * text2.C (toggleInset): if cursor is inside an inset, close the
8104         inset and leave cursor _after_ it
8105
8106 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * lyxfunc.C: move minibuffer completion handling out of here
8109
8110 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * BufferView_pimpl.C:
8113         * LaTeX.C: fix dispatch calls
8114
8115 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8116
8117         * text.C (drawChars): Fix Arabic text rendering.
8118
8119 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * LyXAction.C:
8122         * commandtags.h:
8123         * lyxfunc.C: remove message-push/pop
8124
8125         * lyxserver.C:
8126         * lyxfunc.h:
8127         * lyxfunc.C: rationalise some code by removing verboseDispatch
8128           in favour of a bool argument to dispatch()
8129
8130 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8131
8132         * lyx_main.C (init): make sure to read symlinks as absolute paths
8133
8134 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * lyxfunc.h:
8137         * lyxfunc.C: no need for commandshortcut to be a member
8138
8139 2002-07-15  André Pönitz <poenitz@gmx.net>
8140
8141         * converter.C: add support for $$s (scripts from lib/scripts dir)
8142         * lyx_main.C: white space
8143
8144 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8145
8146         * bufferlist.C:
8147         * lyxrc.h:
8148         * lyxrc.C: remove second exit confirmation
8149
8150 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * BufferView.h:
8153         * BufferView.C:
8154         * BufferView2.C:
8155         * BufferView_pimpl.h:
8156         * BufferView_pimpl.C:
8157         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8158
8159 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8160
8161         * MenuBackend.C (expand): add numeric shortcuts to document menu
8162
8163         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8164
8165 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * lyxfont.C (setLyXFamily):
8168         (setLyXSeries):
8169         (setLyXShape):
8170         (setLyXSize):
8171         (setLyXMisc):
8172         (lyxRead):
8173         * debug.C (value):
8174         * buffer.C (asciiParagraph): use ascii_lowercase
8175
8176 2002-07-15  Mike Fabian  <mfabian@suse.de>
8177
8178         * lyxlex_pimpl.C (search_kw):
8179         * lyxlex.C (getLongString):
8180         * converter.h (operator<):
8181         * converter.C (operator<):
8182         * buffer.C (parseSingleLyXformat2Token):
8183         (asciiParagraph):
8184         * ToolbarDefaults.C (read):
8185         * MenuBackend.C (checkShortcuts):
8186         (read):
8187         * LColor.C (getFromGUIName):
8188         (getFromLyXName): use the compare_ascii_no_case instead of
8189         compare_no_case, because in turkish, 'i' is not the lowercase
8190         version of 'I', and thus turkish locale breaks parsing of tags.
8191
8192 2002-07-16  Angus Leeming  <leeming@lyx.org>
8193
8194         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8195         now takes a Buffer const & argument.
8196
8197 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * BufferView.C (resize): check there's a buffer to resize
8200
8201 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * lyxfunc.C: remove dead code
8204
8205         * lyxserver.h:
8206         * lyxserver.C: use lyx_guii::set_read_callback
8207
8208 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8209
8210         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8211         an inset in a RTL paragraph.
8212
8213 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * lyxfunc.C: repaint after a font size update
8216
8217 2002-07-15  André Pönitz <poenitz@gmx.net>
8218
8219         * lyxlength.C: inBP should be able to return negative values
8220
8221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8222
8223         * lyxfunc.C: use lyx_gui::update_fonts()
8224
8225 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * lyxfunc.C: use lyx_gui::update_color()
8228
8229 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8230
8231         * bufferlist.C:
8232         * lyxfunc.h:
8233         * lyxfunc.C:
8234         * lyxrc.h:
8235         * lyxrc.C: remove file->new asks for name option, and let
8236           buffer-new take an argument
8237
8238 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * BufferView_pimpl.C: remove unneeded extra repaint()
8241
8242 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * LyXAction.C: allow command-sequence with NoBuffer
8245
8246         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8247
8248 2002-07-10  Angus Leeming  <leeming@lyx.org>
8249
8250         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8251
8252 2002-07-09  Angus Leeming  <leeming@lyx.org>
8253
8254         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8255
8256 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * lengthcommon.h: whitespace
8259
8260         * lyxfunc.C: update scrollbar after goto paragraph
8261
8262         * lyxtext.h: factor out page break drawing, and fix it so
8263           page break/added space paints as selected nicely
8264
8265 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8266
8267         * BufferView_pimpl.C: add FIXMEs, clean up a little
8268
8269 2002-07-09  André Pönitz <poenitz@gmx.net>
8270
8271         * lyxfont.[Ch]: support for wasy symbols
8272
8273 2002-07-08  André Pönitz <poenitz@gmx.net>
8274
8275         * BufferView_pimpl.C: apply John's patch for #93.
8276
8277 2002-07-05  Angus Leeming  <leeming@lyx.org>
8278
8279         * BufferView_pimpl.C (buffer): generate previews if desired.
8280
8281         * LColor.h: add "preview" to the color enum.
8282
8283         * LColor.C (LColor): add a corresponding entry to the items array.
8284
8285         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8286         with this buffer.
8287
8288 2002-07-05  Angus Leeming  <leeming@lyx.org>
8289
8290         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8291         The body of the code is now in the method that is passed an ostream &
8292         rather than a file name.
8293         Pass an additional only_preamble parameter, useful for the forthcoming
8294         preview stuff.
8295
8296 2002-07-03  André Pönitz <poenitz@gmx.net>
8297
8298         * lyxfunc.C: simplify getStatus() a bit for math stuff
8299
8300 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8301
8302         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8303
8304 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8305
8306         * text.C (changeRegionCase): do not change case of all the
8307         document when region ends at paragraph end (bug #461)
8308
8309 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8310
8311         * paragraph.C (startTeXParParams):
8312         (endTeXParParams): add \protect when necessary
8313
8314 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8315
8316         * BufferView_pimpl.C (workAreaExpose): remove warning
8317
8318 2002-06-27  Angus Leeming  <leeming@lyx.org>
8319
8320         * Makefile.am: add lyxlayout_ptr_fwd.h.
8321
8322 2002-06-26  André Pönitz <poenitz@gmx.net>
8323
8324         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8325
8326 2002-06-25  Angus Leeming  <leeming@lyx.org>
8327
8328         * lyxfunc.C (dispatch): Comment out the call to
8329         grfx::GCache::changeDisplay. The method no longer exists now that the
8330         pixmap generation part of the graphics loader has been moved into
8331         InsetGraphics.
8332
8333 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8334
8335         * text2.C: layout as layout
8336
8337         * text.C: layout as layout
8338
8339         * tabular.C (OldFormatRead): layout as layout
8340
8341         * paragraph_pimpl.C (TeXDeeper): layout as layout
8342         (realizeFont): layout as layout
8343
8344         * paragraph.C (writeFile): layout as layout
8345         (validate): layout as layout
8346         (getFont): layout as layout
8347         (getLabelFont): layout as layout
8348         (getLayoutFont): layout as layout
8349         (breakParagraph): layout as layout
8350         (stripLeadingSpaces): layout as layout
8351         (getEndLabel): layout as layout
8352         (getMaxDepthAfter): layout as layout
8353         (applyLayout): layout as layout
8354         (TeXOnePar): layout as layout
8355         (simpleTeXOnePar): layout as layout
8356         (TeXEnvironment): layout as layout
8357         (layout): layout as layout
8358         (layout): layout as layout
8359
8360         * lyxtextclass.C (compare_name): new functor to work with
8361         shared_ptr, layout as layout
8362         (Read): layout as layout
8363         (hasLayout): layout as layout
8364         (operator): layout as layout
8365         (delete_layout): layout as layout
8366         (defaultLayout): layout as layout
8367
8368         * lyxlayout_ptr_fwd.h: new file
8369
8370         * lyxlayout.C (Read): layout as layout
8371
8372         * lyx_cb.C (MenuInsertLabel): layout as layout
8373
8374         * bufferlist.C (newFile): layout as layout
8375
8376         * buffer.C (readLyXformat2): layout as layout
8377         (parseSingleLyXformat2Token): layout as layout
8378         (insertStringAsLines): layout as layout
8379         (asciiParagraph): layout as layout
8380         (latexParagraphs): layout as layout
8381         (makeLinuxDocFile): layout as layout
8382         (simpleLinuxDocOnePar): layout as layout
8383         (makeDocBookFile): layout as layout
8384         (simpleDocBookOnePar): layout as layout
8385         (getLists): layout as layout
8386
8387         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8388
8389         * CutAndPaste.C (cutSelection): layout as layout
8390         (pasteSelection): layout as layout
8391         (SwitchLayoutsBetweenClasses): layout as layout
8392
8393         * BufferView_pimpl.C (Dispatch): layout as layout
8394         (smartQuote): layout as layout
8395
8396         * BufferView2.C (unlockInset): layout as layout
8397
8398 2002-06-24  André Pönitz <poenitz@gmx.net>
8399
8400         * lyxfunc.C: fix #487
8401
8402 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * lyxrc.h:
8405         * lyxrc.C:
8406         * lyxfunc.C: remove display_shortcuts, show_banner
8407
8408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8409
8410         * Buffer_pimpl.C: oops, update on resize
8411
8412 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8413
8414         * buffer.C:
8415         * converter.C:
8416         * exporter.C:
8417         * lyxfunc.C:
8418         * BufferView.h:
8419         * BufferView.C: use repaint()
8420
8421         * BufferView_pimpl.h:
8422         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8423           as it's a clearer description. Remove superfluous
8424           redraws.
8425
8426 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * text.C: fix bug 488. Not ideal, but getting
8429           getWord() to work properly for the insets that
8430           matter is more difficult ...
8431
8432 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * BufferView_pimpl.C:
8435         * LyXAction.C:
8436         * commandtags.h:
8437         * lyxfunc.C: remove the six million index lyxfuncs to just
8438           one, and DTRT (bug 458)
8439
8440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8441
8442         * BufferView.h:
8443         * BufferView.C:
8444         * BufferView_pimpl.h:
8445         * BufferView_pimpl.C: clean up resize() stuff,
8446           and unnecessary updateScreen()s
8447
8448 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * BufferView.h:
8451         * BufferView.C:
8452         * BufferView_pimpl.h:
8453         * BufferView_pimpl.C:
8454         * lyxfind.h:
8455         * lyxfind.C:
8456         * minibuffer.C: remove focus management of workarea,
8457           not needed. Use screen's greyOut()
8458
8459 2002-06-17  Herbert Voss  <voss@lyx.org>
8460
8461         * converter.C: (convert) do not post a message, when converting
8462         fails, let the calling function decide what to do in this case
8463
8464 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * lyxfunc.C: tidy up a little
8467
8468 2002-06-16    <alstrup@diku.dk>
8469
8470         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8471         Got rid of FORMS_H_LOCATION include. Now we are
8472         GUII.
8473
8474 2002-06-15  LyX Development team  <lyx@rilke>
8475
8476         * buffer.[Ch] (sgmlOpenTag):
8477         (sgmlCloseTag): Added support for avoiding pernicious mixed
8478         content. Return number of lines written.
8479
8480         (makeLinuxDocFile):
8481         (makeDocBookFile): Fixed calls to sgml*Tag.
8482         Simple white space clean.
8483
8484         (simpleDocBookOnePar): Simple white space clean.
8485
8486         * tabular.[Ch] (docBook): Renamed to docbook and got another
8487         argument to related with the pernicious mixed content.
8488
8489         (docbookRow): Fixed calls for docbook inset method.
8490
8491 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8492
8493         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8494         so it's X11 independent.
8495
8496         * kb*.[Ch]: ditto.
8497
8498         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8499
8500 2002-06-15  Lyx Development team  <lyx@electronia>
8501
8502         * intl.h: Renamed getTrans to getTransManager.
8503
8504 2002-06-14  Angus Leeming  <leeming@lyx.org>
8505
8506         * Makefile.am: nuke forgotten stl_string_fwd.h.
8507
8508 2002-06-12  Angus Leeming  <leeming@lyx.org>
8509
8510         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8511
8512 2002-06-13  Angus Leeming  <leeming@lyx.org>
8513
8514         * LaTeX.C:
8515         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8516
8517 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8518
8519         * kbmap.C (getiso): add support for cyrillic and greek
8520
8521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * BufferView.h:
8524         * BufferView.C:
8525         * BufferView_pimpl.h:
8526         * BufferView_pimpl.C: move bogus scrolling logic
8527           to xforms
8528
8529 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8530
8531         * lyxfunc.C:
8532         * BufferView_pimpl.C: view->resize() change
8533
8534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * BufferView_pimpl.C: topCursorVisible
8537           prototype change
8538
8539 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8540
8541         * Makefile.am:
8542         * lyx_gui.h:
8543         * lyx_gui.C: move to frontends/
8544
8545         * main.C:
8546         * lyx_main.h:
8547         * lyx_main.C: changes from above
8548
8549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * intl.C:
8552         * intl.h:
8553         * kbmap.C:
8554         * kbsequence.C:
8555         * lyx_cb.C:
8556         * lyx_main.C: minor tidy
8557
8558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * BufferView_pimpl.h:
8561         * BufferView_pimpl.C:
8562         * BufferView.h:
8563         * BufferView.C: make painter() const,
8564           remove dead code
8565
8566         * BufferView2.C: use screen() accessor
8567
8568         * lyx_main.h:
8569         * lyx_main.C: some minor cleanup
8570
8571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * BufferView_pimpl.h:
8574         * BufferView_pimpl.C: remove enter/leaveView,
8575           use workHeight()
8576
8577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * BufferView.h:
8580         * BufferView.C:
8581         * BufferView2.C:
8582         * BufferView_pimpl.h:
8583         * BufferView_pimpl.C: only construct screen once,
8584           rename
8585
8586         * lyxrc.C: remove pointless comment
8587
8588 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * BufferView.h:
8591         * BufferView.C: remove active() and belowMouse()
8592
8593         * BufferView_pimpl.h:
8594         * BufferView_pimpl.C: use workarea() not workarea_,
8595           and make it use a scoped_ptr instead
8596
8597 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8598
8599         * lyx_gui.C: add debug message on BadWindow
8600
8601 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8602
8603         * sp_spell.C: fdopen is not part of the C++ standard.
8604
8605         * paragraph.C (InsetIterator): use >= instead of ==
8606
8607 2002-06-07  Angus Leeming  <leeming@lyx.org>
8608
8609         Fixes needed to compile with Compaq cxx 6.5.
8610         * BufferView_pimpl.C:
8611         * DepTable.C:
8612         * buffer.C:
8613         * converter.C:
8614         * encoding.C:
8615         * lyx_gui.C:
8616         * lyx_main.C:
8617         * lyxtextclasslist.C:
8618         * minibuffer.C:
8619         * sp_spell.C:
8620         * tabular_funcs.C:
8621         * vc-backend.C:
8622         all c-library variables have been moved into namespace std. Wrap
8623         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8624
8625         * lyxlength.C:
8626         * tabular-old.C:
8627         * tabular.C:
8628         Add a using std::abs declaration.
8629
8630         * kbmap.h (modifier_pair):
8631         * paragraph.h (InsetTable, InsetList):
8632         * lyxfont.h (FontBits):
8633         type definition made public.
8634
8635         * bufferlist.C (emergencyWriteAll): the compiler complains that
8636         there is more than one possible lyx::class_fun template to choose from.
8637         I re-named the void specialisation as lyx::void_class_fun.
8638
8639         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8640
8641         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8642         the compiler is is unable to find tostr in write_attribute.
8643
8644 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8645
8646         * buffer.C (sgmlError): hide #warning
8647
8648 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * xtl/*: get rid of xtl, which is not in use anyway
8651
8652         * LyXAction.C (init):
8653         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8654         were unimplemented xtl experimentation
8655
8656 2002-06-04  André Pönitz <poenitz@gmx.net>
8657
8658         * lyxfunc.C: disable array operation on simple formulae
8659
8660 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * converter.C: constify a bit
8663
8664 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * lyx_gui.C: check xforms version correctly
8667
8668 2002-04-30  Herbert Voss  <voss@lyx.org>
8669
8670         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8671         "keep" option
8672
8673 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8674
8675         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8676           attempt to register it with a VCS)
8677
8678 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8679
8680         * lyx_main.C (init): honor variables LYX_DIR_13x and
8681         LYX_USERDIR_13x
8682
8683 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * buffer.h:
8686         * buffer.C:
8687         * lyx_main.C: fix a crash on bad command line,
8688           and give a useful exit status on error
8689
8690         * lyxfunc.C (doImport): allow -i lyx to work
8691
8692 2002-03-30  André Pönitz <poenitz@gmx.net>
8693
8694         * lyxfunc.C: mathed font changes
8695
8696 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * LaTeX.C:
8699         * importer.h:
8700         * importer.C:
8701         * lyx_sty.h:
8702         * lyx_sty.C:
8703         * lyxlex.C:
8704         * lyxrow.h:
8705         * lyxtext.h:
8706         * paragraph.h:
8707         * paragraph.C:
8708         * texrow.h:
8709         * texrow.C:
8710         * text.C:
8711         * trans_mgr.h: srcdocs, and some minor cleanups
8712
8713 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8714
8715         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8716         call getFont all the time)
8717
8718 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8719
8720         * switch from SigC signals to boost::signals
8721
8722 2002-05-29  André Pönitz <poenitz@gmx.net>
8723
8724         * paragraph_pimpl.C (getChar): don't call size() too often...
8725
8726 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * paragraph_pimpl.C (insertChar): do not try to update tables when
8729         appending (pos == size())
8730
8731         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8732         in order to reduce drastically the number of comparisons needed to
8733         parse a large document
8734
8735 2002-05-29  André Pönitz <poenitz@gmx.net>
8736
8737         * text.C:
8738         * text2.C:
8739         * lyxtextclass.C:
8740         * sp_pspell.h:
8741         * textclasslist.[Ch]:
8742         * sp_ispell.h: whitespace change
8743
8744 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8745
8746         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8747         lyxaction directly now.
8748
8749 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * trans.C:
8752         * lyxfont.C:
8753         * lyxvc.C: remove unused headers
8754
8755 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8756
8757         * Makefile.am:
8758         * buffer.h:
8759         * undostack.h:
8760         * undostack.C:
8761         * undo_funcs.h:
8762         * undo_funcs.C: some cleanups. Use shared_ptr
8763           and a template for the undo stacks.
8764
8765 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView_pimpl.h:
8768         * BufferView_pimpl.C:
8769         * kbmap.h:
8770         * kbmap.C:
8771         * kbsequence.h:
8772         * kbsequence.C:
8773         * lyxfunc.h:
8774         * lyxfunc.C:
8775         * text2.C: use key_state/mouse_state
8776
8777 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8778
8779         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8780         and LSubstring
8781
8782         * chset.C: change include order
8783         (loadFile): use boost regex and get rid of LRegex and LSubstring
8784
8785         * Makefile.am (BOOST_LIBS): new variable
8786         (lyx_LDADD): use it
8787
8788         * LaTeX.C: change include order.
8789         (scanAuxFile): use boost regex and get rid of LRegex and
8790         LSubstring
8791         (deplog): ditto
8792
8793 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * ColorHandler.h:
8796         * ColorHandler.C:
8797         * FontInfo.h:
8798         * FontInfo.C: moved to frontends/xforms/
8799
8800         * FontLoader.h:
8801         * FontLoader.C: moved into frontends for GUIIzation
8802
8803         * Makefile.am:
8804         * lyx_gui.C:
8805         * lyxfont.C:
8806         * lyxfunc.C: changes from above
8807
8808 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8809
8810         * LColor.C: remove spurious X include
8811
8812         * BufferView_pimpl.C:
8813         * Makefile.am:
8814         * font.h:
8815         * font.C:
8816         * text.C:
8817         * text2.C: move font metrics to frontends/
8818
8819 2002-05-24  Juergen Vigna  <jug@sad.it>
8820
8821         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8822         setting the undo_cursor.
8823
8824         * ParagraphParameters.h: include local includes first.
8825
8826 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * BufferView_pimpl.C:
8829         * BufferView_pimpl.h:
8830         * Makefile.am:
8831         * WorkArea.h:
8832         * WorkArea.C:
8833         * screen.C: move WorkArea into frontends/
8834
8835         * lyxscreen.h:
8836         * screen.C:
8837         * text.C:
8838         * BufferView.C:
8839         * BufferView2.C: move LyXScreen into frontends/
8840
8841         * lyxlookup.h:
8842         * lyxlookup.C:
8843         * lyx_gui.C: move lyxlookup into frontends/xforms/
8844
8845 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * BufferView2.C:
8848         * BufferView_pimpl.C:
8849         * FontLoader.C:
8850         * LyXView.h:
8851         * LyXView.C:
8852         * Makefile.am:
8853         * WorkArea.C:
8854         * XFormsView.h:
8855         * XFormsView.C:
8856         * buffer.C:
8857         * bufferlist.C:
8858         * bufferview_funcs.C:
8859         * converter.C:
8860         * importer.C:
8861         * lyx_cb.C:
8862         * lyx_gui.C:
8863         * lyx_main.C:
8864         * lyx_find.C:
8865         * lyxfunc.C:
8866         * lyxvc.C:
8867         * minibuffer.C:
8868         * text.C:
8869         * text2.C:
8870         * trans.C:
8871         * vc-backend.C: move LyX/XFormsView into frontends/
8872
8873 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8874
8875         * Makefile.am:
8876         * PainterBase.C:
8877         * PainterBase.h:
8878         * Painter.C:
8879         * Painter.h:
8880         * WorkArea.C:
8881         * WorkArea.h:
8882         * screen.C:
8883         * tabular.C:
8884         * text.C:
8885         * text2.C: move Painter to frontends/
8886
8887 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8888
8889         * buffer.C: comment out some some code that depend upon lyx_format
8890         < 220
8891
8892         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8893         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8894
8895         * buffer.h (NO_COMPABILITY): turn off compability
8896
8897         * ColorHandler.C: include scoped_array.hpp
8898
8899         * font.C: Use more specific smart_ptr header.
8900         * Painter.C: ditto
8901         * gettext.C: ditto
8902         * ShareContainer.h: ditto
8903         * lyx_main.h: ditto
8904         * kbmap.h: ditto
8905         * FontInfo.h: ditto
8906         * BufferView_pimpl.h: ditto
8907         * ColorHandler.h: ditto
8908
8909         * kbmap.C (defkey): change call to shared_ptr::reset
8910
8911 2002-05-21  Juergen Vigna  <jug@sad.it>
8912
8913         * buffer.C (insertErtContents): fix to insert ert asis if it is
8914         non empty. Skip it completely if it contains only whitespaces.
8915
8916 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8917
8918         * BufferView_pimpl.C:
8919         * BufferView2.C: clear selection on paste (bug 393)
8920
8921 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8922
8923         * DepTable.C: include ctime
8924
8925 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8926
8927         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8928
8929 2002-05-14  Juergen Vigna  <jug@sad.it>
8930
8931         * text.C (breakParagraph): fixed function to honor the keepempty
8932         layout in the right maner and also to permit the right breaking
8933         algorithm on empty or non empyt keepempty paragraphs.
8934
8935         * paragraph.C (breakParagraph): we have to check also if the par
8936         is really empty (!size()) for isempty otherwise we do the wrong
8937         paragraph break.
8938
8939 2002-05-10  Juergen Vigna  <jug@sad.it>
8940
8941         * buffer.[Ch] : The following are only changes to the ert
8942         compatibility read reading old LaTeX layout and font stuff and
8943         convert it to ERTInsets.
8944
8945         * buffer.h: added isErtInset().
8946
8947         * buffer.C (struct ErtComp): add a fromlayout bool to check
8948         if we're inside a LaTeX layout.
8949         (isErtInset): new helper function.
8950         (insertErtContents): look for other ert insets before this one
8951         and insert the contents there, so that we don't have subsequent
8952         ERT insets with nothing between them. This way we create only one
8953         inset with multiple paragraphs. Also check if we don't insert only
8954         spaces ' ' as they are ignored anyway afterwards in the .tex file
8955         so if we have only spaces we will ignore this latex part in the
8956         new file.
8957         (parseSingleLyXformat2Token \\layout): better compatibility when
8958         reading layout-latex stuff.
8959         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8960         language tag.
8961         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8962         stuff after reading the inset only get the information back from
8963         the stack.
8964
8965 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8968
8969         * LaTeXFeatures.C (getBabelOptions): New method.
8970
8971 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8972
8973         * BufferView_pimpl.C (Dispatch): work around missing argument for
8974         'layout'
8975
8976 2002-05-08  Juergen Vigna  <jug@sad.it>
8977
8978         * text.C (leftMargin): handle paragraph leftindent.
8979
8980         * paragraph.C (writeFile): write the new \\leftindent tag.
8981         (validate): handle leftindent code.
8982         (TeXEnvironment): handle paragraphleftindent code again.
8983
8984         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8985
8986         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8987         for paragrap_extra indent code and new token \\leftindent.
8988         (latexParagraphs): handle the leftindent as environment.
8989
8990         * ParameterStruct.h: added leftindent support.
8991
8992         * ParagraphParameters.C (leftIndent): added support functions for
8993         the paragraph left indent.
8994
8995         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8996         more appropriate.
8997
8998 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8999
9000         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9001         inside insetERT.
9002
9003         * text.C (computeBidiTables): No bidi in insetERT.
9004
9005         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9006         in RTL documents.
9007
9008 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9009
9010         * version.C.in: pre 5
9011
9012 2002-05-02  José Matos  <jamatos@fep.up.pt>
9013         * buffer.C (makeDocBookFile): white space changes, add newline to
9014         command styles.
9015         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9016
9017         * tabular.C (docBook): fix typo.
9018
9019 2002-05-03  Juergen Vigna  <jug@sad.it>
9020
9021         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9022         change in LyXText as we can not be sure it was not freed.
9023         (drawOneRow): remove unused code.
9024
9025         * text.C (drawInset): redo the calculation of the need_break_row as
9026         it could have a row which was already freed.
9027         (draw): look at the return value of drawInset and return false if
9028         it also returned false.
9029         (paintRowText): look at the return value of draw and return false if
9030         it also returned false.
9031
9032         * lyxtext.h: added bool return type to drawInset() and draw() so that
9033         if we have a change in the row so that the rowbreak has to be redone
9034         we abort drawing as it will be called again.
9035
9036 2002-05-02  Juergen Vigna  <jug@sad.it>
9037
9038         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9039         a change in the maintext also if we're inside an inset.
9040         (Dispatch): set the cursor again after a break line and after the
9041         screen has been updated as it could be we're in a different row.
9042
9043         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9044         to set the cursor behind the pargraph with > size().
9045         (setCursor): check also for the same paragraph when checking where
9046         to put the cursor if we have a NFR inset.
9047
9048         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9049         parts of layout read further up as it still was in the wrong
9050         position.
9051
9052 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9053
9054         * screen.C (drawFromTo): change sine fullRebreak always return
9055         true.
9056
9057         * buffer.C (parseSingleLyXformat2Token): reindent some
9058
9059         * BufferView_pimpl.C (update): change since fullRebreak always
9060         return true.
9061         (Dispatch): git rid of the last hardcoded "Standard"s.
9062
9063 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9064
9065         * text2.[Ch] (fullRebreak): make it return void now that we always
9066         returned true.
9067
9068 2002-04-30  Juergen Vigna  <jug@sad.it>
9069
9070         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9071         ert compatibility check for "latex" layout.
9072
9073 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9074
9075         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9076         minipages: use col% instead of p%, and also use the current font.
9077         (makeLaTeXFile): Fix use babel condition.
9078         (parseSingleLyXformat2Token): Correct font when reading old floats.
9079
9080 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9081
9082         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9083         inserting list of floats.
9084
9085 2002-04-25  Herbert Voss  <voss@lyx.org>
9086
9087         * MenuBackend.C (expand): don't add the graphics extensions to the
9088         export menu
9089
9090 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9093         non-existing layout, do not complain if it was the default layout
9094         of the original class (bug #342)
9095
9096 2002-04-24  Juergen Vigna  <jug@sad.it>
9097
9098         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9099         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9100
9101 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9102
9103         * buffer.C (getBibkeyList): If using \bibliography, return the
9104         option field with the reference itself. Enables us to provide natbib
9105         support when using \bibliography.
9106
9107 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9108
9109         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9110
9111         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9112         natbib is provided by the LaTeX class.
9113
9114 2002-04-23  Juergen Vigna  <jug@sad.it>
9115
9116         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9117         Wakeup functions.
9118
9119         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9120
9121 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9122
9123         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9124
9125         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9126         ensuremath around textordmasculine, textordfeminine and
9127         textdegree.
9128
9129 2002-04-19  Juergen Vigna  <jug@sad.it>
9130
9131         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9132         reinitializing the buffer otherwise row-dimensions may be wrong.
9133         (update): reset also the selection cursors if they do exits otherwise
9134         their x/y positions may be wrong.
9135
9136         * text2.C (cursorDown): don't enter the inset if we came from a row
9137         above and are one row over the inset.
9138
9139         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9140         really leaving an inset.
9141
9142 2002-04-18  Juergen Vigna  <jug@sad.it>
9143
9144         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9145         of the selected paragraph does not have the selected layout also if
9146         the last one had!
9147
9148         * text2.C (setLayout): fixed bug which did not change last selected
9149         paragraph.
9150
9151         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9152         changed the read and substituted \\end_float with \\end_inset!
9153
9154         * BufferView_pimpl.C (cursorPrevious):
9155         (cursorNext): fixed to make it work with rows heigher than the work
9156         area without moving the cursor only the draw of the row.
9157         (workAreaMotionNotify): fix jumping over high rows.
9158
9159 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9160
9161         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9162         Ressler.
9163
9164 2002-04-16  Juergen Vigna  <jug@sad.it>
9165
9166         * text2.C (setCursor): set also the irow().
9167         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9168         (cursorUp):
9169         (cursorDown): support for locking an inset if the x_fix value goes
9170         inside it. That way I can transverse insets too with cursor up/down.
9171
9172         * lyxrow.h: added irow helper function same as other (i) functions.
9173
9174         * BufferView_pimpl.C (cursorPrevious):
9175         (cursorNext): fixed for insets!
9176
9177 2002-04-15  Juergen Vigna  <jug@sad.it>
9178
9179         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9180         position otherwise it is wrong in some cases.
9181
9182         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9183         inside the inset before the call.
9184
9185 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * buffer.[Ch] (getBibkeyList): make it const.
9188
9189 2002-04-12  Juergen Vigna  <jug@sad.it>
9190
9191         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9192
9193         * text2.C (getCursorX): new helper function
9194         (setCursor): compute also ix_
9195         (setCursorFromCoordinates): set also ix.
9196
9197         * lyxcursor.h: added ix_ and helper functions.
9198
9199         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9200
9201         * buffer.C (insertStringAsLines): dont break paragraph if the this
9202         paragraph is inside an inset which does not permit it!
9203
9204         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9205         also with no chars on this paragraph.
9206         (paintRowText): only paint stuff if it's inside the workarea!
9207
9208         * paragraph.C (breakParagraph): honor keepempty flag and break the
9209         paragraph always below not above.
9210
9211         * BufferView2.C (unlockInset): update the paragraph layout on inset
9212         unlock as we changed paragraph in such a case.
9213
9214         * lyxfind.C (LyXFind): clear the former selection if not found!
9215
9216         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9217         again called in insertChar().
9218
9219         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9220         an inset which uses the whole row!
9221         (rightMargin): ditto.
9222         (insertChar): force a rebreak if we inserted an inset!
9223
9224 2002-03-28  Herbert Voss  <voss@lyx.org>
9225
9226         * lyxlength.[Ch]: add inBP() to get the right PS-point
9227         units (BigPoint). With inPixels we have rounding errors
9228
9229 2002-04-11  Juergen Vigna  <jug@sad.it>
9230
9231         * text2.C (setCursorFromCoordinates): set iy to the right value.
9232         (setCursor): add check if row->previous exists!
9233
9234         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9235         an old float_type as this was the case in the old code!
9236
9237         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9238
9239         * BufferView2.C (showLockedInsetCursor): use iy
9240         (fitLockedInsetCursor): ditto
9241
9242         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9243         locked insets as there we have the right value now.
9244
9245         * lyxcursor.C: added iy_ variable and iy functions to set to the
9246         baseline of cursor-y of the locked inset.
9247
9248         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9249         (setCursor): fixed for insets which need a full row.
9250
9251         * text.C (rowLastPrintable): don't ignore the last space when before
9252         an inset which needs a full row.
9253         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9254         as last character of a row when before a inset which needs a full row.
9255
9256 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * version.C.in: update date
9259
9260         * text2.C (fullRebreak): try to always return true and see what
9261         happens...
9262
9263 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * MenuBackend.C (expand): use Floating::listName
9266
9267         * FloatList.C (FloatList): add listName argument to the built-in
9268         floats
9269
9270         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9271         text associated with the float.
9272
9273 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9276
9277 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * ShareContainer.h: add a couple of missing typenames.
9280
9281 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9282
9283         * lyxrc.C (getDescription): use _() correctly rather than N_().
9284
9285 2002-03-28  Herbert Voss  <voss@lyx.org>
9286
9287         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9288         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9289
9290 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9291
9292         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9293         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9294
9295 2002-03-29  Juergen Vigna  <jug@sad.it>
9296
9297         * lyxfunc.C (dispatch): add a missing fitCursor call.
9298
9299         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9300         it was scrolled by a cursor move, so return the bool status.
9301
9302         * BufferView.C (fitCursor): return the bool flag also to the outside
9303         world as this is needed.
9304
9305         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9306
9307         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9308         call the edit() as it is not needed (and wrong) IMO.
9309         (workAreaButtonPress): set the screen_first variable before evt.
9310         unlock the inset as this may change screen_first and then we have
9311         a wrong y position for the click!
9312
9313 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * MenuBackend.C (expand): another translation that I missed
9316
9317 2002-03-28  Juergen Vigna  <jug@sad.it>
9318
9319         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9320
9321         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9322
9323 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9324
9325         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9326
9327         * MenuBackend.C (expand): fix export/view/update when there is no
9328         document open.
9329
9330 2002-03-27  Herbert Voss  <voss@lyx.org>
9331
9332         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9333         and text%
9334
9335 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * bufferview_funcs.C (currentState): only show paragraph number
9338         for is DEVEL_VERSION is set.
9339
9340         * lyxfunc.C (dispatch): put warning in INFO channel
9341
9342         * MenuBackend.C (expand): translate the name of floats
9343
9344         * FloatList.C (FloatList): mark the float names for translation
9345
9346         * converter.C (convert): use LibScriptSearch
9347
9348 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * MenuBackend.C (defaults): fix default menu (we might as well get
9351         rid of it...)
9352
9353 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9356         directory.
9357
9358 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9359
9360         * lyxvc.C: reorder includes.
9361
9362 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9365           properly
9366
9367 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * CutAndPaste.C: change layouts earlier on paste
9370           to avoid crashing when calling getFont()
9371
9372 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9373
9374         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9375         irritating #error.
9376
9377 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9378
9379         * WorkArea.C: remove 'Pending' debug message.
9380
9381         * most files: ws cleanup
9382
9383         * buffer.[Ch]: ws changes
9384
9385         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9386
9387 2002-03-21  Juergen Vigna  <jug@sad.it>
9388
9389         * tabular.C (SetMultiColumn): collapse also the contents of the
9390         cells and set the last border right. Added a Buffer const * param.
9391
9392 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9395         linking or not.
9396
9397 2002-03-19  Juergen Vigna  <jug@sad.it>
9398
9399         * text2.C (clearSelection): reset also xsel_cache.
9400
9401         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9402         where it needs to be called (John tells us to do so too :)
9403         (selectionLost): reset sel_cache.
9404
9405         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9406
9407 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * text2.C (setCursorIntern): put debuging code in INSETS channel
9410
9411 2002-03-19  André Pönitz <poenitz@gmx.net>
9412
9413         * lyxfunc.C: tiny whitespace change
9414
9415 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9416
9417         * ToolbarDefaults.C (init):
9418         * LyXAction.C (init):
9419         * commandtags.h:
9420         * BufferView_pimpl.C (Dispatch):
9421         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9422
9423 2002-03-19  Allan Rae  <rae@lyx.org>
9424
9425         * exporter.C (Export): removeAutoInsets before doing anything else.
9426         While I've just introduced a dependency on BufferView this really is
9427         the best place to clean the buffer otherwise you need to cleanup in
9428         a dozen places before calling export or cleanup in a dozen functions
9429         that export calls.
9430
9431         * converter.C (runLaTeX):
9432         (scanLog): Better handling of removeAutoInsets and screen updates.
9433
9434         * lyxfunc.C (dispatch): small whitespace changes
9435
9436 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9437
9438         * WorkArea.C (C_WorkAreaEvent): return a value.
9439         (event_cb): return 1 if we handled the event, 0 otherwise.
9440
9441         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9442
9443 2002-03-18  Juergen Vigna  <jug@sad.it>
9444
9445         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9446         (GetAdditionalWidth): ditto.
9447         (RightLine): ditto.
9448         (LeftLine): ditto.
9449
9450         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9451         inset if we're there actually (probably not used right now but this
9452         is the direction to go for unifying code).
9453         (paste): disable code to clear the selection.
9454
9455         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9456         inside an InsetText and move the check further up as it is in the
9457         wrong place.
9458
9459         * text2.C (pasteSelection): set a selection over the pasted text.
9460
9461 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9462
9463         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9464         and libgraphics to build on Cygwin.
9465
9466 2002-03-15  Juergen Vigna  <jug@sad.it>
9467
9468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9469         inserting an Inset into the paragraph. I know this is not the best
9470         fix but we already use current_view in CutAndPaste so we will remove
9471         all of it's using at the same time.
9472
9473         * buffer.C (sgmlError): deactivated function till it is rewritten in
9474         the right mode, now it can create problems.
9475
9476         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9477         before accessing it.
9478
9479 2002-03-14  Juergen Vigna  <jug@sad.it>
9480
9481         * undo_funcs.C (textHandleUndo): do the right thing when updating
9482         the inset after the undo/redo.
9483
9484         * text2.C (setCursor): just some testcode for #44 not ready yet.
9485
9486         * undo_funcs.C (textHandleUndo): set the next() and previous()
9487         pointers of the paragraph to 0 before deleting otherwise we have
9488         problems with the Paragraph::[destructor].
9489
9490         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9491         on a paragraph insertion.
9492
9493 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9494
9495         * buffer.C (asciiParagraph): use += operator for char append to
9496         string.
9497
9498         * paragraph.C (getFontSettings): compare >= not just >
9499         (highestFontInRange): ditto
9500         (setFont): ditto
9501
9502 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9503
9504         * paragraph.C: change several algorithm to be more appripriate for
9505         the problem domain. This is lookip in FontList and in the InsetList.
9506
9507 2002-03-13  André Pönitz <poenitz@gmx.net>
9508
9509         * commandtags.h:
9510         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9511
9512 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * commandtags.h:
9515         * LyXAction.C:
9516         * lyxfunc.C:
9517         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9518
9519 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9520
9521         * Painter.C (display): anon helper function, adjust code for this
9522         change.
9523         (pixmap): remove function.
9524
9525         * Painter.h: remove private display variable.
9526
9527         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9528
9529 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9530
9531         * WorkArea.[Ch]: remove figinset_canvas cruft.
9532
9533 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9534
9535         * lyxtextclass.C (operator): add one item cache optimization.
9536
9537         * bufferlist.h: doxy changes
9538
9539         * bufferlist.C: ws changes
9540
9541         * DepTable.[Ch] (ext_exist): place const in the right spot.
9542
9543         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9544         call resizeInsets.
9545         (workAreaExpose): call resizeInsets when the with BufferView changes.
9546         (Dispatch): adjust for protectedBlank removal
9547         (specialChar): call updateInset if the insert went ok.
9548
9549         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9550         specialChar instead.
9551
9552         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9553
9554         * BufferView.h: doxy change
9555
9556         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9557
9558         * lyxtextclass.C (operator[]): remove non-const version
9559         (defaultLayout): remove non-const version
9560
9561 2002-03-12  Juergen Vigna  <jug@sad.it>
9562
9563         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9564         did resize the LyXText too.
9565
9566         * buffer.C (readLyXformat2): set layout information on newly allocated
9567         paragraphs.
9568
9569         * tabular.C (OldFormatRead): set layout information on the paragraph.
9570
9571 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9572
9573         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9574
9575 2002-03-11  Juergen Vigna  <jug@sad.it>
9576
9577         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9578         plainly wrong.
9579         (resizeCurrentBuffer): force also the insets to resize themselfes.
9580         (moveCursorUpdate): fixed up for InsetText.
9581
9582 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9583
9584         * commandtags.h:
9585         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9586         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9587         value of Dialogs::tooltipsEnabled().
9588         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9589
9590 2002-03-08  Juergen Vigna  <jug@sad.it>
9591
9592         * BufferView_pimpl.C (updateInset): update inset inside inset also
9593         if it isn't inside theLockingInset().
9594
9595 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * buffer.C (asciiParagraph): redo some of the word and line length
9598         handling.
9599         (getLists): look for Caption instead of caption.
9600
9601 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9602
9603         * buffer.C (Buffer): initialize niceFile to true
9604         (makeLaTeXFile):
9605         (makeLinuxDocFile):
9606         (makeDocBookFile): make sure niceFile is true on exit
9607
9608 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9611
9612 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9613
9614         * LyXSendto.C: remove.
9615         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9616         * lyx_gui.C: remove now-redundant comment.
9617         * ColorHandler.h: remove forward declaration of class WorkArea.
9618         * lyxfunc.C: remove #include "WorkArea.h".
9619
9620 2002-03-07  Juergen Vigna  <jug@sad.it>
9621
9622         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9623         got moved away with the DEPM and also set the inset_owner always
9624         right which before could have been omitted.
9625
9626 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9629         wanted layout is not found.
9630
9631 2002-03-07  Juergen Vigna  <jug@sad.it>
9632
9633         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9634
9635 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9636
9637         * paragraph.C (breakParagraph): use default layout not layout of
9638         prev paragraph.
9639         (Paragraph): clear ParagraphParameters.
9640
9641 2002-03-06  Juergen Vigna  <jug@sad.it>
9642
9643         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9644         otherwise it would not be a valid lenght. Fixed a special case in
9645         the minipage compatibility read where we end the document with a
9646         minipage.
9647
9648         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9649         was set as it could be 0 for InsetTexts first entry.
9650
9651 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9652
9653         * paragraph.C (writeFile): if layout is empty write out
9654         defaultLayoutName().
9655
9656         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9657         file without named layout we set layout to defaultLayoutName().
9658
9659 2002-03-06  Juergen Vigna  <jug@sad.it>
9660
9661         * CutAndPaste.C (copySelection): set layout for new paragraph.
9662
9663         * text.C (prepareToPrint): leave ERT inset left aligned
9664         (leftMargin): don't indent paragraphs inside ERT insets
9665
9666 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * paragraph.C (breakParagraph): dont call clear do the work manually
9669
9670         * paragraph.[Ch] (clear): remove function
9671
9672 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9673
9674         * paragraph.C (Paragraph): dont call clear, the work has already
9675         been done.
9676
9677         * lyxtextclass.C (operator): assert if n is empty
9678
9679         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9680         work manually instead.
9681
9682 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * BufferView_pimpl.C: protect selectionLost against text == 0
9685
9686 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9687
9688         * text.C (breakParagraph): fix a setting layout to '0' problem.
9689
9690 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9691
9692         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9693         final location of file, for the included files, and graphics.
9694
9695 2002-03-05  Juergen Vigna  <jug@sad.it>
9696
9697         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9698
9699 2002-03-04  Juergen Vigna  <jug@sad.it>
9700
9701         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9702
9703         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9704         last column of multicolumn cells.
9705         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9706
9707 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9708
9709         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9710         file if it doesn't go to a temporary file.
9711
9712         * buffer.C (sgmlOpenTag):
9713         (sgmlCloseTag):  remove extra newline insertion.
9714
9715 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9716
9717         * text.C (getRowNearY): comment out debug msg
9718
9719 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9720
9721         * text2.C: first -> first_y
9722
9723         * text.C (getRowNearY): add some attemts at a possible
9724         optimization, not working.
9725
9726         * tabular.[Ch]: add BufferParams to several function so that newly
9727         created paragraph can be initialized to he default layotu for the
9728         buffers textclass.
9729
9730         * tabular-old.C (ReadOld): add buf->params to call of Init
9731
9732         * screen.C: rename text->first to text->first_y
9733
9734         * paragraph.C (breakParagraph): always set layout in the broken
9735         paragraph
9736
9737         * lyxtextclass.C (Read): remove lowercase
9738         (hasLayout): ditto
9739         (operator): ditto
9740         (delete_layout): ditto
9741
9742         * lyxtext.h: rename first -> first_y
9743
9744         * lyxlayout.C (Read): remove lowercase
9745         (name): ditto
9746         (setName): ditto
9747         (obsoleted_by): ditto
9748
9749         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9750
9751         * buffer.C (insertErtContents): add params are to InsetERT
9752         (parseSingleLyXformat2Token): add code to check if a paragraphs
9753         layout really exist.
9754         (parseSingleLyXformat2Token): add params to several inset
9755         constructors
9756         (asciiParagraph): remove lowercase, do the layout comparisons with
9757         no_case
9758
9759         * BufferView_pimpl.C (cursorNext): first -> first_y
9760         (resizeCurrentBuffer): first -> first_y
9761         (updateScrollbar): first -> first_y
9762         (scrollCB): first -> first_y
9763         (workAreaMotionNotify): first -> first_y
9764         (workAreaButtonPress): first -> first_y
9765         (checkInsetHit): first -> first_y
9766         (cursorPrevious): first -> first_y
9767         (cursorNext): first -> first_y
9768         (Dispatch): add buffer_->params to severl inset contructors
9769
9770 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9771
9772         * lyxlayout.C (Read): remove some debug info that I forgot.
9773
9774         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9775         clean up the code slightly.
9776         (makeLinuxDocFile): ditto
9777         (makeDocBookFile): ditto
9778
9779         * text2.C: layout as string
9780
9781         * text.C: layout as string
9782
9783         * paragraph_pimpl.C: layout as string
9784
9785         * paragraph.[Ch]: layout as string
9786
9787         * lyxtextclasslist.[Ch]: layout as string
9788
9789         * lyxtextclass.[Ch]: layout as string
9790
9791         * lyxtext.h: layout as string
9792
9793         * lyxlayout.[Ch]: layout as string
9794
9795         * lyx_cb.C: layout as string
9796
9797         * bufferview_funcs.C: layout as string
9798
9799         * bufferparams.C: layout as string
9800
9801         * buffer.C: layout as string
9802
9803         * LyXView.[Ch]: layout as string
9804
9805         * LaTeXFeatures.[Ch]: layout as string
9806
9807         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9808
9809         * BufferView_pimpl.C: change current_layout to string, remove
9810         lyx::layout_type.
9811         (Dispatch):
9812         (smartQuote):
9813         (insertInset):
9814         (workAreaButtonRelease): layout as string
9815
9816         * BufferView2.C (unlockInset): adjust
9817
9818         * vspace.C (asLatexCommand): use an explict temp variable.
9819
9820 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * Makefile.am: use FRONTEND_*
9823
9824 2002-03-01  Juergen Vigna  <jug@sad.it>
9825
9826         * tabular.C (SetWidthOfMulticolCell): changed to something better
9827         I hope but still work in progress.
9828         (recalculateMulticolumnsOfColumn): renamed function from
9829         recalculateMulticolCells as it is more appropriate now.
9830         (SetWidthOfCell): calculate multicols better.
9831
9832 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9835
9836         * lyxfunc.C (processKeySym): print sequence also if it is
9837         `deleted' (complete)
9838
9839         * kbsequence.C (print): print sequence even if it is deleted
9840         (complete would be a better word, actually).
9841
9842         * lyxfunc.C (dispatch): print complete options after a prefix key
9843
9844         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9845
9846 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9847
9848         * text2.C (setCharFont): eliminate setCharFont code duplication.
9849
9850 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9853         LFUN_TABULAR_FEATURE (bug #177)
9854
9855 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9856
9857         * Makefile.am: remove figure.h
9858
9859 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9860
9861         * Bufferview_pimpl.C:
9862         * CutAndPasteC:
9863         * LaTeX.C:
9864         * LyXSendto.C:
9865         * buffer.C:
9866         * bufferlist.C:
9867         * converter.C:
9868         * language.C:
9869         * lyxfunc.C:
9870         * lyxvc.C:
9871         * paragraph.C:
9872         * text.C:
9873         * text2.C: remove #include "lyx_gui_misc.h".
9874
9875         * LaTeX.C: added #include <cstdio>
9876
9877 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9880         that the paragraph following this one can have.
9881
9882         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9883
9884         * vspace.C (asLatexCommand): fix bogus gcc warning
9885
9886         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9887
9888 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9889
9890         * text2.C (setLayout): get rid of redundant code
9891
9892 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9893
9894         * text2.C (incDepth): make sure depth cannot be increased beyond
9895         reasonable values.
9896
9897 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9898
9899         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9900         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9901
9902         * PainterBase.h (image):
9903         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9904         a LyXImage const *.
9905
9906 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * BufferView.C:
9909         * BufferView.h:
9910         * BufferView_pimpl.C:
9911         * BufferView_pimpl.h:
9912         * LaTeXFeatures.C:
9913         * LyXAction.C:
9914         * LyXView.C:
9915         * Makefile.am:
9916         * UpdateList.h:
9917         * UpdateList.C:
9918         * buffer.C:
9919         * figure.h:
9920         * figureForm.C:
9921         * figureForm.h:
9922         * figure_form.C:
9923         * figure_form.h:
9924         * lyx_cb.C:
9925         * lyx_gui.C:
9926         * lyx_gui_misc.C:
9927         * lyxfunc.C:
9928         * sp_base.h:
9929         * sp_ispell.h:
9930         * sp_pspell.h:
9931         * sp_spell.C: remove fig inset, and the crap house of
9932           cards that follows it
9933
9934 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * Makefile.am:
9937         * lyxserver.C:
9938         * os2_defines.h:
9939         * os2_errortable.h:
9940         * nt_defines.h: move .h into support/
9941
9942         * vms_defines.h: remove
9943
9944         * WorkArea.C: add space in debug output
9945
9946         * text2.C:
9947         * paragraph.C:
9948         * buffer.C: add WITH_WARNINGS
9949
9950         * vc-backend.h:
9951         * vc-backend.C:
9952         * bufferlist.C: s/retrive/retrieve/, add docs
9953
9954         * vspace.h:
9955         * vspace.C:
9956         * kbmap.h:
9957         * lyxlength.h:
9958         * lyxgluelength.h:
9959         * length_common.h:
9960         * chset.h:
9961         * chset.C: add docs
9962
9963         * lyxgui.C: add ID to X error handler
9964
9965         * lyxtestclass.c: fix typo
9966
9967 2002-02-26  Juergen Vigna  <jug@sad.it>
9968
9969         * tabular_funcs.C (write_attribute): changed so that some default
9970         attributes are not written at all.
9971         (getTokenValue): set default values before trying to read the
9972         value so we have the return value always set as default if we don't
9973         find the token we search for.
9974
9975         * tabular.C (Write): write bools as bools not as strings!
9976
9977 2002-02-22  Juergen Vigna  <jug@sad.it>
9978
9979         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9980         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9981
9982         * text.C (leftMargin): don't add an indent for paragraphs inside
9983         tabular cells (fix #208).
9984
9985 2002-02-21  José Matos  <jamatos@fep.up.pt>
9986
9987         * tabular.C (docBook): fixed support for long tables.
9988
9989 2002-02-20  Juergen Vigna  <jug@sad.it>
9990
9991         * text2.C (getFont): get the drawing font of the Inset if this
9992         paragraph is inside an inset (only important for InsetERT for now).
9993
9994         * buffer.C (insertErtContents): use new lanugage params in ERT
9995         constructor.
9996
9997         * CutAndPaste.C: commenting out seemingly uneeded code.
9998
9999 2002-02-19  Allan Rae  <rae@lyx.org>
10000
10001         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10002         Iterators might be simple to use but they also get invalidated.
10003         (removeAutoInsets): renamed saved cursor tracking variables and added
10004         some comments to clarify what everything does.
10005
10006 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10007
10008         * Chktex.C:
10009         * LaTeX.C:
10010         * LyXSendto.C:
10011         * converter.C:
10012         * lyx_cb.C:
10013         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10014         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10015
10016         * lyxfunc.C:
10017         * vc-backend.h: remove #include "support/syscall.h"
10018
10019         * LaTeX.C:
10020         * LyXSendto.C:
10021         * converter.C: rearrange #includes in Lars' approved fashion.
10022
10023         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10024         forward declare class Timeout in the header file.
10025
10026         * XFormsView.C: changes due to the above.
10027
10028         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10029         similar to LyXView.
10030
10031         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10032         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10033
10034 2002-02-18  José Matos  <jamatos@fep.up.pt>
10035
10036         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10037         insets contents.
10038
10039 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10040
10041         * a lot of small ws changes
10042         * add a lot of using std::XXX
10043         * use std construcs some places where approp.
10044         * use some exisint stuff from lyxfunctional where approp.
10045         * Make file changes to use partial linking (lets test this now...)
10046
10047 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * Chktex.C:
10050         * buffer.C:
10051         remove #include "support/syscontr.h" as it's redundant. Always has been.
10052
10053         * Chktex.C:
10054         * LaTeX.C:
10055         * LyXSendto.C:
10056         * converter.C:
10057         * lyx_cb.C:
10058         * vc-backend.C:
10059         change Systemcalls::System to Systemcalls::Wait and
10060         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10061         No change of functionality, just reflects the stripped down Systemcalls
10062         class.
10063
10064 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10065
10066         * debug.[Ch]: add a GRAPHICS type to the enum.
10067
10068 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10071
10072         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10073         there is an inset.
10074
10075 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10078         match the changes below.
10079
10080         * text2.C (toggleInset): if there is not editable inset at cursor
10081         position, try to see if cursor is _inside_ a collapsable inset
10082         and close it.
10083
10084 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10087         document menu has a nice checkbox
10088
10089 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * lyxlength.C (asLatexString): change PW to output as percent of
10092         \textwidth.
10093
10094         * lengthcommon.C: change '%' to 't%'
10095
10096         * lyxfunc.C (dispatch): a few comments from Martin
10097
10098 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * WorkArea.h:
10101         * WorkArea.C:
10102         * BufferView_pimpl.h:
10103         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10104           the X selection.
10105
10106 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * vspace.C (inPixels): fix compiler warning
10109
10110 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10111
10112         * lyxfunc.C (getStatus): fix status message for disabled commands.
10113
10114 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * BufferView_pimpl.C: fix crash on close buffer
10117         during selection (#227)
10118
10119 2002-01-27  Herbert Voss  <voss@lyx.org>
10120
10121         * buffer.C: link old Figure to new graphic inset
10122
10123 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10124
10125         * FontLoader.C (getFontinfo): Change the latex font names in order
10126         to match the names of type1inst.
10127
10128 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10129
10130         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10131
10132         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10133         (extchanged): ditto
10134         (ext_exist): ditto
10135         (remove_files_with_extension): ditto
10136         (remove_file): ditto
10137         (write): ditto
10138
10139         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10140         document is smaller than the work area height. Do not initialize
10141         static variables to 0.
10142
10143 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10146
10147         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10148         LFUN_LAYOUT_PARAGRAPHS.
10149
10150         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10151         tabular. It is possible to provide a possible cell, which will
10152         typically be the actcell from the corresponding insettabular
10153
10154         * lyxfunc.C (getStatus): small cleanup; disable
10155         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10156         true
10157
10158 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10161
10162         * paragraph.C (startTeXParParams):
10163         (endTeXParParams): new methods. The LaTeX code to
10164         start/end paragraph formatting
10165         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10166         empty (fixes bug #200)
10167
10168         * vspace.C (inPixels): adapt to the change below
10169         (inPixels): [later] more cleanups (remove unused variables)
10170
10171         * lyxlength.C (inPixels): change to use a width and a height as
10172         parameter.
10173
10174 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10175
10176         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10177         Replaced with \paperwidth
10178
10179         * DepTable.C (insert): add std:: qualifier
10180
10181 2002-01-18  Allan Rae  <rae@lyx.org>
10182
10183         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10184         updated also?
10185
10186         * text.C (drawInset): Turned out I didn't know enough about how
10187         rebreaking worked.  This fixes most of the redraw problems.  I see
10188         an occasional cursor trail when a line is broken now and the cursor
10189         placement can seem out by a few pixels also after a rebreak.
10190
10191 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * buffer.C (parseSingleLyXformat2Token): update because minipage
10194         width is now a LyXLength
10195
10196         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10197
10198         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10199         math insets
10200
10201 2002-01-17  Juergen Vigna  <jug@sad.it>
10202
10203         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10204
10205         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10206         is set correctly and the inset is updated correctly.
10207
10208 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10211         the beginning of the loop.
10212
10213 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyxrc.C: improve help for use_scalable_fonts
10216
10217 2002-01-17  Allan Rae  <rae@lyx.org>
10218
10219         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10220
10221 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10224         make sure to set their inset_owner to the right value (bug #171)
10225
10226 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10227
10228         * DepTable.h
10229         * DepTable.C: Implement mtime checking to reduce time spent doing
10230         CRCs.
10231
10232 2002-01-16  Juergen Vigna  <jug@sad.it>
10233
10234         * tabular.C (GetAdditionalHeight): one of error fixed.
10235
10236         * lyxrc.C (output): small fix in writing use_pspell.
10237
10238 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10239
10240         * sp_base.h: #include LString.h
10241
10242 2002-01-16  Allan Rae  <rae@lyx.org>
10243
10244         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10245         Can someone check this please?
10246
10247         * text.C (drawInset): It was possible that p.row would be removed by
10248         breakAgainOneRow upsetting a few other settings.  There may be another
10249         small tweak possible by setting need_break_row = 0 when p.row has been
10250         removed but I don't know enough about the logic here.
10251
10252 2002-01-15  Allan Rae  <rae@lyx.org>
10253
10254         * text.C (insertChar): removed conditional truism.
10255
10256         * BufferView2.C (removeAutoInsets): More tweaks.
10257         cur_par_prev could be a stray pointer.  Check for trailing empty line
10258         in case last line was cur_par and only had an error inset on it.
10259
10260 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10261
10262         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10263         absolute
10264
10265         * vc-backend.C (most methods):
10266         * exporter.C (Export):
10267         * converter.C (convert):
10268         (runLaTeX):
10269         * LyXSendto.C (SendtoApplyCB):
10270         * lyxfunc.C (dispatch):
10271         (menuNew):
10272         (open):
10273         (doImport):
10274         * lyx_cb.C (AutoSave):
10275         (InsertAsciiFile):
10276         * BufferView_pimpl.C (MenuInsertLyXFile):
10277         * buffer.C (runChktex): use Buffer::filePath().
10278
10279         * buffer.h: rename filename to filename_; rename filepath to
10280         filepath_ and make it private
10281         (filePath): new method
10282
10283         * buffer.C (writeFile): use fileName()
10284         (getLatexName):
10285
10286         * lyx_main.C (init): fix starting  of LyX when the binary is a
10287         link from so,ewhere else.
10288
10289         * minibuffer.C: include <cctype> for isprint
10290
10291 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10294         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10295         name clash with InsetCollapsable's width function.
10296
10297 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * lastfiles.C: include <iterator>
10300
10301 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10302
10303         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10304         std::count.
10305
10306         * buffer.C (makeLaTeXFile): ditto.
10307         Also make loop operation more transparent.
10308
10309 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10310
10311         * ToolbarDefaults.C: remove trailing comma closing namespace.
10312
10313         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10314
10315         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10316         as in WorkArea.
10317
10318         * trans.C (Load): comment out unused variable, allowed.
10319
10320 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10321
10322         * minibuffer.[Ch] (append_char): new method to recieve input from the
10323         drop-down completion browser. If a key was pressed, then recieve this
10324         char and append it to the existing string.
10325         (peek_event): modify the positioning data passed to the completion
10326         browser so that it can be placed above the minibuffer rather than below.
10327 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * LyXAction.C (init): alloe error-next for readonly documents.
10330
10331         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10332         count.
10333
10334 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * bufferlist.C (readFile): create the buffer _after_ checking that
10337         the file exists.
10338
10339         * lyxfunc.C (verboseDispatch): fix handling of arguments
10340
10341         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10342
10343         * lyxrc.C: use string::erase() instead of initializing to "".
10344
10345
10346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * BufferView_pimpl.h:
10349         * BufferView_pimpl.C:
10350         * WorkArea.h:
10351         * WorkArea.C:
10352         * text2.C: tell X when we have made a selection for copying
10353
10354 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * BufferView_pimpl.C (MenuInsertLyXFile):
10357         * lyxfunc.C (menuNew):
10358         (open):
10359         (doImport): add shortcuts to directory buttons
10360
10361         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10362         open a float)
10363
10364         * lyxfunc.C (setStatusMessage):
10365         (getStatusMessage): new methods
10366         (getStatus):use setStatusMessage instead of setErrorMessage
10367         (dispatch): when function is disabled, set error message here
10368         [instead of in getStatus previously]
10369
10370         * BufferView_pimpl.C (workAreaButtonRelease): update
10371         toolbar/menubar here too.
10372
10373 2002-01-13  Allan Rae  <rae@lyx.org>
10374
10375         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10376         Now seems indestructible.  Remaining task is to audit all other
10377         code affected by deleteEmptyParagraphMechanism.  One small quirk
10378         left is that an empty document with an error in the preamble can
10379         be made to report an error but no error box appears.  I don't know
10380         where it goes.
10381         (removeAutoInsets): Improved comments.
10382
10383 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * Thesaurus.h:
10386         * Thesaurus.C: update for Aiksaurus 0.14
10387
10388 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10389
10390         * text2.C (firstParagraph): removed member function, all uses
10391         replaces with ownerParagraph
10392         (redoParagraphs): here
10393         (updateInset): here
10394         (toggleAppendix): here
10395         * BufferView2.C (insertErrors): here
10396         (setCursorFromRow): here
10397
10398 2002-01-13  Allan Rae  <rae@lyx.org>
10399
10400         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10401         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10402         There is still a way to segfault this although you may have to do this
10403         multiple times: Have an InsetERT with an unknown command in it.
10404         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10405         <down-arrow>, <Enter> again, View->DVI, BANG!
10406
10407         * text2.C (setCursor):
10408         (deleteEmptyParagraphMechanism):
10409         * lyxtext.h (setCursor):
10410         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10411         Making use of the return value may help fix other bugs.
10412
10413 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10416
10417         * LyXView.C (updateMenubar): call MenuBar::update here
10418         (updateToolbar): but not here
10419         (showState): do not update toolbar/menubar
10420
10421         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10422         should need to care about that.
10423
10424         * lyxfunc.C (verboseDispatch): simplify a bit
10425         (getStatus): have a version which takes a pseudoaction, and
10426         another which requires a (kb_action,string).
10427
10428         * LyXAction.C (retrieveActionArg): make it work also when action
10429         is not a pseudo-action.
10430         (getActionName): simplify a bit
10431         (helpText):
10432
10433 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * lyxfunc.C (verboseDispatch): new families of methods with
10436         several ways to specify a command and a bool to indicate whether
10437         the command name and shortcut should be displayed in minibuffer
10438         (eventually, we could extend that to a finer bitmask like
10439         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10440         (dispatch): the pristine dispatch command which just, well,
10441         dispatchs! Note it still sets its result to minibuffer; I'm not
10442         sure we want that.
10443
10444         * lyxfunc.h: remove setHintMessage
10445
10446         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10447
10448 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * BufferView_pimpl.C (specialChar): delete new inset if we have
10451         not been able to insert it.
10452
10453         * kbmap.C: revert to using int instead of kb_action, since all we
10454         are dealing with is pseudo-actions.
10455
10456         * LyXAction.C (searchActionArg): change to return int instead of
10457         kb_action, since the result is a pseudoaction.
10458
10459 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10460
10461         * buffer.C (insertErtContents): Fix (partially) the font bug.
10462
10463 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10464
10465         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10466         as the other one is broken on my machine!
10467
10468 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10469
10470         * commandtags.h:
10471         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10472
10473 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10474
10475         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10476         reflect their actual use. Provide compatibility code for older lyxrc
10477         files.
10478
10479         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10480         FL_NORMAL_STYLE.
10481         change names of popup font variables in line with the changes to lyxrc.C
10482
10483 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * buffer.C (asciiParagraph): avoid outputing a word twice after
10486         an inset.
10487
10488         * lyxrc.C (getDescription): document that document_path and
10489         template_path can be empty.
10490
10491 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * LaTeXFeatures.C (getMacros):
10494         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10495
10496         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10497
10498         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10499         getPackages.
10500         (getPackages): rename feature "floats" to "float". Use an array to
10501         iterate over 'simple' features (i.e. just a \usepackage). Add
10502         handling of "amsmath" (renamed from "amsstyle").
10503
10504 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10505
10506         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10507         features list.
10508
10509 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10510
10511         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10512         FuncStaus::FuncStatus & FuncStaus::some_method().
10513
10514 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10515
10516         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10517         of the func_satus stuff. Edited and massaged in various ways by
10518         JMarc.
10519
10520         * lyxfunc.C (getStatus): use FuncStatus
10521
10522 2002-01-08  Juergen Vigna  <jug@sad.it>
10523
10524         * text.C (nextBreakPoint): use function Inset::isChar().
10525
10526         * paragraph.C (TeXOnePar): use function
10527         Inset::forceDefaultParagraphs.
10528
10529         * buffer.C (latexParagraphs): use function
10530         Inset::forceDefaultParagraphs.
10531
10532 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10533
10534         * lyx_gui.C (init): set the style of the menu popups to
10535         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10536
10537 2002-01-07  Juergen Vigna  <jug@sad.it>
10538
10539         * text.C (setHeightOfRow): small fix
10540         (prepareToPrint): don't look at alignment if we don't have the place
10541         for doing it.
10542
10543 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10544
10545         * box.C: New file. Move the Box methods and functions out of box.h,
10546         following Lars' suggestion.
10547
10548 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * box.h: #include "support/LOstream.h", needed for inlined function.
10551
10552         * lyxtextclass.C:
10553         * lyxtextclasslist.C: added some using std declarations.
10554
10555 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * box.h: make signed dimensions to allow insets wider than
10558           the screen (bug #162)
10559
10560         * BufferView_pimpl.C: add some insetHit debug
10561
10562 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * vc-backend.C: add FIXME
10565
10566 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * lyxfunc.C (getStatus): enable code for showing math font status
10569         in toolbar/menu.
10570
10571 2002-01-07  Juergen Vigna  <jug@sad.it>
10572
10573         * text.C (nextBreakPoint): removed debug output not needed anymore.
10574
10575 2002-01-06  Juergen Vigna  <jug@sad.it>
10576
10577         * text.C (nextBreakPoint): fixed up this function we had this bug
10578         since ever but now hopefully we break row better.
10579         (insertChar): we have to check if an inset is the next char as it
10580         could now happen that a large inset is causing a break.
10581
10582 2002-01-05  Juergen Vigna  <jug@sad.it>
10583
10584         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10585         if it doesn't like to be drawed.
10586
10587 2002-01-04  Juergen Vigna  <jug@sad.it>
10588
10589         * BufferView2.C (lockInset): forgot to set a cursor.
10590
10591         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10592
10593 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10594
10595         * FormMathsPanel.C:
10596         * FormMathsPanel.h
10597         * MathsSymbols.C:
10598         * form_maths_panel.C:
10599         * form_maths_panel.h:
10600         * form_maths_panel.fd: implemented sub- and super- buttons in math
10601         panel.
10602
10603         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10604         (or ^ space) to be used as in TeX (req'd by André).
10605
10606         * lyxfunc.C: Allow ^ and _ again to be used both as
10607         super/subscript (mathed) and as themselves (in text).
10608
10609 2002-01-03  Allan Rae  <rae@lyx.org>
10610
10611         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10612         "LyX" or the filename of the current buffer if it has one.  This is a
10613         modified form of John Levon's patch.
10614
10615         * XFormsView.C (setWindowTitle): also set icon title.
10616
10617         * LyXView.h (setWindowTitle): signature changed.
10618         * XFormsView.h (setWindowTitle): ditto.
10619
10620 2002-01-02  Juergen Vigna  <jug@sad.it>
10621
10622         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10623
10624 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * screen.C (topCursorVisible): introduce a temp var for
10627         text->cursor.row(), handle the case where this row is null. (kindo
10628         hachish)
10629
10630         * text2.C (setCursor): add a couple of asserts.
10631
10632         * paragraph.h (inset_iterator): add -> operator
10633
10634         * paragraph.[Ch] (autoDeleteInsets): remove member function
10635
10636         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10637         cursor pos correctly and handle inset deletion by itself.
10638         (insertErrors): move iterator declaration out of for expression
10639
10640         * lyxtextclass.C: add <algorithm>
10641
10642         * Makefile.am: added the new files to sources, removed layout.C
10643
10644         * layout.C: removed file
10645
10646         * layout.h: remove LYX_DUMMY_LAYOUT
10647
10648         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10649         layout.
10650
10651         * lyxlayout.[Ch]:
10652         * lyxtextclass.[Ch]:
10653         * lyxtextclasslist.[Ch]: new files
10654
10655         * include order changes to a lot of files, also changes because of
10656         the six new files.
10657
10658 2001-12-27  Juergen Vigna  <jug@sad.it>
10659
10660         * buffer.C (asciiParagraph): more fixes.
10661
10662         * tabular.C (ascii): make ascii export support export of only the
10663         data separated by a column-delimiter.
10664         (ascii): better support for ascii export.
10665
10666         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10667
10668 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * tabular_funcs.C: use a "using std::getline" instead of the
10671         previous fix from Angus (necessary for cxx + lyxstring)
10672
10673 2001-12-24  Juergen Vigna  <jug@sad.it>
10674
10675         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10676
10677         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10678         problems. First check a minipage also if we have some ert-contents
10679         (not only on par->size(), second set the right depth of the paragraph
10680         on the relink to the root-paragraph-list!
10681
10682         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10683         which then did not anymore update the main paragraphs on undo/redo!
10684
10685 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10686
10687         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10688         code. Support all font-changing funcs (even those which are not in
10689         menu currently). Support for reporting font settings in
10690         mathed (disabled until Andre provides a function on mathed's side).
10691
10692         * func_status.h (toggle): small helper function to set toggle
10693         state on a flag.
10694
10695 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10696
10697         * tabular_funcs.C: getline -> std::getline
10698
10699 2001-12-21  Juergen Vigna  <jug@sad.it>
10700
10701         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10702         accessed and could be 0 (I couldn't generate this but it seems
10703         Michael could!).
10704
10705 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10708         * tabular_funcs.h: here and include iosfwd
10709
10710 2001-12-20  Juergen Vigna  <jug@sad.it>
10711
10712         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10713         inside inset but undo_par was.
10714
10715 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10716
10717         * Thesaurus.C: always include <config.h> in sources.
10718
10719         * Painter.h:
10720         * lyxlookup.h:
10721         * box.h: do not include <config.h> in header files
10722
10723         * text.C (paintLastRow): remove unused variable
10724
10725         * text.C (transformChar):
10726         (insertChar):
10727         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10728
10729         * Painter.C (text):
10730         * font.C (width): rewrite to use uppercase() instead of
10731         islower/toupper.
10732
10733         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10734
10735 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * lyxfind.C: clean up of find failure position change
10738
10739 2001-12-20  Juergen Vigna  <jug@sad.it>
10740
10741         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10742
10743         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10744         (TeXRow): added to LaTeX a single tabular row.
10745         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10746         (Latex): simplified and finally good LT-h/f support.
10747         (various_functions): just small adaptions for LT-h/f support.
10748
10749         * tabular_funcs.[hC]: added and moved here all not classfunctions
10750         of LyXTabular.
10751
10752 2001-12-19  Juergen Vigna  <jug@sad.it>
10753
10754         * tabular.[Ch]: better support for longtabular options (not finished
10755         yet!)
10756
10757 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * text.C (paintLastRow): use the label font instead of the font of
10760         the last character to compute the size of *_BOX. This makes more
10761         sense and avoids a crash with empty paragraphs.
10762         Use Painter::rectangle to draw EMPTY_BOX.
10763
10764 2001-12-19  Juergen Vigna  <jug@sad.it>
10765
10766         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10767         the paragraphs if the replaced paragraph is not the first one!
10768         Tried to delete not used paragraphs but does not work yet so for
10769         now it's inside #ifdef's and by default off!
10770
10771 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * MenuBackend.C: include "lyx_main.h" instead of declaring
10774         lastfiles (actually was declared as LastFiles* instead of a
10775         scoped_ptr).
10776
10777 2001-12-17  Juergen Vigna  <jug@sad.it>
10778
10779         * tabular.C (AppendColumn): applied John's fix
10780
10781 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * BufferView.h:
10784         * BufferView.C:
10785         * BufferView_pimpl.h:
10786         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10787
10788         * Makefile.am:
10789         * box.h: new start of class for above
10790
10791         * lyxfunc.C: ignore space-only minibuffer dispatches.
10792           Show the command name when it doesn't exist
10793
10794         * minibuffer.C: don't add empty lines to the history
10795
10796         * minibuffer.C: add a space on dropdown completion
10797
10798 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * text.C: fix line above/below drawing in insets
10801
10802 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lyxlength.C (LyXLength): Initialize private variables.
10805
10806 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10807
10808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10809         when inserting error insets.
10810
10811 2001-12-13  Juergen Vigna  <jug@sad.it>
10812
10813         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10814         actually sometimes the before-paragraph.
10815         (setUndo): don't clear the redostack if we're not actually undoing!
10816
10817 2001-12-06  Juergen Vigna  <jug@sad.it>
10818
10819         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10820         and fixed redoing of main paragraph, so we can use it now ;)
10821
10822         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10823
10824 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10827         Juergen's request
10828
10829 2001-12-13  André Pönitz <poenitz@gmx.net>
10830
10831         * undostack.[Ch]:
10832         * undo_func.C: minor cleanup
10833
10834 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10837         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10838         font in urw-fonts package which is marked as -urw-fontspecific and
10839         does not work (incidentally, changing the encoding in the
10840         fonts.dir of this package to -adobe-fontspecific fixes the
10841         problem).
10842
10843         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10844         is a crash when undoing first paragraph (Juergen, please take a
10845         look). THis does not mean the undo fix is wrong, just that it
10846         uncovers problems.
10847
10848         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10849         the (Paragraph*) version when needed instead of duplicating the
10850         code.
10851
10852         * text.C (workWidth): use Inset::parOwner to find out where the
10853         inset has been inserted. This is a huge performance gain for large
10854         documents with lots of insets. If Inset::parOwner is not set, fall
10855         back on the brute force method
10856
10857         * paragraph_pimpl.C (insertInset):
10858         * paragraph.C (Paragraph):
10859         (cutIntoMinibuffer): set parOwner of insets when
10860         inserting/removing them
10861
10862         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10863
10864 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10865
10866         * commandtags.h:
10867         * LyXAction.C:
10868         * lyx_main.C:
10869         * lyxfunc.C:
10870         * mathed/formulabase.C:
10871         * mathed/math_cursor.[Ch]:
10872         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10873
10874
10875 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * lyxlength.[Ch] (operator!=): new function
10878
10879 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10880
10881         * text.C (workWidth): use Inset::parOwner to find out where the
10882         inset has been inserted. This is a huge performance gain for large
10883         documents with lots of insets. If Inset::parOwner is not set, fall
10884         back on the brute force method
10885
10886         * paragraph_pimpl.C (insertInset):
10887         * paragraph.C (Paragraph):
10888         (cutIntoMinibuffer): set parOwner of insets when
10889         inserting/removing them
10890
10891         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10892
10893 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10894
10895         * tabular-old.C (getTokenValue):
10896         * tabular.C (getTokenValue):
10897         (write_attribute): new versions for LyXLength
10898         (everywhere): adjust the use of widths
10899
10900         * tabular.h: change the type of widths from string to LyXLength
10901
10902 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10903
10904         * paragraph.C: fixed missing line number count when exporting
10905         Environments to LaTeX file
10906
10907         * buffer.C: added informational message for checking line numbers.
10908
10909 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10912         paragraph, do the 'double space' part, but not the 'empty
10913         paragraph' one.
10914
10915         * text.C (workWidth): small optimization
10916         (getLengthMarkerHeight): use minimal size for negative lengths.
10917
10918 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10921
10922         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10923
10924 2001-12-11  André Pönitz <poenitz@gmx.net>
10925
10926         * FontLoader.C:
10927         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10928
10929 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * text2.C: keep selection on a setFont()
10932
10933 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * lyx_cb.C: another bv->text misuse, from insert label
10936
10937 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * kbsequence.h:
10940         * kbsequence.C: re-instate nmodifier mask
10941
10942 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * lyx_main.h: make lyxGUI private.
10945
10946 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * lyxfind.C: place the cursor correctly on failed search
10949
10950 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10951
10952         * text.C (getLengthMarkerHeight): for small heights, the arrows
10953         are not always on top/bottom of the text
10954         (drawLengthMarker): smaller arrows; take the left margin in
10955         account; draw also vfills.
10956         (paintFirstRow):
10957         (paintLastRow): remove special code for vfill and standard spaces,
10958         since everything is handled in drawLengthMarker now.
10959
10960 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10961
10962         * buffer.C (insertErtContents): try to handle font and language
10963         interaction a bit better.g
10964
10965         * ColorHandler.C (updateColor): change the hash to cover the whole
10966         LColor enum, ws cleanup
10967         (getGCLinepars): ditto
10968         (getGCLinepars): only lookup in the linecache once.
10969
10970 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10971
10972         * iterators.C (operator++): Make the iterator more robust
10973
10974         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10975         (John's patch)
10976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10977
10978 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * lyxtext.h:
10981         * text.C: better added space drawing
10982
10983 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * LyXView.C:
10986         * BufferView2.C: fix layout combo update on inset unlock
10987
10988 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * Makefile.am: don't compile unused files
10991
10992 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * lyxfunc.C:
10995         * commandtags.h:
10996         * LyXAction.C: remove old LFUN_LAYOUTNO
10997
10998 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * paragraph_pimpl.h:
11001         * paragraph_pimpl.C: isTextAt() doesn't need font param
11002
11003 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * lyxlex.h:
11006         * lyxlex.C: little cleanup
11007
11008 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * BufferView_pimpl.C: fix insertAscii for insets
11011
11012 2001-12-05  Juergen Vigna  <jug@sad.it>
11013
11014         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11015         set the right font on the "multi" paragraph paste!
11016
11017 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11018
11019         * trans_decl.h:
11020         * trans_mgr.[Ch]:
11021         * trans.[Ch]:
11022         * lyxgluelength.C:
11023         * lyxlength.C: remove out-commented code.
11024
11025         * BufferView_pimpl:
11026         * CutAndPaste.C:
11027         * DepTable.C:
11028         * buffer.C:
11029         * chset.C:
11030         * lastfiles.C:
11031         * lyxlex.C:
11032         * lyxlex_pimpl.C:
11033         * lyxserver.C:
11034         * screen.C:
11035         * tabular-old.C:
11036         * tabular.C:
11037         * text.C:
11038         * trans_mgr.C:
11039         * vc-backend.C: change "while(" to "while ("
11040
11041         * lyxlength.[Ch]: add zero function to check if length is zero or
11042         not
11043         * lyxgluelength.C: use it
11044
11045 2001-12-05  Allan Rae  <rae@lyx.org>
11046
11047         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11048         Works for 2.95.3, from what I understand of Garst's reports this should
11049         work for other g++ versions.  We're screwed if the abs(int) definition
11050         changed between bugfix releases of gcc.
11051
11052 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * text.C: fix chapter label offset !
11055
11056 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * lyxtext.h:
11059         * text.C: fix hfill at end of line, clean up
11060
11061 2001-12-04  Juergen Vigna  <jug@sad.it>
11062
11063         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11064         that we force an update of the inset and it's owners if neccessary.
11065
11066 2001-12-03  Juergen Vigna  <jug@sad.it>
11067
11068         * text.C (rowLast): simplified code
11069
11070 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyxfunc.C: fix show options on timeout
11073
11074 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * screen.C (topCursorVisible): scroll half a page when the cursor
11077         reached top of bottom of screen
11078
11079 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * minibuffer.C: deactivate on loss of focus
11082
11083 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * vspace.[Ch] (operator!=): add operator.
11086
11087 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.C: refuse to open an inset when
11090         there's a selection.
11091
11092 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * BufferView_pimpl.C: allow to click on RHS of full row insets
11095
11096 2001-11-30  Juergen Vigna  <jug@sad.it>
11097
11098         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11099         insets for undo reasons.
11100
11101 2001-11-28  André Pönitz <poenitz@gmx.net>
11102
11103         * vspace.[Ch]: cosmetical changes
11104
11105 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * LyXAction.h:
11108         * LyXAction.C:
11109         * lyxfunc.h:
11110         * lyxfunc.C:
11111         * kbmap.h:
11112         * kbmap.C:
11113         * lyxrc.C:
11114         * kbsequence.h:
11115         * kbsequence.C: part re-write of old kb code
11116
11117         * Painter.C:
11118         * WorkArea.C: remove Lgb_bug_find_hack
11119
11120 2001-11-30  José Matos <jamatos@fep.up.pt>
11121
11122         * buffer.C (makeDocBookFile): add a comment to point a hack.
11123         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11124         Fixed a double write of labels.
11125
11126 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11127
11128         * LaTeX.C:
11129         * LaTeX.h Fixed bug in LaTeX class where it would not
11130         re-run latex if no depfiles were changed, but the .dvi was removed.
11131
11132 2001-11-28  André Pönitz <poenitz@gmx.net>
11133
11134         * all the files from the change on 2001/11/26:
11135         use lyx::layout_type instead of LyXTextClass::size_type
11136         use lyx::textclass_type instead of LyXTextClassList::size_type
11137
11138 2001-11-29  Juergen Vigna  <jug@sad.it>
11139
11140         * text.C: added support for paragraph::isFreeSpacing()
11141
11142         * buffer.C: same as above
11143
11144         * paragraph.h: inserted isFreeSpacing() function to enable
11145         FreeSpacing inside InsetERT.
11146
11147         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11148         of the paragraph's in the cut/copy buffer to 0!
11149
11150         * text2.C (removeRow): remove the assert as it can!
11151
11152         * lyxtext.h: added helper function firstRow returning firstrow and
11153         made firstrow private again.
11154
11155         * BufferView2.C (lockInset): don't relock if we're already locked!
11156
11157         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11158         the only paragraph.
11159         (removeRow): added Assert::(firstrow)
11160
11161         * debug.C: forgot to add INSETTEXT here.
11162
11163 2001-11-28  Juergen Vigna  <jug@sad.it>
11164
11165         * sp_spell.C (initialize): changed error text to more general
11166         spellchecker command use (not only ispell!)
11167
11168         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11169
11170         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11171
11172 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * vspace.C: initialise lyxgluelength on failure
11175
11176 2001-11-28  Allan Rae  <rae@lyx.org>
11177
11178         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11179         declaration & definition that looks like a function declaration.
11180
11181 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * BufferView2.C (copy):
11184         (copyEnvironment): do not clear the selection when doing a copy.
11185
11186         * text.C (paintFirstRow): compilation fix
11187
11188 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11189
11190         * tabular.C (Latex): correct line count when writing latex.
11191
11192 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * paragraph_pimpl.h:
11195         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11196           bug a bit
11197
11198 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * text.C:
11201         * LColor.h:
11202         * LColor.C: change vfillline->added_space
11203
11204         * text.C: add markers and text for added space
11205
11206         * vspace.C: fix comment
11207
11208 2001-11-28  André Pönitz <poenitz@gmx.net>
11209
11210         * paragraph.C: whitespace changes
11211         * all the other files from the change on 2001/11/26:
11212         change *::pos_type into lyx::pos_type
11213
11214 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11217         language of the document when inserting error insets.
11218
11219 2001-11-26  André Pönitz <poenitz@gmx.net>
11220
11221         * BufferView_pimpl.[Ch]:
11222         *       CutAndPaste.C:
11223         * buffer.[Ch]:
11224         * lyxcursor.[Ch]:
11225         * lyxfind.C:
11226         * lyxfunc.C:
11227         * lyxrow.[Ch]:
11228         * paragraph.[Ch]:
11229         * paragraph_pimpl.[Ch]:
11230         * sp_spell.C:
11231         * text.C:
11232         * text2.C: reduce header dependencies, introduce type for positions
11233
11234 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * <various>: change to use Alert.h
11237
11238 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11241         when encountering an unknown token.
11242         (readLyXformat2): Show an error message if there were unknown tokens.
11243
11244 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * BufferView2.C:
11247         * BufferView_pimpl.C:
11248         * buffer.C:
11249         * paragraph.h:
11250         * text.C:
11251         * text2.C: use par->isInset()
11252
11253 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * paragraph_pimpl.h:
11256         * paragraph_pimpl.C: cleanup
11257
11258 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11259
11260         * text2.C (removeRow):
11261         * text.C (setHeightOfRow): remove useless (and costly) call to
11262         getRow.
11263
11264 2001-11-20  Allan Rae  <rae@lyx.org>
11265
11266         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11267         Now need Inset*::checkInsertChar() to return true for appropriate
11268         cases so that the characters in the minibuffer will actually be
11269         inserted.
11270
11271 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * text.C: change the order of the includes.
11274         (workWidth): initialize it at once.
11275         (workWidth): make maxw unsigned
11276         (setHeightOfRow): remove unused variable (inset)
11277         (selectSelectedWord): remove unused variable (inset)
11278         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11279
11280 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11283         server is not running.
11284         (openConnection):
11285         (closeConnection): add debug info when server is disabled.
11286
11287         * ColorHandler.C (getGCForeground): send debug message to GUI
11288         channel.
11289
11290         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11291
11292         * kbmap.C (bind): modify because return conventions of
11293         kb_sequence::parse have changed.
11294
11295         * kbsequence.C (parse): only ignore spaces and not any stupid
11296         control character. This avoids tests like s[i] <= ' ', which are
11297         guaranteed to fail with 8bit characters and signed chars.
11298         Change return code to string::npos when there have been no error
11299         (0 was a bad idea when error is at first character)
11300
11301 2001-11-14  José Matos  <jamatos@fep.up.pt>
11302
11303         * buffer.h:
11304         * buffer.C (simpleDocBookOnePar): removed unused argument.
11305
11306 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11309         insets which are part of a word. Paragraph::isLetter takes care of
11310         that now. Use Paragraph::isInset to identify insets.
11311         (selectSelectedWord): do not test for hyphenation break.
11312
11313         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11314         that protected spaces are considered as spaces.
11315
11316         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11317         Inset::isLetter.
11318
11319 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * lyxserver.h:
11322         * lyxserver.C: fix it. and small cleanup.
11323
11324 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * BufferView_pimpl.C: use inline helpers
11327
11328         * LaTeXFeatures.h:
11329         * LaTeXFeatures.C: fix typos
11330
11331         * Spacing.h:
11332         * Spacing.C: move spacing_string into class
11333
11334         * ToolbarDefaults.C: move stuff into namespace anon
11335
11336         * layout.h: update enum
11337
11338         * lyxfunc.C: use better debug
11339
11340         * minibuffer.h: fix typo
11341
11342         * debug.h:
11343         * debug.C:
11344         * WorkArea.C: add and use Debug::WORKAREA
11345
11346         * lyxtext.h:
11347         * text.C:
11348         * text2.C: code re-organisation, inline helpers
11349
11350 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11351
11352         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11353         std::vector.empty().
11354
11355 2001-11-09  Allan Rae  <rae@lyx.org>
11356
11357         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11358         '\n's after tables.  Tabular and ERT inset work now makes this no
11359         longer necessary.
11360
11361 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * minibuffer.h:
11364         * minibuffer.C: fix crash, improve drop-down completion
11365
11366 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * lyxserver.h:
11369         * lyxserver.C: invalidate fd's when doing endPipe()
11370
11371 2001-11-08  José Matos  <jamatos@fep.up.pt>
11372
11373         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11374         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11375
11376         * paragraph.h:
11377         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11378
11379 2001-11-07  José Matos  <jamatos@fep.up.pt>
11380
11381         * buffer.h:
11382         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11383         const qualifier.
11384
11385         * buffer.C (sgmlOpenTag):
11386         * buffer.C (sgmlCloseTag): removed debug info.
11387
11388         * buffer.h (sgmlOpenTag):
11389         * buffer.h (sgmlCloseTag): made public.
11390
11391 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11392
11393         * buffer.C (saveParamsAsDefaults):
11394         * lyx_cb.C (MenuLayoutSave): remove
11395
11396         * LyXAction.C (init):
11397         * commandtags.h:
11398         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11399
11400 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * buffer.C (setPaperStuff): removed from here...
11403
11404         * bufferparams.C (setPaperStuff): ... and moved there.
11405
11406 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * minibuffer.h:
11409         * minibuffer.C:
11410         * XFormsView.C: add support for drop-down completion
11411
11412 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11413
11414         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11415         commands.
11416
11417 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11418
11419         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11420         disabled.
11421
11422 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * lyx_main.C: change ref to known bugs
11425
11426 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11427
11428         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11429         to work around older babel problems.
11430
11431 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11432
11433         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11434
11435 2001-10-24  Juergen Vigna  <jug@sad.it>
11436
11437         * tabular-old.C (ReadOld): below variable changes reflected.
11438
11439         * tabular.[Ch]: added ltType struct for longtable header/footer
11440         defines and changed all instances where they are used. Added
11441         future support for double top/bottom rows.
11442
11443 2001-10-24  José Matos  <jamatos@fep.up.pt>
11444
11445         * buffer.h (docbookHandleCaption):
11446         * buffer.C (docbookHandleCaption): removed unused function.
11447         (makeDocBookFile): moved docbook supported version to v4.1.
11448
11449 2001-10-24  José Matos  <jamatos@fep.up.pt>
11450
11451         * tabular.h:
11452         * tabular.C (docbookRow): new function to export docbook code of a row.
11453         (DocBook): now honors the longtable flags.
11454
11455 2001-10-23  José Matos  <jamatos@fep.up.pt>
11456
11457         * LaTeXFeatures.h:
11458         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11459         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11460
11461         * buffer.C (makeLinuxDocFile):
11462         (makeDocBookFile): reworked the preamble, more clean, and with
11463         support for lyx defined entities. Changed the document declaration
11464         to be more XML friendly.
11465
11466         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11467         if we need to output XML that should be done with a filter.
11468
11469 2001-10-22  Juergen Vigna  <jug@sad.it>
11470
11471         * sp_pspell.h (class PSpell): add alive function needed in the
11472         controller to see if the spellchecker could be started.
11473
11474 2001-10-22  Juergen Vigna  <jug@sad.it>
11475
11476         * buffer.C (insertStringAsLines): modify the font for inserting
11477         chars in certain conditions by calling checkInsertChar(font).
11478
11479 2001-10-19  Juergen Vigna  <jug@sad.it>
11480
11481         * text.C (workWidth): use getRow instead of wrong algorithm.
11482         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11483
11484 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * lyxserver.h:
11487         * lyxserver.C:
11488         * lyx_main.h:
11489         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11490
11491 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11492
11493         * text.C (workWidth): do not search for the exact row when
11494         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11495         optimization for big documents.
11496
11497 2001-10-18  Juergen Vigna  <jug@sad.it>
11498
11499         * text.C (workWidth): new function with added Inset * parameter.
11500
11501 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11502
11503         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11504
11505         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11506         change return type of getColumnNearX.
11507
11508
11509         * text.C (changeRegionCase): use uppercase/lowercase instead of
11510         toupper/tolower.
11511         (leftMargin):
11512         (rightMargin): simplify code by factoring out the uses of
11513         textclasslist.
11514         (labelFill):
11515         (numberOfHfills):
11516         (setHeightOfRow):
11517         (appendParagraph): use Paragraph::size_type
11518
11519 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * vspace.C (asLatexString): add a missing break
11522
11523 2001-10-15  Herbert Voss  <voss@perce.de>
11524
11525         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11526
11527 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11528
11529         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11530         is not available.
11531
11532 2001-10-10  André Pönitz <poenitz@gmx.net>
11533
11534         * lyxfunc.C: removed greek_kb_flag.
11535
11536 2001-10-10  Herbert Voss  <voss@perce.de>
11537
11538         * lyx_main.C: delete global string help_lyxdir.
11539
11540 2001-10-09  Herbert Voss  <voss@perce.de>
11541
11542         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11543
11544         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11545
11546         * lyx_main.C: added global string help_lyxdir.
11547
11548         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11549
11550 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11551
11552         * lyxrc.C (set_font_norm_type): support iso8859-4
11553
11554 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11555
11556         * LaTeX.C (deplog): add another regex for MikTeX
11557
11558 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11559
11560         * lyxrc.C (set_font_norm_type): support iso8859-3
11561
11562 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11563
11564         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11565
11566         * LaTeXFeatures.C: remove special case of french and index
11567
11568         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11569         before \begin{document}). This solves several incompatibilities.
11570
11571 2001-10-03  Garst Reese  <reese@isn.net>
11572
11573         * lyx_cb.C: change CheckTex error msg.
11574
11575 2001-10-03  José Matos  <jamatos@fep.up.pt>
11576
11577         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11578
11579 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * .cvsignore: update
11582
11583         * lyx_main.C (commandLineVersionInfo): use new style version info.
11584
11585         * buffer.C (writeFile):
11586         (makeLaTeXFile):
11587         (makeLinuxDocFile):
11588         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11589
11590         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11591
11592         * version.h: update to use stuff in version.C
11593
11594         * version.C.in: new file. Contains version information determined
11595         at compile time. This is a merging of version.h and
11596         version_info.h.in.
11597
11598 2001-10-03  Juergen Vigna  <jug@sad.it>
11599
11600         * BufferView_pimpl.C (update): don't change "dirty" status in
11601         updateInset call.
11602
11603 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11604
11605         * WorkArea.C (c-tor): re-position version string slightly.
11606
11607 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11608
11609         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11610         revert to previous code.
11611
11612         WorkArea.[Ch]: (show, destroySplash): methods removed.
11613
11614         WorkArea.C: rework code so that it's an amalgam of the codes before and
11615         after the splash screen was moved to WorkArea.
11616
11617 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11618
11619         * lyxrc.C (read):
11620         * vspace.C (inPixels):
11621         (lyx_advance):
11622         * kbmap.C (bind):
11623         * buffer.C (insertStringAsLines):
11624         (asciiParagraph): fix types to be large enough
11625
11626         * lyxlex_pimpl.h: change member status from short to int
11627
11628         * layout.h: fix type of endlabeltype
11629
11630         * kbmap.C (bind):
11631         * kbsequence.C (parse): change return type to string::size_type
11632
11633         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11634         variable
11635
11636         * Bullet.C (bulletSize):
11637         (bulletEntry): do not use short ints as parameters
11638
11639         * BufferView2.C (insertLyXFile): change a char to an int.
11640
11641         * WorkArea.C (WorkArea): remove unneeded floats in computation
11642
11643 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11644
11645         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11646
11647         * paragraph.C (asString): Do not ignore newline/hfill chars when
11648         copying to the clipboard.
11649
11650 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11651
11652         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11653         after a multi-line inset.
11654
11655 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11656
11657         * paragraph.C (validate): Set NeedLyXFootnoteCode
11658
11659 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11660
11661         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11662         and decrease-error to decrease.
11663
11664 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11665
11666         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11667         it more readable (should be equivalent)
11668
11669 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11670
11671         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11672
11673 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11674
11675         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11676         of a cursor (row, etc.) after a character has been deleted
11677         (deleteEmptyParagraphMechanism): call the method above on _all_
11678         cursors held by the LyXText when a double space has been
11679         detected/deleted.
11680
11681 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11682
11683         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11684         pixmap.
11685         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11686
11687         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11688         background. Use greyOut() and the new show() methods to toggle between
11689         the foreground and background. Add code to remove the splash after
11690         its initial showing.
11691
11692         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11693         (create_forms): no longer call Dialogs::showSplash.
11694
11695 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11696
11697         * .cvsignore: add version_info.h
11698
11699 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * version_info.h.in: new file
11702
11703         * Makefile.am: add version_info.h.in
11704
11705         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11706         version_info.h instead of VERSION_INFO
11707
11708 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11711         The ERT inset now returns string().
11712
11713 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11714
11715         * lyxtext.h, text.C (selectNextWord): renamed as
11716         selectNextWordToSpellcheck.
11717
11718         * text.C (selectNextWordToSpellcheck): Modified to not select
11719         words inside an ERT inset.
11720
11721 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11722
11723         * lyx_cb.C (MenuLayoutSave): change a bit the question
11724
11725         * sp_base.h: include <sys/types.h>
11726
11727 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11730
11731 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11732
11733         * several files: fix typos in user-visible strings
11734
11735 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11736
11737         * text2.C (pasteSelection): do not set the selection, since it
11738         will be cleared later. Actually, the intent was to fix the way the
11739         selection was set, but I figured rmoving the code was just as good.
11740
11741 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11742
11743         * FontLoader.C (available): Check if font is available without
11744         loading the font.
11745
11746 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11747
11748         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11749
11750 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * lyxrc.[Ch]: added display_graphics variable and associated code.
11753
11754 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * bufferparams.C (hasClassDefaults): new method. Returns true if
11757         the buffer parameters correspond to known class defaults
11758
11759 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11760
11761         * XFormsView.C (show): set minimum size to the main window.
11762
11763 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11764
11765         * text2.C (copySelection):
11766         (cutSelection):
11767         * lyxfind.C (LyXReplace):
11768         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11769         LyXText::selectionAsString.
11770
11771         * paragraph.C (asString): add "label" argument to the second form
11772
11773         * text2.C (selectionAsString): add "label" argument and pass it to
11774         Paragraph::asString.
11775
11776 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * lyx_main.C (commandLineHelp): remove version information
11779
11780 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11781
11782         * lyx_main.C: add -version commandline option
11783
11784 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * paragraph.h: make the optional constructor arg required instead.
11787         some modifications to other files because of this.
11788
11789         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11790
11791         * lyxserver.C (C_LyXComm_callback): make it static
11792
11793         * lyx_main.C (error_handler): make it static
11794
11795         * lyx_gui.C (LyX_XErrHandler): make it static
11796
11797         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11798
11799         * WorkArea.C: make the extern "C" methods static.
11800
11801         * Makefile.am (lyx_LDADD): simplify
11802
11803 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11804
11805         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11806         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11807
11808         * LyXAction.C (init):
11809         * lyxfunc.C (dispatch): associated code removal.
11810
11811 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * lyxfont.h (isSymbolFont): shut off warning
11814
11815         * text.C (setHeightOfRow):
11816         (getVisibleRow): fix crash with empty paragraphs which have a
11817         bottom line
11818
11819 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11820
11821         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11822         code.
11823
11824 2001-09-04  José Matos  <jamatos@fep.up.pt>
11825         * buffer.C
11826         * buffer.h
11827         * tabular.C (docbook): rename docBook method to docbook.
11828
11829 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11830
11831         * Makefile.am: add dependencies to main.o.
11832
11833 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11834
11835         * FontLoader.C (available): Return false if !lyxrc.use_gui
11836
11837 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11838
11839         * FontInfo.C (query):
11840         * converter.C (view):
11841         * importer.C (Import):
11842         * exporter.C (Export): Can not -> cannot.
11843
11844 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * BufferView_pimpl.C: allow to create index inset even if
11847           string is empty
11848
11849 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * buffer.C (getLists): replace boost::tie code with an explicit pair
11852         as boost::tie can break some compilers.
11853
11854         * iterators.h: Added a std:: declaration to the return type of
11855         ParIterator::size.
11856
11857 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11860           case.
11861
11862 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11863
11864         * iterators.[Ch]: New files. Provide paragraph iterators.
11865
11866         * buffer.C (changeLanguage): Use paragraph iterators.
11867         (isMultiLingual): ditto
11868
11869         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11870
11871 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11872
11873         * FontLoader.C: Support for cmr font.
11874
11875 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11876
11877         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11878         (available): New method.
11879
11880         * FontInfo.C (getFontname): Use scalable fonts even when
11881         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11882         found.
11883
11884 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * converter.C (Formats::view): reverted! Incorrect fix.
11887
11888 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * converter.C (Formats::view): only output the -paper option
11891         if the dvi viewer is xdvi, thereby fixing bug #233429.
11892
11893 2001-08-23  Herbert Voss  <voss@perce>
11894
11895         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11896
11897 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11898
11899         * Spacing.h (Spacing): Set space to Default on in the default
11900         constructor.
11901
11902 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * vc-backend.h (RCS::versionString): add RCS to version
11905         (CVS::versionString): add CVS to version
11906
11907         * vc-backend.C (scanMaster): do not add CVS to version.
11908         (scanMaster): do not add RCS to version
11909
11910         * lyxvc.C (versionString): new method
11911
11912         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11913
11914 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * Spacing.C (set): initialize fval
11917
11918 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11919
11920         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11921         " or \.
11922
11923 2001-08-16  Juergen Vigna  <jug@sad.it>
11924
11925         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11926
11927 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * BufferView_pimpl.C:
11930         * figureForm.C:
11931         * lyxtext.h:
11932         * text2.C: setParagraph takes linespacing now
11933
11934 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * LyxAction.C: add internal LFUN_CITATION_INSERT
11937
11938         * LyXView.C: actually apply fix
11939
11940         * bufferlist.C: fix open non-existent file
11941
11942         * lyxfind.C: fix indentation
11943
11944         * lyxfunc.C: remove unneeded assert, fix typo
11945
11946 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * MenuBackend.C: use "Floatname List"
11949
11950 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11953         when converting LaTeX layout to insetERT.
11954         Generate a non-collapsed float when reading old float
11955
11956 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11957
11958         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11959         ERT insets.
11960
11961 2001-08-13  Juergen Vigna  <jug@sad.it>
11962
11963         * text.C (fill): return 0 instead of 20 as this seems to be the more
11964         correct value.
11965
11966 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11969         lyxrc.font_norm.
11970
11971 2001-08-13  Juergen Vigna  <jug@sad.it>
11972
11973         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11974         casesensitive off.
11975         (SearchBackward): comment out the unlocking of the inset_owner this
11976         should not be needed!
11977
11978 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11979
11980         * Many files: Remove inherit_language, and add latex_language
11981
11982         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11983         collapsible insets.
11984
11985 2001-08-10  Juergen Vigna  <jug@sad.it>
11986
11987         * text.C (prepareToPrint): fixed hfill-width in draw!
11988
11989         * BufferView2.C (selectLastWord): save the selection cursor as this
11990         now is cleared in the function LyXText::clearSelection!
11991
11992 2001-08-08  Juergen Vigna  <jug@sad.it>
11993
11994         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11995         BACKSPACE type functions.
11996
11997         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11998         is only cutted from the document but not put in the cut-buffer, where
11999         still the old stuff should be.
12000
12001         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12002
12003         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12004
12005         * tabular.C (SetWidthOfCell): fixed special case where the width
12006         was not updated!
12007         (LeftLine): handle '|' in align_special.
12008         (RightLine): ditto
12009         (LeftAlreadyDrawed): ditto
12010         (SetWidthOfCell): ditto
12011
12012 2001-08-07  Juergen Vigna  <jug@sad.it>
12013
12014         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12015
12016 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12019         * lyxlex.[hC]: ditto
12020
12021 2001-08-06  Juergen Vigna  <jug@sad.it>
12022
12023         * text.C (getVisibleRow): fix up row clearing a bit.
12024
12025 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * minibuffer.C: make sure the X server sees the changes in the input.
12028
12029 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * paragraph.C (getFont): split into...
12032         (getLabelFont): this
12033         (getLayoutFont): and this
12034         * paragraph_pimpl.C (realizeFont): calling this
12035
12036         * text2.C (getFont): split into...
12037         (getLayoutFont): this
12038         (getLabelFont): and this
12039         (realizeFont): all three calling this
12040
12041         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12042         files where used.
12043
12044 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12045
12046         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12047
12048 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12049
12050         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12051         layouts from the Quote inset insertion.
12052
12053 2001-08-03  Juergen Vigna  <jug@sad.it>
12054
12055         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12056
12057         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12058         only if status not is already CHANGED_IN_DRAW (second level).
12059
12060         * text.C (draw): don't set the need_break_row when inside an
12061         InsetText LyXText.
12062
12063 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * buffer.C (parseSingleLyXformat2Token): handle more latex
12066         conversion cases.
12067
12068         * bufferview_funcs.[hC]: change function names to
12069         begin with small char, adjust other files.
12070
12071 2001-08-02  André Pönitz <poenitz@gmx.net>
12072
12073         * lyxfunc.C:
12074         BufferView_pimpl.C: remove broken special code for math-greek
12075
12076 2001-08-02  Juergen Vigna  <jug@sad.it>
12077
12078         * BufferView_pimpl.C (update): redone this function so that we
12079         update the text again if there was a CHANGE_IN_DRAW.
12080
12081         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12082         (drawFromTo): added a new internal bool which is used by draw() and
12083         redraw() function.
12084         (general): some cursor drawing problems fixed.
12085
12086 2001-08-01  Juergen Vigna  <jug@sad.it>
12087
12088         * lyxfind.C (LyXFind): fixed
12089         (SearchForward): ditto
12090         (SearchBackward): ditto
12091
12092         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12093         spurius drawing of the cursor in the main area.
12094
12095         * text2.C (status): small fix which could lead to a segfault!
12096         (clearSelection): remove unneeded BufferView param.
12097
12098 2001-08-01  André Pönitz <poenitz@gmx.net>
12099
12100         * lyxfunc.C: small change due to changed mathed interface
12101
12102 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12103
12104         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12105
12106 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * lyxfunc.c: fail gracefully if file doesn't exist
12109
12110         * LyXSendto.C:
12111         * buffer.C:
12112         * lyxfunc.C:
12113         * BufferView_pimpl.C: IsDirWriteable() proto changed
12114
12115         * LyXView.C: fix updateWindowTitle() to store the last title
12116
12117 2001-07-31  Juergen Vigna  <jug@sad.it>
12118
12119         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12120         the font (wrong since using of Paragraph::highestFontInRange).
12121
12122         * paragraph.C (highestFontInRange): added a default_size parameter.
12123
12124         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12125         (setHeightOfRow): reformat
12126
12127 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * converter.[hC] + affected files: move to (inital-char)lowercase
12130         function names.
12131
12132         * ParagraphParameters.C (ParagraphParameters): remove commented code
12133
12134         * PainterBase.[Ch]: remove commented code
12135
12136         * LaTeXFeatures.h: add "bool floats" for float.sty
12137
12138         * LaTeXFeatures.C (LaTeXFeatures): init floats
12139         (require): handle float
12140         (getPackages): do it with floats
12141
12142 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12143
12144         * BufferView_pimpl.C (Dispatch): improve handling of
12145         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12146
12147         * commandtags.h: #include lyxfont.h here temporarily to avoid
12148         keybinding bug.
12149
12150         * bufferlist.h: include LString.h here.
12151
12152 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12153
12154         * text2.C (getStringToIndex): new method.
12155
12156 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12157
12158         * *: Reduced header file dependencies all over.
12159
12160 2001-07-30  Baruch Even  <baruch@lyx.org>
12161
12162         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12163
12164 2001-07-29  Baruch Even  <baruch@lyx.org>
12165
12166         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12167
12168 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * ParameterStruct.h (endif): add a default constructor to make
12171         sure that all variables is initialized.
12172
12173         * ParagraphParameters.C (ParagraphParameters): adjust
12174
12175 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12178         index; also, check that there is something to index, and that it
12179         does not span over several paragraphs.
12180         (doubleClick): use WHOLE_WORD_STRICT for double click.
12181
12182         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12183
12184         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12185         scheme.
12186
12187 2001-07-26  Baruch Even  <baruch@lyx.org>
12188
12189         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12190         an InsetFig figure, backwards compatible reading of old figure code.
12191
12192 2001-07-27  Juergen Vigna  <jug@sad.it>
12193
12194         * text2.C: font.realize function adaption.
12195
12196         * text.C (draw): add a warnings lyxerr text if needed.
12197
12198         * layout.C: font.realize function adaption.
12199
12200         * language.C: add inherit_language and implement it's handlings
12201
12202         * bufferview_funcs.C (StyleReset): remove language parameter from
12203         font creation (should be language_inherit now).
12204
12205         * bufferparams.C (writeFile): handle ignore_language.
12206
12207         * paragraph.C (getFontSettings): the language has to be resolved
12208         otherwise we have problems in LyXFont!
12209
12210         * lyxfont.C (lyxWriteChanges): added document_language parameter
12211         (update): removed unneeded language parameter
12212
12213         * paragraph.C (validate): fixed wrong output of color-package when
12214         using interface colors for certain fonts in certain environments,
12215         which should not seen as that on the final output.
12216
12217 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * BufferView_pimpl.C:
12220         * Thesaurus.h:
12221         * Thesaurus.C:
12222         * Makefile.am:
12223         * commandtags.h:
12224         * LyXAction.C: add thesaurus support
12225
12226         * lyxfind.h:
12227         * lyxfind.C: add "once" parameter, for thesaurus, to not
12228           move to the next match
12229
12230 2001-07-26  Juergen Vigna  <jug@sad.it>
12231
12232         * lyxfont.C (realize): honor ignore_language too!
12233         (resolved): ditto.
12234
12235         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12236
12237         * text.C (draw): one place more for ignore_language to not draw
12238         itself!
12239
12240 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12241
12242         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12243
12244 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12247         the minipage conversion problem.
12248
12249 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12252         insert an inset.
12253
12254 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * BufferView.h: don't forward declare WorkArea
12257
12258         * BufferView.C: don't include WorkArea.h
12259
12260 2001-07-25  André Pönitz <poenitz@gmx.net>
12261
12262         * commandtags.h:
12263         * LyXAction.C:
12264         * lyxfunc.C:  new LFUN 'math-space'
12265
12266         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12267
12268 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * text2.C (toggleInset): call open/close
12271
12272 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * lyxfunc.C (dispatch): add debug for the disabled case
12275
12276         * font.C (buttonText): make similar to rectText
12277
12278         * buffer.C (readInset): comment out parsing of insetlist and
12279         insttheorem
12280
12281         * PainterBase.C (rectText): small correction
12282
12283         * BufferView_pimpl.C: comment out insettheorem and insetlist
12284         * LyXAction.C: ditto
12285         * commandtags.h: ditto
12286
12287 2001-07-24  Juergen Vigna  <jug@sad.it>
12288
12289         * text.C (draw): honor the ignore_language.
12290
12291         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12292
12293 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12296         char inset.
12297
12298 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12299
12300         * lyxtext.h: remove unused (and unimplemented) methods
12301
12302 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12303
12304         * text.C (getVisibleRow): honor background color
12305
12306         * PainterBase.h:
12307         * Painter.h: remove default color argument for fillRectangle
12308
12309         * text.C (backgroundColor): new method
12310
12311 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * text.C (getVisibleRow): adjust
12314
12315         * font.[Ch] (rectText): new method, metrics
12316         (buttonText): new method, metrics
12317
12318         * PainterBase.[hC]: make rectText and buttonText always draw and take
12319         fewer paramteres.
12320
12321 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12322
12323         * ToolbarDefaults.C (read):
12324         * MenuBackend.C (read): allow escaping in all strings
12325
12326         * BufferView_pimpl.C (insertAndEditInset): new method.
12327         (Dispatch): use insertAndEditInset whenever appropriate.
12328
12329         * BufferView_pimpl.C (insertNote): removed
12330
12331         * BufferView_pimpl.C (smartQuote): new method, moved from
12332         BufferView; if an insetquote cannot be inserted, insert a '"'
12333         character instead.
12334
12335         * BufferView2.C: remove insertCorrectQuote();
12336
12337         * lyxfunc.C (getStatus): Add support for all remaingin
12338         inset-insert lfuns.
12339
12340         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12341
12342         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12343         command (necessary to pass " as parameter of self-insert.
12344
12345         * text.C (selectWordWhenUnderCursor):
12346         (selectWord): add word_location parameter
12347         (selectWordWhenUnderCursor): same + remove special code for word
12348         boundary.
12349         (selectNextWord): use kind() to guess type of insetspecialchar,
12350         not latex().
12351
12352         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12353         (insertErtContents): create ert insets as collapsed.
12354         (readInset): better compatibility code for Info inset.
12355
12356 2001-07-20  Juergen Vigna  <jug@sad.it>
12357
12358         * lyxfunc.C (dispatch): use always LyXFind now!
12359
12360         * text2.C (init): add a reinit flag so that the LyXText can be
12361         reinited instead of deleted and reallocated (used in InsetText).
12362
12363         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12364
12365         * text.C: ditto
12366
12367         * text2.C: ditto
12368
12369 2001-07-18  Juergen Vigna  <jug@sad.it>
12370
12371         * text.C (selectNextWord): handle insets inside inset by calling
12372         always the bv->text functions so that we can go up the_locking_inset!
12373
12374         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12375         in strange locations when inside an inset!
12376
12377         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12378         handling to include insets.
12379
12380         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12381
12382 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12383
12384         * LyXAction.C (init):
12385         * commandtags.h:
12386         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12387         LIGATURE_BREAK, since the name is so stupid.
12388
12389 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12392         InsetInfos.
12393
12394         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12395
12396         * sp_form.[Ch]: remove.
12397
12398         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12399
12400         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12401         InsetInfo.
12402
12403         * src/buffer.C (readInset): ditto.
12404
12405 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12406
12407         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12408         menuSeparator(), endOfSentenceDot(), ldots() and
12409         hyphenationPoint(), which are therefore removed.
12410         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12411
12412         * LyXAction.C (init):
12413         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12414
12415         * paragraph.C (getWord): removed.
12416
12417         * BufferView_pimpl.C (Dispatch): use last word or selection for
12418         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12419
12420         * lyx_main.C (queryUserLyXDir): do not ask before creating
12421         user_dir, except if it has been named explicitely.
12422
12423 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12424
12425         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12426         a document of zero size.
12427
12428 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12431         approriately in the c-tor and in require().
12432         (getPackages): output the appropriate LaTeX for natbib support.
12433
12434         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12435         variables "use_natbib" and "use_numerical_citations" when reading the
12436         LyX file.
12437         (readInset): read the various natbib cite commands.
12438         (validate): white-space change.
12439
12440         * bufferparams.[Ch]: new variables "bool use_natbib" and
12441         "bool use_numerical_citations".
12442         (writeFile): output them in the LyX file.
12443
12444 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12445
12446         * lyxfunc.C (getStatus): add support for all the inset insertion
12447         commands.
12448
12449         * text2.C (insertInset):
12450         * paragraph.C (insetAllowed):
12451         * BufferView_pimpl.C (insertInset): update to take in account the
12452         renaming of insertInsetAllowed
12453
12454         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12455
12456         * text2.C (getInset): new method. returns inset at cursor position.
12457
12458         * BufferView_pimpl.C (Dispatch): changes because of this.
12459
12460         * LyXAction.C (init): rename open-stuff to inset-toggle.
12461
12462         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12463
12464         * text2.C (toggleInset): renamed from openStuff; use
12465         Inset::open().
12466
12467 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12468
12469         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12470
12471         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12472
12473 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12474
12475         * buffer.C (readLyXformat2): Add filename to the error dialog
12476
12477 2001-07-18  Juergen Vigna  <jug@sad.it>
12478
12479         * tabular.C (GetCellNumber): put an assert here instead of the check!
12480
12481 2001-07-17  Juergen Vigna  <jug@sad.it>
12482
12483         * BufferView_pimpl.C (toggleSelection): adapted too.
12484
12485         * text.C (selectNextWord): adapted for use with insets.
12486         (selectSelectedWord): ditto
12487
12488 2001-07-17  Juergen Vigna  <jug@sad.it>
12489
12490         * sp_spell.C (PSpell): fix initialitation order.
12491
12492 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * paragraph.C: spacing
12495
12496 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12497
12498         * sp_spell.C: repair language selection for pspell
12499
12500 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * lyxfunc.h: change more methods to begin with lower char.
12503
12504 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12505
12506         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12507         for unknown layouts.
12508
12509 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12510
12511         * buffer.C (readLyXformat2): Generate an error dialog if there are
12512         unknown layouts.
12513
12514 2001-07-16  Juergen Vigna  <jug@sad.it>
12515
12516         * sp_spell.C: always compile ISpell part.
12517
12518         * lyxrc.C: added use_pspell entry and it's handling.
12519
12520 2001-07-13  Juergen Vigna  <jug@sad.it>
12521
12522         * sp_spell.C: removed double includes.
12523
12524 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         Consistent use of Lsstream.h:
12527         * Lsstream.h: added using std::stringstream for consistencies sake.
12528
12529         * buffer.C: removed using std::stringstream
12530
12531         * lyxfont.C (stateText):
12532         * paragraph.C (asString):
12533         * text.C (selectNextWord, selectSelectedWord):
12534         * text2.C (setCounter):
12535         * vspace.C (asString, asLatexString):
12536         std::ostringstream -> ostringstream.
12537
12538 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12539
12540         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12541         * commandtags.h: add LFUN_HELP_ABOUTLYX
12542         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12543
12544 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12545
12546         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12547         cursorToggle()
12548         * lyx_gui_misc.C: remove spellchecker
12549         * lyxfunc.C: showSpellchecker
12550         * sp_base.h: added
12551         * sp_ispell.h: added
12552         * sp_pspell.h: added
12553         * sp_spell.C: added
12554         * sp_form.[Ch]: removed
12555         * spellchecker.[Ch]: removed
12556
12557 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12558
12559         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12560         is set.
12561         (simpleTeXSpecialChars): Simply print the input character without
12562         any special translation if pass_thru is set.
12563
12564         * layout.h: Added bool pass_thru to layout class for being able to
12565         implement pass through of a paragraph for Literate Programming.
12566
12567         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12568         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12569         * layout.C (Read): add "passthru" to list of layout tags and add
12570         code to set the pass_thru boolean when it is read.
12571
12572 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * trans_decl.h: remove allowed from KmodInfo
12575
12576         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12577         remove allowed code
12578         (Load): adjust
12579
12580         * paragraph_pimpl.C (erase): use boost::prior
12581
12582         * Painter.C (text): use data() instead of c_str() when length is
12583         also provided.
12584         * WorkArea.C (putClipboard): ditto
12585         * font.h (width): ditto
12586
12587         * BufferView2.C: use it-> instead of (*it). for iterators
12588         * texrow.C: ditto
12589         * paragraph_pimpl.C: ditto
12590         * paragraph.C: ditto
12591         * minibuffer.C: ditto
12592         * language.C: ditto
12593         * kbmap.C: ditto
12594         * encoding.C: ditto
12595         * counters.C: ditto
12596         * converter.C: ditto
12597         * chset.C: ditto
12598         * Variables.C: ditto
12599         * TextCache.C: ditto
12600         * MenuBackend.C: ditto
12601         * LyXAction.C: ditto
12602         * LColor.C: ditto
12603         * FloatList.C: ditto
12604         * DepTable.C: ditto
12605         * ColorHandler.C (LyXColorHandler): ditto
12606
12607 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12608
12609         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12610
12611         * text2.C (openStuff): reintroduce this method (which had been
12612         nuked in NEW_INSETS frenzy).
12613
12614         * lyxfunc.C (Dispatch): when an action has not been handled, use
12615         its name in the error message, not its number.
12616
12617         * paragraph.C (inInset): change method name to begin with lowercase.
12618
12619         * undo_funcs.C:
12620         * text2.C: updates because of this.
12621
12622 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12623
12624         * ToolbarDefaults.C (add): add spaces in error message
12625
12626 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12629         (readLyXformat2): rename return_par to first_par, use lyxlex's
12630         pushToken and remove the manual push handling.
12631         (parseSingleLyXformat2Token): add another ert comp. variable:
12632         in_tabular, rename return_par to first_par. handle newlines better
12633
12634 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12637
12638 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * text2.C (getParFromID): removed
12641
12642         * buffer.C (getParFromID): new method moved form lyxtext.
12643         * BufferView2.C (insertErrors): adjust
12644         (setCursorFromRow): adjust
12645         * BufferView_pimpl.C (restorePosition): adjust
12646         * lyxfunc.C (Dispatch): adjust
12647         * undo_funcs.C (textUndo): adjust
12648         (textRedo): adjust
12649         (textHandleUndo): adjust
12650         (textHandleUndo): adjust
12651
12652 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * buffer.C: up' the LYX_FORMAT
12655
12656         * lyxfont.h: turn NO_LATEX on as default
12657
12658         * buffer.C (insertErtContents): new methods of tex style compability.
12659         (parseSingleLyXformat2Token): use it several places.
12660         * tabular.C (OldFormatRead): and here
12661
12662 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * text2.C: remove some commented code.
12665         reindent file.
12666
12667         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12668         * trans.C: changes because of the above.
12669
12670 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12671
12672         * text2.C (setCounter): Fix counters bug with bibliography layout.
12673
12674 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12677         own member functions
12678         (simpleTeXSpecialChars): ditto
12679
12680 2001-07-06  Juergen Vigna  <jug@sad.it>
12681
12682         * a lot of files: changed the access to LyXText::status and the
12683         call of undo-functions.
12684
12685         * undo.[Ch]: added a inset_id to the undo informations.
12686
12687         * undo_funcs.[Ch]: added and moved here all undo functions.
12688
12689         * lyxtext.h: give the status enum a weight, made status_ a private
12690         variable and made accessor functions for it, removed the whole bunch
12691         of undo-functions as they are now in their own file, make some
12692         functions publically available. Added function ownerParagraph with
12693         int parameter.
12694
12695         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12696         made InInset() a const function, added getParFromID() function.
12697
12698         * buffer.[Ch]: added const version for inset_iterator functions,
12699         added getInsetFromID() function.
12700
12701         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12702         changed undo functions for new version.
12703
12704 2001-07-05  Juergen Vigna  <jug@sad.it>
12705
12706         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12707         unknow mechanism does not call the proper constructor but only this
12708         one also if I request the other!?
12709
12710 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12713
12714         * text2.C (LyXText): use initialization lists.
12715
12716         * lyxtext.h (Selection): initialize set_ and mark_
12717         (init): remove method
12718
12719 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12720
12721         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12722
12723 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * screen.[Ch]: change method names to begin with lowercase
12726
12727         * BufferView_pimpl.C (updateScrollbar): simplify further and
12728         hopefully make it a bit faster.
12729
12730 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12733         calling directly xforms functions.
12734
12735         * Painter.C (Painter):
12736         * lyx_cb.C (MenuWrite):
12737         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12738         fl_display.
12739
12740         * lyx_gui.C: remove bogus guiruntime extern declaration.
12741
12742 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12743
12744         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12745         in NEW_INSETS
12746         (redoDrawingOfParagraph): ditto
12747         (redoParagraphs): ditto
12748         (cutSelection): don't create a object for CutAndPaste use the
12749         static method directly
12750         (pasteSelection): ditto
12751
12752         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12753         LyXview (+ rename)
12754
12755 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * modifications to some other files because of this.
12758
12759         * Makefile.am (lyx_SOURCES): add XFormsView
12760
12761         * XFormsView.[Ch]: new files
12762
12763         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12764         the main window. Move the gui dependent stuff to XFormsView
12765
12766 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * tabular.C (GetCellInset): update cur_cell also in the row/col
12769         version of this function.
12770
12771         * lyxfunc.C: no need to include figure_form.h here.
12772
12773         * FontLoader.h:
12774         * lyxfunc.h:
12775         * lyxscreen.h:
12776         * text2.C:
12777         * lyxvc.C: no need to include forms.h here.
12778
12779 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12782
12783         * lyxfunc.C (Dispatch):
12784         * Spacing.C (set):
12785         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12786         constructor argument.
12787
12788 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * paragraph.C (Paragraph): dont't clear, and just set layout.
12791         (makeSameLayout): use params's copy contructor.
12792
12793         * ParagraphParameters.[Ch] (makeSame): delete method
12794
12795 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * Variables.[Ch]: fix indentation, rename set to isSet
12798
12799 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * lyxfunc.C (Dispatch): fix typo
12802
12803 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12804
12805         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12806         upper_bound.
12807
12808         * bufferlist.C: include assert.h for emergencyWrite().
12809
12810 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12813           give up at last (bug #425202) !
12814
12815 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * lyx_gui_misc.C:
12818         * sp_form.h:
12819         * sp_form.C:
12820         * spellchecker.h:
12821         * spellchecker.C: strip spellchecker options and bring up
12822           preferences tab instead
12823
12824 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12827         the istringstream constructor
12828
12829 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12830
12831         * paragraph.C (getLayout): fix return value
12832
12833         * paragraph.h: do not declare getLayout as inline.
12834
12835         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12836
12837 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * lyxcursor.h (operator<): new func
12840         (operator>): new func
12841         (operator>=): new func
12842         (operator<=): new func
12843
12844         * text.C (changeCase): use selection.start and selection.end
12845         (changeRegionCase): require from to be <= to. Require par to be a
12846         valid paragraph.
12847
12848         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12849
12850 2001-06-27  Juergen Vigna  <jug@sad.it>
12851
12852         * text.C (cursorLeftOneWord): changed to return the cursor and added
12853         overlay with BufferView * parameter which calls this one.
12854         (getWord): added
12855         (selectWord): use new getWord function.
12856         (changeCase): renamed from changeWordCase as and extended to work
12857         also on selections.
12858
12859         * lyxtext.h: added enum word_location
12860
12861         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12862         changeCase as this operates now also on selections.
12863
12864 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12865
12866         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12867
12868         * many files: send debug output to Debug::INFO instead of
12869         Debug::ANY.
12870
12871         * converter.C (View):
12872         (Convert):
12873         (Move): send debug output to Debug::FILES instead of console.
12874
12875 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12876
12877         * lyxfunc.C (getStatus): use func_status
12878
12879         * func_status.h: new header, describing the results of
12880         LyXFunc::getStatus;
12881
12882         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12883         LFUN_MATH_HALIGN.
12884
12885 2001-06-25  The LyX Project  <jug@sad.it>
12886
12887         * buffer.C (sgmlOpenTag):
12888         (sgmlCloseTag):
12889         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12890
12891 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * text2.C: remove some dead code
12894
12895         * tabular.C (GetCellInset): store the last cell checked (gotten)
12896
12897         * tabular.h: add the helper for the speedup
12898
12899         * lyxtext.h: remove some dead code
12900
12901 2001-06-26  The LyX Project  <Asger>
12902
12903         * paragraph.C: Change export to LaTeX of alignment to
12904         \begin{center} and family for better roundtrip work with reLyX.
12905
12906         * Tune the math drawing a bit.
12907
12908 2001-06-25  The LyX Project  <Asger>
12909
12910         * LColor.C (LColor): New color for math background. New color
12911         for buttons.
12912
12913 2001-06-25  The LyX Project  <jug@sad.it>
12914
12915         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12916
12917         * lyxfunc.C (Open):
12918         * bufferlist.C (newFile): do not restrict to files ending with
12919         .lyx
12920
12921         * BufferView_pimpl.C (MenuInsertLyXFile):
12922
12923 2001-06-24  The LyX Project  <jug@sad.it>
12924
12925         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12926         of compare_no_case
12927
12928 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * lyxtext.h: rename most methods to begin with a small char.
12931         Lots of changes because of this.
12932
12933         * paragraph.C (Paragraph): do not call fitToSize
12934         (erase): call Pimpl::erase
12935         (insertChar): call Pimpl::insertChar
12936         (insertInset): call Pipl::insertInset
12937         (breakParagraph): do not call fitToSize
12938         (breakParagraphConservative): do not call fitToSize
12939         (fitToSize): remove method
12940
12941         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12942
12943 2001-06-24  The LyX Project  <Asger>
12944
12945         * Fix Qt compilation^2
12946
12947 2001-06-24  The LyX Project  <jug@sad.it>
12948
12949         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12950         depthHook(getDepth()-1).
12951
12952         * paragraph.h:
12953         * ParagraphParameters.h:
12954         * ParameterStruct.h: change type of depth to unsigned int ==
12955         depth_type. Many adaptations to other files before of that.
12956
12957 2001-06-24  The LyX Project  <Asger>
12958
12959         * Fix Qt compilation.
12960
12961 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * paragraph.h: renamed several methods to begin with small letter.
12964         several changes to many parts of the code because of this.
12965
12966 2001-06-23  The LyX Project  <jug@sad.it>
12967
12968         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12969         rewritten to discard all double spaces when KeepEmpty is off
12970         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12971         to only handle newlines but not fiddle with spaces and friends.
12972
12973         * lyxfunc.C (MenuNew): when doing 'new from template', use
12974         template_path as default directory
12975
12976 2001-06-23  The LyX Project  <Asger>
12977
12978         * Clean-up of header file includes all over
12979         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12980
12981 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * paragraph.h: renamed from lyxparagraph.h
12984
12985 2001-06-23  Asger  <lyx@violet.home.sad.it>
12986
12987         * Buffer.h: Removed Buffer::resize
12988         * BufferList.h: Removed BufferList::resize
12989         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12990         the document lazily when we change the width, or the font settings.
12991
12992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12995
12996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * buffer.h: remove out of date comment
12999
13000 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * lyxscreen.h:
13003         * screen.C: fix "theoretical" GC leak
13004
13005 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13006
13007         * LaTeX.C (scanAuxFile):
13008         (deplog): remove trailing \r when reading stream (useful under
13009         win32)
13010
13011 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13012
13013         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13014         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13015         and BufferView::theLockingInset(Inset*), so should use them and not
13016         access bv_->text->the_locking_inset directly.
13017
13018         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13019
13020 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * Makefile.am:
13023         * tex-defs.h: remove old unused file
13024
13025 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * BufferView_pimpl.C: fix typo, remove minibuffer message
13028           when buffer has loaded
13029
13030 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * lyxfunc.C (Dispatch): use stringstream
13033         (MenuNew): use stringstream
13034         (Open): use stringstream
13035
13036         * importer.C (Import): use stringstream
13037
13038         * bufferview_funcs.C (CurrentState): use stringstream
13039
13040         * LaTeX.C (run): use stringstream
13041
13042         * BufferView_pimpl.C (savePosition): use stringstream
13043         (restorePosition): use stringstream
13044         (MenuInsertLyXFile): use stringstream
13045
13046 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13047
13048         * BufferView.C:
13049         * Bullet.C:
13050         * ColorHandler.C:
13051         * FontInfo.C:
13052         * FontLoader.C:
13053         * LColor.C:
13054         * LaTeXFeatures.C:
13055         * Painter.C:
13056         * gettext.C:
13057         * lyx_gui_misc.C:
13058         * lyxserver.C:
13059         * vspace.C: removed // -*- C++ -*- as first line.
13060
13061         * lyxfind.h:
13062         * version.h: added // -*- C++ -*- as first line.
13063
13064 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13067
13068         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13069         of string
13070
13071 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13072
13073         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13074         of floats.
13075
13076 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * gettext.C: include LString.h even when --disable-nls is on.
13079
13080 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * converter.h (Get): changed argument type from int to
13083         FormatList::size_type to avoid unnecessary conversion.
13084
13085         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13086         before using it.
13087
13088 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * gettext.h: include LString.h even when --disable-nls is on.
13091
13092 2001-06-07  Juergen Vigna  <jug@sad.it>
13093
13094         * text.C (BreakAgain): subst spaces with tabs.
13095
13096         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13097         (resizeInsetsLyXText): set force on resizeLyXText.
13098
13099 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * gettext.h (gettext_init):
13102         (locale_init): use a real definition instead of a macro
13103
13104 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * Bufferview_pimpl.C:
13107         * LColor.h:
13108         * LColor.C: further lcolor tidies
13109
13110 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * BufferView_pimpl.C (updateScrollbar): simplify.
13113
13114         * BufferView2.C: don't include insets/insetinfo.h, change
13115         prototype for insertInset and call the Pimpl version. let
13116         updateInset call Pimpl version.
13117
13118         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13119         gotoInset to BufferView::Pimpl
13120
13121 2001-06-01  Juergen Vigna  <jug@sad.it>
13122
13123         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13124         inside a LockingInset (is the update needed at all?).
13125
13126 2001-05-31  Juergen Vigna  <jug@sad.it>
13127
13128         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13129         here not the old one otherwise how should we compare it afterwards
13130         if it's the same!
13131
13132 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * lyxfont.C:
13135         * tabular.C:
13136         * tabular-old.C:
13137         * FontInfo.C: bring C functions into global namespace when
13138         necessary
13139
13140 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * LString.h: make sure config.h has been loaded before LString.h.
13143
13144         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13145         (one for each char read by EatLine!).
13146
13147         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13148         variables.
13149
13150 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13153         to the same as the par we break from
13154
13155 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13158
13159         * MenuBackend.C (expand): also create menu entries for wide
13160         versions of the floats.
13161
13162         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13163
13164         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13165
13166         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13167         frontends/Makefile.am
13168
13169         * text2.C: adjust
13170         * text.C: adjust
13171
13172
13173         * tabular.C (getTokenValue): add std::
13174
13175         * tabular-old.C (getTokenValue): add std::
13176         (getTokenValue): ditto
13177         (getTokenValue): ditto
13178
13179         * screen.C (ToggleSelection): adjust
13180
13181         * lyxtext.h: put selection cursors inside a Selection struct.
13182
13183         * lyxfunc.C (moveCursorUpdate): adjust
13184
13185         * lyxfont.C (latexWriteStartChanges): add std::
13186
13187         * lyxfind.C: adjust
13188
13189         * font.h: delete with(char const *, LyXFont const &)
13190
13191         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13192
13193         * FontInfo.C (getFontname): add std::
13194
13195         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13196         (workAreaButtonPress): adjust
13197         (tripleClick): adjust
13198         (update): adjust
13199         (moveCursorUpdate): adjust
13200         (Dispatch): adjust
13201
13202         * BufferView2.C (gotoInset): adjust
13203
13204 2001-05-30  Juergen Vigna  <jug@sad.it>
13205
13206         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13207         to check pspell I add this as default as I now have new pspell
13208         libraries and they seem to use this.
13209
13210 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * text2.C (CutSelection): make the cursor valid before the call to
13213         ClearSelection.
13214
13215 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13218         relied on 0 terminated strings and other horrors. Bug found due to
13219         the new assert in lyxstring!
13220
13221         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13222         KP_ keys.
13223
13224 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13227         to latinkeys.bind.
13228
13229         * lyxfunc.C (processKeySym): change method of getting to the
13230         self-insert char.
13231
13232         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13233         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13234         * BufferView_pimpl.[Ch]: here as private methods.
13235
13236 2001-05-28  Juergen Vigna  <jug@sad.it>
13237
13238         * text.C (SetHeightOfRow): added the update() call again as it is
13239         needed to initialize inset dimensions!
13240
13241 2001-05-16  Juergen Vigna  <jug@sad.it>
13242
13243         * text2.C (SetCharFont): Add new function with BufferView * and
13244         bool toggleall parameters for setting insets internal fonts.
13245         (SetFont): Freeze the undo as we may change fonts in Insets and
13246         all this change should be inside only one Undo!
13247
13248         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13249         setting font's in insets as for them we have the SetFont function!
13250
13251 2001-05-15  Juergen Vigna  <jug@sad.it>
13252
13253         * text2.C (ClearSelection): to be sure we REALLY don't have any
13254         selection anymore!
13255
13256         * tabular.C (TeXCellPreamble): fixed the left border problem for
13257         multicolumn cells.
13258
13259 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13260
13261         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13262         dependancy file
13263
13264 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13267         LFUN_BREAKPARAGRAPH.
13268
13269         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13270         help test to "internal only", similar for LFUN_INSERT_URL
13271
13272         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13273         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13274         auto_region_delete and deadkeys.
13275
13276 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * LColor.h:
13279         * LColor.C: remove some dead entries, tidy a little
13280
13281 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13284         commented code.
13285         (Dispatch): implement LFUN_ESCAPE
13286
13287         * commandtags.h: add LFUN_ESCAPE
13288
13289         * LyXAction.C (init): add entry for LFUN_ESCAPE
13290
13291         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13292         Remove commented code.
13293         (insertNote): moved here
13294         (open_new_inset): moved here
13295
13296         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13297         BufferView_pimpl
13298
13299 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * kbmap.C (findbinding): clean it up and make it work correctly.
13302
13303         * lyx_main.C (init): do not pass argc and argv as parameters
13304
13305 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13306
13307         * buffer.C: fix path for OS/2 & Win32
13308
13309         * lyx_gui.C:
13310         * lyx_main:
13311         * lyx_main.C: Added os:: class.
13312
13313         * os2_defines.h: update
13314
13315 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13318         better by trying again with reduced state.
13319
13320 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * lyxrc.C (read): print error about invalid key sequence only when
13323         debugging (because not all latinX keysyms are known to some X
13324         servers)
13325
13326         * kbsequence.C (getiso): add a few std:: qualifiers
13327         (getiso): comment out extra return statement.
13328
13329 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13332         handling.
13333         (Dispatch): enhance the accent inset a bit. (not perfect)
13334
13335 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13338
13339 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * bufferlist.C (emergencyWrite): fix assert() call
13342
13343 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13344
13345         * text.C (InsertChar): Added trivial patch to only send the "you
13346         can not do multiple spaces this way" message once during a
13347         session.
13348
13349 2001-05-08  Baruch Even  <baruch@lyx.org>
13350
13351         * Makefile.am: Changed order of libraries to get LyX to link properly
13352         with the gnome frontend.
13353
13354 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * LaTeXFeatures.h: add a std:: qualifier
13357
13358 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * paragraph.C (String): use stringstream
13361
13362 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C (writeFile): remove footflag arg
13365
13366         * buffer.C (makeLaTeXFile): use stringstream
13367         (latexParagraphs): remove footnot gurba
13368
13369         * LaTeXFeatures.C (getPackages): use stringstream
13370         (getMacros): likewise
13371         (getTClassPreamble): likewise
13372         (getFloatDefinitions): new method
13373
13374         * paragraph.C (writeFile): reindent
13375         (Erase): reindent
13376
13377         * WorkArea.h: revert the xpos + etc changes.
13378
13379         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13380
13381         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13382
13383         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13384         (pasteSelection): likewise
13385         * text2.C (CreateUndo): likewise
13386
13387 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * minibuffer.C (peek_event): temporarily reduce the functionality
13390         of the minibuffer (to allow args on lfuns)
13391
13392         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13393         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13394
13395         * buffer.C (readInset): add compability reading of old float
13396         lists, add reading of new style float list.
13397         (readInset): avoid reevaluation of inscmd.getCmdName()
13398         (getLists): reindent
13399
13400         * MenuBackend.C (MenuItem): implement parsing of
13401         md_floatlistinsert and md_floatinsert.
13402         (expand::LastFiles): move initalizaton of iterators out of loop,
13403         avoid reevaluation.
13404         (expand::Documents): introduce typdedef vector<string> Strings,
13405         and use it.
13406         (expand::ExportFormats): introduce typedef vector<Format const *>
13407         Formats, and use it.
13408         (expand): implement FloatListInsert and FloatInsert.
13409
13410         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13411         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13412         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13413
13414         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13415         handling.
13416         (Dispatch::LFUN_FLOAT_LIST): implement
13417
13418 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13419
13420         * LaTeX.C (run): Fix problem with --export code.
13421
13422 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * BufferView.[Ch] (workarea): removed.
13425         (getClipboard) new method; wrapper for workarea()->getClipboard()
13426
13427         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13428         bug.
13429
13430         * WorkArea.h (width, height, xpos, ypos): These methods all
13431         returned the dimensions of the work_area sub-area of WorkArea,
13432         resulting in a position error if the WorkArea were resized. Now
13433         return the dimensions of the entire WorkArea.
13434
13435         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13436
13437 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * LaTeX.C (deplog): correct the syntax of regex reg1
13440
13441 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * undo.C: remove !NEW_INSETS cruft
13444
13445 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * text2.C: remove !NEW_INSETS cruft
13448
13449         * text.C: remove !NEW_INSETS cruft
13450
13451         * tabular.C: remove !NEW_INSETS cruft
13452
13453         * spellchecker.C: remove !NEW_INSETS cruft
13454
13455         * lyxtext.h: remove !NEW_INSETS cruft
13456
13457         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13458
13459         * lyxfunc.C: remove !NEW_INSETS cruft
13460
13461         * lyxfind.C: remove !NEW_INSETS cruft
13462
13463         * lyx_cb.C: remove !NEW_INSETS cruft
13464
13465         * figureForm.C: remove  !NEW_INSETS cruft
13466
13467         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13468
13469         * buffer.[Ch]: remove !NEW_INSETS cruft
13470
13471         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13472
13473         * CutAndPaste.C: remove !NEW_INSETS cruft
13474
13475         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13476
13477         * BufferView2.C: remove !NEW_INSETS cruft
13478
13479         * BufferView.h: remove !NEW_INSETS cruft
13480
13481 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * Lsstream.h: include LString.h before the sstream headers to
13484         fix problem with gcc 2.95.3 and lyxstring
13485
13486 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13487
13488         * lyx_main.C: add using directives when needed for C functions
13489         declared in std:: namespace.
13490
13491 2001-04-27  Juergen Vigna  <jug@sad.it>
13492
13493         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13494         (SetHeightOfRow): comment out the update call should not be needed!
13495
13496 2001-04-13  Juergen Vigna  <jug@sad.it>
13497
13498         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13499         (LyXTabular): tried to minimize operator= operations (and realized
13500         hopfully Lars wish).
13501
13502 2001-04-27  Juergen Vigna  <jug@sad.it>
13503
13504         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13505
13506 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13509
13510         * buffer.C (readInset): hack to make listof algorithm work
13511
13512         * BufferView_pimpl.C: hack to make listof algorithm work
13513
13514 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * LyXAction.C: removed all !NEW_INSETS cruft
13517         (init): moved lfun_item in method
13518
13519         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13520
13521 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * BufferView2.C (theLockingInset): white space.
13524
13525 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13526
13527         * minibuffer.C: include <iostream>
13528
13529         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13530
13531         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13532
13533         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13534
13535         * text.[Ch] (TransposeChars): new method
13536
13537 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * call message directly through LyXView instead of through LyXFunc
13540         * BufferView2.C: adjust
13541         * BufferView_pimpl.C: adjust
13542         * FontLoader.C: adjust
13543         * buffer.C: adjust
13544         * bufferview_funcs.C: adjust
13545         * converter.C: adjust
13546         * figureForm.C: adjust
13547         * importer.C: adjust
13548         * lyx_cb.C: adjust
13549         * lyx_gui_misc.C: adjust
13550         * lyxfunc.C: adjust
13551         * lyxvc.C: adjust
13552         * text2.C: adjust
13553         + more files in subdirs
13554
13555         * lyxparagraph.h (size): move up int file
13556         (GetLayout): ditto
13557
13558         * adjust all uses of Assert to lyx::Assert.
13559
13560         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13561         lyxfunctional in namespace lyx
13562         * layout.C (hasLayout): ditto
13563         (GetLayout): ditto
13564         (GetLayout): ditto
13565         (delete_layout): ditto
13566         (NumberOfClass): ditto
13567         * converter.C (GetFormat): ditto
13568         (GetNumber): ditto
13569         (Add): ditto
13570         (Delete): ditto
13571         (SetViewer): ditto
13572         * bufferlist.C (getFileNames): ditto
13573         (emergencyWriteAll): ditto
13574         (exists): ditto
13575         (getBuffer): ditto
13576         * MenuBackend.C (hasSubmenu): ditto
13577         (hasMenu): ditto
13578         (getMenu): ditto
13579         * BufferView_pimpl.C (getInsetByCode): ditto
13580
13581 2001-04-18  Juergen Vigna  <jug@sad.it>
13582
13583         * vspace.C (asLatexString): fixed the 100% problem.
13584
13585 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * lyxfunc.C (Dispatch):
13588         * minibuffer.C:
13589         * minibuffer.h: add a few std:: qualifiers
13590
13591 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * minibuffer.[Ch]: reimplement so that commands is initiated and
13594         run from lyxfunc, simplified som handling, and made the completion
13595         and history code for complete. wip.
13596
13597         * lyxfunc.C (processKeySym): call message
13598         (miniDispatch): new temporary method
13599         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13600         (LFUN_MESSAGE): implement
13601         (LFUN_MESSAGE_PUSH): implement
13602         (LFUN_MESSAGE_POP): implement
13603         (initMiniBuffer): the initial/defualt minibuffer message.
13604
13605         * lyxfont.[Ch]: inline some more getters
13606
13607         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13608
13609         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13610
13611         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13612         (AutoSave): use LFUN_MESSAGE
13613         (Reconfigure): ditto
13614
13615         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13616
13617         * figureForm.C: use LFUN_MESSAGE
13618
13619         * converter.C (runLaTeX): use LFUN_MESSAGE
13620
13621         * bufferview_funcs.C: use LFUN_MESSAGE
13622         (Melt): ditto
13623         (changeDepth): ditto
13624
13625         * bufferparams.h: use boost::
13626
13627         * bufferlist.h: inherit privately from noncopyable
13628
13629         * bufferlist.C (loadLyXFile): remove some commented code.
13630
13631         * buffer.C (runChktex): use LFUN_MESSAGE
13632
13633         * ShareContainer.h: inherit privately from noncopyable
13634
13635         * ParagraphParameters.[hC] (depth): inline it.
13636
13637         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13638         methods.
13639         (message): new method
13640         (messagePush): ditto
13641         (messagePop): ditto
13642         (show): init minibuffer
13643         (showState): direct call
13644
13645         * LaTeX.[Ch]: inherit privately from noncopyable
13646         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13647         instead of WriteStatus.
13648
13649         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13650
13651         * BufferView_pimpl.C (buffer): don't init minibuffer
13652         (workAreaButtonPress): use LFUN_MESSAGE
13653         (workAreaButtonRelease): ditto
13654         (savePosition): ditto
13655         (restorePosition): ditto
13656         (MenuInsertLyXFile): ditto
13657         (workAreaExpose): don't init minibuffer
13658         (update): remove commented code, simplify
13659
13660         * BufferView2.C (openStuff): use LFUN_MESSAGE
13661         (toggleFloat): ditto
13662         (menuUndo): ditto
13663         (menuRedo): ditto
13664         (copyEnvironment): ditto
13665         (pasteEnvironment): ditto
13666         (copy): ditto
13667         (cut): ditto
13668         (paste): ditto
13669         (gotoInset): ditto
13670         (updateInset): remove some commented code
13671
13672         * lastfiles.h: inherit privately from noncopyable
13673         * layout.h: ditto
13674         * lyx_gui.h: ditto
13675         * lyx_main.h: ditto
13676         * lyxlex.h: ditto
13677         * lyxlex_pimpl.h: ditto
13678
13679         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13680         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13681         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13682
13683         * LyXAction.h: inherit privately from noncopyable, add methods
13684         func_begin, func_end, returning iterators to the func map.
13685
13686         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13687         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13688         (func_begin): new method
13689         (func_end): new method
13690
13691         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13692         and not)
13693         (copySelection): ditto
13694         (pasteSelection): ditto
13695
13696         * BufferView.C: whitespace change
13697         * BufferView.h: inherit privately from noncopyable
13698
13699 2001-04-16  Allan Rae  <rae@lyx.org>
13700
13701         * tabular-old.C (l_getline):
13702         * spellchecker.C (sc_check_word):
13703         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13704         an unrecognised preprocessor directive.  So ensure they're wrapped.
13705
13706 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13707
13708         * src/exporter.C (Export): Give an error message when path to file
13709         contains spaces.
13710
13711 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13712
13713         * LaTeX.C (deplog): Always check that foundfile exists.
13714
13715 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * lyx_main.h:
13718         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13719
13720 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * tabular.[Ch] (getLabelList): implement new method
13723
13724         * minibuffer.h: comment ouf setTiimer
13725
13726         * minibuffer.C (ExecutingCB): constify res
13727         (peek_event): constify s
13728         (Set): constify ntext
13729         (Init): constify nicename
13730
13731         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13732
13733         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13734         (savePosition): use two params to Minibuffer::Set
13735         (restorePosition): ditto
13736
13737 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * lyx_main.C: include language.h
13740
13741         * Makefile.am (lyx_main.o): add language.h
13742
13743 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * exporter.C:
13746         * paragraph.C:
13747         * screen.C:
13748         * tabular.C:
13749         * CutAndPaste.C: include gettext.h
13750
13751         * lyxfont.h: remove old hack with ON and OFF.
13752
13753         * lyxparagraph.h:
13754         * lyxfont.h: do not include language.h...
13755
13756         * BufferView2.C:
13757         * LaTeXFeatures.C:
13758         * Painter.C:
13759         * bufferview_funcs.C:
13760         * font.C:
13761         * lyxfont.C:
13762         * text.C:
13763         * text2.C:
13764         * trans_mgr.C:
13765         * paragraph.C: ... but do it here instead
13766
13767 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13770
13771         * tabular.C: small reformat
13772
13773         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13774         NEW_INSETS version
13775         (GetChar): ditto
13776         (BreakParagraph): ditto
13777         (SetOnlyLayout): ditto
13778         (SetLayout): ditto
13779
13780         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13781         with one arg less.
13782
13783         * lastfiles.C: removed most using decl, add std:: where needed
13784
13785         * buffer.C: ws changes
13786
13787         * MenuBackend.C (class compare_format): put into anon namespace
13788         (expand): constify label, names, action, action2
13789         (expand):
13790
13791         * text.C (SingleWidth): constify font
13792         (IsBoundary): constify rtl2
13793         (GetVisibleRow): constify ww
13794
13795         * LaTeX.C (deplog): constify logfile
13796
13797         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13798         start_x, end_x
13799         (workAreaExpose): constify widthChange, heightChange
13800
13801         * lyxrow.C (par): moved
13802         (height): moved
13803         (next): moved
13804         * lyxrow.h: as inlines here
13805
13806         * lyxfont.h (shape): moved from lyxfont.C
13807         (emph): moved from lyxfont.C
13808
13809         * lyxfont.C (LyXFont): use initialization list for all
13810         constructors
13811         (shape): move to lyxfont.h as inline
13812         (emph): move to lyxfont.h as inline
13813
13814
13815 2001-04-04  Juergen Vigna  <jug@sad.it>
13816
13817         * vspace.C: had to include stdio.h for use of sscanf
13818
13819 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * BufferView.h:
13822         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13823         independent of xforms.
13824
13825 2001-04-02  Juergen Vigna  <jug@sad.it>
13826
13827         * spellchecker.C: fixed namespace placing!
13828
13829 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13832         the LyXParagraph * is 0.
13833
13834 2001-03-29  Juergen Vigna  <jug@sad.it>
13835
13836         * vspace.C: added support for %, c%, p%, l%.
13837         (stringFromUnit): added helper function.
13838         (asLatexString): changed to give right results for the %-values.
13839
13840         * buffer.C: convert the widthp in a width%.
13841
13842 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13845         figureForm.[Ch].
13846
13847         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13848         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13849
13850         * lyx_cb.[Ch]: see above.
13851
13852         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13853         form1.[Ch].
13854
13855         * form1.[Ch]:
13856         * lyx.[Ch]: replaced by figure_form.[Ch].
13857
13858         * lyx_gui.C:
13859         * lyx_gui_misc.C:
13860         * lyxfunc.C: changed headers associated with above changes.
13861
13862 2001-03-27  Juergen Vigna  <jug@sad.it>
13863
13864         * BufferView_pimpl.C: set the temporary cursor right!
13865
13866 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13869
13870 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * LString.h: removed "using std::getline"!
13873
13874         * BufferView_pimpl.C (Dispatch): changes due to changes in
13875         InsetInclude::Params.
13876
13877         * buffer.C (tag_name): removed redundant break statements as they were
13878         producing lots of warnings with my compiler.
13879
13880 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * LString.h: add "using std::getline" when using the real <string>.
13883
13884 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13885
13886         * buffer.C: removed bitset usage.
13887         PAR_TAG moved to an anonymous name space.
13888         (tag_name): new funtion, also in the anonymous namespace.
13889         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13890         (makeDocBookFile): clean code. Completed transition from string arrays
13891         to string vectors.
13892         (SimpleDocBookOnePar): code clean.
13893
13894 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13895
13896         * tabular.C: add some comments.
13897
13898 2001-03-22  Juergen Vigna  <jug@sad.it>
13899
13900         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13901         compatibility read a bit and fixed bug with minipage in different
13902         depth.
13903
13904 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13905
13906         * buffer.C (pop_tag): removed.
13907         (push_tag): removed.
13908         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13909         array replaced with vector. Added support for CDATA sections.
13910         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13911         at any nest level.
13912         (makeDocBookFile): XML conformant declaration of CDATA section,
13913         fixed bug related to <emphasis> in the first paragraph char.
13914         (sgmlOpenTag): exclude empty tags.
13915         (sgmlCloseTag): ditto.
13916
13917         * buffer.h (pop_tag): removed.
13918         (push_tag): removed.
13919
13920 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * language.h (Languages): added size_type and size().
13923
13924 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13925
13926         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13927         response on compability reading of minipages. One probliem is that
13928         the old usage of minipages was «flertydig»
13929
13930         * several files here and in subdirs: don't use static at file
13931         scope use anon namespaces instead.
13932
13933 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13934
13935         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13936         LaTeX output. This is necessary for Literate document
13937         processing.
13938
13939 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13940
13941         * buffer.C: insert hfill when needed.
13942
13943         * tabular.C (l_getline): use string::erase, small whitespace change.
13944
13945         * BufferView_pimpl.C: try the anon namespace.
13946         * WorkArea.C: ditto
13947
13948 2001-03-16  Juergen Vigna  <jug@sad.it>
13949
13950         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13951         otherwise it won't open options-dialogs.
13952
13953         * buffer.C: honor pextraWidth(p) on converting minipages.
13954
13955         * tabular.C (l_getline): changed the functions to strip trailing \r.
13956
13957 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13958
13959         * BufferView_pimpl.C:
13960         * minibuffer..C: added "using SigC::slot" declaration.
13961
13962 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13963
13964         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13965
13966         * text2.C: ditto
13967
13968         * text.C: ditto
13969
13970         * paragraph.C: ditto
13971
13972         * lyxtext.h: NO_PEXTRA
13973
13974         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13975
13976         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13977         * ParameterStruct.h: ditto
13978         * ParagraphParameters.h: ditto
13979         * lyxparagraph.h: ditto
13980
13981 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13982
13983         * buffer.C: add compability for minipage alignment.
13984         (latexParagraphs): remove unwanted pextra check.
13985
13986         * several files: remove CXX_WORKING_NAMESPACES
13987
13988         * buffer.C (pop_tag): tie is in namespace boost
13989
13990         * BufferView.h: noncopyable is in namespace boost
13991         * lyxlex.h: ditto
13992         * lyx_main.h: ditto
13993         * lyx_gui.h: ditto
13994         * layout.h: ditto
13995         * lastfiles.h: ditto
13996         * bufferlist.h: ditto
13997         * ShareContainer.h: ditto
13998         * LyXView.h: ditto
13999         * LyXAction.h: ditto
14000         * LaTeX.h: ditto
14001
14002 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14003
14004         * Merging changes from BRANCH_MVC back into HEAD.
14005
14006         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14007
14008 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * BufferView_pimpl.C: change from intl.C
14011
14012         * combox.h:
14013         * combox.C:
14014         * Makefile.am: move combox.*
14015
14016         * form1.h:
14017         * form1.C:
14018         * lyx_gui.C:
14019         * intl.h:
14020         * intl.C: remove dialog (covered by prefs)
14021
14022 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * lyxfunc.C (Dispatch): removed redundant break statement.
14025
14026 2001-03-14  Juergen Vigna  <jug@sad.it>
14027
14028         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14029
14030 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14031
14032         * buffer.C: add hack to fix compability reading of minipages.
14033
14034 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * buffer.C (getLists): Cleanup.
14037
14038 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14039
14040         * lyxfont.C (update): don't honor toggleall on font size.
14041
14042 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * bmtable.c:
14045         * bmtable.h:
14046         * Makefile.am: moved to frontends/xforms/
14047
14048         * lyx_gui_misc.C:
14049         * lyxfunc.C:
14050         * BufferView_pimpl.C: changes for moved mathpanel
14051
14052 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * gettext.h: fix gettext_init() in --disable-nls
14055
14056 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14059
14060 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14061
14062         * lyx.C:
14063         * lyx.h: strip external form
14064
14065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14066
14067         * BufferView_pimpl.C: add comment, destroySplash()
14068
14069 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * BufferView_pimpl.C:
14072         * LyXAction.C:
14073         * buffer.C:
14074         * commandtags.h:
14075         * lyxfunc.C: use re-worked insetinclude
14076
14077 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14078
14079         * buffer.C: add using std::stringstream.
14080
14081         * lyx_cb.C: readd using std::ios.
14082
14083         * buffer.C: add using std::map.
14084
14085         * BufferView_pimpl.C: add using std::vector.
14086
14087         * ShareContainer.h: add std:: to swap.
14088
14089         * buffer.h: add some typedefs
14090         * buffer.C (getLists): use them
14091         (getLists): renamed from getTocList.
14092         add a counter for the different float types and use it in the
14093         generated string.
14094         (getLists): use the same counter for the NEW_INSETS and the "non"
14095         NEW_INSETS
14096
14097         * lyx_cb.h: remove unused items, includes, using etc.
14098
14099         * ShareContainer.h: remove some commented code, add more comments
14100         and "documentation".
14101
14102 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14103
14104         * buffer.C (getTocList): make the list also when NEW_INSETS is
14105         defined.
14106
14107         * buffer.h: remove TocType
14108
14109         * buffer.C (getTocList): change to return a map<string,
14110         vector<TocItem> >, implement for dynamic number of list.
14111
14112         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14113         * text2.C (PasteSelection): adjust
14114         * CutAndPaste.C (pasteSelection): adjust
14115
14116         * FloatList.C (FloatList): update from the new_insets branch.
14117         * Floating.[Ch]: ditto
14118         * LaTeXFeatures.C: ditto
14119         * buffer.C: ditto
14120         * lyxlex_pimpl.C: ditto
14121
14122         * paragraph.C (Last): remove when NEW_INSETS is defined.
14123
14124         * other file: changes because of the above.
14125
14126 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14127
14128         * lyxparagraph.h: rename next to next_, previous to previous_,
14129         make them private for NEW_INSETS. Rename Next() to next(),
14130         Previous() to previous().
14131
14132         * other files: changes because of the above.
14133
14134 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * BufferView.h:
14137         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14138         problem.
14139
14140 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14141
14142         * main.C (main): pass lyx_localedir to gettext_init().
14143
14144         * gettext.h: remove locale_init and gettext_init macros
14145
14146         * gettext.C (locale_init): new function
14147         (gettext_init): new function
14148
14149         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14150         setlocale().
14151
14152 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14153
14154         * Moved credits to frontends:
14155         * credits.[Ch]: removed
14156         * credits_form.[Ch]: removed
14157         * lyx_gui_misc.C: remove credits stuff
14158         * Makefile.am:
14159
14160 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14161
14162         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14163
14164         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14165         unneeded destructor.
14166
14167         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14168         a standalone pointer again.
14169
14170         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14171
14172 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * Makefile.am:
14175         * filedlg.h:
14176         * filedlg.C:
14177         * LyXAction.C:
14178         * ToolbarDefaults.C:
14179         * bufferlist.C:
14180         * commandtags.h:
14181         * form1.C:
14182         * form1.h:
14183         * lyx_cb.C:
14184         * lyx_cb.h:
14185         * lyxfunc.h:
14186         * lyxfunc.C:
14187         * BufferView_pimpl.C: use new file dialog in GUII
14188
14189         * lyx_cb.h:
14190         * lyx_cb.C: remove LayoutsCB to Toolbar
14191
14192 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14193
14194         * ShareContainer.h (get): add std:: qualifier
14195
14196 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * ShareContainer.h: define a proper ShareContainer::value_type
14199         type (and use typename to please compaq cxx)
14200
14201 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14202
14203         * lyxparagraph.h: move serveral local vars to
14204         ParameterStruct/ParagraphParameters., use ShareContainer in
14205         FontTable., make vars in FontTable private and add getter and
14206         setter.
14207
14208         * paragraph.C: changes because of the above.
14209
14210         * lyxfont.h: remove copy constructor and copy assignment. (the
14211         default ones is ok), move number inside FontBits. move inlines to
14212         lyxfont.C
14213
14214         * lyxfont.C: add number to initializaton of statics, move several
14215         inlines here. constify several local vars. some whitespace
14216         cleanup. Dont hide outerscope variables.
14217
14218         * Spacing.h: add two new constructors to match the set methods.
14219
14220         * ShareContainer.h: new file, will perhaps be moved to support
14221
14222         * ParameterStruct.h: new file
14223
14224         * ParagraphParameters.h: new file
14225
14226         * ParagraphParameters.C: new file
14227
14228         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14229         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14230
14231         * BufferView_pimpl.C: ParagraphParameter changes.
14232         * buffer.C: Likewise.
14233         * bufferview_funcs.C: Likewise.
14234         * text.C: Likewise.
14235         * text2.C: Likewise.
14236
14237 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * lyxfind.C (LyXReplace): do not redefine default argument in
14240         implementation.
14241         (IsStringInText): ditto
14242         (SearchForward): ditto
14243         (SearchBackward): ditto
14244
14245 2001-03-06  Juergen Vigna  <jug@sad.it>
14246
14247         * lyxfind.C (IsStringInText): put parentes around expressions.
14248
14249 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14250
14251         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14252
14253 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14256
14257         * stl_string_fwd.h: add comment
14258
14259         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14260
14261         * tabular.h:
14262         * tabular.C: remove unused DocBook methods
14263
14264         * intl.C:
14265         * language.C:
14266         * paragraph.C:
14267         * buffer.C:
14268         killed DO_USE_DEFAULT_LANGUAGE
14269
14270 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * lyx_gui.C: do not include language.h.
14273
14274         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14275         arguments in function implementation.
14276
14277 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14278
14279         * BufferView_pimpl.C: add <ctime>
14280
14281 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14282
14283         * BufferView_pimpl.C: add using std::find_if
14284
14285 2001-02-27  José Matos  <jamatos@fep.up.pt>
14286
14287         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14288         by OnlyPath.
14289
14290 2001-02-11  José Matos  <jamatos@fep.up.pt>
14291
14292         * buffer.C (makeDocBookFile): command styles now have a parameter as
14293         "title" by default.
14294
14295 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14296
14297         * layout_forms.[Ch]: removed
14298         * lyx_cb.[Ch]: out character
14299         * lyx_gui.C: out character
14300         * lyx_gui_misc.C: out character
14301         * bufferview_funcs.C: : out character,
14302         added toggleall as parameter in ToggleAndShow
14303
14304 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14305
14306         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14307
14308         * text2.C (SetCurrentFont): Disable number property at boundary.
14309
14310 2001-02-26  Juergen Vigna  <jug@sad.it>
14311
14312         * lyxfunc.C (getStatus): added a string argument override function so
14313         that this is correctly called from LyXFunc::Dispatch if it contains a
14314         do_not_use_argument which is used!
14315         (Dispatch): added check for "custom" export and call appropriate func.
14316
14317 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14318
14319         * lyxrc.C: Add language_command_local, language_use_babel and
14320         language_global_options.
14321
14322         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14323
14324         * buffer.C (makeLaTeXFile): Use language_use_babel and
14325         language_global_options.
14326
14327 2001-02-23  Juergen Vigna  <jug@sad.it>
14328
14329         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14330         which works with LyXText and putted it inside BufferView. Here now we
14331         only call for that part the BufferView::Dispatch() function.
14332
14333         * BufferView.C (Dispatch): added.
14334
14335         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14336         functions which needs to use a LyXText over from LyXFunc.
14337         (MenuInsertLyXFile): added
14338         (getInsetByCode): added
14339         (moveCursorUpdate): added
14340         (static TEXT): added
14341
14342 2001-02-22  Juergen Vigna  <jug@sad.it>
14343
14344         * BufferView_pimpl.C (update): call a status update to see if LyXText
14345         needs it.
14346
14347 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14348
14349         * vc-backend.C (revert): implement for CVS
14350         (getLog): implement for CVS
14351
14352 2001-02-20  Juergen Vigna  <jug@sad.it>
14353
14354         * text2.C (ClearSelection): added BufferView param for inset_owner call
14355
14356         * lyxfunc.C (TEXT): added this function and use it instead of
14357         directly owner->view()-text of getLyXText().
14358
14359 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14360
14361         * src/layout_forms.C: out preamble
14362         * src/layout_forms.h: out preamble
14363         * src/lyx_cb.C: out preamble
14364         * src/lyx_cb.h: out preamble
14365         * src/lyx_gui.C: out preamble
14366         * src/lyx_gui_misc.C: out preamble
14367         * src/lyxfunc.C: connect with guii preamble
14368
14369 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14372
14373 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14374
14375         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14376         whether to run bibtex.
14377
14378 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14379
14380         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14381
14382 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14383
14384         * Makefile.am (lyx_SOURCES): removed bibforms.h
14385
14386         * vspace.h: doxygen
14387
14388         * text.C (GetVisibleRow): make several local vars const
14389
14390         * tabular.C: small cleanup.
14391
14392         * lyxserver.C (callback): use compare instead of strncmp
14393
14394         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14395         inlines to after class or to paragraph.C
14396
14397         * lyxfont.h: remove friend operator!=
14398
14399         * converter.h: move friend bool operator< to non friend and after
14400         class def.
14401
14402         * combox.h: small cleanup
14403
14404         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14405         to inlines after class def.
14406
14407         * buffer.C (pop_tag): use string operations instead of strcmp
14408
14409         * bmtable.c: doxygen, small cleanup
14410
14411         * LaTeX.h: remove friend operator==
14412
14413 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14414
14415         * screen.C:
14416         * lyxrc.[Ch]:
14417         * lyxfunc.C:
14418         * lyxfont.[Ch]:
14419         * lyx_cb.C:
14420         * intl.[Ch]:
14421         * commandtags.h:
14422         * buffer.C:
14423         * WorkArea.[Ch]:
14424         * LyXAction.C:
14425         * BufferView_pimpl.C:
14426         * BufferView.[Ch]: remove cruft
14427
14428 2001-02-14  Juergen Vigna  <jug@sad.it>
14429
14430         * lyxfunc.C: removed #if 0 unused code
14431
14432         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14433
14434         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14435
14436         * text2.C (SetSelection): added a BufferView * parameter
14437
14438 2001-02-13  Juergen Vigna  <jug@sad.it>
14439
14440         * lyxfunc.C (Dispatch): fixed protected blank problem.
14441         * BufferView2.C (protectedBlank): added LyxText * parameter.
14442
14443         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14444         (AppendColumn): same as above for column_info.
14445
14446         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14447         (moveCursorUpdate): use a LyXText param for support of InsetText.
14448
14449         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14450         (tripleClick): ditto
14451
14452         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14453
14454         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14455
14456         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14457
14458         * text2.C (SetSelection): set correct update status if inset_owner
14459         (ToggleFree): ditto
14460
14461 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14462
14463         * tabular.C: remove some commented code.
14464
14465 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * BufferView_pimpl.C: call hideSplash()
14468
14469         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14470
14471         * include_form.h:
14472         * bibforms.h: remove
14473
14474         * lyxfunc.C:
14475         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14476           add LFUN_CHILD_CREATE
14477
14478         * counters.h: fix tiny typo
14479
14480         * lyx_cb.C:
14481         * lyx.h:
14482         * lyx_gui.C:
14483         * lyx.C: move splash to frontends/xforms/
14484
14485         * lyx_gui_misc.C: move Include and Bibform to frontends
14486
14487         * lyxvc.h: clarify comment
14488
14489         * vspace.C: tiny housekeeping
14490
14491 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14492
14493         * text.C (PrepareToPrint): RTL Fix.
14494
14495         * paragraph.C (GetUChar): New method.
14496         (String):  Use GetUChar.
14497
14498         * buffer.C (asciiParagraph): Use GetUChar.
14499
14500 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14503
14504 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * buffer.h:
14507         * buffer.C: rename to getLogName(), handle
14508           build log / latex log nicely
14509
14510 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * MenuBackend.C:
14513         * MenuBackend.h: remove support for reference menuitem type.
14514
14515 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14516
14517         * BufferView_pimpl.C: housekeeping
14518         * BufferView_pimpl.h:
14519         * LyXView.h:
14520         * Makefile.am:
14521         * Timeout.C:
14522         * Timeout.h:
14523         * minibuffer.h: move Timeout GUI-I
14524
14525 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14526
14527         * lyxrc.C (read): Update converters data-structures.
14528
14529 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14530
14531         * LaTeX.h (operator!=): add operator != for Aux_Info
14532
14533 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14536
14537         * LaTeXLog.C: deleted, useful code moved to Buffer
14538
14539         * buffer.h:
14540         * buffer.C: new function getLatexLogName()
14541
14542         * lyx_gui_misc.C:
14543         * lyx_gui.C:
14544         * lyxvc.C:
14545         * lyxvc.h:
14546         * lyxfunc.C: use frontends for LaTeX and VC logs
14547
14548 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * LaTeX.h: yet another std:: that Allan forgot.
14551
14552         * Variables.C (set): renamed from isset(), because this clashes
14553         with some HP-UX macros (grr).
14554
14555 2001-02-06  Allan Rae  <rae@lyx.org>
14556
14557         * LaTeX.h: Another bug fix.  Missing std:: this time.
14558
14559 2001-02-04  Allan Rae  <rae@lyx.org>
14560
14561         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14562         floats problem. I've left it commented out because it's not quite
14563         correct.  It should also test that the current object is a table or
14564         figure inset.  But I haven't gotten around to figuring out how to do
14565         that.  I *think* it'll be something like: "table" == inset.type()
14566
14567         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14568         bool.
14569
14570 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14573         all the citation/databases/styles in the auxilary file.
14574         (run): Rerun latex if there was a babel language error.
14575
14576 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * text.C (Backspace): Preserve the font when changing newline char
14579         with a space.
14580         (BreakParagraph): If the cursor is before a space, delete the space.
14581
14582         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14583
14584 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14585
14586         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14587         new argument (code).
14588         (ChangeCitationsIfUnique): New method.
14589
14590         * paragraph.C (GetPositionOfInset): Handle bibkey.
14591
14592 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * BufferView_pimpl.h: change type of Position::par_pos to
14595         LyXParagraph::size_type.
14596
14597 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14598
14599         * BufferView_pimpl.C (savePosition, restorePosition): Write
14600         messages to minibuffer.
14601
14602 2001-01-28  José Matos  <jamatos@fep.up.pt>
14603
14604         * buffer.C (makeDocBookFile): adds support for document language.
14605         A silly restriction on the name of LatexCommand types where removed.
14606         Added support for CDATA sections, allows to chars unescaped, used
14607         among others in code, to avoid escape < and >.
14608
14609 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14610
14611         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14612         saved positions instrad of a stack. Furthermore, a position is
14613         stored using paragraph id/paragraph position.
14614
14615         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14616         Remove LFUN_REF_BACK.
14617
14618 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14619
14620         * converter.C (dvipdfm_options): New method.
14621
14622 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14623
14624         * vspace.C (isValidLength): Fix for empty input string.
14625
14626 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14627
14628         * LyXAction.C (init): change description of LFUN_FIGURE to
14629         "Insert Graphics"
14630
14631 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * LaTeX.C: add using directive
14634
14635 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14636
14637         * MenuBackend.C (expand): Fix the sorting of the formats.
14638
14639 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * lyx_main.C: tiny error message fix
14642
14643 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14646         calling fl_initialize(). This fixes the problem with ',' as
14647         decimal separator in text files.
14648
14649 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14650
14651         * trans.C (process): Fix the keymap bug.
14652
14653 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * LaTeX.C (scanAuxFiles): New method. Provides support for
14656         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14657         (scanLogFile) Scan for "run BibTeX" messages.
14658
14659         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14660         OT1 font encoding. Also, load the aecompl package if the ae
14661         package is loaded.
14662
14663         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14664
14665 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * texrow.C (increasePos): turn two error messages into debug
14668         messages.
14669
14670 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14671
14672         * LaTeX.C (scanAux): Handle the \@input macro.
14673         (runBibTeX): Use scanAux().
14674
14675         * language.C (latex_options_): New field.
14676
14677         * LaTeXFeatures.C (getMacros): Add language macros.
14678
14679         * buffer.C (makeLaTeXFile): Small fix.
14680
14681 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14684
14685         * text2.C: add a using directive.
14686
14687 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14688
14689         * BufferView2.C:
14690         * lyx_gui_misc.h:
14691         * lyxfr1.C:
14692         * lyxfunc.C: kill LyXBell.
14693
14694 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * text.C (IsBoundary): Remove the error message
14697
14698         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14699
14700         * lyxrc.C (setDefaults): Correct initialization value for
14701         font_norm_type.
14702
14703 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14706         gotoError().
14707
14708         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14709         and GotoNextNote().
14710
14711         * src/LyXAction.C: Added reference-next.
14712
14713         * text.C (InsertChar): Use contains instead of strchr.
14714
14715         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14716
14717 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14720         alignment commands (when needed).
14721
14722         * text.C (InsertChar): Add ':' to number separator chars.