]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
679fdf9c92d10546dd765508e9996ca49aa3b5d3
[lyx.git] / src / ChangeLog
1 2004-02-16  André Pönitz  <poenitz@gmx.net>
2
3         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4           insets/ChangeLog)
5
6         * cursor_slice.[Ch]: remove unneeded acessor function
7
8         * lyxtext.h: rename rtl() to isRTL()
9
10         * rowpainter.C:
11         * tabular.C:
12         * text.C:
13         * text2.C:
14         * text3.C: adjust
15
16
17 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * rowpainter.C (paintSelection): coord fix
20
21 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
22
23         * Spacing.C: compile fix
24
25 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * cursor.C (dispatch): restore current_ before returning
28
29 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * text2.C (cursorUp, cursorDown): fix coords
32         (moveUp): fix crash
33
34 2004-02-12  André Pönitz  <poenitz@gmx.net>
35
36         * lyxtext.h:
37         * text.C:
38         * text2.C:
39         * text3.C: add LCursor & parameter to most cursor movement functions
40           remove usage of LyXText::cursorRow() and cursorPar()
41
42         * cursor.[Ch]: add textRow() needed members
43
44         * BufferView.C:
45         * BufferView_pimpl.C:
46         * paragraph.[Ch]:
47         * BufferView.C:
48         * BufferView_pimpl.C: adjust
49
50 2004-02-11  André Pönitz  <poenitz@gmx.net>
51
52         * lyxfunc.C:
53         * BufferView.[Ch]:
54         * BufferView_pimpl.C: shift undo/redo handling
55
56         * cursor.[Ch]: fix mathed crash
57
58         * lyxfind.C:
59         * lyxtext.h: move selectionAsText to LCursor
60
61         * output_latex.C:
62         * paragraph.C:
63         * text.C:
64         * text2.C:
65         * text3.C: adjust
66
67         * rowpainter.C: fix excessive drawing
68
69 2004-02-06  André Pönitz  <poenitz@gmx.net>
70
71         * BufferView.[Ch]:
72         * BufferView_pimpl.[Ch]:
73         * text3.C: move some text specific LFUN handling
74
75 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * text3.C (checkInsetHit): adjust coords
78         * text2.C (getColumnNearX): adjust coords
79         (edit): adjust coords
80         * text.C (getRowNearY): add two asserts
81
82 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
83
84         * converter.C:
85         * format.C: add using std::distance to compile on gcc 2.95/stlport
86
87 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
88
89         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
90
91 2004-02-04  André Pönitz  <poenitz@gmx.net>
92
93         * BufferView.[Ch] (insertInset):
94         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
95
96         * text2.C:
97         * text3.C: adjust
98
99 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
100
101         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
102         on the default clause of the switch
103         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
104         wasn't catched by LCursor::dispatch
105
106 2004-02-03  André Pönitz  <poenitz@gmx.net>
107
108         * BufferView.C:
109         * cursor.[Ch]: some additional asserts
110
111         * undo.[Ch]: remove LyXText dependency in interface
112
113         * lyxfunc.C: adjust
114
115         * lyxtext.h (firstPar, lastPar): remove dead functions 
116
117         * text.C:
118         * text2.C:
119         * text3.C:
120         * paragraph.[Ch]: adjust
121
122 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * lyxfind.C (find): fix argument order in call to ::find
125
126 2004-02-02  André Pönitz  <poenitz@gmx.net>
127
128         * cursor.[Ch]: remove direct access to anchor
129
130         * text.C: remove findText() hack
131
132 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * iterators.[Ch] (lockPath): remove in favour of...
135         * BufferView.[Ch] (setCursor): this addition
136         * BufferView.C (putSelectionAt): adjust
137         * undo.C (performUndoOrRedo): adjust
138         * lyxfunc.C (dispatch): adjust
139
140 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
141
142         * iterators.C (lockPath): add a missing slice
143         * undo.C (performUndoOrRedo): remove redundant positioning code
144
145 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
146
147         * vc-backend.C (scanMaster): ";" -> ';'
148
149 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
150
151         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
152         std::binary_function
153
154         * lyxtextclass.C (compare_name): rename to...
155         (LayoutNamesEqual): ...this
156
157         * lyxlex_pimpl.C (compare_tags): inherit from
158         std::binary_function, put back into anon namespace
159
160         * lyxfind.C (MatchString): inherig from std::binary_function
161         (findChange): use empty() istead of !size()
162
163         * format.C (FormatNamesEqual): new functor
164         (getFormat): use it
165         (getNumber): use it
166         (add): use it
167         (erase): use it
168         (setViewer): use it
169
170         * converter.C (compare_Converter): rename to...
171         (ConverterEqual): ...this, and fixup a bit.
172         (getConverter): use it, and make function const
173         (getNumber): use it, and make function const
174         (add): use it
175         (erase): use it:
176
177         * bufferlist.C: add using boost::bind
178
179         * MenuBackend.C (MenuNamesEqual): new functor
180         (hasMenu): use it, and make function const
181         (hasSubmenu): use nested bind to get rid of compare_memfun.
182
183 2004-01-30  André Pönitz  <poenitz@gmx.net>
184
185         * BufferView_pimpl.C:
186         * cursor.C:
187         * cursor.h:
188         * cursor_slice.[Ch]:
189         * lyxfunc.C:
190         * lyxtext.h:
191         * paragraph_funcs.C:
192         * paragraph_funcs.h:
193         * rowpainter.C:
194         * text.C:
195         * text2.C:
196         * text3.C: move some of the edit(x,y) handling to the insets
197         some coordinate changes.
198
199 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
200
201         * text.C: add using statements for std::advance and std::distance
202
203         * paragraph.C: add using statement for std::distance
204
205         * lyxfind.C: add using statement for std::advance
206
207         * cursor.C (region): remove std:: from swap
208         (openable): use nucleus in stead of operator->
209
210         * BufferView.C: add using statements for std::distance and std::swap
211
212 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
213
214         * iterators.C: Remove the pimple, move the needed structures to
215         the header file. Create accessor for the positions stack.
216         (asPosIterator): remove function
217
218         * PosIterator.C (PosIterator): move constructors to top of file
219         (PosIterator): reimplement the constructor taking a ParIterator in
220         terms of setFrom.
221         (setFrom): new function
222         (operator!=): inline it
223
224 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * lyxfind.C (replaceAll): use std::advance
227
228         * iterators.h: inherit from std::iterator.
229
230         * PosIterator.C (advance, distance): remove
231         * PosIterator.h: interit from std::iterator.
232
233 2004-01-26  André Pönitz  <poenitz@gmx.net>
234
235         * BufferView.[Ch]:
236         * BufferView_pimpl.[Ch]:
237         * InsetList.[Ch]:
238         * PosIterator.[Ch]:
239         * buffer.h:
240         * bufferview_funcs.C:
241         * cursor.[Ch]:
242         * cursor_slice.h:
243         * factory.[Ch]:
244         * iterators.[Ch]:
245         * lyxfind.C:
246         * lyxfunc.C:
247         * lyxtext.h:
248         * output_docbook.C:
249         * output_latex.C:
250         * output_linuxdoc.C:
251         * output_plaintext.C:
252         * paragraph.[Ch]:
253         * paragraph_funcs.[Ch]:
254         * paragraph_pimpl.[Ch]:
255         * rowpainter.C:
256         * tabular.C:
257         * tabular.h:
258         * text.C:
259         * text2.C:
260         * text3.C: more IU:  dumps most of the rest of the mathcursor
261     implementation into cursor.[Ch]; "globalize" a bit of it.
262
263 2004-01-25  Angus Leeming  <leeming@lyx.org>
264
265         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
266
267 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
268
269         * LaTeXFeatures.h: add nice_ and nice() const
270         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
271
272 2004-01-20  André Pönitz  <poenitz@gmx.net>
273
274         * BufferView.[Ch]:
275         * BufferView_pimpl.C:
276         * PosIterator.C:
277         * bufferview_funcs.C:
278         * cursor.[Ch]:
279         * cursor_slice.[Ch]:
280         * factory.C:
281         * iterators.C:
282         * lyx_cb.C:
283         * lyxfind.C:
284         * lyxfunc.C:
285         * lyxtext.h:
286         * rowpainter.C:
287         * text.C:
288         * text2.C:
289         * text3.C:
290         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
291           LCursor and mathcursor parts to LCursor and InsetBase.
292
293 2004-01-15  André Pönitz  <poenitz@gmx.net>
294
295         * cursor_slice.[Ch]: add a few covienience functions
296
297         * funcrequest.[Ch]: remove BufferView * member
298
299         * BufferView_pimpl.C:
300         * cursor.C:
301         * factory.[Ch]:
302         * lyxfind.[Ch]:
303         * lyxfunc.C:
304         * lyxtext.h:
305         * text3.C:
306         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
307
308 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
311         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
312
313 2004-01-13  André Pönitz  <poenitz@gmx.net>
314
315         * textcursor.[Ch]:
316         * lyxtext.h: hide cursor and selection anchor behind accessor function
317
318         * BufferView.C:
319         * BufferView_pimpl.[Ch]:
320         * PosIterator.C:
321         * bufferview_funcs.C:
322         * cursor.h:
323         * lyxfind.C:
324         * lyxfunc.C:
325         * text.C:
326         * text2.C:
327         * text3.C:
328         * undo.C: adjust
329
330         * cursor.h:
331         * cursor_slice.[Ch]: some integer type changes for inset unification
332
333         * lyxcursor.[hC]: remove, it's CursorSlice now.
334
335         * Makefile.am:
336         * BufferView_pimpl.[Ch]:
337         * bufferview_funcs.C:
338         * cursor_slice.C:
339         * lyxtext.h:
340         * text.C:
341         * text2.C:
342         * text3.C:
343         * textcursor.[Ch]: adjust
344
345 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
346
347         * text2.C (undoSpan): add and use
348         * text.C (breakParagraph): use undoSpan (fix bug 578)
349         * lyxtext.h: adjust
350
351 2004-01-08  Angus Leeming  <leeming@lyx.org>
352
353         * BufferView_pimpl.C (MenuInsertLyXFile):
354         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
355         * lyxfunc.C (menuNew, open, doImport):
356         FileFilterList change to the FileDialog open and save functions.
357
358 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
359
360         * ShareContainer.h: make isEqual and isUnique adaptable
361
362         * CutAndPaste.C: make resetOwnerAndChanges adaptable
363
364 2004-01-07  Angus Leeming  <leeming@lyx.org>
365
366         * LyXAction.C:
367         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
368
369         * BufferView_pimpl.C (dispatch): act on these LFUNs.
370
371         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
372         functions replacing find, replace and replaceAll.
373
374         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
375         LFUN_WORDFIND(FORWARD|BACKWARD).
376
377 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
378
379         * text.C (breakParagraph): remove an outdated #warning
380
381 2004-01-07  André Pönitz  <poenitz@gmx.net>
382
383         * lyxfind.C: somewhat clearer logic
384
385         * text.C: prevent crash in cursorX on unitialized row cache
386
387 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * lyxcursor.[Ch] (operator>): add
390         * textcursor.C (selStart, selEnd): use std::min and std::max
391
392 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
393
394         * Chktex.C: include boost/format.hpp
395
396 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * InsetList.C: replace functor MathcIt with adaptable functor
399         InsetTablePosLess
400         (insetIterator): modify accordingly
401
402         * BranchList.h: move the BranchNamesEqual functor here from...
403         * BranchList.C: ... to here
404
405         * BranchList.C: new BranchListEqual fuctor, use it. Remove
406         SameName and match.
407         (add): replace a finding loop with std::find_if.
408
409 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * output_docbook.C: moving LatexParam functionality into
412         .layout files
413
414 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * buffer.C: increment format to 229.
417
418 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
419
420         * LaTeXFeatures.C:
421         * lyx_sty.[Ch]: remove minipageindent_def
422
423         * LyXAction.C:
424         * factory.C:
425         * lfuns.h:
426         * lyxfunc.C:
427         * text3.C: remove LFUN_INSET_MINIPAGE
428
429 2003-12-28  Angus Leeming  <leeming@lyx.org>
430
431         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
432
433 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * text2.C (setParagraph): fix off-by-one crash
436
437 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * output_docbook.C: header stuff for AGU
440
441 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * text2.C (redoCursor): remove
444         * text.C:
445         * text3.C:
446         * BufferView_pimpl.C: remove calls to redoCursor and
447         setCursor(cursor.par(), cursor.pos()) all around
448
449 2003-12-15  Angus Leeming  <leeming@lyx.org>
450
451         * buffer.C: up the format to 228.
452
453 2003-12-15  André Pönitz  <poenitz@gmx.net>
454
455         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
456         slices
457
458         * Makefile.am:
459
460         * BufferView_pimpl.C:
461         * cursor.[Ch]:
462         * lyxcursor.[Ch]:
463         * rowpainter.[Ch]:
464         * lyxtext.h:
465         * text.C:
466         * text2.C:
467         * text3.C: adjust
468
469 2003-12-15  Angus Leeming  <leeming@lyx.org>
470
471         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
472         than getFromGUIName to manipulate the color.
473
474 2003-12-14  Angus Leeming  <leeming@lyx.org>
475
476         * BranchList.[Ch]: minimize the API.
477         (Branch::getBranch, getColor): now return a 'const &'.
478         (Branch::setSelected) now returns a bool set to true if the
479         selection status changes.
480         (BranchList::clear, size, getColor, setColor, setSelected,
481         allBranches, allSelected, separator): removed.
482         (BranchList::find): new functions, returning the Branch with
483         the given name.
484         (BranchList::add, remove): return a bool indicating that
485         the operation was successful.
486
487         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
488         new InsetBranch::isBranchSlected member function.
489
490         * LColor.[Ch]: mimimize the API.
491         (fill): renamed as addColor and made private.
492         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
493         versions of these functions taking a string arg have been removed.
494
495         * bufferparams.C (readToken):
496         * lyxfunc.C (dispatch):
497         * lyxrc.C (read): changes due to the altered BranchList and
498         LColor APIs.
499
500         * factory.C (createInset, readInset): changes due to altered
501         InsetBranch c-tor.
502
503 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * factory.C:
506         * lyxfunc.C: remove insetminipage. "minipage-insert"
507         now produces a frameless minipage box inset.
508
509 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * textcursor.[Ch] (selStart,selEnd): add new methods
512         remove selection::start, end, use LyXCursor::operator<
513         * lyxcursor.[Ch] (operator<): add
514         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
515         * BufferView.[Ch] (unsetXSel): add
516         * text2.C (clearSelection): use unsetXSel,adjust
517         * text.C: adjust
518         * text3.C: adjust
519         * rowpainter.C: adjust
520         * bufferview_funcs.C (put_selection_at): adjust
521
522 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * BufferView_pimpl.C: small coord. correction
525
526 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
529         dragging over the splash screen.
530
531 2003-12-11  Angus Leeming  <leeming@lyx.org>
532
533         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
534         as it is now handled in LyXText::dispatch.
535
536         * text3.C (doInsertInset): remove a level of nesting.
537
538 2003-12-11  Angus Leeming  <leeming@lyx.org>
539
540         * factory.C (createInset): changes due to the changed interface to
541         InsetCommandMailer::string2params.
542
543 2003-12-10  Angus Leeming  <leeming@lyx.org>
544
545         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
546         'dialog-show-new-inset <inset name>'
547
548 2003-12-10  Angus Leeming  <leeming@lyx.org>
549
550         * buffer.C: up the format to 227.
551
552         * factory.C: the box inset is now identified simply by 'Box'.
553
554 2003-12-10  Angus Leeming  <leeming@lyx.org>
555
556         * buffer.C: up the format to 226.
557
558         * factory.C: the note inset is now identified simply by 'Note'.
559
560 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
561
562         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
563         when a pit is enough. Standarize a couple of loops.
564
565 2003-12-05  Angus Leeming  <leeming@lyx.org>
566
567         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
568         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
569         data to the re-worked "log" dialog.
570
571 2003-12-03  André Pönitz  <poenitz@gmx.net>
572
573         * PosIterator.C:
574         * iterators.C:
575         * lyxtext.h:
576         * output_latex.C:
577         * paragraph_funcs.C:
578         * text.C:
579         * text2.C: use Inset::getText instead of Inset::getParagraph
580
581 2003-12-03  André Pönitz  <poenitz@gmx.net>
582
583         * buffer.[Ch]:
584         * lyxtext.h:
585         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
586         InsetText::read() as LyXText::read()
587
588 2003-12-02  Angus Leeming  <leeming@lyx.org>
589
590         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
591         type. Add a comment in the implementation that the function uses
592         the stream's bad() function rather than fail() as the std::streams
593         would do.
594
595 2003-12-02  André Pönitz  <poenitz@gmx.net>
596
597         * lyxlex.[Ch]: make interface more similar to std::stream
598
599         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
600
601 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
604
605 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
606
607         * vspace.[Ch]: remove VSpace::NONE
608
609 2003-12-01  André Pönitz  <poenitz@gmx.net>
610
611         * buffer.[Ch]:
612         * lyxtext.h: move ParagraphList member to LyXText
613         rename LyXText::ownerParagraphs to LyXText::paragraph
614
615         * CutAndPaste.C:
616         * bufferview_funcs.C:
617         * iterators.[Ch]:
618         * lyx_cb.C:
619         * paragraph.C:
620         * rowpainter.C:
621         * tabular.C:
622         * text.C:
623         * text2.C:
624         * text3.C: adjust
625
626         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
627
628         * undo.C: fix cursor positioning
629
630 2003-12-01  John Levon  <levon@movementarian.org>
631
632         * BufferView_pimpl.C: fix a crash on exit with
633         a buffer open
634
635 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
636
637         * BranchList.C: fix setSelected() method.
638
639 2003-11-28  André Pönitz  <poenitz@gmx.net>
640
641         * ParagraphParameters.[Ch]:
642         * ParameterStruct.h: remove space above/below from Paragraph to
643          InsetVSpace
644
645         * BufferView_pimpl.C:
646         * factory.C:
647         * lyxfunc.C:
648         * lyxtext.h:
649         * output_latex.C:
650         * paragraph.C:
651         * paragraph_funcs.C:
652         * rowpainter.[Ch]:
653         * text.C:
654         * text2.C:
655         * text3.C: adjust
656
657 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * factory.C: Syntax change for CharStyles
660
661 2003-11-28  André Pönitz  <poenitz@gmx.net>
662
663         * BufferView.[Ch]:
664         * BufferView.[Ch]:
665         * buffer.[Ch]:
666         * buffer.[Ch]: move LyXText member
667
668 2003-11-28  André Pönitz  <poenitz@gmx.net>
669
670         * BufferView.[Ch]: make LyXText * text a private member
671
672         * BufferView_pimpl.C:
673         * cursor.C:
674         * iterators.C:
675         * lyx_cb.C:
676         * lyxfind.C:
677         * lyxtext.h:
678         * rowpainter.[Ch]:
679         * text.C:
680         * text2.C:
681         * undo.C: adjust
682
683         * output_plaintext.C: cleanup
684
685 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * buffer.C:
688         * lyxtextclass.[Ch]: parametrize SGML document header
689
690 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
691
692         * converter.[Ch]:
693         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
694         getFlavor().
695
696 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
697
698         * text2.C (setFont): rework using PosIterator (no more recursive)
699         (setCharFont): no more needed
700         (setLayout): no more selection cursors fiddling (done by redoCursor)
701         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
702         destroy remaining ones)
703
704 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
705
706         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
707         * lyxtext.h: ditto
708         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
709         selection cursors
710         * lyxfunc.C: adjust
711         * text3.C: adjust + re-allow multi par depth changes
712         * textcursor.C: simplify a bit
713
714 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
715
716         * src/buffer.C:
717         * src/lyxlayout.C:
718         * src/lyxlayout.h:
719         * src/lyxtext.h:
720         * src/output_docbook.C:
721         * src/output_latex.C:
722         * src/paragraph.C:
723         * src/paragraph.h:
724         * src/sgml.C:
725         * src/sgml.h:
726         * src/text2.C: Introducing a number of tags parametrizing various
727         XML formats that we may want to support
728
729 2003-11-25  André Pönitz  <poenitz@gmx.net>
730
731         * InsetList.[Ch] (begein, end): inline as suggested by profiler
732
733         * lyxtext.h (leftMargin/rightMargin): simplify interface
734
735         * rowpainter.C:
736         * text.C:
737         * text2.C:
738         * text3.C: adjust
739
740 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * lyxfunc.C (dispatch): propogate the bibtex databases from the
743         master file to any child files. Fixes bug 546.
744
745 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
746
747         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
748
749 2003-11-24  André Pönitz  <poenitz@gmx.net>
750
751         * rowpainter.C: simplification
752
753         * text2.C (updateCounters): remove call to redoParagraph on
754         changed labels as this is far too expensive.
755
756 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * converter.C (convert): fix a crash: this function gets
759         called with buffer == 0 from importer code.
760
761 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
762
763         * text3.C (cursorPrevious): make sure that we do not compare
764         iterators form different containers.
765         (cursorNext): ditto
766
767         * rowpainter.C (paintSelection): make sure that we do not compare
768         iterators from different containers.
769
770         * text3.C (dispatch): [PRIOR] make sure that we do not compare
771         iterators from different ParagraphList containers.
772         [NEXT] ditto
773
774         * text2.C (LyXText): change order of initialization slightly
775         (operator=): new function. copy all variables except cache_par_
776         (moveUp): make sure that we do not compare iterators from
777         different ParagraphList constainers.
778         (moveDown): ditto
779
780         * text.C (firstPar): new function
781         (lastPar): new function
782         (endPar): new function
783
784         * lyxtext.h: move things around and group public functions, public
785         variables, private functions, private variables
786
787 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
788
789         * factory.C: change call to InsetERT constructor to avoid
790         additional invocation of method status
791         * text2.C (toggleInset): remove redundant update() call
792         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
793         instead of a Bufferview pointer
794
795 2003-11-21  André Pönitz  <poenitz@gmx.net>
796
797         * rowpainter.C: simplification
798
799 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
800
801         * text3.C (dispatch): make possible to extend a word/row selection
802         with the mouse
803
804 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
805
806         * lyxtext.h: x0_,y0_ -> xo_,yo_
807         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
808         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
809         * rowpainter.C (paintRows): paint full paragraphs
810
811 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
812
813         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
814         screen coordinates)
815
816 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * lyxtext.h: add x0_, y0_
819         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
820         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
821
822 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
823
824         * text2.C (setCursorIntern): move the x_target update here *
825         * text3.C: change some bv() to true/false in calls to
826         cursorUp/Down/Right/Left
827         * cursor.C: use helper function.
828
829 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
830
831         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
832         * paragraph_funcs.[Ch]: correct comment
833         * rowpainter.C: do not paint selections away from bv->cursor()
834         Fix a long standing selection painting bug.
835         * text3.C: generalize mouse-selection code to LyXTexts other that
836         top one
837         * textcursor.C: do not use y coords if we can use par offsets
838
839 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
840
841         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
842         cursor position after e.g. inset insert)
843
844 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * lyxfind.C (replace): adjust to locking removal + some
847         code simplification
848
849 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
852         of the path
853
854 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * lyxlayout.[Ch]:
857         * output_docbook.C: XML sanitation: new layout
858         parameters InnerTag and CommandDepth
859
860 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * BufferView_pimpl.C:
863         * factory.C:
864         * text3.C: Fix the insertion and modification of button-style
865         insets
866
867 2003-11-13  André Pönitz  <poenitz@gmx.net>
868
869         * InsetList.[Ch]: remove deleteLyXText
870
871         * paragraph.[Ch]: cache beginOfBody position
872
873         * Bidi.C:
874         * text.C:
875         * text2.C:
876         * text3.C: remove superfluous update() calls
877
878         * vspace.C: cleanup
879
880 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
881
882         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
883         * BufferView.C (fitLockedInsetCursor): remove
884         * cursor.[Ch] (getDim): add
885         * text.C (getRowNearY): add faster version
886         * text3.C: remove some update calls
887
888 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
889
890         * LaTeXFeatures.C:
891         * LyXAction.C:
892         * MenuBackend.C:
893         * MenuBackend.h:
894         * dispatchresult.h:
895         * factory.C:
896         * lfuns.h:
897         * lyxfunc.C:
898         * lyxtextclass.C:
899         * lyxtextclass.h:
900         * text3.C: The Character Style /XML short element patch.
901
902 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * text3.C:
905         * factory.C: Small step to solving 'unable to insert some insets'
906         problem
907
908 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
909
910         * cursor.[Ch] (updatePos): new function for updating the y
911         position of the tip inset
912         * bufferview_funcs.C (put_selection_at):
913         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
914
915 2003-11-11  André Pönitz  <poenitz@gmx.net>
916
917         * text.C: remove big comment on invalid Paragraph pointers as it is
918         not valid anymore
919
920 2003-11-11  André Pönitz  <poenitz@gmx.net>
921
922         * text_funcs.[Ch]: merge with ...
923
924         * text.C: ... this
925
926         * lyxtext.h:
927         * text2.C:
928         * text3.C: adjust
929
930         * Makefile.am: remove text_funcs.[Ch]
931
932 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
933
934         * cursor.C (getPos): return absolute cached y coord
935
936         * BufferView_pimpl.C (fitCursor): new simplistic code
937         (workAreaDispatch): add a fitCursor call
938
939 2003-11-10  André Pönitz  <poenitz@gmx.net>
940
941         * BufferView.[Ch]:
942         * BufferView_pimpl.[Ch]: merge update() and updateInset()
943
944 2003-11-10  André Pönitz  <poenitz@gmx.net>
945
946         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
947         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
948         indicate that the cursor needs to leave an inset
949
950         * lyxtext.h: remove inset locking
951
952         * cursor.[Ch]: re-implement functionality provided by inset locking
953
954         * BufferView.[Ch]:
955         * BufferView_pimpl.[Ch]:
956         * LyXAction.C:
957         * bufferview_funcs.[Ch]:
958         * factory.C:
959         * funcrequest.[Ch]:
960         * iterators.C:
961         * lyx_cb.C:
962         * lyxfind.C:
963         * lyxfunc.C:
964         * text.C:
965         * text2.C:
966         * text3.C:
967         * undo.C: adjust
968
969 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
970
971         * PosIterator.[Ch]: replace the stack with a vector, add inset
972         accesor
973         * iterators.[C]: adjust
974
975 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
976
977         * lyxfind.C (replaceAll): mark the buffer dirty if something was
978         replaced
979         * paragraph_funcs.C (readParToken): put the correct id in the
980         error item, not the id of the top paragraph
981
982 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
983
984         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
985         * bufferview_funcs.C (put_selection_at): use the above
986
987 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
988
989         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
990
991 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
992
993         * output_linuxdoc.h:
994         * output_plaintext.h:
995         * output.h:
996         * output_docbook.h: add #include statements
997
998 2003-11-05  José Matos  <jamatos@lyx.org>
999
1000         * output_docbook.[Ch]:
1001         * output_latex.[Ch]:
1002         * output_linuxdoc.[Ch]:
1003         * output_plaintext.[Ch]: New files for output formats.
1004         * output.[Ch]: New file for helper functions.
1005
1006         * buffer.[Ch]:
1007         * paragraph_funcs.[Ch]: output functions moved to new files.
1008
1009         * outputparams.h: rename of latexrunparams.h
1010
1011         * LaTeX.[Ch]:
1012         * buffer.[Ch]:
1013         * bufferlist.[Ch]:
1014         * converter.[Ch]:
1015         * exporter.C:
1016         * paragraph.[Ch]:
1017         * paragraph_funcs.[Ch]:
1018         * paragraph_pimpl.[Ch]:
1019         * tabular.[Ch]: rename ascii to plaintext
1020         and LatexRunParams to OutputParams.
1021
1022 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1023
1024         * iterators.[Ch] (text): require bv argument
1025         * undo.C (recordUndo):
1026         * lyxfunc.C (dispatch):
1027         * bufferview_funcs.C (put_selection_at): adjust
1028
1029 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1030
1031         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1032
1033 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1034
1035         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1036         nestings
1037
1038 2003-11-04  André Pönitz  <poenitz@gmx.net>
1039
1040         * cursor.[Ch]: restructure
1041
1042         * BufferView.[Ch]:
1043         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1044
1045         * iterators.[Ch] (asCursor): remove
1046
1047         * lfuns.h: remove LFUN_INSET_EDIT
1048
1049         * lyxfunc.C:
1050         * tabular.C:
1051         * text.C:
1052         * text2.C:
1053         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1054
1055 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1056
1057         * lyxfind.[Ch]: complete overhaul
1058         * BufferView_pimpl.C:
1059         * lyxfunc.C: adjust
1060         * paragraph.[Ch] (insert): add
1061
1062 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1063
1064         * BufferView.[Ch]:
1065         * lyxtext.h:
1066         * text.C: remove dead spellcheck code
1067
1068 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1069
1070         * dispatchresult.h: add a val setter
1071
1072         * cursor.C (dispatch): use a tempvar for data_[i]
1073
1074 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * PosIterator.[Ch]: compile fix
1077
1078 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1079
1080         * text.C (cursorPar): deactivate the cursor cache
1081
1082 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1083
1084         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1085
1086 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1087
1088         * text3.C (dispatch): adjust for new DisptchResult semantics.
1089
1090         * lyxfunc.C (dispatch): handle update when return from
1091         Cursor::dispatch, adjust for new DispatchResult semantics.
1092
1093         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1094         DispatchResult(true) mean to not update. Add class functions for
1095         setting dispatched and update, as well as reading.
1096
1097         * cursor.C (dispatch): don't handle update here
1098
1099 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1100
1101         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1102         * trans_mgr.C: adjust
1103
1104         * paragraph_funcs.C (readParToken): exception safety
1105
1106         * lyxvc.h: store the vcs pointer in a scoped_ptr
1107         * lyxvc.C: adjust
1108
1109         * lyxsocket.C (serverCallback): exception safety
1110
1111         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1112
1113         * ispell.C (clone): make it return a auto_ptr
1114
1115         * factory.C (createInset): exception safety
1116         (readInset): exception safety
1117
1118         * bufferlist.C (newBuffer): exception safety
1119
1120         * Thesaurus.C (Thesaurus): use initialization for aik_
1121
1122         * MenuBackend.C (expandToc): exception safety.
1123
1124 2003-11-03  André Pönitz  <poenitz@gmx.net>
1125
1126         * buffer.C:
1127         * buffer.h:
1128         * bufferview_funcs.C: remove getInsetFromId()
1129
1130         * lyxcursor.[Ch]:
1131         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1132
1133         * lyxfunc.C:
1134         * text2.C:
1135         * text3.C: adjust
1136
1137 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * PosIterator.C (distance, advance): new
1140         * bufferview_funcs.[Ch] (put_selection_at): new
1141         * iterators.[Ch] (lockPath): new
1142
1143 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1144
1145         * iterators.[Ch] (asPosIterator): added
1146         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1147         * PosIterator.[Ch]: added
1148
1149 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1150
1151         * text3.C:
1152         * lyxfunc.C:
1153         * cursor.C (dispatch):
1154         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1155
1156         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1157         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1158         contructor, add a class function dispatched. Remove operator>=
1159
1160 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1161
1162         * debug.C: only use the default constructor for debugstream
1163         (lyxerr) here.
1164
1165         * main.C (main): include debug.h and setup the lyxerr streambuf
1166         here.
1167
1168 2003-10-31  José Matos  <jamatos@lyx.org>
1169
1170         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1171
1172         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1173         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1174         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1175         * paragraph_pimpl.C (simpleTeXSpecialC):
1176         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1177         add LatexRunParams argument.
1178
1179         * exporter.C (Export): change call accordingly.
1180
1181         * latexrunparams.h: add new member to take care of the other backends.
1182 2003-10-30  José Matos  <jamatos@lyx.org>
1183
1184         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1185         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1186         factorise code for paragraph output.
1187         * buffer.[Ch]:
1188         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1189         move functions.
1190
1191 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1192
1193         * text3.C (dispatch):
1194         * lyxfunc.C (dispatch):
1195         * cursor.C (dispatch):
1196         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1197
1198         * dispatchresult.h: make the dispatch_result_t ctor explicit
1199
1200 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1201
1202         * sgml.[Ch]:
1203         * buffer.C: small refactoring of docbook stuff
1204
1205 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1206
1207         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1208         meaning.
1209
1210 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1213         operator dispatch_result_t, and operators for == != and >=
1214
1215         * cursor.C (dispatch): adjust for operator dispatch_result_t
1216         removal. comment out call to update
1217
1218         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1219
1220 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * text3.C:
1223         * text2.C:
1224         * text.C:
1225         * lyxtext.h:
1226         * lyxfunc.C:
1227         * cursor.C:
1228         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1229         (dispatch):
1230
1231         * dispatchresult.h: new file, DispatchResult broken out of
1232         insets/insetbase.h
1233
1234         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1235
1236 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1237
1238         * text.C (rowBreakPoint): put a hack inside #if 0
1239
1240 2003-10-28  André Pönitz  <poenitz@gmx.net>
1241
1242         * lyxtext.h:
1243         * metricsinfo.C:
1244         * paragraph_funcs.C:
1245         * rowpainter.C:
1246         * text.C:
1247         * text2.C: general cleanup (lots of small stuff)
1248
1249 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1250
1251         * text2.C (cursorEnd): simple fix to the "end key goes to one
1252         before the end on last row" bug
1253
1254 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1255
1256         * text.C (backspace): fix the "zombie characters"
1257
1258 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1259
1260         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1261
1262 2003-10-27  André Pönitz  <poenitz@gmx.net>
1263
1264         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1265
1266         * factory.C: handle new InsetPagebreak, InsetLine
1267
1268         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1269         and move handling into new InsetPagebreak, InsetLine
1270
1271         * BufferView_pimpl.C:
1272         * LyXAction.C:
1273         * ParagraphParameters.C:
1274         * ParameterStruct.h:
1275         * lyxfunc.C:
1276         * lyxtext.h:
1277         * paragraph.C:
1278         * paragraph.h:
1279         * paragraph_funcs.C:
1280         * paragraph_pimpl.C:
1281         * rowpainter.C:
1282         * text.C:
1283         * text2.C:
1284         * text3.C: adjust
1285
1286 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1287
1288         * text.C:
1289         * lyxrow_funcs.[Ch]:
1290         * Bidi.C:
1291         * paragraph.C:
1292         * lyxtext.h:
1293         * rowpainter.C:
1294         * text2.C:
1295         * text3.C: remove lastPos uses in favour of Row::endpos
1296
1297 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1298
1299         * undo.C (performUndoOrRedo): fix two crashes by setting a
1300         cursor by hand and reordering some calls. Use bv->lockInset instead
1301         of inset->edit because the latter loses cursor information
1302
1303 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1304
1305         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1306         by Martin
1307         (rowBreakPoint): fix width. change point to point + 1.
1308         Add a missing check.
1309
1310 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1311
1312         * MenuBackend.C:
1313         * lyxfunc.C: fix (at least partly) the problems
1314         with the Nav menu and headers inside branch insets
1315         reported by Kayvan
1316
1317 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1318
1319         * paragraph.C (getChar): add strong asserts
1320
1321         * lyxrow_funcs.C (lastPos): remove hideous hack
1322
1323         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1324         (fill): adjust to that (avoid an infinite loop)
1325
1326 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1327
1328         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1329
1330 2003-10-23  André Pönitz  <poenitz@gmx.net>
1331
1332         * RowList_fwd.h: change list<> to vector<> to gain speed
1333         after suggestion from Alfredo
1334
1335 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1336
1337         * lyxtext.h: move the bidi stuff from here...
1338         * text.C: and here
1339         * text2.C: and here
1340         * Bidi.[Ch]: ... to here
1341
1342 2003-10-23  André Pönitz  <poenitz@gmx.net>
1343
1344         * lyxtext.h:
1345         * text.C (isLastRow, isFirstRow): new functions
1346
1347         * paragraph.h: new width cache member
1348
1349         * rowpainter.C: replace RowList::iterator with Row & where possible
1350
1351         * lyxfunc.C: replace several view()->text with a single call
1352
1353         * toc.C: fix 'unused' warning
1354
1355 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1358         when woring with stream::pos_type
1359         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1360
1361 2003-10-22  André Pönitz  <poenitz@gmx.net>
1362
1363         * lyxtext.h:
1364         * text.C: use Row & instead of RowList::iterator
1365
1366         * lyxrow.h: rename end() to endpos()
1367
1368         * rowpainter.C:
1369         * text.C:
1370         * text2.C: adjust
1371
1372 2003-10-22  Angus Leeming  <leeming@lyx.org>
1373
1374         * buffer.[Ch] (fully_loaded): new member function, returning true
1375         only when the file has been loaded fully.
1376         Used to prevent the premature generation of previews and by the
1377         citation inset to prevent computation of the natbib-style label.
1378
1379         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1380         templates are all set up.
1381
1382         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1383
1384 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1385
1386         * text.C: fixed an "oops" in the "is a bit silly"
1387         bug fix
1388
1389 2003-10-21  André Pönitz  <poenitz@gmx.net>
1390
1391         * FuncStatus.[Ch]: small stuff, whitespace
1392
1393         * lyxfont.[Ch]: operator<<() for debug reasons
1394
1395         * lyxfunc.C:
1396         * lyxrow_funcs.C:
1397         * lyxtext.h: whitespace, spelling
1398
1399         * paragraph.C: naming of variables
1400
1401         * text.C:
1402         * text2.C: small stuff
1403
1404
1405 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1406
1407         * text.C: (1) finish off the inset display() work;
1408         (2) fix the "is a bit silly" bug (accessing char
1409         past end of par).
1410
1411 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1412
1413         * text.C: re-introduce display() for insets, fixing the
1414         various bugs (stretch of line above, math inset
1415         positioning, ...)
1416
1417 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * text.C (rightMargin): remove spurious semicolon
1420
1421         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1422         1415)
1423
1424 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1425
1426         * text3.C: fix one crash due to wrong cursor def
1427
1428 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1429
1430         * vc-backend.C (scanMaster): make the regex static
1431
1432         * LaTeX.C (scanAuxFile): make the regexs static
1433
1434         * text3.C (doInsertInset, dispatch, dispatch):
1435         * text2.C (cursorUp, cursorDown):
1436         * text.C (selectNextWordToSpellcheck):
1437         * BufferView_pimpl.C (dispatch):
1438         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1439
1440 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * lyxsocket.C: include <cerrno>
1443
1444 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1445
1446         * lyxfunc.C (dispatch): remove textcache stuff
1447
1448         * bufferlist.C (release): remove textcache stuff
1449         (closeAll): ditto
1450
1451         * TextCache.C: delete file
1452         * TextCache.h: delete file
1453
1454         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1455
1456         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1457         delete of the bv_->text.
1458         (resizeCurrentBuffer): remove texcache stuff
1459         (workAreaResize): ditto
1460
1461 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1462
1463         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1464         action.
1465
1466 2003-10-16  André Pönitz  <poenitz@gmx.net>
1467
1468         * lyxrow.[Ch]:
1469         * paragraph.h:
1470         * rowpainter.C:
1471         * text.C:
1472         * text2.C:
1473         * text3.C: speed up by storing y positions per paragraph plus per-row
1474         offset instead of having a 'full' y position in the row.
1475
1476 2003-10-15  André Pönitz  <poenitz@gmx.net>
1477
1478         * iterators.[Ch]:
1479         * iterators.[Ch]:
1480         * undo.[Ch]: make undo aware of inner insets
1481
1482 2003-10-14  Angus Leeming  <leeming@lyx.org>
1483
1484         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1485         static member functions LyX::ref() and LyX::cref.
1486         (lastfiles): new accessor functions for the new lastfiles_ member var.
1487         (addLyXView, views_): add a new LyXView to the list of views_.
1488         (updateInset): loop over all LyXViews to call their own updateInset
1489         member function, returning a pointer to the Buffer owning the inset.
1490
1491         * BufferView_pimpl.C (loadLyXFile):
1492         * MenuBackend.C (expandLastfiles):
1493         * bufferlist.C (MenuWrite, QuitLyX):
1494         lastfiles is no longer a global variable.
1495         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1496
1497         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1498         static function. Access through LyX::cref().emergencyCleanup().
1499
1500 2003-10-14  André Pönitz  <poenitz@gmx.net>
1501
1502         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1503
1504         * undo.[Ch]: restoring part of 'undo in insets'
1505
1506         * Makefile.am:
1507         * undo_funcs.[Ch]: merge with undo.[Ch]
1508
1509         * tabular.C: small cleansing stuff
1510
1511 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1512
1513         * paragraph_funcs.C (readParToken): report unknown insets as error
1514         boxes. Use the outer paragraph as location (also for unknown
1515         tokens).
1516
1517         * factory.C (readInset): do not abort on reading an unknown inset.
1518         Eat it and return 0.
1519
1520 2003-10-13  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1523
1524         * lyxrc.C: displayTranslator is now a function,
1525         declared in GraphicsTypes.h.
1526
1527 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1528
1529         * format.C: new placeholder $$a to pass the socket address.
1530
1531         * bufferlist.[Ch]: new function getBufferFromTmp.
1532
1533         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1534           files in the temporary dir.
1535
1536 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1537
1538         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1539
1540         * Makefile.am: add lyxsocket.[Ch].
1541
1542         * lyx_main.C (error_handler): handle SIGPIPE.
1543
1544 2003-10-13  André Pönitz  <poenitz@gmx.net>
1545
1546         * BufferView_pimpl.C:
1547         * lyxtext.h:
1548         * text.C:
1549         * text2.C:
1550         * text3.C:
1551         * undo_funcs.[Ch]: use paroffset_type instead of
1552           ParagraphList::iterators to prevent multiple conversion
1553           (and get a more robust interface)
1554
1555 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1556
1557         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1558         * lyxtext.h: ditto
1559         * text3.C (dispatch): ditto
1560
1561 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1564         move the onlyfile, use onlyfile instead of foundfile in a couple
1565         of places.
1566
1567         * DepTable.C (update): flush the error stream a bit more
1568
1569 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * lyxserver.C (callback): adjust
1572
1573         * lyxfunc.C (getStatus): add a missing brace in commented code
1574         (ensureBufferClean): reindent
1575         (dispatch): delete version taking a string
1576
1577 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1578
1579         * LaTeX.C (deplog): move found file handlig from here...
1580         (handleFoundFile): .. to new function here.
1581         (deplog): make sure to discover several files mentioned on the
1582         same log line.
1583
1584 2003-10-10  André Pönitz  <poenitz@gmx.net>
1585
1586         * lyxfunc.C:
1587         * lyxtext.h:
1588         * tabular.C:
1589         * text.C:
1590         * text2.C:
1591         * text3.C: fix some of the tabular crashes
1592
1593 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1594
1595         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1596
1597         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1598
1599 2003-10-09  André Pönitz  <poenitz@gmx.net>
1600
1601         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1602
1603         * BufferView.C:
1604         * BufferView_pimpl.C:
1605         * bufferview_funcs.C:
1606         * lyx_cb.C:
1607         * lyxcursor.C:
1608         * lyxfind.C:
1609         * lyxfunc.C:
1610         * lyxtext.h:
1611         * text.C:
1612         * text2.C:
1613         * text3.C:
1614         * text_funcs.[Ch]:
1615         * textcursor.[Ch]:
1616         * undo_funcs.C: adjust
1617
1618 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * text2.C (incrementItemDepth): new function, use a backtracking
1621         algorithm to discover the correct item depth.
1622         (resetEnumCounterIfNeeded): new function, use a backtracking
1623         algorithm to discover if counter reset is needed.
1624         (setCounter): use them. Simplify a bit. Add different labels for
1625         different item depths for itemize.
1626
1627         * paragraph.C (Paragraph): remove initialization of enumdepth
1628         (operator=): ditto
1629
1630         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1631         enumerate and itemize. Change the type of itemdepth to signed char.
1632
1633 2003-10-08  André Pönitz  <poenitz@gmx.net>
1634
1635         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1636           thing assignable.
1637         * text.C:
1638         * text2.C: adjust
1639
1640         * tabular.[Ch]: fix crash after 'row-insert'
1641
1642 2003-10-08  Angus Leeming  <leeming@lyx.org>
1643
1644         Fix doxygen warnings.
1645
1646         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1647         Remove CutAndPaste:: prefix from header file declaration.
1648
1649         * LColor.h (fill): remove LColor:: prefix from declaration.
1650
1651         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1652         use lyx::depth_type rather than Paragraph::depth_type so that
1653         header file and .C file match.
1654
1655         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1656
1657         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1658         * aspell.C: \file aspell_local.C -> \file aspell.C
1659         * gettext.C: \file gettext.C -> \file src/gettext.C
1660         * gettext.h: \file gettext.h -> \file src/gettext.h
1661         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1662         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1663         * text.C: \file text.C -> \file src/text.C
1664
1665         * toc.C: move comment so that doxygen is not confused.
1666
1667 2003-10-07  Angus Leeming  <leeming@lyx.org>
1668
1669         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1670
1671 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1672
1673         * aspell.C:
1674         * aspell_local.h: add forgotten std::string's.
1675
1676 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1677
1678         * LaTeXFeatures.C:
1679         * LyXAction.C:
1680         * factory.C:
1681         * lfuns.h:
1682         * lyxfunc.C:
1683         * text3.C: The Box patch. Fancybox support, minipage, parbox
1684
1685 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1686
1687         * CutAndPaste.h:
1688         * DepTable.h:
1689         * FloatList.h:
1690         * LaTeXFeatures.h:
1691         * ParagraphParameters.h:
1692         * TextCache.h:
1693         * Thesaurus.h:
1694         * bufferlist.h:
1695         * exporter.h:
1696         * importer.h:
1697         * lastfiles.h:
1698         * lyxfind.h:
1699         * lyxfont.h:
1700         * lyxlex.h:
1701         * lyxtextclasslist.h:
1702         * messages.h:
1703         * paragraph.h:
1704         * paragraph_pimpl.C:
1705         * textcursor.h: add <string> and other small fixes to make Lars'
1706         std::string patch compile with STLport.
1707
1708 2003-10-06  Angus Leeming  <leeming@lyx.org>
1709
1710         * LColor.h: Add missing #include <string>.
1711
1712 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * All most all file in all subdirs: Make <string> be the prefered
1715         way of getting to std::string, add using declarations.
1716
1717 2003-10-06  André Pönitz  <poenitz@gmx.net>
1718
1719         * metricsinfo.C: initialize LyXFont before changing attribute.
1720         (fixes the 'math in \emph is upright' bug)
1721
1722 2003-10-06  André Pönitz  <poenitz@gmx.net>
1723
1724         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1725
1726 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * graph.C:
1729         * paragraph_pimpl.C: Small fixes to build using STLport
1730
1731 2003-10-02  André Pönitz  <poenitz@gmx.net>
1732
1733         * lyxfunc.C:
1734         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1735
1736 2003-10-01  André Pönitz  <poenitz@gmx.net>
1737
1738         * factory.C: assert early
1739
1740 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * lyx_main.C: remove the global debug object
1743
1744         * debug.h: adjust for new debugstream
1745
1746         * debug.C: adjust for new debugstream and keep the global debug
1747         object here.
1748
1749 2003-09-22  Angus Leeming  <leeming@lyx.org>
1750
1751         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1752         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1753         an incomplete class LyXFont.
1754
1755 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * factory.C: bug fix in branches
1758
1759 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1760
1761         * lyxfunc.C (processKeySym): adjust
1762         (dispatch): adjust
1763         (dispatch): change arg name from ev to func, adjust
1764         (sendDispatchMessage): ditto
1765
1766         * lyx_main.C (defaultKeyBindings): adjust keybindings
1767         (deadKeyBindings): ditto
1768
1769         * kbsequence.C (addkey): return a FuncRequest
1770
1771         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1772
1773         * kbmap.C (bind): take a FuncRequest as arg, adjust
1774         (read): adjust
1775         (lookup): adjust
1776         (defkey): change to take a FuncRequest as arg, adjust
1777         (findbinding): take a FuncRequest as arg, adjust.
1778
1779         * funcrequest.h (operator=): added
1780
1781         * funcrequest.C (FuncRequest): default kb_action changed from
1782         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1783
1784         * buffer.C (dispatch): simplify
1785         (dispatch): adjust to take a FuncRequest as arg, adjust
1786
1787         * boost.C (assertion_failed): change assertion message slightly
1788
1789         * ToolbarBackend.C (read): simplify
1790
1791         * MenuBackend.C (binding): adjust call to findbinding, add a
1792         message if no binding is found.
1793         (read): simplify
1794         (expandToc): correct by adding a empty FuncRequest
1795
1796         * LyXAction.C: include <boost/assert.hpp>
1797         (isPseudoAction): delete function
1798         (LookupFunc): change name to...
1799         (lookupFunc): this. change return type to FuncRequest.
1800         (getActionName): take kb_action as arg, simplify
1801         (funcHasFlag): add an assert, simplify.
1802
1803 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * toc.C (action): return a FuncRequest, simplify
1806
1807         * lyxfunc.C (processKeySym): adjust
1808         (getStatus): delete version that takes an int.
1809         (getStatus): adjust
1810         (dispatch): delete version that takes action as int
1811         (dispatch): adjust
1812         (sendDispatchMessage): simplify and adjust
1813
1814         * funcrequest.C (getArg): take unsigned int as arg
1815
1816         * ToolbarBackend.C (read): adjust
1817         (add): delete version that takes func as a string.
1818         (getIton): take a FuncRequest as arg
1819
1820         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1821         action.
1822
1823         * MenuBackend.C (MenuItem): add a new construct that only takes a
1824         Kind, simplify the constructor use for submenus.
1825         (add): adjust
1826         (expandLastfiles): adjust
1827         (expandDocuments): adjust
1828         (expandFormats): adjust
1829         (expandFloatListInsert): adjust
1830         (expandFloatInsert): adjust
1831         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1832
1833         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1834         Remove class variables lyx_pseudo_map and lyx_arg_map
1835
1836         * LyXAction.C (searchActionArg): delete function
1837         (getPseudoAction): delete function
1838         (retrieveActionArg): delete function
1839         (LookupFunc): make it return kb_action, simplify.
1840         (getActionName): simplify
1841
1842         * factory.C (createInset): fix new bug
1843
1844 2003-09-19  Angus Leeming  <leeming@lyx.org>
1845
1846         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1847         masterFilename_ parameter in the include inset.
1848
1849         * factory.C (createInset): changes due to the changes to InsetInclude.
1850
1851 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1852
1853         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1854
1855 2003-09-18  Angus Leeming  <leeming@lyx.org>
1856
1857         * buffer.C:
1858         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1859         Inset::fillWithBibKeys.
1860         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1861
1862 2003-09-18  Angus Leeming  <leeming@lyx.org>
1863
1864         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1865         variables.
1866         (ctor): pass and store a 'Buffer const &'
1867         (buffer): new member function.
1868
1869         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1870         '*this' to the LaTeXFeatures ctor.
1871
1872 2003-09-18  Angus Leeming  <leeming@lyx.org>
1873
1874         * LColor.h:
1875         * lyxfont.C:
1876         * lyxfont.h:
1877         * lyxtext.h:
1878         * text.C: rename EnumLColor as LColor_color.
1879
1880 2003-09-18  Angus Leeming  <leeming@lyx.org>
1881
1882         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1883         remove #include "insets/insetbase.h" from cursor.h.
1884
1885 2003-09-18  Angus Leeming  <leeming@lyx.org>
1886
1887         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1888         InsetOld_code to remove #include "inset.h".
1889
1890         * iterators.C: add #include "insets/inset.h"
1891
1892 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * BufferView.C: remove more locking stuff that apparently doesn't
1895         do anything sensible.
1896
1897 2003-09-16  André Pönitz  <poenitz@gmx.net>
1898
1899         * paragraph.[Ch]:
1900         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1901           performance boost.
1902
1903 2003-09-16  Angus Leeming  <leeming@lyx.org>
1904
1905         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1906
1907         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1908         arg/return type.
1909
1910         * paragraph.h: remove #include "lyxfont.h". Forward declare
1911         LyXFont_size.
1912
1913 2003-09-16  Angus Leeming  <leeming@lyx.org>
1914
1915         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1916         of support/textutils.h.
1917         (isWord): move the contents of support/textutils.h's IsWordChar here.
1918
1919         * buffer.C:
1920         * lyxfind.C:
1921         * rowpainter.C:
1922         * text.C:
1923         * text2.C: add #include "paragraph.h".
1924
1925         * rowpainter.C:
1926         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1927
1928 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * main.C:
1931         * lyx_main.C:
1932         * lyx_cb.C:
1933         * buffer.C:
1934         * LaTeX.C: use namespace alias for lyx::support::os
1935
1936 2003-09-16  Angus Leeming  <leeming@lyx.org>
1937
1938         * bufferparams.C:
1939         * bufferview_funcs.C:
1940         * factory.C:
1941         * lyxfunc.C:
1942         * paragraph_pimpl.C:
1943         * rowpainter.C:
1944         * text.C: add #include "LColor.h".
1945
1946 2003-09-16  Angus Leeming  <leeming@lyx.org>
1947
1948         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1949         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1950         return LyXFont &.
1951         Store the FontBits::color variable as an int rather than as an
1952         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1953         file.
1954
1955         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1956         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1957         string calls together.
1958
1959         * lyxrc.C: add #include "LColor.h".
1960
1961 2003-09-15  Angus Leeming  <leeming@lyx.org>
1962
1963         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1964         a cow_ptr.
1965
1966 2003-09-15  Angus Leeming  <leeming@lyx.org>
1967
1968         * LColor.h: add an EnumLColor wrapper for LColor::color.
1969
1970         * lyxfont.[Ch] (color, setColor, realColor):
1971         * lyxtext.h, text.C (backgroundColor):
1972         pass EnumLColor args to/from the functions, rather than LColor::color
1973         ones.
1974
1975         * lyxfont.h:
1976         * lyxtext.h: forward declare EnumLColor.
1977
1978         * lyx_main.C: add #include "LColor.h".
1979
1980 2003-09-15  Angus Leeming  <leeming@lyx.org>
1981
1982         * .cvsignore: add lyx-gtk.
1983
1984 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * Chktex.C
1987         * LaTeX.C
1988         * LaTeXFeatures.C
1989         * ParagraphParameters.C
1990         * Spacing.C
1991         * buffer.C
1992         * bufferparams.C
1993         * bufferview_funcs.C
1994         * chset.C
1995         * counters.C
1996         * funcrequest.C
1997         * lyxfont.C
1998         * lyxgluelength.C
1999         * lyxlength.C
2000         * paragraph.C
2001         * paragraph_funcs.C
2002         * text3.C
2003         * vc-backend.C: remove usage of STRCONV
2004
2005 2003-09-15  Angus Leeming  <leeming@lyx.org>
2006
2007         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2008         explicitly define the color passed to the painter.
2009
2010 2003-09-15  Angus Leeming  <leeming@lyx.org>
2011
2012         * bufferparams.C (BufferParams): reorder member initializers to avoid
2013         compiler warning.
2014
2015 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2018         * text.C (updateRowPositions): remove an unusual nop
2019
2020 2003-09-12  André Pönitz  <poenitz@gmx.net>
2021
2022         * BufferView_pimpl.C:
2023         * Bullet.C:
2024         * layout.h:
2025         * lyxfunc.C:
2026         * lyxlayout.[Ch]:
2027         * lyxtextclass.C:
2028         * rowpainter.C:
2029         * text.C:
2030         * text2.C:
2031         * Counters.[Ch]: finish the 'automatic counters' job
2032
2033 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2034
2035         * aspell.C: include <boost/assert.cpp> (compile fix)
2036
2037 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2038
2039         * boost.C (assertion_failed): use lyx::support::abort instead of
2040         assert.
2041
2042 2003-09-10  Angus Leeming  <leeming@lyx.org>
2043
2044         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2045         with their _fwd progeny.
2046
2047 2003-09-09  Angus Leeming  <leeming@lyx.org>
2048
2049         134 files throughtout the source tree: replace 'using namespace abc;'
2050         directives with the appropriate 'using abc::xyz;' declarations.
2051
2052 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2053
2054         * boost.C (emergencyCleanup): moved here from LAssert.c
2055         (assertion_failed): new function, called by BOOST_ASSERT
2056
2057         * several files: change Assert to BOOST_ASSERT
2058
2059 2003-09-09  Angus Leeming  <leeming@lyx.org>
2060
2061         * buffer.[Ch]: Add an Impl class and move Buffer's member
2062         variables into it. As a result move several header files out of
2063         buffer.h.
2064
2065         Add header files to lots of .C files all over the tree as a result.
2066
2067 2003-09-09  Angus Leeming  <leeming@lyx.org>
2068
2069         * buffer.[Ch]: make Buffer's member variables private. Add
2070         accessor functions.
2071
2072         Lots of changes all over the tree as a result.
2073
2074 2003-09-08  Angus Leeming  <leeming@lyx.org>
2075
2076         * graph.C: #include <config.h>.
2077
2078 2003-09-08  Angus Leeming  <leeming@lyx.org>
2079
2080         * BranchList.C:
2081         * BufferView.C:
2082         * BufferView_pimpl.C:
2083         * CutAndPaste.C:
2084         * DepTable.C:
2085         * LaTeX.C:
2086         * LaTeXFeatures.C:
2087         * LyXAction.C:
2088         * MenuBackend.C:
2089         * TextCache.C:
2090         * aspell.C:
2091         * buffer.C:
2092         * bufferlist.C:
2093         * changes.C:
2094         * chset.C:
2095         * converter.C:
2096         * counters.C:
2097         * debug.C:
2098         * graph.C:
2099         * ispell.C:
2100         * lyx_cb.C:
2101         * lyxfind.C:
2102         * lyxfunc.C:
2103         * lyxlex_pimpl.C:
2104         * lyxrc.C:
2105         * lyxrow.C:
2106         * paragraph.C:
2107         * rowpainter.C:
2108         * texrow.C:
2109         * text.C:
2110         * text2.C:
2111         * toc.C: remove redundant using directives.
2112
2113 2003-09-07  Angus Leeming  <leeming@lyx.org>
2114
2115         * LaTeXFeatures.h: remove #include "support/types.h".
2116         * ToolbarBackend.h: remove #include <algorithm>.
2117         * changes.h: remove #include <ctime>.
2118         * debug.h: remove #include <iosfwd>.
2119         * graph.h: remove #include "support/std_string.h".
2120         * lyx_main.h: remove #include <csignal>.
2121         * lyxlex_pimpl.h: remove #include <fstream>.
2122         * sgml.h: remove #include <algorithm>, <utility>.
2123         * toc.h: remove #include "support/std_ostream.h".
2124         Add #include <iosfwd>.
2125
2126 2003-09-07  Angus Leeming  <leeming@lyx.org>
2127
2128         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2129
2130         * converter.h: forward declare LatexRunParams.
2131         * encoding.h: remove #include "lyxrc.h".
2132         * lyxtext.h: remove #include "LColor.h".
2133         * lyxtextclass.h: remove #include "support/types.h".
2134         * trans.h: remove #include "tex-accent.h".
2135         * trans_mgr.h: remove #include "tex-accent.h".
2136         * insets/inset.h: remove #include "support/types.h", <vector>.
2137         * insets/insetcollapsable.h: remove #include "LColor.h".
2138         * insets/insetinclude.h: remove #include "dimension.h".
2139         * insets/insetlatexaccent.h: remove #include "dimension.h".
2140         * insets/insetoptarg.h:: remove #include "insettext.h".
2141         * insets/insettext.h: remove #include "dimension.h",
2142         <boost/shared_ptr.hpp>
2143
2144         * insets/renderers.h: add #include "dimension.h".
2145         * insets/updatableinset.h: add #include "support/types.h".
2146
2147         * many .C files: Associated changes.
2148
2149 2003-09-06  Angus Leeming  <leeming@lyx.org>
2150
2151         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2152         one, inside testInvariant.
2153
2154         * PrinterParams.C: new file.
2155         * PrinterParams.[Ch]: move the function bodies out of line.
2156
2157 2003-09-06  Angus Leeming  <leeming@lyx.org>
2158
2159         * ParagraphParameters.h: forward declare ParameterStruct rather than
2160         including its header file.
2161         (depth): moved out-of-line.
2162
2163 2003-09-06  Angus Leeming  <leeming@lyx.org>
2164
2165         * BufferView_pimpl.h:
2166         * kbmap.h:
2167         * kbsequence.h:
2168         * lyxfunc.h: forward declare LyXKeySym rather than
2169         #include "frontends/LyXKeySym.h".
2170
2171         * BufferView_pimpl.C:
2172         * kbmap.C:
2173         * kbsequence.C:
2174         * lyxfunc.C: associated changes.
2175
2176 2003-09-06  Angus Leeming  <leeming@lyx.org>
2177
2178         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2179         As a result, can remove the #include "insets/inset.h" from BufferView.h
2180
2181 2003-09-06  Angus Leeming  <leeming@lyx.org>
2182
2183         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2184         As a result, can remove the #include "insets/inset.h" from BufferView.h
2185
2186 2003-09-06  Angus Leeming  <leeming@lyx.org>
2187
2188         * buffer_funcs.C:
2189         * buffer.h:
2190         * bufferlist.C:
2191         * BufferView.C:
2192         * bufferview_funcs.C:
2193         * BufferView_pimpl.C:
2194         * CutAndPaste.C:
2195         * lyx_cb.C:
2196         * lyxfunc.C:
2197         * paragraph.h:
2198         * ParagraphParameters.C:
2199         * tabular.C:
2200         * text3.C:
2201         * toc.C:
2202         * undo_funcs.C:
2203         * frontends/controllers/ControlDocument.C:
2204         * insets/insetcaption.C: rearrange the #includes into some sort of
2205         coherent order.
2206
2207         * buffer.h: remove #includes ErrorList.h, undo.h
2208
2209 2003-09-06  Angus Leeming  <leeming@lyx.org>
2210
2211         * support/types.h: add a 'depth_type' typedef, used to store the
2212         nesting depth of a paragraph.
2213
2214         * paragraph.h:
2215         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2216         defining explicitly.
2217
2218         * buffer.h:
2219         * paragraph_funcs.h:
2220         * ParagraphParameters.h:
2221         * sgml.h: use lyx::depth_type rather than Paragraph or
2222         ParameterStruct's depth_type.
2223
2224         * buffer.h
2225         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2226
2227         * BufferView.C:
2228         * BufferView_pimpl.C:
2229         * CutAndPaste.C:
2230         * ParagraphParameters.C:
2231         * buffer_funcs.C:
2232         * bufferlist.C:
2233         * bufferview_funcs.C:
2234         * lyx_cb.C:
2235         * lyxfunc.C:
2236         * tabular.C:
2237         * text3.C:
2238         * toc.C:
2239         * undo_funcs.C:
2240         * frontends/LyXView.C:
2241         * frontends/controllers/ControlDocument.C:
2242         * frontends/controllers/ControlErrorList.C:
2243         * insets/insetbibitem.C:
2244         * insets/insetbranch.C:
2245         * insets/insetcaption.C:
2246         * insets/insetcollapsable.C:
2247         * insets/insetenv.C:
2248         * insets/insetert.C:
2249         * insets/insetfloat.C:
2250         * insets/insetfoot.C:
2251         * insets/insetfootlike.C:
2252         * insets/insetnewline.C:
2253         * insets/insetquotes.C:
2254         * insets/insettabular.C:
2255         * insets/insettext.C:
2256         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2257
2258         * frontends/controllers/ControlChanges.C: #include "changes.h".
2259
2260 2003-09-06  Angus Leeming  <leeming@lyx.org>
2261
2262         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2263         than #including paragraph.h.
2264
2265         * ParagraphList.h:
2266         * RowList.h: deleted. Superfluous.
2267
2268         * CutAndPaste.h:
2269         * iterators.h:
2270         * lyxcursor.h:
2271         * lyxtext.h:
2272         * text_funcs.h:
2273         * undo.h:
2274         * undo_funcs.h:
2275         * insets/inset.h:
2276         * insets/insettext.h: use ParagraphList_fwd.h rather than
2277         ParagraphList.h.
2278
2279         * paragraph.h: don't forward declare ParagraphList.
2280
2281         * buffer.h:
2282         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2283         rather than ParagraphList.h. paragraph.h is still needed for the
2284         Paragraph::depth_type parameters.
2285
2286         * textcursor.h: enable it to compile stand-alone in light of the
2287         above changes.
2288
2289         * bufferview_funcs.C:
2290         * iterators.C:
2291         * lyxfunc.C:
2292         * lyxrow_funcs.C:
2293         * paragraph.C:
2294         * rowpainter.C:
2295         * text.C:
2296         * text2.C:
2297         * text3.C:
2298         * text_funcs.C:
2299         * textcursor.C:
2300         * undo.C:
2301         * frontends/controllers/ControlParagraph.C:
2302         * frontends/controllers/ControlTabular.C:
2303         * insets/insetmarginal.C:
2304         * insets/insetminipage.C:
2305         * insets/insetnote.C:
2306         * insets/insetoptarg.C: add header files needed to compile again.
2307
2308 2003-09-06  Angus Leeming  <leeming@lyx.org>
2309
2310         * RowList_fwd.h: new file, forward-declaring Row rather than
2311         #including lyxrow.h.
2312
2313         * lyxrow_funcs.h:
2314         * lyxtext.h:
2315         * paragraph.h:
2316         * insets/insettext.h: use it instead of RowList.h
2317
2318         * bufferview_funcs.C:
2319         * lyxfunc.C:
2320         * lyxrow_funcs.C:
2321         * paragraph.C:
2322         * rowpainter.C:
2323         * text.C:
2324         * text2.C:
2325         * text3.C: #include "RowList.h".
2326
2327 2003-09-05  Angus Leeming  <leeming@lyx.org>
2328
2329         * factory.C (createInset):
2330         * vspace.C (c-tor): replace sscanf call with an istringstream.
2331         * ispell.C: re-add missing HP/UX headers.
2332         * lyxserver.C: re-add missing  os2 headers.
2333
2334 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2335
2336         * BranchList.C:
2337         * graph.C:
2338         * ispell.C:
2339         * lastfiles.C:
2340         * lyx_cb.C:
2341         * lyxserver.C:
2342         * texrow.C:
2343         * text3.C: re-add missing system headers, needed for 2.95.2.
2344
2345 2003-09-05  Angus Leeming  <leeming@lyx.org>
2346
2347         Changes most place everywhere due to the removal of using directives
2348         from support/std_sstream.h.
2349
2350 2003-09-05  Angus Leeming  <leeming@lyx.org>
2351
2352         Replace LString.h with support/std_string.h,
2353         Lsstream.h with support/std_sstream.h,
2354         support/LIstream.h with support/std_istream.h,
2355         support/LOstream.h with support/std_ostream.h.
2356
2357         Changes resulting throughout the tree.
2358
2359 2003-09-05  Angus Leeming  <leeming@lyx.org>
2360
2361         * sgml.h: ensure that the header file can be compiled stand-alone.
2362         * *.C: strip out redundant #includes. (320 in total.)
2363
2364 2003-09-04  Angus Leeming  <leeming@lyx.org>
2365
2366         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2367         here (from getPackages).
2368
2369         * debug.[Ch]: add a new EXTERNAL tag.
2370
2371 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2372
2373         * text2.C (cursorEnd): simplify
2374         (setCursor): adjust
2375         (getColumnNearX): adjust
2376
2377         * text.C (computeBidiTables): adjust
2378         (fill): adjust
2379
2380         * rowpainter.C (paintChars): adjust
2381         (paintSelection): adjust
2382         (paintChangeBar): adjust
2383         (paintText): adjust
2384
2385         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2386         lastPos instead.
2387         (numberOfSeparators): adjust
2388
2389 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2390
2391         * LyXAction.C:
2392         * box.[Ch]:
2393         * lfuns.h:
2394         * lyxfunc.C:
2395         * text3.C: Restricts the mouse click functionality
2396         of insets like bibtex, include, toc and floatlist to the visible
2397         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2398         up the dialogs. Cursor has to be in front of the inset (i.e.
2399         start of row) for this to function.
2400
2401 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2402
2403         * bufferview_funcs.C (currentState): output row information
2404
2405 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2406
2407         * bufferview_funcs.C (currentState): output paragraph position
2408
2409 2003-09-04  Angus Leeming  <leeming@lyx.org>
2410
2411         * FloatList.h: move out #include "Floating.h".
2412         * LaTeX.h: move out #include "DepTable.h".
2413         * LyXAction.h: move out #include "funcrequest.h".
2414         * buffer.h: move out #include "author.h", "iterators.h".
2415         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2416         * lyx_main.h: move out #include "errorlist.h".
2417         * lyxfunc.h: move out #include "FuncStatus.h".
2418         * lyxtext: move out #include "lyxcursor.h".
2419         * paragraph_pimpl.h: move out #include "counters.h".
2420
2421 2003-09-03  Angus Leeming  <leeming@lyx.org>
2422
2423         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2424         preamble_snippets list, enabling us to add snippets to the preamble
2425         only if the snippet was not there already.
2426
2427 2003-09-04  Angus Leeming  <leeming@lyx.org>
2428
2429         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2430
2431 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2434         update
2435
2436 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2437
2438         * BranchList.C: point fix, earlier forgotten
2439
2440 2003-09-02  Angus Leeming  <leeming@lyx.org>
2441
2442         * box.C (contains): renamed from 'contained' after a fantastic
2443         amount of hot air.
2444
2445 2003-09-02  John Levon  <levon@movementarian.org>
2446
2447         * BufferView.C:
2448         * lyxcursor.h:
2449         * lyxcursor.C:
2450         * lyxfunc.C:
2451         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2452
2453 2003-09-02  John Levon  <levon@movementarian.org>
2454
2455         * text2.C: simplification of cursorEnd(), including partial
2456         fix for bug 1376
2457
2458 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * buffer.C (readFile): add a space
2461
2462 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2463
2464         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2465
2466 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * buffer.C (readFile): new function, take a filename and a
2469         ParagraphList::iterator
2470         (readFile): adjust
2471         (readFile): adjust, make it private. don't use setStream, make
2472         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2473         always contain the filename.
2474
2475         * BufferView.C (insertLyXFile): simplify and make it work for
2476         gzipped files.
2477
2478 2003-08-30  John Levon  <levon@movementarian.org>
2479
2480         * Makefile.am: fix dist (from Kayvan)
2481
2482 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * most files: change to use const Buffer refs
2485
2486 2003-08-27  André Pönitz  <poenitz@gmx.net>
2487
2488         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2489         on top of ownerPar().
2490
2491 2003-08-27  John Levon  <levon@movementarian.org>
2492
2493         * funcrequest.C: properly initialise POD members
2494
2495 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * lyxtext.h (top_y): move top_y from here
2498         * text.C:
2499         * text2.C:
2500         * text3.C:
2501         * BufferView.[Ch]:
2502         * BufferView_pimpl.[Ch]: to here
2503         * frontends/screen.C:
2504         * insets/insettabular.C:
2505         * insets/insettext.C: adjust
2506         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2507
2508 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * BufferView.[Ch]:
2511         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2512
2513 2003-08-26  André Pönitz  <poenitz@gmx.net>
2514
2515         * paragraph_func.[Ch] (outerPar): new function
2516
2517         * paragraph.C:
2518         * paragraph_funcs.C:
2519         * paragraph_funcs.h:
2520         * paragraph_pimpl.C:
2521         * text2.C: remove Inset::par_owner
2522
2523 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2524
2525         * lyxrow_funcs.C:
2526         * lyxtext.h:
2527         * text.C:
2528         * text2.C: eliminates the needFullRow/display() stuff
2529         altogether, putting the logic in metrics/draw in the insets.
2530
2531 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2532
2533         * text2.C (redoParagraphInternal, redoParagraphs):
2534         * text.C (redoParagraph): add a call to updateRowPositions at the
2535         end of each 'metrics-like' call. Remove all others.
2536         (getRow): remove the 'y-computing' version.
2537         (getRowNearY): do not compute nor return the real y. Solve the
2538         'y < 0' problem and simplify.
2539
2540 2003-08-22  Angus Leeming  <leeming@lyx.org>
2541
2542         * *.[Ch]: clean-up of licence and author blurbs.
2543         Also move config.h out of a few .h files and into a few .C files.
2544
2545 2003-08-22  André Pönitz  <poenitz@gmx.net>
2546
2547         * lyxrow.[Ch]: add x_ and *fill_ members
2548
2549         * lyxtext.h:
2550         * text.C:
2551         * rowpainter.C:
2552         * text2.C: adjust/remove prepareToPrint() calls
2553
2554 2003-08-22  André Pönitz  <poenitz@gmx.net>
2555
2556         * lyxrow.[Ch]: add  end_ member
2557
2558         * lyxrow_funcs.C: use LyXRow::end_
2559
2560         * lyxtext.h (singleWidth): add LyXFont parameter
2561
2562         * rowpainter.C:
2563         * text2.C: adjust LyXText::singleWidth() calls
2564
2565         * text.C (redoParagraph): simplify row breaking logic
2566
2567
2568 2003-08-19  André Pönitz  <poenitz@gmx.net>
2569
2570         * funcrequest.C: initialize button_ member
2571
2572         * text3.C:
2573         * rowpainter.[Ch]: interface consolidation
2574
2575 2003-08-18  André Pönitz  <poenitz@gmx.net>
2576
2577         * BufferView.C:
2578         * BufferView_pimpl.C:
2579         * lyxfind.C:
2580         * paragraph_funcs.C:
2581         * rowpainter.C:
2582         * text3.C: remove LyXScreen::draw() and fitCursor calls
2583
2584         * BranchList.h: remove spurious semicolons
2585
2586         * MenuBackend.C: fix branchlist related crash
2587
2588 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2589
2590         * BranchList.[Ch]:
2591         * InsetList.[Ch]:
2592         * LColor.[Ch]:
2593         * LyXAction.C:
2594         * Makefile.am:
2595         * MenuBackend.[Ch]:
2596         * bufferparams.[Ch]:
2597         * factory.C:
2598         * lfuns.h:
2599         * lyxfunc.C:
2600         * text3.C: implements the 'branch inset'
2601         idea. This allows the output of various versions of a document
2602         from a single source version, selectively outputing or suppressing
2603         output of parts of the text.
2604         This implementation contains a 'branch list editor' in a separate
2605         tab of the document settings dialog. Branches are user definable
2606         and have a "display colour" to distinguish them on-screen.
2607
2608         ColorHandler was somewhat cleaned up.
2609         (1) make possible a dynamically growing LColor list by allowing
2610         the graphic context cache to grow along (vector);
2611         (2) eliminate an IMHO unnecessary step in colour allocation.
2612
2613 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2614
2615         * BufferView_pimpl.C: compile fix
2616
2617 2003-08-15  André Pönitz  <poenitz@gmx.net>
2618
2619         * rowpainter.C: remove extra metrics calls
2620
2621         * lyxtext.h: merge the two constructors into a single one,
2622           pass reference to owner's par list
2623
2624         * BufferView_pimpl.C:
2625         * text.C:
2626         * text2.C: adjust
2627
2628 2003-08-15  André Pönitz  <poenitz@gmx.net>
2629
2630         * lyxrow_funcs.[Ch]:
2631         * lyxtext.h:
2632         * paragraph.h:
2633         * paragraph_funcs.C:
2634         * rowpainter.C:
2635         * text.C:
2636         * text2.C:
2637         * text3.C:
2638         * text_funcs.C: split LyXText::rowlist_ into individual
2639         Paragraph::rows_ chunks
2640
2641         * BufferView.[Ch]:
2642         * BufferView_pimpl.[Ch]:
2643         * lyxfind.C:
2644         * lyxtext.h:
2645         * text3.C: remove toggleSelection()
2646
2647 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2648
2649         * bufferlist.C: beautify two alerts (shorter text of buttons)
2650         * buffer.C: Remove redundant ' ' from message
2651         * tabular.h:
2652         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2653         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2654         rename VALIGN_CENTER to VALIGN_MIDDLE
2655
2656 2003-08-11  André Pönitz  <poenitz@gmx.net>
2657
2658         * lyxtext.h (getPar):
2659         * text.C: new function
2660
2661 2003-08-11  André Pönitz  <poenitz@gmx.net>
2662
2663         * Makefile.am:
2664         * tracer.[Ch]: remove unneeded files
2665
2666         * InsetList.[Ch]: remove resizeInsetsLyXText()
2667
2668         * lyxtext.h:
2669         * text.C:
2670         * text2.C:
2671         * text3.C: merge insertParagraphs() and appendParagraph()
2672         remove breakAgain(), update()
2673
2674         * BufferView_pimpl.[Ch]:
2675         * bufferview_funcs.[Ch]:
2676         * lyxfunc.C:
2677         * paragraph.[Ch]:
2678         * rowpainter.C:
2679         * tabular.C: adjust after text & InsetList changes.
2680
2681 2003-08-08  André Pönitz  <poenitz@gmx.net>
2682
2683         * text.C (insertChar, backspace): replace rowlist fiddling
2684         with rebreak of full par
2685
2686         * lyxtext.h:
2687         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2688         checkParagraph, updateInset): removed
2689
2690 2003-08-07  André Pönitz  <poenitz@gmx.net>
2691
2692         * paragraph.C:
2693         * text3.C: merge some LFUN handlers, remove dead code
2694
2695 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2696
2697         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2698
2699 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * text2.C (DEPM): fix part of bug 1255 and 1256
2702
2703 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * BufferView_pimpl.C (workAreaDispatch): change to use
2706         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2707         that are no mouse related.
2708
2709 2003-08-05  André Pönitz  <poenitz@gmx.net>
2710
2711         * BufferView.[Ch]:
2712         * BufferView_pimpl.[Ch]:
2713         * bufferview_funcs.C:
2714         * text2.C:
2715         * text3.C: rip out "deep update"
2716
2717         * textcursor.[Ch] (last_sel_cursor): remove unused member
2718
2719 2003-08-04  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.[Ch]:
2722         * BufferView_pimpl.[Ch]:
2723         * ParagraphParameters.C:
2724         * bufferview_funcs.C:
2725         * lyx_cb.C:
2726         * lyxfind.C:
2727         * lyxfunc.C:
2728         * text.C:
2729         * text2.C:
2730         * text3.C: replace "complicated" BufferView::update(...) calls with
2731         simpler ones.
2732
2733         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2734
2735 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2736
2737         * Makefile.am (lyx_SOURCES): add paper.h
2738
2739 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2740
2741         * Makefile.am: move things around so that both lyx-qt and
2742         lyx-xforms can be built (according to --with-frontend). Then lyx
2743         is a symbolic link to lyx-[firstfrontend]
2744
2745 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2746
2747         * Always use std::endl with lyxerr
2748
2749 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2750
2751         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2752
2753 2003-08-01  André Pönitz  <poenitz@gmx.net>
2754
2755         * BufferView.[Ch]:
2756         * BufferView_pimpl.[Ch]:
2757         * lyxfunc.C:
2758         * text3.C: merge BufferView::repaint() and BufferView::update()
2759
2760 2003-08-01  José Matos  <jamatos@lyx.org>
2761
2762         * buffer.[Ch]: file_format is no longer a buffer data element.
2763
2764 2003-08-01  André Pönitz  <poenitz@gmx.net>
2765
2766         * BufferView.C:
2767         * lyxtext.h:
2768         * text.C:
2769         * text2.C: make redoParagraph more independent of current cursor
2770
2771         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2772         * text.C:
2773         * text2.C: remove unneeded members
2774
2775 2003-07-30  André Pönitz  <poenitz@gmx.net>
2776
2777         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2778
2779         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2780           create a single function...
2781
2782         * paragraph_funcs.C (moveItem): ... here.
2783
2784         * text.C:
2785           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2786
2787 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * LColor.[Ch]: Add comment and greyedout logical colors.
2790
2791 2003-07-30  André Pönitz  <poenitz@gmx.net>
2792
2793         * tabular.C: don't use Assert too heavily. This crashes where it
2794           shouldn't
2795
2796 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2797
2798         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2799         is disabled (bug 1232)
2800
2801 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2802
2803         * factory.C: limited 'arg' scope
2804
2805 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2806
2807         * factory.C: fixed Note submenu issues
2808
2809 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * factory.C: submenu for Note/Comment/Greyedout
2812
2813 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * lyx_main.C (LyX):
2816         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2817
2818 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2819
2820         * LaTeXFeatures.C:
2821         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2822         greyedout. Patch provided by Jürgen Spitzmüller.
2823
2824 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2825
2826         * kbmap.C (read): fix error message when reading bind files
2827
2828 2003-07-29  Angus Leeming  <leeming@lyx.org>
2829
2830         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2831         certainly does not do what it purports to do. I am doing it, and
2832         us, a favour by killing it.
2833
2834 2003-07-28  José Matos  <jamatos@lyx.org>
2835
2836         * buffer.C (readBody, do_writeFile):
2837         * paragraph.C(readParagraph): \end_document replaces \the_end.
2838
2839 2003-07-29  André Pönitz  <poenitz@gmx.net>
2840
2841         * BufferView.[Ch]:
2842         * BufferView_pimpl.[Ch]:
2843         * lyxfunc.C:
2844         * text2.C:
2845         * text3.C:
2846         * textcursor.[Ch]: remove toggleToggle & Co
2847
2848 2003-07-28  José Matos  <jamatos@fep.up.pt>
2849
2850         * buffer.C (readParagraph):
2851         * params_func (readParToken, readParagraph):
2852         * paragraph.C (write): \layout -> \begin_layout.
2853
2854 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxlex_pimpl.C (setFile): clean up slightly.
2857
2858         * bufferparams.h: add compressed var
2859
2860         * buffer_funcs.C (readFile): adjust for LyXLex change
2861         (newFile): ditto + simplify
2862
2863         * buffer.C (writeFile): handle writing of compressed files
2864
2865         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2866         Check if the file is compressed and set a bufferparm if so.
2867
2868         * Makefile.am (lyx_LDADD): remove explicit -lz
2869
2870 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2873         makeDocBookFile): put the real LyX version in the first line of
2874         the file
2875
2876         * version.h:
2877         * version.C.in: remove lyx_docversion
2878
2879         * tabular.C (write_attribute): add a template-based version to
2880         write enums properly
2881
2882 2003-07-28  André Pönitz  <poenitz@gmx.net>
2883
2884         * lyxtext.h:
2885         * text.C:
2886         * text2.C:
2887         * text3.C: use doubles again for x-coordinates. They are needed.
2888
2889 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * messages.C (getLocaleDir): use lyx_localedir()
2892
2893         * lyxlex_pimpl.C (setFile): compress stuff
2894
2895         * buffer.C (writeFile): add some compression stuff
2896         (do_writeFile): new func, dont call expliti close... will this
2897         breake anything?
2898
2899         * Makefile.am (lyx_LDADD): add -lz
2900
2901 2003-07-28  José Matos  <jamatos@fep.up.pt>
2902
2903         * buffer.C: increment file format.
2904         * paragraph_funcs (readParagraph, readParToken):
2905         * paragraph.C (readParagraph): add \end_layout.
2906
2907 2003-07-27  Angus Leeming  <leeming@lyx.org>
2908
2909         * Makefile.am: remove special casing for configure-time setting of
2910         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2911
2912         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2913         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2914
2915 2003-07-26  André Pönitz  <poenitz@gmx.net>
2916
2917         * paragraph_func.[Ch]:
2918         * paragraph.C (realizeFont): inline it whereever it is used
2919
2920         * rowpainter.C:
2921         * text.C:
2922         * text2.C:
2923         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2924
2925
2926 2003-07-26  André Pönitz  <poenitz@gmx.net>
2927
2928         *       lyxtext.h:
2929         * text.C:
2930         * text2.C: get rid of LyXText::need_break_row
2931
2932 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * toc.[Ch]: put namespace toc inside namespace lyx
2935
2936         * MenuBackend.C (expandToc2): adjust for lyx::toc
2937         (expandToc): ditto
2938
2939         * lyxfunc.C (dispatch): adjust for lyx::find
2940
2941         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2942         lyx::find instead. Reorganize a bit.
2943         (LyXReplace): rename to replace
2944         (LyXFind): rename to find
2945
2946         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2947         (dispatch): ditto
2948
2949 2003-07-26  André Pönitz  <poenitz@gmx.net>
2950
2951         * text.C (setHeightOfRow): restrict scope of temporary variable
2952
2953         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2954           code (never has been used?)
2955
2956 2003-07-27  Asger Alstrup  <alstrup@local>
2957
2958         * text.C (fill): Optimise algorithm to exploit that we can reuse
2959         the LyXFont for many characters.
2960         (setHeightOfRow): Same thing.
2961         (rowBreakPoint): Same thing.
2962
2963 2003-07-26  Asger Alstrup  <alstrup@local>
2964
2965         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2966
2967         * text.C (singleWidth): Spurious font copying in hot-spot
2968         singleWidth avoided. Reorder tests for arabic for efficiency.
2969
2970         * text.C (fill): handle empty paragraphs better.
2971
2972 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2973
2974         * ispell.C:
2975         * encoding.h: add includes
2976
2977         * lyxrc.C: remove reading of bind files
2978
2979         * lyx_main.C (init): setup bindings and menus only if we have a
2980         gui.
2981
2982         * kbmap.C (read): new method. Do the actual reading of bind
2983         files.
2984
2985         * converter.C (dvipdfm_options):
2986         * bufferparams.C:
2987         * lyxrc.C (read):
2988         (output): adapt PAPER_* enums.
2989
2990         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2991
2992         * bufferparams.h: remove paper-related enums from there
2993
2994         * paper.h: New file. A trivial header file to hold paper-related
2995         enums. It should later expand to contain many paper-related
2996         horrors access.
2997
2998         * lyxrc.C: declare extern displayTranslator
2999
3000 2003-07-27  José Matos  <jamatos@fep.up.pt>
3001
3002         * tabular.[Ch] (linuxdoc): add support for tables and figures
3003         (linuxdoc).
3004
3005 2003-07-27  José Matos  <jamatos@fep.up.pt>
3006
3007         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3008         consistency in both functions.
3009         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3010
3011 2003-07-26  Asger Alstrup  <alstrup@local>
3012
3013         * rowpainter.C (paintRows): Change algorithm to work directly on
3014         the insets rather than asking every character in the document
3015         whether its an inset.
3016
3017 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3018
3019         * buffer.C (openFileWrite): factorize some code
3020
3021 2003-07-26  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyx_cb.C:
3024         * lyx_main.[Ch]: replace occurances of system_tempdir with
3025         os::getTmpDir().
3026
3027 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * rename Inset to InsetOld
3030
3031 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3032
3033         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3034         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3035         which I think is a bit clearer. EDIT is gone, since it was
3036         premature optimisation, and broken for mathed anyway.
3037         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3038         with cursor positioning in insets as well (math insets still do not
3039         work, but that's a different story anyway.) It mysteriously
3040         crashes sometimes with undo in the first paragraph, but I'm fairly
3041         confident that this is a compiler bug.
3042
3043 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * paragraph.C (Paragraph): adjust for new clone return type
3046         (operator==): ditto
3047         (copyIntoMinibuffer): ditto
3048
3049 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3050
3051         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3052         by not having a special case, and always doing a full rebreak of
3053         the document after undo.
3054
3055 2003-07-23  Angus Leeming  <leeming@lyx.org>
3056
3057         * factory.C (createInset): InsetExternal::setParams now takes a
3058         Buffer const * arg.
3059
3060 2003-07-23  Angus Leeming  <leeming@lyx.org>
3061
3062         * factory.C (createInset): changed interface to the external and
3063         graphics mailers' string2params functions.
3064
3065 2003-07-23  Angus Leeming  <leeming@lyx.org>
3066
3067         * factory.C (createInset): pass a
3068         Buffer const * parameter to InsetExternalMailer's string2params.
3069
3070 2003-07-22  John Levon  <levon@movementarian.org>
3071
3072         * Thesaurus.h: include the right aiksaurus header
3073
3074 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * MenuBackend.C (expand): check menu shortcuts unconditionally
3077
3078 2003-07-21  Angus Leeming  <leeming@lyx.org>
3079
3080         * factory.C (createInset): pass a
3081         buffer_path parameter to InsetGraphicsMailer's string2params.
3082
3083 2003-07-21  Angus Leeming  <leeming@lyx.org>
3084
3085         * BufferView_pimpl.C (buffer):
3086         * buffer.C (d-tor):
3087         * lyx_main.C (LyX):
3088         * lyxfunc.C (dispatch):
3089         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3090         rather than the grfx shortcut.
3091
3092 2003-07-21  André Pönitz  <poenitz@gmx.net>
3093
3094         * rowpainter.C: remove unused variables
3095
3096         * tabular_funcs.C:
3097         * tabular_funcs.h: move to tabular.C
3098         * Makefile.am: adjust
3099
3100         * tabular.[Ch]: basic optical cleaning
3101
3102         * author.h: pass references, not values
3103
3104 2003-07-18  André Pönitz  <poenitz@gmx.net>
3105
3106         * lyxtext.h:
3107         * metricsinfo.C:
3108         * metricsinfo.h:
3109         * rowpainter.C:
3110         * text.C:
3111         * text2.C:
3112         * text3.C: two-phase drawing for InsetText and InsetTabular
3113         some float -> int changes.
3114
3115 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * lyx_main.C: fix the fix
3118
3119 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3120
3121         * lyx_main.C: fix a crash in batch mode if no files specified
3122         * converter.C: ws
3123
3124 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3125
3126         * format.[Ch] (papersize): moved to BufferParams
3127         * converter.[Ch] (dvips_options): moved to BufferParams
3128         (dvipdfm_options): moved to anon namespace
3129         * bufferparams.[Ch]: added above functions.
3130
3131 2003-07-17  André Pönitz  <poenitz@gmx.net>
3132
3133         * lyxtext.h:
3134         * rowpainter.C:
3135         * text2.C: don't call inset->update() anymore
3136
3137         * metricsinfo.[Ch]: add convenience constructor
3138
3139 2003-07-16  André Pönitz  <poenitz@gmx.net>
3140
3141         * lyxcursor.[Ch]:
3142         * lyxfunc.[Ch]:
3143         * text.C:
3144         * text2.C: replace the LyXCursor::irow_ member with
3145          on-demand computation of the value
3146
3147 2003-07-16  John Levon  <levon@movementarian.org>
3148
3149         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3150
3151 2003-07-15  André Pönitz  <poenitz@gmx.net>
3152
3153         * text.C:
3154         * text2.C: remove no more needed refresh_row
3155
3156 2003-07-15  André Pönitz  <poenitz@gmx.net>
3157
3158         * lyxtext.h:
3159         * rowpainter.C:
3160         * text2.C:
3161         * text3.C: refresh_status tristate -> need_update bool
3162
3163 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3164
3165         * lyxtext.h (init): remove reinit argument (act as if always true)
3166         * text2.C: adjust to that
3167
3168 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3169
3170         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3171         * text3.C: use it to delete selections in some cases
3172         (bugs 441, 673, 702, 954).
3173
3174 2003-07-14  André Pönitz  <poenitz@gmx.net>
3175
3176         * rowpainter.[Ch]: reduce interface
3177
3178 2003-07-14  André Pönitz  <poenitz@gmx.net>
3179
3180         * BufferView_pimpl.C:
3181         * text2.C: adjust after removing unused BufferView * argument
3182
3183 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * text2.C (init): fix a crash fired on resize
3186
3187 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3188
3189         * buffer.[Ch]: added new closing signal
3190         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3191         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3192         BufferView::Pimpl via the closing the signal
3193
3194 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3195
3196         * buffer.[Ch]: take out all bv-related from buffer
3197         * BufferView.C:
3198         * BufferView_pimpl.[Ch]: connect to new signals
3199         * CutAndPaste.C: removed useless asserts
3200         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3201         * lyxvc.[Ch]:
3202         * vc-backend.[Ch]:
3203         * lyxfunc.C: moved view-related funciontality from vc here
3204         * paragraph.C: removed outdated comments
3205         * text.C: ws
3206
3207 2003-07-10  André Pönitz  <poenitz@gmx.net>
3208
3209         * BufferView_pimpl.C:
3210         * tabular.h:
3211         * tabular_funcs.C:
3212         * text.C:
3213         * text2.C: remove InsetText::InnerCache, clean up consequences
3214
3215 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3216
3217         * ispell.C: fix two typos in error messages
3218
3219 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3220
3221         * Extend Note inset to other forms of annotation like Comment
3222         and Greyedout. Right button click gives dialog.
3223
3224         Files modified or added (+):
3225
3226         * insetnote.[Ch]
3227         * FormNote.[Ch]      +
3228         * ControlNote.[Ch]   +
3229         * form_note.fd       +
3230         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3231         frontends/controllers
3232         * xforms/Dialogs.C
3233         * factory.C
3234
3235 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3236
3237         * aspell.C: add missing namespace lyx::support
3238
3239 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * BufferView.[Ch] (newFile): Add
3242         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3243         * LaTeX.[Ch] (message): added this signal and use it
3244         * buffer.[Ch] (busy, message): added these signals and use them
3245         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3246         * converter.C:
3247         * exporter.C:
3248         * format.C:
3249         * importer.C: use buffer signals instead of direct bv calling
3250         * lyx_cb.[Ch] (ShowMessage): removed
3251         * lyx_main.C:
3252         * lyxfunc.C:
3253         * paragraph_funcs.C:
3254         * text2.C: use buffer signals
3255
3256 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * introduce namespace lyx::graphics
3259
3260 2003-07-02  André Pönitz  <poenitz@gmx.net>
3261
3262         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3263
3264 2003-07-01  André Pönitz  <poenitz@gmx.net>
3265
3266         * text.C:
3267         * text2.C:
3268         * text3.C:
3269         * text_funcs.[Ch]:
3270         * textcursor.h:
3271         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3272           text*.C to text_func.C
3273
3274 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * introduce namespace lyx::support
3277
3278 2003-06-30  André Pönitz  <poenitz@gmx.net>
3279
3280         * Chktex.C:
3281         * funcrequest.C:
3282         * lyxtext.h:
3283         * text.C: re-enable --with-included-string
3284
3285 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * textcursor.C: add <config.h>
3288
3289         * text.C (getWord): remove const from word_location arg
3290
3291         * lyxvc.C (getLogFile): fix const type order
3292
3293         * lyxtext.h: remove const from word_location arg, add arg name
3294
3295         * lyxlayout.h: currect type on labeltype.
3296
3297         * importer.C: correct \file
3298
3299         * converter.C (intToFormat): use std:: on ret val, ws changes
3300
3301         * bufferlist.h: correct \file
3302
3303         * buffer.C (makeLinuxDocFile): fix const type order
3304         (makeDocBookFile): ditto
3305         (fillWithBibKeys): use std:: on stdlib args.
3306
3307         * CutAndPaste.C: fix authors.
3308         (availableSelections): use std:: on return vector
3309
3310 2003-06-27  André Pönitz  <poenitz@gmx.net>
3311
3312         * BufferView_pimpl.C:
3313         * bufferview_funcs.C:
3314         * lyxcursor.C:
3315         * lyxcursor.h:
3316         * lyxfunc.C:
3317         * lyxtext.h:
3318         * rowpainter.C:
3319         * text.C:
3320         * text2.C:
3321         * text3.C: remove LyXCursor::row_ member
3322
3323         * lyxtext.h:
3324         * text.C: rename fullRebreak() to partialRebreak() and implement
3325           a fullRebreak() that really bereks fully
3326
3327         * textcursor.h: new struct for cursor-related data
3328
3329 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3330
3331         * lyx_main.C (LyX): get full path of document loaded on the
3332         command line
3333
3334 2003-06-26  André Pönitz  <poenitz@gmx.net>
3335
3336         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3337           remove unused/broken operator>,<,>=.
3338
3339         *       text.C: remove only use of broken operator<= in an Assert().
3340
3341 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3342
3343         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3344         moved errorlist_.clear to showErrorList
3345
3346 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3347
3348         * converter.C (scanLog, runLaTeX):
3349         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3350         move the bv->showErrorList call to the callers
3351         * lyxfunc.C: i.e. here...
3352         * text2.C: and here
3353         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3354         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3355         namespace, the second to...
3356         * buffer_funcs (BufferFormat, parseErrors): added
3357         * errorlist.C (ErrorList(TeXErrors const &)): removed
3358
3359 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3360
3361         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3362
3363 2003-06-24  "Garst R. Reese" <reese@isn.net>
3364
3365         * debug.C: fix typo
3366
3367 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3368
3369         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3370
3371         * version.C.in: change docversion to 1.4
3372
3373 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3374
3375         * buffer.C: fix a bug just introduced
3376
3377 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * buffer.[Ch]: added the parseError signal and use it, removed
3380         sgmlError
3381         * BufferView.[Ch] (addError): moved to ...
3382         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3383         to the Buffer::parseError signal to catch (guess what) parse errors
3384         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3385
3386 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3387
3388         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3389         ability to create a buffer and to return an existing one from
3390         the list. Moved these functions to...
3391         * buffer_funcs.[Ch]: added
3392         * BufferView.[Ch] (loadLyXFile): added
3393         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3394         job removed from bufferlist::loadLyXFile.
3395         * buffer.C (setReadOnly): make it work without view
3396         (i.e added an if (users))
3397
3398 2003-06-19  Angus Leeming  <leeming@lyx.org>
3399
3400         * lfuns.h:
3401         * LyXAction.C (init):
3402         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3403         with LFUN_DIALOG_SHOW <name> <data>.
3404
3405 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3406
3407         * CutAndPaste.C (availableSelections): small compilation fix for
3408         ancient (gcc 2.9x) compilers
3409
3410 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * text3.C (cursorNext): add tmp var
3413
3414         * text2.C (updateCounters): for function calling out of for clause
3415         (replaceSelectionWithString): ditto
3416         (insertStringAsParagraphs): ditto
3417         (getColumnNearX): add tmp var
3418         (setCursorFromCoordinates): add tmp var
3419         (cursorDownParagraph): add tmp var
3420         (deleteEmptyParagraphMechanism): add tmp var
3421
3422         * text.C (insertChar): add tmp var
3423
3424         * rowpainter.C (paintDepthBar): add tmp var
3425
3426         * CutAndPaste.C (availableSelections): potentially check all
3427         paragraphs in a cut to fill the shown strings.
3428
3429 2003-06-18  André Pönitz  <poenitz@gmx.net>
3430
3431         * kbmap.[Ch]: use vector<> instead of list<>
3432
3433 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3434
3435         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3436         pasteSelection with index
3437
3438         * text2.C (pasteSelection): modify, call pasteSelection with index
3439
3440         * paragraph.C (asString): reimplement version with no interval to
3441         call the one with interval.
3442
3443         * lyxtext.h: add index arg to pasteSelection
3444
3445         * MenuBackend.C (MenuItem): handle PasteRecent
3446         (Menu::read::Menutags): add md_pasterecent
3447         (read): handle it
3448         (expandPasteRecent): new function
3449         (expand): use it
3450
3451         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3452
3453         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3454         the limited stack
3455         (availableSelections): new function
3456
3457 2003-06-17  Angus Leeming  <leeming@lyx.org>
3458
3459         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3460
3461 2003-06-17  Angus Leeming  <leeming@lyx.org>
3462
3463         * lfuns.h:
3464         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3465
3466         * lyxfunc.C (dispatch): invoke it.
3467
3468 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3469
3470         * iterators.C (operator++, ParPosition): reintroduce some
3471         const_cast for the benefit of older compilers.
3472
3473 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3474
3475         * text3.C (dispatch): do not modify clipboard when doing
3476         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3477         LFUN_DELETE_SKIP on a selection selection
3478
3479 2003-06-16  André Pönitz  <poenitz@gmx.net>
3480
3481         * BufferView.C:
3482         * buffer.C:
3483         * buffer.h:
3484         * paragraph.C:
3485         * tabular.[Ch]: IU of clone() and getLabelList();
3486
3487 2003-06-13  André Pönitz  <poenitz@gmx.net>
3488
3489         * tabular.h: compactification
3490
3491 2003-06-12  André Pönitz  <poenitz@gmx.net>
3492
3493         * tabular.C:
3494         * tabular.h:
3495         * tabular_funcs.h: some renaming plus whitespace
3496
3497 2003-06-12  André Pönitz  <poenitz@gmx.net>
3498
3499         * BufferView.C:
3500         * BufferView_pimpl.C:
3501         * CutAndPaste.C:
3502         * buffer.C:
3503         * iterators.[Ch]:
3504         * lyxfunc.C:
3505         * text.C:
3506         * toc.C: Return a Paragraph & for ParIterator::operator*()
3507
3508 2003-06-11  John Levon  <levon@movementarian.org>
3509
3510         * lyx_main.C:
3511         * ToolbarBackend.h:
3512         * ToolbarBackend.C: add "Toolbars" section and
3513         put the flags there
3514
3515 2003-06-10  Angus Leeming  <leeming@lyx.org>
3516
3517         * lfuns.h:
3518         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3519
3520         * lyxfunc.C (dispatch): invoke it.
3521
3522 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * main.C: protect <ios> with HAVE_IOS
3525         (main): protect sync_with_stdio with HAVE_IOS
3526
3527 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3528
3529         * text2.C (cutSelection): adjust
3530         (pasteSelection): adjust
3531
3532         * messages.C: handle get of empty string
3533
3534         * main.C (main): use sync_with_stdio(false)
3535
3536         * lyxfunc.C (dispatch): adjust
3537
3538         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3539         (WriteAs): remove unneeded BufferView arg.
3540
3541         * bufferparams.h: use correct types on papersize, papersize2 and
3542         paperpackage.
3543
3544         * bufferparams.C (readToken): adjust for type
3545         (writeLaTeX): add missing cases to switch.
3546
3547         * bufferlist.C (quitWriteBuffer): adjust
3548         (close): adjust
3549
3550         * buffer.C (asciiParagraph): remove some commented code.
3551
3552         * CutAndPaste.C: remove current_view extern variable.
3553         (cutSelection): add BufferParams arg.
3554         (eraseSelection): add BufferParams arg.
3555         (pasteSelection): add Buffer const & arg
3556
3557 2003-06-07  John Levon  <levon@movementarian.org>
3558
3559         * buffer.C:
3560         * paragraph_funcs.C:
3561         * paragraph_pimpl.C:
3562         * text.C:
3563         * text2.C:
3564         * paragraph.h:
3565         * paragraph.C: allow InsetERT to freely space lines,
3566         and some consolidation of code
3567
3568 2003-06-06  José Matos  <jamatos@fep.up.pt>
3569
3570         * buffer.C (makeDocBookFile): fix bug #821
3571
3572 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3575
3576 2003-06-04  Angus Leeming  <leeming@lyx.org>
3577
3578         * buffer.C: bump format to 224.
3579
3580 2003-06-05  André Pönitz  <poenitz@gmx.net>
3581
3582         * text2.C (redoParagraphs): remove two const_cast<>
3583
3584 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3585
3586         * ParagraphList.h: remove last remnants of NO_STD_LIST
3587
3588 2003-06-03  Angus Leeming  <leeming@lyx.org>
3589
3590         * factory.C (createInset): small change to the way InsetExternal's params
3591         are set.
3592
3593 2003-06-04  André Pönitz  <poenitz@gmx.net>
3594
3595         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3596
3597         * paragraph_pimpl.h:
3598         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3599
3600         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3601
3602         * undo_funcs.C: make some simple cases of undo work again
3603
3604 2003-06-03  John Levon  <levon@movementarian.org>
3605
3606         * ispell.C: HPUX doesn't have sys/select.h
3607         (from Albert Chin)
3608
3609 2003-06-03  John Levon  <levon@movementarian.org>
3610
3611         * CutAndPaste.C: update tabular and include inset
3612         buffer references
3613
3614         * buffer.h:
3615         * paragraph.h:
3616         * paragraph.C: remove owningBuffer(), don't pass Buffer
3617         to clone()
3618
3619         * factory.C: insetGraphicsParams changed
3620
3621 2003-06-02  John Levon  <levon@movementarian.org>
3622
3623         * LyXAction.C:
3624         * factory.C:
3625         * lfuns.h:
3626         * lyxfunc.C:
3627         * text3.C: remove insetparent
3628
3629 2003-06-02  John Levon  <levon@movementarian.org>
3630
3631         * buffer.h:
3632         * buffer.C: fix inset_iterator.end(), move out of line
3633         (bug 1149)
3634
3635 2003-06-01  John Levon  <levon@movementarian.org>
3636
3637         * text3.C: use a proper cut/paste when doing inset
3638         insert (from Jürgen Spitzmüller)
3639
3640 2003-06-01  John Levon  <levon@movementarian.org>
3641
3642         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3643
3644 2003-05-30  André Pönitz  <poenitz@gmx.net>
3645
3646         * rowpainter.C: unify second drawing phase
3647
3648 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3649
3650         * trans_mgr.C: remove one case of current_view
3651
3652         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3653
3654         * paragraph_funcs.h: remove paragraph.h include
3655
3656         * paragraph.h: delete NO_STD_LIST stuff
3657
3658         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3659
3660         * buffer.h: remove paragraph.h include
3661
3662         * ParagraphList.C: delete file
3663
3664         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3665
3666         * toc.C (getTocList): adjust
3667
3668         * paragraph_pimpl.C (validate): adjust
3669
3670         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3671
3672         * paragraph.C (Paragraph): adjust
3673         (getPositionOfInset): use const_iterator, adjust
3674         (bibitem): use const_iterator, adjust
3675         (setInsetOwner): adjust
3676
3677         * iterators.C (operator++): adjust
3678
3679         * InsetList.[Ch]: Replace selfmade iterator with standard
3680         vector::iterator also introduce const_iterator. Remove getPos,
3681         getInset and setInset from InsetTable. Adjust accordingly.
3682
3683         * BufferView.C (lockInset): adjust
3684         (ChangeInsets): adjust
3685
3686         * tabular.[Ch]: delete commented same_id functions
3687
3688 2003-05-28  John Levon  <levon@movementarian.org>
3689
3690         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3691
3692 2003-05-28  André Pönitz  <poenitz@gmx.net>
3693
3694         * metricsinfo.[Ch]: remove 'fullredraw' member
3695
3696 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3697
3698         * lyxtextclass.C (operator): remove caching.
3699
3700 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * text3.C: adjust
3703
3704         * text2.C (cursorBottom): adjust
3705         (setCounter): use ParagraphList::find, adjust
3706
3707         * text.C (workWidth): use ParagraphList::find, adjust
3708
3709         * lyxcursor.C (LyXCursor): adjust
3710
3711         * buffer.C (inset_iterator): adjust
3712
3713         * ParagraphList.h: make iterator(value_type) private, make
3714         ParagraphList a friend of iterator.
3715
3716         * ParagraphList.C (find): new function
3717
3718         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3719
3720 2003-05-27  André Pönitz  <poenitz@gmx.net>
3721
3722         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3723
3724 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3725
3726         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3727
3728 2003-05-26  John Levon  <levon@movementarian.org>
3729
3730         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3731
3732 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * remove same_id from function signatures, adjust.
3735
3736 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3739
3740         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3741
3742         * paragraph.C (Paragraph): get rid of same_ids parameter
3743
3744         * ParagraphList.C (insert): adjust
3745         (push_back): adjust
3746
3747 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * paragraph_funcs.C (breakParagraph): adjust
3750         (breakParagraphConservative): adjust
3751
3752         * buffer.C (readParagraph): adjust
3753
3754         * ParagraphList.C (insert): take a reference instead of a pointer
3755         (insert): adjust
3756
3757         * paragraph.[Ch] (id): new function
3758
3759         * bufferlist.C (newFile): adjust
3760
3761         * ParagraphList.C (ParagraphList): adjust
3762         (assign): adjust
3763         (push_back): take a reference instead of a pointer.
3764
3765         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3766
3767         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3768         instead.
3769
3770         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3771         set else use old code.
3772
3773         * ParagraphList.C: remove all NO_NEXT code and only compile this
3774         code of NO_STD_LIST is set.
3775
3776 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * BufferView_pimpl.C:
3779         * TextCache.C:
3780         * TextCache.h:
3781         * bufferlist.C:
3782         * errorlist.h:
3783         * format.C:
3784         * format.h:
3785         * graph.C:
3786         * lyxfunc.C:
3787         * lyxrc.C:
3788         * graphics/GraphicsConverter.C:
3789         * graphics/PreviewLoader.C: header adjustment
3790
3791 2003-05-23  Angus Leeming  <leeming@lyx.org>
3792
3793         * LaTeXFeatures.[Ch] (useBabel): new method.
3794         * bufferparams.C (writeLaTeX): use it.
3795
3796 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * ParagraphList.h (set): remove unused function.
3799
3800 2003-05-23  André Pönitz  <poenitz@gmx.net>
3801
3802         * BufferView.C:
3803         * BufferView_pimpl.C:
3804         * buffer.C:
3805         * buffer.h:
3806         * lyxfunc.C:
3807         * undo_funcs.C: setUndo reworked
3808
3809         * iterators.[Ch]: add access to topmost ParagraphList
3810
3811         * lyxtext.[Ch] (workWidth): add a const
3812
3813 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * texrow.[Ch] (increasePos): remove function
3816         * exporter.C (export): removed unused var and outdated comment
3817
3818 2003-05-23  Angus Leeming  <leeming@lyx.org>
3819
3820         * latexrunparams.h: rename fragile as moving_arg.
3821         * paragraph.C (simpleTeXOnePar): ditto.
3822         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3823
3824 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3827         (createUndo): ditto
3828         (textUndoOrRedo): comment out a currently unused var.
3829
3830         * paragraph.h (NO_NEXT): enable NO_NEXT
3831
3832         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3833
3834         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3835
3836         * exporter.C (Export): adjust for removeAutoInsets removal.
3837
3838         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3839
3840         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3841
3842         * BufferView.[Ch] (removeAutoInsets): delete function
3843
3844 2003-05-22  Angus Leeming  <leeming@lyx.org>
3845
3846         * latexrunparams.h: add a free_spacing variable.
3847
3848         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3849         to pass moving_arg, as the data is stored in runparams.fragile.
3850
3851         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3852         to Inset::latexOptional or to simpleTeXOnePar.
3853
3854         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3855         free_spacing arg to Inset::latexOptional.
3856
3857         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3858         free_spacing arg.
3859
3860 2003-05-22  Angus Leeming  <leeming@lyx.org>
3861
3862         * latexrunparams.h: add fragile and use_babel variables.
3863
3864         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3865         * buffer.C (makeLaTeXFile): store this returned value in
3866         runparams.use_babel, thus passing it to the inset::latex methods.
3867
3868         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3869         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3870
3871         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3872         longer has a fragile arg, as it is stored in runparams.fragile.
3873
3874         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3875         moving_arg parameter as the data is stored in runparams.fragile.
3876
3877         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3878         a fragile parameter as the data is stored in runparams.fragile.
3879
3880 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3883
3884 2003-05-22  Angus Leeming  <leeming@lyx.org>
3885
3886         * latexrunparams.h: add a 'bool nice' which defaults to false.
3887
3888         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3889         now encapsulated within runparams.
3890
3891         * bufferlist.C (updateIncludedTeXfiles):
3892         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3893
3894 2003-05-22  Angus Leeming  <leeming@lyx.org>
3895
3896         * latexrunparams.h: new file containing struct LatexRunParams.
3897         * Makefile.am: add new file.
3898
3899         * LaTeX.[Ch] (c-tor, run):
3900         * buffer.[Ch] (makeLaTeXFile):
3901         * bufferlist.[Ch] (updateIncludedTeXfiles):
3902         * converter.C (convert, scanLog):
3903         * converter.[Ch] (runLaTeX):
3904         * exporter.C (Export):
3905         * paragraph.[Ch] (simpleTeXOnePar):
3906         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3907         * paragraph_funcs.[Ch] (latexParagraphs):
3908         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3909         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3910         pass around a LatexRunParams parameter.
3911
3912 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * paragraph.[Ch]: remove unused constructor
3915
3916         * ParagraphList.C (erase): new function, taking two iterators
3917
3918 2003-05-22  André Pönitz  <poenitz@gmx.net>
3919
3920         * undo_funcs.C: remove duplicated code
3921
3922         * iterator.[Ch]: operator=
3923
3924 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * tabular.C (SetMultiColumn): ws changes
3927
3928         * rowpainter.C (paintFirst): get rid of a ->previous
3929
3930         * lyx_cb.C (getPossibleLabel): parlist simplification
3931
3932         * BufferView.C (ChangeInsets): simplify slightly.
3933
3934 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3935
3936         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3937         * lfuns.h: new LFUN_SPACE
3938         * lyxfunc.C: protected space has a new lfun
3939         * paragraph_funcs.C: read new space insets
3940         * text3.C:
3941         * factory.C: handle new space insets
3942
3943 2003-05-22  André Pönitz  <poenitz@gmx.net>
3944
3945         * BufferView.C:
3946         * BufferView_pimpl.C:
3947         * buffer.[Ch]:
3948         * lyxfunc.C:
3949         * undo_funcs.C: return a ParIterator from getParFromID.
3950
3951         * iterators.[Ch]: add two const's
3952
3953 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * toc.C (getTocList): adjust
3956
3957         * iterators.[Ch]: rework for parlist
3958
3959         * buffer.C (par_iterator_begin): adjust
3960         (par_iterator_end): adjust
3961
3962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3963
3964         * BufferView.C (removeAutoInsets): adjust
3965         (ChangeInsets): adjust
3966
3967 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * text.C (top_y): fix bug 1110
3970
3971 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * errorlist.[Ch]: added
3974         * buffer.C:
3975         * BufferView.[Ch]:
3976         * BufferView_pimpl.C:
3977         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3978         instead
3979
3980 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * Makefile.am: ensure that lyx is relinked upon changes to the
3983         various "convenience" libs.
3984
3985 2003-05-20  Angus Leeming  <leeming@lyx.org>
3986
3987         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3988         files are compiled in alphabetical order again.
3989
3990         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3991
3992 2003-05-19  Angus Leeming  <leeming@lyx.org>
3993
3994         * gettext.[Ch]: remove "char const * _(char const *)".
3995
3996 2003-05-19  André Pönitz  <poenitz@gmx.net>
3997
3998         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3999
4000         * Makefile.am:
4001         * BufferView.C:
4002         * DepTable.h:
4003         * LaTeXFeatures.C:
4004         * buffer.C:
4005         * lyxfont.C:
4006         * lyxlex.h:
4007         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4008
4009 2003-05-19  André Pönitz  <poenitz@gmx.net>
4010
4011         * buffer.C:
4012         * lyxlayout.[Ch]:
4013         * lyxtextclass.[Ch]:
4014         * paragraph.C:
4015         * paragraph_funcs.[Ch]:
4016         * text2.C:
4017         * text3.C: more insetenv work
4018
4019 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4020
4021         * ParagraphParameters.C (params2string): small bug fixed
4022
4023 2003-05-16  André Pönitz  <poenitz@gmx.net>
4024
4025         * debug.C:
4026         * bufferview_funcs.C: patch from Kornel Benko to prevent
4027           crash when _(...) is called twice in a statement
4028
4029 2003-05-16  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView.C:
4032         * lyxfunc.C:
4033         * text.C:
4034         * text2.C:
4035         * text3.C:
4036         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4037
4038 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4039
4040         * lyx_main.C (init): remove spurious static_cast
4041
4042 2003-05-14  André Pönitz  <poenitz@gmx.net>
4043
4044         * BufferView.C: fix format string
4045
4046 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4047
4048         * BufferView.[Ch] (insertErrors): removed
4049         * BufferView.[Ch] (showErrorList): added
4050         * buffer.C (runChkTeX):
4051         * converter.C (scanLog): call showErrorList instead of inserterrors
4052
4053 2003-05-13  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView_pimpl.C:
4056         * buffer.C:
4057         * bufferview_func.C:
4058         * MenuBackend.C:
4059         * lyxfunc.C:
4060         * lyxrc.C:
4061         * tex-accent.C:
4062         * text3.C:
4063         * toc.C:
4064         * tabular_funcs.h: tostr() from its own header
4065
4066         * ParagraphParameters.C:
4067         * ToolbarBackend.C:
4068         * bufferparams.C:
4069         * format.C:
4070         * lyxlex_pimpl.C:
4071         * text3.C: STRCONV()
4072
4073 2003-05-12  André Pönitz  <poenitz@gmx.net>
4074
4075         * BufferView.C:
4076         * BufferView_pimpl.C:
4077         * CutAndPaste.C:
4078         * LaTeX.C:
4079         * LaTeXFeatures.C:
4080         * ParagraphParameters.C:
4081         * buffer.C:
4082         * bufferlist.C:
4083         * bufferparams.C:
4084         * bufferview_funcs.C:
4085         * converter.C:
4086         * counters.C:
4087         * debug.C:
4088         * exporter.C:
4089         * format.C:
4090         * importer.C:
4091         * lyx_cb.C:
4092         * lyx_main.C:
4093         * lyxfont.C:
4094         * lyxfunc.C:
4095         * lyxvc.C:
4096         * paragraph.C:
4097         * paragraph_funcs.C:
4098         * tabular.C:
4099         * tabular_funcs.C:
4100         * text2.C:
4101         * text3.C:  boost::format -> bformat  all over the place
4102
4103
4104 2003-05-09  André Pönitz  <poenitz@gmx.net>
4105
4106         * LColor.[Ch]: Pimpl the #include <map> away
4107
4108 2003-05-09  John Levon  <levon@movementarian.org>
4109
4110         * bufferlist.C: never remove emergency saves
4111
4112 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * Makefile.am: better lib building
4115
4116 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4119         instead.
4120         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4121         (simpleTeXSpecialChars): adjust
4122         (simpleTeXSpecialChars): adjust
4123         * paragraph.C (simpleTeXOnePar): adjust
4124         * buffer.C (makeLaTeXFile): adjust
4125
4126         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4127
4128         * text2.C (changeDepth): parlist cleanup
4129         (getColumnNearX): ditto
4130
4131         * rowpainter.C (getLabelFont): parlist cleanup
4132
4133         * bufferlist.C (newFile): parlist cleanup
4134
4135         * CutAndPaste.C (eraseSelection): parlist cleanup
4136
4137         * BufferView_pimpl.C (trackChanges): parlist cleanup
4138         (dispatch): ditto
4139
4140         * BufferView.C (lockInset): parlist cleanup.
4141         (ChangeInsets): ditto
4142
4143 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * CutAndPaste.h: Update file header.
4146
4147         * CutAndPaste.C: Update file header.
4148         Store the parts cut out of the Document in a limited_stack.
4149         (copySelection): adjust
4150         (pasteSelection): new function, takes the index in the limited stack.
4151         (nrOfParagraphs): adjust
4152         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4153         simplify error inset insertion.
4154         (checkPastePossible): adjust
4155
4156 2003-05-06  John Levon  <levon@movementarian.org>
4157
4158         * text2.C: don't cast wrap inset to float
4159
4160 2003-05-05  André Pönitz  <poenitz@gmx.net>
4161
4162         * iterator.C:
4163         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4164
4165         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4166           few naked Paragraph *.
4167
4168 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4169
4170         * bufferparams.C: Output warning if a document with missing
4171         TeX document class is loaded
4172         * exporter.C: Disable TeX exports if the document class is missing
4173         * lyxtextclass.C:
4174         * lyxtextclass.h:
4175         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4176         isTeXClassAvailable()
4177
4178 2003-05-03  John Levon  <levon@movementarian.org>
4179
4180         * BufferView.h:
4181         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4182         explicit cursor show/hide
4183
4184         * BufferView_pimpl.h:
4185         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4186         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4187
4188         * lyxfunc.C: hide cursor before dispatching.
4189
4190         * lyx_cb.C:
4191         * lyxfind.C:
4192         * text.C:
4193         * text3.C: remove explicit cursor hides
4194
4195 2003-05-02  André Pönitz  <poenitz@gmx.net>
4196
4197         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4198
4199         * undo_funcs.C:
4200         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4201           linked lists
4202
4203         * text2.C: tiny whitespace
4204
4205 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * undo_funcs.C: almost only ws changes.
4208
4209         * ParagraphList.C (splice): just return if pl is empty.
4210
4211 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4212
4213         * ParagraphList.C (splice): new function.
4214
4215         * CutAndPaste.C (pasteSelection): use it
4216
4217 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * CutAndPaste.C (pasteSelection): remove the last next and
4220         previous from this file.
4221
4222 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * CutAndPaste.C (pasteSelection): more clean up, user proper
4225         ParagraphList functions for pasteing.
4226
4227         * ParagraphList.C (insert): new function, three arg insert
4228
4229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * ParagraphList.C (insert): new function, three arg insert
4232
4233         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4234         not on paragraphs.
4235
4236 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4239
4240 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4243
4244 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4247         (copySelection): clean up a bit.
4248         (pasteSelection): use make_pair
4249
4250         * ParagraphList.C (ParagraphList): implement copy constructor
4251         (operator=): implement, base on copy constructor.
4252         (assign): new func
4253
4254         * paragraph.C (erase): return a bool
4255
4256         * paragraph_pimpl.C (erasePos): remove function, move contents...
4257         (erase): ... here. Return a bool.
4258         (erase): call erase instead of erasePos.
4259
4260 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4261
4262         * ParagraphList.h: define PitPosPair
4263         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4264         ParagraphList, fix a bug on pasting multiple pars
4265         * text2.C: change interface to C&P
4266
4267 2003-04-30  André Pönitz  <poenitz@gmx.net>
4268
4269         * undo_func.C: revert part of yesterday's patch 2
4270
4271 2003-04-30  John Levon  <levon@movementarian.org>
4272
4273         * LColor.C: s/tabular/table/
4274
4275 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * text3.C (dispatch): do not convert iterator -> pointer
4278         * undo_funcs.C (setCursorParUndo): ditto
4279         * text_funcs.C (transposeChars): ditto
4280
4281         * text2.C (setLayout): ws changes only
4282
4283         * text.C (breakParagraph): do not convert iterator -> pointer
4284         (insertChar): ditto
4285         (acceptChange): ditto
4286         (rejectChange): ditto
4287         (changeCase): ditto
4288         (Delete): ditto
4289         (backspace): ditto
4290
4291         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4292         pointer
4293
4294 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * text3.C (gotoInset): YABG (yet another bad getChar)
4297
4298 2003-04-29  André Pönitz  <poenitz@gmx.net>
4299
4300         * paragraph.h: make operator= private unimplemented as long as
4301           it is unusable
4302
4303         * ParagraphList.C: whitespace
4304
4305         * paragraph.[Ch]:
4306         * paragraph_pimpl.[Ch]:
4307         * paragraph_funcs.C:
4308         * CutAndPaste.C:
4309         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4310
4311         * text2.C:
4312           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4313
4314 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4317         * paragraph.[Ch] (erase):
4318         * paragraph_pimpl.[Ch] (erase): change return type and value
4319         * text2.C (cutSelection): some rework
4320
4321 2003-04-28  John Levon  <levon@movementarian.org>
4322
4323         * bufferlist.C: changes for unsaved changes dialog
4324
4325 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * bufferlist.C (newFile): set language (messages_) for new
4328         documents also.
4329
4330         * buffer.C (readFile): ws changes only.
4331
4332 2003-04-28  André Pönitz  <poenitz@gmx.net>
4333
4334         * undo_funcs.C:
4335         * lyxfunc.C:
4336         * buffer.[Ch]:
4337         * BufferView_pimpl.C:
4338         * BufferView.C: getParFromID related ParagraphList::iterator changes
4339
4340 2003-04-28  André Pönitz  <poenitz@gmx.net>
4341
4342         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4343           Changes
4344
4345 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * messages.C: remove one more localedir class variable.
4348
4349 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * messages.C (getLocaleDir): singleton generation function
4352         (Pimpl): use it.
4353         (Messages): add a default constructor.
4354
4355         * main.C (main): do not setup localedir here, do not call
4356         gettext_init.
4357
4358         * gettext.C (_): use it.
4359         (gettext_init): delete funciton
4360
4361 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * gettext.C (getLyXMessages): new singleton generating function.
4364
4365         * buffer.C (updateDocLang): adjust
4366
4367         * Makefile.am (messages.o): add target
4368         (main.o): remove target
4369
4370 2003-04-27  John Levon  <levon@movementarian.org>
4371
4372         * bufferlist.C:
4373         * lyx_cb.C:
4374         * lyxfunc.C:
4375         * lyxvc.C: specify cancel button in Alert::prompt
4376
4377 2003-04-26  John Levon  <levon@movementarian.org>
4378
4379         * text3.C:
4380         * lyxfunc.C:
4381         * lfuns.h:
4382         * LyXAction.C: add LFUN_INSET_SETTINGS
4383
4384         * lyxfunc.C: don't enable tabular-feature when there's
4385         just any locking inset
4386
4387 2003-04-26  John Levon  <levon@movementarian.org>
4388
4389         * bufferlist.C: re-add Cancel to buffer close question
4390
4391         * lyxfunc.C: fix import UI a bit
4392
4393 2003-04-25  John Levon  <levon@movementarian.org>
4394
4395         * gettext.C: remove the broken asserts for now
4396
4397 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * messages.C: make case where setlocale cannot comply work better.
4400
4401         * buffer.C (updateDocLang): new function
4402         (changeLanguage): use it
4403         (readFile): use it
4404
4405         * text2.C (setCounter): use B_ a bit.
4406
4407         * lyxlayout.C (Read): be sure to trim the label strings.
4408
4409         * messages.C (Messages): fix typo in comment
4410
4411         * buffer.C (readFile): set message_ after file is loaded.
4412         (makeDocBookFile): remove double return
4413         (changeLanguage): reset message_ upon language change.
4414         (B_): new func, use this to get translated buffer strings.
4415
4416         * main.C: add myself and Jean Marc as authors.
4417
4418 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * messages.[hC]: pimplify Messages, and three different pimpls to be
4421         used in different circumstances.
4422
4423         * gettext.[Ch]: change for use with new message code.
4424
4425 2003-04-24 André Pönitz <poenitz@gmx.net>
4426
4427         * factory.C: support for eqref
4428
4429 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * messages.[Ch]: add missing char
4432
4433         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4434
4435         * messages.[Ch]: New files
4436
4437 2003-04-18  John Levon  <levon@movementarian.org>
4438
4439         * BufferView.h:
4440         * BufferView.C:
4441         * BufferView_pimpl.C:
4442         * lfuns.h:
4443         * LyXAction.C:
4444         * lyxtext.h:
4445         * text2.C: remove layout-copy/paste (bug 778)
4446
4447 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4450
4451 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4454         if they succeed. Act accordingly.
4455
4456 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * text2.C (setCharFont): adjust
4459         (setCounter): adjust
4460         (insertStringAsLines): adjust
4461
4462         * text.C (leftMargin): adjust
4463         (setHeightOfRow): adjust
4464
4465         * rowpainter.C (paintFirst): adjust
4466         (paintLast): adjust
4467
4468         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4469         (outerHook): ditto
4470         (isFirstInSequence): ditto
4471         (getEndLabel): ditto
4472         (outerFont): adjust
4473
4474         * paragraph.C (getParLanguage): comment out some hard stuff.
4475
4476         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4477         (sgmlError): ditto
4478         (simpleDocBookOnePar): ditto
4479         (makeDocBookFile): use ParagraphList::iterator
4480
4481         * CutAndPaste.C (pasteSelection): adjust
4482
4483 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * text2.C (getFont): adjust
4486         (getLayoutFont): adjust
4487         (getLabelFont): adjust
4488
4489         * paragraph_funcs.C (TeXOnePar): adjust
4490
4491         * buffer.C (simpleLinuxDocOnePar): adjust
4492         (simpleDocBookOnePar): adjust
4493
4494         * CutAndPaste.C (pasteSelection): adjust
4495
4496         * BufferView.C (getEncoding): adjust
4497
4498         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4499
4500 2003-04-16  John Levon  <levon@movementarian.org>
4501
4502         * lyxfind.C: use parlist stuff for search/changes
4503
4504 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4507
4508         * text2.C (deleteEmptyParagraphMechanism): adjust
4509
4510         * text2.[Ch] (ownerParagraph): delete func (both of them
4511
4512 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4513
4514         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4515
4516 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * ParagraphList.C: prepare for NO_NEXT
4519
4520 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * text2.C (getFont): adjust
4523         (getLayoutFont): adjust
4524         (getLabelFont): adjust
4525
4526         * paragraph.C (getFont): adjust
4527         (getLabelFont): adjust
4528         (getLayoutFont): adjust
4529
4530         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4531
4532 2003-04-15  John Levon  <levon@movementarian.org>
4533
4534         From Angus Leeming
4535
4536         * lyx_main.C: handle Include in .ui files
4537
4538 2003-04-15  John Levon  <levon@movementarian.org>
4539
4540         * MenuBackend.C: make the doc files length shorter
4541
4542         * ToolbarBackend.h:
4543         * ToolbarBackend.C: handle toolbar placement flags,
4544         Minibuffer
4545
4546 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4549         adjust
4550
4551         * paragraph_funcs.C (TeXOnePar): adjust
4552
4553         * paragraph.C (getLabelFont): add outerfont arg, adjust
4554         (getLayoutFont): ditto
4555         (simpleTeXOnePar): adjust
4556
4557         * paragraph_pimpl.C (realizeFont): delete func
4558
4559 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4562         row argument, constify cur argument.
4563
4564 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * text2.C (getFont): adjust
4567         (getLayoutFont): adjust
4568         (getLabelFont): adjust
4569
4570         * paragraph_funcs.C (TeXOnePar): adjust
4571         (outerFont): new func...
4572         (realizeFont): ...moved out from here, changed this to facilitate
4573         transition
4574
4575         * paragraph.C (getFont): take outerfont as arg, adjust
4576         (simpleTeXOnePar): add outerfont arg, adjust
4577
4578         * buffer.C (simpleLinuxDocOnePar): adjust
4579         (simpleDocBookOnePar): adjust
4580
4581         * CutAndPaste.C (pasteSelection): adjust
4582
4583         * BufferView.C (getEncoding): adjust
4584
4585 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * text2.C (setCharFont): adjust
4588         (setCounter): adjust
4589
4590         * text.C (leftMargin): adjust
4591         (setHeightOfRow): adjust
4592
4593         * rowpainter.C (paintFirst): adjust
4594         (paintLast): adjust
4595
4596         * paragraph_pimpl.C (realizeFont): adjust
4597
4598         * paragraph.C (isFirstInSequence): move from here...
4599         * paragraph_funcs.C (isFirstInSequence): ...to here
4600
4601         * paragraph.C (outerHook): move from here...
4602         * paragraph_funcs.C (outerHook): ...to here
4603
4604         * paragraph.C (depthHook): move from here...
4605         * paragraph_funcs.C (depthHook): ...to here
4606
4607         * paragraph.C (getEndLabel): move from here...
4608         * paragraph_funcs.C (getEndLabel): ...to here
4609
4610         * text2.C (realizeFont): move from here...
4611         * paragraph_funcs.C (realizeFont): ...to here
4612
4613 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4616
4617 2003-04-14  Angus Leeming  <leeming@lyx.org>
4618
4619         * LColor.[Ch]: scrap LColor mathcursor.
4620
4621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * lyxlex.[Ch] (text): delete function
4624         * trans.C (Load): adjust
4625         * paragraph_funcs.C (readParToken): adjust
4626
4627 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4630         vector<char> instead of a char[].
4631
4632         * lyxlex_pimpl.C (getString): adjust
4633         (next): adjust
4634         (lex): use getString
4635         (eatLine): adjust
4636         (nextToken): adjust
4637
4638         * lyxlex.C (text): use pimpl_->getString()
4639         (getBool): ditto
4640         (findToken): ditto
4641
4642 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4645         (makeFontEntriesLayoutSpecific): temp var for par.size()
4646         (setLayout): temp var for ownerParagraphs().end()
4647         (fullRebreak): temp var for rows().end()
4648         (selectionAsString): temp var for boost::next(startpit), realize
4649         that the while really is a regular for loop.
4650         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4651         setCursor in one place.
4652         (setParagraph): temp vr for ownerParagraphs().end()
4653         (updateCounters): make the while loop a for loop
4654         (cutSelection): temp var for ownerParagraphs().end()
4655         (updateInset): make the do {} while() a regular for loop
4656         (getCursorX): use temp vars
4657         (setCurrentFont): use temp vars
4658         (getColumnNearX): use temp vars
4659
4660 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text.C (transformChar): use temp var for getChar
4663         (computeBidiTables): use temp var for row->par()
4664         (fill): move temp vars for row->par() and pit->layout() earlier in
4665         the function.
4666         (labelFill): use temp var for row->par()
4667         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4668         asc and desc, realize that pit never changes and that firstpit is
4669         just a duplicate and not needed. Exchange rit->par() with pit in a
4670         lot of places.
4671         (breakAgain): use a temp var for boost::next(rit)
4672         (breakAgainOneRow): ditto
4673         (breakParagraph): use a temp var for rows().begin()
4674         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4675         (cursorRightOneWord): use temp var for cursor.par() and
4676         cursor.pos(), remove usage of tmpcursor.
4677         (cursorLeftOneWord): use temp var for cursor.par() and
4678         cursor.pos() only set cur at end of function.
4679
4680 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * text.C, text2.C: exchange all usage of Paragraph::next with
4683         boost::next(ParagraphList::iterator)
4684
4685         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4686
4687         * text2.C (cursorTop): simplify implementation
4688         (cursorBottom): ditto
4689         (setParagraph): use ParagraphList::iterator
4690         (setCurrentFont): adjust
4691         (getColumnNearX): adjust
4692         (cursorRight): adjust
4693         (cursorLeft): remove usage of Paragraph::previous
4694         (cursorUpParagraph): ditto
4695         (deleteEmptyParagraphMechanism): slight cleanup
4696
4697         * text.C (isBoundary): take a Paragraph const & instead of a
4698         pointer as arg.
4699         (addressBreakPoint): ditto
4700         (leftMargin): remove usage of Paragraph::previous.
4701         (setHeightOfRow): ditto
4702         (cursorLeftOneWord): ditto
4703         (selectNextWordToSpellcheck): ditto
4704         (Delete): ditto
4705         (backspace): ditto
4706         (breakParagraph): remove one usage of Paragraph::next
4707         (redoParagraph): ditto
4708         (acceptChange): ditto
4709         (insertChar): adjust
4710         (rowBreakPoint): adjust
4711
4712         * bufferview_funcs.C (toggleAndShow): adjust
4713
4714 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4715
4716         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4717         methods to access it.
4718         * lyxtext.h:
4719         * text.C: Added updateRowPositions to compute all row positions.
4720         Make top_y and getRowNearY() to use the cached y position
4721
4722 2003-04-11  John Levon  <levon@movementarian.org>
4723
4724         * text.C (rowBreakPoint): reintroduce the labelEnd
4725         checks, code copied from the row fill stuff. Deep voodoo.
4726
4727         * text.C (fill): add a comment and debugging for the
4728         next poor soul.
4729
4730 2003-04-11  John Levon  <levon@movementarian.org>
4731
4732         * text.C: make sure fullrow insets get wrapped to the next line,
4733         even when they're in a manual label
4734
4735 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * text2.C (insertParagraph): make it take ParagraphList::iterator
4738         as arg.
4739         (setLayout): make it return ParagraphList::iterator
4740         (redoParagraphs): ditto
4741         (setCounter): ditto
4742         (checkParagraph): ditto
4743
4744         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4745
4746         * text2.C: adjust several funcs.
4747         (realizeFont): take a ParagraphList::iterator as arg.
4748         (getLayoutFont): ditto
4749         (getLabelFont): ditto
4750         (setCharFont): ditto
4751
4752         * text.C: adjust several funcs.
4753
4754 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * text.C (selectNextWordToSpellcheck): don't accidentally
4757         skip insets
4758
4759 2003-04-10  John Levon  <levon@movementarian.org>
4760
4761         * ToolbarBackend.C (getIcon): special handling for
4762         LFUN_MATH_DELIM
4763
4764 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * text2.C (cursorRight): a getChar assert fixed
4767
4768 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * text2.C (getFont): change to take a ParagraphList::iterator
4771         instead of Paragraph*
4772         Adjust several functions.
4773
4774         * text.C (transformChar): change to take a ParagraphList::iterator
4775         instead of Paragraph*
4776         (singleWidth): ditto
4777         Adjust several functions.
4778
4779         * rowpainter.C: adjust several functions
4780         * rowpainter.h:store a ParagraphList::iterator and not a
4781         Paragraph&.
4782
4783
4784 2003-04-09  John Levon  <levon@movementarian.org>
4785
4786         * lyxfunc.C:
4787         * lfuns.h:
4788         * LyXAction.h:
4789         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4790         and the "help" bits as well
4791
4792 2003-04-09  John Levon  <levon@movementarian.org>
4793
4794         * ToolbarBackend.h:
4795         * ToolbarBackend.C: allow multiple toolbars
4796
4797 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * undo_funcs.C (setCursorParUndo): adjust
4800
4801         * text_funcs.C (transposeChars): adjust
4802
4803         * text3.C (gotoNextInset): adjust
4804         (dispatch): adjust
4805
4806         * text2.C (setLayout): adjust
4807         (changeDepth): adjust
4808         (setFont): adjust
4809         (redoParagraphs): adjust
4810         (selectionAsString): adjust
4811         (setParagraph): adjust
4812         (insertInset): adjust
4813         (cutSelection): adjust
4814         (copySelection): adjust
4815         (pasteSelection): adjust
4816         (insertStringAsLines): adjust
4817         (updateInset): adjust
4818         (setCursor): change to take a ParagraphList::iterator parameter
4819         (setCursorIntern): change to take a ParagraphList::iterator parameter
4820         (setCurrentFont): adjust
4821         (cursorLeft): adjust
4822         (cursorRight): adjust
4823         (deleteEmptyParagraphMechanism): adjust
4824
4825         * text.C (breakParagraph): adjust
4826         (insertChar): adjust
4827         (acceptChange): adjust
4828         (rejectChange): adjust
4829         (selectNextWordToSpellcheck): adjust
4830         (changeCase): adjust
4831         (Delete): adjust
4832         (backspace): adjust
4833
4834         * lyxfind.C (SearchForward): adjust
4835         (SearchBackward): adjust
4836         (nextChange): adjust
4837
4838         * lyxcursor.C (par): adjust
4839
4840         * lyxcursor.h: store a ParagraphList::iterator instead of a
4841         Paragraph*
4842
4843         * lyx_cb.C (getPossibleLabel): adjust
4844
4845         * bufferview_funcs.C (toggleAndShow): adjust
4846
4847         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4848         (dispatch): adjust
4849
4850         * BufferView.C (removeAutoInsets): adjust
4851         (lockedInsetStoreUndo): adjust
4852
4853 2003-04-09  John Levon  <levon@movementarian.org>
4854
4855         * ToolbarBackend.C: try icon without argument
4856         if with argument fails
4857
4858 2003-04-08  John Levon  <levon@movementarian.org>
4859
4860         * ToolbarBackend.h:
4861         * ToolbarBackend.C: add getIcon(), handle tooltip,
4862         and change from "Icon" to "Item".
4863
4864 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * BufferView.C (lockInset): another bad getchar crunched
4867
4868 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4869
4870         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4871         again)
4872
4873 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * lyxfind.C (searchForward, searchBackwards): bug 782
4876
4877 2003-04-07  John Levon  <levon@movementarian.org>
4878
4879         * paragraph.C: remove dead comment
4880
4881         * text.C: remove troublesome depth-fiddling code
4882         in leftMargin() and rightMargin() (bug 1017)
4883
4884         * text.C: fix breaking of rows in nested lists
4885         (bug 1004)
4886
4887         * text2.C (updateCounters): fix up depth values
4888         (bug 1013)
4889
4890 2003-04-07  John Levon  <levon@movementarian.org>
4891
4892         * BufferView_pimpl.C: clear message when doc finishes resizing,
4893         and after a mouse event
4894
4895         * lyxfunc.C: clear message after exiting inset
4896
4897 2003-04-07  John Levon  <levon@movementarian.org>
4898
4899         * bufferview_funcs.C: show math status not outside
4900         status in the statusbar
4901
4902 2003-04-07  John Levon  <levon@movementarian.org>
4903
4904         * lyxfunc.C: note status changed after a depth change
4905
4906 2003-04-04  Angus Leeming  <leeming@lyx.org>
4907
4908         * LaTeX.h: move AuxInfo operator==, != out of line.
4909         Remove LaTeX virtual destructor; nothing derives from it.
4910         Move operator()() out of public area and rename it startscript().
4911         Change protected for private.
4912
4913 2003-04-04  Angus Leeming  <leeming@lyx.org>
4914
4915         * lyxfunc.C:
4916         * text2.C: remove unneeded #includes.
4917
4918 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * text2.C (dEPM): fix the heigth of the next row
4921
4922 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * text.C: squashed an invalid getChar requester + some ws changes
4925
4926 2003-04-03  John Levon  <levon@movementarian.org>
4927
4928         * bufferview_funcs.h:
4929         * bufferview_funcs.C:
4930         * lyxfunc.C:
4931         * lyxtext.h:
4932         * text2.C: make getStatus work for the env depth lfuns
4933
4934 2003-04-03  John Levon  <levon@movementarian.org>
4935
4936         * bufferview_funcs.h:
4937         * bufferview_funcs.C:
4938         * lyxfunc.C:
4939         * lyxtext.h:
4940         * text2.C: parlistize decDepth(), by merging it with incDepth()
4941
4942 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * lyxrow.h: store a ParagraphList::iterator instead of a
4945         Paragraph* and adjust other class functions to suit.
4946
4947         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4948         above.
4949
4950 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * text2.C (setCursor): do not anchor to cursor row for the time being
4953
4954 2003-04-02  John Levon  <levon@movementarian.org>
4955
4956         * LyXAction.C:
4957         * lfuns.h:
4958         * lyx_main.C:
4959         * lyxtext.h:
4960         * text.C:
4961         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4962
4963 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * paragraph.h: make ParagraphList and ParagraphList::iterator
4966         friends of Paragraph.
4967
4968         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4969
4970         * ParagraphList.C: Use the private next_ and previous_ from
4971         Paragraph.
4972
4973 2003-04-01  John Levon  <levon@movementarian.org>
4974
4975         * ToolbarBackend.h:
4976         * ToolbarBackend.C:
4977         * Makefile.am: rename, remove defaults gunk
4978
4979         * MenuBackend.h:
4980         * MenuBackend.C: remove defaults gunk
4981
4982         * Languages.h:
4983         * Languages.C: remove defaults gunk
4984
4985         * lyx_main.h:
4986         * lyx_main.C: error out if files couldn't be found.
4987
4988 2003-04-02  John Levon  <levon@movementarian.org>
4989
4990         * text2.C: make incDepth() use parlist
4991
4992 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * undo_funcs.C (firstUndoParagraph): adjust
4995
4996         * text3.C (gotoInset): adjust
4997         (dispatch): adjust, and rewrite loop.
4998
4999         * text2.C (init): adjust, and rewrite loop.
5000         (redoParagraphs): adjust
5001         (updateInset): adjust, and rewrite loop.
5002         (deleteEmptyParagraphMechanism): adjust
5003
5004         * tabular.C (LyXTabular): adjust
5005         (SetMultiColumn): adjust
5006         (TeXRow): adjust
5007
5008         * lyxtext.[Ch] (ownerParagraph): delete function
5009         (ownerParagraphs): new function returns a ParagraphList.
5010
5011         * BufferView.C (removeAutoInsets): adjust
5012         (insertErrors): adjust
5013         (setCursorFromRow): adjust
5014
5015 2003-04-01  Angus Leeming  <leeming@lyx.org>
5016
5017         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5018         in the frontends.
5019
5020 2003-04-02  John Levon  <levon@movementarian.org>
5021
5022         * lyxtext.h:
5023         * text.C:
5024         * Makefile.am:
5025         * text_funcs.h:
5026         * text_funcs.C: make transposeChars a free function
5027
5028         * lyxrow_funcs.C: remove wrong comment
5029
5030 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * lyxtext.h: adjust
5033         * rowpainter.C: adjust
5034         * text.C: adjust
5035         * text2.C: adjust
5036         * text3.C: adjust
5037
5038         * lyxrow_funcs. [Ch]: new files
5039
5040         * lyxrow.[Ch]: remove next and previous pointers
5041         (next,previous): remove accessor functions
5042         (isParEnd): move to lyxrow_funcs
5043         (lastPos): move to lyxrow_funcs
5044         (nextRowIsAllInset): move to lyxrow_funcs
5045         (lastPrintablePos): move to lyxrow_funcs
5046         (numberOfSeparators): move to lyxrow_funcs
5047         (numberOfHfills): move to lyxrow_funcs
5048         (numberOfLabelHfills): move to lyxrow_funcs
5049         (hfillExpansion): move to lyxrow_funcs
5050
5051         * lyxfunc.C: adjust
5052
5053         * bufferview_funcs.C (toggleAndShow): adjust
5054
5055         * RowList.h: Remove class RowList from file leave just a
5056         std::list<Row>.
5057
5058         * RowList.C: delete file
5059
5060         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5061         and lyxrow_funcs.h
5062
5063 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * text3.C (cursorPrevious): adjust
5066         (cursorNext): adjust
5067         (dispatch): adjust
5068
5069         * text2.C (redoHeightOfParagraph): adjust
5070         (redoDrawingOfParagraph): adjust
5071         (setCursor): adjust
5072
5073         * text.C (breakParagraph): adjust
5074         (insertChar): adjust
5075         (backspace): adjust
5076
5077         * rowpainter.C (RowPainter): adjust
5078         (leftMargin): simplify and adjust
5079         (most rowpainter functions): adjust.
5080
5081         * rowpainter.h: store the row as RowList::iterator not as Row*
5082
5083         * lyxcursor.C (row): taka RowList::iterator as arg
5084         (irow): ditto
5085
5086         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5087         of Row*.
5088
5089 2003-04-01  Angus Leeming  <leeming@lyx.org>
5090
5091         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5092         stuff like bool Bool.
5093
5094 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5097         rewrite a loop
5098
5099 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5102         RowList::iterator.
5103
5104         * lyxtext.h (rows): drop one version and leve a const variant that
5105         returns a RowList::iterator.
5106
5107 2003-03-31  Angus Leeming  <leeming@lyx.org>
5108
5109         * text.C (fill): ensure that the signature is the same as that in the
5110         header file.
5111
5112 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * text2.C (redoParagraphs): adjust
5115         (updateCounters): adjust
5116         (checkParagraph): adjust
5117         (getColumnNearX): adjust and reformat a bit.
5118
5119         * text.C (top_y): adjust
5120         (workWidth): adjust
5121         (leftMargin): adjust
5122         (prepareToPrint): adjust
5123         (getRow): adjust
5124         (getRowNearY): adjust
5125
5126         * lyxtext.h: make rowlist_ mutable.
5127
5128         * RowList.h: add const_iterator
5129         * RowList.C: adjust for RowList::const_iterator.
5130
5131         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5132         adjust.
5133
5134 2003-03-31  John Levon  <levon@movementarian.org>
5135
5136         * lyxrc.h:
5137         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5138
5139         * lyx_main.C: set default fonts from using lyx_gui funcs
5140
5141         * exporter.C: pdf_mode moved from lyxrc
5142
5143         * lyx_cb.C:
5144         * lyxfunc.C: changes from above
5145
5146 2003-03-31  John Levon  <levon@movementarian.org>
5147
5148         * lyx_main.C: fix to the last fix
5149
5150 2003-03-31  John Levon  <levon@movementarian.org>
5151
5152         * bufferlist.C: "Load original" -> "Load Original"
5153
5154         * converter.C:
5155         * exporter.C:
5156         * importer.C:
5157         * lyx_main.C:
5158         * format.C: more Alert cleanups
5159
5160 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * text2.C (removeParagraph): make it take a RowList::iterator as
5163         arg, adjust.
5164         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5165         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5166
5167         * text.C (anchor_row): make it take a RowList::iterator as arg,
5168         adjust.
5169         (computeBidiTables): make it take a const reference to Row instead
5170         of Row pointer, adjust.
5171         (leftMargin): make it take a RowList::iterator as arg, adjust.
5172         (rowBreakPoint): adjust
5173         (breakAgainOneRow): make it take a RowList::iterator as arg,
5174         adjust.
5175         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5176
5177         * bufferview_funcs.C (toggleAndShow): adjust
5178
5179 2003-03-30  John Levon  <levon@movementarian.org>
5180
5181         * Makefile.am:
5182         * BoostFormat.h:
5183         * boost-inst.C: moved to support
5184
5185         * several files: changes as a result
5186
5187 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text2.C (LyXText): adjust.
5190         (init): adjust
5191         (removeRow): make it take a RowList::iterator as arg, adjust.
5192         (fullRebreak): adjust
5193         (deleteEmptyParagraphMechanism): adjust
5194         (clearPaint): adjust
5195         (postPaint): adjust
5196
5197         * text.C (top_y): adjust
5198         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5199         (breakAgain): make it take a RowList::iterator as arg, adjust.
5200         (breakParagraph): adjust
5201         (insertChar): adjust
5202         (backspace): adjust
5203
5204         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5205         need_break_row, and refresh_row.
5206
5207         * text3.C (dispatch): adjust
5208
5209         * text2.C (checkParagraph): adjust
5210         (setCursor): adjust
5211         (setCursorFromCoordinates): adjust
5212
5213         * text.C (top_y): adjust
5214         (workWidth): adjust
5215         (getRow): make it return a RowList::iterator, adjust
5216         (getRowNearY): make it return a RowList::iterator, adjust
5217
5218         * text2.C (init): adjust
5219         (insertRow): remove function
5220         (insertParagraph): adjust
5221         (redoParagraphs): adjust
5222         (fullRebreak): adjust
5223         (updateCounters): adjust
5224
5225         * text.C (top_y): rewrite to use RowList iterators.
5226         (top_y): adjust
5227         (setHeightOfRow): rewrite to sue RowList iterators.
5228         (appendParagraph): adjust
5229         (breakAgain): adjust
5230         (breakAgainOneRow): adjust
5231         (breakParagraph): adjust
5232         (getRow): adjust
5233         (getRowNearY): adjust, and remove commented code.
5234
5235         * lyxtext.h (firstRow): delete function
5236         (lastRow): delete function
5237         (rows): new function (const and non-const versions.)
5238         (insertRow): delete function
5239
5240         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5241
5242 2003-03-29  John Levon  <levon@movementarian.org>
5243
5244         * BufferView_pimpl.C: always update scrollbar top
5245         because pasting text when we're anchored could mean we
5246         miss an update altogether
5247
5248 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * text2.C (init): use rowlist_.end() and not 0.
5251         (insertRow): change to take a RowList::iterator as arg, adjust
5252         for this.
5253         (insertParagraph): change to take a RowList::iterator as arg,
5254         adjust for this.
5255         (redoParagraphs): remove some debug msgs.
5256
5257         * text.C (appendParagraph): change to take a RowList::iterator
5258         arg, adjust for this.
5259         (breakAgain): add an assert
5260         (breakAgainOneRow): ditto
5261
5262 2003-03-29  John Levon  <levon@movementarian.org>
5263
5264         * text2.C: do not clear selection after inc/decDepth
5265         (bug 550)
5266
5267 2003-03-29  John Levon  <levon@movementarian.org>
5268
5269         * BufferView.C:
5270         * buffer.C: fix broken strerrors according to Lars
5271
5272 2003-03-29  John Levon  <levon@movementarian.org>
5273
5274         * converters.C: more Alert cleanups
5275
5276 2003-03-29  John Levon  <levon@movementarian.org>
5277
5278         * bufferview_funcs.C: remove pointless Alert
5279
5280         * buffer.C: fix confusing error message when
5281         a template is chmoded 000
5282
5283 2003-03-29  John Levon  <levon@movementarian.org>
5284
5285         * BufferView.C:
5286         * BufferView.h:
5287         * BufferView_pimpl.C: Alert fixes
5288
5289         * Makefile.am:
5290         * tabular.C:
5291         * tabular-old.C: remove unused table compat reading
5292
5293 2003-03-29  John Levon  <levon@movementarian.org>
5294
5295         * BufferView.C:
5296         * buffer.C:
5297         * lyx_cb.h:
5298         * lyx_cb.C: more Alert cleanups
5299
5300         * lyxfunc.C: don't allow chktex if not latex document
5301
5302 2003-03-29  John Levon  <levon@movementarian.org>
5303
5304         * lyx_cb.C:
5305         * BufferView.C:
5306         * buffer.C: warnings pushed down from support/,
5307         kill err_alert
5308
5309 2003-03-29  John Levon  <levon@movementarian.org>
5310
5311         * lyxfunc.C: safety check for C-r (revert)
5312
5313 2003-03-29  John Levon  <levon@movementarian.org>
5314
5315         * bufferlist.h:
5316         * bufferlist.C: several UI fixes using Alert::prompt.
5317         Fix the pointless looping quit code. Fix stupid revert
5318         behaviour (bug 938)
5319
5320         * lyxvc.h:
5321         * lyxvc.C:
5322         * lyx_cb.C: use Alert::prompt
5323
5324         * lyx_main.C: remove a silly question
5325
5326         * lyxfunc.C: remove a couple of silly questions,
5327         use Alert::prompt
5328
5329 2003-03-28  John Levon  <levon@movementarian.org>
5330
5331         * text2.C: fix bug 974 (End on empty par)
5332
5333 2003-03-28  John Levon  <levon@movementarian.org>
5334
5335         * BufferView_pimpl.C:
5336         * LyXAction.C:
5337         * lfuns.h: remove do-nothing math greek lfuns
5338
5339 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * lyxgluelength.h (isValidGlueLength): add default arg on
5342         parameter 2. Remove default arg from friend in class.
5343
5344         * lyxlength.h (isValidLength): add default arg on parameter 2.
5345         Remove default arg from friend in class.
5346
5347         * text2.C (LyXText): adjust, initialize refresh_row.
5348         (init): adjust
5349         (removeRow): adjust
5350         (insertRow): adjust
5351         (insertParagraph): adjst
5352         (redoParagraphs): adjust
5353         (fullRebreak): adjust
5354         (updateCounters): adjust
5355         (deleteEmptyParagraphMechanism): first attempt at fixing a
5356         crashing bug.
5357
5358         * text.C (top_y): adjust
5359         (setHeightOfRow): adjust
5360         (getRow): adjust
5361         (getRowNearY): adjust
5362
5363         * lyxtext.h: include RowList.h
5364         (~LyXText): not needed anymore, deleted.
5365         (firstRow): modify for RowList
5366         (lastRow): new function
5367         Delete firstrow and lastrow class variables, add a Rowlist
5368         rowlist_ class variable.
5369
5370         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5371         paragraph is empty.
5372
5373         * RowList.C (insert): fix case where it == begin().
5374
5375 2003-03-26  Angus Leeming  <leeming@lyx.org>
5376
5377         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5378         the thesaurus dialog.
5379
5380 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5383
5384         * RowList.[Ch]: new files
5385
5386         * ParagraphList.C (erase): handle the case where it == begin
5387         correctly.
5388
5389 2003-03-25  John Levon  <levon@movementarian.org>
5390
5391         * Makefile.am:
5392         * aspell_local.h:
5393         * aspell.C: add new aspell support
5394
5395         * lyxrc.h:
5396         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5397         have it accessible.
5398
5399 2003-03-25  Angus Leeming  <leeming@lyx.org>
5400
5401         * lfuns.h:
5402         * LyXAction.C (init): new LFUN_INSET_INSERT.
5403
5404         * BufferView_pimpl.C (dispatch): split out part of the
5405         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5406
5407         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5408         LFUN_INSET_APPLY.
5409
5410 2003-03-25  Angus Leeming  <leeming@lyx.org>
5411
5412         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5413
5414 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * text2.C:
5417         * text3.C: remove useless row->height(0)
5418
5419 2003-03-25  John Levon  <levon@movementarian.org>
5420
5421         * lyxtext.h:
5422         * text2.C:
5423         * text3.C: rename the refreshing stuff to better names
5424
5425 2003-03-24  John Levon  <levon@movementarian.org>
5426
5427         * BufferView_pimpl.h:
5428         * BufferView_pimpl.C: update layout choice on a mouse
5429         press/release
5430
5431 2003-03-23  John Levon  <levon@movementarian.org>
5432
5433         * Makefile.am: fix commandtags.h reference
5434
5435 2003-03-22  John Levon  <levon@movementarian.org>
5436
5437         * BufferView_pimpl.C:
5438         * lyxtext.h:
5439         * rowpainter.C:
5440         * rowpainter.h:
5441         * text.C:
5442         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5443
5444 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * lyxtext.h:
5447         * text.C: take the rtl methods out of line
5448
5449 2003-03-21 André Pönitz <poenitz@gmx.net>
5450
5451         * metricsinfo.[Ch]: new files containing structures to be passed around
5452         during the two-phase-drawing...
5453
5454 2003-03-21 André Pönitz <poenitz@gmx.net>
5455
5456         * lyxtextclass.C: read 'environment' tag.
5457
5458 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5459
5460         * text2.C (removeRow): fix bug 964
5461
5462 2003-03-20  John Levon  <levon@movementarian.org>
5463
5464         * rowpainter.C:
5465         * text.C:
5466         * text2.C: paint cleanups. Inset::update() dropped font
5467         parameter
5468
5469 2003-03-19  John Levon  <levon@movementarian.org>
5470
5471         * lyxfunc.C: only fitcursor/markDirty if available()
5472
5473 2003-03-19  John Levon  <levon@movementarian.org>
5474
5475         * commandtags.h: rename to ...
5476
5477         * lfuns.h: ... this, and renumber / cleanup
5478
5479 2003-03-19  John Levon  <levon@movementarian.org>
5480
5481         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5482         fit the cursor after an lfun
5483
5484         * BufferView.h:
5485         * BufferView.C:
5486         * BufferView_pimpl.h:
5487         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5488
5489         * LyXAction.C: layout-character should have ReadOnly
5490
5491         * ParagraphParameters.C:
5492         * buffer.C:
5493         * bufferview_funcs.C:
5494         * lyx_cb.C:
5495         * lyxfind.C:
5496         * lyxtext.h:
5497         * text.C:
5498         * text2.C:
5499         * text3.C:
5500         * undo_funcs.C: changes from above
5501
5502 2003-03-18  John Levon  <levon@movementarian.org>
5503
5504         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5505         remove it from update()
5506
5507         * lyxfunc.C: update layout choice after an lfun
5508
5509         * text3.C: remove extra updateLayoutChoice()s
5510
5511 2003-03-18  John Levon  <levon@movementarian.org>
5512
5513         * text.C: top_y change means full repaint, fix
5514         a drawing bug with cursor movement
5515
5516 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5517
5518         * lyxtext.h:
5519         * text.C:
5520         * text2.C: anchor row on setCursor
5521
5522 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * lyxtext.h: remove almost all mutable keywords
5525         * text.C:
5526         * text2.C:
5527         * text3.C: remove const keywords accordingly
5528
5529 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5532         anon namespace
5533         (TeXEnvironment): ditto
5534         (TeXOnePar): ditto
5535
5536 2003-03-17  John Levon  <levon@movementarian.org>
5537
5538         * text.C (rowBreakPoint): remove attempt to fix displayed
5539         math insets inside a manual label
5540
5541 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * lyxtext.h: remove BufferView* as first arg from almost all class
5544         functions.
5545         * other files: adjust.
5546
5547 2003-03-17  John Levon  <levon@movementarian.org>
5548
5549         * lyxtext.h:
5550         * undo_funcs.C:
5551         * text2.C: more paint cleanups
5552
5553         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5554
5555         * rowpainter.h:
5556         * rowpainter.C: remove "smart" background painting code
5557
5558 2003-03-16  John Levon  <levon@movementarian.org>
5559
5560         * lyxtext.h:
5561         * text.C:
5562         * text2.C:
5563         * text3.C: add helper functions for setting refresh_row/y
5564
5565 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5566
5567         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5568         newline inset which *can* get inserted in the pass_thru layouts.
5569         This is primarily for literate documents.
5570
5571 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5572
5573         * buffer.C: increment LYX_FORMAT to 223
5574
5575 2003-03-14 André Pönitz <poenitz@gmx.net>
5576
5577         * textclass.h: prepare for environment handling, ws changes
5578         * lyxlayout.C: read latexheader and latexfooter tags
5579
5580 2003-03-14  John Levon  <levon@movementarian.org>
5581
5582         * text2.C: rewrite ::status() a bit
5583
5584 2003-03-13  John Levon  <levon@movementarian.org>
5585
5586         * lyxtext.h: add some docs
5587
5588 2003-03-13  John Levon  <levon@movementarian.org>
5589
5590         * lyxtext.h:
5591         * text.C:
5592         * text2.C:
5593         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5594
5595 2003-03-13  John Levon  <levon@movementarian.org>
5596
5597         * text3.C: fix appendix redrawing
5598
5599 2003-03-13  John Levon  <levon@movementarian.org>
5600
5601         * text.C (setHeightOfRow):
5602         * rowpainter.h:
5603         * rowpainter.C: make appendix mark have the text
5604           "Appendix" so the user knows what it is
5605
5606         * LColor.h:
5607         * LColor.C: s/appendixline/appendix/ from above
5608
5609 2003-03-13  John Levon  <levon@movementarian.org>
5610
5611         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5612
5613         * text.C: fix a getChar(pos) bug properly
5614
5615 2003-03-13  Angus Leeming  <leeming@lyx.org>
5616
5617         * commandtags.h:
5618         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5619         Probably only temporary. Let's see how things pan out.
5620
5621         * BufferView.C (unlockInset):
5622         * BufferView_pimpl.C (fitCursor):
5623         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5624
5625         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5626         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5627
5628         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5629         new functions that convert ParagraphParameters to and from a string.
5630
5631         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5632         BufferView::Pimpl's dispatch.
5633         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5634
5635 2003-03-13 André Pönitz <poenitz@gmx.net>
5636
5637         * lyxfunc.C:
5638         * text3.C:
5639         * factory.C: make it aware of InsetEnv
5640
5641 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * text2.C (setCursor): never ask for one past last
5644         (setCursor): add some debugging messages.
5645
5646         * text.C (singleWidth): never ask for one past last
5647         (singleWidth): ditto
5648         (leftMargin): ditto
5649         (rightMargin): ditto
5650         (rowBreakPoint): ditto
5651         (setHeightOfRow): ditto
5652         (prepareToPrint): ditto
5653
5654         * rowpainter.C (paintBackground): never ask for one past last
5655         (paintText): never ask for one past last
5656
5657         * paragraph_pimpl.C (getChar): make the assert stricter, never
5658         allow the one past last pos to be taken
5659
5660         * paragraph.C (getChar): ws changes only
5661
5662         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5663         (numberOfSeparators): ditto
5664         (numberOfHfills): ditto
5665
5666 2003-03-12  John Levon  <levon@movementarian.org>
5667
5668         * author.h:
5669         * author.C:
5670         * bufferparams.h:
5671         * bufferparams.C:
5672         * paragraph_funcs.C: fix per-buffer authorlists
5673
5674 2003-03-12  John Levon  <levon@movementarian.org>
5675
5676         * text.C: fix newline in right address
5677
5678 2003-03-12  Angus Leeming  <leeming@lyx.org>
5679
5680         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5681         duplicate those in LyXFunc::dispatch.
5682
5683         * commandtags.h:
5684         * LyXAction.C:
5685         * ToolbarDefaults.C:
5686         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5687         Add LFUN_FONTFREE_UPDATE.
5688
5689         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5690         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5691
5692         * bufferview_func.[Ch]: several new functions to facilliate
5693         transfer of data to and from the character dialog.
5694
5695 2003-03-12  John Levon  <levon@movementarian.org>
5696
5697         * buffer.C:
5698         * paragraph.h:
5699         * paragraph.C:
5700         * paragraph_funcs.C:
5701         * paragraph_pimpl.C:
5702         * sgml.C:
5703         * tabular.C:
5704         * text.C:
5705         * text3.C: remove META_NEWLINE in favour of an inset
5706
5707         * rowpainter.h:
5708         * rowpainter.C: remove paintNewline (done by inset)
5709
5710 2003-03-12  John Levon  <levon@movementarian.org>
5711
5712         * paragraph_pimpl.C: complain about bad getChar()s
5713         for a while at least
5714
5715 2003-03-12  John Levon  <levon@movementarian.org>
5716
5717         * buffer.h:
5718         * buffer.C: move paragraph read into a separate function,
5719         a little renaming to reflect that.
5720
5721         * bufferparams.h:
5722         * bufferparams.C: remove the author_ids map, not necessary now
5723
5724         * factory.h:
5725         * factory.C: moved Buffer::readInset to here
5726
5727         * paragraph_funcs.h:
5728         * paragraph_funcs.C: readParagraph free function moved from
5729         buffer.C
5730
5731         * tabular.C: name change
5732
5733 2003-03-12  John Levon  <levon@movementarian.org>
5734
5735         * buffer.C:
5736         * ParagraphParameters.C: move par params input to
5737         a read() method
5738
5739         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5740         behave like a normal read from the stream wrt reading
5741         a line vs. a \\token
5742
5743 2003-03-12  John Levon  <levon@movementarian.org>
5744
5745         * paragraph.C:
5746         * ParagraphParameters.h:
5747         * ParagraphParameters.C: move output code to a
5748         ::write() method
5749
5750 2003-03-12  John Levon  <levon@movementarian.org>
5751
5752         * BufferView.C (insertLyXFile):
5753         * buffer.h:
5754         * buffer.C:
5755         * tabular.C: use a parlist iterator for creating the
5756           document.
5757
5758 2003-03-12  John Levon  <levon@movementarian.org>
5759
5760         * buffer.C: make current_change static local not
5761           static file-scope
5762
5763 2003-03-12  John Levon  <levon@movementarian.org>
5764
5765         * buffer.C: fix insertStringAsLines for change tracking
5766
5767 2003-03-12  John Levon  <levon@movementarian.org>
5768
5769         * BufferView.C:
5770         * tabular.C:
5771         * buffer.h:
5772         * buffer.C:
5773         * bufferparams.h:
5774         * bufferparams.C: move author list into params. Rename some
5775           functions. Move the header reading into a separate token
5776           loop. Move the header token reading into BufferParams.
5777
5778 2003-03-12  John Levon  <levon@movementarian.org>
5779
5780         * changes.C: put debug inside lyxerr.debugging() checks
5781
5782 2003-03-11 André Pönitz <poenitz@gmx.net>
5783
5784         * factory.C: make it aware of InsetHFill
5785
5786 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5787
5788         * buffer.C (latexParagraphs): move function from here...
5789         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5790         args.
5791
5792 2003-03-10  Angus Leeming  <leeming@lyx.org>
5793
5794         * LyXAction.C (init): fix bug in poplating array with multiple entries
5795         with the same LFUN (spotted by JMarc).
5796
5797 2003-03-10  John Levon  <levon@movementarian.org>
5798
5799         * text.C:
5800         * text2.C: move getColumnNearX() near its
5801         only call site
5802
5803 2003-03-10  John Levon  <levon@movementarian.org>
5804
5805         * text.C: fix break before a minipage
5806
5807 2003-03-10  John Levon  <levon@movementarian.org>
5808
5809         * text.C: fix the last commit
5810
5811 2003-03-09  John Levon  <levon@movementarian.org>
5812
5813         * lyxtext.h:
5814         * text.C:
5815         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5816         bug 365 (don't break before insets unless needed). Don't
5817         return a value > last under any circumstances.
5818
5819 2003-03-09  Angus Leeming  <leeming@lyx.org>
5820
5821         * BufferView_pimpl.C (trackChanges, dispatch): call
5822         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5823
5824 2003-03-09  Angus Leeming  <leeming@lyx.org>
5825
5826         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5827         than Dialogs::showAboutlyx().
5828
5829 2003-03-09  Angus Leeming  <leeming@lyx.org>
5830
5831         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5832         than Dialogs::showTabularCreate().
5833
5834 2003-03-09  John Levon  <levon@movementarian.org>
5835
5836         * lyxtext.h:
5837         * text.C:
5838         * text2.C: 3rd arg to nextBreakPoint was always the same.
5839           Use references.
5840
5841 2003-03-08  John Levon  <levon@movementarian.org>
5842
5843         * lyxrow.C:
5844         * paragraph.C:
5845         * paragraph.h:
5846         * rowpainter.C:
5847         * text.C:
5848         * text2.C: Remove the "main" bit from the "main body"
5849           notion.
5850
5851 2003-03-08  John Levon  <levon@movementarian.org>
5852
5853         * text.C (leftMargin): The left margin of an empty
5854         manual label paragraph should not include the label width
5855         string length.
5856
5857         * text.C (prepareToPrint): don't attempt to measure hfills
5858         for empty manual label paragraphs - the answer should be 0
5859
5860 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * CutAndPaste.C: remove commented code and reindent.
5863
5864 2003-03-08  John Levon  <levon@movementarian.org>
5865
5866         * lyxfunc.h:
5867         * lyxfunc.C: move reloadBuffer()
5868
5869         * BufferView.h:
5870         * BufferView.C: to here
5871
5872         * lyxvc.C: add comment
5873
5874         * vc-backend.h:
5875         * vc-backend.C: call bv->reload() to avoid
5876           getStatus() check on MENURELOAD
5877
5878 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5879
5880         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5881         to an old format .dep file.
5882
5883 2003-03-07  Angus Leeming  <leeming@lyx.org>
5884
5885         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5886         when the LFUN_MOUSE_RELEASE should have been handled by
5887         inset->localDispatch.
5888
5889 2003-03-07  Angus Leeming  <leeming@lyx.org>
5890
5891         * BufferView_pimpl.C (dispatch):
5892         * LyXAction.C (init):
5893         * ToolbarDefaults.C (init):
5894         * commandtags.h:
5895         * lyxfunc.C (getStatus):
5896         remove LFUN_INSET_GRAPHICS.
5897
5898         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5899
5900 2003-03-07  Angus Leeming  <leeming@lyx.org>
5901
5902         * commandtags.h:
5903         * LyXAction.C (init):
5904         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5905
5906         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5907
5908         * commandtags.h:
5909         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5910
5911         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5912         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5913
5914 2003-03-07  Angus Leeming  <leeming@lyx.org>
5915
5916         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5917         remove "ert".
5918
5919 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * ParagraphList.C (front): new function
5922         (back): implement
5923
5924 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5925
5926         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5927         and top_row_offset_. removed var first_y.
5928         * text.C (top_y):
5929         * text2.C (LyXText, removeRow):
5930         * text3.C:
5931         * BufferView_pimpl.C:
5932         use these methods instead of using first_y
5933
5934 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * text2.C (pasteSelection): adjust for checkPastePossible
5937
5938         * CutAndPaste.C: remove Paragraph * buf and replace with
5939         ParagraphList paragraphs.
5940         (DeleteBuffer): delete
5941         (cutSelection): change the tc type to textclass_type
5942         (copySelection): change the tc type to textclass_type
5943         (copySelection): adjust for ParagraphList
5944         (pasteSelection): change the tc type to textclass_type
5945         (pasteSelection): adjust for Paragraphlist
5946         (nrOfParagraphs): simplify for ParagraphList
5947         (checkPastePossible): simplify for ParagraphList
5948         (checkPastePossible): remove unused arg
5949
5950         * ParagraphList.C (insert): handle the case where there are no
5951         paragraphs yet.
5952
5953         * CutAndPaste.h: make CutAndPaste a namespace.
5954
5955         * text3.C (dispatch): adjust
5956
5957         * text.C (breakParagraph): add a ParagraphList as arg
5958
5959         * paragraph_funcs.C (breakParagraph): change to take a
5960         BufferParams and a ParagraphList as args.
5961         (breakParagraphConservative): ditto
5962         (mergeParagraph): ditto
5963         (TeXDeeper): add a ParagraphList arg
5964         (TeXEnvironment): ditto
5965         (TeXOnePar): ditto
5966
5967         * buffer.C (readLyXformat2): adjust
5968         (insertStringAsLines): adjust
5969         (latexParagraphs): adjust
5970
5971         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5972         (cutSelection): adjust
5973         (pasteSelection): adjust
5974
5975         * BufferView_pimpl.C (insertInset): adjust
5976
5977 2003-03-05  Angus Leeming  <leeming@lyx.org>
5978
5979         * commandtags.h:
5980         * LyXAction.C (init):
5981         * BufferView_pimpl.C (dispatch):
5982         * lyxfunc.C (getStatus):
5983         remove LFUN_CHILD_INSERT.
5984
5985         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5986
5987 2003-03-05  Angus Leeming  <leeming@lyx.org>
5988
5989         * commandtags.h:
5990         * LyXAction.C (init):
5991         * src/factory.C (createInset):
5992         * lyxfunc.C (getStatus):
5993         * text3.C (dispatch):
5994         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5995
5996         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5997
5998 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * ParagraphList.C (insert): handle insert right before end()
6001         (erase): fix cases where it can be first or last paragraph.
6002
6003 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6006         Paragraph::next and Paragraph::previous
6007         (TeXOnePar): ditto
6008
6009         * text.C (breakParagraph): adjust
6010
6011         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6012         BufferParams& as arg.
6013         (breakParagraph): use ParagraphList::insert
6014         (breakParagraphConservative): take a Buffer* instead of a
6015         BufferParams& as arg.
6016         (breakParagraphConservative): use ParagraphList::insert.
6017
6018         * buffer.C (insertStringAsLines): un-const it
6019         (insertStringAsLines): adjust
6020
6021         * ParagraphList.C (insert): new function
6022
6023         * CutAndPaste.C (pasteSelection): adjust
6024
6025         * text.C (backspace): adjust
6026
6027         * tabular.C (SetMultiColumn): adjust
6028
6029         * CutAndPaste.C (cutSelection): adjust
6030         (pasteSelection): adjust
6031
6032         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6033         Buffer const * as arg
6034
6035         * ParagraphList.C (erase): new function
6036         * paragraph_funcs.C (mergeParagraph): use it
6037         (mergeParagraph): make it take a Buffer* instead of a
6038         BufferParams* as arg
6039
6040         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6041         as arg
6042         (breakParagraphConservative): ditto
6043
6044         * paragraph.h: remove the breakParagraph friend
6045
6046         * paragraph.C (eraseIntern): new function
6047         (setChange): new function
6048
6049         * paragraph_funcs.C (mergeParagraph): make it take a
6050         ParagraphList::iterator instead of a Paragraph *, adjust
6051         accordingly.
6052
6053         * paragraph.h: move an #endif so that the change tracking stuff
6054         also works in the NO_NEXT case.
6055
6056 2003-03-04  Angus Leeming  <leeming@lyx.org>
6057
6058         * commandtags.h:
6059         * LyXAction.C: new LFUN_INSET_MODIFY.
6060
6061         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6062         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6063
6064 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * several files: ws changes only
6067
6068         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6069         (TeXEnvironment): ditto
6070         (TeXDeeper): ditto
6071
6072         * buffer.C (makeLaTeXFile): adjust
6073         (latexParagraphs): make it take ParagraphList::iterator as args
6074
6075 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * buffer.C (latexParagraphs): adjust
6078
6079         * paragraph.C (TeXOnePar): move function...
6080         (optArgInset): move function...
6081         (TeXEnvironment): move function...
6082         * paragraph_pimpl.C (TeXDeeper): move function...
6083         * paragraph_funcs.C: ...here
6084
6085         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6086
6087 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * buffer.C (readInset): remove compability code for old Figure and
6090         InsetInfo insets
6091
6092 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * buffer.C: ws changes
6095         (readInset):
6096
6097         * BufferView_pimpl.C: ditto
6098         * author.C: ditto
6099         * buffer.h: ditto
6100         * bufferlist.h: ditto
6101         * changes.h: ditto
6102         * lyxfunc.C: ditto
6103
6104 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6105
6106         * converter.[Ch]: split into itself +
6107         * graph.[Ch]
6108         * format.[Ch]
6109         * Makefile.am: += graph.[Ch] + format.[Ch]
6110         * MenuBackend.C
6111         * buffer.C
6112         * exporter.C
6113         * importer.C
6114         * lyx_main.C
6115         * lyxfunc.C
6116         * lyxrc.C: added #include "format.h"
6117
6118 2003-02-27  Angus Leeming  <leeming@lyx.org>
6119
6120         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6121           a label.
6122
6123         * factory.C (createInset): add "label" to the factory.
6124
6125         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6126           string and do no more.
6127
6128 2003-02-27  Angus Leeming  <leeming@lyx.org>
6129
6130         * commandtags.h:
6131         * LyXAction.C (init):
6132         * factory.C (createInset):
6133         * BufferView_pimpl.C (dispatch):
6134           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6135
6136         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6137
6138         * lyxfunc.C (dispatch):
6139         * text3.C (dispatch): pass name to params2string.
6140
6141 2003-02-26  Angus Leeming  <leeming@lyx.org>
6142
6143         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6144           blocks together.
6145           Rearrange the ~includes. Strip out the unnecessary ones.
6146
6147         * factory.C (createInset): reformat.
6148           create new insets for the various LFUN_XYZ_APPLY lfuns.
6149
6150 2003-02-26  John Levon  <levon@movementarian.org>
6151
6152         * lyxrow.h:
6153         * lyxrow.C: add isParStart,isParEnd helpers
6154
6155         * paragraph.h: make isInserted/DeletedText take refs
6156
6157         * paragraph_funcs.h:
6158         * paragraph_funcs.C: remove #if 0'd code
6159
6160         * lyxtext.h:
6161         * text3.C:
6162         * text2.C:
6163         * text.C: use lyxrow helpers above.
6164           Move draw and paint routines to RowPainter.
6165           Make several methods use refs not pointers.
6166           Make backgroundColor() const.
6167           Add markChangeInDraw(), isInInset().
6168           Merge changeRegionCase into changeCase.
6169           Make workWidth() shouldn't-happen code into an Assert.
6170
6171         * rowpainter.h:
6172         * rowpainter.C: new class for painting a row.
6173
6174         * vspace.h:
6175         * vspace.C: make inPixels take a ref
6176
6177 2003-02-26  Angus Leeming  <leeming@lyx.org>
6178
6179         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6180         LFUN_REF_APPLY.
6181
6182 2003-02-25  John Levon  <levon@movementarian.org>
6183
6184         * ispell.C: give the forked command a more accurate name
6185
6186 2003-02-22  John Levon  <levon@movementarian.org>
6187
6188         * toc.h:
6189         * toc.C: make TocItem store an id not a Paragraph *
6190           (bug #913)
6191
6192 2003-02-21  Angus Leeming  <leeming@lyx.org>
6193
6194         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6195           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6196           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6197           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6198           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6199           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6200
6201         * BufferView_pimpl.C (dispatch):
6202         * LyXAction.C (init):
6203         * factory.C (createInset):
6204         * lyxfunc.C (getStatus, dispatch):
6205         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6206
6207 2003-02-21  Angus Leeming  <leeming@lyx.org>
6208
6209         * BufferView_pimpl.C (MenuInsertLyXFile):
6210         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6211         * lyxfunc.C (menuNew, open, doImport):
6212           no longer pass a LyXView & to fileDlg.
6213
6214 2003-02-21  Angus Leeming  <leeming@lyx.org>
6215
6216         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6217         * LyXAction.C: change, BIBKEY to BIBITEM.
6218         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6219         Change InsetBibKey to InsetBibitem.
6220         Change BIBKEY_CODE to BIBITEM_CODE.
6221         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6222         * factory.C: replace insetbib.h with insetbibitem.h.
6223         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6224         * paragraph.C: replace insetbib.h with insetbibitem.h.
6225         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6226         Change bibkey() to bibitem().
6227         * text.C: remove insetbib.h.
6228         * text2.C: replace insetbib.h with insetbibitem.h.
6229         change bibkey() to bibitem().
6230         * text3.C: remove insetbib.h.
6231         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6232
6233 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6234
6235         * lyxrc.C (output): enclose user email in quotes (in case there are
6236         several words)
6237
6238 2003-02-18  John Levon  <levon@movementarian.org>
6239
6240         * buffer.h: add std::
6241
6242 2003-02-17  John Levon  <levon@movementarian.org>
6243
6244         * SpellBase.h:
6245         * ispell.h:
6246         * ispell.C:
6247         * pspell.h:
6248         * pspell.C: reworking. Especially in ispell, a large
6249           number of clean ups and bug fixes.
6250
6251         * lyxfunc.C: fix revert to behave sensibly
6252
6253 2003-02-17 André Pönitz <poenitz@gmx.net>
6254
6255         * LyXAction.C:
6256         * commandtags.h: new LFUN_INSERT_BIBKEY
6257
6258         * layout.h:
6259         * lyxlayout.C:
6260         * buffer.C:
6261         * factory.C:
6262         * text.C:
6263         * text2.C:
6264         * text3.C:
6265         * paragraph.[Ch]:
6266         * paragraph_func.C: remove special bibkey handling
6267
6268 2003-02-17  John Levon  <levon@movementarian.org>
6269
6270         * text.C (Delete): fix case where delete at the end of
6271           the very first paragraph would not merge the pars
6272
6273 2003-02-17  John Levon  <levon@movementarian.org>
6274
6275         * lyxrow.C: fix lastPrintablePos()
6276
6277 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6278
6279         * bufferparams.C (writeLaTeX): add a std:here
6280
6281         * buffer.C: and remove a using directive there
6282
6283 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6284
6285         * buffer.C (makeLaTeXFile): move the code that generates the
6286           preamble...
6287
6288         * bufferparams.C (writeLaTeX): ... in this new method
6289
6290         * LaTeXFeatures.C (getEncodingSet): make const
6291           (getLanguages): make const
6292
6293         * MenuBackend.C (binding): returns the binding associated to this
6294           action
6295           (add): sets the status of each item by calling getStatus. Adds
6296           some intelligence.
6297           (read): add support for OptSubMenu
6298           (expand): remove extra separator at the end of expanded menu
6299
6300 2003-02-15  John Levon  <levon@movementarian.org>
6301
6302         * BufferView.C:
6303         * BufferView_pimpl.C:
6304         * bufferlist.h:
6305         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6306           inset code that had no actual effect. Remove unneeded status
6307           code.
6308
6309 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6310
6311         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6312           in preamble
6313
6314 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6315
6316         * text.C (drawLengthMarker): also draw an arrow marker for
6317           symbolic lengths (medskip...)
6318
6319 2003-02-14  John Levon  <levon@movementarian.org>
6320
6321         * tabular.h:
6322         * tabular.C: better method names
6323
6324 2003-02-14  John Levon  <levon@movementarian.org>
6325
6326         * BufferView_pimpl.C:
6327         * bufferlist.C:
6328         * buffer.C:
6329         * converter.C:
6330         * lyx_cb.C:
6331         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6332           it's a more accurate name. Remove some pointless uses.
6333
6334 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6335
6336         * text2.C (LyXText): change order of initilizers to shut off
6337           warnings
6338
6339 2003-02-14  John Levon  <levon@movementarian.org>
6340
6341         * buffer.C: use ParIterator for getParFromID()
6342
6343         * paragraph.h:
6344         * paragraph.C:
6345         * paragraph_pimpl.h:
6346         * paragraph_pimpl.C: remove unused getParFromID()
6347
6348 2003-02-14  John Levon  <levon@movementarian.org>
6349
6350         * buffer.C: remove some very old #if 0'd parse code
6351
6352 2003-02-13  John Levon  <levon@movementarian.org>
6353
6354         * text.h:
6355         * text.C:
6356         * text2.C: move hfillExpansion(), numberOfSeparators(),
6357           rowLast(), rowLastPrintable(), numberofHfills(),
6358           numberOfLabelHfills() ...
6359
6360         * lyxrow.h:
6361         * lyxrow.C: ... to member functions here.
6362
6363         * paragraph.h:
6364         * paragraph.C:
6365         * lyxtext.h:
6366         * text.C: remove LyXText::beginningOfMainBody(), and call
6367           p->beginningOfMainBody() directly. Move the check for
6368           LABEL_MANUAL into the latter.
6369
6370         * text.h:
6371         * text.C:
6372         * text2.C:
6373         * vspace.C:
6374         * BufferView.h:
6375         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6376
6377         * text.h:
6378         * text.C:
6379         * text2.C:
6380         * text3.C:
6381         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6382           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6383
6384 2003-02-13  John Levon  <levon@movementarian.org>
6385
6386         * CutAndPaste.C: remove debug
6387
6388 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6389
6390         * paragraph.C (asString): remove two unused variables
6391
6392         * lyxtextclass.C (readTitleType):
6393           (Read):
6394           (LyXTextClass): handle new members titletype_ and titlename_
6395
6396         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6397
6398 2003-02-09  John Levon  <levon@movementarian.org>
6399
6400         * buffer.h:
6401         * buffer.C: replace hand-coded list with a map for the dep clean
6402
6403 2003-02-08  John Levon  <levon@movementarian.org>
6404
6405         * LaTeX.C: consolidate code into showRunMessage() helper
6406
6407 2003-02-08  John Levon  <levon@movementarian.org>
6408
6409         * lyxfind.C:
6410         * lyxtext.h:
6411         * text2.C:
6412         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6413           and pass the size in explicitly
6414
6415         * BufferView_pimpl.h:
6416         * BufferView_pimpl.C:
6417         * BufferView.h:
6418         * BufferView.C: add getCurrentChange()
6419
6420         * BufferView_pimpl.h:
6421         * BufferView_pimpl.C: handle change lfuns
6422
6423         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6424           for changes. Mark pasted paragraphs as new.
6425
6426         * support/lyxtime.h:
6427         * support/lyxtime.C:
6428         * DepTable.C: abstract time_t as lyx::time_type
6429
6430         * LColor.h:
6431         * LColor.C: add colours for new text, deleted text, changebars
6432
6433         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6434           package use "usenames" option.
6435
6436         * commandtags.h:
6437         * lyxfunc.C:
6438         * LyXAction.C: add change lfuns
6439
6440         * Makefile.am:
6441         * author.h:
6442         * author.C: author handling
6443
6444         * buffer.h:
6445         * buffer.C: add a per-buffer author list, with first entry as
6446           current author. Handle new .lyx tokens for change tracking. Output
6447           author list to .lyx file. Output dvipost stuff to .tex preamble.
6448           Bump lyx format to 222.
6449
6450         * bufferlist.h:
6451         * bufferlist.C: add setCurrentAuthor() to reset current author details
6452           in all buffers.
6453
6454         * bufferparams.h:
6455         * bufferparams.C: add param for tracking
6456
6457         * bufferview_funcs.C: output change info in minibuffer
6458
6459         * Makefile.am:
6460         * changes.h:
6461         * changes.C: add change-tracking structure
6462
6463         * debug.h:
6464         * debug.C: add CHANGES debug flag
6465
6466         * lyxfind.h:
6467         * lyxfind.C: add code for finding the next change piece
6468
6469         * lyxrc.h:
6470         * lyxrc.C: add user_name and user_email
6471
6472         * lyxrow.h:
6473         * lyxrow.C: add a metric for the top of the text line
6474
6475         * lyxtext.h:
6476         * text.C: implement accept/rejectChange()
6477
6478         * lyxtext.h:
6479         * text.C: paint changebars. Paint new/deleted text in the chosen
6480         colours. Strike through deleted text.
6481
6482         * paragraph.h:
6483         * paragraph.C:
6484         * paragraph_pimpl.h:
6485         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6486           in the current change to the insert functions. Rework erase to
6487           mark text as deleted, adding an eraseIntern() and a range-based
6488           erase(). Implement per-paragraph change lookup and
6489           accept/reject.
6490
6491         * paragraph_funcs.C: Fixup paste for change tracking.
6492
6493         * tabular.C: mark added row/columns as new.
6494
6495         * text.C: fix rowLast() to never return -1. Don't allow
6496           spellchecking of deleted text. Track transpose changes. Don't
6497           allow paragraph break or merge where appropriate.
6498
6499         * text2.C: leave cursor at end of selection after a cut.
6500
6501 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6502
6503         * text.C (getLengthMarkerHeight):
6504         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6505         visible on screen too.
6506
6507 2003-02-07  John Levon  <levon@movementarian.org>
6508
6509         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6510
6511 2003-02-05  Angus Leeming  <leeming@lyx.org>
6512
6513         * lyxserver.C (read_ready): revert my patch of 11 September last year
6514         as it sends PC cpu through the roof. Presumably this means that
6515         the lyxserver will no longer run on an Alpha...
6516
6517 2003-01-30  Angus Leeming  <leeming@lyx.org>
6518
6519         * factory.C (createInset): create an InsetCommandParam of type "index"
6520         and use it to 'do the right thing'.
6521
6522         * text2.C (getStringToIndex): ensure that cursor position is always
6523         reset to the reset_cursor position.
6524
6525 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6526
6527         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6528         disabled.
6529
6530 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6531
6532         * bufferview.C:
6533         * lyxcb.C:
6534         * lyxfunc.C: Output messages with identical spelling, punctuation,
6535         and spaces
6536
6537 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6538
6539         * MenuBackend.C (expandFormats): List only viewable export formats
6540         in "View" menu
6541
6542         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6543         message
6544
6545         * lyxfunc.C (getStatus): Make sure that formats other than
6546         "fax" can also be disabled
6547
6548 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6549
6550         * text3.C (dispatch): put the lfuns that insert insets in 3
6551         groups, and call doInsertInset with appropriate arguments.
6552         (doInsertInset): new function, that creates an inset and inserts
6553         it according to some boolean parameters.
6554
6555 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * buffer.C (readFile): remember to pass on 'par' when calling
6558         readFile recursively.
6559
6560 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6561
6562         * MenuBackend.C (expandFormats): add "..." to import formats.
6563
6564 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6565
6566         * paragraph.C (asString): Remove XForms RTL hacks.
6567
6568 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6569         * buffer.C: fix typo
6570
6571 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * Makefile.am (LIBS): delete var
6574         (lyx_LDADD): add @LIBS@ here instead.
6575
6576 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6577
6578         * Clarify the meaning of "wheel mouse jump"
6579
6580 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6581
6582         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6583         tabular in a float
6584
6585 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6586
6587         * importer.C (Loaders): do not preallocate 3 elements in the
6588         vector, since one ends up with 6 elements otherwise
6589
6590 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6591
6592         * DepTable.C (write): write the file name as last element of the
6593         .dep file (because it may contain spaces)
6594         (read): read info in the right order
6595
6596 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6597
6598         * paragraph_pimpl.C (simpleTeXBlanks):
6599         (simpleTeXSpecialChars):
6600         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6601
6602         * tabular.C (latex): add some missing case statements. Reindent.
6603
6604         * MenuBackend.C (expandToc): remove unused variable.
6605
6606 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6607
6608         * LColor.C:
6609         * LaTeX.C:
6610         * LyXAction.C:
6611         * MenuBackend.C:
6612         * buffer.C:
6613         * exporter.C:
6614         * lyxfunc.C:
6615         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6616         and the like.
6617
6618 2003-01-05  John Levon  <levon@movementarian.org>
6619
6620         * BufferView.h:
6621         * BufferView.C: add getEncoding()
6622
6623         * kbsequence.h:
6624         * kbsequence.C: do not store last keypress
6625
6626         * lyxfunc.h:
6627         * lyxfunc.C: store last keypress here instead. Pass encoding
6628           to getISOEncoded()
6629
6630 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6631
6632         * lyx_main.C (init): remove annoying error message when following
6633         symbolic links (bug #780)
6634
6635 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6636
6637         * text.C (insertChar):
6638         * lyxrc.C (getDescription): remove extra spaces
6639
6640 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6641
6642         * lyxrc.C (getDescription): remove extra spaces
6643
6644 2002-12-20  John Levon  <levon@movementarian.org>
6645
6646         * text3.C: hack fix for page up/down across tall rows
6647
6648 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6649
6650         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6651         not been invoked
6652
6653 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6654
6655         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6656         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6657         thesaurus is not compiled in
6658
6659 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6660
6661         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6662
6663 2002-12-16  Angus Leeming  <leeming@lyx.org>
6664
6665         * lyxrc.[Ch]:
6666         * lyx_main.C (init): remove override_x_deadkeys stuff.
6667
6668 2002-12-12  John Levon  <levon@movementarian.org>
6669
6670         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6671           insert. Only remove shift modifier under strict
6672           circumstances.
6673
6674 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * MenuBackend.C (expandToc): fix crash.
6677
6678 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * MenuBackend.C (expandToc): gettext on float names.
6681
6682 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6683
6684         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6685         implement bool empty() [bug 490]
6686
6687 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6690
6691 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * several files: ws changes
6694
6695 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * text2.C (setCounter): clean up a bit, use boost.format.
6698         (updateCounters): initialize par upon declaration.
6699
6700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6701         if the layout exists. We do not just store the layout any more.
6702         (SwitchLayoutsBetweenClasses): use boost.format
6703
6704 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * converter.C (convert): if from and to files are the same, use a
6707         temporary files as intermediary
6708
6709 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * commandtags.h:
6712         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6713
6714 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6715
6716         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6717
6718 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * tabular.C (asciiPrintCell): use string(size, char) instead of
6721         explicit loop.
6722
6723         * sgml.C (openTag): fix order of arguments to string constructor
6724         (closeTag): ditto
6725
6726         * lyxfunc.C (dispatch): use boost.format
6727
6728         * lots of files: change "c" -> 'c'
6729
6730 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6731
6732         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6733
6734 2002-11-25  Angus Leeming  <leeming@lyx.org>
6735
6736         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6737
6738         * lyx_main.C (init): compile fix.
6739
6740 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * lyx_cb.C (start): boost.formatify
6743         do not include <iostream>
6744
6745         * lengthcommon.C: ws only
6746
6747         * boost-inst.C,BoostFormat.h: add more explict instantations
6748
6749 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * lots of files: handle USE_BOOST_FORMAT
6752
6753 2002-11-21  John Levon  <levon@movementarian.org>
6754
6755         * pspell.C: fix compile
6756
6757 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6758
6759         * lyxfunc.C (dispatch): use boost::format
6760         (open): ditto
6761         (doImport): ditto
6762
6763         * lyxfont.C (stateText): use boost::format
6764
6765         * lyx_main.C (LyX): use boost::format
6766         (init): ditto
6767         (queryUserLyXDir): ditto
6768         (readRcFile): ditto
6769         (parse_dbg): ditto
6770         (typedef boost::function): use the recommened syntax.
6771
6772         * importer.C (Import): use boost::format
6773
6774         * debug.C (showLevel): use boost::format
6775
6776         * converter.C (view): use boost::format
6777         (convert): ditto
6778         (move): ditto
6779         (scanLog): ditto
6780
6781         * bufferview_funcs.C (currentState): use boost::format
6782
6783         * bufferlist.C (emergencyWrite): use boost::format
6784
6785         * buffer.C (readLyXformat2): use boost::format
6786         (parseSingleLyXformat2Token): ditto
6787
6788         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6789
6790         * LaTeX.C (run): use boost::format
6791
6792         * Chktex.C (scanLogFile): use boost::format
6793
6794         * BufferView_pimpl.C (savePosition): use boost::format
6795         (restorePosition): ditto
6796         (MenuInsertLyXFile): ditto
6797
6798         * BoostFormat.h: help file for explicit instation.
6799
6800 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6801
6802         * tabular.C (latex): Support for block alignment in fixed width
6803         columns.
6804
6805 2002-11-17  John Levon  <levon@movementarian.org>
6806
6807         * BufferView_pimpl.C:
6808         * lyx_cb.C:
6809         * lyxfunc.C: split filedialog into open/save
6810
6811 2002-11-08  Juergen Vigna  <jug@sad.it>
6812
6813         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6814         by my last patch (hopefully).
6815
6816 2002-11-08  John Levon  <levon@movementarian.org>
6817
6818         * iterators.h:
6819         * iterators.C:
6820         * buffer.h:
6821         * buffer.C:
6822         * paragraph.h:
6823         * paragraph.C:
6824         * toc.h:
6825         * toc.C: ParConstIterator, and use it (from Lars)
6826
6827 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6828
6829         * lyxtextclass.[Ch]: revise and add doxygen comments
6830
6831 2002-11-07  John Levon  <levon@movementarian.org>
6832
6833         * text.C: fix progress value for spellchecker
6834
6835         * toc.C: fix navigate menu for insetwrap inside minipage
6836
6837         * paragraph_funcs.C: added FIXME for suspect code
6838
6839 2002-11-07  John Levon  <levon@movementarian.org>
6840
6841         * BufferView_pimpl.C: fix redrawing of insets
6842           on buffer switch
6843
6844 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6845
6846         * text2.C (updateCounters): fix bug 668
6847
6848 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6849
6850         * text3.C (dispatch): Do not make the buffer dirty when moving the
6851         cursor.
6852
6853 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * vc-backend.C: STRCONV
6856         (scanMaster): ditto
6857
6858         * text2.C (setCounter): STRCONV
6859
6860         * paragraph.C (asString): STRCONV
6861
6862         * lyxlength.C (asString): STRCONV
6863         (asLatexString): ditto
6864
6865         * lyxgluelength.C (asString): STRCONV
6866         (asLatexString): ditto
6867
6868         * lyxfunc.C (dispatch): STRCONV
6869         (open): ditto
6870
6871         * lyxfont.C (stateText): STRCONV
6872
6873         * importer.C (Import): STRCONV
6874
6875         * counters.C (labelItem): STRCONV
6876         (numberLabel): ditto
6877         (numberLabel): remove unused ostringstream o
6878
6879         * chset.C: STRCONV
6880         (loadFile): ditto
6881
6882         * bufferview_funcs.C (currentState): STRCONV
6883
6884         * buffer.C (readFile): STRCONV
6885         (asciiParagraph): ditto
6886         (makeLaTeXFile): ditto
6887
6888         * Spacing.C (writeEnvirBegin): STRCONV
6889
6890         * LaTeXFeatures.C (getLanguages): STRCONV
6891         (getPackages): ditto
6892         (getMacros): ditto
6893         (getBabelOptions): ditto
6894         (getTClassPreamble): ditto
6895         (getLyXSGMLEntities): ditto
6896         (getIncludedFiles): ditto
6897
6898         * LaTeX.C: STRCONV
6899         (run): ditto
6900         (scanAuxFile): ditto
6901         (deplog): ditto
6902
6903         * LString.h: add the STRCONV macros
6904
6905         * BufferView_pimpl.C (savePosition): STRCONV
6906         (restorePosition): ditto
6907         (MenuInsertLyXFile): ditto
6908
6909         * vc-backend.C (scanMaster): change from submatch[...] to
6910         submatch.str(...)
6911
6912         * funcrequest.C: include config.h
6913
6914         * factory.C: include config.h
6915
6916         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6917
6918         * box.C: include config.h
6919
6920         * LaTeX.C (scanAuxFile): change from submatch[...] to
6921         submatch.str(...)
6922         (deplog): ditto
6923
6924 2002-10-25  Angus Leeming  <leeming@lyx.org>
6925
6926         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6927
6928         * ispell.[Ch] (setError): new method.
6929         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6930         Use setError() insetead of goto END.
6931
6932         * lyx_cb.C (AutoSave): move out child process into new class
6933         AutoSaveBuffer.
6934
6935 2002-10-30  John Levon  <levon@movementarian.org>
6936
6937         * text3.C: make start appendix undoable
6938
6939 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6940
6941         * lyxlength.C (inPixels): Fix returned value.
6942
6943         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6944         environment.
6945
6946 2002-10-24  Angus Leeming  <leeming@lyx.org>
6947
6948         * lyxgluelength.h: no need to forward declare BufferParams
6949         or BufferView, so don't.
6950
6951 2002-10-21  John Levon  <levon@movementarian.org>
6952
6953         * BufferView.C: menuUndo ->undo, redo
6954
6955         * BufferView.h: document, remove dead, make some methods private
6956
6957         * paragraph_funcs.h:
6958         * paragraph_funcs.C:
6959         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6960
6961         * buffer.h:
6962         * buffer.C:
6963         * sgml.h:
6964         * sgml.C: move sgml open/close tag into sgml.C
6965
6966         * bufferview_funcs.h: unused prototype
6967
6968         * lyxfunc.h:
6969         * lyxfunc.C: remove unused
6970
6971         * lyxtext.h:
6972         * text.C: remove unused
6973
6974 2002-10-21  John Levon  <levon@movementarian.org>
6975
6976         * BufferView.h:
6977         * BufferView.C:
6978         * BufferView_pimpl.h:
6979         * BufferView_pimpl.C: fix mouse wheel handling based on
6980           patch from Darren Freeman
6981
6982 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6983
6984         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6985
6986 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6987
6988         * lyxlength.C (inPixels): Fix hanfling of negative length.
6989         Fix LyXLength::MU case.
6990
6991 2002-10-16  John Levon  <levon@movementarian.org>
6992
6993         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6994
6995 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6996
6997         * converter.C (view): add support for $$i (file name) and $$p
6998         (file path) for the viewer command. If $$i is not specified, then
6999         it is appended to the command (for compatibility with old syntax)
7000
7001 2002-10-14  Juergen Vigna  <jug@sad.it>
7002
7003         * undo_funcs.C (textHandleUndo): alter the order in which the
7004         new undopar is added to the LyXText, as we have to set first
7005         the right prev/next and then add it as otherwise the rebuild of
7006         LyXText is not correct. Also reset the cursor to the right paragraph,
7007         with this IMO we could remove the hack in "redoParagraphs()".
7008
7009 2002-10-09  Angus Leeming  <leeming@lyx.org>
7010
7011         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7012         to turn off an optimisation if a new inset is to be inserted.
7013
7014 2002-10-11 André Pönitz <poenitz@gmx.net>
7015
7016         * lyxtext.h: make some functions public to allow access
7017         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7018
7019 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7020
7021         * text3.C (dispatch): when changing layout, avoid an infinite loop
7022         [bug #652]
7023
7024 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7025
7026         * lyxrc.C (read): treat a viewer or converter command of "none" as
7027         if it were empty.
7028
7029         * MenuBackend.C (expandFormats): for an update, also allow the
7030         formats that are not viewable
7031
7032         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7033         script if it is newer than the lyxrc.defaults in user directory
7034
7035 2002-10-07 André Pönitz <poenitz@gmx.net>
7036
7037         * text.C: Vitaly Lipatov's small i18n fix
7038
7039 2002-09-25  Angus Leeming  <leeming@lyx.org>
7040
7041         * ispell.h: doxygen fix.
7042
7043 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * buffer.h (readFile): Add a new argument to the method, to allow
7046         reading of old-format templates.
7047
7048 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7049
7050         * toc.C (getTocList): Get TOC from InsetWrap.
7051
7052 2002-09-16  John Levon  <levon@movementarian.org>
7053
7054         * lyxfunc.C: check tabular for cut/copy too
7055
7056 2002-09-12  John Levon  <levon@movementarian.org>
7057
7058         * LyXAction.C: tidy
7059
7060         * factory.h:
7061         * factory.C: add header
7062
7063         * paragraph_funcs.h:
7064         * paragraph_funcs.C: cleanup
7065
7066 2002-09-11  John Levon  <levon@movementarian.org>
7067
7068         * PrinterParams.h: odd/even default to true
7069
7070 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7071
7072         * PrinterParams.h: update printer parameters for new xforms dialog
7073
7074 2002-09-11  Angus Leeming  <leeming@lyx.org>
7075
7076         * lyxserver.C (read_ready): re-write to make it more transparent
7077         and to make it work in coherent fashion under Tru64 Unix.
7078
7079 2002-09-11  André Pönitz <poenitz@gmx.net>
7080
7081         * commandtags.h:
7082         * LyXAction.C:
7083         * text3.C: implement LFUN_WORDSEL
7084
7085 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7088         make floatlist_ a boost::shared_ptr<FloatList>
7089
7090         * lyxtextclass.C: include FloatList.h
7091         (LyXTextClass): initialize floatlist_
7092         (TextClassTags): add TC_NOFLOAT
7093         (Read): match "nofloat" to TC_NOFLOAT and use it.
7094         (readFloat): modify call to floatlist_
7095         (floats): ditto
7096         (floats): ditto
7097
7098         * FloatList.[Ch] (FloatList): remove commented out float
7099         initialization.
7100         (erase): new function
7101
7102 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7103
7104         * MenuBackend.C (expandToc): fix crash when there is no document
7105         open
7106
7107 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7108
7109         * many files: Add insetwrap.
7110
7111 2002-09-09  John Levon  <levon@movementarian.org>
7112
7113         * text2.C: remove confusing and awkward depth wraparound
7114
7115 2002-09-09  John Levon  <levon@movementarian.org>
7116
7117         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7118
7119         * buffer.h:
7120         * buffer.C: remove getIncludeonlyList()
7121
7122         * paragraph.C:
7123         * lyxfunc.C: remove headers
7124
7125 2002-09-09  Juergen Vigna  <jug@sad.it>
7126
7127         * text.C (getColumnNearX): fix form Michael this is most
7128         probably a cut&paste bug.
7129
7130 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7131
7132         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7133
7134         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7135         references, ws changes.
7136
7137         * text2.C (init): update counters after init
7138         (insertParagraph): no need to set counter on idividual paragraphs.
7139         (setCounter): access the counters object in the textclass object
7140         on in the buffer object.
7141         (updateCounters): ditto
7142
7143         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7144         shared_ptr<Counters> to avoid loading counters.h in all
7145         compilation units.
7146         (LyXTextClass): initialize ctrs_
7147         (TextClassTags): add TC_COUNTER, and ...
7148         (Read): use it here.
7149         (CounterTags): new tags
7150         (readCounter): new function
7151         (counters): new funtion
7152         (defaultLayoutName): return a const reference
7153
7154         * counters.C (Counters): remove contructor
7155         (newCounter): remove a couple of unneeded statements.
7156         (newCounter): simplify a bit.
7157         (numberLabel): some small formatting changes.
7158
7159         * buffer.[Ch]: remove all traces of counters, move the Counters
7160         object to the LyXTextClass.
7161
7162 2002-09-06  Alain Castera  <castera@in2p3.fr>
7163
7164         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7165         package to set the horizontal alignment on fixed width columns.
7166
7167         * lyx_sty.C:
7168         * lyx_sty.h: added tabularnewline macro def.
7169
7170         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7171
7172 2002-09-06  John Levon  <levon@movementarian.org>
7173
7174         * LyXAction.C: tooltips for sub/superscript
7175
7176         * MenuBackend.C: a bit more verbose
7177
7178         * lyxfunc.C: tiny clean
7179
7180         * undo_funcs.C: document undo_frozen
7181
7182 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * counters.C (Counters): add missing algorithm counter.
7185
7186         * text2.C (setCounter): lookup the counter with layouts latexname
7187         instead of by section number.
7188         (setCounter): use a hackish way to lookup the correct enum
7189         counter.
7190         a float name->type change
7191         reset enum couners with counter name directly instead of depth value.
7192
7193         * counters.C (Counters): remove the push_backs, change to use the
7194         float type not the float name.
7195         (labelItem): remove unused string, float name->type change
7196
7197         * counters.h: don't include vector, loose the enums and sects vectors
7198
7199 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7202         (Read): add float->TC_FLOAT to textclassTags
7203         (Read): and handle it in the switch
7204         (readFloat): new function
7205
7206         * FloatList.C (FloatList): comment out the hardcoded float
7207         definitions.
7208
7209         * lyxlayout.h: ws change.
7210
7211 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7212
7213         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7214
7215 2002-09-03  Angus Leeming  <leeming@lyx.org>
7216
7217         * BufferView_pimpl.h: qualified name is not allowed in member
7218         declaration: WorkArea & Pimpl::workarea() const;
7219
7220         * factory.C: added using std::endl directive.
7221
7222         * text3.C: added using std::find and std::vector directives.
7223
7224 2002-08-29  André Pönitz <poenitz@gmx.net>
7225
7226         * lyxtext.h:
7227         * text2.C: remove unused member number_of_rows
7228
7229         * Makefile.am:
7230         * BufferView2.C: remove file, move contents to...
7231         * BufferView.C: ... here
7232
7233         * BufferView_pimpl.C:
7234         * factory.C: move more inset creation to factory
7235
7236         * vspace.C: avoid direct usage of LyXText, ws changes
7237
7238         * BufferView.[Ch]:
7239                 don't provide direct access to WorkArea, use two simple
7240                 acessors haveSelction() and workHeight() instead
7241
7242
7243 2002-08-29  John Levon  <levon@movementarian.org>
7244
7245         * BufferView_pimpl.C (dispatch): do not continue when
7246           no buffer
7247
7248 2002-08-28  André Pönitz <poenitz@gmx.net>
7249
7250         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7251
7252         * BufferView.h:
7253         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7254
7255 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7256
7257         * buffer.C: increment LYX_FORMAT to 221
7258
7259         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7260         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7261
7262         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7263
7264         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7265
7266 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7267
7268         * factory.C (createInset): use LyXTextClass::floats
7269
7270         * MenuBackend.C (expandFloatListInsert):
7271         (expandFloatInsert):
7272         (expandToc):
7273
7274         * text2.C (setCounter):
7275
7276         * LaTeXFeatures.C (useFloat):
7277         (getFloatDefinitions):
7278
7279         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7280
7281         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7282         floatlist_, with accessor floats().
7283
7284         * FloatList.h: remove global FloatList
7285
7286 2002-08-26  André Pönitz <poenitz@gmx.net>
7287
7288         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7289
7290         * BufferView.h:
7291         * BufferView2.C:
7292         * BufferView_pimpl.C:
7293         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7294
7295 2002-08-25  John Levon  <levon@movementarian.org>
7296
7297         * LyXAction.C: fix margin note description
7298
7299 2002-08-24  John Levon  <levon@movementarian.org>
7300
7301         * buffer.C:
7302         * bufferlist.C:
7303         * bufferview_funcs.C:
7304         * lyxfont.C:
7305         * undo_funcs.C: cleanups
7306
7307         * lyxfunc.C: disable CUT/COPY when no selection
7308
7309 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7310
7311         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7312         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7313
7314         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7315         Add backward compatibility to "mono", "gray" and "no".
7316
7317 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7318
7319         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7320         (and file_format >= 200).
7321
7322 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7323
7324         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7325
7326 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7327
7328         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7329
7330 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7331
7332         * BufferView_pimpl.C:
7333         * LyXAction.C:
7334         * buffer.C:
7335         * commandtags.h:
7336         * lyxfunc.C:
7337         * paragraph.[Ch]:
7338         * text2.C:
7339         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7340         inset and code to make it  work with the paragraph code. The inset
7341         can be anywhere in the paragraph, but will only do the expected
7342         thing in LaTeX if the layout file contains the parameter line
7343                         OptionalArgs    1
7344         (or more generally, a nonzero value) for that layout.
7345
7346 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * paragraph.h: remove the declaration of undefined counters class
7349         function.
7350
7351 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7352
7353         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7354         Dr. Richard Hawkins.
7355
7356 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7357
7358         * paragraph_funcs.h: remove some unneeded includes
7359
7360         * text.C (backspace): pasteParagraph now in global scipe
7361
7362         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7363         (pasteSelection): ditto
7364
7365         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7366         * paragraph_funcs.C (pasteParagraph): ... here
7367
7368 2002-08-20  André Pönitz <poenitz@gmx.net>
7369
7370         * commandtags.h: new LFUNs for swapping/copying table row/colums
7371
7372         * LyXAction.C:
7373         * lyxfunc.C: support for new lfuns
7374
7375 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * tabular.C:
7378         * buffer.[Ch]: remove NO_COMPABILITY stuff
7379
7380 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * boost.C (throw_exception): new file, with helper function for
7383         boost compiled without exceptions.
7384
7385         * paragraph.h:
7386         * lyxlength.C:
7387         * buffer.C:
7388         * ParameterStruct.h:
7389         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7390
7391         * bufferlist.C (emergencyWriteAll): use boost bind
7392
7393         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7394
7395         * text.C: include paragraph_funcs.h
7396         (breakParagraph): breakParagraph is now in global scope
7397
7398         * paragraph_funcs.[Ch]: new files
7399
7400         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7401         global scope
7402
7403         * buffer.C: include paragraph_funcs.h
7404         (insertStringAsLines): breakParagraph is now in global scope
7405
7406         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7407         paragraph_funcs.C
7408
7409         * CutAndPaste.C: include paragraph_funcs.h
7410         (cutSelection): breakParagraphConservative is now in global scope
7411         (pasteSelection): ditto
7412
7413         * buffer.h: declare oprator== and operator!= for
7414         Buffer::inset_iterator
7415
7416         * bufferlist.C (emergencyWrite): don't use fmt(...)
7417
7418         * text3.C: add using std::endl
7419
7420         * BufferView.C (moveCursorUpdate): remove default arg
7421
7422 2002-08-20  André Pönitz <poenitz@gmx.net>
7423
7424         * buffer.[Ch]: move inline functions to .C
7425
7426         * BufferView2.C:
7427         * BufferView_pimpl.C:
7428         * text.C:
7429         * buffer.[Ch]: use improved inset_iterator
7430
7431         * buffer.C:
7432         * paragraph.[Ch]: write one paragraph at a time
7433
7434 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7435
7436         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7437         style if style is not specified.
7438
7439 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * text2.C (setCounter): when searching for right label for a
7442         caption, make sure to recurse to parent insets (so that a caption
7443         in a minipage in a figure float works) (bug #568)
7444
7445 2002-08-20  André Pönitz <poenitz@gmx.net>
7446
7447         * text3.C: new file for LyXText::dispatch() and helpers
7448
7449         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7450
7451         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7452
7453 2002-08-19  André Pönitz <poenitz@gmx.net>
7454
7455         * lyxtext.h:
7456         * text.C: new LyXText::dispatch()
7457
7458         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7459
7460 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7461
7462         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7463
7464         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7465         Hebrew text.
7466
7467 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7468
7469         * Makefile.am: use $(variables) instead of @substitutions@
7470
7471 2002-08-15  André Pönitz <poenitz@gmx.net>
7472
7473         * lyxfunc.C:
7474         * BufferView_pimpl.C: streamlining mathed <-> outer world
7475         interaction
7476
7477         * commandtags.h:
7478         * LyXAction.C: remove unused LFUN_MATH
7479
7480 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7483
7484 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * paragraph.C (Paragraph): reformat a bit
7487         (cutIntoMinibuffer): use builtin InsetList function instad of
7488         doing it manually.
7489         (getInset): ditto
7490
7491         * buffer.C: include boost/bind.hpp, add using std::for_each
7492         (writeFileAscii): use ParagraphList iterators
7493         (validate): use for_each for validate traversal of paragraphs
7494         (getBibkeyList): use ParagraphList iterators
7495         (resizeInsets): use for_each to resizeInsetsLyXText for all
7496         paragraphs.
7497         (getParFromID): use ParagraphList iterators
7498
7499         * BufferView2.C (lockInset): use paragraph list and iterators
7500
7501 2002-08-14  John Levon  <levon@movementarian.org>
7502
7503         * lyxserver.C: remove spurious xforms include
7504
7505 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7506
7507         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7508
7509 2002-08-13  André Pönitz <poenitz@gmx.net>
7510
7511         * LyXAction.[Ch]:
7512         * lyxfunc.C: further cleaning
7513
7514 2002-08-13  André Pönitz <poenitz@gmx.net>
7515
7516         * funcrequest.h: new constructor
7517
7518         * funcrequest.C: move stuff here from .h
7519
7520         * Makefile.am:
7521         * BufferView_pimpl.C:
7522         * LyXAction.C:
7523         * toc.C:
7524         * lyxfunc.C: subsequent changes
7525
7526         * lyxfunc.h: new view() member function
7527
7528         * lyxfunc.C: subsequent changes
7529
7530 2002-08-13  Angus Leeming  <leeming@lyx.org>
7531
7532         * BufferView2.C:
7533         * BufferView_pimpl.C:
7534         * buffer.C:
7535         * converter.C:
7536         * importer.C:
7537         * lyxfunc.C:
7538         * lyxvc.C:
7539         * toc.C:
7540         * vc-backend.C:
7541         changes due to the changed LyXView interface that now returns references
7542         to member variables not pointers.
7543
7544 2002-08-13  Angus Leeming  <leeming@lyx.org>
7545
7546         * WordLangTuple (word, lang_code): return references to strings,
7547         not strings.
7548
7549         * BufferView.h:
7550         * SpellBase.h:
7551         * lyxtext.h: forward-declare WordLangTuple.
7552
7553         * BufferView2.C:
7554         * ispell.C:
7555         * pspell.C:
7556         * text.C: #include "WordLangTuple.h".
7557
7558         * lyxtext.h:
7559         * text.C: (selectNextWordToSpellcheck): constify return type.
7560
7561 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7562
7563         * buffer.C:
7564         * buffer.h:
7565         * lyxtext.h:
7566         * paragraph.C:
7567         * paragraph_pimpl.h:
7568         * text.C:
7569         * text2.C:
7570         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7571         suggested by Angus.
7572         Made updateCounter always count from start of buffer, and removed
7573         second argument (par).
7574         Reverted floats number display to '#'. Perhaps I'll try again when the
7575         code base is sanitized a bit.
7576
7577 2002-08-12  Angus Leeming  <leeming@lyx.org>
7578
7579         * buffer.[Ch] (getLabelList): constify.
7580
7581 2002-08-07  André Pönitz <poenitz@gmx.net>
7582
7583         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7584
7585         * funcrequest.h: extension to keep mouse (x,y) position
7586
7587 2002-08-12  Juergen Vigna  <jug@sad.it>
7588
7589         * BufferView2.C (insertErrors): forbid undo when inserting error
7590         insets.
7591
7592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7593
7594 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * ParagraphList.[Ch]: new files
7597
7598         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7599
7600         * BufferView2.C (lockInset): ParagraphList changes
7601         * toc.C: ditto
7602         * text2.C: ditto
7603         * bufferlist.C: ditto
7604         * buffer.h: ditto
7605         * buffer.C: ditto
7606
7607 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7610         unused class variable counter_,
7611
7612         * paragraph.[Ch] (getFirstCounter): delete unused function
7613
7614         * counters.C: include LAssert.h
7615         (reset): add a new function with no arg, change other version to
7616         not have def. arg and to not allow empty arg.
7617
7618         * text2.C (setCounter): remove empty arg from call to Counters::reset
7619
7620 2002-08-11  John Levon  <levon@movementarian.org>
7621
7622         * Makefile.am: add WordLangTuple.h
7623
7624 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7627         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7628
7629         * insets/insettext.C: InsetList changes
7630
7631         * graphics/GraphicsSupport.C (operator()): InsetList changes
7632
7633         * toc.C (getTocList): InsetList changes
7634
7635         * paragraph_pimpl.[Ch]: InsetList changes
7636
7637         * paragraph.[Ch]: InsetList changes
7638
7639         * buffer.C (inset_iterator): InsetList changes
7640         (setParagraph): ditto
7641         * buffer.h (inset_iterator): ditto
7642         * iterators.C (operator++): ditto
7643         * iterators.h: ditto
7644
7645         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7646
7647         * InsetList.[Ch]: new files, most InsetList handling moved out of
7648         paragraph.C.
7649
7650         * BufferView2.C (removeAutoInsets): InsetList changes
7651         (lockInset): ditto
7652         (ChangeInsets): ditto
7653
7654 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * paragraph_pimpl.h (empty): new function
7657
7658         * paragraph.[Ch] (empty): new function
7659
7660         * other files: use the new Paragraph::empty function
7661
7662 2002-08-09  John Levon  <levon@movementarian.org>
7663
7664         * lyxtext.h: remove unused refresh_height
7665
7666 2002-08-09  John Levon  <levon@movementarian.org>
7667
7668         * Makefile.am:
7669         * sgml.h:
7670         * sgml.C:
7671         * buffer.C:
7672         * paragraph.h:
7673         * paragraph.C: move sgml char escaping out of paragraph
7674
7675         * paragraph.h:
7676         * paragraph.C: remove id setter
7677
7678         * buffer.C:
7679         * paragraph.C:
7680         * paragraph_pimpl.C: remove dead tex_code_break_column
7681
7682         * bufferview_funcs.C: small cleanup
7683
7684         * lyxfunc.C: remove dead proto
7685
7686         * lyxtext.h: make some stuff private. Remove some dead stuff.
7687
7688         * lyxgluelength.C: make as[LyX]String() readable
7689
7690 2002-08-08  John Levon  <levon@movementarian.org>
7691
7692         * LyXAction.h:
7693         * LyXAction.C:
7694         * MenuBackend.C:
7695         * ToolbarDefaults.C:
7696         * lyxfunc.C:
7697         * lyxrc.C:
7698         * toc.C: lyxaction cleanup
7699
7700 2002-08-08  John Levon  <levon@movementarian.org>
7701
7702         * BufferView2.C: small cleanup
7703
7704         * lyxfind.h:
7705         * lyxfind.C: move unnecessary header into the .C
7706
7707 2002-08-08  John Levon  <levon@movementarian.org>
7708
7709         * funcrequest.h: just tedious nonsense
7710
7711         * lyx_main.h:
7712         * lyx_main.C: cleanups
7713
7714         * buffer.C:
7715         * vspace.C: remove dead header lyx_main.h
7716
7717 2002-08-07  Angus Leeming  <leeming@lyx.org>
7718
7719         * Paragraph.[Ch]:
7720         * paragraph_pimpl.h:
7721         Forward declare class Counters in paragraph.h by moving the ctrs member
7722         variable into Paragraph::Pimpl.
7723         (counters): new method, returning a reference to pimpl_->ctrs.
7724
7725         * text2.C: ensuing changes.
7726
7727 2002-08-07  John Levon  <levon@movementarian.org>
7728
7729         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7730
7731         * BufferView_pimpl.C: announce X selection on double/triple
7732           click
7733
7734         * lyx_main.C: use correct bool in batch dispatch
7735
7736         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7737
7738 2002-08-07  André Pönitz <poenitz@gmx.net>
7739
7740         * funcrequest.h: new class to wrap a kb_action and its argument
7741
7742         * BufferView.[Ch]:
7743         * BufferView_pimpl[Ch]:
7744         * LaTeX.C:
7745         * LyXAction.[Ch]:
7746         * lyxfunc.[Ch]:
7747         * lyxrc.C: subsequent changes
7748
7749
7750 2002-08-07  John Levon  <levon@movementarian.org>
7751
7752         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7753           document options change.
7754
7755 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7756
7757         * counters.[Ch]
7758         * text2.C
7759         * paragraph.[Ch]
7760         * makefile.am: move counters functionality over from
7761         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7762
7763 2002-08-06  John Levon  <levon@movementarian.org>
7764
7765         * WordLangTuple.h: new file for word + language code tuple
7766
7767         * SpellBase.h:
7768         * pspell.h:
7769         * pspell.C:
7770         * ispell.h:
7771         * ispell.C:
7772         * lyxtext.h:
7773         * text.C:
7774         * text2.C:
7775         * BufferView.h:
7776         * BufferView2.C: use WordLangTuple
7777
7778         * layout.h:
7779         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7780
7781 2002-08-06  John Levon  <levon@movementarian.org>
7782
7783         * lyx_main.C: fix cmdline batch handling
7784
7785 2002-08-06  André Pönitz <poenitz@gmx.net>
7786
7787         * lyxrc.C: set default for show_banner to true
7788
7789 2002-08-06  John Levon  <levon@movementarian.org>
7790
7791         * pspell.C: fix a crash, and allow new aspell to work
7792
7793 2002-08-06  John Levon  <levon@movementarian.org>
7794
7795         * lyxfunc.C:
7796         * kbmap.C: small cleanup
7797
7798         * vspace.h:
7799         * vspace.C: add const
7800
7801 2002-08-05  John Levon  <levon@movementarian.org>
7802
7803         * LyXAction.C: back to tabular-insert
7804
7805 2002-08-04  John Levon  <levon@movementarian.org>
7806
7807         * BufferView.h:
7808         * BufferView.C: cosmetic change
7809
7810         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7811
7812         * bufferlist.C:
7813         * buffer.h:
7814         * buffer.C:
7815         * lyxcb.h:
7816         * lyxcb.C:
7817         * lyxserver.C:
7818         * lyxvc.C:
7819         * vc-backend.C:
7820         * BufferView2.C: purge all "Lyx" not "LyX" strings
7821
7822         * lyxcursor.h:
7823         * lyxcursor.C: attempt to add some documentation
7824
7825         * lyxfunc.C:
7826         * commandtags.h:
7827         * LyXAction.C:
7828         * ToolbarDefaults.C:
7829         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7830           merge with LFUN_TABULAR_INSERT
7831
7832         * Makefile.am:
7833         * SpellBase.h:
7834         * ispell.h:
7835         * ispell.C:
7836         * pspell.h:
7837         * pspell.C: split up i/pspell implementations into separate
7838           files, many cleanups
7839
7840         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7841
7842         * text2.C: some cleanup
7843
7844         * lyxfunc.C: don't check for isp_command == "none" any more, it
7845           didn't make any sense
7846
7847 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7848
7849         * counters.[Ch]
7850         * text2.C
7851         * paragraph.[Ch]
7852         * makefile.am: move counters functionality over
7853         from text2.C/paragraph.[Ch] to counters.[Ch], and
7854         make proper C++.
7855 2002-08-02  John Levon  <levon@movementarian.org>
7856
7857         * buffer.C: s/lyxconvert/lyx2lyx/
7858
7859 2002-08-02  Angus Leeming  <leeming@lyx.org>
7860
7861         * lyxlex.C: revert John's change as it breaks reading of the user
7862         preamble.
7863
7864 2002-08-02  Angus Leeming  <leeming@lyx.org>
7865
7866         * importer.C (Import):
7867         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7868         changes due to LyXView::view() now returning a boost::shared_ptr.
7869
7870 2002-08-02  John Levon  <levon@movementarian.org>
7871
7872         * lyxlex.C: small cleanup
7873
7874 2002-08-02  John Levon  <levon@movementarian.org>
7875
7876         * text2.C (status): small cleanup, no logic change
7877
7878 2002-08-01  John Levon  <levon@movementarian.org>
7879
7880         * buffer.h:
7881         * buffer.C (writeFile): don't output alerts, caller
7882           handles this
7883
7884         * bufferlist.C:
7885         * lyx_cb.C: from above
7886
7887         * lyxfunc.C: allow to open non-existent files
7888
7889 2002-07-31  John Levon  <levon@movementarian.org>
7890
7891         * lyxserver.C: don't let incidental errors get
7892           in the way (errno)
7893
7894 2002-07-30  John Levon  <levon@movementarian.org>
7895
7896         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7897
7898 2002-07-30  John Levon  <levon@movementarian.org>
7899
7900         * lyxserver.h:
7901         * lyxserver.C: remove I/O callback too
7902
7903 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7904
7905         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7906         log.
7907
7908 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * many files: strip,frontStrip -> trim,ltrim,rtrim
7911
7912 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * PrinterParams.h: remove extern containsOnly, and include
7915         support/lstrings.h instead.
7916
7917         * LaTeX.C (scanAuxFile): modify because of strip changes
7918         (deplog): ditto
7919         * buffer.C (makeLaTeXFile): ditto
7920         * bufferparams.C (writeFile): ditt
7921         * lyxfont.C (stateText): ditto
7922         * lyxserver.C (read_ready): ditto
7923         * vc-backend.C (scanMaster): ditto
7924
7925         * BufferView_pimpl.h: ws changes
7926
7927         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7928
7929 2002-07-26  André Pönitz <poenitz@gmx.net>
7930
7931         * kb_sequence.C: remove unnedred usings
7932
7933 2002-07-26  Juergen Vigna  <jug@sad.it>
7934
7935         * lyxfind.C (LyXReplace): we have to check better if the returned
7936         text is not of theLockingInset()->getLockingInset().
7937
7938 2002-07-25  Juergen Vigna  <jug@sad.it>
7939
7940         * lyxfind.C (LyXReplace): don't replace if we don't get the
7941         right LyXText.
7942
7943         * undo_funcs.C (createUndo): remove debugging code.
7944
7945 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7946
7947         * buffer.C (parseSingleLyXformat2Token): Use default placement
7948         when reading old floats.
7949
7950         * FloatList.C (FloatList): Change the default placement of figure
7951         and tables to "tbp".
7952
7953 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7954
7955         * MenuBackend.C: using std::max
7956
7957 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * MenuBackend.C (expandToc):
7960         (expandToc2): code moved from xforms menu frontend. It is now
7961         generic and TOCs are transparent to menu frontends.
7962
7963 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7964
7965         * toc.C (getTocList): protect against buf=0
7966
7967         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7968         Menu as first parameter. Now, this calls itself recursively to
7969         expand a whole tree (this will be useful for TOC handling)
7970         (expandFloatInsert): remove 'wide' version of floats
7971
7972         * MenuBackend.h (submenuname): returns the name of the submenu.
7973         (submenu): returns the submenu itself, provided it has been
7974         created by MenuBackend::expand
7975
7976 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7977
7978         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7979         insets which have noFontChange == true. (bug #172)
7980
7981 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7982
7983         * BufferView_pimpl.C: add connection objects and use them...
7984         (Pimpl): here.
7985
7986 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7987
7988         * MenuBackend.C (expandLastfiles):
7989         (expandDocuments):
7990         (expandFormats):
7991         (expandFloatListInsert):
7992         (expandFloatInsert):
7993         (expand): split expand in parts
7994
7995 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * lyx_gui.C: use lyx_gui::exit()
7998
7999 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * LyXAction.C: show the failing pseudo action
8002
8003 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8004
8005         * buffer.C (readFile): Run the lyxconvert script in order to read
8006         old files.
8007
8008 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * LyXAction.C:
8011         * commandtags.h:
8012         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8013
8014 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * LyXAction.C:
8017         * commandtags.h:
8018         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8019
8020 2002-07-22  Herbert Voss  <voss@lyx.org>
8021
8022         * lengthcommon.C:
8023         * lyxlength.[Ch]: add support for the vertical lengths
8024
8025 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8026
8027         * toc.[Ch]: std:: fixes
8028
8029 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8030
8031         * lyxrc.C: do not include lyx_main.h
8032
8033         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8034         for layouts
8035
8036         * lyxrc.C:
8037         * encoding.C:
8038         * bufferlist.C:
8039         * BufferView2.C: include "lyxlex.h"
8040
8041         * tabular.h:
8042         * bufferparams.h: do not #include "lyxlex.h"
8043
8044         * lyxtextclasslist.C (Add): remove method
8045         (classlist): renamed to classlist_
8046
8047         * paragraph_pimpl.C:
8048         * paragraph.C:
8049         * text2.C:
8050         * CutAndPaste.C:
8051         * bufferview_funcs.C:
8052         * bufferlist.C:
8053         * text.C:
8054         * LaTeXFeatures.C:
8055         * buffer.C:
8056         * toc.C (getTocList): use BufferParams::getLyXTextClass
8057
8058         * toc.C (getTocList): use InsetFloat::addToToc
8059
8060         * toc.[Ch]: new files, containing helper functions to handle table
8061         of contents
8062
8063         * lyxfunc.C (dispatch): no need to remove spaces around command
8064         given as a string
8065         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8066         first command of the sequence; it is not very clever, but I do not
8067         have a better idea, actually
8068
8069         * LyXAction.C (LookupFunc): make sure to remove space at the
8070         beginning and end of the command
8071
8072 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8073
8074         * MenuBackend.C (getMenubar): new method: return the menubar of
8075         this menu set
8076         (read): treat differently reading of menu and menubar (in
8077         particular, the menubar has no name now)
8078         (Menu::menubar): remove
8079
8080         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8081         saving is finished
8082
8083 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8084
8085         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8086         a bibitem inset in a RTL paragraph.
8087
8088 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * paragraph_pimpl.C: constify
8091
8092         * BufferView_pimpl.C:
8093         * LaTeX.C:
8094         * lyxfunc.C: fix dispatch in a nicer way
8095
8096 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8097
8098         * lyxfunc.C (dispatch):
8099         * BufferView_pimpl.C:
8100         * BufferView_pimpl.h:
8101         * BufferView.C:
8102         * BufferView.h: rename Dispatch() to dispatch()
8103
8104         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8105
8106         * lyxlayout.C (Read): honor DependsOn tag
8107
8108         * lyxlayout.[Ch] (depends_on): new method
8109
8110         * version.C.in: update lyx_docversion
8111
8112         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8113
8114         * paragraph.C (validate): remove from here...
8115         * paragraph_pimpl.C (validate): ... and move here
8116         (isTextAt): make it const
8117
8118         * buffer.C (getLists): ws cleanup
8119
8120 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8121
8122         * language.C (read): Use iso8859-1 encoding in latex_lang
8123         (this prevents LyX from crashing when using iso10646-1 encoding).
8124
8125 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8126
8127         * text2.C (toggleInset): if cursor is inside an inset, close the
8128         inset and leave cursor _after_ it
8129
8130 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * lyxfunc.C: move minibuffer completion handling out of here
8133
8134 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * BufferView_pimpl.C:
8137         * LaTeX.C: fix dispatch calls
8138
8139 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8140
8141         * text.C (drawChars): Fix Arabic text rendering.
8142
8143 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * LyXAction.C:
8146         * commandtags.h:
8147         * lyxfunc.C: remove message-push/pop
8148
8149         * lyxserver.C:
8150         * lyxfunc.h:
8151         * lyxfunc.C: rationalise some code by removing verboseDispatch
8152           in favour of a bool argument to dispatch()
8153
8154 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8155
8156         * lyx_main.C (init): make sure to read symlinks as absolute paths
8157
8158 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8159
8160         * lyxfunc.h:
8161         * lyxfunc.C: no need for commandshortcut to be a member
8162
8163 2002-07-15  André Pönitz <poenitz@gmx.net>
8164
8165         * converter.C: add support for $$s (scripts from lib/scripts dir)
8166         * lyx_main.C: white space
8167
8168 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8169
8170         * bufferlist.C:
8171         * lyxrc.h:
8172         * lyxrc.C: remove second exit confirmation
8173
8174 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * BufferView.h:
8177         * BufferView.C:
8178         * BufferView2.C:
8179         * BufferView_pimpl.h:
8180         * BufferView_pimpl.C:
8181         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8182
8183 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8184
8185         * MenuBackend.C (expand): add numeric shortcuts to document menu
8186
8187         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8188
8189 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * lyxfont.C (setLyXFamily):
8192         (setLyXSeries):
8193         (setLyXShape):
8194         (setLyXSize):
8195         (setLyXMisc):
8196         (lyxRead):
8197         * debug.C (value):
8198         * buffer.C (asciiParagraph): use ascii_lowercase
8199
8200 2002-07-15  Mike Fabian  <mfabian@suse.de>
8201
8202         * lyxlex_pimpl.C (search_kw):
8203         * lyxlex.C (getLongString):
8204         * converter.h (operator<):
8205         * converter.C (operator<):
8206         * buffer.C (parseSingleLyXformat2Token):
8207         (asciiParagraph):
8208         * ToolbarDefaults.C (read):
8209         * MenuBackend.C (checkShortcuts):
8210         (read):
8211         * LColor.C (getFromGUIName):
8212         (getFromLyXName): use the compare_ascii_no_case instead of
8213         compare_no_case, because in turkish, 'i' is not the lowercase
8214         version of 'I', and thus turkish locale breaks parsing of tags.
8215
8216 2002-07-16  Angus Leeming  <leeming@lyx.org>
8217
8218         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8219         now takes a Buffer const & argument.
8220
8221 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8222
8223         * BufferView.C (resize): check there's a buffer to resize
8224
8225 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * lyxfunc.C: remove dead code
8228
8229         * lyxserver.h:
8230         * lyxserver.C: use lyx_guii::set_read_callback
8231
8232 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8233
8234         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8235         an inset in a RTL paragraph.
8236
8237 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * lyxfunc.C: repaint after a font size update
8240
8241 2002-07-15  André Pönitz <poenitz@gmx.net>
8242
8243         * lyxlength.C: inBP should be able to return negative values
8244
8245 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8246
8247         * lyxfunc.C: use lyx_gui::update_fonts()
8248
8249 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8250
8251         * lyxfunc.C: use lyx_gui::update_color()
8252
8253 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * bufferlist.C:
8256         * lyxfunc.h:
8257         * lyxfunc.C:
8258         * lyxrc.h:
8259         * lyxrc.C: remove file->new asks for name option, and let
8260           buffer-new take an argument
8261
8262 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8263
8264         * BufferView_pimpl.C: remove unneeded extra repaint()
8265
8266 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8267
8268         * LyXAction.C: allow command-sequence with NoBuffer
8269
8270         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8271
8272 2002-07-10  Angus Leeming  <leeming@lyx.org>
8273
8274         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8275
8276 2002-07-09  Angus Leeming  <leeming@lyx.org>
8277
8278         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8279
8280 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8281
8282         * lengthcommon.h: whitespace
8283
8284         * lyxfunc.C: update scrollbar after goto paragraph
8285
8286         * lyxtext.h: factor out page break drawing, and fix it so
8287           page break/added space paints as selected nicely
8288
8289 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * BufferView_pimpl.C: add FIXMEs, clean up a little
8292
8293 2002-07-09  André Pönitz <poenitz@gmx.net>
8294
8295         * lyxfont.[Ch]: support for wasy symbols
8296
8297 2002-07-08  André Pönitz <poenitz@gmx.net>
8298
8299         * BufferView_pimpl.C: apply John's patch for #93.
8300
8301 2002-07-05  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.C (buffer): generate previews if desired.
8304
8305         * LColor.h: add "preview" to the color enum.
8306
8307         * LColor.C (LColor): add a corresponding entry to the items array.
8308
8309         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8310         with this buffer.
8311
8312 2002-07-05  Angus Leeming  <leeming@lyx.org>
8313
8314         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8315         The body of the code is now in the method that is passed an ostream &
8316         rather than a file name.
8317         Pass an additional only_preamble parameter, useful for the forthcoming
8318         preview stuff.
8319
8320 2002-07-03  André Pönitz <poenitz@gmx.net>
8321
8322         * lyxfunc.C: simplify getStatus() a bit for math stuff
8323
8324 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8325
8326         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8327
8328 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8329
8330         * text.C (changeRegionCase): do not change case of all the
8331         document when region ends at paragraph end (bug #461)
8332
8333 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * paragraph.C (startTeXParParams):
8336         (endTeXParParams): add \protect when necessary
8337
8338 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8339
8340         * BufferView_pimpl.C (workAreaExpose): remove warning
8341
8342 2002-06-27  Angus Leeming  <leeming@lyx.org>
8343
8344         * Makefile.am: add lyxlayout_ptr_fwd.h.
8345
8346 2002-06-26  André Pönitz <poenitz@gmx.net>
8347
8348         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8349
8350 2002-06-25  Angus Leeming  <leeming@lyx.org>
8351
8352         * lyxfunc.C (dispatch): Comment out the call to
8353         grfx::GCache::changeDisplay. The method no longer exists now that the
8354         pixmap generation part of the graphics loader has been moved into
8355         InsetGraphics.
8356
8357 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8358
8359         * text2.C: layout as layout
8360
8361         * text.C: layout as layout
8362
8363         * tabular.C (OldFormatRead): layout as layout
8364
8365         * paragraph_pimpl.C (TeXDeeper): layout as layout
8366         (realizeFont): layout as layout
8367
8368         * paragraph.C (writeFile): layout as layout
8369         (validate): layout as layout
8370         (getFont): layout as layout
8371         (getLabelFont): layout as layout
8372         (getLayoutFont): layout as layout
8373         (breakParagraph): layout as layout
8374         (stripLeadingSpaces): layout as layout
8375         (getEndLabel): layout as layout
8376         (getMaxDepthAfter): layout as layout
8377         (applyLayout): layout as layout
8378         (TeXOnePar): layout as layout
8379         (simpleTeXOnePar): layout as layout
8380         (TeXEnvironment): layout as layout
8381         (layout): layout as layout
8382         (layout): layout as layout
8383
8384         * lyxtextclass.C (compare_name): new functor to work with
8385         shared_ptr, layout as layout
8386         (Read): layout as layout
8387         (hasLayout): layout as layout
8388         (operator): layout as layout
8389         (delete_layout): layout as layout
8390         (defaultLayout): layout as layout
8391
8392         * lyxlayout_ptr_fwd.h: new file
8393
8394         * lyxlayout.C (Read): layout as layout
8395
8396         * lyx_cb.C (MenuInsertLabel): layout as layout
8397
8398         * bufferlist.C (newFile): layout as layout
8399
8400         * buffer.C (readLyXformat2): layout as layout
8401         (parseSingleLyXformat2Token): layout as layout
8402         (insertStringAsLines): layout as layout
8403         (asciiParagraph): layout as layout
8404         (latexParagraphs): layout as layout
8405         (makeLinuxDocFile): layout as layout
8406         (simpleLinuxDocOnePar): layout as layout
8407         (makeDocBookFile): layout as layout
8408         (simpleDocBookOnePar): layout as layout
8409         (getLists): layout as layout
8410
8411         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8412
8413         * CutAndPaste.C (cutSelection): layout as layout
8414         (pasteSelection): layout as layout
8415         (SwitchLayoutsBetweenClasses): layout as layout
8416
8417         * BufferView_pimpl.C (Dispatch): layout as layout
8418         (smartQuote): layout as layout
8419
8420         * BufferView2.C (unlockInset): layout as layout
8421
8422 2002-06-24  André Pönitz <poenitz@gmx.net>
8423
8424         * lyxfunc.C: fix #487
8425
8426 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * lyxrc.h:
8429         * lyxrc.C:
8430         * lyxfunc.C: remove display_shortcuts, show_banner
8431
8432 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * Buffer_pimpl.C: oops, update on resize
8435
8436 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8437
8438         * buffer.C:
8439         * converter.C:
8440         * exporter.C:
8441         * lyxfunc.C:
8442         * BufferView.h:
8443         * BufferView.C: use repaint()
8444
8445         * BufferView_pimpl.h:
8446         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8447           as it's a clearer description. Remove superfluous
8448           redraws.
8449
8450 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * text.C: fix bug 488. Not ideal, but getting
8453           getWord() to work properly for the insets that
8454           matter is more difficult ...
8455
8456 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * BufferView_pimpl.C:
8459         * LyXAction.C:
8460         * commandtags.h:
8461         * lyxfunc.C: remove the six million index lyxfuncs to just
8462           one, and DTRT (bug 458)
8463
8464 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * BufferView.h:
8467         * BufferView.C:
8468         * BufferView_pimpl.h:
8469         * BufferView_pimpl.C: clean up resize() stuff,
8470           and unnecessary updateScreen()s
8471
8472 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8473
8474         * BufferView.h:
8475         * BufferView.C:
8476         * BufferView_pimpl.h:
8477         * BufferView_pimpl.C:
8478         * lyxfind.h:
8479         * lyxfind.C:
8480         * minibuffer.C: remove focus management of workarea,
8481           not needed. Use screen's greyOut()
8482
8483 2002-06-17  Herbert Voss  <voss@lyx.org>
8484
8485         * converter.C: (convert) do not post a message, when converting
8486         fails, let the calling function decide what to do in this case
8487
8488 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * lyxfunc.C: tidy up a little
8491
8492 2002-06-16    <alstrup@diku.dk>
8493
8494         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8495         Got rid of FORMS_H_LOCATION include. Now we are
8496         GUII.
8497
8498 2002-06-15  LyX Development team  <lyx@rilke>
8499
8500         * buffer.[Ch] (sgmlOpenTag):
8501         (sgmlCloseTag): Added support for avoiding pernicious mixed
8502         content. Return number of lines written.
8503
8504         (makeLinuxDocFile):
8505         (makeDocBookFile): Fixed calls to sgml*Tag.
8506         Simple white space clean.
8507
8508         (simpleDocBookOnePar): Simple white space clean.
8509
8510         * tabular.[Ch] (docBook): Renamed to docbook and got another
8511         argument to related with the pernicious mixed content.
8512
8513         (docbookRow): Fixed calls for docbook inset method.
8514
8515 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8516
8517         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8518         so it's X11 independent.
8519
8520         * kb*.[Ch]: ditto.
8521
8522         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8523
8524 2002-06-15  Lyx Development team  <lyx@electronia>
8525
8526         * intl.h: Renamed getTrans to getTransManager.
8527
8528 2002-06-14  Angus Leeming  <leeming@lyx.org>
8529
8530         * Makefile.am: nuke forgotten stl_string_fwd.h.
8531
8532 2002-06-12  Angus Leeming  <leeming@lyx.org>
8533
8534         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8535
8536 2002-06-13  Angus Leeming  <leeming@lyx.org>
8537
8538         * LaTeX.C:
8539         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8540
8541 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8542
8543         * kbmap.C (getiso): add support for cyrillic and greek
8544
8545 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * BufferView.h:
8548         * BufferView.C:
8549         * BufferView_pimpl.h:
8550         * BufferView_pimpl.C: move bogus scrolling logic
8551           to xforms
8552
8553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * lyxfunc.C:
8556         * BufferView_pimpl.C: view->resize() change
8557
8558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * BufferView_pimpl.C: topCursorVisible
8561           prototype change
8562
8563 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * Makefile.am:
8566         * lyx_gui.h:
8567         * lyx_gui.C: move to frontends/
8568
8569         * main.C:
8570         * lyx_main.h:
8571         * lyx_main.C: changes from above
8572
8573 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * intl.C:
8576         * intl.h:
8577         * kbmap.C:
8578         * kbsequence.C:
8579         * lyx_cb.C:
8580         * lyx_main.C: minor tidy
8581
8582 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8583
8584         * BufferView_pimpl.h:
8585         * BufferView_pimpl.C:
8586         * BufferView.h:
8587         * BufferView.C: make painter() const,
8588           remove dead code
8589
8590         * BufferView2.C: use screen() accessor
8591
8592         * lyx_main.h:
8593         * lyx_main.C: some minor cleanup
8594
8595 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * BufferView_pimpl.h:
8598         * BufferView_pimpl.C: remove enter/leaveView,
8599           use workHeight()
8600
8601 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8602
8603         * BufferView.h:
8604         * BufferView.C:
8605         * BufferView2.C:
8606         * BufferView_pimpl.h:
8607         * BufferView_pimpl.C: only construct screen once,
8608           rename
8609
8610         * lyxrc.C: remove pointless comment
8611
8612 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * BufferView.h:
8615         * BufferView.C: remove active() and belowMouse()
8616
8617         * BufferView_pimpl.h:
8618         * BufferView_pimpl.C: use workarea() not workarea_,
8619           and make it use a scoped_ptr instead
8620
8621 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * lyx_gui.C: add debug message on BadWindow
8624
8625 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8626
8627         * sp_spell.C: fdopen is not part of the C++ standard.
8628
8629         * paragraph.C (InsetIterator): use >= instead of ==
8630
8631 2002-06-07  Angus Leeming  <leeming@lyx.org>
8632
8633         Fixes needed to compile with Compaq cxx 6.5.
8634         * BufferView_pimpl.C:
8635         * DepTable.C:
8636         * buffer.C:
8637         * converter.C:
8638         * encoding.C:
8639         * lyx_gui.C:
8640         * lyx_main.C:
8641         * lyxtextclasslist.C:
8642         * minibuffer.C:
8643         * sp_spell.C:
8644         * tabular_funcs.C:
8645         * vc-backend.C:
8646         all c-library variables have been moved into namespace std. Wrap
8647         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8648
8649         * lyxlength.C:
8650         * tabular-old.C:
8651         * tabular.C:
8652         Add a using std::abs declaration.
8653
8654         * kbmap.h (modifier_pair):
8655         * paragraph.h (InsetTable, InsetList):
8656         * lyxfont.h (FontBits):
8657         type definition made public.
8658
8659         * bufferlist.C (emergencyWriteAll): the compiler complains that
8660         there is more than one possible lyx::class_fun template to choose from.
8661         I re-named the void specialisation as lyx::void_class_fun.
8662
8663         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8664
8665         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8666         the compiler is is unable to find tostr in write_attribute.
8667
8668 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8669
8670         * buffer.C (sgmlError): hide #warning
8671
8672 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * xtl/*: get rid of xtl, which is not in use anyway
8675
8676         * LyXAction.C (init):
8677         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8678         were unimplemented xtl experimentation
8679
8680 2002-06-04  André Pönitz <poenitz@gmx.net>
8681
8682         * lyxfunc.C: disable array operation on simple formulae
8683
8684 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * converter.C: constify a bit
8687
8688 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * lyx_gui.C: check xforms version correctly
8691
8692 2002-04-30  Herbert Voss  <voss@lyx.org>
8693
8694         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8695         "keep" option
8696
8697 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8700           attempt to register it with a VCS)
8701
8702 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * lyx_main.C (init): honor variables LYX_DIR_13x and
8705         LYX_USERDIR_13x
8706
8707 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8708
8709         * buffer.h:
8710         * buffer.C:
8711         * lyx_main.C: fix a crash on bad command line,
8712           and give a useful exit status on error
8713
8714         * lyxfunc.C (doImport): allow -i lyx to work
8715
8716 2002-03-30  André Pönitz <poenitz@gmx.net>
8717
8718         * lyxfunc.C: mathed font changes
8719
8720 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8721
8722         * LaTeX.C:
8723         * importer.h:
8724         * importer.C:
8725         * lyx_sty.h:
8726         * lyx_sty.C:
8727         * lyxlex.C:
8728         * lyxrow.h:
8729         * lyxtext.h:
8730         * paragraph.h:
8731         * paragraph.C:
8732         * texrow.h:
8733         * texrow.C:
8734         * text.C:
8735         * trans_mgr.h: srcdocs, and some minor cleanups
8736
8737 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8740         call getFont all the time)
8741
8742 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8743
8744         * switch from SigC signals to boost::signals
8745
8746 2002-05-29  André Pönitz <poenitz@gmx.net>
8747
8748         * paragraph_pimpl.C (getChar): don't call size() too often...
8749
8750 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * paragraph_pimpl.C (insertChar): do not try to update tables when
8753         appending (pos == size())
8754
8755         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8756         in order to reduce drastically the number of comparisons needed to
8757         parse a large document
8758
8759 2002-05-29  André Pönitz <poenitz@gmx.net>
8760
8761         * text.C:
8762         * text2.C:
8763         * lyxtextclass.C:
8764         * sp_pspell.h:
8765         * textclasslist.[Ch]:
8766         * sp_ispell.h: whitespace change
8767
8768 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8771         lyxaction directly now.
8772
8773 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8774
8775         * trans.C:
8776         * lyxfont.C:
8777         * lyxvc.C: remove unused headers
8778
8779 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * Makefile.am:
8782         * buffer.h:
8783         * undostack.h:
8784         * undostack.C:
8785         * undo_funcs.h:
8786         * undo_funcs.C: some cleanups. Use shared_ptr
8787           and a template for the undo stacks.
8788
8789 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * BufferView_pimpl.h:
8792         * BufferView_pimpl.C:
8793         * kbmap.h:
8794         * kbmap.C:
8795         * kbsequence.h:
8796         * kbsequence.C:
8797         * lyxfunc.h:
8798         * lyxfunc.C:
8799         * text2.C: use key_state/mouse_state
8800
8801 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8802
8803         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8804         and LSubstring
8805
8806         * chset.C: change include order
8807         (loadFile): use boost regex and get rid of LRegex and LSubstring
8808
8809         * Makefile.am (BOOST_LIBS): new variable
8810         (lyx_LDADD): use it
8811
8812         * LaTeX.C: change include order.
8813         (scanAuxFile): use boost regex and get rid of LRegex and
8814         LSubstring
8815         (deplog): ditto
8816
8817 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8818
8819         * ColorHandler.h:
8820         * ColorHandler.C:
8821         * FontInfo.h:
8822         * FontInfo.C: moved to frontends/xforms/
8823
8824         * FontLoader.h:
8825         * FontLoader.C: moved into frontends for GUIIzation
8826
8827         * Makefile.am:
8828         * lyx_gui.C:
8829         * lyxfont.C:
8830         * lyxfunc.C: changes from above
8831
8832 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * LColor.C: remove spurious X include
8835
8836         * BufferView_pimpl.C:
8837         * Makefile.am:
8838         * font.h:
8839         * font.C:
8840         * text.C:
8841         * text2.C: move font metrics to frontends/
8842
8843 2002-05-24  Juergen Vigna  <jug@sad.it>
8844
8845         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8846         setting the undo_cursor.
8847
8848         * ParagraphParameters.h: include local includes first.
8849
8850 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8851
8852         * BufferView_pimpl.C:
8853         * BufferView_pimpl.h:
8854         * Makefile.am:
8855         * WorkArea.h:
8856         * WorkArea.C:
8857         * screen.C: move WorkArea into frontends/
8858
8859         * lyxscreen.h:
8860         * screen.C:
8861         * text.C:
8862         * BufferView.C:
8863         * BufferView2.C: move LyXScreen into frontends/
8864
8865         * lyxlookup.h:
8866         * lyxlookup.C:
8867         * lyx_gui.C: move lyxlookup into frontends/xforms/
8868
8869 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * BufferView2.C:
8872         * BufferView_pimpl.C:
8873         * FontLoader.C:
8874         * LyXView.h:
8875         * LyXView.C:
8876         * Makefile.am:
8877         * WorkArea.C:
8878         * XFormsView.h:
8879         * XFormsView.C:
8880         * buffer.C:
8881         * bufferlist.C:
8882         * bufferview_funcs.C:
8883         * converter.C:
8884         * importer.C:
8885         * lyx_cb.C:
8886         * lyx_gui.C:
8887         * lyx_main.C:
8888         * lyx_find.C:
8889         * lyxfunc.C:
8890         * lyxvc.C:
8891         * minibuffer.C:
8892         * text.C:
8893         * text2.C:
8894         * trans.C:
8895         * vc-backend.C: move LyX/XFormsView into frontends/
8896
8897 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * Makefile.am:
8900         * PainterBase.C:
8901         * PainterBase.h:
8902         * Painter.C:
8903         * Painter.h:
8904         * WorkArea.C:
8905         * WorkArea.h:
8906         * screen.C:
8907         * tabular.C:
8908         * text.C:
8909         * text2.C: move Painter to frontends/
8910
8911 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8912
8913         * buffer.C: comment out some some code that depend upon lyx_format
8914         < 220
8915
8916         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8917         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8918
8919         * buffer.h (NO_COMPABILITY): turn off compability
8920
8921         * ColorHandler.C: include scoped_array.hpp
8922
8923         * font.C: Use more specific smart_ptr header.
8924         * Painter.C: ditto
8925         * gettext.C: ditto
8926         * ShareContainer.h: ditto
8927         * lyx_main.h: ditto
8928         * kbmap.h: ditto
8929         * FontInfo.h: ditto
8930         * BufferView_pimpl.h: ditto
8931         * ColorHandler.h: ditto
8932
8933         * kbmap.C (defkey): change call to shared_ptr::reset
8934
8935 2002-05-21  Juergen Vigna  <jug@sad.it>
8936
8937         * buffer.C (insertErtContents): fix to insert ert asis if it is
8938         non empty. Skip it completely if it contains only whitespaces.
8939
8940 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * BufferView_pimpl.C:
8943         * BufferView2.C: clear selection on paste (bug 393)
8944
8945 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8946
8947         * DepTable.C: include ctime
8948
8949 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8952
8953 2002-05-14  Juergen Vigna  <jug@sad.it>
8954
8955         * text.C (breakParagraph): fixed function to honor the keepempty
8956         layout in the right maner and also to permit the right breaking
8957         algorithm on empty or non empyt keepempty paragraphs.
8958
8959         * paragraph.C (breakParagraph): we have to check also if the par
8960         is really empty (!size()) for isempty otherwise we do the wrong
8961         paragraph break.
8962
8963 2002-05-10  Juergen Vigna  <jug@sad.it>
8964
8965         * buffer.[Ch] : The following are only changes to the ert
8966         compatibility read reading old LaTeX layout and font stuff and
8967         convert it to ERTInsets.
8968
8969         * buffer.h: added isErtInset().
8970
8971         * buffer.C (struct ErtComp): add a fromlayout bool to check
8972         if we're inside a LaTeX layout.
8973         (isErtInset): new helper function.
8974         (insertErtContents): look for other ert insets before this one
8975         and insert the contents there, so that we don't have subsequent
8976         ERT insets with nothing between them. This way we create only one
8977         inset with multiple paragraphs. Also check if we don't insert only
8978         spaces ' ' as they are ignored anyway afterwards in the .tex file
8979         so if we have only spaces we will ignore this latex part in the
8980         new file.
8981         (parseSingleLyXformat2Token \\layout): better compatibility when
8982         reading layout-latex stuff.
8983         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8984         language tag.
8985         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8986         stuff after reading the inset only get the information back from
8987         the stack.
8988
8989 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8990
8991         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8992
8993         * LaTeXFeatures.C (getBabelOptions): New method.
8994
8995 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * BufferView_pimpl.C (Dispatch): work around missing argument for
8998         'layout'
8999
9000 2002-05-08  Juergen Vigna  <jug@sad.it>
9001
9002         * text.C (leftMargin): handle paragraph leftindent.
9003
9004         * paragraph.C (writeFile): write the new \\leftindent tag.
9005         (validate): handle leftindent code.
9006         (TeXEnvironment): handle paragraphleftindent code again.
9007
9008         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9009
9010         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9011         for paragrap_extra indent code and new token \\leftindent.
9012         (latexParagraphs): handle the leftindent as environment.
9013
9014         * ParameterStruct.h: added leftindent support.
9015
9016         * ParagraphParameters.C (leftIndent): added support functions for
9017         the paragraph left indent.
9018
9019         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9020         more appropriate.
9021
9022 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9023
9024         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9025         inside insetERT.
9026
9027         * text.C (computeBidiTables): No bidi in insetERT.
9028
9029         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9030         in RTL documents.
9031
9032 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9033
9034         * version.C.in: pre 5
9035
9036 2002-05-02  José Matos  <jamatos@fep.up.pt>
9037         * buffer.C (makeDocBookFile): white space changes, add newline to
9038         command styles.
9039         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9040
9041         * tabular.C (docBook): fix typo.
9042
9043 2002-05-03  Juergen Vigna  <jug@sad.it>
9044
9045         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9046         change in LyXText as we can not be sure it was not freed.
9047         (drawOneRow): remove unused code.
9048
9049         * text.C (drawInset): redo the calculation of the need_break_row as
9050         it could have a row which was already freed.
9051         (draw): look at the return value of drawInset and return false if
9052         it also returned false.
9053         (paintRowText): look at the return value of draw and return false if
9054         it also returned false.
9055
9056         * lyxtext.h: added bool return type to drawInset() and draw() so that
9057         if we have a change in the row so that the rowbreak has to be redone
9058         we abort drawing as it will be called again.
9059
9060 2002-05-02  Juergen Vigna  <jug@sad.it>
9061
9062         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9063         a change in the maintext also if we're inside an inset.
9064         (Dispatch): set the cursor again after a break line and after the
9065         screen has been updated as it could be we're in a different row.
9066
9067         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9068         to set the cursor behind the pargraph with > size().
9069         (setCursor): check also for the same paragraph when checking where
9070         to put the cursor if we have a NFR inset.
9071
9072         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9073         parts of layout read further up as it still was in the wrong
9074         position.
9075
9076 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9077
9078         * screen.C (drawFromTo): change sine fullRebreak always return
9079         true.
9080
9081         * buffer.C (parseSingleLyXformat2Token): reindent some
9082
9083         * BufferView_pimpl.C (update): change since fullRebreak always
9084         return true.
9085         (Dispatch): git rid of the last hardcoded "Standard"s.
9086
9087 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9088
9089         * text2.[Ch] (fullRebreak): make it return void now that we always
9090         returned true.
9091
9092 2002-04-30  Juergen Vigna  <jug@sad.it>
9093
9094         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9095         ert compatibility check for "latex" layout.
9096
9097 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9098
9099         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9100         minipages: use col% instead of p%, and also use the current font.
9101         (makeLaTeXFile): Fix use babel condition.
9102         (parseSingleLyXformat2Token): Correct font when reading old floats.
9103
9104 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9105
9106         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9107         inserting list of floats.
9108
9109 2002-04-25  Herbert Voss  <voss@lyx.org>
9110
9111         * MenuBackend.C (expand): don't add the graphics extensions to the
9112         export menu
9113
9114 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9115
9116         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9117         non-existing layout, do not complain if it was the default layout
9118         of the original class (bug #342)
9119
9120 2002-04-24  Juergen Vigna  <jug@sad.it>
9121
9122         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9123         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9124
9125 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9126
9127         * buffer.C (getBibkeyList): If using \bibliography, return the
9128         option field with the reference itself. Enables us to provide natbib
9129         support when using \bibliography.
9130
9131 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9132
9133         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9134
9135         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9136         natbib is provided by the LaTeX class.
9137
9138 2002-04-23  Juergen Vigna  <jug@sad.it>
9139
9140         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9141         Wakeup functions.
9142
9143         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9144
9145 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9146
9147         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9148
9149         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9150         ensuremath around textordmasculine, textordfeminine and
9151         textdegree.
9152
9153 2002-04-19  Juergen Vigna  <jug@sad.it>
9154
9155         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9156         reinitializing the buffer otherwise row-dimensions may be wrong.
9157         (update): reset also the selection cursors if they do exits otherwise
9158         their x/y positions may be wrong.
9159
9160         * text2.C (cursorDown): don't enter the inset if we came from a row
9161         above and are one row over the inset.
9162
9163         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9164         really leaving an inset.
9165
9166 2002-04-18  Juergen Vigna  <jug@sad.it>
9167
9168         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9169         of the selected paragraph does not have the selected layout also if
9170         the last one had!
9171
9172         * text2.C (setLayout): fixed bug which did not change last selected
9173         paragraph.
9174
9175         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9176         changed the read and substituted \\end_float with \\end_inset!
9177
9178         * BufferView_pimpl.C (cursorPrevious):
9179         (cursorNext): fixed to make it work with rows heigher than the work
9180         area without moving the cursor only the draw of the row.
9181         (workAreaMotionNotify): fix jumping over high rows.
9182
9183 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9184
9185         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9186         Ressler.
9187
9188 2002-04-16  Juergen Vigna  <jug@sad.it>
9189
9190         * text2.C (setCursor): set also the irow().
9191         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9192         (cursorUp):
9193         (cursorDown): support for locking an inset if the x_fix value goes
9194         inside it. That way I can transverse insets too with cursor up/down.
9195
9196         * lyxrow.h: added irow helper function same as other (i) functions.
9197
9198         * BufferView_pimpl.C (cursorPrevious):
9199         (cursorNext): fixed for insets!
9200
9201 2002-04-15  Juergen Vigna  <jug@sad.it>
9202
9203         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9204         position otherwise it is wrong in some cases.
9205
9206         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9207         inside the inset before the call.
9208
9209 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9210
9211         * buffer.[Ch] (getBibkeyList): make it const.
9212
9213 2002-04-12  Juergen Vigna  <jug@sad.it>
9214
9215         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9216
9217         * text2.C (getCursorX): new helper function
9218         (setCursor): compute also ix_
9219         (setCursorFromCoordinates): set also ix.
9220
9221         * lyxcursor.h: added ix_ and helper functions.
9222
9223         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9224
9225         * buffer.C (insertStringAsLines): dont break paragraph if the this
9226         paragraph is inside an inset which does not permit it!
9227
9228         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9229         also with no chars on this paragraph.
9230         (paintRowText): only paint stuff if it's inside the workarea!
9231
9232         * paragraph.C (breakParagraph): honor keepempty flag and break the
9233         paragraph always below not above.
9234
9235         * BufferView2.C (unlockInset): update the paragraph layout on inset
9236         unlock as we changed paragraph in such a case.
9237
9238         * lyxfind.C (LyXFind): clear the former selection if not found!
9239
9240         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9241         again called in insertChar().
9242
9243         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9244         an inset which uses the whole row!
9245         (rightMargin): ditto.
9246         (insertChar): force a rebreak if we inserted an inset!
9247
9248 2002-03-28  Herbert Voss  <voss@lyx.org>
9249
9250         * lyxlength.[Ch]: add inBP() to get the right PS-point
9251         units (BigPoint). With inPixels we have rounding errors
9252
9253 2002-04-11  Juergen Vigna  <jug@sad.it>
9254
9255         * text2.C (setCursorFromCoordinates): set iy to the right value.
9256         (setCursor): add check if row->previous exists!
9257
9258         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9259         an old float_type as this was the case in the old code!
9260
9261         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9262
9263         * BufferView2.C (showLockedInsetCursor): use iy
9264         (fitLockedInsetCursor): ditto
9265
9266         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9267         locked insets as there we have the right value now.
9268
9269         * lyxcursor.C: added iy_ variable and iy functions to set to the
9270         baseline of cursor-y of the locked inset.
9271
9272         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9273         (setCursor): fixed for insets which need a full row.
9274
9275         * text.C (rowLastPrintable): don't ignore the last space when before
9276         an inset which needs a full row.
9277         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9278         as last character of a row when before a inset which needs a full row.
9279
9280 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * version.C.in: update date
9283
9284         * text2.C (fullRebreak): try to always return true and see what
9285         happens...
9286
9287 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * MenuBackend.C (expand): use Floating::listName
9290
9291         * FloatList.C (FloatList): add listName argument to the built-in
9292         floats
9293
9294         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9295         text associated with the float.
9296
9297 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9298
9299         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9300
9301 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9302
9303         * ShareContainer.h: add a couple of missing typenames.
9304
9305 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9306
9307         * lyxrc.C (getDescription): use _() correctly rather than N_().
9308
9309 2002-03-28  Herbert Voss  <voss@lyx.org>
9310
9311         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9312         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9313
9314 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9315
9316         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9317         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9318
9319 2002-03-29  Juergen Vigna  <jug@sad.it>
9320
9321         * lyxfunc.C (dispatch): add a missing fitCursor call.
9322
9323         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9324         it was scrolled by a cursor move, so return the bool status.
9325
9326         * BufferView.C (fitCursor): return the bool flag also to the outside
9327         world as this is needed.
9328
9329         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9330
9331         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9332         call the edit() as it is not needed (and wrong) IMO.
9333         (workAreaButtonPress): set the screen_first variable before evt.
9334         unlock the inset as this may change screen_first and then we have
9335         a wrong y position for the click!
9336
9337 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * MenuBackend.C (expand): another translation that I missed
9340
9341 2002-03-28  Juergen Vigna  <jug@sad.it>
9342
9343         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9344
9345         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9346
9347 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9348
9349         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9350
9351         * MenuBackend.C (expand): fix export/view/update when there is no
9352         document open.
9353
9354 2002-03-27  Herbert Voss  <voss@lyx.org>
9355
9356         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9357         and text%
9358
9359 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * bufferview_funcs.C (currentState): only show paragraph number
9362         for is DEVEL_VERSION is set.
9363
9364         * lyxfunc.C (dispatch): put warning in INFO channel
9365
9366         * MenuBackend.C (expand): translate the name of floats
9367
9368         * FloatList.C (FloatList): mark the float names for translation
9369
9370         * converter.C (convert): use LibScriptSearch
9371
9372 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * MenuBackend.C (defaults): fix default menu (we might as well get
9375         rid of it...)
9376
9377 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9378
9379         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9380         directory.
9381
9382 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * lyxvc.C: reorder includes.
9385
9386 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9389           properly
9390
9391 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * CutAndPaste.C: change layouts earlier on paste
9394           to avoid crashing when calling getFont()
9395
9396 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9397
9398         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9399         irritating #error.
9400
9401 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9402
9403         * WorkArea.C: remove 'Pending' debug message.
9404
9405         * most files: ws cleanup
9406
9407         * buffer.[Ch]: ws changes
9408
9409         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9410
9411 2002-03-21  Juergen Vigna  <jug@sad.it>
9412
9413         * tabular.C (SetMultiColumn): collapse also the contents of the
9414         cells and set the last border right. Added a Buffer const * param.
9415
9416 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9417
9418         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9419         linking or not.
9420
9421 2002-03-19  Juergen Vigna  <jug@sad.it>
9422
9423         * text2.C (clearSelection): reset also xsel_cache.
9424
9425         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9426         where it needs to be called (John tells us to do so too :)
9427         (selectionLost): reset sel_cache.
9428
9429         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9430
9431 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * text2.C (setCursorIntern): put debuging code in INSETS channel
9434
9435 2002-03-19  André Pönitz <poenitz@gmx.net>
9436
9437         * lyxfunc.C: tiny whitespace change
9438
9439 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * ToolbarDefaults.C (init):
9442         * LyXAction.C (init):
9443         * commandtags.h:
9444         * BufferView_pimpl.C (Dispatch):
9445         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9446
9447 2002-03-19  Allan Rae  <rae@lyx.org>
9448
9449         * exporter.C (Export): removeAutoInsets before doing anything else.
9450         While I've just introduced a dependency on BufferView this really is
9451         the best place to clean the buffer otherwise you need to cleanup in
9452         a dozen places before calling export or cleanup in a dozen functions
9453         that export calls.
9454
9455         * converter.C (runLaTeX):
9456         (scanLog): Better handling of removeAutoInsets and screen updates.
9457
9458         * lyxfunc.C (dispatch): small whitespace changes
9459
9460 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9461
9462         * WorkArea.C (C_WorkAreaEvent): return a value.
9463         (event_cb): return 1 if we handled the event, 0 otherwise.
9464
9465         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9466
9467 2002-03-18  Juergen Vigna  <jug@sad.it>
9468
9469         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9470         (GetAdditionalWidth): ditto.
9471         (RightLine): ditto.
9472         (LeftLine): ditto.
9473
9474         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9475         inset if we're there actually (probably not used right now but this
9476         is the direction to go for unifying code).
9477         (paste): disable code to clear the selection.
9478
9479         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9480         inside an InsetText and move the check further up as it is in the
9481         wrong place.
9482
9483         * text2.C (pasteSelection): set a selection over the pasted text.
9484
9485 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9486
9487         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9488         and libgraphics to build on Cygwin.
9489
9490 2002-03-15  Juergen Vigna  <jug@sad.it>
9491
9492         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9493         inserting an Inset into the paragraph. I know this is not the best
9494         fix but we already use current_view in CutAndPaste so we will remove
9495         all of it's using at the same time.
9496
9497         * buffer.C (sgmlError): deactivated function till it is rewritten in
9498         the right mode, now it can create problems.
9499
9500         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9501         before accessing it.
9502
9503 2002-03-14  Juergen Vigna  <jug@sad.it>
9504
9505         * undo_funcs.C (textHandleUndo): do the right thing when updating
9506         the inset after the undo/redo.
9507
9508         * text2.C (setCursor): just some testcode for #44 not ready yet.
9509
9510         * undo_funcs.C (textHandleUndo): set the next() and previous()
9511         pointers of the paragraph to 0 before deleting otherwise we have
9512         problems with the Paragraph::[destructor].
9513
9514         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9515         on a paragraph insertion.
9516
9517 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9518
9519         * buffer.C (asciiParagraph): use += operator for char append to
9520         string.
9521
9522         * paragraph.C (getFontSettings): compare >= not just >
9523         (highestFontInRange): ditto
9524         (setFont): ditto
9525
9526 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * paragraph.C: change several algorithm to be more appripriate for
9529         the problem domain. This is lookip in FontList and in the InsetList.
9530
9531 2002-03-13  André Pönitz <poenitz@gmx.net>
9532
9533         * commandtags.h:
9534         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9535
9536 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * commandtags.h:
9539         * LyXAction.C:
9540         * lyxfunc.C:
9541         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9542
9543 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9544
9545         * Painter.C (display): anon helper function, adjust code for this
9546         change.
9547         (pixmap): remove function.
9548
9549         * Painter.h: remove private display variable.
9550
9551         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9552
9553 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9554
9555         * WorkArea.[Ch]: remove figinset_canvas cruft.
9556
9557 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * lyxtextclass.C (operator): add one item cache optimization.
9560
9561         * bufferlist.h: doxy changes
9562
9563         * bufferlist.C: ws changes
9564
9565         * DepTable.[Ch] (ext_exist): place const in the right spot.
9566
9567         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9568         call resizeInsets.
9569         (workAreaExpose): call resizeInsets when the with BufferView changes.
9570         (Dispatch): adjust for protectedBlank removal
9571         (specialChar): call updateInset if the insert went ok.
9572
9573         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9574         specialChar instead.
9575
9576         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9577
9578         * BufferView.h: doxy change
9579
9580         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9581
9582         * lyxtextclass.C (operator[]): remove non-const version
9583         (defaultLayout): remove non-const version
9584
9585 2002-03-12  Juergen Vigna  <jug@sad.it>
9586
9587         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9588         did resize the LyXText too.
9589
9590         * buffer.C (readLyXformat2): set layout information on newly allocated
9591         paragraphs.
9592
9593         * tabular.C (OldFormatRead): set layout information on the paragraph.
9594
9595 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9596
9597         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9598
9599 2002-03-11  Juergen Vigna  <jug@sad.it>
9600
9601         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9602         plainly wrong.
9603         (resizeCurrentBuffer): force also the insets to resize themselfes.
9604         (moveCursorUpdate): fixed up for InsetText.
9605
9606 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9607
9608         * commandtags.h:
9609         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9610         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9611         value of Dialogs::tooltipsEnabled().
9612         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9613
9614 2002-03-08  Juergen Vigna  <jug@sad.it>
9615
9616         * BufferView_pimpl.C (updateInset): update inset inside inset also
9617         if it isn't inside theLockingInset().
9618
9619 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9620
9621         * buffer.C (asciiParagraph): redo some of the word and line length
9622         handling.
9623         (getLists): look for Caption instead of caption.
9624
9625 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * buffer.C (Buffer): initialize niceFile to true
9628         (makeLaTeXFile):
9629         (makeLinuxDocFile):
9630         (makeDocBookFile): make sure niceFile is true on exit
9631
9632 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9635
9636 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9637
9638         * LyXSendto.C: remove.
9639         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9640         * lyx_gui.C: remove now-redundant comment.
9641         * ColorHandler.h: remove forward declaration of class WorkArea.
9642         * lyxfunc.C: remove #include "WorkArea.h".
9643
9644 2002-03-07  Juergen Vigna  <jug@sad.it>
9645
9646         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9647         got moved away with the DEPM and also set the inset_owner always
9648         right which before could have been omitted.
9649
9650 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9653         wanted layout is not found.
9654
9655 2002-03-07  Juergen Vigna  <jug@sad.it>
9656
9657         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9658
9659 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9660
9661         * paragraph.C (breakParagraph): use default layout not layout of
9662         prev paragraph.
9663         (Paragraph): clear ParagraphParameters.
9664
9665 2002-03-06  Juergen Vigna  <jug@sad.it>
9666
9667         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9668         otherwise it would not be a valid lenght. Fixed a special case in
9669         the minipage compatibility read where we end the document with a
9670         minipage.
9671
9672         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9673         was set as it could be 0 for InsetTexts first entry.
9674
9675 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9676
9677         * paragraph.C (writeFile): if layout is empty write out
9678         defaultLayoutName().
9679
9680         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9681         file without named layout we set layout to defaultLayoutName().
9682
9683 2002-03-06  Juergen Vigna  <jug@sad.it>
9684
9685         * CutAndPaste.C (copySelection): set layout for new paragraph.
9686
9687         * text.C (prepareToPrint): leave ERT inset left aligned
9688         (leftMargin): don't indent paragraphs inside ERT insets
9689
9690 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * paragraph.C (breakParagraph): dont call clear do the work manually
9693
9694         * paragraph.[Ch] (clear): remove function
9695
9696 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * paragraph.C (Paragraph): dont call clear, the work has already
9699         been done.
9700
9701         * lyxtextclass.C (operator): assert if n is empty
9702
9703         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9704         work manually instead.
9705
9706 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * BufferView_pimpl.C: protect selectionLost against text == 0
9709
9710 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9711
9712         * text.C (breakParagraph): fix a setting layout to '0' problem.
9713
9714 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9715
9716         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9717         final location of file, for the included files, and graphics.
9718
9719 2002-03-05  Juergen Vigna  <jug@sad.it>
9720
9721         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9722
9723 2002-03-04  Juergen Vigna  <jug@sad.it>
9724
9725         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9726
9727         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9728         last column of multicolumn cells.
9729         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9730
9731 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9732
9733         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9734         file if it doesn't go to a temporary file.
9735
9736         * buffer.C (sgmlOpenTag):
9737         (sgmlCloseTag):  remove extra newline insertion.
9738
9739 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9740
9741         * text.C (getRowNearY): comment out debug msg
9742
9743 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9744
9745         * text2.C: first -> first_y
9746
9747         * text.C (getRowNearY): add some attemts at a possible
9748         optimization, not working.
9749
9750         * tabular.[Ch]: add BufferParams to several function so that newly
9751         created paragraph can be initialized to he default layotu for the
9752         buffers textclass.
9753
9754         * tabular-old.C (ReadOld): add buf->params to call of Init
9755
9756         * screen.C: rename text->first to text->first_y
9757
9758         * paragraph.C (breakParagraph): always set layout in the broken
9759         paragraph
9760
9761         * lyxtextclass.C (Read): remove lowercase
9762         (hasLayout): ditto
9763         (operator): ditto
9764         (delete_layout): ditto
9765
9766         * lyxtext.h: rename first -> first_y
9767
9768         * lyxlayout.C (Read): remove lowercase
9769         (name): ditto
9770         (setName): ditto
9771         (obsoleted_by): ditto
9772
9773         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9774
9775         * buffer.C (insertErtContents): add params are to InsetERT
9776         (parseSingleLyXformat2Token): add code to check if a paragraphs
9777         layout really exist.
9778         (parseSingleLyXformat2Token): add params to several inset
9779         constructors
9780         (asciiParagraph): remove lowercase, do the layout comparisons with
9781         no_case
9782
9783         * BufferView_pimpl.C (cursorNext): first -> first_y
9784         (resizeCurrentBuffer): first -> first_y
9785         (updateScrollbar): first -> first_y
9786         (scrollCB): first -> first_y
9787         (workAreaMotionNotify): first -> first_y
9788         (workAreaButtonPress): first -> first_y
9789         (checkInsetHit): first -> first_y
9790         (cursorPrevious): first -> first_y
9791         (cursorNext): first -> first_y
9792         (Dispatch): add buffer_->params to severl inset contructors
9793
9794 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9795
9796         * lyxlayout.C (Read): remove some debug info that I forgot.
9797
9798         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9799         clean up the code slightly.
9800         (makeLinuxDocFile): ditto
9801         (makeDocBookFile): ditto
9802
9803         * text2.C: layout as string
9804
9805         * text.C: layout as string
9806
9807         * paragraph_pimpl.C: layout as string
9808
9809         * paragraph.[Ch]: layout as string
9810
9811         * lyxtextclasslist.[Ch]: layout as string
9812
9813         * lyxtextclass.[Ch]: layout as string
9814
9815         * lyxtext.h: layout as string
9816
9817         * lyxlayout.[Ch]: layout as string
9818
9819         * lyx_cb.C: layout as string
9820
9821         * bufferview_funcs.C: layout as string
9822
9823         * bufferparams.C: layout as string
9824
9825         * buffer.C: layout as string
9826
9827         * LyXView.[Ch]: layout as string
9828
9829         * LaTeXFeatures.[Ch]: layout as string
9830
9831         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9832
9833         * BufferView_pimpl.C: change current_layout to string, remove
9834         lyx::layout_type.
9835         (Dispatch):
9836         (smartQuote):
9837         (insertInset):
9838         (workAreaButtonRelease): layout as string
9839
9840         * BufferView2.C (unlockInset): adjust
9841
9842         * vspace.C (asLatexCommand): use an explict temp variable.
9843
9844 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9845
9846         * Makefile.am: use FRONTEND_*
9847
9848 2002-03-01  Juergen Vigna  <jug@sad.it>
9849
9850         * tabular.C (SetWidthOfMulticolCell): changed to something better
9851         I hope but still work in progress.
9852         (recalculateMulticolumnsOfColumn): renamed function from
9853         recalculateMulticolCells as it is more appropriate now.
9854         (SetWidthOfCell): calculate multicols better.
9855
9856 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9859
9860         * lyxfunc.C (processKeySym): print sequence also if it is
9861         `deleted' (complete)
9862
9863         * kbsequence.C (print): print sequence even if it is deleted
9864         (complete would be a better word, actually).
9865
9866         * lyxfunc.C (dispatch): print complete options after a prefix key
9867
9868         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9869
9870 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9871
9872         * text2.C (setCharFont): eliminate setCharFont code duplication.
9873
9874 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9877         LFUN_TABULAR_FEATURE (bug #177)
9878
9879 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9880
9881         * Makefile.am: remove figure.h
9882
9883 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9884
9885         * Bufferview_pimpl.C:
9886         * CutAndPasteC:
9887         * LaTeX.C:
9888         * LyXSendto.C:
9889         * buffer.C:
9890         * bufferlist.C:
9891         * converter.C:
9892         * language.C:
9893         * lyxfunc.C:
9894         * lyxvc.C:
9895         * paragraph.C:
9896         * text.C:
9897         * text2.C: remove #include "lyx_gui_misc.h".
9898
9899         * LaTeX.C: added #include <cstdio>
9900
9901 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9904         that the paragraph following this one can have.
9905
9906         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9907
9908         * vspace.C (asLatexCommand): fix bogus gcc warning
9909
9910         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9911
9912 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9913
9914         * text2.C (setLayout): get rid of redundant code
9915
9916 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9917
9918         * text2.C (incDepth): make sure depth cannot be increased beyond
9919         reasonable values.
9920
9921 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9922
9923         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9924         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9925
9926         * PainterBase.h (image):
9927         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9928         a LyXImage const *.
9929
9930 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * BufferView.C:
9933         * BufferView.h:
9934         * BufferView_pimpl.C:
9935         * BufferView_pimpl.h:
9936         * LaTeXFeatures.C:
9937         * LyXAction.C:
9938         * LyXView.C:
9939         * Makefile.am:
9940         * UpdateList.h:
9941         * UpdateList.C:
9942         * buffer.C:
9943         * figure.h:
9944         * figureForm.C:
9945         * figureForm.h:
9946         * figure_form.C:
9947         * figure_form.h:
9948         * lyx_cb.C:
9949         * lyx_gui.C:
9950         * lyx_gui_misc.C:
9951         * lyxfunc.C:
9952         * sp_base.h:
9953         * sp_ispell.h:
9954         * sp_pspell.h:
9955         * sp_spell.C: remove fig inset, and the crap house of
9956           cards that follows it
9957
9958 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * Makefile.am:
9961         * lyxserver.C:
9962         * os2_defines.h:
9963         * os2_errortable.h:
9964         * nt_defines.h: move .h into support/
9965
9966         * vms_defines.h: remove
9967
9968         * WorkArea.C: add space in debug output
9969
9970         * text2.C:
9971         * paragraph.C:
9972         * buffer.C: add WITH_WARNINGS
9973
9974         * vc-backend.h:
9975         * vc-backend.C:
9976         * bufferlist.C: s/retrive/retrieve/, add docs
9977
9978         * vspace.h:
9979         * vspace.C:
9980         * kbmap.h:
9981         * lyxlength.h:
9982         * lyxgluelength.h:
9983         * length_common.h:
9984         * chset.h:
9985         * chset.C: add docs
9986
9987         * lyxgui.C: add ID to X error handler
9988
9989         * lyxtestclass.c: fix typo
9990
9991 2002-02-26  Juergen Vigna  <jug@sad.it>
9992
9993         * tabular_funcs.C (write_attribute): changed so that some default
9994         attributes are not written at all.
9995         (getTokenValue): set default values before trying to read the
9996         value so we have the return value always set as default if we don't
9997         find the token we search for.
9998
9999         * tabular.C (Write): write bools as bools not as strings!
10000
10001 2002-02-22  Juergen Vigna  <jug@sad.it>
10002
10003         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10004         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10005
10006         * text.C (leftMargin): don't add an indent for paragraphs inside
10007         tabular cells (fix #208).
10008
10009 2002-02-21  José Matos  <jamatos@fep.up.pt>
10010
10011         * tabular.C (docBook): fixed support for long tables.
10012
10013 2002-02-20  Juergen Vigna  <jug@sad.it>
10014
10015         * text2.C (getFont): get the drawing font of the Inset if this
10016         paragraph is inside an inset (only important for InsetERT for now).
10017
10018         * buffer.C (insertErtContents): use new lanugage params in ERT
10019         constructor.
10020
10021         * CutAndPaste.C: commenting out seemingly uneeded code.
10022
10023 2002-02-19  Allan Rae  <rae@lyx.org>
10024
10025         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10026         Iterators might be simple to use but they also get invalidated.
10027         (removeAutoInsets): renamed saved cursor tracking variables and added
10028         some comments to clarify what everything does.
10029
10030 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10031
10032         * Chktex.C:
10033         * LaTeX.C:
10034         * LyXSendto.C:
10035         * converter.C:
10036         * lyx_cb.C:
10037         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10038         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10039
10040         * lyxfunc.C:
10041         * vc-backend.h: remove #include "support/syscall.h"
10042
10043         * LaTeX.C:
10044         * LyXSendto.C:
10045         * converter.C: rearrange #includes in Lars' approved fashion.
10046
10047         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10048         forward declare class Timeout in the header file.
10049
10050         * XFormsView.C: changes due to the above.
10051
10052         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10053         similar to LyXView.
10054
10055         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10056         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10057
10058 2002-02-18  José Matos  <jamatos@fep.up.pt>
10059
10060         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10061         insets contents.
10062
10063 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10064
10065         * a lot of small ws changes
10066         * add a lot of using std::XXX
10067         * use std construcs some places where approp.
10068         * use some exisint stuff from lyxfunctional where approp.
10069         * Make file changes to use partial linking (lets test this now...)
10070
10071 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10072
10073         * Chktex.C:
10074         * buffer.C:
10075         remove #include "support/syscontr.h" as it's redundant. Always has been.
10076
10077         * Chktex.C:
10078         * LaTeX.C:
10079         * LyXSendto.C:
10080         * converter.C:
10081         * lyx_cb.C:
10082         * vc-backend.C:
10083         change Systemcalls::System to Systemcalls::Wait and
10084         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10085         No change of functionality, just reflects the stripped down Systemcalls
10086         class.
10087
10088 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10089
10090         * debug.[Ch]: add a GRAPHICS type to the enum.
10091
10092 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10093
10094         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10095
10096         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10097         there is an inset.
10098
10099 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10102         match the changes below.
10103
10104         * text2.C (toggleInset): if there is not editable inset at cursor
10105         position, try to see if cursor is _inside_ a collapsable inset
10106         and close it.
10107
10108 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10111         document menu has a nice checkbox
10112
10113 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * lyxlength.C (asLatexString): change PW to output as percent of
10116         \textwidth.
10117
10118         * lengthcommon.C: change '%' to 't%'
10119
10120         * lyxfunc.C (dispatch): a few comments from Martin
10121
10122 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * WorkArea.h:
10125         * WorkArea.C:
10126         * BufferView_pimpl.h:
10127         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10128           the X selection.
10129
10130 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * vspace.C (inPixels): fix compiler warning
10133
10134 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * lyxfunc.C (getStatus): fix status message for disabled commands.
10137
10138 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10139
10140         * BufferView_pimpl.C: fix crash on close buffer
10141         during selection (#227)
10142
10143 2002-01-27  Herbert Voss  <voss@lyx.org>
10144
10145         * buffer.C: link old Figure to new graphic inset
10146
10147 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * FontLoader.C (getFontinfo): Change the latex font names in order
10150         to match the names of type1inst.
10151
10152 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10153
10154         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10155
10156         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10157         (extchanged): ditto
10158         (ext_exist): ditto
10159         (remove_files_with_extension): ditto
10160         (remove_file): ditto
10161         (write): ditto
10162
10163         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10164         document is smaller than the work area height. Do not initialize
10165         static variables to 0.
10166
10167 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10170
10171         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10172         LFUN_LAYOUT_PARAGRAPHS.
10173
10174         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10175         tabular. It is possible to provide a possible cell, which will
10176         typically be the actcell from the corresponding insettabular
10177
10178         * lyxfunc.C (getStatus): small cleanup; disable
10179         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10180         true
10181
10182 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10185
10186         * paragraph.C (startTeXParParams):
10187         (endTeXParParams): new methods. The LaTeX code to
10188         start/end paragraph formatting
10189         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10190         empty (fixes bug #200)
10191
10192         * vspace.C (inPixels): adapt to the change below
10193         (inPixels): [later] more cleanups (remove unused variables)
10194
10195         * lyxlength.C (inPixels): change to use a width and a height as
10196         parameter.
10197
10198 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10199
10200         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10201         Replaced with \paperwidth
10202
10203         * DepTable.C (insert): add std:: qualifier
10204
10205 2002-01-18  Allan Rae  <rae@lyx.org>
10206
10207         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10208         updated also?
10209
10210         * text.C (drawInset): Turned out I didn't know enough about how
10211         rebreaking worked.  This fixes most of the redraw problems.  I see
10212         an occasional cursor trail when a line is broken now and the cursor
10213         placement can seem out by a few pixels also after a rebreak.
10214
10215 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10216
10217         * buffer.C (parseSingleLyXformat2Token): update because minipage
10218         width is now a LyXLength
10219
10220         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10221
10222         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10223         math insets
10224
10225 2002-01-17  Juergen Vigna  <jug@sad.it>
10226
10227         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10228
10229         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10230         is set correctly and the inset is updated correctly.
10231
10232 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10233
10234         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10235         the beginning of the loop.
10236
10237 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * lyxrc.C: improve help for use_scalable_fonts
10240
10241 2002-01-17  Allan Rae  <rae@lyx.org>
10242
10243         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10244
10245 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10248         make sure to set their inset_owner to the right value (bug #171)
10249
10250 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10251
10252         * DepTable.h
10253         * DepTable.C: Implement mtime checking to reduce time spent doing
10254         CRCs.
10255
10256 2002-01-16  Juergen Vigna  <jug@sad.it>
10257
10258         * tabular.C (GetAdditionalHeight): one of error fixed.
10259
10260         * lyxrc.C (output): small fix in writing use_pspell.
10261
10262 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10263
10264         * sp_base.h: #include LString.h
10265
10266 2002-01-16  Allan Rae  <rae@lyx.org>
10267
10268         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10269         Can someone check this please?
10270
10271         * text.C (drawInset): It was possible that p.row would be removed by
10272         breakAgainOneRow upsetting a few other settings.  There may be another
10273         small tweak possible by setting need_break_row = 0 when p.row has been
10274         removed but I don't know enough about the logic here.
10275
10276 2002-01-15  Allan Rae  <rae@lyx.org>
10277
10278         * text.C (insertChar): removed conditional truism.
10279
10280         * BufferView2.C (removeAutoInsets): More tweaks.
10281         cur_par_prev could be a stray pointer.  Check for trailing empty line
10282         in case last line was cur_par and only had an error inset on it.
10283
10284 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10287         absolute
10288
10289         * vc-backend.C (most methods):
10290         * exporter.C (Export):
10291         * converter.C (convert):
10292         (runLaTeX):
10293         * LyXSendto.C (SendtoApplyCB):
10294         * lyxfunc.C (dispatch):
10295         (menuNew):
10296         (open):
10297         (doImport):
10298         * lyx_cb.C (AutoSave):
10299         (InsertAsciiFile):
10300         * BufferView_pimpl.C (MenuInsertLyXFile):
10301         * buffer.C (runChktex): use Buffer::filePath().
10302
10303         * buffer.h: rename filename to filename_; rename filepath to
10304         filepath_ and make it private
10305         (filePath): new method
10306
10307         * buffer.C (writeFile): use fileName()
10308         (getLatexName):
10309
10310         * lyx_main.C (init): fix starting  of LyX when the binary is a
10311         link from so,ewhere else.
10312
10313         * minibuffer.C: include <cctype> for isprint
10314
10315 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10316
10317         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10318         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10319         name clash with InsetCollapsable's width function.
10320
10321 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * lastfiles.C: include <iterator>
10324
10325 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10326
10327         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10328         std::count.
10329
10330         * buffer.C (makeLaTeXFile): ditto.
10331         Also make loop operation more transparent.
10332
10333 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10334
10335         * ToolbarDefaults.C: remove trailing comma closing namespace.
10336
10337         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10338
10339         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10340         as in WorkArea.
10341
10342         * trans.C (Load): comment out unused variable, allowed.
10343
10344 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10345
10346         * minibuffer.[Ch] (append_char): new method to recieve input from the
10347         drop-down completion browser. If a key was pressed, then recieve this
10348         char and append it to the existing string.
10349         (peek_event): modify the positioning data passed to the completion
10350         browser so that it can be placed above the minibuffer rather than below.
10351 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10352
10353         * LyXAction.C (init): alloe error-next for readonly documents.
10354
10355         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10356         count.
10357
10358 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * bufferlist.C (readFile): create the buffer _after_ checking that
10361         the file exists.
10362
10363         * lyxfunc.C (verboseDispatch): fix handling of arguments
10364
10365         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10366
10367         * lyxrc.C: use string::erase() instead of initializing to "".
10368
10369
10370 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * BufferView_pimpl.h:
10373         * BufferView_pimpl.C:
10374         * WorkArea.h:
10375         * WorkArea.C:
10376         * text2.C: tell X when we have made a selection for copying
10377
10378 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10379
10380         * BufferView_pimpl.C (MenuInsertLyXFile):
10381         * lyxfunc.C (menuNew):
10382         (open):
10383         (doImport): add shortcuts to directory buttons
10384
10385         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10386         open a float)
10387
10388         * lyxfunc.C (setStatusMessage):
10389         (getStatusMessage): new methods
10390         (getStatus):use setStatusMessage instead of setErrorMessage
10391         (dispatch): when function is disabled, set error message here
10392         [instead of in getStatus previously]
10393
10394         * BufferView_pimpl.C (workAreaButtonRelease): update
10395         toolbar/menubar here too.
10396
10397 2002-01-13  Allan Rae  <rae@lyx.org>
10398
10399         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10400         Now seems indestructible.  Remaining task is to audit all other
10401         code affected by deleteEmptyParagraphMechanism.  One small quirk
10402         left is that an empty document with an error in the preamble can
10403         be made to report an error but no error box appears.  I don't know
10404         where it goes.
10405         (removeAutoInsets): Improved comments.
10406
10407 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * Thesaurus.h:
10410         * Thesaurus.C: update for Aiksaurus 0.14
10411
10412 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * text2.C (firstParagraph): removed member function, all uses
10415         replaces with ownerParagraph
10416         (redoParagraphs): here
10417         (updateInset): here
10418         (toggleAppendix): here
10419         * BufferView2.C (insertErrors): here
10420         (setCursorFromRow): here
10421
10422 2002-01-13  Allan Rae  <rae@lyx.org>
10423
10424         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10425         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10426         There is still a way to segfault this although you may have to do this
10427         multiple times: Have an InsetERT with an unknown command in it.
10428         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10429         <down-arrow>, <Enter> again, View->DVI, BANG!
10430
10431         * text2.C (setCursor):
10432         (deleteEmptyParagraphMechanism):
10433         * lyxtext.h (setCursor):
10434         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10435         Making use of the return value may help fix other bugs.
10436
10437 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10440
10441         * LyXView.C (updateMenubar): call MenuBar::update here
10442         (updateToolbar): but not here
10443         (showState): do not update toolbar/menubar
10444
10445         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10446         should need to care about that.
10447
10448         * lyxfunc.C (verboseDispatch): simplify a bit
10449         (getStatus): have a version which takes a pseudoaction, and
10450         another which requires a (kb_action,string).
10451
10452         * LyXAction.C (retrieveActionArg): make it work also when action
10453         is not a pseudo-action.
10454         (getActionName): simplify a bit
10455         (helpText):
10456
10457 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * lyxfunc.C (verboseDispatch): new families of methods with
10460         several ways to specify a command and a bool to indicate whether
10461         the command name and shortcut should be displayed in minibuffer
10462         (eventually, we could extend that to a finer bitmask like
10463         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10464         (dispatch): the pristine dispatch command which just, well,
10465         dispatchs! Note it still sets its result to minibuffer; I'm not
10466         sure we want that.
10467
10468         * lyxfunc.h: remove setHintMessage
10469
10470         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10471
10472 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * BufferView_pimpl.C (specialChar): delete new inset if we have
10475         not been able to insert it.
10476
10477         * kbmap.C: revert to using int instead of kb_action, since all we
10478         are dealing with is pseudo-actions.
10479
10480         * LyXAction.C (searchActionArg): change to return int instead of
10481         kb_action, since the result is a pseudoaction.
10482
10483 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10484
10485         * buffer.C (insertErtContents): Fix (partially) the font bug.
10486
10487 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10490         as the other one is broken on my machine!
10491
10492 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10493
10494         * commandtags.h:
10495         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10496
10497 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10498
10499         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10500         reflect their actual use. Provide compatibility code for older lyxrc
10501         files.
10502
10503         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10504         FL_NORMAL_STYLE.
10505         change names of popup font variables in line with the changes to lyxrc.C
10506
10507 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10508
10509         * buffer.C (asciiParagraph): avoid outputing a word twice after
10510         an inset.
10511
10512         * lyxrc.C (getDescription): document that document_path and
10513         template_path can be empty.
10514
10515 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * LaTeXFeatures.C (getMacros):
10518         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10519
10520         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10521
10522         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10523         getPackages.
10524         (getPackages): rename feature "floats" to "float". Use an array to
10525         iterate over 'simple' features (i.e. just a \usepackage). Add
10526         handling of "amsmath" (renamed from "amsstyle").
10527
10528 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10529
10530         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10531         features list.
10532
10533 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10536         FuncStaus::FuncStatus & FuncStaus::some_method().
10537
10538 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10539
10540         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10541         of the func_satus stuff. Edited and massaged in various ways by
10542         JMarc.
10543
10544         * lyxfunc.C (getStatus): use FuncStatus
10545
10546 2002-01-08  Juergen Vigna  <jug@sad.it>
10547
10548         * text.C (nextBreakPoint): use function Inset::isChar().
10549
10550         * paragraph.C (TeXOnePar): use function
10551         Inset::forceDefaultParagraphs.
10552
10553         * buffer.C (latexParagraphs): use function
10554         Inset::forceDefaultParagraphs.
10555
10556 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10557
10558         * lyx_gui.C (init): set the style of the menu popups to
10559         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10560
10561 2002-01-07  Juergen Vigna  <jug@sad.it>
10562
10563         * text.C (setHeightOfRow): small fix
10564         (prepareToPrint): don't look at alignment if we don't have the place
10565         for doing it.
10566
10567 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10568
10569         * box.C: New file. Move the Box methods and functions out of box.h,
10570         following Lars' suggestion.
10571
10572 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10573
10574         * box.h: #include "support/LOstream.h", needed for inlined function.
10575
10576         * lyxtextclass.C:
10577         * lyxtextclasslist.C: added some using std declarations.
10578
10579 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * box.h: make signed dimensions to allow insets wider than
10582           the screen (bug #162)
10583
10584         * BufferView_pimpl.C: add some insetHit debug
10585
10586 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * vc-backend.C: add FIXME
10589
10590 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyxfunc.C (getStatus): enable code for showing math font status
10593         in toolbar/menu.
10594
10595 2002-01-07  Juergen Vigna  <jug@sad.it>
10596
10597         * text.C (nextBreakPoint): removed debug output not needed anymore.
10598
10599 2002-01-06  Juergen Vigna  <jug@sad.it>
10600
10601         * text.C (nextBreakPoint): fixed up this function we had this bug
10602         since ever but now hopefully we break row better.
10603         (insertChar): we have to check if an inset is the next char as it
10604         could now happen that a large inset is causing a break.
10605
10606 2002-01-05  Juergen Vigna  <jug@sad.it>
10607
10608         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10609         if it doesn't like to be drawed.
10610
10611 2002-01-04  Juergen Vigna  <jug@sad.it>
10612
10613         * BufferView2.C (lockInset): forgot to set a cursor.
10614
10615         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10616
10617 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10618
10619         * FormMathsPanel.C:
10620         * FormMathsPanel.h
10621         * MathsSymbols.C:
10622         * form_maths_panel.C:
10623         * form_maths_panel.h:
10624         * form_maths_panel.fd: implemented sub- and super- buttons in math
10625         panel.
10626
10627         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10628         (or ^ space) to be used as in TeX (req'd by André).
10629
10630         * lyxfunc.C: Allow ^ and _ again to be used both as
10631         super/subscript (mathed) and as themselves (in text).
10632
10633 2002-01-03  Allan Rae  <rae@lyx.org>
10634
10635         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10636         "LyX" or the filename of the current buffer if it has one.  This is a
10637         modified form of John Levon's patch.
10638
10639         * XFormsView.C (setWindowTitle): also set icon title.
10640
10641         * LyXView.h (setWindowTitle): signature changed.
10642         * XFormsView.h (setWindowTitle): ditto.
10643
10644 2002-01-02  Juergen Vigna  <jug@sad.it>
10645
10646         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10647
10648 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10649
10650         * screen.C (topCursorVisible): introduce a temp var for
10651         text->cursor.row(), handle the case where this row is null. (kindo
10652         hachish)
10653
10654         * text2.C (setCursor): add a couple of asserts.
10655
10656         * paragraph.h (inset_iterator): add -> operator
10657
10658         * paragraph.[Ch] (autoDeleteInsets): remove member function
10659
10660         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10661         cursor pos correctly and handle inset deletion by itself.
10662         (insertErrors): move iterator declaration out of for expression
10663
10664         * lyxtextclass.C: add <algorithm>
10665
10666         * Makefile.am: added the new files to sources, removed layout.C
10667
10668         * layout.C: removed file
10669
10670         * layout.h: remove LYX_DUMMY_LAYOUT
10671
10672         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10673         layout.
10674
10675         * lyxlayout.[Ch]:
10676         * lyxtextclass.[Ch]:
10677         * lyxtextclasslist.[Ch]: new files
10678
10679         * include order changes to a lot of files, also changes because of
10680         the six new files.
10681
10682 2001-12-27  Juergen Vigna  <jug@sad.it>
10683
10684         * buffer.C (asciiParagraph): more fixes.
10685
10686         * tabular.C (ascii): make ascii export support export of only the
10687         data separated by a column-delimiter.
10688         (ascii): better support for ascii export.
10689
10690         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10691
10692 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10693
10694         * tabular_funcs.C: use a "using std::getline" instead of the
10695         previous fix from Angus (necessary for cxx + lyxstring)
10696
10697 2001-12-24  Juergen Vigna  <jug@sad.it>
10698
10699         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10700
10701         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10702         problems. First check a minipage also if we have some ert-contents
10703         (not only on par->size(), second set the right depth of the paragraph
10704         on the relink to the root-paragraph-list!
10705
10706         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10707         which then did not anymore update the main paragraphs on undo/redo!
10708
10709 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10712         code. Support all font-changing funcs (even those which are not in
10713         menu currently). Support for reporting font settings in
10714         mathed (disabled until Andre provides a function on mathed's side).
10715
10716         * func_status.h (toggle): small helper function to set toggle
10717         state on a flag.
10718
10719 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10720
10721         * tabular_funcs.C: getline -> std::getline
10722
10723 2001-12-21  Juergen Vigna  <jug@sad.it>
10724
10725         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10726         accessed and could be 0 (I couldn't generate this but it seems
10727         Michael could!).
10728
10729 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10732         * tabular_funcs.h: here and include iosfwd
10733
10734 2001-12-20  Juergen Vigna  <jug@sad.it>
10735
10736         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10737         inside inset but undo_par was.
10738
10739 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * Thesaurus.C: always include <config.h> in sources.
10742
10743         * Painter.h:
10744         * lyxlookup.h:
10745         * box.h: do not include <config.h> in header files
10746
10747         * text.C (paintLastRow): remove unused variable
10748
10749         * text.C (transformChar):
10750         (insertChar):
10751         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10752
10753         * Painter.C (text):
10754         * font.C (width): rewrite to use uppercase() instead of
10755         islower/toupper.
10756
10757         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10758
10759 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * lyxfind.C: clean up of find failure position change
10762
10763 2001-12-20  Juergen Vigna  <jug@sad.it>
10764
10765         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10766
10767         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10768         (TeXRow): added to LaTeX a single tabular row.
10769         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10770         (Latex): simplified and finally good LT-h/f support.
10771         (various_functions): just small adaptions for LT-h/f support.
10772
10773         * tabular_funcs.[hC]: added and moved here all not classfunctions
10774         of LyXTabular.
10775
10776 2001-12-19  Juergen Vigna  <jug@sad.it>
10777
10778         * tabular.[Ch]: better support for longtabular options (not finished
10779         yet!)
10780
10781 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * text.C (paintLastRow): use the label font instead of the font of
10784         the last character to compute the size of *_BOX. This makes more
10785         sense and avoids a crash with empty paragraphs.
10786         Use Painter::rectangle to draw EMPTY_BOX.
10787
10788 2001-12-19  Juergen Vigna  <jug@sad.it>
10789
10790         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10791         the paragraphs if the replaced paragraph is not the first one!
10792         Tried to delete not used paragraphs but does not work yet so for
10793         now it's inside #ifdef's and by default off!
10794
10795 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10796
10797         * MenuBackend.C: include "lyx_main.h" instead of declaring
10798         lastfiles (actually was declared as LastFiles* instead of a
10799         scoped_ptr).
10800
10801 2001-12-17  Juergen Vigna  <jug@sad.it>
10802
10803         * tabular.C (AppendColumn): applied John's fix
10804
10805 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * BufferView.h:
10808         * BufferView.C:
10809         * BufferView_pimpl.h:
10810         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10811
10812         * Makefile.am:
10813         * box.h: new start of class for above
10814
10815         * lyxfunc.C: ignore space-only minibuffer dispatches.
10816           Show the command name when it doesn't exist
10817
10818         * minibuffer.C: don't add empty lines to the history
10819
10820         * minibuffer.C: add a space on dropdown completion
10821
10822 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * text.C: fix line above/below drawing in insets
10825
10826 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * lyxlength.C (LyXLength): Initialize private variables.
10829
10830 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10831
10832         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10833         when inserting error insets.
10834
10835 2001-12-13  Juergen Vigna  <jug@sad.it>
10836
10837         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10838         actually sometimes the before-paragraph.
10839         (setUndo): don't clear the redostack if we're not actually undoing!
10840
10841 2001-12-06  Juergen Vigna  <jug@sad.it>
10842
10843         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10844         and fixed redoing of main paragraph, so we can use it now ;)
10845
10846         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10847
10848 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10851         Juergen's request
10852
10853 2001-12-13  André Pönitz <poenitz@gmx.net>
10854
10855         * undostack.[Ch]:
10856         * undo_func.C: minor cleanup
10857
10858 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10861         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10862         font in urw-fonts package which is marked as -urw-fontspecific and
10863         does not work (incidentally, changing the encoding in the
10864         fonts.dir of this package to -adobe-fontspecific fixes the
10865         problem).
10866
10867         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10868         is a crash when undoing first paragraph (Juergen, please take a
10869         look). THis does not mean the undo fix is wrong, just that it
10870         uncovers problems.
10871
10872         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10873         the (Paragraph*) version when needed instead of duplicating the
10874         code.
10875
10876         * text.C (workWidth): use Inset::parOwner to find out where the
10877         inset has been inserted. This is a huge performance gain for large
10878         documents with lots of insets. If Inset::parOwner is not set, fall
10879         back on the brute force method
10880
10881         * paragraph_pimpl.C (insertInset):
10882         * paragraph.C (Paragraph):
10883         (cutIntoMinibuffer): set parOwner of insets when
10884         inserting/removing them
10885
10886         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10887
10888 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10889
10890         * commandtags.h:
10891         * LyXAction.C:
10892         * lyx_main.C:
10893         * lyxfunc.C:
10894         * mathed/formulabase.C:
10895         * mathed/math_cursor.[Ch]:
10896         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10897
10898
10899 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * lyxlength.[Ch] (operator!=): new function
10902
10903 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * text.C (workWidth): use Inset::parOwner to find out where the
10906         inset has been inserted. This is a huge performance gain for large
10907         documents with lots of insets. If Inset::parOwner is not set, fall
10908         back on the brute force method
10909
10910         * paragraph_pimpl.C (insertInset):
10911         * paragraph.C (Paragraph):
10912         (cutIntoMinibuffer): set parOwner of insets when
10913         inserting/removing them
10914
10915         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10916
10917 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10918
10919         * tabular-old.C (getTokenValue):
10920         * tabular.C (getTokenValue):
10921         (write_attribute): new versions for LyXLength
10922         (everywhere): adjust the use of widths
10923
10924         * tabular.h: change the type of widths from string to LyXLength
10925
10926 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10927
10928         * paragraph.C: fixed missing line number count when exporting
10929         Environments to LaTeX file
10930
10931         * buffer.C: added informational message for checking line numbers.
10932
10933 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10936         paragraph, do the 'double space' part, but not the 'empty
10937         paragraph' one.
10938
10939         * text.C (workWidth): small optimization
10940         (getLengthMarkerHeight): use minimal size for negative lengths.
10941
10942 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10945
10946         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10947
10948 2001-12-11  André Pönitz <poenitz@gmx.net>
10949
10950         * FontLoader.C:
10951         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10952
10953 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * text2.C: keep selection on a setFont()
10956
10957 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * lyx_cb.C: another bv->text misuse, from insert label
10960
10961 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * kbsequence.h:
10964         * kbsequence.C: re-instate nmodifier mask
10965
10966 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         * lyx_main.h: make lyxGUI private.
10969
10970 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * lyxfind.C: place the cursor correctly on failed search
10973
10974 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * text.C (getLengthMarkerHeight): for small heights, the arrows
10977         are not always on top/bottom of the text
10978         (drawLengthMarker): smaller arrows; take the left margin in
10979         account; draw also vfills.
10980         (paintFirstRow):
10981         (paintLastRow): remove special code for vfill and standard spaces,
10982         since everything is handled in drawLengthMarker now.
10983
10984 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * buffer.C (insertErtContents): try to handle font and language
10987         interaction a bit better.g
10988
10989         * ColorHandler.C (updateColor): change the hash to cover the whole
10990         LColor enum, ws cleanup
10991         (getGCLinepars): ditto
10992         (getGCLinepars): only lookup in the linecache once.
10993
10994 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10995
10996         * iterators.C (operator++): Make the iterator more robust
10997
10998         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10999         (John's patch)
11000         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11001
11002 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * lyxtext.h:
11005         * text.C: better added space drawing
11006
11007 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * LyXView.C:
11010         * BufferView2.C: fix layout combo update on inset unlock
11011
11012 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * Makefile.am: don't compile unused files
11015
11016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * lyxfunc.C:
11019         * commandtags.h:
11020         * LyXAction.C: remove old LFUN_LAYOUTNO
11021
11022 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * paragraph_pimpl.h:
11025         * paragraph_pimpl.C: isTextAt() doesn't need font param
11026
11027 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * lyxlex.h:
11030         * lyxlex.C: little cleanup
11031
11032 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * BufferView_pimpl.C: fix insertAscii for insets
11035
11036 2001-12-05  Juergen Vigna  <jug@sad.it>
11037
11038         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11039         set the right font on the "multi" paragraph paste!
11040
11041 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * trans_decl.h:
11044         * trans_mgr.[Ch]:
11045         * trans.[Ch]:
11046         * lyxgluelength.C:
11047         * lyxlength.C: remove out-commented code.
11048
11049         * BufferView_pimpl:
11050         * CutAndPaste.C:
11051         * DepTable.C:
11052         * buffer.C:
11053         * chset.C:
11054         * lastfiles.C:
11055         * lyxlex.C:
11056         * lyxlex_pimpl.C:
11057         * lyxserver.C:
11058         * screen.C:
11059         * tabular-old.C:
11060         * tabular.C:
11061         * text.C:
11062         * trans_mgr.C:
11063         * vc-backend.C: change "while(" to "while ("
11064
11065         * lyxlength.[Ch]: add zero function to check if length is zero or
11066         not
11067         * lyxgluelength.C: use it
11068
11069 2001-12-05  Allan Rae  <rae@lyx.org>
11070
11071         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11072         Works for 2.95.3, from what I understand of Garst's reports this should
11073         work for other g++ versions.  We're screwed if the abs(int) definition
11074         changed between bugfix releases of gcc.
11075
11076 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * text.C: fix chapter label offset !
11079
11080 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * lyxtext.h:
11083         * text.C: fix hfill at end of line, clean up
11084
11085 2001-12-04  Juergen Vigna  <jug@sad.it>
11086
11087         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11088         that we force an update of the inset and it's owners if neccessary.
11089
11090 2001-12-03  Juergen Vigna  <jug@sad.it>
11091
11092         * text.C (rowLast): simplified code
11093
11094 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * lyxfunc.C: fix show options on timeout
11097
11098 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11099
11100         * screen.C (topCursorVisible): scroll half a page when the cursor
11101         reached top of bottom of screen
11102
11103 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * minibuffer.C: deactivate on loss of focus
11106
11107 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11108
11109         * vspace.[Ch] (operator!=): add operator.
11110
11111 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * BufferView_pimpl.C: refuse to open an inset when
11114         there's a selection.
11115
11116 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * BufferView_pimpl.C: allow to click on RHS of full row insets
11119
11120 2001-11-30  Juergen Vigna  <jug@sad.it>
11121
11122         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11123         insets for undo reasons.
11124
11125 2001-11-28  André Pönitz <poenitz@gmx.net>
11126
11127         * vspace.[Ch]: cosmetical changes
11128
11129 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * LyXAction.h:
11132         * LyXAction.C:
11133         * lyxfunc.h:
11134         * lyxfunc.C:
11135         * kbmap.h:
11136         * kbmap.C:
11137         * lyxrc.C:
11138         * kbsequence.h:
11139         * kbsequence.C: part re-write of old kb code
11140
11141         * Painter.C:
11142         * WorkArea.C: remove Lgb_bug_find_hack
11143
11144 2001-11-30  José Matos <jamatos@fep.up.pt>
11145
11146         * buffer.C (makeDocBookFile): add a comment to point a hack.
11147         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11148         Fixed a double write of labels.
11149
11150 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11151
11152         * LaTeX.C:
11153         * LaTeX.h Fixed bug in LaTeX class where it would not
11154         re-run latex if no depfiles were changed, but the .dvi was removed.
11155
11156 2001-11-28  André Pönitz <poenitz@gmx.net>
11157
11158         * all the files from the change on 2001/11/26:
11159         use lyx::layout_type instead of LyXTextClass::size_type
11160         use lyx::textclass_type instead of LyXTextClassList::size_type
11161
11162 2001-11-29  Juergen Vigna  <jug@sad.it>
11163
11164         * text.C: added support for paragraph::isFreeSpacing()
11165
11166         * buffer.C: same as above
11167
11168         * paragraph.h: inserted isFreeSpacing() function to enable
11169         FreeSpacing inside InsetERT.
11170
11171         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11172         of the paragraph's in the cut/copy buffer to 0!
11173
11174         * text2.C (removeRow): remove the assert as it can!
11175
11176         * lyxtext.h: added helper function firstRow returning firstrow and
11177         made firstrow private again.
11178
11179         * BufferView2.C (lockInset): don't relock if we're already locked!
11180
11181         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11182         the only paragraph.
11183         (removeRow): added Assert::(firstrow)
11184
11185         * debug.C: forgot to add INSETTEXT here.
11186
11187 2001-11-28  Juergen Vigna  <jug@sad.it>
11188
11189         * sp_spell.C (initialize): changed error text to more general
11190         spellchecker command use (not only ispell!)
11191
11192         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11193
11194         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11195
11196 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * vspace.C: initialise lyxgluelength on failure
11199
11200 2001-11-28  Allan Rae  <rae@lyx.org>
11201
11202         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11203         declaration & definition that looks like a function declaration.
11204
11205 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11206
11207         * BufferView2.C (copy):
11208         (copyEnvironment): do not clear the selection when doing a copy.
11209
11210         * text.C (paintFirstRow): compilation fix
11211
11212 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11213
11214         * tabular.C (Latex): correct line count when writing latex.
11215
11216 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * paragraph_pimpl.h:
11219         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11220           bug a bit
11221
11222 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * text.C:
11225         * LColor.h:
11226         * LColor.C: change vfillline->added_space
11227
11228         * text.C: add markers and text for added space
11229
11230         * vspace.C: fix comment
11231
11232 2001-11-28  André Pönitz <poenitz@gmx.net>
11233
11234         * paragraph.C: whitespace changes
11235         * all the other files from the change on 2001/11/26:
11236         change *::pos_type into lyx::pos_type
11237
11238 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11241         language of the document when inserting error insets.
11242
11243 2001-11-26  André Pönitz <poenitz@gmx.net>
11244
11245         * BufferView_pimpl.[Ch]:
11246         *       CutAndPaste.C:
11247         * buffer.[Ch]:
11248         * lyxcursor.[Ch]:
11249         * lyxfind.C:
11250         * lyxfunc.C:
11251         * lyxrow.[Ch]:
11252         * paragraph.[Ch]:
11253         * paragraph_pimpl.[Ch]:
11254         * sp_spell.C:
11255         * text.C:
11256         * text2.C: reduce header dependencies, introduce type for positions
11257
11258 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * <various>: change to use Alert.h
11261
11262 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11265         when encountering an unknown token.
11266         (readLyXformat2): Show an error message if there were unknown tokens.
11267
11268 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * BufferView2.C:
11271         * BufferView_pimpl.C:
11272         * buffer.C:
11273         * paragraph.h:
11274         * text.C:
11275         * text2.C: use par->isInset()
11276
11277 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * paragraph_pimpl.h:
11280         * paragraph_pimpl.C: cleanup
11281
11282 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11283
11284         * text2.C (removeRow):
11285         * text.C (setHeightOfRow): remove useless (and costly) call to
11286         getRow.
11287
11288 2001-11-20  Allan Rae  <rae@lyx.org>
11289
11290         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11291         Now need Inset*::checkInsertChar() to return true for appropriate
11292         cases so that the characters in the minibuffer will actually be
11293         inserted.
11294
11295 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * text.C: change the order of the includes.
11298         (workWidth): initialize it at once.
11299         (workWidth): make maxw unsigned
11300         (setHeightOfRow): remove unused variable (inset)
11301         (selectSelectedWord): remove unused variable (inset)
11302         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11303
11304 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11305
11306         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11307         server is not running.
11308         (openConnection):
11309         (closeConnection): add debug info when server is disabled.
11310
11311         * ColorHandler.C (getGCForeground): send debug message to GUI
11312         channel.
11313
11314         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11315
11316         * kbmap.C (bind): modify because return conventions of
11317         kb_sequence::parse have changed.
11318
11319         * kbsequence.C (parse): only ignore spaces and not any stupid
11320         control character. This avoids tests like s[i] <= ' ', which are
11321         guaranteed to fail with 8bit characters and signed chars.
11322         Change return code to string::npos when there have been no error
11323         (0 was a bad idea when error is at first character)
11324
11325 2001-11-14  José Matos  <jamatos@fep.up.pt>
11326
11327         * buffer.h:
11328         * buffer.C (simpleDocBookOnePar): removed unused argument.
11329
11330 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11331
11332         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11333         insets which are part of a word. Paragraph::isLetter takes care of
11334         that now. Use Paragraph::isInset to identify insets.
11335         (selectSelectedWord): do not test for hyphenation break.
11336
11337         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11338         that protected spaces are considered as spaces.
11339
11340         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11341         Inset::isLetter.
11342
11343 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * lyxserver.h:
11346         * lyxserver.C: fix it. and small cleanup.
11347
11348 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * BufferView_pimpl.C: use inline helpers
11351
11352         * LaTeXFeatures.h:
11353         * LaTeXFeatures.C: fix typos
11354
11355         * Spacing.h:
11356         * Spacing.C: move spacing_string into class
11357
11358         * ToolbarDefaults.C: move stuff into namespace anon
11359
11360         * layout.h: update enum
11361
11362         * lyxfunc.C: use better debug
11363
11364         * minibuffer.h: fix typo
11365
11366         * debug.h:
11367         * debug.C:
11368         * WorkArea.C: add and use Debug::WORKAREA
11369
11370         * lyxtext.h:
11371         * text.C:
11372         * text2.C: code re-organisation, inline helpers
11373
11374 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11375
11376         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11377         std::vector.empty().
11378
11379 2001-11-09  Allan Rae  <rae@lyx.org>
11380
11381         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11382         '\n's after tables.  Tabular and ERT inset work now makes this no
11383         longer necessary.
11384
11385 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * minibuffer.h:
11388         * minibuffer.C: fix crash, improve drop-down completion
11389
11390 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * lyxserver.h:
11393         * lyxserver.C: invalidate fd's when doing endPipe()
11394
11395 2001-11-08  José Matos  <jamatos@fep.up.pt>
11396
11397         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11398         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11399
11400         * paragraph.h:
11401         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11402
11403 2001-11-07  José Matos  <jamatos@fep.up.pt>
11404
11405         * buffer.h:
11406         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11407         const qualifier.
11408
11409         * buffer.C (sgmlOpenTag):
11410         * buffer.C (sgmlCloseTag): removed debug info.
11411
11412         * buffer.h (sgmlOpenTag):
11413         * buffer.h (sgmlCloseTag): made public.
11414
11415 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11416
11417         * buffer.C (saveParamsAsDefaults):
11418         * lyx_cb.C (MenuLayoutSave): remove
11419
11420         * LyXAction.C (init):
11421         * commandtags.h:
11422         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11423
11424 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11425
11426         * buffer.C (setPaperStuff): removed from here...
11427
11428         * bufferparams.C (setPaperStuff): ... and moved there.
11429
11430 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * minibuffer.h:
11433         * minibuffer.C:
11434         * XFormsView.C: add support for drop-down completion
11435
11436 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11437
11438         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11439         commands.
11440
11441 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11442
11443         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11444         disabled.
11445
11446 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyx_main.C: change ref to known bugs
11449
11450 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11451
11452         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11453         to work around older babel problems.
11454
11455 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11456
11457         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11458
11459 2001-10-24  Juergen Vigna  <jug@sad.it>
11460
11461         * tabular-old.C (ReadOld): below variable changes reflected.
11462
11463         * tabular.[Ch]: added ltType struct for longtable header/footer
11464         defines and changed all instances where they are used. Added
11465         future support for double top/bottom rows.
11466
11467 2001-10-24  José Matos  <jamatos@fep.up.pt>
11468
11469         * buffer.h (docbookHandleCaption):
11470         * buffer.C (docbookHandleCaption): removed unused function.
11471         (makeDocBookFile): moved docbook supported version to v4.1.
11472
11473 2001-10-24  José Matos  <jamatos@fep.up.pt>
11474
11475         * tabular.h:
11476         * tabular.C (docbookRow): new function to export docbook code of a row.
11477         (DocBook): now honors the longtable flags.
11478
11479 2001-10-23  José Matos  <jamatos@fep.up.pt>
11480
11481         * LaTeXFeatures.h:
11482         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11483         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11484
11485         * buffer.C (makeLinuxDocFile):
11486         (makeDocBookFile): reworked the preamble, more clean, and with
11487         support for lyx defined entities. Changed the document declaration
11488         to be more XML friendly.
11489
11490         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11491         if we need to output XML that should be done with a filter.
11492
11493 2001-10-22  Juergen Vigna  <jug@sad.it>
11494
11495         * sp_pspell.h (class PSpell): add alive function needed in the
11496         controller to see if the spellchecker could be started.
11497
11498 2001-10-22  Juergen Vigna  <jug@sad.it>
11499
11500         * buffer.C (insertStringAsLines): modify the font for inserting
11501         chars in certain conditions by calling checkInsertChar(font).
11502
11503 2001-10-19  Juergen Vigna  <jug@sad.it>
11504
11505         * text.C (workWidth): use getRow instead of wrong algorithm.
11506         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11507
11508 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * lyxserver.h:
11511         * lyxserver.C:
11512         * lyx_main.h:
11513         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11514
11515 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11516
11517         * text.C (workWidth): do not search for the exact row when
11518         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11519         optimization for big documents.
11520
11521 2001-10-18  Juergen Vigna  <jug@sad.it>
11522
11523         * text.C (workWidth): new function with added Inset * parameter.
11524
11525 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11526
11527         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11528
11529         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11530         change return type of getColumnNearX.
11531
11532
11533         * text.C (changeRegionCase): use uppercase/lowercase instead of
11534         toupper/tolower.
11535         (leftMargin):
11536         (rightMargin): simplify code by factoring out the uses of
11537         textclasslist.
11538         (labelFill):
11539         (numberOfHfills):
11540         (setHeightOfRow):
11541         (appendParagraph): use Paragraph::size_type
11542
11543 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11544
11545         * vspace.C (asLatexString): add a missing break
11546
11547 2001-10-15  Herbert Voss  <voss@perce.de>
11548
11549         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11550
11551 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11552
11553         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11554         is not available.
11555
11556 2001-10-10  André Pönitz <poenitz@gmx.net>
11557
11558         * lyxfunc.C: removed greek_kb_flag.
11559
11560 2001-10-10  Herbert Voss  <voss@perce.de>
11561
11562         * lyx_main.C: delete global string help_lyxdir.
11563
11564 2001-10-09  Herbert Voss  <voss@perce.de>
11565
11566         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11567
11568         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11569
11570         * lyx_main.C: added global string help_lyxdir.
11571
11572         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11573
11574 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11575
11576         * lyxrc.C (set_font_norm_type): support iso8859-4
11577
11578 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11579
11580         * LaTeX.C (deplog): add another regex for MikTeX
11581
11582 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11583
11584         * lyxrc.C (set_font_norm_type): support iso8859-3
11585
11586 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11587
11588         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11589
11590         * LaTeXFeatures.C: remove special case of french and index
11591
11592         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11593         before \begin{document}). This solves several incompatibilities.
11594
11595 2001-10-03  Garst Reese  <reese@isn.net>
11596
11597         * lyx_cb.C: change CheckTex error msg.
11598
11599 2001-10-03  José Matos  <jamatos@fep.up.pt>
11600
11601         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11602
11603 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * .cvsignore: update
11606
11607         * lyx_main.C (commandLineVersionInfo): use new style version info.
11608
11609         * buffer.C (writeFile):
11610         (makeLaTeXFile):
11611         (makeLinuxDocFile):
11612         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11613
11614         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11615
11616         * version.h: update to use stuff in version.C
11617
11618         * version.C.in: new file. Contains version information determined
11619         at compile time. This is a merging of version.h and
11620         version_info.h.in.
11621
11622 2001-10-03  Juergen Vigna  <jug@sad.it>
11623
11624         * BufferView_pimpl.C (update): don't change "dirty" status in
11625         updateInset call.
11626
11627 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11628
11629         * WorkArea.C (c-tor): re-position version string slightly.
11630
11631 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11634         revert to previous code.
11635
11636         WorkArea.[Ch]: (show, destroySplash): methods removed.
11637
11638         WorkArea.C: rework code so that it's an amalgam of the codes before and
11639         after the splash screen was moved to WorkArea.
11640
11641 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11642
11643         * lyxrc.C (read):
11644         * vspace.C (inPixels):
11645         (lyx_advance):
11646         * kbmap.C (bind):
11647         * buffer.C (insertStringAsLines):
11648         (asciiParagraph): fix types to be large enough
11649
11650         * lyxlex_pimpl.h: change member status from short to int
11651
11652         * layout.h: fix type of endlabeltype
11653
11654         * kbmap.C (bind):
11655         * kbsequence.C (parse): change return type to string::size_type
11656
11657         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11658         variable
11659
11660         * Bullet.C (bulletSize):
11661         (bulletEntry): do not use short ints as parameters
11662
11663         * BufferView2.C (insertLyXFile): change a char to an int.
11664
11665         * WorkArea.C (WorkArea): remove unneeded floats in computation
11666
11667 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11668
11669         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11670
11671         * paragraph.C (asString): Do not ignore newline/hfill chars when
11672         copying to the clipboard.
11673
11674 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11675
11676         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11677         after a multi-line inset.
11678
11679 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11680
11681         * paragraph.C (validate): Set NeedLyXFootnoteCode
11682
11683 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11686         and decrease-error to decrease.
11687
11688 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11689
11690         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11691         it more readable (should be equivalent)
11692
11693 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11694
11695         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11696
11697 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11698
11699         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11700         of a cursor (row, etc.) after a character has been deleted
11701         (deleteEmptyParagraphMechanism): call the method above on _all_
11702         cursors held by the LyXText when a double space has been
11703         detected/deleted.
11704
11705 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11706
11707         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11708         pixmap.
11709         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11710
11711         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11712         background. Use greyOut() and the new show() methods to toggle between
11713         the foreground and background. Add code to remove the splash after
11714         its initial showing.
11715
11716         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11717         (create_forms): no longer call Dialogs::showSplash.
11718
11719 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * .cvsignore: add version_info.h
11722
11723 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11724
11725         * version_info.h.in: new file
11726
11727         * Makefile.am: add version_info.h.in
11728
11729         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11730         version_info.h instead of VERSION_INFO
11731
11732 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11735         The ERT inset now returns string().
11736
11737 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11738
11739         * lyxtext.h, text.C (selectNextWord): renamed as
11740         selectNextWordToSpellcheck.
11741
11742         * text.C (selectNextWordToSpellcheck): Modified to not select
11743         words inside an ERT inset.
11744
11745 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11746
11747         * lyx_cb.C (MenuLayoutSave): change a bit the question
11748
11749         * sp_base.h: include <sys/types.h>
11750
11751 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11752
11753         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11754
11755 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11756
11757         * several files: fix typos in user-visible strings
11758
11759 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * text2.C (pasteSelection): do not set the selection, since it
11762         will be cleared later. Actually, the intent was to fix the way the
11763         selection was set, but I figured rmoving the code was just as good.
11764
11765 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11766
11767         * FontLoader.C (available): Check if font is available without
11768         loading the font.
11769
11770 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11771
11772         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11773
11774 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11775
11776         * lyxrc.[Ch]: added display_graphics variable and associated code.
11777
11778 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11779
11780         * bufferparams.C (hasClassDefaults): new method. Returns true if
11781         the buffer parameters correspond to known class defaults
11782
11783 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * XFormsView.C (show): set minimum size to the main window.
11786
11787 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11788
11789         * text2.C (copySelection):
11790         (cutSelection):
11791         * lyxfind.C (LyXReplace):
11792         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11793         LyXText::selectionAsString.
11794
11795         * paragraph.C (asString): add "label" argument to the second form
11796
11797         * text2.C (selectionAsString): add "label" argument and pass it to
11798         Paragraph::asString.
11799
11800 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11801
11802         * lyx_main.C (commandLineHelp): remove version information
11803
11804 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11805
11806         * lyx_main.C: add -version commandline option
11807
11808 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * paragraph.h: make the optional constructor arg required instead.
11811         some modifications to other files because of this.
11812
11813         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11814
11815         * lyxserver.C (C_LyXComm_callback): make it static
11816
11817         * lyx_main.C (error_handler): make it static
11818
11819         * lyx_gui.C (LyX_XErrHandler): make it static
11820
11821         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11822
11823         * WorkArea.C: make the extern "C" methods static.
11824
11825         * Makefile.am (lyx_LDADD): simplify
11826
11827 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11828
11829         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11830         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11831
11832         * LyXAction.C (init):
11833         * lyxfunc.C (dispatch): associated code removal.
11834
11835 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * lyxfont.h (isSymbolFont): shut off warning
11838
11839         * text.C (setHeightOfRow):
11840         (getVisibleRow): fix crash with empty paragraphs which have a
11841         bottom line
11842
11843 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11844
11845         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11846         code.
11847
11848 2001-09-04  José Matos  <jamatos@fep.up.pt>
11849         * buffer.C
11850         * buffer.h
11851         * tabular.C (docbook): rename docBook method to docbook.
11852
11853 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11854
11855         * Makefile.am: add dependencies to main.o.
11856
11857 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11858
11859         * FontLoader.C (available): Return false if !lyxrc.use_gui
11860
11861 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11862
11863         * FontInfo.C (query):
11864         * converter.C (view):
11865         * importer.C (Import):
11866         * exporter.C (Export): Can not -> cannot.
11867
11868 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * BufferView_pimpl.C: allow to create index inset even if
11871           string is empty
11872
11873 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * buffer.C (getLists): replace boost::tie code with an explicit pair
11876         as boost::tie can break some compilers.
11877
11878         * iterators.h: Added a std:: declaration to the return type of
11879         ParIterator::size.
11880
11881 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11884           case.
11885
11886 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * iterators.[Ch]: New files. Provide paragraph iterators.
11889
11890         * buffer.C (changeLanguage): Use paragraph iterators.
11891         (isMultiLingual): ditto
11892
11893         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11894
11895 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * FontLoader.C: Support for cmr font.
11898
11899 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11900
11901         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11902         (available): New method.
11903
11904         * FontInfo.C (getFontname): Use scalable fonts even when
11905         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11906         found.
11907
11908 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11909
11910         * converter.C (Formats::view): reverted! Incorrect fix.
11911
11912 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11913
11914         * converter.C (Formats::view): only output the -paper option
11915         if the dvi viewer is xdvi, thereby fixing bug #233429.
11916
11917 2001-08-23  Herbert Voss  <voss@perce>
11918
11919         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11920
11921 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11922
11923         * Spacing.h (Spacing): Set space to Default on in the default
11924         constructor.
11925
11926 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * vc-backend.h (RCS::versionString): add RCS to version
11929         (CVS::versionString): add CVS to version
11930
11931         * vc-backend.C (scanMaster): do not add CVS to version.
11932         (scanMaster): do not add RCS to version
11933
11934         * lyxvc.C (versionString): new method
11935
11936         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11937
11938 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * Spacing.C (set): initialize fval
11941
11942 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11943
11944         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11945         " or \.
11946
11947 2001-08-16  Juergen Vigna  <jug@sad.it>
11948
11949         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11950
11951 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * BufferView_pimpl.C:
11954         * figureForm.C:
11955         * lyxtext.h:
11956         * text2.C: setParagraph takes linespacing now
11957
11958 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * LyxAction.C: add internal LFUN_CITATION_INSERT
11961
11962         * LyXView.C: actually apply fix
11963
11964         * bufferlist.C: fix open non-existent file
11965
11966         * lyxfind.C: fix indentation
11967
11968         * lyxfunc.C: remove unneeded assert, fix typo
11969
11970 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * MenuBackend.C: use "Floatname List"
11973
11974 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11977         when converting LaTeX layout to insetERT.
11978         Generate a non-collapsed float when reading old float
11979
11980 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11983         ERT insets.
11984
11985 2001-08-13  Juergen Vigna  <jug@sad.it>
11986
11987         * text.C (fill): return 0 instead of 20 as this seems to be the more
11988         correct value.
11989
11990 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11991
11992         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11993         lyxrc.font_norm.
11994
11995 2001-08-13  Juergen Vigna  <jug@sad.it>
11996
11997         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11998         casesensitive off.
11999         (SearchBackward): comment out the unlocking of the inset_owner this
12000         should not be needed!
12001
12002 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * Many files: Remove inherit_language, and add latex_language
12005
12006         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12007         collapsible insets.
12008
12009 2001-08-10  Juergen Vigna  <jug@sad.it>
12010
12011         * text.C (prepareToPrint): fixed hfill-width in draw!
12012
12013         * BufferView2.C (selectLastWord): save the selection cursor as this
12014         now is cleared in the function LyXText::clearSelection!
12015
12016 2001-08-08  Juergen Vigna  <jug@sad.it>
12017
12018         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12019         BACKSPACE type functions.
12020
12021         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12022         is only cutted from the document but not put in the cut-buffer, where
12023         still the old stuff should be.
12024
12025         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12026
12027         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12028
12029         * tabular.C (SetWidthOfCell): fixed special case where the width
12030         was not updated!
12031         (LeftLine): handle '|' in align_special.
12032         (RightLine): ditto
12033         (LeftAlreadyDrawed): ditto
12034         (SetWidthOfCell): ditto
12035
12036 2001-08-07  Juergen Vigna  <jug@sad.it>
12037
12038         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12039
12040 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12043         * lyxlex.[hC]: ditto
12044
12045 2001-08-06  Juergen Vigna  <jug@sad.it>
12046
12047         * text.C (getVisibleRow): fix up row clearing a bit.
12048
12049 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * minibuffer.C: make sure the X server sees the changes in the input.
12052
12053 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * paragraph.C (getFont): split into...
12056         (getLabelFont): this
12057         (getLayoutFont): and this
12058         * paragraph_pimpl.C (realizeFont): calling this
12059
12060         * text2.C (getFont): split into...
12061         (getLayoutFont): this
12062         (getLabelFont): and this
12063         (realizeFont): all three calling this
12064
12065         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12066         files where used.
12067
12068 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12069
12070         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12071
12072 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12073
12074         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12075         layouts from the Quote inset insertion.
12076
12077 2001-08-03  Juergen Vigna  <jug@sad.it>
12078
12079         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12080
12081         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12082         only if status not is already CHANGED_IN_DRAW (second level).
12083
12084         * text.C (draw): don't set the need_break_row when inside an
12085         InsetText LyXText.
12086
12087 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * buffer.C (parseSingleLyXformat2Token): handle more latex
12090         conversion cases.
12091
12092         * bufferview_funcs.[hC]: change function names to
12093         begin with small char, adjust other files.
12094
12095 2001-08-02  André Pönitz <poenitz@gmx.net>
12096
12097         * lyxfunc.C:
12098         BufferView_pimpl.C: remove broken special code for math-greek
12099
12100 2001-08-02  Juergen Vigna  <jug@sad.it>
12101
12102         * BufferView_pimpl.C (update): redone this function so that we
12103         update the text again if there was a CHANGE_IN_DRAW.
12104
12105         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12106         (drawFromTo): added a new internal bool which is used by draw() and
12107         redraw() function.
12108         (general): some cursor drawing problems fixed.
12109
12110 2001-08-01  Juergen Vigna  <jug@sad.it>
12111
12112         * lyxfind.C (LyXFind): fixed
12113         (SearchForward): ditto
12114         (SearchBackward): ditto
12115
12116         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12117         spurius drawing of the cursor in the main area.
12118
12119         * text2.C (status): small fix which could lead to a segfault!
12120         (clearSelection): remove unneeded BufferView param.
12121
12122 2001-08-01  André Pönitz <poenitz@gmx.net>
12123
12124         * lyxfunc.C: small change due to changed mathed interface
12125
12126 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12127
12128         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12129
12130 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * lyxfunc.c: fail gracefully if file doesn't exist
12133
12134         * LyXSendto.C:
12135         * buffer.C:
12136         * lyxfunc.C:
12137         * BufferView_pimpl.C: IsDirWriteable() proto changed
12138
12139         * LyXView.C: fix updateWindowTitle() to store the last title
12140
12141 2001-07-31  Juergen Vigna  <jug@sad.it>
12142
12143         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12144         the font (wrong since using of Paragraph::highestFontInRange).
12145
12146         * paragraph.C (highestFontInRange): added a default_size parameter.
12147
12148         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12149         (setHeightOfRow): reformat
12150
12151 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * converter.[hC] + affected files: move to (inital-char)lowercase
12154         function names.
12155
12156         * ParagraphParameters.C (ParagraphParameters): remove commented code
12157
12158         * PainterBase.[Ch]: remove commented code
12159
12160         * LaTeXFeatures.h: add "bool floats" for float.sty
12161
12162         * LaTeXFeatures.C (LaTeXFeatures): init floats
12163         (require): handle float
12164         (getPackages): do it with floats
12165
12166 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12167
12168         * BufferView_pimpl.C (Dispatch): improve handling of
12169         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12170
12171         * commandtags.h: #include lyxfont.h here temporarily to avoid
12172         keybinding bug.
12173
12174         * bufferlist.h: include LString.h here.
12175
12176 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * text2.C (getStringToIndex): new method.
12179
12180 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12181
12182         * *: Reduced header file dependencies all over.
12183
12184 2001-07-30  Baruch Even  <baruch@lyx.org>
12185
12186         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12187
12188 2001-07-29  Baruch Even  <baruch@lyx.org>
12189
12190         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12191
12192 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * ParameterStruct.h (endif): add a default constructor to make
12195         sure that all variables is initialized.
12196
12197         * ParagraphParameters.C (ParagraphParameters): adjust
12198
12199 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12202         index; also, check that there is something to index, and that it
12203         does not span over several paragraphs.
12204         (doubleClick): use WHOLE_WORD_STRICT for double click.
12205
12206         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12207
12208         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12209         scheme.
12210
12211 2001-07-26  Baruch Even  <baruch@lyx.org>
12212
12213         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12214         an InsetFig figure, backwards compatible reading of old figure code.
12215
12216 2001-07-27  Juergen Vigna  <jug@sad.it>
12217
12218         * text2.C: font.realize function adaption.
12219
12220         * text.C (draw): add a warnings lyxerr text if needed.
12221
12222         * layout.C: font.realize function adaption.
12223
12224         * language.C: add inherit_language and implement it's handlings
12225
12226         * bufferview_funcs.C (StyleReset): remove language parameter from
12227         font creation (should be language_inherit now).
12228
12229         * bufferparams.C (writeFile): handle ignore_language.
12230
12231         * paragraph.C (getFontSettings): the language has to be resolved
12232         otherwise we have problems in LyXFont!
12233
12234         * lyxfont.C (lyxWriteChanges): added document_language parameter
12235         (update): removed unneeded language parameter
12236
12237         * paragraph.C (validate): fixed wrong output of color-package when
12238         using interface colors for certain fonts in certain environments,
12239         which should not seen as that on the final output.
12240
12241 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * BufferView_pimpl.C:
12244         * Thesaurus.h:
12245         * Thesaurus.C:
12246         * Makefile.am:
12247         * commandtags.h:
12248         * LyXAction.C: add thesaurus support
12249
12250         * lyxfind.h:
12251         * lyxfind.C: add "once" parameter, for thesaurus, to not
12252           move to the next match
12253
12254 2001-07-26  Juergen Vigna  <jug@sad.it>
12255
12256         * lyxfont.C (realize): honor ignore_language too!
12257         (resolved): ditto.
12258
12259         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12260
12261         * text.C (draw): one place more for ignore_language to not draw
12262         itself!
12263
12264 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12267
12268 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12271         the minipage conversion problem.
12272
12273 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12276         insert an inset.
12277
12278 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * BufferView.h: don't forward declare WorkArea
12281
12282         * BufferView.C: don't include WorkArea.h
12283
12284 2001-07-25  André Pönitz <poenitz@gmx.net>
12285
12286         * commandtags.h:
12287         * LyXAction.C:
12288         * lyxfunc.C:  new LFUN 'math-space'
12289
12290         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12291
12292 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * text2.C (toggleInset): call open/close
12295
12296 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * lyxfunc.C (dispatch): add debug for the disabled case
12299
12300         * font.C (buttonText): make similar to rectText
12301
12302         * buffer.C (readInset): comment out parsing of insetlist and
12303         insttheorem
12304
12305         * PainterBase.C (rectText): small correction
12306
12307         * BufferView_pimpl.C: comment out insettheorem and insetlist
12308         * LyXAction.C: ditto
12309         * commandtags.h: ditto
12310
12311 2001-07-24  Juergen Vigna  <jug@sad.it>
12312
12313         * text.C (draw): honor the ignore_language.
12314
12315         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12316
12317 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12320         char inset.
12321
12322 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12323
12324         * lyxtext.h: remove unused (and unimplemented) methods
12325
12326 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12327
12328         * text.C (getVisibleRow): honor background color
12329
12330         * PainterBase.h:
12331         * Painter.h: remove default color argument for fillRectangle
12332
12333         * text.C (backgroundColor): new method
12334
12335 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * text.C (getVisibleRow): adjust
12338
12339         * font.[Ch] (rectText): new method, metrics
12340         (buttonText): new method, metrics
12341
12342         * PainterBase.[hC]: make rectText and buttonText always draw and take
12343         fewer paramteres.
12344
12345 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12346
12347         * ToolbarDefaults.C (read):
12348         * MenuBackend.C (read): allow escaping in all strings
12349
12350         * BufferView_pimpl.C (insertAndEditInset): new method.
12351         (Dispatch): use insertAndEditInset whenever appropriate.
12352
12353         * BufferView_pimpl.C (insertNote): removed
12354
12355         * BufferView_pimpl.C (smartQuote): new method, moved from
12356         BufferView; if an insetquote cannot be inserted, insert a '"'
12357         character instead.
12358
12359         * BufferView2.C: remove insertCorrectQuote();
12360
12361         * lyxfunc.C (getStatus): Add support for all remaingin
12362         inset-insert lfuns.
12363
12364         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12365
12366         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12367         command (necessary to pass " as parameter of self-insert.
12368
12369         * text.C (selectWordWhenUnderCursor):
12370         (selectWord): add word_location parameter
12371         (selectWordWhenUnderCursor): same + remove special code for word
12372         boundary.
12373         (selectNextWord): use kind() to guess type of insetspecialchar,
12374         not latex().
12375
12376         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12377         (insertErtContents): create ert insets as collapsed.
12378         (readInset): better compatibility code for Info inset.
12379
12380 2001-07-20  Juergen Vigna  <jug@sad.it>
12381
12382         * lyxfunc.C (dispatch): use always LyXFind now!
12383
12384         * text2.C (init): add a reinit flag so that the LyXText can be
12385         reinited instead of deleted and reallocated (used in InsetText).
12386
12387         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12388
12389         * text.C: ditto
12390
12391         * text2.C: ditto
12392
12393 2001-07-18  Juergen Vigna  <jug@sad.it>
12394
12395         * text.C (selectNextWord): handle insets inside inset by calling
12396         always the bv->text functions so that we can go up the_locking_inset!
12397
12398         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12399         in strange locations when inside an inset!
12400
12401         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12402         handling to include insets.
12403
12404         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12405
12406 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * LyXAction.C (init):
12409         * commandtags.h:
12410         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12411         LIGATURE_BREAK, since the name is so stupid.
12412
12413 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12414
12415         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12416         InsetInfos.
12417
12418         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12419
12420         * sp_form.[Ch]: remove.
12421
12422         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12423
12424         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12425         InsetInfo.
12426
12427         * src/buffer.C (readInset): ditto.
12428
12429 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12430
12431         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12432         menuSeparator(), endOfSentenceDot(), ldots() and
12433         hyphenationPoint(), which are therefore removed.
12434         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12435
12436         * LyXAction.C (init):
12437         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12438
12439         * paragraph.C (getWord): removed.
12440
12441         * BufferView_pimpl.C (Dispatch): use last word or selection for
12442         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12443
12444         * lyx_main.C (queryUserLyXDir): do not ask before creating
12445         user_dir, except if it has been named explicitely.
12446
12447 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12448
12449         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12450         a document of zero size.
12451
12452 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12453
12454         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12455         approriately in the c-tor and in require().
12456         (getPackages): output the appropriate LaTeX for natbib support.
12457
12458         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12459         variables "use_natbib" and "use_numerical_citations" when reading the
12460         LyX file.
12461         (readInset): read the various natbib cite commands.
12462         (validate): white-space change.
12463
12464         * bufferparams.[Ch]: new variables "bool use_natbib" and
12465         "bool use_numerical_citations".
12466         (writeFile): output them in the LyX file.
12467
12468 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12469
12470         * lyxfunc.C (getStatus): add support for all the inset insertion
12471         commands.
12472
12473         * text2.C (insertInset):
12474         * paragraph.C (insetAllowed):
12475         * BufferView_pimpl.C (insertInset): update to take in account the
12476         renaming of insertInsetAllowed
12477
12478         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12479
12480         * text2.C (getInset): new method. returns inset at cursor position.
12481
12482         * BufferView_pimpl.C (Dispatch): changes because of this.
12483
12484         * LyXAction.C (init): rename open-stuff to inset-toggle.
12485
12486         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12487
12488         * text2.C (toggleInset): renamed from openStuff; use
12489         Inset::open().
12490
12491 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12492
12493         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12494
12495         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12496
12497 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12498
12499         * buffer.C (readLyXformat2): Add filename to the error dialog
12500
12501 2001-07-18  Juergen Vigna  <jug@sad.it>
12502
12503         * tabular.C (GetCellNumber): put an assert here instead of the check!
12504
12505 2001-07-17  Juergen Vigna  <jug@sad.it>
12506
12507         * BufferView_pimpl.C (toggleSelection): adapted too.
12508
12509         * text.C (selectNextWord): adapted for use with insets.
12510         (selectSelectedWord): ditto
12511
12512 2001-07-17  Juergen Vigna  <jug@sad.it>
12513
12514         * sp_spell.C (PSpell): fix initialitation order.
12515
12516 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * paragraph.C: spacing
12519
12520 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12521
12522         * sp_spell.C: repair language selection for pspell
12523
12524 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * lyxfunc.h: change more methods to begin with lower char.
12527
12528 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12531         for unknown layouts.
12532
12533 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12534
12535         * buffer.C (readLyXformat2): Generate an error dialog if there are
12536         unknown layouts.
12537
12538 2001-07-16  Juergen Vigna  <jug@sad.it>
12539
12540         * sp_spell.C: always compile ISpell part.
12541
12542         * lyxrc.C: added use_pspell entry and it's handling.
12543
12544 2001-07-13  Juergen Vigna  <jug@sad.it>
12545
12546         * sp_spell.C: removed double includes.
12547
12548 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12549
12550         Consistent use of Lsstream.h:
12551         * Lsstream.h: added using std::stringstream for consistencies sake.
12552
12553         * buffer.C: removed using std::stringstream
12554
12555         * lyxfont.C (stateText):
12556         * paragraph.C (asString):
12557         * text.C (selectNextWord, selectSelectedWord):
12558         * text2.C (setCounter):
12559         * vspace.C (asString, asLatexString):
12560         std::ostringstream -> ostringstream.
12561
12562 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12563
12564         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12565         * commandtags.h: add LFUN_HELP_ABOUTLYX
12566         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12567
12568 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12569
12570         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12571         cursorToggle()
12572         * lyx_gui_misc.C: remove spellchecker
12573         * lyxfunc.C: showSpellchecker
12574         * sp_base.h: added
12575         * sp_ispell.h: added
12576         * sp_pspell.h: added
12577         * sp_spell.C: added
12578         * sp_form.[Ch]: removed
12579         * spellchecker.[Ch]: removed
12580
12581 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12582
12583         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12584         is set.
12585         (simpleTeXSpecialChars): Simply print the input character without
12586         any special translation if pass_thru is set.
12587
12588         * layout.h: Added bool pass_thru to layout class for being able to
12589         implement pass through of a paragraph for Literate Programming.
12590
12591         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12592         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12593         * layout.C (Read): add "passthru" to list of layout tags and add
12594         code to set the pass_thru boolean when it is read.
12595
12596 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * trans_decl.h: remove allowed from KmodInfo
12599
12600         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12601         remove allowed code
12602         (Load): adjust
12603
12604         * paragraph_pimpl.C (erase): use boost::prior
12605
12606         * Painter.C (text): use data() instead of c_str() when length is
12607         also provided.
12608         * WorkArea.C (putClipboard): ditto
12609         * font.h (width): ditto
12610
12611         * BufferView2.C: use it-> instead of (*it). for iterators
12612         * texrow.C: ditto
12613         * paragraph_pimpl.C: ditto
12614         * paragraph.C: ditto
12615         * minibuffer.C: ditto
12616         * language.C: ditto
12617         * kbmap.C: ditto
12618         * encoding.C: ditto
12619         * counters.C: ditto
12620         * converter.C: ditto
12621         * chset.C: ditto
12622         * Variables.C: ditto
12623         * TextCache.C: ditto
12624         * MenuBackend.C: ditto
12625         * LyXAction.C: ditto
12626         * LColor.C: ditto
12627         * FloatList.C: ditto
12628         * DepTable.C: ditto
12629         * ColorHandler.C (LyXColorHandler): ditto
12630
12631 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12634
12635         * text2.C (openStuff): reintroduce this method (which had been
12636         nuked in NEW_INSETS frenzy).
12637
12638         * lyxfunc.C (Dispatch): when an action has not been handled, use
12639         its name in the error message, not its number.
12640
12641         * paragraph.C (inInset): change method name to begin with lowercase.
12642
12643         * undo_funcs.C:
12644         * text2.C: updates because of this.
12645
12646 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * ToolbarDefaults.C (add): add spaces in error message
12649
12650 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12653         (readLyXformat2): rename return_par to first_par, use lyxlex's
12654         pushToken and remove the manual push handling.
12655         (parseSingleLyXformat2Token): add another ert comp. variable:
12656         in_tabular, rename return_par to first_par. handle newlines better
12657
12658 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12661
12662 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * text2.C (getParFromID): removed
12665
12666         * buffer.C (getParFromID): new method moved form lyxtext.
12667         * BufferView2.C (insertErrors): adjust
12668         (setCursorFromRow): adjust
12669         * BufferView_pimpl.C (restorePosition): adjust
12670         * lyxfunc.C (Dispatch): adjust
12671         * undo_funcs.C (textUndo): adjust
12672         (textRedo): adjust
12673         (textHandleUndo): adjust
12674         (textHandleUndo): adjust
12675
12676 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * buffer.C: up' the LYX_FORMAT
12679
12680         * lyxfont.h: turn NO_LATEX on as default
12681
12682         * buffer.C (insertErtContents): new methods of tex style compability.
12683         (parseSingleLyXformat2Token): use it several places.
12684         * tabular.C (OldFormatRead): and here
12685
12686 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * text2.C: remove some commented code.
12689         reindent file.
12690
12691         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12692         * trans.C: changes because of the above.
12693
12694 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12695
12696         * text2.C (setCounter): Fix counters bug with bibliography layout.
12697
12698 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12701         own member functions
12702         (simpleTeXSpecialChars): ditto
12703
12704 2001-07-06  Juergen Vigna  <jug@sad.it>
12705
12706         * a lot of files: changed the access to LyXText::status and the
12707         call of undo-functions.
12708
12709         * undo.[Ch]: added a inset_id to the undo informations.
12710
12711         * undo_funcs.[Ch]: added and moved here all undo functions.
12712
12713         * lyxtext.h: give the status enum a weight, made status_ a private
12714         variable and made accessor functions for it, removed the whole bunch
12715         of undo-functions as they are now in their own file, make some
12716         functions publically available. Added function ownerParagraph with
12717         int parameter.
12718
12719         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12720         made InInset() a const function, added getParFromID() function.
12721
12722         * buffer.[Ch]: added const version for inset_iterator functions,
12723         added getInsetFromID() function.
12724
12725         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12726         changed undo functions for new version.
12727
12728 2001-07-05  Juergen Vigna  <jug@sad.it>
12729
12730         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12731         unknow mechanism does not call the proper constructor but only this
12732         one also if I request the other!?
12733
12734 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12737
12738         * text2.C (LyXText): use initialization lists.
12739
12740         * lyxtext.h (Selection): initialize set_ and mark_
12741         (init): remove method
12742
12743 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12744
12745         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12746
12747 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * screen.[Ch]: change method names to begin with lowercase
12750
12751         * BufferView_pimpl.C (updateScrollbar): simplify further and
12752         hopefully make it a bit faster.
12753
12754 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12755
12756         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12757         calling directly xforms functions.
12758
12759         * Painter.C (Painter):
12760         * lyx_cb.C (MenuWrite):
12761         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12762         fl_display.
12763
12764         * lyx_gui.C: remove bogus guiruntime extern declaration.
12765
12766 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12769         in NEW_INSETS
12770         (redoDrawingOfParagraph): ditto
12771         (redoParagraphs): ditto
12772         (cutSelection): don't create a object for CutAndPaste use the
12773         static method directly
12774         (pasteSelection): ditto
12775
12776         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12777         LyXview (+ rename)
12778
12779 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * modifications to some other files because of this.
12782
12783         * Makefile.am (lyx_SOURCES): add XFormsView
12784
12785         * XFormsView.[Ch]: new files
12786
12787         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12788         the main window. Move the gui dependent stuff to XFormsView
12789
12790 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12791
12792         * tabular.C (GetCellInset): update cur_cell also in the row/col
12793         version of this function.
12794
12795         * lyxfunc.C: no need to include figure_form.h here.
12796
12797         * FontLoader.h:
12798         * lyxfunc.h:
12799         * lyxscreen.h:
12800         * text2.C:
12801         * lyxvc.C: no need to include forms.h here.
12802
12803 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12804
12805         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12806
12807         * lyxfunc.C (Dispatch):
12808         * Spacing.C (set):
12809         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12810         constructor argument.
12811
12812 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * paragraph.C (Paragraph): dont't clear, and just set layout.
12815         (makeSameLayout): use params's copy contructor.
12816
12817         * ParagraphParameters.[Ch] (makeSame): delete method
12818
12819 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * Variables.[Ch]: fix indentation, rename set to isSet
12822
12823 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * lyxfunc.C (Dispatch): fix typo
12826
12827 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12830         upper_bound.
12831
12832         * bufferlist.C: include assert.h for emergencyWrite().
12833
12834 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12837           give up at last (bug #425202) !
12838
12839 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * lyx_gui_misc.C:
12842         * sp_form.h:
12843         * sp_form.C:
12844         * spellchecker.h:
12845         * spellchecker.C: strip spellchecker options and bring up
12846           preferences tab instead
12847
12848 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12851         the istringstream constructor
12852
12853 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * paragraph.C (getLayout): fix return value
12856
12857         * paragraph.h: do not declare getLayout as inline.
12858
12859         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12860
12861 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * lyxcursor.h (operator<): new func
12864         (operator>): new func
12865         (operator>=): new func
12866         (operator<=): new func
12867
12868         * text.C (changeCase): use selection.start and selection.end
12869         (changeRegionCase): require from to be <= to. Require par to be a
12870         valid paragraph.
12871
12872         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12873
12874 2001-06-27  Juergen Vigna  <jug@sad.it>
12875
12876         * text.C (cursorLeftOneWord): changed to return the cursor and added
12877         overlay with BufferView * parameter which calls this one.
12878         (getWord): added
12879         (selectWord): use new getWord function.
12880         (changeCase): renamed from changeWordCase as and extended to work
12881         also on selections.
12882
12883         * lyxtext.h: added enum word_location
12884
12885         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12886         changeCase as this operates now also on selections.
12887
12888 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12889
12890         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12891
12892         * many files: send debug output to Debug::INFO instead of
12893         Debug::ANY.
12894
12895         * converter.C (View):
12896         (Convert):
12897         (Move): send debug output to Debug::FILES instead of console.
12898
12899 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12900
12901         * lyxfunc.C (getStatus): use func_status
12902
12903         * func_status.h: new header, describing the results of
12904         LyXFunc::getStatus;
12905
12906         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12907         LFUN_MATH_HALIGN.
12908
12909 2001-06-25  The LyX Project  <jug@sad.it>
12910
12911         * buffer.C (sgmlOpenTag):
12912         (sgmlCloseTag):
12913         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12914
12915 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * text2.C: remove some dead code
12918
12919         * tabular.C (GetCellInset): store the last cell checked (gotten)
12920
12921         * tabular.h: add the helper for the speedup
12922
12923         * lyxtext.h: remove some dead code
12924
12925 2001-06-26  The LyX Project  <Asger>
12926
12927         * paragraph.C: Change export to LaTeX of alignment to
12928         \begin{center} and family for better roundtrip work with reLyX.
12929
12930         * Tune the math drawing a bit.
12931
12932 2001-06-25  The LyX Project  <Asger>
12933
12934         * LColor.C (LColor): New color for math background. New color
12935         for buttons.
12936
12937 2001-06-25  The LyX Project  <jug@sad.it>
12938
12939         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12940
12941         * lyxfunc.C (Open):
12942         * bufferlist.C (newFile): do not restrict to files ending with
12943         .lyx
12944
12945         * BufferView_pimpl.C (MenuInsertLyXFile):
12946
12947 2001-06-24  The LyX Project  <jug@sad.it>
12948
12949         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12950         of compare_no_case
12951
12952 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * lyxtext.h: rename most methods to begin with a small char.
12955         Lots of changes because of this.
12956
12957         * paragraph.C (Paragraph): do not call fitToSize
12958         (erase): call Pimpl::erase
12959         (insertChar): call Pimpl::insertChar
12960         (insertInset): call Pipl::insertInset
12961         (breakParagraph): do not call fitToSize
12962         (breakParagraphConservative): do not call fitToSize
12963         (fitToSize): remove method
12964
12965         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12966
12967 2001-06-24  The LyX Project  <Asger>
12968
12969         * Fix Qt compilation^2
12970
12971 2001-06-24  The LyX Project  <jug@sad.it>
12972
12973         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12974         depthHook(getDepth()-1).
12975
12976         * paragraph.h:
12977         * ParagraphParameters.h:
12978         * ParameterStruct.h: change type of depth to unsigned int ==
12979         depth_type. Many adaptations to other files before of that.
12980
12981 2001-06-24  The LyX Project  <Asger>
12982
12983         * Fix Qt compilation.
12984
12985 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * paragraph.h: renamed several methods to begin with small letter.
12988         several changes to many parts of the code because of this.
12989
12990 2001-06-23  The LyX Project  <jug@sad.it>
12991
12992         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12993         rewritten to discard all double spaces when KeepEmpty is off
12994         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12995         to only handle newlines but not fiddle with spaces and friends.
12996
12997         * lyxfunc.C (MenuNew): when doing 'new from template', use
12998         template_path as default directory
12999
13000 2001-06-23  The LyX Project  <Asger>
13001
13002         * Clean-up of header file includes all over
13003         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13004
13005 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * paragraph.h: renamed from lyxparagraph.h
13008
13009 2001-06-23  Asger  <lyx@violet.home.sad.it>
13010
13011         * Buffer.h: Removed Buffer::resize
13012         * BufferList.h: Removed BufferList::resize
13013         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13014         the document lazily when we change the width, or the font settings.
13015
13016 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13019
13020 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * buffer.h: remove out of date comment
13023
13024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * lyxscreen.h:
13027         * screen.C: fix "theoretical" GC leak
13028
13029 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13030
13031         * LaTeX.C (scanAuxFile):
13032         (deplog): remove trailing \r when reading stream (useful under
13033         win32)
13034
13035 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13036
13037         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13038         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13039         and BufferView::theLockingInset(Inset*), so should use them and not
13040         access bv_->text->the_locking_inset directly.
13041
13042         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13043
13044 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * Makefile.am:
13047         * tex-defs.h: remove old unused file
13048
13049 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13050
13051         * BufferView_pimpl.C: fix typo, remove minibuffer message
13052           when buffer has loaded
13053
13054 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * lyxfunc.C (Dispatch): use stringstream
13057         (MenuNew): use stringstream
13058         (Open): use stringstream
13059
13060         * importer.C (Import): use stringstream
13061
13062         * bufferview_funcs.C (CurrentState): use stringstream
13063
13064         * LaTeX.C (run): use stringstream
13065
13066         * BufferView_pimpl.C (savePosition): use stringstream
13067         (restorePosition): use stringstream
13068         (MenuInsertLyXFile): use stringstream
13069
13070 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13071
13072         * BufferView.C:
13073         * Bullet.C:
13074         * ColorHandler.C:
13075         * FontInfo.C:
13076         * FontLoader.C:
13077         * LColor.C:
13078         * LaTeXFeatures.C:
13079         * Painter.C:
13080         * gettext.C:
13081         * lyx_gui_misc.C:
13082         * lyxserver.C:
13083         * vspace.C: removed // -*- C++ -*- as first line.
13084
13085         * lyxfind.h:
13086         * version.h: added // -*- C++ -*- as first line.
13087
13088 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13091
13092         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13093         of string
13094
13095 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13098         of floats.
13099
13100 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * gettext.C: include LString.h even when --disable-nls is on.
13103
13104 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13105
13106         * converter.h (Get): changed argument type from int to
13107         FormatList::size_type to avoid unnecessary conversion.
13108
13109         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13110         before using it.
13111
13112 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * gettext.h: include LString.h even when --disable-nls is on.
13115
13116 2001-06-07  Juergen Vigna  <jug@sad.it>
13117
13118         * text.C (BreakAgain): subst spaces with tabs.
13119
13120         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13121         (resizeInsetsLyXText): set force on resizeLyXText.
13122
13123 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13124
13125         * gettext.h (gettext_init):
13126         (locale_init): use a real definition instead of a macro
13127
13128 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13129
13130         * Bufferview_pimpl.C:
13131         * LColor.h:
13132         * LColor.C: further lcolor tidies
13133
13134 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13135
13136         * BufferView_pimpl.C (updateScrollbar): simplify.
13137
13138         * BufferView2.C: don't include insets/insetinfo.h, change
13139         prototype for insertInset and call the Pimpl version. let
13140         updateInset call Pimpl version.
13141
13142         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13143         gotoInset to BufferView::Pimpl
13144
13145 2001-06-01  Juergen Vigna  <jug@sad.it>
13146
13147         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13148         inside a LockingInset (is the update needed at all?).
13149
13150 2001-05-31  Juergen Vigna  <jug@sad.it>
13151
13152         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13153         here not the old one otherwise how should we compare it afterwards
13154         if it's the same!
13155
13156 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * lyxfont.C:
13159         * tabular.C:
13160         * tabular-old.C:
13161         * FontInfo.C: bring C functions into global namespace when
13162         necessary
13163
13164 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * LString.h: make sure config.h has been loaded before LString.h.
13167
13168         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13169         (one for each char read by EatLine!).
13170
13171         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13172         variables.
13173
13174 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13177         to the same as the par we break from
13178
13179 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13182
13183         * MenuBackend.C (expand): also create menu entries for wide
13184         versions of the floats.
13185
13186         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13187
13188         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13189
13190         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13191         frontends/Makefile.am
13192
13193         * text2.C: adjust
13194         * text.C: adjust
13195
13196
13197         * tabular.C (getTokenValue): add std::
13198
13199         * tabular-old.C (getTokenValue): add std::
13200         (getTokenValue): ditto
13201         (getTokenValue): ditto
13202
13203         * screen.C (ToggleSelection): adjust
13204
13205         * lyxtext.h: put selection cursors inside a Selection struct.
13206
13207         * lyxfunc.C (moveCursorUpdate): adjust
13208
13209         * lyxfont.C (latexWriteStartChanges): add std::
13210
13211         * lyxfind.C: adjust
13212
13213         * font.h: delete with(char const *, LyXFont const &)
13214
13215         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13216
13217         * FontInfo.C (getFontname): add std::
13218
13219         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13220         (workAreaButtonPress): adjust
13221         (tripleClick): adjust
13222         (update): adjust
13223         (moveCursorUpdate): adjust
13224         (Dispatch): adjust
13225
13226         * BufferView2.C (gotoInset): adjust
13227
13228 2001-05-30  Juergen Vigna  <jug@sad.it>
13229
13230         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13231         to check pspell I add this as default as I now have new pspell
13232         libraries and they seem to use this.
13233
13234 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * text2.C (CutSelection): make the cursor valid before the call to
13237         ClearSelection.
13238
13239 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13240
13241         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13242         relied on 0 terminated strings and other horrors. Bug found due to
13243         the new assert in lyxstring!
13244
13245         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13246         KP_ keys.
13247
13248 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13251         to latinkeys.bind.
13252
13253         * lyxfunc.C (processKeySym): change method of getting to the
13254         self-insert char.
13255
13256         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13257         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13258         * BufferView_pimpl.[Ch]: here as private methods.
13259
13260 2001-05-28  Juergen Vigna  <jug@sad.it>
13261
13262         * text.C (SetHeightOfRow): added the update() call again as it is
13263         needed to initialize inset dimensions!
13264
13265 2001-05-16  Juergen Vigna  <jug@sad.it>
13266
13267         * text2.C (SetCharFont): Add new function with BufferView * and
13268         bool toggleall parameters for setting insets internal fonts.
13269         (SetFont): Freeze the undo as we may change fonts in Insets and
13270         all this change should be inside only one Undo!
13271
13272         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13273         setting font's in insets as for them we have the SetFont function!
13274
13275 2001-05-15  Juergen Vigna  <jug@sad.it>
13276
13277         * text2.C (ClearSelection): to be sure we REALLY don't have any
13278         selection anymore!
13279
13280         * tabular.C (TeXCellPreamble): fixed the left border problem for
13281         multicolumn cells.
13282
13283 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13286         dependancy file
13287
13288 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13291         LFUN_BREAKPARAGRAPH.
13292
13293         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13294         help test to "internal only", similar for LFUN_INSERT_URL
13295
13296         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13297         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13298         auto_region_delete and deadkeys.
13299
13300 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * LColor.h:
13303         * LColor.C: remove some dead entries, tidy a little
13304
13305 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13308         commented code.
13309         (Dispatch): implement LFUN_ESCAPE
13310
13311         * commandtags.h: add LFUN_ESCAPE
13312
13313         * LyXAction.C (init): add entry for LFUN_ESCAPE
13314
13315         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13316         Remove commented code.
13317         (insertNote): moved here
13318         (open_new_inset): moved here
13319
13320         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13321         BufferView_pimpl
13322
13323 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13324
13325         * kbmap.C (findbinding): clean it up and make it work correctly.
13326
13327         * lyx_main.C (init): do not pass argc and argv as parameters
13328
13329 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13330
13331         * buffer.C: fix path for OS/2 & Win32
13332
13333         * lyx_gui.C:
13334         * lyx_main:
13335         * lyx_main.C: Added os:: class.
13336
13337         * os2_defines.h: update
13338
13339 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13342         better by trying again with reduced state.
13343
13344 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyxrc.C (read): print error about invalid key sequence only when
13347         debugging (because not all latinX keysyms are known to some X
13348         servers)
13349
13350         * kbsequence.C (getiso): add a few std:: qualifiers
13351         (getiso): comment out extra return statement.
13352
13353 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13356         handling.
13357         (Dispatch): enhance the accent inset a bit. (not perfect)
13358
13359 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13362
13363 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * bufferlist.C (emergencyWrite): fix assert() call
13366
13367 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13368
13369         * text.C (InsertChar): Added trivial patch to only send the "you
13370         can not do multiple spaces this way" message once during a
13371         session.
13372
13373 2001-05-08  Baruch Even  <baruch@lyx.org>
13374
13375         * Makefile.am: Changed order of libraries to get LyX to link properly
13376         with the gnome frontend.
13377
13378 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13379
13380         * LaTeXFeatures.h: add a std:: qualifier
13381
13382 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * paragraph.C (String): use stringstream
13385
13386 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * paragraph.C (writeFile): remove footflag arg
13389
13390         * buffer.C (makeLaTeXFile): use stringstream
13391         (latexParagraphs): remove footnot gurba
13392
13393         * LaTeXFeatures.C (getPackages): use stringstream
13394         (getMacros): likewise
13395         (getTClassPreamble): likewise
13396         (getFloatDefinitions): new method
13397
13398         * paragraph.C (writeFile): reindent
13399         (Erase): reindent
13400
13401         * WorkArea.h: revert the xpos + etc changes.
13402
13403         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13404
13405         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13406
13407         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13408         (pasteSelection): likewise
13409         * text2.C (CreateUndo): likewise
13410
13411 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * minibuffer.C (peek_event): temporarily reduce the functionality
13414         of the minibuffer (to allow args on lfuns)
13415
13416         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13417         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13418
13419         * buffer.C (readInset): add compability reading of old float
13420         lists, add reading of new style float list.
13421         (readInset): avoid reevaluation of inscmd.getCmdName()
13422         (getLists): reindent
13423
13424         * MenuBackend.C (MenuItem): implement parsing of
13425         md_floatlistinsert and md_floatinsert.
13426         (expand::LastFiles): move initalizaton of iterators out of loop,
13427         avoid reevaluation.
13428         (expand::Documents): introduce typdedef vector<string> Strings,
13429         and use it.
13430         (expand::ExportFormats): introduce typedef vector<Format const *>
13431         Formats, and use it.
13432         (expand): implement FloatListInsert and FloatInsert.
13433
13434         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13435         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13436         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13437
13438         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13439         handling.
13440         (Dispatch::LFUN_FLOAT_LIST): implement
13441
13442 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13443
13444         * LaTeX.C (run): Fix problem with --export code.
13445
13446 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * BufferView.[Ch] (workarea): removed.
13449         (getClipboard) new method; wrapper for workarea()->getClipboard()
13450
13451         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13452         bug.
13453
13454         * WorkArea.h (width, height, xpos, ypos): These methods all
13455         returned the dimensions of the work_area sub-area of WorkArea,
13456         resulting in a position error if the WorkArea were resized. Now
13457         return the dimensions of the entire WorkArea.
13458
13459         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13460
13461 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * LaTeX.C (deplog): correct the syntax of regex reg1
13464
13465 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * undo.C: remove !NEW_INSETS cruft
13468
13469 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * text2.C: remove !NEW_INSETS cruft
13472
13473         * text.C: remove !NEW_INSETS cruft
13474
13475         * tabular.C: remove !NEW_INSETS cruft
13476
13477         * spellchecker.C: remove !NEW_INSETS cruft
13478
13479         * lyxtext.h: remove !NEW_INSETS cruft
13480
13481         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13482
13483         * lyxfunc.C: remove !NEW_INSETS cruft
13484
13485         * lyxfind.C: remove !NEW_INSETS cruft
13486
13487         * lyx_cb.C: remove !NEW_INSETS cruft
13488
13489         * figureForm.C: remove  !NEW_INSETS cruft
13490
13491         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13492
13493         * buffer.[Ch]: remove !NEW_INSETS cruft
13494
13495         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13496
13497         * CutAndPaste.C: remove !NEW_INSETS cruft
13498
13499         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13500
13501         * BufferView2.C: remove !NEW_INSETS cruft
13502
13503         * BufferView.h: remove !NEW_INSETS cruft
13504
13505 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * Lsstream.h: include LString.h before the sstream headers to
13508         fix problem with gcc 2.95.3 and lyxstring
13509
13510 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * lyx_main.C: add using directives when needed for C functions
13513         declared in std:: namespace.
13514
13515 2001-04-27  Juergen Vigna  <jug@sad.it>
13516
13517         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13518         (SetHeightOfRow): comment out the update call should not be needed!
13519
13520 2001-04-13  Juergen Vigna  <jug@sad.it>
13521
13522         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13523         (LyXTabular): tried to minimize operator= operations (and realized
13524         hopfully Lars wish).
13525
13526 2001-04-27  Juergen Vigna  <jug@sad.it>
13527
13528         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13529
13530 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13533
13534         * buffer.C (readInset): hack to make listof algorithm work
13535
13536         * BufferView_pimpl.C: hack to make listof algorithm work
13537
13538 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * LyXAction.C: removed all !NEW_INSETS cruft
13541         (init): moved lfun_item in method
13542
13543         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13544
13545 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13546
13547         * BufferView2.C (theLockingInset): white space.
13548
13549 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13550
13551         * minibuffer.C: include <iostream>
13552
13553         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13554
13555         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13556
13557         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13558
13559         * text.[Ch] (TransposeChars): new method
13560
13561 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * call message directly through LyXView instead of through LyXFunc
13564         * BufferView2.C: adjust
13565         * BufferView_pimpl.C: adjust
13566         * FontLoader.C: adjust
13567         * buffer.C: adjust
13568         * bufferview_funcs.C: adjust
13569         * converter.C: adjust
13570         * figureForm.C: adjust
13571         * importer.C: adjust
13572         * lyx_cb.C: adjust
13573         * lyx_gui_misc.C: adjust
13574         * lyxfunc.C: adjust
13575         * lyxvc.C: adjust
13576         * text2.C: adjust
13577         + more files in subdirs
13578
13579         * lyxparagraph.h (size): move up int file
13580         (GetLayout): ditto
13581
13582         * adjust all uses of Assert to lyx::Assert.
13583
13584         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13585         lyxfunctional in namespace lyx
13586         * layout.C (hasLayout): ditto
13587         (GetLayout): ditto
13588         (GetLayout): ditto
13589         (delete_layout): ditto
13590         (NumberOfClass): ditto
13591         * converter.C (GetFormat): ditto
13592         (GetNumber): ditto
13593         (Add): ditto
13594         (Delete): ditto
13595         (SetViewer): ditto
13596         * bufferlist.C (getFileNames): ditto
13597         (emergencyWriteAll): ditto
13598         (exists): ditto
13599         (getBuffer): ditto
13600         * MenuBackend.C (hasSubmenu): ditto
13601         (hasMenu): ditto
13602         (getMenu): ditto
13603         * BufferView_pimpl.C (getInsetByCode): ditto
13604
13605 2001-04-18  Juergen Vigna  <jug@sad.it>
13606
13607         * vspace.C (asLatexString): fixed the 100% problem.
13608
13609 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * lyxfunc.C (Dispatch):
13612         * minibuffer.C:
13613         * minibuffer.h: add a few std:: qualifiers
13614
13615 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * minibuffer.[Ch]: reimplement so that commands is initiated and
13618         run from lyxfunc, simplified som handling, and made the completion
13619         and history code for complete. wip.
13620
13621         * lyxfunc.C (processKeySym): call message
13622         (miniDispatch): new temporary method
13623         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13624         (LFUN_MESSAGE): implement
13625         (LFUN_MESSAGE_PUSH): implement
13626         (LFUN_MESSAGE_POP): implement
13627         (initMiniBuffer): the initial/defualt minibuffer message.
13628
13629         * lyxfont.[Ch]: inline some more getters
13630
13631         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13632
13633         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13634
13635         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13636         (AutoSave): use LFUN_MESSAGE
13637         (Reconfigure): ditto
13638
13639         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13640
13641         * figureForm.C: use LFUN_MESSAGE
13642
13643         * converter.C (runLaTeX): use LFUN_MESSAGE
13644
13645         * bufferview_funcs.C: use LFUN_MESSAGE
13646         (Melt): ditto
13647         (changeDepth): ditto
13648
13649         * bufferparams.h: use boost::
13650
13651         * bufferlist.h: inherit privately from noncopyable
13652
13653         * bufferlist.C (loadLyXFile): remove some commented code.
13654
13655         * buffer.C (runChktex): use LFUN_MESSAGE
13656
13657         * ShareContainer.h: inherit privately from noncopyable
13658
13659         * ParagraphParameters.[hC] (depth): inline it.
13660
13661         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13662         methods.
13663         (message): new method
13664         (messagePush): ditto
13665         (messagePop): ditto
13666         (show): init minibuffer
13667         (showState): direct call
13668
13669         * LaTeX.[Ch]: inherit privately from noncopyable
13670         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13671         instead of WriteStatus.
13672
13673         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13674
13675         * BufferView_pimpl.C (buffer): don't init minibuffer
13676         (workAreaButtonPress): use LFUN_MESSAGE
13677         (workAreaButtonRelease): ditto
13678         (savePosition): ditto
13679         (restorePosition): ditto
13680         (MenuInsertLyXFile): ditto
13681         (workAreaExpose): don't init minibuffer
13682         (update): remove commented code, simplify
13683
13684         * BufferView2.C (openStuff): use LFUN_MESSAGE
13685         (toggleFloat): ditto
13686         (menuUndo): ditto
13687         (menuRedo): ditto
13688         (copyEnvironment): ditto
13689         (pasteEnvironment): ditto
13690         (copy): ditto
13691         (cut): ditto
13692         (paste): ditto
13693         (gotoInset): ditto
13694         (updateInset): remove some commented code
13695
13696         * lastfiles.h: inherit privately from noncopyable
13697         * layout.h: ditto
13698         * lyx_gui.h: ditto
13699         * lyx_main.h: ditto
13700         * lyxlex.h: ditto
13701         * lyxlex_pimpl.h: ditto
13702
13703         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13704         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13705         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13706
13707         * LyXAction.h: inherit privately from noncopyable, add methods
13708         func_begin, func_end, returning iterators to the func map.
13709
13710         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13711         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13712         (func_begin): new method
13713         (func_end): new method
13714
13715         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13716         and not)
13717         (copySelection): ditto
13718         (pasteSelection): ditto
13719
13720         * BufferView.C: whitespace change
13721         * BufferView.h: inherit privately from noncopyable
13722
13723 2001-04-16  Allan Rae  <rae@lyx.org>
13724
13725         * tabular-old.C (l_getline):
13726         * spellchecker.C (sc_check_word):
13727         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13728         an unrecognised preprocessor directive.  So ensure they're wrapped.
13729
13730 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13731
13732         * src/exporter.C (Export): Give an error message when path to file
13733         contains spaces.
13734
13735 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * LaTeX.C (deplog): Always check that foundfile exists.
13738
13739 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * lyx_main.h:
13742         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13743
13744 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * tabular.[Ch] (getLabelList): implement new method
13747
13748         * minibuffer.h: comment ouf setTiimer
13749
13750         * minibuffer.C (ExecutingCB): constify res
13751         (peek_event): constify s
13752         (Set): constify ntext
13753         (Init): constify nicename
13754
13755         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13756
13757         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13758         (savePosition): use two params to Minibuffer::Set
13759         (restorePosition): ditto
13760
13761 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13762
13763         * lyx_main.C: include language.h
13764
13765         * Makefile.am (lyx_main.o): add language.h
13766
13767 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * exporter.C:
13770         * paragraph.C:
13771         * screen.C:
13772         * tabular.C:
13773         * CutAndPaste.C: include gettext.h
13774
13775         * lyxfont.h: remove old hack with ON and OFF.
13776
13777         * lyxparagraph.h:
13778         * lyxfont.h: do not include language.h...
13779
13780         * BufferView2.C:
13781         * LaTeXFeatures.C:
13782         * Painter.C:
13783         * bufferview_funcs.C:
13784         * font.C:
13785         * lyxfont.C:
13786         * text.C:
13787         * text2.C:
13788         * trans_mgr.C:
13789         * paragraph.C: ... but do it here instead
13790
13791 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13794
13795         * tabular.C: small reformat
13796
13797         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13798         NEW_INSETS version
13799         (GetChar): ditto
13800         (BreakParagraph): ditto
13801         (SetOnlyLayout): ditto
13802         (SetLayout): ditto
13803
13804         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13805         with one arg less.
13806
13807         * lastfiles.C: removed most using decl, add std:: where needed
13808
13809         * buffer.C: ws changes
13810
13811         * MenuBackend.C (class compare_format): put into anon namespace
13812         (expand): constify label, names, action, action2
13813         (expand):
13814
13815         * text.C (SingleWidth): constify font
13816         (IsBoundary): constify rtl2
13817         (GetVisibleRow): constify ww
13818
13819         * LaTeX.C (deplog): constify logfile
13820
13821         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13822         start_x, end_x
13823         (workAreaExpose): constify widthChange, heightChange
13824
13825         * lyxrow.C (par): moved
13826         (height): moved
13827         (next): moved
13828         * lyxrow.h: as inlines here
13829
13830         * lyxfont.h (shape): moved from lyxfont.C
13831         (emph): moved from lyxfont.C
13832
13833         * lyxfont.C (LyXFont): use initialization list for all
13834         constructors
13835         (shape): move to lyxfont.h as inline
13836         (emph): move to lyxfont.h as inline
13837
13838
13839 2001-04-04  Juergen Vigna  <jug@sad.it>
13840
13841         * vspace.C: had to include stdio.h for use of sscanf
13842
13843 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * BufferView.h:
13846         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13847         independent of xforms.
13848
13849 2001-04-02  Juergen Vigna  <jug@sad.it>
13850
13851         * spellchecker.C: fixed namespace placing!
13852
13853 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13854
13855         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13856         the LyXParagraph * is 0.
13857
13858 2001-03-29  Juergen Vigna  <jug@sad.it>
13859
13860         * vspace.C: added support for %, c%, p%, l%.
13861         (stringFromUnit): added helper function.
13862         (asLatexString): changed to give right results for the %-values.
13863
13864         * buffer.C: convert the widthp in a width%.
13865
13866 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13869         figureForm.[Ch].
13870
13871         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13872         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13873
13874         * lyx_cb.[Ch]: see above.
13875
13876         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13877         form1.[Ch].
13878
13879         * form1.[Ch]:
13880         * lyx.[Ch]: replaced by figure_form.[Ch].
13881
13882         * lyx_gui.C:
13883         * lyx_gui_misc.C:
13884         * lyxfunc.C: changed headers associated with above changes.
13885
13886 2001-03-27  Juergen Vigna  <jug@sad.it>
13887
13888         * BufferView_pimpl.C: set the temporary cursor right!
13889
13890 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13891
13892         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13893
13894 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13895
13896         * LString.h: removed "using std::getline"!
13897
13898         * BufferView_pimpl.C (Dispatch): changes due to changes in
13899         InsetInclude::Params.
13900
13901         * buffer.C (tag_name): removed redundant break statements as they were
13902         producing lots of warnings with my compiler.
13903
13904 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * LString.h: add "using std::getline" when using the real <string>.
13907
13908 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13909
13910         * buffer.C: removed bitset usage.
13911         PAR_TAG moved to an anonymous name space.
13912         (tag_name): new funtion, also in the anonymous namespace.
13913         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13914         (makeDocBookFile): clean code. Completed transition from string arrays
13915         to string vectors.
13916         (SimpleDocBookOnePar): code clean.
13917
13918 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13919
13920         * tabular.C: add some comments.
13921
13922 2001-03-22  Juergen Vigna  <jug@sad.it>
13923
13924         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13925         compatibility read a bit and fixed bug with minipage in different
13926         depth.
13927
13928 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13929
13930         * buffer.C (pop_tag): removed.
13931         (push_tag): removed.
13932         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13933         array replaced with vector. Added support for CDATA sections.
13934         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13935         at any nest level.
13936         (makeDocBookFile): XML conformant declaration of CDATA section,
13937         fixed bug related to <emphasis> in the first paragraph char.
13938         (sgmlOpenTag): exclude empty tags.
13939         (sgmlCloseTag): ditto.
13940
13941         * buffer.h (pop_tag): removed.
13942         (push_tag): removed.
13943
13944 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13945
13946         * language.h (Languages): added size_type and size().
13947
13948 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13949
13950         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13951         response on compability reading of minipages. One probliem is that
13952         the old usage of minipages was «flertydig»
13953
13954         * several files here and in subdirs: don't use static at file
13955         scope use anon namespaces instead.
13956
13957 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13958
13959         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13960         LaTeX output. This is necessary for Literate document
13961         processing.
13962
13963 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13964
13965         * buffer.C: insert hfill when needed.
13966
13967         * tabular.C (l_getline): use string::erase, small whitespace change.
13968
13969         * BufferView_pimpl.C: try the anon namespace.
13970         * WorkArea.C: ditto
13971
13972 2001-03-16  Juergen Vigna  <jug@sad.it>
13973
13974         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13975         otherwise it won't open options-dialogs.
13976
13977         * buffer.C: honor pextraWidth(p) on converting minipages.
13978
13979         * tabular.C (l_getline): changed the functions to strip trailing \r.
13980
13981 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13982
13983         * BufferView_pimpl.C:
13984         * minibuffer..C: added "using SigC::slot" declaration.
13985
13986 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13987
13988         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13989
13990         * text2.C: ditto
13991
13992         * text.C: ditto
13993
13994         * paragraph.C: ditto
13995
13996         * lyxtext.h: NO_PEXTRA
13997
13998         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13999
14000         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14001         * ParameterStruct.h: ditto
14002         * ParagraphParameters.h: ditto
14003         * lyxparagraph.h: ditto
14004
14005 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14006
14007         * buffer.C: add compability for minipage alignment.
14008         (latexParagraphs): remove unwanted pextra check.
14009
14010         * several files: remove CXX_WORKING_NAMESPACES
14011
14012         * buffer.C (pop_tag): tie is in namespace boost
14013
14014         * BufferView.h: noncopyable is in namespace boost
14015         * lyxlex.h: ditto
14016         * lyx_main.h: ditto
14017         * lyx_gui.h: ditto
14018         * layout.h: ditto
14019         * lastfiles.h: ditto
14020         * bufferlist.h: ditto
14021         * ShareContainer.h: ditto
14022         * LyXView.h: ditto
14023         * LyXAction.h: ditto
14024         * LaTeX.h: ditto
14025
14026 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * Merging changes from BRANCH_MVC back into HEAD.
14029
14030         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14031
14032 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14033
14034         * BufferView_pimpl.C: change from intl.C
14035
14036         * combox.h:
14037         * combox.C:
14038         * Makefile.am: move combox.*
14039
14040         * form1.h:
14041         * form1.C:
14042         * lyx_gui.C:
14043         * intl.h:
14044         * intl.C: remove dialog (covered by prefs)
14045
14046 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * lyxfunc.C (Dispatch): removed redundant break statement.
14049
14050 2001-03-14  Juergen Vigna  <jug@sad.it>
14051
14052         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14053
14054 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14055
14056         * buffer.C: add hack to fix compability reading of minipages.
14057
14058 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * buffer.C (getLists): Cleanup.
14061
14062 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * lyxfont.C (update): don't honor toggleall on font size.
14065
14066 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * bmtable.c:
14069         * bmtable.h:
14070         * Makefile.am: moved to frontends/xforms/
14071
14072         * lyx_gui_misc.C:
14073         * lyxfunc.C:
14074         * BufferView_pimpl.C: changes for moved mathpanel
14075
14076 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * gettext.h: fix gettext_init() in --disable-nls
14079
14080 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14083
14084 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * lyx.C:
14087         * lyx.h: strip external form
14088
14089 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14090
14091         * BufferView_pimpl.C: add comment, destroySplash()
14092
14093 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * BufferView_pimpl.C:
14096         * LyXAction.C:
14097         * buffer.C:
14098         * commandtags.h:
14099         * lyxfunc.C: use re-worked insetinclude
14100
14101 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14102
14103         * buffer.C: add using std::stringstream.
14104
14105         * lyx_cb.C: readd using std::ios.
14106
14107         * buffer.C: add using std::map.
14108
14109         * BufferView_pimpl.C: add using std::vector.
14110
14111         * ShareContainer.h: add std:: to swap.
14112
14113         * buffer.h: add some typedefs
14114         * buffer.C (getLists): use them
14115         (getLists): renamed from getTocList.
14116         add a counter for the different float types and use it in the
14117         generated string.
14118         (getLists): use the same counter for the NEW_INSETS and the "non"
14119         NEW_INSETS
14120
14121         * lyx_cb.h: remove unused items, includes, using etc.
14122
14123         * ShareContainer.h: remove some commented code, add more comments
14124         and "documentation".
14125
14126 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14127
14128         * buffer.C (getTocList): make the list also when NEW_INSETS is
14129         defined.
14130
14131         * buffer.h: remove TocType
14132
14133         * buffer.C (getTocList): change to return a map<string,
14134         vector<TocItem> >, implement for dynamic number of list.
14135
14136         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14137         * text2.C (PasteSelection): adjust
14138         * CutAndPaste.C (pasteSelection): adjust
14139
14140         * FloatList.C (FloatList): update from the new_insets branch.
14141         * Floating.[Ch]: ditto
14142         * LaTeXFeatures.C: ditto
14143         * buffer.C: ditto
14144         * lyxlex_pimpl.C: ditto
14145
14146         * paragraph.C (Last): remove when NEW_INSETS is defined.
14147
14148         * other file: changes because of the above.
14149
14150 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14151
14152         * lyxparagraph.h: rename next to next_, previous to previous_,
14153         make them private for NEW_INSETS. Rename Next() to next(),
14154         Previous() to previous().
14155
14156         * other files: changes because of the above.
14157
14158 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * BufferView.h:
14161         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14162         problem.
14163
14164 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * main.C (main): pass lyx_localedir to gettext_init().
14167
14168         * gettext.h: remove locale_init and gettext_init macros
14169
14170         * gettext.C (locale_init): new function
14171         (gettext_init): new function
14172
14173         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14174         setlocale().
14175
14176 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14177
14178         * Moved credits to frontends:
14179         * credits.[Ch]: removed
14180         * credits_form.[Ch]: removed
14181         * lyx_gui_misc.C: remove credits stuff
14182         * Makefile.am:
14183
14184 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14185
14186         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14187
14188         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14189         unneeded destructor.
14190
14191         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14192         a standalone pointer again.
14193
14194         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14195
14196 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14197
14198         * Makefile.am:
14199         * filedlg.h:
14200         * filedlg.C:
14201         * LyXAction.C:
14202         * ToolbarDefaults.C:
14203         * bufferlist.C:
14204         * commandtags.h:
14205         * form1.C:
14206         * form1.h:
14207         * lyx_cb.C:
14208         * lyx_cb.h:
14209         * lyxfunc.h:
14210         * lyxfunc.C:
14211         * BufferView_pimpl.C: use new file dialog in GUII
14212
14213         * lyx_cb.h:
14214         * lyx_cb.C: remove LayoutsCB to Toolbar
14215
14216 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * ShareContainer.h (get): add std:: qualifier
14219
14220 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * ShareContainer.h: define a proper ShareContainer::value_type
14223         type (and use typename to please compaq cxx)
14224
14225 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14226
14227         * lyxparagraph.h: move serveral local vars to
14228         ParameterStruct/ParagraphParameters., use ShareContainer in
14229         FontTable., make vars in FontTable private and add getter and
14230         setter.
14231
14232         * paragraph.C: changes because of the above.
14233
14234         * lyxfont.h: remove copy constructor and copy assignment. (the
14235         default ones is ok), move number inside FontBits. move inlines to
14236         lyxfont.C
14237
14238         * lyxfont.C: add number to initializaton of statics, move several
14239         inlines here. constify several local vars. some whitespace
14240         cleanup. Dont hide outerscope variables.
14241
14242         * Spacing.h: add two new constructors to match the set methods.
14243
14244         * ShareContainer.h: new file, will perhaps be moved to support
14245
14246         * ParameterStruct.h: new file
14247
14248         * ParagraphParameters.h: new file
14249
14250         * ParagraphParameters.C: new file
14251
14252         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14253         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14254
14255         * BufferView_pimpl.C: ParagraphParameter changes.
14256         * buffer.C: Likewise.
14257         * bufferview_funcs.C: Likewise.
14258         * text.C: Likewise.
14259         * text2.C: Likewise.
14260
14261 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * lyxfind.C (LyXReplace): do not redefine default argument in
14264         implementation.
14265         (IsStringInText): ditto
14266         (SearchForward): ditto
14267         (SearchBackward): ditto
14268
14269 2001-03-06  Juergen Vigna  <jug@sad.it>
14270
14271         * lyxfind.C (IsStringInText): put parentes around expressions.
14272
14273 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14274
14275         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14276
14277 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14280
14281         * stl_string_fwd.h: add comment
14282
14283         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14284
14285         * tabular.h:
14286         * tabular.C: remove unused DocBook methods
14287
14288         * intl.C:
14289         * language.C:
14290         * paragraph.C:
14291         * buffer.C:
14292         killed DO_USE_DEFAULT_LANGUAGE
14293
14294 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * lyx_gui.C: do not include language.h.
14297
14298         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14299         arguments in function implementation.
14300
14301 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14302
14303         * BufferView_pimpl.C: add <ctime>
14304
14305 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14306
14307         * BufferView_pimpl.C: add using std::find_if
14308
14309 2001-02-27  José Matos  <jamatos@fep.up.pt>
14310
14311         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14312         by OnlyPath.
14313
14314 2001-02-11  José Matos  <jamatos@fep.up.pt>
14315
14316         * buffer.C (makeDocBookFile): command styles now have a parameter as
14317         "title" by default.
14318
14319 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14320
14321         * layout_forms.[Ch]: removed
14322         * lyx_cb.[Ch]: out character
14323         * lyx_gui.C: out character
14324         * lyx_gui_misc.C: out character
14325         * bufferview_funcs.C: : out character,
14326         added toggleall as parameter in ToggleAndShow
14327
14328 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14331
14332         * text2.C (SetCurrentFont): Disable number property at boundary.
14333
14334 2001-02-26  Juergen Vigna  <jug@sad.it>
14335
14336         * lyxfunc.C (getStatus): added a string argument override function so
14337         that this is correctly called from LyXFunc::Dispatch if it contains a
14338         do_not_use_argument which is used!
14339         (Dispatch): added check for "custom" export and call appropriate func.
14340
14341 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14342
14343         * lyxrc.C: Add language_command_local, language_use_babel and
14344         language_global_options.
14345
14346         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14347
14348         * buffer.C (makeLaTeXFile): Use language_use_babel and
14349         language_global_options.
14350
14351 2001-02-23  Juergen Vigna  <jug@sad.it>
14352
14353         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14354         which works with LyXText and putted it inside BufferView. Here now we
14355         only call for that part the BufferView::Dispatch() function.
14356
14357         * BufferView.C (Dispatch): added.
14358
14359         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14360         functions which needs to use a LyXText over from LyXFunc.
14361         (MenuInsertLyXFile): added
14362         (getInsetByCode): added
14363         (moveCursorUpdate): added
14364         (static TEXT): added
14365
14366 2001-02-22  Juergen Vigna  <jug@sad.it>
14367
14368         * BufferView_pimpl.C (update): call a status update to see if LyXText
14369         needs it.
14370
14371 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14372
14373         * vc-backend.C (revert): implement for CVS
14374         (getLog): implement for CVS
14375
14376 2001-02-20  Juergen Vigna  <jug@sad.it>
14377
14378         * text2.C (ClearSelection): added BufferView param for inset_owner call
14379
14380         * lyxfunc.C (TEXT): added this function and use it instead of
14381         directly owner->view()-text of getLyXText().
14382
14383 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14384
14385         * src/layout_forms.C: out preamble
14386         * src/layout_forms.h: out preamble
14387         * src/lyx_cb.C: out preamble
14388         * src/lyx_cb.h: out preamble
14389         * src/lyx_gui.C: out preamble
14390         * src/lyx_gui_misc.C: out preamble
14391         * src/lyxfunc.C: connect with guii preamble
14392
14393 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14396
14397 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14400         whether to run bibtex.
14401
14402 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14405
14406 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14407
14408         * Makefile.am (lyx_SOURCES): removed bibforms.h
14409
14410         * vspace.h: doxygen
14411
14412         * text.C (GetVisibleRow): make several local vars const
14413
14414         * tabular.C: small cleanup.
14415
14416         * lyxserver.C (callback): use compare instead of strncmp
14417
14418         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14419         inlines to after class or to paragraph.C
14420
14421         * lyxfont.h: remove friend operator!=
14422
14423         * converter.h: move friend bool operator< to non friend and after
14424         class def.
14425
14426         * combox.h: small cleanup
14427
14428         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14429         to inlines after class def.
14430
14431         * buffer.C (pop_tag): use string operations instead of strcmp
14432
14433         * bmtable.c: doxygen, small cleanup
14434
14435         * LaTeX.h: remove friend operator==
14436
14437 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14438
14439         * screen.C:
14440         * lyxrc.[Ch]:
14441         * lyxfunc.C:
14442         * lyxfont.[Ch]:
14443         * lyx_cb.C:
14444         * intl.[Ch]:
14445         * commandtags.h:
14446         * buffer.C:
14447         * WorkArea.[Ch]:
14448         * LyXAction.C:
14449         * BufferView_pimpl.C:
14450         * BufferView.[Ch]: remove cruft
14451
14452 2001-02-14  Juergen Vigna  <jug@sad.it>
14453
14454         * lyxfunc.C: removed #if 0 unused code
14455
14456         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14457
14458         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14459
14460         * text2.C (SetSelection): added a BufferView * parameter
14461
14462 2001-02-13  Juergen Vigna  <jug@sad.it>
14463
14464         * lyxfunc.C (Dispatch): fixed protected blank problem.
14465         * BufferView2.C (protectedBlank): added LyxText * parameter.
14466
14467         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14468         (AppendColumn): same as above for column_info.
14469
14470         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14471         (moveCursorUpdate): use a LyXText param for support of InsetText.
14472
14473         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14474         (tripleClick): ditto
14475
14476         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14477
14478         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14479
14480         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14481
14482         * text2.C (SetSelection): set correct update status if inset_owner
14483         (ToggleFree): ditto
14484
14485 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14486
14487         * tabular.C: remove some commented code.
14488
14489 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * BufferView_pimpl.C: call hideSplash()
14492
14493         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14494
14495         * include_form.h:
14496         * bibforms.h: remove
14497
14498         * lyxfunc.C:
14499         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14500           add LFUN_CHILD_CREATE
14501
14502         * counters.h: fix tiny typo
14503
14504         * lyx_cb.C:
14505         * lyx.h:
14506         * lyx_gui.C:
14507         * lyx.C: move splash to frontends/xforms/
14508
14509         * lyx_gui_misc.C: move Include and Bibform to frontends
14510
14511         * lyxvc.h: clarify comment
14512
14513         * vspace.C: tiny housekeeping
14514
14515 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * text.C (PrepareToPrint): RTL Fix.
14518
14519         * paragraph.C (GetUChar): New method.
14520         (String):  Use GetUChar.
14521
14522         * buffer.C (asciiParagraph): Use GetUChar.
14523
14524 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14525
14526         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14527
14528 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14529
14530         * buffer.h:
14531         * buffer.C: rename to getLogName(), handle
14532           build log / latex log nicely
14533
14534 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * MenuBackend.C:
14537         * MenuBackend.h: remove support for reference menuitem type.
14538
14539 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14540
14541         * BufferView_pimpl.C: housekeeping
14542         * BufferView_pimpl.h:
14543         * LyXView.h:
14544         * Makefile.am:
14545         * Timeout.C:
14546         * Timeout.h:
14547         * minibuffer.h: move Timeout GUI-I
14548
14549 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * lyxrc.C (read): Update converters data-structures.
14552
14553 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14554
14555         * LaTeX.h (operator!=): add operator != for Aux_Info
14556
14557 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14560
14561         * LaTeXLog.C: deleted, useful code moved to Buffer
14562
14563         * buffer.h:
14564         * buffer.C: new function getLatexLogName()
14565
14566         * lyx_gui_misc.C:
14567         * lyx_gui.C:
14568         * lyxvc.C:
14569         * lyxvc.h:
14570         * lyxfunc.C: use frontends for LaTeX and VC logs
14571
14572 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14573
14574         * LaTeX.h: yet another std:: that Allan forgot.
14575
14576         * Variables.C (set): renamed from isset(), because this clashes
14577         with some HP-UX macros (grr).
14578
14579 2001-02-06  Allan Rae  <rae@lyx.org>
14580
14581         * LaTeX.h: Another bug fix.  Missing std:: this time.
14582
14583 2001-02-04  Allan Rae  <rae@lyx.org>
14584
14585         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14586         floats problem. I've left it commented out because it's not quite
14587         correct.  It should also test that the current object is a table or
14588         figure inset.  But I haven't gotten around to figuring out how to do
14589         that.  I *think* it'll be something like: "table" == inset.type()
14590
14591         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14592         bool.
14593
14594 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14597         all the citation/databases/styles in the auxilary file.
14598         (run): Rerun latex if there was a babel language error.
14599
14600 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14601
14602         * text.C (Backspace): Preserve the font when changing newline char
14603         with a space.
14604         (BreakParagraph): If the cursor is before a space, delete the space.
14605
14606         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14607
14608 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14609
14610         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14611         new argument (code).
14612         (ChangeCitationsIfUnique): New method.
14613
14614         * paragraph.C (GetPositionOfInset): Handle bibkey.
14615
14616 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * BufferView_pimpl.h: change type of Position::par_pos to
14619         LyXParagraph::size_type.
14620
14621 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14622
14623         * BufferView_pimpl.C (savePosition, restorePosition): Write
14624         messages to minibuffer.
14625
14626 2001-01-28  José Matos  <jamatos@fep.up.pt>
14627
14628         * buffer.C (makeDocBookFile): adds support for document language.
14629         A silly restriction on the name of LatexCommand types where removed.
14630         Added support for CDATA sections, allows to chars unescaped, used
14631         among others in code, to avoid escape < and >.
14632
14633 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14636         saved positions instrad of a stack. Furthermore, a position is
14637         stored using paragraph id/paragraph position.
14638
14639         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14640         Remove LFUN_REF_BACK.
14641
14642 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * converter.C (dvipdfm_options): New method.
14645
14646 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * vspace.C (isValidLength): Fix for empty input string.
14649
14650 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * LyXAction.C (init): change description of LFUN_FIGURE to
14653         "Insert Graphics"
14654
14655 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14656
14657         * LaTeX.C: add using directive
14658
14659 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14660
14661         * MenuBackend.C (expand): Fix the sorting of the formats.
14662
14663 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * lyx_main.C: tiny error message fix
14666
14667 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14670         calling fl_initialize(). This fixes the problem with ',' as
14671         decimal separator in text files.
14672
14673 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * trans.C (process): Fix the keymap bug.
14676
14677 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14678
14679         * LaTeX.C (scanAuxFiles): New method. Provides support for
14680         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14681         (scanLogFile) Scan for "run BibTeX" messages.
14682
14683         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14684         OT1 font encoding. Also, load the aecompl package if the ae
14685         package is loaded.
14686
14687         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14688
14689 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * texrow.C (increasePos): turn two error messages into debug
14692         messages.
14693
14694 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * LaTeX.C (scanAux): Handle the \@input macro.
14697         (runBibTeX): Use scanAux().
14698
14699         * language.C (latex_options_): New field.
14700
14701         * LaTeXFeatures.C (getMacros): Add language macros.
14702
14703         * buffer.C (makeLaTeXFile): Small fix.
14704
14705 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14708
14709         * text2.C: add a using directive.
14710
14711 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * BufferView2.C:
14714         * lyx_gui_misc.h:
14715         * lyxfr1.C:
14716         * lyxfunc.C: kill LyXBell.
14717
14718 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * text.C (IsBoundary): Remove the error message
14721
14722         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14723
14724         * lyxrc.C (setDefaults): Correct initialization value for
14725         font_norm_type.
14726
14727 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14728
14729         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14730         gotoError().
14731
14732         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14733         and GotoNextNote().
14734
14735         * src/LyXAction.C: Added reference-next.
14736
14737         * text.C (InsertChar): Use contains instead of strchr.
14738
14739         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14740
14741 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14742
14743         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14744         alignment commands (when needed).
14745
14746         * text.C (InsertChar): Add ':' to number separator chars.