]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
640a1aeb942e84b2152a67e1aa589708d0ee3300
[lyx.git] / src / ChangeLog
1 2004-01-25  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4
5 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * LaTeXFeatures.h: add nice_ and nice() const
8         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
9
10 2004-01-20  André Pönitz  <poenitz@gmx.net>
11
12         * BufferView.[Ch]:
13         * BufferView_pimpl.C:
14         * PosIterator.C:
15         * bufferview_funcs.C:
16         * cursor.[Ch]:
17         * cursor_slice.[Ch]:
18         * factory.C:
19         * iterators.C:
20         * lyx_cb.C:
21         * lyxfind.C:
22         * lyxfunc.C:
23         * lyxtext.h:
24         * rowpainter.C:
25         * text.C:
26         * text2.C:
27         * text3.C:
28         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
29           LCursor and mathcursor parts to LCursor and InsetBase.
30
31 2004-01-15  André Pönitz  <poenitz@gmx.net>
32
33         * cursor_slice.[Ch]: add a few covienience functions
34
35         * funcrequest.[Ch]: remove BufferView * member
36
37         * BufferView_pimpl.C:
38         * cursor.C:
39         * factory.[Ch]:
40         * lyxfind.[Ch]:
41         * lyxfunc.C:
42         * lyxtext.h:
43         * text3.C:
44         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
45
46 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
49         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
50
51 2004-01-13  André Pönitz  <poenitz@gmx.net>
52
53         * textcursor.[Ch]:
54         * lyxtext.h: hide cursor and selection anchor behind accessor function
55
56         * BufferView.C:
57         * BufferView_pimpl.[Ch]:
58         * PosIterator.C:
59         * bufferview_funcs.C:
60         * cursor.h:
61         * lyxfind.C:
62         * lyxfunc.C:
63         * text.C:
64         * text2.C:
65         * text3.C:
66         * undo.C: adjust
67
68         * cursor.h:
69         * cursor_slice.[Ch]: some integer type changes for inset unification
70
71         * lyxcursor.[hC]: remove, it's CursorSlice now.
72
73         * Makefile.am: 
74         * BufferView_pimpl.[Ch]:
75         * bufferview_funcs.C:
76         * cursor_slice.C:
77         * lyxtext.h:
78         * text.C:
79         * text2.C:
80         * text3.C:
81         * textcursor.[Ch]: adjust
82
83 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * text2.C (undoSpan): add and use
86         * text.C (breakParagraph): use undoSpan (fix bug 578)
87         * lyxtext.h: adjust
88
89 2004-01-08  Angus Leeming  <leeming@lyx.org>
90
91         * BufferView_pimpl.C (MenuInsertLyXFile):
92         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
93         * lyxfunc.C (menuNew, open, doImport): 
94         FileFilterList change to the FileDialog open and save functions.
95
96 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * ShareContainer.h: make isEqual and isUnique adaptable
99
100         * CutAndPaste.C: make resetOwnerAndChanges adaptable
101
102 2004-01-07  Angus Leeming  <leeming@lyx.org>
103
104         * LyXAction.C:
105         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
106
107         * BufferView_pimpl.C (dispatch): act on these LFUNs.
108
109         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
110         functions replacing find, replace and replaceAll.
111
112         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
113         LFUN_WORDFIND(FORWARD|BACKWARD).
114
115 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * text.C (breakParagraph): remove an outdated #warning
118
119 2004-01-07  André Pönitz  <poenitz@gmx.net>
120
121         * lyxfind.C: somewhat clearer logic
122
123         * text.C: prevent crash in cursorX on unitialized row cache
124
125 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * lyxcursor.[Ch] (operator>): add
128         * textcursor.C (selStart, selEnd): use std::min and std::max
129
130 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
131
132         * Chktex.C: include boost/format.hpp
133
134 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
135
136         * InsetList.C: replace functor MathcIt with adaptable functor
137         InsetTablePosLess
138         (insetIterator): modify accordingly
139
140         * BranchList.h: move the BranchNamesEqual functor here from...
141         * BranchList.C: ... to here
142
143         * BranchList.C: new BranchListEqual fuctor, use it. Remove
144         SameName and match.
145         (add): replace a finding loop with std::find_if.
146
147 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * output_docbook.C: moving LatexParam functionality into
150         .layout files
151
152 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * buffer.C: increment format to 229.
155
156 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
157
158         * LaTeXFeatures.C:
159         * lyx_sty.[Ch]: remove minipageindent_def
160
161         * LyXAction.C:
162         * factory.C:
163         * lfuns.h:
164         * lyxfunc.C:
165         * text3.C: remove LFUN_INSET_MINIPAGE
166
167 2003-12-28  Angus Leeming  <leeming@lyx.org>
168
169         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
170
171 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
172
173         * text2.C (setParagraph): fix off-by-one crash
174
175 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * output_docbook.C: header stuff for AGU
178
179 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
180
181         * text2.C (redoCursor): remove
182         * text.C:
183         * text3.C:
184         * BufferView_pimpl.C: remove calls to redoCursor and
185         setCursor(cursor.par(), cursor.pos()) all around
186
187 2003-12-15  Angus Leeming  <leeming@lyx.org>
188
189         * buffer.C: up the format to 228.
190
191 2003-12-15  André Pönitz  <poenitz@gmx.net>
192
193         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
194         slices
195
196         * Makefile.am:
197
198         * BufferView_pimpl.C:
199         * cursor.[Ch]:
200         * lyxcursor.[Ch]:
201         * rowpainter.[Ch]:
202         * lyxtext.h:
203         * text.C:
204         * text2.C:
205         * text3.C: adjust
206
207 2003-12-15  Angus Leeming  <leeming@lyx.org>
208
209         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
210         than getFromGUIName to manipulate the color.
211
212 2003-12-14  Angus Leeming  <leeming@lyx.org>
213
214         * BranchList.[Ch]: minimize the API.
215         (Branch::getBranch, getColor): now return a 'const &'.
216         (Branch::setSelected) now returns a bool set to true if the
217         selection status changes.
218         (BranchList::clear, size, getColor, setColor, setSelected,
219         allBranches, allSelected, separator): removed.
220         (BranchList::find): new functions, returning the Branch with
221         the given name.
222         (BranchList::add, remove): return a bool indicating that
223         the operation was successful.
224
225         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
226         new InsetBranch::isBranchSlected member function.
227
228         * LColor.[Ch]: mimimize the API.
229         (fill): renamed as addColor and made private.
230         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
231         versions of these functions taking a string arg have been removed.
232
233         * bufferparams.C (readToken):
234         * lyxfunc.C (dispatch):
235         * lyxrc.C (read): changes due to the altered BranchList and
236         LColor APIs.
237
238         * factory.C (createInset, readInset): changes due to altered
239         InsetBranch c-tor.
240
241 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
242
243         * factory.C:
244         * lyxfunc.C: remove insetminipage. "minipage-insert"
245         now produces a frameless minipage box inset.
246
247 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * textcursor.[Ch] (selStart,selEnd): add new methods
250         remove selection::start, end, use LyXCursor::operator<
251         * lyxcursor.[Ch] (operator<): add
252         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
253         * BufferView.[Ch] (unsetXSel): add
254         * text2.C (clearSelection): use unsetXSel,adjust
255         * text.C: adjust
256         * text3.C: adjust
257         * rowpainter.C: adjust
258         * bufferview_funcs.C (put_selection_at): adjust
259
260 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * BufferView_pimpl.C: small coord. correction
263
264 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
267         dragging over the splash screen.
268
269 2003-12-11  Angus Leeming  <leeming@lyx.org>
270
271         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
272         as it is now handled in LyXText::dispatch.
273
274         * text3.C (doInsertInset): remove a level of nesting.
275
276 2003-12-11  Angus Leeming  <leeming@lyx.org>
277
278         * factory.C (createInset): changes due to the changed interface to
279         InsetCommandMailer::string2params.
280
281 2003-12-10  Angus Leeming  <leeming@lyx.org>
282
283         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
284         'dialog-show-new-inset <inset name>'
285
286 2003-12-10  Angus Leeming  <leeming@lyx.org>
287
288         * buffer.C: up the format to 227.
289
290         * factory.C: the box inset is now identified simply by 'Box'.
291
292 2003-12-10  Angus Leeming  <leeming@lyx.org>
293
294         * buffer.C: up the format to 226.
295
296         * factory.C: the note inset is now identified simply by 'Note'.
297
298 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
299
300         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
301         when a pit is enough. Standarize a couple of loops.
302
303 2003-12-05  Angus Leeming  <leeming@lyx.org>
304
305         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
306         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
307         data to the re-worked "log" dialog.
308
309 2003-12-03  André Pönitz  <poenitz@gmx.net>
310
311         * PosIterator.C:
312         * iterators.C:
313         * lyxtext.h:
314         * output_latex.C:
315         * paragraph_funcs.C:
316         * text.C:
317         * text2.C: use Inset::getText instead of Inset::getParagraph
318
319 2003-12-03  André Pönitz  <poenitz@gmx.net>
320
321         * buffer.[Ch]:
322         * lyxtext.h:
323         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
324         InsetText::read() as LyXText::read()
325
326 2003-12-02  Angus Leeming  <leeming@lyx.org>
327
328         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
329         type. Add a comment in the implementation that the function uses
330         the stream's bad() function rather than fail() as the std::streams
331         would do.
332
333 2003-12-02  André Pönitz  <poenitz@gmx.net>
334
335         * lyxlex.[Ch]: make interface more similar to std::stream
336
337         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
338
339 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
342
343 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
344
345         * vspace.[Ch]: remove VSpace::NONE
346
347 2003-12-01  André Pönitz  <poenitz@gmx.net>
348
349         * buffer.[Ch]:
350         * lyxtext.h: move ParagraphList member to LyXText
351         rename LyXText::ownerParagraphs to LyXText::paragraph
352
353         * CutAndPaste.C:
354         * bufferview_funcs.C:
355         * iterators.[Ch]:
356         * lyx_cb.C:
357         * paragraph.C:
358         * rowpainter.C:
359         * tabular.C:
360         * text.C:
361         * text2.C:
362         * text3.C: adjust
363
364         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
365
366         * undo.C: fix cursor positioning
367
368 2003-12-01  John Levon  <levon@movementarian.org>
369
370         * BufferView_pimpl.C: fix a crash on exit with
371         a buffer open
372
373 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * BranchList.C: fix setSelected() method.
376
377 2003-11-28  André Pönitz  <poenitz@gmx.net>
378
379         * ParagraphParameters.[Ch]:
380         * ParameterStruct.h: remove space above/below from Paragraph to
381          InsetVSpace
382
383         * BufferView_pimpl.C:
384         * factory.C:
385         * lyxfunc.C:
386         * lyxtext.h:
387         * output_latex.C:
388         * paragraph.C:
389         * paragraph_funcs.C:
390         * rowpainter.[Ch]:
391         * text.C:
392         * text2.C:
393         * text3.C: adjust
394
395 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
396
397         * factory.C: Syntax change for CharStyles
398
399 2003-11-28  André Pönitz  <poenitz@gmx.net>
400
401         * BufferView.[Ch]:
402         * BufferView.[Ch]:
403         * buffer.[Ch]:
404         * buffer.[Ch]: move LyXText member
405
406 2003-11-28  André Pönitz  <poenitz@gmx.net>
407
408         * BufferView.[Ch]: make LyXText * text a private member
409
410         * BufferView_pimpl.C:
411         * cursor.C:
412         * iterators.C:
413         * lyx_cb.C:
414         * lyxfind.C:
415         * lyxtext.h:
416         * rowpainter.[Ch]:
417         * text.C:
418         * text2.C:
419         * undo.C: adjust
420
421         * output_plaintext.C: cleanup
422
423 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * buffer.C:
426         * lyxtextclass.[Ch]: parametrize SGML document header
427
428 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
429
430         * converter.[Ch]:
431         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
432         getFlavor().
433
434 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * text2.C (setFont): rework using PosIterator (no more recursive)
437         (setCharFont): no more needed
438         (setLayout): no more selection cursors fiddling (done by redoCursor)
439         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
440         destroy remaining ones)
441
442 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
445         * lyxtext.h: ditto
446         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
447         selection cursors
448         * lyxfunc.C: adjust
449         * text3.C: adjust + re-allow multi par depth changes
450         * textcursor.C: simplify a bit
451
452 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * src/buffer.C:
455         * src/lyxlayout.C:
456         * src/lyxlayout.h:
457         * src/lyxtext.h:
458         * src/output_docbook.C:
459         * src/output_latex.C:
460         * src/paragraph.C:
461         * src/paragraph.h:
462         * src/sgml.C:
463         * src/sgml.h:
464         * src/text2.C: Introducing a number of tags parametrizing various
465         XML formats that we may want to support
466
467 2003-11-25  André Pönitz  <poenitz@gmx.net>
468
469         * InsetList.[Ch] (begein, end): inline as suggested by profiler
470
471         * lyxtext.h (leftMargin/rightMargin): simplify interface
472
473         * rowpainter.C:
474         * text.C:
475         * text2.C:
476         * text3.C: adjust
477
478 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
479
480         * lyxfunc.C (dispatch): propogate the bibtex databases from the
481         master file to any child files. Fixes bug 546.
482
483 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
484
485         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
486
487 2003-11-24  André Pönitz  <poenitz@gmx.net>
488
489         * rowpainter.C: simplification
490
491         * text2.C (updateCounters): remove call to redoParagraph on
492         changed labels as this is far too expensive.
493
494 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
495
496         * converter.C (convert): fix a crash: this function gets
497         called with buffer == 0 from importer code.
498
499 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
500
501         * text3.C (cursorPrevious): make sure that we do not compare
502         iterators form different containers.
503         (cursorNext): ditto
504
505         * rowpainter.C (paintSelection): make sure that we do not compare
506         iterators from different containers.
507
508         * text3.C (dispatch): [PRIOR] make sure that we do not compare
509         iterators from different ParagraphList containers.
510         [NEXT] ditto
511
512         * text2.C (LyXText): change order of initialization slightly
513         (operator=): new function. copy all variables except cache_par_
514         (moveUp): make sure that we do not compare iterators from
515         different ParagraphList constainers.
516         (moveDown): ditto
517
518         * text.C (firstPar): new function
519         (lastPar): new function
520         (endPar): new function
521
522         * lyxtext.h: move things around and group public functions, public
523         variables, private functions, private variables
524
525 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
526
527         * factory.C: change call to InsetERT constructor to avoid
528         additional invocation of method status
529         * text2.C (toggleInset): remove redundant update() call
530         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
531         instead of a Bufferview pointer
532
533 2003-11-21  André Pönitz  <poenitz@gmx.net>
534
535         * rowpainter.C: simplification
536
537 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
538
539         * text3.C (dispatch): make possible to extend a word/row selection
540         with the mouse
541
542 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * lyxtext.h: x0_,y0_ -> xo_,yo_
545         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
546         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
547         * rowpainter.C (paintRows): paint full paragraphs
548
549 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
550
551         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
552         screen coordinates)
553
554 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * lyxtext.h: add x0_, y0_
557         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
558         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
559
560 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
561
562         * text2.C (setCursorIntern): move the x_target update here *
563         * text3.C: change some bv() to true/false in calls to
564         cursorUp/Down/Right/Left
565         * cursor.C: use helper function.
566
567 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
570         * paragraph_funcs.[Ch]: correct comment
571         * rowpainter.C: do not paint selections away from bv->cursor()
572         Fix a long standing selection painting bug.
573         * text3.C: generalize mouse-selection code to LyXTexts other that
574         top one
575         * textcursor.C: do not use y coords if we can use par offsets
576
577 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
578
579         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
580         cursor position after e.g. inset insert)
581
582 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * lyxfind.C (replace): adjust to locking removal + some
585         code simplification
586
587 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
590         of the path
591
592 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
593
594         * lyxlayout.[Ch]:
595         * output_docbook.C: XML sanitation: new layout
596         parameters InnerTag and CommandDepth
597
598 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
599
600         * BufferView_pimpl.C:
601         * factory.C:
602         * text3.C: Fix the insertion and modification of button-style
603         insets
604
605 2003-11-13  André Pönitz  <poenitz@gmx.net>
606
607         * InsetList.[Ch]: remove deleteLyXText
608
609         * paragraph.[Ch]: cache beginOfBody position
610
611         * Bidi.C:
612         * text.C:
613         * text2.C:
614         * text3.C: remove superfluous update() calls
615
616         * vspace.C: cleanup
617
618 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
621         * BufferView.C (fitLockedInsetCursor): remove
622         * cursor.[Ch] (getDim): add
623         * text.C (getRowNearY): add faster version
624         * text3.C: remove some update calls
625
626 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * LaTeXFeatures.C:
629         * LyXAction.C:
630         * MenuBackend.C:
631         * MenuBackend.h:
632         * dispatchresult.h:
633         * factory.C:
634         * lfuns.h:
635         * lyxfunc.C:
636         * lyxtextclass.C:
637         * lyxtextclass.h:
638         * text3.C: The Character Style /XML short element patch.
639
640 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
641
642         * text3.C:
643         * factory.C: Small step to solving 'unable to insert some insets'
644         problem
645
646 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
647
648         * cursor.[Ch] (updatePos): new function for updating the y
649         position of the tip inset
650         * bufferview_funcs.C (put_selection_at):
651         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
652
653 2003-11-11  André Pönitz  <poenitz@gmx.net>
654
655         * text.C: remove big comment on invalid Paragraph pointers as it is
656         not valid anymore
657
658 2003-11-11  André Pönitz  <poenitz@gmx.net>
659
660         * text_funcs.[Ch]: merge with ...
661
662         * text.C: ... this
663
664         * lyxtext.h:
665         * text2.C:
666         * text3.C: adjust
667
668         * Makefile.am: remove text_funcs.[Ch]
669
670 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
671
672         * cursor.C (getPos): return absolute cached y coord
673
674         * BufferView_pimpl.C (fitCursor): new simplistic code
675         (workAreaDispatch): add a fitCursor call
676
677 2003-11-10  André Pönitz  <poenitz@gmx.net>
678
679         * BufferView.[Ch]:
680         * BufferView_pimpl.[Ch]: merge update() and updateInset()
681
682 2003-11-10  André Pönitz  <poenitz@gmx.net>
683
684         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
685         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
686         indicate that the cursor needs to leave an inset
687
688         * lyxtext.h: remove inset locking
689
690         * cursor.[Ch]: re-implement functionality provided by inset locking
691
692         * BufferView.[Ch]:
693         * BufferView_pimpl.[Ch]:
694         * LyXAction.C:
695         * bufferview_funcs.[Ch]:
696         * factory.C:
697         * funcrequest.[Ch]:
698         * iterators.C:
699         * lyx_cb.C:
700         * lyxfind.C:
701         * lyxfunc.C:
702         * text.C:
703         * text2.C:
704         * text3.C:
705         * undo.C: adjust
706
707 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
708
709         * PosIterator.[Ch]: replace the stack with a vector, add inset
710         accesor
711         * iterators.[C]: adjust
712
713 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
714
715         * lyxfind.C (replaceAll): mark the buffer dirty if something was
716         replaced
717         * paragraph_funcs.C (readParToken): put the correct id in the
718         error item, not the id of the top paragraph
719
720 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
721
722         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
723         * bufferview_funcs.C (put_selection_at): use the above
724
725 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
726
727         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
728
729 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * output_linuxdoc.h:
732         * output_plaintext.h:
733         * output.h:
734         * output_docbook.h: add #include statements
735
736 2003-11-05  José Matos  <jamatos@lyx.org>
737
738         * output_docbook.[Ch]:
739         * output_latex.[Ch]:
740         * output_linuxdoc.[Ch]:
741         * output_plaintext.[Ch]: New files for output formats.
742         * output.[Ch]: New file for helper functions.
743
744         * buffer.[Ch]:
745         * paragraph_funcs.[Ch]: output functions moved to new files.
746
747         * outputparams.h: rename of latexrunparams.h
748
749         * LaTeX.[Ch]:
750         * buffer.[Ch]:
751         * bufferlist.[Ch]:
752         * converter.[Ch]:
753         * exporter.C:
754         * paragraph.[Ch]:
755         * paragraph_funcs.[Ch]:
756         * paragraph_pimpl.[Ch]:
757         * tabular.[Ch]: rename ascii to plaintext
758         and LatexRunParams to OutputParams.
759
760 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
761
762         * iterators.[Ch] (text): require bv argument
763         * undo.C (recordUndo):
764         * lyxfunc.C (dispatch):
765         * bufferview_funcs.C (put_selection_at): adjust
766
767 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
768
769         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
770
771 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
772
773         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
774         nestings
775
776 2003-11-04  André Pönitz  <poenitz@gmx.net>
777
778         * cursor.[Ch]: restructure
779
780         * BufferView.[Ch]:
781         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
782
783         * iterators.[Ch] (asCursor): remove
784
785         * lfuns.h: remove LFUN_INSET_EDIT
786
787         * lyxfunc.C:
788         * tabular.C:
789         * text.C:
790         * text2.C:
791         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
792
793 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
794
795         * lyxfind.[Ch]: complete overhaul
796         * BufferView_pimpl.C:
797         * lyxfunc.C: adjust
798         * paragraph.[Ch] (insert): add
799
800 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
801
802         * BufferView.[Ch]:
803         * lyxtext.h:
804         * text.C: remove dead spellcheck code
805
806 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * dispatchresult.h: add a val setter
809
810         * cursor.C (dispatch): use a tempvar for data_[i]
811
812 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
813
814         * PosIterator.[Ch]: compile fix
815
816 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
817
818         * text.C (cursorPar): deactivate the cursor cache
819
820 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
821
822         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
823
824 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
825
826         * text3.C (dispatch): adjust for new DisptchResult semantics.
827
828         * lyxfunc.C (dispatch): handle update when return from
829         Cursor::dispatch, adjust for new DispatchResult semantics.
830
831         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
832         DispatchResult(true) mean to not update. Add class functions for
833         setting dispatched and update, as well as reading.
834
835         * cursor.C (dispatch): don't handle update here
836
837 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
838
839         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
840         * trans_mgr.C: adjust
841
842         * paragraph_funcs.C (readParToken): exception safety
843
844         * lyxvc.h: store the vcs pointer in a scoped_ptr
845         * lyxvc.C: adjust
846
847         * lyxsocket.C (serverCallback): exception safety
848
849         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
850
851         * ispell.C (clone): make it return a auto_ptr
852
853         * factory.C (createInset): exception safety
854         (readInset): exception safety
855
856         * bufferlist.C (newBuffer): exception safety
857
858         * Thesaurus.C (Thesaurus): use initialization for aik_
859
860         * MenuBackend.C (expandToc): exception safety.
861
862 2003-11-03  André Pönitz  <poenitz@gmx.net>
863
864         * buffer.C:
865         * buffer.h:
866         * bufferview_funcs.C: remove getInsetFromId()
867
868         * lyxcursor.[Ch]:
869         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
870
871         * lyxfunc.C:
872         * text2.C:
873         * text3.C: adjust
874
875 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
876
877         * PosIterator.C (distance, advance): new
878         * bufferview_funcs.[Ch] (put_selection_at): new
879         * iterators.[Ch] (lockPath): new
880
881 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
882
883         * iterators.[Ch] (asPosIterator): added
884         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
885         * PosIterator.[Ch]: added
886
887 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
888
889         * text3.C:
890         * lyxfunc.C:
891         * cursor.C (dispatch):
892         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
893
894         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
895         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
896         contructor, add a class function dispatched. Remove operator>=
897
898 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
899
900         * debug.C: only use the default constructor for debugstream
901         (lyxerr) here.
902
903         * main.C (main): include debug.h and setup the lyxerr streambuf
904         here.
905
906 2003-10-31  José Matos  <jamatos@lyx.org>
907
908         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
909
910         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
911         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
912         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
913         * paragraph_pimpl.C (simpleTeXSpecialC):
914         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
915         add LatexRunParams argument.
916
917         * exporter.C (Export): change call accordingly.
918
919         * latexrunparams.h: add new member to take care of the other backends.
920 2003-10-30  José Matos  <jamatos@lyx.org>
921
922         * buffer.C (makeLinuxDocFile, makeDocBookFile):
923         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
924         factorise code for paragraph output.
925         * buffer.[Ch]:
926         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
927         move functions.
928
929 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
930
931         * text3.C (dispatch):
932         * lyxfunc.C (dispatch):
933         * cursor.C (dispatch):
934         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
935
936         * dispatchresult.h: make the dispatch_result_t ctor explicit
937
938 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
939
940         * sgml.[Ch]:
941         * buffer.C: small refactoring of docbook stuff
942
943 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
944
945         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
946         meaning.
947
948 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
949
950         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
951         operator dispatch_result_t, and operators for == != and >=
952
953         * cursor.C (dispatch): adjust for operator dispatch_result_t
954         removal. comment out call to update
955
956         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
957
958 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
959
960         * text3.C:
961         * text2.C:
962         * text.C:
963         * lyxtext.h:
964         * lyxfunc.C:
965         * cursor.C:
966         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
967         (dispatch):
968
969         * dispatchresult.h: new file, DispatchResult broken out of
970         insets/insetbase.h
971
972         * Makefile.am (lyx_SOURCES): add dispatchresult.h
973
974 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
975
976         * text.C (rowBreakPoint): put a hack inside #if 0
977
978 2003-10-28  André Pönitz  <poenitz@gmx.net>
979
980         * lyxtext.h:
981         * metricsinfo.C:
982         * paragraph_funcs.C:
983         * rowpainter.C:
984         * text.C:
985         * text2.C: general cleanup (lots of small stuff)
986
987 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
988
989         * text2.C (cursorEnd): simple fix to the "end key goes to one
990         before the end on last row" bug
991
992 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
993
994         * text.C (backspace): fix the "zombie characters"
995
996 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
997
998         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
999
1000 2003-10-27  André Pönitz  <poenitz@gmx.net>
1001
1002         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1003
1004         * factory.C: handle new InsetPagebreak, InsetLine
1005
1006         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1007         and move handling into new InsetPagebreak, InsetLine
1008
1009         * BufferView_pimpl.C:
1010         * LyXAction.C:
1011         * ParagraphParameters.C:
1012         * ParameterStruct.h:
1013         * lyxfunc.C:
1014         * lyxtext.h:
1015         * paragraph.C:
1016         * paragraph.h:
1017         * paragraph_funcs.C:
1018         * paragraph_pimpl.C:
1019         * rowpainter.C:
1020         * text.C:
1021         * text2.C:
1022         * text3.C: adjust
1023
1024 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1025
1026         * text.C:
1027         * lyxrow_funcs.[Ch]:
1028         * Bidi.C:
1029         * paragraph.C:
1030         * lyxtext.h:
1031         * rowpainter.C:
1032         * text2.C:
1033         * text3.C: remove lastPos uses in favour of Row::endpos
1034
1035 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * undo.C (performUndoOrRedo): fix two crashes by setting a
1038         cursor by hand and reordering some calls. Use bv->lockInset instead
1039         of inset->edit because the latter loses cursor information
1040
1041 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1042
1043         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1044         by Martin
1045         (rowBreakPoint): fix width. change point to point + 1.
1046         Add a missing check.
1047
1048 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * MenuBackend.C:
1051         * lyxfunc.C: fix (at least partly) the problems
1052         with the Nav menu and headers inside branch insets
1053         reported by Kayvan
1054
1055 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1056
1057         * paragraph.C (getChar): add strong asserts
1058
1059         * lyxrow_funcs.C (lastPos): remove hideous hack
1060
1061         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1062         (fill): adjust to that (avoid an infinite loop)
1063
1064 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1065
1066         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1067
1068 2003-10-23  André Pönitz  <poenitz@gmx.net>
1069
1070         * RowList_fwd.h: change list<> to vector<> to gain speed
1071         after suggestion from Alfredo
1072
1073 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1074
1075         * lyxtext.h: move the bidi stuff from here...
1076         * text.C: and here
1077         * text2.C: and here
1078         * Bidi.[Ch]: ... to here
1079
1080 2003-10-23  André Pönitz  <poenitz@gmx.net>
1081
1082         * lyxtext.h:
1083         * text.C (isLastRow, isFirstRow): new functions
1084
1085         * paragraph.h: new width cache member
1086
1087         * rowpainter.C: replace RowList::iterator with Row & where possible
1088
1089         * lyxfunc.C: replace several view()->text with a single call
1090
1091         * toc.C: fix 'unused' warning
1092
1093 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1096         when woring with stream::pos_type
1097         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1098
1099 2003-10-22  André Pönitz  <poenitz@gmx.net>
1100
1101         * lyxtext.h:
1102         * text.C: use Row & instead of RowList::iterator
1103
1104         * lyxrow.h: rename end() to endpos()
1105
1106         * rowpainter.C:
1107         * text.C:
1108         * text2.C: adjust
1109
1110 2003-10-22  Angus Leeming  <leeming@lyx.org>
1111
1112         * buffer.[Ch] (fully_loaded): new member function, returning true
1113         only when the file has been loaded fully.
1114         Used to prevent the premature generation of previews and by the
1115         citation inset to prevent computation of the natbib-style label.
1116
1117         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1118         templates are all set up.
1119
1120         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1121
1122 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * text.C: fixed an "oops" in the "is a bit silly"
1125         bug fix
1126
1127 2003-10-21  André Pönitz  <poenitz@gmx.net>
1128
1129         * FuncStatus.[Ch]: small stuff, whitespace
1130
1131         * lyxfont.[Ch]: operator<<() for debug reasons
1132
1133         * lyxfunc.C:
1134         * lyxrow_funcs.C:
1135         * lyxtext.h: whitespace, spelling
1136
1137         * paragraph.C: naming of variables
1138
1139         * text.C:
1140         * text2.C: small stuff
1141
1142
1143 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * text.C: (1) finish off the inset display() work;
1146         (2) fix the "is a bit silly" bug (accessing char
1147         past end of par).
1148
1149 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1150
1151         * text.C: re-introduce display() for insets, fixing the
1152         various bugs (stretch of line above, math inset
1153         positioning, ...)
1154
1155 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * text.C (rightMargin): remove spurious semicolon
1158
1159         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1160         1415)
1161
1162 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * text3.C: fix one crash due to wrong cursor def
1165
1166 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * vc-backend.C (scanMaster): make the regex static
1169
1170         * LaTeX.C (scanAuxFile): make the regexs static
1171
1172         * text3.C (doInsertInset, dispatch, dispatch):
1173         * text2.C (cursorUp, cursorDown):
1174         * text.C (selectNextWordToSpellcheck):
1175         * BufferView_pimpl.C (dispatch):
1176         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1177
1178 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1179
1180         * lyxsocket.C: include <cerrno>
1181
1182 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1183
1184         * lyxfunc.C (dispatch): remove textcache stuff
1185
1186         * bufferlist.C (release): remove textcache stuff
1187         (closeAll): ditto
1188
1189         * TextCache.C: delete file
1190         * TextCache.h: delete file
1191
1192         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1193
1194         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1195         delete of the bv_->text.
1196         (resizeCurrentBuffer): remove texcache stuff
1197         (workAreaResize): ditto
1198
1199 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1200
1201         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1202         action.
1203
1204 2003-10-16  André Pönitz  <poenitz@gmx.net>
1205
1206         * lyxrow.[Ch]:
1207         * paragraph.h:
1208         * rowpainter.C:
1209         * text.C:
1210         * text2.C:
1211         * text3.C: speed up by storing y positions per paragraph plus per-row
1212         offset instead of having a 'full' y position in the row.
1213
1214 2003-10-15  André Pönitz  <poenitz@gmx.net>
1215
1216         * iterators.[Ch]:
1217         * iterators.[Ch]:
1218         * undo.[Ch]: make undo aware of inner insets
1219
1220 2003-10-14  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1223         static member functions LyX::ref() and LyX::cref.
1224         (lastfiles): new accessor functions for the new lastfiles_ member var.
1225         (addLyXView, views_): add a new LyXView to the list of views_.
1226         (updateInset): loop over all LyXViews to call their own updateInset
1227         member function, returning a pointer to the Buffer owning the inset.
1228
1229         * BufferView_pimpl.C (loadLyXFile):
1230         * MenuBackend.C (expandLastfiles):
1231         * bufferlist.C (MenuWrite, QuitLyX):
1232         lastfiles is no longer a global variable.
1233         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1234
1235         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1236         static function. Access through LyX::cref().emergencyCleanup().
1237
1238 2003-10-14  André Pönitz  <poenitz@gmx.net>
1239
1240         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1241
1242         * undo.[Ch]: restoring part of 'undo in insets'
1243
1244         * Makefile.am:
1245         * undo_funcs.[Ch]: merge with undo.[Ch]
1246
1247         * tabular.C: small cleansing stuff
1248
1249 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1250
1251         * paragraph_funcs.C (readParToken): report unknown insets as error
1252         boxes. Use the outer paragraph as location (also for unknown
1253         tokens).
1254
1255         * factory.C (readInset): do not abort on reading an unknown inset.
1256         Eat it and return 0.
1257
1258 2003-10-13  Angus Leeming  <leeming@lyx.org>
1259
1260         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1261
1262         * lyxrc.C: displayTranslator is now a function,
1263         declared in GraphicsTypes.h.
1264
1265 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1266
1267         * format.C: new placeholder $$a to pass the socket address.
1268
1269         * bufferlist.[Ch]: new function getBufferFromTmp.
1270
1271         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1272           files in the temporary dir.
1273
1274 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1275
1276         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1277
1278         * Makefile.am: add lyxsocket.[Ch].
1279
1280         * lyx_main.C (error_handler): handle SIGPIPE.
1281
1282 2003-10-13  André Pönitz  <poenitz@gmx.net>
1283
1284         * BufferView_pimpl.C:
1285         * lyxtext.h:
1286         * text.C:
1287         * text2.C:
1288         * text3.C:
1289         * undo_funcs.[Ch]: use paroffset_type instead of
1290           ParagraphList::iterators to prevent multiple conversion
1291           (and get a more robust interface)
1292
1293 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1294
1295         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1296         * lyxtext.h: ditto
1297         * text3.C (dispatch): ditto
1298
1299 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1302         move the onlyfile, use onlyfile instead of foundfile in a couple
1303         of places.
1304
1305         * DepTable.C (update): flush the error stream a bit more
1306
1307 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * lyxserver.C (callback): adjust
1310
1311         * lyxfunc.C (getStatus): add a missing brace in commented code
1312         (ensureBufferClean): reindent
1313         (dispatch): delete version taking a string
1314
1315 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1316
1317         * LaTeX.C (deplog): move found file handlig from here...
1318         (handleFoundFile): .. to new function here.
1319         (deplog): make sure to discover several files mentioned on the
1320         same log line.
1321
1322 2003-10-10  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxfunc.C:
1325         * lyxtext.h:
1326         * tabular.C:
1327         * text.C:
1328         * text2.C:
1329         * text3.C: fix some of the tabular crashes
1330
1331 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1332
1333         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1334
1335         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1336
1337 2003-10-09  André Pönitz  <poenitz@gmx.net>
1338
1339         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1340
1341         * BufferView.C:
1342         * BufferView_pimpl.C:
1343         * bufferview_funcs.C:
1344         * lyx_cb.C:
1345         * lyxcursor.C:
1346         * lyxfind.C:
1347         * lyxfunc.C:
1348         * lyxtext.h:
1349         * text.C:
1350         * text2.C:
1351         * text3.C:
1352         * text_funcs.[Ch]:
1353         * textcursor.[Ch]:
1354         * undo_funcs.C: adjust
1355
1356 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1357
1358         * text2.C (incrementItemDepth): new function, use a backtracking
1359         algorithm to discover the correct item depth.
1360         (resetEnumCounterIfNeeded): new function, use a backtracking
1361         algorithm to discover if counter reset is needed.
1362         (setCounter): use them. Simplify a bit. Add different labels for
1363         different item depths for itemize.
1364
1365         * paragraph.C (Paragraph): remove initialization of enumdepth
1366         (operator=): ditto
1367
1368         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1369         enumerate and itemize. Change the type of itemdepth to signed char.
1370
1371 2003-10-08  André Pönitz  <poenitz@gmx.net>
1372
1373         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1374           thing assignable.
1375         * text.C:
1376         * text2.C: adjust
1377
1378         * tabular.[Ch]: fix crash after 'row-insert'
1379
1380 2003-10-08  Angus Leeming  <leeming@lyx.org>
1381
1382         Fix doxygen warnings.
1383
1384         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1385         Remove CutAndPaste:: prefix from header file declaration.
1386
1387         * LColor.h (fill): remove LColor:: prefix from declaration.
1388
1389         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1390         use lyx::depth_type rather than Paragraph::depth_type so that
1391         header file and .C file match.
1392
1393         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1394
1395         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1396         * aspell.C: \file aspell_local.C -> \file aspell.C
1397         * gettext.C: \file gettext.C -> \file src/gettext.C
1398         * gettext.h: \file gettext.h -> \file src/gettext.h
1399         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1400         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1401         * text.C: \file text.C -> \file src/text.C
1402
1403         * toc.C: move comment so that doxygen is not confused.
1404
1405 2003-10-07  Angus Leeming  <leeming@lyx.org>
1406
1407         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1408
1409 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1410
1411         * aspell.C:
1412         * aspell_local.h: add forgotten std::string's.
1413
1414 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1415
1416         * LaTeXFeatures.C:
1417         * LyXAction.C:
1418         * factory.C:
1419         * lfuns.h:
1420         * lyxfunc.C:
1421         * text3.C: The Box patch. Fancybox support, minipage, parbox
1422
1423 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1424
1425         * CutAndPaste.h:
1426         * DepTable.h:
1427         * FloatList.h:
1428         * LaTeXFeatures.h:
1429         * ParagraphParameters.h:
1430         * TextCache.h:
1431         * Thesaurus.h:
1432         * bufferlist.h:
1433         * exporter.h:
1434         * importer.h:
1435         * lastfiles.h:
1436         * lyxfind.h:
1437         * lyxfont.h:
1438         * lyxlex.h:
1439         * lyxtextclasslist.h:
1440         * messages.h:
1441         * paragraph.h:
1442         * paragraph_pimpl.C:
1443         * textcursor.h: add <string> and other small fixes to make Lars'
1444         std::string patch compile with STLport.
1445
1446 2003-10-06  Angus Leeming  <leeming@lyx.org>
1447
1448         * LColor.h: Add missing #include <string>.
1449
1450 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1451
1452         * All most all file in all subdirs: Make <string> be the prefered
1453         way of getting to std::string, add using declarations.
1454
1455 2003-10-06  André Pönitz  <poenitz@gmx.net>
1456
1457         * metricsinfo.C: initialize LyXFont before changing attribute.
1458         (fixes the 'math in \emph is upright' bug)
1459
1460 2003-10-06  André Pönitz  <poenitz@gmx.net>
1461
1462         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1463
1464 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * graph.C:
1467         * paragraph_pimpl.C: Small fixes to build using STLport
1468
1469 2003-10-02  André Pönitz  <poenitz@gmx.net>
1470
1471         * lyxfunc.C:
1472         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1473
1474 2003-10-01  André Pönitz  <poenitz@gmx.net>
1475
1476         * factory.C: assert early
1477
1478 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1479
1480         * lyx_main.C: remove the global debug object
1481
1482         * debug.h: adjust for new debugstream
1483
1484         * debug.C: adjust for new debugstream and keep the global debug
1485         object here.
1486
1487 2003-09-22  Angus Leeming  <leeming@lyx.org>
1488
1489         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1490         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1491         an incomplete class LyXFont.
1492
1493 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * factory.C: bug fix in branches
1496
1497 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * lyxfunc.C (processKeySym): adjust
1500         (dispatch): adjust
1501         (dispatch): change arg name from ev to func, adjust
1502         (sendDispatchMessage): ditto
1503
1504         * lyx_main.C (defaultKeyBindings): adjust keybindings
1505         (deadKeyBindings): ditto
1506
1507         * kbsequence.C (addkey): return a FuncRequest
1508
1509         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1510
1511         * kbmap.C (bind): take a FuncRequest as arg, adjust
1512         (read): adjust
1513         (lookup): adjust
1514         (defkey): change to take a FuncRequest as arg, adjust
1515         (findbinding): take a FuncRequest as arg, adjust.
1516
1517         * funcrequest.h (operator=): added
1518
1519         * funcrequest.C (FuncRequest): default kb_action changed from
1520         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1521
1522         * buffer.C (dispatch): simplify
1523         (dispatch): adjust to take a FuncRequest as arg, adjust
1524
1525         * boost.C (assertion_failed): change assertion message slightly
1526
1527         * ToolbarBackend.C (read): simplify
1528
1529         * MenuBackend.C (binding): adjust call to findbinding, add a
1530         message if no binding is found.
1531         (read): simplify
1532         (expandToc): correct by adding a empty FuncRequest
1533
1534         * LyXAction.C: include <boost/assert.hpp>
1535         (isPseudoAction): delete function
1536         (LookupFunc): change name to...
1537         (lookupFunc): this. change return type to FuncRequest.
1538         (getActionName): take kb_action as arg, simplify
1539         (funcHasFlag): add an assert, simplify.
1540
1541 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1542
1543         * toc.C (action): return a FuncRequest, simplify
1544
1545         * lyxfunc.C (processKeySym): adjust
1546         (getStatus): delete version that takes an int.
1547         (getStatus): adjust
1548         (dispatch): delete version that takes action as int
1549         (dispatch): adjust
1550         (sendDispatchMessage): simplify and adjust
1551
1552         * funcrequest.C (getArg): take unsigned int as arg
1553
1554         * ToolbarBackend.C (read): adjust
1555         (add): delete version that takes func as a string.
1556         (getIton): take a FuncRequest as arg
1557
1558         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1559         action.
1560
1561         * MenuBackend.C (MenuItem): add a new construct that only takes a
1562         Kind, simplify the constructor use for submenus.
1563         (add): adjust
1564         (expandLastfiles): adjust
1565         (expandDocuments): adjust
1566         (expandFormats): adjust
1567         (expandFloatListInsert): adjust
1568         (expandFloatInsert): adjust
1569         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1570
1571         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1572         Remove class variables lyx_pseudo_map and lyx_arg_map
1573
1574         * LyXAction.C (searchActionArg): delete function
1575         (getPseudoAction): delete function
1576         (retrieveActionArg): delete function
1577         (LookupFunc): make it return kb_action, simplify.
1578         (getActionName): simplify
1579
1580         * factory.C (createInset): fix new bug
1581
1582 2003-09-19  Angus Leeming  <leeming@lyx.org>
1583
1584         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1585         masterFilename_ parameter in the include inset.
1586
1587         * factory.C (createInset): changes due to the changes to InsetInclude.
1588
1589 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1590
1591         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1592
1593 2003-09-18  Angus Leeming  <leeming@lyx.org>
1594
1595         * buffer.C:
1596         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1597         Inset::fillWithBibKeys.
1598         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1599
1600 2003-09-18  Angus Leeming  <leeming@lyx.org>
1601
1602         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1603         variables.
1604         (ctor): pass and store a 'Buffer const &'
1605         (buffer): new member function.
1606
1607         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1608         '*this' to the LaTeXFeatures ctor.
1609
1610 2003-09-18  Angus Leeming  <leeming@lyx.org>
1611
1612         * LColor.h:
1613         * lyxfont.C:
1614         * lyxfont.h:
1615         * lyxtext.h:
1616         * text.C: rename EnumLColor as LColor_color.
1617
1618 2003-09-18  Angus Leeming  <leeming@lyx.org>
1619
1620         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1621         remove #include "insets/insetbase.h" from cursor.h.
1622
1623 2003-09-18  Angus Leeming  <leeming@lyx.org>
1624
1625         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1626         InsetOld_code to remove #include "inset.h".
1627
1628         * iterators.C: add #include "insets/inset.h"
1629
1630 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1631
1632         * BufferView.C: remove more locking stuff that apparently doesn't
1633         do anything sensible.
1634
1635 2003-09-16  André Pönitz  <poenitz@gmx.net>
1636
1637         * paragraph.[Ch]:
1638         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1639           performance boost.
1640
1641 2003-09-16  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1644
1645         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1646         arg/return type.
1647
1648         * paragraph.h: remove #include "lyxfont.h". Forward declare
1649         LyXFont_size.
1650
1651 2003-09-16  Angus Leeming  <leeming@lyx.org>
1652
1653         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1654         of support/textutils.h.
1655         (isWord): move the contents of support/textutils.h's IsWordChar here.
1656
1657         * buffer.C:
1658         * lyxfind.C:
1659         * rowpainter.C:
1660         * text.C:
1661         * text2.C: add #include "paragraph.h".
1662
1663         * rowpainter.C:
1664         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1665
1666 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1667
1668         * main.C:
1669         * lyx_main.C:
1670         * lyx_cb.C:
1671         * buffer.C:
1672         * LaTeX.C: use namespace alias for lyx::support::os
1673
1674 2003-09-16  Angus Leeming  <leeming@lyx.org>
1675
1676         * bufferparams.C:
1677         * bufferview_funcs.C:
1678         * factory.C:
1679         * lyxfunc.C:
1680         * paragraph_pimpl.C:
1681         * rowpainter.C:
1682         * text.C: add #include "LColor.h".
1683
1684 2003-09-16  Angus Leeming  <leeming@lyx.org>
1685
1686         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1687         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1688         return LyXFont &.
1689         Store the FontBits::color variable as an int rather than as an
1690         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1691         file.
1692
1693         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1694         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1695         string calls together.
1696
1697         * lyxrc.C: add #include "LColor.h".
1698
1699 2003-09-15  Angus Leeming  <leeming@lyx.org>
1700
1701         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1702         a cow_ptr.
1703
1704 2003-09-15  Angus Leeming  <leeming@lyx.org>
1705
1706         * LColor.h: add an EnumLColor wrapper for LColor::color.
1707
1708         * lyxfont.[Ch] (color, setColor, realColor):
1709         * lyxtext.h, text.C (backgroundColor):
1710         pass EnumLColor args to/from the functions, rather than LColor::color
1711         ones.
1712
1713         * lyxfont.h:
1714         * lyxtext.h: forward declare EnumLColor.
1715
1716         * lyx_main.C: add #include "LColor.h".
1717
1718 2003-09-15  Angus Leeming  <leeming@lyx.org>
1719
1720         * .cvsignore: add lyx-gtk.
1721
1722 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * Chktex.C
1725         * LaTeX.C
1726         * LaTeXFeatures.C
1727         * ParagraphParameters.C
1728         * Spacing.C
1729         * buffer.C
1730         * bufferparams.C
1731         * bufferview_funcs.C
1732         * chset.C
1733         * counters.C
1734         * funcrequest.C
1735         * lyxfont.C
1736         * lyxgluelength.C
1737         * lyxlength.C
1738         * paragraph.C
1739         * paragraph_funcs.C
1740         * text3.C
1741         * vc-backend.C: remove usage of STRCONV
1742
1743 2003-09-15  Angus Leeming  <leeming@lyx.org>
1744
1745         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1746         explicitly define the color passed to the painter.
1747
1748 2003-09-15  Angus Leeming  <leeming@lyx.org>
1749
1750         * bufferparams.C (BufferParams): reorder member initializers to avoid
1751         compiler warning.
1752
1753 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1756         * text.C (updateRowPositions): remove an unusual nop
1757
1758 2003-09-12  André Pönitz  <poenitz@gmx.net>
1759
1760         * BufferView_pimpl.C:
1761         * Bullet.C:
1762         * layout.h:
1763         * lyxfunc.C:
1764         * lyxlayout.[Ch]:
1765         * lyxtextclass.C:
1766         * rowpainter.C:
1767         * text.C:
1768         * text2.C:
1769         * Counters.[Ch]: finish the 'automatic counters' job
1770
1771 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1772
1773         * aspell.C: include <boost/assert.cpp> (compile fix)
1774
1775 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1776
1777         * boost.C (assertion_failed): use lyx::support::abort instead of
1778         assert.
1779
1780 2003-09-10  Angus Leeming  <leeming@lyx.org>
1781
1782         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1783         with their _fwd progeny.
1784
1785 2003-09-09  Angus Leeming  <leeming@lyx.org>
1786
1787         134 files throughtout the source tree: replace 'using namespace abc;'
1788         directives with the appropriate 'using abc::xyz;' declarations.
1789
1790 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1791
1792         * boost.C (emergencyCleanup): moved here from LAssert.c
1793         (assertion_failed): new function, called by BOOST_ASSERT
1794
1795         * several files: change Assert to BOOST_ASSERT
1796
1797 2003-09-09  Angus Leeming  <leeming@lyx.org>
1798
1799         * buffer.[Ch]: Add an Impl class and move Buffer's member
1800         variables into it. As a result move several header files out of
1801         buffer.h.
1802
1803         Add header files to lots of .C files all over the tree as a result.
1804
1805 2003-09-09  Angus Leeming  <leeming@lyx.org>
1806
1807         * buffer.[Ch]: make Buffer's member variables private. Add
1808         accessor functions.
1809
1810         Lots of changes all over the tree as a result.
1811
1812 2003-09-08  Angus Leeming  <leeming@lyx.org>
1813
1814         * graph.C: #include <config.h>.
1815
1816 2003-09-08  Angus Leeming  <leeming@lyx.org>
1817
1818         * BranchList.C:
1819         * BufferView.C:
1820         * BufferView_pimpl.C:
1821         * CutAndPaste.C:
1822         * DepTable.C:
1823         * LaTeX.C:
1824         * LaTeXFeatures.C:
1825         * LyXAction.C:
1826         * MenuBackend.C:
1827         * TextCache.C:
1828         * aspell.C:
1829         * buffer.C:
1830         * bufferlist.C:
1831         * changes.C:
1832         * chset.C:
1833         * converter.C:
1834         * counters.C:
1835         * debug.C:
1836         * graph.C:
1837         * ispell.C:
1838         * lyx_cb.C:
1839         * lyxfind.C:
1840         * lyxfunc.C:
1841         * lyxlex_pimpl.C:
1842         * lyxrc.C:
1843         * lyxrow.C:
1844         * paragraph.C:
1845         * rowpainter.C:
1846         * texrow.C:
1847         * text.C:
1848         * text2.C:
1849         * toc.C: remove redundant using directives.
1850
1851 2003-09-07  Angus Leeming  <leeming@lyx.org>
1852
1853         * LaTeXFeatures.h: remove #include "support/types.h".
1854         * ToolbarBackend.h: remove #include <algorithm>.
1855         * changes.h: remove #include <ctime>.
1856         * debug.h: remove #include <iosfwd>.
1857         * graph.h: remove #include "support/std_string.h".
1858         * lyx_main.h: remove #include <csignal>.
1859         * lyxlex_pimpl.h: remove #include <fstream>.
1860         * sgml.h: remove #include <algorithm>, <utility>.
1861         * toc.h: remove #include "support/std_ostream.h".
1862         Add #include <iosfwd>.
1863
1864 2003-09-07  Angus Leeming  <leeming@lyx.org>
1865
1866         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1867
1868         * converter.h: forward declare LatexRunParams.
1869         * encoding.h: remove #include "lyxrc.h".
1870         * lyxtext.h: remove #include "LColor.h".
1871         * lyxtextclass.h: remove #include "support/types.h".
1872         * trans.h: remove #include "tex-accent.h".
1873         * trans_mgr.h: remove #include "tex-accent.h".
1874         * insets/inset.h: remove #include "support/types.h", <vector>.
1875         * insets/insetcollapsable.h: remove #include "LColor.h".
1876         * insets/insetinclude.h: remove #include "dimension.h".
1877         * insets/insetlatexaccent.h: remove #include "dimension.h".
1878         * insets/insetoptarg.h:: remove #include "insettext.h".
1879         * insets/insettext.h: remove #include "dimension.h",
1880         <boost/shared_ptr.hpp>
1881
1882         * insets/renderers.h: add #include "dimension.h".
1883         * insets/updatableinset.h: add #include "support/types.h".
1884
1885         * many .C files: Associated changes.
1886
1887 2003-09-06  Angus Leeming  <leeming@lyx.org>
1888
1889         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1890         one, inside testInvariant.
1891
1892         * PrinterParams.C: new file.
1893         * PrinterParams.[Ch]: move the function bodies out of line.
1894
1895 2003-09-06  Angus Leeming  <leeming@lyx.org>
1896
1897         * ParagraphParameters.h: forward declare ParameterStruct rather than
1898         including its header file.
1899         (depth): moved out-of-line.
1900
1901 2003-09-06  Angus Leeming  <leeming@lyx.org>
1902
1903         * BufferView_pimpl.h:
1904         * kbmap.h:
1905         * kbsequence.h:
1906         * lyxfunc.h: forward declare LyXKeySym rather than
1907         #include "frontends/LyXKeySym.h".
1908
1909         * BufferView_pimpl.C:
1910         * kbmap.C:
1911         * kbsequence.C:
1912         * lyxfunc.C: associated changes.
1913
1914 2003-09-06  Angus Leeming  <leeming@lyx.org>
1915
1916         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1917         As a result, can remove the #include "insets/inset.h" from BufferView.h
1918
1919 2003-09-06  Angus Leeming  <leeming@lyx.org>
1920
1921         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1922         As a result, can remove the #include "insets/inset.h" from BufferView.h
1923
1924 2003-09-06  Angus Leeming  <leeming@lyx.org>
1925
1926         * buffer_funcs.C:
1927         * buffer.h:
1928         * bufferlist.C:
1929         * BufferView.C:
1930         * bufferview_funcs.C:
1931         * BufferView_pimpl.C:
1932         * CutAndPaste.C:
1933         * lyx_cb.C:
1934         * lyxfunc.C:
1935         * paragraph.h:
1936         * ParagraphParameters.C:
1937         * tabular.C:
1938         * text3.C:
1939         * toc.C:
1940         * undo_funcs.C:
1941         * frontends/controllers/ControlDocument.C:
1942         * insets/insetcaption.C: rearrange the #includes into some sort of
1943         coherent order.
1944
1945         * buffer.h: remove #includes ErrorList.h, undo.h
1946
1947 2003-09-06  Angus Leeming  <leeming@lyx.org>
1948
1949         * support/types.h: add a 'depth_type' typedef, used to store the
1950         nesting depth of a paragraph.
1951
1952         * paragraph.h:
1953         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1954         defining explicitly.
1955
1956         * buffer.h:
1957         * paragraph_funcs.h:
1958         * ParagraphParameters.h:
1959         * sgml.h: use lyx::depth_type rather than Paragraph or
1960         ParameterStruct's depth_type.
1961
1962         * buffer.h
1963         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1964
1965         * BufferView.C:
1966         * BufferView_pimpl.C:
1967         * CutAndPaste.C:
1968         * ParagraphParameters.C:
1969         * buffer_funcs.C:
1970         * bufferlist.C:
1971         * bufferview_funcs.C:
1972         * lyx_cb.C:
1973         * lyxfunc.C:
1974         * tabular.C:
1975         * text3.C:
1976         * toc.C:
1977         * undo_funcs.C:
1978         * frontends/LyXView.C:
1979         * frontends/controllers/ControlDocument.C:
1980         * frontends/controllers/ControlErrorList.C:
1981         * insets/insetbibitem.C:
1982         * insets/insetbranch.C:
1983         * insets/insetcaption.C:
1984         * insets/insetcollapsable.C:
1985         * insets/insetenv.C:
1986         * insets/insetert.C:
1987         * insets/insetfloat.C:
1988         * insets/insetfoot.C:
1989         * insets/insetfootlike.C:
1990         * insets/insetnewline.C:
1991         * insets/insetquotes.C:
1992         * insets/insettabular.C:
1993         * insets/insettext.C:
1994         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1995
1996         * frontends/controllers/ControlChanges.C: #include "changes.h".
1997
1998 2003-09-06  Angus Leeming  <leeming@lyx.org>
1999
2000         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2001         than #including paragraph.h.
2002
2003         * ParagraphList.h:
2004         * RowList.h: deleted. Superfluous.
2005
2006         * CutAndPaste.h:
2007         * iterators.h:
2008         * lyxcursor.h:
2009         * lyxtext.h:
2010         * text_funcs.h:
2011         * undo.h:
2012         * undo_funcs.h:
2013         * insets/inset.h:
2014         * insets/insettext.h: use ParagraphList_fwd.h rather than
2015         ParagraphList.h.
2016
2017         * paragraph.h: don't forward declare ParagraphList.
2018
2019         * buffer.h:
2020         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2021         rather than ParagraphList.h. paragraph.h is still needed for the
2022         Paragraph::depth_type parameters.
2023
2024         * textcursor.h: enable it to compile stand-alone in light of the
2025         above changes.
2026
2027         * bufferview_funcs.C:
2028         * iterators.C:
2029         * lyxfunc.C:
2030         * lyxrow_funcs.C:
2031         * paragraph.C:
2032         * rowpainter.C:
2033         * text.C:
2034         * text2.C:
2035         * text3.C:
2036         * text_funcs.C:
2037         * textcursor.C:
2038         * undo.C:
2039         * frontends/controllers/ControlParagraph.C:
2040         * frontends/controllers/ControlTabular.C:
2041         * insets/insetmarginal.C:
2042         * insets/insetminipage.C:
2043         * insets/insetnote.C:
2044         * insets/insetoptarg.C: add header files needed to compile again.
2045
2046 2003-09-06  Angus Leeming  <leeming@lyx.org>
2047
2048         * RowList_fwd.h: new file, forward-declaring Row rather than
2049         #including lyxrow.h.
2050
2051         * lyxrow_funcs.h:
2052         * lyxtext.h:
2053         * paragraph.h:
2054         * insets/insettext.h: use it instead of RowList.h
2055
2056         * bufferview_funcs.C:
2057         * lyxfunc.C:
2058         * lyxrow_funcs.C:
2059         * paragraph.C:
2060         * rowpainter.C:
2061         * text.C:
2062         * text2.C:
2063         * text3.C: #include "RowList.h".
2064
2065 2003-09-05  Angus Leeming  <leeming@lyx.org>
2066
2067         * factory.C (createInset):
2068         * vspace.C (c-tor): replace sscanf call with an istringstream.
2069         * ispell.C: re-add missing HP/UX headers.
2070         * lyxserver.C: re-add missing  os2 headers.
2071
2072 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2073
2074         * BranchList.C:
2075         * graph.C:
2076         * ispell.C:
2077         * lastfiles.C:
2078         * lyx_cb.C:
2079         * lyxserver.C:
2080         * texrow.C:
2081         * text3.C: re-add missing system headers, needed for 2.95.2.
2082
2083 2003-09-05  Angus Leeming  <leeming@lyx.org>
2084
2085         Changes most place everywhere due to the removal of using directives
2086         from support/std_sstream.h.
2087
2088 2003-09-05  Angus Leeming  <leeming@lyx.org>
2089
2090         Replace LString.h with support/std_string.h,
2091         Lsstream.h with support/std_sstream.h,
2092         support/LIstream.h with support/std_istream.h,
2093         support/LOstream.h with support/std_ostream.h.
2094
2095         Changes resulting throughout the tree.
2096
2097 2003-09-05  Angus Leeming  <leeming@lyx.org>
2098
2099         * sgml.h: ensure that the header file can be compiled stand-alone.
2100         * *.C: strip out redundant #includes. (320 in total.)
2101
2102 2003-09-04  Angus Leeming  <leeming@lyx.org>
2103
2104         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2105         here (from getPackages).
2106
2107         * debug.[Ch]: add a new EXTERNAL tag.
2108
2109 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2110
2111         * text2.C (cursorEnd): simplify
2112         (setCursor): adjust
2113         (getColumnNearX): adjust
2114
2115         * text.C (computeBidiTables): adjust
2116         (fill): adjust
2117
2118         * rowpainter.C (paintChars): adjust
2119         (paintSelection): adjust
2120         (paintChangeBar): adjust
2121         (paintText): adjust
2122
2123         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2124         lastPos instead.
2125         (numberOfSeparators): adjust
2126
2127 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2128
2129         * LyXAction.C:
2130         * box.[Ch]:
2131         * lfuns.h:
2132         * lyxfunc.C:
2133         * text3.C: Restricts the mouse click functionality
2134         of insets like bibtex, include, toc and floatlist to the visible
2135         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2136         up the dialogs. Cursor has to be in front of the inset (i.e.
2137         start of row) for this to function.
2138
2139 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2140
2141         * bufferview_funcs.C (currentState): output row information
2142
2143 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2144
2145         * bufferview_funcs.C (currentState): output paragraph position
2146
2147 2003-09-04  Angus Leeming  <leeming@lyx.org>
2148
2149         * FloatList.h: move out #include "Floating.h".
2150         * LaTeX.h: move out #include "DepTable.h".
2151         * LyXAction.h: move out #include "funcrequest.h".
2152         * buffer.h: move out #include "author.h", "iterators.h".
2153         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2154         * lyx_main.h: move out #include "errorlist.h".
2155         * lyxfunc.h: move out #include "FuncStatus.h".
2156         * lyxtext: move out #include "lyxcursor.h".
2157         * paragraph_pimpl.h: move out #include "counters.h".
2158
2159 2003-09-03  Angus Leeming  <leeming@lyx.org>
2160
2161         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2162         preamble_snippets list, enabling us to add snippets to the preamble
2163         only if the snippet was not there already.
2164
2165 2003-09-04  Angus Leeming  <leeming@lyx.org>
2166
2167         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2168
2169 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2170
2171         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2172         update
2173
2174 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * BranchList.C: point fix, earlier forgotten
2177
2178 2003-09-02  Angus Leeming  <leeming@lyx.org>
2179
2180         * box.C (contains): renamed from 'contained' after a fantastic
2181         amount of hot air.
2182
2183 2003-09-02  John Levon  <levon@movementarian.org>
2184
2185         * BufferView.C:
2186         * lyxcursor.h:
2187         * lyxcursor.C:
2188         * lyxfunc.C:
2189         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2190
2191 2003-09-02  John Levon  <levon@movementarian.org>
2192
2193         * text2.C: simplification of cursorEnd(), including partial
2194         fix for bug 1376
2195
2196 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2197
2198         * buffer.C (readFile): add a space
2199
2200 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2201
2202         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2203
2204 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2205
2206         * buffer.C (readFile): new function, take a filename and a
2207         ParagraphList::iterator
2208         (readFile): adjust
2209         (readFile): adjust, make it private. don't use setStream, make
2210         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2211         always contain the filename.
2212
2213         * BufferView.C (insertLyXFile): simplify and make it work for
2214         gzipped files.
2215
2216 2003-08-30  John Levon  <levon@movementarian.org>
2217
2218         * Makefile.am: fix dist (from Kayvan)
2219
2220 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2221
2222         * most files: change to use const Buffer refs
2223
2224 2003-08-27  André Pönitz  <poenitz@gmx.net>
2225
2226         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2227         on top of ownerPar().
2228
2229 2003-08-27  John Levon  <levon@movementarian.org>
2230
2231         * funcrequest.C: properly initialise POD members
2232
2233 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2234
2235         * lyxtext.h (top_y): move top_y from here
2236         * text.C:
2237         * text2.C:
2238         * text3.C:
2239         * BufferView.[Ch]:
2240         * BufferView_pimpl.[Ch]: to here
2241         * frontends/screen.C:
2242         * insets/insettabular.C:
2243         * insets/insettext.C: adjust
2244         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2245
2246 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2247
2248         * BufferView.[Ch]:
2249         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2250
2251 2003-08-26  André Pönitz  <poenitz@gmx.net>
2252
2253         * paragraph_func.[Ch] (outerPar): new function
2254
2255         * paragraph.C:
2256         * paragraph_funcs.C:
2257         * paragraph_funcs.h:
2258         * paragraph_pimpl.C:
2259         * text2.C: remove Inset::par_owner
2260
2261 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2262
2263         * lyxrow_funcs.C:
2264         * lyxtext.h:
2265         * text.C:
2266         * text2.C: eliminates the needFullRow/display() stuff
2267         altogether, putting the logic in metrics/draw in the insets.
2268
2269 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2270
2271         * text2.C (redoParagraphInternal, redoParagraphs):
2272         * text.C (redoParagraph): add a call to updateRowPositions at the
2273         end of each 'metrics-like' call. Remove all others.
2274         (getRow): remove the 'y-computing' version.
2275         (getRowNearY): do not compute nor return the real y. Solve the
2276         'y < 0' problem and simplify.
2277
2278 2003-08-22  Angus Leeming  <leeming@lyx.org>
2279
2280         * *.[Ch]: clean-up of licence and author blurbs.
2281         Also move config.h out of a few .h files and into a few .C files.
2282
2283 2003-08-22  André Pönitz  <poenitz@gmx.net>
2284
2285         * lyxrow.[Ch]: add x_ and *fill_ members
2286
2287         * lyxtext.h:
2288         * text.C:
2289         * rowpainter.C:
2290         * text2.C: adjust/remove prepareToPrint() calls
2291
2292 2003-08-22  André Pönitz  <poenitz@gmx.net>
2293
2294         * lyxrow.[Ch]: add  end_ member
2295
2296         * lyxrow_funcs.C: use LyXRow::end_
2297
2298         * lyxtext.h (singleWidth): add LyXFont parameter
2299
2300         * rowpainter.C:
2301         * text2.C: adjust LyXText::singleWidth() calls
2302
2303         * text.C (redoParagraph): simplify row breaking logic
2304
2305
2306 2003-08-19  André Pönitz  <poenitz@gmx.net>
2307
2308         * funcrequest.C: initialize button_ member
2309
2310         * text3.C:
2311         * rowpainter.[Ch]: interface consolidation
2312
2313 2003-08-18  André Pönitz  <poenitz@gmx.net>
2314
2315         * BufferView.C:
2316         * BufferView_pimpl.C:
2317         * lyxfind.C:
2318         * paragraph_funcs.C:
2319         * rowpainter.C:
2320         * text3.C: remove LyXScreen::draw() and fitCursor calls
2321
2322         * BranchList.h: remove spurious semicolons
2323
2324         * MenuBackend.C: fix branchlist related crash
2325
2326 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2327
2328         * BranchList.[Ch]:
2329         * InsetList.[Ch]:
2330         * LColor.[Ch]:
2331         * LyXAction.C:
2332         * Makefile.am:
2333         * MenuBackend.[Ch]:
2334         * bufferparams.[Ch]:
2335         * factory.C:
2336         * lfuns.h:
2337         * lyxfunc.C:
2338         * text3.C: implements the 'branch inset'
2339         idea. This allows the output of various versions of a document
2340         from a single source version, selectively outputing or suppressing
2341         output of parts of the text.
2342         This implementation contains a 'branch list editor' in a separate
2343         tab of the document settings dialog. Branches are user definable
2344         and have a "display colour" to distinguish them on-screen.
2345
2346         ColorHandler was somewhat cleaned up.
2347         (1) make possible a dynamically growing LColor list by allowing
2348         the graphic context cache to grow along (vector);
2349         (2) eliminate an IMHO unnecessary step in colour allocation.
2350
2351 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2352
2353         * BufferView_pimpl.C: compile fix
2354
2355 2003-08-15  André Pönitz  <poenitz@gmx.net>
2356
2357         * rowpainter.C: remove extra metrics calls
2358
2359         * lyxtext.h: merge the two constructors into a single one,
2360           pass reference to owner's par list
2361
2362         * BufferView_pimpl.C:
2363         * text.C:
2364         * text2.C: adjust
2365
2366 2003-08-15  André Pönitz  <poenitz@gmx.net>
2367
2368         * lyxrow_funcs.[Ch]:
2369         * lyxtext.h:
2370         * paragraph.h:
2371         * paragraph_funcs.C:
2372         * rowpainter.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C:
2376         * text_funcs.C: split LyXText::rowlist_ into individual
2377         Paragraph::rows_ chunks
2378
2379         * BufferView.[Ch]:
2380         * BufferView_pimpl.[Ch]:
2381         * lyxfind.C:
2382         * lyxtext.h:
2383         * text3.C: remove toggleSelection()
2384
2385 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2386
2387         * bufferlist.C: beautify two alerts (shorter text of buttons)
2388         * buffer.C: Remove redundant ' ' from message
2389         * tabular.h:
2390         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2391         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2392         rename VALIGN_CENTER to VALIGN_MIDDLE
2393
2394 2003-08-11  André Pönitz  <poenitz@gmx.net>
2395
2396         * lyxtext.h (getPar):
2397         * text.C: new function
2398
2399 2003-08-11  André Pönitz  <poenitz@gmx.net>
2400
2401         * Makefile.am:
2402         * tracer.[Ch]: remove unneeded files
2403
2404         * InsetList.[Ch]: remove resizeInsetsLyXText()
2405
2406         * lyxtext.h:
2407         * text.C:
2408         * text2.C:
2409         * text3.C: merge insertParagraphs() and appendParagraph()
2410         remove breakAgain(), update()
2411
2412         * BufferView_pimpl.[Ch]:
2413         * bufferview_funcs.[Ch]:
2414         * lyxfunc.C:
2415         * paragraph.[Ch]:
2416         * rowpainter.C:
2417         * tabular.C: adjust after text & InsetList changes.
2418
2419 2003-08-08  André Pönitz  <poenitz@gmx.net>
2420
2421         * text.C (insertChar, backspace): replace rowlist fiddling
2422         with rebreak of full par
2423
2424         * lyxtext.h:
2425         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2426         checkParagraph, updateInset): removed
2427
2428 2003-08-07  André Pönitz  <poenitz@gmx.net>
2429
2430         * paragraph.C:
2431         * text3.C: merge some LFUN handlers, remove dead code
2432
2433 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2436
2437 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * text2.C (DEPM): fix part of bug 1255 and 1256
2440
2441 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * BufferView_pimpl.C (workAreaDispatch): change to use
2444         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2445         that are no mouse related.
2446
2447 2003-08-05  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView.[Ch]:
2450         * BufferView_pimpl.[Ch]:
2451         * bufferview_funcs.C:
2452         * text2.C:
2453         * text3.C: rip out "deep update"
2454
2455         * textcursor.[Ch] (last_sel_cursor): remove unused member
2456
2457 2003-08-04  André Pönitz  <poenitz@gmx.net>
2458
2459         * BufferView.[Ch]:
2460         * BufferView_pimpl.[Ch]:
2461         * ParagraphParameters.C:
2462         * bufferview_funcs.C:
2463         * lyx_cb.C:
2464         * lyxfind.C:
2465         * lyxfunc.C:
2466         * text.C:
2467         * text2.C:
2468         * text3.C: replace "complicated" BufferView::update(...) calls with
2469         simpler ones.
2470
2471         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2472
2473 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2474
2475         * Makefile.am (lyx_SOURCES): add paper.h
2476
2477 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2478
2479         * Makefile.am: move things around so that both lyx-qt and
2480         lyx-xforms can be built (according to --with-frontend). Then lyx
2481         is a symbolic link to lyx-[firstfrontend]
2482
2483 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2484
2485         * Always use std::endl with lyxerr
2486
2487 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2488
2489         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2490
2491 2003-08-01  André Pönitz  <poenitz@gmx.net>
2492
2493         * BufferView.[Ch]:
2494         * BufferView_pimpl.[Ch]:
2495         * lyxfunc.C:
2496         * text3.C: merge BufferView::repaint() and BufferView::update()
2497
2498 2003-08-01  José Matos  <jamatos@lyx.org>
2499
2500         * buffer.[Ch]: file_format is no longer a buffer data element.
2501
2502 2003-08-01  André Pönitz  <poenitz@gmx.net>
2503
2504         * BufferView.C:
2505         * lyxtext.h:
2506         * text.C:
2507         * text2.C: make redoParagraph more independent of current cursor
2508
2509         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2510         * text.C:
2511         * text2.C: remove unneeded members
2512
2513 2003-07-30  André Pönitz  <poenitz@gmx.net>
2514
2515         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2516
2517         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2518           create a single function...
2519
2520         * paragraph_funcs.C (moveItem): ... here.
2521
2522         * text.C:
2523           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2524
2525 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2526
2527         * LColor.[Ch]: Add comment and greyedout logical colors.
2528
2529 2003-07-30  André Pönitz  <poenitz@gmx.net>
2530
2531         * tabular.C: don't use Assert too heavily. This crashes where it
2532           shouldn't
2533
2534 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2535
2536         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2537         is disabled (bug 1232)
2538
2539 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * factory.C: limited 'arg' scope
2542
2543 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2544
2545         * factory.C: fixed Note submenu issues
2546
2547 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2548
2549         * factory.C: submenu for Note/Comment/Greyedout
2550
2551 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2552
2553         * lyx_main.C (LyX):
2554         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2555
2556 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2557
2558         * LaTeXFeatures.C:
2559         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2560         greyedout. Patch provided by Jürgen Spitzmüller.
2561
2562 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2563
2564         * kbmap.C (read): fix error message when reading bind files
2565
2566 2003-07-29  Angus Leeming  <leeming@lyx.org>
2567
2568         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2569         certainly does not do what it purports to do. I am doing it, and
2570         us, a favour by killing it.
2571
2572 2003-07-28  José Matos  <jamatos@lyx.org>
2573
2574         * buffer.C (readBody, do_writeFile):
2575         * paragraph.C(readParagraph): \end_document replaces \the_end.
2576
2577 2003-07-29  André Pönitz  <poenitz@gmx.net>
2578
2579         * BufferView.[Ch]:
2580         * BufferView_pimpl.[Ch]:
2581         * lyxfunc.C:
2582         * text2.C:
2583         * text3.C:
2584         * textcursor.[Ch]: remove toggleToggle & Co
2585
2586 2003-07-28  José Matos  <jamatos@fep.up.pt>
2587
2588         * buffer.C (readParagraph):
2589         * params_func (readParToken, readParagraph):
2590         * paragraph.C (write): \layout -> \begin_layout.
2591
2592 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * lyxlex_pimpl.C (setFile): clean up slightly.
2595
2596         * bufferparams.h: add compressed var
2597
2598         * buffer_funcs.C (readFile): adjust for LyXLex change
2599         (newFile): ditto + simplify
2600
2601         * buffer.C (writeFile): handle writing of compressed files
2602
2603         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2604         Check if the file is compressed and set a bufferparm if so.
2605
2606         * Makefile.am (lyx_LDADD): remove explicit -lz
2607
2608 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2609
2610         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2611         makeDocBookFile): put the real LyX version in the first line of
2612         the file
2613
2614         * version.h:
2615         * version.C.in: remove lyx_docversion
2616
2617         * tabular.C (write_attribute): add a template-based version to
2618         write enums properly
2619
2620 2003-07-28  André Pönitz  <poenitz@gmx.net>
2621
2622         * lyxtext.h:
2623         * text.C:
2624         * text2.C:
2625         * text3.C: use doubles again for x-coordinates. They are needed.
2626
2627 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * messages.C (getLocaleDir): use lyx_localedir()
2630
2631         * lyxlex_pimpl.C (setFile): compress stuff
2632
2633         * buffer.C (writeFile): add some compression stuff
2634         (do_writeFile): new func, dont call expliti close... will this
2635         breake anything?
2636
2637         * Makefile.am (lyx_LDADD): add -lz
2638
2639 2003-07-28  José Matos  <jamatos@fep.up.pt>
2640
2641         * buffer.C: increment file format.
2642         * paragraph_funcs (readParagraph, readParToken):
2643         * paragraph.C (readParagraph): add \end_layout.
2644
2645 2003-07-27  Angus Leeming  <leeming@lyx.org>
2646
2647         * Makefile.am: remove special casing for configure-time setting of
2648         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2649
2650         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2651         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2652
2653 2003-07-26  André Pönitz  <poenitz@gmx.net>
2654
2655         * paragraph_func.[Ch]:
2656         * paragraph.C (realizeFont): inline it whereever it is used
2657
2658         * rowpainter.C:
2659         * text.C:
2660         * text2.C:
2661         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2662
2663
2664 2003-07-26  André Pönitz  <poenitz@gmx.net>
2665
2666         *       lyxtext.h:
2667         * text.C:
2668         * text2.C: get rid of LyXText::need_break_row
2669
2670 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * toc.[Ch]: put namespace toc inside namespace lyx
2673
2674         * MenuBackend.C (expandToc2): adjust for lyx::toc
2675         (expandToc): ditto
2676
2677         * lyxfunc.C (dispatch): adjust for lyx::find
2678
2679         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2680         lyx::find instead. Reorganize a bit.
2681         (LyXReplace): rename to replace
2682         (LyXFind): rename to find
2683
2684         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2685         (dispatch): ditto
2686
2687 2003-07-26  André Pönitz  <poenitz@gmx.net>
2688
2689         * text.C (setHeightOfRow): restrict scope of temporary variable
2690
2691         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2692           code (never has been used?)
2693
2694 2003-07-27  Asger Alstrup  <alstrup@local>
2695
2696         * text.C (fill): Optimise algorithm to exploit that we can reuse
2697         the LyXFont for many characters.
2698         (setHeightOfRow): Same thing.
2699         (rowBreakPoint): Same thing.
2700
2701 2003-07-26  Asger Alstrup  <alstrup@local>
2702
2703         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2704
2705         * text.C (singleWidth): Spurious font copying in hot-spot
2706         singleWidth avoided. Reorder tests for arabic for efficiency.
2707
2708         * text.C (fill): handle empty paragraphs better.
2709
2710 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * ispell.C:
2713         * encoding.h: add includes
2714
2715         * lyxrc.C: remove reading of bind files
2716
2717         * lyx_main.C (init): setup bindings and menus only if we have a
2718         gui.
2719
2720         * kbmap.C (read): new method. Do the actual reading of bind
2721         files.
2722
2723         * converter.C (dvipdfm_options):
2724         * bufferparams.C:
2725         * lyxrc.C (read):
2726         (output): adapt PAPER_* enums.
2727
2728         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2729
2730         * bufferparams.h: remove paper-related enums from there
2731
2732         * paper.h: New file. A trivial header file to hold paper-related
2733         enums. It should later expand to contain many paper-related
2734         horrors access.
2735
2736         * lyxrc.C: declare extern displayTranslator
2737
2738 2003-07-27  José Matos  <jamatos@fep.up.pt>
2739
2740         * tabular.[Ch] (linuxdoc): add support for tables and figures
2741         (linuxdoc).
2742
2743 2003-07-27  José Matos  <jamatos@fep.up.pt>
2744
2745         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2746         consistency in both functions.
2747         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2748
2749 2003-07-26  Asger Alstrup  <alstrup@local>
2750
2751         * rowpainter.C (paintRows): Change algorithm to work directly on
2752         the insets rather than asking every character in the document
2753         whether its an inset.
2754
2755 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * buffer.C (openFileWrite): factorize some code
2758
2759 2003-07-26  Angus Leeming  <leeming@lyx.org>
2760
2761         * lyx_cb.C:
2762         * lyx_main.[Ch]: replace occurances of system_tempdir with
2763         os::getTmpDir().
2764
2765 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * rename Inset to InsetOld
2768
2769 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2770
2771         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2772         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2773         which I think is a bit clearer. EDIT is gone, since it was
2774         premature optimisation, and broken for mathed anyway.
2775         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2776         with cursor positioning in insets as well (math insets still do not
2777         work, but that's a different story anyway.) It mysteriously
2778         crashes sometimes with undo in the first paragraph, but I'm fairly
2779         confident that this is a compiler bug.
2780
2781 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * paragraph.C (Paragraph): adjust for new clone return type
2784         (operator==): ditto
2785         (copyIntoMinibuffer): ditto
2786
2787 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2788
2789         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2790         by not having a special case, and always doing a full rebreak of
2791         the document after undo.
2792
2793 2003-07-23  Angus Leeming  <leeming@lyx.org>
2794
2795         * factory.C (createInset): InsetExternal::setParams now takes a
2796         Buffer const * arg.
2797
2798 2003-07-23  Angus Leeming  <leeming@lyx.org>
2799
2800         * factory.C (createInset): changed interface to the external and
2801         graphics mailers' string2params functions.
2802
2803 2003-07-23  Angus Leeming  <leeming@lyx.org>
2804
2805         * factory.C (createInset): pass a
2806         Buffer const * parameter to InsetExternalMailer's string2params.
2807
2808 2003-07-22  John Levon  <levon@movementarian.org>
2809
2810         * Thesaurus.h: include the right aiksaurus header
2811
2812 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * MenuBackend.C (expand): check menu shortcuts unconditionally
2815
2816 2003-07-21  Angus Leeming  <leeming@lyx.org>
2817
2818         * factory.C (createInset): pass a
2819         buffer_path parameter to InsetGraphicsMailer's string2params.
2820
2821 2003-07-21  Angus Leeming  <leeming@lyx.org>
2822
2823         * BufferView_pimpl.C (buffer):
2824         * buffer.C (d-tor):
2825         * lyx_main.C (LyX):
2826         * lyxfunc.C (dispatch):
2827         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2828         rather than the grfx shortcut.
2829
2830 2003-07-21  André Pönitz  <poenitz@gmx.net>
2831
2832         * rowpainter.C: remove unused variables
2833
2834         * tabular_funcs.C:
2835         * tabular_funcs.h: move to tabular.C
2836         * Makefile.am: adjust
2837
2838         * tabular.[Ch]: basic optical cleaning
2839
2840         * author.h: pass references, not values
2841
2842 2003-07-18  André Pönitz  <poenitz@gmx.net>
2843
2844         * lyxtext.h:
2845         * metricsinfo.C:
2846         * metricsinfo.h:
2847         * rowpainter.C:
2848         * text.C:
2849         * text2.C:
2850         * text3.C: two-phase drawing for InsetText and InsetTabular
2851         some float -> int changes.
2852
2853 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2854
2855         * lyx_main.C: fix the fix
2856
2857 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * lyx_main.C: fix a crash in batch mode if no files specified
2860         * converter.C: ws
2861
2862 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2863
2864         * format.[Ch] (papersize): moved to BufferParams
2865         * converter.[Ch] (dvips_options): moved to BufferParams
2866         (dvipdfm_options): moved to anon namespace
2867         * bufferparams.[Ch]: added above functions.
2868
2869 2003-07-17  André Pönitz  <poenitz@gmx.net>
2870
2871         * lyxtext.h:
2872         * rowpainter.C:
2873         * text2.C: don't call inset->update() anymore
2874
2875         * metricsinfo.[Ch]: add convenience constructor
2876
2877 2003-07-16  André Pönitz  <poenitz@gmx.net>
2878
2879         * lyxcursor.[Ch]:
2880         * lyxfunc.[Ch]:
2881         * text.C:
2882         * text2.C: replace the LyXCursor::irow_ member with
2883          on-demand computation of the value
2884
2885 2003-07-16  John Levon  <levon@movementarian.org>
2886
2887         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2888
2889 2003-07-15  André Pönitz  <poenitz@gmx.net>
2890
2891         * text.C:
2892         * text2.C: remove no more needed refresh_row
2893
2894 2003-07-15  André Pönitz  <poenitz@gmx.net>
2895
2896         * lyxtext.h:
2897         * rowpainter.C:
2898         * text2.C:
2899         * text3.C: refresh_status tristate -> need_update bool
2900
2901 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * lyxtext.h (init): remove reinit argument (act as if always true)
2904         * text2.C: adjust to that
2905
2906 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2907
2908         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2909         * text3.C: use it to delete selections in some cases
2910         (bugs 441, 673, 702, 954).
2911
2912 2003-07-14  André Pönitz  <poenitz@gmx.net>
2913
2914         * rowpainter.[Ch]: reduce interface
2915
2916 2003-07-14  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView_pimpl.C:
2919         * text2.C: adjust after removing unused BufferView * argument
2920
2921 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * text2.C (init): fix a crash fired on resize
2924
2925 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2926
2927         * buffer.[Ch]: added new closing signal
2928         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2929         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2930         BufferView::Pimpl via the closing the signal
2931
2932 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * buffer.[Ch]: take out all bv-related from buffer
2935         * BufferView.C:
2936         * BufferView_pimpl.[Ch]: connect to new signals
2937         * CutAndPaste.C: removed useless asserts
2938         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2939         * lyxvc.[Ch]:
2940         * vc-backend.[Ch]:
2941         * lyxfunc.C: moved view-related funciontality from vc here
2942         * paragraph.C: removed outdated comments
2943         * text.C: ws
2944
2945 2003-07-10  André Pönitz  <poenitz@gmx.net>
2946
2947         * BufferView_pimpl.C:
2948         * tabular.h:
2949         * tabular_funcs.C:
2950         * text.C:
2951         * text2.C: remove InsetText::InnerCache, clean up consequences
2952
2953 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2954
2955         * ispell.C: fix two typos in error messages
2956
2957 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * Extend Note inset to other forms of annotation like Comment
2960         and Greyedout. Right button click gives dialog.
2961
2962         Files modified or added (+):
2963
2964         * insetnote.[Ch]
2965         * FormNote.[Ch]      +
2966         * ControlNote.[Ch]   +
2967         * form_note.fd       +
2968         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2969         frontends/controllers
2970         * xforms/Dialogs.C
2971         * factory.C
2972
2973 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2974
2975         * aspell.C: add missing namespace lyx::support
2976
2977 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * BufferView.[Ch] (newFile): Add
2980         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2981         * LaTeX.[Ch] (message): added this signal and use it
2982         * buffer.[Ch] (busy, message): added these signals and use them
2983         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2984         * converter.C:
2985         * exporter.C:
2986         * format.C:
2987         * importer.C: use buffer signals instead of direct bv calling
2988         * lyx_cb.[Ch] (ShowMessage): removed
2989         * lyx_main.C:
2990         * lyxfunc.C:
2991         * paragraph_funcs.C:
2992         * text2.C: use buffer signals
2993
2994 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * introduce namespace lyx::graphics
2997
2998 2003-07-02  André Pönitz  <poenitz@gmx.net>
2999
3000         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3001
3002 2003-07-01  André Pönitz  <poenitz@gmx.net>
3003
3004         * text.C:
3005         * text2.C:
3006         * text3.C:
3007         * text_funcs.[Ch]:
3008         * textcursor.h:
3009         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3010           text*.C to text_func.C
3011
3012 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * introduce namespace lyx::support
3015
3016 2003-06-30  André Pönitz  <poenitz@gmx.net>
3017
3018         * Chktex.C:
3019         * funcrequest.C:
3020         * lyxtext.h:
3021         * text.C: re-enable --with-included-string
3022
3023 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * textcursor.C: add <config.h>
3026
3027         * text.C (getWord): remove const from word_location arg
3028
3029         * lyxvc.C (getLogFile): fix const type order
3030
3031         * lyxtext.h: remove const from word_location arg, add arg name
3032
3033         * lyxlayout.h: currect type on labeltype.
3034
3035         * importer.C: correct \file
3036
3037         * converter.C (intToFormat): use std:: on ret val, ws changes
3038
3039         * bufferlist.h: correct \file
3040
3041         * buffer.C (makeLinuxDocFile): fix const type order
3042         (makeDocBookFile): ditto
3043         (fillWithBibKeys): use std:: on stdlib args.
3044
3045         * CutAndPaste.C: fix authors.
3046         (availableSelections): use std:: on return vector
3047
3048 2003-06-27  André Pönitz  <poenitz@gmx.net>
3049
3050         * BufferView_pimpl.C:
3051         * bufferview_funcs.C:
3052         * lyxcursor.C:
3053         * lyxcursor.h:
3054         * lyxfunc.C:
3055         * lyxtext.h:
3056         * rowpainter.C:
3057         * text.C:
3058         * text2.C:
3059         * text3.C: remove LyXCursor::row_ member
3060
3061         * lyxtext.h:
3062         * text.C: rename fullRebreak() to partialRebreak() and implement
3063           a fullRebreak() that really bereks fully
3064
3065         * textcursor.h: new struct for cursor-related data
3066
3067 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3068
3069         * lyx_main.C (LyX): get full path of document loaded on the
3070         command line
3071
3072 2003-06-26  André Pönitz  <poenitz@gmx.net>
3073
3074         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3075           remove unused/broken operator>,<,>=.
3076
3077         *       text.C: remove only use of broken operator<= in an Assert().
3078
3079 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3082         moved errorlist_.clear to showErrorList
3083
3084 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * converter.C (scanLog, runLaTeX):
3087         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3088         move the bv->showErrorList call to the callers
3089         * lyxfunc.C: i.e. here...
3090         * text2.C: and here
3091         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3092         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3093         namespace, the second to...
3094         * buffer_funcs (BufferFormat, parseErrors): added
3095         * errorlist.C (ErrorList(TeXErrors const &)): removed
3096
3097 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3098
3099         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3100
3101 2003-06-24  "Garst R. Reese" <reese@isn.net>
3102
3103         * debug.C: fix typo
3104
3105 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3108
3109         * version.C.in: change docversion to 1.4
3110
3111 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3112
3113         * buffer.C: fix a bug just introduced
3114
3115 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * buffer.[Ch]: added the parseError signal and use it, removed
3118         sgmlError
3119         * BufferView.[Ch] (addError): moved to ...
3120         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3121         to the Buffer::parseError signal to catch (guess what) parse errors
3122         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3123
3124 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3125
3126         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3127         ability to create a buffer and to return an existing one from
3128         the list. Moved these functions to...
3129         * buffer_funcs.[Ch]: added
3130         * BufferView.[Ch] (loadLyXFile): added
3131         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3132         job removed from bufferlist::loadLyXFile.
3133         * buffer.C (setReadOnly): make it work without view
3134         (i.e added an if (users))
3135
3136 2003-06-19  Angus Leeming  <leeming@lyx.org>
3137
3138         * lfuns.h:
3139         * LyXAction.C (init):
3140         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3141         with LFUN_DIALOG_SHOW <name> <data>.
3142
3143 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3144
3145         * CutAndPaste.C (availableSelections): small compilation fix for
3146         ancient (gcc 2.9x) compilers
3147
3148 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * text3.C (cursorNext): add tmp var
3151
3152         * text2.C (updateCounters): for function calling out of for clause
3153         (replaceSelectionWithString): ditto
3154         (insertStringAsParagraphs): ditto
3155         (getColumnNearX): add tmp var
3156         (setCursorFromCoordinates): add tmp var
3157         (cursorDownParagraph): add tmp var
3158         (deleteEmptyParagraphMechanism): add tmp var
3159
3160         * text.C (insertChar): add tmp var
3161
3162         * rowpainter.C (paintDepthBar): add tmp var
3163
3164         * CutAndPaste.C (availableSelections): potentially check all
3165         paragraphs in a cut to fill the shown strings.
3166
3167 2003-06-18  André Pönitz  <poenitz@gmx.net>
3168
3169         * kbmap.[Ch]: use vector<> instead of list<>
3170
3171 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3172
3173         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3174         pasteSelection with index
3175
3176         * text2.C (pasteSelection): modify, call pasteSelection with index
3177
3178         * paragraph.C (asString): reimplement version with no interval to
3179         call the one with interval.
3180
3181         * lyxtext.h: add index arg to pasteSelection
3182
3183         * MenuBackend.C (MenuItem): handle PasteRecent
3184         (Menu::read::Menutags): add md_pasterecent
3185         (read): handle it
3186         (expandPasteRecent): new function
3187         (expand): use it
3188
3189         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3190
3191         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3192         the limited stack
3193         (availableSelections): new function
3194
3195 2003-06-17  Angus Leeming  <leeming@lyx.org>
3196
3197         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3198
3199 2003-06-17  Angus Leeming  <leeming@lyx.org>
3200
3201         * lfuns.h:
3202         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3203
3204         * lyxfunc.C (dispatch): invoke it.
3205
3206 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * iterators.C (operator++, ParPosition): reintroduce some
3209         const_cast for the benefit of older compilers.
3210
3211 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3212
3213         * text3.C (dispatch): do not modify clipboard when doing
3214         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3215         LFUN_DELETE_SKIP on a selection selection
3216
3217 2003-06-16  André Pönitz  <poenitz@gmx.net>
3218
3219         * BufferView.C:
3220         * buffer.C:
3221         * buffer.h:
3222         * paragraph.C:
3223         * tabular.[Ch]: IU of clone() and getLabelList();
3224
3225 2003-06-13  André Pönitz  <poenitz@gmx.net>
3226
3227         * tabular.h: compactification
3228
3229 2003-06-12  André Pönitz  <poenitz@gmx.net>
3230
3231         * tabular.C:
3232         * tabular.h:
3233         * tabular_funcs.h: some renaming plus whitespace
3234
3235 2003-06-12  André Pönitz  <poenitz@gmx.net>
3236
3237         * BufferView.C:
3238         * BufferView_pimpl.C:
3239         * CutAndPaste.C:
3240         * buffer.C:
3241         * iterators.[Ch]:
3242         * lyxfunc.C:
3243         * text.C:
3244         * toc.C: Return a Paragraph & for ParIterator::operator*()
3245
3246 2003-06-11  John Levon  <levon@movementarian.org>
3247
3248         * lyx_main.C:
3249         * ToolbarBackend.h:
3250         * ToolbarBackend.C: add "Toolbars" section and
3251         put the flags there
3252
3253 2003-06-10  Angus Leeming  <leeming@lyx.org>
3254
3255         * lfuns.h:
3256         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3257
3258         * lyxfunc.C (dispatch): invoke it.
3259
3260 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * main.C: protect <ios> with HAVE_IOS
3263         (main): protect sync_with_stdio with HAVE_IOS
3264
3265 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3266
3267         * text2.C (cutSelection): adjust
3268         (pasteSelection): adjust
3269
3270         * messages.C: handle get of empty string
3271
3272         * main.C (main): use sync_with_stdio(false)
3273
3274         * lyxfunc.C (dispatch): adjust
3275
3276         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3277         (WriteAs): remove unneeded BufferView arg.
3278
3279         * bufferparams.h: use correct types on papersize, papersize2 and
3280         paperpackage.
3281
3282         * bufferparams.C (readToken): adjust for type
3283         (writeLaTeX): add missing cases to switch.
3284
3285         * bufferlist.C (quitWriteBuffer): adjust
3286         (close): adjust
3287
3288         * buffer.C (asciiParagraph): remove some commented code.
3289
3290         * CutAndPaste.C: remove current_view extern variable.
3291         (cutSelection): add BufferParams arg.
3292         (eraseSelection): add BufferParams arg.
3293         (pasteSelection): add Buffer const & arg
3294
3295 2003-06-07  John Levon  <levon@movementarian.org>
3296
3297         * buffer.C:
3298         * paragraph_funcs.C:
3299         * paragraph_pimpl.C:
3300         * text.C:
3301         * text2.C:
3302         * paragraph.h:
3303         * paragraph.C: allow InsetERT to freely space lines,
3304         and some consolidation of code
3305
3306 2003-06-06  José Matos  <jamatos@fep.up.pt>
3307
3308         * buffer.C (makeDocBookFile): fix bug #821
3309
3310 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3311
3312         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3313
3314 2003-06-04  Angus Leeming  <leeming@lyx.org>
3315
3316         * buffer.C: bump format to 224.
3317
3318 2003-06-05  André Pönitz  <poenitz@gmx.net>
3319
3320         * text2.C (redoParagraphs): remove two const_cast<>
3321
3322 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3323
3324         * ParagraphList.h: remove last remnants of NO_STD_LIST
3325
3326 2003-06-03  Angus Leeming  <leeming@lyx.org>
3327
3328         * factory.C (createInset): small change to the way InsetExternal's params
3329         are set.
3330
3331 2003-06-04  André Pönitz  <poenitz@gmx.net>
3332
3333         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3334
3335         * paragraph_pimpl.h:
3336         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3337
3338         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3339
3340         * undo_funcs.C: make some simple cases of undo work again
3341
3342 2003-06-03  John Levon  <levon@movementarian.org>
3343
3344         * ispell.C: HPUX doesn't have sys/select.h
3345         (from Albert Chin)
3346
3347 2003-06-03  John Levon  <levon@movementarian.org>
3348
3349         * CutAndPaste.C: update tabular and include inset
3350         buffer references
3351
3352         * buffer.h:
3353         * paragraph.h:
3354         * paragraph.C: remove owningBuffer(), don't pass Buffer
3355         to clone()
3356
3357         * factory.C: insetGraphicsParams changed
3358
3359 2003-06-02  John Levon  <levon@movementarian.org>
3360
3361         * LyXAction.C:
3362         * factory.C:
3363         * lfuns.h:
3364         * lyxfunc.C:
3365         * text3.C: remove insetparent
3366
3367 2003-06-02  John Levon  <levon@movementarian.org>
3368
3369         * buffer.h:
3370         * buffer.C: fix inset_iterator.end(), move out of line
3371         (bug 1149)
3372
3373 2003-06-01  John Levon  <levon@movementarian.org>
3374
3375         * text3.C: use a proper cut/paste when doing inset
3376         insert (from Jürgen Spitzmüller)
3377
3378 2003-06-01  John Levon  <levon@movementarian.org>
3379
3380         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3381
3382 2003-05-30  André Pönitz  <poenitz@gmx.net>
3383
3384         * rowpainter.C: unify second drawing phase
3385
3386 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3387
3388         * trans_mgr.C: remove one case of current_view
3389
3390         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3391
3392         * paragraph_funcs.h: remove paragraph.h include
3393
3394         * paragraph.h: delete NO_STD_LIST stuff
3395
3396         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3397
3398         * buffer.h: remove paragraph.h include
3399
3400         * ParagraphList.C: delete file
3401
3402         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3403
3404         * toc.C (getTocList): adjust
3405
3406         * paragraph_pimpl.C (validate): adjust
3407
3408         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3409
3410         * paragraph.C (Paragraph): adjust
3411         (getPositionOfInset): use const_iterator, adjust
3412         (bibitem): use const_iterator, adjust
3413         (setInsetOwner): adjust
3414
3415         * iterators.C (operator++): adjust
3416
3417         * InsetList.[Ch]: Replace selfmade iterator with standard
3418         vector::iterator also introduce const_iterator. Remove getPos,
3419         getInset and setInset from InsetTable. Adjust accordingly.
3420
3421         * BufferView.C (lockInset): adjust
3422         (ChangeInsets): adjust
3423
3424         * tabular.[Ch]: delete commented same_id functions
3425
3426 2003-05-28  John Levon  <levon@movementarian.org>
3427
3428         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3429
3430 2003-05-28  André Pönitz  <poenitz@gmx.net>
3431
3432         * metricsinfo.[Ch]: remove 'fullredraw' member
3433
3434 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3435
3436         * lyxtextclass.C (operator): remove caching.
3437
3438 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * text3.C: adjust
3441
3442         * text2.C (cursorBottom): adjust
3443         (setCounter): use ParagraphList::find, adjust
3444
3445         * text.C (workWidth): use ParagraphList::find, adjust
3446
3447         * lyxcursor.C (LyXCursor): adjust
3448
3449         * buffer.C (inset_iterator): adjust
3450
3451         * ParagraphList.h: make iterator(value_type) private, make
3452         ParagraphList a friend of iterator.
3453
3454         * ParagraphList.C (find): new function
3455
3456         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3457
3458 2003-05-27  André Pönitz  <poenitz@gmx.net>
3459
3460         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3461
3462 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3463
3464         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3465
3466 2003-05-26  John Levon  <levon@movementarian.org>
3467
3468         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3469
3470 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * remove same_id from function signatures, adjust.
3473
3474 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3477
3478         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3479
3480         * paragraph.C (Paragraph): get rid of same_ids parameter
3481
3482         * ParagraphList.C (insert): adjust
3483         (push_back): adjust
3484
3485 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * paragraph_funcs.C (breakParagraph): adjust
3488         (breakParagraphConservative): adjust
3489
3490         * buffer.C (readParagraph): adjust
3491
3492         * ParagraphList.C (insert): take a reference instead of a pointer
3493         (insert): adjust
3494
3495         * paragraph.[Ch] (id): new function
3496
3497         * bufferlist.C (newFile): adjust
3498
3499         * ParagraphList.C (ParagraphList): adjust
3500         (assign): adjust
3501         (push_back): take a reference instead of a pointer.
3502
3503         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3504
3505         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3506         instead.
3507
3508         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3509         set else use old code.
3510
3511         * ParagraphList.C: remove all NO_NEXT code and only compile this
3512         code of NO_STD_LIST is set.
3513
3514 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * BufferView_pimpl.C:
3517         * TextCache.C:
3518         * TextCache.h:
3519         * bufferlist.C:
3520         * errorlist.h:
3521         * format.C:
3522         * format.h:
3523         * graph.C:
3524         * lyxfunc.C:
3525         * lyxrc.C:
3526         * graphics/GraphicsConverter.C:
3527         * graphics/PreviewLoader.C: header adjustment
3528
3529 2003-05-23  Angus Leeming  <leeming@lyx.org>
3530
3531         * LaTeXFeatures.[Ch] (useBabel): new method.
3532         * bufferparams.C (writeLaTeX): use it.
3533
3534 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * ParagraphList.h (set): remove unused function.
3537
3538 2003-05-23  André Pönitz  <poenitz@gmx.net>
3539
3540         * BufferView.C:
3541         * BufferView_pimpl.C:
3542         * buffer.C:
3543         * buffer.h:
3544         * lyxfunc.C:
3545         * undo_funcs.C: setUndo reworked
3546
3547         * iterators.[Ch]: add access to topmost ParagraphList
3548
3549         * lyxtext.[Ch] (workWidth): add a const
3550
3551 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3552
3553         * texrow.[Ch] (increasePos): remove function
3554         * exporter.C (export): removed unused var and outdated comment
3555
3556 2003-05-23  Angus Leeming  <leeming@lyx.org>
3557
3558         * latexrunparams.h: rename fragile as moving_arg.
3559         * paragraph.C (simpleTeXOnePar): ditto.
3560         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3561
3562 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3565         (createUndo): ditto
3566         (textUndoOrRedo): comment out a currently unused var.
3567
3568         * paragraph.h (NO_NEXT): enable NO_NEXT
3569
3570         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3571
3572         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3573
3574         * exporter.C (Export): adjust for removeAutoInsets removal.
3575
3576         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3577
3578         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3579
3580         * BufferView.[Ch] (removeAutoInsets): delete function
3581
3582 2003-05-22  Angus Leeming  <leeming@lyx.org>
3583
3584         * latexrunparams.h: add a free_spacing variable.
3585
3586         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3587         to pass moving_arg, as the data is stored in runparams.fragile.
3588
3589         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3590         to Inset::latexOptional or to simpleTeXOnePar.
3591
3592         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3593         free_spacing arg to Inset::latexOptional.
3594
3595         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3596         free_spacing arg.
3597
3598 2003-05-22  Angus Leeming  <leeming@lyx.org>
3599
3600         * latexrunparams.h: add fragile and use_babel variables.
3601
3602         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3603         * buffer.C (makeLaTeXFile): store this returned value in
3604         runparams.use_babel, thus passing it to the inset::latex methods.
3605
3606         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3607         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3608
3609         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3610         longer has a fragile arg, as it is stored in runparams.fragile.
3611
3612         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3613         moving_arg parameter as the data is stored in runparams.fragile.
3614
3615         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3616         a fragile parameter as the data is stored in runparams.fragile.
3617
3618 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3621
3622 2003-05-22  Angus Leeming  <leeming@lyx.org>
3623
3624         * latexrunparams.h: add a 'bool nice' which defaults to false.
3625
3626         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3627         now encapsulated within runparams.
3628
3629         * bufferlist.C (updateIncludedTeXfiles):
3630         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3631
3632 2003-05-22  Angus Leeming  <leeming@lyx.org>
3633
3634         * latexrunparams.h: new file containing struct LatexRunParams.
3635         * Makefile.am: add new file.
3636
3637         * LaTeX.[Ch] (c-tor, run):
3638         * buffer.[Ch] (makeLaTeXFile):
3639         * bufferlist.[Ch] (updateIncludedTeXfiles):
3640         * converter.C (convert, scanLog):
3641         * converter.[Ch] (runLaTeX):
3642         * exporter.C (Export):
3643         * paragraph.[Ch] (simpleTeXOnePar):
3644         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3645         * paragraph_funcs.[Ch] (latexParagraphs):
3646         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3647         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3648         pass around a LatexRunParams parameter.
3649
3650 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * paragraph.[Ch]: remove unused constructor
3653
3654         * ParagraphList.C (erase): new function, taking two iterators
3655
3656 2003-05-22  André Pönitz  <poenitz@gmx.net>
3657
3658         * undo_funcs.C: remove duplicated code
3659
3660         * iterator.[Ch]: operator=
3661
3662 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * tabular.C (SetMultiColumn): ws changes
3665
3666         * rowpainter.C (paintFirst): get rid of a ->previous
3667
3668         * lyx_cb.C (getPossibleLabel): parlist simplification
3669
3670         * BufferView.C (ChangeInsets): simplify slightly.
3671
3672 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3673
3674         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3675         * lfuns.h: new LFUN_SPACE
3676         * lyxfunc.C: protected space has a new lfun
3677         * paragraph_funcs.C: read new space insets
3678         * text3.C:
3679         * factory.C: handle new space insets
3680
3681 2003-05-22  André Pönitz  <poenitz@gmx.net>
3682
3683         * BufferView.C:
3684         * BufferView_pimpl.C:
3685         * buffer.[Ch]:
3686         * lyxfunc.C:
3687         * undo_funcs.C: return a ParIterator from getParFromID.
3688
3689         * iterators.[Ch]: add two const's
3690
3691 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * toc.C (getTocList): adjust
3694
3695         * iterators.[Ch]: rework for parlist
3696
3697         * buffer.C (par_iterator_begin): adjust
3698         (par_iterator_end): adjust
3699
3700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3701
3702         * BufferView.C (removeAutoInsets): adjust
3703         (ChangeInsets): adjust
3704
3705 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * text.C (top_y): fix bug 1110
3708
3709 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * errorlist.[Ch]: added
3712         * buffer.C:
3713         * BufferView.[Ch]:
3714         * BufferView_pimpl.C:
3715         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3716         instead
3717
3718 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3719
3720         * Makefile.am: ensure that lyx is relinked upon changes to the
3721         various "convenience" libs.
3722
3723 2003-05-20  Angus Leeming  <leeming@lyx.org>
3724
3725         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3726         files are compiled in alphabetical order again.
3727
3728         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3729
3730 2003-05-19  Angus Leeming  <leeming@lyx.org>
3731
3732         * gettext.[Ch]: remove "char const * _(char const *)".
3733
3734 2003-05-19  André Pönitz  <poenitz@gmx.net>
3735
3736         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3737
3738         * Makefile.am:
3739         * BufferView.C:
3740         * DepTable.h:
3741         * LaTeXFeatures.C:
3742         * buffer.C:
3743         * lyxfont.C:
3744         * lyxlex.h:
3745         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3746
3747 2003-05-19  André Pönitz  <poenitz@gmx.net>
3748
3749         * buffer.C:
3750         * lyxlayout.[Ch]:
3751         * lyxtextclass.[Ch]:
3752         * paragraph.C:
3753         * paragraph_funcs.[Ch]:
3754         * text2.C:
3755         * text3.C: more insetenv work
3756
3757 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * ParagraphParameters.C (params2string): small bug fixed
3760
3761 2003-05-16  André Pönitz  <poenitz@gmx.net>
3762
3763         * debug.C:
3764         * bufferview_funcs.C: patch from Kornel Benko to prevent
3765           crash when _(...) is called twice in a statement
3766
3767 2003-05-16  André Pönitz  <poenitz@gmx.net>
3768
3769         * BufferView.C:
3770         * lyxfunc.C:
3771         * text.C:
3772         * text2.C:
3773         * text3.C:
3774         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3775
3776 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * lyx_main.C (init): remove spurious static_cast
3779
3780 2003-05-14  André Pönitz  <poenitz@gmx.net>
3781
3782         * BufferView.C: fix format string
3783
3784 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * BufferView.[Ch] (insertErrors): removed
3787         * BufferView.[Ch] (showErrorList): added
3788         * buffer.C (runChkTeX):
3789         * converter.C (scanLog): call showErrorList instead of inserterrors
3790
3791 2003-05-13  André Pönitz  <poenitz@gmx.net>
3792
3793         * BufferView_pimpl.C:
3794         * buffer.C:
3795         * bufferview_func.C:
3796         * MenuBackend.C:
3797         * lyxfunc.C:
3798         * lyxrc.C:
3799         * tex-accent.C:
3800         * text3.C:
3801         * toc.C:
3802         * tabular_funcs.h: tostr() from its own header
3803
3804         * ParagraphParameters.C:
3805         * ToolbarBackend.C:
3806         * bufferparams.C:
3807         * format.C:
3808         * lyxlex_pimpl.C:
3809         * text3.C: STRCONV()
3810
3811 2003-05-12  André Pönitz  <poenitz@gmx.net>
3812
3813         * BufferView.C:
3814         * BufferView_pimpl.C:
3815         * CutAndPaste.C:
3816         * LaTeX.C:
3817         * LaTeXFeatures.C:
3818         * ParagraphParameters.C:
3819         * buffer.C:
3820         * bufferlist.C:
3821         * bufferparams.C:
3822         * bufferview_funcs.C:
3823         * converter.C:
3824         * counters.C:
3825         * debug.C:
3826         * exporter.C:
3827         * format.C:
3828         * importer.C:
3829         * lyx_cb.C:
3830         * lyx_main.C:
3831         * lyxfont.C:
3832         * lyxfunc.C:
3833         * lyxvc.C:
3834         * paragraph.C:
3835         * paragraph_funcs.C:
3836         * tabular.C:
3837         * tabular_funcs.C:
3838         * text2.C:
3839         * text3.C:  boost::format -> bformat  all over the place
3840
3841
3842 2003-05-09  André Pönitz  <poenitz@gmx.net>
3843
3844         * LColor.[Ch]: Pimpl the #include <map> away
3845
3846 2003-05-09  John Levon  <levon@movementarian.org>
3847
3848         * bufferlist.C: never remove emergency saves
3849
3850 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * Makefile.am: better lib building
3853
3854 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3857         instead.
3858         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3859         (simpleTeXSpecialChars): adjust
3860         (simpleTeXSpecialChars): adjust
3861         * paragraph.C (simpleTeXOnePar): adjust
3862         * buffer.C (makeLaTeXFile): adjust
3863
3864         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3865
3866         * text2.C (changeDepth): parlist cleanup
3867         (getColumnNearX): ditto
3868
3869         * rowpainter.C (getLabelFont): parlist cleanup
3870
3871         * bufferlist.C (newFile): parlist cleanup
3872
3873         * CutAndPaste.C (eraseSelection): parlist cleanup
3874
3875         * BufferView_pimpl.C (trackChanges): parlist cleanup
3876         (dispatch): ditto
3877
3878         * BufferView.C (lockInset): parlist cleanup.
3879         (ChangeInsets): ditto
3880
3881 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * CutAndPaste.h: Update file header.
3884
3885         * CutAndPaste.C: Update file header.
3886         Store the parts cut out of the Document in a limited_stack.
3887         (copySelection): adjust
3888         (pasteSelection): new function, takes the index in the limited stack.
3889         (nrOfParagraphs): adjust
3890         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3891         simplify error inset insertion.
3892         (checkPastePossible): adjust
3893
3894 2003-05-06  John Levon  <levon@movementarian.org>
3895
3896         * text2.C: don't cast wrap inset to float
3897
3898 2003-05-05  André Pönitz  <poenitz@gmx.net>
3899
3900         * iterator.C:
3901         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3902
3903         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3904           few naked Paragraph *.
3905
3906 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3907
3908         * bufferparams.C: Output warning if a document with missing
3909         TeX document class is loaded
3910         * exporter.C: Disable TeX exports if the document class is missing
3911         * lyxtextclass.C:
3912         * lyxtextclass.h:
3913         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3914         isTeXClassAvailable()
3915
3916 2003-05-03  John Levon  <levon@movementarian.org>
3917
3918         * BufferView.h:
3919         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3920         explicit cursor show/hide
3921
3922         * BufferView_pimpl.h:
3923         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3924         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3925
3926         * lyxfunc.C: hide cursor before dispatching.
3927
3928         * lyx_cb.C:
3929         * lyxfind.C:
3930         * text.C:
3931         * text3.C: remove explicit cursor hides
3932
3933 2003-05-02  André Pönitz  <poenitz@gmx.net>
3934
3935         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3936
3937         * undo_funcs.C:
3938         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3939           linked lists
3940
3941         * text2.C: tiny whitespace
3942
3943 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * undo_funcs.C: almost only ws changes.
3946
3947         * ParagraphList.C (splice): just return if pl is empty.
3948
3949 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * ParagraphList.C (splice): new function.
3952
3953         * CutAndPaste.C (pasteSelection): use it
3954
3955 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3956
3957         * CutAndPaste.C (pasteSelection): remove the last next and
3958         previous from this file.
3959
3960 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * CutAndPaste.C (pasteSelection): more clean up, user proper
3963         ParagraphList functions for pasteing.
3964
3965         * ParagraphList.C (insert): new function, three arg insert
3966
3967 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * ParagraphList.C (insert): new function, three arg insert
3970
3971         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3972         not on paragraphs.
3973
3974 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3977
3978 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3981
3982 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3985         (copySelection): clean up a bit.
3986         (pasteSelection): use make_pair
3987
3988         * ParagraphList.C (ParagraphList): implement copy constructor
3989         (operator=): implement, base on copy constructor.
3990         (assign): new func
3991
3992         * paragraph.C (erase): return a bool
3993
3994         * paragraph_pimpl.C (erasePos): remove function, move contents...
3995         (erase): ... here. Return a bool.
3996         (erase): call erase instead of erasePos.
3997
3998 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3999
4000         * ParagraphList.h: define PitPosPair
4001         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4002         ParagraphList, fix a bug on pasting multiple pars
4003         * text2.C: change interface to C&P
4004
4005 2003-04-30  André Pönitz  <poenitz@gmx.net>
4006
4007         * undo_func.C: revert part of yesterday's patch 2
4008
4009 2003-04-30  John Levon  <levon@movementarian.org>
4010
4011         * LColor.C: s/tabular/table/
4012
4013 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * text3.C (dispatch): do not convert iterator -> pointer
4016         * undo_funcs.C (setCursorParUndo): ditto
4017         * text_funcs.C (transposeChars): ditto
4018
4019         * text2.C (setLayout): ws changes only
4020
4021         * text.C (breakParagraph): do not convert iterator -> pointer
4022         (insertChar): ditto
4023         (acceptChange): ditto
4024         (rejectChange): ditto
4025         (changeCase): ditto
4026         (Delete): ditto
4027         (backspace): ditto
4028
4029         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4030         pointer
4031
4032 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4033
4034         * text3.C (gotoInset): YABG (yet another bad getChar)
4035
4036 2003-04-29  André Pönitz  <poenitz@gmx.net>
4037
4038         * paragraph.h: make operator= private unimplemented as long as
4039           it is unusable
4040
4041         * ParagraphList.C: whitespace
4042
4043         * paragraph.[Ch]:
4044         * paragraph_pimpl.[Ch]:
4045         * paragraph_funcs.C:
4046         * CutAndPaste.C:
4047         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4048
4049         * text2.C:
4050           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4051
4052 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4055         * paragraph.[Ch] (erase):
4056         * paragraph_pimpl.[Ch] (erase): change return type and value
4057         * text2.C (cutSelection): some rework
4058
4059 2003-04-28  John Levon  <levon@movementarian.org>
4060
4061         * bufferlist.C: changes for unsaved changes dialog
4062
4063 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * bufferlist.C (newFile): set language (messages_) for new
4066         documents also.
4067
4068         * buffer.C (readFile): ws changes only.
4069
4070 2003-04-28  André Pönitz  <poenitz@gmx.net>
4071
4072         * undo_funcs.C:
4073         * lyxfunc.C:
4074         * buffer.[Ch]:
4075         * BufferView_pimpl.C:
4076         * BufferView.C: getParFromID related ParagraphList::iterator changes
4077
4078 2003-04-28  André Pönitz  <poenitz@gmx.net>
4079
4080         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4081           Changes
4082
4083 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * messages.C: remove one more localedir class variable.
4086
4087 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * messages.C (getLocaleDir): singleton generation function
4090         (Pimpl): use it.
4091         (Messages): add a default constructor.
4092
4093         * main.C (main): do not setup localedir here, do not call
4094         gettext_init.
4095
4096         * gettext.C (_): use it.
4097         (gettext_init): delete funciton
4098
4099 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * gettext.C (getLyXMessages): new singleton generating function.
4102
4103         * buffer.C (updateDocLang): adjust
4104
4105         * Makefile.am (messages.o): add target
4106         (main.o): remove target
4107
4108 2003-04-27  John Levon  <levon@movementarian.org>
4109
4110         * bufferlist.C:
4111         * lyx_cb.C:
4112         * lyxfunc.C:
4113         * lyxvc.C: specify cancel button in Alert::prompt
4114
4115 2003-04-26  John Levon  <levon@movementarian.org>
4116
4117         * text3.C:
4118         * lyxfunc.C:
4119         * lfuns.h:
4120         * LyXAction.C: add LFUN_INSET_SETTINGS
4121
4122         * lyxfunc.C: don't enable tabular-feature when there's
4123         just any locking inset
4124
4125 2003-04-26  John Levon  <levon@movementarian.org>
4126
4127         * bufferlist.C: re-add Cancel to buffer close question
4128
4129         * lyxfunc.C: fix import UI a bit
4130
4131 2003-04-25  John Levon  <levon@movementarian.org>
4132
4133         * gettext.C: remove the broken asserts for now
4134
4135 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * messages.C: make case where setlocale cannot comply work better.
4138
4139         * buffer.C (updateDocLang): new function
4140         (changeLanguage): use it
4141         (readFile): use it
4142
4143         * text2.C (setCounter): use B_ a bit.
4144
4145         * lyxlayout.C (Read): be sure to trim the label strings.
4146
4147         * messages.C (Messages): fix typo in comment
4148
4149         * buffer.C (readFile): set message_ after file is loaded.
4150         (makeDocBookFile): remove double return
4151         (changeLanguage): reset message_ upon language change.
4152         (B_): new func, use this to get translated buffer strings.
4153
4154         * main.C: add myself and Jean Marc as authors.
4155
4156 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * messages.[hC]: pimplify Messages, and three different pimpls to be
4159         used in different circumstances.
4160
4161         * gettext.[Ch]: change for use with new message code.
4162
4163 2003-04-24 André Pönitz <poenitz@gmx.net>
4164
4165         * factory.C: support for eqref
4166
4167 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * messages.[Ch]: add missing char
4170
4171         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4172
4173         * messages.[Ch]: New files
4174
4175 2003-04-18  John Levon  <levon@movementarian.org>
4176
4177         * BufferView.h:
4178         * BufferView.C:
4179         * BufferView_pimpl.C:
4180         * lfuns.h:
4181         * LyXAction.C:
4182         * lyxtext.h:
4183         * text2.C: remove layout-copy/paste (bug 778)
4184
4185 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4188
4189 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4192         if they succeed. Act accordingly.
4193
4194 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text2.C (setCharFont): adjust
4197         (setCounter): adjust
4198         (insertStringAsLines): adjust
4199
4200         * text.C (leftMargin): adjust
4201         (setHeightOfRow): adjust
4202
4203         * rowpainter.C (paintFirst): adjust
4204         (paintLast): adjust
4205
4206         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4207         (outerHook): ditto
4208         (isFirstInSequence): ditto
4209         (getEndLabel): ditto
4210         (outerFont): adjust
4211
4212         * paragraph.C (getParLanguage): comment out some hard stuff.
4213
4214         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4215         (sgmlError): ditto
4216         (simpleDocBookOnePar): ditto
4217         (makeDocBookFile): use ParagraphList::iterator
4218
4219         * CutAndPaste.C (pasteSelection): adjust
4220
4221 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * text2.C (getFont): adjust
4224         (getLayoutFont): adjust
4225         (getLabelFont): adjust
4226
4227         * paragraph_funcs.C (TeXOnePar): adjust
4228
4229         * buffer.C (simpleLinuxDocOnePar): adjust
4230         (simpleDocBookOnePar): adjust
4231
4232         * CutAndPaste.C (pasteSelection): adjust
4233
4234         * BufferView.C (getEncoding): adjust
4235
4236         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4237
4238 2003-04-16  John Levon  <levon@movementarian.org>
4239
4240         * lyxfind.C: use parlist stuff for search/changes
4241
4242 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4245
4246         * text2.C (deleteEmptyParagraphMechanism): adjust
4247
4248         * text2.[Ch] (ownerParagraph): delete func (both of them
4249
4250 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4253
4254 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4255
4256         * ParagraphList.C: prepare for NO_NEXT
4257
4258 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * text2.C (getFont): adjust
4261         (getLayoutFont): adjust
4262         (getLabelFont): adjust
4263
4264         * paragraph.C (getFont): adjust
4265         (getLabelFont): adjust
4266         (getLayoutFont): adjust
4267
4268         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4269
4270 2003-04-15  John Levon  <levon@movementarian.org>
4271
4272         From Angus Leeming
4273
4274         * lyx_main.C: handle Include in .ui files
4275
4276 2003-04-15  John Levon  <levon@movementarian.org>
4277
4278         * MenuBackend.C: make the doc files length shorter
4279
4280         * ToolbarBackend.h:
4281         * ToolbarBackend.C: handle toolbar placement flags,
4282         Minibuffer
4283
4284 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4287         adjust
4288
4289         * paragraph_funcs.C (TeXOnePar): adjust
4290
4291         * paragraph.C (getLabelFont): add outerfont arg, adjust
4292         (getLayoutFont): ditto
4293         (simpleTeXOnePar): adjust
4294
4295         * paragraph_pimpl.C (realizeFont): delete func
4296
4297 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4300         row argument, constify cur argument.
4301
4302 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * text2.C (getFont): adjust
4305         (getLayoutFont): adjust
4306         (getLabelFont): adjust
4307
4308         * paragraph_funcs.C (TeXOnePar): adjust
4309         (outerFont): new func...
4310         (realizeFont): ...moved out from here, changed this to facilitate
4311         transition
4312
4313         * paragraph.C (getFont): take outerfont as arg, adjust
4314         (simpleTeXOnePar): add outerfont arg, adjust
4315
4316         * buffer.C (simpleLinuxDocOnePar): adjust
4317         (simpleDocBookOnePar): adjust
4318
4319         * CutAndPaste.C (pasteSelection): adjust
4320
4321         * BufferView.C (getEncoding): adjust
4322
4323 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * text2.C (setCharFont): adjust
4326         (setCounter): adjust
4327
4328         * text.C (leftMargin): adjust
4329         (setHeightOfRow): adjust
4330
4331         * rowpainter.C (paintFirst): adjust
4332         (paintLast): adjust
4333
4334         * paragraph_pimpl.C (realizeFont): adjust
4335
4336         * paragraph.C (isFirstInSequence): move from here...
4337         * paragraph_funcs.C (isFirstInSequence): ...to here
4338
4339         * paragraph.C (outerHook): move from here...
4340         * paragraph_funcs.C (outerHook): ...to here
4341
4342         * paragraph.C (depthHook): move from here...
4343         * paragraph_funcs.C (depthHook): ...to here
4344
4345         * paragraph.C (getEndLabel): move from here...
4346         * paragraph_funcs.C (getEndLabel): ...to here
4347
4348         * text2.C (realizeFont): move from here...
4349         * paragraph_funcs.C (realizeFont): ...to here
4350
4351 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4354
4355 2003-04-14  Angus Leeming  <leeming@lyx.org>
4356
4357         * LColor.[Ch]: scrap LColor mathcursor.
4358
4359 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * lyxlex.[Ch] (text): delete function
4362         * trans.C (Load): adjust
4363         * paragraph_funcs.C (readParToken): adjust
4364
4365 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4368         vector<char> instead of a char[].
4369
4370         * lyxlex_pimpl.C (getString): adjust
4371         (next): adjust
4372         (lex): use getString
4373         (eatLine): adjust
4374         (nextToken): adjust
4375
4376         * lyxlex.C (text): use pimpl_->getString()
4377         (getBool): ditto
4378         (findToken): ditto
4379
4380 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4383         (makeFontEntriesLayoutSpecific): temp var for par.size()
4384         (setLayout): temp var for ownerParagraphs().end()
4385         (fullRebreak): temp var for rows().end()
4386         (selectionAsString): temp var for boost::next(startpit), realize
4387         that the while really is a regular for loop.
4388         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4389         setCursor in one place.
4390         (setParagraph): temp vr for ownerParagraphs().end()
4391         (updateCounters): make the while loop a for loop
4392         (cutSelection): temp var for ownerParagraphs().end()
4393         (updateInset): make the do {} while() a regular for loop
4394         (getCursorX): use temp vars
4395         (setCurrentFont): use temp vars
4396         (getColumnNearX): use temp vars
4397
4398 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * text.C (transformChar): use temp var for getChar
4401         (computeBidiTables): use temp var for row->par()
4402         (fill): move temp vars for row->par() and pit->layout() earlier in
4403         the function.
4404         (labelFill): use temp var for row->par()
4405         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4406         asc and desc, realize that pit never changes and that firstpit is
4407         just a duplicate and not needed. Exchange rit->par() with pit in a
4408         lot of places.
4409         (breakAgain): use a temp var for boost::next(rit)
4410         (breakAgainOneRow): ditto
4411         (breakParagraph): use a temp var for rows().begin()
4412         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4413         (cursorRightOneWord): use temp var for cursor.par() and
4414         cursor.pos(), remove usage of tmpcursor.
4415         (cursorLeftOneWord): use temp var for cursor.par() and
4416         cursor.pos() only set cur at end of function.
4417
4418 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * text.C, text2.C: exchange all usage of Paragraph::next with
4421         boost::next(ParagraphList::iterator)
4422
4423         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4424
4425         * text2.C (cursorTop): simplify implementation
4426         (cursorBottom): ditto
4427         (setParagraph): use ParagraphList::iterator
4428         (setCurrentFont): adjust
4429         (getColumnNearX): adjust
4430         (cursorRight): adjust
4431         (cursorLeft): remove usage of Paragraph::previous
4432         (cursorUpParagraph): ditto
4433         (deleteEmptyParagraphMechanism): slight cleanup
4434
4435         * text.C (isBoundary): take a Paragraph const & instead of a
4436         pointer as arg.
4437         (addressBreakPoint): ditto
4438         (leftMargin): remove usage of Paragraph::previous.
4439         (setHeightOfRow): ditto
4440         (cursorLeftOneWord): ditto
4441         (selectNextWordToSpellcheck): ditto
4442         (Delete): ditto
4443         (backspace): ditto
4444         (breakParagraph): remove one usage of Paragraph::next
4445         (redoParagraph): ditto
4446         (acceptChange): ditto
4447         (insertChar): adjust
4448         (rowBreakPoint): adjust
4449
4450         * bufferview_funcs.C (toggleAndShow): adjust
4451
4452 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4455         methods to access it.
4456         * lyxtext.h:
4457         * text.C: Added updateRowPositions to compute all row positions.
4458         Make top_y and getRowNearY() to use the cached y position
4459
4460 2003-04-11  John Levon  <levon@movementarian.org>
4461
4462         * text.C (rowBreakPoint): reintroduce the labelEnd
4463         checks, code copied from the row fill stuff. Deep voodoo.
4464
4465         * text.C (fill): add a comment and debugging for the
4466         next poor soul.
4467
4468 2003-04-11  John Levon  <levon@movementarian.org>
4469
4470         * text.C: make sure fullrow insets get wrapped to the next line,
4471         even when they're in a manual label
4472
4473 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * text2.C (insertParagraph): make it take ParagraphList::iterator
4476         as arg.
4477         (setLayout): make it return ParagraphList::iterator
4478         (redoParagraphs): ditto
4479         (setCounter): ditto
4480         (checkParagraph): ditto
4481
4482         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4483
4484         * text2.C: adjust several funcs.
4485         (realizeFont): take a ParagraphList::iterator as arg.
4486         (getLayoutFont): ditto
4487         (getLabelFont): ditto
4488         (setCharFont): ditto
4489
4490         * text.C: adjust several funcs.
4491
4492 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4493
4494         * text.C (selectNextWordToSpellcheck): don't accidentally
4495         skip insets
4496
4497 2003-04-10  John Levon  <levon@movementarian.org>
4498
4499         * ToolbarBackend.C (getIcon): special handling for
4500         LFUN_MATH_DELIM
4501
4502 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * text2.C (cursorRight): a getChar assert fixed
4505
4506 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * text2.C (getFont): change to take a ParagraphList::iterator
4509         instead of Paragraph*
4510         Adjust several functions.
4511
4512         * text.C (transformChar): change to take a ParagraphList::iterator
4513         instead of Paragraph*
4514         (singleWidth): ditto
4515         Adjust several functions.
4516
4517         * rowpainter.C: adjust several functions
4518         * rowpainter.h:store a ParagraphList::iterator and not a
4519         Paragraph&.
4520
4521
4522 2003-04-09  John Levon  <levon@movementarian.org>
4523
4524         * lyxfunc.C:
4525         * lfuns.h:
4526         * LyXAction.h:
4527         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4528         and the "help" bits as well
4529
4530 2003-04-09  John Levon  <levon@movementarian.org>
4531
4532         * ToolbarBackend.h:
4533         * ToolbarBackend.C: allow multiple toolbars
4534
4535 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * undo_funcs.C (setCursorParUndo): adjust
4538
4539         * text_funcs.C (transposeChars): adjust
4540
4541         * text3.C (gotoNextInset): adjust
4542         (dispatch): adjust
4543
4544         * text2.C (setLayout): adjust
4545         (changeDepth): adjust
4546         (setFont): adjust
4547         (redoParagraphs): adjust
4548         (selectionAsString): adjust
4549         (setParagraph): adjust
4550         (insertInset): adjust
4551         (cutSelection): adjust
4552         (copySelection): adjust
4553         (pasteSelection): adjust
4554         (insertStringAsLines): adjust
4555         (updateInset): adjust
4556         (setCursor): change to take a ParagraphList::iterator parameter
4557         (setCursorIntern): change to take a ParagraphList::iterator parameter
4558         (setCurrentFont): adjust
4559         (cursorLeft): adjust
4560         (cursorRight): adjust
4561         (deleteEmptyParagraphMechanism): adjust
4562
4563         * text.C (breakParagraph): adjust
4564         (insertChar): adjust
4565         (acceptChange): adjust
4566         (rejectChange): adjust
4567         (selectNextWordToSpellcheck): adjust
4568         (changeCase): adjust
4569         (Delete): adjust
4570         (backspace): adjust
4571
4572         * lyxfind.C (SearchForward): adjust
4573         (SearchBackward): adjust
4574         (nextChange): adjust
4575
4576         * lyxcursor.C (par): adjust
4577
4578         * lyxcursor.h: store a ParagraphList::iterator instead of a
4579         Paragraph*
4580
4581         * lyx_cb.C (getPossibleLabel): adjust
4582
4583         * bufferview_funcs.C (toggleAndShow): adjust
4584
4585         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4586         (dispatch): adjust
4587
4588         * BufferView.C (removeAutoInsets): adjust
4589         (lockedInsetStoreUndo): adjust
4590
4591 2003-04-09  John Levon  <levon@movementarian.org>
4592
4593         * ToolbarBackend.C: try icon without argument
4594         if with argument fails
4595
4596 2003-04-08  John Levon  <levon@movementarian.org>
4597
4598         * ToolbarBackend.h:
4599         * ToolbarBackend.C: add getIcon(), handle tooltip,
4600         and change from "Icon" to "Item".
4601
4602 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * BufferView.C (lockInset): another bad getchar crunched
4605
4606 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4609         again)
4610
4611 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * lyxfind.C (searchForward, searchBackwards): bug 782
4614
4615 2003-04-07  John Levon  <levon@movementarian.org>
4616
4617         * paragraph.C: remove dead comment
4618
4619         * text.C: remove troublesome depth-fiddling code
4620         in leftMargin() and rightMargin() (bug 1017)
4621
4622         * text.C: fix breaking of rows in nested lists
4623         (bug 1004)
4624
4625         * text2.C (updateCounters): fix up depth values
4626         (bug 1013)
4627
4628 2003-04-07  John Levon  <levon@movementarian.org>
4629
4630         * BufferView_pimpl.C: clear message when doc finishes resizing,
4631         and after a mouse event
4632
4633         * lyxfunc.C: clear message after exiting inset
4634
4635 2003-04-07  John Levon  <levon@movementarian.org>
4636
4637         * bufferview_funcs.C: show math status not outside
4638         status in the statusbar
4639
4640 2003-04-07  John Levon  <levon@movementarian.org>
4641
4642         * lyxfunc.C: note status changed after a depth change
4643
4644 2003-04-04  Angus Leeming  <leeming@lyx.org>
4645
4646         * LaTeX.h: move AuxInfo operator==, != out of line.
4647         Remove LaTeX virtual destructor; nothing derives from it.
4648         Move operator()() out of public area and rename it startscript().
4649         Change protected for private.
4650
4651 2003-04-04  Angus Leeming  <leeming@lyx.org>
4652
4653         * lyxfunc.C:
4654         * text2.C: remove unneeded #includes.
4655
4656 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4657
4658         * text2.C (dEPM): fix the heigth of the next row
4659
4660 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * text.C: squashed an invalid getChar requester + some ws changes
4663
4664 2003-04-03  John Levon  <levon@movementarian.org>
4665
4666         * bufferview_funcs.h:
4667         * bufferview_funcs.C:
4668         * lyxfunc.C:
4669         * lyxtext.h:
4670         * text2.C: make getStatus work for the env depth lfuns
4671
4672 2003-04-03  John Levon  <levon@movementarian.org>
4673
4674         * bufferview_funcs.h:
4675         * bufferview_funcs.C:
4676         * lyxfunc.C:
4677         * lyxtext.h:
4678         * text2.C: parlistize decDepth(), by merging it with incDepth()
4679
4680 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * lyxrow.h: store a ParagraphList::iterator instead of a
4683         Paragraph* and adjust other class functions to suit.
4684
4685         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4686         above.
4687
4688 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * text2.C (setCursor): do not anchor to cursor row for the time being
4691
4692 2003-04-02  John Levon  <levon@movementarian.org>
4693
4694         * LyXAction.C:
4695         * lfuns.h:
4696         * lyx_main.C:
4697         * lyxtext.h:
4698         * text.C:
4699         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4700
4701 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * paragraph.h: make ParagraphList and ParagraphList::iterator
4704         friends of Paragraph.
4705
4706         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4707
4708         * ParagraphList.C: Use the private next_ and previous_ from
4709         Paragraph.
4710
4711 2003-04-01  John Levon  <levon@movementarian.org>
4712
4713         * ToolbarBackend.h:
4714         * ToolbarBackend.C:
4715         * Makefile.am: rename, remove defaults gunk
4716
4717         * MenuBackend.h:
4718         * MenuBackend.C: remove defaults gunk
4719
4720         * Languages.h:
4721         * Languages.C: remove defaults gunk
4722
4723         * lyx_main.h:
4724         * lyx_main.C: error out if files couldn't be found.
4725
4726 2003-04-02  John Levon  <levon@movementarian.org>
4727
4728         * text2.C: make incDepth() use parlist
4729
4730 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * undo_funcs.C (firstUndoParagraph): adjust
4733
4734         * text3.C (gotoInset): adjust
4735         (dispatch): adjust, and rewrite loop.
4736
4737         * text2.C (init): adjust, and rewrite loop.
4738         (redoParagraphs): adjust
4739         (updateInset): adjust, and rewrite loop.
4740         (deleteEmptyParagraphMechanism): adjust
4741
4742         * tabular.C (LyXTabular): adjust
4743         (SetMultiColumn): adjust
4744         (TeXRow): adjust
4745
4746         * lyxtext.[Ch] (ownerParagraph): delete function
4747         (ownerParagraphs): new function returns a ParagraphList.
4748
4749         * BufferView.C (removeAutoInsets): adjust
4750         (insertErrors): adjust
4751         (setCursorFromRow): adjust
4752
4753 2003-04-01  Angus Leeming  <leeming@lyx.org>
4754
4755         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4756         in the frontends.
4757
4758 2003-04-02  John Levon  <levon@movementarian.org>
4759
4760         * lyxtext.h:
4761         * text.C:
4762         * Makefile.am:
4763         * text_funcs.h:
4764         * text_funcs.C: make transposeChars a free function
4765
4766         * lyxrow_funcs.C: remove wrong comment
4767
4768 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * lyxtext.h: adjust
4771         * rowpainter.C: adjust
4772         * text.C: adjust
4773         * text2.C: adjust
4774         * text3.C: adjust
4775
4776         * lyxrow_funcs. [Ch]: new files
4777
4778         * lyxrow.[Ch]: remove next and previous pointers
4779         (next,previous): remove accessor functions
4780         (isParEnd): move to lyxrow_funcs
4781         (lastPos): move to lyxrow_funcs
4782         (nextRowIsAllInset): move to lyxrow_funcs
4783         (lastPrintablePos): move to lyxrow_funcs
4784         (numberOfSeparators): move to lyxrow_funcs
4785         (numberOfHfills): move to lyxrow_funcs
4786         (numberOfLabelHfills): move to lyxrow_funcs
4787         (hfillExpansion): move to lyxrow_funcs
4788
4789         * lyxfunc.C: adjust
4790
4791         * bufferview_funcs.C (toggleAndShow): adjust
4792
4793         * RowList.h: Remove class RowList from file leave just a
4794         std::list<Row>.
4795
4796         * RowList.C: delete file
4797
4798         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4799         and lyxrow_funcs.h
4800
4801 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * text3.C (cursorPrevious): adjust
4804         (cursorNext): adjust
4805         (dispatch): adjust
4806
4807         * text2.C (redoHeightOfParagraph): adjust
4808         (redoDrawingOfParagraph): adjust
4809         (setCursor): adjust
4810
4811         * text.C (breakParagraph): adjust
4812         (insertChar): adjust
4813         (backspace): adjust
4814
4815         * rowpainter.C (RowPainter): adjust
4816         (leftMargin): simplify and adjust
4817         (most rowpainter functions): adjust.
4818
4819         * rowpainter.h: store the row as RowList::iterator not as Row*
4820
4821         * lyxcursor.C (row): taka RowList::iterator as arg
4822         (irow): ditto
4823
4824         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4825         of Row*.
4826
4827 2003-04-01  Angus Leeming  <leeming@lyx.org>
4828
4829         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4830         stuff like bool Bool.
4831
4832 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4833
4834         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4835         rewrite a loop
4836
4837 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4840         RowList::iterator.
4841
4842         * lyxtext.h (rows): drop one version and leve a const variant that
4843         returns a RowList::iterator.
4844
4845 2003-03-31  Angus Leeming  <leeming@lyx.org>
4846
4847         * text.C (fill): ensure that the signature is the same as that in the
4848         header file.
4849
4850 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * text2.C (redoParagraphs): adjust
4853         (updateCounters): adjust
4854         (checkParagraph): adjust
4855         (getColumnNearX): adjust and reformat a bit.
4856
4857         * text.C (top_y): adjust
4858         (workWidth): adjust
4859         (leftMargin): adjust
4860         (prepareToPrint): adjust
4861         (getRow): adjust
4862         (getRowNearY): adjust
4863
4864         * lyxtext.h: make rowlist_ mutable.
4865
4866         * RowList.h: add const_iterator
4867         * RowList.C: adjust for RowList::const_iterator.
4868
4869         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4870         adjust.
4871
4872 2003-03-31  John Levon  <levon@movementarian.org>
4873
4874         * lyxrc.h:
4875         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4876
4877         * lyx_main.C: set default fonts from using lyx_gui funcs
4878
4879         * exporter.C: pdf_mode moved from lyxrc
4880
4881         * lyx_cb.C:
4882         * lyxfunc.C: changes from above
4883
4884 2003-03-31  John Levon  <levon@movementarian.org>
4885
4886         * lyx_main.C: fix to the last fix
4887
4888 2003-03-31  John Levon  <levon@movementarian.org>
4889
4890         * bufferlist.C: "Load original" -> "Load Original"
4891
4892         * converter.C:
4893         * exporter.C:
4894         * importer.C:
4895         * lyx_main.C:
4896         * format.C: more Alert cleanups
4897
4898 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * text2.C (removeParagraph): make it take a RowList::iterator as
4901         arg, adjust.
4902         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4903         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4904
4905         * text.C (anchor_row): make it take a RowList::iterator as arg,
4906         adjust.
4907         (computeBidiTables): make it take a const reference to Row instead
4908         of Row pointer, adjust.
4909         (leftMargin): make it take a RowList::iterator as arg, adjust.
4910         (rowBreakPoint): adjust
4911         (breakAgainOneRow): make it take a RowList::iterator as arg,
4912         adjust.
4913         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4914
4915         * bufferview_funcs.C (toggleAndShow): adjust
4916
4917 2003-03-30  John Levon  <levon@movementarian.org>
4918
4919         * Makefile.am:
4920         * BoostFormat.h:
4921         * boost-inst.C: moved to support
4922
4923         * several files: changes as a result
4924
4925 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * text2.C (LyXText): adjust.
4928         (init): adjust
4929         (removeRow): make it take a RowList::iterator as arg, adjust.
4930         (fullRebreak): adjust
4931         (deleteEmptyParagraphMechanism): adjust
4932         (clearPaint): adjust
4933         (postPaint): adjust
4934
4935         * text.C (top_y): adjust
4936         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4937         (breakAgain): make it take a RowList::iterator as arg, adjust.
4938         (breakParagraph): adjust
4939         (insertChar): adjust
4940         (backspace): adjust
4941
4942         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4943         need_break_row, and refresh_row.
4944
4945         * text3.C (dispatch): adjust
4946
4947         * text2.C (checkParagraph): adjust
4948         (setCursor): adjust
4949         (setCursorFromCoordinates): adjust
4950
4951         * text.C (top_y): adjust
4952         (workWidth): adjust
4953         (getRow): make it return a RowList::iterator, adjust
4954         (getRowNearY): make it return a RowList::iterator, adjust
4955
4956         * text2.C (init): adjust
4957         (insertRow): remove function
4958         (insertParagraph): adjust
4959         (redoParagraphs): adjust
4960         (fullRebreak): adjust
4961         (updateCounters): adjust
4962
4963         * text.C (top_y): rewrite to use RowList iterators.
4964         (top_y): adjust
4965         (setHeightOfRow): rewrite to sue RowList iterators.
4966         (appendParagraph): adjust
4967         (breakAgain): adjust
4968         (breakAgainOneRow): adjust
4969         (breakParagraph): adjust
4970         (getRow): adjust
4971         (getRowNearY): adjust, and remove commented code.
4972
4973         * lyxtext.h (firstRow): delete function
4974         (lastRow): delete function
4975         (rows): new function (const and non-const versions.)
4976         (insertRow): delete function
4977
4978         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4979
4980 2003-03-29  John Levon  <levon@movementarian.org>
4981
4982         * BufferView_pimpl.C: always update scrollbar top
4983         because pasting text when we're anchored could mean we
4984         miss an update altogether
4985
4986 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * text2.C (init): use rowlist_.end() and not 0.
4989         (insertRow): change to take a RowList::iterator as arg, adjust
4990         for this.
4991         (insertParagraph): change to take a RowList::iterator as arg,
4992         adjust for this.
4993         (redoParagraphs): remove some debug msgs.
4994
4995         * text.C (appendParagraph): change to take a RowList::iterator
4996         arg, adjust for this.
4997         (breakAgain): add an assert
4998         (breakAgainOneRow): ditto
4999
5000 2003-03-29  John Levon  <levon@movementarian.org>
5001
5002         * text2.C: do not clear selection after inc/decDepth
5003         (bug 550)
5004
5005 2003-03-29  John Levon  <levon@movementarian.org>
5006
5007         * BufferView.C:
5008         * buffer.C: fix broken strerrors according to Lars
5009
5010 2003-03-29  John Levon  <levon@movementarian.org>
5011
5012         * converters.C: more Alert cleanups
5013
5014 2003-03-29  John Levon  <levon@movementarian.org>
5015
5016         * bufferview_funcs.C: remove pointless Alert
5017
5018         * buffer.C: fix confusing error message when
5019         a template is chmoded 000
5020
5021 2003-03-29  John Levon  <levon@movementarian.org>
5022
5023         * BufferView.C:
5024         * BufferView.h:
5025         * BufferView_pimpl.C: Alert fixes
5026
5027         * Makefile.am:
5028         * tabular.C:
5029         * tabular-old.C: remove unused table compat reading
5030
5031 2003-03-29  John Levon  <levon@movementarian.org>
5032
5033         * BufferView.C:
5034         * buffer.C:
5035         * lyx_cb.h:
5036         * lyx_cb.C: more Alert cleanups
5037
5038         * lyxfunc.C: don't allow chktex if not latex document
5039
5040 2003-03-29  John Levon  <levon@movementarian.org>
5041
5042         * lyx_cb.C:
5043         * BufferView.C:
5044         * buffer.C: warnings pushed down from support/,
5045         kill err_alert
5046
5047 2003-03-29  John Levon  <levon@movementarian.org>
5048
5049         * lyxfunc.C: safety check for C-r (revert)
5050
5051 2003-03-29  John Levon  <levon@movementarian.org>
5052
5053         * bufferlist.h:
5054         * bufferlist.C: several UI fixes using Alert::prompt.
5055         Fix the pointless looping quit code. Fix stupid revert
5056         behaviour (bug 938)
5057
5058         * lyxvc.h:
5059         * lyxvc.C:
5060         * lyx_cb.C: use Alert::prompt
5061
5062         * lyx_main.C: remove a silly question
5063
5064         * lyxfunc.C: remove a couple of silly questions,
5065         use Alert::prompt
5066
5067 2003-03-28  John Levon  <levon@movementarian.org>
5068
5069         * text2.C: fix bug 974 (End on empty par)
5070
5071 2003-03-28  John Levon  <levon@movementarian.org>
5072
5073         * BufferView_pimpl.C:
5074         * LyXAction.C:
5075         * lfuns.h: remove do-nothing math greek lfuns
5076
5077 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * lyxgluelength.h (isValidGlueLength): add default arg on
5080         parameter 2. Remove default arg from friend in class.
5081
5082         * lyxlength.h (isValidLength): add default arg on parameter 2.
5083         Remove default arg from friend in class.
5084
5085         * text2.C (LyXText): adjust, initialize refresh_row.
5086         (init): adjust
5087         (removeRow): adjust
5088         (insertRow): adjust
5089         (insertParagraph): adjst
5090         (redoParagraphs): adjust
5091         (fullRebreak): adjust
5092         (updateCounters): adjust
5093         (deleteEmptyParagraphMechanism): first attempt at fixing a
5094         crashing bug.
5095
5096         * text.C (top_y): adjust
5097         (setHeightOfRow): adjust
5098         (getRow): adjust
5099         (getRowNearY): adjust
5100
5101         * lyxtext.h: include RowList.h
5102         (~LyXText): not needed anymore, deleted.
5103         (firstRow): modify for RowList
5104         (lastRow): new function
5105         Delete firstrow and lastrow class variables, add a Rowlist
5106         rowlist_ class variable.
5107
5108         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5109         paragraph is empty.
5110
5111         * RowList.C (insert): fix case where it == begin().
5112
5113 2003-03-26  Angus Leeming  <leeming@lyx.org>
5114
5115         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5116         the thesaurus dialog.
5117
5118 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5121
5122         * RowList.[Ch]: new files
5123
5124         * ParagraphList.C (erase): handle the case where it == begin
5125         correctly.
5126
5127 2003-03-25  John Levon  <levon@movementarian.org>
5128
5129         * Makefile.am:
5130         * aspell_local.h:
5131         * aspell.C: add new aspell support
5132
5133         * lyxrc.h:
5134         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5135         have it accessible.
5136
5137 2003-03-25  Angus Leeming  <leeming@lyx.org>
5138
5139         * lfuns.h:
5140         * LyXAction.C (init): new LFUN_INSET_INSERT.
5141
5142         * BufferView_pimpl.C (dispatch): split out part of the
5143         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5144
5145         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5146         LFUN_INSET_APPLY.
5147
5148 2003-03-25  Angus Leeming  <leeming@lyx.org>
5149
5150         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5151
5152 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5153
5154         * text2.C:
5155         * text3.C: remove useless row->height(0)
5156
5157 2003-03-25  John Levon  <levon@movementarian.org>
5158
5159         * lyxtext.h:
5160         * text2.C:
5161         * text3.C: rename the refreshing stuff to better names
5162
5163 2003-03-24  John Levon  <levon@movementarian.org>
5164
5165         * BufferView_pimpl.h:
5166         * BufferView_pimpl.C: update layout choice on a mouse
5167         press/release
5168
5169 2003-03-23  John Levon  <levon@movementarian.org>
5170
5171         * Makefile.am: fix commandtags.h reference
5172
5173 2003-03-22  John Levon  <levon@movementarian.org>
5174
5175         * BufferView_pimpl.C:
5176         * lyxtext.h:
5177         * rowpainter.C:
5178         * rowpainter.h:
5179         * text.C:
5180         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5181
5182 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5183
5184         * lyxtext.h:
5185         * text.C: take the rtl methods out of line
5186
5187 2003-03-21 André Pönitz <poenitz@gmx.net>
5188
5189         * metricsinfo.[Ch]: new files containing structures to be passed around
5190         during the two-phase-drawing...
5191
5192 2003-03-21 André Pönitz <poenitz@gmx.net>
5193
5194         * lyxtextclass.C: read 'environment' tag.
5195
5196 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * text2.C (removeRow): fix bug 964
5199
5200 2003-03-20  John Levon  <levon@movementarian.org>
5201
5202         * rowpainter.C:
5203         * text.C:
5204         * text2.C: paint cleanups. Inset::update() dropped font
5205         parameter
5206
5207 2003-03-19  John Levon  <levon@movementarian.org>
5208
5209         * lyxfunc.C: only fitcursor/markDirty if available()
5210
5211 2003-03-19  John Levon  <levon@movementarian.org>
5212
5213         * commandtags.h: rename to ...
5214
5215         * lfuns.h: ... this, and renumber / cleanup
5216
5217 2003-03-19  John Levon  <levon@movementarian.org>
5218
5219         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5220         fit the cursor after an lfun
5221
5222         * BufferView.h:
5223         * BufferView.C:
5224         * BufferView_pimpl.h:
5225         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5226
5227         * LyXAction.C: layout-character should have ReadOnly
5228
5229         * ParagraphParameters.C:
5230         * buffer.C:
5231         * bufferview_funcs.C:
5232         * lyx_cb.C:
5233         * lyxfind.C:
5234         * lyxtext.h:
5235         * text.C:
5236         * text2.C:
5237         * text3.C:
5238         * undo_funcs.C: changes from above
5239
5240 2003-03-18  John Levon  <levon@movementarian.org>
5241
5242         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5243         remove it from update()
5244
5245         * lyxfunc.C: update layout choice after an lfun
5246
5247         * text3.C: remove extra updateLayoutChoice()s
5248
5249 2003-03-18  John Levon  <levon@movementarian.org>
5250
5251         * text.C: top_y change means full repaint, fix
5252         a drawing bug with cursor movement
5253
5254 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * lyxtext.h:
5257         * text.C:
5258         * text2.C: anchor row on setCursor
5259
5260 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * lyxtext.h: remove almost all mutable keywords
5263         * text.C:
5264         * text2.C:
5265         * text3.C: remove const keywords accordingly
5266
5267 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5270         anon namespace
5271         (TeXEnvironment): ditto
5272         (TeXOnePar): ditto
5273
5274 2003-03-17  John Levon  <levon@movementarian.org>
5275
5276         * text.C (rowBreakPoint): remove attempt to fix displayed
5277         math insets inside a manual label
5278
5279 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * lyxtext.h: remove BufferView* as first arg from almost all class
5282         functions.
5283         * other files: adjust.
5284
5285 2003-03-17  John Levon  <levon@movementarian.org>
5286
5287         * lyxtext.h:
5288         * undo_funcs.C:
5289         * text2.C: more paint cleanups
5290
5291         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5292
5293         * rowpainter.h:
5294         * rowpainter.C: remove "smart" background painting code
5295
5296 2003-03-16  John Levon  <levon@movementarian.org>
5297
5298         * lyxtext.h:
5299         * text.C:
5300         * text2.C:
5301         * text3.C: add helper functions for setting refresh_row/y
5302
5303 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5304
5305         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5306         newline inset which *can* get inserted in the pass_thru layouts.
5307         This is primarily for literate documents.
5308
5309 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5310
5311         * buffer.C: increment LYX_FORMAT to 223
5312
5313 2003-03-14 André Pönitz <poenitz@gmx.net>
5314
5315         * textclass.h: prepare for environment handling, ws changes
5316         * lyxlayout.C: read latexheader and latexfooter tags
5317
5318 2003-03-14  John Levon  <levon@movementarian.org>
5319
5320         * text2.C: rewrite ::status() a bit
5321
5322 2003-03-13  John Levon  <levon@movementarian.org>
5323
5324         * lyxtext.h: add some docs
5325
5326 2003-03-13  John Levon  <levon@movementarian.org>
5327
5328         * lyxtext.h:
5329         * text.C:
5330         * text2.C:
5331         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5332
5333 2003-03-13  John Levon  <levon@movementarian.org>
5334
5335         * text3.C: fix appendix redrawing
5336
5337 2003-03-13  John Levon  <levon@movementarian.org>
5338
5339         * text.C (setHeightOfRow):
5340         * rowpainter.h:
5341         * rowpainter.C: make appendix mark have the text
5342           "Appendix" so the user knows what it is
5343
5344         * LColor.h:
5345         * LColor.C: s/appendixline/appendix/ from above
5346
5347 2003-03-13  John Levon  <levon@movementarian.org>
5348
5349         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5350
5351         * text.C: fix a getChar(pos) bug properly
5352
5353 2003-03-13  Angus Leeming  <leeming@lyx.org>
5354
5355         * commandtags.h:
5356         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5357         Probably only temporary. Let's see how things pan out.
5358
5359         * BufferView.C (unlockInset):
5360         * BufferView_pimpl.C (fitCursor):
5361         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5362
5363         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5364         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5365
5366         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5367         new functions that convert ParagraphParameters to and from a string.
5368
5369         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5370         BufferView::Pimpl's dispatch.
5371         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5372
5373 2003-03-13 André Pönitz <poenitz@gmx.net>
5374
5375         * lyxfunc.C:
5376         * text3.C:
5377         * factory.C: make it aware of InsetEnv
5378
5379 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * text2.C (setCursor): never ask for one past last
5382         (setCursor): add some debugging messages.
5383
5384         * text.C (singleWidth): never ask for one past last
5385         (singleWidth): ditto
5386         (leftMargin): ditto
5387         (rightMargin): ditto
5388         (rowBreakPoint): ditto
5389         (setHeightOfRow): ditto
5390         (prepareToPrint): ditto
5391
5392         * rowpainter.C (paintBackground): never ask for one past last
5393         (paintText): never ask for one past last
5394
5395         * paragraph_pimpl.C (getChar): make the assert stricter, never
5396         allow the one past last pos to be taken
5397
5398         * paragraph.C (getChar): ws changes only
5399
5400         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5401         (numberOfSeparators): ditto
5402         (numberOfHfills): ditto
5403
5404 2003-03-12  John Levon  <levon@movementarian.org>
5405
5406         * author.h:
5407         * author.C:
5408         * bufferparams.h:
5409         * bufferparams.C:
5410         * paragraph_funcs.C: fix per-buffer authorlists
5411
5412 2003-03-12  John Levon  <levon@movementarian.org>
5413
5414         * text.C: fix newline in right address
5415
5416 2003-03-12  Angus Leeming  <leeming@lyx.org>
5417
5418         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5419         duplicate those in LyXFunc::dispatch.
5420
5421         * commandtags.h:
5422         * LyXAction.C:
5423         * ToolbarDefaults.C:
5424         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5425         Add LFUN_FONTFREE_UPDATE.
5426
5427         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5428         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5429
5430         * bufferview_func.[Ch]: several new functions to facilliate
5431         transfer of data to and from the character dialog.
5432
5433 2003-03-12  John Levon  <levon@movementarian.org>
5434
5435         * buffer.C:
5436         * paragraph.h:
5437         * paragraph.C:
5438         * paragraph_funcs.C:
5439         * paragraph_pimpl.C:
5440         * sgml.C:
5441         * tabular.C:
5442         * text.C:
5443         * text3.C: remove META_NEWLINE in favour of an inset
5444
5445         * rowpainter.h:
5446         * rowpainter.C: remove paintNewline (done by inset)
5447
5448 2003-03-12  John Levon  <levon@movementarian.org>
5449
5450         * paragraph_pimpl.C: complain about bad getChar()s
5451         for a while at least
5452
5453 2003-03-12  John Levon  <levon@movementarian.org>
5454
5455         * buffer.h:
5456         * buffer.C: move paragraph read into a separate function,
5457         a little renaming to reflect that.
5458
5459         * bufferparams.h:
5460         * bufferparams.C: remove the author_ids map, not necessary now
5461
5462         * factory.h:
5463         * factory.C: moved Buffer::readInset to here
5464
5465         * paragraph_funcs.h:
5466         * paragraph_funcs.C: readParagraph free function moved from
5467         buffer.C
5468
5469         * tabular.C: name change
5470
5471 2003-03-12  John Levon  <levon@movementarian.org>
5472
5473         * buffer.C:
5474         * ParagraphParameters.C: move par params input to
5475         a read() method
5476
5477         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5478         behave like a normal read from the stream wrt reading
5479         a line vs. a \\token
5480
5481 2003-03-12  John Levon  <levon@movementarian.org>
5482
5483         * paragraph.C:
5484         * ParagraphParameters.h:
5485         * ParagraphParameters.C: move output code to a
5486         ::write() method
5487
5488 2003-03-12  John Levon  <levon@movementarian.org>
5489
5490         * BufferView.C (insertLyXFile):
5491         * buffer.h:
5492         * buffer.C:
5493         * tabular.C: use a parlist iterator for creating the
5494           document.
5495
5496 2003-03-12  John Levon  <levon@movementarian.org>
5497
5498         * buffer.C: make current_change static local not
5499           static file-scope
5500
5501 2003-03-12  John Levon  <levon@movementarian.org>
5502
5503         * buffer.C: fix insertStringAsLines for change tracking
5504
5505 2003-03-12  John Levon  <levon@movementarian.org>
5506
5507         * BufferView.C:
5508         * tabular.C:
5509         * buffer.h:
5510         * buffer.C:
5511         * bufferparams.h:
5512         * bufferparams.C: move author list into params. Rename some
5513           functions. Move the header reading into a separate token
5514           loop. Move the header token reading into BufferParams.
5515
5516 2003-03-12  John Levon  <levon@movementarian.org>
5517
5518         * changes.C: put debug inside lyxerr.debugging() checks
5519
5520 2003-03-11 André Pönitz <poenitz@gmx.net>
5521
5522         * factory.C: make it aware of InsetHFill
5523
5524 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5525
5526         * buffer.C (latexParagraphs): move function from here...
5527         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5528         args.
5529
5530 2003-03-10  Angus Leeming  <leeming@lyx.org>
5531
5532         * LyXAction.C (init): fix bug in poplating array with multiple entries
5533         with the same LFUN (spotted by JMarc).
5534
5535 2003-03-10  John Levon  <levon@movementarian.org>
5536
5537         * text.C:
5538         * text2.C: move getColumnNearX() near its
5539         only call site
5540
5541 2003-03-10  John Levon  <levon@movementarian.org>
5542
5543         * text.C: fix break before a minipage
5544
5545 2003-03-10  John Levon  <levon@movementarian.org>
5546
5547         * text.C: fix the last commit
5548
5549 2003-03-09  John Levon  <levon@movementarian.org>
5550
5551         * lyxtext.h:
5552         * text.C:
5553         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5554         bug 365 (don't break before insets unless needed). Don't
5555         return a value > last under any circumstances.
5556
5557 2003-03-09  Angus Leeming  <leeming@lyx.org>
5558
5559         * BufferView_pimpl.C (trackChanges, dispatch): call
5560         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5561
5562 2003-03-09  Angus Leeming  <leeming@lyx.org>
5563
5564         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5565         than Dialogs::showAboutlyx().
5566
5567 2003-03-09  Angus Leeming  <leeming@lyx.org>
5568
5569         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5570         than Dialogs::showTabularCreate().
5571
5572 2003-03-09  John Levon  <levon@movementarian.org>
5573
5574         * lyxtext.h:
5575         * text.C:
5576         * text2.C: 3rd arg to nextBreakPoint was always the same.
5577           Use references.
5578
5579 2003-03-08  John Levon  <levon@movementarian.org>
5580
5581         * lyxrow.C:
5582         * paragraph.C:
5583         * paragraph.h:
5584         * rowpainter.C:
5585         * text.C:
5586         * text2.C: Remove the "main" bit from the "main body"
5587           notion.
5588
5589 2003-03-08  John Levon  <levon@movementarian.org>
5590
5591         * text.C (leftMargin): The left margin of an empty
5592         manual label paragraph should not include the label width
5593         string length.
5594
5595         * text.C (prepareToPrint): don't attempt to measure hfills
5596         for empty manual label paragraphs - the answer should be 0
5597
5598 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * CutAndPaste.C: remove commented code and reindent.
5601
5602 2003-03-08  John Levon  <levon@movementarian.org>
5603
5604         * lyxfunc.h:
5605         * lyxfunc.C: move reloadBuffer()
5606
5607         * BufferView.h:
5608         * BufferView.C: to here
5609
5610         * lyxvc.C: add comment
5611
5612         * vc-backend.h:
5613         * vc-backend.C: call bv->reload() to avoid
5614           getStatus() check on MENURELOAD
5615
5616 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5617
5618         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5619         to an old format .dep file.
5620
5621 2003-03-07  Angus Leeming  <leeming@lyx.org>
5622
5623         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5624         when the LFUN_MOUSE_RELEASE should have been handled by
5625         inset->localDispatch.
5626
5627 2003-03-07  Angus Leeming  <leeming@lyx.org>
5628
5629         * BufferView_pimpl.C (dispatch):
5630         * LyXAction.C (init):
5631         * ToolbarDefaults.C (init):
5632         * commandtags.h:
5633         * lyxfunc.C (getStatus):
5634         remove LFUN_INSET_GRAPHICS.
5635
5636         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5637
5638 2003-03-07  Angus Leeming  <leeming@lyx.org>
5639
5640         * commandtags.h:
5641         * LyXAction.C (init):
5642         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5643
5644         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5645
5646         * commandtags.h:
5647         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5648
5649         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5650         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5651
5652 2003-03-07  Angus Leeming  <leeming@lyx.org>
5653
5654         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5655         remove "ert".
5656
5657 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * ParagraphList.C (front): new function
5660         (back): implement
5661
5662 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5665         and top_row_offset_. removed var first_y.
5666         * text.C (top_y):
5667         * text2.C (LyXText, removeRow):
5668         * text3.C:
5669         * BufferView_pimpl.C:
5670         use these methods instead of using first_y
5671
5672 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * text2.C (pasteSelection): adjust for checkPastePossible
5675
5676         * CutAndPaste.C: remove Paragraph * buf and replace with
5677         ParagraphList paragraphs.
5678         (DeleteBuffer): delete
5679         (cutSelection): change the tc type to textclass_type
5680         (copySelection): change the tc type to textclass_type
5681         (copySelection): adjust for ParagraphList
5682         (pasteSelection): change the tc type to textclass_type
5683         (pasteSelection): adjust for Paragraphlist
5684         (nrOfParagraphs): simplify for ParagraphList
5685         (checkPastePossible): simplify for ParagraphList
5686         (checkPastePossible): remove unused arg
5687
5688         * ParagraphList.C (insert): handle the case where there are no
5689         paragraphs yet.
5690
5691         * CutAndPaste.h: make CutAndPaste a namespace.
5692
5693         * text3.C (dispatch): adjust
5694
5695         * text.C (breakParagraph): add a ParagraphList as arg
5696
5697         * paragraph_funcs.C (breakParagraph): change to take a
5698         BufferParams and a ParagraphList as args.
5699         (breakParagraphConservative): ditto
5700         (mergeParagraph): ditto
5701         (TeXDeeper): add a ParagraphList arg
5702         (TeXEnvironment): ditto
5703         (TeXOnePar): ditto
5704
5705         * buffer.C (readLyXformat2): adjust
5706         (insertStringAsLines): adjust
5707         (latexParagraphs): adjust
5708
5709         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5710         (cutSelection): adjust
5711         (pasteSelection): adjust
5712
5713         * BufferView_pimpl.C (insertInset): adjust
5714
5715 2003-03-05  Angus Leeming  <leeming@lyx.org>
5716
5717         * commandtags.h:
5718         * LyXAction.C (init):
5719         * BufferView_pimpl.C (dispatch):
5720         * lyxfunc.C (getStatus):
5721         remove LFUN_CHILD_INSERT.
5722
5723         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5724
5725 2003-03-05  Angus Leeming  <leeming@lyx.org>
5726
5727         * commandtags.h:
5728         * LyXAction.C (init):
5729         * src/factory.C (createInset):
5730         * lyxfunc.C (getStatus):
5731         * text3.C (dispatch):
5732         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5733
5734         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5735
5736 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * ParagraphList.C (insert): handle insert right before end()
5739         (erase): fix cases where it can be first or last paragraph.
5740
5741 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5744         Paragraph::next and Paragraph::previous
5745         (TeXOnePar): ditto
5746
5747         * text.C (breakParagraph): adjust
5748
5749         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5750         BufferParams& as arg.
5751         (breakParagraph): use ParagraphList::insert
5752         (breakParagraphConservative): take a Buffer* instead of a
5753         BufferParams& as arg.
5754         (breakParagraphConservative): use ParagraphList::insert.
5755
5756         * buffer.C (insertStringAsLines): un-const it
5757         (insertStringAsLines): adjust
5758
5759         * ParagraphList.C (insert): new function
5760
5761         * CutAndPaste.C (pasteSelection): adjust
5762
5763         * text.C (backspace): adjust
5764
5765         * tabular.C (SetMultiColumn): adjust
5766
5767         * CutAndPaste.C (cutSelection): adjust
5768         (pasteSelection): adjust
5769
5770         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5771         Buffer const * as arg
5772
5773         * ParagraphList.C (erase): new function
5774         * paragraph_funcs.C (mergeParagraph): use it
5775         (mergeParagraph): make it take a Buffer* instead of a
5776         BufferParams* as arg
5777
5778         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5779         as arg
5780         (breakParagraphConservative): ditto
5781
5782         * paragraph.h: remove the breakParagraph friend
5783
5784         * paragraph.C (eraseIntern): new function
5785         (setChange): new function
5786
5787         * paragraph_funcs.C (mergeParagraph): make it take a
5788         ParagraphList::iterator instead of a Paragraph *, adjust
5789         accordingly.
5790
5791         * paragraph.h: move an #endif so that the change tracking stuff
5792         also works in the NO_NEXT case.
5793
5794 2003-03-04  Angus Leeming  <leeming@lyx.org>
5795
5796         * commandtags.h:
5797         * LyXAction.C: new LFUN_INSET_MODIFY.
5798
5799         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5800         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5801
5802 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * several files: ws changes only
5805
5806         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5807         (TeXEnvironment): ditto
5808         (TeXDeeper): ditto
5809
5810         * buffer.C (makeLaTeXFile): adjust
5811         (latexParagraphs): make it take ParagraphList::iterator as args
5812
5813 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * buffer.C (latexParagraphs): adjust
5816
5817         * paragraph.C (TeXOnePar): move function...
5818         (optArgInset): move function...
5819         (TeXEnvironment): move function...
5820         * paragraph_pimpl.C (TeXDeeper): move function...
5821         * paragraph_funcs.C: ...here
5822
5823         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5824
5825 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * buffer.C (readInset): remove compability code for old Figure and
5828         InsetInfo insets
5829
5830 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * buffer.C: ws changes
5833         (readInset):
5834
5835         * BufferView_pimpl.C: ditto
5836         * author.C: ditto
5837         * buffer.h: ditto
5838         * bufferlist.h: ditto
5839         * changes.h: ditto
5840         * lyxfunc.C: ditto
5841
5842 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5843
5844         * converter.[Ch]: split into itself +
5845         * graph.[Ch]
5846         * format.[Ch]
5847         * Makefile.am: += graph.[Ch] + format.[Ch]
5848         * MenuBackend.C
5849         * buffer.C
5850         * exporter.C
5851         * importer.C
5852         * lyx_main.C
5853         * lyxfunc.C
5854         * lyxrc.C: added #include "format.h"
5855
5856 2003-02-27  Angus Leeming  <leeming@lyx.org>
5857
5858         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5859           a label.
5860
5861         * factory.C (createInset): add "label" to the factory.
5862
5863         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5864           string and do no more.
5865
5866 2003-02-27  Angus Leeming  <leeming@lyx.org>
5867
5868         * commandtags.h:
5869         * LyXAction.C (init):
5870         * factory.C (createInset):
5871         * BufferView_pimpl.C (dispatch):
5872           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5873
5874         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5875
5876         * lyxfunc.C (dispatch):
5877         * text3.C (dispatch): pass name to params2string.
5878
5879 2003-02-26  Angus Leeming  <leeming@lyx.org>
5880
5881         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5882           blocks together.
5883           Rearrange the ~includes. Strip out the unnecessary ones.
5884
5885         * factory.C (createInset): reformat.
5886           create new insets for the various LFUN_XYZ_APPLY lfuns.
5887
5888 2003-02-26  John Levon  <levon@movementarian.org>
5889
5890         * lyxrow.h:
5891         * lyxrow.C: add isParStart,isParEnd helpers
5892
5893         * paragraph.h: make isInserted/DeletedText take refs
5894
5895         * paragraph_funcs.h:
5896         * paragraph_funcs.C: remove #if 0'd code
5897
5898         * lyxtext.h:
5899         * text3.C:
5900         * text2.C:
5901         * text.C: use lyxrow helpers above.
5902           Move draw and paint routines to RowPainter.
5903           Make several methods use refs not pointers.
5904           Make backgroundColor() const.
5905           Add markChangeInDraw(), isInInset().
5906           Merge changeRegionCase into changeCase.
5907           Make workWidth() shouldn't-happen code into an Assert.
5908
5909         * rowpainter.h:
5910         * rowpainter.C: new class for painting a row.
5911
5912         * vspace.h:
5913         * vspace.C: make inPixels take a ref
5914
5915 2003-02-26  Angus Leeming  <leeming@lyx.org>
5916
5917         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5918         LFUN_REF_APPLY.
5919
5920 2003-02-25  John Levon  <levon@movementarian.org>
5921
5922         * ispell.C: give the forked command a more accurate name
5923
5924 2003-02-22  John Levon  <levon@movementarian.org>
5925
5926         * toc.h:
5927         * toc.C: make TocItem store an id not a Paragraph *
5928           (bug #913)
5929
5930 2003-02-21  Angus Leeming  <leeming@lyx.org>
5931
5932         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5933           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5934           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5935           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5936           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5937           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5938
5939         * BufferView_pimpl.C (dispatch):
5940         * LyXAction.C (init):
5941         * factory.C (createInset):
5942         * lyxfunc.C (getStatus, dispatch):
5943         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5944
5945 2003-02-21  Angus Leeming  <leeming@lyx.org>
5946
5947         * BufferView_pimpl.C (MenuInsertLyXFile):
5948         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5949         * lyxfunc.C (menuNew, open, doImport):
5950           no longer pass a LyXView & to fileDlg.
5951
5952 2003-02-21  Angus Leeming  <leeming@lyx.org>
5953
5954         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5955         * LyXAction.C: change, BIBKEY to BIBITEM.
5956         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5957         Change InsetBibKey to InsetBibitem.
5958         Change BIBKEY_CODE to BIBITEM_CODE.
5959         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5960         * factory.C: replace insetbib.h with insetbibitem.h.
5961         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5962         * paragraph.C: replace insetbib.h with insetbibitem.h.
5963         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5964         Change bibkey() to bibitem().
5965         * text.C: remove insetbib.h.
5966         * text2.C: replace insetbib.h with insetbibitem.h.
5967         change bibkey() to bibitem().
5968         * text3.C: remove insetbib.h.
5969         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5970
5971 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5972
5973         * lyxrc.C (output): enclose user email in quotes (in case there are
5974         several words)
5975
5976 2003-02-18  John Levon  <levon@movementarian.org>
5977
5978         * buffer.h: add std::
5979
5980 2003-02-17  John Levon  <levon@movementarian.org>
5981
5982         * SpellBase.h:
5983         * ispell.h:
5984         * ispell.C:
5985         * pspell.h:
5986         * pspell.C: reworking. Especially in ispell, a large
5987           number of clean ups and bug fixes.
5988
5989         * lyxfunc.C: fix revert to behave sensibly
5990
5991 2003-02-17 André Pönitz <poenitz@gmx.net>
5992
5993         * LyXAction.C:
5994         * commandtags.h: new LFUN_INSERT_BIBKEY
5995
5996         * layout.h:
5997         * lyxlayout.C:
5998         * buffer.C:
5999         * factory.C:
6000         * text.C:
6001         * text2.C:
6002         * text3.C:
6003         * paragraph.[Ch]:
6004         * paragraph_func.C: remove special bibkey handling
6005
6006 2003-02-17  John Levon  <levon@movementarian.org>
6007
6008         * text.C (Delete): fix case where delete at the end of
6009           the very first paragraph would not merge the pars
6010
6011 2003-02-17  John Levon  <levon@movementarian.org>
6012
6013         * lyxrow.C: fix lastPrintablePos()
6014
6015 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6016
6017         * bufferparams.C (writeLaTeX): add a std:here
6018
6019         * buffer.C: and remove a using directive there
6020
6021 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6022
6023         * buffer.C (makeLaTeXFile): move the code that generates the
6024           preamble...
6025
6026         * bufferparams.C (writeLaTeX): ... in this new method
6027
6028         * LaTeXFeatures.C (getEncodingSet): make const
6029           (getLanguages): make const
6030
6031         * MenuBackend.C (binding): returns the binding associated to this
6032           action
6033           (add): sets the status of each item by calling getStatus. Adds
6034           some intelligence.
6035           (read): add support for OptSubMenu
6036           (expand): remove extra separator at the end of expanded menu
6037
6038 2003-02-15  John Levon  <levon@movementarian.org>
6039
6040         * BufferView.C:
6041         * BufferView_pimpl.C:
6042         * bufferlist.h:
6043         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6044           inset code that had no actual effect. Remove unneeded status
6045           code.
6046
6047 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6048
6049         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6050           in preamble
6051
6052 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6053
6054         * text.C (drawLengthMarker): also draw an arrow marker for
6055           symbolic lengths (medskip...)
6056
6057 2003-02-14  John Levon  <levon@movementarian.org>
6058
6059         * tabular.h:
6060         * tabular.C: better method names
6061
6062 2003-02-14  John Levon  <levon@movementarian.org>
6063
6064         * BufferView_pimpl.C:
6065         * bufferlist.C:
6066         * buffer.C:
6067         * converter.C:
6068         * lyx_cb.C:
6069         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6070           it's a more accurate name. Remove some pointless uses.
6071
6072 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6073
6074         * text2.C (LyXText): change order of initilizers to shut off
6075           warnings
6076
6077 2003-02-14  John Levon  <levon@movementarian.org>
6078
6079         * buffer.C: use ParIterator for getParFromID()
6080
6081         * paragraph.h:
6082         * paragraph.C:
6083         * paragraph_pimpl.h:
6084         * paragraph_pimpl.C: remove unused getParFromID()
6085
6086 2003-02-14  John Levon  <levon@movementarian.org>
6087
6088         * buffer.C: remove some very old #if 0'd parse code
6089
6090 2003-02-13  John Levon  <levon@movementarian.org>
6091
6092         * text.h:
6093         * text.C:
6094         * text2.C: move hfillExpansion(), numberOfSeparators(),
6095           rowLast(), rowLastPrintable(), numberofHfills(),
6096           numberOfLabelHfills() ...
6097
6098         * lyxrow.h:
6099         * lyxrow.C: ... to member functions here.
6100
6101         * paragraph.h:
6102         * paragraph.C:
6103         * lyxtext.h:
6104         * text.C: remove LyXText::beginningOfMainBody(), and call
6105           p->beginningOfMainBody() directly. Move the check for
6106           LABEL_MANUAL into the latter.
6107
6108         * text.h:
6109         * text.C:
6110         * text2.C:
6111         * vspace.C:
6112         * BufferView.h:
6113         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6114
6115         * text.h:
6116         * text.C:
6117         * text2.C:
6118         * text3.C:
6119         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6120           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6121
6122 2003-02-13  John Levon  <levon@movementarian.org>
6123
6124         * CutAndPaste.C: remove debug
6125
6126 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6127
6128         * paragraph.C (asString): remove two unused variables
6129
6130         * lyxtextclass.C (readTitleType):
6131           (Read):
6132           (LyXTextClass): handle new members titletype_ and titlename_
6133
6134         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6135
6136 2003-02-09  John Levon  <levon@movementarian.org>
6137
6138         * buffer.h:
6139         * buffer.C: replace hand-coded list with a map for the dep clean
6140
6141 2003-02-08  John Levon  <levon@movementarian.org>
6142
6143         * LaTeX.C: consolidate code into showRunMessage() helper
6144
6145 2003-02-08  John Levon  <levon@movementarian.org>
6146
6147         * lyxfind.C:
6148         * lyxtext.h:
6149         * text2.C:
6150         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6151           and pass the size in explicitly
6152
6153         * BufferView_pimpl.h:
6154         * BufferView_pimpl.C:
6155         * BufferView.h:
6156         * BufferView.C: add getCurrentChange()
6157
6158         * BufferView_pimpl.h:
6159         * BufferView_pimpl.C: handle change lfuns
6160
6161         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6162           for changes. Mark pasted paragraphs as new.
6163
6164         * support/lyxtime.h:
6165         * support/lyxtime.C:
6166         * DepTable.C: abstract time_t as lyx::time_type
6167
6168         * LColor.h:
6169         * LColor.C: add colours for new text, deleted text, changebars
6170
6171         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6172           package use "usenames" option.
6173
6174         * commandtags.h:
6175         * lyxfunc.C:
6176         * LyXAction.C: add change lfuns
6177
6178         * Makefile.am:
6179         * author.h:
6180         * author.C: author handling
6181
6182         * buffer.h:
6183         * buffer.C: add a per-buffer author list, with first entry as
6184           current author. Handle new .lyx tokens for change tracking. Output
6185           author list to .lyx file. Output dvipost stuff to .tex preamble.
6186           Bump lyx format to 222.
6187
6188         * bufferlist.h:
6189         * bufferlist.C: add setCurrentAuthor() to reset current author details
6190           in all buffers.
6191
6192         * bufferparams.h:
6193         * bufferparams.C: add param for tracking
6194
6195         * bufferview_funcs.C: output change info in minibuffer
6196
6197         * Makefile.am:
6198         * changes.h:
6199         * changes.C: add change-tracking structure
6200
6201         * debug.h:
6202         * debug.C: add CHANGES debug flag
6203
6204         * lyxfind.h:
6205         * lyxfind.C: add code for finding the next change piece
6206
6207         * lyxrc.h:
6208         * lyxrc.C: add user_name and user_email
6209
6210         * lyxrow.h:
6211         * lyxrow.C: add a metric for the top of the text line
6212
6213         * lyxtext.h:
6214         * text.C: implement accept/rejectChange()
6215
6216         * lyxtext.h:
6217         * text.C: paint changebars. Paint new/deleted text in the chosen
6218         colours. Strike through deleted text.
6219
6220         * paragraph.h:
6221         * paragraph.C:
6222         * paragraph_pimpl.h:
6223         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6224           in the current change to the insert functions. Rework erase to
6225           mark text as deleted, adding an eraseIntern() and a range-based
6226           erase(). Implement per-paragraph change lookup and
6227           accept/reject.
6228
6229         * paragraph_funcs.C: Fixup paste for change tracking.
6230
6231         * tabular.C: mark added row/columns as new.
6232
6233         * text.C: fix rowLast() to never return -1. Don't allow
6234           spellchecking of deleted text. Track transpose changes. Don't
6235           allow paragraph break or merge where appropriate.
6236
6237         * text2.C: leave cursor at end of selection after a cut.
6238
6239 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6240
6241         * text.C (getLengthMarkerHeight):
6242         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6243         visible on screen too.
6244
6245 2003-02-07  John Levon  <levon@movementarian.org>
6246
6247         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6248
6249 2003-02-05  Angus Leeming  <leeming@lyx.org>
6250
6251         * lyxserver.C (read_ready): revert my patch of 11 September last year
6252         as it sends PC cpu through the roof. Presumably this means that
6253         the lyxserver will no longer run on an Alpha...
6254
6255 2003-01-30  Angus Leeming  <leeming@lyx.org>
6256
6257         * factory.C (createInset): create an InsetCommandParam of type "index"
6258         and use it to 'do the right thing'.
6259
6260         * text2.C (getStringToIndex): ensure that cursor position is always
6261         reset to the reset_cursor position.
6262
6263 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6264
6265         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6266         disabled.
6267
6268 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6269
6270         * bufferview.C:
6271         * lyxcb.C:
6272         * lyxfunc.C: Output messages with identical spelling, punctuation,
6273         and spaces
6274
6275 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6276
6277         * MenuBackend.C (expandFormats): List only viewable export formats
6278         in "View" menu
6279
6280         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6281         message
6282
6283         * lyxfunc.C (getStatus): Make sure that formats other than
6284         "fax" can also be disabled
6285
6286 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6287
6288         * text3.C (dispatch): put the lfuns that insert insets in 3
6289         groups, and call doInsertInset with appropriate arguments.
6290         (doInsertInset): new function, that creates an inset and inserts
6291         it according to some boolean parameters.
6292
6293 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * buffer.C (readFile): remember to pass on 'par' when calling
6296         readFile recursively.
6297
6298 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6299
6300         * MenuBackend.C (expandFormats): add "..." to import formats.
6301
6302 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6303
6304         * paragraph.C (asString): Remove XForms RTL hacks.
6305
6306 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6307         * buffer.C: fix typo
6308
6309 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * Makefile.am (LIBS): delete var
6312         (lyx_LDADD): add @LIBS@ here instead.
6313
6314 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6315
6316         * Clarify the meaning of "wheel mouse jump"
6317
6318 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6319
6320         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6321         tabular in a float
6322
6323 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6324
6325         * importer.C (Loaders): do not preallocate 3 elements in the
6326         vector, since one ends up with 6 elements otherwise
6327
6328 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6329
6330         * DepTable.C (write): write the file name as last element of the
6331         .dep file (because it may contain spaces)
6332         (read): read info in the right order
6333
6334 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6335
6336         * paragraph_pimpl.C (simpleTeXBlanks):
6337         (simpleTeXSpecialChars):
6338         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6339
6340         * tabular.C (latex): add some missing case statements. Reindent.
6341
6342         * MenuBackend.C (expandToc): remove unused variable.
6343
6344 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6345
6346         * LColor.C:
6347         * LaTeX.C:
6348         * LyXAction.C:
6349         * MenuBackend.C:
6350         * buffer.C:
6351         * exporter.C:
6352         * lyxfunc.C:
6353         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6354         and the like.
6355
6356 2003-01-05  John Levon  <levon@movementarian.org>
6357
6358         * BufferView.h:
6359         * BufferView.C: add getEncoding()
6360
6361         * kbsequence.h:
6362         * kbsequence.C: do not store last keypress
6363
6364         * lyxfunc.h:
6365         * lyxfunc.C: store last keypress here instead. Pass encoding
6366           to getISOEncoded()
6367
6368 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6369
6370         * lyx_main.C (init): remove annoying error message when following
6371         symbolic links (bug #780)
6372
6373 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6374
6375         * text.C (insertChar):
6376         * lyxrc.C (getDescription): remove extra spaces
6377
6378 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6379
6380         * lyxrc.C (getDescription): remove extra spaces
6381
6382 2002-12-20  John Levon  <levon@movementarian.org>
6383
6384         * text3.C: hack fix for page up/down across tall rows
6385
6386 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6389         not been invoked
6390
6391 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6392
6393         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6394         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6395         thesaurus is not compiled in
6396
6397 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6398
6399         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6400
6401 2002-12-16  Angus Leeming  <leeming@lyx.org>
6402
6403         * lyxrc.[Ch]:
6404         * lyx_main.C (init): remove override_x_deadkeys stuff.
6405
6406 2002-12-12  John Levon  <levon@movementarian.org>
6407
6408         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6409           insert. Only remove shift modifier under strict
6410           circumstances.
6411
6412 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * MenuBackend.C (expandToc): fix crash.
6415
6416 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * MenuBackend.C (expandToc): gettext on float names.
6419
6420 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6421
6422         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6423         implement bool empty() [bug 490]
6424
6425 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6428
6429 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * several files: ws changes
6432
6433 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * text2.C (setCounter): clean up a bit, use boost.format.
6436         (updateCounters): initialize par upon declaration.
6437
6438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6439         if the layout exists. We do not just store the layout any more.
6440         (SwitchLayoutsBetweenClasses): use boost.format
6441
6442 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6443
6444         * converter.C (convert): if from and to files are the same, use a
6445         temporary files as intermediary
6446
6447 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6448
6449         * commandtags.h:
6450         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6451
6452 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6453
6454         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6455
6456 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * tabular.C (asciiPrintCell): use string(size, char) instead of
6459         explicit loop.
6460
6461         * sgml.C (openTag): fix order of arguments to string constructor
6462         (closeTag): ditto
6463
6464         * lyxfunc.C (dispatch): use boost.format
6465
6466         * lots of files: change "c" -> 'c'
6467
6468 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6469
6470         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6471
6472 2002-11-25  Angus Leeming  <leeming@lyx.org>
6473
6474         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6475
6476         * lyx_main.C (init): compile fix.
6477
6478 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * lyx_cb.C (start): boost.formatify
6481         do not include <iostream>
6482
6483         * lengthcommon.C: ws only
6484
6485         * boost-inst.C,BoostFormat.h: add more explict instantations
6486
6487 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * lots of files: handle USE_BOOST_FORMAT
6490
6491 2002-11-21  John Levon  <levon@movementarian.org>
6492
6493         * pspell.C: fix compile
6494
6495 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6496
6497         * lyxfunc.C (dispatch): use boost::format
6498         (open): ditto
6499         (doImport): ditto
6500
6501         * lyxfont.C (stateText): use boost::format
6502
6503         * lyx_main.C (LyX): use boost::format
6504         (init): ditto
6505         (queryUserLyXDir): ditto
6506         (readRcFile): ditto
6507         (parse_dbg): ditto
6508         (typedef boost::function): use the recommened syntax.
6509
6510         * importer.C (Import): use boost::format
6511
6512         * debug.C (showLevel): use boost::format
6513
6514         * converter.C (view): use boost::format
6515         (convert): ditto
6516         (move): ditto
6517         (scanLog): ditto
6518
6519         * bufferview_funcs.C (currentState): use boost::format
6520
6521         * bufferlist.C (emergencyWrite): use boost::format
6522
6523         * buffer.C (readLyXformat2): use boost::format
6524         (parseSingleLyXformat2Token): ditto
6525
6526         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6527
6528         * LaTeX.C (run): use boost::format
6529
6530         * Chktex.C (scanLogFile): use boost::format
6531
6532         * BufferView_pimpl.C (savePosition): use boost::format
6533         (restorePosition): ditto
6534         (MenuInsertLyXFile): ditto
6535
6536         * BoostFormat.h: help file for explicit instation.
6537
6538 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6539
6540         * tabular.C (latex): Support for block alignment in fixed width
6541         columns.
6542
6543 2002-11-17  John Levon  <levon@movementarian.org>
6544
6545         * BufferView_pimpl.C:
6546         * lyx_cb.C:
6547         * lyxfunc.C: split filedialog into open/save
6548
6549 2002-11-08  Juergen Vigna  <jug@sad.it>
6550
6551         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6552         by my last patch (hopefully).
6553
6554 2002-11-08  John Levon  <levon@movementarian.org>
6555
6556         * iterators.h:
6557         * iterators.C:
6558         * buffer.h:
6559         * buffer.C:
6560         * paragraph.h:
6561         * paragraph.C:
6562         * toc.h:
6563         * toc.C: ParConstIterator, and use it (from Lars)
6564
6565 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6566
6567         * lyxtextclass.[Ch]: revise and add doxygen comments
6568
6569 2002-11-07  John Levon  <levon@movementarian.org>
6570
6571         * text.C: fix progress value for spellchecker
6572
6573         * toc.C: fix navigate menu for insetwrap inside minipage
6574
6575         * paragraph_funcs.C: added FIXME for suspect code
6576
6577 2002-11-07  John Levon  <levon@movementarian.org>
6578
6579         * BufferView_pimpl.C: fix redrawing of insets
6580           on buffer switch
6581
6582 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6583
6584         * text2.C (updateCounters): fix bug 668
6585
6586 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6587
6588         * text3.C (dispatch): Do not make the buffer dirty when moving the
6589         cursor.
6590
6591 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * vc-backend.C: STRCONV
6594         (scanMaster): ditto
6595
6596         * text2.C (setCounter): STRCONV
6597
6598         * paragraph.C (asString): STRCONV
6599
6600         * lyxlength.C (asString): STRCONV
6601         (asLatexString): ditto
6602
6603         * lyxgluelength.C (asString): STRCONV
6604         (asLatexString): ditto
6605
6606         * lyxfunc.C (dispatch): STRCONV
6607         (open): ditto
6608
6609         * lyxfont.C (stateText): STRCONV
6610
6611         * importer.C (Import): STRCONV
6612
6613         * counters.C (labelItem): STRCONV
6614         (numberLabel): ditto
6615         (numberLabel): remove unused ostringstream o
6616
6617         * chset.C: STRCONV
6618         (loadFile): ditto
6619
6620         * bufferview_funcs.C (currentState): STRCONV
6621
6622         * buffer.C (readFile): STRCONV
6623         (asciiParagraph): ditto
6624         (makeLaTeXFile): ditto
6625
6626         * Spacing.C (writeEnvirBegin): STRCONV
6627
6628         * LaTeXFeatures.C (getLanguages): STRCONV
6629         (getPackages): ditto
6630         (getMacros): ditto
6631         (getBabelOptions): ditto
6632         (getTClassPreamble): ditto
6633         (getLyXSGMLEntities): ditto
6634         (getIncludedFiles): ditto
6635
6636         * LaTeX.C: STRCONV
6637         (run): ditto
6638         (scanAuxFile): ditto
6639         (deplog): ditto
6640
6641         * LString.h: add the STRCONV macros
6642
6643         * BufferView_pimpl.C (savePosition): STRCONV
6644         (restorePosition): ditto
6645         (MenuInsertLyXFile): ditto
6646
6647         * vc-backend.C (scanMaster): change from submatch[...] to
6648         submatch.str(...)
6649
6650         * funcrequest.C: include config.h
6651
6652         * factory.C: include config.h
6653
6654         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6655
6656         * box.C: include config.h
6657
6658         * LaTeX.C (scanAuxFile): change from submatch[...] to
6659         submatch.str(...)
6660         (deplog): ditto
6661
6662 2002-10-25  Angus Leeming  <leeming@lyx.org>
6663
6664         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6665
6666         * ispell.[Ch] (setError): new method.
6667         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6668         Use setError() insetead of goto END.
6669
6670         * lyx_cb.C (AutoSave): move out child process into new class
6671         AutoSaveBuffer.
6672
6673 2002-10-30  John Levon  <levon@movementarian.org>
6674
6675         * text3.C: make start appendix undoable
6676
6677 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6678
6679         * lyxlength.C (inPixels): Fix returned value.
6680
6681         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6682         environment.
6683
6684 2002-10-24  Angus Leeming  <leeming@lyx.org>
6685
6686         * lyxgluelength.h: no need to forward declare BufferParams
6687         or BufferView, so don't.
6688
6689 2002-10-21  John Levon  <levon@movementarian.org>
6690
6691         * BufferView.C: menuUndo ->undo, redo
6692
6693         * BufferView.h: document, remove dead, make some methods private
6694
6695         * paragraph_funcs.h:
6696         * paragraph_funcs.C:
6697         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6698
6699         * buffer.h:
6700         * buffer.C:
6701         * sgml.h:
6702         * sgml.C: move sgml open/close tag into sgml.C
6703
6704         * bufferview_funcs.h: unused prototype
6705
6706         * lyxfunc.h:
6707         * lyxfunc.C: remove unused
6708
6709         * lyxtext.h:
6710         * text.C: remove unused
6711
6712 2002-10-21  John Levon  <levon@movementarian.org>
6713
6714         * BufferView.h:
6715         * BufferView.C:
6716         * BufferView_pimpl.h:
6717         * BufferView_pimpl.C: fix mouse wheel handling based on
6718           patch from Darren Freeman
6719
6720 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6721
6722         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6723
6724 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6725
6726         * lyxlength.C (inPixels): Fix hanfling of negative length.
6727         Fix LyXLength::MU case.
6728
6729 2002-10-16  John Levon  <levon@movementarian.org>
6730
6731         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6732
6733 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * converter.C (view): add support for $$i (file name) and $$p
6736         (file path) for the viewer command. If $$i is not specified, then
6737         it is appended to the command (for compatibility with old syntax)
6738
6739 2002-10-14  Juergen Vigna  <jug@sad.it>
6740
6741         * undo_funcs.C (textHandleUndo): alter the order in which the
6742         new undopar is added to the LyXText, as we have to set first
6743         the right prev/next and then add it as otherwise the rebuild of
6744         LyXText is not correct. Also reset the cursor to the right paragraph,
6745         with this IMO we could remove the hack in "redoParagraphs()".
6746
6747 2002-10-09  Angus Leeming  <leeming@lyx.org>
6748
6749         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6750         to turn off an optimisation if a new inset is to be inserted.
6751
6752 2002-10-11 André Pönitz <poenitz@gmx.net>
6753
6754         * lyxtext.h: make some functions public to allow access
6755         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6756
6757 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6758
6759         * text3.C (dispatch): when changing layout, avoid an infinite loop
6760         [bug #652]
6761
6762 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6763
6764         * lyxrc.C (read): treat a viewer or converter command of "none" as
6765         if it were empty.
6766
6767         * MenuBackend.C (expandFormats): for an update, also allow the
6768         formats that are not viewable
6769
6770         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6771         script if it is newer than the lyxrc.defaults in user directory
6772
6773 2002-10-07 André Pönitz <poenitz@gmx.net>
6774
6775         * text.C: Vitaly Lipatov's small i18n fix
6776
6777 2002-09-25  Angus Leeming  <leeming@lyx.org>
6778
6779         * ispell.h: doxygen fix.
6780
6781 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6782
6783         * buffer.h (readFile): Add a new argument to the method, to allow
6784         reading of old-format templates.
6785
6786 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6787
6788         * toc.C (getTocList): Get TOC from InsetWrap.
6789
6790 2002-09-16  John Levon  <levon@movementarian.org>
6791
6792         * lyxfunc.C: check tabular for cut/copy too
6793
6794 2002-09-12  John Levon  <levon@movementarian.org>
6795
6796         * LyXAction.C: tidy
6797
6798         * factory.h:
6799         * factory.C: add header
6800
6801         * paragraph_funcs.h:
6802         * paragraph_funcs.C: cleanup
6803
6804 2002-09-11  John Levon  <levon@movementarian.org>
6805
6806         * PrinterParams.h: odd/even default to true
6807
6808 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6809
6810         * PrinterParams.h: update printer parameters for new xforms dialog
6811
6812 2002-09-11  Angus Leeming  <leeming@lyx.org>
6813
6814         * lyxserver.C (read_ready): re-write to make it more transparent
6815         and to make it work in coherent fashion under Tru64 Unix.
6816
6817 2002-09-11  André Pönitz <poenitz@gmx.net>
6818
6819         * commandtags.h:
6820         * LyXAction.C:
6821         * text3.C: implement LFUN_WORDSEL
6822
6823 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6826         make floatlist_ a boost::shared_ptr<FloatList>
6827
6828         * lyxtextclass.C: include FloatList.h
6829         (LyXTextClass): initialize floatlist_
6830         (TextClassTags): add TC_NOFLOAT
6831         (Read): match "nofloat" to TC_NOFLOAT and use it.
6832         (readFloat): modify call to floatlist_
6833         (floats): ditto
6834         (floats): ditto
6835
6836         * FloatList.[Ch] (FloatList): remove commented out float
6837         initialization.
6838         (erase): new function
6839
6840 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6841
6842         * MenuBackend.C (expandToc): fix crash when there is no document
6843         open
6844
6845 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6846
6847         * many files: Add insetwrap.
6848
6849 2002-09-09  John Levon  <levon@movementarian.org>
6850
6851         * text2.C: remove confusing and awkward depth wraparound
6852
6853 2002-09-09  John Levon  <levon@movementarian.org>
6854
6855         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6856
6857         * buffer.h:
6858         * buffer.C: remove getIncludeonlyList()
6859
6860         * paragraph.C:
6861         * lyxfunc.C: remove headers
6862
6863 2002-09-09  Juergen Vigna  <jug@sad.it>
6864
6865         * text.C (getColumnNearX): fix form Michael this is most
6866         probably a cut&paste bug.
6867
6868 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6871
6872         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6873         references, ws changes.
6874
6875         * text2.C (init): update counters after init
6876         (insertParagraph): no need to set counter on idividual paragraphs.
6877         (setCounter): access the counters object in the textclass object
6878         on in the buffer object.
6879         (updateCounters): ditto
6880
6881         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6882         shared_ptr<Counters> to avoid loading counters.h in all
6883         compilation units.
6884         (LyXTextClass): initialize ctrs_
6885         (TextClassTags): add TC_COUNTER, and ...
6886         (Read): use it here.
6887         (CounterTags): new tags
6888         (readCounter): new function
6889         (counters): new funtion
6890         (defaultLayoutName): return a const reference
6891
6892         * counters.C (Counters): remove contructor
6893         (newCounter): remove a couple of unneeded statements.
6894         (newCounter): simplify a bit.
6895         (numberLabel): some small formatting changes.
6896
6897         * buffer.[Ch]: remove all traces of counters, move the Counters
6898         object to the LyXTextClass.
6899
6900 2002-09-06  Alain Castera  <castera@in2p3.fr>
6901
6902         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6903         package to set the horizontal alignment on fixed width columns.
6904
6905         * lyx_sty.C:
6906         * lyx_sty.h: added tabularnewline macro def.
6907
6908         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6909
6910 2002-09-06  John Levon  <levon@movementarian.org>
6911
6912         * LyXAction.C: tooltips for sub/superscript
6913
6914         * MenuBackend.C: a bit more verbose
6915
6916         * lyxfunc.C: tiny clean
6917
6918         * undo_funcs.C: document undo_frozen
6919
6920 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * counters.C (Counters): add missing algorithm counter.
6923
6924         * text2.C (setCounter): lookup the counter with layouts latexname
6925         instead of by section number.
6926         (setCounter): use a hackish way to lookup the correct enum
6927         counter.
6928         a float name->type change
6929         reset enum couners with counter name directly instead of depth value.
6930
6931         * counters.C (Counters): remove the push_backs, change to use the
6932         float type not the float name.
6933         (labelItem): remove unused string, float name->type change
6934
6935         * counters.h: don't include vector, loose the enums and sects vectors
6936
6937 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6940         (Read): add float->TC_FLOAT to textclassTags
6941         (Read): and handle it in the switch
6942         (readFloat): new function
6943
6944         * FloatList.C (FloatList): comment out the hardcoded float
6945         definitions.
6946
6947         * lyxlayout.h: ws change.
6948
6949 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6950
6951         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6952
6953 2002-09-03  Angus Leeming  <leeming@lyx.org>
6954
6955         * BufferView_pimpl.h: qualified name is not allowed in member
6956         declaration: WorkArea & Pimpl::workarea() const;
6957
6958         * factory.C: added using std::endl directive.
6959
6960         * text3.C: added using std::find and std::vector directives.
6961
6962 2002-08-29  André Pönitz <poenitz@gmx.net>
6963
6964         * lyxtext.h:
6965         * text2.C: remove unused member number_of_rows
6966
6967         * Makefile.am:
6968         * BufferView2.C: remove file, move contents to...
6969         * BufferView.C: ... here
6970
6971         * BufferView_pimpl.C:
6972         * factory.C: move more inset creation to factory
6973
6974         * vspace.C: avoid direct usage of LyXText, ws changes
6975
6976         * BufferView.[Ch]:
6977                 don't provide direct access to WorkArea, use two simple
6978                 acessors haveSelction() and workHeight() instead
6979
6980
6981 2002-08-29  John Levon  <levon@movementarian.org>
6982
6983         * BufferView_pimpl.C (dispatch): do not continue when
6984           no buffer
6985
6986 2002-08-28  André Pönitz <poenitz@gmx.net>
6987
6988         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6989
6990         * BufferView.h:
6991         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6992
6993 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6994
6995         * buffer.C: increment LYX_FORMAT to 221
6996
6997         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6998         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6999
7000         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7001
7002         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7003
7004 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7005
7006         * factory.C (createInset): use LyXTextClass::floats
7007
7008         * MenuBackend.C (expandFloatListInsert):
7009         (expandFloatInsert):
7010         (expandToc):
7011
7012         * text2.C (setCounter):
7013
7014         * LaTeXFeatures.C (useFloat):
7015         (getFloatDefinitions):
7016
7017         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7018
7019         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7020         floatlist_, with accessor floats().
7021
7022         * FloatList.h: remove global FloatList
7023
7024 2002-08-26  André Pönitz <poenitz@gmx.net>
7025
7026         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7027
7028         * BufferView.h:
7029         * BufferView2.C:
7030         * BufferView_pimpl.C:
7031         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7032
7033 2002-08-25  John Levon  <levon@movementarian.org>
7034
7035         * LyXAction.C: fix margin note description
7036
7037 2002-08-24  John Levon  <levon@movementarian.org>
7038
7039         * buffer.C:
7040         * bufferlist.C:
7041         * bufferview_funcs.C:
7042         * lyxfont.C:
7043         * undo_funcs.C: cleanups
7044
7045         * lyxfunc.C: disable CUT/COPY when no selection
7046
7047 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7048
7049         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7050         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7051
7052         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7053         Add backward compatibility to "mono", "gray" and "no".
7054
7055 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7056
7057         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7058         (and file_format >= 200).
7059
7060 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7061
7062         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7063
7064 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7065
7066         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7067
7068 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7069
7070         * BufferView_pimpl.C:
7071         * LyXAction.C:
7072         * buffer.C:
7073         * commandtags.h:
7074         * lyxfunc.C:
7075         * paragraph.[Ch]:
7076         * text2.C:
7077         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7078         inset and code to make it  work with the paragraph code. The inset
7079         can be anywhere in the paragraph, but will only do the expected
7080         thing in LaTeX if the layout file contains the parameter line
7081                         OptionalArgs    1
7082         (or more generally, a nonzero value) for that layout.
7083
7084 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * paragraph.h: remove the declaration of undefined counters class
7087         function.
7088
7089 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7090
7091         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7092         Dr. Richard Hawkins.
7093
7094 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7095
7096         * paragraph_funcs.h: remove some unneeded includes
7097
7098         * text.C (backspace): pasteParagraph now in global scipe
7099
7100         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7101         (pasteSelection): ditto
7102
7103         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7104         * paragraph_funcs.C (pasteParagraph): ... here
7105
7106 2002-08-20  André Pönitz <poenitz@gmx.net>
7107
7108         * commandtags.h: new LFUNs for swapping/copying table row/colums
7109
7110         * LyXAction.C:
7111         * lyxfunc.C: support for new lfuns
7112
7113 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * tabular.C:
7116         * buffer.[Ch]: remove NO_COMPABILITY stuff
7117
7118 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * boost.C (throw_exception): new file, with helper function for
7121         boost compiled without exceptions.
7122
7123         * paragraph.h:
7124         * lyxlength.C:
7125         * buffer.C:
7126         * ParameterStruct.h:
7127         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7128
7129         * bufferlist.C (emergencyWriteAll): use boost bind
7130
7131         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7132
7133         * text.C: include paragraph_funcs.h
7134         (breakParagraph): breakParagraph is now in global scope
7135
7136         * paragraph_funcs.[Ch]: new files
7137
7138         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7139         global scope
7140
7141         * buffer.C: include paragraph_funcs.h
7142         (insertStringAsLines): breakParagraph is now in global scope
7143
7144         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7145         paragraph_funcs.C
7146
7147         * CutAndPaste.C: include paragraph_funcs.h
7148         (cutSelection): breakParagraphConservative is now in global scope
7149         (pasteSelection): ditto
7150
7151         * buffer.h: declare oprator== and operator!= for
7152         Buffer::inset_iterator
7153
7154         * bufferlist.C (emergencyWrite): don't use fmt(...)
7155
7156         * text3.C: add using std::endl
7157
7158         * BufferView.C (moveCursorUpdate): remove default arg
7159
7160 2002-08-20  André Pönitz <poenitz@gmx.net>
7161
7162         * buffer.[Ch]: move inline functions to .C
7163
7164         * BufferView2.C:
7165         * BufferView_pimpl.C:
7166         * text.C:
7167         * buffer.[Ch]: use improved inset_iterator
7168
7169         * buffer.C:
7170         * paragraph.[Ch]: write one paragraph at a time
7171
7172 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7175         style if style is not specified.
7176
7177 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7178
7179         * text2.C (setCounter): when searching for right label for a
7180         caption, make sure to recurse to parent insets (so that a caption
7181         in a minipage in a figure float works) (bug #568)
7182
7183 2002-08-20  André Pönitz <poenitz@gmx.net>
7184
7185         * text3.C: new file for LyXText::dispatch() and helpers
7186
7187         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7188
7189         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7190
7191 2002-08-19  André Pönitz <poenitz@gmx.net>
7192
7193         * lyxtext.h:
7194         * text.C: new LyXText::dispatch()
7195
7196         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7197
7198 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7199
7200         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7201
7202         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7203         Hebrew text.
7204
7205 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7206
7207         * Makefile.am: use $(variables) instead of @substitutions@
7208
7209 2002-08-15  André Pönitz <poenitz@gmx.net>
7210
7211         * lyxfunc.C:
7212         * BufferView_pimpl.C: streamlining mathed <-> outer world
7213         interaction
7214
7215         * commandtags.h:
7216         * LyXAction.C: remove unused LFUN_MATH
7217
7218 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7221
7222 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * paragraph.C (Paragraph): reformat a bit
7225         (cutIntoMinibuffer): use builtin InsetList function instad of
7226         doing it manually.
7227         (getInset): ditto
7228
7229         * buffer.C: include boost/bind.hpp, add using std::for_each
7230         (writeFileAscii): use ParagraphList iterators
7231         (validate): use for_each for validate traversal of paragraphs
7232         (getBibkeyList): use ParagraphList iterators
7233         (resizeInsets): use for_each to resizeInsetsLyXText for all
7234         paragraphs.
7235         (getParFromID): use ParagraphList iterators
7236
7237         * BufferView2.C (lockInset): use paragraph list and iterators
7238
7239 2002-08-14  John Levon  <levon@movementarian.org>
7240
7241         * lyxserver.C: remove spurious xforms include
7242
7243 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7244
7245         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7246
7247 2002-08-13  André Pönitz <poenitz@gmx.net>
7248
7249         * LyXAction.[Ch]:
7250         * lyxfunc.C: further cleaning
7251
7252 2002-08-13  André Pönitz <poenitz@gmx.net>
7253
7254         * funcrequest.h: new constructor
7255
7256         * funcrequest.C: move stuff here from .h
7257
7258         * Makefile.am:
7259         * BufferView_pimpl.C:
7260         * LyXAction.C:
7261         * toc.C:
7262         * lyxfunc.C: subsequent changes
7263
7264         * lyxfunc.h: new view() member function
7265
7266         * lyxfunc.C: subsequent changes
7267
7268 2002-08-13  Angus Leeming  <leeming@lyx.org>
7269
7270         * BufferView2.C:
7271         * BufferView_pimpl.C:
7272         * buffer.C:
7273         * converter.C:
7274         * importer.C:
7275         * lyxfunc.C:
7276         * lyxvc.C:
7277         * toc.C:
7278         * vc-backend.C:
7279         changes due to the changed LyXView interface that now returns references
7280         to member variables not pointers.
7281
7282 2002-08-13  Angus Leeming  <leeming@lyx.org>
7283
7284         * WordLangTuple (word, lang_code): return references to strings,
7285         not strings.
7286
7287         * BufferView.h:
7288         * SpellBase.h:
7289         * lyxtext.h: forward-declare WordLangTuple.
7290
7291         * BufferView2.C:
7292         * ispell.C:
7293         * pspell.C:
7294         * text.C: #include "WordLangTuple.h".
7295
7296         * lyxtext.h:
7297         * text.C: (selectNextWordToSpellcheck): constify return type.
7298
7299 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7300
7301         * buffer.C:
7302         * buffer.h:
7303         * lyxtext.h:
7304         * paragraph.C:
7305         * paragraph_pimpl.h:
7306         * text.C:
7307         * text2.C:
7308         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7309         suggested by Angus.
7310         Made updateCounter always count from start of buffer, and removed
7311         second argument (par).
7312         Reverted floats number display to '#'. Perhaps I'll try again when the
7313         code base is sanitized a bit.
7314
7315 2002-08-12  Angus Leeming  <leeming@lyx.org>
7316
7317         * buffer.[Ch] (getLabelList): constify.
7318
7319 2002-08-07  André Pönitz <poenitz@gmx.net>
7320
7321         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7322
7323         * funcrequest.h: extension to keep mouse (x,y) position
7324
7325 2002-08-12  Juergen Vigna  <jug@sad.it>
7326
7327         * BufferView2.C (insertErrors): forbid undo when inserting error
7328         insets.
7329
7330         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7331
7332 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * ParagraphList.[Ch]: new files
7335
7336         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7337
7338         * BufferView2.C (lockInset): ParagraphList changes
7339         * toc.C: ditto
7340         * text2.C: ditto
7341         * bufferlist.C: ditto
7342         * buffer.h: ditto
7343         * buffer.C: ditto
7344
7345 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7348         unused class variable counter_,
7349
7350         * paragraph.[Ch] (getFirstCounter): delete unused function
7351
7352         * counters.C: include LAssert.h
7353         (reset): add a new function with no arg, change other version to
7354         not have def. arg and to not allow empty arg.
7355
7356         * text2.C (setCounter): remove empty arg from call to Counters::reset
7357
7358 2002-08-11  John Levon  <levon@movementarian.org>
7359
7360         * Makefile.am: add WordLangTuple.h
7361
7362 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7365         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7366
7367         * insets/insettext.C: InsetList changes
7368
7369         * graphics/GraphicsSupport.C (operator()): InsetList changes
7370
7371         * toc.C (getTocList): InsetList changes
7372
7373         * paragraph_pimpl.[Ch]: InsetList changes
7374
7375         * paragraph.[Ch]: InsetList changes
7376
7377         * buffer.C (inset_iterator): InsetList changes
7378         (setParagraph): ditto
7379         * buffer.h (inset_iterator): ditto
7380         * iterators.C (operator++): ditto
7381         * iterators.h: ditto
7382
7383         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7384
7385         * InsetList.[Ch]: new files, most InsetList handling moved out of
7386         paragraph.C.
7387
7388         * BufferView2.C (removeAutoInsets): InsetList changes
7389         (lockInset): ditto
7390         (ChangeInsets): ditto
7391
7392 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * paragraph_pimpl.h (empty): new function
7395
7396         * paragraph.[Ch] (empty): new function
7397
7398         * other files: use the new Paragraph::empty function
7399
7400 2002-08-09  John Levon  <levon@movementarian.org>
7401
7402         * lyxtext.h: remove unused refresh_height
7403
7404 2002-08-09  John Levon  <levon@movementarian.org>
7405
7406         * Makefile.am:
7407         * sgml.h:
7408         * sgml.C:
7409         * buffer.C:
7410         * paragraph.h:
7411         * paragraph.C: move sgml char escaping out of paragraph
7412
7413         * paragraph.h:
7414         * paragraph.C: remove id setter
7415
7416         * buffer.C:
7417         * paragraph.C:
7418         * paragraph_pimpl.C: remove dead tex_code_break_column
7419
7420         * bufferview_funcs.C: small cleanup
7421
7422         * lyxfunc.C: remove dead proto
7423
7424         * lyxtext.h: make some stuff private. Remove some dead stuff.
7425
7426         * lyxgluelength.C: make as[LyX]String() readable
7427
7428 2002-08-08  John Levon  <levon@movementarian.org>
7429
7430         * LyXAction.h:
7431         * LyXAction.C:
7432         * MenuBackend.C:
7433         * ToolbarDefaults.C:
7434         * lyxfunc.C:
7435         * lyxrc.C:
7436         * toc.C: lyxaction cleanup
7437
7438 2002-08-08  John Levon  <levon@movementarian.org>
7439
7440         * BufferView2.C: small cleanup
7441
7442         * lyxfind.h:
7443         * lyxfind.C: move unnecessary header into the .C
7444
7445 2002-08-08  John Levon  <levon@movementarian.org>
7446
7447         * funcrequest.h: just tedious nonsense
7448
7449         * lyx_main.h:
7450         * lyx_main.C: cleanups
7451
7452         * buffer.C:
7453         * vspace.C: remove dead header lyx_main.h
7454
7455 2002-08-07  Angus Leeming  <leeming@lyx.org>
7456
7457         * Paragraph.[Ch]:
7458         * paragraph_pimpl.h:
7459         Forward declare class Counters in paragraph.h by moving the ctrs member
7460         variable into Paragraph::Pimpl.
7461         (counters): new method, returning a reference to pimpl_->ctrs.
7462
7463         * text2.C: ensuing changes.
7464
7465 2002-08-07  John Levon  <levon@movementarian.org>
7466
7467         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7468
7469         * BufferView_pimpl.C: announce X selection on double/triple
7470           click
7471
7472         * lyx_main.C: use correct bool in batch dispatch
7473
7474         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7475
7476 2002-08-07  André Pönitz <poenitz@gmx.net>
7477
7478         * funcrequest.h: new class to wrap a kb_action and its argument
7479
7480         * BufferView.[Ch]:
7481         * BufferView_pimpl[Ch]:
7482         * LaTeX.C:
7483         * LyXAction.[Ch]:
7484         * lyxfunc.[Ch]:
7485         * lyxrc.C: subsequent changes
7486
7487
7488 2002-08-07  John Levon  <levon@movementarian.org>
7489
7490         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7491           document options change.
7492
7493 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7494
7495         * counters.[Ch]
7496         * text2.C
7497         * paragraph.[Ch]
7498         * makefile.am: move counters functionality over from
7499         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7500
7501 2002-08-06  John Levon  <levon@movementarian.org>
7502
7503         * WordLangTuple.h: new file for word + language code tuple
7504
7505         * SpellBase.h:
7506         * pspell.h:
7507         * pspell.C:
7508         * ispell.h:
7509         * ispell.C:
7510         * lyxtext.h:
7511         * text.C:
7512         * text2.C:
7513         * BufferView.h:
7514         * BufferView2.C: use WordLangTuple
7515
7516         * layout.h:
7517         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7518
7519 2002-08-06  John Levon  <levon@movementarian.org>
7520
7521         * lyx_main.C: fix cmdline batch handling
7522
7523 2002-08-06  André Pönitz <poenitz@gmx.net>
7524
7525         * lyxrc.C: set default for show_banner to true
7526
7527 2002-08-06  John Levon  <levon@movementarian.org>
7528
7529         * pspell.C: fix a crash, and allow new aspell to work
7530
7531 2002-08-06  John Levon  <levon@movementarian.org>
7532
7533         * lyxfunc.C:
7534         * kbmap.C: small cleanup
7535
7536         * vspace.h:
7537         * vspace.C: add const
7538
7539 2002-08-05  John Levon  <levon@movementarian.org>
7540
7541         * LyXAction.C: back to tabular-insert
7542
7543 2002-08-04  John Levon  <levon@movementarian.org>
7544
7545         * BufferView.h:
7546         * BufferView.C: cosmetic change
7547
7548         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7549
7550         * bufferlist.C:
7551         * buffer.h:
7552         * buffer.C:
7553         * lyxcb.h:
7554         * lyxcb.C:
7555         * lyxserver.C:
7556         * lyxvc.C:
7557         * vc-backend.C:
7558         * BufferView2.C: purge all "Lyx" not "LyX" strings
7559
7560         * lyxcursor.h:
7561         * lyxcursor.C: attempt to add some documentation
7562
7563         * lyxfunc.C:
7564         * commandtags.h:
7565         * LyXAction.C:
7566         * ToolbarDefaults.C:
7567         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7568           merge with LFUN_TABULAR_INSERT
7569
7570         * Makefile.am:
7571         * SpellBase.h:
7572         * ispell.h:
7573         * ispell.C:
7574         * pspell.h:
7575         * pspell.C: split up i/pspell implementations into separate
7576           files, many cleanups
7577
7578         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7579
7580         * text2.C: some cleanup
7581
7582         * lyxfunc.C: don't check for isp_command == "none" any more, it
7583           didn't make any sense
7584
7585 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7586
7587         * counters.[Ch]
7588         * text2.C
7589         * paragraph.[Ch]
7590         * makefile.am: move counters functionality over
7591         from text2.C/paragraph.[Ch] to counters.[Ch], and
7592         make proper C++.
7593 2002-08-02  John Levon  <levon@movementarian.org>
7594
7595         * buffer.C: s/lyxconvert/lyx2lyx/
7596
7597 2002-08-02  Angus Leeming  <leeming@lyx.org>
7598
7599         * lyxlex.C: revert John's change as it breaks reading of the user
7600         preamble.
7601
7602 2002-08-02  Angus Leeming  <leeming@lyx.org>
7603
7604         * importer.C (Import):
7605         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7606         changes due to LyXView::view() now returning a boost::shared_ptr.
7607
7608 2002-08-02  John Levon  <levon@movementarian.org>
7609
7610         * lyxlex.C: small cleanup
7611
7612 2002-08-02  John Levon  <levon@movementarian.org>
7613
7614         * text2.C (status): small cleanup, no logic change
7615
7616 2002-08-01  John Levon  <levon@movementarian.org>
7617
7618         * buffer.h:
7619         * buffer.C (writeFile): don't output alerts, caller
7620           handles this
7621
7622         * bufferlist.C:
7623         * lyx_cb.C: from above
7624
7625         * lyxfunc.C: allow to open non-existent files
7626
7627 2002-07-31  John Levon  <levon@movementarian.org>
7628
7629         * lyxserver.C: don't let incidental errors get
7630           in the way (errno)
7631
7632 2002-07-30  John Levon  <levon@movementarian.org>
7633
7634         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7635
7636 2002-07-30  John Levon  <levon@movementarian.org>
7637
7638         * lyxserver.h:
7639         * lyxserver.C: remove I/O callback too
7640
7641 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7642
7643         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7644         log.
7645
7646 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * many files: strip,frontStrip -> trim,ltrim,rtrim
7649
7650 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * PrinterParams.h: remove extern containsOnly, and include
7653         support/lstrings.h instead.
7654
7655         * LaTeX.C (scanAuxFile): modify because of strip changes
7656         (deplog): ditto
7657         * buffer.C (makeLaTeXFile): ditto
7658         * bufferparams.C (writeFile): ditt
7659         * lyxfont.C (stateText): ditto
7660         * lyxserver.C (read_ready): ditto
7661         * vc-backend.C (scanMaster): ditto
7662
7663         * BufferView_pimpl.h: ws changes
7664
7665         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7666
7667 2002-07-26  André Pönitz <poenitz@gmx.net>
7668
7669         * kb_sequence.C: remove unnedred usings
7670
7671 2002-07-26  Juergen Vigna  <jug@sad.it>
7672
7673         * lyxfind.C (LyXReplace): we have to check better if the returned
7674         text is not of theLockingInset()->getLockingInset().
7675
7676 2002-07-25  Juergen Vigna  <jug@sad.it>
7677
7678         * lyxfind.C (LyXReplace): don't replace if we don't get the
7679         right LyXText.
7680
7681         * undo_funcs.C (createUndo): remove debugging code.
7682
7683 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7684
7685         * buffer.C (parseSingleLyXformat2Token): Use default placement
7686         when reading old floats.
7687
7688         * FloatList.C (FloatList): Change the default placement of figure
7689         and tables to "tbp".
7690
7691 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7692
7693         * MenuBackend.C: using std::max
7694
7695 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7696
7697         * MenuBackend.C (expandToc):
7698         (expandToc2): code moved from xforms menu frontend. It is now
7699         generic and TOCs are transparent to menu frontends.
7700
7701 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * toc.C (getTocList): protect against buf=0
7704
7705         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7706         Menu as first parameter. Now, this calls itself recursively to
7707         expand a whole tree (this will be useful for TOC handling)
7708         (expandFloatInsert): remove 'wide' version of floats
7709
7710         * MenuBackend.h (submenuname): returns the name of the submenu.
7711         (submenu): returns the submenu itself, provided it has been
7712         created by MenuBackend::expand
7713
7714 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7715
7716         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7717         insets which have noFontChange == true. (bug #172)
7718
7719 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7720
7721         * BufferView_pimpl.C: add connection objects and use them...
7722         (Pimpl): here.
7723
7724 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7725
7726         * MenuBackend.C (expandLastfiles):
7727         (expandDocuments):
7728         (expandFormats):
7729         (expandFloatListInsert):
7730         (expandFloatInsert):
7731         (expand): split expand in parts
7732
7733 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * lyx_gui.C: use lyx_gui::exit()
7736
7737 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * LyXAction.C: show the failing pseudo action
7740
7741 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7742
7743         * buffer.C (readFile): Run the lyxconvert script in order to read
7744         old files.
7745
7746 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7747
7748         * LyXAction.C:
7749         * commandtags.h:
7750         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7751
7752 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7753
7754         * LyXAction.C:
7755         * commandtags.h:
7756         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7757
7758 2002-07-22  Herbert Voss  <voss@lyx.org>
7759
7760         * lengthcommon.C:
7761         * lyxlength.[Ch]: add support for the vertical lengths
7762
7763 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7764
7765         * toc.[Ch]: std:: fixes
7766
7767 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7768
7769         * lyxrc.C: do not include lyx_main.h
7770
7771         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7772         for layouts
7773
7774         * lyxrc.C:
7775         * encoding.C:
7776         * bufferlist.C:
7777         * BufferView2.C: include "lyxlex.h"
7778
7779         * tabular.h:
7780         * bufferparams.h: do not #include "lyxlex.h"
7781
7782         * lyxtextclasslist.C (Add): remove method
7783         (classlist): renamed to classlist_
7784
7785         * paragraph_pimpl.C:
7786         * paragraph.C:
7787         * text2.C:
7788         * CutAndPaste.C:
7789         * bufferview_funcs.C:
7790         * bufferlist.C:
7791         * text.C:
7792         * LaTeXFeatures.C:
7793         * buffer.C:
7794         * toc.C (getTocList): use BufferParams::getLyXTextClass
7795
7796         * toc.C (getTocList): use InsetFloat::addToToc
7797
7798         * toc.[Ch]: new files, containing helper functions to handle table
7799         of contents
7800
7801         * lyxfunc.C (dispatch): no need to remove spaces around command
7802         given as a string
7803         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7804         first command of the sequence; it is not very clever, but I do not
7805         have a better idea, actually
7806
7807         * LyXAction.C (LookupFunc): make sure to remove space at the
7808         beginning and end of the command
7809
7810 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7811
7812         * MenuBackend.C (getMenubar): new method: return the menubar of
7813         this menu set
7814         (read): treat differently reading of menu and menubar (in
7815         particular, the menubar has no name now)
7816         (Menu::menubar): remove
7817
7818         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7819         saving is finished
7820
7821 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7822
7823         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7824         a bibitem inset in a RTL paragraph.
7825
7826 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * paragraph_pimpl.C: constify
7829
7830         * BufferView_pimpl.C:
7831         * LaTeX.C:
7832         * lyxfunc.C: fix dispatch in a nicer way
7833
7834 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * lyxfunc.C (dispatch):
7837         * BufferView_pimpl.C:
7838         * BufferView_pimpl.h:
7839         * BufferView.C:
7840         * BufferView.h: rename Dispatch() to dispatch()
7841
7842         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7843
7844         * lyxlayout.C (Read): honor DependsOn tag
7845
7846         * lyxlayout.[Ch] (depends_on): new method
7847
7848         * version.C.in: update lyx_docversion
7849
7850         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7851
7852         * paragraph.C (validate): remove from here...
7853         * paragraph_pimpl.C (validate): ... and move here
7854         (isTextAt): make it const
7855
7856         * buffer.C (getLists): ws cleanup
7857
7858 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7859
7860         * language.C (read): Use iso8859-1 encoding in latex_lang
7861         (this prevents LyX from crashing when using iso10646-1 encoding).
7862
7863 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * text2.C (toggleInset): if cursor is inside an inset, close the
7866         inset and leave cursor _after_ it
7867
7868 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * lyxfunc.C: move minibuffer completion handling out of here
7871
7872 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * BufferView_pimpl.C:
7875         * LaTeX.C: fix dispatch calls
7876
7877 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7878
7879         * text.C (drawChars): Fix Arabic text rendering.
7880
7881 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * LyXAction.C:
7884         * commandtags.h:
7885         * lyxfunc.C: remove message-push/pop
7886
7887         * lyxserver.C:
7888         * lyxfunc.h:
7889         * lyxfunc.C: rationalise some code by removing verboseDispatch
7890           in favour of a bool argument to dispatch()
7891
7892 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * lyx_main.C (init): make sure to read symlinks as absolute paths
7895
7896 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * lyxfunc.h:
7899         * lyxfunc.C: no need for commandshortcut to be a member
7900
7901 2002-07-15  André Pönitz <poenitz@gmx.net>
7902
7903         * converter.C: add support for $$s (scripts from lib/scripts dir)
7904         * lyx_main.C: white space
7905
7906 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7907
7908         * bufferlist.C:
7909         * lyxrc.h:
7910         * lyxrc.C: remove second exit confirmation
7911
7912 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7913
7914         * BufferView.h:
7915         * BufferView.C:
7916         * BufferView2.C:
7917         * BufferView_pimpl.h:
7918         * BufferView_pimpl.C:
7919         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7920
7921 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * MenuBackend.C (expand): add numeric shortcuts to document menu
7924
7925         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7926
7927 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7928
7929         * lyxfont.C (setLyXFamily):
7930         (setLyXSeries):
7931         (setLyXShape):
7932         (setLyXSize):
7933         (setLyXMisc):
7934         (lyxRead):
7935         * debug.C (value):
7936         * buffer.C (asciiParagraph): use ascii_lowercase
7937
7938 2002-07-15  Mike Fabian  <mfabian@suse.de>
7939
7940         * lyxlex_pimpl.C (search_kw):
7941         * lyxlex.C (getLongString):
7942         * converter.h (operator<):
7943         * converter.C (operator<):
7944         * buffer.C (parseSingleLyXformat2Token):
7945         (asciiParagraph):
7946         * ToolbarDefaults.C (read):
7947         * MenuBackend.C (checkShortcuts):
7948         (read):
7949         * LColor.C (getFromGUIName):
7950         (getFromLyXName): use the compare_ascii_no_case instead of
7951         compare_no_case, because in turkish, 'i' is not the lowercase
7952         version of 'I', and thus turkish locale breaks parsing of tags.
7953
7954 2002-07-16  Angus Leeming  <leeming@lyx.org>
7955
7956         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7957         now takes a Buffer const & argument.
7958
7959 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * BufferView.C (resize): check there's a buffer to resize
7962
7963 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * lyxfunc.C: remove dead code
7966
7967         * lyxserver.h:
7968         * lyxserver.C: use lyx_guii::set_read_callback
7969
7970 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7971
7972         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7973         an inset in a RTL paragraph.
7974
7975 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * lyxfunc.C: repaint after a font size update
7978
7979 2002-07-15  André Pönitz <poenitz@gmx.net>
7980
7981         * lyxlength.C: inBP should be able to return negative values
7982
7983 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7984
7985         * lyxfunc.C: use lyx_gui::update_fonts()
7986
7987 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7988
7989         * lyxfunc.C: use lyx_gui::update_color()
7990
7991 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * bufferlist.C:
7994         * lyxfunc.h:
7995         * lyxfunc.C:
7996         * lyxrc.h:
7997         * lyxrc.C: remove file->new asks for name option, and let
7998           buffer-new take an argument
7999
8000 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8001
8002         * BufferView_pimpl.C: remove unneeded extra repaint()
8003
8004 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * LyXAction.C: allow command-sequence with NoBuffer
8007
8008         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8009
8010 2002-07-10  Angus Leeming  <leeming@lyx.org>
8011
8012         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8013
8014 2002-07-09  Angus Leeming  <leeming@lyx.org>
8015
8016         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8017
8018 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * lengthcommon.h: whitespace
8021
8022         * lyxfunc.C: update scrollbar after goto paragraph
8023
8024         * lyxtext.h: factor out page break drawing, and fix it so
8025           page break/added space paints as selected nicely
8026
8027 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8028
8029         * BufferView_pimpl.C: add FIXMEs, clean up a little
8030
8031 2002-07-09  André Pönitz <poenitz@gmx.net>
8032
8033         * lyxfont.[Ch]: support for wasy symbols
8034
8035 2002-07-08  André Pönitz <poenitz@gmx.net>
8036
8037         * BufferView_pimpl.C: apply John's patch for #93.
8038
8039 2002-07-05  Angus Leeming  <leeming@lyx.org>
8040
8041         * BufferView_pimpl.C (buffer): generate previews if desired.
8042
8043         * LColor.h: add "preview" to the color enum.
8044
8045         * LColor.C (LColor): add a corresponding entry to the items array.
8046
8047         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8048         with this buffer.
8049
8050 2002-07-05  Angus Leeming  <leeming@lyx.org>
8051
8052         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8053         The body of the code is now in the method that is passed an ostream &
8054         rather than a file name.
8055         Pass an additional only_preamble parameter, useful for the forthcoming
8056         preview stuff.
8057
8058 2002-07-03  André Pönitz <poenitz@gmx.net>
8059
8060         * lyxfunc.C: simplify getStatus() a bit for math stuff
8061
8062 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8063
8064         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8065
8066 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8067
8068         * text.C (changeRegionCase): do not change case of all the
8069         document when region ends at paragraph end (bug #461)
8070
8071 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * paragraph.C (startTeXParParams):
8074         (endTeXParParams): add \protect when necessary
8075
8076 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * BufferView_pimpl.C (workAreaExpose): remove warning
8079
8080 2002-06-27  Angus Leeming  <leeming@lyx.org>
8081
8082         * Makefile.am: add lyxlayout_ptr_fwd.h.
8083
8084 2002-06-26  André Pönitz <poenitz@gmx.net>
8085
8086         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8087
8088 2002-06-25  Angus Leeming  <leeming@lyx.org>
8089
8090         * lyxfunc.C (dispatch): Comment out the call to
8091         grfx::GCache::changeDisplay. The method no longer exists now that the
8092         pixmap generation part of the graphics loader has been moved into
8093         InsetGraphics.
8094
8095 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8096
8097         * text2.C: layout as layout
8098
8099         * text.C: layout as layout
8100
8101         * tabular.C (OldFormatRead): layout as layout
8102
8103         * paragraph_pimpl.C (TeXDeeper): layout as layout
8104         (realizeFont): layout as layout
8105
8106         * paragraph.C (writeFile): layout as layout
8107         (validate): layout as layout
8108         (getFont): layout as layout
8109         (getLabelFont): layout as layout
8110         (getLayoutFont): layout as layout
8111         (breakParagraph): layout as layout
8112         (stripLeadingSpaces): layout as layout
8113         (getEndLabel): layout as layout
8114         (getMaxDepthAfter): layout as layout
8115         (applyLayout): layout as layout
8116         (TeXOnePar): layout as layout
8117         (simpleTeXOnePar): layout as layout
8118         (TeXEnvironment): layout as layout
8119         (layout): layout as layout
8120         (layout): layout as layout
8121
8122         * lyxtextclass.C (compare_name): new functor to work with
8123         shared_ptr, layout as layout
8124         (Read): layout as layout
8125         (hasLayout): layout as layout
8126         (operator): layout as layout
8127         (delete_layout): layout as layout
8128         (defaultLayout): layout as layout
8129
8130         * lyxlayout_ptr_fwd.h: new file
8131
8132         * lyxlayout.C (Read): layout as layout
8133
8134         * lyx_cb.C (MenuInsertLabel): layout as layout
8135
8136         * bufferlist.C (newFile): layout as layout
8137
8138         * buffer.C (readLyXformat2): layout as layout
8139         (parseSingleLyXformat2Token): layout as layout
8140         (insertStringAsLines): layout as layout
8141         (asciiParagraph): layout as layout
8142         (latexParagraphs): layout as layout
8143         (makeLinuxDocFile): layout as layout
8144         (simpleLinuxDocOnePar): layout as layout
8145         (makeDocBookFile): layout as layout
8146         (simpleDocBookOnePar): layout as layout
8147         (getLists): layout as layout
8148
8149         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8150
8151         * CutAndPaste.C (cutSelection): layout as layout
8152         (pasteSelection): layout as layout
8153         (SwitchLayoutsBetweenClasses): layout as layout
8154
8155         * BufferView_pimpl.C (Dispatch): layout as layout
8156         (smartQuote): layout as layout
8157
8158         * BufferView2.C (unlockInset): layout as layout
8159
8160 2002-06-24  André Pönitz <poenitz@gmx.net>
8161
8162         * lyxfunc.C: fix #487
8163
8164 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * lyxrc.h:
8167         * lyxrc.C:
8168         * lyxfunc.C: remove display_shortcuts, show_banner
8169
8170 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * Buffer_pimpl.C: oops, update on resize
8173
8174 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * buffer.C:
8177         * converter.C:
8178         * exporter.C:
8179         * lyxfunc.C:
8180         * BufferView.h:
8181         * BufferView.C: use repaint()
8182
8183         * BufferView_pimpl.h:
8184         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8185           as it's a clearer description. Remove superfluous
8186           redraws.
8187
8188 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * text.C: fix bug 488. Not ideal, but getting
8191           getWord() to work properly for the insets that
8192           matter is more difficult ...
8193
8194 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * BufferView_pimpl.C:
8197         * LyXAction.C:
8198         * commandtags.h:
8199         * lyxfunc.C: remove the six million index lyxfuncs to just
8200           one, and DTRT (bug 458)
8201
8202 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * BufferView.h:
8205         * BufferView.C:
8206         * BufferView_pimpl.h:
8207         * BufferView_pimpl.C: clean up resize() stuff,
8208           and unnecessary updateScreen()s
8209
8210 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * BufferView.h:
8213         * BufferView.C:
8214         * BufferView_pimpl.h:
8215         * BufferView_pimpl.C:
8216         * lyxfind.h:
8217         * lyxfind.C:
8218         * minibuffer.C: remove focus management of workarea,
8219           not needed. Use screen's greyOut()
8220
8221 2002-06-17  Herbert Voss  <voss@lyx.org>
8222
8223         * converter.C: (convert) do not post a message, when converting
8224         fails, let the calling function decide what to do in this case
8225
8226 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * lyxfunc.C: tidy up a little
8229
8230 2002-06-16    <alstrup@diku.dk>
8231
8232         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8233         Got rid of FORMS_H_LOCATION include. Now we are
8234         GUII.
8235
8236 2002-06-15  LyX Development team  <lyx@rilke>
8237
8238         * buffer.[Ch] (sgmlOpenTag):
8239         (sgmlCloseTag): Added support for avoiding pernicious mixed
8240         content. Return number of lines written.
8241
8242         (makeLinuxDocFile):
8243         (makeDocBookFile): Fixed calls to sgml*Tag.
8244         Simple white space clean.
8245
8246         (simpleDocBookOnePar): Simple white space clean.
8247
8248         * tabular.[Ch] (docBook): Renamed to docbook and got another
8249         argument to related with the pernicious mixed content.
8250
8251         (docbookRow): Fixed calls for docbook inset method.
8252
8253 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8254
8255         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8256         so it's X11 independent.
8257
8258         * kb*.[Ch]: ditto.
8259
8260         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8261
8262 2002-06-15  Lyx Development team  <lyx@electronia>
8263
8264         * intl.h: Renamed getTrans to getTransManager.
8265
8266 2002-06-14  Angus Leeming  <leeming@lyx.org>
8267
8268         * Makefile.am: nuke forgotten stl_string_fwd.h.
8269
8270 2002-06-12  Angus Leeming  <leeming@lyx.org>
8271
8272         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8273
8274 2002-06-13  Angus Leeming  <leeming@lyx.org>
8275
8276         * LaTeX.C:
8277         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8278
8279 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8280
8281         * kbmap.C (getiso): add support for cyrillic and greek
8282
8283 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * BufferView.h:
8286         * BufferView.C:
8287         * BufferView_pimpl.h:
8288         * BufferView_pimpl.C: move bogus scrolling logic
8289           to xforms
8290
8291 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * lyxfunc.C:
8294         * BufferView_pimpl.C: view->resize() change
8295
8296 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8297
8298         * BufferView_pimpl.C: topCursorVisible
8299           prototype change
8300
8301 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8302
8303         * Makefile.am:
8304         * lyx_gui.h:
8305         * lyx_gui.C: move to frontends/
8306
8307         * main.C:
8308         * lyx_main.h:
8309         * lyx_main.C: changes from above
8310
8311 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * intl.C:
8314         * intl.h:
8315         * kbmap.C:
8316         * kbsequence.C:
8317         * lyx_cb.C:
8318         * lyx_main.C: minor tidy
8319
8320 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * BufferView_pimpl.h:
8323         * BufferView_pimpl.C:
8324         * BufferView.h:
8325         * BufferView.C: make painter() const,
8326           remove dead code
8327
8328         * BufferView2.C: use screen() accessor
8329
8330         * lyx_main.h:
8331         * lyx_main.C: some minor cleanup
8332
8333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * BufferView_pimpl.h:
8336         * BufferView_pimpl.C: remove enter/leaveView,
8337           use workHeight()
8338
8339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8340
8341         * BufferView.h:
8342         * BufferView.C:
8343         * BufferView2.C:
8344         * BufferView_pimpl.h:
8345         * BufferView_pimpl.C: only construct screen once,
8346           rename
8347
8348         * lyxrc.C: remove pointless comment
8349
8350 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * BufferView.h:
8353         * BufferView.C: remove active() and belowMouse()
8354
8355         * BufferView_pimpl.h:
8356         * BufferView_pimpl.C: use workarea() not workarea_,
8357           and make it use a scoped_ptr instead
8358
8359 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * lyx_gui.C: add debug message on BadWindow
8362
8363 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8364
8365         * sp_spell.C: fdopen is not part of the C++ standard.
8366
8367         * paragraph.C (InsetIterator): use >= instead of ==
8368
8369 2002-06-07  Angus Leeming  <leeming@lyx.org>
8370
8371         Fixes needed to compile with Compaq cxx 6.5.
8372         * BufferView_pimpl.C:
8373         * DepTable.C:
8374         * buffer.C:
8375         * converter.C:
8376         * encoding.C:
8377         * lyx_gui.C:
8378         * lyx_main.C:
8379         * lyxtextclasslist.C:
8380         * minibuffer.C:
8381         * sp_spell.C:
8382         * tabular_funcs.C:
8383         * vc-backend.C:
8384         all c-library variables have been moved into namespace std. Wrap
8385         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8386
8387         * lyxlength.C:
8388         * tabular-old.C:
8389         * tabular.C:
8390         Add a using std::abs declaration.
8391
8392         * kbmap.h (modifier_pair):
8393         * paragraph.h (InsetTable, InsetList):
8394         * lyxfont.h (FontBits):
8395         type definition made public.
8396
8397         * bufferlist.C (emergencyWriteAll): the compiler complains that
8398         there is more than one possible lyx::class_fun template to choose from.
8399         I re-named the void specialisation as lyx::void_class_fun.
8400
8401         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8402
8403         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8404         the compiler is is unable to find tostr in write_attribute.
8405
8406 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * buffer.C (sgmlError): hide #warning
8409
8410 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8411
8412         * xtl/*: get rid of xtl, which is not in use anyway
8413
8414         * LyXAction.C (init):
8415         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8416         were unimplemented xtl experimentation
8417
8418 2002-06-04  André Pönitz <poenitz@gmx.net>
8419
8420         * lyxfunc.C: disable array operation on simple formulae
8421
8422 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * converter.C: constify a bit
8425
8426 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * lyx_gui.C: check xforms version correctly
8429
8430 2002-04-30  Herbert Voss  <voss@lyx.org>
8431
8432         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8433         "keep" option
8434
8435 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8436
8437         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8438           attempt to register it with a VCS)
8439
8440 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8441
8442         * lyx_main.C (init): honor variables LYX_DIR_13x and
8443         LYX_USERDIR_13x
8444
8445 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * buffer.h:
8448         * buffer.C:
8449         * lyx_main.C: fix a crash on bad command line,
8450           and give a useful exit status on error
8451
8452         * lyxfunc.C (doImport): allow -i lyx to work
8453
8454 2002-03-30  André Pönitz <poenitz@gmx.net>
8455
8456         * lyxfunc.C: mathed font changes
8457
8458 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8459
8460         * LaTeX.C:
8461         * importer.h:
8462         * importer.C:
8463         * lyx_sty.h:
8464         * lyx_sty.C:
8465         * lyxlex.C:
8466         * lyxrow.h:
8467         * lyxtext.h:
8468         * paragraph.h:
8469         * paragraph.C:
8470         * texrow.h:
8471         * texrow.C:
8472         * text.C:
8473         * trans_mgr.h: srcdocs, and some minor cleanups
8474
8475 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8478         call getFont all the time)
8479
8480 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * switch from SigC signals to boost::signals
8483
8484 2002-05-29  André Pönitz <poenitz@gmx.net>
8485
8486         * paragraph_pimpl.C (getChar): don't call size() too often...
8487
8488 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * paragraph_pimpl.C (insertChar): do not try to update tables when
8491         appending (pos == size())
8492
8493         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8494         in order to reduce drastically the number of comparisons needed to
8495         parse a large document
8496
8497 2002-05-29  André Pönitz <poenitz@gmx.net>
8498
8499         * text.C:
8500         * text2.C:
8501         * lyxtextclass.C:
8502         * sp_pspell.h:
8503         * textclasslist.[Ch]:
8504         * sp_ispell.h: whitespace change
8505
8506 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8507
8508         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8509         lyxaction directly now.
8510
8511 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * trans.C:
8514         * lyxfont.C:
8515         * lyxvc.C: remove unused headers
8516
8517 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8518
8519         * Makefile.am:
8520         * buffer.h:
8521         * undostack.h:
8522         * undostack.C:
8523         * undo_funcs.h:
8524         * undo_funcs.C: some cleanups. Use shared_ptr
8525           and a template for the undo stacks.
8526
8527 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * BufferView_pimpl.h:
8530         * BufferView_pimpl.C:
8531         * kbmap.h:
8532         * kbmap.C:
8533         * kbsequence.h:
8534         * kbsequence.C:
8535         * lyxfunc.h:
8536         * lyxfunc.C:
8537         * text2.C: use key_state/mouse_state
8538
8539 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8540
8541         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8542         and LSubstring
8543
8544         * chset.C: change include order
8545         (loadFile): use boost regex and get rid of LRegex and LSubstring
8546
8547         * Makefile.am (BOOST_LIBS): new variable
8548         (lyx_LDADD): use it
8549
8550         * LaTeX.C: change include order.
8551         (scanAuxFile): use boost regex and get rid of LRegex and
8552         LSubstring
8553         (deplog): ditto
8554
8555 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8556
8557         * ColorHandler.h:
8558         * ColorHandler.C:
8559         * FontInfo.h:
8560         * FontInfo.C: moved to frontends/xforms/
8561
8562         * FontLoader.h:
8563         * FontLoader.C: moved into frontends for GUIIzation
8564
8565         * Makefile.am:
8566         * lyx_gui.C:
8567         * lyxfont.C:
8568         * lyxfunc.C: changes from above
8569
8570 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8571
8572         * LColor.C: remove spurious X include
8573
8574         * BufferView_pimpl.C:
8575         * Makefile.am:
8576         * font.h:
8577         * font.C:
8578         * text.C:
8579         * text2.C: move font metrics to frontends/
8580
8581 2002-05-24  Juergen Vigna  <jug@sad.it>
8582
8583         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8584         setting the undo_cursor.
8585
8586         * ParagraphParameters.h: include local includes first.
8587
8588 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * BufferView_pimpl.C:
8591         * BufferView_pimpl.h:
8592         * Makefile.am:
8593         * WorkArea.h:
8594         * WorkArea.C:
8595         * screen.C: move WorkArea into frontends/
8596
8597         * lyxscreen.h:
8598         * screen.C:
8599         * text.C:
8600         * BufferView.C:
8601         * BufferView2.C: move LyXScreen into frontends/
8602
8603         * lyxlookup.h:
8604         * lyxlookup.C:
8605         * lyx_gui.C: move lyxlookup into frontends/xforms/
8606
8607 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8608
8609         * BufferView2.C:
8610         * BufferView_pimpl.C:
8611         * FontLoader.C:
8612         * LyXView.h:
8613         * LyXView.C:
8614         * Makefile.am:
8615         * WorkArea.C:
8616         * XFormsView.h:
8617         * XFormsView.C:
8618         * buffer.C:
8619         * bufferlist.C:
8620         * bufferview_funcs.C:
8621         * converter.C:
8622         * importer.C:
8623         * lyx_cb.C:
8624         * lyx_gui.C:
8625         * lyx_main.C:
8626         * lyx_find.C:
8627         * lyxfunc.C:
8628         * lyxvc.C:
8629         * minibuffer.C:
8630         * text.C:
8631         * text2.C:
8632         * trans.C:
8633         * vc-backend.C: move LyX/XFormsView into frontends/
8634
8635 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8636
8637         * Makefile.am:
8638         * PainterBase.C:
8639         * PainterBase.h:
8640         * Painter.C:
8641         * Painter.h:
8642         * WorkArea.C:
8643         * WorkArea.h:
8644         * screen.C:
8645         * tabular.C:
8646         * text.C:
8647         * text2.C: move Painter to frontends/
8648
8649 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8650
8651         * buffer.C: comment out some some code that depend upon lyx_format
8652         < 220
8653
8654         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8655         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8656
8657         * buffer.h (NO_COMPABILITY): turn off compability
8658
8659         * ColorHandler.C: include scoped_array.hpp
8660
8661         * font.C: Use more specific smart_ptr header.
8662         * Painter.C: ditto
8663         * gettext.C: ditto
8664         * ShareContainer.h: ditto
8665         * lyx_main.h: ditto
8666         * kbmap.h: ditto
8667         * FontInfo.h: ditto
8668         * BufferView_pimpl.h: ditto
8669         * ColorHandler.h: ditto
8670
8671         * kbmap.C (defkey): change call to shared_ptr::reset
8672
8673 2002-05-21  Juergen Vigna  <jug@sad.it>
8674
8675         * buffer.C (insertErtContents): fix to insert ert asis if it is
8676         non empty. Skip it completely if it contains only whitespaces.
8677
8678 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * BufferView_pimpl.C:
8681         * BufferView2.C: clear selection on paste (bug 393)
8682
8683 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8684
8685         * DepTable.C: include ctime
8686
8687 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8688
8689         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8690
8691 2002-05-14  Juergen Vigna  <jug@sad.it>
8692
8693         * text.C (breakParagraph): fixed function to honor the keepempty
8694         layout in the right maner and also to permit the right breaking
8695         algorithm on empty or non empyt keepempty paragraphs.
8696
8697         * paragraph.C (breakParagraph): we have to check also if the par
8698         is really empty (!size()) for isempty otherwise we do the wrong
8699         paragraph break.
8700
8701 2002-05-10  Juergen Vigna  <jug@sad.it>
8702
8703         * buffer.[Ch] : The following are only changes to the ert
8704         compatibility read reading old LaTeX layout and font stuff and
8705         convert it to ERTInsets.
8706
8707         * buffer.h: added isErtInset().
8708
8709         * buffer.C (struct ErtComp): add a fromlayout bool to check
8710         if we're inside a LaTeX layout.
8711         (isErtInset): new helper function.
8712         (insertErtContents): look for other ert insets before this one
8713         and insert the contents there, so that we don't have subsequent
8714         ERT insets with nothing between them. This way we create only one
8715         inset with multiple paragraphs. Also check if we don't insert only
8716         spaces ' ' as they are ignored anyway afterwards in the .tex file
8717         so if we have only spaces we will ignore this latex part in the
8718         new file.
8719         (parseSingleLyXformat2Token \\layout): better compatibility when
8720         reading layout-latex stuff.
8721         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8722         language tag.
8723         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8724         stuff after reading the inset only get the information back from
8725         the stack.
8726
8727 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8728
8729         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8730
8731         * LaTeXFeatures.C (getBabelOptions): New method.
8732
8733 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8734
8735         * BufferView_pimpl.C (Dispatch): work around missing argument for
8736         'layout'
8737
8738 2002-05-08  Juergen Vigna  <jug@sad.it>
8739
8740         * text.C (leftMargin): handle paragraph leftindent.
8741
8742         * paragraph.C (writeFile): write the new \\leftindent tag.
8743         (validate): handle leftindent code.
8744         (TeXEnvironment): handle paragraphleftindent code again.
8745
8746         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8747
8748         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8749         for paragrap_extra indent code and new token \\leftindent.
8750         (latexParagraphs): handle the leftindent as environment.
8751
8752         * ParameterStruct.h: added leftindent support.
8753
8754         * ParagraphParameters.C (leftIndent): added support functions for
8755         the paragraph left indent.
8756
8757         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8758         more appropriate.
8759
8760 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8761
8762         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8763         inside insetERT.
8764
8765         * text.C (computeBidiTables): No bidi in insetERT.
8766
8767         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8768         in RTL documents.
8769
8770 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8771
8772         * version.C.in: pre 5
8773
8774 2002-05-02  José Matos  <jamatos@fep.up.pt>
8775         * buffer.C (makeDocBookFile): white space changes, add newline to
8776         command styles.
8777         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8778
8779         * tabular.C (docBook): fix typo.
8780
8781 2002-05-03  Juergen Vigna  <jug@sad.it>
8782
8783         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8784         change in LyXText as we can not be sure it was not freed.
8785         (drawOneRow): remove unused code.
8786
8787         * text.C (drawInset): redo the calculation of the need_break_row as
8788         it could have a row which was already freed.
8789         (draw): look at the return value of drawInset and return false if
8790         it also returned false.
8791         (paintRowText): look at the return value of draw and return false if
8792         it also returned false.
8793
8794         * lyxtext.h: added bool return type to drawInset() and draw() so that
8795         if we have a change in the row so that the rowbreak has to be redone
8796         we abort drawing as it will be called again.
8797
8798 2002-05-02  Juergen Vigna  <jug@sad.it>
8799
8800         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8801         a change in the maintext also if we're inside an inset.
8802         (Dispatch): set the cursor again after a break line and after the
8803         screen has been updated as it could be we're in a different row.
8804
8805         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8806         to set the cursor behind the pargraph with > size().
8807         (setCursor): check also for the same paragraph when checking where
8808         to put the cursor if we have a NFR inset.
8809
8810         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8811         parts of layout read further up as it still was in the wrong
8812         position.
8813
8814 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8815
8816         * screen.C (drawFromTo): change sine fullRebreak always return
8817         true.
8818
8819         * buffer.C (parseSingleLyXformat2Token): reindent some
8820
8821         * BufferView_pimpl.C (update): change since fullRebreak always
8822         return true.
8823         (Dispatch): git rid of the last hardcoded "Standard"s.
8824
8825 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8826
8827         * text2.[Ch] (fullRebreak): make it return void now that we always
8828         returned true.
8829
8830 2002-04-30  Juergen Vigna  <jug@sad.it>
8831
8832         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8833         ert compatibility check for "latex" layout.
8834
8835 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8836
8837         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8838         minipages: use col% instead of p%, and also use the current font.
8839         (makeLaTeXFile): Fix use babel condition.
8840         (parseSingleLyXformat2Token): Correct font when reading old floats.
8841
8842 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8843
8844         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8845         inserting list of floats.
8846
8847 2002-04-25  Herbert Voss  <voss@lyx.org>
8848
8849         * MenuBackend.C (expand): don't add the graphics extensions to the
8850         export menu
8851
8852 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8855         non-existing layout, do not complain if it was the default layout
8856         of the original class (bug #342)
8857
8858 2002-04-24  Juergen Vigna  <jug@sad.it>
8859
8860         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8861         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8862
8863 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8864
8865         * buffer.C (getBibkeyList): If using \bibliography, return the
8866         option field with the reference itself. Enables us to provide natbib
8867         support when using \bibliography.
8868
8869 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8870
8871         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8872
8873         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8874         natbib is provided by the LaTeX class.
8875
8876 2002-04-23  Juergen Vigna  <jug@sad.it>
8877
8878         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8879         Wakeup functions.
8880
8881         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8882
8883 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8884
8885         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8886
8887         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8888         ensuremath around textordmasculine, textordfeminine and
8889         textdegree.
8890
8891 2002-04-19  Juergen Vigna  <jug@sad.it>
8892
8893         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8894         reinitializing the buffer otherwise row-dimensions may be wrong.
8895         (update): reset also the selection cursors if they do exits otherwise
8896         their x/y positions may be wrong.
8897
8898         * text2.C (cursorDown): don't enter the inset if we came from a row
8899         above and are one row over the inset.
8900
8901         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8902         really leaving an inset.
8903
8904 2002-04-18  Juergen Vigna  <jug@sad.it>
8905
8906         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8907         of the selected paragraph does not have the selected layout also if
8908         the last one had!
8909
8910         * text2.C (setLayout): fixed bug which did not change last selected
8911         paragraph.
8912
8913         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8914         changed the read and substituted \\end_float with \\end_inset!
8915
8916         * BufferView_pimpl.C (cursorPrevious):
8917         (cursorNext): fixed to make it work with rows heigher than the work
8918         area without moving the cursor only the draw of the row.
8919         (workAreaMotionNotify): fix jumping over high rows.
8920
8921 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8922
8923         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8924         Ressler.
8925
8926 2002-04-16  Juergen Vigna  <jug@sad.it>
8927
8928         * text2.C (setCursor): set also the irow().
8929         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8930         (cursorUp):
8931         (cursorDown): support for locking an inset if the x_fix value goes
8932         inside it. That way I can transverse insets too with cursor up/down.
8933
8934         * lyxrow.h: added irow helper function same as other (i) functions.
8935
8936         * BufferView_pimpl.C (cursorPrevious):
8937         (cursorNext): fixed for insets!
8938
8939 2002-04-15  Juergen Vigna  <jug@sad.it>
8940
8941         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8942         position otherwise it is wrong in some cases.
8943
8944         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8945         inside the inset before the call.
8946
8947 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8948
8949         * buffer.[Ch] (getBibkeyList): make it const.
8950
8951 2002-04-12  Juergen Vigna  <jug@sad.it>
8952
8953         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8954
8955         * text2.C (getCursorX): new helper function
8956         (setCursor): compute also ix_
8957         (setCursorFromCoordinates): set also ix.
8958
8959         * lyxcursor.h: added ix_ and helper functions.
8960
8961         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8962
8963         * buffer.C (insertStringAsLines): dont break paragraph if the this
8964         paragraph is inside an inset which does not permit it!
8965
8966         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8967         also with no chars on this paragraph.
8968         (paintRowText): only paint stuff if it's inside the workarea!
8969
8970         * paragraph.C (breakParagraph): honor keepempty flag and break the
8971         paragraph always below not above.
8972
8973         * BufferView2.C (unlockInset): update the paragraph layout on inset
8974         unlock as we changed paragraph in such a case.
8975
8976         * lyxfind.C (LyXFind): clear the former selection if not found!
8977
8978         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8979         again called in insertChar().
8980
8981         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8982         an inset which uses the whole row!
8983         (rightMargin): ditto.
8984         (insertChar): force a rebreak if we inserted an inset!
8985
8986 2002-03-28  Herbert Voss  <voss@lyx.org>
8987
8988         * lyxlength.[Ch]: add inBP() to get the right PS-point
8989         units (BigPoint). With inPixels we have rounding errors
8990
8991 2002-04-11  Juergen Vigna  <jug@sad.it>
8992
8993         * text2.C (setCursorFromCoordinates): set iy to the right value.
8994         (setCursor): add check if row->previous exists!
8995
8996         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8997         an old float_type as this was the case in the old code!
8998
8999         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9000
9001         * BufferView2.C (showLockedInsetCursor): use iy
9002         (fitLockedInsetCursor): ditto
9003
9004         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9005         locked insets as there we have the right value now.
9006
9007         * lyxcursor.C: added iy_ variable and iy functions to set to the
9008         baseline of cursor-y of the locked inset.
9009
9010         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9011         (setCursor): fixed for insets which need a full row.
9012
9013         * text.C (rowLastPrintable): don't ignore the last space when before
9014         an inset which needs a full row.
9015         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9016         as last character of a row when before a inset which needs a full row.
9017
9018 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * version.C.in: update date
9021
9022         * text2.C (fullRebreak): try to always return true and see what
9023         happens...
9024
9025 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * MenuBackend.C (expand): use Floating::listName
9028
9029         * FloatList.C (FloatList): add listName argument to the built-in
9030         floats
9031
9032         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9033         text associated with the float.
9034
9035 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9036
9037         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9038
9039 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9040
9041         * ShareContainer.h: add a couple of missing typenames.
9042
9043 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9044
9045         * lyxrc.C (getDescription): use _() correctly rather than N_().
9046
9047 2002-03-28  Herbert Voss  <voss@lyx.org>
9048
9049         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9050         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9051
9052 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9053
9054         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9055         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9056
9057 2002-03-29  Juergen Vigna  <jug@sad.it>
9058
9059         * lyxfunc.C (dispatch): add a missing fitCursor call.
9060
9061         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9062         it was scrolled by a cursor move, so return the bool status.
9063
9064         * BufferView.C (fitCursor): return the bool flag also to the outside
9065         world as this is needed.
9066
9067         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9068
9069         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9070         call the edit() as it is not needed (and wrong) IMO.
9071         (workAreaButtonPress): set the screen_first variable before evt.
9072         unlock the inset as this may change screen_first and then we have
9073         a wrong y position for the click!
9074
9075 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * MenuBackend.C (expand): another translation that I missed
9078
9079 2002-03-28  Juergen Vigna  <jug@sad.it>
9080
9081         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9082
9083         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9084
9085 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9088
9089         * MenuBackend.C (expand): fix export/view/update when there is no
9090         document open.
9091
9092 2002-03-27  Herbert Voss  <voss@lyx.org>
9093
9094         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9095         and text%
9096
9097 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * bufferview_funcs.C (currentState): only show paragraph number
9100         for is DEVEL_VERSION is set.
9101
9102         * lyxfunc.C (dispatch): put warning in INFO channel
9103
9104         * MenuBackend.C (expand): translate the name of floats
9105
9106         * FloatList.C (FloatList): mark the float names for translation
9107
9108         * converter.C (convert): use LibScriptSearch
9109
9110 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9111
9112         * MenuBackend.C (defaults): fix default menu (we might as well get
9113         rid of it...)
9114
9115 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9118         directory.
9119
9120 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9121
9122         * lyxvc.C: reorder includes.
9123
9124 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9127           properly
9128
9129 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * CutAndPaste.C: change layouts earlier on paste
9132           to avoid crashing when calling getFont()
9133
9134 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9135
9136         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9137         irritating #error.
9138
9139 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9140
9141         * WorkArea.C: remove 'Pending' debug message.
9142
9143         * most files: ws cleanup
9144
9145         * buffer.[Ch]: ws changes
9146
9147         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9148
9149 2002-03-21  Juergen Vigna  <jug@sad.it>
9150
9151         * tabular.C (SetMultiColumn): collapse also the contents of the
9152         cells and set the last border right. Added a Buffer const * param.
9153
9154 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9155
9156         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9157         linking or not.
9158
9159 2002-03-19  Juergen Vigna  <jug@sad.it>
9160
9161         * text2.C (clearSelection): reset also xsel_cache.
9162
9163         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9164         where it needs to be called (John tells us to do so too :)
9165         (selectionLost): reset sel_cache.
9166
9167         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9168
9169 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * text2.C (setCursorIntern): put debuging code in INSETS channel
9172
9173 2002-03-19  André Pönitz <poenitz@gmx.net>
9174
9175         * lyxfunc.C: tiny whitespace change
9176
9177 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9178
9179         * ToolbarDefaults.C (init):
9180         * LyXAction.C (init):
9181         * commandtags.h:
9182         * BufferView_pimpl.C (Dispatch):
9183         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9184
9185 2002-03-19  Allan Rae  <rae@lyx.org>
9186
9187         * exporter.C (Export): removeAutoInsets before doing anything else.
9188         While I've just introduced a dependency on BufferView this really is
9189         the best place to clean the buffer otherwise you need to cleanup in
9190         a dozen places before calling export or cleanup in a dozen functions
9191         that export calls.
9192
9193         * converter.C (runLaTeX):
9194         (scanLog): Better handling of removeAutoInsets and screen updates.
9195
9196         * lyxfunc.C (dispatch): small whitespace changes
9197
9198 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9199
9200         * WorkArea.C (C_WorkAreaEvent): return a value.
9201         (event_cb): return 1 if we handled the event, 0 otherwise.
9202
9203         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9204
9205 2002-03-18  Juergen Vigna  <jug@sad.it>
9206
9207         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9208         (GetAdditionalWidth): ditto.
9209         (RightLine): ditto.
9210         (LeftLine): ditto.
9211
9212         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9213         inset if we're there actually (probably not used right now but this
9214         is the direction to go for unifying code).
9215         (paste): disable code to clear the selection.
9216
9217         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9218         inside an InsetText and move the check further up as it is in the
9219         wrong place.
9220
9221         * text2.C (pasteSelection): set a selection over the pasted text.
9222
9223 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9224
9225         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9226         and libgraphics to build on Cygwin.
9227
9228 2002-03-15  Juergen Vigna  <jug@sad.it>
9229
9230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9231         inserting an Inset into the paragraph. I know this is not the best
9232         fix but we already use current_view in CutAndPaste so we will remove
9233         all of it's using at the same time.
9234
9235         * buffer.C (sgmlError): deactivated function till it is rewritten in
9236         the right mode, now it can create problems.
9237
9238         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9239         before accessing it.
9240
9241 2002-03-14  Juergen Vigna  <jug@sad.it>
9242
9243         * undo_funcs.C (textHandleUndo): do the right thing when updating
9244         the inset after the undo/redo.
9245
9246         * text2.C (setCursor): just some testcode for #44 not ready yet.
9247
9248         * undo_funcs.C (textHandleUndo): set the next() and previous()
9249         pointers of the paragraph to 0 before deleting otherwise we have
9250         problems with the Paragraph::[destructor].
9251
9252         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9253         on a paragraph insertion.
9254
9255 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * buffer.C (asciiParagraph): use += operator for char append to
9258         string.
9259
9260         * paragraph.C (getFontSettings): compare >= not just >
9261         (highestFontInRange): ditto
9262         (setFont): ditto
9263
9264 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * paragraph.C: change several algorithm to be more appripriate for
9267         the problem domain. This is lookip in FontList and in the InsetList.
9268
9269 2002-03-13  André Pönitz <poenitz@gmx.net>
9270
9271         * commandtags.h:
9272         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9273
9274 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * commandtags.h:
9277         * LyXAction.C:
9278         * lyxfunc.C:
9279         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9280
9281 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9282
9283         * Painter.C (display): anon helper function, adjust code for this
9284         change.
9285         (pixmap): remove function.
9286
9287         * Painter.h: remove private display variable.
9288
9289         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9290
9291 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9292
9293         * WorkArea.[Ch]: remove figinset_canvas cruft.
9294
9295 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9296
9297         * lyxtextclass.C (operator): add one item cache optimization.
9298
9299         * bufferlist.h: doxy changes
9300
9301         * bufferlist.C: ws changes
9302
9303         * DepTable.[Ch] (ext_exist): place const in the right spot.
9304
9305         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9306         call resizeInsets.
9307         (workAreaExpose): call resizeInsets when the with BufferView changes.
9308         (Dispatch): adjust for protectedBlank removal
9309         (specialChar): call updateInset if the insert went ok.
9310
9311         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9312         specialChar instead.
9313
9314         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9315
9316         * BufferView.h: doxy change
9317
9318         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9319
9320         * lyxtextclass.C (operator[]): remove non-const version
9321         (defaultLayout): remove non-const version
9322
9323 2002-03-12  Juergen Vigna  <jug@sad.it>
9324
9325         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9326         did resize the LyXText too.
9327
9328         * buffer.C (readLyXformat2): set layout information on newly allocated
9329         paragraphs.
9330
9331         * tabular.C (OldFormatRead): set layout information on the paragraph.
9332
9333 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9334
9335         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9336
9337 2002-03-11  Juergen Vigna  <jug@sad.it>
9338
9339         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9340         plainly wrong.
9341         (resizeCurrentBuffer): force also the insets to resize themselfes.
9342         (moveCursorUpdate): fixed up for InsetText.
9343
9344 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9345
9346         * commandtags.h:
9347         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9348         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9349         value of Dialogs::tooltipsEnabled().
9350         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9351
9352 2002-03-08  Juergen Vigna  <jug@sad.it>
9353
9354         * BufferView_pimpl.C (updateInset): update inset inside inset also
9355         if it isn't inside theLockingInset().
9356
9357 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * buffer.C (asciiParagraph): redo some of the word and line length
9360         handling.
9361         (getLists): look for Caption instead of caption.
9362
9363 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * buffer.C (Buffer): initialize niceFile to true
9366         (makeLaTeXFile):
9367         (makeLinuxDocFile):
9368         (makeDocBookFile): make sure niceFile is true on exit
9369
9370 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9373
9374 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9375
9376         * LyXSendto.C: remove.
9377         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9378         * lyx_gui.C: remove now-redundant comment.
9379         * ColorHandler.h: remove forward declaration of class WorkArea.
9380         * lyxfunc.C: remove #include "WorkArea.h".
9381
9382 2002-03-07  Juergen Vigna  <jug@sad.it>
9383
9384         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9385         got moved away with the DEPM and also set the inset_owner always
9386         right which before could have been omitted.
9387
9388 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9389
9390         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9391         wanted layout is not found.
9392
9393 2002-03-07  Juergen Vigna  <jug@sad.it>
9394
9395         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9396
9397 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9398
9399         * paragraph.C (breakParagraph): use default layout not layout of
9400         prev paragraph.
9401         (Paragraph): clear ParagraphParameters.
9402
9403 2002-03-06  Juergen Vigna  <jug@sad.it>
9404
9405         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9406         otherwise it would not be a valid lenght. Fixed a special case in
9407         the minipage compatibility read where we end the document with a
9408         minipage.
9409
9410         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9411         was set as it could be 0 for InsetTexts first entry.
9412
9413 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * paragraph.C (writeFile): if layout is empty write out
9416         defaultLayoutName().
9417
9418         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9419         file without named layout we set layout to defaultLayoutName().
9420
9421 2002-03-06  Juergen Vigna  <jug@sad.it>
9422
9423         * CutAndPaste.C (copySelection): set layout for new paragraph.
9424
9425         * text.C (prepareToPrint): leave ERT inset left aligned
9426         (leftMargin): don't indent paragraphs inside ERT insets
9427
9428 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * paragraph.C (breakParagraph): dont call clear do the work manually
9431
9432         * paragraph.[Ch] (clear): remove function
9433
9434 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9435
9436         * paragraph.C (Paragraph): dont call clear, the work has already
9437         been done.
9438
9439         * lyxtextclass.C (operator): assert if n is empty
9440
9441         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9442         work manually instead.
9443
9444 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * BufferView_pimpl.C: protect selectionLost against text == 0
9447
9448 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * text.C (breakParagraph): fix a setting layout to '0' problem.
9451
9452 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9453
9454         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9455         final location of file, for the included files, and graphics.
9456
9457 2002-03-05  Juergen Vigna  <jug@sad.it>
9458
9459         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9460
9461 2002-03-04  Juergen Vigna  <jug@sad.it>
9462
9463         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9464
9465         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9466         last column of multicolumn cells.
9467         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9468
9469 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9470
9471         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9472         file if it doesn't go to a temporary file.
9473
9474         * buffer.C (sgmlOpenTag):
9475         (sgmlCloseTag):  remove extra newline insertion.
9476
9477 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9478
9479         * text.C (getRowNearY): comment out debug msg
9480
9481 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9482
9483         * text2.C: first -> first_y
9484
9485         * text.C (getRowNearY): add some attemts at a possible
9486         optimization, not working.
9487
9488         * tabular.[Ch]: add BufferParams to several function so that newly
9489         created paragraph can be initialized to he default layotu for the
9490         buffers textclass.
9491
9492         * tabular-old.C (ReadOld): add buf->params to call of Init
9493
9494         * screen.C: rename text->first to text->first_y
9495
9496         * paragraph.C (breakParagraph): always set layout in the broken
9497         paragraph
9498
9499         * lyxtextclass.C (Read): remove lowercase
9500         (hasLayout): ditto
9501         (operator): ditto
9502         (delete_layout): ditto
9503
9504         * lyxtext.h: rename first -> first_y
9505
9506         * lyxlayout.C (Read): remove lowercase
9507         (name): ditto
9508         (setName): ditto
9509         (obsoleted_by): ditto
9510
9511         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9512
9513         * buffer.C (insertErtContents): add params are to InsetERT
9514         (parseSingleLyXformat2Token): add code to check if a paragraphs
9515         layout really exist.
9516         (parseSingleLyXformat2Token): add params to several inset
9517         constructors
9518         (asciiParagraph): remove lowercase, do the layout comparisons with
9519         no_case
9520
9521         * BufferView_pimpl.C (cursorNext): first -> first_y
9522         (resizeCurrentBuffer): first -> first_y
9523         (updateScrollbar): first -> first_y
9524         (scrollCB): first -> first_y
9525         (workAreaMotionNotify): first -> first_y
9526         (workAreaButtonPress): first -> first_y
9527         (checkInsetHit): first -> first_y
9528         (cursorPrevious): first -> first_y
9529         (cursorNext): first -> first_y
9530         (Dispatch): add buffer_->params to severl inset contructors
9531
9532 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9533
9534         * lyxlayout.C (Read): remove some debug info that I forgot.
9535
9536         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9537         clean up the code slightly.
9538         (makeLinuxDocFile): ditto
9539         (makeDocBookFile): ditto
9540
9541         * text2.C: layout as string
9542
9543         * text.C: layout as string
9544
9545         * paragraph_pimpl.C: layout as string
9546
9547         * paragraph.[Ch]: layout as string
9548
9549         * lyxtextclasslist.[Ch]: layout as string
9550
9551         * lyxtextclass.[Ch]: layout as string
9552
9553         * lyxtext.h: layout as string
9554
9555         * lyxlayout.[Ch]: layout as string
9556
9557         * lyx_cb.C: layout as string
9558
9559         * bufferview_funcs.C: layout as string
9560
9561         * bufferparams.C: layout as string
9562
9563         * buffer.C: layout as string
9564
9565         * LyXView.[Ch]: layout as string
9566
9567         * LaTeXFeatures.[Ch]: layout as string
9568
9569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9570
9571         * BufferView_pimpl.C: change current_layout to string, remove
9572         lyx::layout_type.
9573         (Dispatch):
9574         (smartQuote):
9575         (insertInset):
9576         (workAreaButtonRelease): layout as string
9577
9578         * BufferView2.C (unlockInset): adjust
9579
9580         * vspace.C (asLatexCommand): use an explict temp variable.
9581
9582 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * Makefile.am: use FRONTEND_*
9585
9586 2002-03-01  Juergen Vigna  <jug@sad.it>
9587
9588         * tabular.C (SetWidthOfMulticolCell): changed to something better
9589         I hope but still work in progress.
9590         (recalculateMulticolumnsOfColumn): renamed function from
9591         recalculateMulticolCells as it is more appropriate now.
9592         (SetWidthOfCell): calculate multicols better.
9593
9594 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9597
9598         * lyxfunc.C (processKeySym): print sequence also if it is
9599         `deleted' (complete)
9600
9601         * kbsequence.C (print): print sequence even if it is deleted
9602         (complete would be a better word, actually).
9603
9604         * lyxfunc.C (dispatch): print complete options after a prefix key
9605
9606         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9607
9608 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9609
9610         * text2.C (setCharFont): eliminate setCharFont code duplication.
9611
9612 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9615         LFUN_TABULAR_FEATURE (bug #177)
9616
9617 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9618
9619         * Makefile.am: remove figure.h
9620
9621 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9622
9623         * Bufferview_pimpl.C:
9624         * CutAndPasteC:
9625         * LaTeX.C:
9626         * LyXSendto.C:
9627         * buffer.C:
9628         * bufferlist.C:
9629         * converter.C:
9630         * language.C:
9631         * lyxfunc.C:
9632         * lyxvc.C:
9633         * paragraph.C:
9634         * text.C:
9635         * text2.C: remove #include "lyx_gui_misc.h".
9636
9637         * LaTeX.C: added #include <cstdio>
9638
9639 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9642         that the paragraph following this one can have.
9643
9644         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9645
9646         * vspace.C (asLatexCommand): fix bogus gcc warning
9647
9648         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9649
9650 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9651
9652         * text2.C (setLayout): get rid of redundant code
9653
9654 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9655
9656         * text2.C (incDepth): make sure depth cannot be increased beyond
9657         reasonable values.
9658
9659 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9662         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9663
9664         * PainterBase.h (image):
9665         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9666         a LyXImage const *.
9667
9668 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * BufferView.C:
9671         * BufferView.h:
9672         * BufferView_pimpl.C:
9673         * BufferView_pimpl.h:
9674         * LaTeXFeatures.C:
9675         * LyXAction.C:
9676         * LyXView.C:
9677         * Makefile.am:
9678         * UpdateList.h:
9679         * UpdateList.C:
9680         * buffer.C:
9681         * figure.h:
9682         * figureForm.C:
9683         * figureForm.h:
9684         * figure_form.C:
9685         * figure_form.h:
9686         * lyx_cb.C:
9687         * lyx_gui.C:
9688         * lyx_gui_misc.C:
9689         * lyxfunc.C:
9690         * sp_base.h:
9691         * sp_ispell.h:
9692         * sp_pspell.h:
9693         * sp_spell.C: remove fig inset, and the crap house of
9694           cards that follows it
9695
9696 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * Makefile.am:
9699         * lyxserver.C:
9700         * os2_defines.h:
9701         * os2_errortable.h:
9702         * nt_defines.h: move .h into support/
9703
9704         * vms_defines.h: remove
9705
9706         * WorkArea.C: add space in debug output
9707
9708         * text2.C:
9709         * paragraph.C:
9710         * buffer.C: add WITH_WARNINGS
9711
9712         * vc-backend.h:
9713         * vc-backend.C:
9714         * bufferlist.C: s/retrive/retrieve/, add docs
9715
9716         * vspace.h:
9717         * vspace.C:
9718         * kbmap.h:
9719         * lyxlength.h:
9720         * lyxgluelength.h:
9721         * length_common.h:
9722         * chset.h:
9723         * chset.C: add docs
9724
9725         * lyxgui.C: add ID to X error handler
9726
9727         * lyxtestclass.c: fix typo
9728
9729 2002-02-26  Juergen Vigna  <jug@sad.it>
9730
9731         * tabular_funcs.C (write_attribute): changed so that some default
9732         attributes are not written at all.
9733         (getTokenValue): set default values before trying to read the
9734         value so we have the return value always set as default if we don't
9735         find the token we search for.
9736
9737         * tabular.C (Write): write bools as bools not as strings!
9738
9739 2002-02-22  Juergen Vigna  <jug@sad.it>
9740
9741         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9742         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9743
9744         * text.C (leftMargin): don't add an indent for paragraphs inside
9745         tabular cells (fix #208).
9746
9747 2002-02-21  José Matos  <jamatos@fep.up.pt>
9748
9749         * tabular.C (docBook): fixed support for long tables.
9750
9751 2002-02-20  Juergen Vigna  <jug@sad.it>
9752
9753         * text2.C (getFont): get the drawing font of the Inset if this
9754         paragraph is inside an inset (only important for InsetERT for now).
9755
9756         * buffer.C (insertErtContents): use new lanugage params in ERT
9757         constructor.
9758
9759         * CutAndPaste.C: commenting out seemingly uneeded code.
9760
9761 2002-02-19  Allan Rae  <rae@lyx.org>
9762
9763         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9764         Iterators might be simple to use but they also get invalidated.
9765         (removeAutoInsets): renamed saved cursor tracking variables and added
9766         some comments to clarify what everything does.
9767
9768 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9769
9770         * Chktex.C:
9771         * LaTeX.C:
9772         * LyXSendto.C:
9773         * converter.C:
9774         * lyx_cb.C:
9775         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9776         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9777
9778         * lyxfunc.C:
9779         * vc-backend.h: remove #include "support/syscall.h"
9780
9781         * LaTeX.C:
9782         * LyXSendto.C:
9783         * converter.C: rearrange #includes in Lars' approved fashion.
9784
9785         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9786         forward declare class Timeout in the header file.
9787
9788         * XFormsView.C: changes due to the above.
9789
9790         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9791         similar to LyXView.
9792
9793         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9794         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9795
9796 2002-02-18  José Matos  <jamatos@fep.up.pt>
9797
9798         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9799         insets contents.
9800
9801 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9802
9803         * a lot of small ws changes
9804         * add a lot of using std::XXX
9805         * use std construcs some places where approp.
9806         * use some exisint stuff from lyxfunctional where approp.
9807         * Make file changes to use partial linking (lets test this now...)
9808
9809 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9810
9811         * Chktex.C:
9812         * buffer.C:
9813         remove #include "support/syscontr.h" as it's redundant. Always has been.
9814
9815         * Chktex.C:
9816         * LaTeX.C:
9817         * LyXSendto.C:
9818         * converter.C:
9819         * lyx_cb.C:
9820         * vc-backend.C:
9821         change Systemcalls::System to Systemcalls::Wait and
9822         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9823         No change of functionality, just reflects the stripped down Systemcalls
9824         class.
9825
9826 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9827
9828         * debug.[Ch]: add a GRAPHICS type to the enum.
9829
9830 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9833
9834         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9835         there is an inset.
9836
9837 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9840         match the changes below.
9841
9842         * text2.C (toggleInset): if there is not editable inset at cursor
9843         position, try to see if cursor is _inside_ a collapsable inset
9844         and close it.
9845
9846 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9849         document menu has a nice checkbox
9850
9851 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * lyxlength.C (asLatexString): change PW to output as percent of
9854         \textwidth.
9855
9856         * lengthcommon.C: change '%' to 't%'
9857
9858         * lyxfunc.C (dispatch): a few comments from Martin
9859
9860 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9861
9862         * WorkArea.h:
9863         * WorkArea.C:
9864         * BufferView_pimpl.h:
9865         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9866           the X selection.
9867
9868 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * vspace.C (inPixels): fix compiler warning
9871
9872 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * lyxfunc.C (getStatus): fix status message for disabled commands.
9875
9876 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * BufferView_pimpl.C: fix crash on close buffer
9879         during selection (#227)
9880
9881 2002-01-27  Herbert Voss  <voss@lyx.org>
9882
9883         * buffer.C: link old Figure to new graphic inset
9884
9885 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9886
9887         * FontLoader.C (getFontinfo): Change the latex font names in order
9888         to match the names of type1inst.
9889
9890 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9891
9892         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9893
9894         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9895         (extchanged): ditto
9896         (ext_exist): ditto
9897         (remove_files_with_extension): ditto
9898         (remove_file): ditto
9899         (write): ditto
9900
9901         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9902         document is smaller than the work area height. Do not initialize
9903         static variables to 0.
9904
9905 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9906
9907         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9908
9909         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9910         LFUN_LAYOUT_PARAGRAPHS.
9911
9912         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9913         tabular. It is possible to provide a possible cell, which will
9914         typically be the actcell from the corresponding insettabular
9915
9916         * lyxfunc.C (getStatus): small cleanup; disable
9917         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9918         true
9919
9920 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9923
9924         * paragraph.C (startTeXParParams):
9925         (endTeXParParams): new methods. The LaTeX code to
9926         start/end paragraph formatting
9927         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9928         empty (fixes bug #200)
9929
9930         * vspace.C (inPixels): adapt to the change below
9931         (inPixels): [later] more cleanups (remove unused variables)
9932
9933         * lyxlength.C (inPixels): change to use a width and a height as
9934         parameter.
9935
9936 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9939         Replaced with \paperwidth
9940
9941         * DepTable.C (insert): add std:: qualifier
9942
9943 2002-01-18  Allan Rae  <rae@lyx.org>
9944
9945         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9946         updated also?
9947
9948         * text.C (drawInset): Turned out I didn't know enough about how
9949         rebreaking worked.  This fixes most of the redraw problems.  I see
9950         an occasional cursor trail when a line is broken now and the cursor
9951         placement can seem out by a few pixels also after a rebreak.
9952
9953 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * buffer.C (parseSingleLyXformat2Token): update because minipage
9956         width is now a LyXLength
9957
9958         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9959
9960         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9961         math insets
9962
9963 2002-01-17  Juergen Vigna  <jug@sad.it>
9964
9965         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9966
9967         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9968         is set correctly and the inset is updated correctly.
9969
9970 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9973         the beginning of the loop.
9974
9975 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * lyxrc.C: improve help for use_scalable_fonts
9978
9979 2002-01-17  Allan Rae  <rae@lyx.org>
9980
9981         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9982
9983 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9986         make sure to set their inset_owner to the right value (bug #171)
9987
9988 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9989
9990         * DepTable.h
9991         * DepTable.C: Implement mtime checking to reduce time spent doing
9992         CRCs.
9993
9994 2002-01-16  Juergen Vigna  <jug@sad.it>
9995
9996         * tabular.C (GetAdditionalHeight): one of error fixed.
9997
9998         * lyxrc.C (output): small fix in writing use_pspell.
9999
10000 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10001
10002         * sp_base.h: #include LString.h
10003
10004 2002-01-16  Allan Rae  <rae@lyx.org>
10005
10006         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10007         Can someone check this please?
10008
10009         * text.C (drawInset): It was possible that p.row would be removed by
10010         breakAgainOneRow upsetting a few other settings.  There may be another
10011         small tweak possible by setting need_break_row = 0 when p.row has been
10012         removed but I don't know enough about the logic here.
10013
10014 2002-01-15  Allan Rae  <rae@lyx.org>
10015
10016         * text.C (insertChar): removed conditional truism.
10017
10018         * BufferView2.C (removeAutoInsets): More tweaks.
10019         cur_par_prev could be a stray pointer.  Check for trailing empty line
10020         in case last line was cur_par and only had an error inset on it.
10021
10022 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10025         absolute
10026
10027         * vc-backend.C (most methods):
10028         * exporter.C (Export):
10029         * converter.C (convert):
10030         (runLaTeX):
10031         * LyXSendto.C (SendtoApplyCB):
10032         * lyxfunc.C (dispatch):
10033         (menuNew):
10034         (open):
10035         (doImport):
10036         * lyx_cb.C (AutoSave):
10037         (InsertAsciiFile):
10038         * BufferView_pimpl.C (MenuInsertLyXFile):
10039         * buffer.C (runChktex): use Buffer::filePath().
10040
10041         * buffer.h: rename filename to filename_; rename filepath to
10042         filepath_ and make it private
10043         (filePath): new method
10044
10045         * buffer.C (writeFile): use fileName()
10046         (getLatexName):
10047
10048         * lyx_main.C (init): fix starting  of LyX when the binary is a
10049         link from so,ewhere else.
10050
10051         * minibuffer.C: include <cctype> for isprint
10052
10053 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10054
10055         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10056         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10057         name clash with InsetCollapsable's width function.
10058
10059 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10060
10061         * lastfiles.C: include <iterator>
10062
10063 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10066         std::count.
10067
10068         * buffer.C (makeLaTeXFile): ditto.
10069         Also make loop operation more transparent.
10070
10071 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10072
10073         * ToolbarDefaults.C: remove trailing comma closing namespace.
10074
10075         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10076
10077         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10078         as in WorkArea.
10079
10080         * trans.C (Load): comment out unused variable, allowed.
10081
10082 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10083
10084         * minibuffer.[Ch] (append_char): new method to recieve input from the
10085         drop-down completion browser. If a key was pressed, then recieve this
10086         char and append it to the existing string.
10087         (peek_event): modify the positioning data passed to the completion
10088         browser so that it can be placed above the minibuffer rather than below.
10089 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10090
10091         * LyXAction.C (init): alloe error-next for readonly documents.
10092
10093         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10094         count.
10095
10096 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10097
10098         * bufferlist.C (readFile): create the buffer _after_ checking that
10099         the file exists.
10100
10101         * lyxfunc.C (verboseDispatch): fix handling of arguments
10102
10103         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10104
10105         * lyxrc.C: use string::erase() instead of initializing to "".
10106
10107
10108 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * BufferView_pimpl.h:
10111         * BufferView_pimpl.C:
10112         * WorkArea.h:
10113         * WorkArea.C:
10114         * text2.C: tell X when we have made a selection for copying
10115
10116 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * BufferView_pimpl.C (MenuInsertLyXFile):
10119         * lyxfunc.C (menuNew):
10120         (open):
10121         (doImport): add shortcuts to directory buttons
10122
10123         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10124         open a float)
10125
10126         * lyxfunc.C (setStatusMessage):
10127         (getStatusMessage): new methods
10128         (getStatus):use setStatusMessage instead of setErrorMessage
10129         (dispatch): when function is disabled, set error message here
10130         [instead of in getStatus previously]
10131
10132         * BufferView_pimpl.C (workAreaButtonRelease): update
10133         toolbar/menubar here too.
10134
10135 2002-01-13  Allan Rae  <rae@lyx.org>
10136
10137         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10138         Now seems indestructible.  Remaining task is to audit all other
10139         code affected by deleteEmptyParagraphMechanism.  One small quirk
10140         left is that an empty document with an error in the preamble can
10141         be made to report an error but no error box appears.  I don't know
10142         where it goes.
10143         (removeAutoInsets): Improved comments.
10144
10145 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * Thesaurus.h:
10148         * Thesaurus.C: update for Aiksaurus 0.14
10149
10150 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10151
10152         * text2.C (firstParagraph): removed member function, all uses
10153         replaces with ownerParagraph
10154         (redoParagraphs): here
10155         (updateInset): here
10156         (toggleAppendix): here
10157         * BufferView2.C (insertErrors): here
10158         (setCursorFromRow): here
10159
10160 2002-01-13  Allan Rae  <rae@lyx.org>
10161
10162         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10163         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10164         There is still a way to segfault this although you may have to do this
10165         multiple times: Have an InsetERT with an unknown command in it.
10166         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10167         <down-arrow>, <Enter> again, View->DVI, BANG!
10168
10169         * text2.C (setCursor):
10170         (deleteEmptyParagraphMechanism):
10171         * lyxtext.h (setCursor):
10172         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10173         Making use of the return value may help fix other bugs.
10174
10175 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10178
10179         * LyXView.C (updateMenubar): call MenuBar::update here
10180         (updateToolbar): but not here
10181         (showState): do not update toolbar/menubar
10182
10183         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10184         should need to care about that.
10185
10186         * lyxfunc.C (verboseDispatch): simplify a bit
10187         (getStatus): have a version which takes a pseudoaction, and
10188         another which requires a (kb_action,string).
10189
10190         * LyXAction.C (retrieveActionArg): make it work also when action
10191         is not a pseudo-action.
10192         (getActionName): simplify a bit
10193         (helpText):
10194
10195 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * lyxfunc.C (verboseDispatch): new families of methods with
10198         several ways to specify a command and a bool to indicate whether
10199         the command name and shortcut should be displayed in minibuffer
10200         (eventually, we could extend that to a finer bitmask like
10201         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10202         (dispatch): the pristine dispatch command which just, well,
10203         dispatchs! Note it still sets its result to minibuffer; I'm not
10204         sure we want that.
10205
10206         * lyxfunc.h: remove setHintMessage
10207
10208         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10209
10210 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * BufferView_pimpl.C (specialChar): delete new inset if we have
10213         not been able to insert it.
10214
10215         * kbmap.C: revert to using int instead of kb_action, since all we
10216         are dealing with is pseudo-actions.
10217
10218         * LyXAction.C (searchActionArg): change to return int instead of
10219         kb_action, since the result is a pseudoaction.
10220
10221 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10222
10223         * buffer.C (insertErtContents): Fix (partially) the font bug.
10224
10225 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10226
10227         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10228         as the other one is broken on my machine!
10229
10230 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10231
10232         * commandtags.h:
10233         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10234
10235 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10236
10237         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10238         reflect their actual use. Provide compatibility code for older lyxrc
10239         files.
10240
10241         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10242         FL_NORMAL_STYLE.
10243         change names of popup font variables in line with the changes to lyxrc.C
10244
10245 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * buffer.C (asciiParagraph): avoid outputing a word twice after
10248         an inset.
10249
10250         * lyxrc.C (getDescription): document that document_path and
10251         template_path can be empty.
10252
10253 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * LaTeXFeatures.C (getMacros):
10256         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10257
10258         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10259
10260         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10261         getPackages.
10262         (getPackages): rename feature "floats" to "float". Use an array to
10263         iterate over 'simple' features (i.e. just a \usepackage). Add
10264         handling of "amsmath" (renamed from "amsstyle").
10265
10266 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10267
10268         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10269         features list.
10270
10271 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10272
10273         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10274         FuncStaus::FuncStatus & FuncStaus::some_method().
10275
10276 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10277
10278         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10279         of the func_satus stuff. Edited and massaged in various ways by
10280         JMarc.
10281
10282         * lyxfunc.C (getStatus): use FuncStatus
10283
10284 2002-01-08  Juergen Vigna  <jug@sad.it>
10285
10286         * text.C (nextBreakPoint): use function Inset::isChar().
10287
10288         * paragraph.C (TeXOnePar): use function
10289         Inset::forceDefaultParagraphs.
10290
10291         * buffer.C (latexParagraphs): use function
10292         Inset::forceDefaultParagraphs.
10293
10294 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10295
10296         * lyx_gui.C (init): set the style of the menu popups to
10297         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10298
10299 2002-01-07  Juergen Vigna  <jug@sad.it>
10300
10301         * text.C (setHeightOfRow): small fix
10302         (prepareToPrint): don't look at alignment if we don't have the place
10303         for doing it.
10304
10305 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10306
10307         * box.C: New file. Move the Box methods and functions out of box.h,
10308         following Lars' suggestion.
10309
10310 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10311
10312         * box.h: #include "support/LOstream.h", needed for inlined function.
10313
10314         * lyxtextclass.C:
10315         * lyxtextclasslist.C: added some using std declarations.
10316
10317 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * box.h: make signed dimensions to allow insets wider than
10320           the screen (bug #162)
10321
10322         * BufferView_pimpl.C: add some insetHit debug
10323
10324 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * vc-backend.C: add FIXME
10327
10328 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * lyxfunc.C (getStatus): enable code for showing math font status
10331         in toolbar/menu.
10332
10333 2002-01-07  Juergen Vigna  <jug@sad.it>
10334
10335         * text.C (nextBreakPoint): removed debug output not needed anymore.
10336
10337 2002-01-06  Juergen Vigna  <jug@sad.it>
10338
10339         * text.C (nextBreakPoint): fixed up this function we had this bug
10340         since ever but now hopefully we break row better.
10341         (insertChar): we have to check if an inset is the next char as it
10342         could now happen that a large inset is causing a break.
10343
10344 2002-01-05  Juergen Vigna  <jug@sad.it>
10345
10346         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10347         if it doesn't like to be drawed.
10348
10349 2002-01-04  Juergen Vigna  <jug@sad.it>
10350
10351         * BufferView2.C (lockInset): forgot to set a cursor.
10352
10353         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10354
10355 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10356
10357         * FormMathsPanel.C:
10358         * FormMathsPanel.h
10359         * MathsSymbols.C:
10360         * form_maths_panel.C:
10361         * form_maths_panel.h:
10362         * form_maths_panel.fd: implemented sub- and super- buttons in math
10363         panel.
10364
10365         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10366         (or ^ space) to be used as in TeX (req'd by André).
10367
10368         * lyxfunc.C: Allow ^ and _ again to be used both as
10369         super/subscript (mathed) and as themselves (in text).
10370
10371 2002-01-03  Allan Rae  <rae@lyx.org>
10372
10373         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10374         "LyX" or the filename of the current buffer if it has one.  This is a
10375         modified form of John Levon's patch.
10376
10377         * XFormsView.C (setWindowTitle): also set icon title.
10378
10379         * LyXView.h (setWindowTitle): signature changed.
10380         * XFormsView.h (setWindowTitle): ditto.
10381
10382 2002-01-02  Juergen Vigna  <jug@sad.it>
10383
10384         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10385
10386 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * screen.C (topCursorVisible): introduce a temp var for
10389         text->cursor.row(), handle the case where this row is null. (kindo
10390         hachish)
10391
10392         * text2.C (setCursor): add a couple of asserts.
10393
10394         * paragraph.h (inset_iterator): add -> operator
10395
10396         * paragraph.[Ch] (autoDeleteInsets): remove member function
10397
10398         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10399         cursor pos correctly and handle inset deletion by itself.
10400         (insertErrors): move iterator declaration out of for expression
10401
10402         * lyxtextclass.C: add <algorithm>
10403
10404         * Makefile.am: added the new files to sources, removed layout.C
10405
10406         * layout.C: removed file
10407
10408         * layout.h: remove LYX_DUMMY_LAYOUT
10409
10410         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10411         layout.
10412
10413         * lyxlayout.[Ch]:
10414         * lyxtextclass.[Ch]:
10415         * lyxtextclasslist.[Ch]: new files
10416
10417         * include order changes to a lot of files, also changes because of
10418         the six new files.
10419
10420 2001-12-27  Juergen Vigna  <jug@sad.it>
10421
10422         * buffer.C (asciiParagraph): more fixes.
10423
10424         * tabular.C (ascii): make ascii export support export of only the
10425         data separated by a column-delimiter.
10426         (ascii): better support for ascii export.
10427
10428         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10429
10430 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10431
10432         * tabular_funcs.C: use a "using std::getline" instead of the
10433         previous fix from Angus (necessary for cxx + lyxstring)
10434
10435 2001-12-24  Juergen Vigna  <jug@sad.it>
10436
10437         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10438
10439         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10440         problems. First check a minipage also if we have some ert-contents
10441         (not only on par->size(), second set the right depth of the paragraph
10442         on the relink to the root-paragraph-list!
10443
10444         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10445         which then did not anymore update the main paragraphs on undo/redo!
10446
10447 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10450         code. Support all font-changing funcs (even those which are not in
10451         menu currently). Support for reporting font settings in
10452         mathed (disabled until Andre provides a function on mathed's side).
10453
10454         * func_status.h (toggle): small helper function to set toggle
10455         state on a flag.
10456
10457 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10458
10459         * tabular_funcs.C: getline -> std::getline
10460
10461 2001-12-21  Juergen Vigna  <jug@sad.it>
10462
10463         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10464         accessed and could be 0 (I couldn't generate this but it seems
10465         Michael could!).
10466
10467 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10468
10469         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10470         * tabular_funcs.h: here and include iosfwd
10471
10472 2001-12-20  Juergen Vigna  <jug@sad.it>
10473
10474         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10475         inside inset but undo_par was.
10476
10477 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * Thesaurus.C: always include <config.h> in sources.
10480
10481         * Painter.h:
10482         * lyxlookup.h:
10483         * box.h: do not include <config.h> in header files
10484
10485         * text.C (paintLastRow): remove unused variable
10486
10487         * text.C (transformChar):
10488         (insertChar):
10489         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10490
10491         * Painter.C (text):
10492         * font.C (width): rewrite to use uppercase() instead of
10493         islower/toupper.
10494
10495         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10496
10497 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * lyxfind.C: clean up of find failure position change
10500
10501 2001-12-20  Juergen Vigna  <jug@sad.it>
10502
10503         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10504
10505         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10506         (TeXRow): added to LaTeX a single tabular row.
10507         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10508         (Latex): simplified and finally good LT-h/f support.
10509         (various_functions): just small adaptions for LT-h/f support.
10510
10511         * tabular_funcs.[hC]: added and moved here all not classfunctions
10512         of LyXTabular.
10513
10514 2001-12-19  Juergen Vigna  <jug@sad.it>
10515
10516         * tabular.[Ch]: better support for longtabular options (not finished
10517         yet!)
10518
10519 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10520
10521         * text.C (paintLastRow): use the label font instead of the font of
10522         the last character to compute the size of *_BOX. This makes more
10523         sense and avoids a crash with empty paragraphs.
10524         Use Painter::rectangle to draw EMPTY_BOX.
10525
10526 2001-12-19  Juergen Vigna  <jug@sad.it>
10527
10528         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10529         the paragraphs if the replaced paragraph is not the first one!
10530         Tried to delete not used paragraphs but does not work yet so for
10531         now it's inside #ifdef's and by default off!
10532
10533 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10534
10535         * MenuBackend.C: include "lyx_main.h" instead of declaring
10536         lastfiles (actually was declared as LastFiles* instead of a
10537         scoped_ptr).
10538
10539 2001-12-17  Juergen Vigna  <jug@sad.it>
10540
10541         * tabular.C (AppendColumn): applied John's fix
10542
10543 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * BufferView.h:
10546         * BufferView.C:
10547         * BufferView_pimpl.h:
10548         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10549
10550         * Makefile.am:
10551         * box.h: new start of class for above
10552
10553         * lyxfunc.C: ignore space-only minibuffer dispatches.
10554           Show the command name when it doesn't exist
10555
10556         * minibuffer.C: don't add empty lines to the history
10557
10558         * minibuffer.C: add a space on dropdown completion
10559
10560 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * text.C: fix line above/below drawing in insets
10563
10564 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10565
10566         * lyxlength.C (LyXLength): Initialize private variables.
10567
10568 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10571         when inserting error insets.
10572
10573 2001-12-13  Juergen Vigna  <jug@sad.it>
10574
10575         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10576         actually sometimes the before-paragraph.
10577         (setUndo): don't clear the redostack if we're not actually undoing!
10578
10579 2001-12-06  Juergen Vigna  <jug@sad.it>
10580
10581         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10582         and fixed redoing of main paragraph, so we can use it now ;)
10583
10584         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10585
10586 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10589         Juergen's request
10590
10591 2001-12-13  André Pönitz <poenitz@gmx.net>
10592
10593         * undostack.[Ch]:
10594         * undo_func.C: minor cleanup
10595
10596 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10599         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10600         font in urw-fonts package which is marked as -urw-fontspecific and
10601         does not work (incidentally, changing the encoding in the
10602         fonts.dir of this package to -adobe-fontspecific fixes the
10603         problem).
10604
10605         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10606         is a crash when undoing first paragraph (Juergen, please take a
10607         look). THis does not mean the undo fix is wrong, just that it
10608         uncovers problems.
10609
10610         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10611         the (Paragraph*) version when needed instead of duplicating the
10612         code.
10613
10614         * text.C (workWidth): use Inset::parOwner to find out where the
10615         inset has been inserted. This is a huge performance gain for large
10616         documents with lots of insets. If Inset::parOwner is not set, fall
10617         back on the brute force method
10618
10619         * paragraph_pimpl.C (insertInset):
10620         * paragraph.C (Paragraph):
10621         (cutIntoMinibuffer): set parOwner of insets when
10622         inserting/removing them
10623
10624         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10625
10626 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10627
10628         * commandtags.h:
10629         * LyXAction.C:
10630         * lyx_main.C:
10631         * lyxfunc.C:
10632         * mathed/formulabase.C:
10633         * mathed/math_cursor.[Ch]:
10634         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10635
10636
10637 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * lyxlength.[Ch] (operator!=): new function
10640
10641 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * text.C (workWidth): use Inset::parOwner to find out where the
10644         inset has been inserted. This is a huge performance gain for large
10645         documents with lots of insets. If Inset::parOwner is not set, fall
10646         back on the brute force method
10647
10648         * paragraph_pimpl.C (insertInset):
10649         * paragraph.C (Paragraph):
10650         (cutIntoMinibuffer): set parOwner of insets when
10651         inserting/removing them
10652
10653         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10654
10655 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * tabular-old.C (getTokenValue):
10658         * tabular.C (getTokenValue):
10659         (write_attribute): new versions for LyXLength
10660         (everywhere): adjust the use of widths
10661
10662         * tabular.h: change the type of widths from string to LyXLength
10663
10664 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10665
10666         * paragraph.C: fixed missing line number count when exporting
10667         Environments to LaTeX file
10668
10669         * buffer.C: added informational message for checking line numbers.
10670
10671 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10674         paragraph, do the 'double space' part, but not the 'empty
10675         paragraph' one.
10676
10677         * text.C (workWidth): small optimization
10678         (getLengthMarkerHeight): use minimal size for negative lengths.
10679
10680 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10681
10682         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10683
10684         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10685
10686 2001-12-11  André Pönitz <poenitz@gmx.net>
10687
10688         * FontLoader.C:
10689         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10690
10691 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * text2.C: keep selection on a setFont()
10694
10695 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * lyx_cb.C: another bv->text misuse, from insert label
10698
10699 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * kbsequence.h:
10702         * kbsequence.C: re-instate nmodifier mask
10703
10704 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10705
10706         * lyx_main.h: make lyxGUI private.
10707
10708 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * lyxfind.C: place the cursor correctly on failed search
10711
10712 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * text.C (getLengthMarkerHeight): for small heights, the arrows
10715         are not always on top/bottom of the text
10716         (drawLengthMarker): smaller arrows; take the left margin in
10717         account; draw also vfills.
10718         (paintFirstRow):
10719         (paintLastRow): remove special code for vfill and standard spaces,
10720         since everything is handled in drawLengthMarker now.
10721
10722 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * buffer.C (insertErtContents): try to handle font and language
10725         interaction a bit better.g
10726
10727         * ColorHandler.C (updateColor): change the hash to cover the whole
10728         LColor enum, ws cleanup
10729         (getGCLinepars): ditto
10730         (getGCLinepars): only lookup in the linecache once.
10731
10732 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10733
10734         * iterators.C (operator++): Make the iterator more robust
10735
10736         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10737         (John's patch)
10738         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10739
10740 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * lyxtext.h:
10743         * text.C: better added space drawing
10744
10745 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * LyXView.C:
10748         * BufferView2.C: fix layout combo update on inset unlock
10749
10750 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * Makefile.am: don't compile unused files
10753
10754 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * lyxfunc.C:
10757         * commandtags.h:
10758         * LyXAction.C: remove old LFUN_LAYOUTNO
10759
10760 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * paragraph_pimpl.h:
10763         * paragraph_pimpl.C: isTextAt() doesn't need font param
10764
10765 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * lyxlex.h:
10768         * lyxlex.C: little cleanup
10769
10770 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * BufferView_pimpl.C: fix insertAscii for insets
10773
10774 2001-12-05  Juergen Vigna  <jug@sad.it>
10775
10776         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10777         set the right font on the "multi" paragraph paste!
10778
10779 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * trans_decl.h:
10782         * trans_mgr.[Ch]:
10783         * trans.[Ch]:
10784         * lyxgluelength.C:
10785         * lyxlength.C: remove out-commented code.
10786
10787         * BufferView_pimpl:
10788         * CutAndPaste.C:
10789         * DepTable.C:
10790         * buffer.C:
10791         * chset.C:
10792         * lastfiles.C:
10793         * lyxlex.C:
10794         * lyxlex_pimpl.C:
10795         * lyxserver.C:
10796         * screen.C:
10797         * tabular-old.C:
10798         * tabular.C:
10799         * text.C:
10800         * trans_mgr.C:
10801         * vc-backend.C: change "while(" to "while ("
10802
10803         * lyxlength.[Ch]: add zero function to check if length is zero or
10804         not
10805         * lyxgluelength.C: use it
10806
10807 2001-12-05  Allan Rae  <rae@lyx.org>
10808
10809         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10810         Works for 2.95.3, from what I understand of Garst's reports this should
10811         work for other g++ versions.  We're screwed if the abs(int) definition
10812         changed between bugfix releases of gcc.
10813
10814 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * text.C: fix chapter label offset !
10817
10818 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * lyxtext.h:
10821         * text.C: fix hfill at end of line, clean up
10822
10823 2001-12-04  Juergen Vigna  <jug@sad.it>
10824
10825         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10826         that we force an update of the inset and it's owners if neccessary.
10827
10828 2001-12-03  Juergen Vigna  <jug@sad.it>
10829
10830         * text.C (rowLast): simplified code
10831
10832 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * lyxfunc.C: fix show options on timeout
10835
10836 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * screen.C (topCursorVisible): scroll half a page when the cursor
10839         reached top of bottom of screen
10840
10841 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * minibuffer.C: deactivate on loss of focus
10844
10845 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * vspace.[Ch] (operator!=): add operator.
10848
10849 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * BufferView_pimpl.C: refuse to open an inset when
10852         there's a selection.
10853
10854 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * BufferView_pimpl.C: allow to click on RHS of full row insets
10857
10858 2001-11-30  Juergen Vigna  <jug@sad.it>
10859
10860         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10861         insets for undo reasons.
10862
10863 2001-11-28  André Pönitz <poenitz@gmx.net>
10864
10865         * vspace.[Ch]: cosmetical changes
10866
10867 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * LyXAction.h:
10870         * LyXAction.C:
10871         * lyxfunc.h:
10872         * lyxfunc.C:
10873         * kbmap.h:
10874         * kbmap.C:
10875         * lyxrc.C:
10876         * kbsequence.h:
10877         * kbsequence.C: part re-write of old kb code
10878
10879         * Painter.C:
10880         * WorkArea.C: remove Lgb_bug_find_hack
10881
10882 2001-11-30  José Matos <jamatos@fep.up.pt>
10883
10884         * buffer.C (makeDocBookFile): add a comment to point a hack.
10885         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10886         Fixed a double write of labels.
10887
10888 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10889
10890         * LaTeX.C:
10891         * LaTeX.h Fixed bug in LaTeX class where it would not
10892         re-run latex if no depfiles were changed, but the .dvi was removed.
10893
10894 2001-11-28  André Pönitz <poenitz@gmx.net>
10895
10896         * all the files from the change on 2001/11/26:
10897         use lyx::layout_type instead of LyXTextClass::size_type
10898         use lyx::textclass_type instead of LyXTextClassList::size_type
10899
10900 2001-11-29  Juergen Vigna  <jug@sad.it>
10901
10902         * text.C: added support for paragraph::isFreeSpacing()
10903
10904         * buffer.C: same as above
10905
10906         * paragraph.h: inserted isFreeSpacing() function to enable
10907         FreeSpacing inside InsetERT.
10908
10909         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10910         of the paragraph's in the cut/copy buffer to 0!
10911
10912         * text2.C (removeRow): remove the assert as it can!
10913
10914         * lyxtext.h: added helper function firstRow returning firstrow and
10915         made firstrow private again.
10916
10917         * BufferView2.C (lockInset): don't relock if we're already locked!
10918
10919         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10920         the only paragraph.
10921         (removeRow): added Assert::(firstrow)
10922
10923         * debug.C: forgot to add INSETTEXT here.
10924
10925 2001-11-28  Juergen Vigna  <jug@sad.it>
10926
10927         * sp_spell.C (initialize): changed error text to more general
10928         spellchecker command use (not only ispell!)
10929
10930         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10931
10932         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10933
10934 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10935
10936         * vspace.C: initialise lyxgluelength on failure
10937
10938 2001-11-28  Allan Rae  <rae@lyx.org>
10939
10940         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10941         declaration & definition that looks like a function declaration.
10942
10943 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10944
10945         * BufferView2.C (copy):
10946         (copyEnvironment): do not clear the selection when doing a copy.
10947
10948         * text.C (paintFirstRow): compilation fix
10949
10950 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10951
10952         * tabular.C (Latex): correct line count when writing latex.
10953
10954 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * paragraph_pimpl.h:
10957         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10958           bug a bit
10959
10960 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10961
10962         * text.C:
10963         * LColor.h:
10964         * LColor.C: change vfillline->added_space
10965
10966         * text.C: add markers and text for added space
10967
10968         * vspace.C: fix comment
10969
10970 2001-11-28  André Pönitz <poenitz@gmx.net>
10971
10972         * paragraph.C: whitespace changes
10973         * all the other files from the change on 2001/11/26:
10974         change *::pos_type into lyx::pos_type
10975
10976 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10977
10978         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10979         language of the document when inserting error insets.
10980
10981 2001-11-26  André Pönitz <poenitz@gmx.net>
10982
10983         * BufferView_pimpl.[Ch]:
10984         *       CutAndPaste.C:
10985         * buffer.[Ch]:
10986         * lyxcursor.[Ch]:
10987         * lyxfind.C:
10988         * lyxfunc.C:
10989         * lyxrow.[Ch]:
10990         * paragraph.[Ch]:
10991         * paragraph_pimpl.[Ch]:
10992         * sp_spell.C:
10993         * text.C:
10994         * text2.C: reduce header dependencies, introduce type for positions
10995
10996 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * <various>: change to use Alert.h
10999
11000 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11001
11002         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11003         when encountering an unknown token.
11004         (readLyXformat2): Show an error message if there were unknown tokens.
11005
11006 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * BufferView2.C:
11009         * BufferView_pimpl.C:
11010         * buffer.C:
11011         * paragraph.h:
11012         * text.C:
11013         * text2.C: use par->isInset()
11014
11015 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * paragraph_pimpl.h:
11018         * paragraph_pimpl.C: cleanup
11019
11020 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11021
11022         * text2.C (removeRow):
11023         * text.C (setHeightOfRow): remove useless (and costly) call to
11024         getRow.
11025
11026 2001-11-20  Allan Rae  <rae@lyx.org>
11027
11028         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11029         Now need Inset*::checkInsertChar() to return true for appropriate
11030         cases so that the characters in the minibuffer will actually be
11031         inserted.
11032
11033 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * text.C: change the order of the includes.
11036         (workWidth): initialize it at once.
11037         (workWidth): make maxw unsigned
11038         (setHeightOfRow): remove unused variable (inset)
11039         (selectSelectedWord): remove unused variable (inset)
11040         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11041
11042 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11045         server is not running.
11046         (openConnection):
11047         (closeConnection): add debug info when server is disabled.
11048
11049         * ColorHandler.C (getGCForeground): send debug message to GUI
11050         channel.
11051
11052         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11053
11054         * kbmap.C (bind): modify because return conventions of
11055         kb_sequence::parse have changed.
11056
11057         * kbsequence.C (parse): only ignore spaces and not any stupid
11058         control character. This avoids tests like s[i] <= ' ', which are
11059         guaranteed to fail with 8bit characters and signed chars.
11060         Change return code to string::npos when there have been no error
11061         (0 was a bad idea when error is at first character)
11062
11063 2001-11-14  José Matos  <jamatos@fep.up.pt>
11064
11065         * buffer.h:
11066         * buffer.C (simpleDocBookOnePar): removed unused argument.
11067
11068 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11069
11070         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11071         insets which are part of a word. Paragraph::isLetter takes care of
11072         that now. Use Paragraph::isInset to identify insets.
11073         (selectSelectedWord): do not test for hyphenation break.
11074
11075         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11076         that protected spaces are considered as spaces.
11077
11078         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11079         Inset::isLetter.
11080
11081 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * lyxserver.h:
11084         * lyxserver.C: fix it. and small cleanup.
11085
11086 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * BufferView_pimpl.C: use inline helpers
11089
11090         * LaTeXFeatures.h:
11091         * LaTeXFeatures.C: fix typos
11092
11093         * Spacing.h:
11094         * Spacing.C: move spacing_string into class
11095
11096         * ToolbarDefaults.C: move stuff into namespace anon
11097
11098         * layout.h: update enum
11099
11100         * lyxfunc.C: use better debug
11101
11102         * minibuffer.h: fix typo
11103
11104         * debug.h:
11105         * debug.C:
11106         * WorkArea.C: add and use Debug::WORKAREA
11107
11108         * lyxtext.h:
11109         * text.C:
11110         * text2.C: code re-organisation, inline helpers
11111
11112 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11113
11114         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11115         std::vector.empty().
11116
11117 2001-11-09  Allan Rae  <rae@lyx.org>
11118
11119         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11120         '\n's after tables.  Tabular and ERT inset work now makes this no
11121         longer necessary.
11122
11123 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * minibuffer.h:
11126         * minibuffer.C: fix crash, improve drop-down completion
11127
11128 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * lyxserver.h:
11131         * lyxserver.C: invalidate fd's when doing endPipe()
11132
11133 2001-11-08  José Matos  <jamatos@fep.up.pt>
11134
11135         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11136         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11137
11138         * paragraph.h:
11139         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11140
11141 2001-11-07  José Matos  <jamatos@fep.up.pt>
11142
11143         * buffer.h:
11144         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11145         const qualifier.
11146
11147         * buffer.C (sgmlOpenTag):
11148         * buffer.C (sgmlCloseTag): removed debug info.
11149
11150         * buffer.h (sgmlOpenTag):
11151         * buffer.h (sgmlCloseTag): made public.
11152
11153 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11154
11155         * buffer.C (saveParamsAsDefaults):
11156         * lyx_cb.C (MenuLayoutSave): remove
11157
11158         * LyXAction.C (init):
11159         * commandtags.h:
11160         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11161
11162 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11163
11164         * buffer.C (setPaperStuff): removed from here...
11165
11166         * bufferparams.C (setPaperStuff): ... and moved there.
11167
11168 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * minibuffer.h:
11171         * minibuffer.C:
11172         * XFormsView.C: add support for drop-down completion
11173
11174 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11177         commands.
11178
11179 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11180
11181         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11182         disabled.
11183
11184 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * lyx_main.C: change ref to known bugs
11187
11188 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11189
11190         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11191         to work around older babel problems.
11192
11193 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11194
11195         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11196
11197 2001-10-24  Juergen Vigna  <jug@sad.it>
11198
11199         * tabular-old.C (ReadOld): below variable changes reflected.
11200
11201         * tabular.[Ch]: added ltType struct for longtable header/footer
11202         defines and changed all instances where they are used. Added
11203         future support for double top/bottom rows.
11204
11205 2001-10-24  José Matos  <jamatos@fep.up.pt>
11206
11207         * buffer.h (docbookHandleCaption):
11208         * buffer.C (docbookHandleCaption): removed unused function.
11209         (makeDocBookFile): moved docbook supported version to v4.1.
11210
11211 2001-10-24  José Matos  <jamatos@fep.up.pt>
11212
11213         * tabular.h:
11214         * tabular.C (docbookRow): new function to export docbook code of a row.
11215         (DocBook): now honors the longtable flags.
11216
11217 2001-10-23  José Matos  <jamatos@fep.up.pt>
11218
11219         * LaTeXFeatures.h:
11220         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11221         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11222
11223         * buffer.C (makeLinuxDocFile):
11224         (makeDocBookFile): reworked the preamble, more clean, and with
11225         support for lyx defined entities. Changed the document declaration
11226         to be more XML friendly.
11227
11228         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11229         if we need to output XML that should be done with a filter.
11230
11231 2001-10-22  Juergen Vigna  <jug@sad.it>
11232
11233         * sp_pspell.h (class PSpell): add alive function needed in the
11234         controller to see if the spellchecker could be started.
11235
11236 2001-10-22  Juergen Vigna  <jug@sad.it>
11237
11238         * buffer.C (insertStringAsLines): modify the font for inserting
11239         chars in certain conditions by calling checkInsertChar(font).
11240
11241 2001-10-19  Juergen Vigna  <jug@sad.it>
11242
11243         * text.C (workWidth): use getRow instead of wrong algorithm.
11244         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11245
11246 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * lyxserver.h:
11249         * lyxserver.C:
11250         * lyx_main.h:
11251         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11252
11253 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11254
11255         * text.C (workWidth): do not search for the exact row when
11256         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11257         optimization for big documents.
11258
11259 2001-10-18  Juergen Vigna  <jug@sad.it>
11260
11261         * text.C (workWidth): new function with added Inset * parameter.
11262
11263 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11264
11265         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11266
11267         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11268         change return type of getColumnNearX.
11269
11270
11271         * text.C (changeRegionCase): use uppercase/lowercase instead of
11272         toupper/tolower.
11273         (leftMargin):
11274         (rightMargin): simplify code by factoring out the uses of
11275         textclasslist.
11276         (labelFill):
11277         (numberOfHfills):
11278         (setHeightOfRow):
11279         (appendParagraph): use Paragraph::size_type
11280
11281 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11282
11283         * vspace.C (asLatexString): add a missing break
11284
11285 2001-10-15  Herbert Voss  <voss@perce.de>
11286
11287         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11288
11289 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11290
11291         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11292         is not available.
11293
11294 2001-10-10  André Pönitz <poenitz@gmx.net>
11295
11296         * lyxfunc.C: removed greek_kb_flag.
11297
11298 2001-10-10  Herbert Voss  <voss@perce.de>
11299
11300         * lyx_main.C: delete global string help_lyxdir.
11301
11302 2001-10-09  Herbert Voss  <voss@perce.de>
11303
11304         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11305
11306         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11307
11308         * lyx_main.C: added global string help_lyxdir.
11309
11310         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11311
11312 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11313
11314         * lyxrc.C (set_font_norm_type): support iso8859-4
11315
11316 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11317
11318         * LaTeX.C (deplog): add another regex for MikTeX
11319
11320 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11321
11322         * lyxrc.C (set_font_norm_type): support iso8859-3
11323
11324 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11327
11328         * LaTeXFeatures.C: remove special case of french and index
11329
11330         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11331         before \begin{document}). This solves several incompatibilities.
11332
11333 2001-10-03  Garst Reese  <reese@isn.net>
11334
11335         * lyx_cb.C: change CheckTex error msg.
11336
11337 2001-10-03  José Matos  <jamatos@fep.up.pt>
11338
11339         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11340
11341 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11342
11343         * .cvsignore: update
11344
11345         * lyx_main.C (commandLineVersionInfo): use new style version info.
11346
11347         * buffer.C (writeFile):
11348         (makeLaTeXFile):
11349         (makeLinuxDocFile):
11350         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11351
11352         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11353
11354         * version.h: update to use stuff in version.C
11355
11356         * version.C.in: new file. Contains version information determined
11357         at compile time. This is a merging of version.h and
11358         version_info.h.in.
11359
11360 2001-10-03  Juergen Vigna  <jug@sad.it>
11361
11362         * BufferView_pimpl.C (update): don't change "dirty" status in
11363         updateInset call.
11364
11365 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11366
11367         * WorkArea.C (c-tor): re-position version string slightly.
11368
11369 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11370
11371         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11372         revert to previous code.
11373
11374         WorkArea.[Ch]: (show, destroySplash): methods removed.
11375
11376         WorkArea.C: rework code so that it's an amalgam of the codes before and
11377         after the splash screen was moved to WorkArea.
11378
11379 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11380
11381         * lyxrc.C (read):
11382         * vspace.C (inPixels):
11383         (lyx_advance):
11384         * kbmap.C (bind):
11385         * buffer.C (insertStringAsLines):
11386         (asciiParagraph): fix types to be large enough
11387
11388         * lyxlex_pimpl.h: change member status from short to int
11389
11390         * layout.h: fix type of endlabeltype
11391
11392         * kbmap.C (bind):
11393         * kbsequence.C (parse): change return type to string::size_type
11394
11395         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11396         variable
11397
11398         * Bullet.C (bulletSize):
11399         (bulletEntry): do not use short ints as parameters
11400
11401         * BufferView2.C (insertLyXFile): change a char to an int.
11402
11403         * WorkArea.C (WorkArea): remove unneeded floats in computation
11404
11405 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11406
11407         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11408
11409         * paragraph.C (asString): Do not ignore newline/hfill chars when
11410         copying to the clipboard.
11411
11412 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11413
11414         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11415         after a multi-line inset.
11416
11417 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * paragraph.C (validate): Set NeedLyXFootnoteCode
11420
11421 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11422
11423         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11424         and decrease-error to decrease.
11425
11426 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11429         it more readable (should be equivalent)
11430
11431 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11432
11433         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11434
11435 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11436
11437         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11438         of a cursor (row, etc.) after a character has been deleted
11439         (deleteEmptyParagraphMechanism): call the method above on _all_
11440         cursors held by the LyXText when a double space has been
11441         detected/deleted.
11442
11443 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11444
11445         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11446         pixmap.
11447         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11448
11449         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11450         background. Use greyOut() and the new show() methods to toggle between
11451         the foreground and background. Add code to remove the splash after
11452         its initial showing.
11453
11454         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11455         (create_forms): no longer call Dialogs::showSplash.
11456
11457 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11458
11459         * .cvsignore: add version_info.h
11460
11461 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * version_info.h.in: new file
11464
11465         * Makefile.am: add version_info.h.in
11466
11467         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11468         version_info.h instead of VERSION_INFO
11469
11470 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11473         The ERT inset now returns string().
11474
11475 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         * lyxtext.h, text.C (selectNextWord): renamed as
11478         selectNextWordToSpellcheck.
11479
11480         * text.C (selectNextWordToSpellcheck): Modified to not select
11481         words inside an ERT inset.
11482
11483 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11484
11485         * lyx_cb.C (MenuLayoutSave): change a bit the question
11486
11487         * sp_base.h: include <sys/types.h>
11488
11489 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11490
11491         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11492
11493 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11494
11495         * several files: fix typos in user-visible strings
11496
11497 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11498
11499         * text2.C (pasteSelection): do not set the selection, since it
11500         will be cleared later. Actually, the intent was to fix the way the
11501         selection was set, but I figured rmoving the code was just as good.
11502
11503 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11504
11505         * FontLoader.C (available): Check if font is available without
11506         loading the font.
11507
11508 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11509
11510         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11511
11512 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11513
11514         * lyxrc.[Ch]: added display_graphics variable and associated code.
11515
11516 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11517
11518         * bufferparams.C (hasClassDefaults): new method. Returns true if
11519         the buffer parameters correspond to known class defaults
11520
11521 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * XFormsView.C (show): set minimum size to the main window.
11524
11525 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11526
11527         * text2.C (copySelection):
11528         (cutSelection):
11529         * lyxfind.C (LyXReplace):
11530         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11531         LyXText::selectionAsString.
11532
11533         * paragraph.C (asString): add "label" argument to the second form
11534
11535         * text2.C (selectionAsString): add "label" argument and pass it to
11536         Paragraph::asString.
11537
11538 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11539
11540         * lyx_main.C (commandLineHelp): remove version information
11541
11542 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11543
11544         * lyx_main.C: add -version commandline option
11545
11546 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * paragraph.h: make the optional constructor arg required instead.
11549         some modifications to other files because of this.
11550
11551         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11552
11553         * lyxserver.C (C_LyXComm_callback): make it static
11554
11555         * lyx_main.C (error_handler): make it static
11556
11557         * lyx_gui.C (LyX_XErrHandler): make it static
11558
11559         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11560
11561         * WorkArea.C: make the extern "C" methods static.
11562
11563         * Makefile.am (lyx_LDADD): simplify
11564
11565 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11566
11567         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11568         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11569
11570         * LyXAction.C (init):
11571         * lyxfunc.C (dispatch): associated code removal.
11572
11573 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * lyxfont.h (isSymbolFont): shut off warning
11576
11577         * text.C (setHeightOfRow):
11578         (getVisibleRow): fix crash with empty paragraphs which have a
11579         bottom line
11580
11581 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11582
11583         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11584         code.
11585
11586 2001-09-04  José Matos  <jamatos@fep.up.pt>
11587         * buffer.C
11588         * buffer.h
11589         * tabular.C (docbook): rename docBook method to docbook.
11590
11591 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * Makefile.am: add dependencies to main.o.
11594
11595 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * FontLoader.C (available): Return false if !lyxrc.use_gui
11598
11599 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11600
11601         * FontInfo.C (query):
11602         * converter.C (view):
11603         * importer.C (Import):
11604         * exporter.C (Export): Can not -> cannot.
11605
11606 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * BufferView_pimpl.C: allow to create index inset even if
11609           string is empty
11610
11611 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         * buffer.C (getLists): replace boost::tie code with an explicit pair
11614         as boost::tie can break some compilers.
11615
11616         * iterators.h: Added a std:: declaration to the return type of
11617         ParIterator::size.
11618
11619 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11622           case.
11623
11624 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11625
11626         * iterators.[Ch]: New files. Provide paragraph iterators.
11627
11628         * buffer.C (changeLanguage): Use paragraph iterators.
11629         (isMultiLingual): ditto
11630
11631         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11632
11633 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11634
11635         * FontLoader.C: Support for cmr font.
11636
11637 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11638
11639         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11640         (available): New method.
11641
11642         * FontInfo.C (getFontname): Use scalable fonts even when
11643         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11644         found.
11645
11646 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11647
11648         * converter.C (Formats::view): reverted! Incorrect fix.
11649
11650 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11651
11652         * converter.C (Formats::view): only output the -paper option
11653         if the dvi viewer is xdvi, thereby fixing bug #233429.
11654
11655 2001-08-23  Herbert Voss  <voss@perce>
11656
11657         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11658
11659 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11660
11661         * Spacing.h (Spacing): Set space to Default on in the default
11662         constructor.
11663
11664 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * vc-backend.h (RCS::versionString): add RCS to version
11667         (CVS::versionString): add CVS to version
11668
11669         * vc-backend.C (scanMaster): do not add CVS to version.
11670         (scanMaster): do not add RCS to version
11671
11672         * lyxvc.C (versionString): new method
11673
11674         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11675
11676 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * Spacing.C (set): initialize fval
11679
11680 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11681
11682         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11683         " or \.
11684
11685 2001-08-16  Juergen Vigna  <jug@sad.it>
11686
11687         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11688
11689 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * BufferView_pimpl.C:
11692         * figureForm.C:
11693         * lyxtext.h:
11694         * text2.C: setParagraph takes linespacing now
11695
11696 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * LyxAction.C: add internal LFUN_CITATION_INSERT
11699
11700         * LyXView.C: actually apply fix
11701
11702         * bufferlist.C: fix open non-existent file
11703
11704         * lyxfind.C: fix indentation
11705
11706         * lyxfunc.C: remove unneeded assert, fix typo
11707
11708 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * MenuBackend.C: use "Floatname List"
11711
11712 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11713
11714         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11715         when converting LaTeX layout to insetERT.
11716         Generate a non-collapsed float when reading old float
11717
11718 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11719
11720         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11721         ERT insets.
11722
11723 2001-08-13  Juergen Vigna  <jug@sad.it>
11724
11725         * text.C (fill): return 0 instead of 20 as this seems to be the more
11726         correct value.
11727
11728 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11731         lyxrc.font_norm.
11732
11733 2001-08-13  Juergen Vigna  <jug@sad.it>
11734
11735         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11736         casesensitive off.
11737         (SearchBackward): comment out the unlocking of the inset_owner this
11738         should not be needed!
11739
11740 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11741
11742         * Many files: Remove inherit_language, and add latex_language
11743
11744         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11745         collapsible insets.
11746
11747 2001-08-10  Juergen Vigna  <jug@sad.it>
11748
11749         * text.C (prepareToPrint): fixed hfill-width in draw!
11750
11751         * BufferView2.C (selectLastWord): save the selection cursor as this
11752         now is cleared in the function LyXText::clearSelection!
11753
11754 2001-08-08  Juergen Vigna  <jug@sad.it>
11755
11756         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11757         BACKSPACE type functions.
11758
11759         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11760         is only cutted from the document but not put in the cut-buffer, where
11761         still the old stuff should be.
11762
11763         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11764
11765         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11766
11767         * tabular.C (SetWidthOfCell): fixed special case where the width
11768         was not updated!
11769         (LeftLine): handle '|' in align_special.
11770         (RightLine): ditto
11771         (LeftAlreadyDrawed): ditto
11772         (SetWidthOfCell): ditto
11773
11774 2001-08-07  Juergen Vigna  <jug@sad.it>
11775
11776         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11777
11778 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11781         * lyxlex.[hC]: ditto
11782
11783 2001-08-06  Juergen Vigna  <jug@sad.it>
11784
11785         * text.C (getVisibleRow): fix up row clearing a bit.
11786
11787 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * minibuffer.C: make sure the X server sees the changes in the input.
11790
11791 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * paragraph.C (getFont): split into...
11794         (getLabelFont): this
11795         (getLayoutFont): and this
11796         * paragraph_pimpl.C (realizeFont): calling this
11797
11798         * text2.C (getFont): split into...
11799         (getLayoutFont): this
11800         (getLabelFont): and this
11801         (realizeFont): all three calling this
11802
11803         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11804         files where used.
11805
11806 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11807
11808         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11809
11810 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11811
11812         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11813         layouts from the Quote inset insertion.
11814
11815 2001-08-03  Juergen Vigna  <jug@sad.it>
11816
11817         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11818
11819         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11820         only if status not is already CHANGED_IN_DRAW (second level).
11821
11822         * text.C (draw): don't set the need_break_row when inside an
11823         InsetText LyXText.
11824
11825 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * buffer.C (parseSingleLyXformat2Token): handle more latex
11828         conversion cases.
11829
11830         * bufferview_funcs.[hC]: change function names to
11831         begin with small char, adjust other files.
11832
11833 2001-08-02  André Pönitz <poenitz@gmx.net>
11834
11835         * lyxfunc.C:
11836         BufferView_pimpl.C: remove broken special code for math-greek
11837
11838 2001-08-02  Juergen Vigna  <jug@sad.it>
11839
11840         * BufferView_pimpl.C (update): redone this function so that we
11841         update the text again if there was a CHANGE_IN_DRAW.
11842
11843         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11844         (drawFromTo): added a new internal bool which is used by draw() and
11845         redraw() function.
11846         (general): some cursor drawing problems fixed.
11847
11848 2001-08-01  Juergen Vigna  <jug@sad.it>
11849
11850         * lyxfind.C (LyXFind): fixed
11851         (SearchForward): ditto
11852         (SearchBackward): ditto
11853
11854         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11855         spurius drawing of the cursor in the main area.
11856
11857         * text2.C (status): small fix which could lead to a segfault!
11858         (clearSelection): remove unneeded BufferView param.
11859
11860 2001-08-01  André Pönitz <poenitz@gmx.net>
11861
11862         * lyxfunc.C: small change due to changed mathed interface
11863
11864 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11867
11868 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * lyxfunc.c: fail gracefully if file doesn't exist
11871
11872         * LyXSendto.C:
11873         * buffer.C:
11874         * lyxfunc.C:
11875         * BufferView_pimpl.C: IsDirWriteable() proto changed
11876
11877         * LyXView.C: fix updateWindowTitle() to store the last title
11878
11879 2001-07-31  Juergen Vigna  <jug@sad.it>
11880
11881         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11882         the font (wrong since using of Paragraph::highestFontInRange).
11883
11884         * paragraph.C (highestFontInRange): added a default_size parameter.
11885
11886         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11887         (setHeightOfRow): reformat
11888
11889 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * converter.[hC] + affected files: move to (inital-char)lowercase
11892         function names.
11893
11894         * ParagraphParameters.C (ParagraphParameters): remove commented code
11895
11896         * PainterBase.[Ch]: remove commented code
11897
11898         * LaTeXFeatures.h: add "bool floats" for float.sty
11899
11900         * LaTeXFeatures.C (LaTeXFeatures): init floats
11901         (require): handle float
11902         (getPackages): do it with floats
11903
11904 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * BufferView_pimpl.C (Dispatch): improve handling of
11907         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11908
11909         * commandtags.h: #include lyxfont.h here temporarily to avoid
11910         keybinding bug.
11911
11912         * bufferlist.h: include LString.h here.
11913
11914 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * text2.C (getStringToIndex): new method.
11917
11918 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11919
11920         * *: Reduced header file dependencies all over.
11921
11922 2001-07-30  Baruch Even  <baruch@lyx.org>
11923
11924         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11925
11926 2001-07-29  Baruch Even  <baruch@lyx.org>
11927
11928         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11929
11930 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * ParameterStruct.h (endif): add a default constructor to make
11933         sure that all variables is initialized.
11934
11935         * ParagraphParameters.C (ParagraphParameters): adjust
11936
11937 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11940         index; also, check that there is something to index, and that it
11941         does not span over several paragraphs.
11942         (doubleClick): use WHOLE_WORD_STRICT for double click.
11943
11944         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11945
11946         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11947         scheme.
11948
11949 2001-07-26  Baruch Even  <baruch@lyx.org>
11950
11951         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11952         an InsetFig figure, backwards compatible reading of old figure code.
11953
11954 2001-07-27  Juergen Vigna  <jug@sad.it>
11955
11956         * text2.C: font.realize function adaption.
11957
11958         * text.C (draw): add a warnings lyxerr text if needed.
11959
11960         * layout.C: font.realize function adaption.
11961
11962         * language.C: add inherit_language and implement it's handlings
11963
11964         * bufferview_funcs.C (StyleReset): remove language parameter from
11965         font creation (should be language_inherit now).
11966
11967         * bufferparams.C (writeFile): handle ignore_language.
11968
11969         * paragraph.C (getFontSettings): the language has to be resolved
11970         otherwise we have problems in LyXFont!
11971
11972         * lyxfont.C (lyxWriteChanges): added document_language parameter
11973         (update): removed unneeded language parameter
11974
11975         * paragraph.C (validate): fixed wrong output of color-package when
11976         using interface colors for certain fonts in certain environments,
11977         which should not seen as that on the final output.
11978
11979 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView_pimpl.C:
11982         * Thesaurus.h:
11983         * Thesaurus.C:
11984         * Makefile.am:
11985         * commandtags.h:
11986         * LyXAction.C: add thesaurus support
11987
11988         * lyxfind.h:
11989         * lyxfind.C: add "once" parameter, for thesaurus, to not
11990           move to the next match
11991
11992 2001-07-26  Juergen Vigna  <jug@sad.it>
11993
11994         * lyxfont.C (realize): honor ignore_language too!
11995         (resolved): ditto.
11996
11997         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11998
11999         * text.C (draw): one place more for ignore_language to not draw
12000         itself!
12001
12002 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12005
12006 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12009         the minipage conversion problem.
12010
12011 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12014         insert an inset.
12015
12016 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * BufferView.h: don't forward declare WorkArea
12019
12020         * BufferView.C: don't include WorkArea.h
12021
12022 2001-07-25  André Pönitz <poenitz@gmx.net>
12023
12024         * commandtags.h:
12025         * LyXAction.C:
12026         * lyxfunc.C:  new LFUN 'math-space'
12027
12028         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12029
12030 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * text2.C (toggleInset): call open/close
12033
12034 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * lyxfunc.C (dispatch): add debug for the disabled case
12037
12038         * font.C (buttonText): make similar to rectText
12039
12040         * buffer.C (readInset): comment out parsing of insetlist and
12041         insttheorem
12042
12043         * PainterBase.C (rectText): small correction
12044
12045         * BufferView_pimpl.C: comment out insettheorem and insetlist
12046         * LyXAction.C: ditto
12047         * commandtags.h: ditto
12048
12049 2001-07-24  Juergen Vigna  <jug@sad.it>
12050
12051         * text.C (draw): honor the ignore_language.
12052
12053         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12054
12055 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12058         char inset.
12059
12060 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12061
12062         * lyxtext.h: remove unused (and unimplemented) methods
12063
12064 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12065
12066         * text.C (getVisibleRow): honor background color
12067
12068         * PainterBase.h:
12069         * Painter.h: remove default color argument for fillRectangle
12070
12071         * text.C (backgroundColor): new method
12072
12073 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12074
12075         * text.C (getVisibleRow): adjust
12076
12077         * font.[Ch] (rectText): new method, metrics
12078         (buttonText): new method, metrics
12079
12080         * PainterBase.[hC]: make rectText and buttonText always draw and take
12081         fewer paramteres.
12082
12083 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12084
12085         * ToolbarDefaults.C (read):
12086         * MenuBackend.C (read): allow escaping in all strings
12087
12088         * BufferView_pimpl.C (insertAndEditInset): new method.
12089         (Dispatch): use insertAndEditInset whenever appropriate.
12090
12091         * BufferView_pimpl.C (insertNote): removed
12092
12093         * BufferView_pimpl.C (smartQuote): new method, moved from
12094         BufferView; if an insetquote cannot be inserted, insert a '"'
12095         character instead.
12096
12097         * BufferView2.C: remove insertCorrectQuote();
12098
12099         * lyxfunc.C (getStatus): Add support for all remaingin
12100         inset-insert lfuns.
12101
12102         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12103
12104         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12105         command (necessary to pass " as parameter of self-insert.
12106
12107         * text.C (selectWordWhenUnderCursor):
12108         (selectWord): add word_location parameter
12109         (selectWordWhenUnderCursor): same + remove special code for word
12110         boundary.
12111         (selectNextWord): use kind() to guess type of insetspecialchar,
12112         not latex().
12113
12114         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12115         (insertErtContents): create ert insets as collapsed.
12116         (readInset): better compatibility code for Info inset.
12117
12118 2001-07-20  Juergen Vigna  <jug@sad.it>
12119
12120         * lyxfunc.C (dispatch): use always LyXFind now!
12121
12122         * text2.C (init): add a reinit flag so that the LyXText can be
12123         reinited instead of deleted and reallocated (used in InsetText).
12124
12125         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12126
12127         * text.C: ditto
12128
12129         * text2.C: ditto
12130
12131 2001-07-18  Juergen Vigna  <jug@sad.it>
12132
12133         * text.C (selectNextWord): handle insets inside inset by calling
12134         always the bv->text functions so that we can go up the_locking_inset!
12135
12136         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12137         in strange locations when inside an inset!
12138
12139         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12140         handling to include insets.
12141
12142         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12143
12144 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * LyXAction.C (init):
12147         * commandtags.h:
12148         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12149         LIGATURE_BREAK, since the name is so stupid.
12150
12151 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12152
12153         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12154         InsetInfos.
12155
12156         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12157
12158         * sp_form.[Ch]: remove.
12159
12160         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12161
12162         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12163         InsetInfo.
12164
12165         * src/buffer.C (readInset): ditto.
12166
12167 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12168
12169         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12170         menuSeparator(), endOfSentenceDot(), ldots() and
12171         hyphenationPoint(), which are therefore removed.
12172         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12173
12174         * LyXAction.C (init):
12175         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12176
12177         * paragraph.C (getWord): removed.
12178
12179         * BufferView_pimpl.C (Dispatch): use last word or selection for
12180         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12181
12182         * lyx_main.C (queryUserLyXDir): do not ask before creating
12183         user_dir, except if it has been named explicitely.
12184
12185 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12188         a document of zero size.
12189
12190 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12191
12192         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12193         approriately in the c-tor and in require().
12194         (getPackages): output the appropriate LaTeX for natbib support.
12195
12196         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12197         variables "use_natbib" and "use_numerical_citations" when reading the
12198         LyX file.
12199         (readInset): read the various natbib cite commands.
12200         (validate): white-space change.
12201
12202         * bufferparams.[Ch]: new variables "bool use_natbib" and
12203         "bool use_numerical_citations".
12204         (writeFile): output them in the LyX file.
12205
12206 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12207
12208         * lyxfunc.C (getStatus): add support for all the inset insertion
12209         commands.
12210
12211         * text2.C (insertInset):
12212         * paragraph.C (insetAllowed):
12213         * BufferView_pimpl.C (insertInset): update to take in account the
12214         renaming of insertInsetAllowed
12215
12216         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12217
12218         * text2.C (getInset): new method. returns inset at cursor position.
12219
12220         * BufferView_pimpl.C (Dispatch): changes because of this.
12221
12222         * LyXAction.C (init): rename open-stuff to inset-toggle.
12223
12224         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12225
12226         * text2.C (toggleInset): renamed from openStuff; use
12227         Inset::open().
12228
12229 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12230
12231         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12232
12233         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12234
12235 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * buffer.C (readLyXformat2): Add filename to the error dialog
12238
12239 2001-07-18  Juergen Vigna  <jug@sad.it>
12240
12241         * tabular.C (GetCellNumber): put an assert here instead of the check!
12242
12243 2001-07-17  Juergen Vigna  <jug@sad.it>
12244
12245         * BufferView_pimpl.C (toggleSelection): adapted too.
12246
12247         * text.C (selectNextWord): adapted for use with insets.
12248         (selectSelectedWord): ditto
12249
12250 2001-07-17  Juergen Vigna  <jug@sad.it>
12251
12252         * sp_spell.C (PSpell): fix initialitation order.
12253
12254 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * paragraph.C: spacing
12257
12258 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12259
12260         * sp_spell.C: repair language selection for pspell
12261
12262 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * lyxfunc.h: change more methods to begin with lower char.
12265
12266 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12269         for unknown layouts.
12270
12271 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12272
12273         * buffer.C (readLyXformat2): Generate an error dialog if there are
12274         unknown layouts.
12275
12276 2001-07-16  Juergen Vigna  <jug@sad.it>
12277
12278         * sp_spell.C: always compile ISpell part.
12279
12280         * lyxrc.C: added use_pspell entry and it's handling.
12281
12282 2001-07-13  Juergen Vigna  <jug@sad.it>
12283
12284         * sp_spell.C: removed double includes.
12285
12286 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         Consistent use of Lsstream.h:
12289         * Lsstream.h: added using std::stringstream for consistencies sake.
12290
12291         * buffer.C: removed using std::stringstream
12292
12293         * lyxfont.C (stateText):
12294         * paragraph.C (asString):
12295         * text.C (selectNextWord, selectSelectedWord):
12296         * text2.C (setCounter):
12297         * vspace.C (asString, asLatexString):
12298         std::ostringstream -> ostringstream.
12299
12300 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12301
12302         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12303         * commandtags.h: add LFUN_HELP_ABOUTLYX
12304         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12305
12306 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12307
12308         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12309         cursorToggle()
12310         * lyx_gui_misc.C: remove spellchecker
12311         * lyxfunc.C: showSpellchecker
12312         * sp_base.h: added
12313         * sp_ispell.h: added
12314         * sp_pspell.h: added
12315         * sp_spell.C: added
12316         * sp_form.[Ch]: removed
12317         * spellchecker.[Ch]: removed
12318
12319 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12320
12321         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12322         is set.
12323         (simpleTeXSpecialChars): Simply print the input character without
12324         any special translation if pass_thru is set.
12325
12326         * layout.h: Added bool pass_thru to layout class for being able to
12327         implement pass through of a paragraph for Literate Programming.
12328
12329         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12330         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12331         * layout.C (Read): add "passthru" to list of layout tags and add
12332         code to set the pass_thru boolean when it is read.
12333
12334 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * trans_decl.h: remove allowed from KmodInfo
12337
12338         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12339         remove allowed code
12340         (Load): adjust
12341
12342         * paragraph_pimpl.C (erase): use boost::prior
12343
12344         * Painter.C (text): use data() instead of c_str() when length is
12345         also provided.
12346         * WorkArea.C (putClipboard): ditto
12347         * font.h (width): ditto
12348
12349         * BufferView2.C: use it-> instead of (*it). for iterators
12350         * texrow.C: ditto
12351         * paragraph_pimpl.C: ditto
12352         * paragraph.C: ditto
12353         * minibuffer.C: ditto
12354         * language.C: ditto
12355         * kbmap.C: ditto
12356         * encoding.C: ditto
12357         * counters.C: ditto
12358         * converter.C: ditto
12359         * chset.C: ditto
12360         * Variables.C: ditto
12361         * TextCache.C: ditto
12362         * MenuBackend.C: ditto
12363         * LyXAction.C: ditto
12364         * LColor.C: ditto
12365         * FloatList.C: ditto
12366         * DepTable.C: ditto
12367         * ColorHandler.C (LyXColorHandler): ditto
12368
12369 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12372
12373         * text2.C (openStuff): reintroduce this method (which had been
12374         nuked in NEW_INSETS frenzy).
12375
12376         * lyxfunc.C (Dispatch): when an action has not been handled, use
12377         its name in the error message, not its number.
12378
12379         * paragraph.C (inInset): change method name to begin with lowercase.
12380
12381         * undo_funcs.C:
12382         * text2.C: updates because of this.
12383
12384 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * ToolbarDefaults.C (add): add spaces in error message
12387
12388 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12391         (readLyXformat2): rename return_par to first_par, use lyxlex's
12392         pushToken and remove the manual push handling.
12393         (parseSingleLyXformat2Token): add another ert comp. variable:
12394         in_tabular, rename return_par to first_par. handle newlines better
12395
12396 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12399
12400 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * text2.C (getParFromID): removed
12403
12404         * buffer.C (getParFromID): new method moved form lyxtext.
12405         * BufferView2.C (insertErrors): adjust
12406         (setCursorFromRow): adjust
12407         * BufferView_pimpl.C (restorePosition): adjust
12408         * lyxfunc.C (Dispatch): adjust
12409         * undo_funcs.C (textUndo): adjust
12410         (textRedo): adjust
12411         (textHandleUndo): adjust
12412         (textHandleUndo): adjust
12413
12414 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * buffer.C: up' the LYX_FORMAT
12417
12418         * lyxfont.h: turn NO_LATEX on as default
12419
12420         * buffer.C (insertErtContents): new methods of tex style compability.
12421         (parseSingleLyXformat2Token): use it several places.
12422         * tabular.C (OldFormatRead): and here
12423
12424 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * text2.C: remove some commented code.
12427         reindent file.
12428
12429         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12430         * trans.C: changes because of the above.
12431
12432 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12433
12434         * text2.C (setCounter): Fix counters bug with bibliography layout.
12435
12436 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12439         own member functions
12440         (simpleTeXSpecialChars): ditto
12441
12442 2001-07-06  Juergen Vigna  <jug@sad.it>
12443
12444         * a lot of files: changed the access to LyXText::status and the
12445         call of undo-functions.
12446
12447         * undo.[Ch]: added a inset_id to the undo informations.
12448
12449         * undo_funcs.[Ch]: added and moved here all undo functions.
12450
12451         * lyxtext.h: give the status enum a weight, made status_ a private
12452         variable and made accessor functions for it, removed the whole bunch
12453         of undo-functions as they are now in their own file, make some
12454         functions publically available. Added function ownerParagraph with
12455         int parameter.
12456
12457         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12458         made InInset() a const function, added getParFromID() function.
12459
12460         * buffer.[Ch]: added const version for inset_iterator functions,
12461         added getInsetFromID() function.
12462
12463         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12464         changed undo functions for new version.
12465
12466 2001-07-05  Juergen Vigna  <jug@sad.it>
12467
12468         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12469         unknow mechanism does not call the proper constructor but only this
12470         one also if I request the other!?
12471
12472 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12475
12476         * text2.C (LyXText): use initialization lists.
12477
12478         * lyxtext.h (Selection): initialize set_ and mark_
12479         (init): remove method
12480
12481 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12482
12483         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12484
12485 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * screen.[Ch]: change method names to begin with lowercase
12488
12489         * BufferView_pimpl.C (updateScrollbar): simplify further and
12490         hopefully make it a bit faster.
12491
12492 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12495         calling directly xforms functions.
12496
12497         * Painter.C (Painter):
12498         * lyx_cb.C (MenuWrite):
12499         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12500         fl_display.
12501
12502         * lyx_gui.C: remove bogus guiruntime extern declaration.
12503
12504 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12507         in NEW_INSETS
12508         (redoDrawingOfParagraph): ditto
12509         (redoParagraphs): ditto
12510         (cutSelection): don't create a object for CutAndPaste use the
12511         static method directly
12512         (pasteSelection): ditto
12513
12514         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12515         LyXview (+ rename)
12516
12517 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * modifications to some other files because of this.
12520
12521         * Makefile.am (lyx_SOURCES): add XFormsView
12522
12523         * XFormsView.[Ch]: new files
12524
12525         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12526         the main window. Move the gui dependent stuff to XFormsView
12527
12528 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12529
12530         * tabular.C (GetCellInset): update cur_cell also in the row/col
12531         version of this function.
12532
12533         * lyxfunc.C: no need to include figure_form.h here.
12534
12535         * FontLoader.h:
12536         * lyxfunc.h:
12537         * lyxscreen.h:
12538         * text2.C:
12539         * lyxvc.C: no need to include forms.h here.
12540
12541 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12544
12545         * lyxfunc.C (Dispatch):
12546         * Spacing.C (set):
12547         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12548         constructor argument.
12549
12550 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * paragraph.C (Paragraph): dont't clear, and just set layout.
12553         (makeSameLayout): use params's copy contructor.
12554
12555         * ParagraphParameters.[Ch] (makeSame): delete method
12556
12557 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * Variables.[Ch]: fix indentation, rename set to isSet
12560
12561 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxfunc.C (Dispatch): fix typo
12564
12565 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12568         upper_bound.
12569
12570         * bufferlist.C: include assert.h for emergencyWrite().
12571
12572 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12575           give up at last (bug #425202) !
12576
12577 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * lyx_gui_misc.C:
12580         * sp_form.h:
12581         * sp_form.C:
12582         * spellchecker.h:
12583         * spellchecker.C: strip spellchecker options and bring up
12584           preferences tab instead
12585
12586 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12587
12588         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12589         the istringstream constructor
12590
12591 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * paragraph.C (getLayout): fix return value
12594
12595         * paragraph.h: do not declare getLayout as inline.
12596
12597         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12598
12599 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * lyxcursor.h (operator<): new func
12602         (operator>): new func
12603         (operator>=): new func
12604         (operator<=): new func
12605
12606         * text.C (changeCase): use selection.start and selection.end
12607         (changeRegionCase): require from to be <= to. Require par to be a
12608         valid paragraph.
12609
12610         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12611
12612 2001-06-27  Juergen Vigna  <jug@sad.it>
12613
12614         * text.C (cursorLeftOneWord): changed to return the cursor and added
12615         overlay with BufferView * parameter which calls this one.
12616         (getWord): added
12617         (selectWord): use new getWord function.
12618         (changeCase): renamed from changeWordCase as and extended to work
12619         also on selections.
12620
12621         * lyxtext.h: added enum word_location
12622
12623         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12624         changeCase as this operates now also on selections.
12625
12626 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12627
12628         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12629
12630         * many files: send debug output to Debug::INFO instead of
12631         Debug::ANY.
12632
12633         * converter.C (View):
12634         (Convert):
12635         (Move): send debug output to Debug::FILES instead of console.
12636
12637 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12638
12639         * lyxfunc.C (getStatus): use func_status
12640
12641         * func_status.h: new header, describing the results of
12642         LyXFunc::getStatus;
12643
12644         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12645         LFUN_MATH_HALIGN.
12646
12647 2001-06-25  The LyX Project  <jug@sad.it>
12648
12649         * buffer.C (sgmlOpenTag):
12650         (sgmlCloseTag):
12651         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12652
12653 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * text2.C: remove some dead code
12656
12657         * tabular.C (GetCellInset): store the last cell checked (gotten)
12658
12659         * tabular.h: add the helper for the speedup
12660
12661         * lyxtext.h: remove some dead code
12662
12663 2001-06-26  The LyX Project  <Asger>
12664
12665         * paragraph.C: Change export to LaTeX of alignment to
12666         \begin{center} and family for better roundtrip work with reLyX.
12667
12668         * Tune the math drawing a bit.
12669
12670 2001-06-25  The LyX Project  <Asger>
12671
12672         * LColor.C (LColor): New color for math background. New color
12673         for buttons.
12674
12675 2001-06-25  The LyX Project  <jug@sad.it>
12676
12677         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12678
12679         * lyxfunc.C (Open):
12680         * bufferlist.C (newFile): do not restrict to files ending with
12681         .lyx
12682
12683         * BufferView_pimpl.C (MenuInsertLyXFile):
12684
12685 2001-06-24  The LyX Project  <jug@sad.it>
12686
12687         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12688         of compare_no_case
12689
12690 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12691
12692         * lyxtext.h: rename most methods to begin with a small char.
12693         Lots of changes because of this.
12694
12695         * paragraph.C (Paragraph): do not call fitToSize
12696         (erase): call Pimpl::erase
12697         (insertChar): call Pimpl::insertChar
12698         (insertInset): call Pipl::insertInset
12699         (breakParagraph): do not call fitToSize
12700         (breakParagraphConservative): do not call fitToSize
12701         (fitToSize): remove method
12702
12703         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12704
12705 2001-06-24  The LyX Project  <Asger>
12706
12707         * Fix Qt compilation^2
12708
12709 2001-06-24  The LyX Project  <jug@sad.it>
12710
12711         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12712         depthHook(getDepth()-1).
12713
12714         * paragraph.h:
12715         * ParagraphParameters.h:
12716         * ParameterStruct.h: change type of depth to unsigned int ==
12717         depth_type. Many adaptations to other files before of that.
12718
12719 2001-06-24  The LyX Project  <Asger>
12720
12721         * Fix Qt compilation.
12722
12723 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * paragraph.h: renamed several methods to begin with small letter.
12726         several changes to many parts of the code because of this.
12727
12728 2001-06-23  The LyX Project  <jug@sad.it>
12729
12730         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12731         rewritten to discard all double spaces when KeepEmpty is off
12732         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12733         to only handle newlines but not fiddle with spaces and friends.
12734
12735         * lyxfunc.C (MenuNew): when doing 'new from template', use
12736         template_path as default directory
12737
12738 2001-06-23  The LyX Project  <Asger>
12739
12740         * Clean-up of header file includes all over
12741         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12742
12743 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * paragraph.h: renamed from lyxparagraph.h
12746
12747 2001-06-23  Asger  <lyx@violet.home.sad.it>
12748
12749         * Buffer.h: Removed Buffer::resize
12750         * BufferList.h: Removed BufferList::resize
12751         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12752         the document lazily when we change the width, or the font settings.
12753
12754 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12757
12758 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * buffer.h: remove out of date comment
12761
12762 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12763
12764         * lyxscreen.h:
12765         * screen.C: fix "theoretical" GC leak
12766
12767 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12768
12769         * LaTeX.C (scanAuxFile):
12770         (deplog): remove trailing \r when reading stream (useful under
12771         win32)
12772
12773 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12774
12775         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12776         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12777         and BufferView::theLockingInset(Inset*), so should use them and not
12778         access bv_->text->the_locking_inset directly.
12779
12780         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12781
12782 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * Makefile.am:
12785         * tex-defs.h: remove old unused file
12786
12787 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * BufferView_pimpl.C: fix typo, remove minibuffer message
12790           when buffer has loaded
12791
12792 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * lyxfunc.C (Dispatch): use stringstream
12795         (MenuNew): use stringstream
12796         (Open): use stringstream
12797
12798         * importer.C (Import): use stringstream
12799
12800         * bufferview_funcs.C (CurrentState): use stringstream
12801
12802         * LaTeX.C (run): use stringstream
12803
12804         * BufferView_pimpl.C (savePosition): use stringstream
12805         (restorePosition): use stringstream
12806         (MenuInsertLyXFile): use stringstream
12807
12808 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12809
12810         * BufferView.C:
12811         * Bullet.C:
12812         * ColorHandler.C:
12813         * FontInfo.C:
12814         * FontLoader.C:
12815         * LColor.C:
12816         * LaTeXFeatures.C:
12817         * Painter.C:
12818         * gettext.C:
12819         * lyx_gui_misc.C:
12820         * lyxserver.C:
12821         * vspace.C: removed // -*- C++ -*- as first line.
12822
12823         * lyxfind.h:
12824         * version.h: added // -*- C++ -*- as first line.
12825
12826 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12829
12830         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12831         of string
12832
12833 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12836         of floats.
12837
12838 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12839
12840         * gettext.C: include LString.h even when --disable-nls is on.
12841
12842 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12843
12844         * converter.h (Get): changed argument type from int to
12845         FormatList::size_type to avoid unnecessary conversion.
12846
12847         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12848         before using it.
12849
12850 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * gettext.h: include LString.h even when --disable-nls is on.
12853
12854 2001-06-07  Juergen Vigna  <jug@sad.it>
12855
12856         * text.C (BreakAgain): subst spaces with tabs.
12857
12858         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12859         (resizeInsetsLyXText): set force on resizeLyXText.
12860
12861 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * gettext.h (gettext_init):
12864         (locale_init): use a real definition instead of a macro
12865
12866 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * Bufferview_pimpl.C:
12869         * LColor.h:
12870         * LColor.C: further lcolor tidies
12871
12872 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * BufferView_pimpl.C (updateScrollbar): simplify.
12875
12876         * BufferView2.C: don't include insets/insetinfo.h, change
12877         prototype for insertInset and call the Pimpl version. let
12878         updateInset call Pimpl version.
12879
12880         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12881         gotoInset to BufferView::Pimpl
12882
12883 2001-06-01  Juergen Vigna  <jug@sad.it>
12884
12885         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12886         inside a LockingInset (is the update needed at all?).
12887
12888 2001-05-31  Juergen Vigna  <jug@sad.it>
12889
12890         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12891         here not the old one otherwise how should we compare it afterwards
12892         if it's the same!
12893
12894 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * lyxfont.C:
12897         * tabular.C:
12898         * tabular-old.C:
12899         * FontInfo.C: bring C functions into global namespace when
12900         necessary
12901
12902 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * LString.h: make sure config.h has been loaded before LString.h.
12905
12906         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12907         (one for each char read by EatLine!).
12908
12909         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12910         variables.
12911
12912 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12915         to the same as the par we break from
12916
12917 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12920
12921         * MenuBackend.C (expand): also create menu entries for wide
12922         versions of the floats.
12923
12924         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12925
12926         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12927
12928         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12929         frontends/Makefile.am
12930
12931         * text2.C: adjust
12932         * text.C: adjust
12933
12934
12935         * tabular.C (getTokenValue): add std::
12936
12937         * tabular-old.C (getTokenValue): add std::
12938         (getTokenValue): ditto
12939         (getTokenValue): ditto
12940
12941         * screen.C (ToggleSelection): adjust
12942
12943         * lyxtext.h: put selection cursors inside a Selection struct.
12944
12945         * lyxfunc.C (moveCursorUpdate): adjust
12946
12947         * lyxfont.C (latexWriteStartChanges): add std::
12948
12949         * lyxfind.C: adjust
12950
12951         * font.h: delete with(char const *, LyXFont const &)
12952
12953         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12954
12955         * FontInfo.C (getFontname): add std::
12956
12957         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12958         (workAreaButtonPress): adjust
12959         (tripleClick): adjust
12960         (update): adjust
12961         (moveCursorUpdate): adjust
12962         (Dispatch): adjust
12963
12964         * BufferView2.C (gotoInset): adjust
12965
12966 2001-05-30  Juergen Vigna  <jug@sad.it>
12967
12968         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12969         to check pspell I add this as default as I now have new pspell
12970         libraries and they seem to use this.
12971
12972 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12973
12974         * text2.C (CutSelection): make the cursor valid before the call to
12975         ClearSelection.
12976
12977 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12978
12979         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12980         relied on 0 terminated strings and other horrors. Bug found due to
12981         the new assert in lyxstring!
12982
12983         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12984         KP_ keys.
12985
12986 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12989         to latinkeys.bind.
12990
12991         * lyxfunc.C (processKeySym): change method of getting to the
12992         self-insert char.
12993
12994         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12995         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12996         * BufferView_pimpl.[Ch]: here as private methods.
12997
12998 2001-05-28  Juergen Vigna  <jug@sad.it>
12999
13000         * text.C (SetHeightOfRow): added the update() call again as it is
13001         needed to initialize inset dimensions!
13002
13003 2001-05-16  Juergen Vigna  <jug@sad.it>
13004
13005         * text2.C (SetCharFont): Add new function with BufferView * and
13006         bool toggleall parameters for setting insets internal fonts.
13007         (SetFont): Freeze the undo as we may change fonts in Insets and
13008         all this change should be inside only one Undo!
13009
13010         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13011         setting font's in insets as for them we have the SetFont function!
13012
13013 2001-05-15  Juergen Vigna  <jug@sad.it>
13014
13015         * text2.C (ClearSelection): to be sure we REALLY don't have any
13016         selection anymore!
13017
13018         * tabular.C (TeXCellPreamble): fixed the left border problem for
13019         multicolumn cells.
13020
13021 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13022
13023         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13024         dependancy file
13025
13026 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13027
13028         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13029         LFUN_BREAKPARAGRAPH.
13030
13031         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13032         help test to "internal only", similar for LFUN_INSERT_URL
13033
13034         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13035         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13036         auto_region_delete and deadkeys.
13037
13038 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * LColor.h:
13041         * LColor.C: remove some dead entries, tidy a little
13042
13043 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13046         commented code.
13047         (Dispatch): implement LFUN_ESCAPE
13048
13049         * commandtags.h: add LFUN_ESCAPE
13050
13051         * LyXAction.C (init): add entry for LFUN_ESCAPE
13052
13053         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13054         Remove commented code.
13055         (insertNote): moved here
13056         (open_new_inset): moved here
13057
13058         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13059         BufferView_pimpl
13060
13061 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13062
13063         * kbmap.C (findbinding): clean it up and make it work correctly.
13064
13065         * lyx_main.C (init): do not pass argc and argv as parameters
13066
13067 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13068
13069         * buffer.C: fix path for OS/2 & Win32
13070
13071         * lyx_gui.C:
13072         * lyx_main:
13073         * lyx_main.C: Added os:: class.
13074
13075         * os2_defines.h: update
13076
13077 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13080         better by trying again with reduced state.
13081
13082 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * lyxrc.C (read): print error about invalid key sequence only when
13085         debugging (because not all latinX keysyms are known to some X
13086         servers)
13087
13088         * kbsequence.C (getiso): add a few std:: qualifiers
13089         (getiso): comment out extra return statement.
13090
13091 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13094         handling.
13095         (Dispatch): enhance the accent inset a bit. (not perfect)
13096
13097 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13100
13101 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * bufferlist.C (emergencyWrite): fix assert() call
13104
13105 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13106
13107         * text.C (InsertChar): Added trivial patch to only send the "you
13108         can not do multiple spaces this way" message once during a
13109         session.
13110
13111 2001-05-08  Baruch Even  <baruch@lyx.org>
13112
13113         * Makefile.am: Changed order of libraries to get LyX to link properly
13114         with the gnome frontend.
13115
13116 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13117
13118         * LaTeXFeatures.h: add a std:: qualifier
13119
13120 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * paragraph.C (String): use stringstream
13123
13124 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13125
13126         * paragraph.C (writeFile): remove footflag arg
13127
13128         * buffer.C (makeLaTeXFile): use stringstream
13129         (latexParagraphs): remove footnot gurba
13130
13131         * LaTeXFeatures.C (getPackages): use stringstream
13132         (getMacros): likewise
13133         (getTClassPreamble): likewise
13134         (getFloatDefinitions): new method
13135
13136         * paragraph.C (writeFile): reindent
13137         (Erase): reindent
13138
13139         * WorkArea.h: revert the xpos + etc changes.
13140
13141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13142
13143         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13144
13145         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13146         (pasteSelection): likewise
13147         * text2.C (CreateUndo): likewise
13148
13149 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * minibuffer.C (peek_event): temporarily reduce the functionality
13152         of the minibuffer (to allow args on lfuns)
13153
13154         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13155         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13156
13157         * buffer.C (readInset): add compability reading of old float
13158         lists, add reading of new style float list.
13159         (readInset): avoid reevaluation of inscmd.getCmdName()
13160         (getLists): reindent
13161
13162         * MenuBackend.C (MenuItem): implement parsing of
13163         md_floatlistinsert and md_floatinsert.
13164         (expand::LastFiles): move initalizaton of iterators out of loop,
13165         avoid reevaluation.
13166         (expand::Documents): introduce typdedef vector<string> Strings,
13167         and use it.
13168         (expand::ExportFormats): introduce typedef vector<Format const *>
13169         Formats, and use it.
13170         (expand): implement FloatListInsert and FloatInsert.
13171
13172         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13173         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13174         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13175
13176         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13177         handling.
13178         (Dispatch::LFUN_FLOAT_LIST): implement
13179
13180 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13181
13182         * LaTeX.C (run): Fix problem with --export code.
13183
13184 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * BufferView.[Ch] (workarea): removed.
13187         (getClipboard) new method; wrapper for workarea()->getClipboard()
13188
13189         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13190         bug.
13191
13192         * WorkArea.h (width, height, xpos, ypos): These methods all
13193         returned the dimensions of the work_area sub-area of WorkArea,
13194         resulting in a position error if the WorkArea were resized. Now
13195         return the dimensions of the entire WorkArea.
13196
13197         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13198
13199 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * LaTeX.C (deplog): correct the syntax of regex reg1
13202
13203 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * undo.C: remove !NEW_INSETS cruft
13206
13207 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * text2.C: remove !NEW_INSETS cruft
13210
13211         * text.C: remove !NEW_INSETS cruft
13212
13213         * tabular.C: remove !NEW_INSETS cruft
13214
13215         * spellchecker.C: remove !NEW_INSETS cruft
13216
13217         * lyxtext.h: remove !NEW_INSETS cruft
13218
13219         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13220
13221         * lyxfunc.C: remove !NEW_INSETS cruft
13222
13223         * lyxfind.C: remove !NEW_INSETS cruft
13224
13225         * lyx_cb.C: remove !NEW_INSETS cruft
13226
13227         * figureForm.C: remove  !NEW_INSETS cruft
13228
13229         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13230
13231         * buffer.[Ch]: remove !NEW_INSETS cruft
13232
13233         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13234
13235         * CutAndPaste.C: remove !NEW_INSETS cruft
13236
13237         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13238
13239         * BufferView2.C: remove !NEW_INSETS cruft
13240
13241         * BufferView.h: remove !NEW_INSETS cruft
13242
13243 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13244
13245         * Lsstream.h: include LString.h before the sstream headers to
13246         fix problem with gcc 2.95.3 and lyxstring
13247
13248 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13249
13250         * lyx_main.C: add using directives when needed for C functions
13251         declared in std:: namespace.
13252
13253 2001-04-27  Juergen Vigna  <jug@sad.it>
13254
13255         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13256         (SetHeightOfRow): comment out the update call should not be needed!
13257
13258 2001-04-13  Juergen Vigna  <jug@sad.it>
13259
13260         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13261         (LyXTabular): tried to minimize operator= operations (and realized
13262         hopfully Lars wish).
13263
13264 2001-04-27  Juergen Vigna  <jug@sad.it>
13265
13266         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13267
13268 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13271
13272         * buffer.C (readInset): hack to make listof algorithm work
13273
13274         * BufferView_pimpl.C: hack to make listof algorithm work
13275
13276 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * LyXAction.C: removed all !NEW_INSETS cruft
13279         (init): moved lfun_item in method
13280
13281         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13282
13283 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13284
13285         * BufferView2.C (theLockingInset): white space.
13286
13287 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * minibuffer.C: include <iostream>
13290
13291         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13292
13293         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13294
13295         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13296
13297         * text.[Ch] (TransposeChars): new method
13298
13299 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * call message directly through LyXView instead of through LyXFunc
13302         * BufferView2.C: adjust
13303         * BufferView_pimpl.C: adjust
13304         * FontLoader.C: adjust
13305         * buffer.C: adjust
13306         * bufferview_funcs.C: adjust
13307         * converter.C: adjust
13308         * figureForm.C: adjust
13309         * importer.C: adjust
13310         * lyx_cb.C: adjust
13311         * lyx_gui_misc.C: adjust
13312         * lyxfunc.C: adjust
13313         * lyxvc.C: adjust
13314         * text2.C: adjust
13315         + more files in subdirs
13316
13317         * lyxparagraph.h (size): move up int file
13318         (GetLayout): ditto
13319
13320         * adjust all uses of Assert to lyx::Assert.
13321
13322         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13323         lyxfunctional in namespace lyx
13324         * layout.C (hasLayout): ditto
13325         (GetLayout): ditto
13326         (GetLayout): ditto
13327         (delete_layout): ditto
13328         (NumberOfClass): ditto
13329         * converter.C (GetFormat): ditto
13330         (GetNumber): ditto
13331         (Add): ditto
13332         (Delete): ditto
13333         (SetViewer): ditto
13334         * bufferlist.C (getFileNames): ditto
13335         (emergencyWriteAll): ditto
13336         (exists): ditto
13337         (getBuffer): ditto
13338         * MenuBackend.C (hasSubmenu): ditto
13339         (hasMenu): ditto
13340         (getMenu): ditto
13341         * BufferView_pimpl.C (getInsetByCode): ditto
13342
13343 2001-04-18  Juergen Vigna  <jug@sad.it>
13344
13345         * vspace.C (asLatexString): fixed the 100% problem.
13346
13347 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13348
13349         * lyxfunc.C (Dispatch):
13350         * minibuffer.C:
13351         * minibuffer.h: add a few std:: qualifiers
13352
13353 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * minibuffer.[Ch]: reimplement so that commands is initiated and
13356         run from lyxfunc, simplified som handling, and made the completion
13357         and history code for complete. wip.
13358
13359         * lyxfunc.C (processKeySym): call message
13360         (miniDispatch): new temporary method
13361         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13362         (LFUN_MESSAGE): implement
13363         (LFUN_MESSAGE_PUSH): implement
13364         (LFUN_MESSAGE_POP): implement
13365         (initMiniBuffer): the initial/defualt minibuffer message.
13366
13367         * lyxfont.[Ch]: inline some more getters
13368
13369         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13370
13371         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13372
13373         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13374         (AutoSave): use LFUN_MESSAGE
13375         (Reconfigure): ditto
13376
13377         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13378
13379         * figureForm.C: use LFUN_MESSAGE
13380
13381         * converter.C (runLaTeX): use LFUN_MESSAGE
13382
13383         * bufferview_funcs.C: use LFUN_MESSAGE
13384         (Melt): ditto
13385         (changeDepth): ditto
13386
13387         * bufferparams.h: use boost::
13388
13389         * bufferlist.h: inherit privately from noncopyable
13390
13391         * bufferlist.C (loadLyXFile): remove some commented code.
13392
13393         * buffer.C (runChktex): use LFUN_MESSAGE
13394
13395         * ShareContainer.h: inherit privately from noncopyable
13396
13397         * ParagraphParameters.[hC] (depth): inline it.
13398
13399         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13400         methods.
13401         (message): new method
13402         (messagePush): ditto
13403         (messagePop): ditto
13404         (show): init minibuffer
13405         (showState): direct call
13406
13407         * LaTeX.[Ch]: inherit privately from noncopyable
13408         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13409         instead of WriteStatus.
13410
13411         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13412
13413         * BufferView_pimpl.C (buffer): don't init minibuffer
13414         (workAreaButtonPress): use LFUN_MESSAGE
13415         (workAreaButtonRelease): ditto
13416         (savePosition): ditto
13417         (restorePosition): ditto
13418         (MenuInsertLyXFile): ditto
13419         (workAreaExpose): don't init minibuffer
13420         (update): remove commented code, simplify
13421
13422         * BufferView2.C (openStuff): use LFUN_MESSAGE
13423         (toggleFloat): ditto
13424         (menuUndo): ditto
13425         (menuRedo): ditto
13426         (copyEnvironment): ditto
13427         (pasteEnvironment): ditto
13428         (copy): ditto
13429         (cut): ditto
13430         (paste): ditto
13431         (gotoInset): ditto
13432         (updateInset): remove some commented code
13433
13434         * lastfiles.h: inherit privately from noncopyable
13435         * layout.h: ditto
13436         * lyx_gui.h: ditto
13437         * lyx_main.h: ditto
13438         * lyxlex.h: ditto
13439         * lyxlex_pimpl.h: ditto
13440
13441         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13442         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13443         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13444
13445         * LyXAction.h: inherit privately from noncopyable, add methods
13446         func_begin, func_end, returning iterators to the func map.
13447
13448         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13449         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13450         (func_begin): new method
13451         (func_end): new method
13452
13453         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13454         and not)
13455         (copySelection): ditto
13456         (pasteSelection): ditto
13457
13458         * BufferView.C: whitespace change
13459         * BufferView.h: inherit privately from noncopyable
13460
13461 2001-04-16  Allan Rae  <rae@lyx.org>
13462
13463         * tabular-old.C (l_getline):
13464         * spellchecker.C (sc_check_word):
13465         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13466         an unrecognised preprocessor directive.  So ensure they're wrapped.
13467
13468 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13469
13470         * src/exporter.C (Export): Give an error message when path to file
13471         contains spaces.
13472
13473 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * LaTeX.C (deplog): Always check that foundfile exists.
13476
13477 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * lyx_main.h:
13480         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13481
13482 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13483
13484         * tabular.[Ch] (getLabelList): implement new method
13485
13486         * minibuffer.h: comment ouf setTiimer
13487
13488         * minibuffer.C (ExecutingCB): constify res
13489         (peek_event): constify s
13490         (Set): constify ntext
13491         (Init): constify nicename
13492
13493         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13494
13495         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13496         (savePosition): use two params to Minibuffer::Set
13497         (restorePosition): ditto
13498
13499 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13500
13501         * lyx_main.C: include language.h
13502
13503         * Makefile.am (lyx_main.o): add language.h
13504
13505 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * exporter.C:
13508         * paragraph.C:
13509         * screen.C:
13510         * tabular.C:
13511         * CutAndPaste.C: include gettext.h
13512
13513         * lyxfont.h: remove old hack with ON and OFF.
13514
13515         * lyxparagraph.h:
13516         * lyxfont.h: do not include language.h...
13517
13518         * BufferView2.C:
13519         * LaTeXFeatures.C:
13520         * Painter.C:
13521         * bufferview_funcs.C:
13522         * font.C:
13523         * lyxfont.C:
13524         * text.C:
13525         * text2.C:
13526         * trans_mgr.C:
13527         * paragraph.C: ... but do it here instead
13528
13529 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13532
13533         * tabular.C: small reformat
13534
13535         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13536         NEW_INSETS version
13537         (GetChar): ditto
13538         (BreakParagraph): ditto
13539         (SetOnlyLayout): ditto
13540         (SetLayout): ditto
13541
13542         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13543         with one arg less.
13544
13545         * lastfiles.C: removed most using decl, add std:: where needed
13546
13547         * buffer.C: ws changes
13548
13549         * MenuBackend.C (class compare_format): put into anon namespace
13550         (expand): constify label, names, action, action2
13551         (expand):
13552
13553         * text.C (SingleWidth): constify font
13554         (IsBoundary): constify rtl2
13555         (GetVisibleRow): constify ww
13556
13557         * LaTeX.C (deplog): constify logfile
13558
13559         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13560         start_x, end_x
13561         (workAreaExpose): constify widthChange, heightChange
13562
13563         * lyxrow.C (par): moved
13564         (height): moved
13565         (next): moved
13566         * lyxrow.h: as inlines here
13567
13568         * lyxfont.h (shape): moved from lyxfont.C
13569         (emph): moved from lyxfont.C
13570
13571         * lyxfont.C (LyXFont): use initialization list for all
13572         constructors
13573         (shape): move to lyxfont.h as inline
13574         (emph): move to lyxfont.h as inline
13575
13576
13577 2001-04-04  Juergen Vigna  <jug@sad.it>
13578
13579         * vspace.C: had to include stdio.h for use of sscanf
13580
13581 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * BufferView.h:
13584         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13585         independent of xforms.
13586
13587 2001-04-02  Juergen Vigna  <jug@sad.it>
13588
13589         * spellchecker.C: fixed namespace placing!
13590
13591 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13592
13593         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13594         the LyXParagraph * is 0.
13595
13596 2001-03-29  Juergen Vigna  <jug@sad.it>
13597
13598         * vspace.C: added support for %, c%, p%, l%.
13599         (stringFromUnit): added helper function.
13600         (asLatexString): changed to give right results for the %-values.
13601
13602         * buffer.C: convert the widthp in a width%.
13603
13604 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13605
13606         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13607         figureForm.[Ch].
13608
13609         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13610         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13611
13612         * lyx_cb.[Ch]: see above.
13613
13614         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13615         form1.[Ch].
13616
13617         * form1.[Ch]:
13618         * lyx.[Ch]: replaced by figure_form.[Ch].
13619
13620         * lyx_gui.C:
13621         * lyx_gui_misc.C:
13622         * lyxfunc.C: changed headers associated with above changes.
13623
13624 2001-03-27  Juergen Vigna  <jug@sad.it>
13625
13626         * BufferView_pimpl.C: set the temporary cursor right!
13627
13628 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13631
13632 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * LString.h: removed "using std::getline"!
13635
13636         * BufferView_pimpl.C (Dispatch): changes due to changes in
13637         InsetInclude::Params.
13638
13639         * buffer.C (tag_name): removed redundant break statements as they were
13640         producing lots of warnings with my compiler.
13641
13642 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * LString.h: add "using std::getline" when using the real <string>.
13645
13646 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13647
13648         * buffer.C: removed bitset usage.
13649         PAR_TAG moved to an anonymous name space.
13650         (tag_name): new funtion, also in the anonymous namespace.
13651         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13652         (makeDocBookFile): clean code. Completed transition from string arrays
13653         to string vectors.
13654         (SimpleDocBookOnePar): code clean.
13655
13656 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13657
13658         * tabular.C: add some comments.
13659
13660 2001-03-22  Juergen Vigna  <jug@sad.it>
13661
13662         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13663         compatibility read a bit and fixed bug with minipage in different
13664         depth.
13665
13666 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13667
13668         * buffer.C (pop_tag): removed.
13669         (push_tag): removed.
13670         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13671         array replaced with vector. Added support for CDATA sections.
13672         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13673         at any nest level.
13674         (makeDocBookFile): XML conformant declaration of CDATA section,
13675         fixed bug related to <emphasis> in the first paragraph char.
13676         (sgmlOpenTag): exclude empty tags.
13677         (sgmlCloseTag): ditto.
13678
13679         * buffer.h (pop_tag): removed.
13680         (push_tag): removed.
13681
13682 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * language.h (Languages): added size_type and size().
13685
13686 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13687
13688         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13689         response on compability reading of minipages. One probliem is that
13690         the old usage of minipages was «flertydig»
13691
13692         * several files here and in subdirs: don't use static at file
13693         scope use anon namespaces instead.
13694
13695 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13696
13697         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13698         LaTeX output. This is necessary for Literate document
13699         processing.
13700
13701 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13702
13703         * buffer.C: insert hfill when needed.
13704
13705         * tabular.C (l_getline): use string::erase, small whitespace change.
13706
13707         * BufferView_pimpl.C: try the anon namespace.
13708         * WorkArea.C: ditto
13709
13710 2001-03-16  Juergen Vigna  <jug@sad.it>
13711
13712         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13713         otherwise it won't open options-dialogs.
13714
13715         * buffer.C: honor pextraWidth(p) on converting minipages.
13716
13717         * tabular.C (l_getline): changed the functions to strip trailing \r.
13718
13719 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * BufferView_pimpl.C:
13722         * minibuffer..C: added "using SigC::slot" declaration.
13723
13724 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13725
13726         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13727
13728         * text2.C: ditto
13729
13730         * text.C: ditto
13731
13732         * paragraph.C: ditto
13733
13734         * lyxtext.h: NO_PEXTRA
13735
13736         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13737
13738         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13739         * ParameterStruct.h: ditto
13740         * ParagraphParameters.h: ditto
13741         * lyxparagraph.h: ditto
13742
13743 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13744
13745         * buffer.C: add compability for minipage alignment.
13746         (latexParagraphs): remove unwanted pextra check.
13747
13748         * several files: remove CXX_WORKING_NAMESPACES
13749
13750         * buffer.C (pop_tag): tie is in namespace boost
13751
13752         * BufferView.h: noncopyable is in namespace boost
13753         * lyxlex.h: ditto
13754         * lyx_main.h: ditto
13755         * lyx_gui.h: ditto
13756         * layout.h: ditto
13757         * lastfiles.h: ditto
13758         * bufferlist.h: ditto
13759         * ShareContainer.h: ditto
13760         * LyXView.h: ditto
13761         * LyXAction.h: ditto
13762         * LaTeX.h: ditto
13763
13764 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * Merging changes from BRANCH_MVC back into HEAD.
13767
13768         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13769
13770 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * BufferView_pimpl.C: change from intl.C
13773
13774         * combox.h:
13775         * combox.C:
13776         * Makefile.am: move combox.*
13777
13778         * form1.h:
13779         * form1.C:
13780         * lyx_gui.C:
13781         * intl.h:
13782         * intl.C: remove dialog (covered by prefs)
13783
13784 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * lyxfunc.C (Dispatch): removed redundant break statement.
13787
13788 2001-03-14  Juergen Vigna  <jug@sad.it>
13789
13790         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13791
13792 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13793
13794         * buffer.C: add hack to fix compability reading of minipages.
13795
13796 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * buffer.C (getLists): Cleanup.
13799
13800 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13801
13802         * lyxfont.C (update): don't honor toggleall on font size.
13803
13804 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * bmtable.c:
13807         * bmtable.h:
13808         * Makefile.am: moved to frontends/xforms/
13809
13810         * lyx_gui_misc.C:
13811         * lyxfunc.C:
13812         * BufferView_pimpl.C: changes for moved mathpanel
13813
13814 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * gettext.h: fix gettext_init() in --disable-nls
13817
13818 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13821
13822 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13823
13824         * lyx.C:
13825         * lyx.h: strip external form
13826
13827 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * BufferView_pimpl.C: add comment, destroySplash()
13830
13831 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView_pimpl.C:
13834         * LyXAction.C:
13835         * buffer.C:
13836         * commandtags.h:
13837         * lyxfunc.C: use re-worked insetinclude
13838
13839 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13840
13841         * buffer.C: add using std::stringstream.
13842
13843         * lyx_cb.C: readd using std::ios.
13844
13845         * buffer.C: add using std::map.
13846
13847         * BufferView_pimpl.C: add using std::vector.
13848
13849         * ShareContainer.h: add std:: to swap.
13850
13851         * buffer.h: add some typedefs
13852         * buffer.C (getLists): use them
13853         (getLists): renamed from getTocList.
13854         add a counter for the different float types and use it in the
13855         generated string.
13856         (getLists): use the same counter for the NEW_INSETS and the "non"
13857         NEW_INSETS
13858
13859         * lyx_cb.h: remove unused items, includes, using etc.
13860
13861         * ShareContainer.h: remove some commented code, add more comments
13862         and "documentation".
13863
13864 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13865
13866         * buffer.C (getTocList): make the list also when NEW_INSETS is
13867         defined.
13868
13869         * buffer.h: remove TocType
13870
13871         * buffer.C (getTocList): change to return a map<string,
13872         vector<TocItem> >, implement for dynamic number of list.
13873
13874         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13875         * text2.C (PasteSelection): adjust
13876         * CutAndPaste.C (pasteSelection): adjust
13877
13878         * FloatList.C (FloatList): update from the new_insets branch.
13879         * Floating.[Ch]: ditto
13880         * LaTeXFeatures.C: ditto
13881         * buffer.C: ditto
13882         * lyxlex_pimpl.C: ditto
13883
13884         * paragraph.C (Last): remove when NEW_INSETS is defined.
13885
13886         * other file: changes because of the above.
13887
13888 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13889
13890         * lyxparagraph.h: rename next to next_, previous to previous_,
13891         make them private for NEW_INSETS. Rename Next() to next(),
13892         Previous() to previous().
13893
13894         * other files: changes because of the above.
13895
13896 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13897
13898         * BufferView.h:
13899         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13900         problem.
13901
13902 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13903
13904         * main.C (main): pass lyx_localedir to gettext_init().
13905
13906         * gettext.h: remove locale_init and gettext_init macros
13907
13908         * gettext.C (locale_init): new function
13909         (gettext_init): new function
13910
13911         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13912         setlocale().
13913
13914 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13915
13916         * Moved credits to frontends:
13917         * credits.[Ch]: removed
13918         * credits_form.[Ch]: removed
13919         * lyx_gui_misc.C: remove credits stuff
13920         * Makefile.am:
13921
13922 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13923
13924         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13925
13926         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13927         unneeded destructor.
13928
13929         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13930         a standalone pointer again.
13931
13932         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13933
13934 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13935
13936         * Makefile.am:
13937         * filedlg.h:
13938         * filedlg.C:
13939         * LyXAction.C:
13940         * ToolbarDefaults.C:
13941         * bufferlist.C:
13942         * commandtags.h:
13943         * form1.C:
13944         * form1.h:
13945         * lyx_cb.C:
13946         * lyx_cb.h:
13947         * lyxfunc.h:
13948         * lyxfunc.C:
13949         * BufferView_pimpl.C: use new file dialog in GUII
13950
13951         * lyx_cb.h:
13952         * lyx_cb.C: remove LayoutsCB to Toolbar
13953
13954 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * ShareContainer.h (get): add std:: qualifier
13957
13958 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * ShareContainer.h: define a proper ShareContainer::value_type
13961         type (and use typename to please compaq cxx)
13962
13963 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13964
13965         * lyxparagraph.h: move serveral local vars to
13966         ParameterStruct/ParagraphParameters., use ShareContainer in
13967         FontTable., make vars in FontTable private and add getter and
13968         setter.
13969
13970         * paragraph.C: changes because of the above.
13971
13972         * lyxfont.h: remove copy constructor and copy assignment. (the
13973         default ones is ok), move number inside FontBits. move inlines to
13974         lyxfont.C
13975
13976         * lyxfont.C: add number to initializaton of statics, move several
13977         inlines here. constify several local vars. some whitespace
13978         cleanup. Dont hide outerscope variables.
13979
13980         * Spacing.h: add two new constructors to match the set methods.
13981
13982         * ShareContainer.h: new file, will perhaps be moved to support
13983
13984         * ParameterStruct.h: new file
13985
13986         * ParagraphParameters.h: new file
13987
13988         * ParagraphParameters.C: new file
13989
13990         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13991         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13992
13993         * BufferView_pimpl.C: ParagraphParameter changes.
13994         * buffer.C: Likewise.
13995         * bufferview_funcs.C: Likewise.
13996         * text.C: Likewise.
13997         * text2.C: Likewise.
13998
13999 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * lyxfind.C (LyXReplace): do not redefine default argument in
14002         implementation.
14003         (IsStringInText): ditto
14004         (SearchForward): ditto
14005         (SearchBackward): ditto
14006
14007 2001-03-06  Juergen Vigna  <jug@sad.it>
14008
14009         * lyxfind.C (IsStringInText): put parentes around expressions.
14010
14011 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14012
14013         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14014
14015 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14016
14017         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14018
14019         * stl_string_fwd.h: add comment
14020
14021         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14022
14023         * tabular.h:
14024         * tabular.C: remove unused DocBook methods
14025
14026         * intl.C:
14027         * language.C:
14028         * paragraph.C:
14029         * buffer.C:
14030         killed DO_USE_DEFAULT_LANGUAGE
14031
14032 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * lyx_gui.C: do not include language.h.
14035
14036         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14037         arguments in function implementation.
14038
14039 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14040
14041         * BufferView_pimpl.C: add <ctime>
14042
14043 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14044
14045         * BufferView_pimpl.C: add using std::find_if
14046
14047 2001-02-27  José Matos  <jamatos@fep.up.pt>
14048
14049         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14050         by OnlyPath.
14051
14052 2001-02-11  José Matos  <jamatos@fep.up.pt>
14053
14054         * buffer.C (makeDocBookFile): command styles now have a parameter as
14055         "title" by default.
14056
14057 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14058
14059         * layout_forms.[Ch]: removed
14060         * lyx_cb.[Ch]: out character
14061         * lyx_gui.C: out character
14062         * lyx_gui_misc.C: out character
14063         * bufferview_funcs.C: : out character,
14064         added toggleall as parameter in ToggleAndShow
14065
14066 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14069
14070         * text2.C (SetCurrentFont): Disable number property at boundary.
14071
14072 2001-02-26  Juergen Vigna  <jug@sad.it>
14073
14074         * lyxfunc.C (getStatus): added a string argument override function so
14075         that this is correctly called from LyXFunc::Dispatch if it contains a
14076         do_not_use_argument which is used!
14077         (Dispatch): added check for "custom" export and call appropriate func.
14078
14079 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * lyxrc.C: Add language_command_local, language_use_babel and
14082         language_global_options.
14083
14084         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14085
14086         * buffer.C (makeLaTeXFile): Use language_use_babel and
14087         language_global_options.
14088
14089 2001-02-23  Juergen Vigna  <jug@sad.it>
14090
14091         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14092         which works with LyXText and putted it inside BufferView. Here now we
14093         only call for that part the BufferView::Dispatch() function.
14094
14095         * BufferView.C (Dispatch): added.
14096
14097         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14098         functions which needs to use a LyXText over from LyXFunc.
14099         (MenuInsertLyXFile): added
14100         (getInsetByCode): added
14101         (moveCursorUpdate): added
14102         (static TEXT): added
14103
14104 2001-02-22  Juergen Vigna  <jug@sad.it>
14105
14106         * BufferView_pimpl.C (update): call a status update to see if LyXText
14107         needs it.
14108
14109 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14110
14111         * vc-backend.C (revert): implement for CVS
14112         (getLog): implement for CVS
14113
14114 2001-02-20  Juergen Vigna  <jug@sad.it>
14115
14116         * text2.C (ClearSelection): added BufferView param for inset_owner call
14117
14118         * lyxfunc.C (TEXT): added this function and use it instead of
14119         directly owner->view()-text of getLyXText().
14120
14121 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14122
14123         * src/layout_forms.C: out preamble
14124         * src/layout_forms.h: out preamble
14125         * src/lyx_cb.C: out preamble
14126         * src/lyx_cb.h: out preamble
14127         * src/lyx_gui.C: out preamble
14128         * src/lyx_gui_misc.C: out preamble
14129         * src/lyxfunc.C: connect with guii preamble
14130
14131 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14134
14135 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14138         whether to run bibtex.
14139
14140 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14141
14142         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14143
14144 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14145
14146         * Makefile.am (lyx_SOURCES): removed bibforms.h
14147
14148         * vspace.h: doxygen
14149
14150         * text.C (GetVisibleRow): make several local vars const
14151
14152         * tabular.C: small cleanup.
14153
14154         * lyxserver.C (callback): use compare instead of strncmp
14155
14156         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14157         inlines to after class or to paragraph.C
14158
14159         * lyxfont.h: remove friend operator!=
14160
14161         * converter.h: move friend bool operator< to non friend and after
14162         class def.
14163
14164         * combox.h: small cleanup
14165
14166         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14167         to inlines after class def.
14168
14169         * buffer.C (pop_tag): use string operations instead of strcmp
14170
14171         * bmtable.c: doxygen, small cleanup
14172
14173         * LaTeX.h: remove friend operator==
14174
14175 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14176
14177         * screen.C:
14178         * lyxrc.[Ch]:
14179         * lyxfunc.C:
14180         * lyxfont.[Ch]:
14181         * lyx_cb.C:
14182         * intl.[Ch]:
14183         * commandtags.h:
14184         * buffer.C:
14185         * WorkArea.[Ch]:
14186         * LyXAction.C:
14187         * BufferView_pimpl.C:
14188         * BufferView.[Ch]: remove cruft
14189
14190 2001-02-14  Juergen Vigna  <jug@sad.it>
14191
14192         * lyxfunc.C: removed #if 0 unused code
14193
14194         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14195
14196         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14197
14198         * text2.C (SetSelection): added a BufferView * parameter
14199
14200 2001-02-13  Juergen Vigna  <jug@sad.it>
14201
14202         * lyxfunc.C (Dispatch): fixed protected blank problem.
14203         * BufferView2.C (protectedBlank): added LyxText * parameter.
14204
14205         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14206         (AppendColumn): same as above for column_info.
14207
14208         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14209         (moveCursorUpdate): use a LyXText param for support of InsetText.
14210
14211         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14212         (tripleClick): ditto
14213
14214         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14215
14216         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14217
14218         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14219
14220         * text2.C (SetSelection): set correct update status if inset_owner
14221         (ToggleFree): ditto
14222
14223 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14224
14225         * tabular.C: remove some commented code.
14226
14227 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * BufferView_pimpl.C: call hideSplash()
14230
14231         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14232
14233         * include_form.h:
14234         * bibforms.h: remove
14235
14236         * lyxfunc.C:
14237         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14238           add LFUN_CHILD_CREATE
14239
14240         * counters.h: fix tiny typo
14241
14242         * lyx_cb.C:
14243         * lyx.h:
14244         * lyx_gui.C:
14245         * lyx.C: move splash to frontends/xforms/
14246
14247         * lyx_gui_misc.C: move Include and Bibform to frontends
14248
14249         * lyxvc.h: clarify comment
14250
14251         * vspace.C: tiny housekeeping
14252
14253 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * text.C (PrepareToPrint): RTL Fix.
14256
14257         * paragraph.C (GetUChar): New method.
14258         (String):  Use GetUChar.
14259
14260         * buffer.C (asciiParagraph): Use GetUChar.
14261
14262 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14263
14264         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14265
14266 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * buffer.h:
14269         * buffer.C: rename to getLogName(), handle
14270           build log / latex log nicely
14271
14272 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * MenuBackend.C:
14275         * MenuBackend.h: remove support for reference menuitem type.
14276
14277 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * BufferView_pimpl.C: housekeeping
14280         * BufferView_pimpl.h:
14281         * LyXView.h:
14282         * Makefile.am:
14283         * Timeout.C:
14284         * Timeout.h:
14285         * minibuffer.h: move Timeout GUI-I
14286
14287 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * lyxrc.C (read): Update converters data-structures.
14290
14291 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14292
14293         * LaTeX.h (operator!=): add operator != for Aux_Info
14294
14295 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14298
14299         * LaTeXLog.C: deleted, useful code moved to Buffer
14300
14301         * buffer.h:
14302         * buffer.C: new function getLatexLogName()
14303
14304         * lyx_gui_misc.C:
14305         * lyx_gui.C:
14306         * lyxvc.C:
14307         * lyxvc.h:
14308         * lyxfunc.C: use frontends for LaTeX and VC logs
14309
14310 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * LaTeX.h: yet another std:: that Allan forgot.
14313
14314         * Variables.C (set): renamed from isset(), because this clashes
14315         with some HP-UX macros (grr).
14316
14317 2001-02-06  Allan Rae  <rae@lyx.org>
14318
14319         * LaTeX.h: Another bug fix.  Missing std:: this time.
14320
14321 2001-02-04  Allan Rae  <rae@lyx.org>
14322
14323         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14324         floats problem. I've left it commented out because it's not quite
14325         correct.  It should also test that the current object is a table or
14326         figure inset.  But I haven't gotten around to figuring out how to do
14327         that.  I *think* it'll be something like: "table" == inset.type()
14328
14329         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14330         bool.
14331
14332 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14333
14334         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14335         all the citation/databases/styles in the auxilary file.
14336         (run): Rerun latex if there was a babel language error.
14337
14338 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * text.C (Backspace): Preserve the font when changing newline char
14341         with a space.
14342         (BreakParagraph): If the cursor is before a space, delete the space.
14343
14344         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14345
14346 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14349         new argument (code).
14350         (ChangeCitationsIfUnique): New method.
14351
14352         * paragraph.C (GetPositionOfInset): Handle bibkey.
14353
14354 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * BufferView_pimpl.h: change type of Position::par_pos to
14357         LyXParagraph::size_type.
14358
14359 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14360
14361         * BufferView_pimpl.C (savePosition, restorePosition): Write
14362         messages to minibuffer.
14363
14364 2001-01-28  José Matos  <jamatos@fep.up.pt>
14365
14366         * buffer.C (makeDocBookFile): adds support for document language.
14367         A silly restriction on the name of LatexCommand types where removed.
14368         Added support for CDATA sections, allows to chars unescaped, used
14369         among others in code, to avoid escape < and >.
14370
14371 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14374         saved positions instrad of a stack. Furthermore, a position is
14375         stored using paragraph id/paragraph position.
14376
14377         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14378         Remove LFUN_REF_BACK.
14379
14380 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * converter.C (dvipdfm_options): New method.
14383
14384 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * vspace.C (isValidLength): Fix for empty input string.
14387
14388 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14389
14390         * LyXAction.C (init): change description of LFUN_FIGURE to
14391         "Insert Graphics"
14392
14393 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * LaTeX.C: add using directive
14396
14397 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * MenuBackend.C (expand): Fix the sorting of the formats.
14400
14401 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * lyx_main.C: tiny error message fix
14404
14405 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14406
14407         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14408         calling fl_initialize(). This fixes the problem with ',' as
14409         decimal separator in text files.
14410
14411 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14412
14413         * trans.C (process): Fix the keymap bug.
14414
14415 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14416
14417         * LaTeX.C (scanAuxFiles): New method. Provides support for
14418         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14419         (scanLogFile) Scan for "run BibTeX" messages.
14420
14421         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14422         OT1 font encoding. Also, load the aecompl package if the ae
14423         package is loaded.
14424
14425         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14426
14427 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * texrow.C (increasePos): turn two error messages into debug
14430         messages.
14431
14432 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14433
14434         * LaTeX.C (scanAux): Handle the \@input macro.
14435         (runBibTeX): Use scanAux().
14436
14437         * language.C (latex_options_): New field.
14438
14439         * LaTeXFeatures.C (getMacros): Add language macros.
14440
14441         * buffer.C (makeLaTeXFile): Small fix.
14442
14443 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14444
14445         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14446
14447         * text2.C: add a using directive.
14448
14449 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * BufferView2.C:
14452         * lyx_gui_misc.h:
14453         * lyxfr1.C:
14454         * lyxfunc.C: kill LyXBell.
14455
14456 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14457
14458         * text.C (IsBoundary): Remove the error message
14459
14460         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14461
14462         * lyxrc.C (setDefaults): Correct initialization value for
14463         font_norm_type.
14464
14465 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14468         gotoError().
14469
14470         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14471         and GotoNextNote().
14472
14473         * src/LyXAction.C: Added reference-next.
14474
14475         * text.C (InsertChar): Use contains instead of strchr.
14476
14477         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14478
14479 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14482         alignment commands (when needed).
14483
14484         * text.C (InsertChar): Add ':' to number separator chars.