]> git.lyx.org Git - features.git/blob - src/ChangeLog
Part of IU.
[features.git] / src / ChangeLog
1
2 2004-01-20  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView.[Ch]:
5         * BufferView_pimpl.C:
6         * PosIterator.C:
7         * bufferview_funcs.C:
8         * cursor.[Ch]:
9         * cursor_slice.[Ch]:
10         * factory.C:
11         * iterators.C:
12         * lyx_cb.C:
13         * lyxfind.C:
14         * lyxfunc.C:
15         * lyxtext.h:
16         * rowpainter.C:
17         * text.C:
18         * text2.C:
19         * text3.C:
20         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
21           LCursor and mathcursor parts to LCursor and InsetBase.
22
23 2004-01-15  André Pönitz  <poenitz@gmx.net>
24
25         * cursor_slice.[Ch]: add a few covienience functions
26
27         * funcrequest.[Ch]: remove BufferView * member
28
29         * BufferView_pimpl.C:
30         * cursor.C:
31         * factory.[Ch]:
32         * lyxfind.[Ch]:
33         * lyxfunc.C:
34         * lyxtext.h:
35         * text3.C:
36         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
37
38 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
41         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
42
43 2004-01-13  André Pönitz  <poenitz@gmx.net>
44
45         * textcursor.[Ch]:
46         * lyxtext.h: hide cursor and selection anchor behind accessor function
47
48         * BufferView.C:
49         * BufferView_pimpl.[Ch]:
50         * PosIterator.C:
51         * bufferview_funcs.C:
52         * cursor.h:
53         * lyxfind.C:
54         * lyxfunc.C:
55         * text.C:
56         * text2.C:
57         * text3.C:
58         * undo.C: adjust
59
60         * cursor.h:
61         * cursor_slice.[Ch]: some integer type changes for inset unification
62
63         * lyxcursor.[hC]: remove, it's CursorSlice now.
64
65         * Makefile.am: 
66         * BufferView_pimpl.[Ch]:
67         * bufferview_funcs.C:
68         * cursor_slice.C:
69         * lyxtext.h:
70         * text.C:
71         * text2.C:
72         * text3.C:
73         * textcursor.[Ch]: adjust
74
75 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * text2.C (undoSpan): add and use
78         * text.C (breakParagraph): use undoSpan (fix bug 578)
79         * lyxtext.h: adjust
80
81 2004-01-08  Angus Leeming  <leeming@lyx.org>
82
83         * BufferView_pimpl.C (MenuInsertLyXFile):
84         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
85         * lyxfunc.C (menuNew, open, doImport): 
86         FileFilterList change to the FileDialog open and save functions.
87
88 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * ShareContainer.h: make isEqual and isUnique adaptable
91
92         * CutAndPaste.C: make resetOwnerAndChanges adaptable
93
94 2004-01-07  Angus Leeming  <leeming@lyx.org>
95
96         * LyXAction.C:
97         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
98
99         * BufferView_pimpl.C (dispatch): act on these LFUNs.
100
101         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
102         functions replacing find, replace and replaceAll.
103
104         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
105         LFUN_WORDFIND(FORWARD|BACKWARD).
106
107 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
108
109         * text.C (breakParagraph): remove an outdated #warning
110
111 2004-01-07  André Pönitz  <poenitz@gmx.net>
112
113         * lyxfind.C: somewhat clearer logic
114
115         * text.C: prevent crash in cursorX on unitialized row cache
116
117 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * lyxcursor.[Ch] (operator>): add
120         * textcursor.C (selStart, selEnd): use std::min and std::max
121
122 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
123
124         * Chktex.C: include boost/format.hpp
125
126 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
127
128         * InsetList.C: replace functor MathcIt with adaptable functor
129         InsetTablePosLess
130         (insetIterator): modify accordingly
131
132         * BranchList.h: move the BranchNamesEqual functor here from...
133         * BranchList.C: ... to here
134
135         * BranchList.C: new BranchListEqual fuctor, use it. Remove
136         SameName and match.
137         (add): replace a finding loop with std::find_if.
138
139 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * output_docbook.C: moving LatexParam functionality into
142         .layout files
143
144 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * buffer.C: increment format to 229.
147
148 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
149
150         * LaTeXFeatures.C:
151         * lyx_sty.[Ch]: remove minipageindent_def
152
153         * LyXAction.C:
154         * factory.C:
155         * lfuns.h:
156         * lyxfunc.C:
157         * text3.C: remove LFUN_INSET_MINIPAGE
158
159 2003-12-28  Angus Leeming  <leeming@lyx.org>
160
161         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
162
163 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
164
165         * text2.C (setParagraph): fix off-by-one crash
166
167 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * output_docbook.C: header stuff for AGU
170
171 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
172
173         * text2.C (redoCursor): remove
174         * text.C:
175         * text3.C:
176         * BufferView_pimpl.C: remove calls to redoCursor and
177         setCursor(cursor.par(), cursor.pos()) all around
178
179 2003-12-15  Angus Leeming  <leeming@lyx.org>
180
181         * buffer.C: up the format to 228.
182
183 2003-12-15  André Pönitz  <poenitz@gmx.net>
184
185         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
186         slices
187
188         * Makefile.am:
189
190         * BufferView_pimpl.C:
191         * cursor.[Ch]:
192         * lyxcursor.[Ch]:
193         * rowpainter.[Ch]:
194         * lyxtext.h:
195         * text.C:
196         * text2.C:
197         * text3.C: adjust
198
199 2003-12-15  Angus Leeming  <leeming@lyx.org>
200
201         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
202         than getFromGUIName to manipulate the color.
203
204 2003-12-14  Angus Leeming  <leeming@lyx.org>
205
206         * BranchList.[Ch]: minimize the API.
207         (Branch::getBranch, getColor): now return a 'const &'.
208         (Branch::setSelected) now returns a bool set to true if the
209         selection status changes.
210         (BranchList::clear, size, getColor, setColor, setSelected,
211         allBranches, allSelected, separator): removed.
212         (BranchList::find): new functions, returning the Branch with
213         the given name.
214         (BranchList::add, remove): return a bool indicating that
215         the operation was successful.
216
217         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
218         new InsetBranch::isBranchSlected member function.
219
220         * LColor.[Ch]: mimimize the API.
221         (fill): renamed as addColor and made private.
222         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
223         versions of these functions taking a string arg have been removed.
224
225         * bufferparams.C (readToken):
226         * lyxfunc.C (dispatch):
227         * lyxrc.C (read): changes due to the altered BranchList and
228         LColor APIs.
229
230         * factory.C (createInset, readInset): changes due to altered
231         InsetBranch c-tor.
232
233 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
234
235         * factory.C:
236         * lyxfunc.C: remove insetminipage. "minipage-insert"
237         now produces a frameless minipage box inset.
238
239 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
240
241         * textcursor.[Ch] (selStart,selEnd): add new methods
242         remove selection::start, end, use LyXCursor::operator<
243         * lyxcursor.[Ch] (operator<): add
244         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
245         * BufferView.[Ch] (unsetXSel): add
246         * text2.C (clearSelection): use unsetXSel,adjust
247         * text.C: adjust
248         * text3.C: adjust
249         * rowpainter.C: adjust
250         * bufferview_funcs.C (put_selection_at): adjust
251
252 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * BufferView_pimpl.C: small coord. correction
255
256 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
259         dragging over the splash screen.
260
261 2003-12-11  Angus Leeming  <leeming@lyx.org>
262
263         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
264         as it is now handled in LyXText::dispatch.
265
266         * text3.C (doInsertInset): remove a level of nesting.
267
268 2003-12-11  Angus Leeming  <leeming@lyx.org>
269
270         * factory.C (createInset): changes due to the changed interface to
271         InsetCommandMailer::string2params.
272
273 2003-12-10  Angus Leeming  <leeming@lyx.org>
274
275         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
276         'dialog-show-new-inset <inset name>'
277
278 2003-12-10  Angus Leeming  <leeming@lyx.org>
279
280         * buffer.C: up the format to 227.
281
282         * factory.C: the box inset is now identified simply by 'Box'.
283
284 2003-12-10  Angus Leeming  <leeming@lyx.org>
285
286         * buffer.C: up the format to 226.
287
288         * factory.C: the note inset is now identified simply by 'Note'.
289
290 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
291
292         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
293         when a pit is enough. Standarize a couple of loops.
294
295 2003-12-05  Angus Leeming  <leeming@lyx.org>
296
297         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
298         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
299         data to the re-worked "log" dialog.
300
301 2003-12-03  André Pönitz  <poenitz@gmx.net>
302
303         * PosIterator.C:
304         * iterators.C:
305         * lyxtext.h:
306         * output_latex.C:
307         * paragraph_funcs.C:
308         * text.C:
309         * text2.C: use Inset::getText instead of Inset::getParagraph
310
311 2003-12-03  André Pönitz  <poenitz@gmx.net>
312
313         * buffer.[Ch]:
314         * lyxtext.h:
315         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
316         InsetText::read() as LyXText::read()
317
318 2003-12-02  Angus Leeming  <leeming@lyx.org>
319
320         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
321         type. Add a comment in the implementation that the function uses
322         the stream's bad() function rather than fail() as the std::streams
323         would do.
324
325 2003-12-02  André Pönitz  <poenitz@gmx.net>
326
327         * lyxlex.[Ch]: make interface more similar to std::stream
328
329         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
330
331 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
332
333         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
334
335 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
336
337         * vspace.[Ch]: remove VSpace::NONE
338
339 2003-12-01  André Pönitz  <poenitz@gmx.net>
340
341         * buffer.[Ch]:
342         * lyxtext.h: move ParagraphList member to LyXText
343         rename LyXText::ownerParagraphs to LyXText::paragraph
344
345         * CutAndPaste.C:
346         * bufferview_funcs.C:
347         * iterators.[Ch]:
348         * lyx_cb.C:
349         * paragraph.C:
350         * rowpainter.C:
351         * tabular.C:
352         * text.C:
353         * text2.C:
354         * text3.C: adjust
355
356         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
357
358         * undo.C: fix cursor positioning
359
360 2003-12-01  John Levon  <levon@movementarian.org>
361
362         * BufferView_pimpl.C: fix a crash on exit with
363         a buffer open
364
365 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
366
367         * BranchList.C: fix setSelected() method.
368
369 2003-11-28  André Pönitz  <poenitz@gmx.net>
370
371         * ParagraphParameters.[Ch]:
372         * ParameterStruct.h: remove space above/below from Paragraph to
373          InsetVSpace
374
375         * BufferView_pimpl.C:
376         * factory.C:
377         * lyxfunc.C:
378         * lyxtext.h:
379         * output_latex.C:
380         * paragraph.C:
381         * paragraph_funcs.C:
382         * rowpainter.[Ch]:
383         * text.C:
384         * text2.C:
385         * text3.C: adjust
386
387 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * factory.C: Syntax change for CharStyles
390
391 2003-11-28  André Pönitz  <poenitz@gmx.net>
392
393         * BufferView.[Ch]:
394         * BufferView.[Ch]:
395         * buffer.[Ch]:
396         * buffer.[Ch]: move LyXText member
397
398 2003-11-28  André Pönitz  <poenitz@gmx.net>
399
400         * BufferView.[Ch]: make LyXText * text a private member
401
402         * BufferView_pimpl.C:
403         * cursor.C:
404         * iterators.C:
405         * lyx_cb.C:
406         * lyxfind.C:
407         * lyxtext.h:
408         * rowpainter.[Ch]:
409         * text.C:
410         * text2.C:
411         * undo.C: adjust
412
413         * output_plaintext.C: cleanup
414
415 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * buffer.C:
418         * lyxtextclass.[Ch]: parametrize SGML document header
419
420 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
421
422         * converter.[Ch]:
423         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
424         getFlavor().
425
426 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * text2.C (setFont): rework using PosIterator (no more recursive)
429         (setCharFont): no more needed
430         (setLayout): no more selection cursors fiddling (done by redoCursor)
431         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
432         destroy remaining ones)
433
434 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
437         * lyxtext.h: ditto
438         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
439         selection cursors
440         * lyxfunc.C: adjust
441         * text3.C: adjust + re-allow multi par depth changes
442         * textcursor.C: simplify a bit
443
444 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
445
446         * src/buffer.C:
447         * src/lyxlayout.C:
448         * src/lyxlayout.h:
449         * src/lyxtext.h:
450         * src/output_docbook.C:
451         * src/output_latex.C:
452         * src/paragraph.C:
453         * src/paragraph.h:
454         * src/sgml.C:
455         * src/sgml.h:
456         * src/text2.C: Introducing a number of tags parametrizing various
457         XML formats that we may want to support
458
459 2003-11-25  André Pönitz  <poenitz@gmx.net>
460
461         * InsetList.[Ch] (begein, end): inline as suggested by profiler
462
463         * lyxtext.h (leftMargin/rightMargin): simplify interface
464
465         * rowpainter.C:
466         * text.C:
467         * text2.C:
468         * text3.C: adjust
469
470 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
471
472         * lyxfunc.C (dispatch): propogate the bibtex databases from the
473         master file to any child files. Fixes bug 546.
474
475 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
476
477         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
478
479 2003-11-24  André Pönitz  <poenitz@gmx.net>
480
481         * rowpainter.C: simplification
482
483         * text2.C (updateCounters): remove call to redoParagraph on
484         changed labels as this is far too expensive.
485
486 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
487
488         * converter.C (convert): fix a crash: this function gets
489         called with buffer == 0 from importer code.
490
491 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
492
493         * text3.C (cursorPrevious): make sure that we do not compare
494         iterators form different containers.
495         (cursorNext): ditto
496
497         * rowpainter.C (paintSelection): make sure that we do not compare
498         iterators from different containers.
499
500         * text3.C (dispatch): [PRIOR] make sure that we do not compare
501         iterators from different ParagraphList containers.
502         [NEXT] ditto
503
504         * text2.C (LyXText): change order of initialization slightly
505         (operator=): new function. copy all variables except cache_par_
506         (moveUp): make sure that we do not compare iterators from
507         different ParagraphList constainers.
508         (moveDown): ditto
509
510         * text.C (firstPar): new function
511         (lastPar): new function
512         (endPar): new function
513
514         * lyxtext.h: move things around and group public functions, public
515         variables, private functions, private variables
516
517 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
518
519         * factory.C: change call to InsetERT constructor to avoid
520         additional invocation of method status
521         * text2.C (toggleInset): remove redundant update() call
522         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
523         instead of a Bufferview pointer
524
525 2003-11-21  André Pönitz  <poenitz@gmx.net>
526
527         * rowpainter.C: simplification
528
529 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * text3.C (dispatch): make possible to extend a word/row selection
532         with the mouse
533
534 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * lyxtext.h: x0_,y0_ -> xo_,yo_
537         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
538         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
539         * rowpainter.C (paintRows): paint full paragraphs
540
541 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
542
543         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
544         screen coordinates)
545
546 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
547
548         * lyxtext.h: add x0_, y0_
549         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
550         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
551
552 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
553
554         * text2.C (setCursorIntern): move the x_target update here *
555         * text3.C: change some bv() to true/false in calls to
556         cursorUp/Down/Right/Left
557         * cursor.C: use helper function.
558
559 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
562         * paragraph_funcs.[Ch]: correct comment
563         * rowpainter.C: do not paint selections away from bv->cursor()
564         Fix a long standing selection painting bug.
565         * text3.C: generalize mouse-selection code to LyXTexts other that
566         top one
567         * textcursor.C: do not use y coords if we can use par offsets
568
569 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
570
571         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
572         cursor position after e.g. inset insert)
573
574 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
575
576         * lyxfind.C (replace): adjust to locking removal + some
577         code simplification
578
579 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
580
581         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
582         of the path
583
584 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
585
586         * lyxlayout.[Ch]:
587         * output_docbook.C: XML sanitation: new layout
588         parameters InnerTag and CommandDepth
589
590 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * BufferView_pimpl.C:
593         * factory.C:
594         * text3.C: Fix the insertion and modification of button-style
595         insets
596
597 2003-11-13  André Pönitz  <poenitz@gmx.net>
598
599         * InsetList.[Ch]: remove deleteLyXText
600
601         * paragraph.[Ch]: cache beginOfBody position
602
603         * Bidi.C:
604         * text.C:
605         * text2.C:
606         * text3.C: remove superfluous update() calls
607
608         * vspace.C: cleanup
609
610 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
611
612         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
613         * BufferView.C (fitLockedInsetCursor): remove
614         * cursor.[Ch] (getDim): add
615         * text.C (getRowNearY): add faster version
616         * text3.C: remove some update calls
617
618 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
619
620         * LaTeXFeatures.C:
621         * LyXAction.C:
622         * MenuBackend.C:
623         * MenuBackend.h:
624         * dispatchresult.h:
625         * factory.C:
626         * lfuns.h:
627         * lyxfunc.C:
628         * lyxtextclass.C:
629         * lyxtextclass.h:
630         * text3.C: The Character Style /XML short element patch.
631
632 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
633
634         * text3.C:
635         * factory.C: Small step to solving 'unable to insert some insets'
636         problem
637
638 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
639
640         * cursor.[Ch] (updatePos): new function for updating the y
641         position of the tip inset
642         * bufferview_funcs.C (put_selection_at):
643         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
644
645 2003-11-11  André Pönitz  <poenitz@gmx.net>
646
647         * text.C: remove big comment on invalid Paragraph pointers as it is
648         not valid anymore
649
650 2003-11-11  André Pönitz  <poenitz@gmx.net>
651
652         * text_funcs.[Ch]: merge with ...
653
654         * text.C: ... this
655
656         * lyxtext.h:
657         * text2.C:
658         * text3.C: adjust
659
660         * Makefile.am: remove text_funcs.[Ch]
661
662 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
663
664         * cursor.C (getPos): return absolute cached y coord
665
666         * BufferView_pimpl.C (fitCursor): new simplistic code
667         (workAreaDispatch): add a fitCursor call
668
669 2003-11-10  André Pönitz  <poenitz@gmx.net>
670
671         * BufferView.[Ch]:
672         * BufferView_pimpl.[Ch]: merge update() and updateInset()
673
674 2003-11-10  André Pönitz  <poenitz@gmx.net>
675
676         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
677         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
678         indicate that the cursor needs to leave an inset
679
680         * lyxtext.h: remove inset locking
681
682         * cursor.[Ch]: re-implement functionality provided by inset locking
683
684         * BufferView.[Ch]:
685         * BufferView_pimpl.[Ch]:
686         * LyXAction.C:
687         * bufferview_funcs.[Ch]:
688         * factory.C:
689         * funcrequest.[Ch]:
690         * iterators.C:
691         * lyx_cb.C:
692         * lyxfind.C:
693         * lyxfunc.C:
694         * text.C:
695         * text2.C:
696         * text3.C:
697         * undo.C: adjust
698
699 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
700
701         * PosIterator.[Ch]: replace the stack with a vector, add inset
702         accesor
703         * iterators.[C]: adjust
704
705 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
706
707         * lyxfind.C (replaceAll): mark the buffer dirty if something was
708         replaced
709         * paragraph_funcs.C (readParToken): put the correct id in the
710         error item, not the id of the top paragraph
711
712 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
713
714         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
715         * bufferview_funcs.C (put_selection_at): use the above
716
717 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
718
719         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
720
721 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * output_linuxdoc.h:
724         * output_plaintext.h:
725         * output.h:
726         * output_docbook.h: add #include statements
727
728 2003-11-05  José Matos  <jamatos@lyx.org>
729
730         * output_docbook.[Ch]:
731         * output_latex.[Ch]:
732         * output_linuxdoc.[Ch]:
733         * output_plaintext.[Ch]: New files for output formats.
734         * output.[Ch]: New file for helper functions.
735
736         * buffer.[Ch]:
737         * paragraph_funcs.[Ch]: output functions moved to new files.
738
739         * outputparams.h: rename of latexrunparams.h
740
741         * LaTeX.[Ch]:
742         * buffer.[Ch]:
743         * bufferlist.[Ch]:
744         * converter.[Ch]:
745         * exporter.C:
746         * paragraph.[Ch]:
747         * paragraph_funcs.[Ch]:
748         * paragraph_pimpl.[Ch]:
749         * tabular.[Ch]: rename ascii to plaintext
750         and LatexRunParams to OutputParams.
751
752 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
753
754         * iterators.[Ch] (text): require bv argument
755         * undo.C (recordUndo):
756         * lyxfunc.C (dispatch):
757         * bufferview_funcs.C (put_selection_at): adjust
758
759 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
760
761         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
762
763 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
764
765         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
766         nestings
767
768 2003-11-04  André Pönitz  <poenitz@gmx.net>
769
770         * cursor.[Ch]: restructure
771
772         * BufferView.[Ch]:
773         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
774
775         * iterators.[Ch] (asCursor): remove
776
777         * lfuns.h: remove LFUN_INSET_EDIT
778
779         * lyxfunc.C:
780         * tabular.C:
781         * text.C:
782         * text2.C:
783         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
784
785 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
786
787         * lyxfind.[Ch]: complete overhaul
788         * BufferView_pimpl.C:
789         * lyxfunc.C: adjust
790         * paragraph.[Ch] (insert): add
791
792 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
793
794         * BufferView.[Ch]:
795         * lyxtext.h:
796         * text.C: remove dead spellcheck code
797
798 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
799
800         * dispatchresult.h: add a val setter
801
802         * cursor.C (dispatch): use a tempvar for data_[i]
803
804 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
805
806         * PosIterator.[Ch]: compile fix
807
808 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
809
810         * text.C (cursorPar): deactivate the cursor cache
811
812 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
813
814         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
815
816 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
817
818         * text3.C (dispatch): adjust for new DisptchResult semantics.
819
820         * lyxfunc.C (dispatch): handle update when return from
821         Cursor::dispatch, adjust for new DispatchResult semantics.
822
823         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
824         DispatchResult(true) mean to not update. Add class functions for
825         setting dispatched and update, as well as reading.
826
827         * cursor.C (dispatch): don't handle update here
828
829 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
830
831         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
832         * trans_mgr.C: adjust
833
834         * paragraph_funcs.C (readParToken): exception safety
835
836         * lyxvc.h: store the vcs pointer in a scoped_ptr
837         * lyxvc.C: adjust
838
839         * lyxsocket.C (serverCallback): exception safety
840
841         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
842
843         * ispell.C (clone): make it return a auto_ptr
844
845         * factory.C (createInset): exception safety
846         (readInset): exception safety
847
848         * bufferlist.C (newBuffer): exception safety
849
850         * Thesaurus.C (Thesaurus): use initialization for aik_
851
852         * MenuBackend.C (expandToc): exception safety.
853
854 2003-11-03  André Pönitz  <poenitz@gmx.net>
855
856         * buffer.C:
857         * buffer.h:
858         * bufferview_funcs.C: remove getInsetFromId()
859
860         * lyxcursor.[Ch]:
861         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
862
863         * lyxfunc.C:
864         * text2.C:
865         * text3.C: adjust
866
867 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
868
869         * PosIterator.C (distance, advance): new
870         * bufferview_funcs.[Ch] (put_selection_at): new
871         * iterators.[Ch] (lockPath): new
872
873 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
874
875         * iterators.[Ch] (asPosIterator): added
876         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
877         * PosIterator.[Ch]: added
878
879 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
880
881         * text3.C:
882         * lyxfunc.C:
883         * cursor.C (dispatch):
884         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
885
886         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
887         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
888         contructor, add a class function dispatched. Remove operator>=
889
890 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
891
892         * debug.C: only use the default constructor for debugstream
893         (lyxerr) here.
894
895         * main.C (main): include debug.h and setup the lyxerr streambuf
896         here.
897
898 2003-10-31  José Matos  <jamatos@lyx.org>
899
900         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
901
902         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
903         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
904         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
905         * paragraph_pimpl.C (simpleTeXSpecialC):
906         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
907         add LatexRunParams argument.
908
909         * exporter.C (Export): change call accordingly.
910
911         * latexrunparams.h: add new member to take care of the other backends.
912 2003-10-30  José Matos  <jamatos@lyx.org>
913
914         * buffer.C (makeLinuxDocFile, makeDocBookFile):
915         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
916         factorise code for paragraph output.
917         * buffer.[Ch]:
918         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
919         move functions.
920
921 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
922
923         * text3.C (dispatch):
924         * lyxfunc.C (dispatch):
925         * cursor.C (dispatch):
926         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
927
928         * dispatchresult.h: make the dispatch_result_t ctor explicit
929
930 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * sgml.[Ch]:
933         * buffer.C: small refactoring of docbook stuff
934
935 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
936
937         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
938         meaning.
939
940 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
943         operator dispatch_result_t, and operators for == != and >=
944
945         * cursor.C (dispatch): adjust for operator dispatch_result_t
946         removal. comment out call to update
947
948         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
949
950 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
951
952         * text3.C:
953         * text2.C:
954         * text.C:
955         * lyxtext.h:
956         * lyxfunc.C:
957         * cursor.C:
958         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
959         (dispatch):
960
961         * dispatchresult.h: new file, DispatchResult broken out of
962         insets/insetbase.h
963
964         * Makefile.am (lyx_SOURCES): add dispatchresult.h
965
966 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
967
968         * text.C (rowBreakPoint): put a hack inside #if 0
969
970 2003-10-28  André Pönitz  <poenitz@gmx.net>
971
972         * lyxtext.h:
973         * metricsinfo.C:
974         * paragraph_funcs.C:
975         * rowpainter.C:
976         * text.C:
977         * text2.C: general cleanup (lots of small stuff)
978
979 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
980
981         * text2.C (cursorEnd): simple fix to the "end key goes to one
982         before the end on last row" bug
983
984 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
985
986         * text.C (backspace): fix the "zombie characters"
987
988 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
989
990         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
991
992 2003-10-27  André Pönitz  <poenitz@gmx.net>
993
994         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
995
996         * factory.C: handle new InsetPagebreak, InsetLine
997
998         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
999         and move handling into new InsetPagebreak, InsetLine
1000
1001         * BufferView_pimpl.C:
1002         * LyXAction.C:
1003         * ParagraphParameters.C:
1004         * ParameterStruct.h:
1005         * lyxfunc.C:
1006         * lyxtext.h:
1007         * paragraph.C:
1008         * paragraph.h:
1009         * paragraph_funcs.C:
1010         * paragraph_pimpl.C:
1011         * rowpainter.C:
1012         * text.C:
1013         * text2.C:
1014         * text3.C: adjust
1015
1016 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1017
1018         * text.C:
1019         * lyxrow_funcs.[Ch]:
1020         * Bidi.C:
1021         * paragraph.C:
1022         * lyxtext.h:
1023         * rowpainter.C:
1024         * text2.C:
1025         * text3.C: remove lastPos uses in favour of Row::endpos
1026
1027 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1028
1029         * undo.C (performUndoOrRedo): fix two crashes by setting a
1030         cursor by hand and reordering some calls. Use bv->lockInset instead
1031         of inset->edit because the latter loses cursor information
1032
1033 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1034
1035         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1036         by Martin
1037         (rowBreakPoint): fix width. change point to point + 1.
1038         Add a missing check.
1039
1040 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1041
1042         * MenuBackend.C:
1043         * lyxfunc.C: fix (at least partly) the problems
1044         with the Nav menu and headers inside branch insets
1045         reported by Kayvan
1046
1047 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1048
1049         * paragraph.C (getChar): add strong asserts
1050
1051         * lyxrow_funcs.C (lastPos): remove hideous hack
1052
1053         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1054         (fill): adjust to that (avoid an infinite loop)
1055
1056 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1057
1058         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1059
1060 2003-10-23  André Pönitz  <poenitz@gmx.net>
1061
1062         * RowList_fwd.h: change list<> to vector<> to gain speed
1063         after suggestion from Alfredo
1064
1065 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1066
1067         * lyxtext.h: move the bidi stuff from here...
1068         * text.C: and here
1069         * text2.C: and here
1070         * Bidi.[Ch]: ... to here
1071
1072 2003-10-23  André Pönitz  <poenitz@gmx.net>
1073
1074         * lyxtext.h:
1075         * text.C (isLastRow, isFirstRow): new functions
1076
1077         * paragraph.h: new width cache member
1078
1079         * rowpainter.C: replace RowList::iterator with Row & where possible
1080
1081         * lyxfunc.C: replace several view()->text with a single call
1082
1083         * toc.C: fix 'unused' warning
1084
1085 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1086
1087         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1088         when woring with stream::pos_type
1089         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1090
1091 2003-10-22  André Pönitz  <poenitz@gmx.net>
1092
1093         * lyxtext.h:
1094         * text.C: use Row & instead of RowList::iterator
1095
1096         * lyxrow.h: rename end() to endpos()
1097
1098         * rowpainter.C:
1099         * text.C:
1100         * text2.C: adjust
1101
1102 2003-10-22  Angus Leeming  <leeming@lyx.org>
1103
1104         * buffer.[Ch] (fully_loaded): new member function, returning true
1105         only when the file has been loaded fully.
1106         Used to prevent the premature generation of previews and by the
1107         citation inset to prevent computation of the natbib-style label.
1108
1109         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1110         templates are all set up.
1111
1112         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1113
1114 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * text.C: fixed an "oops" in the "is a bit silly"
1117         bug fix
1118
1119 2003-10-21  André Pönitz  <poenitz@gmx.net>
1120
1121         * FuncStatus.[Ch]: small stuff, whitespace
1122
1123         * lyxfont.[Ch]: operator<<() for debug reasons
1124
1125         * lyxfunc.C:
1126         * lyxrow_funcs.C:
1127         * lyxtext.h: whitespace, spelling
1128
1129         * paragraph.C: naming of variables
1130
1131         * text.C:
1132         * text2.C: small stuff
1133
1134
1135 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * text.C: (1) finish off the inset display() work;
1138         (2) fix the "is a bit silly" bug (accessing char
1139         past end of par).
1140
1141 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1142
1143         * text.C: re-introduce display() for insets, fixing the
1144         various bugs (stretch of line above, math inset
1145         positioning, ...)
1146
1147 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * text.C (rightMargin): remove spurious semicolon
1150
1151         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1152         1415)
1153
1154 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * text3.C: fix one crash due to wrong cursor def
1157
1158 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1159
1160         * vc-backend.C (scanMaster): make the regex static
1161
1162         * LaTeX.C (scanAuxFile): make the regexs static
1163
1164         * text3.C (doInsertInset, dispatch, dispatch):
1165         * text2.C (cursorUp, cursorDown):
1166         * text.C (selectNextWordToSpellcheck):
1167         * BufferView_pimpl.C (dispatch):
1168         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1169
1170 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyxsocket.C: include <cerrno>
1173
1174 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1175
1176         * lyxfunc.C (dispatch): remove textcache stuff
1177
1178         * bufferlist.C (release): remove textcache stuff
1179         (closeAll): ditto
1180
1181         * TextCache.C: delete file
1182         * TextCache.h: delete file
1183
1184         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1185
1186         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1187         delete of the bv_->text.
1188         (resizeCurrentBuffer): remove texcache stuff
1189         (workAreaResize): ditto
1190
1191 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1192
1193         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1194         action.
1195
1196 2003-10-16  André Pönitz  <poenitz@gmx.net>
1197
1198         * lyxrow.[Ch]:
1199         * paragraph.h:
1200         * rowpainter.C:
1201         * text.C:
1202         * text2.C:
1203         * text3.C: speed up by storing y positions per paragraph plus per-row
1204         offset instead of having a 'full' y position in the row.
1205
1206 2003-10-15  André Pönitz  <poenitz@gmx.net>
1207
1208         * iterators.[Ch]:
1209         * iterators.[Ch]:
1210         * undo.[Ch]: make undo aware of inner insets
1211
1212 2003-10-14  Angus Leeming  <leeming@lyx.org>
1213
1214         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1215         static member functions LyX::ref() and LyX::cref.
1216         (lastfiles): new accessor functions for the new lastfiles_ member var.
1217         (addLyXView, views_): add a new LyXView to the list of views_.
1218         (updateInset): loop over all LyXViews to call their own updateInset
1219         member function, returning a pointer to the Buffer owning the inset.
1220
1221         * BufferView_pimpl.C (loadLyXFile):
1222         * MenuBackend.C (expandLastfiles):
1223         * bufferlist.C (MenuWrite, QuitLyX):
1224         lastfiles is no longer a global variable.
1225         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1226
1227         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1228         static function. Access through LyX::cref().emergencyCleanup().
1229
1230 2003-10-14  André Pönitz  <poenitz@gmx.net>
1231
1232         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1233
1234         * undo.[Ch]: restoring part of 'undo in insets'
1235
1236         * Makefile.am:
1237         * undo_funcs.[Ch]: merge with undo.[Ch]
1238
1239         * tabular.C: small cleansing stuff
1240
1241 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1242
1243         * paragraph_funcs.C (readParToken): report unknown insets as error
1244         boxes. Use the outer paragraph as location (also for unknown
1245         tokens).
1246
1247         * factory.C (readInset): do not abort on reading an unknown inset.
1248         Eat it and return 0.
1249
1250 2003-10-13  Angus Leeming  <leeming@lyx.org>
1251
1252         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1253
1254         * lyxrc.C: displayTranslator is now a function,
1255         declared in GraphicsTypes.h.
1256
1257 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1258
1259         * format.C: new placeholder $$a to pass the socket address.
1260
1261         * bufferlist.[Ch]: new function getBufferFromTmp.
1262
1263         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1264           files in the temporary dir.
1265
1266 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1267
1268         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1269
1270         * Makefile.am: add lyxsocket.[Ch].
1271
1272         * lyx_main.C (error_handler): handle SIGPIPE.
1273
1274 2003-10-13  André Pönitz  <poenitz@gmx.net>
1275
1276         * BufferView_pimpl.C:
1277         * lyxtext.h:
1278         * text.C:
1279         * text2.C:
1280         * text3.C:
1281         * undo_funcs.[Ch]: use paroffset_type instead of
1282           ParagraphList::iterators to prevent multiple conversion
1283           (and get a more robust interface)
1284
1285 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1286
1287         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1288         * lyxtext.h: ditto
1289         * text3.C (dispatch): ditto
1290
1291 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1292
1293         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1294         move the onlyfile, use onlyfile instead of foundfile in a couple
1295         of places.
1296
1297         * DepTable.C (update): flush the error stream a bit more
1298
1299 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * lyxserver.C (callback): adjust
1302
1303         * lyxfunc.C (getStatus): add a missing brace in commented code
1304         (ensureBufferClean): reindent
1305         (dispatch): delete version taking a string
1306
1307 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * LaTeX.C (deplog): move found file handlig from here...
1310         (handleFoundFile): .. to new function here.
1311         (deplog): make sure to discover several files mentioned on the
1312         same log line.
1313
1314 2003-10-10  André Pönitz  <poenitz@gmx.net>
1315
1316         * lyxfunc.C:
1317         * lyxtext.h:
1318         * tabular.C:
1319         * text.C:
1320         * text2.C:
1321         * text3.C: fix some of the tabular crashes
1322
1323 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1324
1325         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1326
1327         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1328
1329 2003-10-09  André Pönitz  <poenitz@gmx.net>
1330
1331         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1332
1333         * BufferView.C:
1334         * BufferView_pimpl.C:
1335         * bufferview_funcs.C:
1336         * lyx_cb.C:
1337         * lyxcursor.C:
1338         * lyxfind.C:
1339         * lyxfunc.C:
1340         * lyxtext.h:
1341         * text.C:
1342         * text2.C:
1343         * text3.C:
1344         * text_funcs.[Ch]:
1345         * textcursor.[Ch]:
1346         * undo_funcs.C: adjust
1347
1348 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1349
1350         * text2.C (incrementItemDepth): new function, use a backtracking
1351         algorithm to discover the correct item depth.
1352         (resetEnumCounterIfNeeded): new function, use a backtracking
1353         algorithm to discover if counter reset is needed.
1354         (setCounter): use them. Simplify a bit. Add different labels for
1355         different item depths for itemize.
1356
1357         * paragraph.C (Paragraph): remove initialization of enumdepth
1358         (operator=): ditto
1359
1360         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1361         enumerate and itemize. Change the type of itemdepth to signed char.
1362
1363 2003-10-08  André Pönitz  <poenitz@gmx.net>
1364
1365         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1366           thing assignable.
1367         * text.C:
1368         * text2.C: adjust
1369
1370         * tabular.[Ch]: fix crash after 'row-insert'
1371
1372 2003-10-08  Angus Leeming  <leeming@lyx.org>
1373
1374         Fix doxygen warnings.
1375
1376         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1377         Remove CutAndPaste:: prefix from header file declaration.
1378
1379         * LColor.h (fill): remove LColor:: prefix from declaration.
1380
1381         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1382         use lyx::depth_type rather than Paragraph::depth_type so that
1383         header file and .C file match.
1384
1385         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1386
1387         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1388         * aspell.C: \file aspell_local.C -> \file aspell.C
1389         * gettext.C: \file gettext.C -> \file src/gettext.C
1390         * gettext.h: \file gettext.h -> \file src/gettext.h
1391         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1392         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1393         * text.C: \file text.C -> \file src/text.C
1394
1395         * toc.C: move comment so that doxygen is not confused.
1396
1397 2003-10-07  Angus Leeming  <leeming@lyx.org>
1398
1399         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1400
1401 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1402
1403         * aspell.C:
1404         * aspell_local.h: add forgotten std::string's.
1405
1406 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1407
1408         * LaTeXFeatures.C:
1409         * LyXAction.C:
1410         * factory.C:
1411         * lfuns.h:
1412         * lyxfunc.C:
1413         * text3.C: The Box patch. Fancybox support, minipage, parbox
1414
1415 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1416
1417         * CutAndPaste.h:
1418         * DepTable.h:
1419         * FloatList.h:
1420         * LaTeXFeatures.h:
1421         * ParagraphParameters.h:
1422         * TextCache.h:
1423         * Thesaurus.h:
1424         * bufferlist.h:
1425         * exporter.h:
1426         * importer.h:
1427         * lastfiles.h:
1428         * lyxfind.h:
1429         * lyxfont.h:
1430         * lyxlex.h:
1431         * lyxtextclasslist.h:
1432         * messages.h:
1433         * paragraph.h:
1434         * paragraph_pimpl.C:
1435         * textcursor.h: add <string> and other small fixes to make Lars'
1436         std::string patch compile with STLport.
1437
1438 2003-10-06  Angus Leeming  <leeming@lyx.org>
1439
1440         * LColor.h: Add missing #include <string>.
1441
1442 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1443
1444         * All most all file in all subdirs: Make <string> be the prefered
1445         way of getting to std::string, add using declarations.
1446
1447 2003-10-06  André Pönitz  <poenitz@gmx.net>
1448
1449         * metricsinfo.C: initialize LyXFont before changing attribute.
1450         (fixes the 'math in \emph is upright' bug)
1451
1452 2003-10-06  André Pönitz  <poenitz@gmx.net>
1453
1454         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1455
1456 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * graph.C:
1459         * paragraph_pimpl.C: Small fixes to build using STLport
1460
1461 2003-10-02  André Pönitz  <poenitz@gmx.net>
1462
1463         * lyxfunc.C:
1464         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1465
1466 2003-10-01  André Pönitz  <poenitz@gmx.net>
1467
1468         * factory.C: assert early
1469
1470 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1471
1472         * lyx_main.C: remove the global debug object
1473
1474         * debug.h: adjust for new debugstream
1475
1476         * debug.C: adjust for new debugstream and keep the global debug
1477         object here.
1478
1479 2003-09-22  Angus Leeming  <leeming@lyx.org>
1480
1481         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1482         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1483         an incomplete class LyXFont.
1484
1485 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * factory.C: bug fix in branches
1488
1489 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1490
1491         * lyxfunc.C (processKeySym): adjust
1492         (dispatch): adjust
1493         (dispatch): change arg name from ev to func, adjust
1494         (sendDispatchMessage): ditto
1495
1496         * lyx_main.C (defaultKeyBindings): adjust keybindings
1497         (deadKeyBindings): ditto
1498
1499         * kbsequence.C (addkey): return a FuncRequest
1500
1501         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1502
1503         * kbmap.C (bind): take a FuncRequest as arg, adjust
1504         (read): adjust
1505         (lookup): adjust
1506         (defkey): change to take a FuncRequest as arg, adjust
1507         (findbinding): take a FuncRequest as arg, adjust.
1508
1509         * funcrequest.h (operator=): added
1510
1511         * funcrequest.C (FuncRequest): default kb_action changed from
1512         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1513
1514         * buffer.C (dispatch): simplify
1515         (dispatch): adjust to take a FuncRequest as arg, adjust
1516
1517         * boost.C (assertion_failed): change assertion message slightly
1518
1519         * ToolbarBackend.C (read): simplify
1520
1521         * MenuBackend.C (binding): adjust call to findbinding, add a
1522         message if no binding is found.
1523         (read): simplify
1524         (expandToc): correct by adding a empty FuncRequest
1525
1526         * LyXAction.C: include <boost/assert.hpp>
1527         (isPseudoAction): delete function
1528         (LookupFunc): change name to...
1529         (lookupFunc): this. change return type to FuncRequest.
1530         (getActionName): take kb_action as arg, simplify
1531         (funcHasFlag): add an assert, simplify.
1532
1533 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * toc.C (action): return a FuncRequest, simplify
1536
1537         * lyxfunc.C (processKeySym): adjust
1538         (getStatus): delete version that takes an int.
1539         (getStatus): adjust
1540         (dispatch): delete version that takes action as int
1541         (dispatch): adjust
1542         (sendDispatchMessage): simplify and adjust
1543
1544         * funcrequest.C (getArg): take unsigned int as arg
1545
1546         * ToolbarBackend.C (read): adjust
1547         (add): delete version that takes func as a string.
1548         (getIton): take a FuncRequest as arg
1549
1550         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1551         action.
1552
1553         * MenuBackend.C (MenuItem): add a new construct that only takes a
1554         Kind, simplify the constructor use for submenus.
1555         (add): adjust
1556         (expandLastfiles): adjust
1557         (expandDocuments): adjust
1558         (expandFormats): adjust
1559         (expandFloatListInsert): adjust
1560         (expandFloatInsert): adjust
1561         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1562
1563         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1564         Remove class variables lyx_pseudo_map and lyx_arg_map
1565
1566         * LyXAction.C (searchActionArg): delete function
1567         (getPseudoAction): delete function
1568         (retrieveActionArg): delete function
1569         (LookupFunc): make it return kb_action, simplify.
1570         (getActionName): simplify
1571
1572         * factory.C (createInset): fix new bug
1573
1574 2003-09-19  Angus Leeming  <leeming@lyx.org>
1575
1576         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1577         masterFilename_ parameter in the include inset.
1578
1579         * factory.C (createInset): changes due to the changes to InsetInclude.
1580
1581 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1582
1583         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1584
1585 2003-09-18  Angus Leeming  <leeming@lyx.org>
1586
1587         * buffer.C:
1588         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1589         Inset::fillWithBibKeys.
1590         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1591
1592 2003-09-18  Angus Leeming  <leeming@lyx.org>
1593
1594         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1595         variables.
1596         (ctor): pass and store a 'Buffer const &'
1597         (buffer): new member function.
1598
1599         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1600         '*this' to the LaTeXFeatures ctor.
1601
1602 2003-09-18  Angus Leeming  <leeming@lyx.org>
1603
1604         * LColor.h:
1605         * lyxfont.C:
1606         * lyxfont.h:
1607         * lyxtext.h:
1608         * text.C: rename EnumLColor as LColor_color.
1609
1610 2003-09-18  Angus Leeming  <leeming@lyx.org>
1611
1612         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1613         remove #include "insets/insetbase.h" from cursor.h.
1614
1615 2003-09-18  Angus Leeming  <leeming@lyx.org>
1616
1617         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1618         InsetOld_code to remove #include "inset.h".
1619
1620         * iterators.C: add #include "insets/inset.h"
1621
1622 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1623
1624         * BufferView.C: remove more locking stuff that apparently doesn't
1625         do anything sensible.
1626
1627 2003-09-16  André Pönitz  <poenitz@gmx.net>
1628
1629         * paragraph.[Ch]:
1630         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1631           performance boost.
1632
1633 2003-09-16  Angus Leeming  <leeming@lyx.org>
1634
1635         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1636
1637         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1638         arg/return type.
1639
1640         * paragraph.h: remove #include "lyxfont.h". Forward declare
1641         LyXFont_size.
1642
1643 2003-09-16  Angus Leeming  <leeming@lyx.org>
1644
1645         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1646         of support/textutils.h.
1647         (isWord): move the contents of support/textutils.h's IsWordChar here.
1648
1649         * buffer.C:
1650         * lyxfind.C:
1651         * rowpainter.C:
1652         * text.C:
1653         * text2.C: add #include "paragraph.h".
1654
1655         * rowpainter.C:
1656         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1657
1658 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * main.C:
1661         * lyx_main.C:
1662         * lyx_cb.C:
1663         * buffer.C:
1664         * LaTeX.C: use namespace alias for lyx::support::os
1665
1666 2003-09-16  Angus Leeming  <leeming@lyx.org>
1667
1668         * bufferparams.C:
1669         * bufferview_funcs.C:
1670         * factory.C:
1671         * lyxfunc.C:
1672         * paragraph_pimpl.C:
1673         * rowpainter.C:
1674         * text.C: add #include "LColor.h".
1675
1676 2003-09-16  Angus Leeming  <leeming@lyx.org>
1677
1678         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1679         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1680         return LyXFont &.
1681         Store the FontBits::color variable as an int rather than as an
1682         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1683         file.
1684
1685         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1686         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1687         string calls together.
1688
1689         * lyxrc.C: add #include "LColor.h".
1690
1691 2003-09-15  Angus Leeming  <leeming@lyx.org>
1692
1693         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1694         a cow_ptr.
1695
1696 2003-09-15  Angus Leeming  <leeming@lyx.org>
1697
1698         * LColor.h: add an EnumLColor wrapper for LColor::color.
1699
1700         * lyxfont.[Ch] (color, setColor, realColor):
1701         * lyxtext.h, text.C (backgroundColor):
1702         pass EnumLColor args to/from the functions, rather than LColor::color
1703         ones.
1704
1705         * lyxfont.h:
1706         * lyxtext.h: forward declare EnumLColor.
1707
1708         * lyx_main.C: add #include "LColor.h".
1709
1710 2003-09-15  Angus Leeming  <leeming@lyx.org>
1711
1712         * .cvsignore: add lyx-gtk.
1713
1714 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * Chktex.C
1717         * LaTeX.C
1718         * LaTeXFeatures.C
1719         * ParagraphParameters.C
1720         * Spacing.C
1721         * buffer.C
1722         * bufferparams.C
1723         * bufferview_funcs.C
1724         * chset.C
1725         * counters.C
1726         * funcrequest.C
1727         * lyxfont.C
1728         * lyxgluelength.C
1729         * lyxlength.C
1730         * paragraph.C
1731         * paragraph_funcs.C
1732         * text3.C
1733         * vc-backend.C: remove usage of STRCONV
1734
1735 2003-09-15  Angus Leeming  <leeming@lyx.org>
1736
1737         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1738         explicitly define the color passed to the painter.
1739
1740 2003-09-15  Angus Leeming  <leeming@lyx.org>
1741
1742         * bufferparams.C (BufferParams): reorder member initializers to avoid
1743         compiler warning.
1744
1745 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1748         * text.C (updateRowPositions): remove an unusual nop
1749
1750 2003-09-12  André Pönitz  <poenitz@gmx.net>
1751
1752         * BufferView_pimpl.C:
1753         * Bullet.C:
1754         * layout.h:
1755         * lyxfunc.C:
1756         * lyxlayout.[Ch]:
1757         * lyxtextclass.C:
1758         * rowpainter.C:
1759         * text.C:
1760         * text2.C:
1761         * Counters.[Ch]: finish the 'automatic counters' job
1762
1763 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1764
1765         * aspell.C: include <boost/assert.cpp> (compile fix)
1766
1767 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1768
1769         * boost.C (assertion_failed): use lyx::support::abort instead of
1770         assert.
1771
1772 2003-09-10  Angus Leeming  <leeming@lyx.org>
1773
1774         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1775         with their _fwd progeny.
1776
1777 2003-09-09  Angus Leeming  <leeming@lyx.org>
1778
1779         134 files throughtout the source tree: replace 'using namespace abc;'
1780         directives with the appropriate 'using abc::xyz;' declarations.
1781
1782 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1783
1784         * boost.C (emergencyCleanup): moved here from LAssert.c
1785         (assertion_failed): new function, called by BOOST_ASSERT
1786
1787         * several files: change Assert to BOOST_ASSERT
1788
1789 2003-09-09  Angus Leeming  <leeming@lyx.org>
1790
1791         * buffer.[Ch]: Add an Impl class and move Buffer's member
1792         variables into it. As a result move several header files out of
1793         buffer.h.
1794
1795         Add header files to lots of .C files all over the tree as a result.
1796
1797 2003-09-09  Angus Leeming  <leeming@lyx.org>
1798
1799         * buffer.[Ch]: make Buffer's member variables private. Add
1800         accessor functions.
1801
1802         Lots of changes all over the tree as a result.
1803
1804 2003-09-08  Angus Leeming  <leeming@lyx.org>
1805
1806         * graph.C: #include <config.h>.
1807
1808 2003-09-08  Angus Leeming  <leeming@lyx.org>
1809
1810         * BranchList.C:
1811         * BufferView.C:
1812         * BufferView_pimpl.C:
1813         * CutAndPaste.C:
1814         * DepTable.C:
1815         * LaTeX.C:
1816         * LaTeXFeatures.C:
1817         * LyXAction.C:
1818         * MenuBackend.C:
1819         * TextCache.C:
1820         * aspell.C:
1821         * buffer.C:
1822         * bufferlist.C:
1823         * changes.C:
1824         * chset.C:
1825         * converter.C:
1826         * counters.C:
1827         * debug.C:
1828         * graph.C:
1829         * ispell.C:
1830         * lyx_cb.C:
1831         * lyxfind.C:
1832         * lyxfunc.C:
1833         * lyxlex_pimpl.C:
1834         * lyxrc.C:
1835         * lyxrow.C:
1836         * paragraph.C:
1837         * rowpainter.C:
1838         * texrow.C:
1839         * text.C:
1840         * text2.C:
1841         * toc.C: remove redundant using directives.
1842
1843 2003-09-07  Angus Leeming  <leeming@lyx.org>
1844
1845         * LaTeXFeatures.h: remove #include "support/types.h".
1846         * ToolbarBackend.h: remove #include <algorithm>.
1847         * changes.h: remove #include <ctime>.
1848         * debug.h: remove #include <iosfwd>.
1849         * graph.h: remove #include "support/std_string.h".
1850         * lyx_main.h: remove #include <csignal>.
1851         * lyxlex_pimpl.h: remove #include <fstream>.
1852         * sgml.h: remove #include <algorithm>, <utility>.
1853         * toc.h: remove #include "support/std_ostream.h".
1854         Add #include <iosfwd>.
1855
1856 2003-09-07  Angus Leeming  <leeming@lyx.org>
1857
1858         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1859
1860         * converter.h: forward declare LatexRunParams.
1861         * encoding.h: remove #include "lyxrc.h".
1862         * lyxtext.h: remove #include "LColor.h".
1863         * lyxtextclass.h: remove #include "support/types.h".
1864         * trans.h: remove #include "tex-accent.h".
1865         * trans_mgr.h: remove #include "tex-accent.h".
1866         * insets/inset.h: remove #include "support/types.h", <vector>.
1867         * insets/insetcollapsable.h: remove #include "LColor.h".
1868         * insets/insetinclude.h: remove #include "dimension.h".
1869         * insets/insetlatexaccent.h: remove #include "dimension.h".
1870         * insets/insetoptarg.h:: remove #include "insettext.h".
1871         * insets/insettext.h: remove #include "dimension.h",
1872         <boost/shared_ptr.hpp>
1873
1874         * insets/renderers.h: add #include "dimension.h".
1875         * insets/updatableinset.h: add #include "support/types.h".
1876
1877         * many .C files: Associated changes.
1878
1879 2003-09-06  Angus Leeming  <leeming@lyx.org>
1880
1881         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1882         one, inside testInvariant.
1883
1884         * PrinterParams.C: new file.
1885         * PrinterParams.[Ch]: move the function bodies out of line.
1886
1887 2003-09-06  Angus Leeming  <leeming@lyx.org>
1888
1889         * ParagraphParameters.h: forward declare ParameterStruct rather than
1890         including its header file.
1891         (depth): moved out-of-line.
1892
1893 2003-09-06  Angus Leeming  <leeming@lyx.org>
1894
1895         * BufferView_pimpl.h:
1896         * kbmap.h:
1897         * kbsequence.h:
1898         * lyxfunc.h: forward declare LyXKeySym rather than
1899         #include "frontends/LyXKeySym.h".
1900
1901         * BufferView_pimpl.C:
1902         * kbmap.C:
1903         * kbsequence.C:
1904         * lyxfunc.C: associated changes.
1905
1906 2003-09-06  Angus Leeming  <leeming@lyx.org>
1907
1908         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1909         As a result, can remove the #include "insets/inset.h" from BufferView.h
1910
1911 2003-09-06  Angus Leeming  <leeming@lyx.org>
1912
1913         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1914         As a result, can remove the #include "insets/inset.h" from BufferView.h
1915
1916 2003-09-06  Angus Leeming  <leeming@lyx.org>
1917
1918         * buffer_funcs.C:
1919         * buffer.h:
1920         * bufferlist.C:
1921         * BufferView.C:
1922         * bufferview_funcs.C:
1923         * BufferView_pimpl.C:
1924         * CutAndPaste.C:
1925         * lyx_cb.C:
1926         * lyxfunc.C:
1927         * paragraph.h:
1928         * ParagraphParameters.C:
1929         * tabular.C:
1930         * text3.C:
1931         * toc.C:
1932         * undo_funcs.C:
1933         * frontends/controllers/ControlDocument.C:
1934         * insets/insetcaption.C: rearrange the #includes into some sort of
1935         coherent order.
1936
1937         * buffer.h: remove #includes ErrorList.h, undo.h
1938
1939 2003-09-06  Angus Leeming  <leeming@lyx.org>
1940
1941         * support/types.h: add a 'depth_type' typedef, used to store the
1942         nesting depth of a paragraph.
1943
1944         * paragraph.h:
1945         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1946         defining explicitly.
1947
1948         * buffer.h:
1949         * paragraph_funcs.h:
1950         * ParagraphParameters.h:
1951         * sgml.h: use lyx::depth_type rather than Paragraph or
1952         ParameterStruct's depth_type.
1953
1954         * buffer.h
1955         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1956
1957         * BufferView.C:
1958         * BufferView_pimpl.C:
1959         * CutAndPaste.C:
1960         * ParagraphParameters.C:
1961         * buffer_funcs.C:
1962         * bufferlist.C:
1963         * bufferview_funcs.C:
1964         * lyx_cb.C:
1965         * lyxfunc.C:
1966         * tabular.C:
1967         * text3.C:
1968         * toc.C:
1969         * undo_funcs.C:
1970         * frontends/LyXView.C:
1971         * frontends/controllers/ControlDocument.C:
1972         * frontends/controllers/ControlErrorList.C:
1973         * insets/insetbibitem.C:
1974         * insets/insetbranch.C:
1975         * insets/insetcaption.C:
1976         * insets/insetcollapsable.C:
1977         * insets/insetenv.C:
1978         * insets/insetert.C:
1979         * insets/insetfloat.C:
1980         * insets/insetfoot.C:
1981         * insets/insetfootlike.C:
1982         * insets/insetnewline.C:
1983         * insets/insetquotes.C:
1984         * insets/insettabular.C:
1985         * insets/insettext.C:
1986         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1987
1988         * frontends/controllers/ControlChanges.C: #include "changes.h".
1989
1990 2003-09-06  Angus Leeming  <leeming@lyx.org>
1991
1992         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1993         than #including paragraph.h.
1994
1995         * ParagraphList.h:
1996         * RowList.h: deleted. Superfluous.
1997
1998         * CutAndPaste.h:
1999         * iterators.h:
2000         * lyxcursor.h:
2001         * lyxtext.h:
2002         * text_funcs.h:
2003         * undo.h:
2004         * undo_funcs.h:
2005         * insets/inset.h:
2006         * insets/insettext.h: use ParagraphList_fwd.h rather than
2007         ParagraphList.h.
2008
2009         * paragraph.h: don't forward declare ParagraphList.
2010
2011         * buffer.h:
2012         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2013         rather than ParagraphList.h. paragraph.h is still needed for the
2014         Paragraph::depth_type parameters.
2015
2016         * textcursor.h: enable it to compile stand-alone in light of the
2017         above changes.
2018
2019         * bufferview_funcs.C:
2020         * iterators.C:
2021         * lyxfunc.C:
2022         * lyxrow_funcs.C:
2023         * paragraph.C:
2024         * rowpainter.C:
2025         * text.C:
2026         * text2.C:
2027         * text3.C:
2028         * text_funcs.C:
2029         * textcursor.C:
2030         * undo.C:
2031         * frontends/controllers/ControlParagraph.C:
2032         * frontends/controllers/ControlTabular.C:
2033         * insets/insetmarginal.C:
2034         * insets/insetminipage.C:
2035         * insets/insetnote.C:
2036         * insets/insetoptarg.C: add header files needed to compile again.
2037
2038 2003-09-06  Angus Leeming  <leeming@lyx.org>
2039
2040         * RowList_fwd.h: new file, forward-declaring Row rather than
2041         #including lyxrow.h.
2042
2043         * lyxrow_funcs.h:
2044         * lyxtext.h:
2045         * paragraph.h:
2046         * insets/insettext.h: use it instead of RowList.h
2047
2048         * bufferview_funcs.C:
2049         * lyxfunc.C:
2050         * lyxrow_funcs.C:
2051         * paragraph.C:
2052         * rowpainter.C:
2053         * text.C:
2054         * text2.C:
2055         * text3.C: #include "RowList.h".
2056
2057 2003-09-05  Angus Leeming  <leeming@lyx.org>
2058
2059         * factory.C (createInset):
2060         * vspace.C (c-tor): replace sscanf call with an istringstream.
2061         * ispell.C: re-add missing HP/UX headers.
2062         * lyxserver.C: re-add missing  os2 headers.
2063
2064 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2065
2066         * BranchList.C:
2067         * graph.C:
2068         * ispell.C:
2069         * lastfiles.C:
2070         * lyx_cb.C:
2071         * lyxserver.C:
2072         * texrow.C:
2073         * text3.C: re-add missing system headers, needed for 2.95.2.
2074
2075 2003-09-05  Angus Leeming  <leeming@lyx.org>
2076
2077         Changes most place everywhere due to the removal of using directives
2078         from support/std_sstream.h.
2079
2080 2003-09-05  Angus Leeming  <leeming@lyx.org>
2081
2082         Replace LString.h with support/std_string.h,
2083         Lsstream.h with support/std_sstream.h,
2084         support/LIstream.h with support/std_istream.h,
2085         support/LOstream.h with support/std_ostream.h.
2086
2087         Changes resulting throughout the tree.
2088
2089 2003-09-05  Angus Leeming  <leeming@lyx.org>
2090
2091         * sgml.h: ensure that the header file can be compiled stand-alone.
2092         * *.C: strip out redundant #includes. (320 in total.)
2093
2094 2003-09-04  Angus Leeming  <leeming@lyx.org>
2095
2096         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2097         here (from getPackages).
2098
2099         * debug.[Ch]: add a new EXTERNAL tag.
2100
2101 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2102
2103         * text2.C (cursorEnd): simplify
2104         (setCursor): adjust
2105         (getColumnNearX): adjust
2106
2107         * text.C (computeBidiTables): adjust
2108         (fill): adjust
2109
2110         * rowpainter.C (paintChars): adjust
2111         (paintSelection): adjust
2112         (paintChangeBar): adjust
2113         (paintText): adjust
2114
2115         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2116         lastPos instead.
2117         (numberOfSeparators): adjust
2118
2119 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2120
2121         * LyXAction.C:
2122         * box.[Ch]:
2123         * lfuns.h:
2124         * lyxfunc.C:
2125         * text3.C: Restricts the mouse click functionality
2126         of insets like bibtex, include, toc and floatlist to the visible
2127         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2128         up the dialogs. Cursor has to be in front of the inset (i.e.
2129         start of row) for this to function.
2130
2131 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2132
2133         * bufferview_funcs.C (currentState): output row information
2134
2135 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2136
2137         * bufferview_funcs.C (currentState): output paragraph position
2138
2139 2003-09-04  Angus Leeming  <leeming@lyx.org>
2140
2141         * FloatList.h: move out #include "Floating.h".
2142         * LaTeX.h: move out #include "DepTable.h".
2143         * LyXAction.h: move out #include "funcrequest.h".
2144         * buffer.h: move out #include "author.h", "iterators.h".
2145         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2146         * lyx_main.h: move out #include "errorlist.h".
2147         * lyxfunc.h: move out #include "FuncStatus.h".
2148         * lyxtext: move out #include "lyxcursor.h".
2149         * paragraph_pimpl.h: move out #include "counters.h".
2150
2151 2003-09-03  Angus Leeming  <leeming@lyx.org>
2152
2153         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2154         preamble_snippets list, enabling us to add snippets to the preamble
2155         only if the snippet was not there already.
2156
2157 2003-09-04  Angus Leeming  <leeming@lyx.org>
2158
2159         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2160
2161 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2162
2163         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2164         update
2165
2166 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * BranchList.C: point fix, earlier forgotten
2169
2170 2003-09-02  Angus Leeming  <leeming@lyx.org>
2171
2172         * box.C (contains): renamed from 'contained' after a fantastic
2173         amount of hot air.
2174
2175 2003-09-02  John Levon  <levon@movementarian.org>
2176
2177         * BufferView.C:
2178         * lyxcursor.h:
2179         * lyxcursor.C:
2180         * lyxfunc.C:
2181         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2182
2183 2003-09-02  John Levon  <levon@movementarian.org>
2184
2185         * text2.C: simplification of cursorEnd(), including partial
2186         fix for bug 1376
2187
2188 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * buffer.C (readFile): add a space
2191
2192 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2195
2196 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2197
2198         * buffer.C (readFile): new function, take a filename and a
2199         ParagraphList::iterator
2200         (readFile): adjust
2201         (readFile): adjust, make it private. don't use setStream, make
2202         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2203         always contain the filename.
2204
2205         * BufferView.C (insertLyXFile): simplify and make it work for
2206         gzipped files.
2207
2208 2003-08-30  John Levon  <levon@movementarian.org>
2209
2210         * Makefile.am: fix dist (from Kayvan)
2211
2212 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * most files: change to use const Buffer refs
2215
2216 2003-08-27  André Pönitz  <poenitz@gmx.net>
2217
2218         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2219         on top of ownerPar().
2220
2221 2003-08-27  John Levon  <levon@movementarian.org>
2222
2223         * funcrequest.C: properly initialise POD members
2224
2225 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * lyxtext.h (top_y): move top_y from here
2228         * text.C:
2229         * text2.C:
2230         * text3.C:
2231         * BufferView.[Ch]:
2232         * BufferView_pimpl.[Ch]: to here
2233         * frontends/screen.C:
2234         * insets/insettabular.C:
2235         * insets/insettext.C: adjust
2236         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2237
2238 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * BufferView.[Ch]:
2241         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2242
2243 2003-08-26  André Pönitz  <poenitz@gmx.net>
2244
2245         * paragraph_func.[Ch] (outerPar): new function
2246
2247         * paragraph.C:
2248         * paragraph_funcs.C:
2249         * paragraph_funcs.h:
2250         * paragraph_pimpl.C:
2251         * text2.C: remove Inset::par_owner
2252
2253 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2254
2255         * lyxrow_funcs.C:
2256         * lyxtext.h:
2257         * text.C:
2258         * text2.C: eliminates the needFullRow/display() stuff
2259         altogether, putting the logic in metrics/draw in the insets.
2260
2261 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2262
2263         * text2.C (redoParagraphInternal, redoParagraphs):
2264         * text.C (redoParagraph): add a call to updateRowPositions at the
2265         end of each 'metrics-like' call. Remove all others.
2266         (getRow): remove the 'y-computing' version.
2267         (getRowNearY): do not compute nor return the real y. Solve the
2268         'y < 0' problem and simplify.
2269
2270 2003-08-22  Angus Leeming  <leeming@lyx.org>
2271
2272         * *.[Ch]: clean-up of licence and author blurbs.
2273         Also move config.h out of a few .h files and into a few .C files.
2274
2275 2003-08-22  André Pönitz  <poenitz@gmx.net>
2276
2277         * lyxrow.[Ch]: add x_ and *fill_ members
2278
2279         * lyxtext.h:
2280         * text.C:
2281         * rowpainter.C:
2282         * text2.C: adjust/remove prepareToPrint() calls
2283
2284 2003-08-22  André Pönitz  <poenitz@gmx.net>
2285
2286         * lyxrow.[Ch]: add  end_ member
2287
2288         * lyxrow_funcs.C: use LyXRow::end_
2289
2290         * lyxtext.h (singleWidth): add LyXFont parameter
2291
2292         * rowpainter.C:
2293         * text2.C: adjust LyXText::singleWidth() calls
2294
2295         * text.C (redoParagraph): simplify row breaking logic
2296
2297
2298 2003-08-19  André Pönitz  <poenitz@gmx.net>
2299
2300         * funcrequest.C: initialize button_ member
2301
2302         * text3.C:
2303         * rowpainter.[Ch]: interface consolidation
2304
2305 2003-08-18  André Pönitz  <poenitz@gmx.net>
2306
2307         * BufferView.C:
2308         * BufferView_pimpl.C:
2309         * lyxfind.C:
2310         * paragraph_funcs.C:
2311         * rowpainter.C:
2312         * text3.C: remove LyXScreen::draw() and fitCursor calls
2313
2314         * BranchList.h: remove spurious semicolons
2315
2316         * MenuBackend.C: fix branchlist related crash
2317
2318 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2319
2320         * BranchList.[Ch]:
2321         * InsetList.[Ch]:
2322         * LColor.[Ch]:
2323         * LyXAction.C:
2324         * Makefile.am:
2325         * MenuBackend.[Ch]:
2326         * bufferparams.[Ch]:
2327         * factory.C:
2328         * lfuns.h:
2329         * lyxfunc.C:
2330         * text3.C: implements the 'branch inset'
2331         idea. This allows the output of various versions of a document
2332         from a single source version, selectively outputing or suppressing
2333         output of parts of the text.
2334         This implementation contains a 'branch list editor' in a separate
2335         tab of the document settings dialog. Branches are user definable
2336         and have a "display colour" to distinguish them on-screen.
2337
2338         ColorHandler was somewhat cleaned up.
2339         (1) make possible a dynamically growing LColor list by allowing
2340         the graphic context cache to grow along (vector);
2341         (2) eliminate an IMHO unnecessary step in colour allocation.
2342
2343 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2344
2345         * BufferView_pimpl.C: compile fix
2346
2347 2003-08-15  André Pönitz  <poenitz@gmx.net>
2348
2349         * rowpainter.C: remove extra metrics calls
2350
2351         * lyxtext.h: merge the two constructors into a single one,
2352           pass reference to owner's par list
2353
2354         * BufferView_pimpl.C:
2355         * text.C:
2356         * text2.C: adjust
2357
2358 2003-08-15  André Pönitz  <poenitz@gmx.net>
2359
2360         * lyxrow_funcs.[Ch]:
2361         * lyxtext.h:
2362         * paragraph.h:
2363         * paragraph_funcs.C:
2364         * rowpainter.C:
2365         * text.C:
2366         * text2.C:
2367         * text3.C:
2368         * text_funcs.C: split LyXText::rowlist_ into individual
2369         Paragraph::rows_ chunks
2370
2371         * BufferView.[Ch]:
2372         * BufferView_pimpl.[Ch]:
2373         * lyxfind.C:
2374         * lyxtext.h:
2375         * text3.C: remove toggleSelection()
2376
2377 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2378
2379         * bufferlist.C: beautify two alerts (shorter text of buttons)
2380         * buffer.C: Remove redundant ' ' from message
2381         * tabular.h:
2382         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2383         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2384         rename VALIGN_CENTER to VALIGN_MIDDLE
2385
2386 2003-08-11  André Pönitz  <poenitz@gmx.net>
2387
2388         * lyxtext.h (getPar):
2389         * text.C: new function
2390
2391 2003-08-11  André Pönitz  <poenitz@gmx.net>
2392
2393         * Makefile.am:
2394         * tracer.[Ch]: remove unneeded files
2395
2396         * InsetList.[Ch]: remove resizeInsetsLyXText()
2397
2398         * lyxtext.h:
2399         * text.C:
2400         * text2.C:
2401         * text3.C: merge insertParagraphs() and appendParagraph()
2402         remove breakAgain(), update()
2403
2404         * BufferView_pimpl.[Ch]:
2405         * bufferview_funcs.[Ch]:
2406         * lyxfunc.C:
2407         * paragraph.[Ch]:
2408         * rowpainter.C:
2409         * tabular.C: adjust after text & InsetList changes.
2410
2411 2003-08-08  André Pönitz  <poenitz@gmx.net>
2412
2413         * text.C (insertChar, backspace): replace rowlist fiddling
2414         with rebreak of full par
2415
2416         * lyxtext.h:
2417         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2418         checkParagraph, updateInset): removed
2419
2420 2003-08-07  André Pönitz  <poenitz@gmx.net>
2421
2422         * paragraph.C:
2423         * text3.C: merge some LFUN handlers, remove dead code
2424
2425 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2428
2429 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2430
2431         * text2.C (DEPM): fix part of bug 1255 and 1256
2432
2433 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * BufferView_pimpl.C (workAreaDispatch): change to use
2436         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2437         that are no mouse related.
2438
2439 2003-08-05  André Pönitz  <poenitz@gmx.net>
2440
2441         * BufferView.[Ch]:
2442         * BufferView_pimpl.[Ch]:
2443         * bufferview_funcs.C:
2444         * text2.C:
2445         * text3.C: rip out "deep update"
2446
2447         * textcursor.[Ch] (last_sel_cursor): remove unused member
2448
2449 2003-08-04  André Pönitz  <poenitz@gmx.net>
2450
2451         * BufferView.[Ch]:
2452         * BufferView_pimpl.[Ch]:
2453         * ParagraphParameters.C:
2454         * bufferview_funcs.C:
2455         * lyx_cb.C:
2456         * lyxfind.C:
2457         * lyxfunc.C:
2458         * text.C:
2459         * text2.C:
2460         * text3.C: replace "complicated" BufferView::update(...) calls with
2461         simpler ones.
2462
2463         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2464
2465 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2466
2467         * Makefile.am (lyx_SOURCES): add paper.h
2468
2469 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2470
2471         * Makefile.am: move things around so that both lyx-qt and
2472         lyx-xforms can be built (according to --with-frontend). Then lyx
2473         is a symbolic link to lyx-[firstfrontend]
2474
2475 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2476
2477         * Always use std::endl with lyxerr
2478
2479 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2480
2481         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2482
2483 2003-08-01  André Pönitz  <poenitz@gmx.net>
2484
2485         * BufferView.[Ch]:
2486         * BufferView_pimpl.[Ch]:
2487         * lyxfunc.C:
2488         * text3.C: merge BufferView::repaint() and BufferView::update()
2489
2490 2003-08-01  José Matos  <jamatos@lyx.org>
2491
2492         * buffer.[Ch]: file_format is no longer a buffer data element.
2493
2494 2003-08-01  André Pönitz  <poenitz@gmx.net>
2495
2496         * BufferView.C:
2497         * lyxtext.h:
2498         * text.C:
2499         * text2.C: make redoParagraph more independent of current cursor
2500
2501         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2502         * text.C:
2503         * text2.C: remove unneeded members
2504
2505 2003-07-30  André Pönitz  <poenitz@gmx.net>
2506
2507         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2508
2509         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2510           create a single function...
2511
2512         * paragraph_funcs.C (moveItem): ... here.
2513
2514         * text.C:
2515           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2516
2517 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2518
2519         * LColor.[Ch]: Add comment and greyedout logical colors.
2520
2521 2003-07-30  André Pönitz  <poenitz@gmx.net>
2522
2523         * tabular.C: don't use Assert too heavily. This crashes where it
2524           shouldn't
2525
2526 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2527
2528         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2529         is disabled (bug 1232)
2530
2531 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2532
2533         * factory.C: limited 'arg' scope
2534
2535 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2536
2537         * factory.C: fixed Note submenu issues
2538
2539 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * factory.C: submenu for Note/Comment/Greyedout
2542
2543 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2544
2545         * lyx_main.C (LyX):
2546         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2547
2548 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2549
2550         * LaTeXFeatures.C:
2551         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2552         greyedout. Patch provided by Jürgen Spitzmüller.
2553
2554 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2555
2556         * kbmap.C (read): fix error message when reading bind files
2557
2558 2003-07-29  Angus Leeming  <leeming@lyx.org>
2559
2560         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2561         certainly does not do what it purports to do. I am doing it, and
2562         us, a favour by killing it.
2563
2564 2003-07-28  José Matos  <jamatos@lyx.org>
2565
2566         * buffer.C (readBody, do_writeFile):
2567         * paragraph.C(readParagraph): \end_document replaces \the_end.
2568
2569 2003-07-29  André Pönitz  <poenitz@gmx.net>
2570
2571         * BufferView.[Ch]:
2572         * BufferView_pimpl.[Ch]:
2573         * lyxfunc.C:
2574         * text2.C:
2575         * text3.C:
2576         * textcursor.[Ch]: remove toggleToggle & Co
2577
2578 2003-07-28  José Matos  <jamatos@fep.up.pt>
2579
2580         * buffer.C (readParagraph):
2581         * params_func (readParToken, readParagraph):
2582         * paragraph.C (write): \layout -> \begin_layout.
2583
2584 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * lyxlex_pimpl.C (setFile): clean up slightly.
2587
2588         * bufferparams.h: add compressed var
2589
2590         * buffer_funcs.C (readFile): adjust for LyXLex change
2591         (newFile): ditto + simplify
2592
2593         * buffer.C (writeFile): handle writing of compressed files
2594
2595         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2596         Check if the file is compressed and set a bufferparm if so.
2597
2598         * Makefile.am (lyx_LDADD): remove explicit -lz
2599
2600 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2601
2602         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2603         makeDocBookFile): put the real LyX version in the first line of
2604         the file
2605
2606         * version.h:
2607         * version.C.in: remove lyx_docversion
2608
2609         * tabular.C (write_attribute): add a template-based version to
2610         write enums properly
2611
2612 2003-07-28  André Pönitz  <poenitz@gmx.net>
2613
2614         * lyxtext.h:
2615         * text.C:
2616         * text2.C:
2617         * text3.C: use doubles again for x-coordinates. They are needed.
2618
2619 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * messages.C (getLocaleDir): use lyx_localedir()
2622
2623         * lyxlex_pimpl.C (setFile): compress stuff
2624
2625         * buffer.C (writeFile): add some compression stuff
2626         (do_writeFile): new func, dont call expliti close... will this
2627         breake anything?
2628
2629         * Makefile.am (lyx_LDADD): add -lz
2630
2631 2003-07-28  José Matos  <jamatos@fep.up.pt>
2632
2633         * buffer.C: increment file format.
2634         * paragraph_funcs (readParagraph, readParToken):
2635         * paragraph.C (readParagraph): add \end_layout.
2636
2637 2003-07-27  Angus Leeming  <leeming@lyx.org>
2638
2639         * Makefile.am: remove special casing for configure-time setting of
2640         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2641
2642         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2643         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2644
2645 2003-07-26  André Pönitz  <poenitz@gmx.net>
2646
2647         * paragraph_func.[Ch]:
2648         * paragraph.C (realizeFont): inline it whereever it is used
2649
2650         * rowpainter.C:
2651         * text.C:
2652         * text2.C:
2653         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2654
2655
2656 2003-07-26  André Pönitz  <poenitz@gmx.net>
2657
2658         *       lyxtext.h:
2659         * text.C:
2660         * text2.C: get rid of LyXText::need_break_row
2661
2662 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * toc.[Ch]: put namespace toc inside namespace lyx
2665
2666         * MenuBackend.C (expandToc2): adjust for lyx::toc
2667         (expandToc): ditto
2668
2669         * lyxfunc.C (dispatch): adjust for lyx::find
2670
2671         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2672         lyx::find instead. Reorganize a bit.
2673         (LyXReplace): rename to replace
2674         (LyXFind): rename to find
2675
2676         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2677         (dispatch): ditto
2678
2679 2003-07-26  André Pönitz  <poenitz@gmx.net>
2680
2681         * text.C (setHeightOfRow): restrict scope of temporary variable
2682
2683         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2684           code (never has been used?)
2685
2686 2003-07-27  Asger Alstrup  <alstrup@local>
2687
2688         * text.C (fill): Optimise algorithm to exploit that we can reuse
2689         the LyXFont for many characters.
2690         (setHeightOfRow): Same thing.
2691         (rowBreakPoint): Same thing.
2692
2693 2003-07-26  Asger Alstrup  <alstrup@local>
2694
2695         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2696
2697         * text.C (singleWidth): Spurious font copying in hot-spot
2698         singleWidth avoided. Reorder tests for arabic for efficiency.
2699
2700         * text.C (fill): handle empty paragraphs better.
2701
2702 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * ispell.C:
2705         * encoding.h: add includes
2706
2707         * lyxrc.C: remove reading of bind files
2708
2709         * lyx_main.C (init): setup bindings and menus only if we have a
2710         gui.
2711
2712         * kbmap.C (read): new method. Do the actual reading of bind
2713         files.
2714
2715         * converter.C (dvipdfm_options):
2716         * bufferparams.C:
2717         * lyxrc.C (read):
2718         (output): adapt PAPER_* enums.
2719
2720         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2721
2722         * bufferparams.h: remove paper-related enums from there
2723
2724         * paper.h: New file. A trivial header file to hold paper-related
2725         enums. It should later expand to contain many paper-related
2726         horrors access.
2727
2728         * lyxrc.C: declare extern displayTranslator
2729
2730 2003-07-27  José Matos  <jamatos@fep.up.pt>
2731
2732         * tabular.[Ch] (linuxdoc): add support for tables and figures
2733         (linuxdoc).
2734
2735 2003-07-27  José Matos  <jamatos@fep.up.pt>
2736
2737         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2738         consistency in both functions.
2739         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2740
2741 2003-07-26  Asger Alstrup  <alstrup@local>
2742
2743         * rowpainter.C (paintRows): Change algorithm to work directly on
2744         the insets rather than asking every character in the document
2745         whether its an inset.
2746
2747 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * buffer.C (openFileWrite): factorize some code
2750
2751 2003-07-26  Angus Leeming  <leeming@lyx.org>
2752
2753         * lyx_cb.C:
2754         * lyx_main.[Ch]: replace occurances of system_tempdir with
2755         os::getTmpDir().
2756
2757 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * rename Inset to InsetOld
2760
2761 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2762
2763         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2764         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2765         which I think is a bit clearer. EDIT is gone, since it was
2766         premature optimisation, and broken for mathed anyway.
2767         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2768         with cursor positioning in insets as well (math insets still do not
2769         work, but that's a different story anyway.) It mysteriously
2770         crashes sometimes with undo in the first paragraph, but I'm fairly
2771         confident that this is a compiler bug.
2772
2773 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * paragraph.C (Paragraph): adjust for new clone return type
2776         (operator==): ditto
2777         (copyIntoMinibuffer): ditto
2778
2779 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2780
2781         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2782         by not having a special case, and always doing a full rebreak of
2783         the document after undo.
2784
2785 2003-07-23  Angus Leeming  <leeming@lyx.org>
2786
2787         * factory.C (createInset): InsetExternal::setParams now takes a
2788         Buffer const * arg.
2789
2790 2003-07-23  Angus Leeming  <leeming@lyx.org>
2791
2792         * factory.C (createInset): changed interface to the external and
2793         graphics mailers' string2params functions.
2794
2795 2003-07-23  Angus Leeming  <leeming@lyx.org>
2796
2797         * factory.C (createInset): pass a
2798         Buffer const * parameter to InsetExternalMailer's string2params.
2799
2800 2003-07-22  John Levon  <levon@movementarian.org>
2801
2802         * Thesaurus.h: include the right aiksaurus header
2803
2804 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * MenuBackend.C (expand): check menu shortcuts unconditionally
2807
2808 2003-07-21  Angus Leeming  <leeming@lyx.org>
2809
2810         * factory.C (createInset): pass a
2811         buffer_path parameter to InsetGraphicsMailer's string2params.
2812
2813 2003-07-21  Angus Leeming  <leeming@lyx.org>
2814
2815         * BufferView_pimpl.C (buffer):
2816         * buffer.C (d-tor):
2817         * lyx_main.C (LyX):
2818         * lyxfunc.C (dispatch):
2819         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2820         rather than the grfx shortcut.
2821
2822 2003-07-21  André Pönitz  <poenitz@gmx.net>
2823
2824         * rowpainter.C: remove unused variables
2825
2826         * tabular_funcs.C:
2827         * tabular_funcs.h: move to tabular.C
2828         * Makefile.am: adjust
2829
2830         * tabular.[Ch]: basic optical cleaning
2831
2832         * author.h: pass references, not values
2833
2834 2003-07-18  André Pönitz  <poenitz@gmx.net>
2835
2836         * lyxtext.h:
2837         * metricsinfo.C:
2838         * metricsinfo.h:
2839         * rowpainter.C:
2840         * text.C:
2841         * text2.C:
2842         * text3.C: two-phase drawing for InsetText and InsetTabular
2843         some float -> int changes.
2844
2845 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2846
2847         * lyx_main.C: fix the fix
2848
2849 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2850
2851         * lyx_main.C: fix a crash in batch mode if no files specified
2852         * converter.C: ws
2853
2854 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2855
2856         * format.[Ch] (papersize): moved to BufferParams
2857         * converter.[Ch] (dvips_options): moved to BufferParams
2858         (dvipdfm_options): moved to anon namespace
2859         * bufferparams.[Ch]: added above functions.
2860
2861 2003-07-17  André Pönitz  <poenitz@gmx.net>
2862
2863         * lyxtext.h:
2864         * rowpainter.C:
2865         * text2.C: don't call inset->update() anymore
2866
2867         * metricsinfo.[Ch]: add convenience constructor
2868
2869 2003-07-16  André Pönitz  <poenitz@gmx.net>
2870
2871         * lyxcursor.[Ch]:
2872         * lyxfunc.[Ch]:
2873         * text.C:
2874         * text2.C: replace the LyXCursor::irow_ member with
2875          on-demand computation of the value
2876
2877 2003-07-16  John Levon  <levon@movementarian.org>
2878
2879         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2880
2881 2003-07-15  André Pönitz  <poenitz@gmx.net>
2882
2883         * text.C:
2884         * text2.C: remove no more needed refresh_row
2885
2886 2003-07-15  André Pönitz  <poenitz@gmx.net>
2887
2888         * lyxtext.h:
2889         * rowpainter.C:
2890         * text2.C:
2891         * text3.C: refresh_status tristate -> need_update bool
2892
2893 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2894
2895         * lyxtext.h (init): remove reinit argument (act as if always true)
2896         * text2.C: adjust to that
2897
2898 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2899
2900         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2901         * text3.C: use it to delete selections in some cases
2902         (bugs 441, 673, 702, 954).
2903
2904 2003-07-14  André Pönitz  <poenitz@gmx.net>
2905
2906         * rowpainter.[Ch]: reduce interface
2907
2908 2003-07-14  André Pönitz  <poenitz@gmx.net>
2909
2910         * BufferView_pimpl.C:
2911         * text2.C: adjust after removing unused BufferView * argument
2912
2913 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * text2.C (init): fix a crash fired on resize
2916
2917 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * buffer.[Ch]: added new closing signal
2920         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2921         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2922         BufferView::Pimpl via the closing the signal
2923
2924 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2925
2926         * buffer.[Ch]: take out all bv-related from buffer
2927         * BufferView.C:
2928         * BufferView_pimpl.[Ch]: connect to new signals
2929         * CutAndPaste.C: removed useless asserts
2930         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2931         * lyxvc.[Ch]:
2932         * vc-backend.[Ch]:
2933         * lyxfunc.C: moved view-related funciontality from vc here
2934         * paragraph.C: removed outdated comments
2935         * text.C: ws
2936
2937 2003-07-10  André Pönitz  <poenitz@gmx.net>
2938
2939         * BufferView_pimpl.C:
2940         * tabular.h:
2941         * tabular_funcs.C:
2942         * text.C:
2943         * text2.C: remove InsetText::InnerCache, clean up consequences
2944
2945 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2946
2947         * ispell.C: fix two typos in error messages
2948
2949 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2950
2951         * Extend Note inset to other forms of annotation like Comment
2952         and Greyedout. Right button click gives dialog.
2953
2954         Files modified or added (+):
2955
2956         * insetnote.[Ch]
2957         * FormNote.[Ch]      +
2958         * ControlNote.[Ch]   +
2959         * form_note.fd       +
2960         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2961         frontends/controllers
2962         * xforms/Dialogs.C
2963         * factory.C
2964
2965 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2966
2967         * aspell.C: add missing namespace lyx::support
2968
2969 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * BufferView.[Ch] (newFile): Add
2972         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2973         * LaTeX.[Ch] (message): added this signal and use it
2974         * buffer.[Ch] (busy, message): added these signals and use them
2975         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2976         * converter.C:
2977         * exporter.C:
2978         * format.C:
2979         * importer.C: use buffer signals instead of direct bv calling
2980         * lyx_cb.[Ch] (ShowMessage): removed
2981         * lyx_main.C:
2982         * lyxfunc.C:
2983         * paragraph_funcs.C:
2984         * text2.C: use buffer signals
2985
2986 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * introduce namespace lyx::graphics
2989
2990 2003-07-02  André Pönitz  <poenitz@gmx.net>
2991
2992         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2993
2994 2003-07-01  André Pönitz  <poenitz@gmx.net>
2995
2996         * text.C:
2997         * text2.C:
2998         * text3.C:
2999         * text_funcs.[Ch]:
3000         * textcursor.h:
3001         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3002           text*.C to text_func.C
3003
3004 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3005
3006         * introduce namespace lyx::support
3007
3008 2003-06-30  André Pönitz  <poenitz@gmx.net>
3009
3010         * Chktex.C:
3011         * funcrequest.C:
3012         * lyxtext.h:
3013         * text.C: re-enable --with-included-string
3014
3015 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * textcursor.C: add <config.h>
3018
3019         * text.C (getWord): remove const from word_location arg
3020
3021         * lyxvc.C (getLogFile): fix const type order
3022
3023         * lyxtext.h: remove const from word_location arg, add arg name
3024
3025         * lyxlayout.h: currect type on labeltype.
3026
3027         * importer.C: correct \file
3028
3029         * converter.C (intToFormat): use std:: on ret val, ws changes
3030
3031         * bufferlist.h: correct \file
3032
3033         * buffer.C (makeLinuxDocFile): fix const type order
3034         (makeDocBookFile): ditto
3035         (fillWithBibKeys): use std:: on stdlib args.
3036
3037         * CutAndPaste.C: fix authors.
3038         (availableSelections): use std:: on return vector
3039
3040 2003-06-27  André Pönitz  <poenitz@gmx.net>
3041
3042         * BufferView_pimpl.C:
3043         * bufferview_funcs.C:
3044         * lyxcursor.C:
3045         * lyxcursor.h:
3046         * lyxfunc.C:
3047         * lyxtext.h:
3048         * rowpainter.C:
3049         * text.C:
3050         * text2.C:
3051         * text3.C: remove LyXCursor::row_ member
3052
3053         * lyxtext.h:
3054         * text.C: rename fullRebreak() to partialRebreak() and implement
3055           a fullRebreak() that really bereks fully
3056
3057         * textcursor.h: new struct for cursor-related data
3058
3059 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3060
3061         * lyx_main.C (LyX): get full path of document loaded on the
3062         command line
3063
3064 2003-06-26  André Pönitz  <poenitz@gmx.net>
3065
3066         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3067           remove unused/broken operator>,<,>=.
3068
3069         *       text.C: remove only use of broken operator<= in an Assert().
3070
3071 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3072
3073         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3074         moved errorlist_.clear to showErrorList
3075
3076 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * converter.C (scanLog, runLaTeX):
3079         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3080         move the bv->showErrorList call to the callers
3081         * lyxfunc.C: i.e. here...
3082         * text2.C: and here
3083         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3084         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3085         namespace, the second to...
3086         * buffer_funcs (BufferFormat, parseErrors): added
3087         * errorlist.C (ErrorList(TeXErrors const &)): removed
3088
3089 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3090
3091         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3092
3093 2003-06-24  "Garst R. Reese" <reese@isn.net>
3094
3095         * debug.C: fix typo
3096
3097 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3098
3099         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3100
3101         * version.C.in: change docversion to 1.4
3102
3103 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3104
3105         * buffer.C: fix a bug just introduced
3106
3107 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3108
3109         * buffer.[Ch]: added the parseError signal and use it, removed
3110         sgmlError
3111         * BufferView.[Ch] (addError): moved to ...
3112         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3113         to the Buffer::parseError signal to catch (guess what) parse errors
3114         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3115
3116 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3117
3118         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3119         ability to create a buffer and to return an existing one from
3120         the list. Moved these functions to...
3121         * buffer_funcs.[Ch]: added
3122         * BufferView.[Ch] (loadLyXFile): added
3123         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3124         job removed from bufferlist::loadLyXFile.
3125         * buffer.C (setReadOnly): make it work without view
3126         (i.e added an if (users))
3127
3128 2003-06-19  Angus Leeming  <leeming@lyx.org>
3129
3130         * lfuns.h:
3131         * LyXAction.C (init):
3132         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3133         with LFUN_DIALOG_SHOW <name> <data>.
3134
3135 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3136
3137         * CutAndPaste.C (availableSelections): small compilation fix for
3138         ancient (gcc 2.9x) compilers
3139
3140 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * text3.C (cursorNext): add tmp var
3143
3144         * text2.C (updateCounters): for function calling out of for clause
3145         (replaceSelectionWithString): ditto
3146         (insertStringAsParagraphs): ditto
3147         (getColumnNearX): add tmp var
3148         (setCursorFromCoordinates): add tmp var
3149         (cursorDownParagraph): add tmp var
3150         (deleteEmptyParagraphMechanism): add tmp var
3151
3152         * text.C (insertChar): add tmp var
3153
3154         * rowpainter.C (paintDepthBar): add tmp var
3155
3156         * CutAndPaste.C (availableSelections): potentially check all
3157         paragraphs in a cut to fill the shown strings.
3158
3159 2003-06-18  André Pönitz  <poenitz@gmx.net>
3160
3161         * kbmap.[Ch]: use vector<> instead of list<>
3162
3163 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3164
3165         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3166         pasteSelection with index
3167
3168         * text2.C (pasteSelection): modify, call pasteSelection with index
3169
3170         * paragraph.C (asString): reimplement version with no interval to
3171         call the one with interval.
3172
3173         * lyxtext.h: add index arg to pasteSelection
3174
3175         * MenuBackend.C (MenuItem): handle PasteRecent
3176         (Menu::read::Menutags): add md_pasterecent
3177         (read): handle it
3178         (expandPasteRecent): new function
3179         (expand): use it
3180
3181         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3182
3183         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3184         the limited stack
3185         (availableSelections): new function
3186
3187 2003-06-17  Angus Leeming  <leeming@lyx.org>
3188
3189         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3190
3191 2003-06-17  Angus Leeming  <leeming@lyx.org>
3192
3193         * lfuns.h:
3194         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3195
3196         * lyxfunc.C (dispatch): invoke it.
3197
3198 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3199
3200         * iterators.C (operator++, ParPosition): reintroduce some
3201         const_cast for the benefit of older compilers.
3202
3203 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3204
3205         * text3.C (dispatch): do not modify clipboard when doing
3206         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3207         LFUN_DELETE_SKIP on a selection selection
3208
3209 2003-06-16  André Pönitz  <poenitz@gmx.net>
3210
3211         * BufferView.C:
3212         * buffer.C:
3213         * buffer.h:
3214         * paragraph.C:
3215         * tabular.[Ch]: IU of clone() and getLabelList();
3216
3217 2003-06-13  André Pönitz  <poenitz@gmx.net>
3218
3219         * tabular.h: compactification
3220
3221 2003-06-12  André Pönitz  <poenitz@gmx.net>
3222
3223         * tabular.C:
3224         * tabular.h:
3225         * tabular_funcs.h: some renaming plus whitespace
3226
3227 2003-06-12  André Pönitz  <poenitz@gmx.net>
3228
3229         * BufferView.C:
3230         * BufferView_pimpl.C:
3231         * CutAndPaste.C:
3232         * buffer.C:
3233         * iterators.[Ch]:
3234         * lyxfunc.C:
3235         * text.C:
3236         * toc.C: Return a Paragraph & for ParIterator::operator*()
3237
3238 2003-06-11  John Levon  <levon@movementarian.org>
3239
3240         * lyx_main.C:
3241         * ToolbarBackend.h:
3242         * ToolbarBackend.C: add "Toolbars" section and
3243         put the flags there
3244
3245 2003-06-10  Angus Leeming  <leeming@lyx.org>
3246
3247         * lfuns.h:
3248         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3249
3250         * lyxfunc.C (dispatch): invoke it.
3251
3252 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3253
3254         * main.C: protect <ios> with HAVE_IOS
3255         (main): protect sync_with_stdio with HAVE_IOS
3256
3257 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3258
3259         * text2.C (cutSelection): adjust
3260         (pasteSelection): adjust
3261
3262         * messages.C: handle get of empty string
3263
3264         * main.C (main): use sync_with_stdio(false)
3265
3266         * lyxfunc.C (dispatch): adjust
3267
3268         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3269         (WriteAs): remove unneeded BufferView arg.
3270
3271         * bufferparams.h: use correct types on papersize, papersize2 and
3272         paperpackage.
3273
3274         * bufferparams.C (readToken): adjust for type
3275         (writeLaTeX): add missing cases to switch.
3276
3277         * bufferlist.C (quitWriteBuffer): adjust
3278         (close): adjust
3279
3280         * buffer.C (asciiParagraph): remove some commented code.
3281
3282         * CutAndPaste.C: remove current_view extern variable.
3283         (cutSelection): add BufferParams arg.
3284         (eraseSelection): add BufferParams arg.
3285         (pasteSelection): add Buffer const & arg
3286
3287 2003-06-07  John Levon  <levon@movementarian.org>
3288
3289         * buffer.C:
3290         * paragraph_funcs.C:
3291         * paragraph_pimpl.C:
3292         * text.C:
3293         * text2.C:
3294         * paragraph.h:
3295         * paragraph.C: allow InsetERT to freely space lines,
3296         and some consolidation of code
3297
3298 2003-06-06  José Matos  <jamatos@fep.up.pt>
3299
3300         * buffer.C (makeDocBookFile): fix bug #821
3301
3302 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3305
3306 2003-06-04  Angus Leeming  <leeming@lyx.org>
3307
3308         * buffer.C: bump format to 224.
3309
3310 2003-06-05  André Pönitz  <poenitz@gmx.net>
3311
3312         * text2.C (redoParagraphs): remove two const_cast<>
3313
3314 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3315
3316         * ParagraphList.h: remove last remnants of NO_STD_LIST
3317
3318 2003-06-03  Angus Leeming  <leeming@lyx.org>
3319
3320         * factory.C (createInset): small change to the way InsetExternal's params
3321         are set.
3322
3323 2003-06-04  André Pönitz  <poenitz@gmx.net>
3324
3325         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3326
3327         * paragraph_pimpl.h:
3328         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3329
3330         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3331
3332         * undo_funcs.C: make some simple cases of undo work again
3333
3334 2003-06-03  John Levon  <levon@movementarian.org>
3335
3336         * ispell.C: HPUX doesn't have sys/select.h
3337         (from Albert Chin)
3338
3339 2003-06-03  John Levon  <levon@movementarian.org>
3340
3341         * CutAndPaste.C: update tabular and include inset
3342         buffer references
3343
3344         * buffer.h:
3345         * paragraph.h:
3346         * paragraph.C: remove owningBuffer(), don't pass Buffer
3347         to clone()
3348
3349         * factory.C: insetGraphicsParams changed
3350
3351 2003-06-02  John Levon  <levon@movementarian.org>
3352
3353         * LyXAction.C:
3354         * factory.C:
3355         * lfuns.h:
3356         * lyxfunc.C:
3357         * text3.C: remove insetparent
3358
3359 2003-06-02  John Levon  <levon@movementarian.org>
3360
3361         * buffer.h:
3362         * buffer.C: fix inset_iterator.end(), move out of line
3363         (bug 1149)
3364
3365 2003-06-01  John Levon  <levon@movementarian.org>
3366
3367         * text3.C: use a proper cut/paste when doing inset
3368         insert (from Jürgen Spitzmüller)
3369
3370 2003-06-01  John Levon  <levon@movementarian.org>
3371
3372         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3373
3374 2003-05-30  André Pönitz  <poenitz@gmx.net>
3375
3376         * rowpainter.C: unify second drawing phase
3377
3378 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * trans_mgr.C: remove one case of current_view
3381
3382         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3383
3384         * paragraph_funcs.h: remove paragraph.h include
3385
3386         * paragraph.h: delete NO_STD_LIST stuff
3387
3388         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3389
3390         * buffer.h: remove paragraph.h include
3391
3392         * ParagraphList.C: delete file
3393
3394         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3395
3396         * toc.C (getTocList): adjust
3397
3398         * paragraph_pimpl.C (validate): adjust
3399
3400         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3401
3402         * paragraph.C (Paragraph): adjust
3403         (getPositionOfInset): use const_iterator, adjust
3404         (bibitem): use const_iterator, adjust
3405         (setInsetOwner): adjust
3406
3407         * iterators.C (operator++): adjust
3408
3409         * InsetList.[Ch]: Replace selfmade iterator with standard
3410         vector::iterator also introduce const_iterator. Remove getPos,
3411         getInset and setInset from InsetTable. Adjust accordingly.
3412
3413         * BufferView.C (lockInset): adjust
3414         (ChangeInsets): adjust
3415
3416         * tabular.[Ch]: delete commented same_id functions
3417
3418 2003-05-28  John Levon  <levon@movementarian.org>
3419
3420         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3421
3422 2003-05-28  André Pönitz  <poenitz@gmx.net>
3423
3424         * metricsinfo.[Ch]: remove 'fullredraw' member
3425
3426 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3427
3428         * lyxtextclass.C (operator): remove caching.
3429
3430 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3431
3432         * text3.C: adjust
3433
3434         * text2.C (cursorBottom): adjust
3435         (setCounter): use ParagraphList::find, adjust
3436
3437         * text.C (workWidth): use ParagraphList::find, adjust
3438
3439         * lyxcursor.C (LyXCursor): adjust
3440
3441         * buffer.C (inset_iterator): adjust
3442
3443         * ParagraphList.h: make iterator(value_type) private, make
3444         ParagraphList a friend of iterator.
3445
3446         * ParagraphList.C (find): new function
3447
3448         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3449
3450 2003-05-27  André Pönitz  <poenitz@gmx.net>
3451
3452         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3453
3454 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3455
3456         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3457
3458 2003-05-26  John Levon  <levon@movementarian.org>
3459
3460         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3461
3462 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * remove same_id from function signatures, adjust.
3465
3466 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3467
3468         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3469
3470         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3471
3472         * paragraph.C (Paragraph): get rid of same_ids parameter
3473
3474         * ParagraphList.C (insert): adjust
3475         (push_back): adjust
3476
3477 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * paragraph_funcs.C (breakParagraph): adjust
3480         (breakParagraphConservative): adjust
3481
3482         * buffer.C (readParagraph): adjust
3483
3484         * ParagraphList.C (insert): take a reference instead of a pointer
3485         (insert): adjust
3486
3487         * paragraph.[Ch] (id): new function
3488
3489         * bufferlist.C (newFile): adjust
3490
3491         * ParagraphList.C (ParagraphList): adjust
3492         (assign): adjust
3493         (push_back): take a reference instead of a pointer.
3494
3495         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3496
3497         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3498         instead.
3499
3500         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3501         set else use old code.
3502
3503         * ParagraphList.C: remove all NO_NEXT code and only compile this
3504         code of NO_STD_LIST is set.
3505
3506 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3507
3508         * BufferView_pimpl.C:
3509         * TextCache.C:
3510         * TextCache.h:
3511         * bufferlist.C:
3512         * errorlist.h:
3513         * format.C:
3514         * format.h:
3515         * graph.C:
3516         * lyxfunc.C:
3517         * lyxrc.C:
3518         * graphics/GraphicsConverter.C:
3519         * graphics/PreviewLoader.C: header adjustment
3520
3521 2003-05-23  Angus Leeming  <leeming@lyx.org>
3522
3523         * LaTeXFeatures.[Ch] (useBabel): new method.
3524         * bufferparams.C (writeLaTeX): use it.
3525
3526 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3527
3528         * ParagraphList.h (set): remove unused function.
3529
3530 2003-05-23  André Pönitz  <poenitz@gmx.net>
3531
3532         * BufferView.C:
3533         * BufferView_pimpl.C:
3534         * buffer.C:
3535         * buffer.h:
3536         * lyxfunc.C:
3537         * undo_funcs.C: setUndo reworked
3538
3539         * iterators.[Ch]: add access to topmost ParagraphList
3540
3541         * lyxtext.[Ch] (workWidth): add a const
3542
3543 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * texrow.[Ch] (increasePos): remove function
3546         * exporter.C (export): removed unused var and outdated comment
3547
3548 2003-05-23  Angus Leeming  <leeming@lyx.org>
3549
3550         * latexrunparams.h: rename fragile as moving_arg.
3551         * paragraph.C (simpleTeXOnePar): ditto.
3552         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3553
3554 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3557         (createUndo): ditto
3558         (textUndoOrRedo): comment out a currently unused var.
3559
3560         * paragraph.h (NO_NEXT): enable NO_NEXT
3561
3562         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3563
3564         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3565
3566         * exporter.C (Export): adjust for removeAutoInsets removal.
3567
3568         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3569
3570         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3571
3572         * BufferView.[Ch] (removeAutoInsets): delete function
3573
3574 2003-05-22  Angus Leeming  <leeming@lyx.org>
3575
3576         * latexrunparams.h: add a free_spacing variable.
3577
3578         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3579         to pass moving_arg, as the data is stored in runparams.fragile.
3580
3581         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3582         to Inset::latexOptional or to simpleTeXOnePar.
3583
3584         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3585         free_spacing arg to Inset::latexOptional.
3586
3587         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3588         free_spacing arg.
3589
3590 2003-05-22  Angus Leeming  <leeming@lyx.org>
3591
3592         * latexrunparams.h: add fragile and use_babel variables.
3593
3594         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3595         * buffer.C (makeLaTeXFile): store this returned value in
3596         runparams.use_babel, thus passing it to the inset::latex methods.
3597
3598         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3599         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3600
3601         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3602         longer has a fragile arg, as it is stored in runparams.fragile.
3603
3604         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3605         moving_arg parameter as the data is stored in runparams.fragile.
3606
3607         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3608         a fragile parameter as the data is stored in runparams.fragile.
3609
3610 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3613
3614 2003-05-22  Angus Leeming  <leeming@lyx.org>
3615
3616         * latexrunparams.h: add a 'bool nice' which defaults to false.
3617
3618         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3619         now encapsulated within runparams.
3620
3621         * bufferlist.C (updateIncludedTeXfiles):
3622         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3623
3624 2003-05-22  Angus Leeming  <leeming@lyx.org>
3625
3626         * latexrunparams.h: new file containing struct LatexRunParams.
3627         * Makefile.am: add new file.
3628
3629         * LaTeX.[Ch] (c-tor, run):
3630         * buffer.[Ch] (makeLaTeXFile):
3631         * bufferlist.[Ch] (updateIncludedTeXfiles):
3632         * converter.C (convert, scanLog):
3633         * converter.[Ch] (runLaTeX):
3634         * exporter.C (Export):
3635         * paragraph.[Ch] (simpleTeXOnePar):
3636         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3637         * paragraph_funcs.[Ch] (latexParagraphs):
3638         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3639         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3640         pass around a LatexRunParams parameter.
3641
3642 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * paragraph.[Ch]: remove unused constructor
3645
3646         * ParagraphList.C (erase): new function, taking two iterators
3647
3648 2003-05-22  André Pönitz  <poenitz@gmx.net>
3649
3650         * undo_funcs.C: remove duplicated code
3651
3652         * iterator.[Ch]: operator=
3653
3654 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * tabular.C (SetMultiColumn): ws changes
3657
3658         * rowpainter.C (paintFirst): get rid of a ->previous
3659
3660         * lyx_cb.C (getPossibleLabel): parlist simplification
3661
3662         * BufferView.C (ChangeInsets): simplify slightly.
3663
3664 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3665
3666         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3667         * lfuns.h: new LFUN_SPACE
3668         * lyxfunc.C: protected space has a new lfun
3669         * paragraph_funcs.C: read new space insets
3670         * text3.C:
3671         * factory.C: handle new space insets
3672
3673 2003-05-22  André Pönitz  <poenitz@gmx.net>
3674
3675         * BufferView.C:
3676         * BufferView_pimpl.C:
3677         * buffer.[Ch]:
3678         * lyxfunc.C:
3679         * undo_funcs.C: return a ParIterator from getParFromID.
3680
3681         * iterators.[Ch]: add two const's
3682
3683 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * toc.C (getTocList): adjust
3686
3687         * iterators.[Ch]: rework for parlist
3688
3689         * buffer.C (par_iterator_begin): adjust
3690         (par_iterator_end): adjust
3691
3692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3693
3694         * BufferView.C (removeAutoInsets): adjust
3695         (ChangeInsets): adjust
3696
3697 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * text.C (top_y): fix bug 1110
3700
3701 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3702
3703         * errorlist.[Ch]: added
3704         * buffer.C:
3705         * BufferView.[Ch]:
3706         * BufferView_pimpl.C:
3707         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3708         instead
3709
3710 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * Makefile.am: ensure that lyx is relinked upon changes to the
3713         various "convenience" libs.
3714
3715 2003-05-20  Angus Leeming  <leeming@lyx.org>
3716
3717         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3718         files are compiled in alphabetical order again.
3719
3720         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3721
3722 2003-05-19  Angus Leeming  <leeming@lyx.org>
3723
3724         * gettext.[Ch]: remove "char const * _(char const *)".
3725
3726 2003-05-19  André Pönitz  <poenitz@gmx.net>
3727
3728         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3729
3730         * Makefile.am:
3731         * BufferView.C:
3732         * DepTable.h:
3733         * LaTeXFeatures.C:
3734         * buffer.C:
3735         * lyxfont.C:
3736         * lyxlex.h:
3737         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3738
3739 2003-05-19  André Pönitz  <poenitz@gmx.net>
3740
3741         * buffer.C:
3742         * lyxlayout.[Ch]:
3743         * lyxtextclass.[Ch]:
3744         * paragraph.C:
3745         * paragraph_funcs.[Ch]:
3746         * text2.C:
3747         * text3.C: more insetenv work
3748
3749 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3750
3751         * ParagraphParameters.C (params2string): small bug fixed
3752
3753 2003-05-16  André Pönitz  <poenitz@gmx.net>
3754
3755         * debug.C:
3756         * bufferview_funcs.C: patch from Kornel Benko to prevent
3757           crash when _(...) is called twice in a statement
3758
3759 2003-05-16  André Pönitz  <poenitz@gmx.net>
3760
3761         * BufferView.C:
3762         * lyxfunc.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C:
3766         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3767
3768 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * lyx_main.C (init): remove spurious static_cast
3771
3772 2003-05-14  André Pönitz  <poenitz@gmx.net>
3773
3774         * BufferView.C: fix format string
3775
3776 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * BufferView.[Ch] (insertErrors): removed
3779         * BufferView.[Ch] (showErrorList): added
3780         * buffer.C (runChkTeX):
3781         * converter.C (scanLog): call showErrorList instead of inserterrors
3782
3783 2003-05-13  André Pönitz  <poenitz@gmx.net>
3784
3785         * BufferView_pimpl.C:
3786         * buffer.C:
3787         * bufferview_func.C:
3788         * MenuBackend.C:
3789         * lyxfunc.C:
3790         * lyxrc.C:
3791         * tex-accent.C:
3792         * text3.C:
3793         * toc.C:
3794         * tabular_funcs.h: tostr() from its own header
3795
3796         * ParagraphParameters.C:
3797         * ToolbarBackend.C:
3798         * bufferparams.C:
3799         * format.C:
3800         * lyxlex_pimpl.C:
3801         * text3.C: STRCONV()
3802
3803 2003-05-12  André Pönitz  <poenitz@gmx.net>
3804
3805         * BufferView.C:
3806         * BufferView_pimpl.C:
3807         * CutAndPaste.C:
3808         * LaTeX.C:
3809         * LaTeXFeatures.C:
3810         * ParagraphParameters.C:
3811         * buffer.C:
3812         * bufferlist.C:
3813         * bufferparams.C:
3814         * bufferview_funcs.C:
3815         * converter.C:
3816         * counters.C:
3817         * debug.C:
3818         * exporter.C:
3819         * format.C:
3820         * importer.C:
3821         * lyx_cb.C:
3822         * lyx_main.C:
3823         * lyxfont.C:
3824         * lyxfunc.C:
3825         * lyxvc.C:
3826         * paragraph.C:
3827         * paragraph_funcs.C:
3828         * tabular.C:
3829         * tabular_funcs.C:
3830         * text2.C:
3831         * text3.C:  boost::format -> bformat  all over the place
3832
3833
3834 2003-05-09  André Pönitz  <poenitz@gmx.net>
3835
3836         * LColor.[Ch]: Pimpl the #include <map> away
3837
3838 2003-05-09  John Levon  <levon@movementarian.org>
3839
3840         * bufferlist.C: never remove emergency saves
3841
3842 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * Makefile.am: better lib building
3845
3846 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3849         instead.
3850         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3851         (simpleTeXSpecialChars): adjust
3852         (simpleTeXSpecialChars): adjust
3853         * paragraph.C (simpleTeXOnePar): adjust
3854         * buffer.C (makeLaTeXFile): adjust
3855
3856         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3857
3858         * text2.C (changeDepth): parlist cleanup
3859         (getColumnNearX): ditto
3860
3861         * rowpainter.C (getLabelFont): parlist cleanup
3862
3863         * bufferlist.C (newFile): parlist cleanup
3864
3865         * CutAndPaste.C (eraseSelection): parlist cleanup
3866
3867         * BufferView_pimpl.C (trackChanges): parlist cleanup
3868         (dispatch): ditto
3869
3870         * BufferView.C (lockInset): parlist cleanup.
3871         (ChangeInsets): ditto
3872
3873 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * CutAndPaste.h: Update file header.
3876
3877         * CutAndPaste.C: Update file header.
3878         Store the parts cut out of the Document in a limited_stack.
3879         (copySelection): adjust
3880         (pasteSelection): new function, takes the index in the limited stack.
3881         (nrOfParagraphs): adjust
3882         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3883         simplify error inset insertion.
3884         (checkPastePossible): adjust
3885
3886 2003-05-06  John Levon  <levon@movementarian.org>
3887
3888         * text2.C: don't cast wrap inset to float
3889
3890 2003-05-05  André Pönitz  <poenitz@gmx.net>
3891
3892         * iterator.C:
3893         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3894
3895         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3896           few naked Paragraph *.
3897
3898 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3899
3900         * bufferparams.C: Output warning if a document with missing
3901         TeX document class is loaded
3902         * exporter.C: Disable TeX exports if the document class is missing
3903         * lyxtextclass.C:
3904         * lyxtextclass.h:
3905         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3906         isTeXClassAvailable()
3907
3908 2003-05-03  John Levon  <levon@movementarian.org>
3909
3910         * BufferView.h:
3911         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3912         explicit cursor show/hide
3913
3914         * BufferView_pimpl.h:
3915         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3916         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3917
3918         * lyxfunc.C: hide cursor before dispatching.
3919
3920         * lyx_cb.C:
3921         * lyxfind.C:
3922         * text.C:
3923         * text3.C: remove explicit cursor hides
3924
3925 2003-05-02  André Pönitz  <poenitz@gmx.net>
3926
3927         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3928
3929         * undo_funcs.C:
3930         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3931           linked lists
3932
3933         * text2.C: tiny whitespace
3934
3935 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * undo_funcs.C: almost only ws changes.
3938
3939         * ParagraphList.C (splice): just return if pl is empty.
3940
3941 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * ParagraphList.C (splice): new function.
3944
3945         * CutAndPaste.C (pasteSelection): use it
3946
3947 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * CutAndPaste.C (pasteSelection): remove the last next and
3950         previous from this file.
3951
3952 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * CutAndPaste.C (pasteSelection): more clean up, user proper
3955         ParagraphList functions for pasteing.
3956
3957         * ParagraphList.C (insert): new function, three arg insert
3958
3959 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * ParagraphList.C (insert): new function, three arg insert
3962
3963         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3964         not on paragraphs.
3965
3966 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3969
3970 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3973
3974 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3977         (copySelection): clean up a bit.
3978         (pasteSelection): use make_pair
3979
3980         * ParagraphList.C (ParagraphList): implement copy constructor
3981         (operator=): implement, base on copy constructor.
3982         (assign): new func
3983
3984         * paragraph.C (erase): return a bool
3985
3986         * paragraph_pimpl.C (erasePos): remove function, move contents...
3987         (erase): ... here. Return a bool.
3988         (erase): call erase instead of erasePos.
3989
3990 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * ParagraphList.h: define PitPosPair
3993         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3994         ParagraphList, fix a bug on pasting multiple pars
3995         * text2.C: change interface to C&P
3996
3997 2003-04-30  André Pönitz  <poenitz@gmx.net>
3998
3999         * undo_func.C: revert part of yesterday's patch 2
4000
4001 2003-04-30  John Levon  <levon@movementarian.org>
4002
4003         * LColor.C: s/tabular/table/
4004
4005 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * text3.C (dispatch): do not convert iterator -> pointer
4008         * undo_funcs.C (setCursorParUndo): ditto
4009         * text_funcs.C (transposeChars): ditto
4010
4011         * text2.C (setLayout): ws changes only
4012
4013         * text.C (breakParagraph): do not convert iterator -> pointer
4014         (insertChar): ditto
4015         (acceptChange): ditto
4016         (rejectChange): ditto
4017         (changeCase): ditto
4018         (Delete): ditto
4019         (backspace): ditto
4020
4021         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4022         pointer
4023
4024 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4025
4026         * text3.C (gotoInset): YABG (yet another bad getChar)
4027
4028 2003-04-29  André Pönitz  <poenitz@gmx.net>
4029
4030         * paragraph.h: make operator= private unimplemented as long as
4031           it is unusable
4032
4033         * ParagraphList.C: whitespace
4034
4035         * paragraph.[Ch]:
4036         * paragraph_pimpl.[Ch]:
4037         * paragraph_funcs.C:
4038         * CutAndPaste.C:
4039         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4040
4041         * text2.C:
4042           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4043
4044 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4045
4046         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4047         * paragraph.[Ch] (erase):
4048         * paragraph_pimpl.[Ch] (erase): change return type and value
4049         * text2.C (cutSelection): some rework
4050
4051 2003-04-28  John Levon  <levon@movementarian.org>
4052
4053         * bufferlist.C: changes for unsaved changes dialog
4054
4055 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * bufferlist.C (newFile): set language (messages_) for new
4058         documents also.
4059
4060         * buffer.C (readFile): ws changes only.
4061
4062 2003-04-28  André Pönitz  <poenitz@gmx.net>
4063
4064         * undo_funcs.C:
4065         * lyxfunc.C:
4066         * buffer.[Ch]:
4067         * BufferView_pimpl.C:
4068         * BufferView.C: getParFromID related ParagraphList::iterator changes
4069
4070 2003-04-28  André Pönitz  <poenitz@gmx.net>
4071
4072         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4073           Changes
4074
4075 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * messages.C: remove one more localedir class variable.
4078
4079 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * messages.C (getLocaleDir): singleton generation function
4082         (Pimpl): use it.
4083         (Messages): add a default constructor.
4084
4085         * main.C (main): do not setup localedir here, do not call
4086         gettext_init.
4087
4088         * gettext.C (_): use it.
4089         (gettext_init): delete funciton
4090
4091 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * gettext.C (getLyXMessages): new singleton generating function.
4094
4095         * buffer.C (updateDocLang): adjust
4096
4097         * Makefile.am (messages.o): add target
4098         (main.o): remove target
4099
4100 2003-04-27  John Levon  <levon@movementarian.org>
4101
4102         * bufferlist.C:
4103         * lyx_cb.C:
4104         * lyxfunc.C:
4105         * lyxvc.C: specify cancel button in Alert::prompt
4106
4107 2003-04-26  John Levon  <levon@movementarian.org>
4108
4109         * text3.C:
4110         * lyxfunc.C:
4111         * lfuns.h:
4112         * LyXAction.C: add LFUN_INSET_SETTINGS
4113
4114         * lyxfunc.C: don't enable tabular-feature when there's
4115         just any locking inset
4116
4117 2003-04-26  John Levon  <levon@movementarian.org>
4118
4119         * bufferlist.C: re-add Cancel to buffer close question
4120
4121         * lyxfunc.C: fix import UI a bit
4122
4123 2003-04-25  John Levon  <levon@movementarian.org>
4124
4125         * gettext.C: remove the broken asserts for now
4126
4127 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * messages.C: make case where setlocale cannot comply work better.
4130
4131         * buffer.C (updateDocLang): new function
4132         (changeLanguage): use it
4133         (readFile): use it
4134
4135         * text2.C (setCounter): use B_ a bit.
4136
4137         * lyxlayout.C (Read): be sure to trim the label strings.
4138
4139         * messages.C (Messages): fix typo in comment
4140
4141         * buffer.C (readFile): set message_ after file is loaded.
4142         (makeDocBookFile): remove double return
4143         (changeLanguage): reset message_ upon language change.
4144         (B_): new func, use this to get translated buffer strings.
4145
4146         * main.C: add myself and Jean Marc as authors.
4147
4148 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * messages.[hC]: pimplify Messages, and three different pimpls to be
4151         used in different circumstances.
4152
4153         * gettext.[Ch]: change for use with new message code.
4154
4155 2003-04-24 André Pönitz <poenitz@gmx.net>
4156
4157         * factory.C: support for eqref
4158
4159 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * messages.[Ch]: add missing char
4162
4163         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4164
4165         * messages.[Ch]: New files
4166
4167 2003-04-18  John Levon  <levon@movementarian.org>
4168
4169         * BufferView.h:
4170         * BufferView.C:
4171         * BufferView_pimpl.C:
4172         * lfuns.h:
4173         * LyXAction.C:
4174         * lyxtext.h:
4175         * text2.C: remove layout-copy/paste (bug 778)
4176
4177 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4180
4181 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4184         if they succeed. Act accordingly.
4185
4186 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (setCharFont): adjust
4189         (setCounter): adjust
4190         (insertStringAsLines): adjust
4191
4192         * text.C (leftMargin): adjust
4193         (setHeightOfRow): adjust
4194
4195         * rowpainter.C (paintFirst): adjust
4196         (paintLast): adjust
4197
4198         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4199         (outerHook): ditto
4200         (isFirstInSequence): ditto
4201         (getEndLabel): ditto
4202         (outerFont): adjust
4203
4204         * paragraph.C (getParLanguage): comment out some hard stuff.
4205
4206         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4207         (sgmlError): ditto
4208         (simpleDocBookOnePar): ditto
4209         (makeDocBookFile): use ParagraphList::iterator
4210
4211         * CutAndPaste.C (pasteSelection): adjust
4212
4213 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * text2.C (getFont): adjust
4216         (getLayoutFont): adjust
4217         (getLabelFont): adjust
4218
4219         * paragraph_funcs.C (TeXOnePar): adjust
4220
4221         * buffer.C (simpleLinuxDocOnePar): adjust
4222         (simpleDocBookOnePar): adjust
4223
4224         * CutAndPaste.C (pasteSelection): adjust
4225
4226         * BufferView.C (getEncoding): adjust
4227
4228         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4229
4230 2003-04-16  John Levon  <levon@movementarian.org>
4231
4232         * lyxfind.C: use parlist stuff for search/changes
4233
4234 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4237
4238         * text2.C (deleteEmptyParagraphMechanism): adjust
4239
4240         * text2.[Ch] (ownerParagraph): delete func (both of them
4241
4242 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4245
4246 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * ParagraphList.C: prepare for NO_NEXT
4249
4250 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text2.C (getFont): adjust
4253         (getLayoutFont): adjust
4254         (getLabelFont): adjust
4255
4256         * paragraph.C (getFont): adjust
4257         (getLabelFont): adjust
4258         (getLayoutFont): adjust
4259
4260         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4261
4262 2003-04-15  John Levon  <levon@movementarian.org>
4263
4264         From Angus Leeming
4265
4266         * lyx_main.C: handle Include in .ui files
4267
4268 2003-04-15  John Levon  <levon@movementarian.org>
4269
4270         * MenuBackend.C: make the doc files length shorter
4271
4272         * ToolbarBackend.h:
4273         * ToolbarBackend.C: handle toolbar placement flags,
4274         Minibuffer
4275
4276 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4279         adjust
4280
4281         * paragraph_funcs.C (TeXOnePar): adjust
4282
4283         * paragraph.C (getLabelFont): add outerfont arg, adjust
4284         (getLayoutFont): ditto
4285         (simpleTeXOnePar): adjust
4286
4287         * paragraph_pimpl.C (realizeFont): delete func
4288
4289 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4292         row argument, constify cur argument.
4293
4294 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * text2.C (getFont): adjust
4297         (getLayoutFont): adjust
4298         (getLabelFont): adjust
4299
4300         * paragraph_funcs.C (TeXOnePar): adjust
4301         (outerFont): new func...
4302         (realizeFont): ...moved out from here, changed this to facilitate
4303         transition
4304
4305         * paragraph.C (getFont): take outerfont as arg, adjust
4306         (simpleTeXOnePar): add outerfont arg, adjust
4307
4308         * buffer.C (simpleLinuxDocOnePar): adjust
4309         (simpleDocBookOnePar): adjust
4310
4311         * CutAndPaste.C (pasteSelection): adjust
4312
4313         * BufferView.C (getEncoding): adjust
4314
4315 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * text2.C (setCharFont): adjust
4318         (setCounter): adjust
4319
4320         * text.C (leftMargin): adjust
4321         (setHeightOfRow): adjust
4322
4323         * rowpainter.C (paintFirst): adjust
4324         (paintLast): adjust
4325
4326         * paragraph_pimpl.C (realizeFont): adjust
4327
4328         * paragraph.C (isFirstInSequence): move from here...
4329         * paragraph_funcs.C (isFirstInSequence): ...to here
4330
4331         * paragraph.C (outerHook): move from here...
4332         * paragraph_funcs.C (outerHook): ...to here
4333
4334         * paragraph.C (depthHook): move from here...
4335         * paragraph_funcs.C (depthHook): ...to here
4336
4337         * paragraph.C (getEndLabel): move from here...
4338         * paragraph_funcs.C (getEndLabel): ...to here
4339
4340         * text2.C (realizeFont): move from here...
4341         * paragraph_funcs.C (realizeFont): ...to here
4342
4343 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4346
4347 2003-04-14  Angus Leeming  <leeming@lyx.org>
4348
4349         * LColor.[Ch]: scrap LColor mathcursor.
4350
4351 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * lyxlex.[Ch] (text): delete function
4354         * trans.C (Load): adjust
4355         * paragraph_funcs.C (readParToken): adjust
4356
4357 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4360         vector<char> instead of a char[].
4361
4362         * lyxlex_pimpl.C (getString): adjust
4363         (next): adjust
4364         (lex): use getString
4365         (eatLine): adjust
4366         (nextToken): adjust
4367
4368         * lyxlex.C (text): use pimpl_->getString()
4369         (getBool): ditto
4370         (findToken): ditto
4371
4372 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4375         (makeFontEntriesLayoutSpecific): temp var for par.size()
4376         (setLayout): temp var for ownerParagraphs().end()
4377         (fullRebreak): temp var for rows().end()
4378         (selectionAsString): temp var for boost::next(startpit), realize
4379         that the while really is a regular for loop.
4380         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4381         setCursor in one place.
4382         (setParagraph): temp vr for ownerParagraphs().end()
4383         (updateCounters): make the while loop a for loop
4384         (cutSelection): temp var for ownerParagraphs().end()
4385         (updateInset): make the do {} while() a regular for loop
4386         (getCursorX): use temp vars
4387         (setCurrentFont): use temp vars
4388         (getColumnNearX): use temp vars
4389
4390 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * text.C (transformChar): use temp var for getChar
4393         (computeBidiTables): use temp var for row->par()
4394         (fill): move temp vars for row->par() and pit->layout() earlier in
4395         the function.
4396         (labelFill): use temp var for row->par()
4397         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4398         asc and desc, realize that pit never changes and that firstpit is
4399         just a duplicate and not needed. Exchange rit->par() with pit in a
4400         lot of places.
4401         (breakAgain): use a temp var for boost::next(rit)
4402         (breakAgainOneRow): ditto
4403         (breakParagraph): use a temp var for rows().begin()
4404         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4405         (cursorRightOneWord): use temp var for cursor.par() and
4406         cursor.pos(), remove usage of tmpcursor.
4407         (cursorLeftOneWord): use temp var for cursor.par() and
4408         cursor.pos() only set cur at end of function.
4409
4410 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * text.C, text2.C: exchange all usage of Paragraph::next with
4413         boost::next(ParagraphList::iterator)
4414
4415         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4416
4417         * text2.C (cursorTop): simplify implementation
4418         (cursorBottom): ditto
4419         (setParagraph): use ParagraphList::iterator
4420         (setCurrentFont): adjust
4421         (getColumnNearX): adjust
4422         (cursorRight): adjust
4423         (cursorLeft): remove usage of Paragraph::previous
4424         (cursorUpParagraph): ditto
4425         (deleteEmptyParagraphMechanism): slight cleanup
4426
4427         * text.C (isBoundary): take a Paragraph const & instead of a
4428         pointer as arg.
4429         (addressBreakPoint): ditto
4430         (leftMargin): remove usage of Paragraph::previous.
4431         (setHeightOfRow): ditto
4432         (cursorLeftOneWord): ditto
4433         (selectNextWordToSpellcheck): ditto
4434         (Delete): ditto
4435         (backspace): ditto
4436         (breakParagraph): remove one usage of Paragraph::next
4437         (redoParagraph): ditto
4438         (acceptChange): ditto
4439         (insertChar): adjust
4440         (rowBreakPoint): adjust
4441
4442         * bufferview_funcs.C (toggleAndShow): adjust
4443
4444 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4445
4446         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4447         methods to access it.
4448         * lyxtext.h:
4449         * text.C: Added updateRowPositions to compute all row positions.
4450         Make top_y and getRowNearY() to use the cached y position
4451
4452 2003-04-11  John Levon  <levon@movementarian.org>
4453
4454         * text.C (rowBreakPoint): reintroduce the labelEnd
4455         checks, code copied from the row fill stuff. Deep voodoo.
4456
4457         * text.C (fill): add a comment and debugging for the
4458         next poor soul.
4459
4460 2003-04-11  John Levon  <levon@movementarian.org>
4461
4462         * text.C: make sure fullrow insets get wrapped to the next line,
4463         even when they're in a manual label
4464
4465 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * text2.C (insertParagraph): make it take ParagraphList::iterator
4468         as arg.
4469         (setLayout): make it return ParagraphList::iterator
4470         (redoParagraphs): ditto
4471         (setCounter): ditto
4472         (checkParagraph): ditto
4473
4474         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4475
4476         * text2.C: adjust several funcs.
4477         (realizeFont): take a ParagraphList::iterator as arg.
4478         (getLayoutFont): ditto
4479         (getLabelFont): ditto
4480         (setCharFont): ditto
4481
4482         * text.C: adjust several funcs.
4483
4484 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * text.C (selectNextWordToSpellcheck): don't accidentally
4487         skip insets
4488
4489 2003-04-10  John Levon  <levon@movementarian.org>
4490
4491         * ToolbarBackend.C (getIcon): special handling for
4492         LFUN_MATH_DELIM
4493
4494 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * text2.C (cursorRight): a getChar assert fixed
4497
4498 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * text2.C (getFont): change to take a ParagraphList::iterator
4501         instead of Paragraph*
4502         Adjust several functions.
4503
4504         * text.C (transformChar): change to take a ParagraphList::iterator
4505         instead of Paragraph*
4506         (singleWidth): ditto
4507         Adjust several functions.
4508
4509         * rowpainter.C: adjust several functions
4510         * rowpainter.h:store a ParagraphList::iterator and not a
4511         Paragraph&.
4512
4513
4514 2003-04-09  John Levon  <levon@movementarian.org>
4515
4516         * lyxfunc.C:
4517         * lfuns.h:
4518         * LyXAction.h:
4519         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4520         and the "help" bits as well
4521
4522 2003-04-09  John Levon  <levon@movementarian.org>
4523
4524         * ToolbarBackend.h:
4525         * ToolbarBackend.C: allow multiple toolbars
4526
4527 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * undo_funcs.C (setCursorParUndo): adjust
4530
4531         * text_funcs.C (transposeChars): adjust
4532
4533         * text3.C (gotoNextInset): adjust
4534         (dispatch): adjust
4535
4536         * text2.C (setLayout): adjust
4537         (changeDepth): adjust
4538         (setFont): adjust
4539         (redoParagraphs): adjust
4540         (selectionAsString): adjust
4541         (setParagraph): adjust
4542         (insertInset): adjust
4543         (cutSelection): adjust
4544         (copySelection): adjust
4545         (pasteSelection): adjust
4546         (insertStringAsLines): adjust
4547         (updateInset): adjust
4548         (setCursor): change to take a ParagraphList::iterator parameter
4549         (setCursorIntern): change to take a ParagraphList::iterator parameter
4550         (setCurrentFont): adjust
4551         (cursorLeft): adjust
4552         (cursorRight): adjust
4553         (deleteEmptyParagraphMechanism): adjust
4554
4555         * text.C (breakParagraph): adjust
4556         (insertChar): adjust
4557         (acceptChange): adjust
4558         (rejectChange): adjust
4559         (selectNextWordToSpellcheck): adjust
4560         (changeCase): adjust
4561         (Delete): adjust
4562         (backspace): adjust
4563
4564         * lyxfind.C (SearchForward): adjust
4565         (SearchBackward): adjust
4566         (nextChange): adjust
4567
4568         * lyxcursor.C (par): adjust
4569
4570         * lyxcursor.h: store a ParagraphList::iterator instead of a
4571         Paragraph*
4572
4573         * lyx_cb.C (getPossibleLabel): adjust
4574
4575         * bufferview_funcs.C (toggleAndShow): adjust
4576
4577         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4578         (dispatch): adjust
4579
4580         * BufferView.C (removeAutoInsets): adjust
4581         (lockedInsetStoreUndo): adjust
4582
4583 2003-04-09  John Levon  <levon@movementarian.org>
4584
4585         * ToolbarBackend.C: try icon without argument
4586         if with argument fails
4587
4588 2003-04-08  John Levon  <levon@movementarian.org>
4589
4590         * ToolbarBackend.h:
4591         * ToolbarBackend.C: add getIcon(), handle tooltip,
4592         and change from "Icon" to "Item".
4593
4594 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4595
4596         * BufferView.C (lockInset): another bad getchar crunched
4597
4598 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4601         again)
4602
4603 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * lyxfind.C (searchForward, searchBackwards): bug 782
4606
4607 2003-04-07  John Levon  <levon@movementarian.org>
4608
4609         * paragraph.C: remove dead comment
4610
4611         * text.C: remove troublesome depth-fiddling code
4612         in leftMargin() and rightMargin() (bug 1017)
4613
4614         * text.C: fix breaking of rows in nested lists
4615         (bug 1004)
4616
4617         * text2.C (updateCounters): fix up depth values
4618         (bug 1013)
4619
4620 2003-04-07  John Levon  <levon@movementarian.org>
4621
4622         * BufferView_pimpl.C: clear message when doc finishes resizing,
4623         and after a mouse event
4624
4625         * lyxfunc.C: clear message after exiting inset
4626
4627 2003-04-07  John Levon  <levon@movementarian.org>
4628
4629         * bufferview_funcs.C: show math status not outside
4630         status in the statusbar
4631
4632 2003-04-07  John Levon  <levon@movementarian.org>
4633
4634         * lyxfunc.C: note status changed after a depth change
4635
4636 2003-04-04  Angus Leeming  <leeming@lyx.org>
4637
4638         * LaTeX.h: move AuxInfo operator==, != out of line.
4639         Remove LaTeX virtual destructor; nothing derives from it.
4640         Move operator()() out of public area and rename it startscript().
4641         Change protected for private.
4642
4643 2003-04-04  Angus Leeming  <leeming@lyx.org>
4644
4645         * lyxfunc.C:
4646         * text2.C: remove unneeded #includes.
4647
4648 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * text2.C (dEPM): fix the heigth of the next row
4651
4652 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * text.C: squashed an invalid getChar requester + some ws changes
4655
4656 2003-04-03  John Levon  <levon@movementarian.org>
4657
4658         * bufferview_funcs.h:
4659         * bufferview_funcs.C:
4660         * lyxfunc.C:
4661         * lyxtext.h:
4662         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
4671
4672 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * lyxrow.h: store a ParagraphList::iterator instead of a
4675         Paragraph* and adjust other class functions to suit.
4676
4677         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4678         above.
4679
4680 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * text2.C (setCursor): do not anchor to cursor row for the time being
4683
4684 2003-04-02  John Levon  <levon@movementarian.org>
4685
4686         * LyXAction.C:
4687         * lfuns.h:
4688         * lyx_main.C:
4689         * lyxtext.h:
4690         * text.C:
4691         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4692
4693 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * paragraph.h: make ParagraphList and ParagraphList::iterator
4696         friends of Paragraph.
4697
4698         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4699
4700         * ParagraphList.C: Use the private next_ and previous_ from
4701         Paragraph.
4702
4703 2003-04-01  John Levon  <levon@movementarian.org>
4704
4705         * ToolbarBackend.h:
4706         * ToolbarBackend.C:
4707         * Makefile.am: rename, remove defaults gunk
4708
4709         * MenuBackend.h:
4710         * MenuBackend.C: remove defaults gunk
4711
4712         * Languages.h:
4713         * Languages.C: remove defaults gunk
4714
4715         * lyx_main.h:
4716         * lyx_main.C: error out if files couldn't be found.
4717
4718 2003-04-02  John Levon  <levon@movementarian.org>
4719
4720         * text2.C: make incDepth() use parlist
4721
4722 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * undo_funcs.C (firstUndoParagraph): adjust
4725
4726         * text3.C (gotoInset): adjust
4727         (dispatch): adjust, and rewrite loop.
4728
4729         * text2.C (init): adjust, and rewrite loop.
4730         (redoParagraphs): adjust
4731         (updateInset): adjust, and rewrite loop.
4732         (deleteEmptyParagraphMechanism): adjust
4733
4734         * tabular.C (LyXTabular): adjust
4735         (SetMultiColumn): adjust
4736         (TeXRow): adjust
4737
4738         * lyxtext.[Ch] (ownerParagraph): delete function
4739         (ownerParagraphs): new function returns a ParagraphList.
4740
4741         * BufferView.C (removeAutoInsets): adjust
4742         (insertErrors): adjust
4743         (setCursorFromRow): adjust
4744
4745 2003-04-01  Angus Leeming  <leeming@lyx.org>
4746
4747         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4748         in the frontends.
4749
4750 2003-04-02  John Levon  <levon@movementarian.org>
4751
4752         * lyxtext.h:
4753         * text.C:
4754         * Makefile.am:
4755         * text_funcs.h:
4756         * text_funcs.C: make transposeChars a free function
4757
4758         * lyxrow_funcs.C: remove wrong comment
4759
4760 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * lyxtext.h: adjust
4763         * rowpainter.C: adjust
4764         * text.C: adjust
4765         * text2.C: adjust
4766         * text3.C: adjust
4767
4768         * lyxrow_funcs. [Ch]: new files
4769
4770         * lyxrow.[Ch]: remove next and previous pointers
4771         (next,previous): remove accessor functions
4772         (isParEnd): move to lyxrow_funcs
4773         (lastPos): move to lyxrow_funcs
4774         (nextRowIsAllInset): move to lyxrow_funcs
4775         (lastPrintablePos): move to lyxrow_funcs
4776         (numberOfSeparators): move to lyxrow_funcs
4777         (numberOfHfills): move to lyxrow_funcs
4778         (numberOfLabelHfills): move to lyxrow_funcs
4779         (hfillExpansion): move to lyxrow_funcs
4780
4781         * lyxfunc.C: adjust
4782
4783         * bufferview_funcs.C (toggleAndShow): adjust
4784
4785         * RowList.h: Remove class RowList from file leave just a
4786         std::list<Row>.
4787
4788         * RowList.C: delete file
4789
4790         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4791         and lyxrow_funcs.h
4792
4793 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * text3.C (cursorPrevious): adjust
4796         (cursorNext): adjust
4797         (dispatch): adjust
4798
4799         * text2.C (redoHeightOfParagraph): adjust
4800         (redoDrawingOfParagraph): adjust
4801         (setCursor): adjust
4802
4803         * text.C (breakParagraph): adjust
4804         (insertChar): adjust
4805         (backspace): adjust
4806
4807         * rowpainter.C (RowPainter): adjust
4808         (leftMargin): simplify and adjust
4809         (most rowpainter functions): adjust.
4810
4811         * rowpainter.h: store the row as RowList::iterator not as Row*
4812
4813         * lyxcursor.C (row): taka RowList::iterator as arg
4814         (irow): ditto
4815
4816         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4817         of Row*.
4818
4819 2003-04-01  Angus Leeming  <leeming@lyx.org>
4820
4821         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4822         stuff like bool Bool.
4823
4824 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4825
4826         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4827         rewrite a loop
4828
4829 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4832         RowList::iterator.
4833
4834         * lyxtext.h (rows): drop one version and leve a const variant that
4835         returns a RowList::iterator.
4836
4837 2003-03-31  Angus Leeming  <leeming@lyx.org>
4838
4839         * text.C (fill): ensure that the signature is the same as that in the
4840         header file.
4841
4842 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * text2.C (redoParagraphs): adjust
4845         (updateCounters): adjust
4846         (checkParagraph): adjust
4847         (getColumnNearX): adjust and reformat a bit.
4848
4849         * text.C (top_y): adjust
4850         (workWidth): adjust
4851         (leftMargin): adjust
4852         (prepareToPrint): adjust
4853         (getRow): adjust
4854         (getRowNearY): adjust
4855
4856         * lyxtext.h: make rowlist_ mutable.
4857
4858         * RowList.h: add const_iterator
4859         * RowList.C: adjust for RowList::const_iterator.
4860
4861         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4862         adjust.
4863
4864 2003-03-31  John Levon  <levon@movementarian.org>
4865
4866         * lyxrc.h:
4867         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4868
4869         * lyx_main.C: set default fonts from using lyx_gui funcs
4870
4871         * exporter.C: pdf_mode moved from lyxrc
4872
4873         * lyx_cb.C:
4874         * lyxfunc.C: changes from above
4875
4876 2003-03-31  John Levon  <levon@movementarian.org>
4877
4878         * lyx_main.C: fix to the last fix
4879
4880 2003-03-31  John Levon  <levon@movementarian.org>
4881
4882         * bufferlist.C: "Load original" -> "Load Original"
4883
4884         * converter.C:
4885         * exporter.C:
4886         * importer.C:
4887         * lyx_main.C:
4888         * format.C: more Alert cleanups
4889
4890 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * text2.C (removeParagraph): make it take a RowList::iterator as
4893         arg, adjust.
4894         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4895         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4896
4897         * text.C (anchor_row): make it take a RowList::iterator as arg,
4898         adjust.
4899         (computeBidiTables): make it take a const reference to Row instead
4900         of Row pointer, adjust.
4901         (leftMargin): make it take a RowList::iterator as arg, adjust.
4902         (rowBreakPoint): adjust
4903         (breakAgainOneRow): make it take a RowList::iterator as arg,
4904         adjust.
4905         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4906
4907         * bufferview_funcs.C (toggleAndShow): adjust
4908
4909 2003-03-30  John Levon  <levon@movementarian.org>
4910
4911         * Makefile.am:
4912         * BoostFormat.h:
4913         * boost-inst.C: moved to support
4914
4915         * several files: changes as a result
4916
4917 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * text2.C (LyXText): adjust.
4920         (init): adjust
4921         (removeRow): make it take a RowList::iterator as arg, adjust.
4922         (fullRebreak): adjust
4923         (deleteEmptyParagraphMechanism): adjust
4924         (clearPaint): adjust
4925         (postPaint): adjust
4926
4927         * text.C (top_y): adjust
4928         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4929         (breakAgain): make it take a RowList::iterator as arg, adjust.
4930         (breakParagraph): adjust
4931         (insertChar): adjust
4932         (backspace): adjust
4933
4934         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4935         need_break_row, and refresh_row.
4936
4937         * text3.C (dispatch): adjust
4938
4939         * text2.C (checkParagraph): adjust
4940         (setCursor): adjust
4941         (setCursorFromCoordinates): adjust
4942
4943         * text.C (top_y): adjust
4944         (workWidth): adjust
4945         (getRow): make it return a RowList::iterator, adjust
4946         (getRowNearY): make it return a RowList::iterator, adjust
4947
4948         * text2.C (init): adjust
4949         (insertRow): remove function
4950         (insertParagraph): adjust
4951         (redoParagraphs): adjust
4952         (fullRebreak): adjust
4953         (updateCounters): adjust
4954
4955         * text.C (top_y): rewrite to use RowList iterators.
4956         (top_y): adjust
4957         (setHeightOfRow): rewrite to sue RowList iterators.
4958         (appendParagraph): adjust
4959         (breakAgain): adjust
4960         (breakAgainOneRow): adjust
4961         (breakParagraph): adjust
4962         (getRow): adjust
4963         (getRowNearY): adjust, and remove commented code.
4964
4965         * lyxtext.h (firstRow): delete function
4966         (lastRow): delete function
4967         (rows): new function (const and non-const versions.)
4968         (insertRow): delete function
4969
4970         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4971
4972 2003-03-29  John Levon  <levon@movementarian.org>
4973
4974         * BufferView_pimpl.C: always update scrollbar top
4975         because pasting text when we're anchored could mean we
4976         miss an update altogether
4977
4978 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * text2.C (init): use rowlist_.end() and not 0.
4981         (insertRow): change to take a RowList::iterator as arg, adjust
4982         for this.
4983         (insertParagraph): change to take a RowList::iterator as arg,
4984         adjust for this.
4985         (redoParagraphs): remove some debug msgs.
4986
4987         * text.C (appendParagraph): change to take a RowList::iterator
4988         arg, adjust for this.
4989         (breakAgain): add an assert
4990         (breakAgainOneRow): ditto
4991
4992 2003-03-29  John Levon  <levon@movementarian.org>
4993
4994         * text2.C: do not clear selection after inc/decDepth
4995         (bug 550)
4996
4997 2003-03-29  John Levon  <levon@movementarian.org>
4998
4999         * BufferView.C:
5000         * buffer.C: fix broken strerrors according to Lars
5001
5002 2003-03-29  John Levon  <levon@movementarian.org>
5003
5004         * converters.C: more Alert cleanups
5005
5006 2003-03-29  John Levon  <levon@movementarian.org>
5007
5008         * bufferview_funcs.C: remove pointless Alert
5009
5010         * buffer.C: fix confusing error message when
5011         a template is chmoded 000
5012
5013 2003-03-29  John Levon  <levon@movementarian.org>
5014
5015         * BufferView.C:
5016         * BufferView.h:
5017         * BufferView_pimpl.C: Alert fixes
5018
5019         * Makefile.am:
5020         * tabular.C:
5021         * tabular-old.C: remove unused table compat reading
5022
5023 2003-03-29  John Levon  <levon@movementarian.org>
5024
5025         * BufferView.C:
5026         * buffer.C:
5027         * lyx_cb.h:
5028         * lyx_cb.C: more Alert cleanups
5029
5030         * lyxfunc.C: don't allow chktex if not latex document
5031
5032 2003-03-29  John Levon  <levon@movementarian.org>
5033
5034         * lyx_cb.C:
5035         * BufferView.C:
5036         * buffer.C: warnings pushed down from support/,
5037         kill err_alert
5038
5039 2003-03-29  John Levon  <levon@movementarian.org>
5040
5041         * lyxfunc.C: safety check for C-r (revert)
5042
5043 2003-03-29  John Levon  <levon@movementarian.org>
5044
5045         * bufferlist.h:
5046         * bufferlist.C: several UI fixes using Alert::prompt.
5047         Fix the pointless looping quit code. Fix stupid revert
5048         behaviour (bug 938)
5049
5050         * lyxvc.h:
5051         * lyxvc.C:
5052         * lyx_cb.C: use Alert::prompt
5053
5054         * lyx_main.C: remove a silly question
5055
5056         * lyxfunc.C: remove a couple of silly questions,
5057         use Alert::prompt
5058
5059 2003-03-28  John Levon  <levon@movementarian.org>
5060
5061         * text2.C: fix bug 974 (End on empty par)
5062
5063 2003-03-28  John Levon  <levon@movementarian.org>
5064
5065         * BufferView_pimpl.C:
5066         * LyXAction.C:
5067         * lfuns.h: remove do-nothing math greek lfuns
5068
5069 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * lyxgluelength.h (isValidGlueLength): add default arg on
5072         parameter 2. Remove default arg from friend in class.
5073
5074         * lyxlength.h (isValidLength): add default arg on parameter 2.
5075         Remove default arg from friend in class.
5076
5077         * text2.C (LyXText): adjust, initialize refresh_row.
5078         (init): adjust
5079         (removeRow): adjust
5080         (insertRow): adjust
5081         (insertParagraph): adjst
5082         (redoParagraphs): adjust
5083         (fullRebreak): adjust
5084         (updateCounters): adjust
5085         (deleteEmptyParagraphMechanism): first attempt at fixing a
5086         crashing bug.
5087
5088         * text.C (top_y): adjust
5089         (setHeightOfRow): adjust
5090         (getRow): adjust
5091         (getRowNearY): adjust
5092
5093         * lyxtext.h: include RowList.h
5094         (~LyXText): not needed anymore, deleted.
5095         (firstRow): modify for RowList
5096         (lastRow): new function
5097         Delete firstrow and lastrow class variables, add a Rowlist
5098         rowlist_ class variable.
5099
5100         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5101         paragraph is empty.
5102
5103         * RowList.C (insert): fix case where it == begin().
5104
5105 2003-03-26  Angus Leeming  <leeming@lyx.org>
5106
5107         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5108         the thesaurus dialog.
5109
5110 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5113
5114         * RowList.[Ch]: new files
5115
5116         * ParagraphList.C (erase): handle the case where it == begin
5117         correctly.
5118
5119 2003-03-25  John Levon  <levon@movementarian.org>
5120
5121         * Makefile.am:
5122         * aspell_local.h:
5123         * aspell.C: add new aspell support
5124
5125         * lyxrc.h:
5126         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5127         have it accessible.
5128
5129 2003-03-25  Angus Leeming  <leeming@lyx.org>
5130
5131         * lfuns.h:
5132         * LyXAction.C (init): new LFUN_INSET_INSERT.
5133
5134         * BufferView_pimpl.C (dispatch): split out part of the
5135         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5136
5137         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5138         LFUN_INSET_APPLY.
5139
5140 2003-03-25  Angus Leeming  <leeming@lyx.org>
5141
5142         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5143
5144 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * text2.C:
5147         * text3.C: remove useless row->height(0)
5148
5149 2003-03-25  John Levon  <levon@movementarian.org>
5150
5151         * lyxtext.h:
5152         * text2.C:
5153         * text3.C: rename the refreshing stuff to better names
5154
5155 2003-03-24  John Levon  <levon@movementarian.org>
5156
5157         * BufferView_pimpl.h:
5158         * BufferView_pimpl.C: update layout choice on a mouse
5159         press/release
5160
5161 2003-03-23  John Levon  <levon@movementarian.org>
5162
5163         * Makefile.am: fix commandtags.h reference
5164
5165 2003-03-22  John Levon  <levon@movementarian.org>
5166
5167         * BufferView_pimpl.C:
5168         * lyxtext.h:
5169         * rowpainter.C:
5170         * rowpainter.h:
5171         * text.C:
5172         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5173
5174 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5175
5176         * lyxtext.h:
5177         * text.C: take the rtl methods out of line
5178
5179 2003-03-21 André Pönitz <poenitz@gmx.net>
5180
5181         * metricsinfo.[Ch]: new files containing structures to be passed around
5182         during the two-phase-drawing...
5183
5184 2003-03-21 André Pönitz <poenitz@gmx.net>
5185
5186         * lyxtextclass.C: read 'environment' tag.
5187
5188 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * text2.C (removeRow): fix bug 964
5191
5192 2003-03-20  John Levon  <levon@movementarian.org>
5193
5194         * rowpainter.C:
5195         * text.C:
5196         * text2.C: paint cleanups. Inset::update() dropped font
5197         parameter
5198
5199 2003-03-19  John Levon  <levon@movementarian.org>
5200
5201         * lyxfunc.C: only fitcursor/markDirty if available()
5202
5203 2003-03-19  John Levon  <levon@movementarian.org>
5204
5205         * commandtags.h: rename to ...
5206
5207         * lfuns.h: ... this, and renumber / cleanup
5208
5209 2003-03-19  John Levon  <levon@movementarian.org>
5210
5211         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5212         fit the cursor after an lfun
5213
5214         * BufferView.h:
5215         * BufferView.C:
5216         * BufferView_pimpl.h:
5217         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5218
5219         * LyXAction.C: layout-character should have ReadOnly
5220
5221         * ParagraphParameters.C:
5222         * buffer.C:
5223         * bufferview_funcs.C:
5224         * lyx_cb.C:
5225         * lyxfind.C:
5226         * lyxtext.h:
5227         * text.C:
5228         * text2.C:
5229         * text3.C:
5230         * undo_funcs.C: changes from above
5231
5232 2003-03-18  John Levon  <levon@movementarian.org>
5233
5234         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5235         remove it from update()
5236
5237         * lyxfunc.C: update layout choice after an lfun
5238
5239         * text3.C: remove extra updateLayoutChoice()s
5240
5241 2003-03-18  John Levon  <levon@movementarian.org>
5242
5243         * text.C: top_y change means full repaint, fix
5244         a drawing bug with cursor movement
5245
5246 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5247
5248         * lyxtext.h:
5249         * text.C:
5250         * text2.C: anchor row on setCursor
5251
5252 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * lyxtext.h: remove almost all mutable keywords
5255         * text.C:
5256         * text2.C:
5257         * text3.C: remove const keywords accordingly
5258
5259 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5262         anon namespace
5263         (TeXEnvironment): ditto
5264         (TeXOnePar): ditto
5265
5266 2003-03-17  John Levon  <levon@movementarian.org>
5267
5268         * text.C (rowBreakPoint): remove attempt to fix displayed
5269         math insets inside a manual label
5270
5271 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * lyxtext.h: remove BufferView* as first arg from almost all class
5274         functions.
5275         * other files: adjust.
5276
5277 2003-03-17  John Levon  <levon@movementarian.org>
5278
5279         * lyxtext.h:
5280         * undo_funcs.C:
5281         * text2.C: more paint cleanups
5282
5283         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5284
5285         * rowpainter.h:
5286         * rowpainter.C: remove "smart" background painting code
5287
5288 2003-03-16  John Levon  <levon@movementarian.org>
5289
5290         * lyxtext.h:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: add helper functions for setting refresh_row/y
5294
5295 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5296
5297         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5298         newline inset which *can* get inserted in the pass_thru layouts.
5299         This is primarily for literate documents.
5300
5301 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5302
5303         * buffer.C: increment LYX_FORMAT to 223
5304
5305 2003-03-14 André Pönitz <poenitz@gmx.net>
5306
5307         * textclass.h: prepare for environment handling, ws changes
5308         * lyxlayout.C: read latexheader and latexfooter tags
5309
5310 2003-03-14  John Levon  <levon@movementarian.org>
5311
5312         * text2.C: rewrite ::status() a bit
5313
5314 2003-03-13  John Levon  <levon@movementarian.org>
5315
5316         * lyxtext.h: add some docs
5317
5318 2003-03-13  John Levon  <levon@movementarian.org>
5319
5320         * lyxtext.h:
5321         * text.C:
5322         * text2.C:
5323         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5324
5325 2003-03-13  John Levon  <levon@movementarian.org>
5326
5327         * text3.C: fix appendix redrawing
5328
5329 2003-03-13  John Levon  <levon@movementarian.org>
5330
5331         * text.C (setHeightOfRow):
5332         * rowpainter.h:
5333         * rowpainter.C: make appendix mark have the text
5334           "Appendix" so the user knows what it is
5335
5336         * LColor.h:
5337         * LColor.C: s/appendixline/appendix/ from above
5338
5339 2003-03-13  John Levon  <levon@movementarian.org>
5340
5341         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5342
5343         * text.C: fix a getChar(pos) bug properly
5344
5345 2003-03-13  Angus Leeming  <leeming@lyx.org>
5346
5347         * commandtags.h:
5348         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5349         Probably only temporary. Let's see how things pan out.
5350
5351         * BufferView.C (unlockInset):
5352         * BufferView_pimpl.C (fitCursor):
5353         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5354
5355         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5356         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5357
5358         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5359         new functions that convert ParagraphParameters to and from a string.
5360
5361         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5362         BufferView::Pimpl's dispatch.
5363         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5364
5365 2003-03-13 André Pönitz <poenitz@gmx.net>
5366
5367         * lyxfunc.C:
5368         * text3.C:
5369         * factory.C: make it aware of InsetEnv
5370
5371 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * text2.C (setCursor): never ask for one past last
5374         (setCursor): add some debugging messages.
5375
5376         * text.C (singleWidth): never ask for one past last
5377         (singleWidth): ditto
5378         (leftMargin): ditto
5379         (rightMargin): ditto
5380         (rowBreakPoint): ditto
5381         (setHeightOfRow): ditto
5382         (prepareToPrint): ditto
5383
5384         * rowpainter.C (paintBackground): never ask for one past last
5385         (paintText): never ask for one past last
5386
5387         * paragraph_pimpl.C (getChar): make the assert stricter, never
5388         allow the one past last pos to be taken
5389
5390         * paragraph.C (getChar): ws changes only
5391
5392         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5393         (numberOfSeparators): ditto
5394         (numberOfHfills): ditto
5395
5396 2003-03-12  John Levon  <levon@movementarian.org>
5397
5398         * author.h:
5399         * author.C:
5400         * bufferparams.h:
5401         * bufferparams.C:
5402         * paragraph_funcs.C: fix per-buffer authorlists
5403
5404 2003-03-12  John Levon  <levon@movementarian.org>
5405
5406         * text.C: fix newline in right address
5407
5408 2003-03-12  Angus Leeming  <leeming@lyx.org>
5409
5410         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5411         duplicate those in LyXFunc::dispatch.
5412
5413         * commandtags.h:
5414         * LyXAction.C:
5415         * ToolbarDefaults.C:
5416         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5417         Add LFUN_FONTFREE_UPDATE.
5418
5419         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5420         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5421
5422         * bufferview_func.[Ch]: several new functions to facilliate
5423         transfer of data to and from the character dialog.
5424
5425 2003-03-12  John Levon  <levon@movementarian.org>
5426
5427         * buffer.C:
5428         * paragraph.h:
5429         * paragraph.C:
5430         * paragraph_funcs.C:
5431         * paragraph_pimpl.C:
5432         * sgml.C:
5433         * tabular.C:
5434         * text.C:
5435         * text3.C: remove META_NEWLINE in favour of an inset
5436
5437         * rowpainter.h:
5438         * rowpainter.C: remove paintNewline (done by inset)
5439
5440 2003-03-12  John Levon  <levon@movementarian.org>
5441
5442         * paragraph_pimpl.C: complain about bad getChar()s
5443         for a while at least
5444
5445 2003-03-12  John Levon  <levon@movementarian.org>
5446
5447         * buffer.h:
5448         * buffer.C: move paragraph read into a separate function,
5449         a little renaming to reflect that.
5450
5451         * bufferparams.h:
5452         * bufferparams.C: remove the author_ids map, not necessary now
5453
5454         * factory.h:
5455         * factory.C: moved Buffer::readInset to here
5456
5457         * paragraph_funcs.h:
5458         * paragraph_funcs.C: readParagraph free function moved from
5459         buffer.C
5460
5461         * tabular.C: name change
5462
5463 2003-03-12  John Levon  <levon@movementarian.org>
5464
5465         * buffer.C:
5466         * ParagraphParameters.C: move par params input to
5467         a read() method
5468
5469         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5470         behave like a normal read from the stream wrt reading
5471         a line vs. a \\token
5472
5473 2003-03-12  John Levon  <levon@movementarian.org>
5474
5475         * paragraph.C:
5476         * ParagraphParameters.h:
5477         * ParagraphParameters.C: move output code to a
5478         ::write() method
5479
5480 2003-03-12  John Levon  <levon@movementarian.org>
5481
5482         * BufferView.C (insertLyXFile):
5483         * buffer.h:
5484         * buffer.C:
5485         * tabular.C: use a parlist iterator for creating the
5486           document.
5487
5488 2003-03-12  John Levon  <levon@movementarian.org>
5489
5490         * buffer.C: make current_change static local not
5491           static file-scope
5492
5493 2003-03-12  John Levon  <levon@movementarian.org>
5494
5495         * buffer.C: fix insertStringAsLines for change tracking
5496
5497 2003-03-12  John Levon  <levon@movementarian.org>
5498
5499         * BufferView.C:
5500         * tabular.C:
5501         * buffer.h:
5502         * buffer.C:
5503         * bufferparams.h:
5504         * bufferparams.C: move author list into params. Rename some
5505           functions. Move the header reading into a separate token
5506           loop. Move the header token reading into BufferParams.
5507
5508 2003-03-12  John Levon  <levon@movementarian.org>
5509
5510         * changes.C: put debug inside lyxerr.debugging() checks
5511
5512 2003-03-11 André Pönitz <poenitz@gmx.net>
5513
5514         * factory.C: make it aware of InsetHFill
5515
5516 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5517
5518         * buffer.C (latexParagraphs): move function from here...
5519         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5520         args.
5521
5522 2003-03-10  Angus Leeming  <leeming@lyx.org>
5523
5524         * LyXAction.C (init): fix bug in poplating array with multiple entries
5525         with the same LFUN (spotted by JMarc).
5526
5527 2003-03-10  John Levon  <levon@movementarian.org>
5528
5529         * text.C:
5530         * text2.C: move getColumnNearX() near its
5531         only call site
5532
5533 2003-03-10  John Levon  <levon@movementarian.org>
5534
5535         * text.C: fix break before a minipage
5536
5537 2003-03-10  John Levon  <levon@movementarian.org>
5538
5539         * text.C: fix the last commit
5540
5541 2003-03-09  John Levon  <levon@movementarian.org>
5542
5543         * lyxtext.h:
5544         * text.C:
5545         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5546         bug 365 (don't break before insets unless needed). Don't
5547         return a value > last under any circumstances.
5548
5549 2003-03-09  Angus Leeming  <leeming@lyx.org>
5550
5551         * BufferView_pimpl.C (trackChanges, dispatch): call
5552         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5553
5554 2003-03-09  Angus Leeming  <leeming@lyx.org>
5555
5556         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5557         than Dialogs::showAboutlyx().
5558
5559 2003-03-09  Angus Leeming  <leeming@lyx.org>
5560
5561         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5562         than Dialogs::showTabularCreate().
5563
5564 2003-03-09  John Levon  <levon@movementarian.org>
5565
5566         * lyxtext.h:
5567         * text.C:
5568         * text2.C: 3rd arg to nextBreakPoint was always the same.
5569           Use references.
5570
5571 2003-03-08  John Levon  <levon@movementarian.org>
5572
5573         * lyxrow.C:
5574         * paragraph.C:
5575         * paragraph.h:
5576         * rowpainter.C:
5577         * text.C:
5578         * text2.C: Remove the "main" bit from the "main body"
5579           notion.
5580
5581 2003-03-08  John Levon  <levon@movementarian.org>
5582
5583         * text.C (leftMargin): The left margin of an empty
5584         manual label paragraph should not include the label width
5585         string length.
5586
5587         * text.C (prepareToPrint): don't attempt to measure hfills
5588         for empty manual label paragraphs - the answer should be 0
5589
5590 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * CutAndPaste.C: remove commented code and reindent.
5593
5594 2003-03-08  John Levon  <levon@movementarian.org>
5595
5596         * lyxfunc.h:
5597         * lyxfunc.C: move reloadBuffer()
5598
5599         * BufferView.h:
5600         * BufferView.C: to here
5601
5602         * lyxvc.C: add comment
5603
5604         * vc-backend.h:
5605         * vc-backend.C: call bv->reload() to avoid
5606           getStatus() check on MENURELOAD
5607
5608 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5609
5610         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5611         to an old format .dep file.
5612
5613 2003-03-07  Angus Leeming  <leeming@lyx.org>
5614
5615         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5616         when the LFUN_MOUSE_RELEASE should have been handled by
5617         inset->localDispatch.
5618
5619 2003-03-07  Angus Leeming  <leeming@lyx.org>
5620
5621         * BufferView_pimpl.C (dispatch):
5622         * LyXAction.C (init):
5623         * ToolbarDefaults.C (init):
5624         * commandtags.h:
5625         * lyxfunc.C (getStatus):
5626         remove LFUN_INSET_GRAPHICS.
5627
5628         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5629
5630 2003-03-07  Angus Leeming  <leeming@lyx.org>
5631
5632         * commandtags.h:
5633         * LyXAction.C (init):
5634         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5635
5636         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5637
5638         * commandtags.h:
5639         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5640
5641         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5642         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5643
5644 2003-03-07  Angus Leeming  <leeming@lyx.org>
5645
5646         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5647         remove "ert".
5648
5649 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * ParagraphList.C (front): new function
5652         (back): implement
5653
5654 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5657         and top_row_offset_. removed var first_y.
5658         * text.C (top_y):
5659         * text2.C (LyXText, removeRow):
5660         * text3.C:
5661         * BufferView_pimpl.C:
5662         use these methods instead of using first_y
5663
5664 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * text2.C (pasteSelection): adjust for checkPastePossible
5667
5668         * CutAndPaste.C: remove Paragraph * buf and replace with
5669         ParagraphList paragraphs.
5670         (DeleteBuffer): delete
5671         (cutSelection): change the tc type to textclass_type
5672         (copySelection): change the tc type to textclass_type
5673         (copySelection): adjust for ParagraphList
5674         (pasteSelection): change the tc type to textclass_type
5675         (pasteSelection): adjust for Paragraphlist
5676         (nrOfParagraphs): simplify for ParagraphList
5677         (checkPastePossible): simplify for ParagraphList
5678         (checkPastePossible): remove unused arg
5679
5680         * ParagraphList.C (insert): handle the case where there are no
5681         paragraphs yet.
5682
5683         * CutAndPaste.h: make CutAndPaste a namespace.
5684
5685         * text3.C (dispatch): adjust
5686
5687         * text.C (breakParagraph): add a ParagraphList as arg
5688
5689         * paragraph_funcs.C (breakParagraph): change to take a
5690         BufferParams and a ParagraphList as args.
5691         (breakParagraphConservative): ditto
5692         (mergeParagraph): ditto
5693         (TeXDeeper): add a ParagraphList arg
5694         (TeXEnvironment): ditto
5695         (TeXOnePar): ditto
5696
5697         * buffer.C (readLyXformat2): adjust
5698         (insertStringAsLines): adjust
5699         (latexParagraphs): adjust
5700
5701         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5702         (cutSelection): adjust
5703         (pasteSelection): adjust
5704
5705         * BufferView_pimpl.C (insertInset): adjust
5706
5707 2003-03-05  Angus Leeming  <leeming@lyx.org>
5708
5709         * commandtags.h:
5710         * LyXAction.C (init):
5711         * BufferView_pimpl.C (dispatch):
5712         * lyxfunc.C (getStatus):
5713         remove LFUN_CHILD_INSERT.
5714
5715         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5716
5717 2003-03-05  Angus Leeming  <leeming@lyx.org>
5718
5719         * commandtags.h:
5720         * LyXAction.C (init):
5721         * src/factory.C (createInset):
5722         * lyxfunc.C (getStatus):
5723         * text3.C (dispatch):
5724         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5725
5726         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5727
5728 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * ParagraphList.C (insert): handle insert right before end()
5731         (erase): fix cases where it can be first or last paragraph.
5732
5733 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5736         Paragraph::next and Paragraph::previous
5737         (TeXOnePar): ditto
5738
5739         * text.C (breakParagraph): adjust
5740
5741         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5742         BufferParams& as arg.
5743         (breakParagraph): use ParagraphList::insert
5744         (breakParagraphConservative): take a Buffer* instead of a
5745         BufferParams& as arg.
5746         (breakParagraphConservative): use ParagraphList::insert.
5747
5748         * buffer.C (insertStringAsLines): un-const it
5749         (insertStringAsLines): adjust
5750
5751         * ParagraphList.C (insert): new function
5752
5753         * CutAndPaste.C (pasteSelection): adjust
5754
5755         * text.C (backspace): adjust
5756
5757         * tabular.C (SetMultiColumn): adjust
5758
5759         * CutAndPaste.C (cutSelection): adjust
5760         (pasteSelection): adjust
5761
5762         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5763         Buffer const * as arg
5764
5765         * ParagraphList.C (erase): new function
5766         * paragraph_funcs.C (mergeParagraph): use it
5767         (mergeParagraph): make it take a Buffer* instead of a
5768         BufferParams* as arg
5769
5770         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5771         as arg
5772         (breakParagraphConservative): ditto
5773
5774         * paragraph.h: remove the breakParagraph friend
5775
5776         * paragraph.C (eraseIntern): new function
5777         (setChange): new function
5778
5779         * paragraph_funcs.C (mergeParagraph): make it take a
5780         ParagraphList::iterator instead of a Paragraph *, adjust
5781         accordingly.
5782
5783         * paragraph.h: move an #endif so that the change tracking stuff
5784         also works in the NO_NEXT case.
5785
5786 2003-03-04  Angus Leeming  <leeming@lyx.org>
5787
5788         * commandtags.h:
5789         * LyXAction.C: new LFUN_INSET_MODIFY.
5790
5791         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5792         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5793
5794 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * several files: ws changes only
5797
5798         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5799         (TeXEnvironment): ditto
5800         (TeXDeeper): ditto
5801
5802         * buffer.C (makeLaTeXFile): adjust
5803         (latexParagraphs): make it take ParagraphList::iterator as args
5804
5805 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * buffer.C (latexParagraphs): adjust
5808
5809         * paragraph.C (TeXOnePar): move function...
5810         (optArgInset): move function...
5811         (TeXEnvironment): move function...
5812         * paragraph_pimpl.C (TeXDeeper): move function...
5813         * paragraph_funcs.C: ...here
5814
5815         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5816
5817 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5818
5819         * buffer.C (readInset): remove compability code for old Figure and
5820         InsetInfo insets
5821
5822 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * buffer.C: ws changes
5825         (readInset):
5826
5827         * BufferView_pimpl.C: ditto
5828         * author.C: ditto
5829         * buffer.h: ditto
5830         * bufferlist.h: ditto
5831         * changes.h: ditto
5832         * lyxfunc.C: ditto
5833
5834 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5835
5836         * converter.[Ch]: split into itself +
5837         * graph.[Ch]
5838         * format.[Ch]
5839         * Makefile.am: += graph.[Ch] + format.[Ch]
5840         * MenuBackend.C
5841         * buffer.C
5842         * exporter.C
5843         * importer.C
5844         * lyx_main.C
5845         * lyxfunc.C
5846         * lyxrc.C: added #include "format.h"
5847
5848 2003-02-27  Angus Leeming  <leeming@lyx.org>
5849
5850         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5851           a label.
5852
5853         * factory.C (createInset): add "label" to the factory.
5854
5855         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5856           string and do no more.
5857
5858 2003-02-27  Angus Leeming  <leeming@lyx.org>
5859
5860         * commandtags.h:
5861         * LyXAction.C (init):
5862         * factory.C (createInset):
5863         * BufferView_pimpl.C (dispatch):
5864           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5865
5866         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5867
5868         * lyxfunc.C (dispatch):
5869         * text3.C (dispatch): pass name to params2string.
5870
5871 2003-02-26  Angus Leeming  <leeming@lyx.org>
5872
5873         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5874           blocks together.
5875           Rearrange the ~includes. Strip out the unnecessary ones.
5876
5877         * factory.C (createInset): reformat.
5878           create new insets for the various LFUN_XYZ_APPLY lfuns.
5879
5880 2003-02-26  John Levon  <levon@movementarian.org>
5881
5882         * lyxrow.h:
5883         * lyxrow.C: add isParStart,isParEnd helpers
5884
5885         * paragraph.h: make isInserted/DeletedText take refs
5886
5887         * paragraph_funcs.h:
5888         * paragraph_funcs.C: remove #if 0'd code
5889
5890         * lyxtext.h:
5891         * text3.C:
5892         * text2.C:
5893         * text.C: use lyxrow helpers above.
5894           Move draw and paint routines to RowPainter.
5895           Make several methods use refs not pointers.
5896           Make backgroundColor() const.
5897           Add markChangeInDraw(), isInInset().
5898           Merge changeRegionCase into changeCase.
5899           Make workWidth() shouldn't-happen code into an Assert.
5900
5901         * rowpainter.h:
5902         * rowpainter.C: new class for painting a row.
5903
5904         * vspace.h:
5905         * vspace.C: make inPixels take a ref
5906
5907 2003-02-26  Angus Leeming  <leeming@lyx.org>
5908
5909         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5910         LFUN_REF_APPLY.
5911
5912 2003-02-25  John Levon  <levon@movementarian.org>
5913
5914         * ispell.C: give the forked command a more accurate name
5915
5916 2003-02-22  John Levon  <levon@movementarian.org>
5917
5918         * toc.h:
5919         * toc.C: make TocItem store an id not a Paragraph *
5920           (bug #913)
5921
5922 2003-02-21  Angus Leeming  <leeming@lyx.org>
5923
5924         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5925           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5926           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5927           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5928           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5929           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5930
5931         * BufferView_pimpl.C (dispatch):
5932         * LyXAction.C (init):
5933         * factory.C (createInset):
5934         * lyxfunc.C (getStatus, dispatch):
5935         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5936
5937 2003-02-21  Angus Leeming  <leeming@lyx.org>
5938
5939         * BufferView_pimpl.C (MenuInsertLyXFile):
5940         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5941         * lyxfunc.C (menuNew, open, doImport):
5942           no longer pass a LyXView & to fileDlg.
5943
5944 2003-02-21  Angus Leeming  <leeming@lyx.org>
5945
5946         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5947         * LyXAction.C: change, BIBKEY to BIBITEM.
5948         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5949         Change InsetBibKey to InsetBibitem.
5950         Change BIBKEY_CODE to BIBITEM_CODE.
5951         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5952         * factory.C: replace insetbib.h with insetbibitem.h.
5953         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5954         * paragraph.C: replace insetbib.h with insetbibitem.h.
5955         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5956         Change bibkey() to bibitem().
5957         * text.C: remove insetbib.h.
5958         * text2.C: replace insetbib.h with insetbibitem.h.
5959         change bibkey() to bibitem().
5960         * text3.C: remove insetbib.h.
5961         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5962
5963 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5964
5965         * lyxrc.C (output): enclose user email in quotes (in case there are
5966         several words)
5967
5968 2003-02-18  John Levon  <levon@movementarian.org>
5969
5970         * buffer.h: add std::
5971
5972 2003-02-17  John Levon  <levon@movementarian.org>
5973
5974         * SpellBase.h:
5975         * ispell.h:
5976         * ispell.C:
5977         * pspell.h:
5978         * pspell.C: reworking. Especially in ispell, a large
5979           number of clean ups and bug fixes.
5980
5981         * lyxfunc.C: fix revert to behave sensibly
5982
5983 2003-02-17 André Pönitz <poenitz@gmx.net>
5984
5985         * LyXAction.C:
5986         * commandtags.h: new LFUN_INSERT_BIBKEY
5987
5988         * layout.h:
5989         * lyxlayout.C:
5990         * buffer.C:
5991         * factory.C:
5992         * text.C:
5993         * text2.C:
5994         * text3.C:
5995         * paragraph.[Ch]:
5996         * paragraph_func.C: remove special bibkey handling
5997
5998 2003-02-17  John Levon  <levon@movementarian.org>
5999
6000         * text.C (Delete): fix case where delete at the end of
6001           the very first paragraph would not merge the pars
6002
6003 2003-02-17  John Levon  <levon@movementarian.org>
6004
6005         * lyxrow.C: fix lastPrintablePos()
6006
6007 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6008
6009         * bufferparams.C (writeLaTeX): add a std:here
6010
6011         * buffer.C: and remove a using directive there
6012
6013 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6014
6015         * buffer.C (makeLaTeXFile): move the code that generates the
6016           preamble...
6017
6018         * bufferparams.C (writeLaTeX): ... in this new method
6019
6020         * LaTeXFeatures.C (getEncodingSet): make const
6021           (getLanguages): make const
6022
6023         * MenuBackend.C (binding): returns the binding associated to this
6024           action
6025           (add): sets the status of each item by calling getStatus. Adds
6026           some intelligence.
6027           (read): add support for OptSubMenu
6028           (expand): remove extra separator at the end of expanded menu
6029
6030 2003-02-15  John Levon  <levon@movementarian.org>
6031
6032         * BufferView.C:
6033         * BufferView_pimpl.C:
6034         * bufferlist.h:
6035         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6036           inset code that had no actual effect. Remove unneeded status
6037           code.
6038
6039 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6040
6041         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6042           in preamble
6043
6044 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6045
6046         * text.C (drawLengthMarker): also draw an arrow marker for
6047           symbolic lengths (medskip...)
6048
6049 2003-02-14  John Levon  <levon@movementarian.org>
6050
6051         * tabular.h:
6052         * tabular.C: better method names
6053
6054 2003-02-14  John Levon  <levon@movementarian.org>
6055
6056         * BufferView_pimpl.C:
6057         * bufferlist.C:
6058         * buffer.C:
6059         * converter.C:
6060         * lyx_cb.C:
6061         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6062           it's a more accurate name. Remove some pointless uses.
6063
6064 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6065
6066         * text2.C (LyXText): change order of initilizers to shut off
6067           warnings
6068
6069 2003-02-14  John Levon  <levon@movementarian.org>
6070
6071         * buffer.C: use ParIterator for getParFromID()
6072
6073         * paragraph.h:
6074         * paragraph.C:
6075         * paragraph_pimpl.h:
6076         * paragraph_pimpl.C: remove unused getParFromID()
6077
6078 2003-02-14  John Levon  <levon@movementarian.org>
6079
6080         * buffer.C: remove some very old #if 0'd parse code
6081
6082 2003-02-13  John Levon  <levon@movementarian.org>
6083
6084         * text.h:
6085         * text.C:
6086         * text2.C: move hfillExpansion(), numberOfSeparators(),
6087           rowLast(), rowLastPrintable(), numberofHfills(),
6088           numberOfLabelHfills() ...
6089
6090         * lyxrow.h:
6091         * lyxrow.C: ... to member functions here.
6092
6093         * paragraph.h:
6094         * paragraph.C:
6095         * lyxtext.h:
6096         * text.C: remove LyXText::beginningOfMainBody(), and call
6097           p->beginningOfMainBody() directly. Move the check for
6098           LABEL_MANUAL into the latter.
6099
6100         * text.h:
6101         * text.C:
6102         * text2.C:
6103         * vspace.C:
6104         * BufferView.h:
6105         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6106
6107         * text.h:
6108         * text.C:
6109         * text2.C:
6110         * text3.C:
6111         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6112           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6113
6114 2003-02-13  John Levon  <levon@movementarian.org>
6115
6116         * CutAndPaste.C: remove debug
6117
6118 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6119
6120         * paragraph.C (asString): remove two unused variables
6121
6122         * lyxtextclass.C (readTitleType):
6123           (Read):
6124           (LyXTextClass): handle new members titletype_ and titlename_
6125
6126         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6127
6128 2003-02-09  John Levon  <levon@movementarian.org>
6129
6130         * buffer.h:
6131         * buffer.C: replace hand-coded list with a map for the dep clean
6132
6133 2003-02-08  John Levon  <levon@movementarian.org>
6134
6135         * LaTeX.C: consolidate code into showRunMessage() helper
6136
6137 2003-02-08  John Levon  <levon@movementarian.org>
6138
6139         * lyxfind.C:
6140         * lyxtext.h:
6141         * text2.C:
6142         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6143           and pass the size in explicitly
6144
6145         * BufferView_pimpl.h:
6146         * BufferView_pimpl.C:
6147         * BufferView.h:
6148         * BufferView.C: add getCurrentChange()
6149
6150         * BufferView_pimpl.h:
6151         * BufferView_pimpl.C: handle change lfuns
6152
6153         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6154           for changes. Mark pasted paragraphs as new.
6155
6156         * support/lyxtime.h:
6157         * support/lyxtime.C:
6158         * DepTable.C: abstract time_t as lyx::time_type
6159
6160         * LColor.h:
6161         * LColor.C: add colours for new text, deleted text, changebars
6162
6163         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6164           package use "usenames" option.
6165
6166         * commandtags.h:
6167         * lyxfunc.C:
6168         * LyXAction.C: add change lfuns
6169
6170         * Makefile.am:
6171         * author.h:
6172         * author.C: author handling
6173
6174         * buffer.h:
6175         * buffer.C: add a per-buffer author list, with first entry as
6176           current author. Handle new .lyx tokens for change tracking. Output
6177           author list to .lyx file. Output dvipost stuff to .tex preamble.
6178           Bump lyx format to 222.
6179
6180         * bufferlist.h:
6181         * bufferlist.C: add setCurrentAuthor() to reset current author details
6182           in all buffers.
6183
6184         * bufferparams.h:
6185         * bufferparams.C: add param for tracking
6186
6187         * bufferview_funcs.C: output change info in minibuffer
6188
6189         * Makefile.am:
6190         * changes.h:
6191         * changes.C: add change-tracking structure
6192
6193         * debug.h:
6194         * debug.C: add CHANGES debug flag
6195
6196         * lyxfind.h:
6197         * lyxfind.C: add code for finding the next change piece
6198
6199         * lyxrc.h:
6200         * lyxrc.C: add user_name and user_email
6201
6202         * lyxrow.h:
6203         * lyxrow.C: add a metric for the top of the text line
6204
6205         * lyxtext.h:
6206         * text.C: implement accept/rejectChange()
6207
6208         * lyxtext.h:
6209         * text.C: paint changebars. Paint new/deleted text in the chosen
6210         colours. Strike through deleted text.
6211
6212         * paragraph.h:
6213         * paragraph.C:
6214         * paragraph_pimpl.h:
6215         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6216           in the current change to the insert functions. Rework erase to
6217           mark text as deleted, adding an eraseIntern() and a range-based
6218           erase(). Implement per-paragraph change lookup and
6219           accept/reject.
6220
6221         * paragraph_funcs.C: Fixup paste for change tracking.
6222
6223         * tabular.C: mark added row/columns as new.
6224
6225         * text.C: fix rowLast() to never return -1. Don't allow
6226           spellchecking of deleted text. Track transpose changes. Don't
6227           allow paragraph break or merge where appropriate.
6228
6229         * text2.C: leave cursor at end of selection after a cut.
6230
6231 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6232
6233         * text.C (getLengthMarkerHeight):
6234         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6235         visible on screen too.
6236
6237 2003-02-07  John Levon  <levon@movementarian.org>
6238
6239         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6240
6241 2003-02-05  Angus Leeming  <leeming@lyx.org>
6242
6243         * lyxserver.C (read_ready): revert my patch of 11 September last year
6244         as it sends PC cpu through the roof. Presumably this means that
6245         the lyxserver will no longer run on an Alpha...
6246
6247 2003-01-30  Angus Leeming  <leeming@lyx.org>
6248
6249         * factory.C (createInset): create an InsetCommandParam of type "index"
6250         and use it to 'do the right thing'.
6251
6252         * text2.C (getStringToIndex): ensure that cursor position is always
6253         reset to the reset_cursor position.
6254
6255 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6256
6257         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6258         disabled.
6259
6260 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6261
6262         * bufferview.C:
6263         * lyxcb.C:
6264         * lyxfunc.C: Output messages with identical spelling, punctuation,
6265         and spaces
6266
6267 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6268
6269         * MenuBackend.C (expandFormats): List only viewable export formats
6270         in "View" menu
6271
6272         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6273         message
6274
6275         * lyxfunc.C (getStatus): Make sure that formats other than
6276         "fax" can also be disabled
6277
6278 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6279
6280         * text3.C (dispatch): put the lfuns that insert insets in 3
6281         groups, and call doInsertInset with appropriate arguments.
6282         (doInsertInset): new function, that creates an inset and inserts
6283         it according to some boolean parameters.
6284
6285 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * buffer.C (readFile): remember to pass on 'par' when calling
6288         readFile recursively.
6289
6290 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6291
6292         * MenuBackend.C (expandFormats): add "..." to import formats.
6293
6294 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6295
6296         * paragraph.C (asString): Remove XForms RTL hacks.
6297
6298 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6299         * buffer.C: fix typo
6300
6301 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * Makefile.am (LIBS): delete var
6304         (lyx_LDADD): add @LIBS@ here instead.
6305
6306 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6307
6308         * Clarify the meaning of "wheel mouse jump"
6309
6310 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6311
6312         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6313         tabular in a float
6314
6315 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6316
6317         * importer.C (Loaders): do not preallocate 3 elements in the
6318         vector, since one ends up with 6 elements otherwise
6319
6320 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6321
6322         * DepTable.C (write): write the file name as last element of the
6323         .dep file (because it may contain spaces)
6324         (read): read info in the right order
6325
6326 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6327
6328         * paragraph_pimpl.C (simpleTeXBlanks):
6329         (simpleTeXSpecialChars):
6330         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6331
6332         * tabular.C (latex): add some missing case statements. Reindent.
6333
6334         * MenuBackend.C (expandToc): remove unused variable.
6335
6336 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6337
6338         * LColor.C:
6339         * LaTeX.C:
6340         * LyXAction.C:
6341         * MenuBackend.C:
6342         * buffer.C:
6343         * exporter.C:
6344         * lyxfunc.C:
6345         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6346         and the like.
6347
6348 2003-01-05  John Levon  <levon@movementarian.org>
6349
6350         * BufferView.h:
6351         * BufferView.C: add getEncoding()
6352
6353         * kbsequence.h:
6354         * kbsequence.C: do not store last keypress
6355
6356         * lyxfunc.h:
6357         * lyxfunc.C: store last keypress here instead. Pass encoding
6358           to getISOEncoded()
6359
6360 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6361
6362         * lyx_main.C (init): remove annoying error message when following
6363         symbolic links (bug #780)
6364
6365 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6366
6367         * text.C (insertChar):
6368         * lyxrc.C (getDescription): remove extra spaces
6369
6370 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6371
6372         * lyxrc.C (getDescription): remove extra spaces
6373
6374 2002-12-20  John Levon  <levon@movementarian.org>
6375
6376         * text3.C: hack fix for page up/down across tall rows
6377
6378 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6379
6380         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6381         not been invoked
6382
6383 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6384
6385         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6386         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6387         thesaurus is not compiled in
6388
6389 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6390
6391         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6392
6393 2002-12-16  Angus Leeming  <leeming@lyx.org>
6394
6395         * lyxrc.[Ch]:
6396         * lyx_main.C (init): remove override_x_deadkeys stuff.
6397
6398 2002-12-12  John Levon  <levon@movementarian.org>
6399
6400         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6401           insert. Only remove shift modifier under strict
6402           circumstances.
6403
6404 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * MenuBackend.C (expandToc): fix crash.
6407
6408 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * MenuBackend.C (expandToc): gettext on float names.
6411
6412 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6413
6414         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6415         implement bool empty() [bug 490]
6416
6417 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6420
6421 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * several files: ws changes
6424
6425 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * text2.C (setCounter): clean up a bit, use boost.format.
6428         (updateCounters): initialize par upon declaration.
6429
6430         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6431         if the layout exists. We do not just store the layout any more.
6432         (SwitchLayoutsBetweenClasses): use boost.format
6433
6434 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6435
6436         * converter.C (convert): if from and to files are the same, use a
6437         temporary files as intermediary
6438
6439 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6440
6441         * commandtags.h:
6442         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6443
6444 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6445
6446         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6447
6448 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * tabular.C (asciiPrintCell): use string(size, char) instead of
6451         explicit loop.
6452
6453         * sgml.C (openTag): fix order of arguments to string constructor
6454         (closeTag): ditto
6455
6456         * lyxfunc.C (dispatch): use boost.format
6457
6458         * lots of files: change "c" -> 'c'
6459
6460 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6461
6462         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6463
6464 2002-11-25  Angus Leeming  <leeming@lyx.org>
6465
6466         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6467
6468         * lyx_main.C (init): compile fix.
6469
6470 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * lyx_cb.C (start): boost.formatify
6473         do not include <iostream>
6474
6475         * lengthcommon.C: ws only
6476
6477         * boost-inst.C,BoostFormat.h: add more explict instantations
6478
6479 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * lots of files: handle USE_BOOST_FORMAT
6482
6483 2002-11-21  John Levon  <levon@movementarian.org>
6484
6485         * pspell.C: fix compile
6486
6487 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6488
6489         * lyxfunc.C (dispatch): use boost::format
6490         (open): ditto
6491         (doImport): ditto
6492
6493         * lyxfont.C (stateText): use boost::format
6494
6495         * lyx_main.C (LyX): use boost::format
6496         (init): ditto
6497         (queryUserLyXDir): ditto
6498         (readRcFile): ditto
6499         (parse_dbg): ditto
6500         (typedef boost::function): use the recommened syntax.
6501
6502         * importer.C (Import): use boost::format
6503
6504         * debug.C (showLevel): use boost::format
6505
6506         * converter.C (view): use boost::format
6507         (convert): ditto
6508         (move): ditto
6509         (scanLog): ditto
6510
6511         * bufferview_funcs.C (currentState): use boost::format
6512
6513         * bufferlist.C (emergencyWrite): use boost::format
6514
6515         * buffer.C (readLyXformat2): use boost::format
6516         (parseSingleLyXformat2Token): ditto
6517
6518         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6519
6520         * LaTeX.C (run): use boost::format
6521
6522         * Chktex.C (scanLogFile): use boost::format
6523
6524         * BufferView_pimpl.C (savePosition): use boost::format
6525         (restorePosition): ditto
6526         (MenuInsertLyXFile): ditto
6527
6528         * BoostFormat.h: help file for explicit instation.
6529
6530 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6531
6532         * tabular.C (latex): Support for block alignment in fixed width
6533         columns.
6534
6535 2002-11-17  John Levon  <levon@movementarian.org>
6536
6537         * BufferView_pimpl.C:
6538         * lyx_cb.C:
6539         * lyxfunc.C: split filedialog into open/save
6540
6541 2002-11-08  Juergen Vigna  <jug@sad.it>
6542
6543         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6544         by my last patch (hopefully).
6545
6546 2002-11-08  John Levon  <levon@movementarian.org>
6547
6548         * iterators.h:
6549         * iterators.C:
6550         * buffer.h:
6551         * buffer.C:
6552         * paragraph.h:
6553         * paragraph.C:
6554         * toc.h:
6555         * toc.C: ParConstIterator, and use it (from Lars)
6556
6557 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6558
6559         * lyxtextclass.[Ch]: revise and add doxygen comments
6560
6561 2002-11-07  John Levon  <levon@movementarian.org>
6562
6563         * text.C: fix progress value for spellchecker
6564
6565         * toc.C: fix navigate menu for insetwrap inside minipage
6566
6567         * paragraph_funcs.C: added FIXME for suspect code
6568
6569 2002-11-07  John Levon  <levon@movementarian.org>
6570
6571         * BufferView_pimpl.C: fix redrawing of insets
6572           on buffer switch
6573
6574 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6575
6576         * text2.C (updateCounters): fix bug 668
6577
6578 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6579
6580         * text3.C (dispatch): Do not make the buffer dirty when moving the
6581         cursor.
6582
6583 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * vc-backend.C: STRCONV
6586         (scanMaster): ditto
6587
6588         * text2.C (setCounter): STRCONV
6589
6590         * paragraph.C (asString): STRCONV
6591
6592         * lyxlength.C (asString): STRCONV
6593         (asLatexString): ditto
6594
6595         * lyxgluelength.C (asString): STRCONV
6596         (asLatexString): ditto
6597
6598         * lyxfunc.C (dispatch): STRCONV
6599         (open): ditto
6600
6601         * lyxfont.C (stateText): STRCONV
6602
6603         * importer.C (Import): STRCONV
6604
6605         * counters.C (labelItem): STRCONV
6606         (numberLabel): ditto
6607         (numberLabel): remove unused ostringstream o
6608
6609         * chset.C: STRCONV
6610         (loadFile): ditto
6611
6612         * bufferview_funcs.C (currentState): STRCONV
6613
6614         * buffer.C (readFile): STRCONV
6615         (asciiParagraph): ditto
6616         (makeLaTeXFile): ditto
6617
6618         * Spacing.C (writeEnvirBegin): STRCONV
6619
6620         * LaTeXFeatures.C (getLanguages): STRCONV
6621         (getPackages): ditto
6622         (getMacros): ditto
6623         (getBabelOptions): ditto
6624         (getTClassPreamble): ditto
6625         (getLyXSGMLEntities): ditto
6626         (getIncludedFiles): ditto
6627
6628         * LaTeX.C: STRCONV
6629         (run): ditto
6630         (scanAuxFile): ditto
6631         (deplog): ditto
6632
6633         * LString.h: add the STRCONV macros
6634
6635         * BufferView_pimpl.C (savePosition): STRCONV
6636         (restorePosition): ditto
6637         (MenuInsertLyXFile): ditto
6638
6639         * vc-backend.C (scanMaster): change from submatch[...] to
6640         submatch.str(...)
6641
6642         * funcrequest.C: include config.h
6643
6644         * factory.C: include config.h
6645
6646         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6647
6648         * box.C: include config.h
6649
6650         * LaTeX.C (scanAuxFile): change from submatch[...] to
6651         submatch.str(...)
6652         (deplog): ditto
6653
6654 2002-10-25  Angus Leeming  <leeming@lyx.org>
6655
6656         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6657
6658         * ispell.[Ch] (setError): new method.
6659         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6660         Use setError() insetead of goto END.
6661
6662         * lyx_cb.C (AutoSave): move out child process into new class
6663         AutoSaveBuffer.
6664
6665 2002-10-30  John Levon  <levon@movementarian.org>
6666
6667         * text3.C: make start appendix undoable
6668
6669 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6670
6671         * lyxlength.C (inPixels): Fix returned value.
6672
6673         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6674         environment.
6675
6676 2002-10-24  Angus Leeming  <leeming@lyx.org>
6677
6678         * lyxgluelength.h: no need to forward declare BufferParams
6679         or BufferView, so don't.
6680
6681 2002-10-21  John Levon  <levon@movementarian.org>
6682
6683         * BufferView.C: menuUndo ->undo, redo
6684
6685         * BufferView.h: document, remove dead, make some methods private
6686
6687         * paragraph_funcs.h:
6688         * paragraph_funcs.C:
6689         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6690
6691         * buffer.h:
6692         * buffer.C:
6693         * sgml.h:
6694         * sgml.C: move sgml open/close tag into sgml.C
6695
6696         * bufferview_funcs.h: unused prototype
6697
6698         * lyxfunc.h:
6699         * lyxfunc.C: remove unused
6700
6701         * lyxtext.h:
6702         * text.C: remove unused
6703
6704 2002-10-21  John Levon  <levon@movementarian.org>
6705
6706         * BufferView.h:
6707         * BufferView.C:
6708         * BufferView_pimpl.h:
6709         * BufferView_pimpl.C: fix mouse wheel handling based on
6710           patch from Darren Freeman
6711
6712 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6713
6714         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6715
6716 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6717
6718         * lyxlength.C (inPixels): Fix hanfling of negative length.
6719         Fix LyXLength::MU case.
6720
6721 2002-10-16  John Levon  <levon@movementarian.org>
6722
6723         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6724
6725 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6726
6727         * converter.C (view): add support for $$i (file name) and $$p
6728         (file path) for the viewer command. If $$i is not specified, then
6729         it is appended to the command (for compatibility with old syntax)
6730
6731 2002-10-14  Juergen Vigna  <jug@sad.it>
6732
6733         * undo_funcs.C (textHandleUndo): alter the order in which the
6734         new undopar is added to the LyXText, as we have to set first
6735         the right prev/next and then add it as otherwise the rebuild of
6736         LyXText is not correct. Also reset the cursor to the right paragraph,
6737         with this IMO we could remove the hack in "redoParagraphs()".
6738
6739 2002-10-09  Angus Leeming  <leeming@lyx.org>
6740
6741         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6742         to turn off an optimisation if a new inset is to be inserted.
6743
6744 2002-10-11 André Pönitz <poenitz@gmx.net>
6745
6746         * lyxtext.h: make some functions public to allow access
6747         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6748
6749 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6750
6751         * text3.C (dispatch): when changing layout, avoid an infinite loop
6752         [bug #652]
6753
6754 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6755
6756         * lyxrc.C (read): treat a viewer or converter command of "none" as
6757         if it were empty.
6758
6759         * MenuBackend.C (expandFormats): for an update, also allow the
6760         formats that are not viewable
6761
6762         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6763         script if it is newer than the lyxrc.defaults in user directory
6764
6765 2002-10-07 André Pönitz <poenitz@gmx.net>
6766
6767         * text.C: Vitaly Lipatov's small i18n fix
6768
6769 2002-09-25  Angus Leeming  <leeming@lyx.org>
6770
6771         * ispell.h: doxygen fix.
6772
6773 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6774
6775         * buffer.h (readFile): Add a new argument to the method, to allow
6776         reading of old-format templates.
6777
6778 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6779
6780         * toc.C (getTocList): Get TOC from InsetWrap.
6781
6782 2002-09-16  John Levon  <levon@movementarian.org>
6783
6784         * lyxfunc.C: check tabular for cut/copy too
6785
6786 2002-09-12  John Levon  <levon@movementarian.org>
6787
6788         * LyXAction.C: tidy
6789
6790         * factory.h:
6791         * factory.C: add header
6792
6793         * paragraph_funcs.h:
6794         * paragraph_funcs.C: cleanup
6795
6796 2002-09-11  John Levon  <levon@movementarian.org>
6797
6798         * PrinterParams.h: odd/even default to true
6799
6800 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6801
6802         * PrinterParams.h: update printer parameters for new xforms dialog
6803
6804 2002-09-11  Angus Leeming  <leeming@lyx.org>
6805
6806         * lyxserver.C (read_ready): re-write to make it more transparent
6807         and to make it work in coherent fashion under Tru64 Unix.
6808
6809 2002-09-11  André Pönitz <poenitz@gmx.net>
6810
6811         * commandtags.h:
6812         * LyXAction.C:
6813         * text3.C: implement LFUN_WORDSEL
6814
6815 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6818         make floatlist_ a boost::shared_ptr<FloatList>
6819
6820         * lyxtextclass.C: include FloatList.h
6821         (LyXTextClass): initialize floatlist_
6822         (TextClassTags): add TC_NOFLOAT
6823         (Read): match "nofloat" to TC_NOFLOAT and use it.
6824         (readFloat): modify call to floatlist_
6825         (floats): ditto
6826         (floats): ditto
6827
6828         * FloatList.[Ch] (FloatList): remove commented out float
6829         initialization.
6830         (erase): new function
6831
6832 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6833
6834         * MenuBackend.C (expandToc): fix crash when there is no document
6835         open
6836
6837 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6838
6839         * many files: Add insetwrap.
6840
6841 2002-09-09  John Levon  <levon@movementarian.org>
6842
6843         * text2.C: remove confusing and awkward depth wraparound
6844
6845 2002-09-09  John Levon  <levon@movementarian.org>
6846
6847         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6848
6849         * buffer.h:
6850         * buffer.C: remove getIncludeonlyList()
6851
6852         * paragraph.C:
6853         * lyxfunc.C: remove headers
6854
6855 2002-09-09  Juergen Vigna  <jug@sad.it>
6856
6857         * text.C (getColumnNearX): fix form Michael this is most
6858         probably a cut&paste bug.
6859
6860 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6863
6864         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6865         references, ws changes.
6866
6867         * text2.C (init): update counters after init
6868         (insertParagraph): no need to set counter on idividual paragraphs.
6869         (setCounter): access the counters object in the textclass object
6870         on in the buffer object.
6871         (updateCounters): ditto
6872
6873         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6874         shared_ptr<Counters> to avoid loading counters.h in all
6875         compilation units.
6876         (LyXTextClass): initialize ctrs_
6877         (TextClassTags): add TC_COUNTER, and ...
6878         (Read): use it here.
6879         (CounterTags): new tags
6880         (readCounter): new function
6881         (counters): new funtion
6882         (defaultLayoutName): return a const reference
6883
6884         * counters.C (Counters): remove contructor
6885         (newCounter): remove a couple of unneeded statements.
6886         (newCounter): simplify a bit.
6887         (numberLabel): some small formatting changes.
6888
6889         * buffer.[Ch]: remove all traces of counters, move the Counters
6890         object to the LyXTextClass.
6891
6892 2002-09-06  Alain Castera  <castera@in2p3.fr>
6893
6894         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6895         package to set the horizontal alignment on fixed width columns.
6896
6897         * lyx_sty.C:
6898         * lyx_sty.h: added tabularnewline macro def.
6899
6900         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6901
6902 2002-09-06  John Levon  <levon@movementarian.org>
6903
6904         * LyXAction.C: tooltips for sub/superscript
6905
6906         * MenuBackend.C: a bit more verbose
6907
6908         * lyxfunc.C: tiny clean
6909
6910         * undo_funcs.C: document undo_frozen
6911
6912 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * counters.C (Counters): add missing algorithm counter.
6915
6916         * text2.C (setCounter): lookup the counter with layouts latexname
6917         instead of by section number.
6918         (setCounter): use a hackish way to lookup the correct enum
6919         counter.
6920         a float name->type change
6921         reset enum couners with counter name directly instead of depth value.
6922
6923         * counters.C (Counters): remove the push_backs, change to use the
6924         float type not the float name.
6925         (labelItem): remove unused string, float name->type change
6926
6927         * counters.h: don't include vector, loose the enums and sects vectors
6928
6929 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6932         (Read): add float->TC_FLOAT to textclassTags
6933         (Read): and handle it in the switch
6934         (readFloat): new function
6935
6936         * FloatList.C (FloatList): comment out the hardcoded float
6937         definitions.
6938
6939         * lyxlayout.h: ws change.
6940
6941 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6942
6943         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6944
6945 2002-09-03  Angus Leeming  <leeming@lyx.org>
6946
6947         * BufferView_pimpl.h: qualified name is not allowed in member
6948         declaration: WorkArea & Pimpl::workarea() const;
6949
6950         * factory.C: added using std::endl directive.
6951
6952         * text3.C: added using std::find and std::vector directives.
6953
6954 2002-08-29  André Pönitz <poenitz@gmx.net>
6955
6956         * lyxtext.h:
6957         * text2.C: remove unused member number_of_rows
6958
6959         * Makefile.am:
6960         * BufferView2.C: remove file, move contents to...
6961         * BufferView.C: ... here
6962
6963         * BufferView_pimpl.C:
6964         * factory.C: move more inset creation to factory
6965
6966         * vspace.C: avoid direct usage of LyXText, ws changes
6967
6968         * BufferView.[Ch]:
6969                 don't provide direct access to WorkArea, use two simple
6970                 acessors haveSelction() and workHeight() instead
6971
6972
6973 2002-08-29  John Levon  <levon@movementarian.org>
6974
6975         * BufferView_pimpl.C (dispatch): do not continue when
6976           no buffer
6977
6978 2002-08-28  André Pönitz <poenitz@gmx.net>
6979
6980         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6981
6982         * BufferView.h:
6983         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6984
6985 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6986
6987         * buffer.C: increment LYX_FORMAT to 221
6988
6989         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6990         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6991
6992         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6993
6994         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6995
6996 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6997
6998         * factory.C (createInset): use LyXTextClass::floats
6999
7000         * MenuBackend.C (expandFloatListInsert):
7001         (expandFloatInsert):
7002         (expandToc):
7003
7004         * text2.C (setCounter):
7005
7006         * LaTeXFeatures.C (useFloat):
7007         (getFloatDefinitions):
7008
7009         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7010
7011         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7012         floatlist_, with accessor floats().
7013
7014         * FloatList.h: remove global FloatList
7015
7016 2002-08-26  André Pönitz <poenitz@gmx.net>
7017
7018         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7019
7020         * BufferView.h:
7021         * BufferView2.C:
7022         * BufferView_pimpl.C:
7023         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7024
7025 2002-08-25  John Levon  <levon@movementarian.org>
7026
7027         * LyXAction.C: fix margin note description
7028
7029 2002-08-24  John Levon  <levon@movementarian.org>
7030
7031         * buffer.C:
7032         * bufferlist.C:
7033         * bufferview_funcs.C:
7034         * lyxfont.C:
7035         * undo_funcs.C: cleanups
7036
7037         * lyxfunc.C: disable CUT/COPY when no selection
7038
7039 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7040
7041         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7042         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7043
7044         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7045         Add backward compatibility to "mono", "gray" and "no".
7046
7047 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7050         (and file_format >= 200).
7051
7052 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7053
7054         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7055
7056 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7057
7058         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7059
7060 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7061
7062         * BufferView_pimpl.C:
7063         * LyXAction.C:
7064         * buffer.C:
7065         * commandtags.h:
7066         * lyxfunc.C:
7067         * paragraph.[Ch]:
7068         * text2.C:
7069         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7070         inset and code to make it  work with the paragraph code. The inset
7071         can be anywhere in the paragraph, but will only do the expected
7072         thing in LaTeX if the layout file contains the parameter line
7073                         OptionalArgs    1
7074         (or more generally, a nonzero value) for that layout.
7075
7076 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * paragraph.h: remove the declaration of undefined counters class
7079         function.
7080
7081 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7082
7083         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7084         Dr. Richard Hawkins.
7085
7086 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7087
7088         * paragraph_funcs.h: remove some unneeded includes
7089
7090         * text.C (backspace): pasteParagraph now in global scipe
7091
7092         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7093         (pasteSelection): ditto
7094
7095         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7096         * paragraph_funcs.C (pasteParagraph): ... here
7097
7098 2002-08-20  André Pönitz <poenitz@gmx.net>
7099
7100         * commandtags.h: new LFUNs for swapping/copying table row/colums
7101
7102         * LyXAction.C:
7103         * lyxfunc.C: support for new lfuns
7104
7105 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * tabular.C:
7108         * buffer.[Ch]: remove NO_COMPABILITY stuff
7109
7110 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * boost.C (throw_exception): new file, with helper function for
7113         boost compiled without exceptions.
7114
7115         * paragraph.h:
7116         * lyxlength.C:
7117         * buffer.C:
7118         * ParameterStruct.h:
7119         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7120
7121         * bufferlist.C (emergencyWriteAll): use boost bind
7122
7123         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7124
7125         * text.C: include paragraph_funcs.h
7126         (breakParagraph): breakParagraph is now in global scope
7127
7128         * paragraph_funcs.[Ch]: new files
7129
7130         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7131         global scope
7132
7133         * buffer.C: include paragraph_funcs.h
7134         (insertStringAsLines): breakParagraph is now in global scope
7135
7136         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7137         paragraph_funcs.C
7138
7139         * CutAndPaste.C: include paragraph_funcs.h
7140         (cutSelection): breakParagraphConservative is now in global scope
7141         (pasteSelection): ditto
7142
7143         * buffer.h: declare oprator== and operator!= for
7144         Buffer::inset_iterator
7145
7146         * bufferlist.C (emergencyWrite): don't use fmt(...)
7147
7148         * text3.C: add using std::endl
7149
7150         * BufferView.C (moveCursorUpdate): remove default arg
7151
7152 2002-08-20  André Pönitz <poenitz@gmx.net>
7153
7154         * buffer.[Ch]: move inline functions to .C
7155
7156         * BufferView2.C:
7157         * BufferView_pimpl.C:
7158         * text.C:
7159         * buffer.[Ch]: use improved inset_iterator
7160
7161         * buffer.C:
7162         * paragraph.[Ch]: write one paragraph at a time
7163
7164 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7165
7166         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7167         style if style is not specified.
7168
7169 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7170
7171         * text2.C (setCounter): when searching for right label for a
7172         caption, make sure to recurse to parent insets (so that a caption
7173         in a minipage in a figure float works) (bug #568)
7174
7175 2002-08-20  André Pönitz <poenitz@gmx.net>
7176
7177         * text3.C: new file for LyXText::dispatch() and helpers
7178
7179         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7180
7181         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7182
7183 2002-08-19  André Pönitz <poenitz@gmx.net>
7184
7185         * lyxtext.h:
7186         * text.C: new LyXText::dispatch()
7187
7188         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7189
7190 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7191
7192         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7193
7194         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7195         Hebrew text.
7196
7197 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7198
7199         * Makefile.am: use $(variables) instead of @substitutions@
7200
7201 2002-08-15  André Pönitz <poenitz@gmx.net>
7202
7203         * lyxfunc.C:
7204         * BufferView_pimpl.C: streamlining mathed <-> outer world
7205         interaction
7206
7207         * commandtags.h:
7208         * LyXAction.C: remove unused LFUN_MATH
7209
7210 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7213
7214 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * paragraph.C (Paragraph): reformat a bit
7217         (cutIntoMinibuffer): use builtin InsetList function instad of
7218         doing it manually.
7219         (getInset): ditto
7220
7221         * buffer.C: include boost/bind.hpp, add using std::for_each
7222         (writeFileAscii): use ParagraphList iterators
7223         (validate): use for_each for validate traversal of paragraphs
7224         (getBibkeyList): use ParagraphList iterators
7225         (resizeInsets): use for_each to resizeInsetsLyXText for all
7226         paragraphs.
7227         (getParFromID): use ParagraphList iterators
7228
7229         * BufferView2.C (lockInset): use paragraph list and iterators
7230
7231 2002-08-14  John Levon  <levon@movementarian.org>
7232
7233         * lyxserver.C: remove spurious xforms include
7234
7235 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7236
7237         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7238
7239 2002-08-13  André Pönitz <poenitz@gmx.net>
7240
7241         * LyXAction.[Ch]:
7242         * lyxfunc.C: further cleaning
7243
7244 2002-08-13  André Pönitz <poenitz@gmx.net>
7245
7246         * funcrequest.h: new constructor
7247
7248         * funcrequest.C: move stuff here from .h
7249
7250         * Makefile.am:
7251         * BufferView_pimpl.C:
7252         * LyXAction.C:
7253         * toc.C:
7254         * lyxfunc.C: subsequent changes
7255
7256         * lyxfunc.h: new view() member function
7257
7258         * lyxfunc.C: subsequent changes
7259
7260 2002-08-13  Angus Leeming  <leeming@lyx.org>
7261
7262         * BufferView2.C:
7263         * BufferView_pimpl.C:
7264         * buffer.C:
7265         * converter.C:
7266         * importer.C:
7267         * lyxfunc.C:
7268         * lyxvc.C:
7269         * toc.C:
7270         * vc-backend.C:
7271         changes due to the changed LyXView interface that now returns references
7272         to member variables not pointers.
7273
7274 2002-08-13  Angus Leeming  <leeming@lyx.org>
7275
7276         * WordLangTuple (word, lang_code): return references to strings,
7277         not strings.
7278
7279         * BufferView.h:
7280         * SpellBase.h:
7281         * lyxtext.h: forward-declare WordLangTuple.
7282
7283         * BufferView2.C:
7284         * ispell.C:
7285         * pspell.C:
7286         * text.C: #include "WordLangTuple.h".
7287
7288         * lyxtext.h:
7289         * text.C: (selectNextWordToSpellcheck): constify return type.
7290
7291 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7292
7293         * buffer.C:
7294         * buffer.h:
7295         * lyxtext.h:
7296         * paragraph.C:
7297         * paragraph_pimpl.h:
7298         * text.C:
7299         * text2.C:
7300         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7301         suggested by Angus.
7302         Made updateCounter always count from start of buffer, and removed
7303         second argument (par).
7304         Reverted floats number display to '#'. Perhaps I'll try again when the
7305         code base is sanitized a bit.
7306
7307 2002-08-12  Angus Leeming  <leeming@lyx.org>
7308
7309         * buffer.[Ch] (getLabelList): constify.
7310
7311 2002-08-07  André Pönitz <poenitz@gmx.net>
7312
7313         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7314
7315         * funcrequest.h: extension to keep mouse (x,y) position
7316
7317 2002-08-12  Juergen Vigna  <jug@sad.it>
7318
7319         * BufferView2.C (insertErrors): forbid undo when inserting error
7320         insets.
7321
7322         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7323
7324 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * ParagraphList.[Ch]: new files
7327
7328         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7329
7330         * BufferView2.C (lockInset): ParagraphList changes
7331         * toc.C: ditto
7332         * text2.C: ditto
7333         * bufferlist.C: ditto
7334         * buffer.h: ditto
7335         * buffer.C: ditto
7336
7337 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7338
7339         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7340         unused class variable counter_,
7341
7342         * paragraph.[Ch] (getFirstCounter): delete unused function
7343
7344         * counters.C: include LAssert.h
7345         (reset): add a new function with no arg, change other version to
7346         not have def. arg and to not allow empty arg.
7347
7348         * text2.C (setCounter): remove empty arg from call to Counters::reset
7349
7350 2002-08-11  John Levon  <levon@movementarian.org>
7351
7352         * Makefile.am: add WordLangTuple.h
7353
7354 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7357         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7358
7359         * insets/insettext.C: InsetList changes
7360
7361         * graphics/GraphicsSupport.C (operator()): InsetList changes
7362
7363         * toc.C (getTocList): InsetList changes
7364
7365         * paragraph_pimpl.[Ch]: InsetList changes
7366
7367         * paragraph.[Ch]: InsetList changes
7368
7369         * buffer.C (inset_iterator): InsetList changes
7370         (setParagraph): ditto
7371         * buffer.h (inset_iterator): ditto
7372         * iterators.C (operator++): ditto
7373         * iterators.h: ditto
7374
7375         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7376
7377         * InsetList.[Ch]: new files, most InsetList handling moved out of
7378         paragraph.C.
7379
7380         * BufferView2.C (removeAutoInsets): InsetList changes
7381         (lockInset): ditto
7382         (ChangeInsets): ditto
7383
7384 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * paragraph_pimpl.h (empty): new function
7387
7388         * paragraph.[Ch] (empty): new function
7389
7390         * other files: use the new Paragraph::empty function
7391
7392 2002-08-09  John Levon  <levon@movementarian.org>
7393
7394         * lyxtext.h: remove unused refresh_height
7395
7396 2002-08-09  John Levon  <levon@movementarian.org>
7397
7398         * Makefile.am:
7399         * sgml.h:
7400         * sgml.C:
7401         * buffer.C:
7402         * paragraph.h:
7403         * paragraph.C: move sgml char escaping out of paragraph
7404
7405         * paragraph.h:
7406         * paragraph.C: remove id setter
7407
7408         * buffer.C:
7409         * paragraph.C:
7410         * paragraph_pimpl.C: remove dead tex_code_break_column
7411
7412         * bufferview_funcs.C: small cleanup
7413
7414         * lyxfunc.C: remove dead proto
7415
7416         * lyxtext.h: make some stuff private. Remove some dead stuff.
7417
7418         * lyxgluelength.C: make as[LyX]String() readable
7419
7420 2002-08-08  John Levon  <levon@movementarian.org>
7421
7422         * LyXAction.h:
7423         * LyXAction.C:
7424         * MenuBackend.C:
7425         * ToolbarDefaults.C:
7426         * lyxfunc.C:
7427         * lyxrc.C:
7428         * toc.C: lyxaction cleanup
7429
7430 2002-08-08  John Levon  <levon@movementarian.org>
7431
7432         * BufferView2.C: small cleanup
7433
7434         * lyxfind.h:
7435         * lyxfind.C: move unnecessary header into the .C
7436
7437 2002-08-08  John Levon  <levon@movementarian.org>
7438
7439         * funcrequest.h: just tedious nonsense
7440
7441         * lyx_main.h:
7442         * lyx_main.C: cleanups
7443
7444         * buffer.C:
7445         * vspace.C: remove dead header lyx_main.h
7446
7447 2002-08-07  Angus Leeming  <leeming@lyx.org>
7448
7449         * Paragraph.[Ch]:
7450         * paragraph_pimpl.h:
7451         Forward declare class Counters in paragraph.h by moving the ctrs member
7452         variable into Paragraph::Pimpl.
7453         (counters): new method, returning a reference to pimpl_->ctrs.
7454
7455         * text2.C: ensuing changes.
7456
7457 2002-08-07  John Levon  <levon@movementarian.org>
7458
7459         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7460
7461         * BufferView_pimpl.C: announce X selection on double/triple
7462           click
7463
7464         * lyx_main.C: use correct bool in batch dispatch
7465
7466         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7467
7468 2002-08-07  André Pönitz <poenitz@gmx.net>
7469
7470         * funcrequest.h: new class to wrap a kb_action and its argument
7471
7472         * BufferView.[Ch]:
7473         * BufferView_pimpl[Ch]:
7474         * LaTeX.C:
7475         * LyXAction.[Ch]:
7476         * lyxfunc.[Ch]:
7477         * lyxrc.C: subsequent changes
7478
7479
7480 2002-08-07  John Levon  <levon@movementarian.org>
7481
7482         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7483           document options change.
7484
7485 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7486
7487         * counters.[Ch]
7488         * text2.C
7489         * paragraph.[Ch]
7490         * makefile.am: move counters functionality over from
7491         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7492
7493 2002-08-06  John Levon  <levon@movementarian.org>
7494
7495         * WordLangTuple.h: new file for word + language code tuple
7496
7497         * SpellBase.h:
7498         * pspell.h:
7499         * pspell.C:
7500         * ispell.h:
7501         * ispell.C:
7502         * lyxtext.h:
7503         * text.C:
7504         * text2.C:
7505         * BufferView.h:
7506         * BufferView2.C: use WordLangTuple
7507
7508         * layout.h:
7509         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7510
7511 2002-08-06  John Levon  <levon@movementarian.org>
7512
7513         * lyx_main.C: fix cmdline batch handling
7514
7515 2002-08-06  André Pönitz <poenitz@gmx.net>
7516
7517         * lyxrc.C: set default for show_banner to true
7518
7519 2002-08-06  John Levon  <levon@movementarian.org>
7520
7521         * pspell.C: fix a crash, and allow new aspell to work
7522
7523 2002-08-06  John Levon  <levon@movementarian.org>
7524
7525         * lyxfunc.C:
7526         * kbmap.C: small cleanup
7527
7528         * vspace.h:
7529         * vspace.C: add const
7530
7531 2002-08-05  John Levon  <levon@movementarian.org>
7532
7533         * LyXAction.C: back to tabular-insert
7534
7535 2002-08-04  John Levon  <levon@movementarian.org>
7536
7537         * BufferView.h:
7538         * BufferView.C: cosmetic change
7539
7540         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7541
7542         * bufferlist.C:
7543         * buffer.h:
7544         * buffer.C:
7545         * lyxcb.h:
7546         * lyxcb.C:
7547         * lyxserver.C:
7548         * lyxvc.C:
7549         * vc-backend.C:
7550         * BufferView2.C: purge all "Lyx" not "LyX" strings
7551
7552         * lyxcursor.h:
7553         * lyxcursor.C: attempt to add some documentation
7554
7555         * lyxfunc.C:
7556         * commandtags.h:
7557         * LyXAction.C:
7558         * ToolbarDefaults.C:
7559         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7560           merge with LFUN_TABULAR_INSERT
7561
7562         * Makefile.am:
7563         * SpellBase.h:
7564         * ispell.h:
7565         * ispell.C:
7566         * pspell.h:
7567         * pspell.C: split up i/pspell implementations into separate
7568           files, many cleanups
7569
7570         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7571
7572         * text2.C: some cleanup
7573
7574         * lyxfunc.C: don't check for isp_command == "none" any more, it
7575           didn't make any sense
7576
7577 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7578
7579         * counters.[Ch]
7580         * text2.C
7581         * paragraph.[Ch]
7582         * makefile.am: move counters functionality over
7583         from text2.C/paragraph.[Ch] to counters.[Ch], and
7584         make proper C++.
7585 2002-08-02  John Levon  <levon@movementarian.org>
7586
7587         * buffer.C: s/lyxconvert/lyx2lyx/
7588
7589 2002-08-02  Angus Leeming  <leeming@lyx.org>
7590
7591         * lyxlex.C: revert John's change as it breaks reading of the user
7592         preamble.
7593
7594 2002-08-02  Angus Leeming  <leeming@lyx.org>
7595
7596         * importer.C (Import):
7597         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7598         changes due to LyXView::view() now returning a boost::shared_ptr.
7599
7600 2002-08-02  John Levon  <levon@movementarian.org>
7601
7602         * lyxlex.C: small cleanup
7603
7604 2002-08-02  John Levon  <levon@movementarian.org>
7605
7606         * text2.C (status): small cleanup, no logic change
7607
7608 2002-08-01  John Levon  <levon@movementarian.org>
7609
7610         * buffer.h:
7611         * buffer.C (writeFile): don't output alerts, caller
7612           handles this
7613
7614         * bufferlist.C:
7615         * lyx_cb.C: from above
7616
7617         * lyxfunc.C: allow to open non-existent files
7618
7619 2002-07-31  John Levon  <levon@movementarian.org>
7620
7621         * lyxserver.C: don't let incidental errors get
7622           in the way (errno)
7623
7624 2002-07-30  John Levon  <levon@movementarian.org>
7625
7626         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7627
7628 2002-07-30  John Levon  <levon@movementarian.org>
7629
7630         * lyxserver.h:
7631         * lyxserver.C: remove I/O callback too
7632
7633 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7634
7635         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7636         log.
7637
7638 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * many files: strip,frontStrip -> trim,ltrim,rtrim
7641
7642 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * PrinterParams.h: remove extern containsOnly, and include
7645         support/lstrings.h instead.
7646
7647         * LaTeX.C (scanAuxFile): modify because of strip changes
7648         (deplog): ditto
7649         * buffer.C (makeLaTeXFile): ditto
7650         * bufferparams.C (writeFile): ditt
7651         * lyxfont.C (stateText): ditto
7652         * lyxserver.C (read_ready): ditto
7653         * vc-backend.C (scanMaster): ditto
7654
7655         * BufferView_pimpl.h: ws changes
7656
7657         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7658
7659 2002-07-26  André Pönitz <poenitz@gmx.net>
7660
7661         * kb_sequence.C: remove unnedred usings
7662
7663 2002-07-26  Juergen Vigna  <jug@sad.it>
7664
7665         * lyxfind.C (LyXReplace): we have to check better if the returned
7666         text is not of theLockingInset()->getLockingInset().
7667
7668 2002-07-25  Juergen Vigna  <jug@sad.it>
7669
7670         * lyxfind.C (LyXReplace): don't replace if we don't get the
7671         right LyXText.
7672
7673         * undo_funcs.C (createUndo): remove debugging code.
7674
7675 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7676
7677         * buffer.C (parseSingleLyXformat2Token): Use default placement
7678         when reading old floats.
7679
7680         * FloatList.C (FloatList): Change the default placement of figure
7681         and tables to "tbp".
7682
7683 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7684
7685         * MenuBackend.C: using std::max
7686
7687 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * MenuBackend.C (expandToc):
7690         (expandToc2): code moved from xforms menu frontend. It is now
7691         generic and TOCs are transparent to menu frontends.
7692
7693 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * toc.C (getTocList): protect against buf=0
7696
7697         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7698         Menu as first parameter. Now, this calls itself recursively to
7699         expand a whole tree (this will be useful for TOC handling)
7700         (expandFloatInsert): remove 'wide' version of floats
7701
7702         * MenuBackend.h (submenuname): returns the name of the submenu.
7703         (submenu): returns the submenu itself, provided it has been
7704         created by MenuBackend::expand
7705
7706 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7709         insets which have noFontChange == true. (bug #172)
7710
7711 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7712
7713         * BufferView_pimpl.C: add connection objects and use them...
7714         (Pimpl): here.
7715
7716 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7717
7718         * MenuBackend.C (expandLastfiles):
7719         (expandDocuments):
7720         (expandFormats):
7721         (expandFloatListInsert):
7722         (expandFloatInsert):
7723         (expand): split expand in parts
7724
7725 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * lyx_gui.C: use lyx_gui::exit()
7728
7729 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * LyXAction.C: show the failing pseudo action
7732
7733 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7734
7735         * buffer.C (readFile): Run the lyxconvert script in order to read
7736         old files.
7737
7738 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7739
7740         * LyXAction.C:
7741         * commandtags.h:
7742         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7743
7744 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * LyXAction.C:
7747         * commandtags.h:
7748         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7749
7750 2002-07-22  Herbert Voss  <voss@lyx.org>
7751
7752         * lengthcommon.C:
7753         * lyxlength.[Ch]: add support for the vertical lengths
7754
7755 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * toc.[Ch]: std:: fixes
7758
7759 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * lyxrc.C: do not include lyx_main.h
7762
7763         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7764         for layouts
7765
7766         * lyxrc.C:
7767         * encoding.C:
7768         * bufferlist.C:
7769         * BufferView2.C: include "lyxlex.h"
7770
7771         * tabular.h:
7772         * bufferparams.h: do not #include "lyxlex.h"
7773
7774         * lyxtextclasslist.C (Add): remove method
7775         (classlist): renamed to classlist_
7776
7777         * paragraph_pimpl.C:
7778         * paragraph.C:
7779         * text2.C:
7780         * CutAndPaste.C:
7781         * bufferview_funcs.C:
7782         * bufferlist.C:
7783         * text.C:
7784         * LaTeXFeatures.C:
7785         * buffer.C:
7786         * toc.C (getTocList): use BufferParams::getLyXTextClass
7787
7788         * toc.C (getTocList): use InsetFloat::addToToc
7789
7790         * toc.[Ch]: new files, containing helper functions to handle table
7791         of contents
7792
7793         * lyxfunc.C (dispatch): no need to remove spaces around command
7794         given as a string
7795         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7796         first command of the sequence; it is not very clever, but I do not
7797         have a better idea, actually
7798
7799         * LyXAction.C (LookupFunc): make sure to remove space at the
7800         beginning and end of the command
7801
7802 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * MenuBackend.C (getMenubar): new method: return the menubar of
7805         this menu set
7806         (read): treat differently reading of menu and menubar (in
7807         particular, the menubar has no name now)
7808         (Menu::menubar): remove
7809
7810         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7811         saving is finished
7812
7813 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7816         a bibitem inset in a RTL paragraph.
7817
7818 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * paragraph_pimpl.C: constify
7821
7822         * BufferView_pimpl.C:
7823         * LaTeX.C:
7824         * lyxfunc.C: fix dispatch in a nicer way
7825
7826 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * lyxfunc.C (dispatch):
7829         * BufferView_pimpl.C:
7830         * BufferView_pimpl.h:
7831         * BufferView.C:
7832         * BufferView.h: rename Dispatch() to dispatch()
7833
7834         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7835
7836         * lyxlayout.C (Read): honor DependsOn tag
7837
7838         * lyxlayout.[Ch] (depends_on): new method
7839
7840         * version.C.in: update lyx_docversion
7841
7842         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7843
7844         * paragraph.C (validate): remove from here...
7845         * paragraph_pimpl.C (validate): ... and move here
7846         (isTextAt): make it const
7847
7848         * buffer.C (getLists): ws cleanup
7849
7850 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7851
7852         * language.C (read): Use iso8859-1 encoding in latex_lang
7853         (this prevents LyX from crashing when using iso10646-1 encoding).
7854
7855 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * text2.C (toggleInset): if cursor is inside an inset, close the
7858         inset and leave cursor _after_ it
7859
7860 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * lyxfunc.C: move minibuffer completion handling out of here
7863
7864 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * BufferView_pimpl.C:
7867         * LaTeX.C: fix dispatch calls
7868
7869 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7870
7871         * text.C (drawChars): Fix Arabic text rendering.
7872
7873 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * LyXAction.C:
7876         * commandtags.h:
7877         * lyxfunc.C: remove message-push/pop
7878
7879         * lyxserver.C:
7880         * lyxfunc.h:
7881         * lyxfunc.C: rationalise some code by removing verboseDispatch
7882           in favour of a bool argument to dispatch()
7883
7884 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7885
7886         * lyx_main.C (init): make sure to read symlinks as absolute paths
7887
7888 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7889
7890         * lyxfunc.h:
7891         * lyxfunc.C: no need for commandshortcut to be a member
7892
7893 2002-07-15  André Pönitz <poenitz@gmx.net>
7894
7895         * converter.C: add support for $$s (scripts from lib/scripts dir)
7896         * lyx_main.C: white space
7897
7898 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * bufferlist.C:
7901         * lyxrc.h:
7902         * lyxrc.C: remove second exit confirmation
7903
7904 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * BufferView.h:
7907         * BufferView.C:
7908         * BufferView2.C:
7909         * BufferView_pimpl.h:
7910         * BufferView_pimpl.C:
7911         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7912
7913 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7914
7915         * MenuBackend.C (expand): add numeric shortcuts to document menu
7916
7917         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7918
7919 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7920
7921         * lyxfont.C (setLyXFamily):
7922         (setLyXSeries):
7923         (setLyXShape):
7924         (setLyXSize):
7925         (setLyXMisc):
7926         (lyxRead):
7927         * debug.C (value):
7928         * buffer.C (asciiParagraph): use ascii_lowercase
7929
7930 2002-07-15  Mike Fabian  <mfabian@suse.de>
7931
7932         * lyxlex_pimpl.C (search_kw):
7933         * lyxlex.C (getLongString):
7934         * converter.h (operator<):
7935         * converter.C (operator<):
7936         * buffer.C (parseSingleLyXformat2Token):
7937         (asciiParagraph):
7938         * ToolbarDefaults.C (read):
7939         * MenuBackend.C (checkShortcuts):
7940         (read):
7941         * LColor.C (getFromGUIName):
7942         (getFromLyXName): use the compare_ascii_no_case instead of
7943         compare_no_case, because in turkish, 'i' is not the lowercase
7944         version of 'I', and thus turkish locale breaks parsing of tags.
7945
7946 2002-07-16  Angus Leeming  <leeming@lyx.org>
7947
7948         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7949         now takes a Buffer const & argument.
7950
7951 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * BufferView.C (resize): check there's a buffer to resize
7954
7955 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7956
7957         * lyxfunc.C: remove dead code
7958
7959         * lyxserver.h:
7960         * lyxserver.C: use lyx_guii::set_read_callback
7961
7962 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7963
7964         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7965         an inset in a RTL paragraph.
7966
7967 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * lyxfunc.C: repaint after a font size update
7970
7971 2002-07-15  André Pönitz <poenitz@gmx.net>
7972
7973         * lyxlength.C: inBP should be able to return negative values
7974
7975 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * lyxfunc.C: use lyx_gui::update_fonts()
7978
7979 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7980
7981         * lyxfunc.C: use lyx_gui::update_color()
7982
7983 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7984
7985         * bufferlist.C:
7986         * lyxfunc.h:
7987         * lyxfunc.C:
7988         * lyxrc.h:
7989         * lyxrc.C: remove file->new asks for name option, and let
7990           buffer-new take an argument
7991
7992 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7993
7994         * BufferView_pimpl.C: remove unneeded extra repaint()
7995
7996 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7997
7998         * LyXAction.C: allow command-sequence with NoBuffer
7999
8000         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8001
8002 2002-07-10  Angus Leeming  <leeming@lyx.org>
8003
8004         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8005
8006 2002-07-09  Angus Leeming  <leeming@lyx.org>
8007
8008         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8009
8010 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8011
8012         * lengthcommon.h: whitespace
8013
8014         * lyxfunc.C: update scrollbar after goto paragraph
8015
8016         * lyxtext.h: factor out page break drawing, and fix it so
8017           page break/added space paints as selected nicely
8018
8019 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * BufferView_pimpl.C: add FIXMEs, clean up a little
8022
8023 2002-07-09  André Pönitz <poenitz@gmx.net>
8024
8025         * lyxfont.[Ch]: support for wasy symbols
8026
8027 2002-07-08  André Pönitz <poenitz@gmx.net>
8028
8029         * BufferView_pimpl.C: apply John's patch for #93.
8030
8031 2002-07-05  Angus Leeming  <leeming@lyx.org>
8032
8033         * BufferView_pimpl.C (buffer): generate previews if desired.
8034
8035         * LColor.h: add "preview" to the color enum.
8036
8037         * LColor.C (LColor): add a corresponding entry to the items array.
8038
8039         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8040         with this buffer.
8041
8042 2002-07-05  Angus Leeming  <leeming@lyx.org>
8043
8044         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8045         The body of the code is now in the method that is passed an ostream &
8046         rather than a file name.
8047         Pass an additional only_preamble parameter, useful for the forthcoming
8048         preview stuff.
8049
8050 2002-07-03  André Pönitz <poenitz@gmx.net>
8051
8052         * lyxfunc.C: simplify getStatus() a bit for math stuff
8053
8054 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8055
8056         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8057
8058 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8059
8060         * text.C (changeRegionCase): do not change case of all the
8061         document when region ends at paragraph end (bug #461)
8062
8063 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8064
8065         * paragraph.C (startTeXParParams):
8066         (endTeXParParams): add \protect when necessary
8067
8068 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * BufferView_pimpl.C (workAreaExpose): remove warning
8071
8072 2002-06-27  Angus Leeming  <leeming@lyx.org>
8073
8074         * Makefile.am: add lyxlayout_ptr_fwd.h.
8075
8076 2002-06-26  André Pönitz <poenitz@gmx.net>
8077
8078         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8079
8080 2002-06-25  Angus Leeming  <leeming@lyx.org>
8081
8082         * lyxfunc.C (dispatch): Comment out the call to
8083         grfx::GCache::changeDisplay. The method no longer exists now that the
8084         pixmap generation part of the graphics loader has been moved into
8085         InsetGraphics.
8086
8087 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8088
8089         * text2.C: layout as layout
8090
8091         * text.C: layout as layout
8092
8093         * tabular.C (OldFormatRead): layout as layout
8094
8095         * paragraph_pimpl.C (TeXDeeper): layout as layout
8096         (realizeFont): layout as layout
8097
8098         * paragraph.C (writeFile): layout as layout
8099         (validate): layout as layout
8100         (getFont): layout as layout
8101         (getLabelFont): layout as layout
8102         (getLayoutFont): layout as layout
8103         (breakParagraph): layout as layout
8104         (stripLeadingSpaces): layout as layout
8105         (getEndLabel): layout as layout
8106         (getMaxDepthAfter): layout as layout
8107         (applyLayout): layout as layout
8108         (TeXOnePar): layout as layout
8109         (simpleTeXOnePar): layout as layout
8110         (TeXEnvironment): layout as layout
8111         (layout): layout as layout
8112         (layout): layout as layout
8113
8114         * lyxtextclass.C (compare_name): new functor to work with
8115         shared_ptr, layout as layout
8116         (Read): layout as layout
8117         (hasLayout): layout as layout
8118         (operator): layout as layout
8119         (delete_layout): layout as layout
8120         (defaultLayout): layout as layout
8121
8122         * lyxlayout_ptr_fwd.h: new file
8123
8124         * lyxlayout.C (Read): layout as layout
8125
8126         * lyx_cb.C (MenuInsertLabel): layout as layout
8127
8128         * bufferlist.C (newFile): layout as layout
8129
8130         * buffer.C (readLyXformat2): layout as layout
8131         (parseSingleLyXformat2Token): layout as layout
8132         (insertStringAsLines): layout as layout
8133         (asciiParagraph): layout as layout
8134         (latexParagraphs): layout as layout
8135         (makeLinuxDocFile): layout as layout
8136         (simpleLinuxDocOnePar): layout as layout
8137         (makeDocBookFile): layout as layout
8138         (simpleDocBookOnePar): layout as layout
8139         (getLists): layout as layout
8140
8141         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8142
8143         * CutAndPaste.C (cutSelection): layout as layout
8144         (pasteSelection): layout as layout
8145         (SwitchLayoutsBetweenClasses): layout as layout
8146
8147         * BufferView_pimpl.C (Dispatch): layout as layout
8148         (smartQuote): layout as layout
8149
8150         * BufferView2.C (unlockInset): layout as layout
8151
8152 2002-06-24  André Pönitz <poenitz@gmx.net>
8153
8154         * lyxfunc.C: fix #487
8155
8156 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * lyxrc.h:
8159         * lyxrc.C:
8160         * lyxfunc.C: remove display_shortcuts, show_banner
8161
8162 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * Buffer_pimpl.C: oops, update on resize
8165
8166 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8167
8168         * buffer.C:
8169         * converter.C:
8170         * exporter.C:
8171         * lyxfunc.C:
8172         * BufferView.h:
8173         * BufferView.C: use repaint()
8174
8175         * BufferView_pimpl.h:
8176         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8177           as it's a clearer description. Remove superfluous
8178           redraws.
8179
8180 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * text.C: fix bug 488. Not ideal, but getting
8183           getWord() to work properly for the insets that
8184           matter is more difficult ...
8185
8186 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * BufferView_pimpl.C:
8189         * LyXAction.C:
8190         * commandtags.h:
8191         * lyxfunc.C: remove the six million index lyxfuncs to just
8192           one, and DTRT (bug 458)
8193
8194 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * BufferView.h:
8197         * BufferView.C:
8198         * BufferView_pimpl.h:
8199         * BufferView_pimpl.C: clean up resize() stuff,
8200           and unnecessary updateScreen()s
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:
8208         * lyxfind.h:
8209         * lyxfind.C:
8210         * minibuffer.C: remove focus management of workarea,
8211           not needed. Use screen's greyOut()
8212
8213 2002-06-17  Herbert Voss  <voss@lyx.org>
8214
8215         * converter.C: (convert) do not post a message, when converting
8216         fails, let the calling function decide what to do in this case
8217
8218 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8219
8220         * lyxfunc.C: tidy up a little
8221
8222 2002-06-16    <alstrup@diku.dk>
8223
8224         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8225         Got rid of FORMS_H_LOCATION include. Now we are
8226         GUII.
8227
8228 2002-06-15  LyX Development team  <lyx@rilke>
8229
8230         * buffer.[Ch] (sgmlOpenTag):
8231         (sgmlCloseTag): Added support for avoiding pernicious mixed
8232         content. Return number of lines written.
8233
8234         (makeLinuxDocFile):
8235         (makeDocBookFile): Fixed calls to sgml*Tag.
8236         Simple white space clean.
8237
8238         (simpleDocBookOnePar): Simple white space clean.
8239
8240         * tabular.[Ch] (docBook): Renamed to docbook and got another
8241         argument to related with the pernicious mixed content.
8242
8243         (docbookRow): Fixed calls for docbook inset method.
8244
8245 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8246
8247         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8248         so it's X11 independent.
8249
8250         * kb*.[Ch]: ditto.
8251
8252         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8253
8254 2002-06-15  Lyx Development team  <lyx@electronia>
8255
8256         * intl.h: Renamed getTrans to getTransManager.
8257
8258 2002-06-14  Angus Leeming  <leeming@lyx.org>
8259
8260         * Makefile.am: nuke forgotten stl_string_fwd.h.
8261
8262 2002-06-12  Angus Leeming  <leeming@lyx.org>
8263
8264         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8265
8266 2002-06-13  Angus Leeming  <leeming@lyx.org>
8267
8268         * LaTeX.C:
8269         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8270
8271 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8272
8273         * kbmap.C (getiso): add support for cyrillic and greek
8274
8275 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * BufferView.h:
8278         * BufferView.C:
8279         * BufferView_pimpl.h:
8280         * BufferView_pimpl.C: move bogus scrolling logic
8281           to xforms
8282
8283 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * lyxfunc.C:
8286         * BufferView_pimpl.C: view->resize() change
8287
8288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8289
8290         * BufferView_pimpl.C: topCursorVisible
8291           prototype change
8292
8293 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8294
8295         * Makefile.am:
8296         * lyx_gui.h:
8297         * lyx_gui.C: move to frontends/
8298
8299         * main.C:
8300         * lyx_main.h:
8301         * lyx_main.C: changes from above
8302
8303 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * intl.C:
8306         * intl.h:
8307         * kbmap.C:
8308         * kbsequence.C:
8309         * lyx_cb.C:
8310         * lyx_main.C: minor tidy
8311
8312 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * BufferView_pimpl.h:
8315         * BufferView_pimpl.C:
8316         * BufferView.h:
8317         * BufferView.C: make painter() const,
8318           remove dead code
8319
8320         * BufferView2.C: use screen() accessor
8321
8322         * lyx_main.h:
8323         * lyx_main.C: some minor cleanup
8324
8325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * BufferView_pimpl.h:
8328         * BufferView_pimpl.C: remove enter/leaveView,
8329           use workHeight()
8330
8331 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * BufferView.h:
8334         * BufferView.C:
8335         * BufferView2.C:
8336         * BufferView_pimpl.h:
8337         * BufferView_pimpl.C: only construct screen once,
8338           rename
8339
8340         * lyxrc.C: remove pointless comment
8341
8342 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * BufferView.h:
8345         * BufferView.C: remove active() and belowMouse()
8346
8347         * BufferView_pimpl.h:
8348         * BufferView_pimpl.C: use workarea() not workarea_,
8349           and make it use a scoped_ptr instead
8350
8351 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8352
8353         * lyx_gui.C: add debug message on BadWindow
8354
8355 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8356
8357         * sp_spell.C: fdopen is not part of the C++ standard.
8358
8359         * paragraph.C (InsetIterator): use >= instead of ==
8360
8361 2002-06-07  Angus Leeming  <leeming@lyx.org>
8362
8363         Fixes needed to compile with Compaq cxx 6.5.
8364         * BufferView_pimpl.C:
8365         * DepTable.C:
8366         * buffer.C:
8367         * converter.C:
8368         * encoding.C:
8369         * lyx_gui.C:
8370         * lyx_main.C:
8371         * lyxtextclasslist.C:
8372         * minibuffer.C:
8373         * sp_spell.C:
8374         * tabular_funcs.C:
8375         * vc-backend.C:
8376         all c-library variables have been moved into namespace std. Wrap
8377         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8378
8379         * lyxlength.C:
8380         * tabular-old.C:
8381         * tabular.C:
8382         Add a using std::abs declaration.
8383
8384         * kbmap.h (modifier_pair):
8385         * paragraph.h (InsetTable, InsetList):
8386         * lyxfont.h (FontBits):
8387         type definition made public.
8388
8389         * bufferlist.C (emergencyWriteAll): the compiler complains that
8390         there is more than one possible lyx::class_fun template to choose from.
8391         I re-named the void specialisation as lyx::void_class_fun.
8392
8393         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8394
8395         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8396         the compiler is is unable to find tostr in write_attribute.
8397
8398 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8399
8400         * buffer.C (sgmlError): hide #warning
8401
8402 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8403
8404         * xtl/*: get rid of xtl, which is not in use anyway
8405
8406         * LyXAction.C (init):
8407         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8408         were unimplemented xtl experimentation
8409
8410 2002-06-04  André Pönitz <poenitz@gmx.net>
8411
8412         * lyxfunc.C: disable array operation on simple formulae
8413
8414 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * converter.C: constify a bit
8417
8418 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * lyx_gui.C: check xforms version correctly
8421
8422 2002-04-30  Herbert Voss  <voss@lyx.org>
8423
8424         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8425         "keep" option
8426
8427 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8430           attempt to register it with a VCS)
8431
8432 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8433
8434         * lyx_main.C (init): honor variables LYX_DIR_13x and
8435         LYX_USERDIR_13x
8436
8437 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * buffer.h:
8440         * buffer.C:
8441         * lyx_main.C: fix a crash on bad command line,
8442           and give a useful exit status on error
8443
8444         * lyxfunc.C (doImport): allow -i lyx to work
8445
8446 2002-03-30  André Pönitz <poenitz@gmx.net>
8447
8448         * lyxfunc.C: mathed font changes
8449
8450 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * LaTeX.C:
8453         * importer.h:
8454         * importer.C:
8455         * lyx_sty.h:
8456         * lyx_sty.C:
8457         * lyxlex.C:
8458         * lyxrow.h:
8459         * lyxtext.h:
8460         * paragraph.h:
8461         * paragraph.C:
8462         * texrow.h:
8463         * texrow.C:
8464         * text.C:
8465         * trans_mgr.h: srcdocs, and some minor cleanups
8466
8467 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8468
8469         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8470         call getFont all the time)
8471
8472 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * switch from SigC signals to boost::signals
8475
8476 2002-05-29  André Pönitz <poenitz@gmx.net>
8477
8478         * paragraph_pimpl.C (getChar): don't call size() too often...
8479
8480 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * paragraph_pimpl.C (insertChar): do not try to update tables when
8483         appending (pos == size())
8484
8485         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8486         in order to reduce drastically the number of comparisons needed to
8487         parse a large document
8488
8489 2002-05-29  André Pönitz <poenitz@gmx.net>
8490
8491         * text.C:
8492         * text2.C:
8493         * lyxtextclass.C:
8494         * sp_pspell.h:
8495         * textclasslist.[Ch]:
8496         * sp_ispell.h: whitespace change
8497
8498 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8499
8500         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8501         lyxaction directly now.
8502
8503 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8504
8505         * trans.C:
8506         * lyxfont.C:
8507         * lyxvc.C: remove unused headers
8508
8509 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * Makefile.am:
8512         * buffer.h:
8513         * undostack.h:
8514         * undostack.C:
8515         * undo_funcs.h:
8516         * undo_funcs.C: some cleanups. Use shared_ptr
8517           and a template for the undo stacks.
8518
8519 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8520
8521         * BufferView_pimpl.h:
8522         * BufferView_pimpl.C:
8523         * kbmap.h:
8524         * kbmap.C:
8525         * kbsequence.h:
8526         * kbsequence.C:
8527         * lyxfunc.h:
8528         * lyxfunc.C:
8529         * text2.C: use key_state/mouse_state
8530
8531 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8532
8533         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8534         and LSubstring
8535
8536         * chset.C: change include order
8537         (loadFile): use boost regex and get rid of LRegex and LSubstring
8538
8539         * Makefile.am (BOOST_LIBS): new variable
8540         (lyx_LDADD): use it
8541
8542         * LaTeX.C: change include order.
8543         (scanAuxFile): use boost regex and get rid of LRegex and
8544         LSubstring
8545         (deplog): ditto
8546
8547 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * ColorHandler.h:
8550         * ColorHandler.C:
8551         * FontInfo.h:
8552         * FontInfo.C: moved to frontends/xforms/
8553
8554         * FontLoader.h:
8555         * FontLoader.C: moved into frontends for GUIIzation
8556
8557         * Makefile.am:
8558         * lyx_gui.C:
8559         * lyxfont.C:
8560         * lyxfunc.C: changes from above
8561
8562 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * LColor.C: remove spurious X include
8565
8566         * BufferView_pimpl.C:
8567         * Makefile.am:
8568         * font.h:
8569         * font.C:
8570         * text.C:
8571         * text2.C: move font metrics to frontends/
8572
8573 2002-05-24  Juergen Vigna  <jug@sad.it>
8574
8575         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8576         setting the undo_cursor.
8577
8578         * ParagraphParameters.h: include local includes first.
8579
8580 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * BufferView_pimpl.C:
8583         * BufferView_pimpl.h:
8584         * Makefile.am:
8585         * WorkArea.h:
8586         * WorkArea.C:
8587         * screen.C: move WorkArea into frontends/
8588
8589         * lyxscreen.h:
8590         * screen.C:
8591         * text.C:
8592         * BufferView.C:
8593         * BufferView2.C: move LyXScreen into frontends/
8594
8595         * lyxlookup.h:
8596         * lyxlookup.C:
8597         * lyx_gui.C: move lyxlookup into frontends/xforms/
8598
8599 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * BufferView2.C:
8602         * BufferView_pimpl.C:
8603         * FontLoader.C:
8604         * LyXView.h:
8605         * LyXView.C:
8606         * Makefile.am:
8607         * WorkArea.C:
8608         * XFormsView.h:
8609         * XFormsView.C:
8610         * buffer.C:
8611         * bufferlist.C:
8612         * bufferview_funcs.C:
8613         * converter.C:
8614         * importer.C:
8615         * lyx_cb.C:
8616         * lyx_gui.C:
8617         * lyx_main.C:
8618         * lyx_find.C:
8619         * lyxfunc.C:
8620         * lyxvc.C:
8621         * minibuffer.C:
8622         * text.C:
8623         * text2.C:
8624         * trans.C:
8625         * vc-backend.C: move LyX/XFormsView into frontends/
8626
8627 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8628
8629         * Makefile.am:
8630         * PainterBase.C:
8631         * PainterBase.h:
8632         * Painter.C:
8633         * Painter.h:
8634         * WorkArea.C:
8635         * WorkArea.h:
8636         * screen.C:
8637         * tabular.C:
8638         * text.C:
8639         * text2.C: move Painter to frontends/
8640
8641 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8642
8643         * buffer.C: comment out some some code that depend upon lyx_format
8644         < 220
8645
8646         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8647         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8648
8649         * buffer.h (NO_COMPABILITY): turn off compability
8650
8651         * ColorHandler.C: include scoped_array.hpp
8652
8653         * font.C: Use more specific smart_ptr header.
8654         * Painter.C: ditto
8655         * gettext.C: ditto
8656         * ShareContainer.h: ditto
8657         * lyx_main.h: ditto
8658         * kbmap.h: ditto
8659         * FontInfo.h: ditto
8660         * BufferView_pimpl.h: ditto
8661         * ColorHandler.h: ditto
8662
8663         * kbmap.C (defkey): change call to shared_ptr::reset
8664
8665 2002-05-21  Juergen Vigna  <jug@sad.it>
8666
8667         * buffer.C (insertErtContents): fix to insert ert asis if it is
8668         non empty. Skip it completely if it contains only whitespaces.
8669
8670 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8671
8672         * BufferView_pimpl.C:
8673         * BufferView2.C: clear selection on paste (bug 393)
8674
8675 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8676
8677         * DepTable.C: include ctime
8678
8679 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8680
8681         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8682
8683 2002-05-14  Juergen Vigna  <jug@sad.it>
8684
8685         * text.C (breakParagraph): fixed function to honor the keepempty
8686         layout in the right maner and also to permit the right breaking
8687         algorithm on empty or non empyt keepempty paragraphs.
8688
8689         * paragraph.C (breakParagraph): we have to check also if the par
8690         is really empty (!size()) for isempty otherwise we do the wrong
8691         paragraph break.
8692
8693 2002-05-10  Juergen Vigna  <jug@sad.it>
8694
8695         * buffer.[Ch] : The following are only changes to the ert
8696         compatibility read reading old LaTeX layout and font stuff and
8697         convert it to ERTInsets.
8698
8699         * buffer.h: added isErtInset().
8700
8701         * buffer.C (struct ErtComp): add a fromlayout bool to check
8702         if we're inside a LaTeX layout.
8703         (isErtInset): new helper function.
8704         (insertErtContents): look for other ert insets before this one
8705         and insert the contents there, so that we don't have subsequent
8706         ERT insets with nothing between them. This way we create only one
8707         inset with multiple paragraphs. Also check if we don't insert only
8708         spaces ' ' as they are ignored anyway afterwards in the .tex file
8709         so if we have only spaces we will ignore this latex part in the
8710         new file.
8711         (parseSingleLyXformat2Token \\layout): better compatibility when
8712         reading layout-latex stuff.
8713         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8714         language tag.
8715         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8716         stuff after reading the inset only get the information back from
8717         the stack.
8718
8719 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8722
8723         * LaTeXFeatures.C (getBabelOptions): New method.
8724
8725 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8726
8727         * BufferView_pimpl.C (Dispatch): work around missing argument for
8728         'layout'
8729
8730 2002-05-08  Juergen Vigna  <jug@sad.it>
8731
8732         * text.C (leftMargin): handle paragraph leftindent.
8733
8734         * paragraph.C (writeFile): write the new \\leftindent tag.
8735         (validate): handle leftindent code.
8736         (TeXEnvironment): handle paragraphleftindent code again.
8737
8738         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8739
8740         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8741         for paragrap_extra indent code and new token \\leftindent.
8742         (latexParagraphs): handle the leftindent as environment.
8743
8744         * ParameterStruct.h: added leftindent support.
8745
8746         * ParagraphParameters.C (leftIndent): added support functions for
8747         the paragraph left indent.
8748
8749         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8750         more appropriate.
8751
8752 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8753
8754         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8755         inside insetERT.
8756
8757         * text.C (computeBidiTables): No bidi in insetERT.
8758
8759         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8760         in RTL documents.
8761
8762 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8763
8764         * version.C.in: pre 5
8765
8766 2002-05-02  José Matos  <jamatos@fep.up.pt>
8767         * buffer.C (makeDocBookFile): white space changes, add newline to
8768         command styles.
8769         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8770
8771         * tabular.C (docBook): fix typo.
8772
8773 2002-05-03  Juergen Vigna  <jug@sad.it>
8774
8775         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8776         change in LyXText as we can not be sure it was not freed.
8777         (drawOneRow): remove unused code.
8778
8779         * text.C (drawInset): redo the calculation of the need_break_row as
8780         it could have a row which was already freed.
8781         (draw): look at the return value of drawInset and return false if
8782         it also returned false.
8783         (paintRowText): look at the return value of draw and return false if
8784         it also returned false.
8785
8786         * lyxtext.h: added bool return type to drawInset() and draw() so that
8787         if we have a change in the row so that the rowbreak has to be redone
8788         we abort drawing as it will be called again.
8789
8790 2002-05-02  Juergen Vigna  <jug@sad.it>
8791
8792         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8793         a change in the maintext also if we're inside an inset.
8794         (Dispatch): set the cursor again after a break line and after the
8795         screen has been updated as it could be we're in a different row.
8796
8797         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8798         to set the cursor behind the pargraph with > size().
8799         (setCursor): check also for the same paragraph when checking where
8800         to put the cursor if we have a NFR inset.
8801
8802         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8803         parts of layout read further up as it still was in the wrong
8804         position.
8805
8806 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8807
8808         * screen.C (drawFromTo): change sine fullRebreak always return
8809         true.
8810
8811         * buffer.C (parseSingleLyXformat2Token): reindent some
8812
8813         * BufferView_pimpl.C (update): change since fullRebreak always
8814         return true.
8815         (Dispatch): git rid of the last hardcoded "Standard"s.
8816
8817 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8818
8819         * text2.[Ch] (fullRebreak): make it return void now that we always
8820         returned true.
8821
8822 2002-04-30  Juergen Vigna  <jug@sad.it>
8823
8824         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8825         ert compatibility check for "latex" layout.
8826
8827 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8828
8829         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8830         minipages: use col% instead of p%, and also use the current font.
8831         (makeLaTeXFile): Fix use babel condition.
8832         (parseSingleLyXformat2Token): Correct font when reading old floats.
8833
8834 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8837         inserting list of floats.
8838
8839 2002-04-25  Herbert Voss  <voss@lyx.org>
8840
8841         * MenuBackend.C (expand): don't add the graphics extensions to the
8842         export menu
8843
8844 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8847         non-existing layout, do not complain if it was the default layout
8848         of the original class (bug #342)
8849
8850 2002-04-24  Juergen Vigna  <jug@sad.it>
8851
8852         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8853         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8854
8855 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8856
8857         * buffer.C (getBibkeyList): If using \bibliography, return the
8858         option field with the reference itself. Enables us to provide natbib
8859         support when using \bibliography.
8860
8861 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8862
8863         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8864
8865         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8866         natbib is provided by the LaTeX class.
8867
8868 2002-04-23  Juergen Vigna  <jug@sad.it>
8869
8870         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8871         Wakeup functions.
8872
8873         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8874
8875 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8878
8879         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8880         ensuremath around textordmasculine, textordfeminine and
8881         textdegree.
8882
8883 2002-04-19  Juergen Vigna  <jug@sad.it>
8884
8885         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8886         reinitializing the buffer otherwise row-dimensions may be wrong.
8887         (update): reset also the selection cursors if they do exits otherwise
8888         their x/y positions may be wrong.
8889
8890         * text2.C (cursorDown): don't enter the inset if we came from a row
8891         above and are one row over the inset.
8892
8893         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8894         really leaving an inset.
8895
8896 2002-04-18  Juergen Vigna  <jug@sad.it>
8897
8898         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8899         of the selected paragraph does not have the selected layout also if
8900         the last one had!
8901
8902         * text2.C (setLayout): fixed bug which did not change last selected
8903         paragraph.
8904
8905         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8906         changed the read and substituted \\end_float with \\end_inset!
8907
8908         * BufferView_pimpl.C (cursorPrevious):
8909         (cursorNext): fixed to make it work with rows heigher than the work
8910         area without moving the cursor only the draw of the row.
8911         (workAreaMotionNotify): fix jumping over high rows.
8912
8913 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8914
8915         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8916         Ressler.
8917
8918 2002-04-16  Juergen Vigna  <jug@sad.it>
8919
8920         * text2.C (setCursor): set also the irow().
8921         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8922         (cursorUp):
8923         (cursorDown): support for locking an inset if the x_fix value goes
8924         inside it. That way I can transverse insets too with cursor up/down.
8925
8926         * lyxrow.h: added irow helper function same as other (i) functions.
8927
8928         * BufferView_pimpl.C (cursorPrevious):
8929         (cursorNext): fixed for insets!
8930
8931 2002-04-15  Juergen Vigna  <jug@sad.it>
8932
8933         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8934         position otherwise it is wrong in some cases.
8935
8936         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8937         inside the inset before the call.
8938
8939 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8940
8941         * buffer.[Ch] (getBibkeyList): make it const.
8942
8943 2002-04-12  Juergen Vigna  <jug@sad.it>
8944
8945         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8946
8947         * text2.C (getCursorX): new helper function
8948         (setCursor): compute also ix_
8949         (setCursorFromCoordinates): set also ix.
8950
8951         * lyxcursor.h: added ix_ and helper functions.
8952
8953         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8954
8955         * buffer.C (insertStringAsLines): dont break paragraph if the this
8956         paragraph is inside an inset which does not permit it!
8957
8958         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8959         also with no chars on this paragraph.
8960         (paintRowText): only paint stuff if it's inside the workarea!
8961
8962         * paragraph.C (breakParagraph): honor keepempty flag and break the
8963         paragraph always below not above.
8964
8965         * BufferView2.C (unlockInset): update the paragraph layout on inset
8966         unlock as we changed paragraph in such a case.
8967
8968         * lyxfind.C (LyXFind): clear the former selection if not found!
8969
8970         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8971         again called in insertChar().
8972
8973         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8974         an inset which uses the whole row!
8975         (rightMargin): ditto.
8976         (insertChar): force a rebreak if we inserted an inset!
8977
8978 2002-03-28  Herbert Voss  <voss@lyx.org>
8979
8980         * lyxlength.[Ch]: add inBP() to get the right PS-point
8981         units (BigPoint). With inPixels we have rounding errors
8982
8983 2002-04-11  Juergen Vigna  <jug@sad.it>
8984
8985         * text2.C (setCursorFromCoordinates): set iy to the right value.
8986         (setCursor): add check if row->previous exists!
8987
8988         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8989         an old float_type as this was the case in the old code!
8990
8991         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8992
8993         * BufferView2.C (showLockedInsetCursor): use iy
8994         (fitLockedInsetCursor): ditto
8995
8996         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8997         locked insets as there we have the right value now.
8998
8999         * lyxcursor.C: added iy_ variable and iy functions to set to the
9000         baseline of cursor-y of the locked inset.
9001
9002         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9003         (setCursor): fixed for insets which need a full row.
9004
9005         * text.C (rowLastPrintable): don't ignore the last space when before
9006         an inset which needs a full row.
9007         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9008         as last character of a row when before a inset which needs a full row.
9009
9010 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9011
9012         * version.C.in: update date
9013
9014         * text2.C (fullRebreak): try to always return true and see what
9015         happens...
9016
9017 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9018
9019         * MenuBackend.C (expand): use Floating::listName
9020
9021         * FloatList.C (FloatList): add listName argument to the built-in
9022         floats
9023
9024         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9025         text associated with the float.
9026
9027 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9028
9029         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9030
9031 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9032
9033         * ShareContainer.h: add a couple of missing typenames.
9034
9035 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9036
9037         * lyxrc.C (getDescription): use _() correctly rather than N_().
9038
9039 2002-03-28  Herbert Voss  <voss@lyx.org>
9040
9041         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9042         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9043
9044 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9045
9046         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9047         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9048
9049 2002-03-29  Juergen Vigna  <jug@sad.it>
9050
9051         * lyxfunc.C (dispatch): add a missing fitCursor call.
9052
9053         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9054         it was scrolled by a cursor move, so return the bool status.
9055
9056         * BufferView.C (fitCursor): return the bool flag also to the outside
9057         world as this is needed.
9058
9059         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9060
9061         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9062         call the edit() as it is not needed (and wrong) IMO.
9063         (workAreaButtonPress): set the screen_first variable before evt.
9064         unlock the inset as this may change screen_first and then we have
9065         a wrong y position for the click!
9066
9067 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9068
9069         * MenuBackend.C (expand): another translation that I missed
9070
9071 2002-03-28  Juergen Vigna  <jug@sad.it>
9072
9073         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9074
9075         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9076
9077 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9078
9079         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9080
9081         * MenuBackend.C (expand): fix export/view/update when there is no
9082         document open.
9083
9084 2002-03-27  Herbert Voss  <voss@lyx.org>
9085
9086         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9087         and text%
9088
9089 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9090
9091         * bufferview_funcs.C (currentState): only show paragraph number
9092         for is DEVEL_VERSION is set.
9093
9094         * lyxfunc.C (dispatch): put warning in INFO channel
9095
9096         * MenuBackend.C (expand): translate the name of floats
9097
9098         * FloatList.C (FloatList): mark the float names for translation
9099
9100         * converter.C (convert): use LibScriptSearch
9101
9102 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * MenuBackend.C (defaults): fix default menu (we might as well get
9105         rid of it...)
9106
9107 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9108
9109         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9110         directory.
9111
9112 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * lyxvc.C: reorder includes.
9115
9116 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9119           properly
9120
9121 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * CutAndPaste.C: change layouts earlier on paste
9124           to avoid crashing when calling getFont()
9125
9126 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9127
9128         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9129         irritating #error.
9130
9131 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * WorkArea.C: remove 'Pending' debug message.
9134
9135         * most files: ws cleanup
9136
9137         * buffer.[Ch]: ws changes
9138
9139         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9140
9141 2002-03-21  Juergen Vigna  <jug@sad.it>
9142
9143         * tabular.C (SetMultiColumn): collapse also the contents of the
9144         cells and set the last border right. Added a Buffer const * param.
9145
9146 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9147
9148         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9149         linking or not.
9150
9151 2002-03-19  Juergen Vigna  <jug@sad.it>
9152
9153         * text2.C (clearSelection): reset also xsel_cache.
9154
9155         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9156         where it needs to be called (John tells us to do so too :)
9157         (selectionLost): reset sel_cache.
9158
9159         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9160
9161 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9162
9163         * text2.C (setCursorIntern): put debuging code in INSETS channel
9164
9165 2002-03-19  André Pönitz <poenitz@gmx.net>
9166
9167         * lyxfunc.C: tiny whitespace change
9168
9169 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * ToolbarDefaults.C (init):
9172         * LyXAction.C (init):
9173         * commandtags.h:
9174         * BufferView_pimpl.C (Dispatch):
9175         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9176
9177 2002-03-19  Allan Rae  <rae@lyx.org>
9178
9179         * exporter.C (Export): removeAutoInsets before doing anything else.
9180         While I've just introduced a dependency on BufferView this really is
9181         the best place to clean the buffer otherwise you need to cleanup in
9182         a dozen places before calling export or cleanup in a dozen functions
9183         that export calls.
9184
9185         * converter.C (runLaTeX):
9186         (scanLog): Better handling of removeAutoInsets and screen updates.
9187
9188         * lyxfunc.C (dispatch): small whitespace changes
9189
9190 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * WorkArea.C (C_WorkAreaEvent): return a value.
9193         (event_cb): return 1 if we handled the event, 0 otherwise.
9194
9195         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9196
9197 2002-03-18  Juergen Vigna  <jug@sad.it>
9198
9199         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9200         (GetAdditionalWidth): ditto.
9201         (RightLine): ditto.
9202         (LeftLine): ditto.
9203
9204         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9205         inset if we're there actually (probably not used right now but this
9206         is the direction to go for unifying code).
9207         (paste): disable code to clear the selection.
9208
9209         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9210         inside an InsetText and move the check further up as it is in the
9211         wrong place.
9212
9213         * text2.C (pasteSelection): set a selection over the pasted text.
9214
9215 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9216
9217         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9218         and libgraphics to build on Cygwin.
9219
9220 2002-03-15  Juergen Vigna  <jug@sad.it>
9221
9222         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9223         inserting an Inset into the paragraph. I know this is not the best
9224         fix but we already use current_view in CutAndPaste so we will remove
9225         all of it's using at the same time.
9226
9227         * buffer.C (sgmlError): deactivated function till it is rewritten in
9228         the right mode, now it can create problems.
9229
9230         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9231         before accessing it.
9232
9233 2002-03-14  Juergen Vigna  <jug@sad.it>
9234
9235         * undo_funcs.C (textHandleUndo): do the right thing when updating
9236         the inset after the undo/redo.
9237
9238         * text2.C (setCursor): just some testcode for #44 not ready yet.
9239
9240         * undo_funcs.C (textHandleUndo): set the next() and previous()
9241         pointers of the paragraph to 0 before deleting otherwise we have
9242         problems with the Paragraph::[destructor].
9243
9244         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9245         on a paragraph insertion.
9246
9247 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * buffer.C (asciiParagraph): use += operator for char append to
9250         string.
9251
9252         * paragraph.C (getFontSettings): compare >= not just >
9253         (highestFontInRange): ditto
9254         (setFont): ditto
9255
9256 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * paragraph.C: change several algorithm to be more appripriate for
9259         the problem domain. This is lookip in FontList and in the InsetList.
9260
9261 2002-03-13  André Pönitz <poenitz@gmx.net>
9262
9263         * commandtags.h:
9264         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9265
9266 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * commandtags.h:
9269         * LyXAction.C:
9270         * lyxfunc.C:
9271         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9272
9273 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * Painter.C (display): anon helper function, adjust code for this
9276         change.
9277         (pixmap): remove function.
9278
9279         * Painter.h: remove private display variable.
9280
9281         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9282
9283 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9284
9285         * WorkArea.[Ch]: remove figinset_canvas cruft.
9286
9287 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * lyxtextclass.C (operator): add one item cache optimization.
9290
9291         * bufferlist.h: doxy changes
9292
9293         * bufferlist.C: ws changes
9294
9295         * DepTable.[Ch] (ext_exist): place const in the right spot.
9296
9297         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9298         call resizeInsets.
9299         (workAreaExpose): call resizeInsets when the with BufferView changes.
9300         (Dispatch): adjust for protectedBlank removal
9301         (specialChar): call updateInset if the insert went ok.
9302
9303         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9304         specialChar instead.
9305
9306         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9307
9308         * BufferView.h: doxy change
9309
9310         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9311
9312         * lyxtextclass.C (operator[]): remove non-const version
9313         (defaultLayout): remove non-const version
9314
9315 2002-03-12  Juergen Vigna  <jug@sad.it>
9316
9317         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9318         did resize the LyXText too.
9319
9320         * buffer.C (readLyXformat2): set layout information on newly allocated
9321         paragraphs.
9322
9323         * tabular.C (OldFormatRead): set layout information on the paragraph.
9324
9325 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9326
9327         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9328
9329 2002-03-11  Juergen Vigna  <jug@sad.it>
9330
9331         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9332         plainly wrong.
9333         (resizeCurrentBuffer): force also the insets to resize themselfes.
9334         (moveCursorUpdate): fixed up for InsetText.
9335
9336 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9337
9338         * commandtags.h:
9339         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9340         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9341         value of Dialogs::tooltipsEnabled().
9342         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9343
9344 2002-03-08  Juergen Vigna  <jug@sad.it>
9345
9346         * BufferView_pimpl.C (updateInset): update inset inside inset also
9347         if it isn't inside theLockingInset().
9348
9349 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * buffer.C (asciiParagraph): redo some of the word and line length
9352         handling.
9353         (getLists): look for Caption instead of caption.
9354
9355 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * buffer.C (Buffer): initialize niceFile to true
9358         (makeLaTeXFile):
9359         (makeLinuxDocFile):
9360         (makeDocBookFile): make sure niceFile is true on exit
9361
9362 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9365
9366 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9367
9368         * LyXSendto.C: remove.
9369         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9370         * lyx_gui.C: remove now-redundant comment.
9371         * ColorHandler.h: remove forward declaration of class WorkArea.
9372         * lyxfunc.C: remove #include "WorkArea.h".
9373
9374 2002-03-07  Juergen Vigna  <jug@sad.it>
9375
9376         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9377         got moved away with the DEPM and also set the inset_owner always
9378         right which before could have been omitted.
9379
9380 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9381
9382         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9383         wanted layout is not found.
9384
9385 2002-03-07  Juergen Vigna  <jug@sad.it>
9386
9387         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9388
9389 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * paragraph.C (breakParagraph): use default layout not layout of
9392         prev paragraph.
9393         (Paragraph): clear ParagraphParameters.
9394
9395 2002-03-06  Juergen Vigna  <jug@sad.it>
9396
9397         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9398         otherwise it would not be a valid lenght. Fixed a special case in
9399         the minipage compatibility read where we end the document with a
9400         minipage.
9401
9402         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9403         was set as it could be 0 for InsetTexts first entry.
9404
9405 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9406
9407         * paragraph.C (writeFile): if layout is empty write out
9408         defaultLayoutName().
9409
9410         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9411         file without named layout we set layout to defaultLayoutName().
9412
9413 2002-03-06  Juergen Vigna  <jug@sad.it>
9414
9415         * CutAndPaste.C (copySelection): set layout for new paragraph.
9416
9417         * text.C (prepareToPrint): leave ERT inset left aligned
9418         (leftMargin): don't indent paragraphs inside ERT insets
9419
9420 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9421
9422         * paragraph.C (breakParagraph): dont call clear do the work manually
9423
9424         * paragraph.[Ch] (clear): remove function
9425
9426 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9427
9428         * paragraph.C (Paragraph): dont call clear, the work has already
9429         been done.
9430
9431         * lyxtextclass.C (operator): assert if n is empty
9432
9433         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9434         work manually instead.
9435
9436 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * BufferView_pimpl.C: protect selectionLost against text == 0
9439
9440 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9441
9442         * text.C (breakParagraph): fix a setting layout to '0' problem.
9443
9444 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9445
9446         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9447         final location of file, for the included files, and graphics.
9448
9449 2002-03-05  Juergen Vigna  <jug@sad.it>
9450
9451         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9452
9453 2002-03-04  Juergen Vigna  <jug@sad.it>
9454
9455         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9456
9457         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9458         last column of multicolumn cells.
9459         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9460
9461 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9462
9463         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9464         file if it doesn't go to a temporary file.
9465
9466         * buffer.C (sgmlOpenTag):
9467         (sgmlCloseTag):  remove extra newline insertion.
9468
9469 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9470
9471         * text.C (getRowNearY): comment out debug msg
9472
9473 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9474
9475         * text2.C: first -> first_y
9476
9477         * text.C (getRowNearY): add some attemts at a possible
9478         optimization, not working.
9479
9480         * tabular.[Ch]: add BufferParams to several function so that newly
9481         created paragraph can be initialized to he default layotu for the
9482         buffers textclass.
9483
9484         * tabular-old.C (ReadOld): add buf->params to call of Init
9485
9486         * screen.C: rename text->first to text->first_y
9487
9488         * paragraph.C (breakParagraph): always set layout in the broken
9489         paragraph
9490
9491         * lyxtextclass.C (Read): remove lowercase
9492         (hasLayout): ditto
9493         (operator): ditto
9494         (delete_layout): ditto
9495
9496         * lyxtext.h: rename first -> first_y
9497
9498         * lyxlayout.C (Read): remove lowercase
9499         (name): ditto
9500         (setName): ditto
9501         (obsoleted_by): ditto
9502
9503         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9504
9505         * buffer.C (insertErtContents): add params are to InsetERT
9506         (parseSingleLyXformat2Token): add code to check if a paragraphs
9507         layout really exist.
9508         (parseSingleLyXformat2Token): add params to several inset
9509         constructors
9510         (asciiParagraph): remove lowercase, do the layout comparisons with
9511         no_case
9512
9513         * BufferView_pimpl.C (cursorNext): first -> first_y
9514         (resizeCurrentBuffer): first -> first_y
9515         (updateScrollbar): first -> first_y
9516         (scrollCB): first -> first_y
9517         (workAreaMotionNotify): first -> first_y
9518         (workAreaButtonPress): first -> first_y
9519         (checkInsetHit): first -> first_y
9520         (cursorPrevious): first -> first_y
9521         (cursorNext): first -> first_y
9522         (Dispatch): add buffer_->params to severl inset contructors
9523
9524 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9525
9526         * lyxlayout.C (Read): remove some debug info that I forgot.
9527
9528         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9529         clean up the code slightly.
9530         (makeLinuxDocFile): ditto
9531         (makeDocBookFile): ditto
9532
9533         * text2.C: layout as string
9534
9535         * text.C: layout as string
9536
9537         * paragraph_pimpl.C: layout as string
9538
9539         * paragraph.[Ch]: layout as string
9540
9541         * lyxtextclasslist.[Ch]: layout as string
9542
9543         * lyxtextclass.[Ch]: layout as string
9544
9545         * lyxtext.h: layout as string
9546
9547         * lyxlayout.[Ch]: layout as string
9548
9549         * lyx_cb.C: layout as string
9550
9551         * bufferview_funcs.C: layout as string
9552
9553         * bufferparams.C: layout as string
9554
9555         * buffer.C: layout as string
9556
9557         * LyXView.[Ch]: layout as string
9558
9559         * LaTeXFeatures.[Ch]: layout as string
9560
9561         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9562
9563         * BufferView_pimpl.C: change current_layout to string, remove
9564         lyx::layout_type.
9565         (Dispatch):
9566         (smartQuote):
9567         (insertInset):
9568         (workAreaButtonRelease): layout as string
9569
9570         * BufferView2.C (unlockInset): adjust
9571
9572         * vspace.C (asLatexCommand): use an explict temp variable.
9573
9574 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * Makefile.am: use FRONTEND_*
9577
9578 2002-03-01  Juergen Vigna  <jug@sad.it>
9579
9580         * tabular.C (SetWidthOfMulticolCell): changed to something better
9581         I hope but still work in progress.
9582         (recalculateMulticolumnsOfColumn): renamed function from
9583         recalculateMulticolCells as it is more appropriate now.
9584         (SetWidthOfCell): calculate multicols better.
9585
9586 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9587
9588         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9589
9590         * lyxfunc.C (processKeySym): print sequence also if it is
9591         `deleted' (complete)
9592
9593         * kbsequence.C (print): print sequence even if it is deleted
9594         (complete would be a better word, actually).
9595
9596         * lyxfunc.C (dispatch): print complete options after a prefix key
9597
9598         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9599
9600 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9601
9602         * text2.C (setCharFont): eliminate setCharFont code duplication.
9603
9604 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9607         LFUN_TABULAR_FEATURE (bug #177)
9608
9609 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9610
9611         * Makefile.am: remove figure.h
9612
9613 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9614
9615         * Bufferview_pimpl.C:
9616         * CutAndPasteC:
9617         * LaTeX.C:
9618         * LyXSendto.C:
9619         * buffer.C:
9620         * bufferlist.C:
9621         * converter.C:
9622         * language.C:
9623         * lyxfunc.C:
9624         * lyxvc.C:
9625         * paragraph.C:
9626         * text.C:
9627         * text2.C: remove #include "lyx_gui_misc.h".
9628
9629         * LaTeX.C: added #include <cstdio>
9630
9631 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9634         that the paragraph following this one can have.
9635
9636         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9637
9638         * vspace.C (asLatexCommand): fix bogus gcc warning
9639
9640         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9641
9642 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9643
9644         * text2.C (setLayout): get rid of redundant code
9645
9646 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9647
9648         * text2.C (incDepth): make sure depth cannot be increased beyond
9649         reasonable values.
9650
9651 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9652
9653         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9654         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9655
9656         * PainterBase.h (image):
9657         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9658         a LyXImage const *.
9659
9660 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * BufferView.C:
9663         * BufferView.h:
9664         * BufferView_pimpl.C:
9665         * BufferView_pimpl.h:
9666         * LaTeXFeatures.C:
9667         * LyXAction.C:
9668         * LyXView.C:
9669         * Makefile.am:
9670         * UpdateList.h:
9671         * UpdateList.C:
9672         * buffer.C:
9673         * figure.h:
9674         * figureForm.C:
9675         * figureForm.h:
9676         * figure_form.C:
9677         * figure_form.h:
9678         * lyx_cb.C:
9679         * lyx_gui.C:
9680         * lyx_gui_misc.C:
9681         * lyxfunc.C:
9682         * sp_base.h:
9683         * sp_ispell.h:
9684         * sp_pspell.h:
9685         * sp_spell.C: remove fig inset, and the crap house of
9686           cards that follows it
9687
9688 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * Makefile.am:
9691         * lyxserver.C:
9692         * os2_defines.h:
9693         * os2_errortable.h:
9694         * nt_defines.h: move .h into support/
9695
9696         * vms_defines.h: remove
9697
9698         * WorkArea.C: add space in debug output
9699
9700         * text2.C:
9701         * paragraph.C:
9702         * buffer.C: add WITH_WARNINGS
9703
9704         * vc-backend.h:
9705         * vc-backend.C:
9706         * bufferlist.C: s/retrive/retrieve/, add docs
9707
9708         * vspace.h:
9709         * vspace.C:
9710         * kbmap.h:
9711         * lyxlength.h:
9712         * lyxgluelength.h:
9713         * length_common.h:
9714         * chset.h:
9715         * chset.C: add docs
9716
9717         * lyxgui.C: add ID to X error handler
9718
9719         * lyxtestclass.c: fix typo
9720
9721 2002-02-26  Juergen Vigna  <jug@sad.it>
9722
9723         * tabular_funcs.C (write_attribute): changed so that some default
9724         attributes are not written at all.
9725         (getTokenValue): set default values before trying to read the
9726         value so we have the return value always set as default if we don't
9727         find the token we search for.
9728
9729         * tabular.C (Write): write bools as bools not as strings!
9730
9731 2002-02-22  Juergen Vigna  <jug@sad.it>
9732
9733         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9734         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9735
9736         * text.C (leftMargin): don't add an indent for paragraphs inside
9737         tabular cells (fix #208).
9738
9739 2002-02-21  José Matos  <jamatos@fep.up.pt>
9740
9741         * tabular.C (docBook): fixed support for long tables.
9742
9743 2002-02-20  Juergen Vigna  <jug@sad.it>
9744
9745         * text2.C (getFont): get the drawing font of the Inset if this
9746         paragraph is inside an inset (only important for InsetERT for now).
9747
9748         * buffer.C (insertErtContents): use new lanugage params in ERT
9749         constructor.
9750
9751         * CutAndPaste.C: commenting out seemingly uneeded code.
9752
9753 2002-02-19  Allan Rae  <rae@lyx.org>
9754
9755         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9756         Iterators might be simple to use but they also get invalidated.
9757         (removeAutoInsets): renamed saved cursor tracking variables and added
9758         some comments to clarify what everything does.
9759
9760 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9761
9762         * Chktex.C:
9763         * LaTeX.C:
9764         * LyXSendto.C:
9765         * converter.C:
9766         * lyx_cb.C:
9767         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9768         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9769
9770         * lyxfunc.C:
9771         * vc-backend.h: remove #include "support/syscall.h"
9772
9773         * LaTeX.C:
9774         * LyXSendto.C:
9775         * converter.C: rearrange #includes in Lars' approved fashion.
9776
9777         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9778         forward declare class Timeout in the header file.
9779
9780         * XFormsView.C: changes due to the above.
9781
9782         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9783         similar to LyXView.
9784
9785         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9786         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9787
9788 2002-02-18  José Matos  <jamatos@fep.up.pt>
9789
9790         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9791         insets contents.
9792
9793 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9794
9795         * a lot of small ws changes
9796         * add a lot of using std::XXX
9797         * use std construcs some places where approp.
9798         * use some exisint stuff from lyxfunctional where approp.
9799         * Make file changes to use partial linking (lets test this now...)
9800
9801 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9802
9803         * Chktex.C:
9804         * buffer.C:
9805         remove #include "support/syscontr.h" as it's redundant. Always has been.
9806
9807         * Chktex.C:
9808         * LaTeX.C:
9809         * LyXSendto.C:
9810         * converter.C:
9811         * lyx_cb.C:
9812         * vc-backend.C:
9813         change Systemcalls::System to Systemcalls::Wait and
9814         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9815         No change of functionality, just reflects the stripped down Systemcalls
9816         class.
9817
9818 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9819
9820         * debug.[Ch]: add a GRAPHICS type to the enum.
9821
9822 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9825
9826         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9827         there is an inset.
9828
9829 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9832         match the changes below.
9833
9834         * text2.C (toggleInset): if there is not editable inset at cursor
9835         position, try to see if cursor is _inside_ a collapsable inset
9836         and close it.
9837
9838 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9839
9840         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9841         document menu has a nice checkbox
9842
9843 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * lyxlength.C (asLatexString): change PW to output as percent of
9846         \textwidth.
9847
9848         * lengthcommon.C: change '%' to 't%'
9849
9850         * lyxfunc.C (dispatch): a few comments from Martin
9851
9852 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * WorkArea.h:
9855         * WorkArea.C:
9856         * BufferView_pimpl.h:
9857         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9858           the X selection.
9859
9860 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * vspace.C (inPixels): fix compiler warning
9863
9864 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * lyxfunc.C (getStatus): fix status message for disabled commands.
9867
9868 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * BufferView_pimpl.C: fix crash on close buffer
9871         during selection (#227)
9872
9873 2002-01-27  Herbert Voss  <voss@lyx.org>
9874
9875         * buffer.C: link old Figure to new graphic inset
9876
9877 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9878
9879         * FontLoader.C (getFontinfo): Change the latex font names in order
9880         to match the names of type1inst.
9881
9882 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9885
9886         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9887         (extchanged): ditto
9888         (ext_exist): ditto
9889         (remove_files_with_extension): ditto
9890         (remove_file): ditto
9891         (write): ditto
9892
9893         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9894         document is smaller than the work area height. Do not initialize
9895         static variables to 0.
9896
9897 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9898
9899         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9900
9901         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9902         LFUN_LAYOUT_PARAGRAPHS.
9903
9904         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9905         tabular. It is possible to provide a possible cell, which will
9906         typically be the actcell from the corresponding insettabular
9907
9908         * lyxfunc.C (getStatus): small cleanup; disable
9909         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9910         true
9911
9912 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9915
9916         * paragraph.C (startTeXParParams):
9917         (endTeXParParams): new methods. The LaTeX code to
9918         start/end paragraph formatting
9919         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9920         empty (fixes bug #200)
9921
9922         * vspace.C (inPixels): adapt to the change below
9923         (inPixels): [later] more cleanups (remove unused variables)
9924
9925         * lyxlength.C (inPixels): change to use a width and a height as
9926         parameter.
9927
9928 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9931         Replaced with \paperwidth
9932
9933         * DepTable.C (insert): add std:: qualifier
9934
9935 2002-01-18  Allan Rae  <rae@lyx.org>
9936
9937         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9938         updated also?
9939
9940         * text.C (drawInset): Turned out I didn't know enough about how
9941         rebreaking worked.  This fixes most of the redraw problems.  I see
9942         an occasional cursor trail when a line is broken now and the cursor
9943         placement can seem out by a few pixels also after a rebreak.
9944
9945 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9946
9947         * buffer.C (parseSingleLyXformat2Token): update because minipage
9948         width is now a LyXLength
9949
9950         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9951
9952         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9953         math insets
9954
9955 2002-01-17  Juergen Vigna  <jug@sad.it>
9956
9957         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9958
9959         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9960         is set correctly and the inset is updated correctly.
9961
9962 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963
9964         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9965         the beginning of the loop.
9966
9967 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * lyxrc.C: improve help for use_scalable_fonts
9970
9971 2002-01-17  Allan Rae  <rae@lyx.org>
9972
9973         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9974
9975 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9978         make sure to set their inset_owner to the right value (bug #171)
9979
9980 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9981
9982         * DepTable.h
9983         * DepTable.C: Implement mtime checking to reduce time spent doing
9984         CRCs.
9985
9986 2002-01-16  Juergen Vigna  <jug@sad.it>
9987
9988         * tabular.C (GetAdditionalHeight): one of error fixed.
9989
9990         * lyxrc.C (output): small fix in writing use_pspell.
9991
9992 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * sp_base.h: #include LString.h
9995
9996 2002-01-16  Allan Rae  <rae@lyx.org>
9997
9998         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9999         Can someone check this please?
10000
10001         * text.C (drawInset): It was possible that p.row would be removed by
10002         breakAgainOneRow upsetting a few other settings.  There may be another
10003         small tweak possible by setting need_break_row = 0 when p.row has been
10004         removed but I don't know enough about the logic here.
10005
10006 2002-01-15  Allan Rae  <rae@lyx.org>
10007
10008         * text.C (insertChar): removed conditional truism.
10009
10010         * BufferView2.C (removeAutoInsets): More tweaks.
10011         cur_par_prev could be a stray pointer.  Check for trailing empty line
10012         in case last line was cur_par and only had an error inset on it.
10013
10014 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10017         absolute
10018
10019         * vc-backend.C (most methods):
10020         * exporter.C (Export):
10021         * converter.C (convert):
10022         (runLaTeX):
10023         * LyXSendto.C (SendtoApplyCB):
10024         * lyxfunc.C (dispatch):
10025         (menuNew):
10026         (open):
10027         (doImport):
10028         * lyx_cb.C (AutoSave):
10029         (InsertAsciiFile):
10030         * BufferView_pimpl.C (MenuInsertLyXFile):
10031         * buffer.C (runChktex): use Buffer::filePath().
10032
10033         * buffer.h: rename filename to filename_; rename filepath to
10034         filepath_ and make it private
10035         (filePath): new method
10036
10037         * buffer.C (writeFile): use fileName()
10038         (getLatexName):
10039
10040         * lyx_main.C (init): fix starting  of LyX when the binary is a
10041         link from so,ewhere else.
10042
10043         * minibuffer.C: include <cctype> for isprint
10044
10045 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10046
10047         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10048         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10049         name clash with InsetCollapsable's width function.
10050
10051 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10052
10053         * lastfiles.C: include <iterator>
10054
10055 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10056
10057         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10058         std::count.
10059
10060         * buffer.C (makeLaTeXFile): ditto.
10061         Also make loop operation more transparent.
10062
10063 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * ToolbarDefaults.C: remove trailing comma closing namespace.
10066
10067         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10068
10069         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10070         as in WorkArea.
10071
10072         * trans.C (Load): comment out unused variable, allowed.
10073
10074 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * minibuffer.[Ch] (append_char): new method to recieve input from the
10077         drop-down completion browser. If a key was pressed, then recieve this
10078         char and append it to the existing string.
10079         (peek_event): modify the positioning data passed to the completion
10080         browser so that it can be placed above the minibuffer rather than below.
10081 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10082
10083         * LyXAction.C (init): alloe error-next for readonly documents.
10084
10085         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10086         count.
10087
10088 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * bufferlist.C (readFile): create the buffer _after_ checking that
10091         the file exists.
10092
10093         * lyxfunc.C (verboseDispatch): fix handling of arguments
10094
10095         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10096
10097         * lyxrc.C: use string::erase() instead of initializing to "".
10098
10099
10100 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * BufferView_pimpl.h:
10103         * BufferView_pimpl.C:
10104         * WorkArea.h:
10105         * WorkArea.C:
10106         * text2.C: tell X when we have made a selection for copying
10107
10108 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * BufferView_pimpl.C (MenuInsertLyXFile):
10111         * lyxfunc.C (menuNew):
10112         (open):
10113         (doImport): add shortcuts to directory buttons
10114
10115         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10116         open a float)
10117
10118         * lyxfunc.C (setStatusMessage):
10119         (getStatusMessage): new methods
10120         (getStatus):use setStatusMessage instead of setErrorMessage
10121         (dispatch): when function is disabled, set error message here
10122         [instead of in getStatus previously]
10123
10124         * BufferView_pimpl.C (workAreaButtonRelease): update
10125         toolbar/menubar here too.
10126
10127 2002-01-13  Allan Rae  <rae@lyx.org>
10128
10129         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10130         Now seems indestructible.  Remaining task is to audit all other
10131         code affected by deleteEmptyParagraphMechanism.  One small quirk
10132         left is that an empty document with an error in the preamble can
10133         be made to report an error but no error box appears.  I don't know
10134         where it goes.
10135         (removeAutoInsets): Improved comments.
10136
10137 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * Thesaurus.h:
10140         * Thesaurus.C: update for Aiksaurus 0.14
10141
10142 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10143
10144         * text2.C (firstParagraph): removed member function, all uses
10145         replaces with ownerParagraph
10146         (redoParagraphs): here
10147         (updateInset): here
10148         (toggleAppendix): here
10149         * BufferView2.C (insertErrors): here
10150         (setCursorFromRow): here
10151
10152 2002-01-13  Allan Rae  <rae@lyx.org>
10153
10154         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10155         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10156         There is still a way to segfault this although you may have to do this
10157         multiple times: Have an InsetERT with an unknown command in it.
10158         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10159         <down-arrow>, <Enter> again, View->DVI, BANG!
10160
10161         * text2.C (setCursor):
10162         (deleteEmptyParagraphMechanism):
10163         * lyxtext.h (setCursor):
10164         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10165         Making use of the return value may help fix other bugs.
10166
10167 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10170
10171         * LyXView.C (updateMenubar): call MenuBar::update here
10172         (updateToolbar): but not here
10173         (showState): do not update toolbar/menubar
10174
10175         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10176         should need to care about that.
10177
10178         * lyxfunc.C (verboseDispatch): simplify a bit
10179         (getStatus): have a version which takes a pseudoaction, and
10180         another which requires a (kb_action,string).
10181
10182         * LyXAction.C (retrieveActionArg): make it work also when action
10183         is not a pseudo-action.
10184         (getActionName): simplify a bit
10185         (helpText):
10186
10187 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10188
10189         * lyxfunc.C (verboseDispatch): new families of methods with
10190         several ways to specify a command and a bool to indicate whether
10191         the command name and shortcut should be displayed in minibuffer
10192         (eventually, we could extend that to a finer bitmask like
10193         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10194         (dispatch): the pristine dispatch command which just, well,
10195         dispatchs! Note it still sets its result to minibuffer; I'm not
10196         sure we want that.
10197
10198         * lyxfunc.h: remove setHintMessage
10199
10200         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10201
10202 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * BufferView_pimpl.C (specialChar): delete new inset if we have
10205         not been able to insert it.
10206
10207         * kbmap.C: revert to using int instead of kb_action, since all we
10208         are dealing with is pseudo-actions.
10209
10210         * LyXAction.C (searchActionArg): change to return int instead of
10211         kb_action, since the result is a pseudoaction.
10212
10213 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10214
10215         * buffer.C (insertErtContents): Fix (partially) the font bug.
10216
10217 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10220         as the other one is broken on my machine!
10221
10222 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10223
10224         * commandtags.h:
10225         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10226
10227 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10230         reflect their actual use. Provide compatibility code for older lyxrc
10231         files.
10232
10233         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10234         FL_NORMAL_STYLE.
10235         change names of popup font variables in line with the changes to lyxrc.C
10236
10237 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * buffer.C (asciiParagraph): avoid outputing a word twice after
10240         an inset.
10241
10242         * lyxrc.C (getDescription): document that document_path and
10243         template_path can be empty.
10244
10245 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * LaTeXFeatures.C (getMacros):
10248         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10249
10250         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10251
10252         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10253         getPackages.
10254         (getPackages): rename feature "floats" to "float". Use an array to
10255         iterate over 'simple' features (i.e. just a \usepackage). Add
10256         handling of "amsmath" (renamed from "amsstyle").
10257
10258 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10259
10260         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10261         features list.
10262
10263 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10264
10265         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10266         FuncStaus::FuncStatus & FuncStaus::some_method().
10267
10268 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10269
10270         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10271         of the func_satus stuff. Edited and massaged in various ways by
10272         JMarc.
10273
10274         * lyxfunc.C (getStatus): use FuncStatus
10275
10276 2002-01-08  Juergen Vigna  <jug@sad.it>
10277
10278         * text.C (nextBreakPoint): use function Inset::isChar().
10279
10280         * paragraph.C (TeXOnePar): use function
10281         Inset::forceDefaultParagraphs.
10282
10283         * buffer.C (latexParagraphs): use function
10284         Inset::forceDefaultParagraphs.
10285
10286 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10287
10288         * lyx_gui.C (init): set the style of the menu popups to
10289         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10290
10291 2002-01-07  Juergen Vigna  <jug@sad.it>
10292
10293         * text.C (setHeightOfRow): small fix
10294         (prepareToPrint): don't look at alignment if we don't have the place
10295         for doing it.
10296
10297 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10298
10299         * box.C: New file. Move the Box methods and functions out of box.h,
10300         following Lars' suggestion.
10301
10302 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10303
10304         * box.h: #include "support/LOstream.h", needed for inlined function.
10305
10306         * lyxtextclass.C:
10307         * lyxtextclasslist.C: added some using std declarations.
10308
10309 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * box.h: make signed dimensions to allow insets wider than
10312           the screen (bug #162)
10313
10314         * BufferView_pimpl.C: add some insetHit debug
10315
10316 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * vc-backend.C: add FIXME
10319
10320 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * lyxfunc.C (getStatus): enable code for showing math font status
10323         in toolbar/menu.
10324
10325 2002-01-07  Juergen Vigna  <jug@sad.it>
10326
10327         * text.C (nextBreakPoint): removed debug output not needed anymore.
10328
10329 2002-01-06  Juergen Vigna  <jug@sad.it>
10330
10331         * text.C (nextBreakPoint): fixed up this function we had this bug
10332         since ever but now hopefully we break row better.
10333         (insertChar): we have to check if an inset is the next char as it
10334         could now happen that a large inset is causing a break.
10335
10336 2002-01-05  Juergen Vigna  <jug@sad.it>
10337
10338         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10339         if it doesn't like to be drawed.
10340
10341 2002-01-04  Juergen Vigna  <jug@sad.it>
10342
10343         * BufferView2.C (lockInset): forgot to set a cursor.
10344
10345         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10346
10347 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10348
10349         * FormMathsPanel.C:
10350         * FormMathsPanel.h
10351         * MathsSymbols.C:
10352         * form_maths_panel.C:
10353         * form_maths_panel.h:
10354         * form_maths_panel.fd: implemented sub- and super- buttons in math
10355         panel.
10356
10357         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10358         (or ^ space) to be used as in TeX (req'd by André).
10359
10360         * lyxfunc.C: Allow ^ and _ again to be used both as
10361         super/subscript (mathed) and as themselves (in text).
10362
10363 2002-01-03  Allan Rae  <rae@lyx.org>
10364
10365         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10366         "LyX" or the filename of the current buffer if it has one.  This is a
10367         modified form of John Levon's patch.
10368
10369         * XFormsView.C (setWindowTitle): also set icon title.
10370
10371         * LyXView.h (setWindowTitle): signature changed.
10372         * XFormsView.h (setWindowTitle): ditto.
10373
10374 2002-01-02  Juergen Vigna  <jug@sad.it>
10375
10376         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10377
10378 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10379
10380         * screen.C (topCursorVisible): introduce a temp var for
10381         text->cursor.row(), handle the case where this row is null. (kindo
10382         hachish)
10383
10384         * text2.C (setCursor): add a couple of asserts.
10385
10386         * paragraph.h (inset_iterator): add -> operator
10387
10388         * paragraph.[Ch] (autoDeleteInsets): remove member function
10389
10390         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10391         cursor pos correctly and handle inset deletion by itself.
10392         (insertErrors): move iterator declaration out of for expression
10393
10394         * lyxtextclass.C: add <algorithm>
10395
10396         * Makefile.am: added the new files to sources, removed layout.C
10397
10398         * layout.C: removed file
10399
10400         * layout.h: remove LYX_DUMMY_LAYOUT
10401
10402         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10403         layout.
10404
10405         * lyxlayout.[Ch]:
10406         * lyxtextclass.[Ch]:
10407         * lyxtextclasslist.[Ch]: new files
10408
10409         * include order changes to a lot of files, also changes because of
10410         the six new files.
10411
10412 2001-12-27  Juergen Vigna  <jug@sad.it>
10413
10414         * buffer.C (asciiParagraph): more fixes.
10415
10416         * tabular.C (ascii): make ascii export support export of only the
10417         data separated by a column-delimiter.
10418         (ascii): better support for ascii export.
10419
10420         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10421
10422 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10423
10424         * tabular_funcs.C: use a "using std::getline" instead of the
10425         previous fix from Angus (necessary for cxx + lyxstring)
10426
10427 2001-12-24  Juergen Vigna  <jug@sad.it>
10428
10429         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10430
10431         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10432         problems. First check a minipage also if we have some ert-contents
10433         (not only on par->size(), second set the right depth of the paragraph
10434         on the relink to the root-paragraph-list!
10435
10436         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10437         which then did not anymore update the main paragraphs on undo/redo!
10438
10439 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10440
10441         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10442         code. Support all font-changing funcs (even those which are not in
10443         menu currently). Support for reporting font settings in
10444         mathed (disabled until Andre provides a function on mathed's side).
10445
10446         * func_status.h (toggle): small helper function to set toggle
10447         state on a flag.
10448
10449 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * tabular_funcs.C: getline -> std::getline
10452
10453 2001-12-21  Juergen Vigna  <jug@sad.it>
10454
10455         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10456         accessed and could be 0 (I couldn't generate this but it seems
10457         Michael could!).
10458
10459 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10462         * tabular_funcs.h: here and include iosfwd
10463
10464 2001-12-20  Juergen Vigna  <jug@sad.it>
10465
10466         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10467         inside inset but undo_par was.
10468
10469 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * Thesaurus.C: always include <config.h> in sources.
10472
10473         * Painter.h:
10474         * lyxlookup.h:
10475         * box.h: do not include <config.h> in header files
10476
10477         * text.C (paintLastRow): remove unused variable
10478
10479         * text.C (transformChar):
10480         (insertChar):
10481         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10482
10483         * Painter.C (text):
10484         * font.C (width): rewrite to use uppercase() instead of
10485         islower/toupper.
10486
10487         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10488
10489 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * lyxfind.C: clean up of find failure position change
10492
10493 2001-12-20  Juergen Vigna  <jug@sad.it>
10494
10495         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10496
10497         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10498         (TeXRow): added to LaTeX a single tabular row.
10499         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10500         (Latex): simplified and finally good LT-h/f support.
10501         (various_functions): just small adaptions for LT-h/f support.
10502
10503         * tabular_funcs.[hC]: added and moved here all not classfunctions
10504         of LyXTabular.
10505
10506 2001-12-19  Juergen Vigna  <jug@sad.it>
10507
10508         * tabular.[Ch]: better support for longtabular options (not finished
10509         yet!)
10510
10511 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * text.C (paintLastRow): use the label font instead of the font of
10514         the last character to compute the size of *_BOX. This makes more
10515         sense and avoids a crash with empty paragraphs.
10516         Use Painter::rectangle to draw EMPTY_BOX.
10517
10518 2001-12-19  Juergen Vigna  <jug@sad.it>
10519
10520         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10521         the paragraphs if the replaced paragraph is not the first one!
10522         Tried to delete not used paragraphs but does not work yet so for
10523         now it's inside #ifdef's and by default off!
10524
10525 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * MenuBackend.C: include "lyx_main.h" instead of declaring
10528         lastfiles (actually was declared as LastFiles* instead of a
10529         scoped_ptr).
10530
10531 2001-12-17  Juergen Vigna  <jug@sad.it>
10532
10533         * tabular.C (AppendColumn): applied John's fix
10534
10535 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView.h:
10538         * BufferView.C:
10539         * BufferView_pimpl.h:
10540         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10541
10542         * Makefile.am:
10543         * box.h: new start of class for above
10544
10545         * lyxfunc.C: ignore space-only minibuffer dispatches.
10546           Show the command name when it doesn't exist
10547
10548         * minibuffer.C: don't add empty lines to the history
10549
10550         * minibuffer.C: add a space on dropdown completion
10551
10552 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * text.C: fix line above/below drawing in insets
10555
10556 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * lyxlength.C (LyXLength): Initialize private variables.
10559
10560 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10561
10562         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10563         when inserting error insets.
10564
10565 2001-12-13  Juergen Vigna  <jug@sad.it>
10566
10567         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10568         actually sometimes the before-paragraph.
10569         (setUndo): don't clear the redostack if we're not actually undoing!
10570
10571 2001-12-06  Juergen Vigna  <jug@sad.it>
10572
10573         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10574         and fixed redoing of main paragraph, so we can use it now ;)
10575
10576         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10577
10578 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10581         Juergen's request
10582
10583 2001-12-13  André Pönitz <poenitz@gmx.net>
10584
10585         * undostack.[Ch]:
10586         * undo_func.C: minor cleanup
10587
10588 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10589
10590         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10591         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10592         font in urw-fonts package which is marked as -urw-fontspecific and
10593         does not work (incidentally, changing the encoding in the
10594         fonts.dir of this package to -adobe-fontspecific fixes the
10595         problem).
10596
10597         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10598         is a crash when undoing first paragraph (Juergen, please take a
10599         look). THis does not mean the undo fix is wrong, just that it
10600         uncovers problems.
10601
10602         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10603         the (Paragraph*) version when needed instead of duplicating the
10604         code.
10605
10606         * text.C (workWidth): use Inset::parOwner to find out where the
10607         inset has been inserted. This is a huge performance gain for large
10608         documents with lots of insets. If Inset::parOwner is not set, fall
10609         back on the brute force method
10610
10611         * paragraph_pimpl.C (insertInset):
10612         * paragraph.C (Paragraph):
10613         (cutIntoMinibuffer): set parOwner of insets when
10614         inserting/removing them
10615
10616         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10617
10618 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10619
10620         * commandtags.h:
10621         * LyXAction.C:
10622         * lyx_main.C:
10623         * lyxfunc.C:
10624         * mathed/formulabase.C:
10625         * mathed/math_cursor.[Ch]:
10626         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10627
10628
10629 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * lyxlength.[Ch] (operator!=): new function
10632
10633 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * text.C (workWidth): use Inset::parOwner to find out where the
10636         inset has been inserted. This is a huge performance gain for large
10637         documents with lots of insets. If Inset::parOwner is not set, fall
10638         back on the brute force method
10639
10640         * paragraph_pimpl.C (insertInset):
10641         * paragraph.C (Paragraph):
10642         (cutIntoMinibuffer): set parOwner of insets when
10643         inserting/removing them
10644
10645         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10646
10647 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * tabular-old.C (getTokenValue):
10650         * tabular.C (getTokenValue):
10651         (write_attribute): new versions for LyXLength
10652         (everywhere): adjust the use of widths
10653
10654         * tabular.h: change the type of widths from string to LyXLength
10655
10656 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10657
10658         * paragraph.C: fixed missing line number count when exporting
10659         Environments to LaTeX file
10660
10661         * buffer.C: added informational message for checking line numbers.
10662
10663 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10666         paragraph, do the 'double space' part, but not the 'empty
10667         paragraph' one.
10668
10669         * text.C (workWidth): small optimization
10670         (getLengthMarkerHeight): use minimal size for negative lengths.
10671
10672 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10673
10674         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10675
10676         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10677
10678 2001-12-11  André Pönitz <poenitz@gmx.net>
10679
10680         * FontLoader.C:
10681         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10682
10683 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * text2.C: keep selection on a setFont()
10686
10687 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * lyx_cb.C: another bv->text misuse, from insert label
10690
10691 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * kbsequence.h:
10694         * kbsequence.C: re-instate nmodifier mask
10695
10696 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10697
10698         * lyx_main.h: make lyxGUI private.
10699
10700 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * lyxfind.C: place the cursor correctly on failed search
10703
10704 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * text.C (getLengthMarkerHeight): for small heights, the arrows
10707         are not always on top/bottom of the text
10708         (drawLengthMarker): smaller arrows; take the left margin in
10709         account; draw also vfills.
10710         (paintFirstRow):
10711         (paintLastRow): remove special code for vfill and standard spaces,
10712         since everything is handled in drawLengthMarker now.
10713
10714 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * buffer.C (insertErtContents): try to handle font and language
10717         interaction a bit better.g
10718
10719         * ColorHandler.C (updateColor): change the hash to cover the whole
10720         LColor enum, ws cleanup
10721         (getGCLinepars): ditto
10722         (getGCLinepars): only lookup in the linecache once.
10723
10724 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10725
10726         * iterators.C (operator++): Make the iterator more robust
10727
10728         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10729         (John's patch)
10730         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10731
10732 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * lyxtext.h:
10735         * text.C: better added space drawing
10736
10737 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * LyXView.C:
10740         * BufferView2.C: fix layout combo update on inset unlock
10741
10742 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * Makefile.am: don't compile unused files
10745
10746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * lyxfunc.C:
10749         * commandtags.h:
10750         * LyXAction.C: remove old LFUN_LAYOUTNO
10751
10752 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * paragraph_pimpl.h:
10755         * paragraph_pimpl.C: isTextAt() doesn't need font param
10756
10757 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * lyxlex.h:
10760         * lyxlex.C: little cleanup
10761
10762 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * BufferView_pimpl.C: fix insertAscii for insets
10765
10766 2001-12-05  Juergen Vigna  <jug@sad.it>
10767
10768         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10769         set the right font on the "multi" paragraph paste!
10770
10771 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10772
10773         * trans_decl.h:
10774         * trans_mgr.[Ch]:
10775         * trans.[Ch]:
10776         * lyxgluelength.C:
10777         * lyxlength.C: remove out-commented code.
10778
10779         * BufferView_pimpl:
10780         * CutAndPaste.C:
10781         * DepTable.C:
10782         * buffer.C:
10783         * chset.C:
10784         * lastfiles.C:
10785         * lyxlex.C:
10786         * lyxlex_pimpl.C:
10787         * lyxserver.C:
10788         * screen.C:
10789         * tabular-old.C:
10790         * tabular.C:
10791         * text.C:
10792         * trans_mgr.C:
10793         * vc-backend.C: change "while(" to "while ("
10794
10795         * lyxlength.[Ch]: add zero function to check if length is zero or
10796         not
10797         * lyxgluelength.C: use it
10798
10799 2001-12-05  Allan Rae  <rae@lyx.org>
10800
10801         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10802         Works for 2.95.3, from what I understand of Garst's reports this should
10803         work for other g++ versions.  We're screwed if the abs(int) definition
10804         changed between bugfix releases of gcc.
10805
10806 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * text.C: fix chapter label offset !
10809
10810 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10811
10812         * lyxtext.h:
10813         * text.C: fix hfill at end of line, clean up
10814
10815 2001-12-04  Juergen Vigna  <jug@sad.it>
10816
10817         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10818         that we force an update of the inset and it's owners if neccessary.
10819
10820 2001-12-03  Juergen Vigna  <jug@sad.it>
10821
10822         * text.C (rowLast): simplified code
10823
10824 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * lyxfunc.C: fix show options on timeout
10827
10828 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * screen.C (topCursorVisible): scroll half a page when the cursor
10831         reached top of bottom of screen
10832
10833 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * minibuffer.C: deactivate on loss of focus
10836
10837 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838
10839         * vspace.[Ch] (operator!=): add operator.
10840
10841 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * BufferView_pimpl.C: refuse to open an inset when
10844         there's a selection.
10845
10846 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * BufferView_pimpl.C: allow to click on RHS of full row insets
10849
10850 2001-11-30  Juergen Vigna  <jug@sad.it>
10851
10852         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10853         insets for undo reasons.
10854
10855 2001-11-28  André Pönitz <poenitz@gmx.net>
10856
10857         * vspace.[Ch]: cosmetical changes
10858
10859 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * LyXAction.h:
10862         * LyXAction.C:
10863         * lyxfunc.h:
10864         * lyxfunc.C:
10865         * kbmap.h:
10866         * kbmap.C:
10867         * lyxrc.C:
10868         * kbsequence.h:
10869         * kbsequence.C: part re-write of old kb code
10870
10871         * Painter.C:
10872         * WorkArea.C: remove Lgb_bug_find_hack
10873
10874 2001-11-30  José Matos <jamatos@fep.up.pt>
10875
10876         * buffer.C (makeDocBookFile): add a comment to point a hack.
10877         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10878         Fixed a double write of labels.
10879
10880 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10881
10882         * LaTeX.C:
10883         * LaTeX.h Fixed bug in LaTeX class where it would not
10884         re-run latex if no depfiles were changed, but the .dvi was removed.
10885
10886 2001-11-28  André Pönitz <poenitz@gmx.net>
10887
10888         * all the files from the change on 2001/11/26:
10889         use lyx::layout_type instead of LyXTextClass::size_type
10890         use lyx::textclass_type instead of LyXTextClassList::size_type
10891
10892 2001-11-29  Juergen Vigna  <jug@sad.it>
10893
10894         * text.C: added support for paragraph::isFreeSpacing()
10895
10896         * buffer.C: same as above
10897
10898         * paragraph.h: inserted isFreeSpacing() function to enable
10899         FreeSpacing inside InsetERT.
10900
10901         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10902         of the paragraph's in the cut/copy buffer to 0!
10903
10904         * text2.C (removeRow): remove the assert as it can!
10905
10906         * lyxtext.h: added helper function firstRow returning firstrow and
10907         made firstrow private again.
10908
10909         * BufferView2.C (lockInset): don't relock if we're already locked!
10910
10911         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10912         the only paragraph.
10913         (removeRow): added Assert::(firstrow)
10914
10915         * debug.C: forgot to add INSETTEXT here.
10916
10917 2001-11-28  Juergen Vigna  <jug@sad.it>
10918
10919         * sp_spell.C (initialize): changed error text to more general
10920         spellchecker command use (not only ispell!)
10921
10922         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10923
10924         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10925
10926 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * vspace.C: initialise lyxgluelength on failure
10929
10930 2001-11-28  Allan Rae  <rae@lyx.org>
10931
10932         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10933         declaration & definition that looks like a function declaration.
10934
10935 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10936
10937         * BufferView2.C (copy):
10938         (copyEnvironment): do not clear the selection when doing a copy.
10939
10940         * text.C (paintFirstRow): compilation fix
10941
10942 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10943
10944         * tabular.C (Latex): correct line count when writing latex.
10945
10946 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * paragraph_pimpl.h:
10949         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10950           bug a bit
10951
10952 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * text.C:
10955         * LColor.h:
10956         * LColor.C: change vfillline->added_space
10957
10958         * text.C: add markers and text for added space
10959
10960         * vspace.C: fix comment
10961
10962 2001-11-28  André Pönitz <poenitz@gmx.net>
10963
10964         * paragraph.C: whitespace changes
10965         * all the other files from the change on 2001/11/26:
10966         change *::pos_type into lyx::pos_type
10967
10968 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10969
10970         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10971         language of the document when inserting error insets.
10972
10973 2001-11-26  André Pönitz <poenitz@gmx.net>
10974
10975         * BufferView_pimpl.[Ch]:
10976         *       CutAndPaste.C:
10977         * buffer.[Ch]:
10978         * lyxcursor.[Ch]:
10979         * lyxfind.C:
10980         * lyxfunc.C:
10981         * lyxrow.[Ch]:
10982         * paragraph.[Ch]:
10983         * paragraph_pimpl.[Ch]:
10984         * sp_spell.C:
10985         * text.C:
10986         * text2.C: reduce header dependencies, introduce type for positions
10987
10988 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * <various>: change to use Alert.h
10991
10992 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10993
10994         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10995         when encountering an unknown token.
10996         (readLyXformat2): Show an error message if there were unknown tokens.
10997
10998 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * BufferView2.C:
11001         * BufferView_pimpl.C:
11002         * buffer.C:
11003         * paragraph.h:
11004         * text.C:
11005         * text2.C: use par->isInset()
11006
11007 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * paragraph_pimpl.h:
11010         * paragraph_pimpl.C: cleanup
11011
11012 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11013
11014         * text2.C (removeRow):
11015         * text.C (setHeightOfRow): remove useless (and costly) call to
11016         getRow.
11017
11018 2001-11-20  Allan Rae  <rae@lyx.org>
11019
11020         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11021         Now need Inset*::checkInsertChar() to return true for appropriate
11022         cases so that the characters in the minibuffer will actually be
11023         inserted.
11024
11025 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11026
11027         * text.C: change the order of the includes.
11028         (workWidth): initialize it at once.
11029         (workWidth): make maxw unsigned
11030         (setHeightOfRow): remove unused variable (inset)
11031         (selectSelectedWord): remove unused variable (inset)
11032         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11033
11034 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11035
11036         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11037         server is not running.
11038         (openConnection):
11039         (closeConnection): add debug info when server is disabled.
11040
11041         * ColorHandler.C (getGCForeground): send debug message to GUI
11042         channel.
11043
11044         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11045
11046         * kbmap.C (bind): modify because return conventions of
11047         kb_sequence::parse have changed.
11048
11049         * kbsequence.C (parse): only ignore spaces and not any stupid
11050         control character. This avoids tests like s[i] <= ' ', which are
11051         guaranteed to fail with 8bit characters and signed chars.
11052         Change return code to string::npos when there have been no error
11053         (0 was a bad idea when error is at first character)
11054
11055 2001-11-14  José Matos  <jamatos@fep.up.pt>
11056
11057         * buffer.h:
11058         * buffer.C (simpleDocBookOnePar): removed unused argument.
11059
11060 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11061
11062         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11063         insets which are part of a word. Paragraph::isLetter takes care of
11064         that now. Use Paragraph::isInset to identify insets.
11065         (selectSelectedWord): do not test for hyphenation break.
11066
11067         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11068         that protected spaces are considered as spaces.
11069
11070         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11071         Inset::isLetter.
11072
11073 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * lyxserver.h:
11076         * lyxserver.C: fix it. and small cleanup.
11077
11078 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * BufferView_pimpl.C: use inline helpers
11081
11082         * LaTeXFeatures.h:
11083         * LaTeXFeatures.C: fix typos
11084
11085         * Spacing.h:
11086         * Spacing.C: move spacing_string into class
11087
11088         * ToolbarDefaults.C: move stuff into namespace anon
11089
11090         * layout.h: update enum
11091
11092         * lyxfunc.C: use better debug
11093
11094         * minibuffer.h: fix typo
11095
11096         * debug.h:
11097         * debug.C:
11098         * WorkArea.C: add and use Debug::WORKAREA
11099
11100         * lyxtext.h:
11101         * text.C:
11102         * text2.C: code re-organisation, inline helpers
11103
11104 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11105
11106         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11107         std::vector.empty().
11108
11109 2001-11-09  Allan Rae  <rae@lyx.org>
11110
11111         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11112         '\n's after tables.  Tabular and ERT inset work now makes this no
11113         longer necessary.
11114
11115 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * minibuffer.h:
11118         * minibuffer.C: fix crash, improve drop-down completion
11119
11120 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * lyxserver.h:
11123         * lyxserver.C: invalidate fd's when doing endPipe()
11124
11125 2001-11-08  José Matos  <jamatos@fep.up.pt>
11126
11127         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11128         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11129
11130         * paragraph.h:
11131         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11132
11133 2001-11-07  José Matos  <jamatos@fep.up.pt>
11134
11135         * buffer.h:
11136         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11137         const qualifier.
11138
11139         * buffer.C (sgmlOpenTag):
11140         * buffer.C (sgmlCloseTag): removed debug info.
11141
11142         * buffer.h (sgmlOpenTag):
11143         * buffer.h (sgmlCloseTag): made public.
11144
11145 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11146
11147         * buffer.C (saveParamsAsDefaults):
11148         * lyx_cb.C (MenuLayoutSave): remove
11149
11150         * LyXAction.C (init):
11151         * commandtags.h:
11152         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11153
11154 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * buffer.C (setPaperStuff): removed from here...
11157
11158         * bufferparams.C (setPaperStuff): ... and moved there.
11159
11160 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * minibuffer.h:
11163         * minibuffer.C:
11164         * XFormsView.C: add support for drop-down completion
11165
11166 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11169         commands.
11170
11171 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11174         disabled.
11175
11176 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * lyx_main.C: change ref to known bugs
11179
11180 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11181
11182         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11183         to work around older babel problems.
11184
11185 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11186
11187         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11188
11189 2001-10-24  Juergen Vigna  <jug@sad.it>
11190
11191         * tabular-old.C (ReadOld): below variable changes reflected.
11192
11193         * tabular.[Ch]: added ltType struct for longtable header/footer
11194         defines and changed all instances where they are used. Added
11195         future support for double top/bottom rows.
11196
11197 2001-10-24  José Matos  <jamatos@fep.up.pt>
11198
11199         * buffer.h (docbookHandleCaption):
11200         * buffer.C (docbookHandleCaption): removed unused function.
11201         (makeDocBookFile): moved docbook supported version to v4.1.
11202
11203 2001-10-24  José Matos  <jamatos@fep.up.pt>
11204
11205         * tabular.h:
11206         * tabular.C (docbookRow): new function to export docbook code of a row.
11207         (DocBook): now honors the longtable flags.
11208
11209 2001-10-23  José Matos  <jamatos@fep.up.pt>
11210
11211         * LaTeXFeatures.h:
11212         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11213         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11214
11215         * buffer.C (makeLinuxDocFile):
11216         (makeDocBookFile): reworked the preamble, more clean, and with
11217         support for lyx defined entities. Changed the document declaration
11218         to be more XML friendly.
11219
11220         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11221         if we need to output XML that should be done with a filter.
11222
11223 2001-10-22  Juergen Vigna  <jug@sad.it>
11224
11225         * sp_pspell.h (class PSpell): add alive function needed in the
11226         controller to see if the spellchecker could be started.
11227
11228 2001-10-22  Juergen Vigna  <jug@sad.it>
11229
11230         * buffer.C (insertStringAsLines): modify the font for inserting
11231         chars in certain conditions by calling checkInsertChar(font).
11232
11233 2001-10-19  Juergen Vigna  <jug@sad.it>
11234
11235         * text.C (workWidth): use getRow instead of wrong algorithm.
11236         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11237
11238 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * lyxserver.h:
11241         * lyxserver.C:
11242         * lyx_main.h:
11243         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11244
11245 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * text.C (workWidth): do not search for the exact row when
11248         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11249         optimization for big documents.
11250
11251 2001-10-18  Juergen Vigna  <jug@sad.it>
11252
11253         * text.C (workWidth): new function with added Inset * parameter.
11254
11255 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11256
11257         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11258
11259         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11260         change return type of getColumnNearX.
11261
11262
11263         * text.C (changeRegionCase): use uppercase/lowercase instead of
11264         toupper/tolower.
11265         (leftMargin):
11266         (rightMargin): simplify code by factoring out the uses of
11267         textclasslist.
11268         (labelFill):
11269         (numberOfHfills):
11270         (setHeightOfRow):
11271         (appendParagraph): use Paragraph::size_type
11272
11273 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11274
11275         * vspace.C (asLatexString): add a missing break
11276
11277 2001-10-15  Herbert Voss  <voss@perce.de>
11278
11279         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11280
11281 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11282
11283         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11284         is not available.
11285
11286 2001-10-10  André Pönitz <poenitz@gmx.net>
11287
11288         * lyxfunc.C: removed greek_kb_flag.
11289
11290 2001-10-10  Herbert Voss  <voss@perce.de>
11291
11292         * lyx_main.C: delete global string help_lyxdir.
11293
11294 2001-10-09  Herbert Voss  <voss@perce.de>
11295
11296         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11297
11298         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11299
11300         * lyx_main.C: added global string help_lyxdir.
11301
11302         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11303
11304 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11305
11306         * lyxrc.C (set_font_norm_type): support iso8859-4
11307
11308 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11309
11310         * LaTeX.C (deplog): add another regex for MikTeX
11311
11312 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11313
11314         * lyxrc.C (set_font_norm_type): support iso8859-3
11315
11316 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11317
11318         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11319
11320         * LaTeXFeatures.C: remove special case of french and index
11321
11322         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11323         before \begin{document}). This solves several incompatibilities.
11324
11325 2001-10-03  Garst Reese  <reese@isn.net>
11326
11327         * lyx_cb.C: change CheckTex error msg.
11328
11329 2001-10-03  José Matos  <jamatos@fep.up.pt>
11330
11331         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11332
11333 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11334
11335         * .cvsignore: update
11336
11337         * lyx_main.C (commandLineVersionInfo): use new style version info.
11338
11339         * buffer.C (writeFile):
11340         (makeLaTeXFile):
11341         (makeLinuxDocFile):
11342         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11343
11344         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11345
11346         * version.h: update to use stuff in version.C
11347
11348         * version.C.in: new file. Contains version information determined
11349         at compile time. This is a merging of version.h and
11350         version_info.h.in.
11351
11352 2001-10-03  Juergen Vigna  <jug@sad.it>
11353
11354         * BufferView_pimpl.C (update): don't change "dirty" status in
11355         updateInset call.
11356
11357 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * WorkArea.C (c-tor): re-position version string slightly.
11360
11361 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11364         revert to previous code.
11365
11366         WorkArea.[Ch]: (show, destroySplash): methods removed.
11367
11368         WorkArea.C: rework code so that it's an amalgam of the codes before and
11369         after the splash screen was moved to WorkArea.
11370
11371 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * lyxrc.C (read):
11374         * vspace.C (inPixels):
11375         (lyx_advance):
11376         * kbmap.C (bind):
11377         * buffer.C (insertStringAsLines):
11378         (asciiParagraph): fix types to be large enough
11379
11380         * lyxlex_pimpl.h: change member status from short to int
11381
11382         * layout.h: fix type of endlabeltype
11383
11384         * kbmap.C (bind):
11385         * kbsequence.C (parse): change return type to string::size_type
11386
11387         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11388         variable
11389
11390         * Bullet.C (bulletSize):
11391         (bulletEntry): do not use short ints as parameters
11392
11393         * BufferView2.C (insertLyXFile): change a char to an int.
11394
11395         * WorkArea.C (WorkArea): remove unneeded floats in computation
11396
11397 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11400
11401         * paragraph.C (asString): Do not ignore newline/hfill chars when
11402         copying to the clipboard.
11403
11404 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11405
11406         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11407         after a multi-line inset.
11408
11409 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11410
11411         * paragraph.C (validate): Set NeedLyXFootnoteCode
11412
11413 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11414
11415         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11416         and decrease-error to decrease.
11417
11418 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11419
11420         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11421         it more readable (should be equivalent)
11422
11423 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11424
11425         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11426
11427 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11428
11429         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11430         of a cursor (row, etc.) after a character has been deleted
11431         (deleteEmptyParagraphMechanism): call the method above on _all_
11432         cursors held by the LyXText when a double space has been
11433         detected/deleted.
11434
11435 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11436
11437         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11438         pixmap.
11439         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11440
11441         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11442         background. Use greyOut() and the new show() methods to toggle between
11443         the foreground and background. Add code to remove the splash after
11444         its initial showing.
11445
11446         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11447         (create_forms): no longer call Dialogs::showSplash.
11448
11449 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * .cvsignore: add version_info.h
11452
11453 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * version_info.h.in: new file
11456
11457         * Makefile.am: add version_info.h.in
11458
11459         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11460         version_info.h instead of VERSION_INFO
11461
11462 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11463
11464         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11465         The ERT inset now returns string().
11466
11467 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11468
11469         * lyxtext.h, text.C (selectNextWord): renamed as
11470         selectNextWordToSpellcheck.
11471
11472         * text.C (selectNextWordToSpellcheck): Modified to not select
11473         words inside an ERT inset.
11474
11475 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11476
11477         * lyx_cb.C (MenuLayoutSave): change a bit the question
11478
11479         * sp_base.h: include <sys/types.h>
11480
11481 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11482
11483         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11484
11485 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11486
11487         * several files: fix typos in user-visible strings
11488
11489 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11490
11491         * text2.C (pasteSelection): do not set the selection, since it
11492         will be cleared later. Actually, the intent was to fix the way the
11493         selection was set, but I figured rmoving the code was just as good.
11494
11495 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11496
11497         * FontLoader.C (available): Check if font is available without
11498         loading the font.
11499
11500 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11501
11502         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11503
11504 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * lyxrc.[Ch]: added display_graphics variable and associated code.
11507
11508 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11509
11510         * bufferparams.C (hasClassDefaults): new method. Returns true if
11511         the buffer parameters correspond to known class defaults
11512
11513 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11514
11515         * XFormsView.C (show): set minimum size to the main window.
11516
11517 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11518
11519         * text2.C (copySelection):
11520         (cutSelection):
11521         * lyxfind.C (LyXReplace):
11522         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11523         LyXText::selectionAsString.
11524
11525         * paragraph.C (asString): add "label" argument to the second form
11526
11527         * text2.C (selectionAsString): add "label" argument and pass it to
11528         Paragraph::asString.
11529
11530 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11531
11532         * lyx_main.C (commandLineHelp): remove version information
11533
11534 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11535
11536         * lyx_main.C: add -version commandline option
11537
11538 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * paragraph.h: make the optional constructor arg required instead.
11541         some modifications to other files because of this.
11542
11543         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11544
11545         * lyxserver.C (C_LyXComm_callback): make it static
11546
11547         * lyx_main.C (error_handler): make it static
11548
11549         * lyx_gui.C (LyX_XErrHandler): make it static
11550
11551         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11552
11553         * WorkArea.C: make the extern "C" methods static.
11554
11555         * Makefile.am (lyx_LDADD): simplify
11556
11557 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11558
11559         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11560         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11561
11562         * LyXAction.C (init):
11563         * lyxfunc.C (dispatch): associated code removal.
11564
11565 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * lyxfont.h (isSymbolFont): shut off warning
11568
11569         * text.C (setHeightOfRow):
11570         (getVisibleRow): fix crash with empty paragraphs which have a
11571         bottom line
11572
11573 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11574
11575         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11576         code.
11577
11578 2001-09-04  José Matos  <jamatos@fep.up.pt>
11579         * buffer.C
11580         * buffer.h
11581         * tabular.C (docbook): rename docBook method to docbook.
11582
11583 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11584
11585         * Makefile.am: add dependencies to main.o.
11586
11587 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11588
11589         * FontLoader.C (available): Return false if !lyxrc.use_gui
11590
11591 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11592
11593         * FontInfo.C (query):
11594         * converter.C (view):
11595         * importer.C (Import):
11596         * exporter.C (Export): Can not -> cannot.
11597
11598 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * BufferView_pimpl.C: allow to create index inset even if
11601           string is empty
11602
11603 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11604
11605         * buffer.C (getLists): replace boost::tie code with an explicit pair
11606         as boost::tie can break some compilers.
11607
11608         * iterators.h: Added a std:: declaration to the return type of
11609         ParIterator::size.
11610
11611 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11614           case.
11615
11616 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11617
11618         * iterators.[Ch]: New files. Provide paragraph iterators.
11619
11620         * buffer.C (changeLanguage): Use paragraph iterators.
11621         (isMultiLingual): ditto
11622
11623         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11624
11625 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11626
11627         * FontLoader.C: Support for cmr font.
11628
11629 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11630
11631         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11632         (available): New method.
11633
11634         * FontInfo.C (getFontname): Use scalable fonts even when
11635         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11636         found.
11637
11638 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11639
11640         * converter.C (Formats::view): reverted! Incorrect fix.
11641
11642 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11643
11644         * converter.C (Formats::view): only output the -paper option
11645         if the dvi viewer is xdvi, thereby fixing bug #233429.
11646
11647 2001-08-23  Herbert Voss  <voss@perce>
11648
11649         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11650
11651 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * Spacing.h (Spacing): Set space to Default on in the default
11654         constructor.
11655
11656 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * vc-backend.h (RCS::versionString): add RCS to version
11659         (CVS::versionString): add CVS to version
11660
11661         * vc-backend.C (scanMaster): do not add CVS to version.
11662         (scanMaster): do not add RCS to version
11663
11664         * lyxvc.C (versionString): new method
11665
11666         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11667
11668 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * Spacing.C (set): initialize fval
11671
11672 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11673
11674         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11675         " or \.
11676
11677 2001-08-16  Juergen Vigna  <jug@sad.it>
11678
11679         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11680
11681 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView_pimpl.C:
11684         * figureForm.C:
11685         * lyxtext.h:
11686         * text2.C: setParagraph takes linespacing now
11687
11688 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * LyxAction.C: add internal LFUN_CITATION_INSERT
11691
11692         * LyXView.C: actually apply fix
11693
11694         * bufferlist.C: fix open non-existent file
11695
11696         * lyxfind.C: fix indentation
11697
11698         * lyxfunc.C: remove unneeded assert, fix typo
11699
11700 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * MenuBackend.C: use "Floatname List"
11703
11704 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11705
11706         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11707         when converting LaTeX layout to insetERT.
11708         Generate a non-collapsed float when reading old float
11709
11710 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11711
11712         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11713         ERT insets.
11714
11715 2001-08-13  Juergen Vigna  <jug@sad.it>
11716
11717         * text.C (fill): return 0 instead of 20 as this seems to be the more
11718         correct value.
11719
11720 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11721
11722         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11723         lyxrc.font_norm.
11724
11725 2001-08-13  Juergen Vigna  <jug@sad.it>
11726
11727         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11728         casesensitive off.
11729         (SearchBackward): comment out the unlocking of the inset_owner this
11730         should not be needed!
11731
11732 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11733
11734         * Many files: Remove inherit_language, and add latex_language
11735
11736         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11737         collapsible insets.
11738
11739 2001-08-10  Juergen Vigna  <jug@sad.it>
11740
11741         * text.C (prepareToPrint): fixed hfill-width in draw!
11742
11743         * BufferView2.C (selectLastWord): save the selection cursor as this
11744         now is cleared in the function LyXText::clearSelection!
11745
11746 2001-08-08  Juergen Vigna  <jug@sad.it>
11747
11748         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11749         BACKSPACE type functions.
11750
11751         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11752         is only cutted from the document but not put in the cut-buffer, where
11753         still the old stuff should be.
11754
11755         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11756
11757         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11758
11759         * tabular.C (SetWidthOfCell): fixed special case where the width
11760         was not updated!
11761         (LeftLine): handle '|' in align_special.
11762         (RightLine): ditto
11763         (LeftAlreadyDrawed): ditto
11764         (SetWidthOfCell): ditto
11765
11766 2001-08-07  Juergen Vigna  <jug@sad.it>
11767
11768         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11769
11770 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11773         * lyxlex.[hC]: ditto
11774
11775 2001-08-06  Juergen Vigna  <jug@sad.it>
11776
11777         * text.C (getVisibleRow): fix up row clearing a bit.
11778
11779 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * minibuffer.C: make sure the X server sees the changes in the input.
11782
11783 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * paragraph.C (getFont): split into...
11786         (getLabelFont): this
11787         (getLayoutFont): and this
11788         * paragraph_pimpl.C (realizeFont): calling this
11789
11790         * text2.C (getFont): split into...
11791         (getLayoutFont): this
11792         (getLabelFont): and this
11793         (realizeFont): all three calling this
11794
11795         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11796         files where used.
11797
11798 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11799
11800         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11801
11802 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11803
11804         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11805         layouts from the Quote inset insertion.
11806
11807 2001-08-03  Juergen Vigna  <jug@sad.it>
11808
11809         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11810
11811         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11812         only if status not is already CHANGED_IN_DRAW (second level).
11813
11814         * text.C (draw): don't set the need_break_row when inside an
11815         InsetText LyXText.
11816
11817 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * buffer.C (parseSingleLyXformat2Token): handle more latex
11820         conversion cases.
11821
11822         * bufferview_funcs.[hC]: change function names to
11823         begin with small char, adjust other files.
11824
11825 2001-08-02  André Pönitz <poenitz@gmx.net>
11826
11827         * lyxfunc.C:
11828         BufferView_pimpl.C: remove broken special code for math-greek
11829
11830 2001-08-02  Juergen Vigna  <jug@sad.it>
11831
11832         * BufferView_pimpl.C (update): redone this function so that we
11833         update the text again if there was a CHANGE_IN_DRAW.
11834
11835         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11836         (drawFromTo): added a new internal bool which is used by draw() and
11837         redraw() function.
11838         (general): some cursor drawing problems fixed.
11839
11840 2001-08-01  Juergen Vigna  <jug@sad.it>
11841
11842         * lyxfind.C (LyXFind): fixed
11843         (SearchForward): ditto
11844         (SearchBackward): ditto
11845
11846         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11847         spurius drawing of the cursor in the main area.
11848
11849         * text2.C (status): small fix which could lead to a segfault!
11850         (clearSelection): remove unneeded BufferView param.
11851
11852 2001-08-01  André Pönitz <poenitz@gmx.net>
11853
11854         * lyxfunc.C: small change due to changed mathed interface
11855
11856 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11857
11858         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11859
11860 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyxfunc.c: fail gracefully if file doesn't exist
11863
11864         * LyXSendto.C:
11865         * buffer.C:
11866         * lyxfunc.C:
11867         * BufferView_pimpl.C: IsDirWriteable() proto changed
11868
11869         * LyXView.C: fix updateWindowTitle() to store the last title
11870
11871 2001-07-31  Juergen Vigna  <jug@sad.it>
11872
11873         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11874         the font (wrong since using of Paragraph::highestFontInRange).
11875
11876         * paragraph.C (highestFontInRange): added a default_size parameter.
11877
11878         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11879         (setHeightOfRow): reformat
11880
11881 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11882
11883         * converter.[hC] + affected files: move to (inital-char)lowercase
11884         function names.
11885
11886         * ParagraphParameters.C (ParagraphParameters): remove commented code
11887
11888         * PainterBase.[Ch]: remove commented code
11889
11890         * LaTeXFeatures.h: add "bool floats" for float.sty
11891
11892         * LaTeXFeatures.C (LaTeXFeatures): init floats
11893         (require): handle float
11894         (getPackages): do it with floats
11895
11896 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * BufferView_pimpl.C (Dispatch): improve handling of
11899         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11900
11901         * commandtags.h: #include lyxfont.h here temporarily to avoid
11902         keybinding bug.
11903
11904         * bufferlist.h: include LString.h here.
11905
11906 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11907
11908         * text2.C (getStringToIndex): new method.
11909
11910 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11911
11912         * *: Reduced header file dependencies all over.
11913
11914 2001-07-30  Baruch Even  <baruch@lyx.org>
11915
11916         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11917
11918 2001-07-29  Baruch Even  <baruch@lyx.org>
11919
11920         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11921
11922 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * ParameterStruct.h (endif): add a default constructor to make
11925         sure that all variables is initialized.
11926
11927         * ParagraphParameters.C (ParagraphParameters): adjust
11928
11929 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11930
11931         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11932         index; also, check that there is something to index, and that it
11933         does not span over several paragraphs.
11934         (doubleClick): use WHOLE_WORD_STRICT for double click.
11935
11936         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11937
11938         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11939         scheme.
11940
11941 2001-07-26  Baruch Even  <baruch@lyx.org>
11942
11943         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11944         an InsetFig figure, backwards compatible reading of old figure code.
11945
11946 2001-07-27  Juergen Vigna  <jug@sad.it>
11947
11948         * text2.C: font.realize function adaption.
11949
11950         * text.C (draw): add a warnings lyxerr text if needed.
11951
11952         * layout.C: font.realize function adaption.
11953
11954         * language.C: add inherit_language and implement it's handlings
11955
11956         * bufferview_funcs.C (StyleReset): remove language parameter from
11957         font creation (should be language_inherit now).
11958
11959         * bufferparams.C (writeFile): handle ignore_language.
11960
11961         * paragraph.C (getFontSettings): the language has to be resolved
11962         otherwise we have problems in LyXFont!
11963
11964         * lyxfont.C (lyxWriteChanges): added document_language parameter
11965         (update): removed unneeded language parameter
11966
11967         * paragraph.C (validate): fixed wrong output of color-package when
11968         using interface colors for certain fonts in certain environments,
11969         which should not seen as that on the final output.
11970
11971 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * BufferView_pimpl.C:
11974         * Thesaurus.h:
11975         * Thesaurus.C:
11976         * Makefile.am:
11977         * commandtags.h:
11978         * LyXAction.C: add thesaurus support
11979
11980         * lyxfind.h:
11981         * lyxfind.C: add "once" parameter, for thesaurus, to not
11982           move to the next match
11983
11984 2001-07-26  Juergen Vigna  <jug@sad.it>
11985
11986         * lyxfont.C (realize): honor ignore_language too!
11987         (resolved): ditto.
11988
11989         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11990
11991         * text.C (draw): one place more for ignore_language to not draw
11992         itself!
11993
11994 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11995
11996         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11997
11998 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12001         the minipage conversion problem.
12002
12003 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12006         insert an inset.
12007
12008 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * BufferView.h: don't forward declare WorkArea
12011
12012         * BufferView.C: don't include WorkArea.h
12013
12014 2001-07-25  André Pönitz <poenitz@gmx.net>
12015
12016         * commandtags.h:
12017         * LyXAction.C:
12018         * lyxfunc.C:  new LFUN 'math-space'
12019
12020         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12021
12022 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * text2.C (toggleInset): call open/close
12025
12026 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * lyxfunc.C (dispatch): add debug for the disabled case
12029
12030         * font.C (buttonText): make similar to rectText
12031
12032         * buffer.C (readInset): comment out parsing of insetlist and
12033         insttheorem
12034
12035         * PainterBase.C (rectText): small correction
12036
12037         * BufferView_pimpl.C: comment out insettheorem and insetlist
12038         * LyXAction.C: ditto
12039         * commandtags.h: ditto
12040
12041 2001-07-24  Juergen Vigna  <jug@sad.it>
12042
12043         * text.C (draw): honor the ignore_language.
12044
12045         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12046
12047 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12048
12049         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12050         char inset.
12051
12052 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12053
12054         * lyxtext.h: remove unused (and unimplemented) methods
12055
12056 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12057
12058         * text.C (getVisibleRow): honor background color
12059
12060         * PainterBase.h:
12061         * Painter.h: remove default color argument for fillRectangle
12062
12063         * text.C (backgroundColor): new method
12064
12065 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * text.C (getVisibleRow): adjust
12068
12069         * font.[Ch] (rectText): new method, metrics
12070         (buttonText): new method, metrics
12071
12072         * PainterBase.[hC]: make rectText and buttonText always draw and take
12073         fewer paramteres.
12074
12075 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12076
12077         * ToolbarDefaults.C (read):
12078         * MenuBackend.C (read): allow escaping in all strings
12079
12080         * BufferView_pimpl.C (insertAndEditInset): new method.
12081         (Dispatch): use insertAndEditInset whenever appropriate.
12082
12083         * BufferView_pimpl.C (insertNote): removed
12084
12085         * BufferView_pimpl.C (smartQuote): new method, moved from
12086         BufferView; if an insetquote cannot be inserted, insert a '"'
12087         character instead.
12088
12089         * BufferView2.C: remove insertCorrectQuote();
12090
12091         * lyxfunc.C (getStatus): Add support for all remaingin
12092         inset-insert lfuns.
12093
12094         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12095
12096         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12097         command (necessary to pass " as parameter of self-insert.
12098
12099         * text.C (selectWordWhenUnderCursor):
12100         (selectWord): add word_location parameter
12101         (selectWordWhenUnderCursor): same + remove special code for word
12102         boundary.
12103         (selectNextWord): use kind() to guess type of insetspecialchar,
12104         not latex().
12105
12106         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12107         (insertErtContents): create ert insets as collapsed.
12108         (readInset): better compatibility code for Info inset.
12109
12110 2001-07-20  Juergen Vigna  <jug@sad.it>
12111
12112         * lyxfunc.C (dispatch): use always LyXFind now!
12113
12114         * text2.C (init): add a reinit flag so that the LyXText can be
12115         reinited instead of deleted and reallocated (used in InsetText).
12116
12117         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12118
12119         * text.C: ditto
12120
12121         * text2.C: ditto
12122
12123 2001-07-18  Juergen Vigna  <jug@sad.it>
12124
12125         * text.C (selectNextWord): handle insets inside inset by calling
12126         always the bv->text functions so that we can go up the_locking_inset!
12127
12128         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12129         in strange locations when inside an inset!
12130
12131         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12132         handling to include insets.
12133
12134         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12135
12136 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12137
12138         * LyXAction.C (init):
12139         * commandtags.h:
12140         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12141         LIGATURE_BREAK, since the name is so stupid.
12142
12143 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12146         InsetInfos.
12147
12148         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12149
12150         * sp_form.[Ch]: remove.
12151
12152         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12153
12154         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12155         InsetInfo.
12156
12157         * src/buffer.C (readInset): ditto.
12158
12159 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12160
12161         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12162         menuSeparator(), endOfSentenceDot(), ldots() and
12163         hyphenationPoint(), which are therefore removed.
12164         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12165
12166         * LyXAction.C (init):
12167         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12168
12169         * paragraph.C (getWord): removed.
12170
12171         * BufferView_pimpl.C (Dispatch): use last word or selection for
12172         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12173
12174         * lyx_main.C (queryUserLyXDir): do not ask before creating
12175         user_dir, except if it has been named explicitely.
12176
12177 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12180         a document of zero size.
12181
12182 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12185         approriately in the c-tor and in require().
12186         (getPackages): output the appropriate LaTeX for natbib support.
12187
12188         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12189         variables "use_natbib" and "use_numerical_citations" when reading the
12190         LyX file.
12191         (readInset): read the various natbib cite commands.
12192         (validate): white-space change.
12193
12194         * bufferparams.[Ch]: new variables "bool use_natbib" and
12195         "bool use_numerical_citations".
12196         (writeFile): output them in the LyX file.
12197
12198 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12199
12200         * lyxfunc.C (getStatus): add support for all the inset insertion
12201         commands.
12202
12203         * text2.C (insertInset):
12204         * paragraph.C (insetAllowed):
12205         * BufferView_pimpl.C (insertInset): update to take in account the
12206         renaming of insertInsetAllowed
12207
12208         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12209
12210         * text2.C (getInset): new method. returns inset at cursor position.
12211
12212         * BufferView_pimpl.C (Dispatch): changes because of this.
12213
12214         * LyXAction.C (init): rename open-stuff to inset-toggle.
12215
12216         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12217
12218         * text2.C (toggleInset): renamed from openStuff; use
12219         Inset::open().
12220
12221 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12222
12223         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12224
12225         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12226
12227 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12228
12229         * buffer.C (readLyXformat2): Add filename to the error dialog
12230
12231 2001-07-18  Juergen Vigna  <jug@sad.it>
12232
12233         * tabular.C (GetCellNumber): put an assert here instead of the check!
12234
12235 2001-07-17  Juergen Vigna  <jug@sad.it>
12236
12237         * BufferView_pimpl.C (toggleSelection): adapted too.
12238
12239         * text.C (selectNextWord): adapted for use with insets.
12240         (selectSelectedWord): ditto
12241
12242 2001-07-17  Juergen Vigna  <jug@sad.it>
12243
12244         * sp_spell.C (PSpell): fix initialitation order.
12245
12246 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * paragraph.C: spacing
12249
12250 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12251
12252         * sp_spell.C: repair language selection for pspell
12253
12254 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * lyxfunc.h: change more methods to begin with lower char.
12257
12258 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12259
12260         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12261         for unknown layouts.
12262
12263 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12264
12265         * buffer.C (readLyXformat2): Generate an error dialog if there are
12266         unknown layouts.
12267
12268 2001-07-16  Juergen Vigna  <jug@sad.it>
12269
12270         * sp_spell.C: always compile ISpell part.
12271
12272         * lyxrc.C: added use_pspell entry and it's handling.
12273
12274 2001-07-13  Juergen Vigna  <jug@sad.it>
12275
12276         * sp_spell.C: removed double includes.
12277
12278 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         Consistent use of Lsstream.h:
12281         * Lsstream.h: added using std::stringstream for consistencies sake.
12282
12283         * buffer.C: removed using std::stringstream
12284
12285         * lyxfont.C (stateText):
12286         * paragraph.C (asString):
12287         * text.C (selectNextWord, selectSelectedWord):
12288         * text2.C (setCounter):
12289         * vspace.C (asString, asLatexString):
12290         std::ostringstream -> ostringstream.
12291
12292 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12293
12294         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12295         * commandtags.h: add LFUN_HELP_ABOUTLYX
12296         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12297
12298 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12299
12300         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12301         cursorToggle()
12302         * lyx_gui_misc.C: remove spellchecker
12303         * lyxfunc.C: showSpellchecker
12304         * sp_base.h: added
12305         * sp_ispell.h: added
12306         * sp_pspell.h: added
12307         * sp_spell.C: added
12308         * sp_form.[Ch]: removed
12309         * spellchecker.[Ch]: removed
12310
12311 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12312
12313         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12314         is set.
12315         (simpleTeXSpecialChars): Simply print the input character without
12316         any special translation if pass_thru is set.
12317
12318         * layout.h: Added bool pass_thru to layout class for being able to
12319         implement pass through of a paragraph for Literate Programming.
12320
12321         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12322         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12323         * layout.C (Read): add "passthru" to list of layout tags and add
12324         code to set the pass_thru boolean when it is read.
12325
12326 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * trans_decl.h: remove allowed from KmodInfo
12329
12330         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12331         remove allowed code
12332         (Load): adjust
12333
12334         * paragraph_pimpl.C (erase): use boost::prior
12335
12336         * Painter.C (text): use data() instead of c_str() when length is
12337         also provided.
12338         * WorkArea.C (putClipboard): ditto
12339         * font.h (width): ditto
12340
12341         * BufferView2.C: use it-> instead of (*it). for iterators
12342         * texrow.C: ditto
12343         * paragraph_pimpl.C: ditto
12344         * paragraph.C: ditto
12345         * minibuffer.C: ditto
12346         * language.C: ditto
12347         * kbmap.C: ditto
12348         * encoding.C: ditto
12349         * counters.C: ditto
12350         * converter.C: ditto
12351         * chset.C: ditto
12352         * Variables.C: ditto
12353         * TextCache.C: ditto
12354         * MenuBackend.C: ditto
12355         * LyXAction.C: ditto
12356         * LColor.C: ditto
12357         * FloatList.C: ditto
12358         * DepTable.C: ditto
12359         * ColorHandler.C (LyXColorHandler): ditto
12360
12361 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12364
12365         * text2.C (openStuff): reintroduce this method (which had been
12366         nuked in NEW_INSETS frenzy).
12367
12368         * lyxfunc.C (Dispatch): when an action has not been handled, use
12369         its name in the error message, not its number.
12370
12371         * paragraph.C (inInset): change method name to begin with lowercase.
12372
12373         * undo_funcs.C:
12374         * text2.C: updates because of this.
12375
12376 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * ToolbarDefaults.C (add): add spaces in error message
12379
12380 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12383         (readLyXformat2): rename return_par to first_par, use lyxlex's
12384         pushToken and remove the manual push handling.
12385         (parseSingleLyXformat2Token): add another ert comp. variable:
12386         in_tabular, rename return_par to first_par. handle newlines better
12387
12388 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12389
12390         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12391
12392 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * text2.C (getParFromID): removed
12395
12396         * buffer.C (getParFromID): new method moved form lyxtext.
12397         * BufferView2.C (insertErrors): adjust
12398         (setCursorFromRow): adjust
12399         * BufferView_pimpl.C (restorePosition): adjust
12400         * lyxfunc.C (Dispatch): adjust
12401         * undo_funcs.C (textUndo): adjust
12402         (textRedo): adjust
12403         (textHandleUndo): adjust
12404         (textHandleUndo): adjust
12405
12406 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * buffer.C: up' the LYX_FORMAT
12409
12410         * lyxfont.h: turn NO_LATEX on as default
12411
12412         * buffer.C (insertErtContents): new methods of tex style compability.
12413         (parseSingleLyXformat2Token): use it several places.
12414         * tabular.C (OldFormatRead): and here
12415
12416 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * text2.C: remove some commented code.
12419         reindent file.
12420
12421         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12422         * trans.C: changes because of the above.
12423
12424 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12425
12426         * text2.C (setCounter): Fix counters bug with bibliography layout.
12427
12428 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12429
12430         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12431         own member functions
12432         (simpleTeXSpecialChars): ditto
12433
12434 2001-07-06  Juergen Vigna  <jug@sad.it>
12435
12436         * a lot of files: changed the access to LyXText::status and the
12437         call of undo-functions.
12438
12439         * undo.[Ch]: added a inset_id to the undo informations.
12440
12441         * undo_funcs.[Ch]: added and moved here all undo functions.
12442
12443         * lyxtext.h: give the status enum a weight, made status_ a private
12444         variable and made accessor functions for it, removed the whole bunch
12445         of undo-functions as they are now in their own file, make some
12446         functions publically available. Added function ownerParagraph with
12447         int parameter.
12448
12449         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12450         made InInset() a const function, added getParFromID() function.
12451
12452         * buffer.[Ch]: added const version for inset_iterator functions,
12453         added getInsetFromID() function.
12454
12455         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12456         changed undo functions for new version.
12457
12458 2001-07-05  Juergen Vigna  <jug@sad.it>
12459
12460         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12461         unknow mechanism does not call the proper constructor but only this
12462         one also if I request the other!?
12463
12464 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12467
12468         * text2.C (LyXText): use initialization lists.
12469
12470         * lyxtext.h (Selection): initialize set_ and mark_
12471         (init): remove method
12472
12473 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12474
12475         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12476
12477 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * screen.[Ch]: change method names to begin with lowercase
12480
12481         * BufferView_pimpl.C (updateScrollbar): simplify further and
12482         hopefully make it a bit faster.
12483
12484 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12485
12486         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12487         calling directly xforms functions.
12488
12489         * Painter.C (Painter):
12490         * lyx_cb.C (MenuWrite):
12491         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12492         fl_display.
12493
12494         * lyx_gui.C: remove bogus guiruntime extern declaration.
12495
12496 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12499         in NEW_INSETS
12500         (redoDrawingOfParagraph): ditto
12501         (redoParagraphs): ditto
12502         (cutSelection): don't create a object for CutAndPaste use the
12503         static method directly
12504         (pasteSelection): ditto
12505
12506         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12507         LyXview (+ rename)
12508
12509 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12510
12511         * modifications to some other files because of this.
12512
12513         * Makefile.am (lyx_SOURCES): add XFormsView
12514
12515         * XFormsView.[Ch]: new files
12516
12517         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12518         the main window. Move the gui dependent stuff to XFormsView
12519
12520 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12521
12522         * tabular.C (GetCellInset): update cur_cell also in the row/col
12523         version of this function.
12524
12525         * lyxfunc.C: no need to include figure_form.h here.
12526
12527         * FontLoader.h:
12528         * lyxfunc.h:
12529         * lyxscreen.h:
12530         * text2.C:
12531         * lyxvc.C: no need to include forms.h here.
12532
12533 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12536
12537         * lyxfunc.C (Dispatch):
12538         * Spacing.C (set):
12539         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12540         constructor argument.
12541
12542 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * paragraph.C (Paragraph): dont't clear, and just set layout.
12545         (makeSameLayout): use params's copy contructor.
12546
12547         * ParagraphParameters.[Ch] (makeSame): delete method
12548
12549 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * Variables.[Ch]: fix indentation, rename set to isSet
12552
12553 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * lyxfunc.C (Dispatch): fix typo
12556
12557 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12560         upper_bound.
12561
12562         * bufferlist.C: include assert.h for emergencyWrite().
12563
12564 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12567           give up at last (bug #425202) !
12568
12569 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * lyx_gui_misc.C:
12572         * sp_form.h:
12573         * sp_form.C:
12574         * spellchecker.h:
12575         * spellchecker.C: strip spellchecker options and bring up
12576           preferences tab instead
12577
12578 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12579
12580         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12581         the istringstream constructor
12582
12583 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12584
12585         * paragraph.C (getLayout): fix return value
12586
12587         * paragraph.h: do not declare getLayout as inline.
12588
12589         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12590
12591 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * lyxcursor.h (operator<): new func
12594         (operator>): new func
12595         (operator>=): new func
12596         (operator<=): new func
12597
12598         * text.C (changeCase): use selection.start and selection.end
12599         (changeRegionCase): require from to be <= to. Require par to be a
12600         valid paragraph.
12601
12602         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12603
12604 2001-06-27  Juergen Vigna  <jug@sad.it>
12605
12606         * text.C (cursorLeftOneWord): changed to return the cursor and added
12607         overlay with BufferView * parameter which calls this one.
12608         (getWord): added
12609         (selectWord): use new getWord function.
12610         (changeCase): renamed from changeWordCase as and extended to work
12611         also on selections.
12612
12613         * lyxtext.h: added enum word_location
12614
12615         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12616         changeCase as this operates now also on selections.
12617
12618 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12619
12620         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12621
12622         * many files: send debug output to Debug::INFO instead of
12623         Debug::ANY.
12624
12625         * converter.C (View):
12626         (Convert):
12627         (Move): send debug output to Debug::FILES instead of console.
12628
12629 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12630
12631         * lyxfunc.C (getStatus): use func_status
12632
12633         * func_status.h: new header, describing the results of
12634         LyXFunc::getStatus;
12635
12636         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12637         LFUN_MATH_HALIGN.
12638
12639 2001-06-25  The LyX Project  <jug@sad.it>
12640
12641         * buffer.C (sgmlOpenTag):
12642         (sgmlCloseTag):
12643         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12644
12645 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * text2.C: remove some dead code
12648
12649         * tabular.C (GetCellInset): store the last cell checked (gotten)
12650
12651         * tabular.h: add the helper for the speedup
12652
12653         * lyxtext.h: remove some dead code
12654
12655 2001-06-26  The LyX Project  <Asger>
12656
12657         * paragraph.C: Change export to LaTeX of alignment to
12658         \begin{center} and family for better roundtrip work with reLyX.
12659
12660         * Tune the math drawing a bit.
12661
12662 2001-06-25  The LyX Project  <Asger>
12663
12664         * LColor.C (LColor): New color for math background. New color
12665         for buttons.
12666
12667 2001-06-25  The LyX Project  <jug@sad.it>
12668
12669         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12670
12671         * lyxfunc.C (Open):
12672         * bufferlist.C (newFile): do not restrict to files ending with
12673         .lyx
12674
12675         * BufferView_pimpl.C (MenuInsertLyXFile):
12676
12677 2001-06-24  The LyX Project  <jug@sad.it>
12678
12679         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12680         of compare_no_case
12681
12682 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * lyxtext.h: rename most methods to begin with a small char.
12685         Lots of changes because of this.
12686
12687         * paragraph.C (Paragraph): do not call fitToSize
12688         (erase): call Pimpl::erase
12689         (insertChar): call Pimpl::insertChar
12690         (insertInset): call Pipl::insertInset
12691         (breakParagraph): do not call fitToSize
12692         (breakParagraphConservative): do not call fitToSize
12693         (fitToSize): remove method
12694
12695         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12696
12697 2001-06-24  The LyX Project  <Asger>
12698
12699         * Fix Qt compilation^2
12700
12701 2001-06-24  The LyX Project  <jug@sad.it>
12702
12703         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12704         depthHook(getDepth()-1).
12705
12706         * paragraph.h:
12707         * ParagraphParameters.h:
12708         * ParameterStruct.h: change type of depth to unsigned int ==
12709         depth_type. Many adaptations to other files before of that.
12710
12711 2001-06-24  The LyX Project  <Asger>
12712
12713         * Fix Qt compilation.
12714
12715 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * paragraph.h: renamed several methods to begin with small letter.
12718         several changes to many parts of the code because of this.
12719
12720 2001-06-23  The LyX Project  <jug@sad.it>
12721
12722         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12723         rewritten to discard all double spaces when KeepEmpty is off
12724         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12725         to only handle newlines but not fiddle with spaces and friends.
12726
12727         * lyxfunc.C (MenuNew): when doing 'new from template', use
12728         template_path as default directory
12729
12730 2001-06-23  The LyX Project  <Asger>
12731
12732         * Clean-up of header file includes all over
12733         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12734
12735 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * paragraph.h: renamed from lyxparagraph.h
12738
12739 2001-06-23  Asger  <lyx@violet.home.sad.it>
12740
12741         * Buffer.h: Removed Buffer::resize
12742         * BufferList.h: Removed BufferList::resize
12743         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12744         the document lazily when we change the width, or the font settings.
12745
12746 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12749
12750 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * buffer.h: remove out of date comment
12753
12754 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * lyxscreen.h:
12757         * screen.C: fix "theoretical" GC leak
12758
12759 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * LaTeX.C (scanAuxFile):
12762         (deplog): remove trailing \r when reading stream (useful under
12763         win32)
12764
12765 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12766
12767         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12768         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12769         and BufferView::theLockingInset(Inset*), so should use them and not
12770         access bv_->text->the_locking_inset directly.
12771
12772         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12773
12774 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12775
12776         * Makefile.am:
12777         * tex-defs.h: remove old unused file
12778
12779 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * BufferView_pimpl.C: fix typo, remove minibuffer message
12782           when buffer has loaded
12783
12784 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * lyxfunc.C (Dispatch): use stringstream
12787         (MenuNew): use stringstream
12788         (Open): use stringstream
12789
12790         * importer.C (Import): use stringstream
12791
12792         * bufferview_funcs.C (CurrentState): use stringstream
12793
12794         * LaTeX.C (run): use stringstream
12795
12796         * BufferView_pimpl.C (savePosition): use stringstream
12797         (restorePosition): use stringstream
12798         (MenuInsertLyXFile): use stringstream
12799
12800 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * BufferView.C:
12803         * Bullet.C:
12804         * ColorHandler.C:
12805         * FontInfo.C:
12806         * FontLoader.C:
12807         * LColor.C:
12808         * LaTeXFeatures.C:
12809         * Painter.C:
12810         * gettext.C:
12811         * lyx_gui_misc.C:
12812         * lyxserver.C:
12813         * vspace.C: removed // -*- C++ -*- as first line.
12814
12815         * lyxfind.h:
12816         * version.h: added // -*- C++ -*- as first line.
12817
12818 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12821
12822         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12823         of string
12824
12825 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12828         of floats.
12829
12830 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * gettext.C: include LString.h even when --disable-nls is on.
12833
12834 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * converter.h (Get): changed argument type from int to
12837         FormatList::size_type to avoid unnecessary conversion.
12838
12839         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12840         before using it.
12841
12842 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * gettext.h: include LString.h even when --disable-nls is on.
12845
12846 2001-06-07  Juergen Vigna  <jug@sad.it>
12847
12848         * text.C (BreakAgain): subst spaces with tabs.
12849
12850         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12851         (resizeInsetsLyXText): set force on resizeLyXText.
12852
12853 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * gettext.h (gettext_init):
12856         (locale_init): use a real definition instead of a macro
12857
12858 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * Bufferview_pimpl.C:
12861         * LColor.h:
12862         * LColor.C: further lcolor tidies
12863
12864 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * BufferView_pimpl.C (updateScrollbar): simplify.
12867
12868         * BufferView2.C: don't include insets/insetinfo.h, change
12869         prototype for insertInset and call the Pimpl version. let
12870         updateInset call Pimpl version.
12871
12872         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12873         gotoInset to BufferView::Pimpl
12874
12875 2001-06-01  Juergen Vigna  <jug@sad.it>
12876
12877         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12878         inside a LockingInset (is the update needed at all?).
12879
12880 2001-05-31  Juergen Vigna  <jug@sad.it>
12881
12882         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12883         here not the old one otherwise how should we compare it afterwards
12884         if it's the same!
12885
12886 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12887
12888         * lyxfont.C:
12889         * tabular.C:
12890         * tabular-old.C:
12891         * FontInfo.C: bring C functions into global namespace when
12892         necessary
12893
12894 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * LString.h: make sure config.h has been loaded before LString.h.
12897
12898         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12899         (one for each char read by EatLine!).
12900
12901         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12902         variables.
12903
12904 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12907         to the same as the par we break from
12908
12909 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12912
12913         * MenuBackend.C (expand): also create menu entries for wide
12914         versions of the floats.
12915
12916         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12917
12918         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12919
12920         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12921         frontends/Makefile.am
12922
12923         * text2.C: adjust
12924         * text.C: adjust
12925
12926
12927         * tabular.C (getTokenValue): add std::
12928
12929         * tabular-old.C (getTokenValue): add std::
12930         (getTokenValue): ditto
12931         (getTokenValue): ditto
12932
12933         * screen.C (ToggleSelection): adjust
12934
12935         * lyxtext.h: put selection cursors inside a Selection struct.
12936
12937         * lyxfunc.C (moveCursorUpdate): adjust
12938
12939         * lyxfont.C (latexWriteStartChanges): add std::
12940
12941         * lyxfind.C: adjust
12942
12943         * font.h: delete with(char const *, LyXFont const &)
12944
12945         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12946
12947         * FontInfo.C (getFontname): add std::
12948
12949         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12950         (workAreaButtonPress): adjust
12951         (tripleClick): adjust
12952         (update): adjust
12953         (moveCursorUpdate): adjust
12954         (Dispatch): adjust
12955
12956         * BufferView2.C (gotoInset): adjust
12957
12958 2001-05-30  Juergen Vigna  <jug@sad.it>
12959
12960         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12961         to check pspell I add this as default as I now have new pspell
12962         libraries and they seem to use this.
12963
12964 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * text2.C (CutSelection): make the cursor valid before the call to
12967         ClearSelection.
12968
12969 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12970
12971         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12972         relied on 0 terminated strings and other horrors. Bug found due to
12973         the new assert in lyxstring!
12974
12975         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12976         KP_ keys.
12977
12978 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12981         to latinkeys.bind.
12982
12983         * lyxfunc.C (processKeySym): change method of getting to the
12984         self-insert char.
12985
12986         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12987         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12988         * BufferView_pimpl.[Ch]: here as private methods.
12989
12990 2001-05-28  Juergen Vigna  <jug@sad.it>
12991
12992         * text.C (SetHeightOfRow): added the update() call again as it is
12993         needed to initialize inset dimensions!
12994
12995 2001-05-16  Juergen Vigna  <jug@sad.it>
12996
12997         * text2.C (SetCharFont): Add new function with BufferView * and
12998         bool toggleall parameters for setting insets internal fonts.
12999         (SetFont): Freeze the undo as we may change fonts in Insets and
13000         all this change should be inside only one Undo!
13001
13002         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13003         setting font's in insets as for them we have the SetFont function!
13004
13005 2001-05-15  Juergen Vigna  <jug@sad.it>
13006
13007         * text2.C (ClearSelection): to be sure we REALLY don't have any
13008         selection anymore!
13009
13010         * tabular.C (TeXCellPreamble): fixed the left border problem for
13011         multicolumn cells.
13012
13013 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13014
13015         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13016         dependancy file
13017
13018 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13021         LFUN_BREAKPARAGRAPH.
13022
13023         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13024         help test to "internal only", similar for LFUN_INSERT_URL
13025
13026         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13027         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13028         auto_region_delete and deadkeys.
13029
13030 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13031
13032         * LColor.h:
13033         * LColor.C: remove some dead entries, tidy a little
13034
13035 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13038         commented code.
13039         (Dispatch): implement LFUN_ESCAPE
13040
13041         * commandtags.h: add LFUN_ESCAPE
13042
13043         * LyXAction.C (init): add entry for LFUN_ESCAPE
13044
13045         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13046         Remove commented code.
13047         (insertNote): moved here
13048         (open_new_inset): moved here
13049
13050         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13051         BufferView_pimpl
13052
13053 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * kbmap.C (findbinding): clean it up and make it work correctly.
13056
13057         * lyx_main.C (init): do not pass argc and argv as parameters
13058
13059 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13060
13061         * buffer.C: fix path for OS/2 & Win32
13062
13063         * lyx_gui.C:
13064         * lyx_main:
13065         * lyx_main.C: Added os:: class.
13066
13067         * os2_defines.h: update
13068
13069 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13072         better by trying again with reduced state.
13073
13074 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * lyxrc.C (read): print error about invalid key sequence only when
13077         debugging (because not all latinX keysyms are known to some X
13078         servers)
13079
13080         * kbsequence.C (getiso): add a few std:: qualifiers
13081         (getiso): comment out extra return statement.
13082
13083 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13086         handling.
13087         (Dispatch): enhance the accent inset a bit. (not perfect)
13088
13089 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13092
13093 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * bufferlist.C (emergencyWrite): fix assert() call
13096
13097 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13098
13099         * text.C (InsertChar): Added trivial patch to only send the "you
13100         can not do multiple spaces this way" message once during a
13101         session.
13102
13103 2001-05-08  Baruch Even  <baruch@lyx.org>
13104
13105         * Makefile.am: Changed order of libraries to get LyX to link properly
13106         with the gnome frontend.
13107
13108 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * LaTeXFeatures.h: add a std:: qualifier
13111
13112 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13113
13114         * paragraph.C (String): use stringstream
13115
13116 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * paragraph.C (writeFile): remove footflag arg
13119
13120         * buffer.C (makeLaTeXFile): use stringstream
13121         (latexParagraphs): remove footnot gurba
13122
13123         * LaTeXFeatures.C (getPackages): use stringstream
13124         (getMacros): likewise
13125         (getTClassPreamble): likewise
13126         (getFloatDefinitions): new method
13127
13128         * paragraph.C (writeFile): reindent
13129         (Erase): reindent
13130
13131         * WorkArea.h: revert the xpos + etc changes.
13132
13133         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13134
13135         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13136
13137         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13138         (pasteSelection): likewise
13139         * text2.C (CreateUndo): likewise
13140
13141 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * minibuffer.C (peek_event): temporarily reduce the functionality
13144         of the minibuffer (to allow args on lfuns)
13145
13146         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13147         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13148
13149         * buffer.C (readInset): add compability reading of old float
13150         lists, add reading of new style float list.
13151         (readInset): avoid reevaluation of inscmd.getCmdName()
13152         (getLists): reindent
13153
13154         * MenuBackend.C (MenuItem): implement parsing of
13155         md_floatlistinsert and md_floatinsert.
13156         (expand::LastFiles): move initalizaton of iterators out of loop,
13157         avoid reevaluation.
13158         (expand::Documents): introduce typdedef vector<string> Strings,
13159         and use it.
13160         (expand::ExportFormats): introduce typedef vector<Format const *>
13161         Formats, and use it.
13162         (expand): implement FloatListInsert and FloatInsert.
13163
13164         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13165         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13166         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13167
13168         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13169         handling.
13170         (Dispatch::LFUN_FLOAT_LIST): implement
13171
13172 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13173
13174         * LaTeX.C (run): Fix problem with --export code.
13175
13176 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13177
13178         * BufferView.[Ch] (workarea): removed.
13179         (getClipboard) new method; wrapper for workarea()->getClipboard()
13180
13181         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13182         bug.
13183
13184         * WorkArea.h (width, height, xpos, ypos): These methods all
13185         returned the dimensions of the work_area sub-area of WorkArea,
13186         resulting in a position error if the WorkArea were resized. Now
13187         return the dimensions of the entire WorkArea.
13188
13189         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13190
13191 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13192
13193         * LaTeX.C (deplog): correct the syntax of regex reg1
13194
13195 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * undo.C: remove !NEW_INSETS cruft
13198
13199 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * text2.C: remove !NEW_INSETS cruft
13202
13203         * text.C: remove !NEW_INSETS cruft
13204
13205         * tabular.C: remove !NEW_INSETS cruft
13206
13207         * spellchecker.C: remove !NEW_INSETS cruft
13208
13209         * lyxtext.h: remove !NEW_INSETS cruft
13210
13211         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13212
13213         * lyxfunc.C: remove !NEW_INSETS cruft
13214
13215         * lyxfind.C: remove !NEW_INSETS cruft
13216
13217         * lyx_cb.C: remove !NEW_INSETS cruft
13218
13219         * figureForm.C: remove  !NEW_INSETS cruft
13220
13221         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13222
13223         * buffer.[Ch]: remove !NEW_INSETS cruft
13224
13225         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13226
13227         * CutAndPaste.C: remove !NEW_INSETS cruft
13228
13229         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13230
13231         * BufferView2.C: remove !NEW_INSETS cruft
13232
13233         * BufferView.h: remove !NEW_INSETS cruft
13234
13235 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * Lsstream.h: include LString.h before the sstream headers to
13238         fix problem with gcc 2.95.3 and lyxstring
13239
13240 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * lyx_main.C: add using directives when needed for C functions
13243         declared in std:: namespace.
13244
13245 2001-04-27  Juergen Vigna  <jug@sad.it>
13246
13247         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13248         (SetHeightOfRow): comment out the update call should not be needed!
13249
13250 2001-04-13  Juergen Vigna  <jug@sad.it>
13251
13252         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13253         (LyXTabular): tried to minimize operator= operations (and realized
13254         hopfully Lars wish).
13255
13256 2001-04-27  Juergen Vigna  <jug@sad.it>
13257
13258         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13259
13260 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13263
13264         * buffer.C (readInset): hack to make listof algorithm work
13265
13266         * BufferView_pimpl.C: hack to make listof algorithm work
13267
13268 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * LyXAction.C: removed all !NEW_INSETS cruft
13271         (init): moved lfun_item in method
13272
13273         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13274
13275 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13276
13277         * BufferView2.C (theLockingInset): white space.
13278
13279 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * minibuffer.C: include <iostream>
13282
13283         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13284
13285         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13286
13287         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13288
13289         * text.[Ch] (TransposeChars): new method
13290
13291 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * call message directly through LyXView instead of through LyXFunc
13294         * BufferView2.C: adjust
13295         * BufferView_pimpl.C: adjust
13296         * FontLoader.C: adjust
13297         * buffer.C: adjust
13298         * bufferview_funcs.C: adjust
13299         * converter.C: adjust
13300         * figureForm.C: adjust
13301         * importer.C: adjust
13302         * lyx_cb.C: adjust
13303         * lyx_gui_misc.C: adjust
13304         * lyxfunc.C: adjust
13305         * lyxvc.C: adjust
13306         * text2.C: adjust
13307         + more files in subdirs
13308
13309         * lyxparagraph.h (size): move up int file
13310         (GetLayout): ditto
13311
13312         * adjust all uses of Assert to lyx::Assert.
13313
13314         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13315         lyxfunctional in namespace lyx
13316         * layout.C (hasLayout): ditto
13317         (GetLayout): ditto
13318         (GetLayout): ditto
13319         (delete_layout): ditto
13320         (NumberOfClass): ditto
13321         * converter.C (GetFormat): ditto
13322         (GetNumber): ditto
13323         (Add): ditto
13324         (Delete): ditto
13325         (SetViewer): ditto
13326         * bufferlist.C (getFileNames): ditto
13327         (emergencyWriteAll): ditto
13328         (exists): ditto
13329         (getBuffer): ditto
13330         * MenuBackend.C (hasSubmenu): ditto
13331         (hasMenu): ditto
13332         (getMenu): ditto
13333         * BufferView_pimpl.C (getInsetByCode): ditto
13334
13335 2001-04-18  Juergen Vigna  <jug@sad.it>
13336
13337         * vspace.C (asLatexString): fixed the 100% problem.
13338
13339 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * lyxfunc.C (Dispatch):
13342         * minibuffer.C:
13343         * minibuffer.h: add a few std:: qualifiers
13344
13345 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * minibuffer.[Ch]: reimplement so that commands is initiated and
13348         run from lyxfunc, simplified som handling, and made the completion
13349         and history code for complete. wip.
13350
13351         * lyxfunc.C (processKeySym): call message
13352         (miniDispatch): new temporary method
13353         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13354         (LFUN_MESSAGE): implement
13355         (LFUN_MESSAGE_PUSH): implement
13356         (LFUN_MESSAGE_POP): implement
13357         (initMiniBuffer): the initial/defualt minibuffer message.
13358
13359         * lyxfont.[Ch]: inline some more getters
13360
13361         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13362
13363         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13364
13365         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13366         (AutoSave): use LFUN_MESSAGE
13367         (Reconfigure): ditto
13368
13369         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13370
13371         * figureForm.C: use LFUN_MESSAGE
13372
13373         * converter.C (runLaTeX): use LFUN_MESSAGE
13374
13375         * bufferview_funcs.C: use LFUN_MESSAGE
13376         (Melt): ditto
13377         (changeDepth): ditto
13378
13379         * bufferparams.h: use boost::
13380
13381         * bufferlist.h: inherit privately from noncopyable
13382
13383         * bufferlist.C (loadLyXFile): remove some commented code.
13384
13385         * buffer.C (runChktex): use LFUN_MESSAGE
13386
13387         * ShareContainer.h: inherit privately from noncopyable
13388
13389         * ParagraphParameters.[hC] (depth): inline it.
13390
13391         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13392         methods.
13393         (message): new method
13394         (messagePush): ditto
13395         (messagePop): ditto
13396         (show): init minibuffer
13397         (showState): direct call
13398
13399         * LaTeX.[Ch]: inherit privately from noncopyable
13400         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13401         instead of WriteStatus.
13402
13403         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13404
13405         * BufferView_pimpl.C (buffer): don't init minibuffer
13406         (workAreaButtonPress): use LFUN_MESSAGE
13407         (workAreaButtonRelease): ditto
13408         (savePosition): ditto
13409         (restorePosition): ditto
13410         (MenuInsertLyXFile): ditto
13411         (workAreaExpose): don't init minibuffer
13412         (update): remove commented code, simplify
13413
13414         * BufferView2.C (openStuff): use LFUN_MESSAGE
13415         (toggleFloat): ditto
13416         (menuUndo): ditto
13417         (menuRedo): ditto
13418         (copyEnvironment): ditto
13419         (pasteEnvironment): ditto
13420         (copy): ditto
13421         (cut): ditto
13422         (paste): ditto
13423         (gotoInset): ditto
13424         (updateInset): remove some commented code
13425
13426         * lastfiles.h: inherit privately from noncopyable
13427         * layout.h: ditto
13428         * lyx_gui.h: ditto
13429         * lyx_main.h: ditto
13430         * lyxlex.h: ditto
13431         * lyxlex_pimpl.h: ditto
13432
13433         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13434         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13435         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13436
13437         * LyXAction.h: inherit privately from noncopyable, add methods
13438         func_begin, func_end, returning iterators to the func map.
13439
13440         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13441         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13442         (func_begin): new method
13443         (func_end): new method
13444
13445         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13446         and not)
13447         (copySelection): ditto
13448         (pasteSelection): ditto
13449
13450         * BufferView.C: whitespace change
13451         * BufferView.h: inherit privately from noncopyable
13452
13453 2001-04-16  Allan Rae  <rae@lyx.org>
13454
13455         * tabular-old.C (l_getline):
13456         * spellchecker.C (sc_check_word):
13457         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13458         an unrecognised preprocessor directive.  So ensure they're wrapped.
13459
13460 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * src/exporter.C (Export): Give an error message when path to file
13463         contains spaces.
13464
13465 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * LaTeX.C (deplog): Always check that foundfile exists.
13468
13469 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * lyx_main.h:
13472         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13473
13474 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * tabular.[Ch] (getLabelList): implement new method
13477
13478         * minibuffer.h: comment ouf setTiimer
13479
13480         * minibuffer.C (ExecutingCB): constify res
13481         (peek_event): constify s
13482         (Set): constify ntext
13483         (Init): constify nicename
13484
13485         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13486
13487         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13488         (savePosition): use two params to Minibuffer::Set
13489         (restorePosition): ditto
13490
13491 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * lyx_main.C: include language.h
13494
13495         * Makefile.am (lyx_main.o): add language.h
13496
13497 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * exporter.C:
13500         * paragraph.C:
13501         * screen.C:
13502         * tabular.C:
13503         * CutAndPaste.C: include gettext.h
13504
13505         * lyxfont.h: remove old hack with ON and OFF.
13506
13507         * lyxparagraph.h:
13508         * lyxfont.h: do not include language.h...
13509
13510         * BufferView2.C:
13511         * LaTeXFeatures.C:
13512         * Painter.C:
13513         * bufferview_funcs.C:
13514         * font.C:
13515         * lyxfont.C:
13516         * text.C:
13517         * text2.C:
13518         * trans_mgr.C:
13519         * paragraph.C: ... but do it here instead
13520
13521 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13524
13525         * tabular.C: small reformat
13526
13527         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13528         NEW_INSETS version
13529         (GetChar): ditto
13530         (BreakParagraph): ditto
13531         (SetOnlyLayout): ditto
13532         (SetLayout): ditto
13533
13534         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13535         with one arg less.
13536
13537         * lastfiles.C: removed most using decl, add std:: where needed
13538
13539         * buffer.C: ws changes
13540
13541         * MenuBackend.C (class compare_format): put into anon namespace
13542         (expand): constify label, names, action, action2
13543         (expand):
13544
13545         * text.C (SingleWidth): constify font
13546         (IsBoundary): constify rtl2
13547         (GetVisibleRow): constify ww
13548
13549         * LaTeX.C (deplog): constify logfile
13550
13551         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13552         start_x, end_x
13553         (workAreaExpose): constify widthChange, heightChange
13554
13555         * lyxrow.C (par): moved
13556         (height): moved
13557         (next): moved
13558         * lyxrow.h: as inlines here
13559
13560         * lyxfont.h (shape): moved from lyxfont.C
13561         (emph): moved from lyxfont.C
13562
13563         * lyxfont.C (LyXFont): use initialization list for all
13564         constructors
13565         (shape): move to lyxfont.h as inline
13566         (emph): move to lyxfont.h as inline
13567
13568
13569 2001-04-04  Juergen Vigna  <jug@sad.it>
13570
13571         * vspace.C: had to include stdio.h for use of sscanf
13572
13573 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * BufferView.h:
13576         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13577         independent of xforms.
13578
13579 2001-04-02  Juergen Vigna  <jug@sad.it>
13580
13581         * spellchecker.C: fixed namespace placing!
13582
13583 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13586         the LyXParagraph * is 0.
13587
13588 2001-03-29  Juergen Vigna  <jug@sad.it>
13589
13590         * vspace.C: added support for %, c%, p%, l%.
13591         (stringFromUnit): added helper function.
13592         (asLatexString): changed to give right results for the %-values.
13593
13594         * buffer.C: convert the widthp in a width%.
13595
13596 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13599         figureForm.[Ch].
13600
13601         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13602         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13603
13604         * lyx_cb.[Ch]: see above.
13605
13606         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13607         form1.[Ch].
13608
13609         * form1.[Ch]:
13610         * lyx.[Ch]: replaced by figure_form.[Ch].
13611
13612         * lyx_gui.C:
13613         * lyx_gui_misc.C:
13614         * lyxfunc.C: changed headers associated with above changes.
13615
13616 2001-03-27  Juergen Vigna  <jug@sad.it>
13617
13618         * BufferView_pimpl.C: set the temporary cursor right!
13619
13620 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13623
13624 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * LString.h: removed "using std::getline"!
13627
13628         * BufferView_pimpl.C (Dispatch): changes due to changes in
13629         InsetInclude::Params.
13630
13631         * buffer.C (tag_name): removed redundant break statements as they were
13632         producing lots of warnings with my compiler.
13633
13634 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * LString.h: add "using std::getline" when using the real <string>.
13637
13638 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13639
13640         * buffer.C: removed bitset usage.
13641         PAR_TAG moved to an anonymous name space.
13642         (tag_name): new funtion, also in the anonymous namespace.
13643         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13644         (makeDocBookFile): clean code. Completed transition from string arrays
13645         to string vectors.
13646         (SimpleDocBookOnePar): code clean.
13647
13648 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13649
13650         * tabular.C: add some comments.
13651
13652 2001-03-22  Juergen Vigna  <jug@sad.it>
13653
13654         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13655         compatibility read a bit and fixed bug with minipage in different
13656         depth.
13657
13658 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13659
13660         * buffer.C (pop_tag): removed.
13661         (push_tag): removed.
13662         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13663         array replaced with vector. Added support for CDATA sections.
13664         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13665         at any nest level.
13666         (makeDocBookFile): XML conformant declaration of CDATA section,
13667         fixed bug related to <emphasis> in the first paragraph char.
13668         (sgmlOpenTag): exclude empty tags.
13669         (sgmlCloseTag): ditto.
13670
13671         * buffer.h (pop_tag): removed.
13672         (push_tag): removed.
13673
13674 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * language.h (Languages): added size_type and size().
13677
13678 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13679
13680         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13681         response on compability reading of minipages. One probliem is that
13682         the old usage of minipages was «flertydig»
13683
13684         * several files here and in subdirs: don't use static at file
13685         scope use anon namespaces instead.
13686
13687 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13688
13689         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13690         LaTeX output. This is necessary for Literate document
13691         processing.
13692
13693 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13694
13695         * buffer.C: insert hfill when needed.
13696
13697         * tabular.C (l_getline): use string::erase, small whitespace change.
13698
13699         * BufferView_pimpl.C: try the anon namespace.
13700         * WorkArea.C: ditto
13701
13702 2001-03-16  Juergen Vigna  <jug@sad.it>
13703
13704         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13705         otherwise it won't open options-dialogs.
13706
13707         * buffer.C: honor pextraWidth(p) on converting minipages.
13708
13709         * tabular.C (l_getline): changed the functions to strip trailing \r.
13710
13711 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * BufferView_pimpl.C:
13714         * minibuffer..C: added "using SigC::slot" declaration.
13715
13716 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13717
13718         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13719
13720         * text2.C: ditto
13721
13722         * text.C: ditto
13723
13724         * paragraph.C: ditto
13725
13726         * lyxtext.h: NO_PEXTRA
13727
13728         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13729
13730         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13731         * ParameterStruct.h: ditto
13732         * ParagraphParameters.h: ditto
13733         * lyxparagraph.h: ditto
13734
13735 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13736
13737         * buffer.C: add compability for minipage alignment.
13738         (latexParagraphs): remove unwanted pextra check.
13739
13740         * several files: remove CXX_WORKING_NAMESPACES
13741
13742         * buffer.C (pop_tag): tie is in namespace boost
13743
13744         * BufferView.h: noncopyable is in namespace boost
13745         * lyxlex.h: ditto
13746         * lyx_main.h: ditto
13747         * lyx_gui.h: ditto
13748         * layout.h: ditto
13749         * lastfiles.h: ditto
13750         * bufferlist.h: ditto
13751         * ShareContainer.h: ditto
13752         * LyXView.h: ditto
13753         * LyXAction.h: ditto
13754         * LaTeX.h: ditto
13755
13756 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * Merging changes from BRANCH_MVC back into HEAD.
13759
13760         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13761
13762 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * BufferView_pimpl.C: change from intl.C
13765
13766         * combox.h:
13767         * combox.C:
13768         * Makefile.am: move combox.*
13769
13770         * form1.h:
13771         * form1.C:
13772         * lyx_gui.C:
13773         * intl.h:
13774         * intl.C: remove dialog (covered by prefs)
13775
13776 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * lyxfunc.C (Dispatch): removed redundant break statement.
13779
13780 2001-03-14  Juergen Vigna  <jug@sad.it>
13781
13782         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13783
13784 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13785
13786         * buffer.C: add hack to fix compability reading of minipages.
13787
13788 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * buffer.C (getLists): Cleanup.
13791
13792 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * lyxfont.C (update): don't honor toggleall on font size.
13795
13796 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13797
13798         * bmtable.c:
13799         * bmtable.h:
13800         * Makefile.am: moved to frontends/xforms/
13801
13802         * lyx_gui_misc.C:
13803         * lyxfunc.C:
13804         * BufferView_pimpl.C: changes for moved mathpanel
13805
13806 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13807
13808         * gettext.h: fix gettext_init() in --disable-nls
13809
13810 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13811
13812         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13813
13814 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * lyx.C:
13817         * lyx.h: strip external form
13818
13819 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13820
13821         * BufferView_pimpl.C: add comment, destroySplash()
13822
13823 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * BufferView_pimpl.C:
13826         * LyXAction.C:
13827         * buffer.C:
13828         * commandtags.h:
13829         * lyxfunc.C: use re-worked insetinclude
13830
13831 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13832
13833         * buffer.C: add using std::stringstream.
13834
13835         * lyx_cb.C: readd using std::ios.
13836
13837         * buffer.C: add using std::map.
13838
13839         * BufferView_pimpl.C: add using std::vector.
13840
13841         * ShareContainer.h: add std:: to swap.
13842
13843         * buffer.h: add some typedefs
13844         * buffer.C (getLists): use them
13845         (getLists): renamed from getTocList.
13846         add a counter for the different float types and use it in the
13847         generated string.
13848         (getLists): use the same counter for the NEW_INSETS and the "non"
13849         NEW_INSETS
13850
13851         * lyx_cb.h: remove unused items, includes, using etc.
13852
13853         * ShareContainer.h: remove some commented code, add more comments
13854         and "documentation".
13855
13856 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13857
13858         * buffer.C (getTocList): make the list also when NEW_INSETS is
13859         defined.
13860
13861         * buffer.h: remove TocType
13862
13863         * buffer.C (getTocList): change to return a map<string,
13864         vector<TocItem> >, implement for dynamic number of list.
13865
13866         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13867         * text2.C (PasteSelection): adjust
13868         * CutAndPaste.C (pasteSelection): adjust
13869
13870         * FloatList.C (FloatList): update from the new_insets branch.
13871         * Floating.[Ch]: ditto
13872         * LaTeXFeatures.C: ditto
13873         * buffer.C: ditto
13874         * lyxlex_pimpl.C: ditto
13875
13876         * paragraph.C (Last): remove when NEW_INSETS is defined.
13877
13878         * other file: changes because of the above.
13879
13880 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13881
13882         * lyxparagraph.h: rename next to next_, previous to previous_,
13883         make them private for NEW_INSETS. Rename Next() to next(),
13884         Previous() to previous().
13885
13886         * other files: changes because of the above.
13887
13888 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * BufferView.h:
13891         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13892         problem.
13893
13894 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * main.C (main): pass lyx_localedir to gettext_init().
13897
13898         * gettext.h: remove locale_init and gettext_init macros
13899
13900         * gettext.C (locale_init): new function
13901         (gettext_init): new function
13902
13903         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13904         setlocale().
13905
13906 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13907
13908         * Moved credits to frontends:
13909         * credits.[Ch]: removed
13910         * credits_form.[Ch]: removed
13911         * lyx_gui_misc.C: remove credits stuff
13912         * Makefile.am:
13913
13914 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13915
13916         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13917
13918         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13919         unneeded destructor.
13920
13921         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13922         a standalone pointer again.
13923
13924         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13925
13926 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * Makefile.am:
13929         * filedlg.h:
13930         * filedlg.C:
13931         * LyXAction.C:
13932         * ToolbarDefaults.C:
13933         * bufferlist.C:
13934         * commandtags.h:
13935         * form1.C:
13936         * form1.h:
13937         * lyx_cb.C:
13938         * lyx_cb.h:
13939         * lyxfunc.h:
13940         * lyxfunc.C:
13941         * BufferView_pimpl.C: use new file dialog in GUII
13942
13943         * lyx_cb.h:
13944         * lyx_cb.C: remove LayoutsCB to Toolbar
13945
13946 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * ShareContainer.h (get): add std:: qualifier
13949
13950 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * ShareContainer.h: define a proper ShareContainer::value_type
13953         type (and use typename to please compaq cxx)
13954
13955 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13956
13957         * lyxparagraph.h: move serveral local vars to
13958         ParameterStruct/ParagraphParameters., use ShareContainer in
13959         FontTable., make vars in FontTable private and add getter and
13960         setter.
13961
13962         * paragraph.C: changes because of the above.
13963
13964         * lyxfont.h: remove copy constructor and copy assignment. (the
13965         default ones is ok), move number inside FontBits. move inlines to
13966         lyxfont.C
13967
13968         * lyxfont.C: add number to initializaton of statics, move several
13969         inlines here. constify several local vars. some whitespace
13970         cleanup. Dont hide outerscope variables.
13971
13972         * Spacing.h: add two new constructors to match the set methods.
13973
13974         * ShareContainer.h: new file, will perhaps be moved to support
13975
13976         * ParameterStruct.h: new file
13977
13978         * ParagraphParameters.h: new file
13979
13980         * ParagraphParameters.C: new file
13981
13982         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13983         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13984
13985         * BufferView_pimpl.C: ParagraphParameter changes.
13986         * buffer.C: Likewise.
13987         * bufferview_funcs.C: Likewise.
13988         * text.C: Likewise.
13989         * text2.C: Likewise.
13990
13991 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * lyxfind.C (LyXReplace): do not redefine default argument in
13994         implementation.
13995         (IsStringInText): ditto
13996         (SearchForward): ditto
13997         (SearchBackward): ditto
13998
13999 2001-03-06  Juergen Vigna  <jug@sad.it>
14000
14001         * lyxfind.C (IsStringInText): put parentes around expressions.
14002
14003 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14004
14005         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14006
14007 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14010
14011         * stl_string_fwd.h: add comment
14012
14013         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14014
14015         * tabular.h:
14016         * tabular.C: remove unused DocBook methods
14017
14018         * intl.C:
14019         * language.C:
14020         * paragraph.C:
14021         * buffer.C:
14022         killed DO_USE_DEFAULT_LANGUAGE
14023
14024 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14025
14026         * lyx_gui.C: do not include language.h.
14027
14028         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14029         arguments in function implementation.
14030
14031 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14032
14033         * BufferView_pimpl.C: add <ctime>
14034
14035 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14036
14037         * BufferView_pimpl.C: add using std::find_if
14038
14039 2001-02-27  José Matos  <jamatos@fep.up.pt>
14040
14041         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14042         by OnlyPath.
14043
14044 2001-02-11  José Matos  <jamatos@fep.up.pt>
14045
14046         * buffer.C (makeDocBookFile): command styles now have a parameter as
14047         "title" by default.
14048
14049 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14050
14051         * layout_forms.[Ch]: removed
14052         * lyx_cb.[Ch]: out character
14053         * lyx_gui.C: out character
14054         * lyx_gui_misc.C: out character
14055         * bufferview_funcs.C: : out character,
14056         added toggleall as parameter in ToggleAndShow
14057
14058 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14061
14062         * text2.C (SetCurrentFont): Disable number property at boundary.
14063
14064 2001-02-26  Juergen Vigna  <jug@sad.it>
14065
14066         * lyxfunc.C (getStatus): added a string argument override function so
14067         that this is correctly called from LyXFunc::Dispatch if it contains a
14068         do_not_use_argument which is used!
14069         (Dispatch): added check for "custom" export and call appropriate func.
14070
14071 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14072
14073         * lyxrc.C: Add language_command_local, language_use_babel and
14074         language_global_options.
14075
14076         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14077
14078         * buffer.C (makeLaTeXFile): Use language_use_babel and
14079         language_global_options.
14080
14081 2001-02-23  Juergen Vigna  <jug@sad.it>
14082
14083         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14084         which works with LyXText and putted it inside BufferView. Here now we
14085         only call for that part the BufferView::Dispatch() function.
14086
14087         * BufferView.C (Dispatch): added.
14088
14089         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14090         functions which needs to use a LyXText over from LyXFunc.
14091         (MenuInsertLyXFile): added
14092         (getInsetByCode): added
14093         (moveCursorUpdate): added
14094         (static TEXT): added
14095
14096 2001-02-22  Juergen Vigna  <jug@sad.it>
14097
14098         * BufferView_pimpl.C (update): call a status update to see if LyXText
14099         needs it.
14100
14101 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14102
14103         * vc-backend.C (revert): implement for CVS
14104         (getLog): implement for CVS
14105
14106 2001-02-20  Juergen Vigna  <jug@sad.it>
14107
14108         * text2.C (ClearSelection): added BufferView param for inset_owner call
14109
14110         * lyxfunc.C (TEXT): added this function and use it instead of
14111         directly owner->view()-text of getLyXText().
14112
14113 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14114
14115         * src/layout_forms.C: out preamble
14116         * src/layout_forms.h: out preamble
14117         * src/lyx_cb.C: out preamble
14118         * src/lyx_cb.h: out preamble
14119         * src/lyx_gui.C: out preamble
14120         * src/lyx_gui_misc.C: out preamble
14121         * src/lyxfunc.C: connect with guii preamble
14122
14123 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14124
14125         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14126
14127 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14128
14129         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14130         whether to run bibtex.
14131
14132 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14133
14134         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14135
14136 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14137
14138         * Makefile.am (lyx_SOURCES): removed bibforms.h
14139
14140         * vspace.h: doxygen
14141
14142         * text.C (GetVisibleRow): make several local vars const
14143
14144         * tabular.C: small cleanup.
14145
14146         * lyxserver.C (callback): use compare instead of strncmp
14147
14148         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14149         inlines to after class or to paragraph.C
14150
14151         * lyxfont.h: remove friend operator!=
14152
14153         * converter.h: move friend bool operator< to non friend and after
14154         class def.
14155
14156         * combox.h: small cleanup
14157
14158         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14159         to inlines after class def.
14160
14161         * buffer.C (pop_tag): use string operations instead of strcmp
14162
14163         * bmtable.c: doxygen, small cleanup
14164
14165         * LaTeX.h: remove friend operator==
14166
14167 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14168
14169         * screen.C:
14170         * lyxrc.[Ch]:
14171         * lyxfunc.C:
14172         * lyxfont.[Ch]:
14173         * lyx_cb.C:
14174         * intl.[Ch]:
14175         * commandtags.h:
14176         * buffer.C:
14177         * WorkArea.[Ch]:
14178         * LyXAction.C:
14179         * BufferView_pimpl.C:
14180         * BufferView.[Ch]: remove cruft
14181
14182 2001-02-14  Juergen Vigna  <jug@sad.it>
14183
14184         * lyxfunc.C: removed #if 0 unused code
14185
14186         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14187
14188         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14189
14190         * text2.C (SetSelection): added a BufferView * parameter
14191
14192 2001-02-13  Juergen Vigna  <jug@sad.it>
14193
14194         * lyxfunc.C (Dispatch): fixed protected blank problem.
14195         * BufferView2.C (protectedBlank): added LyxText * parameter.
14196
14197         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14198         (AppendColumn): same as above for column_info.
14199
14200         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14201         (moveCursorUpdate): use a LyXText param for support of InsetText.
14202
14203         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14204         (tripleClick): ditto
14205
14206         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14207
14208         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14209
14210         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14211
14212         * text2.C (SetSelection): set correct update status if inset_owner
14213         (ToggleFree): ditto
14214
14215 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14216
14217         * tabular.C: remove some commented code.
14218
14219 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * BufferView_pimpl.C: call hideSplash()
14222
14223         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14224
14225         * include_form.h:
14226         * bibforms.h: remove
14227
14228         * lyxfunc.C:
14229         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14230           add LFUN_CHILD_CREATE
14231
14232         * counters.h: fix tiny typo
14233
14234         * lyx_cb.C:
14235         * lyx.h:
14236         * lyx_gui.C:
14237         * lyx.C: move splash to frontends/xforms/
14238
14239         * lyx_gui_misc.C: move Include and Bibform to frontends
14240
14241         * lyxvc.h: clarify comment
14242
14243         * vspace.C: tiny housekeeping
14244
14245 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * text.C (PrepareToPrint): RTL Fix.
14248
14249         * paragraph.C (GetUChar): New method.
14250         (String):  Use GetUChar.
14251
14252         * buffer.C (asciiParagraph): Use GetUChar.
14253
14254 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14257
14258 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14259
14260         * buffer.h:
14261         * buffer.C: rename to getLogName(), handle
14262           build log / latex log nicely
14263
14264 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14265
14266         * MenuBackend.C:
14267         * MenuBackend.h: remove support for reference menuitem type.
14268
14269 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14270
14271         * BufferView_pimpl.C: housekeeping
14272         * BufferView_pimpl.h:
14273         * LyXView.h:
14274         * Makefile.am:
14275         * Timeout.C:
14276         * Timeout.h:
14277         * minibuffer.h: move Timeout GUI-I
14278
14279 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * lyxrc.C (read): Update converters data-structures.
14282
14283 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14284
14285         * LaTeX.h (operator!=): add operator != for Aux_Info
14286
14287 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14290
14291         * LaTeXLog.C: deleted, useful code moved to Buffer
14292
14293         * buffer.h:
14294         * buffer.C: new function getLatexLogName()
14295
14296         * lyx_gui_misc.C:
14297         * lyx_gui.C:
14298         * lyxvc.C:
14299         * lyxvc.h:
14300         * lyxfunc.C: use frontends for LaTeX and VC logs
14301
14302 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * LaTeX.h: yet another std:: that Allan forgot.
14305
14306         * Variables.C (set): renamed from isset(), because this clashes
14307         with some HP-UX macros (grr).
14308
14309 2001-02-06  Allan Rae  <rae@lyx.org>
14310
14311         * LaTeX.h: Another bug fix.  Missing std:: this time.
14312
14313 2001-02-04  Allan Rae  <rae@lyx.org>
14314
14315         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14316         floats problem. I've left it commented out because it's not quite
14317         correct.  It should also test that the current object is a table or
14318         figure inset.  But I haven't gotten around to figuring out how to do
14319         that.  I *think* it'll be something like: "table" == inset.type()
14320
14321         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14322         bool.
14323
14324 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14327         all the citation/databases/styles in the auxilary file.
14328         (run): Rerun latex if there was a babel language error.
14329
14330 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14331
14332         * text.C (Backspace): Preserve the font when changing newline char
14333         with a space.
14334         (BreakParagraph): If the cursor is before a space, delete the space.
14335
14336         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14337
14338 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14341         new argument (code).
14342         (ChangeCitationsIfUnique): New method.
14343
14344         * paragraph.C (GetPositionOfInset): Handle bibkey.
14345
14346 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * BufferView_pimpl.h: change type of Position::par_pos to
14349         LyXParagraph::size_type.
14350
14351 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14352
14353         * BufferView_pimpl.C (savePosition, restorePosition): Write
14354         messages to minibuffer.
14355
14356 2001-01-28  José Matos  <jamatos@fep.up.pt>
14357
14358         * buffer.C (makeDocBookFile): adds support for document language.
14359         A silly restriction on the name of LatexCommand types where removed.
14360         Added support for CDATA sections, allows to chars unescaped, used
14361         among others in code, to avoid escape < and >.
14362
14363 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14364
14365         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14366         saved positions instrad of a stack. Furthermore, a position is
14367         stored using paragraph id/paragraph position.
14368
14369         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14370         Remove LFUN_REF_BACK.
14371
14372 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14373
14374         * converter.C (dvipdfm_options): New method.
14375
14376 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * vspace.C (isValidLength): Fix for empty input string.
14379
14380 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14381
14382         * LyXAction.C (init): change description of LFUN_FIGURE to
14383         "Insert Graphics"
14384
14385 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * LaTeX.C: add using directive
14388
14389 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * MenuBackend.C (expand): Fix the sorting of the formats.
14392
14393 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14394
14395         * lyx_main.C: tiny error message fix
14396
14397 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14400         calling fl_initialize(). This fixes the problem with ',' as
14401         decimal separator in text files.
14402
14403 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * trans.C (process): Fix the keymap bug.
14406
14407 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14408
14409         * LaTeX.C (scanAuxFiles): New method. Provides support for
14410         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14411         (scanLogFile) Scan for "run BibTeX" messages.
14412
14413         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14414         OT1 font encoding. Also, load the aecompl package if the ae
14415         package is loaded.
14416
14417         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14418
14419 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * texrow.C (increasePos): turn two error messages into debug
14422         messages.
14423
14424 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14425
14426         * LaTeX.C (scanAux): Handle the \@input macro.
14427         (runBibTeX): Use scanAux().
14428
14429         * language.C (latex_options_): New field.
14430
14431         * LaTeXFeatures.C (getMacros): Add language macros.
14432
14433         * buffer.C (makeLaTeXFile): Small fix.
14434
14435 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14436
14437         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14438
14439         * text2.C: add a using directive.
14440
14441 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * BufferView2.C:
14444         * lyx_gui_misc.h:
14445         * lyxfr1.C:
14446         * lyxfunc.C: kill LyXBell.
14447
14448 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14449
14450         * text.C (IsBoundary): Remove the error message
14451
14452         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14453
14454         * lyxrc.C (setDefaults): Correct initialization value for
14455         font_norm_type.
14456
14457 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14458
14459         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14460         gotoError().
14461
14462         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14463         and GotoNextNote().
14464
14465         * src/LyXAction.C: Added reference-next.
14466
14467         * text.C (InsertChar): Use contains instead of strchr.
14468
14469         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14470
14471 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14474         alignment commands (when needed).
14475
14476         * text.C (InsertChar): Add ':' to number separator chars.