]> git.lyx.org Git - features.git/blob - src/ChangeLog
6a8d627ad5ed8b0e4d137d6f9d7dbe7172c74e0d
[features.git] / src / ChangeLog
1
2
3 2004-01-26  André Pönitz  <poenitz@gmx.net>
4
5         * BufferView.[Ch]:
6         * BufferView_pimpl.[Ch]:
7         * InsetList.[Ch]:
8         * PosIterator.[Ch]:
9         * buffer.h:
10         * bufferview_funcs.C:
11         * cursor.[Ch]:
12         * cursor_slice.h:
13         * factory.[Ch]:
14         * iterators.[Ch]:
15         * lyxfind.C:
16         * lyxfunc.C:
17         * lyxtext.h:
18         * output_docbook.C:
19         * output_latex.C:
20         * output_linuxdoc.C:
21         * output_plaintext.C:
22         * paragraph.[Ch]:
23         * paragraph_funcs.[Ch]:
24         * paragraph_pimpl.[Ch]:
25         * rowpainter.C:
26         * tabular.C:
27         * tabular.h:
28         * text.C:
29         * text2.C:
30         * text3.C: more IU:  dumps most of the rest of the mathcursor
31     implementation into cursor.[Ch]; "globalize" a bit of it.
32
33 2004-01-25  Angus Leeming  <leeming@lyx.org>
34
35         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
36
37 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * LaTeXFeatures.h: add nice_ and nice() const
40         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
41
42 2004-01-20  André Pönitz  <poenitz@gmx.net>
43
44         * BufferView.[Ch]:
45         * BufferView_pimpl.C:
46         * PosIterator.C:
47         * bufferview_funcs.C:
48         * cursor.[Ch]:
49         * cursor_slice.[Ch]:
50         * factory.C:
51         * iterators.C:
52         * lyx_cb.C:
53         * lyxfind.C:
54         * lyxfunc.C:
55         * lyxtext.h:
56         * rowpainter.C:
57         * text.C:
58         * text2.C:
59         * text3.C:
60         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
61           LCursor and mathcursor parts to LCursor and InsetBase.
62
63 2004-01-15  André Pönitz  <poenitz@gmx.net>
64
65         * cursor_slice.[Ch]: add a few covienience functions
66
67         * funcrequest.[Ch]: remove BufferView * member
68
69         * BufferView_pimpl.C:
70         * cursor.C:
71         * factory.[Ch]:
72         * lyxfind.[Ch]:
73         * lyxfunc.C:
74         * lyxtext.h:
75         * text3.C:
76         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
77
78 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
81         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
82
83 2004-01-13  André Pönitz  <poenitz@gmx.net>
84
85         * textcursor.[Ch]:
86         * lyxtext.h: hide cursor and selection anchor behind accessor function
87
88         * BufferView.C:
89         * BufferView_pimpl.[Ch]:
90         * PosIterator.C:
91         * bufferview_funcs.C:
92         * cursor.h:
93         * lyxfind.C:
94         * lyxfunc.C:
95         * text.C:
96         * text2.C:
97         * text3.C:
98         * undo.C: adjust
99
100         * cursor.h:
101         * cursor_slice.[Ch]: some integer type changes for inset unification
102
103         * lyxcursor.[hC]: remove, it's CursorSlice now.
104
105         * Makefile.am: 
106         * BufferView_pimpl.[Ch]:
107         * bufferview_funcs.C:
108         * cursor_slice.C:
109         * lyxtext.h:
110         * text.C:
111         * text2.C:
112         * text3.C:
113         * textcursor.[Ch]: adjust
114
115 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * text2.C (undoSpan): add and use
118         * text.C (breakParagraph): use undoSpan (fix bug 578)
119         * lyxtext.h: adjust
120
121 2004-01-08  Angus Leeming  <leeming@lyx.org>
122
123         * BufferView_pimpl.C (MenuInsertLyXFile):
124         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
125         * lyxfunc.C (menuNew, open, doImport): 
126         FileFilterList change to the FileDialog open and save functions.
127
128 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
129
130         * ShareContainer.h: make isEqual and isUnique adaptable
131
132         * CutAndPaste.C: make resetOwnerAndChanges adaptable
133
134 2004-01-07  Angus Leeming  <leeming@lyx.org>
135
136         * LyXAction.C:
137         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
138
139         * BufferView_pimpl.C (dispatch): act on these LFUNs.
140
141         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
142         functions replacing find, replace and replaceAll.
143
144         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
145         LFUN_WORDFIND(FORWARD|BACKWARD).
146
147 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
148
149         * text.C (breakParagraph): remove an outdated #warning
150
151 2004-01-07  André Pönitz  <poenitz@gmx.net>
152
153         * lyxfind.C: somewhat clearer logic
154
155         * text.C: prevent crash in cursorX on unitialized row cache
156
157 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
158
159         * lyxcursor.[Ch] (operator>): add
160         * textcursor.C (selStart, selEnd): use std::min and std::max
161
162 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * Chktex.C: include boost/format.hpp
165
166 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
167
168         * InsetList.C: replace functor MathcIt with adaptable functor
169         InsetTablePosLess
170         (insetIterator): modify accordingly
171
172         * BranchList.h: move the BranchNamesEqual functor here from...
173         * BranchList.C: ... to here
174
175         * BranchList.C: new BranchListEqual fuctor, use it. Remove
176         SameName and match.
177         (add): replace a finding loop with std::find_if.
178
179 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * output_docbook.C: moving LatexParam functionality into
182         .layout files
183
184 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
185
186         * buffer.C: increment format to 229.
187
188 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
189
190         * LaTeXFeatures.C:
191         * lyx_sty.[Ch]: remove minipageindent_def
192
193         * LyXAction.C:
194         * factory.C:
195         * lfuns.h:
196         * lyxfunc.C:
197         * text3.C: remove LFUN_INSET_MINIPAGE
198
199 2003-12-28  Angus Leeming  <leeming@lyx.org>
200
201         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
202
203 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
204
205         * text2.C (setParagraph): fix off-by-one crash
206
207 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * output_docbook.C: header stuff for AGU
210
211 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
212
213         * text2.C (redoCursor): remove
214         * text.C:
215         * text3.C:
216         * BufferView_pimpl.C: remove calls to redoCursor and
217         setCursor(cursor.par(), cursor.pos()) all around
218
219 2003-12-15  Angus Leeming  <leeming@lyx.org>
220
221         * buffer.C: up the format to 228.
222
223 2003-12-15  André Pönitz  <poenitz@gmx.net>
224
225         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
226         slices
227
228         * Makefile.am:
229
230         * BufferView_pimpl.C:
231         * cursor.[Ch]:
232         * lyxcursor.[Ch]:
233         * rowpainter.[Ch]:
234         * lyxtext.h:
235         * text.C:
236         * text2.C:
237         * text3.C: adjust
238
239 2003-12-15  Angus Leeming  <leeming@lyx.org>
240
241         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
242         than getFromGUIName to manipulate the color.
243
244 2003-12-14  Angus Leeming  <leeming@lyx.org>
245
246         * BranchList.[Ch]: minimize the API.
247         (Branch::getBranch, getColor): now return a 'const &'.
248         (Branch::setSelected) now returns a bool set to true if the
249         selection status changes.
250         (BranchList::clear, size, getColor, setColor, setSelected,
251         allBranches, allSelected, separator): removed.
252         (BranchList::find): new functions, returning the Branch with
253         the given name.
254         (BranchList::add, remove): return a bool indicating that
255         the operation was successful.
256
257         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
258         new InsetBranch::isBranchSlected member function.
259
260         * LColor.[Ch]: mimimize the API.
261         (fill): renamed as addColor and made private.
262         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
263         versions of these functions taking a string arg have been removed.
264
265         * bufferparams.C (readToken):
266         * lyxfunc.C (dispatch):
267         * lyxrc.C (read): changes due to the altered BranchList and
268         LColor APIs.
269
270         * factory.C (createInset, readInset): changes due to altered
271         InsetBranch c-tor.
272
273 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * factory.C:
276         * lyxfunc.C: remove insetminipage. "minipage-insert"
277         now produces a frameless minipage box inset.
278
279 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * textcursor.[Ch] (selStart,selEnd): add new methods
282         remove selection::start, end, use LyXCursor::operator<
283         * lyxcursor.[Ch] (operator<): add
284         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
285         * BufferView.[Ch] (unsetXSel): add
286         * text2.C (clearSelection): use unsetXSel,adjust
287         * text.C: adjust
288         * text3.C: adjust
289         * rowpainter.C: adjust
290         * bufferview_funcs.C (put_selection_at): adjust
291
292 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * BufferView_pimpl.C: small coord. correction
295
296 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
299         dragging over the splash screen.
300
301 2003-12-11  Angus Leeming  <leeming@lyx.org>
302
303         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
304         as it is now handled in LyXText::dispatch.
305
306         * text3.C (doInsertInset): remove a level of nesting.
307
308 2003-12-11  Angus Leeming  <leeming@lyx.org>
309
310         * factory.C (createInset): changes due to the changed interface to
311         InsetCommandMailer::string2params.
312
313 2003-12-10  Angus Leeming  <leeming@lyx.org>
314
315         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
316         'dialog-show-new-inset <inset name>'
317
318 2003-12-10  Angus Leeming  <leeming@lyx.org>
319
320         * buffer.C: up the format to 227.
321
322         * factory.C: the box inset is now identified simply by 'Box'.
323
324 2003-12-10  Angus Leeming  <leeming@lyx.org>
325
326         * buffer.C: up the format to 226.
327
328         * factory.C: the note inset is now identified simply by 'Note'.
329
330 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
331
332         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
333         when a pit is enough. Standarize a couple of loops.
334
335 2003-12-05  Angus Leeming  <leeming@lyx.org>
336
337         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
338         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
339         data to the re-worked "log" dialog.
340
341 2003-12-03  André Pönitz  <poenitz@gmx.net>
342
343         * PosIterator.C:
344         * iterators.C:
345         * lyxtext.h:
346         * output_latex.C:
347         * paragraph_funcs.C:
348         * text.C:
349         * text2.C: use Inset::getText instead of Inset::getParagraph
350
351 2003-12-03  André Pönitz  <poenitz@gmx.net>
352
353         * buffer.[Ch]:
354         * lyxtext.h:
355         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
356         InsetText::read() as LyXText::read()
357
358 2003-12-02  Angus Leeming  <leeming@lyx.org>
359
360         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
361         type. Add a comment in the implementation that the function uses
362         the stream's bad() function rather than fail() as the std::streams
363         would do.
364
365 2003-12-02  André Pönitz  <poenitz@gmx.net>
366
367         * lyxlex.[Ch]: make interface more similar to std::stream
368
369         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
370
371 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
372
373         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
374
375 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
376
377         * vspace.[Ch]: remove VSpace::NONE
378
379 2003-12-01  André Pönitz  <poenitz@gmx.net>
380
381         * buffer.[Ch]:
382         * lyxtext.h: move ParagraphList member to LyXText
383         rename LyXText::ownerParagraphs to LyXText::paragraph
384
385         * CutAndPaste.C:
386         * bufferview_funcs.C:
387         * iterators.[Ch]:
388         * lyx_cb.C:
389         * paragraph.C:
390         * rowpainter.C:
391         * tabular.C:
392         * text.C:
393         * text2.C:
394         * text3.C: adjust
395
396         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
397
398         * undo.C: fix cursor positioning
399
400 2003-12-01  John Levon  <levon@movementarian.org>
401
402         * BufferView_pimpl.C: fix a crash on exit with
403         a buffer open
404
405 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * BranchList.C: fix setSelected() method.
408
409 2003-11-28  André Pönitz  <poenitz@gmx.net>
410
411         * ParagraphParameters.[Ch]:
412         * ParameterStruct.h: remove space above/below from Paragraph to
413          InsetVSpace
414
415         * BufferView_pimpl.C:
416         * factory.C:
417         * lyxfunc.C:
418         * lyxtext.h:
419         * output_latex.C:
420         * paragraph.C:
421         * paragraph_funcs.C:
422         * rowpainter.[Ch]:
423         * text.C:
424         * text2.C:
425         * text3.C: adjust
426
427 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
428
429         * factory.C: Syntax change for CharStyles
430
431 2003-11-28  André Pönitz  <poenitz@gmx.net>
432
433         * BufferView.[Ch]:
434         * BufferView.[Ch]:
435         * buffer.[Ch]:
436         * buffer.[Ch]: move LyXText member
437
438 2003-11-28  André Pönitz  <poenitz@gmx.net>
439
440         * BufferView.[Ch]: make LyXText * text a private member
441
442         * BufferView_pimpl.C:
443         * cursor.C:
444         * iterators.C:
445         * lyx_cb.C:
446         * lyxfind.C:
447         * lyxtext.h:
448         * rowpainter.[Ch]:
449         * text.C:
450         * text2.C:
451         * undo.C: adjust
452
453         * output_plaintext.C: cleanup
454
455 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * buffer.C:
458         * lyxtextclass.[Ch]: parametrize SGML document header
459
460 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
461
462         * converter.[Ch]:
463         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
464         getFlavor().
465
466 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * text2.C (setFont): rework using PosIterator (no more recursive)
469         (setCharFont): no more needed
470         (setLayout): no more selection cursors fiddling (done by redoCursor)
471         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
472         destroy remaining ones)
473
474 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
477         * lyxtext.h: ditto
478         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
479         selection cursors
480         * lyxfunc.C: adjust
481         * text3.C: adjust + re-allow multi par depth changes
482         * textcursor.C: simplify a bit
483
484 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * src/buffer.C:
487         * src/lyxlayout.C:
488         * src/lyxlayout.h:
489         * src/lyxtext.h:
490         * src/output_docbook.C:
491         * src/output_latex.C:
492         * src/paragraph.C:
493         * src/paragraph.h:
494         * src/sgml.C:
495         * src/sgml.h:
496         * src/text2.C: Introducing a number of tags parametrizing various
497         XML formats that we may want to support
498
499 2003-11-25  André Pönitz  <poenitz@gmx.net>
500
501         * InsetList.[Ch] (begein, end): inline as suggested by profiler
502
503         * lyxtext.h (leftMargin/rightMargin): simplify interface
504
505         * rowpainter.C:
506         * text.C:
507         * text2.C:
508         * text3.C: adjust
509
510 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
511
512         * lyxfunc.C (dispatch): propogate the bibtex databases from the
513         master file to any child files. Fixes bug 546.
514
515 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
516
517         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
518
519 2003-11-24  André Pönitz  <poenitz@gmx.net>
520
521         * rowpainter.C: simplification
522
523         * text2.C (updateCounters): remove call to redoParagraph on
524         changed labels as this is far too expensive.
525
526 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * converter.C (convert): fix a crash: this function gets
529         called with buffer == 0 from importer code.
530
531 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
532
533         * text3.C (cursorPrevious): make sure that we do not compare
534         iterators form different containers.
535         (cursorNext): ditto
536
537         * rowpainter.C (paintSelection): make sure that we do not compare
538         iterators from different containers.
539
540         * text3.C (dispatch): [PRIOR] make sure that we do not compare
541         iterators from different ParagraphList containers.
542         [NEXT] ditto
543
544         * text2.C (LyXText): change order of initialization slightly
545         (operator=): new function. copy all variables except cache_par_
546         (moveUp): make sure that we do not compare iterators from
547         different ParagraphList constainers.
548         (moveDown): ditto
549
550         * text.C (firstPar): new function
551         (lastPar): new function
552         (endPar): new function
553
554         * lyxtext.h: move things around and group public functions, public
555         variables, private functions, private variables
556
557 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
558
559         * factory.C: change call to InsetERT constructor to avoid
560         additional invocation of method status
561         * text2.C (toggleInset): remove redundant update() call
562         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
563         instead of a Bufferview pointer
564
565 2003-11-21  André Pönitz  <poenitz@gmx.net>
566
567         * rowpainter.C: simplification
568
569 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
570
571         * text3.C (dispatch): make possible to extend a word/row selection
572         with the mouse
573
574 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
575
576         * lyxtext.h: x0_,y0_ -> xo_,yo_
577         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
578         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
579         * rowpainter.C (paintRows): paint full paragraphs
580
581 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
584         screen coordinates)
585
586 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
587
588         * lyxtext.h: add x0_, y0_
589         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
590         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
591
592 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * text2.C (setCursorIntern): move the x_target update here *
595         * text3.C: change some bv() to true/false in calls to
596         cursorUp/Down/Right/Left
597         * cursor.C: use helper function.
598
599 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
600
601         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
602         * paragraph_funcs.[Ch]: correct comment
603         * rowpainter.C: do not paint selections away from bv->cursor()
604         Fix a long standing selection painting bug.
605         * text3.C: generalize mouse-selection code to LyXTexts other that
606         top one
607         * textcursor.C: do not use y coords if we can use par offsets
608
609 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
610
611         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
612         cursor position after e.g. inset insert)
613
614 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * lyxfind.C (replace): adjust to locking removal + some
617         code simplification
618
619 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
620
621         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
622         of the path
623
624 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * lyxlayout.[Ch]:
627         * output_docbook.C: XML sanitation: new layout
628         parameters InnerTag and CommandDepth
629
630 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
631
632         * BufferView_pimpl.C:
633         * factory.C:
634         * text3.C: Fix the insertion and modification of button-style
635         insets
636
637 2003-11-13  André Pönitz  <poenitz@gmx.net>
638
639         * InsetList.[Ch]: remove deleteLyXText
640
641         * paragraph.[Ch]: cache beginOfBody position
642
643         * Bidi.C:
644         * text.C:
645         * text2.C:
646         * text3.C: remove superfluous update() calls
647
648         * vspace.C: cleanup
649
650 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
653         * BufferView.C (fitLockedInsetCursor): remove
654         * cursor.[Ch] (getDim): add
655         * text.C (getRowNearY): add faster version
656         * text3.C: remove some update calls
657
658 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
659
660         * LaTeXFeatures.C:
661         * LyXAction.C:
662         * MenuBackend.C:
663         * MenuBackend.h:
664         * dispatchresult.h:
665         * factory.C:
666         * lfuns.h:
667         * lyxfunc.C:
668         * lyxtextclass.C:
669         * lyxtextclass.h:
670         * text3.C: The Character Style /XML short element patch.
671
672 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
673
674         * text3.C:
675         * factory.C: Small step to solving 'unable to insert some insets'
676         problem
677
678 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * cursor.[Ch] (updatePos): new function for updating the y
681         position of the tip inset
682         * bufferview_funcs.C (put_selection_at):
683         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
684
685 2003-11-11  André Pönitz  <poenitz@gmx.net>
686
687         * text.C: remove big comment on invalid Paragraph pointers as it is
688         not valid anymore
689
690 2003-11-11  André Pönitz  <poenitz@gmx.net>
691
692         * text_funcs.[Ch]: merge with ...
693
694         * text.C: ... this
695
696         * lyxtext.h:
697         * text2.C:
698         * text3.C: adjust
699
700         * Makefile.am: remove text_funcs.[Ch]
701
702 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
703
704         * cursor.C (getPos): return absolute cached y coord
705
706         * BufferView_pimpl.C (fitCursor): new simplistic code
707         (workAreaDispatch): add a fitCursor call
708
709 2003-11-10  André Pönitz  <poenitz@gmx.net>
710
711         * BufferView.[Ch]:
712         * BufferView_pimpl.[Ch]: merge update() and updateInset()
713
714 2003-11-10  André Pönitz  <poenitz@gmx.net>
715
716         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
717         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
718         indicate that the cursor needs to leave an inset
719
720         * lyxtext.h: remove inset locking
721
722         * cursor.[Ch]: re-implement functionality provided by inset locking
723
724         * BufferView.[Ch]:
725         * BufferView_pimpl.[Ch]:
726         * LyXAction.C:
727         * bufferview_funcs.[Ch]:
728         * factory.C:
729         * funcrequest.[Ch]:
730         * iterators.C:
731         * lyx_cb.C:
732         * lyxfind.C:
733         * lyxfunc.C:
734         * text.C:
735         * text2.C:
736         * text3.C:
737         * undo.C: adjust
738
739 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
740
741         * PosIterator.[Ch]: replace the stack with a vector, add inset
742         accesor
743         * iterators.[C]: adjust
744
745 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
746
747         * lyxfind.C (replaceAll): mark the buffer dirty if something was
748         replaced
749         * paragraph_funcs.C (readParToken): put the correct id in the
750         error item, not the id of the top paragraph
751
752 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
753
754         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
755         * bufferview_funcs.C (put_selection_at): use the above
756
757 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
758
759         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
760
761 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * output_linuxdoc.h:
764         * output_plaintext.h:
765         * output.h:
766         * output_docbook.h: add #include statements
767
768 2003-11-05  José Matos  <jamatos@lyx.org>
769
770         * output_docbook.[Ch]:
771         * output_latex.[Ch]:
772         * output_linuxdoc.[Ch]:
773         * output_plaintext.[Ch]: New files for output formats.
774         * output.[Ch]: New file for helper functions.
775
776         * buffer.[Ch]:
777         * paragraph_funcs.[Ch]: output functions moved to new files.
778
779         * outputparams.h: rename of latexrunparams.h
780
781         * LaTeX.[Ch]:
782         * buffer.[Ch]:
783         * bufferlist.[Ch]:
784         * converter.[Ch]:
785         * exporter.C:
786         * paragraph.[Ch]:
787         * paragraph_funcs.[Ch]:
788         * paragraph_pimpl.[Ch]:
789         * tabular.[Ch]: rename ascii to plaintext
790         and LatexRunParams to OutputParams.
791
792 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
793
794         * iterators.[Ch] (text): require bv argument
795         * undo.C (recordUndo):
796         * lyxfunc.C (dispatch):
797         * bufferview_funcs.C (put_selection_at): adjust
798
799 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
800
801         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
802
803 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
804
805         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
806         nestings
807
808 2003-11-04  André Pönitz  <poenitz@gmx.net>
809
810         * cursor.[Ch]: restructure
811
812         * BufferView.[Ch]:
813         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
814
815         * iterators.[Ch] (asCursor): remove
816
817         * lfuns.h: remove LFUN_INSET_EDIT
818
819         * lyxfunc.C:
820         * tabular.C:
821         * text.C:
822         * text2.C:
823         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
824
825 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
826
827         * lyxfind.[Ch]: complete overhaul
828         * BufferView_pimpl.C:
829         * lyxfunc.C: adjust
830         * paragraph.[Ch] (insert): add
831
832 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
833
834         * BufferView.[Ch]:
835         * lyxtext.h:
836         * text.C: remove dead spellcheck code
837
838 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
839
840         * dispatchresult.h: add a val setter
841
842         * cursor.C (dispatch): use a tempvar for data_[i]
843
844 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
845
846         * PosIterator.[Ch]: compile fix
847
848 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
849
850         * text.C (cursorPar): deactivate the cursor cache
851
852 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
853
854         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
855
856 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
857
858         * text3.C (dispatch): adjust for new DisptchResult semantics.
859
860         * lyxfunc.C (dispatch): handle update when return from
861         Cursor::dispatch, adjust for new DispatchResult semantics.
862
863         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
864         DispatchResult(true) mean to not update. Add class functions for
865         setting dispatched and update, as well as reading.
866
867         * cursor.C (dispatch): don't handle update here
868
869 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
872         * trans_mgr.C: adjust
873
874         * paragraph_funcs.C (readParToken): exception safety
875
876         * lyxvc.h: store the vcs pointer in a scoped_ptr
877         * lyxvc.C: adjust
878
879         * lyxsocket.C (serverCallback): exception safety
880
881         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
882
883         * ispell.C (clone): make it return a auto_ptr
884
885         * factory.C (createInset): exception safety
886         (readInset): exception safety
887
888         * bufferlist.C (newBuffer): exception safety
889
890         * Thesaurus.C (Thesaurus): use initialization for aik_
891
892         * MenuBackend.C (expandToc): exception safety.
893
894 2003-11-03  André Pönitz  <poenitz@gmx.net>
895
896         * buffer.C:
897         * buffer.h:
898         * bufferview_funcs.C: remove getInsetFromId()
899
900         * lyxcursor.[Ch]:
901         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
902
903         * lyxfunc.C:
904         * text2.C:
905         * text3.C: adjust
906
907 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
908
909         * PosIterator.C (distance, advance): new
910         * bufferview_funcs.[Ch] (put_selection_at): new
911         * iterators.[Ch] (lockPath): new
912
913 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
914
915         * iterators.[Ch] (asPosIterator): added
916         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
917         * PosIterator.[Ch]: added
918
919 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * text3.C:
922         * lyxfunc.C:
923         * cursor.C (dispatch):
924         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
925
926         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
927         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
928         contructor, add a class function dispatched. Remove operator>=
929
930 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
931
932         * debug.C: only use the default constructor for debugstream
933         (lyxerr) here.
934
935         * main.C (main): include debug.h and setup the lyxerr streambuf
936         here.
937
938 2003-10-31  José Matos  <jamatos@lyx.org>
939
940         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
941
942         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
943         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
944         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
945         * paragraph_pimpl.C (simpleTeXSpecialC):
946         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
947         add LatexRunParams argument.
948
949         * exporter.C (Export): change call accordingly.
950
951         * latexrunparams.h: add new member to take care of the other backends.
952 2003-10-30  José Matos  <jamatos@lyx.org>
953
954         * buffer.C (makeLinuxDocFile, makeDocBookFile):
955         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
956         factorise code for paragraph output.
957         * buffer.[Ch]:
958         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
959         move functions.
960
961 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
962
963         * text3.C (dispatch):
964         * lyxfunc.C (dispatch):
965         * cursor.C (dispatch):
966         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
967
968         * dispatchresult.h: make the dispatch_result_t ctor explicit
969
970 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
971
972         * sgml.[Ch]:
973         * buffer.C: small refactoring of docbook stuff
974
975 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
976
977         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
978         meaning.
979
980 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
981
982         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
983         operator dispatch_result_t, and operators for == != and >=
984
985         * cursor.C (dispatch): adjust for operator dispatch_result_t
986         removal. comment out call to update
987
988         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
989
990 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
991
992         * text3.C:
993         * text2.C:
994         * text.C:
995         * lyxtext.h:
996         * lyxfunc.C:
997         * cursor.C:
998         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
999         (dispatch):
1000
1001         * dispatchresult.h: new file, DispatchResult broken out of
1002         insets/insetbase.h
1003
1004         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1005
1006 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1007
1008         * text.C (rowBreakPoint): put a hack inside #if 0
1009
1010 2003-10-28  André Pönitz  <poenitz@gmx.net>
1011
1012         * lyxtext.h:
1013         * metricsinfo.C:
1014         * paragraph_funcs.C:
1015         * rowpainter.C:
1016         * text.C:
1017         * text2.C: general cleanup (lots of small stuff)
1018
1019 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1020
1021         * text2.C (cursorEnd): simple fix to the "end key goes to one
1022         before the end on last row" bug
1023
1024 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1025
1026         * text.C (backspace): fix the "zombie characters"
1027
1028 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1029
1030         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1031
1032 2003-10-27  André Pönitz  <poenitz@gmx.net>
1033
1034         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1035
1036         * factory.C: handle new InsetPagebreak, InsetLine
1037
1038         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1039         and move handling into new InsetPagebreak, InsetLine
1040
1041         * BufferView_pimpl.C:
1042         * LyXAction.C:
1043         * ParagraphParameters.C:
1044         * ParameterStruct.h:
1045         * lyxfunc.C:
1046         * lyxtext.h:
1047         * paragraph.C:
1048         * paragraph.h:
1049         * paragraph_funcs.C:
1050         * paragraph_pimpl.C:
1051         * rowpainter.C:
1052         * text.C:
1053         * text2.C:
1054         * text3.C: adjust
1055
1056 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1057
1058         * text.C:
1059         * lyxrow_funcs.[Ch]:
1060         * Bidi.C:
1061         * paragraph.C:
1062         * lyxtext.h:
1063         * rowpainter.C:
1064         * text2.C:
1065         * text3.C: remove lastPos uses in favour of Row::endpos
1066
1067 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1068
1069         * undo.C (performUndoOrRedo): fix two crashes by setting a
1070         cursor by hand and reordering some calls. Use bv->lockInset instead
1071         of inset->edit because the latter loses cursor information
1072
1073 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1074
1075         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1076         by Martin
1077         (rowBreakPoint): fix width. change point to point + 1.
1078         Add a missing check.
1079
1080 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * MenuBackend.C:
1083         * lyxfunc.C: fix (at least partly) the problems
1084         with the Nav menu and headers inside branch insets
1085         reported by Kayvan
1086
1087 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1088
1089         * paragraph.C (getChar): add strong asserts
1090
1091         * lyxrow_funcs.C (lastPos): remove hideous hack
1092
1093         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1094         (fill): adjust to that (avoid an infinite loop)
1095
1096 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1097
1098         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1099
1100 2003-10-23  André Pönitz  <poenitz@gmx.net>
1101
1102         * RowList_fwd.h: change list<> to vector<> to gain speed
1103         after suggestion from Alfredo
1104
1105 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1106
1107         * lyxtext.h: move the bidi stuff from here...
1108         * text.C: and here
1109         * text2.C: and here
1110         * Bidi.[Ch]: ... to here
1111
1112 2003-10-23  André Pönitz  <poenitz@gmx.net>
1113
1114         * lyxtext.h:
1115         * text.C (isLastRow, isFirstRow): new functions
1116
1117         * paragraph.h: new width cache member
1118
1119         * rowpainter.C: replace RowList::iterator with Row & where possible
1120
1121         * lyxfunc.C: replace several view()->text with a single call
1122
1123         * toc.C: fix 'unused' warning
1124
1125 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1128         when woring with stream::pos_type
1129         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1130
1131 2003-10-22  André Pönitz  <poenitz@gmx.net>
1132
1133         * lyxtext.h:
1134         * text.C: use Row & instead of RowList::iterator
1135
1136         * lyxrow.h: rename end() to endpos()
1137
1138         * rowpainter.C:
1139         * text.C:
1140         * text2.C: adjust
1141
1142 2003-10-22  Angus Leeming  <leeming@lyx.org>
1143
1144         * buffer.[Ch] (fully_loaded): new member function, returning true
1145         only when the file has been loaded fully.
1146         Used to prevent the premature generation of previews and by the
1147         citation inset to prevent computation of the natbib-style label.
1148
1149         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1150         templates are all set up.
1151
1152         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1153
1154 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * text.C: fixed an "oops" in the "is a bit silly"
1157         bug fix
1158
1159 2003-10-21  André Pönitz  <poenitz@gmx.net>
1160
1161         * FuncStatus.[Ch]: small stuff, whitespace
1162
1163         * lyxfont.[Ch]: operator<<() for debug reasons
1164
1165         * lyxfunc.C:
1166         * lyxrow_funcs.C:
1167         * lyxtext.h: whitespace, spelling
1168
1169         * paragraph.C: naming of variables
1170
1171         * text.C:
1172         * text2.C: small stuff
1173
1174
1175 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * text.C: (1) finish off the inset display() work;
1178         (2) fix the "is a bit silly" bug (accessing char
1179         past end of par).
1180
1181 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1182
1183         * text.C: re-introduce display() for insets, fixing the
1184         various bugs (stretch of line above, math inset
1185         positioning, ...)
1186
1187 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * text.C (rightMargin): remove spurious semicolon
1190
1191         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1192         1415)
1193
1194 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * text3.C: fix one crash due to wrong cursor def
1197
1198 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * vc-backend.C (scanMaster): make the regex static
1201
1202         * LaTeX.C (scanAuxFile): make the regexs static
1203
1204         * text3.C (doInsertInset, dispatch, dispatch):
1205         * text2.C (cursorUp, cursorDown):
1206         * text.C (selectNextWordToSpellcheck):
1207         * BufferView_pimpl.C (dispatch):
1208         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1209
1210 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * lyxsocket.C: include <cerrno>
1213
1214 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1215
1216         * lyxfunc.C (dispatch): remove textcache stuff
1217
1218         * bufferlist.C (release): remove textcache stuff
1219         (closeAll): ditto
1220
1221         * TextCache.C: delete file
1222         * TextCache.h: delete file
1223
1224         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1225
1226         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1227         delete of the bv_->text.
1228         (resizeCurrentBuffer): remove texcache stuff
1229         (workAreaResize): ditto
1230
1231 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1232
1233         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1234         action.
1235
1236 2003-10-16  André Pönitz  <poenitz@gmx.net>
1237
1238         * lyxrow.[Ch]:
1239         * paragraph.h:
1240         * rowpainter.C:
1241         * text.C:
1242         * text2.C:
1243         * text3.C: speed up by storing y positions per paragraph plus per-row
1244         offset instead of having a 'full' y position in the row.
1245
1246 2003-10-15  André Pönitz  <poenitz@gmx.net>
1247
1248         * iterators.[Ch]:
1249         * iterators.[Ch]:
1250         * undo.[Ch]: make undo aware of inner insets
1251
1252 2003-10-14  Angus Leeming  <leeming@lyx.org>
1253
1254         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1255         static member functions LyX::ref() and LyX::cref.
1256         (lastfiles): new accessor functions for the new lastfiles_ member var.
1257         (addLyXView, views_): add a new LyXView to the list of views_.
1258         (updateInset): loop over all LyXViews to call their own updateInset
1259         member function, returning a pointer to the Buffer owning the inset.
1260
1261         * BufferView_pimpl.C (loadLyXFile):
1262         * MenuBackend.C (expandLastfiles):
1263         * bufferlist.C (MenuWrite, QuitLyX):
1264         lastfiles is no longer a global variable.
1265         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1266
1267         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1268         static function. Access through LyX::cref().emergencyCleanup().
1269
1270 2003-10-14  André Pönitz  <poenitz@gmx.net>
1271
1272         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1273
1274         * undo.[Ch]: restoring part of 'undo in insets'
1275
1276         * Makefile.am:
1277         * undo_funcs.[Ch]: merge with undo.[Ch]
1278
1279         * tabular.C: small cleansing stuff
1280
1281 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1282
1283         * paragraph_funcs.C (readParToken): report unknown insets as error
1284         boxes. Use the outer paragraph as location (also for unknown
1285         tokens).
1286
1287         * factory.C (readInset): do not abort on reading an unknown inset.
1288         Eat it and return 0.
1289
1290 2003-10-13  Angus Leeming  <leeming@lyx.org>
1291
1292         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1293
1294         * lyxrc.C: displayTranslator is now a function,
1295         declared in GraphicsTypes.h.
1296
1297 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1298
1299         * format.C: new placeholder $$a to pass the socket address.
1300
1301         * bufferlist.[Ch]: new function getBufferFromTmp.
1302
1303         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1304           files in the temporary dir.
1305
1306 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1307
1308         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1309
1310         * Makefile.am: add lyxsocket.[Ch].
1311
1312         * lyx_main.C (error_handler): handle SIGPIPE.
1313
1314 2003-10-13  André Pönitz  <poenitz@gmx.net>
1315
1316         * BufferView_pimpl.C:
1317         * lyxtext.h:
1318         * text.C:
1319         * text2.C:
1320         * text3.C:
1321         * undo_funcs.[Ch]: use paroffset_type instead of
1322           ParagraphList::iterators to prevent multiple conversion
1323           (and get a more robust interface)
1324
1325 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1326
1327         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1328         * lyxtext.h: ditto
1329         * text3.C (dispatch): ditto
1330
1331 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1332
1333         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1334         move the onlyfile, use onlyfile instead of foundfile in a couple
1335         of places.
1336
1337         * DepTable.C (update): flush the error stream a bit more
1338
1339 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * lyxserver.C (callback): adjust
1342
1343         * lyxfunc.C (getStatus): add a missing brace in commented code
1344         (ensureBufferClean): reindent
1345         (dispatch): delete version taking a string
1346
1347 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1348
1349         * LaTeX.C (deplog): move found file handlig from here...
1350         (handleFoundFile): .. to new function here.
1351         (deplog): make sure to discover several files mentioned on the
1352         same log line.
1353
1354 2003-10-10  André Pönitz  <poenitz@gmx.net>
1355
1356         * lyxfunc.C:
1357         * lyxtext.h:
1358         * tabular.C:
1359         * text.C:
1360         * text2.C:
1361         * text3.C: fix some of the tabular crashes
1362
1363 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1364
1365         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1366
1367         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1368
1369 2003-10-09  André Pönitz  <poenitz@gmx.net>
1370
1371         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1372
1373         * BufferView.C:
1374         * BufferView_pimpl.C:
1375         * bufferview_funcs.C:
1376         * lyx_cb.C:
1377         * lyxcursor.C:
1378         * lyxfind.C:
1379         * lyxfunc.C:
1380         * lyxtext.h:
1381         * text.C:
1382         * text2.C:
1383         * text3.C:
1384         * text_funcs.[Ch]:
1385         * textcursor.[Ch]:
1386         * undo_funcs.C: adjust
1387
1388 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1389
1390         * text2.C (incrementItemDepth): new function, use a backtracking
1391         algorithm to discover the correct item depth.
1392         (resetEnumCounterIfNeeded): new function, use a backtracking
1393         algorithm to discover if counter reset is needed.
1394         (setCounter): use them. Simplify a bit. Add different labels for
1395         different item depths for itemize.
1396
1397         * paragraph.C (Paragraph): remove initialization of enumdepth
1398         (operator=): ditto
1399
1400         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1401         enumerate and itemize. Change the type of itemdepth to signed char.
1402
1403 2003-10-08  André Pönitz  <poenitz@gmx.net>
1404
1405         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1406           thing assignable.
1407         * text.C:
1408         * text2.C: adjust
1409
1410         * tabular.[Ch]: fix crash after 'row-insert'
1411
1412 2003-10-08  Angus Leeming  <leeming@lyx.org>
1413
1414         Fix doxygen warnings.
1415
1416         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1417         Remove CutAndPaste:: prefix from header file declaration.
1418
1419         * LColor.h (fill): remove LColor:: prefix from declaration.
1420
1421         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1422         use lyx::depth_type rather than Paragraph::depth_type so that
1423         header file and .C file match.
1424
1425         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1426
1427         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1428         * aspell.C: \file aspell_local.C -> \file aspell.C
1429         * gettext.C: \file gettext.C -> \file src/gettext.C
1430         * gettext.h: \file gettext.h -> \file src/gettext.h
1431         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1432         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1433         * text.C: \file text.C -> \file src/text.C
1434
1435         * toc.C: move comment so that doxygen is not confused.
1436
1437 2003-10-07  Angus Leeming  <leeming@lyx.org>
1438
1439         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1440
1441 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1442
1443         * aspell.C:
1444         * aspell_local.h: add forgotten std::string's.
1445
1446 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1447
1448         * LaTeXFeatures.C:
1449         * LyXAction.C:
1450         * factory.C:
1451         * lfuns.h:
1452         * lyxfunc.C:
1453         * text3.C: The Box patch. Fancybox support, minipage, parbox
1454
1455 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1456
1457         * CutAndPaste.h:
1458         * DepTable.h:
1459         * FloatList.h:
1460         * LaTeXFeatures.h:
1461         * ParagraphParameters.h:
1462         * TextCache.h:
1463         * Thesaurus.h:
1464         * bufferlist.h:
1465         * exporter.h:
1466         * importer.h:
1467         * lastfiles.h:
1468         * lyxfind.h:
1469         * lyxfont.h:
1470         * lyxlex.h:
1471         * lyxtextclasslist.h:
1472         * messages.h:
1473         * paragraph.h:
1474         * paragraph_pimpl.C:
1475         * textcursor.h: add <string> and other small fixes to make Lars'
1476         std::string patch compile with STLport.
1477
1478 2003-10-06  Angus Leeming  <leeming@lyx.org>
1479
1480         * LColor.h: Add missing #include <string>.
1481
1482 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1483
1484         * All most all file in all subdirs: Make <string> be the prefered
1485         way of getting to std::string, add using declarations.
1486
1487 2003-10-06  André Pönitz  <poenitz@gmx.net>
1488
1489         * metricsinfo.C: initialize LyXFont before changing attribute.
1490         (fixes the 'math in \emph is upright' bug)
1491
1492 2003-10-06  André Pönitz  <poenitz@gmx.net>
1493
1494         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1495
1496 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1497
1498         * graph.C:
1499         * paragraph_pimpl.C: Small fixes to build using STLport
1500
1501 2003-10-02  André Pönitz  <poenitz@gmx.net>
1502
1503         * lyxfunc.C:
1504         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1505
1506 2003-10-01  André Pönitz  <poenitz@gmx.net>
1507
1508         * factory.C: assert early
1509
1510 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1511
1512         * lyx_main.C: remove the global debug object
1513
1514         * debug.h: adjust for new debugstream
1515
1516         * debug.C: adjust for new debugstream and keep the global debug
1517         object here.
1518
1519 2003-09-22  Angus Leeming  <leeming@lyx.org>
1520
1521         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1522         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1523         an incomplete class LyXFont.
1524
1525 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1526
1527         * factory.C: bug fix in branches
1528
1529 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * lyxfunc.C (processKeySym): adjust
1532         (dispatch): adjust
1533         (dispatch): change arg name from ev to func, adjust
1534         (sendDispatchMessage): ditto
1535
1536         * lyx_main.C (defaultKeyBindings): adjust keybindings
1537         (deadKeyBindings): ditto
1538
1539         * kbsequence.C (addkey): return a FuncRequest
1540
1541         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1542
1543         * kbmap.C (bind): take a FuncRequest as arg, adjust
1544         (read): adjust
1545         (lookup): adjust
1546         (defkey): change to take a FuncRequest as arg, adjust
1547         (findbinding): take a FuncRequest as arg, adjust.
1548
1549         * funcrequest.h (operator=): added
1550
1551         * funcrequest.C (FuncRequest): default kb_action changed from
1552         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1553
1554         * buffer.C (dispatch): simplify
1555         (dispatch): adjust to take a FuncRequest as arg, adjust
1556
1557         * boost.C (assertion_failed): change assertion message slightly
1558
1559         * ToolbarBackend.C (read): simplify
1560
1561         * MenuBackend.C (binding): adjust call to findbinding, add a
1562         message if no binding is found.
1563         (read): simplify
1564         (expandToc): correct by adding a empty FuncRequest
1565
1566         * LyXAction.C: include <boost/assert.hpp>
1567         (isPseudoAction): delete function
1568         (LookupFunc): change name to...
1569         (lookupFunc): this. change return type to FuncRequest.
1570         (getActionName): take kb_action as arg, simplify
1571         (funcHasFlag): add an assert, simplify.
1572
1573 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * toc.C (action): return a FuncRequest, simplify
1576
1577         * lyxfunc.C (processKeySym): adjust
1578         (getStatus): delete version that takes an int.
1579         (getStatus): adjust
1580         (dispatch): delete version that takes action as int
1581         (dispatch): adjust
1582         (sendDispatchMessage): simplify and adjust
1583
1584         * funcrequest.C (getArg): take unsigned int as arg
1585
1586         * ToolbarBackend.C (read): adjust
1587         (add): delete version that takes func as a string.
1588         (getIton): take a FuncRequest as arg
1589
1590         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1591         action.
1592
1593         * MenuBackend.C (MenuItem): add a new construct that only takes a
1594         Kind, simplify the constructor use for submenus.
1595         (add): adjust
1596         (expandLastfiles): adjust
1597         (expandDocuments): adjust
1598         (expandFormats): adjust
1599         (expandFloatListInsert): adjust
1600         (expandFloatInsert): adjust
1601         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1602
1603         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1604         Remove class variables lyx_pseudo_map and lyx_arg_map
1605
1606         * LyXAction.C (searchActionArg): delete function
1607         (getPseudoAction): delete function
1608         (retrieveActionArg): delete function
1609         (LookupFunc): make it return kb_action, simplify.
1610         (getActionName): simplify
1611
1612         * factory.C (createInset): fix new bug
1613
1614 2003-09-19  Angus Leeming  <leeming@lyx.org>
1615
1616         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1617         masterFilename_ parameter in the include inset.
1618
1619         * factory.C (createInset): changes due to the changes to InsetInclude.
1620
1621 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1622
1623         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1624
1625 2003-09-18  Angus Leeming  <leeming@lyx.org>
1626
1627         * buffer.C:
1628         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1629         Inset::fillWithBibKeys.
1630         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1631
1632 2003-09-18  Angus Leeming  <leeming@lyx.org>
1633
1634         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1635         variables.
1636         (ctor): pass and store a 'Buffer const &'
1637         (buffer): new member function.
1638
1639         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1640         '*this' to the LaTeXFeatures ctor.
1641
1642 2003-09-18  Angus Leeming  <leeming@lyx.org>
1643
1644         * LColor.h:
1645         * lyxfont.C:
1646         * lyxfont.h:
1647         * lyxtext.h:
1648         * text.C: rename EnumLColor as LColor_color.
1649
1650 2003-09-18  Angus Leeming  <leeming@lyx.org>
1651
1652         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1653         remove #include "insets/insetbase.h" from cursor.h.
1654
1655 2003-09-18  Angus Leeming  <leeming@lyx.org>
1656
1657         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1658         InsetOld_code to remove #include "inset.h".
1659
1660         * iterators.C: add #include "insets/inset.h"
1661
1662 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1663
1664         * BufferView.C: remove more locking stuff that apparently doesn't
1665         do anything sensible.
1666
1667 2003-09-16  André Pönitz  <poenitz@gmx.net>
1668
1669         * paragraph.[Ch]:
1670         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1671           performance boost.
1672
1673 2003-09-16  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1676
1677         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1678         arg/return type.
1679
1680         * paragraph.h: remove #include "lyxfont.h". Forward declare
1681         LyXFont_size.
1682
1683 2003-09-16  Angus Leeming  <leeming@lyx.org>
1684
1685         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1686         of support/textutils.h.
1687         (isWord): move the contents of support/textutils.h's IsWordChar here.
1688
1689         * buffer.C:
1690         * lyxfind.C:
1691         * rowpainter.C:
1692         * text.C:
1693         * text2.C: add #include "paragraph.h".
1694
1695         * rowpainter.C:
1696         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1697
1698 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1699
1700         * main.C:
1701         * lyx_main.C:
1702         * lyx_cb.C:
1703         * buffer.C:
1704         * LaTeX.C: use namespace alias for lyx::support::os
1705
1706 2003-09-16  Angus Leeming  <leeming@lyx.org>
1707
1708         * bufferparams.C:
1709         * bufferview_funcs.C:
1710         * factory.C:
1711         * lyxfunc.C:
1712         * paragraph_pimpl.C:
1713         * rowpainter.C:
1714         * text.C: add #include "LColor.h".
1715
1716 2003-09-16  Angus Leeming  <leeming@lyx.org>
1717
1718         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1719         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1720         return LyXFont &.
1721         Store the FontBits::color variable as an int rather than as an
1722         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1723         file.
1724
1725         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1726         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1727         string calls together.
1728
1729         * lyxrc.C: add #include "LColor.h".
1730
1731 2003-09-15  Angus Leeming  <leeming@lyx.org>
1732
1733         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1734         a cow_ptr.
1735
1736 2003-09-15  Angus Leeming  <leeming@lyx.org>
1737
1738         * LColor.h: add an EnumLColor wrapper for LColor::color.
1739
1740         * lyxfont.[Ch] (color, setColor, realColor):
1741         * lyxtext.h, text.C (backgroundColor):
1742         pass EnumLColor args to/from the functions, rather than LColor::color
1743         ones.
1744
1745         * lyxfont.h:
1746         * lyxtext.h: forward declare EnumLColor.
1747
1748         * lyx_main.C: add #include "LColor.h".
1749
1750 2003-09-15  Angus Leeming  <leeming@lyx.org>
1751
1752         * .cvsignore: add lyx-gtk.
1753
1754 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1755
1756         * Chktex.C
1757         * LaTeX.C
1758         * LaTeXFeatures.C
1759         * ParagraphParameters.C
1760         * Spacing.C
1761         * buffer.C
1762         * bufferparams.C
1763         * bufferview_funcs.C
1764         * chset.C
1765         * counters.C
1766         * funcrequest.C
1767         * lyxfont.C
1768         * lyxgluelength.C
1769         * lyxlength.C
1770         * paragraph.C
1771         * paragraph_funcs.C
1772         * text3.C
1773         * vc-backend.C: remove usage of STRCONV
1774
1775 2003-09-15  Angus Leeming  <leeming@lyx.org>
1776
1777         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1778         explicitly define the color passed to the painter.
1779
1780 2003-09-15  Angus Leeming  <leeming@lyx.org>
1781
1782         * bufferparams.C (BufferParams): reorder member initializers to avoid
1783         compiler warning.
1784
1785 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1786
1787         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1788         * text.C (updateRowPositions): remove an unusual nop
1789
1790 2003-09-12  André Pönitz  <poenitz@gmx.net>
1791
1792         * BufferView_pimpl.C:
1793         * Bullet.C:
1794         * layout.h:
1795         * lyxfunc.C:
1796         * lyxlayout.[Ch]:
1797         * lyxtextclass.C:
1798         * rowpainter.C:
1799         * text.C:
1800         * text2.C:
1801         * Counters.[Ch]: finish the 'automatic counters' job
1802
1803 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1804
1805         * aspell.C: include <boost/assert.cpp> (compile fix)
1806
1807 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1808
1809         * boost.C (assertion_failed): use lyx::support::abort instead of
1810         assert.
1811
1812 2003-09-10  Angus Leeming  <leeming@lyx.org>
1813
1814         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1815         with their _fwd progeny.
1816
1817 2003-09-09  Angus Leeming  <leeming@lyx.org>
1818
1819         134 files throughtout the source tree: replace 'using namespace abc;'
1820         directives with the appropriate 'using abc::xyz;' declarations.
1821
1822 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1823
1824         * boost.C (emergencyCleanup): moved here from LAssert.c
1825         (assertion_failed): new function, called by BOOST_ASSERT
1826
1827         * several files: change Assert to BOOST_ASSERT
1828
1829 2003-09-09  Angus Leeming  <leeming@lyx.org>
1830
1831         * buffer.[Ch]: Add an Impl class and move Buffer's member
1832         variables into it. As a result move several header files out of
1833         buffer.h.
1834
1835         Add header files to lots of .C files all over the tree as a result.
1836
1837 2003-09-09  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer.[Ch]: make Buffer's member variables private. Add
1840         accessor functions.
1841
1842         Lots of changes all over the tree as a result.
1843
1844 2003-09-08  Angus Leeming  <leeming@lyx.org>
1845
1846         * graph.C: #include <config.h>.
1847
1848 2003-09-08  Angus Leeming  <leeming@lyx.org>
1849
1850         * BranchList.C:
1851         * BufferView.C:
1852         * BufferView_pimpl.C:
1853         * CutAndPaste.C:
1854         * DepTable.C:
1855         * LaTeX.C:
1856         * LaTeXFeatures.C:
1857         * LyXAction.C:
1858         * MenuBackend.C:
1859         * TextCache.C:
1860         * aspell.C:
1861         * buffer.C:
1862         * bufferlist.C:
1863         * changes.C:
1864         * chset.C:
1865         * converter.C:
1866         * counters.C:
1867         * debug.C:
1868         * graph.C:
1869         * ispell.C:
1870         * lyx_cb.C:
1871         * lyxfind.C:
1872         * lyxfunc.C:
1873         * lyxlex_pimpl.C:
1874         * lyxrc.C:
1875         * lyxrow.C:
1876         * paragraph.C:
1877         * rowpainter.C:
1878         * texrow.C:
1879         * text.C:
1880         * text2.C:
1881         * toc.C: remove redundant using directives.
1882
1883 2003-09-07  Angus Leeming  <leeming@lyx.org>
1884
1885         * LaTeXFeatures.h: remove #include "support/types.h".
1886         * ToolbarBackend.h: remove #include <algorithm>.
1887         * changes.h: remove #include <ctime>.
1888         * debug.h: remove #include <iosfwd>.
1889         * graph.h: remove #include "support/std_string.h".
1890         * lyx_main.h: remove #include <csignal>.
1891         * lyxlex_pimpl.h: remove #include <fstream>.
1892         * sgml.h: remove #include <algorithm>, <utility>.
1893         * toc.h: remove #include "support/std_ostream.h".
1894         Add #include <iosfwd>.
1895
1896 2003-09-07  Angus Leeming  <leeming@lyx.org>
1897
1898         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1899
1900         * converter.h: forward declare LatexRunParams.
1901         * encoding.h: remove #include "lyxrc.h".
1902         * lyxtext.h: remove #include "LColor.h".
1903         * lyxtextclass.h: remove #include "support/types.h".
1904         * trans.h: remove #include "tex-accent.h".
1905         * trans_mgr.h: remove #include "tex-accent.h".
1906         * insets/inset.h: remove #include "support/types.h", <vector>.
1907         * insets/insetcollapsable.h: remove #include "LColor.h".
1908         * insets/insetinclude.h: remove #include "dimension.h".
1909         * insets/insetlatexaccent.h: remove #include "dimension.h".
1910         * insets/insetoptarg.h:: remove #include "insettext.h".
1911         * insets/insettext.h: remove #include "dimension.h",
1912         <boost/shared_ptr.hpp>
1913
1914         * insets/renderers.h: add #include "dimension.h".
1915         * insets/updatableinset.h: add #include "support/types.h".
1916
1917         * many .C files: Associated changes.
1918
1919 2003-09-06  Angus Leeming  <leeming@lyx.org>
1920
1921         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1922         one, inside testInvariant.
1923
1924         * PrinterParams.C: new file.
1925         * PrinterParams.[Ch]: move the function bodies out of line.
1926
1927 2003-09-06  Angus Leeming  <leeming@lyx.org>
1928
1929         * ParagraphParameters.h: forward declare ParameterStruct rather than
1930         including its header file.
1931         (depth): moved out-of-line.
1932
1933 2003-09-06  Angus Leeming  <leeming@lyx.org>
1934
1935         * BufferView_pimpl.h:
1936         * kbmap.h:
1937         * kbsequence.h:
1938         * lyxfunc.h: forward declare LyXKeySym rather than
1939         #include "frontends/LyXKeySym.h".
1940
1941         * BufferView_pimpl.C:
1942         * kbmap.C:
1943         * kbsequence.C:
1944         * lyxfunc.C: associated changes.
1945
1946 2003-09-06  Angus Leeming  <leeming@lyx.org>
1947
1948         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1949         As a result, can remove the #include "insets/inset.h" from BufferView.h
1950
1951 2003-09-06  Angus Leeming  <leeming@lyx.org>
1952
1953         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1954         As a result, can remove the #include "insets/inset.h" from BufferView.h
1955
1956 2003-09-06  Angus Leeming  <leeming@lyx.org>
1957
1958         * buffer_funcs.C:
1959         * buffer.h:
1960         * bufferlist.C:
1961         * BufferView.C:
1962         * bufferview_funcs.C:
1963         * BufferView_pimpl.C:
1964         * CutAndPaste.C:
1965         * lyx_cb.C:
1966         * lyxfunc.C:
1967         * paragraph.h:
1968         * ParagraphParameters.C:
1969         * tabular.C:
1970         * text3.C:
1971         * toc.C:
1972         * undo_funcs.C:
1973         * frontends/controllers/ControlDocument.C:
1974         * insets/insetcaption.C: rearrange the #includes into some sort of
1975         coherent order.
1976
1977         * buffer.h: remove #includes ErrorList.h, undo.h
1978
1979 2003-09-06  Angus Leeming  <leeming@lyx.org>
1980
1981         * support/types.h: add a 'depth_type' typedef, used to store the
1982         nesting depth of a paragraph.
1983
1984         * paragraph.h:
1985         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1986         defining explicitly.
1987
1988         * buffer.h:
1989         * paragraph_funcs.h:
1990         * ParagraphParameters.h:
1991         * sgml.h: use lyx::depth_type rather than Paragraph or
1992         ParameterStruct's depth_type.
1993
1994         * buffer.h
1995         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1996
1997         * BufferView.C:
1998         * BufferView_pimpl.C:
1999         * CutAndPaste.C:
2000         * ParagraphParameters.C:
2001         * buffer_funcs.C:
2002         * bufferlist.C:
2003         * bufferview_funcs.C:
2004         * lyx_cb.C:
2005         * lyxfunc.C:
2006         * tabular.C:
2007         * text3.C:
2008         * toc.C:
2009         * undo_funcs.C:
2010         * frontends/LyXView.C:
2011         * frontends/controllers/ControlDocument.C:
2012         * frontends/controllers/ControlErrorList.C:
2013         * insets/insetbibitem.C:
2014         * insets/insetbranch.C:
2015         * insets/insetcaption.C:
2016         * insets/insetcollapsable.C:
2017         * insets/insetenv.C:
2018         * insets/insetert.C:
2019         * insets/insetfloat.C:
2020         * insets/insetfoot.C:
2021         * insets/insetfootlike.C:
2022         * insets/insetnewline.C:
2023         * insets/insetquotes.C:
2024         * insets/insettabular.C:
2025         * insets/insettext.C:
2026         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2027
2028         * frontends/controllers/ControlChanges.C: #include "changes.h".
2029
2030 2003-09-06  Angus Leeming  <leeming@lyx.org>
2031
2032         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2033         than #including paragraph.h.
2034
2035         * ParagraphList.h:
2036         * RowList.h: deleted. Superfluous.
2037
2038         * CutAndPaste.h:
2039         * iterators.h:
2040         * lyxcursor.h:
2041         * lyxtext.h:
2042         * text_funcs.h:
2043         * undo.h:
2044         * undo_funcs.h:
2045         * insets/inset.h:
2046         * insets/insettext.h: use ParagraphList_fwd.h rather than
2047         ParagraphList.h.
2048
2049         * paragraph.h: don't forward declare ParagraphList.
2050
2051         * buffer.h:
2052         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2053         rather than ParagraphList.h. paragraph.h is still needed for the
2054         Paragraph::depth_type parameters.
2055
2056         * textcursor.h: enable it to compile stand-alone in light of the
2057         above changes.
2058
2059         * bufferview_funcs.C:
2060         * iterators.C:
2061         * lyxfunc.C:
2062         * lyxrow_funcs.C:
2063         * paragraph.C:
2064         * rowpainter.C:
2065         * text.C:
2066         * text2.C:
2067         * text3.C:
2068         * text_funcs.C:
2069         * textcursor.C:
2070         * undo.C:
2071         * frontends/controllers/ControlParagraph.C:
2072         * frontends/controllers/ControlTabular.C:
2073         * insets/insetmarginal.C:
2074         * insets/insetminipage.C:
2075         * insets/insetnote.C:
2076         * insets/insetoptarg.C: add header files needed to compile again.
2077
2078 2003-09-06  Angus Leeming  <leeming@lyx.org>
2079
2080         * RowList_fwd.h: new file, forward-declaring Row rather than
2081         #including lyxrow.h.
2082
2083         * lyxrow_funcs.h:
2084         * lyxtext.h:
2085         * paragraph.h:
2086         * insets/insettext.h: use it instead of RowList.h
2087
2088         * bufferview_funcs.C:
2089         * lyxfunc.C:
2090         * lyxrow_funcs.C:
2091         * paragraph.C:
2092         * rowpainter.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C: #include "RowList.h".
2096
2097 2003-09-05  Angus Leeming  <leeming@lyx.org>
2098
2099         * factory.C (createInset):
2100         * vspace.C (c-tor): replace sscanf call with an istringstream.
2101         * ispell.C: re-add missing HP/UX headers.
2102         * lyxserver.C: re-add missing  os2 headers.
2103
2104 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2105
2106         * BranchList.C:
2107         * graph.C:
2108         * ispell.C:
2109         * lastfiles.C:
2110         * lyx_cb.C:
2111         * lyxserver.C:
2112         * texrow.C:
2113         * text3.C: re-add missing system headers, needed for 2.95.2.
2114
2115 2003-09-05  Angus Leeming  <leeming@lyx.org>
2116
2117         Changes most place everywhere due to the removal of using directives
2118         from support/std_sstream.h.
2119
2120 2003-09-05  Angus Leeming  <leeming@lyx.org>
2121
2122         Replace LString.h with support/std_string.h,
2123         Lsstream.h with support/std_sstream.h,
2124         support/LIstream.h with support/std_istream.h,
2125         support/LOstream.h with support/std_ostream.h.
2126
2127         Changes resulting throughout the tree.
2128
2129 2003-09-05  Angus Leeming  <leeming@lyx.org>
2130
2131         * sgml.h: ensure that the header file can be compiled stand-alone.
2132         * *.C: strip out redundant #includes. (320 in total.)
2133
2134 2003-09-04  Angus Leeming  <leeming@lyx.org>
2135
2136         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2137         here (from getPackages).
2138
2139         * debug.[Ch]: add a new EXTERNAL tag.
2140
2141 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2142
2143         * text2.C (cursorEnd): simplify
2144         (setCursor): adjust
2145         (getColumnNearX): adjust
2146
2147         * text.C (computeBidiTables): adjust
2148         (fill): adjust
2149
2150         * rowpainter.C (paintChars): adjust
2151         (paintSelection): adjust
2152         (paintChangeBar): adjust
2153         (paintText): adjust
2154
2155         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2156         lastPos instead.
2157         (numberOfSeparators): adjust
2158
2159 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2160
2161         * LyXAction.C:
2162         * box.[Ch]:
2163         * lfuns.h:
2164         * lyxfunc.C:
2165         * text3.C: Restricts the mouse click functionality
2166         of insets like bibtex, include, toc and floatlist to the visible
2167         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2168         up the dialogs. Cursor has to be in front of the inset (i.e.
2169         start of row) for this to function.
2170
2171 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2172
2173         * bufferview_funcs.C (currentState): output row information
2174
2175 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2176
2177         * bufferview_funcs.C (currentState): output paragraph position
2178
2179 2003-09-04  Angus Leeming  <leeming@lyx.org>
2180
2181         * FloatList.h: move out #include "Floating.h".
2182         * LaTeX.h: move out #include "DepTable.h".
2183         * LyXAction.h: move out #include "funcrequest.h".
2184         * buffer.h: move out #include "author.h", "iterators.h".
2185         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2186         * lyx_main.h: move out #include "errorlist.h".
2187         * lyxfunc.h: move out #include "FuncStatus.h".
2188         * lyxtext: move out #include "lyxcursor.h".
2189         * paragraph_pimpl.h: move out #include "counters.h".
2190
2191 2003-09-03  Angus Leeming  <leeming@lyx.org>
2192
2193         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2194         preamble_snippets list, enabling us to add snippets to the preamble
2195         only if the snippet was not there already.
2196
2197 2003-09-04  Angus Leeming  <leeming@lyx.org>
2198
2199         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2200
2201 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2204         update
2205
2206 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * BranchList.C: point fix, earlier forgotten
2209
2210 2003-09-02  Angus Leeming  <leeming@lyx.org>
2211
2212         * box.C (contains): renamed from 'contained' after a fantastic
2213         amount of hot air.
2214
2215 2003-09-02  John Levon  <levon@movementarian.org>
2216
2217         * BufferView.C:
2218         * lyxcursor.h:
2219         * lyxcursor.C:
2220         * lyxfunc.C:
2221         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2222
2223 2003-09-02  John Levon  <levon@movementarian.org>
2224
2225         * text2.C: simplification of cursorEnd(), including partial
2226         fix for bug 1376
2227
2228 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * buffer.C (readFile): add a space
2231
2232 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2233
2234         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2235
2236 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * buffer.C (readFile): new function, take a filename and a
2239         ParagraphList::iterator
2240         (readFile): adjust
2241         (readFile): adjust, make it private. don't use setStream, make
2242         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2243         always contain the filename.
2244
2245         * BufferView.C (insertLyXFile): simplify and make it work for
2246         gzipped files.
2247
2248 2003-08-30  John Levon  <levon@movementarian.org>
2249
2250         * Makefile.am: fix dist (from Kayvan)
2251
2252 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * most files: change to use const Buffer refs
2255
2256 2003-08-27  André Pönitz  <poenitz@gmx.net>
2257
2258         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2259         on top of ownerPar().
2260
2261 2003-08-27  John Levon  <levon@movementarian.org>
2262
2263         * funcrequest.C: properly initialise POD members
2264
2265 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2266
2267         * lyxtext.h (top_y): move top_y from here
2268         * text.C:
2269         * text2.C:
2270         * text3.C:
2271         * BufferView.[Ch]:
2272         * BufferView_pimpl.[Ch]: to here
2273         * frontends/screen.C:
2274         * insets/insettabular.C:
2275         * insets/insettext.C: adjust
2276         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2277
2278 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2279
2280         * BufferView.[Ch]:
2281         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2282
2283 2003-08-26  André Pönitz  <poenitz@gmx.net>
2284
2285         * paragraph_func.[Ch] (outerPar): new function
2286
2287         * paragraph.C:
2288         * paragraph_funcs.C:
2289         * paragraph_funcs.h:
2290         * paragraph_pimpl.C:
2291         * text2.C: remove Inset::par_owner
2292
2293 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2294
2295         * lyxrow_funcs.C:
2296         * lyxtext.h:
2297         * text.C:
2298         * text2.C: eliminates the needFullRow/display() stuff
2299         altogether, putting the logic in metrics/draw in the insets.
2300
2301 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2302
2303         * text2.C (redoParagraphInternal, redoParagraphs):
2304         * text.C (redoParagraph): add a call to updateRowPositions at the
2305         end of each 'metrics-like' call. Remove all others.
2306         (getRow): remove the 'y-computing' version.
2307         (getRowNearY): do not compute nor return the real y. Solve the
2308         'y < 0' problem and simplify.
2309
2310 2003-08-22  Angus Leeming  <leeming@lyx.org>
2311
2312         * *.[Ch]: clean-up of licence and author blurbs.
2313         Also move config.h out of a few .h files and into a few .C files.
2314
2315 2003-08-22  André Pönitz  <poenitz@gmx.net>
2316
2317         * lyxrow.[Ch]: add x_ and *fill_ members
2318
2319         * lyxtext.h:
2320         * text.C:
2321         * rowpainter.C:
2322         * text2.C: adjust/remove prepareToPrint() calls
2323
2324 2003-08-22  André Pönitz  <poenitz@gmx.net>
2325
2326         * lyxrow.[Ch]: add  end_ member
2327
2328         * lyxrow_funcs.C: use LyXRow::end_
2329
2330         * lyxtext.h (singleWidth): add LyXFont parameter
2331
2332         * rowpainter.C:
2333         * text2.C: adjust LyXText::singleWidth() calls
2334
2335         * text.C (redoParagraph): simplify row breaking logic
2336
2337
2338 2003-08-19  André Pönitz  <poenitz@gmx.net>
2339
2340         * funcrequest.C: initialize button_ member
2341
2342         * text3.C:
2343         * rowpainter.[Ch]: interface consolidation
2344
2345 2003-08-18  André Pönitz  <poenitz@gmx.net>
2346
2347         * BufferView.C:
2348         * BufferView_pimpl.C:
2349         * lyxfind.C:
2350         * paragraph_funcs.C:
2351         * rowpainter.C:
2352         * text3.C: remove LyXScreen::draw() and fitCursor calls
2353
2354         * BranchList.h: remove spurious semicolons
2355
2356         * MenuBackend.C: fix branchlist related crash
2357
2358 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2359
2360         * BranchList.[Ch]:
2361         * InsetList.[Ch]:
2362         * LColor.[Ch]:
2363         * LyXAction.C:
2364         * Makefile.am:
2365         * MenuBackend.[Ch]:
2366         * bufferparams.[Ch]:
2367         * factory.C:
2368         * lfuns.h:
2369         * lyxfunc.C:
2370         * text3.C: implements the 'branch inset'
2371         idea. This allows the output of various versions of a document
2372         from a single source version, selectively outputing or suppressing
2373         output of parts of the text.
2374         This implementation contains a 'branch list editor' in a separate
2375         tab of the document settings dialog. Branches are user definable
2376         and have a "display colour" to distinguish them on-screen.
2377
2378         ColorHandler was somewhat cleaned up.
2379         (1) make possible a dynamically growing LColor list by allowing
2380         the graphic context cache to grow along (vector);
2381         (2) eliminate an IMHO unnecessary step in colour allocation.
2382
2383 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2384
2385         * BufferView_pimpl.C: compile fix
2386
2387 2003-08-15  André Pönitz  <poenitz@gmx.net>
2388
2389         * rowpainter.C: remove extra metrics calls
2390
2391         * lyxtext.h: merge the two constructors into a single one,
2392           pass reference to owner's par list
2393
2394         * BufferView_pimpl.C:
2395         * text.C:
2396         * text2.C: adjust
2397
2398 2003-08-15  André Pönitz  <poenitz@gmx.net>
2399
2400         * lyxrow_funcs.[Ch]:
2401         * lyxtext.h:
2402         * paragraph.h:
2403         * paragraph_funcs.C:
2404         * rowpainter.C:
2405         * text.C:
2406         * text2.C:
2407         * text3.C:
2408         * text_funcs.C: split LyXText::rowlist_ into individual
2409         Paragraph::rows_ chunks
2410
2411         * BufferView.[Ch]:
2412         * BufferView_pimpl.[Ch]:
2413         * lyxfind.C:
2414         * lyxtext.h:
2415         * text3.C: remove toggleSelection()
2416
2417 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2418
2419         * bufferlist.C: beautify two alerts (shorter text of buttons)
2420         * buffer.C: Remove redundant ' ' from message
2421         * tabular.h:
2422         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2423         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2424         rename VALIGN_CENTER to VALIGN_MIDDLE
2425
2426 2003-08-11  André Pönitz  <poenitz@gmx.net>
2427
2428         * lyxtext.h (getPar):
2429         * text.C: new function
2430
2431 2003-08-11  André Pönitz  <poenitz@gmx.net>
2432
2433         * Makefile.am:
2434         * tracer.[Ch]: remove unneeded files
2435
2436         * InsetList.[Ch]: remove resizeInsetsLyXText()
2437
2438         * lyxtext.h:
2439         * text.C:
2440         * text2.C:
2441         * text3.C: merge insertParagraphs() and appendParagraph()
2442         remove breakAgain(), update()
2443
2444         * BufferView_pimpl.[Ch]:
2445         * bufferview_funcs.[Ch]:
2446         * lyxfunc.C:
2447         * paragraph.[Ch]:
2448         * rowpainter.C:
2449         * tabular.C: adjust after text & InsetList changes.
2450
2451 2003-08-08  André Pönitz  <poenitz@gmx.net>
2452
2453         * text.C (insertChar, backspace): replace rowlist fiddling
2454         with rebreak of full par
2455
2456         * lyxtext.h:
2457         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2458         checkParagraph, updateInset): removed
2459
2460 2003-08-07  André Pönitz  <poenitz@gmx.net>
2461
2462         * paragraph.C:
2463         * text3.C: merge some LFUN handlers, remove dead code
2464
2465 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2466
2467         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2468
2469 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2470
2471         * text2.C (DEPM): fix part of bug 1255 and 1256
2472
2473 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2474
2475         * BufferView_pimpl.C (workAreaDispatch): change to use
2476         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2477         that are no mouse related.
2478
2479 2003-08-05  André Pönitz  <poenitz@gmx.net>
2480
2481         * BufferView.[Ch]:
2482         * BufferView_pimpl.[Ch]:
2483         * bufferview_funcs.C:
2484         * text2.C:
2485         * text3.C: rip out "deep update"
2486
2487         * textcursor.[Ch] (last_sel_cursor): remove unused member
2488
2489 2003-08-04  André Pönitz  <poenitz@gmx.net>
2490
2491         * BufferView.[Ch]:
2492         * BufferView_pimpl.[Ch]:
2493         * ParagraphParameters.C:
2494         * bufferview_funcs.C:
2495         * lyx_cb.C:
2496         * lyxfind.C:
2497         * lyxfunc.C:
2498         * text.C:
2499         * text2.C:
2500         * text3.C: replace "complicated" BufferView::update(...) calls with
2501         simpler ones.
2502
2503         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2504
2505 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2506
2507         * Makefile.am (lyx_SOURCES): add paper.h
2508
2509 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2510
2511         * Makefile.am: move things around so that both lyx-qt and
2512         lyx-xforms can be built (according to --with-frontend). Then lyx
2513         is a symbolic link to lyx-[firstfrontend]
2514
2515 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2516
2517         * Always use std::endl with lyxerr
2518
2519 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2520
2521         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2522
2523 2003-08-01  André Pönitz  <poenitz@gmx.net>
2524
2525         * BufferView.[Ch]:
2526         * BufferView_pimpl.[Ch]:
2527         * lyxfunc.C:
2528         * text3.C: merge BufferView::repaint() and BufferView::update()
2529
2530 2003-08-01  José Matos  <jamatos@lyx.org>
2531
2532         * buffer.[Ch]: file_format is no longer a buffer data element.
2533
2534 2003-08-01  André Pönitz  <poenitz@gmx.net>
2535
2536         * BufferView.C:
2537         * lyxtext.h:
2538         * text.C:
2539         * text2.C: make redoParagraph more independent of current cursor
2540
2541         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2542         * text.C:
2543         * text2.C: remove unneeded members
2544
2545 2003-07-30  André Pönitz  <poenitz@gmx.net>
2546
2547         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2548
2549         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2550           create a single function...
2551
2552         * paragraph_funcs.C (moveItem): ... here.
2553
2554         * text.C:
2555           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2556
2557 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2558
2559         * LColor.[Ch]: Add comment and greyedout logical colors.
2560
2561 2003-07-30  André Pönitz  <poenitz@gmx.net>
2562
2563         * tabular.C: don't use Assert too heavily. This crashes where it
2564           shouldn't
2565
2566 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2569         is disabled (bug 1232)
2570
2571 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2572
2573         * factory.C: limited 'arg' scope
2574
2575 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2576
2577         * factory.C: fixed Note submenu issues
2578
2579 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2580
2581         * factory.C: submenu for Note/Comment/Greyedout
2582
2583 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * lyx_main.C (LyX):
2586         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2587
2588 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2589
2590         * LaTeXFeatures.C:
2591         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2592         greyedout. Patch provided by Jürgen Spitzmüller.
2593
2594 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2595
2596         * kbmap.C (read): fix error message when reading bind files
2597
2598 2003-07-29  Angus Leeming  <leeming@lyx.org>
2599
2600         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2601         certainly does not do what it purports to do. I am doing it, and
2602         us, a favour by killing it.
2603
2604 2003-07-28  José Matos  <jamatos@lyx.org>
2605
2606         * buffer.C (readBody, do_writeFile):
2607         * paragraph.C(readParagraph): \end_document replaces \the_end.
2608
2609 2003-07-29  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView.[Ch]:
2612         * BufferView_pimpl.[Ch]:
2613         * lyxfunc.C:
2614         * text2.C:
2615         * text3.C:
2616         * textcursor.[Ch]: remove toggleToggle & Co
2617
2618 2003-07-28  José Matos  <jamatos@fep.up.pt>
2619
2620         * buffer.C (readParagraph):
2621         * params_func (readParToken, readParagraph):
2622         * paragraph.C (write): \layout -> \begin_layout.
2623
2624 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2625
2626         * lyxlex_pimpl.C (setFile): clean up slightly.
2627
2628         * bufferparams.h: add compressed var
2629
2630         * buffer_funcs.C (readFile): adjust for LyXLex change
2631         (newFile): ditto + simplify
2632
2633         * buffer.C (writeFile): handle writing of compressed files
2634
2635         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2636         Check if the file is compressed and set a bufferparm if so.
2637
2638         * Makefile.am (lyx_LDADD): remove explicit -lz
2639
2640 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2641
2642         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2643         makeDocBookFile): put the real LyX version in the first line of
2644         the file
2645
2646         * version.h:
2647         * version.C.in: remove lyx_docversion
2648
2649         * tabular.C (write_attribute): add a template-based version to
2650         write enums properly
2651
2652 2003-07-28  André Pönitz  <poenitz@gmx.net>
2653
2654         * lyxtext.h:
2655         * text.C:
2656         * text2.C:
2657         * text3.C: use doubles again for x-coordinates. They are needed.
2658
2659 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * messages.C (getLocaleDir): use lyx_localedir()
2662
2663         * lyxlex_pimpl.C (setFile): compress stuff
2664
2665         * buffer.C (writeFile): add some compression stuff
2666         (do_writeFile): new func, dont call expliti close... will this
2667         breake anything?
2668
2669         * Makefile.am (lyx_LDADD): add -lz
2670
2671 2003-07-28  José Matos  <jamatos@fep.up.pt>
2672
2673         * buffer.C: increment file format.
2674         * paragraph_funcs (readParagraph, readParToken):
2675         * paragraph.C (readParagraph): add \end_layout.
2676
2677 2003-07-27  Angus Leeming  <leeming@lyx.org>
2678
2679         * Makefile.am: remove special casing for configure-time setting of
2680         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2681
2682         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2683         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2684
2685 2003-07-26  André Pönitz  <poenitz@gmx.net>
2686
2687         * paragraph_func.[Ch]:
2688         * paragraph.C (realizeFont): inline it whereever it is used
2689
2690         * rowpainter.C:
2691         * text.C:
2692         * text2.C:
2693         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2694
2695
2696 2003-07-26  André Pönitz  <poenitz@gmx.net>
2697
2698         *       lyxtext.h:
2699         * text.C:
2700         * text2.C: get rid of LyXText::need_break_row
2701
2702 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2703
2704         * toc.[Ch]: put namespace toc inside namespace lyx
2705
2706         * MenuBackend.C (expandToc2): adjust for lyx::toc
2707         (expandToc): ditto
2708
2709         * lyxfunc.C (dispatch): adjust for lyx::find
2710
2711         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2712         lyx::find instead. Reorganize a bit.
2713         (LyXReplace): rename to replace
2714         (LyXFind): rename to find
2715
2716         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2717         (dispatch): ditto
2718
2719 2003-07-26  André Pönitz  <poenitz@gmx.net>
2720
2721         * text.C (setHeightOfRow): restrict scope of temporary variable
2722
2723         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2724           code (never has been used?)
2725
2726 2003-07-27  Asger Alstrup  <alstrup@local>
2727
2728         * text.C (fill): Optimise algorithm to exploit that we can reuse
2729         the LyXFont for many characters.
2730         (setHeightOfRow): Same thing.
2731         (rowBreakPoint): Same thing.
2732
2733 2003-07-26  Asger Alstrup  <alstrup@local>
2734
2735         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2736
2737         * text.C (singleWidth): Spurious font copying in hot-spot
2738         singleWidth avoided. Reorder tests for arabic for efficiency.
2739
2740         * text.C (fill): handle empty paragraphs better.
2741
2742 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * ispell.C:
2745         * encoding.h: add includes
2746
2747         * lyxrc.C: remove reading of bind files
2748
2749         * lyx_main.C (init): setup bindings and menus only if we have a
2750         gui.
2751
2752         * kbmap.C (read): new method. Do the actual reading of bind
2753         files.
2754
2755         * converter.C (dvipdfm_options):
2756         * bufferparams.C:
2757         * lyxrc.C (read):
2758         (output): adapt PAPER_* enums.
2759
2760         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2761
2762         * bufferparams.h: remove paper-related enums from there
2763
2764         * paper.h: New file. A trivial header file to hold paper-related
2765         enums. It should later expand to contain many paper-related
2766         horrors access.
2767
2768         * lyxrc.C: declare extern displayTranslator
2769
2770 2003-07-27  José Matos  <jamatos@fep.up.pt>
2771
2772         * tabular.[Ch] (linuxdoc): add support for tables and figures
2773         (linuxdoc).
2774
2775 2003-07-27  José Matos  <jamatos@fep.up.pt>
2776
2777         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2778         consistency in both functions.
2779         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2780
2781 2003-07-26  Asger Alstrup  <alstrup@local>
2782
2783         * rowpainter.C (paintRows): Change algorithm to work directly on
2784         the insets rather than asking every character in the document
2785         whether its an inset.
2786
2787 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * buffer.C (openFileWrite): factorize some code
2790
2791 2003-07-26  Angus Leeming  <leeming@lyx.org>
2792
2793         * lyx_cb.C:
2794         * lyx_main.[Ch]: replace occurances of system_tempdir with
2795         os::getTmpDir().
2796
2797 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2798
2799         * rename Inset to InsetOld
2800
2801 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2802
2803         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2804         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2805         which I think is a bit clearer. EDIT is gone, since it was
2806         premature optimisation, and broken for mathed anyway.
2807         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2808         with cursor positioning in insets as well (math insets still do not
2809         work, but that's a different story anyway.) It mysteriously
2810         crashes sometimes with undo in the first paragraph, but I'm fairly
2811         confident that this is a compiler bug.
2812
2813 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * paragraph.C (Paragraph): adjust for new clone return type
2816         (operator==): ditto
2817         (copyIntoMinibuffer): ditto
2818
2819 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2820
2821         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2822         by not having a special case, and always doing a full rebreak of
2823         the document after undo.
2824
2825 2003-07-23  Angus Leeming  <leeming@lyx.org>
2826
2827         * factory.C (createInset): InsetExternal::setParams now takes a
2828         Buffer const * arg.
2829
2830 2003-07-23  Angus Leeming  <leeming@lyx.org>
2831
2832         * factory.C (createInset): changed interface to the external and
2833         graphics mailers' string2params functions.
2834
2835 2003-07-23  Angus Leeming  <leeming@lyx.org>
2836
2837         * factory.C (createInset): pass a
2838         Buffer const * parameter to InsetExternalMailer's string2params.
2839
2840 2003-07-22  John Levon  <levon@movementarian.org>
2841
2842         * Thesaurus.h: include the right aiksaurus header
2843
2844 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * MenuBackend.C (expand): check menu shortcuts unconditionally
2847
2848 2003-07-21  Angus Leeming  <leeming@lyx.org>
2849
2850         * factory.C (createInset): pass a
2851         buffer_path parameter to InsetGraphicsMailer's string2params.
2852
2853 2003-07-21  Angus Leeming  <leeming@lyx.org>
2854
2855         * BufferView_pimpl.C (buffer):
2856         * buffer.C (d-tor):
2857         * lyx_main.C (LyX):
2858         * lyxfunc.C (dispatch):
2859         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2860         rather than the grfx shortcut.
2861
2862 2003-07-21  André Pönitz  <poenitz@gmx.net>
2863
2864         * rowpainter.C: remove unused variables
2865
2866         * tabular_funcs.C:
2867         * tabular_funcs.h: move to tabular.C
2868         * Makefile.am: adjust
2869
2870         * tabular.[Ch]: basic optical cleaning
2871
2872         * author.h: pass references, not values
2873
2874 2003-07-18  André Pönitz  <poenitz@gmx.net>
2875
2876         * lyxtext.h:
2877         * metricsinfo.C:
2878         * metricsinfo.h:
2879         * rowpainter.C:
2880         * text.C:
2881         * text2.C:
2882         * text3.C: two-phase drawing for InsetText and InsetTabular
2883         some float -> int changes.
2884
2885 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * lyx_main.C: fix the fix
2888
2889 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * lyx_main.C: fix a crash in batch mode if no files specified
2892         * converter.C: ws
2893
2894 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2895
2896         * format.[Ch] (papersize): moved to BufferParams
2897         * converter.[Ch] (dvips_options): moved to BufferParams
2898         (dvipdfm_options): moved to anon namespace
2899         * bufferparams.[Ch]: added above functions.
2900
2901 2003-07-17  André Pönitz  <poenitz@gmx.net>
2902
2903         * lyxtext.h:
2904         * rowpainter.C:
2905         * text2.C: don't call inset->update() anymore
2906
2907         * metricsinfo.[Ch]: add convenience constructor
2908
2909 2003-07-16  André Pönitz  <poenitz@gmx.net>
2910
2911         * lyxcursor.[Ch]:
2912         * lyxfunc.[Ch]:
2913         * text.C:
2914         * text2.C: replace the LyXCursor::irow_ member with
2915          on-demand computation of the value
2916
2917 2003-07-16  John Levon  <levon@movementarian.org>
2918
2919         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2920
2921 2003-07-15  André Pönitz  <poenitz@gmx.net>
2922
2923         * text.C:
2924         * text2.C: remove no more needed refresh_row
2925
2926 2003-07-15  André Pönitz  <poenitz@gmx.net>
2927
2928         * lyxtext.h:
2929         * rowpainter.C:
2930         * text2.C:
2931         * text3.C: refresh_status tristate -> need_update bool
2932
2933 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2934
2935         * lyxtext.h (init): remove reinit argument (act as if always true)
2936         * text2.C: adjust to that
2937
2938 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2939
2940         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2941         * text3.C: use it to delete selections in some cases
2942         (bugs 441, 673, 702, 954).
2943
2944 2003-07-14  André Pönitz  <poenitz@gmx.net>
2945
2946         * rowpainter.[Ch]: reduce interface
2947
2948 2003-07-14  André Pönitz  <poenitz@gmx.net>
2949
2950         * BufferView_pimpl.C:
2951         * text2.C: adjust after removing unused BufferView * argument
2952
2953 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * text2.C (init): fix a crash fired on resize
2956
2957 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2958
2959         * buffer.[Ch]: added new closing signal
2960         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2961         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2962         BufferView::Pimpl via the closing the signal
2963
2964 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * buffer.[Ch]: take out all bv-related from buffer
2967         * BufferView.C:
2968         * BufferView_pimpl.[Ch]: connect to new signals
2969         * CutAndPaste.C: removed useless asserts
2970         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2971         * lyxvc.[Ch]:
2972         * vc-backend.[Ch]:
2973         * lyxfunc.C: moved view-related funciontality from vc here
2974         * paragraph.C: removed outdated comments
2975         * text.C: ws
2976
2977 2003-07-10  André Pönitz  <poenitz@gmx.net>
2978
2979         * BufferView_pimpl.C:
2980         * tabular.h:
2981         * tabular_funcs.C:
2982         * text.C:
2983         * text2.C: remove InsetText::InnerCache, clean up consequences
2984
2985 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2986
2987         * ispell.C: fix two typos in error messages
2988
2989 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2990
2991         * Extend Note inset to other forms of annotation like Comment
2992         and Greyedout. Right button click gives dialog.
2993
2994         Files modified or added (+):
2995
2996         * insetnote.[Ch]
2997         * FormNote.[Ch]      +
2998         * ControlNote.[Ch]   +
2999         * form_note.fd       +
3000         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3001         frontends/controllers
3002         * xforms/Dialogs.C
3003         * factory.C
3004
3005 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3006
3007         * aspell.C: add missing namespace lyx::support
3008
3009 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3010
3011         * BufferView.[Ch] (newFile): Add
3012         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3013         * LaTeX.[Ch] (message): added this signal and use it
3014         * buffer.[Ch] (busy, message): added these signals and use them
3015         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3016         * converter.C:
3017         * exporter.C:
3018         * format.C:
3019         * importer.C: use buffer signals instead of direct bv calling
3020         * lyx_cb.[Ch] (ShowMessage): removed
3021         * lyx_main.C:
3022         * lyxfunc.C:
3023         * paragraph_funcs.C:
3024         * text2.C: use buffer signals
3025
3026 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3027
3028         * introduce namespace lyx::graphics
3029
3030 2003-07-02  André Pönitz  <poenitz@gmx.net>
3031
3032         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3033
3034 2003-07-01  André Pönitz  <poenitz@gmx.net>
3035
3036         * text.C:
3037         * text2.C:
3038         * text3.C:
3039         * text_funcs.[Ch]:
3040         * textcursor.h:
3041         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3042           text*.C to text_func.C
3043
3044 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * introduce namespace lyx::support
3047
3048 2003-06-30  André Pönitz  <poenitz@gmx.net>
3049
3050         * Chktex.C:
3051         * funcrequest.C:
3052         * lyxtext.h:
3053         * text.C: re-enable --with-included-string
3054
3055 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * textcursor.C: add <config.h>
3058
3059         * text.C (getWord): remove const from word_location arg
3060
3061         * lyxvc.C (getLogFile): fix const type order
3062
3063         * lyxtext.h: remove const from word_location arg, add arg name
3064
3065         * lyxlayout.h: currect type on labeltype.
3066
3067         * importer.C: correct \file
3068
3069         * converter.C (intToFormat): use std:: on ret val, ws changes
3070
3071         * bufferlist.h: correct \file
3072
3073         * buffer.C (makeLinuxDocFile): fix const type order
3074         (makeDocBookFile): ditto
3075         (fillWithBibKeys): use std:: on stdlib args.
3076
3077         * CutAndPaste.C: fix authors.
3078         (availableSelections): use std:: on return vector
3079
3080 2003-06-27  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView_pimpl.C:
3083         * bufferview_funcs.C:
3084         * lyxcursor.C:
3085         * lyxcursor.h:
3086         * lyxfunc.C:
3087         * lyxtext.h:
3088         * rowpainter.C:
3089         * text.C:
3090         * text2.C:
3091         * text3.C: remove LyXCursor::row_ member
3092
3093         * lyxtext.h:
3094         * text.C: rename fullRebreak() to partialRebreak() and implement
3095           a fullRebreak() that really bereks fully
3096
3097         * textcursor.h: new struct for cursor-related data
3098
3099 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3100
3101         * lyx_main.C (LyX): get full path of document loaded on the
3102         command line
3103
3104 2003-06-26  André Pönitz  <poenitz@gmx.net>
3105
3106         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3107           remove unused/broken operator>,<,>=.
3108
3109         *       text.C: remove only use of broken operator<= in an Assert().
3110
3111 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3114         moved errorlist_.clear to showErrorList
3115
3116 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * converter.C (scanLog, runLaTeX):
3119         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3120         move the bv->showErrorList call to the callers
3121         * lyxfunc.C: i.e. here...
3122         * text2.C: and here
3123         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3124         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3125         namespace, the second to...
3126         * buffer_funcs (BufferFormat, parseErrors): added
3127         * errorlist.C (ErrorList(TeXErrors const &)): removed
3128
3129 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3130
3131         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3132
3133 2003-06-24  "Garst R. Reese" <reese@isn.net>
3134
3135         * debug.C: fix typo
3136
3137 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138
3139         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3140
3141         * version.C.in: change docversion to 1.4
3142
3143 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3144
3145         * buffer.C: fix a bug just introduced
3146
3147 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * buffer.[Ch]: added the parseError signal and use it, removed
3150         sgmlError
3151         * BufferView.[Ch] (addError): moved to ...
3152         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3153         to the Buffer::parseError signal to catch (guess what) parse errors
3154         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3155
3156 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3157
3158         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3159         ability to create a buffer and to return an existing one from
3160         the list. Moved these functions to...
3161         * buffer_funcs.[Ch]: added
3162         * BufferView.[Ch] (loadLyXFile): added
3163         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3164         job removed from bufferlist::loadLyXFile.
3165         * buffer.C (setReadOnly): make it work without view
3166         (i.e added an if (users))
3167
3168 2003-06-19  Angus Leeming  <leeming@lyx.org>
3169
3170         * lfuns.h:
3171         * LyXAction.C (init):
3172         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3173         with LFUN_DIALOG_SHOW <name> <data>.
3174
3175 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3176
3177         * CutAndPaste.C (availableSelections): small compilation fix for
3178         ancient (gcc 2.9x) compilers
3179
3180 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * text3.C (cursorNext): add tmp var
3183
3184         * text2.C (updateCounters): for function calling out of for clause
3185         (replaceSelectionWithString): ditto
3186         (insertStringAsParagraphs): ditto
3187         (getColumnNearX): add tmp var
3188         (setCursorFromCoordinates): add tmp var
3189         (cursorDownParagraph): add tmp var
3190         (deleteEmptyParagraphMechanism): add tmp var
3191
3192         * text.C (insertChar): add tmp var
3193
3194         * rowpainter.C (paintDepthBar): add tmp var
3195
3196         * CutAndPaste.C (availableSelections): potentially check all
3197         paragraphs in a cut to fill the shown strings.
3198
3199 2003-06-18  André Pönitz  <poenitz@gmx.net>
3200
3201         * kbmap.[Ch]: use vector<> instead of list<>
3202
3203 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3204
3205         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3206         pasteSelection with index
3207
3208         * text2.C (pasteSelection): modify, call pasteSelection with index
3209
3210         * paragraph.C (asString): reimplement version with no interval to
3211         call the one with interval.
3212
3213         * lyxtext.h: add index arg to pasteSelection
3214
3215         * MenuBackend.C (MenuItem): handle PasteRecent
3216         (Menu::read::Menutags): add md_pasterecent
3217         (read): handle it
3218         (expandPasteRecent): new function
3219         (expand): use it
3220
3221         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3222
3223         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3224         the limited stack
3225         (availableSelections): new function
3226
3227 2003-06-17  Angus Leeming  <leeming@lyx.org>
3228
3229         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3230
3231 2003-06-17  Angus Leeming  <leeming@lyx.org>
3232
3233         * lfuns.h:
3234         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3235
3236         * lyxfunc.C (dispatch): invoke it.
3237
3238 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3239
3240         * iterators.C (operator++, ParPosition): reintroduce some
3241         const_cast for the benefit of older compilers.
3242
3243 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3244
3245         * text3.C (dispatch): do not modify clipboard when doing
3246         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3247         LFUN_DELETE_SKIP on a selection selection
3248
3249 2003-06-16  André Pönitz  <poenitz@gmx.net>
3250
3251         * BufferView.C:
3252         * buffer.C:
3253         * buffer.h:
3254         * paragraph.C:
3255         * tabular.[Ch]: IU of clone() and getLabelList();
3256
3257 2003-06-13  André Pönitz  <poenitz@gmx.net>
3258
3259         * tabular.h: compactification
3260
3261 2003-06-12  André Pönitz  <poenitz@gmx.net>
3262
3263         * tabular.C:
3264         * tabular.h:
3265         * tabular_funcs.h: some renaming plus whitespace
3266
3267 2003-06-12  André Pönitz  <poenitz@gmx.net>
3268
3269         * BufferView.C:
3270         * BufferView_pimpl.C:
3271         * CutAndPaste.C:
3272         * buffer.C:
3273         * iterators.[Ch]:
3274         * lyxfunc.C:
3275         * text.C:
3276         * toc.C: Return a Paragraph & for ParIterator::operator*()
3277
3278 2003-06-11  John Levon  <levon@movementarian.org>
3279
3280         * lyx_main.C:
3281         * ToolbarBackend.h:
3282         * ToolbarBackend.C: add "Toolbars" section and
3283         put the flags there
3284
3285 2003-06-10  Angus Leeming  <leeming@lyx.org>
3286
3287         * lfuns.h:
3288         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3289
3290         * lyxfunc.C (dispatch): invoke it.
3291
3292 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * main.C: protect <ios> with HAVE_IOS
3295         (main): protect sync_with_stdio with HAVE_IOS
3296
3297 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3298
3299         * text2.C (cutSelection): adjust
3300         (pasteSelection): adjust
3301
3302         * messages.C: handle get of empty string
3303
3304         * main.C (main): use sync_with_stdio(false)
3305
3306         * lyxfunc.C (dispatch): adjust
3307
3308         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3309         (WriteAs): remove unneeded BufferView arg.
3310
3311         * bufferparams.h: use correct types on papersize, papersize2 and
3312         paperpackage.
3313
3314         * bufferparams.C (readToken): adjust for type
3315         (writeLaTeX): add missing cases to switch.
3316
3317         * bufferlist.C (quitWriteBuffer): adjust
3318         (close): adjust
3319
3320         * buffer.C (asciiParagraph): remove some commented code.
3321
3322         * CutAndPaste.C: remove current_view extern variable.
3323         (cutSelection): add BufferParams arg.
3324         (eraseSelection): add BufferParams arg.
3325         (pasteSelection): add Buffer const & arg
3326
3327 2003-06-07  John Levon  <levon@movementarian.org>
3328
3329         * buffer.C:
3330         * paragraph_funcs.C:
3331         * paragraph_pimpl.C:
3332         * text.C:
3333         * text2.C:
3334         * paragraph.h:
3335         * paragraph.C: allow InsetERT to freely space lines,
3336         and some consolidation of code
3337
3338 2003-06-06  José Matos  <jamatos@fep.up.pt>
3339
3340         * buffer.C (makeDocBookFile): fix bug #821
3341
3342 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3345
3346 2003-06-04  Angus Leeming  <leeming@lyx.org>
3347
3348         * buffer.C: bump format to 224.
3349
3350 2003-06-05  André Pönitz  <poenitz@gmx.net>
3351
3352         * text2.C (redoParagraphs): remove two const_cast<>
3353
3354 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3355
3356         * ParagraphList.h: remove last remnants of NO_STD_LIST
3357
3358 2003-06-03  Angus Leeming  <leeming@lyx.org>
3359
3360         * factory.C (createInset): small change to the way InsetExternal's params
3361         are set.
3362
3363 2003-06-04  André Pönitz  <poenitz@gmx.net>
3364
3365         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3366
3367         * paragraph_pimpl.h:
3368         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3369
3370         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3371
3372         * undo_funcs.C: make some simple cases of undo work again
3373
3374 2003-06-03  John Levon  <levon@movementarian.org>
3375
3376         * ispell.C: HPUX doesn't have sys/select.h
3377         (from Albert Chin)
3378
3379 2003-06-03  John Levon  <levon@movementarian.org>
3380
3381         * CutAndPaste.C: update tabular and include inset
3382         buffer references
3383
3384         * buffer.h:
3385         * paragraph.h:
3386         * paragraph.C: remove owningBuffer(), don't pass Buffer
3387         to clone()
3388
3389         * factory.C: insetGraphicsParams changed
3390
3391 2003-06-02  John Levon  <levon@movementarian.org>
3392
3393         * LyXAction.C:
3394         * factory.C:
3395         * lfuns.h:
3396         * lyxfunc.C:
3397         * text3.C: remove insetparent
3398
3399 2003-06-02  John Levon  <levon@movementarian.org>
3400
3401         * buffer.h:
3402         * buffer.C: fix inset_iterator.end(), move out of line
3403         (bug 1149)
3404
3405 2003-06-01  John Levon  <levon@movementarian.org>
3406
3407         * text3.C: use a proper cut/paste when doing inset
3408         insert (from Jürgen Spitzmüller)
3409
3410 2003-06-01  John Levon  <levon@movementarian.org>
3411
3412         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3413
3414 2003-05-30  André Pönitz  <poenitz@gmx.net>
3415
3416         * rowpainter.C: unify second drawing phase
3417
3418 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * trans_mgr.C: remove one case of current_view
3421
3422         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3423
3424         * paragraph_funcs.h: remove paragraph.h include
3425
3426         * paragraph.h: delete NO_STD_LIST stuff
3427
3428         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3429
3430         * buffer.h: remove paragraph.h include
3431
3432         * ParagraphList.C: delete file
3433
3434         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3435
3436         * toc.C (getTocList): adjust
3437
3438         * paragraph_pimpl.C (validate): adjust
3439
3440         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3441
3442         * paragraph.C (Paragraph): adjust
3443         (getPositionOfInset): use const_iterator, adjust
3444         (bibitem): use const_iterator, adjust
3445         (setInsetOwner): adjust
3446
3447         * iterators.C (operator++): adjust
3448
3449         * InsetList.[Ch]: Replace selfmade iterator with standard
3450         vector::iterator also introduce const_iterator. Remove getPos,
3451         getInset and setInset from InsetTable. Adjust accordingly.
3452
3453         * BufferView.C (lockInset): adjust
3454         (ChangeInsets): adjust
3455
3456         * tabular.[Ch]: delete commented same_id functions
3457
3458 2003-05-28  John Levon  <levon@movementarian.org>
3459
3460         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3461
3462 2003-05-28  André Pönitz  <poenitz@gmx.net>
3463
3464         * metricsinfo.[Ch]: remove 'fullredraw' member
3465
3466 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3467
3468         * lyxtextclass.C (operator): remove caching.
3469
3470 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * text3.C: adjust
3473
3474         * text2.C (cursorBottom): adjust
3475         (setCounter): use ParagraphList::find, adjust
3476
3477         * text.C (workWidth): use ParagraphList::find, adjust
3478
3479         * lyxcursor.C (LyXCursor): adjust
3480
3481         * buffer.C (inset_iterator): adjust
3482
3483         * ParagraphList.h: make iterator(value_type) private, make
3484         ParagraphList a friend of iterator.
3485
3486         * ParagraphList.C (find): new function
3487
3488         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3489
3490 2003-05-27  André Pönitz  <poenitz@gmx.net>
3491
3492         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3493
3494 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3495
3496         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3497
3498 2003-05-26  John Levon  <levon@movementarian.org>
3499
3500         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3501
3502 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * remove same_id from function signatures, adjust.
3505
3506 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3509
3510         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3511
3512         * paragraph.C (Paragraph): get rid of same_ids parameter
3513
3514         * ParagraphList.C (insert): adjust
3515         (push_back): adjust
3516
3517 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * paragraph_funcs.C (breakParagraph): adjust
3520         (breakParagraphConservative): adjust
3521
3522         * buffer.C (readParagraph): adjust
3523
3524         * ParagraphList.C (insert): take a reference instead of a pointer
3525         (insert): adjust
3526
3527         * paragraph.[Ch] (id): new function
3528
3529         * bufferlist.C (newFile): adjust
3530
3531         * ParagraphList.C (ParagraphList): adjust
3532         (assign): adjust
3533         (push_back): take a reference instead of a pointer.
3534
3535         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3536
3537         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3538         instead.
3539
3540         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3541         set else use old code.
3542
3543         * ParagraphList.C: remove all NO_NEXT code and only compile this
3544         code of NO_STD_LIST is set.
3545
3546 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * BufferView_pimpl.C:
3549         * TextCache.C:
3550         * TextCache.h:
3551         * bufferlist.C:
3552         * errorlist.h:
3553         * format.C:
3554         * format.h:
3555         * graph.C:
3556         * lyxfunc.C:
3557         * lyxrc.C:
3558         * graphics/GraphicsConverter.C:
3559         * graphics/PreviewLoader.C: header adjustment
3560
3561 2003-05-23  Angus Leeming  <leeming@lyx.org>
3562
3563         * LaTeXFeatures.[Ch] (useBabel): new method.
3564         * bufferparams.C (writeLaTeX): use it.
3565
3566 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3567
3568         * ParagraphList.h (set): remove unused function.
3569
3570 2003-05-23  André Pönitz  <poenitz@gmx.net>
3571
3572         * BufferView.C:
3573         * BufferView_pimpl.C:
3574         * buffer.C:
3575         * buffer.h:
3576         * lyxfunc.C:
3577         * undo_funcs.C: setUndo reworked
3578
3579         * iterators.[Ch]: add access to topmost ParagraphList
3580
3581         * lyxtext.[Ch] (workWidth): add a const
3582
3583 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * texrow.[Ch] (increasePos): remove function
3586         * exporter.C (export): removed unused var and outdated comment
3587
3588 2003-05-23  Angus Leeming  <leeming@lyx.org>
3589
3590         * latexrunparams.h: rename fragile as moving_arg.
3591         * paragraph.C (simpleTeXOnePar): ditto.
3592         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3593
3594 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3597         (createUndo): ditto
3598         (textUndoOrRedo): comment out a currently unused var.
3599
3600         * paragraph.h (NO_NEXT): enable NO_NEXT
3601
3602         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3603
3604         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3605
3606         * exporter.C (Export): adjust for removeAutoInsets removal.
3607
3608         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3609
3610         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3611
3612         * BufferView.[Ch] (removeAutoInsets): delete function
3613
3614 2003-05-22  Angus Leeming  <leeming@lyx.org>
3615
3616         * latexrunparams.h: add a free_spacing variable.
3617
3618         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3619         to pass moving_arg, as the data is stored in runparams.fragile.
3620
3621         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3622         to Inset::latexOptional or to simpleTeXOnePar.
3623
3624         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3625         free_spacing arg to Inset::latexOptional.
3626
3627         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3628         free_spacing arg.
3629
3630 2003-05-22  Angus Leeming  <leeming@lyx.org>
3631
3632         * latexrunparams.h: add fragile and use_babel variables.
3633
3634         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3635         * buffer.C (makeLaTeXFile): store this returned value in
3636         runparams.use_babel, thus passing it to the inset::latex methods.
3637
3638         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3639         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3640
3641         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3642         longer has a fragile arg, as it is stored in runparams.fragile.
3643
3644         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3645         moving_arg parameter as the data is stored in runparams.fragile.
3646
3647         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3648         a fragile parameter as the data is stored in runparams.fragile.
3649
3650 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3653
3654 2003-05-22  Angus Leeming  <leeming@lyx.org>
3655
3656         * latexrunparams.h: add a 'bool nice' which defaults to false.
3657
3658         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3659         now encapsulated within runparams.
3660
3661         * bufferlist.C (updateIncludedTeXfiles):
3662         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3663
3664 2003-05-22  Angus Leeming  <leeming@lyx.org>
3665
3666         * latexrunparams.h: new file containing struct LatexRunParams.
3667         * Makefile.am: add new file.
3668
3669         * LaTeX.[Ch] (c-tor, run):
3670         * buffer.[Ch] (makeLaTeXFile):
3671         * bufferlist.[Ch] (updateIncludedTeXfiles):
3672         * converter.C (convert, scanLog):
3673         * converter.[Ch] (runLaTeX):
3674         * exporter.C (Export):
3675         * paragraph.[Ch] (simpleTeXOnePar):
3676         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3677         * paragraph_funcs.[Ch] (latexParagraphs):
3678         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3679         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3680         pass around a LatexRunParams parameter.
3681
3682 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3683
3684         * paragraph.[Ch]: remove unused constructor
3685
3686         * ParagraphList.C (erase): new function, taking two iterators
3687
3688 2003-05-22  André Pönitz  <poenitz@gmx.net>
3689
3690         * undo_funcs.C: remove duplicated code
3691
3692         * iterator.[Ch]: operator=
3693
3694 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * tabular.C (SetMultiColumn): ws changes
3697
3698         * rowpainter.C (paintFirst): get rid of a ->previous
3699
3700         * lyx_cb.C (getPossibleLabel): parlist simplification
3701
3702         * BufferView.C (ChangeInsets): simplify slightly.
3703
3704 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3705
3706         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3707         * lfuns.h: new LFUN_SPACE
3708         * lyxfunc.C: protected space has a new lfun
3709         * paragraph_funcs.C: read new space insets
3710         * text3.C:
3711         * factory.C: handle new space insets
3712
3713 2003-05-22  André Pönitz  <poenitz@gmx.net>
3714
3715         * BufferView.C:
3716         * BufferView_pimpl.C:
3717         * buffer.[Ch]:
3718         * lyxfunc.C:
3719         * undo_funcs.C: return a ParIterator from getParFromID.
3720
3721         * iterators.[Ch]: add two const's
3722
3723 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * toc.C (getTocList): adjust
3726
3727         * iterators.[Ch]: rework for parlist
3728
3729         * buffer.C (par_iterator_begin): adjust
3730         (par_iterator_end): adjust
3731
3732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3733
3734         * BufferView.C (removeAutoInsets): adjust
3735         (ChangeInsets): adjust
3736
3737 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * text.C (top_y): fix bug 1110
3740
3741 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * errorlist.[Ch]: added
3744         * buffer.C:
3745         * BufferView.[Ch]:
3746         * BufferView_pimpl.C:
3747         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3748         instead
3749
3750 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * Makefile.am: ensure that lyx is relinked upon changes to the
3753         various "convenience" libs.
3754
3755 2003-05-20  Angus Leeming  <leeming@lyx.org>
3756
3757         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3758         files are compiled in alphabetical order again.
3759
3760         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3761
3762 2003-05-19  Angus Leeming  <leeming@lyx.org>
3763
3764         * gettext.[Ch]: remove "char const * _(char const *)".
3765
3766 2003-05-19  André Pönitz  <poenitz@gmx.net>
3767
3768         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3769
3770         * Makefile.am:
3771         * BufferView.C:
3772         * DepTable.h:
3773         * LaTeXFeatures.C:
3774         * buffer.C:
3775         * lyxfont.C:
3776         * lyxlex.h:
3777         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3778
3779 2003-05-19  André Pönitz  <poenitz@gmx.net>
3780
3781         * buffer.C:
3782         * lyxlayout.[Ch]:
3783         * lyxtextclass.[Ch]:
3784         * paragraph.C:
3785         * paragraph_funcs.[Ch]:
3786         * text2.C:
3787         * text3.C: more insetenv work
3788
3789 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * ParagraphParameters.C (params2string): small bug fixed
3792
3793 2003-05-16  André Pönitz  <poenitz@gmx.net>
3794
3795         * debug.C:
3796         * bufferview_funcs.C: patch from Kornel Benko to prevent
3797           crash when _(...) is called twice in a statement
3798
3799 2003-05-16  André Pönitz  <poenitz@gmx.net>
3800
3801         * BufferView.C:
3802         * lyxfunc.C:
3803         * text.C:
3804         * text2.C:
3805         * text3.C:
3806         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3807
3808 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * lyx_main.C (init): remove spurious static_cast
3811
3812 2003-05-14  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.C: fix format string
3815
3816 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * BufferView.[Ch] (insertErrors): removed
3819         * BufferView.[Ch] (showErrorList): added
3820         * buffer.C (runChkTeX):
3821         * converter.C (scanLog): call showErrorList instead of inserterrors
3822
3823 2003-05-13  André Pönitz  <poenitz@gmx.net>
3824
3825         * BufferView_pimpl.C:
3826         * buffer.C:
3827         * bufferview_func.C:
3828         * MenuBackend.C:
3829         * lyxfunc.C:
3830         * lyxrc.C:
3831         * tex-accent.C:
3832         * text3.C:
3833         * toc.C:
3834         * tabular_funcs.h: tostr() from its own header
3835
3836         * ParagraphParameters.C:
3837         * ToolbarBackend.C:
3838         * bufferparams.C:
3839         * format.C:
3840         * lyxlex_pimpl.C:
3841         * text3.C: STRCONV()
3842
3843 2003-05-12  André Pönitz  <poenitz@gmx.net>
3844
3845         * BufferView.C:
3846         * BufferView_pimpl.C:
3847         * CutAndPaste.C:
3848         * LaTeX.C:
3849         * LaTeXFeatures.C:
3850         * ParagraphParameters.C:
3851         * buffer.C:
3852         * bufferlist.C:
3853         * bufferparams.C:
3854         * bufferview_funcs.C:
3855         * converter.C:
3856         * counters.C:
3857         * debug.C:
3858         * exporter.C:
3859         * format.C:
3860         * importer.C:
3861         * lyx_cb.C:
3862         * lyx_main.C:
3863         * lyxfont.C:
3864         * lyxfunc.C:
3865         * lyxvc.C:
3866         * paragraph.C:
3867         * paragraph_funcs.C:
3868         * tabular.C:
3869         * tabular_funcs.C:
3870         * text2.C:
3871         * text3.C:  boost::format -> bformat  all over the place
3872
3873
3874 2003-05-09  André Pönitz  <poenitz@gmx.net>
3875
3876         * LColor.[Ch]: Pimpl the #include <map> away
3877
3878 2003-05-09  John Levon  <levon@movementarian.org>
3879
3880         * bufferlist.C: never remove emergency saves
3881
3882 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * Makefile.am: better lib building
3885
3886 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3889         instead.
3890         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3891         (simpleTeXSpecialChars): adjust
3892         (simpleTeXSpecialChars): adjust
3893         * paragraph.C (simpleTeXOnePar): adjust
3894         * buffer.C (makeLaTeXFile): adjust
3895
3896         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3897
3898         * text2.C (changeDepth): parlist cleanup
3899         (getColumnNearX): ditto
3900
3901         * rowpainter.C (getLabelFont): parlist cleanup
3902
3903         * bufferlist.C (newFile): parlist cleanup
3904
3905         * CutAndPaste.C (eraseSelection): parlist cleanup
3906
3907         * BufferView_pimpl.C (trackChanges): parlist cleanup
3908         (dispatch): ditto
3909
3910         * BufferView.C (lockInset): parlist cleanup.
3911         (ChangeInsets): ditto
3912
3913 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * CutAndPaste.h: Update file header.
3916
3917         * CutAndPaste.C: Update file header.
3918         Store the parts cut out of the Document in a limited_stack.
3919         (copySelection): adjust
3920         (pasteSelection): new function, takes the index in the limited stack.
3921         (nrOfParagraphs): adjust
3922         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3923         simplify error inset insertion.
3924         (checkPastePossible): adjust
3925
3926 2003-05-06  John Levon  <levon@movementarian.org>
3927
3928         * text2.C: don't cast wrap inset to float
3929
3930 2003-05-05  André Pönitz  <poenitz@gmx.net>
3931
3932         * iterator.C:
3933         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3934
3935         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3936           few naked Paragraph *.
3937
3938 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3939
3940         * bufferparams.C: Output warning if a document with missing
3941         TeX document class is loaded
3942         * exporter.C: Disable TeX exports if the document class is missing
3943         * lyxtextclass.C:
3944         * lyxtextclass.h:
3945         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3946         isTeXClassAvailable()
3947
3948 2003-05-03  John Levon  <levon@movementarian.org>
3949
3950         * BufferView.h:
3951         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3952         explicit cursor show/hide
3953
3954         * BufferView_pimpl.h:
3955         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3956         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3957
3958         * lyxfunc.C: hide cursor before dispatching.
3959
3960         * lyx_cb.C:
3961         * lyxfind.C:
3962         * text.C:
3963         * text3.C: remove explicit cursor hides
3964
3965 2003-05-02  André Pönitz  <poenitz@gmx.net>
3966
3967         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3968
3969         * undo_funcs.C:
3970         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3971           linked lists
3972
3973         * text2.C: tiny whitespace
3974
3975 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * undo_funcs.C: almost only ws changes.
3978
3979         * ParagraphList.C (splice): just return if pl is empty.
3980
3981 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * ParagraphList.C (splice): new function.
3984
3985         * CutAndPaste.C (pasteSelection): use it
3986
3987 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * CutAndPaste.C (pasteSelection): remove the last next and
3990         previous from this file.
3991
3992 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * CutAndPaste.C (pasteSelection): more clean up, user proper
3995         ParagraphList functions for pasteing.
3996
3997         * ParagraphList.C (insert): new function, three arg insert
3998
3999 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * ParagraphList.C (insert): new function, three arg insert
4002
4003         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4004         not on paragraphs.
4005
4006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4009
4010 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4013
4014 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4017         (copySelection): clean up a bit.
4018         (pasteSelection): use make_pair
4019
4020         * ParagraphList.C (ParagraphList): implement copy constructor
4021         (operator=): implement, base on copy constructor.
4022         (assign): new func
4023
4024         * paragraph.C (erase): return a bool
4025
4026         * paragraph_pimpl.C (erasePos): remove function, move contents...
4027         (erase): ... here. Return a bool.
4028         (erase): call erase instead of erasePos.
4029
4030 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * ParagraphList.h: define PitPosPair
4033         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4034         ParagraphList, fix a bug on pasting multiple pars
4035         * text2.C: change interface to C&P
4036
4037 2003-04-30  André Pönitz  <poenitz@gmx.net>
4038
4039         * undo_func.C: revert part of yesterday's patch 2
4040
4041 2003-04-30  John Levon  <levon@movementarian.org>
4042
4043         * LColor.C: s/tabular/table/
4044
4045 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * text3.C (dispatch): do not convert iterator -> pointer
4048         * undo_funcs.C (setCursorParUndo): ditto
4049         * text_funcs.C (transposeChars): ditto
4050
4051         * text2.C (setLayout): ws changes only
4052
4053         * text.C (breakParagraph): do not convert iterator -> pointer
4054         (insertChar): ditto
4055         (acceptChange): ditto
4056         (rejectChange): ditto
4057         (changeCase): ditto
4058         (Delete): ditto
4059         (backspace): ditto
4060
4061         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4062         pointer
4063
4064 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4065
4066         * text3.C (gotoInset): YABG (yet another bad getChar)
4067
4068 2003-04-29  André Pönitz  <poenitz@gmx.net>
4069
4070         * paragraph.h: make operator= private unimplemented as long as
4071           it is unusable
4072
4073         * ParagraphList.C: whitespace
4074
4075         * paragraph.[Ch]:
4076         * paragraph_pimpl.[Ch]:
4077         * paragraph_funcs.C:
4078         * CutAndPaste.C:
4079         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4080
4081         * text2.C:
4082           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4083
4084 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4087         * paragraph.[Ch] (erase):
4088         * paragraph_pimpl.[Ch] (erase): change return type and value
4089         * text2.C (cutSelection): some rework
4090
4091 2003-04-28  John Levon  <levon@movementarian.org>
4092
4093         * bufferlist.C: changes for unsaved changes dialog
4094
4095 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * bufferlist.C (newFile): set language (messages_) for new
4098         documents also.
4099
4100         * buffer.C (readFile): ws changes only.
4101
4102 2003-04-28  André Pönitz  <poenitz@gmx.net>
4103
4104         * undo_funcs.C:
4105         * lyxfunc.C:
4106         * buffer.[Ch]:
4107         * BufferView_pimpl.C:
4108         * BufferView.C: getParFromID related ParagraphList::iterator changes
4109
4110 2003-04-28  André Pönitz  <poenitz@gmx.net>
4111
4112         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4113           Changes
4114
4115 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4116
4117         * messages.C: remove one more localedir class variable.
4118
4119 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * messages.C (getLocaleDir): singleton generation function
4122         (Pimpl): use it.
4123         (Messages): add a default constructor.
4124
4125         * main.C (main): do not setup localedir here, do not call
4126         gettext_init.
4127
4128         * gettext.C (_): use it.
4129         (gettext_init): delete funciton
4130
4131 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * gettext.C (getLyXMessages): new singleton generating function.
4134
4135         * buffer.C (updateDocLang): adjust
4136
4137         * Makefile.am (messages.o): add target
4138         (main.o): remove target
4139
4140 2003-04-27  John Levon  <levon@movementarian.org>
4141
4142         * bufferlist.C:
4143         * lyx_cb.C:
4144         * lyxfunc.C:
4145         * lyxvc.C: specify cancel button in Alert::prompt
4146
4147 2003-04-26  John Levon  <levon@movementarian.org>
4148
4149         * text3.C:
4150         * lyxfunc.C:
4151         * lfuns.h:
4152         * LyXAction.C: add LFUN_INSET_SETTINGS
4153
4154         * lyxfunc.C: don't enable tabular-feature when there's
4155         just any locking inset
4156
4157 2003-04-26  John Levon  <levon@movementarian.org>
4158
4159         * bufferlist.C: re-add Cancel to buffer close question
4160
4161         * lyxfunc.C: fix import UI a bit
4162
4163 2003-04-25  John Levon  <levon@movementarian.org>
4164
4165         * gettext.C: remove the broken asserts for now
4166
4167 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * messages.C: make case where setlocale cannot comply work better.
4170
4171         * buffer.C (updateDocLang): new function
4172         (changeLanguage): use it
4173         (readFile): use it
4174
4175         * text2.C (setCounter): use B_ a bit.
4176
4177         * lyxlayout.C (Read): be sure to trim the label strings.
4178
4179         * messages.C (Messages): fix typo in comment
4180
4181         * buffer.C (readFile): set message_ after file is loaded.
4182         (makeDocBookFile): remove double return
4183         (changeLanguage): reset message_ upon language change.
4184         (B_): new func, use this to get translated buffer strings.
4185
4186         * main.C: add myself and Jean Marc as authors.
4187
4188 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * messages.[hC]: pimplify Messages, and three different pimpls to be
4191         used in different circumstances.
4192
4193         * gettext.[Ch]: change for use with new message code.
4194
4195 2003-04-24 André Pönitz <poenitz@gmx.net>
4196
4197         * factory.C: support for eqref
4198
4199 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * messages.[Ch]: add missing char
4202
4203         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4204
4205         * messages.[Ch]: New files
4206
4207 2003-04-18  John Levon  <levon@movementarian.org>
4208
4209         * BufferView.h:
4210         * BufferView.C:
4211         * BufferView_pimpl.C:
4212         * lfuns.h:
4213         * LyXAction.C:
4214         * lyxtext.h:
4215         * text2.C: remove layout-copy/paste (bug 778)
4216
4217 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4220
4221 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4222
4223         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4224         if they succeed. Act accordingly.
4225
4226 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * text2.C (setCharFont): adjust
4229         (setCounter): adjust
4230         (insertStringAsLines): adjust
4231
4232         * text.C (leftMargin): adjust
4233         (setHeightOfRow): adjust
4234
4235         * rowpainter.C (paintFirst): adjust
4236         (paintLast): adjust
4237
4238         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4239         (outerHook): ditto
4240         (isFirstInSequence): ditto
4241         (getEndLabel): ditto
4242         (outerFont): adjust
4243
4244         * paragraph.C (getParLanguage): comment out some hard stuff.
4245
4246         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4247         (sgmlError): ditto
4248         (simpleDocBookOnePar): ditto
4249         (makeDocBookFile): use ParagraphList::iterator
4250
4251         * CutAndPaste.C (pasteSelection): adjust
4252
4253 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * text2.C (getFont): adjust
4256         (getLayoutFont): adjust
4257         (getLabelFont): adjust
4258
4259         * paragraph_funcs.C (TeXOnePar): adjust
4260
4261         * buffer.C (simpleLinuxDocOnePar): adjust
4262         (simpleDocBookOnePar): adjust
4263
4264         * CutAndPaste.C (pasteSelection): adjust
4265
4266         * BufferView.C (getEncoding): adjust
4267
4268         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4269
4270 2003-04-16  John Levon  <levon@movementarian.org>
4271
4272         * lyxfind.C: use parlist stuff for search/changes
4273
4274 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4277
4278         * text2.C (deleteEmptyParagraphMechanism): adjust
4279
4280         * text2.[Ch] (ownerParagraph): delete func (both of them
4281
4282 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4285
4286 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * ParagraphList.C: prepare for NO_NEXT
4289
4290 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * text2.C (getFont): adjust
4293         (getLayoutFont): adjust
4294         (getLabelFont): adjust
4295
4296         * paragraph.C (getFont): adjust
4297         (getLabelFont): adjust
4298         (getLayoutFont): adjust
4299
4300         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4301
4302 2003-04-15  John Levon  <levon@movementarian.org>
4303
4304         From Angus Leeming
4305
4306         * lyx_main.C: handle Include in .ui files
4307
4308 2003-04-15  John Levon  <levon@movementarian.org>
4309
4310         * MenuBackend.C: make the doc files length shorter
4311
4312         * ToolbarBackend.h:
4313         * ToolbarBackend.C: handle toolbar placement flags,
4314         Minibuffer
4315
4316 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4319         adjust
4320
4321         * paragraph_funcs.C (TeXOnePar): adjust
4322
4323         * paragraph.C (getLabelFont): add outerfont arg, adjust
4324         (getLayoutFont): ditto
4325         (simpleTeXOnePar): adjust
4326
4327         * paragraph_pimpl.C (realizeFont): delete func
4328
4329 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4332         row argument, constify cur argument.
4333
4334 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text2.C (getFont): adjust
4337         (getLayoutFont): adjust
4338         (getLabelFont): adjust
4339
4340         * paragraph_funcs.C (TeXOnePar): adjust
4341         (outerFont): new func...
4342         (realizeFont): ...moved out from here, changed this to facilitate
4343         transition
4344
4345         * paragraph.C (getFont): take outerfont as arg, adjust
4346         (simpleTeXOnePar): add outerfont arg, adjust
4347
4348         * buffer.C (simpleLinuxDocOnePar): adjust
4349         (simpleDocBookOnePar): adjust
4350
4351         * CutAndPaste.C (pasteSelection): adjust
4352
4353         * BufferView.C (getEncoding): adjust
4354
4355 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * text2.C (setCharFont): adjust
4358         (setCounter): adjust
4359
4360         * text.C (leftMargin): adjust
4361         (setHeightOfRow): adjust
4362
4363         * rowpainter.C (paintFirst): adjust
4364         (paintLast): adjust
4365
4366         * paragraph_pimpl.C (realizeFont): adjust
4367
4368         * paragraph.C (isFirstInSequence): move from here...
4369         * paragraph_funcs.C (isFirstInSequence): ...to here
4370
4371         * paragraph.C (outerHook): move from here...
4372         * paragraph_funcs.C (outerHook): ...to here
4373
4374         * paragraph.C (depthHook): move from here...
4375         * paragraph_funcs.C (depthHook): ...to here
4376
4377         * paragraph.C (getEndLabel): move from here...
4378         * paragraph_funcs.C (getEndLabel): ...to here
4379
4380         * text2.C (realizeFont): move from here...
4381         * paragraph_funcs.C (realizeFont): ...to here
4382
4383 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4386
4387 2003-04-14  Angus Leeming  <leeming@lyx.org>
4388
4389         * LColor.[Ch]: scrap LColor mathcursor.
4390
4391 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * lyxlex.[Ch] (text): delete function
4394         * trans.C (Load): adjust
4395         * paragraph_funcs.C (readParToken): adjust
4396
4397 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4400         vector<char> instead of a char[].
4401
4402         * lyxlex_pimpl.C (getString): adjust
4403         (next): adjust
4404         (lex): use getString
4405         (eatLine): adjust
4406         (nextToken): adjust
4407
4408         * lyxlex.C (text): use pimpl_->getString()
4409         (getBool): ditto
4410         (findToken): ditto
4411
4412 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4415         (makeFontEntriesLayoutSpecific): temp var for par.size()
4416         (setLayout): temp var for ownerParagraphs().end()
4417         (fullRebreak): temp var for rows().end()
4418         (selectionAsString): temp var for boost::next(startpit), realize
4419         that the while really is a regular for loop.
4420         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4421         setCursor in one place.
4422         (setParagraph): temp vr for ownerParagraphs().end()
4423         (updateCounters): make the while loop a for loop
4424         (cutSelection): temp var for ownerParagraphs().end()
4425         (updateInset): make the do {} while() a regular for loop
4426         (getCursorX): use temp vars
4427         (setCurrentFont): use temp vars
4428         (getColumnNearX): use temp vars
4429
4430 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * text.C (transformChar): use temp var for getChar
4433         (computeBidiTables): use temp var for row->par()
4434         (fill): move temp vars for row->par() and pit->layout() earlier in
4435         the function.
4436         (labelFill): use temp var for row->par()
4437         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4438         asc and desc, realize that pit never changes and that firstpit is
4439         just a duplicate and not needed. Exchange rit->par() with pit in a
4440         lot of places.
4441         (breakAgain): use a temp var for boost::next(rit)
4442         (breakAgainOneRow): ditto
4443         (breakParagraph): use a temp var for rows().begin()
4444         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4445         (cursorRightOneWord): use temp var for cursor.par() and
4446         cursor.pos(), remove usage of tmpcursor.
4447         (cursorLeftOneWord): use temp var for cursor.par() and
4448         cursor.pos() only set cur at end of function.
4449
4450 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * text.C, text2.C: exchange all usage of Paragraph::next with
4453         boost::next(ParagraphList::iterator)
4454
4455         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4456
4457         * text2.C (cursorTop): simplify implementation
4458         (cursorBottom): ditto
4459         (setParagraph): use ParagraphList::iterator
4460         (setCurrentFont): adjust
4461         (getColumnNearX): adjust
4462         (cursorRight): adjust
4463         (cursorLeft): remove usage of Paragraph::previous
4464         (cursorUpParagraph): ditto
4465         (deleteEmptyParagraphMechanism): slight cleanup
4466
4467         * text.C (isBoundary): take a Paragraph const & instead of a
4468         pointer as arg.
4469         (addressBreakPoint): ditto
4470         (leftMargin): remove usage of Paragraph::previous.
4471         (setHeightOfRow): ditto
4472         (cursorLeftOneWord): ditto
4473         (selectNextWordToSpellcheck): ditto
4474         (Delete): ditto
4475         (backspace): ditto
4476         (breakParagraph): remove one usage of Paragraph::next
4477         (redoParagraph): ditto
4478         (acceptChange): ditto
4479         (insertChar): adjust
4480         (rowBreakPoint): adjust
4481
4482         * bufferview_funcs.C (toggleAndShow): adjust
4483
4484 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4487         methods to access it.
4488         * lyxtext.h:
4489         * text.C: Added updateRowPositions to compute all row positions.
4490         Make top_y and getRowNearY() to use the cached y position
4491
4492 2003-04-11  John Levon  <levon@movementarian.org>
4493
4494         * text.C (rowBreakPoint): reintroduce the labelEnd
4495         checks, code copied from the row fill stuff. Deep voodoo.
4496
4497         * text.C (fill): add a comment and debugging for the
4498         next poor soul.
4499
4500 2003-04-11  John Levon  <levon@movementarian.org>
4501
4502         * text.C: make sure fullrow insets get wrapped to the next line,
4503         even when they're in a manual label
4504
4505 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * text2.C (insertParagraph): make it take ParagraphList::iterator
4508         as arg.
4509         (setLayout): make it return ParagraphList::iterator
4510         (redoParagraphs): ditto
4511         (setCounter): ditto
4512         (checkParagraph): ditto
4513
4514         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4515
4516         * text2.C: adjust several funcs.
4517         (realizeFont): take a ParagraphList::iterator as arg.
4518         (getLayoutFont): ditto
4519         (getLabelFont): ditto
4520         (setCharFont): ditto
4521
4522         * text.C: adjust several funcs.
4523
4524 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * text.C (selectNextWordToSpellcheck): don't accidentally
4527         skip insets
4528
4529 2003-04-10  John Levon  <levon@movementarian.org>
4530
4531         * ToolbarBackend.C (getIcon): special handling for
4532         LFUN_MATH_DELIM
4533
4534 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * text2.C (cursorRight): a getChar assert fixed
4537
4538 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * text2.C (getFont): change to take a ParagraphList::iterator
4541         instead of Paragraph*
4542         Adjust several functions.
4543
4544         * text.C (transformChar): change to take a ParagraphList::iterator
4545         instead of Paragraph*
4546         (singleWidth): ditto
4547         Adjust several functions.
4548
4549         * rowpainter.C: adjust several functions
4550         * rowpainter.h:store a ParagraphList::iterator and not a
4551         Paragraph&.
4552
4553
4554 2003-04-09  John Levon  <levon@movementarian.org>
4555
4556         * lyxfunc.C:
4557         * lfuns.h:
4558         * LyXAction.h:
4559         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4560         and the "help" bits as well
4561
4562 2003-04-09  John Levon  <levon@movementarian.org>
4563
4564         * ToolbarBackend.h:
4565         * ToolbarBackend.C: allow multiple toolbars
4566
4567 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * undo_funcs.C (setCursorParUndo): adjust
4570
4571         * text_funcs.C (transposeChars): adjust
4572
4573         * text3.C (gotoNextInset): adjust
4574         (dispatch): adjust
4575
4576         * text2.C (setLayout): adjust
4577         (changeDepth): adjust
4578         (setFont): adjust
4579         (redoParagraphs): adjust
4580         (selectionAsString): adjust
4581         (setParagraph): adjust
4582         (insertInset): adjust
4583         (cutSelection): adjust
4584         (copySelection): adjust
4585         (pasteSelection): adjust
4586         (insertStringAsLines): adjust
4587         (updateInset): adjust
4588         (setCursor): change to take a ParagraphList::iterator parameter
4589         (setCursorIntern): change to take a ParagraphList::iterator parameter
4590         (setCurrentFont): adjust
4591         (cursorLeft): adjust
4592         (cursorRight): adjust
4593         (deleteEmptyParagraphMechanism): adjust
4594
4595         * text.C (breakParagraph): adjust
4596         (insertChar): adjust
4597         (acceptChange): adjust
4598         (rejectChange): adjust
4599         (selectNextWordToSpellcheck): adjust
4600         (changeCase): adjust
4601         (Delete): adjust
4602         (backspace): adjust
4603
4604         * lyxfind.C (SearchForward): adjust
4605         (SearchBackward): adjust
4606         (nextChange): adjust
4607
4608         * lyxcursor.C (par): adjust
4609
4610         * lyxcursor.h: store a ParagraphList::iterator instead of a
4611         Paragraph*
4612
4613         * lyx_cb.C (getPossibleLabel): adjust
4614
4615         * bufferview_funcs.C (toggleAndShow): adjust
4616
4617         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4618         (dispatch): adjust
4619
4620         * BufferView.C (removeAutoInsets): adjust
4621         (lockedInsetStoreUndo): adjust
4622
4623 2003-04-09  John Levon  <levon@movementarian.org>
4624
4625         * ToolbarBackend.C: try icon without argument
4626         if with argument fails
4627
4628 2003-04-08  John Levon  <levon@movementarian.org>
4629
4630         * ToolbarBackend.h:
4631         * ToolbarBackend.C: add getIcon(), handle tooltip,
4632         and change from "Icon" to "Item".
4633
4634 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4635
4636         * BufferView.C (lockInset): another bad getchar crunched
4637
4638 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4639
4640         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4641         again)
4642
4643 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * lyxfind.C (searchForward, searchBackwards): bug 782
4646
4647 2003-04-07  John Levon  <levon@movementarian.org>
4648
4649         * paragraph.C: remove dead comment
4650
4651         * text.C: remove troublesome depth-fiddling code
4652         in leftMargin() and rightMargin() (bug 1017)
4653
4654         * text.C: fix breaking of rows in nested lists
4655         (bug 1004)
4656
4657         * text2.C (updateCounters): fix up depth values
4658         (bug 1013)
4659
4660 2003-04-07  John Levon  <levon@movementarian.org>
4661
4662         * BufferView_pimpl.C: clear message when doc finishes resizing,
4663         and after a mouse event
4664
4665         * lyxfunc.C: clear message after exiting inset
4666
4667 2003-04-07  John Levon  <levon@movementarian.org>
4668
4669         * bufferview_funcs.C: show math status not outside
4670         status in the statusbar
4671
4672 2003-04-07  John Levon  <levon@movementarian.org>
4673
4674         * lyxfunc.C: note status changed after a depth change
4675
4676 2003-04-04  Angus Leeming  <leeming@lyx.org>
4677
4678         * LaTeX.h: move AuxInfo operator==, != out of line.
4679         Remove LaTeX virtual destructor; nothing derives from it.
4680         Move operator()() out of public area and rename it startscript().
4681         Change protected for private.
4682
4683 2003-04-04  Angus Leeming  <leeming@lyx.org>
4684
4685         * lyxfunc.C:
4686         * text2.C: remove unneeded #includes.
4687
4688 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * text2.C (dEPM): fix the heigth of the next row
4691
4692 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * text.C: squashed an invalid getChar requester + some ws changes
4695
4696 2003-04-03  John Levon  <levon@movementarian.org>
4697
4698         * bufferview_funcs.h:
4699         * bufferview_funcs.C:
4700         * lyxfunc.C:
4701         * lyxtext.h:
4702         * text2.C: make getStatus work for the env depth lfuns
4703
4704 2003-04-03  John Levon  <levon@movementarian.org>
4705
4706         * bufferview_funcs.h:
4707         * bufferview_funcs.C:
4708         * lyxfunc.C:
4709         * lyxtext.h:
4710         * text2.C: parlistize decDepth(), by merging it with incDepth()
4711
4712 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * lyxrow.h: store a ParagraphList::iterator instead of a
4715         Paragraph* and adjust other class functions to suit.
4716
4717         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4718         above.
4719
4720 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * text2.C (setCursor): do not anchor to cursor row for the time being
4723
4724 2003-04-02  John Levon  <levon@movementarian.org>
4725
4726         * LyXAction.C:
4727         * lfuns.h:
4728         * lyx_main.C:
4729         * lyxtext.h:
4730         * text.C:
4731         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4732
4733 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * paragraph.h: make ParagraphList and ParagraphList::iterator
4736         friends of Paragraph.
4737
4738         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4739
4740         * ParagraphList.C: Use the private next_ and previous_ from
4741         Paragraph.
4742
4743 2003-04-01  John Levon  <levon@movementarian.org>
4744
4745         * ToolbarBackend.h:
4746         * ToolbarBackend.C:
4747         * Makefile.am: rename, remove defaults gunk
4748
4749         * MenuBackend.h:
4750         * MenuBackend.C: remove defaults gunk
4751
4752         * Languages.h:
4753         * Languages.C: remove defaults gunk
4754
4755         * lyx_main.h:
4756         * lyx_main.C: error out if files couldn't be found.
4757
4758 2003-04-02  John Levon  <levon@movementarian.org>
4759
4760         * text2.C: make incDepth() use parlist
4761
4762 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * undo_funcs.C (firstUndoParagraph): adjust
4765
4766         * text3.C (gotoInset): adjust
4767         (dispatch): adjust, and rewrite loop.
4768
4769         * text2.C (init): adjust, and rewrite loop.
4770         (redoParagraphs): adjust
4771         (updateInset): adjust, and rewrite loop.
4772         (deleteEmptyParagraphMechanism): adjust
4773
4774         * tabular.C (LyXTabular): adjust
4775         (SetMultiColumn): adjust
4776         (TeXRow): adjust
4777
4778         * lyxtext.[Ch] (ownerParagraph): delete function
4779         (ownerParagraphs): new function returns a ParagraphList.
4780
4781         * BufferView.C (removeAutoInsets): adjust
4782         (insertErrors): adjust
4783         (setCursorFromRow): adjust
4784
4785 2003-04-01  Angus Leeming  <leeming@lyx.org>
4786
4787         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4788         in the frontends.
4789
4790 2003-04-02  John Levon  <levon@movementarian.org>
4791
4792         * lyxtext.h:
4793         * text.C:
4794         * Makefile.am:
4795         * text_funcs.h:
4796         * text_funcs.C: make transposeChars a free function
4797
4798         * lyxrow_funcs.C: remove wrong comment
4799
4800 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * lyxtext.h: adjust
4803         * rowpainter.C: adjust
4804         * text.C: adjust
4805         * text2.C: adjust
4806         * text3.C: adjust
4807
4808         * lyxrow_funcs. [Ch]: new files
4809
4810         * lyxrow.[Ch]: remove next and previous pointers
4811         (next,previous): remove accessor functions
4812         (isParEnd): move to lyxrow_funcs
4813         (lastPos): move to lyxrow_funcs
4814         (nextRowIsAllInset): move to lyxrow_funcs
4815         (lastPrintablePos): move to lyxrow_funcs
4816         (numberOfSeparators): move to lyxrow_funcs
4817         (numberOfHfills): move to lyxrow_funcs
4818         (numberOfLabelHfills): move to lyxrow_funcs
4819         (hfillExpansion): move to lyxrow_funcs
4820
4821         * lyxfunc.C: adjust
4822
4823         * bufferview_funcs.C (toggleAndShow): adjust
4824
4825         * RowList.h: Remove class RowList from file leave just a
4826         std::list<Row>.
4827
4828         * RowList.C: delete file
4829
4830         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4831         and lyxrow_funcs.h
4832
4833 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * text3.C (cursorPrevious): adjust
4836         (cursorNext): adjust
4837         (dispatch): adjust
4838
4839         * text2.C (redoHeightOfParagraph): adjust
4840         (redoDrawingOfParagraph): adjust
4841         (setCursor): adjust
4842
4843         * text.C (breakParagraph): adjust
4844         (insertChar): adjust
4845         (backspace): adjust
4846
4847         * rowpainter.C (RowPainter): adjust
4848         (leftMargin): simplify and adjust
4849         (most rowpainter functions): adjust.
4850
4851         * rowpainter.h: store the row as RowList::iterator not as Row*
4852
4853         * lyxcursor.C (row): taka RowList::iterator as arg
4854         (irow): ditto
4855
4856         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4857         of Row*.
4858
4859 2003-04-01  Angus Leeming  <leeming@lyx.org>
4860
4861         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4862         stuff like bool Bool.
4863
4864 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4867         rewrite a loop
4868
4869 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4872         RowList::iterator.
4873
4874         * lyxtext.h (rows): drop one version and leve a const variant that
4875         returns a RowList::iterator.
4876
4877 2003-03-31  Angus Leeming  <leeming@lyx.org>
4878
4879         * text.C (fill): ensure that the signature is the same as that in the
4880         header file.
4881
4882 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * text2.C (redoParagraphs): adjust
4885         (updateCounters): adjust
4886         (checkParagraph): adjust
4887         (getColumnNearX): adjust and reformat a bit.
4888
4889         * text.C (top_y): adjust
4890         (workWidth): adjust
4891         (leftMargin): adjust
4892         (prepareToPrint): adjust
4893         (getRow): adjust
4894         (getRowNearY): adjust
4895
4896         * lyxtext.h: make rowlist_ mutable.
4897
4898         * RowList.h: add const_iterator
4899         * RowList.C: adjust for RowList::const_iterator.
4900
4901         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4902         adjust.
4903
4904 2003-03-31  John Levon  <levon@movementarian.org>
4905
4906         * lyxrc.h:
4907         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4908
4909         * lyx_main.C: set default fonts from using lyx_gui funcs
4910
4911         * exporter.C: pdf_mode moved from lyxrc
4912
4913         * lyx_cb.C:
4914         * lyxfunc.C: changes from above
4915
4916 2003-03-31  John Levon  <levon@movementarian.org>
4917
4918         * lyx_main.C: fix to the last fix
4919
4920 2003-03-31  John Levon  <levon@movementarian.org>
4921
4922         * bufferlist.C: "Load original" -> "Load Original"
4923
4924         * converter.C:
4925         * exporter.C:
4926         * importer.C:
4927         * lyx_main.C:
4928         * format.C: more Alert cleanups
4929
4930 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * text2.C (removeParagraph): make it take a RowList::iterator as
4933         arg, adjust.
4934         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4935         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4936
4937         * text.C (anchor_row): make it take a RowList::iterator as arg,
4938         adjust.
4939         (computeBidiTables): make it take a const reference to Row instead
4940         of Row pointer, adjust.
4941         (leftMargin): make it take a RowList::iterator as arg, adjust.
4942         (rowBreakPoint): adjust
4943         (breakAgainOneRow): make it take a RowList::iterator as arg,
4944         adjust.
4945         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4946
4947         * bufferview_funcs.C (toggleAndShow): adjust
4948
4949 2003-03-30  John Levon  <levon@movementarian.org>
4950
4951         * Makefile.am:
4952         * BoostFormat.h:
4953         * boost-inst.C: moved to support
4954
4955         * several files: changes as a result
4956
4957 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * text2.C (LyXText): adjust.
4960         (init): adjust
4961         (removeRow): make it take a RowList::iterator as arg, adjust.
4962         (fullRebreak): adjust
4963         (deleteEmptyParagraphMechanism): adjust
4964         (clearPaint): adjust
4965         (postPaint): adjust
4966
4967         * text.C (top_y): adjust
4968         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4969         (breakAgain): make it take a RowList::iterator as arg, adjust.
4970         (breakParagraph): adjust
4971         (insertChar): adjust
4972         (backspace): adjust
4973
4974         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4975         need_break_row, and refresh_row.
4976
4977         * text3.C (dispatch): adjust
4978
4979         * text2.C (checkParagraph): adjust
4980         (setCursor): adjust
4981         (setCursorFromCoordinates): adjust
4982
4983         * text.C (top_y): adjust
4984         (workWidth): adjust
4985         (getRow): make it return a RowList::iterator, adjust
4986         (getRowNearY): make it return a RowList::iterator, adjust
4987
4988         * text2.C (init): adjust
4989         (insertRow): remove function
4990         (insertParagraph): adjust
4991         (redoParagraphs): adjust
4992         (fullRebreak): adjust
4993         (updateCounters): adjust
4994
4995         * text.C (top_y): rewrite to use RowList iterators.
4996         (top_y): adjust
4997         (setHeightOfRow): rewrite to sue RowList iterators.
4998         (appendParagraph): adjust
4999         (breakAgain): adjust
5000         (breakAgainOneRow): adjust
5001         (breakParagraph): adjust
5002         (getRow): adjust
5003         (getRowNearY): adjust, and remove commented code.
5004
5005         * lyxtext.h (firstRow): delete function
5006         (lastRow): delete function
5007         (rows): new function (const and non-const versions.)
5008         (insertRow): delete function
5009
5010         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5011
5012 2003-03-29  John Levon  <levon@movementarian.org>
5013
5014         * BufferView_pimpl.C: always update scrollbar top
5015         because pasting text when we're anchored could mean we
5016         miss an update altogether
5017
5018 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5019
5020         * text2.C (init): use rowlist_.end() and not 0.
5021         (insertRow): change to take a RowList::iterator as arg, adjust
5022         for this.
5023         (insertParagraph): change to take a RowList::iterator as arg,
5024         adjust for this.
5025         (redoParagraphs): remove some debug msgs.
5026
5027         * text.C (appendParagraph): change to take a RowList::iterator
5028         arg, adjust for this.
5029         (breakAgain): add an assert
5030         (breakAgainOneRow): ditto
5031
5032 2003-03-29  John Levon  <levon@movementarian.org>
5033
5034         * text2.C: do not clear selection after inc/decDepth
5035         (bug 550)
5036
5037 2003-03-29  John Levon  <levon@movementarian.org>
5038
5039         * BufferView.C:
5040         * buffer.C: fix broken strerrors according to Lars
5041
5042 2003-03-29  John Levon  <levon@movementarian.org>
5043
5044         * converters.C: more Alert cleanups
5045
5046 2003-03-29  John Levon  <levon@movementarian.org>
5047
5048         * bufferview_funcs.C: remove pointless Alert
5049
5050         * buffer.C: fix confusing error message when
5051         a template is chmoded 000
5052
5053 2003-03-29  John Levon  <levon@movementarian.org>
5054
5055         * BufferView.C:
5056         * BufferView.h:
5057         * BufferView_pimpl.C: Alert fixes
5058
5059         * Makefile.am:
5060         * tabular.C:
5061         * tabular-old.C: remove unused table compat reading
5062
5063 2003-03-29  John Levon  <levon@movementarian.org>
5064
5065         * BufferView.C:
5066         * buffer.C:
5067         * lyx_cb.h:
5068         * lyx_cb.C: more Alert cleanups
5069
5070         * lyxfunc.C: don't allow chktex if not latex document
5071
5072 2003-03-29  John Levon  <levon@movementarian.org>
5073
5074         * lyx_cb.C:
5075         * BufferView.C:
5076         * buffer.C: warnings pushed down from support/,
5077         kill err_alert
5078
5079 2003-03-29  John Levon  <levon@movementarian.org>
5080
5081         * lyxfunc.C: safety check for C-r (revert)
5082
5083 2003-03-29  John Levon  <levon@movementarian.org>
5084
5085         * bufferlist.h:
5086         * bufferlist.C: several UI fixes using Alert::prompt.
5087         Fix the pointless looping quit code. Fix stupid revert
5088         behaviour (bug 938)
5089
5090         * lyxvc.h:
5091         * lyxvc.C:
5092         * lyx_cb.C: use Alert::prompt
5093
5094         * lyx_main.C: remove a silly question
5095
5096         * lyxfunc.C: remove a couple of silly questions,
5097         use Alert::prompt
5098
5099 2003-03-28  John Levon  <levon@movementarian.org>
5100
5101         * text2.C: fix bug 974 (End on empty par)
5102
5103 2003-03-28  John Levon  <levon@movementarian.org>
5104
5105         * BufferView_pimpl.C:
5106         * LyXAction.C:
5107         * lfuns.h: remove do-nothing math greek lfuns
5108
5109 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * lyxgluelength.h (isValidGlueLength): add default arg on
5112         parameter 2. Remove default arg from friend in class.
5113
5114         * lyxlength.h (isValidLength): add default arg on parameter 2.
5115         Remove default arg from friend in class.
5116
5117         * text2.C (LyXText): adjust, initialize refresh_row.
5118         (init): adjust
5119         (removeRow): adjust
5120         (insertRow): adjust
5121         (insertParagraph): adjst
5122         (redoParagraphs): adjust
5123         (fullRebreak): adjust
5124         (updateCounters): adjust
5125         (deleteEmptyParagraphMechanism): first attempt at fixing a
5126         crashing bug.
5127
5128         * text.C (top_y): adjust
5129         (setHeightOfRow): adjust
5130         (getRow): adjust
5131         (getRowNearY): adjust
5132
5133         * lyxtext.h: include RowList.h
5134         (~LyXText): not needed anymore, deleted.
5135         (firstRow): modify for RowList
5136         (lastRow): new function
5137         Delete firstrow and lastrow class variables, add a Rowlist
5138         rowlist_ class variable.
5139
5140         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5141         paragraph is empty.
5142
5143         * RowList.C (insert): fix case where it == begin().
5144
5145 2003-03-26  Angus Leeming  <leeming@lyx.org>
5146
5147         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5148         the thesaurus dialog.
5149
5150 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5153
5154         * RowList.[Ch]: new files
5155
5156         * ParagraphList.C (erase): handle the case where it == begin
5157         correctly.
5158
5159 2003-03-25  John Levon  <levon@movementarian.org>
5160
5161         * Makefile.am:
5162         * aspell_local.h:
5163         * aspell.C: add new aspell support
5164
5165         * lyxrc.h:
5166         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5167         have it accessible.
5168
5169 2003-03-25  Angus Leeming  <leeming@lyx.org>
5170
5171         * lfuns.h:
5172         * LyXAction.C (init): new LFUN_INSET_INSERT.
5173
5174         * BufferView_pimpl.C (dispatch): split out part of the
5175         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5176
5177         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5178         LFUN_INSET_APPLY.
5179
5180 2003-03-25  Angus Leeming  <leeming@lyx.org>
5181
5182         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5183
5184 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5185
5186         * text2.C:
5187         * text3.C: remove useless row->height(0)
5188
5189 2003-03-25  John Levon  <levon@movementarian.org>
5190
5191         * lyxtext.h:
5192         * text2.C:
5193         * text3.C: rename the refreshing stuff to better names
5194
5195 2003-03-24  John Levon  <levon@movementarian.org>
5196
5197         * BufferView_pimpl.h:
5198         * BufferView_pimpl.C: update layout choice on a mouse
5199         press/release
5200
5201 2003-03-23  John Levon  <levon@movementarian.org>
5202
5203         * Makefile.am: fix commandtags.h reference
5204
5205 2003-03-22  John Levon  <levon@movementarian.org>
5206
5207         * BufferView_pimpl.C:
5208         * lyxtext.h:
5209         * rowpainter.C:
5210         * rowpainter.h:
5211         * text.C:
5212         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5213
5214 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5215
5216         * lyxtext.h:
5217         * text.C: take the rtl methods out of line
5218
5219 2003-03-21 André Pönitz <poenitz@gmx.net>
5220
5221         * metricsinfo.[Ch]: new files containing structures to be passed around
5222         during the two-phase-drawing...
5223
5224 2003-03-21 André Pönitz <poenitz@gmx.net>
5225
5226         * lyxtextclass.C: read 'environment' tag.
5227
5228 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5229
5230         * text2.C (removeRow): fix bug 964
5231
5232 2003-03-20  John Levon  <levon@movementarian.org>
5233
5234         * rowpainter.C:
5235         * text.C:
5236         * text2.C: paint cleanups. Inset::update() dropped font
5237         parameter
5238
5239 2003-03-19  John Levon  <levon@movementarian.org>
5240
5241         * lyxfunc.C: only fitcursor/markDirty if available()
5242
5243 2003-03-19  John Levon  <levon@movementarian.org>
5244
5245         * commandtags.h: rename to ...
5246
5247         * lfuns.h: ... this, and renumber / cleanup
5248
5249 2003-03-19  John Levon  <levon@movementarian.org>
5250
5251         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5252         fit the cursor after an lfun
5253
5254         * BufferView.h:
5255         * BufferView.C:
5256         * BufferView_pimpl.h:
5257         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5258
5259         * LyXAction.C: layout-character should have ReadOnly
5260
5261         * ParagraphParameters.C:
5262         * buffer.C:
5263         * bufferview_funcs.C:
5264         * lyx_cb.C:
5265         * lyxfind.C:
5266         * lyxtext.h:
5267         * text.C:
5268         * text2.C:
5269         * text3.C:
5270         * undo_funcs.C: changes from above
5271
5272 2003-03-18  John Levon  <levon@movementarian.org>
5273
5274         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5275         remove it from update()
5276
5277         * lyxfunc.C: update layout choice after an lfun
5278
5279         * text3.C: remove extra updateLayoutChoice()s
5280
5281 2003-03-18  John Levon  <levon@movementarian.org>
5282
5283         * text.C: top_y change means full repaint, fix
5284         a drawing bug with cursor movement
5285
5286 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5287
5288         * lyxtext.h:
5289         * text.C:
5290         * text2.C: anchor row on setCursor
5291
5292 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * lyxtext.h: remove almost all mutable keywords
5295         * text.C:
5296         * text2.C:
5297         * text3.C: remove const keywords accordingly
5298
5299 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5302         anon namespace
5303         (TeXEnvironment): ditto
5304         (TeXOnePar): ditto
5305
5306 2003-03-17  John Levon  <levon@movementarian.org>
5307
5308         * text.C (rowBreakPoint): remove attempt to fix displayed
5309         math insets inside a manual label
5310
5311 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * lyxtext.h: remove BufferView* as first arg from almost all class
5314         functions.
5315         * other files: adjust.
5316
5317 2003-03-17  John Levon  <levon@movementarian.org>
5318
5319         * lyxtext.h:
5320         * undo_funcs.C:
5321         * text2.C: more paint cleanups
5322
5323         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5324
5325         * rowpainter.h:
5326         * rowpainter.C: remove "smart" background painting code
5327
5328 2003-03-16  John Levon  <levon@movementarian.org>
5329
5330         * lyxtext.h:
5331         * text.C:
5332         * text2.C:
5333         * text3.C: add helper functions for setting refresh_row/y
5334
5335 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5336
5337         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5338         newline inset which *can* get inserted in the pass_thru layouts.
5339         This is primarily for literate documents.
5340
5341 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5342
5343         * buffer.C: increment LYX_FORMAT to 223
5344
5345 2003-03-14 André Pönitz <poenitz@gmx.net>
5346
5347         * textclass.h: prepare for environment handling, ws changes
5348         * lyxlayout.C: read latexheader and latexfooter tags
5349
5350 2003-03-14  John Levon  <levon@movementarian.org>
5351
5352         * text2.C: rewrite ::status() a bit
5353
5354 2003-03-13  John Levon  <levon@movementarian.org>
5355
5356         * lyxtext.h: add some docs
5357
5358 2003-03-13  John Levon  <levon@movementarian.org>
5359
5360         * lyxtext.h:
5361         * text.C:
5362         * text2.C:
5363         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5364
5365 2003-03-13  John Levon  <levon@movementarian.org>
5366
5367         * text3.C: fix appendix redrawing
5368
5369 2003-03-13  John Levon  <levon@movementarian.org>
5370
5371         * text.C (setHeightOfRow):
5372         * rowpainter.h:
5373         * rowpainter.C: make appendix mark have the text
5374           "Appendix" so the user knows what it is
5375
5376         * LColor.h:
5377         * LColor.C: s/appendixline/appendix/ from above
5378
5379 2003-03-13  John Levon  <levon@movementarian.org>
5380
5381         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5382
5383         * text.C: fix a getChar(pos) bug properly
5384
5385 2003-03-13  Angus Leeming  <leeming@lyx.org>
5386
5387         * commandtags.h:
5388         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5389         Probably only temporary. Let's see how things pan out.
5390
5391         * BufferView.C (unlockInset):
5392         * BufferView_pimpl.C (fitCursor):
5393         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5394
5395         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5396         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5397
5398         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5399         new functions that convert ParagraphParameters to and from a string.
5400
5401         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5402         BufferView::Pimpl's dispatch.
5403         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5404
5405 2003-03-13 André Pönitz <poenitz@gmx.net>
5406
5407         * lyxfunc.C:
5408         * text3.C:
5409         * factory.C: make it aware of InsetEnv
5410
5411 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * text2.C (setCursor): never ask for one past last
5414         (setCursor): add some debugging messages.
5415
5416         * text.C (singleWidth): never ask for one past last
5417         (singleWidth): ditto
5418         (leftMargin): ditto
5419         (rightMargin): ditto
5420         (rowBreakPoint): ditto
5421         (setHeightOfRow): ditto
5422         (prepareToPrint): ditto
5423
5424         * rowpainter.C (paintBackground): never ask for one past last
5425         (paintText): never ask for one past last
5426
5427         * paragraph_pimpl.C (getChar): make the assert stricter, never
5428         allow the one past last pos to be taken
5429
5430         * paragraph.C (getChar): ws changes only
5431
5432         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5433         (numberOfSeparators): ditto
5434         (numberOfHfills): ditto
5435
5436 2003-03-12  John Levon  <levon@movementarian.org>
5437
5438         * author.h:
5439         * author.C:
5440         * bufferparams.h:
5441         * bufferparams.C:
5442         * paragraph_funcs.C: fix per-buffer authorlists
5443
5444 2003-03-12  John Levon  <levon@movementarian.org>
5445
5446         * text.C: fix newline in right address
5447
5448 2003-03-12  Angus Leeming  <leeming@lyx.org>
5449
5450         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5451         duplicate those in LyXFunc::dispatch.
5452
5453         * commandtags.h:
5454         * LyXAction.C:
5455         * ToolbarDefaults.C:
5456         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5457         Add LFUN_FONTFREE_UPDATE.
5458
5459         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5460         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5461
5462         * bufferview_func.[Ch]: several new functions to facilliate
5463         transfer of data to and from the character dialog.
5464
5465 2003-03-12  John Levon  <levon@movementarian.org>
5466
5467         * buffer.C:
5468         * paragraph.h:
5469         * paragraph.C:
5470         * paragraph_funcs.C:
5471         * paragraph_pimpl.C:
5472         * sgml.C:
5473         * tabular.C:
5474         * text.C:
5475         * text3.C: remove META_NEWLINE in favour of an inset
5476
5477         * rowpainter.h:
5478         * rowpainter.C: remove paintNewline (done by inset)
5479
5480 2003-03-12  John Levon  <levon@movementarian.org>
5481
5482         * paragraph_pimpl.C: complain about bad getChar()s
5483         for a while at least
5484
5485 2003-03-12  John Levon  <levon@movementarian.org>
5486
5487         * buffer.h:
5488         * buffer.C: move paragraph read into a separate function,
5489         a little renaming to reflect that.
5490
5491         * bufferparams.h:
5492         * bufferparams.C: remove the author_ids map, not necessary now
5493
5494         * factory.h:
5495         * factory.C: moved Buffer::readInset to here
5496
5497         * paragraph_funcs.h:
5498         * paragraph_funcs.C: readParagraph free function moved from
5499         buffer.C
5500
5501         * tabular.C: name change
5502
5503 2003-03-12  John Levon  <levon@movementarian.org>
5504
5505         * buffer.C:
5506         * ParagraphParameters.C: move par params input to
5507         a read() method
5508
5509         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5510         behave like a normal read from the stream wrt reading
5511         a line vs. a \\token
5512
5513 2003-03-12  John Levon  <levon@movementarian.org>
5514
5515         * paragraph.C:
5516         * ParagraphParameters.h:
5517         * ParagraphParameters.C: move output code to a
5518         ::write() method
5519
5520 2003-03-12  John Levon  <levon@movementarian.org>
5521
5522         * BufferView.C (insertLyXFile):
5523         * buffer.h:
5524         * buffer.C:
5525         * tabular.C: use a parlist iterator for creating the
5526           document.
5527
5528 2003-03-12  John Levon  <levon@movementarian.org>
5529
5530         * buffer.C: make current_change static local not
5531           static file-scope
5532
5533 2003-03-12  John Levon  <levon@movementarian.org>
5534
5535         * buffer.C: fix insertStringAsLines for change tracking
5536
5537 2003-03-12  John Levon  <levon@movementarian.org>
5538
5539         * BufferView.C:
5540         * tabular.C:
5541         * buffer.h:
5542         * buffer.C:
5543         * bufferparams.h:
5544         * bufferparams.C: move author list into params. Rename some
5545           functions. Move the header reading into a separate token
5546           loop. Move the header token reading into BufferParams.
5547
5548 2003-03-12  John Levon  <levon@movementarian.org>
5549
5550         * changes.C: put debug inside lyxerr.debugging() checks
5551
5552 2003-03-11 André Pönitz <poenitz@gmx.net>
5553
5554         * factory.C: make it aware of InsetHFill
5555
5556 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5557
5558         * buffer.C (latexParagraphs): move function from here...
5559         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5560         args.
5561
5562 2003-03-10  Angus Leeming  <leeming@lyx.org>
5563
5564         * LyXAction.C (init): fix bug in poplating array with multiple entries
5565         with the same LFUN (spotted by JMarc).
5566
5567 2003-03-10  John Levon  <levon@movementarian.org>
5568
5569         * text.C:
5570         * text2.C: move getColumnNearX() near its
5571         only call site
5572
5573 2003-03-10  John Levon  <levon@movementarian.org>
5574
5575         * text.C: fix break before a minipage
5576
5577 2003-03-10  John Levon  <levon@movementarian.org>
5578
5579         * text.C: fix the last commit
5580
5581 2003-03-09  John Levon  <levon@movementarian.org>
5582
5583         * lyxtext.h:
5584         * text.C:
5585         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5586         bug 365 (don't break before insets unless needed). Don't
5587         return a value > last under any circumstances.
5588
5589 2003-03-09  Angus Leeming  <leeming@lyx.org>
5590
5591         * BufferView_pimpl.C (trackChanges, dispatch): call
5592         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5593
5594 2003-03-09  Angus Leeming  <leeming@lyx.org>
5595
5596         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5597         than Dialogs::showAboutlyx().
5598
5599 2003-03-09  Angus Leeming  <leeming@lyx.org>
5600
5601         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5602         than Dialogs::showTabularCreate().
5603
5604 2003-03-09  John Levon  <levon@movementarian.org>
5605
5606         * lyxtext.h:
5607         * text.C:
5608         * text2.C: 3rd arg to nextBreakPoint was always the same.
5609           Use references.
5610
5611 2003-03-08  John Levon  <levon@movementarian.org>
5612
5613         * lyxrow.C:
5614         * paragraph.C:
5615         * paragraph.h:
5616         * rowpainter.C:
5617         * text.C:
5618         * text2.C: Remove the "main" bit from the "main body"
5619           notion.
5620
5621 2003-03-08  John Levon  <levon@movementarian.org>
5622
5623         * text.C (leftMargin): The left margin of an empty
5624         manual label paragraph should not include the label width
5625         string length.
5626
5627         * text.C (prepareToPrint): don't attempt to measure hfills
5628         for empty manual label paragraphs - the answer should be 0
5629
5630 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * CutAndPaste.C: remove commented code and reindent.
5633
5634 2003-03-08  John Levon  <levon@movementarian.org>
5635
5636         * lyxfunc.h:
5637         * lyxfunc.C: move reloadBuffer()
5638
5639         * BufferView.h:
5640         * BufferView.C: to here
5641
5642         * lyxvc.C: add comment
5643
5644         * vc-backend.h:
5645         * vc-backend.C: call bv->reload() to avoid
5646           getStatus() check on MENURELOAD
5647
5648 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5649
5650         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5651         to an old format .dep file.
5652
5653 2003-03-07  Angus Leeming  <leeming@lyx.org>
5654
5655         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5656         when the LFUN_MOUSE_RELEASE should have been handled by
5657         inset->localDispatch.
5658
5659 2003-03-07  Angus Leeming  <leeming@lyx.org>
5660
5661         * BufferView_pimpl.C (dispatch):
5662         * LyXAction.C (init):
5663         * ToolbarDefaults.C (init):
5664         * commandtags.h:
5665         * lyxfunc.C (getStatus):
5666         remove LFUN_INSET_GRAPHICS.
5667
5668         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5669
5670 2003-03-07  Angus Leeming  <leeming@lyx.org>
5671
5672         * commandtags.h:
5673         * LyXAction.C (init):
5674         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5675
5676         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5677
5678         * commandtags.h:
5679         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5680
5681         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5682         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5683
5684 2003-03-07  Angus Leeming  <leeming@lyx.org>
5685
5686         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5687         remove "ert".
5688
5689 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * ParagraphList.C (front): new function
5692         (back): implement
5693
5694 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5695
5696         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5697         and top_row_offset_. removed var first_y.
5698         * text.C (top_y):
5699         * text2.C (LyXText, removeRow):
5700         * text3.C:
5701         * BufferView_pimpl.C:
5702         use these methods instead of using first_y
5703
5704 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * text2.C (pasteSelection): adjust for checkPastePossible
5707
5708         * CutAndPaste.C: remove Paragraph * buf and replace with
5709         ParagraphList paragraphs.
5710         (DeleteBuffer): delete
5711         (cutSelection): change the tc type to textclass_type
5712         (copySelection): change the tc type to textclass_type
5713         (copySelection): adjust for ParagraphList
5714         (pasteSelection): change the tc type to textclass_type
5715         (pasteSelection): adjust for Paragraphlist
5716         (nrOfParagraphs): simplify for ParagraphList
5717         (checkPastePossible): simplify for ParagraphList
5718         (checkPastePossible): remove unused arg
5719
5720         * ParagraphList.C (insert): handle the case where there are no
5721         paragraphs yet.
5722
5723         * CutAndPaste.h: make CutAndPaste a namespace.
5724
5725         * text3.C (dispatch): adjust
5726
5727         * text.C (breakParagraph): add a ParagraphList as arg
5728
5729         * paragraph_funcs.C (breakParagraph): change to take a
5730         BufferParams and a ParagraphList as args.
5731         (breakParagraphConservative): ditto
5732         (mergeParagraph): ditto
5733         (TeXDeeper): add a ParagraphList arg
5734         (TeXEnvironment): ditto
5735         (TeXOnePar): ditto
5736
5737         * buffer.C (readLyXformat2): adjust
5738         (insertStringAsLines): adjust
5739         (latexParagraphs): adjust
5740
5741         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5742         (cutSelection): adjust
5743         (pasteSelection): adjust
5744
5745         * BufferView_pimpl.C (insertInset): adjust
5746
5747 2003-03-05  Angus Leeming  <leeming@lyx.org>
5748
5749         * commandtags.h:
5750         * LyXAction.C (init):
5751         * BufferView_pimpl.C (dispatch):
5752         * lyxfunc.C (getStatus):
5753         remove LFUN_CHILD_INSERT.
5754
5755         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5756
5757 2003-03-05  Angus Leeming  <leeming@lyx.org>
5758
5759         * commandtags.h:
5760         * LyXAction.C (init):
5761         * src/factory.C (createInset):
5762         * lyxfunc.C (getStatus):
5763         * text3.C (dispatch):
5764         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5765
5766         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5767
5768 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * ParagraphList.C (insert): handle insert right before end()
5771         (erase): fix cases where it can be first or last paragraph.
5772
5773 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5776         Paragraph::next and Paragraph::previous
5777         (TeXOnePar): ditto
5778
5779         * text.C (breakParagraph): adjust
5780
5781         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5782         BufferParams& as arg.
5783         (breakParagraph): use ParagraphList::insert
5784         (breakParagraphConservative): take a Buffer* instead of a
5785         BufferParams& as arg.
5786         (breakParagraphConservative): use ParagraphList::insert.
5787
5788         * buffer.C (insertStringAsLines): un-const it
5789         (insertStringAsLines): adjust
5790
5791         * ParagraphList.C (insert): new function
5792
5793         * CutAndPaste.C (pasteSelection): adjust
5794
5795         * text.C (backspace): adjust
5796
5797         * tabular.C (SetMultiColumn): adjust
5798
5799         * CutAndPaste.C (cutSelection): adjust
5800         (pasteSelection): adjust
5801
5802         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5803         Buffer const * as arg
5804
5805         * ParagraphList.C (erase): new function
5806         * paragraph_funcs.C (mergeParagraph): use it
5807         (mergeParagraph): make it take a Buffer* instead of a
5808         BufferParams* as arg
5809
5810         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5811         as arg
5812         (breakParagraphConservative): ditto
5813
5814         * paragraph.h: remove the breakParagraph friend
5815
5816         * paragraph.C (eraseIntern): new function
5817         (setChange): new function
5818
5819         * paragraph_funcs.C (mergeParagraph): make it take a
5820         ParagraphList::iterator instead of a Paragraph *, adjust
5821         accordingly.
5822
5823         * paragraph.h: move an #endif so that the change tracking stuff
5824         also works in the NO_NEXT case.
5825
5826 2003-03-04  Angus Leeming  <leeming@lyx.org>
5827
5828         * commandtags.h:
5829         * LyXAction.C: new LFUN_INSET_MODIFY.
5830
5831         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5832         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5833
5834 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * several files: ws changes only
5837
5838         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5839         (TeXEnvironment): ditto
5840         (TeXDeeper): ditto
5841
5842         * buffer.C (makeLaTeXFile): adjust
5843         (latexParagraphs): make it take ParagraphList::iterator as args
5844
5845 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * buffer.C (latexParagraphs): adjust
5848
5849         * paragraph.C (TeXOnePar): move function...
5850         (optArgInset): move function...
5851         (TeXEnvironment): move function...
5852         * paragraph_pimpl.C (TeXDeeper): move function...
5853         * paragraph_funcs.C: ...here
5854
5855         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5856
5857 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * buffer.C (readInset): remove compability code for old Figure and
5860         InsetInfo insets
5861
5862 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * buffer.C: ws changes
5865         (readInset):
5866
5867         * BufferView_pimpl.C: ditto
5868         * author.C: ditto
5869         * buffer.h: ditto
5870         * bufferlist.h: ditto
5871         * changes.h: ditto
5872         * lyxfunc.C: ditto
5873
5874 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5875
5876         * converter.[Ch]: split into itself +
5877         * graph.[Ch]
5878         * format.[Ch]
5879         * Makefile.am: += graph.[Ch] + format.[Ch]
5880         * MenuBackend.C
5881         * buffer.C
5882         * exporter.C
5883         * importer.C
5884         * lyx_main.C
5885         * lyxfunc.C
5886         * lyxrc.C: added #include "format.h"
5887
5888 2003-02-27  Angus Leeming  <leeming@lyx.org>
5889
5890         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5891           a label.
5892
5893         * factory.C (createInset): add "label" to the factory.
5894
5895         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5896           string and do no more.
5897
5898 2003-02-27  Angus Leeming  <leeming@lyx.org>
5899
5900         * commandtags.h:
5901         * LyXAction.C (init):
5902         * factory.C (createInset):
5903         * BufferView_pimpl.C (dispatch):
5904           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5905
5906         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5907
5908         * lyxfunc.C (dispatch):
5909         * text3.C (dispatch): pass name to params2string.
5910
5911 2003-02-26  Angus Leeming  <leeming@lyx.org>
5912
5913         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5914           blocks together.
5915           Rearrange the ~includes. Strip out the unnecessary ones.
5916
5917         * factory.C (createInset): reformat.
5918           create new insets for the various LFUN_XYZ_APPLY lfuns.
5919
5920 2003-02-26  John Levon  <levon@movementarian.org>
5921
5922         * lyxrow.h:
5923         * lyxrow.C: add isParStart,isParEnd helpers
5924
5925         * paragraph.h: make isInserted/DeletedText take refs
5926
5927         * paragraph_funcs.h:
5928         * paragraph_funcs.C: remove #if 0'd code
5929
5930         * lyxtext.h:
5931         * text3.C:
5932         * text2.C:
5933         * text.C: use lyxrow helpers above.
5934           Move draw and paint routines to RowPainter.
5935           Make several methods use refs not pointers.
5936           Make backgroundColor() const.
5937           Add markChangeInDraw(), isInInset().
5938           Merge changeRegionCase into changeCase.
5939           Make workWidth() shouldn't-happen code into an Assert.
5940
5941         * rowpainter.h:
5942         * rowpainter.C: new class for painting a row.
5943
5944         * vspace.h:
5945         * vspace.C: make inPixels take a ref
5946
5947 2003-02-26  Angus Leeming  <leeming@lyx.org>
5948
5949         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5950         LFUN_REF_APPLY.
5951
5952 2003-02-25  John Levon  <levon@movementarian.org>
5953
5954         * ispell.C: give the forked command a more accurate name
5955
5956 2003-02-22  John Levon  <levon@movementarian.org>
5957
5958         * toc.h:
5959         * toc.C: make TocItem store an id not a Paragraph *
5960           (bug #913)
5961
5962 2003-02-21  Angus Leeming  <leeming@lyx.org>
5963
5964         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5965           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5966           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5967           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5968           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5969           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5970
5971         * BufferView_pimpl.C (dispatch):
5972         * LyXAction.C (init):
5973         * factory.C (createInset):
5974         * lyxfunc.C (getStatus, dispatch):
5975         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5976
5977 2003-02-21  Angus Leeming  <leeming@lyx.org>
5978
5979         * BufferView_pimpl.C (MenuInsertLyXFile):
5980         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5981         * lyxfunc.C (menuNew, open, doImport):
5982           no longer pass a LyXView & to fileDlg.
5983
5984 2003-02-21  Angus Leeming  <leeming@lyx.org>
5985
5986         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5987         * LyXAction.C: change, BIBKEY to BIBITEM.
5988         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5989         Change InsetBibKey to InsetBibitem.
5990         Change BIBKEY_CODE to BIBITEM_CODE.
5991         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5992         * factory.C: replace insetbib.h with insetbibitem.h.
5993         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5994         * paragraph.C: replace insetbib.h with insetbibitem.h.
5995         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5996         Change bibkey() to bibitem().
5997         * text.C: remove insetbib.h.
5998         * text2.C: replace insetbib.h with insetbibitem.h.
5999         change bibkey() to bibitem().
6000         * text3.C: remove insetbib.h.
6001         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6002
6003 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6004
6005         * lyxrc.C (output): enclose user email in quotes (in case there are
6006         several words)
6007
6008 2003-02-18  John Levon  <levon@movementarian.org>
6009
6010         * buffer.h: add std::
6011
6012 2003-02-17  John Levon  <levon@movementarian.org>
6013
6014         * SpellBase.h:
6015         * ispell.h:
6016         * ispell.C:
6017         * pspell.h:
6018         * pspell.C: reworking. Especially in ispell, a large
6019           number of clean ups and bug fixes.
6020
6021         * lyxfunc.C: fix revert to behave sensibly
6022
6023 2003-02-17 André Pönitz <poenitz@gmx.net>
6024
6025         * LyXAction.C:
6026         * commandtags.h: new LFUN_INSERT_BIBKEY
6027
6028         * layout.h:
6029         * lyxlayout.C:
6030         * buffer.C:
6031         * factory.C:
6032         * text.C:
6033         * text2.C:
6034         * text3.C:
6035         * paragraph.[Ch]:
6036         * paragraph_func.C: remove special bibkey handling
6037
6038 2003-02-17  John Levon  <levon@movementarian.org>
6039
6040         * text.C (Delete): fix case where delete at the end of
6041           the very first paragraph would not merge the pars
6042
6043 2003-02-17  John Levon  <levon@movementarian.org>
6044
6045         * lyxrow.C: fix lastPrintablePos()
6046
6047 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6048
6049         * bufferparams.C (writeLaTeX): add a std:here
6050
6051         * buffer.C: and remove a using directive there
6052
6053 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6054
6055         * buffer.C (makeLaTeXFile): move the code that generates the
6056           preamble...
6057
6058         * bufferparams.C (writeLaTeX): ... in this new method
6059
6060         * LaTeXFeatures.C (getEncodingSet): make const
6061           (getLanguages): make const
6062
6063         * MenuBackend.C (binding): returns the binding associated to this
6064           action
6065           (add): sets the status of each item by calling getStatus. Adds
6066           some intelligence.
6067           (read): add support for OptSubMenu
6068           (expand): remove extra separator at the end of expanded menu
6069
6070 2003-02-15  John Levon  <levon@movementarian.org>
6071
6072         * BufferView.C:
6073         * BufferView_pimpl.C:
6074         * bufferlist.h:
6075         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6076           inset code that had no actual effect. Remove unneeded status
6077           code.
6078
6079 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6080
6081         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6082           in preamble
6083
6084 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6085
6086         * text.C (drawLengthMarker): also draw an arrow marker for
6087           symbolic lengths (medskip...)
6088
6089 2003-02-14  John Levon  <levon@movementarian.org>
6090
6091         * tabular.h:
6092         * tabular.C: better method names
6093
6094 2003-02-14  John Levon  <levon@movementarian.org>
6095
6096         * BufferView_pimpl.C:
6097         * bufferlist.C:
6098         * buffer.C:
6099         * converter.C:
6100         * lyx_cb.C:
6101         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6102           it's a more accurate name. Remove some pointless uses.
6103
6104 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6105
6106         * text2.C (LyXText): change order of initilizers to shut off
6107           warnings
6108
6109 2003-02-14  John Levon  <levon@movementarian.org>
6110
6111         * buffer.C: use ParIterator for getParFromID()
6112
6113         * paragraph.h:
6114         * paragraph.C:
6115         * paragraph_pimpl.h:
6116         * paragraph_pimpl.C: remove unused getParFromID()
6117
6118 2003-02-14  John Levon  <levon@movementarian.org>
6119
6120         * buffer.C: remove some very old #if 0'd parse code
6121
6122 2003-02-13  John Levon  <levon@movementarian.org>
6123
6124         * text.h:
6125         * text.C:
6126         * text2.C: move hfillExpansion(), numberOfSeparators(),
6127           rowLast(), rowLastPrintable(), numberofHfills(),
6128           numberOfLabelHfills() ...
6129
6130         * lyxrow.h:
6131         * lyxrow.C: ... to member functions here.
6132
6133         * paragraph.h:
6134         * paragraph.C:
6135         * lyxtext.h:
6136         * text.C: remove LyXText::beginningOfMainBody(), and call
6137           p->beginningOfMainBody() directly. Move the check for
6138           LABEL_MANUAL into the latter.
6139
6140         * text.h:
6141         * text.C:
6142         * text2.C:
6143         * vspace.C:
6144         * BufferView.h:
6145         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6146
6147         * text.h:
6148         * text.C:
6149         * text2.C:
6150         * text3.C:
6151         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6152           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6153
6154 2003-02-13  John Levon  <levon@movementarian.org>
6155
6156         * CutAndPaste.C: remove debug
6157
6158 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6159
6160         * paragraph.C (asString): remove two unused variables
6161
6162         * lyxtextclass.C (readTitleType):
6163           (Read):
6164           (LyXTextClass): handle new members titletype_ and titlename_
6165
6166         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6167
6168 2003-02-09  John Levon  <levon@movementarian.org>
6169
6170         * buffer.h:
6171         * buffer.C: replace hand-coded list with a map for the dep clean
6172
6173 2003-02-08  John Levon  <levon@movementarian.org>
6174
6175         * LaTeX.C: consolidate code into showRunMessage() helper
6176
6177 2003-02-08  John Levon  <levon@movementarian.org>
6178
6179         * lyxfind.C:
6180         * lyxtext.h:
6181         * text2.C:
6182         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6183           and pass the size in explicitly
6184
6185         * BufferView_pimpl.h:
6186         * BufferView_pimpl.C:
6187         * BufferView.h:
6188         * BufferView.C: add getCurrentChange()
6189
6190         * BufferView_pimpl.h:
6191         * BufferView_pimpl.C: handle change lfuns
6192
6193         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6194           for changes. Mark pasted paragraphs as new.
6195
6196         * support/lyxtime.h:
6197         * support/lyxtime.C:
6198         * DepTable.C: abstract time_t as lyx::time_type
6199
6200         * LColor.h:
6201         * LColor.C: add colours for new text, deleted text, changebars
6202
6203         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6204           package use "usenames" option.
6205
6206         * commandtags.h:
6207         * lyxfunc.C:
6208         * LyXAction.C: add change lfuns
6209
6210         * Makefile.am:
6211         * author.h:
6212         * author.C: author handling
6213
6214         * buffer.h:
6215         * buffer.C: add a per-buffer author list, with first entry as
6216           current author. Handle new .lyx tokens for change tracking. Output
6217           author list to .lyx file. Output dvipost stuff to .tex preamble.
6218           Bump lyx format to 222.
6219
6220         * bufferlist.h:
6221         * bufferlist.C: add setCurrentAuthor() to reset current author details
6222           in all buffers.
6223
6224         * bufferparams.h:
6225         * bufferparams.C: add param for tracking
6226
6227         * bufferview_funcs.C: output change info in minibuffer
6228
6229         * Makefile.am:
6230         * changes.h:
6231         * changes.C: add change-tracking structure
6232
6233         * debug.h:
6234         * debug.C: add CHANGES debug flag
6235
6236         * lyxfind.h:
6237         * lyxfind.C: add code for finding the next change piece
6238
6239         * lyxrc.h:
6240         * lyxrc.C: add user_name and user_email
6241
6242         * lyxrow.h:
6243         * lyxrow.C: add a metric for the top of the text line
6244
6245         * lyxtext.h:
6246         * text.C: implement accept/rejectChange()
6247
6248         * lyxtext.h:
6249         * text.C: paint changebars. Paint new/deleted text in the chosen
6250         colours. Strike through deleted text.
6251
6252         * paragraph.h:
6253         * paragraph.C:
6254         * paragraph_pimpl.h:
6255         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6256           in the current change to the insert functions. Rework erase to
6257           mark text as deleted, adding an eraseIntern() and a range-based
6258           erase(). Implement per-paragraph change lookup and
6259           accept/reject.
6260
6261         * paragraph_funcs.C: Fixup paste for change tracking.
6262
6263         * tabular.C: mark added row/columns as new.
6264
6265         * text.C: fix rowLast() to never return -1. Don't allow
6266           spellchecking of deleted text. Track transpose changes. Don't
6267           allow paragraph break or merge where appropriate.
6268
6269         * text2.C: leave cursor at end of selection after a cut.
6270
6271 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6272
6273         * text.C (getLengthMarkerHeight):
6274         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6275         visible on screen too.
6276
6277 2003-02-07  John Levon  <levon@movementarian.org>
6278
6279         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6280
6281 2003-02-05  Angus Leeming  <leeming@lyx.org>
6282
6283         * lyxserver.C (read_ready): revert my patch of 11 September last year
6284         as it sends PC cpu through the roof. Presumably this means that
6285         the lyxserver will no longer run on an Alpha...
6286
6287 2003-01-30  Angus Leeming  <leeming@lyx.org>
6288
6289         * factory.C (createInset): create an InsetCommandParam of type "index"
6290         and use it to 'do the right thing'.
6291
6292         * text2.C (getStringToIndex): ensure that cursor position is always
6293         reset to the reset_cursor position.
6294
6295 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6296
6297         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6298         disabled.
6299
6300 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6301
6302         * bufferview.C:
6303         * lyxcb.C:
6304         * lyxfunc.C: Output messages with identical spelling, punctuation,
6305         and spaces
6306
6307 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6308
6309         * MenuBackend.C (expandFormats): List only viewable export formats
6310         in "View" menu
6311
6312         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6313         message
6314
6315         * lyxfunc.C (getStatus): Make sure that formats other than
6316         "fax" can also be disabled
6317
6318 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6319
6320         * text3.C (dispatch): put the lfuns that insert insets in 3
6321         groups, and call doInsertInset with appropriate arguments.
6322         (doInsertInset): new function, that creates an inset and inserts
6323         it according to some boolean parameters.
6324
6325 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * buffer.C (readFile): remember to pass on 'par' when calling
6328         readFile recursively.
6329
6330 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6331
6332         * MenuBackend.C (expandFormats): add "..." to import formats.
6333
6334 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6335
6336         * paragraph.C (asString): Remove XForms RTL hacks.
6337
6338 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6339         * buffer.C: fix typo
6340
6341 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * Makefile.am (LIBS): delete var
6344         (lyx_LDADD): add @LIBS@ here instead.
6345
6346 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6347
6348         * Clarify the meaning of "wheel mouse jump"
6349
6350 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6351
6352         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6353         tabular in a float
6354
6355 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6356
6357         * importer.C (Loaders): do not preallocate 3 elements in the
6358         vector, since one ends up with 6 elements otherwise
6359
6360 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6361
6362         * DepTable.C (write): write the file name as last element of the
6363         .dep file (because it may contain spaces)
6364         (read): read info in the right order
6365
6366 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6367
6368         * paragraph_pimpl.C (simpleTeXBlanks):
6369         (simpleTeXSpecialChars):
6370         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6371
6372         * tabular.C (latex): add some missing case statements. Reindent.
6373
6374         * MenuBackend.C (expandToc): remove unused variable.
6375
6376 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6377
6378         * LColor.C:
6379         * LaTeX.C:
6380         * LyXAction.C:
6381         * MenuBackend.C:
6382         * buffer.C:
6383         * exporter.C:
6384         * lyxfunc.C:
6385         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6386         and the like.
6387
6388 2003-01-05  John Levon  <levon@movementarian.org>
6389
6390         * BufferView.h:
6391         * BufferView.C: add getEncoding()
6392
6393         * kbsequence.h:
6394         * kbsequence.C: do not store last keypress
6395
6396         * lyxfunc.h:
6397         * lyxfunc.C: store last keypress here instead. Pass encoding
6398           to getISOEncoded()
6399
6400 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6401
6402         * lyx_main.C (init): remove annoying error message when following
6403         symbolic links (bug #780)
6404
6405 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6406
6407         * text.C (insertChar):
6408         * lyxrc.C (getDescription): remove extra spaces
6409
6410 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6411
6412         * lyxrc.C (getDescription): remove extra spaces
6413
6414 2002-12-20  John Levon  <levon@movementarian.org>
6415
6416         * text3.C: hack fix for page up/down across tall rows
6417
6418 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6419
6420         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6421         not been invoked
6422
6423 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6424
6425         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6426         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6427         thesaurus is not compiled in
6428
6429 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6430
6431         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6432
6433 2002-12-16  Angus Leeming  <leeming@lyx.org>
6434
6435         * lyxrc.[Ch]:
6436         * lyx_main.C (init): remove override_x_deadkeys stuff.
6437
6438 2002-12-12  John Levon  <levon@movementarian.org>
6439
6440         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6441           insert. Only remove shift modifier under strict
6442           circumstances.
6443
6444 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * MenuBackend.C (expandToc): fix crash.
6447
6448 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * MenuBackend.C (expandToc): gettext on float names.
6451
6452 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6453
6454         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6455         implement bool empty() [bug 490]
6456
6457 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6460
6461 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * several files: ws changes
6464
6465 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * text2.C (setCounter): clean up a bit, use boost.format.
6468         (updateCounters): initialize par upon declaration.
6469
6470         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6471         if the layout exists. We do not just store the layout any more.
6472         (SwitchLayoutsBetweenClasses): use boost.format
6473
6474 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6475
6476         * converter.C (convert): if from and to files are the same, use a
6477         temporary files as intermediary
6478
6479 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6480
6481         * commandtags.h:
6482         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6483
6484 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6487
6488 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * tabular.C (asciiPrintCell): use string(size, char) instead of
6491         explicit loop.
6492
6493         * sgml.C (openTag): fix order of arguments to string constructor
6494         (closeTag): ditto
6495
6496         * lyxfunc.C (dispatch): use boost.format
6497
6498         * lots of files: change "c" -> 'c'
6499
6500 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6501
6502         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6503
6504 2002-11-25  Angus Leeming  <leeming@lyx.org>
6505
6506         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6507
6508         * lyx_main.C (init): compile fix.
6509
6510 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * lyx_cb.C (start): boost.formatify
6513         do not include <iostream>
6514
6515         * lengthcommon.C: ws only
6516
6517         * boost-inst.C,BoostFormat.h: add more explict instantations
6518
6519 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * lots of files: handle USE_BOOST_FORMAT
6522
6523 2002-11-21  John Levon  <levon@movementarian.org>
6524
6525         * pspell.C: fix compile
6526
6527 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6528
6529         * lyxfunc.C (dispatch): use boost::format
6530         (open): ditto
6531         (doImport): ditto
6532
6533         * lyxfont.C (stateText): use boost::format
6534
6535         * lyx_main.C (LyX): use boost::format
6536         (init): ditto
6537         (queryUserLyXDir): ditto
6538         (readRcFile): ditto
6539         (parse_dbg): ditto
6540         (typedef boost::function): use the recommened syntax.
6541
6542         * importer.C (Import): use boost::format
6543
6544         * debug.C (showLevel): use boost::format
6545
6546         * converter.C (view): use boost::format
6547         (convert): ditto
6548         (move): ditto
6549         (scanLog): ditto
6550
6551         * bufferview_funcs.C (currentState): use boost::format
6552
6553         * bufferlist.C (emergencyWrite): use boost::format
6554
6555         * buffer.C (readLyXformat2): use boost::format
6556         (parseSingleLyXformat2Token): ditto
6557
6558         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6559
6560         * LaTeX.C (run): use boost::format
6561
6562         * Chktex.C (scanLogFile): use boost::format
6563
6564         * BufferView_pimpl.C (savePosition): use boost::format
6565         (restorePosition): ditto
6566         (MenuInsertLyXFile): ditto
6567
6568         * BoostFormat.h: help file for explicit instation.
6569
6570 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6571
6572         * tabular.C (latex): Support for block alignment in fixed width
6573         columns.
6574
6575 2002-11-17  John Levon  <levon@movementarian.org>
6576
6577         * BufferView_pimpl.C:
6578         * lyx_cb.C:
6579         * lyxfunc.C: split filedialog into open/save
6580
6581 2002-11-08  Juergen Vigna  <jug@sad.it>
6582
6583         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6584         by my last patch (hopefully).
6585
6586 2002-11-08  John Levon  <levon@movementarian.org>
6587
6588         * iterators.h:
6589         * iterators.C:
6590         * buffer.h:
6591         * buffer.C:
6592         * paragraph.h:
6593         * paragraph.C:
6594         * toc.h:
6595         * toc.C: ParConstIterator, and use it (from Lars)
6596
6597 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6598
6599         * lyxtextclass.[Ch]: revise and add doxygen comments
6600
6601 2002-11-07  John Levon  <levon@movementarian.org>
6602
6603         * text.C: fix progress value for spellchecker
6604
6605         * toc.C: fix navigate menu for insetwrap inside minipage
6606
6607         * paragraph_funcs.C: added FIXME for suspect code
6608
6609 2002-11-07  John Levon  <levon@movementarian.org>
6610
6611         * BufferView_pimpl.C: fix redrawing of insets
6612           on buffer switch
6613
6614 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6615
6616         * text2.C (updateCounters): fix bug 668
6617
6618 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6619
6620         * text3.C (dispatch): Do not make the buffer dirty when moving the
6621         cursor.
6622
6623 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * vc-backend.C: STRCONV
6626         (scanMaster): ditto
6627
6628         * text2.C (setCounter): STRCONV
6629
6630         * paragraph.C (asString): STRCONV
6631
6632         * lyxlength.C (asString): STRCONV
6633         (asLatexString): ditto
6634
6635         * lyxgluelength.C (asString): STRCONV
6636         (asLatexString): ditto
6637
6638         * lyxfunc.C (dispatch): STRCONV
6639         (open): ditto
6640
6641         * lyxfont.C (stateText): STRCONV
6642
6643         * importer.C (Import): STRCONV
6644
6645         * counters.C (labelItem): STRCONV
6646         (numberLabel): ditto
6647         (numberLabel): remove unused ostringstream o
6648
6649         * chset.C: STRCONV
6650         (loadFile): ditto
6651
6652         * bufferview_funcs.C (currentState): STRCONV
6653
6654         * buffer.C (readFile): STRCONV
6655         (asciiParagraph): ditto
6656         (makeLaTeXFile): ditto
6657
6658         * Spacing.C (writeEnvirBegin): STRCONV
6659
6660         * LaTeXFeatures.C (getLanguages): STRCONV
6661         (getPackages): ditto
6662         (getMacros): ditto
6663         (getBabelOptions): ditto
6664         (getTClassPreamble): ditto
6665         (getLyXSGMLEntities): ditto
6666         (getIncludedFiles): ditto
6667
6668         * LaTeX.C: STRCONV
6669         (run): ditto
6670         (scanAuxFile): ditto
6671         (deplog): ditto
6672
6673         * LString.h: add the STRCONV macros
6674
6675         * BufferView_pimpl.C (savePosition): STRCONV
6676         (restorePosition): ditto
6677         (MenuInsertLyXFile): ditto
6678
6679         * vc-backend.C (scanMaster): change from submatch[...] to
6680         submatch.str(...)
6681
6682         * funcrequest.C: include config.h
6683
6684         * factory.C: include config.h
6685
6686         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6687
6688         * box.C: include config.h
6689
6690         * LaTeX.C (scanAuxFile): change from submatch[...] to
6691         submatch.str(...)
6692         (deplog): ditto
6693
6694 2002-10-25  Angus Leeming  <leeming@lyx.org>
6695
6696         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6697
6698         * ispell.[Ch] (setError): new method.
6699         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6700         Use setError() insetead of goto END.
6701
6702         * lyx_cb.C (AutoSave): move out child process into new class
6703         AutoSaveBuffer.
6704
6705 2002-10-30  John Levon  <levon@movementarian.org>
6706
6707         * text3.C: make start appendix undoable
6708
6709 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6710
6711         * lyxlength.C (inPixels): Fix returned value.
6712
6713         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6714         environment.
6715
6716 2002-10-24  Angus Leeming  <leeming@lyx.org>
6717
6718         * lyxgluelength.h: no need to forward declare BufferParams
6719         or BufferView, so don't.
6720
6721 2002-10-21  John Levon  <levon@movementarian.org>
6722
6723         * BufferView.C: menuUndo ->undo, redo
6724
6725         * BufferView.h: document, remove dead, make some methods private
6726
6727         * paragraph_funcs.h:
6728         * paragraph_funcs.C:
6729         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6730
6731         * buffer.h:
6732         * buffer.C:
6733         * sgml.h:
6734         * sgml.C: move sgml open/close tag into sgml.C
6735
6736         * bufferview_funcs.h: unused prototype
6737
6738         * lyxfunc.h:
6739         * lyxfunc.C: remove unused
6740
6741         * lyxtext.h:
6742         * text.C: remove unused
6743
6744 2002-10-21  John Levon  <levon@movementarian.org>
6745
6746         * BufferView.h:
6747         * BufferView.C:
6748         * BufferView_pimpl.h:
6749         * BufferView_pimpl.C: fix mouse wheel handling based on
6750           patch from Darren Freeman
6751
6752 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6753
6754         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6755
6756 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6757
6758         * lyxlength.C (inPixels): Fix hanfling of negative length.
6759         Fix LyXLength::MU case.
6760
6761 2002-10-16  John Levon  <levon@movementarian.org>
6762
6763         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6764
6765 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6766
6767         * converter.C (view): add support for $$i (file name) and $$p
6768         (file path) for the viewer command. If $$i is not specified, then
6769         it is appended to the command (for compatibility with old syntax)
6770
6771 2002-10-14  Juergen Vigna  <jug@sad.it>
6772
6773         * undo_funcs.C (textHandleUndo): alter the order in which the
6774         new undopar is added to the LyXText, as we have to set first
6775         the right prev/next and then add it as otherwise the rebuild of
6776         LyXText is not correct. Also reset the cursor to the right paragraph,
6777         with this IMO we could remove the hack in "redoParagraphs()".
6778
6779 2002-10-09  Angus Leeming  <leeming@lyx.org>
6780
6781         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6782         to turn off an optimisation if a new inset is to be inserted.
6783
6784 2002-10-11 André Pönitz <poenitz@gmx.net>
6785
6786         * lyxtext.h: make some functions public to allow access
6787         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6788
6789 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6790
6791         * text3.C (dispatch): when changing layout, avoid an infinite loop
6792         [bug #652]
6793
6794 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6795
6796         * lyxrc.C (read): treat a viewer or converter command of "none" as
6797         if it were empty.
6798
6799         * MenuBackend.C (expandFormats): for an update, also allow the
6800         formats that are not viewable
6801
6802         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6803         script if it is newer than the lyxrc.defaults in user directory
6804
6805 2002-10-07 André Pönitz <poenitz@gmx.net>
6806
6807         * text.C: Vitaly Lipatov's small i18n fix
6808
6809 2002-09-25  Angus Leeming  <leeming@lyx.org>
6810
6811         * ispell.h: doxygen fix.
6812
6813 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6814
6815         * buffer.h (readFile): Add a new argument to the method, to allow
6816         reading of old-format templates.
6817
6818 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6819
6820         * toc.C (getTocList): Get TOC from InsetWrap.
6821
6822 2002-09-16  John Levon  <levon@movementarian.org>
6823
6824         * lyxfunc.C: check tabular for cut/copy too
6825
6826 2002-09-12  John Levon  <levon@movementarian.org>
6827
6828         * LyXAction.C: tidy
6829
6830         * factory.h:
6831         * factory.C: add header
6832
6833         * paragraph_funcs.h:
6834         * paragraph_funcs.C: cleanup
6835
6836 2002-09-11  John Levon  <levon@movementarian.org>
6837
6838         * PrinterParams.h: odd/even default to true
6839
6840 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6841
6842         * PrinterParams.h: update printer parameters for new xforms dialog
6843
6844 2002-09-11  Angus Leeming  <leeming@lyx.org>
6845
6846         * lyxserver.C (read_ready): re-write to make it more transparent
6847         and to make it work in coherent fashion under Tru64 Unix.
6848
6849 2002-09-11  André Pönitz <poenitz@gmx.net>
6850
6851         * commandtags.h:
6852         * LyXAction.C:
6853         * text3.C: implement LFUN_WORDSEL
6854
6855 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6858         make floatlist_ a boost::shared_ptr<FloatList>
6859
6860         * lyxtextclass.C: include FloatList.h
6861         (LyXTextClass): initialize floatlist_
6862         (TextClassTags): add TC_NOFLOAT
6863         (Read): match "nofloat" to TC_NOFLOAT and use it.
6864         (readFloat): modify call to floatlist_
6865         (floats): ditto
6866         (floats): ditto
6867
6868         * FloatList.[Ch] (FloatList): remove commented out float
6869         initialization.
6870         (erase): new function
6871
6872 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6873
6874         * MenuBackend.C (expandToc): fix crash when there is no document
6875         open
6876
6877 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6878
6879         * many files: Add insetwrap.
6880
6881 2002-09-09  John Levon  <levon@movementarian.org>
6882
6883         * text2.C: remove confusing and awkward depth wraparound
6884
6885 2002-09-09  John Levon  <levon@movementarian.org>
6886
6887         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6888
6889         * buffer.h:
6890         * buffer.C: remove getIncludeonlyList()
6891
6892         * paragraph.C:
6893         * lyxfunc.C: remove headers
6894
6895 2002-09-09  Juergen Vigna  <jug@sad.it>
6896
6897         * text.C (getColumnNearX): fix form Michael this is most
6898         probably a cut&paste bug.
6899
6900 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6903
6904         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6905         references, ws changes.
6906
6907         * text2.C (init): update counters after init
6908         (insertParagraph): no need to set counter on idividual paragraphs.
6909         (setCounter): access the counters object in the textclass object
6910         on in the buffer object.
6911         (updateCounters): ditto
6912
6913         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6914         shared_ptr<Counters> to avoid loading counters.h in all
6915         compilation units.
6916         (LyXTextClass): initialize ctrs_
6917         (TextClassTags): add TC_COUNTER, and ...
6918         (Read): use it here.
6919         (CounterTags): new tags
6920         (readCounter): new function
6921         (counters): new funtion
6922         (defaultLayoutName): return a const reference
6923
6924         * counters.C (Counters): remove contructor
6925         (newCounter): remove a couple of unneeded statements.
6926         (newCounter): simplify a bit.
6927         (numberLabel): some small formatting changes.
6928
6929         * buffer.[Ch]: remove all traces of counters, move the Counters
6930         object to the LyXTextClass.
6931
6932 2002-09-06  Alain Castera  <castera@in2p3.fr>
6933
6934         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6935         package to set the horizontal alignment on fixed width columns.
6936
6937         * lyx_sty.C:
6938         * lyx_sty.h: added tabularnewline macro def.
6939
6940         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6941
6942 2002-09-06  John Levon  <levon@movementarian.org>
6943
6944         * LyXAction.C: tooltips for sub/superscript
6945
6946         * MenuBackend.C: a bit more verbose
6947
6948         * lyxfunc.C: tiny clean
6949
6950         * undo_funcs.C: document undo_frozen
6951
6952 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * counters.C (Counters): add missing algorithm counter.
6955
6956         * text2.C (setCounter): lookup the counter with layouts latexname
6957         instead of by section number.
6958         (setCounter): use a hackish way to lookup the correct enum
6959         counter.
6960         a float name->type change
6961         reset enum couners with counter name directly instead of depth value.
6962
6963         * counters.C (Counters): remove the push_backs, change to use the
6964         float type not the float name.
6965         (labelItem): remove unused string, float name->type change
6966
6967         * counters.h: don't include vector, loose the enums and sects vectors
6968
6969 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6972         (Read): add float->TC_FLOAT to textclassTags
6973         (Read): and handle it in the switch
6974         (readFloat): new function
6975
6976         * FloatList.C (FloatList): comment out the hardcoded float
6977         definitions.
6978
6979         * lyxlayout.h: ws change.
6980
6981 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6982
6983         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6984
6985 2002-09-03  Angus Leeming  <leeming@lyx.org>
6986
6987         * BufferView_pimpl.h: qualified name is not allowed in member
6988         declaration: WorkArea & Pimpl::workarea() const;
6989
6990         * factory.C: added using std::endl directive.
6991
6992         * text3.C: added using std::find and std::vector directives.
6993
6994 2002-08-29  André Pönitz <poenitz@gmx.net>
6995
6996         * lyxtext.h:
6997         * text2.C: remove unused member number_of_rows
6998
6999         * Makefile.am:
7000         * BufferView2.C: remove file, move contents to...
7001         * BufferView.C: ... here
7002
7003         * BufferView_pimpl.C:
7004         * factory.C: move more inset creation to factory
7005
7006         * vspace.C: avoid direct usage of LyXText, ws changes
7007
7008         * BufferView.[Ch]:
7009                 don't provide direct access to WorkArea, use two simple
7010                 acessors haveSelction() and workHeight() instead
7011
7012
7013 2002-08-29  John Levon  <levon@movementarian.org>
7014
7015         * BufferView_pimpl.C (dispatch): do not continue when
7016           no buffer
7017
7018 2002-08-28  André Pönitz <poenitz@gmx.net>
7019
7020         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7021
7022         * BufferView.h:
7023         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7024
7025 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7026
7027         * buffer.C: increment LYX_FORMAT to 221
7028
7029         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7030         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7031
7032         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7033
7034         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7035
7036 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7037
7038         * factory.C (createInset): use LyXTextClass::floats
7039
7040         * MenuBackend.C (expandFloatListInsert):
7041         (expandFloatInsert):
7042         (expandToc):
7043
7044         * text2.C (setCounter):
7045
7046         * LaTeXFeatures.C (useFloat):
7047         (getFloatDefinitions):
7048
7049         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7050
7051         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7052         floatlist_, with accessor floats().
7053
7054         * FloatList.h: remove global FloatList
7055
7056 2002-08-26  André Pönitz <poenitz@gmx.net>
7057
7058         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7059
7060         * BufferView.h:
7061         * BufferView2.C:
7062         * BufferView_pimpl.C:
7063         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7064
7065 2002-08-25  John Levon  <levon@movementarian.org>
7066
7067         * LyXAction.C: fix margin note description
7068
7069 2002-08-24  John Levon  <levon@movementarian.org>
7070
7071         * buffer.C:
7072         * bufferlist.C:
7073         * bufferview_funcs.C:
7074         * lyxfont.C:
7075         * undo_funcs.C: cleanups
7076
7077         * lyxfunc.C: disable CUT/COPY when no selection
7078
7079 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7080
7081         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7082         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7083
7084         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7085         Add backward compatibility to "mono", "gray" and "no".
7086
7087 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7088
7089         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7090         (and file_format >= 200).
7091
7092 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7095
7096 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7097
7098         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7099
7100 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7101
7102         * BufferView_pimpl.C:
7103         * LyXAction.C:
7104         * buffer.C:
7105         * commandtags.h:
7106         * lyxfunc.C:
7107         * paragraph.[Ch]:
7108         * text2.C:
7109         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7110         inset and code to make it  work with the paragraph code. The inset
7111         can be anywhere in the paragraph, but will only do the expected
7112         thing in LaTeX if the layout file contains the parameter line
7113                         OptionalArgs    1
7114         (or more generally, a nonzero value) for that layout.
7115
7116 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * paragraph.h: remove the declaration of undefined counters class
7119         function.
7120
7121 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7122
7123         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7124         Dr. Richard Hawkins.
7125
7126 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7127
7128         * paragraph_funcs.h: remove some unneeded includes
7129
7130         * text.C (backspace): pasteParagraph now in global scipe
7131
7132         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7133         (pasteSelection): ditto
7134
7135         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7136         * paragraph_funcs.C (pasteParagraph): ... here
7137
7138 2002-08-20  André Pönitz <poenitz@gmx.net>
7139
7140         * commandtags.h: new LFUNs for swapping/copying table row/colums
7141
7142         * LyXAction.C:
7143         * lyxfunc.C: support for new lfuns
7144
7145 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * tabular.C:
7148         * buffer.[Ch]: remove NO_COMPABILITY stuff
7149
7150 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * boost.C (throw_exception): new file, with helper function for
7153         boost compiled without exceptions.
7154
7155         * paragraph.h:
7156         * lyxlength.C:
7157         * buffer.C:
7158         * ParameterStruct.h:
7159         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7160
7161         * bufferlist.C (emergencyWriteAll): use boost bind
7162
7163         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7164
7165         * text.C: include paragraph_funcs.h
7166         (breakParagraph): breakParagraph is now in global scope
7167
7168         * paragraph_funcs.[Ch]: new files
7169
7170         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7171         global scope
7172
7173         * buffer.C: include paragraph_funcs.h
7174         (insertStringAsLines): breakParagraph is now in global scope
7175
7176         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7177         paragraph_funcs.C
7178
7179         * CutAndPaste.C: include paragraph_funcs.h
7180         (cutSelection): breakParagraphConservative is now in global scope
7181         (pasteSelection): ditto
7182
7183         * buffer.h: declare oprator== and operator!= for
7184         Buffer::inset_iterator
7185
7186         * bufferlist.C (emergencyWrite): don't use fmt(...)
7187
7188         * text3.C: add using std::endl
7189
7190         * BufferView.C (moveCursorUpdate): remove default arg
7191
7192 2002-08-20  André Pönitz <poenitz@gmx.net>
7193
7194         * buffer.[Ch]: move inline functions to .C
7195
7196         * BufferView2.C:
7197         * BufferView_pimpl.C:
7198         * text.C:
7199         * buffer.[Ch]: use improved inset_iterator
7200
7201         * buffer.C:
7202         * paragraph.[Ch]: write one paragraph at a time
7203
7204 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7205
7206         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7207         style if style is not specified.
7208
7209 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7210
7211         * text2.C (setCounter): when searching for right label for a
7212         caption, make sure to recurse to parent insets (so that a caption
7213         in a minipage in a figure float works) (bug #568)
7214
7215 2002-08-20  André Pönitz <poenitz@gmx.net>
7216
7217         * text3.C: new file for LyXText::dispatch() and helpers
7218
7219         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7220
7221         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7222
7223 2002-08-19  André Pönitz <poenitz@gmx.net>
7224
7225         * lyxtext.h:
7226         * text.C: new LyXText::dispatch()
7227
7228         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7229
7230 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7231
7232         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7233
7234         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7235         Hebrew text.
7236
7237 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7238
7239         * Makefile.am: use $(variables) instead of @substitutions@
7240
7241 2002-08-15  André Pönitz <poenitz@gmx.net>
7242
7243         * lyxfunc.C:
7244         * BufferView_pimpl.C: streamlining mathed <-> outer world
7245         interaction
7246
7247         * commandtags.h:
7248         * LyXAction.C: remove unused LFUN_MATH
7249
7250 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7253
7254 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * paragraph.C (Paragraph): reformat a bit
7257         (cutIntoMinibuffer): use builtin InsetList function instad of
7258         doing it manually.
7259         (getInset): ditto
7260
7261         * buffer.C: include boost/bind.hpp, add using std::for_each
7262         (writeFileAscii): use ParagraphList iterators
7263         (validate): use for_each for validate traversal of paragraphs
7264         (getBibkeyList): use ParagraphList iterators
7265         (resizeInsets): use for_each to resizeInsetsLyXText for all
7266         paragraphs.
7267         (getParFromID): use ParagraphList iterators
7268
7269         * BufferView2.C (lockInset): use paragraph list and iterators
7270
7271 2002-08-14  John Levon  <levon@movementarian.org>
7272
7273         * lyxserver.C: remove spurious xforms include
7274
7275 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7276
7277         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7278
7279 2002-08-13  André Pönitz <poenitz@gmx.net>
7280
7281         * LyXAction.[Ch]:
7282         * lyxfunc.C: further cleaning
7283
7284 2002-08-13  André Pönitz <poenitz@gmx.net>
7285
7286         * funcrequest.h: new constructor
7287
7288         * funcrequest.C: move stuff here from .h
7289
7290         * Makefile.am:
7291         * BufferView_pimpl.C:
7292         * LyXAction.C:
7293         * toc.C:
7294         * lyxfunc.C: subsequent changes
7295
7296         * lyxfunc.h: new view() member function
7297
7298         * lyxfunc.C: subsequent changes
7299
7300 2002-08-13  Angus Leeming  <leeming@lyx.org>
7301
7302         * BufferView2.C:
7303         * BufferView_pimpl.C:
7304         * buffer.C:
7305         * converter.C:
7306         * importer.C:
7307         * lyxfunc.C:
7308         * lyxvc.C:
7309         * toc.C:
7310         * vc-backend.C:
7311         changes due to the changed LyXView interface that now returns references
7312         to member variables not pointers.
7313
7314 2002-08-13  Angus Leeming  <leeming@lyx.org>
7315
7316         * WordLangTuple (word, lang_code): return references to strings,
7317         not strings.
7318
7319         * BufferView.h:
7320         * SpellBase.h:
7321         * lyxtext.h: forward-declare WordLangTuple.
7322
7323         * BufferView2.C:
7324         * ispell.C:
7325         * pspell.C:
7326         * text.C: #include "WordLangTuple.h".
7327
7328         * lyxtext.h:
7329         * text.C: (selectNextWordToSpellcheck): constify return type.
7330
7331 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7332
7333         * buffer.C:
7334         * buffer.h:
7335         * lyxtext.h:
7336         * paragraph.C:
7337         * paragraph_pimpl.h:
7338         * text.C:
7339         * text2.C:
7340         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7341         suggested by Angus.
7342         Made updateCounter always count from start of buffer, and removed
7343         second argument (par).
7344         Reverted floats number display to '#'. Perhaps I'll try again when the
7345         code base is sanitized a bit.
7346
7347 2002-08-12  Angus Leeming  <leeming@lyx.org>
7348
7349         * buffer.[Ch] (getLabelList): constify.
7350
7351 2002-08-07  André Pönitz <poenitz@gmx.net>
7352
7353         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7354
7355         * funcrequest.h: extension to keep mouse (x,y) position
7356
7357 2002-08-12  Juergen Vigna  <jug@sad.it>
7358
7359         * BufferView2.C (insertErrors): forbid undo when inserting error
7360         insets.
7361
7362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7363
7364 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * ParagraphList.[Ch]: new files
7367
7368         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7369
7370         * BufferView2.C (lockInset): ParagraphList changes
7371         * toc.C: ditto
7372         * text2.C: ditto
7373         * bufferlist.C: ditto
7374         * buffer.h: ditto
7375         * buffer.C: ditto
7376
7377 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7380         unused class variable counter_,
7381
7382         * paragraph.[Ch] (getFirstCounter): delete unused function
7383
7384         * counters.C: include LAssert.h
7385         (reset): add a new function with no arg, change other version to
7386         not have def. arg and to not allow empty arg.
7387
7388         * text2.C (setCounter): remove empty arg from call to Counters::reset
7389
7390 2002-08-11  John Levon  <levon@movementarian.org>
7391
7392         * Makefile.am: add WordLangTuple.h
7393
7394 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7397         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7398
7399         * insets/insettext.C: InsetList changes
7400
7401         * graphics/GraphicsSupport.C (operator()): InsetList changes
7402
7403         * toc.C (getTocList): InsetList changes
7404
7405         * paragraph_pimpl.[Ch]: InsetList changes
7406
7407         * paragraph.[Ch]: InsetList changes
7408
7409         * buffer.C (inset_iterator): InsetList changes
7410         (setParagraph): ditto
7411         * buffer.h (inset_iterator): ditto
7412         * iterators.C (operator++): ditto
7413         * iterators.h: ditto
7414
7415         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7416
7417         * InsetList.[Ch]: new files, most InsetList handling moved out of
7418         paragraph.C.
7419
7420         * BufferView2.C (removeAutoInsets): InsetList changes
7421         (lockInset): ditto
7422         (ChangeInsets): ditto
7423
7424 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * paragraph_pimpl.h (empty): new function
7427
7428         * paragraph.[Ch] (empty): new function
7429
7430         * other files: use the new Paragraph::empty function
7431
7432 2002-08-09  John Levon  <levon@movementarian.org>
7433
7434         * lyxtext.h: remove unused refresh_height
7435
7436 2002-08-09  John Levon  <levon@movementarian.org>
7437
7438         * Makefile.am:
7439         * sgml.h:
7440         * sgml.C:
7441         * buffer.C:
7442         * paragraph.h:
7443         * paragraph.C: move sgml char escaping out of paragraph
7444
7445         * paragraph.h:
7446         * paragraph.C: remove id setter
7447
7448         * buffer.C:
7449         * paragraph.C:
7450         * paragraph_pimpl.C: remove dead tex_code_break_column
7451
7452         * bufferview_funcs.C: small cleanup
7453
7454         * lyxfunc.C: remove dead proto
7455
7456         * lyxtext.h: make some stuff private. Remove some dead stuff.
7457
7458         * lyxgluelength.C: make as[LyX]String() readable
7459
7460 2002-08-08  John Levon  <levon@movementarian.org>
7461
7462         * LyXAction.h:
7463         * LyXAction.C:
7464         * MenuBackend.C:
7465         * ToolbarDefaults.C:
7466         * lyxfunc.C:
7467         * lyxrc.C:
7468         * toc.C: lyxaction cleanup
7469
7470 2002-08-08  John Levon  <levon@movementarian.org>
7471
7472         * BufferView2.C: small cleanup
7473
7474         * lyxfind.h:
7475         * lyxfind.C: move unnecessary header into the .C
7476
7477 2002-08-08  John Levon  <levon@movementarian.org>
7478
7479         * funcrequest.h: just tedious nonsense
7480
7481         * lyx_main.h:
7482         * lyx_main.C: cleanups
7483
7484         * buffer.C:
7485         * vspace.C: remove dead header lyx_main.h
7486
7487 2002-08-07  Angus Leeming  <leeming@lyx.org>
7488
7489         * Paragraph.[Ch]:
7490         * paragraph_pimpl.h:
7491         Forward declare class Counters in paragraph.h by moving the ctrs member
7492         variable into Paragraph::Pimpl.
7493         (counters): new method, returning a reference to pimpl_->ctrs.
7494
7495         * text2.C: ensuing changes.
7496
7497 2002-08-07  John Levon  <levon@movementarian.org>
7498
7499         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7500
7501         * BufferView_pimpl.C: announce X selection on double/triple
7502           click
7503
7504         * lyx_main.C: use correct bool in batch dispatch
7505
7506         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7507
7508 2002-08-07  André Pönitz <poenitz@gmx.net>
7509
7510         * funcrequest.h: new class to wrap a kb_action and its argument
7511
7512         * BufferView.[Ch]:
7513         * BufferView_pimpl[Ch]:
7514         * LaTeX.C:
7515         * LyXAction.[Ch]:
7516         * lyxfunc.[Ch]:
7517         * lyxrc.C: subsequent changes
7518
7519
7520 2002-08-07  John Levon  <levon@movementarian.org>
7521
7522         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7523           document options change.
7524
7525 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7526
7527         * counters.[Ch]
7528         * text2.C
7529         * paragraph.[Ch]
7530         * makefile.am: move counters functionality over from
7531         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7532
7533 2002-08-06  John Levon  <levon@movementarian.org>
7534
7535         * WordLangTuple.h: new file for word + language code tuple
7536
7537         * SpellBase.h:
7538         * pspell.h:
7539         * pspell.C:
7540         * ispell.h:
7541         * ispell.C:
7542         * lyxtext.h:
7543         * text.C:
7544         * text2.C:
7545         * BufferView.h:
7546         * BufferView2.C: use WordLangTuple
7547
7548         * layout.h:
7549         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7550
7551 2002-08-06  John Levon  <levon@movementarian.org>
7552
7553         * lyx_main.C: fix cmdline batch handling
7554
7555 2002-08-06  André Pönitz <poenitz@gmx.net>
7556
7557         * lyxrc.C: set default for show_banner to true
7558
7559 2002-08-06  John Levon  <levon@movementarian.org>
7560
7561         * pspell.C: fix a crash, and allow new aspell to work
7562
7563 2002-08-06  John Levon  <levon@movementarian.org>
7564
7565         * lyxfunc.C:
7566         * kbmap.C: small cleanup
7567
7568         * vspace.h:
7569         * vspace.C: add const
7570
7571 2002-08-05  John Levon  <levon@movementarian.org>
7572
7573         * LyXAction.C: back to tabular-insert
7574
7575 2002-08-04  John Levon  <levon@movementarian.org>
7576
7577         * BufferView.h:
7578         * BufferView.C: cosmetic change
7579
7580         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7581
7582         * bufferlist.C:
7583         * buffer.h:
7584         * buffer.C:
7585         * lyxcb.h:
7586         * lyxcb.C:
7587         * lyxserver.C:
7588         * lyxvc.C:
7589         * vc-backend.C:
7590         * BufferView2.C: purge all "Lyx" not "LyX" strings
7591
7592         * lyxcursor.h:
7593         * lyxcursor.C: attempt to add some documentation
7594
7595         * lyxfunc.C:
7596         * commandtags.h:
7597         * LyXAction.C:
7598         * ToolbarDefaults.C:
7599         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7600           merge with LFUN_TABULAR_INSERT
7601
7602         * Makefile.am:
7603         * SpellBase.h:
7604         * ispell.h:
7605         * ispell.C:
7606         * pspell.h:
7607         * pspell.C: split up i/pspell implementations into separate
7608           files, many cleanups
7609
7610         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7611
7612         * text2.C: some cleanup
7613
7614         * lyxfunc.C: don't check for isp_command == "none" any more, it
7615           didn't make any sense
7616
7617 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7618
7619         * counters.[Ch]
7620         * text2.C
7621         * paragraph.[Ch]
7622         * makefile.am: move counters functionality over
7623         from text2.C/paragraph.[Ch] to counters.[Ch], and
7624         make proper C++.
7625 2002-08-02  John Levon  <levon@movementarian.org>
7626
7627         * buffer.C: s/lyxconvert/lyx2lyx/
7628
7629 2002-08-02  Angus Leeming  <leeming@lyx.org>
7630
7631         * lyxlex.C: revert John's change as it breaks reading of the user
7632         preamble.
7633
7634 2002-08-02  Angus Leeming  <leeming@lyx.org>
7635
7636         * importer.C (Import):
7637         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7638         changes due to LyXView::view() now returning a boost::shared_ptr.
7639
7640 2002-08-02  John Levon  <levon@movementarian.org>
7641
7642         * lyxlex.C: small cleanup
7643
7644 2002-08-02  John Levon  <levon@movementarian.org>
7645
7646         * text2.C (status): small cleanup, no logic change
7647
7648 2002-08-01  John Levon  <levon@movementarian.org>
7649
7650         * buffer.h:
7651         * buffer.C (writeFile): don't output alerts, caller
7652           handles this
7653
7654         * bufferlist.C:
7655         * lyx_cb.C: from above
7656
7657         * lyxfunc.C: allow to open non-existent files
7658
7659 2002-07-31  John Levon  <levon@movementarian.org>
7660
7661         * lyxserver.C: don't let incidental errors get
7662           in the way (errno)
7663
7664 2002-07-30  John Levon  <levon@movementarian.org>
7665
7666         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7667
7668 2002-07-30  John Levon  <levon@movementarian.org>
7669
7670         * lyxserver.h:
7671         * lyxserver.C: remove I/O callback too
7672
7673 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7676         log.
7677
7678 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * many files: strip,frontStrip -> trim,ltrim,rtrim
7681
7682 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * PrinterParams.h: remove extern containsOnly, and include
7685         support/lstrings.h instead.
7686
7687         * LaTeX.C (scanAuxFile): modify because of strip changes
7688         (deplog): ditto
7689         * buffer.C (makeLaTeXFile): ditto
7690         * bufferparams.C (writeFile): ditt
7691         * lyxfont.C (stateText): ditto
7692         * lyxserver.C (read_ready): ditto
7693         * vc-backend.C (scanMaster): ditto
7694
7695         * BufferView_pimpl.h: ws changes
7696
7697         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7698
7699 2002-07-26  André Pönitz <poenitz@gmx.net>
7700
7701         * kb_sequence.C: remove unnedred usings
7702
7703 2002-07-26  Juergen Vigna  <jug@sad.it>
7704
7705         * lyxfind.C (LyXReplace): we have to check better if the returned
7706         text is not of theLockingInset()->getLockingInset().
7707
7708 2002-07-25  Juergen Vigna  <jug@sad.it>
7709
7710         * lyxfind.C (LyXReplace): don't replace if we don't get the
7711         right LyXText.
7712
7713         * undo_funcs.C (createUndo): remove debugging code.
7714
7715 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7716
7717         * buffer.C (parseSingleLyXformat2Token): Use default placement
7718         when reading old floats.
7719
7720         * FloatList.C (FloatList): Change the default placement of figure
7721         and tables to "tbp".
7722
7723 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * MenuBackend.C: using std::max
7726
7727 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7728
7729         * MenuBackend.C (expandToc):
7730         (expandToc2): code moved from xforms menu frontend. It is now
7731         generic and TOCs are transparent to menu frontends.
7732
7733 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7734
7735         * toc.C (getTocList): protect against buf=0
7736
7737         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7738         Menu as first parameter. Now, this calls itself recursively to
7739         expand a whole tree (this will be useful for TOC handling)
7740         (expandFloatInsert): remove 'wide' version of floats
7741
7742         * MenuBackend.h (submenuname): returns the name of the submenu.
7743         (submenu): returns the submenu itself, provided it has been
7744         created by MenuBackend::expand
7745
7746 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7749         insets which have noFontChange == true. (bug #172)
7750
7751 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7752
7753         * BufferView_pimpl.C: add connection objects and use them...
7754         (Pimpl): here.
7755
7756 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7757
7758         * MenuBackend.C (expandLastfiles):
7759         (expandDocuments):
7760         (expandFormats):
7761         (expandFloatListInsert):
7762         (expandFloatInsert):
7763         (expand): split expand in parts
7764
7765 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7766
7767         * lyx_gui.C: use lyx_gui::exit()
7768
7769 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7770
7771         * LyXAction.C: show the failing pseudo action
7772
7773 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7774
7775         * buffer.C (readFile): Run the lyxconvert script in order to read
7776         old files.
7777
7778 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7779
7780         * LyXAction.C:
7781         * commandtags.h:
7782         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7783
7784 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7785
7786         * LyXAction.C:
7787         * commandtags.h:
7788         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7789
7790 2002-07-22  Herbert Voss  <voss@lyx.org>
7791
7792         * lengthcommon.C:
7793         * lyxlength.[Ch]: add support for the vertical lengths
7794
7795 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7796
7797         * toc.[Ch]: std:: fixes
7798
7799 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7800
7801         * lyxrc.C: do not include lyx_main.h
7802
7803         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7804         for layouts
7805
7806         * lyxrc.C:
7807         * encoding.C:
7808         * bufferlist.C:
7809         * BufferView2.C: include "lyxlex.h"
7810
7811         * tabular.h:
7812         * bufferparams.h: do not #include "lyxlex.h"
7813
7814         * lyxtextclasslist.C (Add): remove method
7815         (classlist): renamed to classlist_
7816
7817         * paragraph_pimpl.C:
7818         * paragraph.C:
7819         * text2.C:
7820         * CutAndPaste.C:
7821         * bufferview_funcs.C:
7822         * bufferlist.C:
7823         * text.C:
7824         * LaTeXFeatures.C:
7825         * buffer.C:
7826         * toc.C (getTocList): use BufferParams::getLyXTextClass
7827
7828         * toc.C (getTocList): use InsetFloat::addToToc
7829
7830         * toc.[Ch]: new files, containing helper functions to handle table
7831         of contents
7832
7833         * lyxfunc.C (dispatch): no need to remove spaces around command
7834         given as a string
7835         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7836         first command of the sequence; it is not very clever, but I do not
7837         have a better idea, actually
7838
7839         * LyXAction.C (LookupFunc): make sure to remove space at the
7840         beginning and end of the command
7841
7842 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * MenuBackend.C (getMenubar): new method: return the menubar of
7845         this menu set
7846         (read): treat differently reading of menu and menubar (in
7847         particular, the menubar has no name now)
7848         (Menu::menubar): remove
7849
7850         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7851         saving is finished
7852
7853 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7854
7855         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7856         a bibitem inset in a RTL paragraph.
7857
7858 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * paragraph_pimpl.C: constify
7861
7862         * BufferView_pimpl.C:
7863         * LaTeX.C:
7864         * lyxfunc.C: fix dispatch in a nicer way
7865
7866 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7867
7868         * lyxfunc.C (dispatch):
7869         * BufferView_pimpl.C:
7870         * BufferView_pimpl.h:
7871         * BufferView.C:
7872         * BufferView.h: rename Dispatch() to dispatch()
7873
7874         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7875
7876         * lyxlayout.C (Read): honor DependsOn tag
7877
7878         * lyxlayout.[Ch] (depends_on): new method
7879
7880         * version.C.in: update lyx_docversion
7881
7882         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7883
7884         * paragraph.C (validate): remove from here...
7885         * paragraph_pimpl.C (validate): ... and move here
7886         (isTextAt): make it const
7887
7888         * buffer.C (getLists): ws cleanup
7889
7890 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7891
7892         * language.C (read): Use iso8859-1 encoding in latex_lang
7893         (this prevents LyX from crashing when using iso10646-1 encoding).
7894
7895 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7896
7897         * text2.C (toggleInset): if cursor is inside an inset, close the
7898         inset and leave cursor _after_ it
7899
7900 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7901
7902         * lyxfunc.C: move minibuffer completion handling out of here
7903
7904 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * BufferView_pimpl.C:
7907         * LaTeX.C: fix dispatch calls
7908
7909 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7910
7911         * text.C (drawChars): Fix Arabic text rendering.
7912
7913 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7914
7915         * LyXAction.C:
7916         * commandtags.h:
7917         * lyxfunc.C: remove message-push/pop
7918
7919         * lyxserver.C:
7920         * lyxfunc.h:
7921         * lyxfunc.C: rationalise some code by removing verboseDispatch
7922           in favour of a bool argument to dispatch()
7923
7924 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7925
7926         * lyx_main.C (init): make sure to read symlinks as absolute paths
7927
7928 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7929
7930         * lyxfunc.h:
7931         * lyxfunc.C: no need for commandshortcut to be a member
7932
7933 2002-07-15  André Pönitz <poenitz@gmx.net>
7934
7935         * converter.C: add support for $$s (scripts from lib/scripts dir)
7936         * lyx_main.C: white space
7937
7938 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7939
7940         * bufferlist.C:
7941         * lyxrc.h:
7942         * lyxrc.C: remove second exit confirmation
7943
7944 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * BufferView.h:
7947         * BufferView.C:
7948         * BufferView2.C:
7949         * BufferView_pimpl.h:
7950         * BufferView_pimpl.C:
7951         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7952
7953 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * MenuBackend.C (expand): add numeric shortcuts to document menu
7956
7957         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7958
7959 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7960
7961         * lyxfont.C (setLyXFamily):
7962         (setLyXSeries):
7963         (setLyXShape):
7964         (setLyXSize):
7965         (setLyXMisc):
7966         (lyxRead):
7967         * debug.C (value):
7968         * buffer.C (asciiParagraph): use ascii_lowercase
7969
7970 2002-07-15  Mike Fabian  <mfabian@suse.de>
7971
7972         * lyxlex_pimpl.C (search_kw):
7973         * lyxlex.C (getLongString):
7974         * converter.h (operator<):
7975         * converter.C (operator<):
7976         * buffer.C (parseSingleLyXformat2Token):
7977         (asciiParagraph):
7978         * ToolbarDefaults.C (read):
7979         * MenuBackend.C (checkShortcuts):
7980         (read):
7981         * LColor.C (getFromGUIName):
7982         (getFromLyXName): use the compare_ascii_no_case instead of
7983         compare_no_case, because in turkish, 'i' is not the lowercase
7984         version of 'I', and thus turkish locale breaks parsing of tags.
7985
7986 2002-07-16  Angus Leeming  <leeming@lyx.org>
7987
7988         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7989         now takes a Buffer const & argument.
7990
7991 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * BufferView.C (resize): check there's a buffer to resize
7994
7995 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * lyxfunc.C: remove dead code
7998
7999         * lyxserver.h:
8000         * lyxserver.C: use lyx_guii::set_read_callback
8001
8002 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8003
8004         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8005         an inset in a RTL paragraph.
8006
8007 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8008
8009         * lyxfunc.C: repaint after a font size update
8010
8011 2002-07-15  André Pönitz <poenitz@gmx.net>
8012
8013         * lyxlength.C: inBP should be able to return negative values
8014
8015 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * lyxfunc.C: use lyx_gui::update_fonts()
8018
8019 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * lyxfunc.C: use lyx_gui::update_color()
8022
8023 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8024
8025         * bufferlist.C:
8026         * lyxfunc.h:
8027         * lyxfunc.C:
8028         * lyxrc.h:
8029         * lyxrc.C: remove file->new asks for name option, and let
8030           buffer-new take an argument
8031
8032 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * BufferView_pimpl.C: remove unneeded extra repaint()
8035
8036 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8037
8038         * LyXAction.C: allow command-sequence with NoBuffer
8039
8040         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8041
8042 2002-07-10  Angus Leeming  <leeming@lyx.org>
8043
8044         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8045
8046 2002-07-09  Angus Leeming  <leeming@lyx.org>
8047
8048         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8049
8050 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * lengthcommon.h: whitespace
8053
8054         * lyxfunc.C: update scrollbar after goto paragraph
8055
8056         * lyxtext.h: factor out page break drawing, and fix it so
8057           page break/added space paints as selected nicely
8058
8059 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * BufferView_pimpl.C: add FIXMEs, clean up a little
8062
8063 2002-07-09  André Pönitz <poenitz@gmx.net>
8064
8065         * lyxfont.[Ch]: support for wasy symbols
8066
8067 2002-07-08  André Pönitz <poenitz@gmx.net>
8068
8069         * BufferView_pimpl.C: apply John's patch for #93.
8070
8071 2002-07-05  Angus Leeming  <leeming@lyx.org>
8072
8073         * BufferView_pimpl.C (buffer): generate previews if desired.
8074
8075         * LColor.h: add "preview" to the color enum.
8076
8077         * LColor.C (LColor): add a corresponding entry to the items array.
8078
8079         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8080         with this buffer.
8081
8082 2002-07-05  Angus Leeming  <leeming@lyx.org>
8083
8084         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8085         The body of the code is now in the method that is passed an ostream &
8086         rather than a file name.
8087         Pass an additional only_preamble parameter, useful for the forthcoming
8088         preview stuff.
8089
8090 2002-07-03  André Pönitz <poenitz@gmx.net>
8091
8092         * lyxfunc.C: simplify getStatus() a bit for math stuff
8093
8094 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8095
8096         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8097
8098 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * text.C (changeRegionCase): do not change case of all the
8101         document when region ends at paragraph end (bug #461)
8102
8103 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8104
8105         * paragraph.C (startTeXParParams):
8106         (endTeXParParams): add \protect when necessary
8107
8108 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8109
8110         * BufferView_pimpl.C (workAreaExpose): remove warning
8111
8112 2002-06-27  Angus Leeming  <leeming@lyx.org>
8113
8114         * Makefile.am: add lyxlayout_ptr_fwd.h.
8115
8116 2002-06-26  André Pönitz <poenitz@gmx.net>
8117
8118         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8119
8120 2002-06-25  Angus Leeming  <leeming@lyx.org>
8121
8122         * lyxfunc.C (dispatch): Comment out the call to
8123         grfx::GCache::changeDisplay. The method no longer exists now that the
8124         pixmap generation part of the graphics loader has been moved into
8125         InsetGraphics.
8126
8127 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8128
8129         * text2.C: layout as layout
8130
8131         * text.C: layout as layout
8132
8133         * tabular.C (OldFormatRead): layout as layout
8134
8135         * paragraph_pimpl.C (TeXDeeper): layout as layout
8136         (realizeFont): layout as layout
8137
8138         * paragraph.C (writeFile): layout as layout
8139         (validate): layout as layout
8140         (getFont): layout as layout
8141         (getLabelFont): layout as layout
8142         (getLayoutFont): layout as layout
8143         (breakParagraph): layout as layout
8144         (stripLeadingSpaces): layout as layout
8145         (getEndLabel): layout as layout
8146         (getMaxDepthAfter): layout as layout
8147         (applyLayout): layout as layout
8148         (TeXOnePar): layout as layout
8149         (simpleTeXOnePar): layout as layout
8150         (TeXEnvironment): layout as layout
8151         (layout): layout as layout
8152         (layout): layout as layout
8153
8154         * lyxtextclass.C (compare_name): new functor to work with
8155         shared_ptr, layout as layout
8156         (Read): layout as layout
8157         (hasLayout): layout as layout
8158         (operator): layout as layout
8159         (delete_layout): layout as layout
8160         (defaultLayout): layout as layout
8161
8162         * lyxlayout_ptr_fwd.h: new file
8163
8164         * lyxlayout.C (Read): layout as layout
8165
8166         * lyx_cb.C (MenuInsertLabel): layout as layout
8167
8168         * bufferlist.C (newFile): layout as layout
8169
8170         * buffer.C (readLyXformat2): layout as layout
8171         (parseSingleLyXformat2Token): layout as layout
8172         (insertStringAsLines): layout as layout
8173         (asciiParagraph): layout as layout
8174         (latexParagraphs): layout as layout
8175         (makeLinuxDocFile): layout as layout
8176         (simpleLinuxDocOnePar): layout as layout
8177         (makeDocBookFile): layout as layout
8178         (simpleDocBookOnePar): layout as layout
8179         (getLists): layout as layout
8180
8181         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8182
8183         * CutAndPaste.C (cutSelection): layout as layout
8184         (pasteSelection): layout as layout
8185         (SwitchLayoutsBetweenClasses): layout as layout
8186
8187         * BufferView_pimpl.C (Dispatch): layout as layout
8188         (smartQuote): layout as layout
8189
8190         * BufferView2.C (unlockInset): layout as layout
8191
8192 2002-06-24  André Pönitz <poenitz@gmx.net>
8193
8194         * lyxfunc.C: fix #487
8195
8196 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * lyxrc.h:
8199         * lyxrc.C:
8200         * lyxfunc.C: remove display_shortcuts, show_banner
8201
8202 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * Buffer_pimpl.C: oops, update on resize
8205
8206 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * buffer.C:
8209         * converter.C:
8210         * exporter.C:
8211         * lyxfunc.C:
8212         * BufferView.h:
8213         * BufferView.C: use repaint()
8214
8215         * BufferView_pimpl.h:
8216         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8217           as it's a clearer description. Remove superfluous
8218           redraws.
8219
8220 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * text.C: fix bug 488. Not ideal, but getting
8223           getWord() to work properly for the insets that
8224           matter is more difficult ...
8225
8226 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * BufferView_pimpl.C:
8229         * LyXAction.C:
8230         * commandtags.h:
8231         * lyxfunc.C: remove the six million index lyxfuncs to just
8232           one, and DTRT (bug 458)
8233
8234 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8235
8236         * BufferView.h:
8237         * BufferView.C:
8238         * BufferView_pimpl.h:
8239         * BufferView_pimpl.C: clean up resize() stuff,
8240           and unnecessary updateScreen()s
8241
8242 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * BufferView.h:
8245         * BufferView.C:
8246         * BufferView_pimpl.h:
8247         * BufferView_pimpl.C:
8248         * lyxfind.h:
8249         * lyxfind.C:
8250         * minibuffer.C: remove focus management of workarea,
8251           not needed. Use screen's greyOut()
8252
8253 2002-06-17  Herbert Voss  <voss@lyx.org>
8254
8255         * converter.C: (convert) do not post a message, when converting
8256         fails, let the calling function decide what to do in this case
8257
8258 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * lyxfunc.C: tidy up a little
8261
8262 2002-06-16    <alstrup@diku.dk>
8263
8264         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8265         Got rid of FORMS_H_LOCATION include. Now we are
8266         GUII.
8267
8268 2002-06-15  LyX Development team  <lyx@rilke>
8269
8270         * buffer.[Ch] (sgmlOpenTag):
8271         (sgmlCloseTag): Added support for avoiding pernicious mixed
8272         content. Return number of lines written.
8273
8274         (makeLinuxDocFile):
8275         (makeDocBookFile): Fixed calls to sgml*Tag.
8276         Simple white space clean.
8277
8278         (simpleDocBookOnePar): Simple white space clean.
8279
8280         * tabular.[Ch] (docBook): Renamed to docbook and got another
8281         argument to related with the pernicious mixed content.
8282
8283         (docbookRow): Fixed calls for docbook inset method.
8284
8285 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8286
8287         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8288         so it's X11 independent.
8289
8290         * kb*.[Ch]: ditto.
8291
8292         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8293
8294 2002-06-15  Lyx Development team  <lyx@electronia>
8295
8296         * intl.h: Renamed getTrans to getTransManager.
8297
8298 2002-06-14  Angus Leeming  <leeming@lyx.org>
8299
8300         * Makefile.am: nuke forgotten stl_string_fwd.h.
8301
8302 2002-06-12  Angus Leeming  <leeming@lyx.org>
8303
8304         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8305
8306 2002-06-13  Angus Leeming  <leeming@lyx.org>
8307
8308         * LaTeX.C:
8309         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8310
8311 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8312
8313         * kbmap.C (getiso): add support for cyrillic and greek
8314
8315 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8316
8317         * BufferView.h:
8318         * BufferView.C:
8319         * BufferView_pimpl.h:
8320         * BufferView_pimpl.C: move bogus scrolling logic
8321           to xforms
8322
8323 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8324
8325         * lyxfunc.C:
8326         * BufferView_pimpl.C: view->resize() change
8327
8328 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8329
8330         * BufferView_pimpl.C: topCursorVisible
8331           prototype change
8332
8333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * Makefile.am:
8336         * lyx_gui.h:
8337         * lyx_gui.C: move to frontends/
8338
8339         * main.C:
8340         * lyx_main.h:
8341         * lyx_main.C: changes from above
8342
8343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8344
8345         * intl.C:
8346         * intl.h:
8347         * kbmap.C:
8348         * kbsequence.C:
8349         * lyx_cb.C:
8350         * lyx_main.C: minor tidy
8351
8352 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * BufferView_pimpl.h:
8355         * BufferView_pimpl.C:
8356         * BufferView.h:
8357         * BufferView.C: make painter() const,
8358           remove dead code
8359
8360         * BufferView2.C: use screen() accessor
8361
8362         * lyx_main.h:
8363         * lyx_main.C: some minor cleanup
8364
8365 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * BufferView_pimpl.h:
8368         * BufferView_pimpl.C: remove enter/leaveView,
8369           use workHeight()
8370
8371 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * BufferView.h:
8374         * BufferView.C:
8375         * BufferView2.C:
8376         * BufferView_pimpl.h:
8377         * BufferView_pimpl.C: only construct screen once,
8378           rename
8379
8380         * lyxrc.C: remove pointless comment
8381
8382 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8383
8384         * BufferView.h:
8385         * BufferView.C: remove active() and belowMouse()
8386
8387         * BufferView_pimpl.h:
8388         * BufferView_pimpl.C: use workarea() not workarea_,
8389           and make it use a scoped_ptr instead
8390
8391 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8392
8393         * lyx_gui.C: add debug message on BadWindow
8394
8395 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8396
8397         * sp_spell.C: fdopen is not part of the C++ standard.
8398
8399         * paragraph.C (InsetIterator): use >= instead of ==
8400
8401 2002-06-07  Angus Leeming  <leeming@lyx.org>
8402
8403         Fixes needed to compile with Compaq cxx 6.5.
8404         * BufferView_pimpl.C:
8405         * DepTable.C:
8406         * buffer.C:
8407         * converter.C:
8408         * encoding.C:
8409         * lyx_gui.C:
8410         * lyx_main.C:
8411         * lyxtextclasslist.C:
8412         * minibuffer.C:
8413         * sp_spell.C:
8414         * tabular_funcs.C:
8415         * vc-backend.C:
8416         all c-library variables have been moved into namespace std. Wrap
8417         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8418
8419         * lyxlength.C:
8420         * tabular-old.C:
8421         * tabular.C:
8422         Add a using std::abs declaration.
8423
8424         * kbmap.h (modifier_pair):
8425         * paragraph.h (InsetTable, InsetList):
8426         * lyxfont.h (FontBits):
8427         type definition made public.
8428
8429         * bufferlist.C (emergencyWriteAll): the compiler complains that
8430         there is more than one possible lyx::class_fun template to choose from.
8431         I re-named the void specialisation as lyx::void_class_fun.
8432
8433         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8434
8435         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8436         the compiler is is unable to find tostr in write_attribute.
8437
8438 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8439
8440         * buffer.C (sgmlError): hide #warning
8441
8442 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * xtl/*: get rid of xtl, which is not in use anyway
8445
8446         * LyXAction.C (init):
8447         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8448         were unimplemented xtl experimentation
8449
8450 2002-06-04  André Pönitz <poenitz@gmx.net>
8451
8452         * lyxfunc.C: disable array operation on simple formulae
8453
8454 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8455
8456         * converter.C: constify a bit
8457
8458 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8459
8460         * lyx_gui.C: check xforms version correctly
8461
8462 2002-04-30  Herbert Voss  <voss@lyx.org>
8463
8464         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8465         "keep" option
8466
8467 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8468
8469         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8470           attempt to register it with a VCS)
8471
8472 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * lyx_main.C (init): honor variables LYX_DIR_13x and
8475         LYX_USERDIR_13x
8476
8477 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * buffer.h:
8480         * buffer.C:
8481         * lyx_main.C: fix a crash on bad command line,
8482           and give a useful exit status on error
8483
8484         * lyxfunc.C (doImport): allow -i lyx to work
8485
8486 2002-03-30  André Pönitz <poenitz@gmx.net>
8487
8488         * lyxfunc.C: mathed font changes
8489
8490 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8491
8492         * LaTeX.C:
8493         * importer.h:
8494         * importer.C:
8495         * lyx_sty.h:
8496         * lyx_sty.C:
8497         * lyxlex.C:
8498         * lyxrow.h:
8499         * lyxtext.h:
8500         * paragraph.h:
8501         * paragraph.C:
8502         * texrow.h:
8503         * texrow.C:
8504         * text.C:
8505         * trans_mgr.h: srcdocs, and some minor cleanups
8506
8507 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8510         call getFont all the time)
8511
8512 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * switch from SigC signals to boost::signals
8515
8516 2002-05-29  André Pönitz <poenitz@gmx.net>
8517
8518         * paragraph_pimpl.C (getChar): don't call size() too often...
8519
8520 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8521
8522         * paragraph_pimpl.C (insertChar): do not try to update tables when
8523         appending (pos == size())
8524
8525         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8526         in order to reduce drastically the number of comparisons needed to
8527         parse a large document
8528
8529 2002-05-29  André Pönitz <poenitz@gmx.net>
8530
8531         * text.C:
8532         * text2.C:
8533         * lyxtextclass.C:
8534         * sp_pspell.h:
8535         * textclasslist.[Ch]:
8536         * sp_ispell.h: whitespace change
8537
8538 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8541         lyxaction directly now.
8542
8543 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * trans.C:
8546         * lyxfont.C:
8547         * lyxvc.C: remove unused headers
8548
8549 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * Makefile.am:
8552         * buffer.h:
8553         * undostack.h:
8554         * undostack.C:
8555         * undo_funcs.h:
8556         * undo_funcs.C: some cleanups. Use shared_ptr
8557           and a template for the undo stacks.
8558
8559 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * BufferView_pimpl.h:
8562         * BufferView_pimpl.C:
8563         * kbmap.h:
8564         * kbmap.C:
8565         * kbsequence.h:
8566         * kbsequence.C:
8567         * lyxfunc.h:
8568         * lyxfunc.C:
8569         * text2.C: use key_state/mouse_state
8570
8571 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8572
8573         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8574         and LSubstring
8575
8576         * chset.C: change include order
8577         (loadFile): use boost regex and get rid of LRegex and LSubstring
8578
8579         * Makefile.am (BOOST_LIBS): new variable
8580         (lyx_LDADD): use it
8581
8582         * LaTeX.C: change include order.
8583         (scanAuxFile): use boost regex and get rid of LRegex and
8584         LSubstring
8585         (deplog): ditto
8586
8587 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * ColorHandler.h:
8590         * ColorHandler.C:
8591         * FontInfo.h:
8592         * FontInfo.C: moved to frontends/xforms/
8593
8594         * FontLoader.h:
8595         * FontLoader.C: moved into frontends for GUIIzation
8596
8597         * Makefile.am:
8598         * lyx_gui.C:
8599         * lyxfont.C:
8600         * lyxfunc.C: changes from above
8601
8602 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8603
8604         * LColor.C: remove spurious X include
8605
8606         * BufferView_pimpl.C:
8607         * Makefile.am:
8608         * font.h:
8609         * font.C:
8610         * text.C:
8611         * text2.C: move font metrics to frontends/
8612
8613 2002-05-24  Juergen Vigna  <jug@sad.it>
8614
8615         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8616         setting the undo_cursor.
8617
8618         * ParagraphParameters.h: include local includes first.
8619
8620 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * BufferView_pimpl.C:
8623         * BufferView_pimpl.h:
8624         * Makefile.am:
8625         * WorkArea.h:
8626         * WorkArea.C:
8627         * screen.C: move WorkArea into frontends/
8628
8629         * lyxscreen.h:
8630         * screen.C:
8631         * text.C:
8632         * BufferView.C:
8633         * BufferView2.C: move LyXScreen into frontends/
8634
8635         * lyxlookup.h:
8636         * lyxlookup.C:
8637         * lyx_gui.C: move lyxlookup into frontends/xforms/
8638
8639 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * BufferView2.C:
8642         * BufferView_pimpl.C:
8643         * FontLoader.C:
8644         * LyXView.h:
8645         * LyXView.C:
8646         * Makefile.am:
8647         * WorkArea.C:
8648         * XFormsView.h:
8649         * XFormsView.C:
8650         * buffer.C:
8651         * bufferlist.C:
8652         * bufferview_funcs.C:
8653         * converter.C:
8654         * importer.C:
8655         * lyx_cb.C:
8656         * lyx_gui.C:
8657         * lyx_main.C:
8658         * lyx_find.C:
8659         * lyxfunc.C:
8660         * lyxvc.C:
8661         * minibuffer.C:
8662         * text.C:
8663         * text2.C:
8664         * trans.C:
8665         * vc-backend.C: move LyX/XFormsView into frontends/
8666
8667 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * Makefile.am:
8670         * PainterBase.C:
8671         * PainterBase.h:
8672         * Painter.C:
8673         * Painter.h:
8674         * WorkArea.C:
8675         * WorkArea.h:
8676         * screen.C:
8677         * tabular.C:
8678         * text.C:
8679         * text2.C: move Painter to frontends/
8680
8681 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8682
8683         * buffer.C: comment out some some code that depend upon lyx_format
8684         < 220
8685
8686         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8687         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8688
8689         * buffer.h (NO_COMPABILITY): turn off compability
8690
8691         * ColorHandler.C: include scoped_array.hpp
8692
8693         * font.C: Use more specific smart_ptr header.
8694         * Painter.C: ditto
8695         * gettext.C: ditto
8696         * ShareContainer.h: ditto
8697         * lyx_main.h: ditto
8698         * kbmap.h: ditto
8699         * FontInfo.h: ditto
8700         * BufferView_pimpl.h: ditto
8701         * ColorHandler.h: ditto
8702
8703         * kbmap.C (defkey): change call to shared_ptr::reset
8704
8705 2002-05-21  Juergen Vigna  <jug@sad.it>
8706
8707         * buffer.C (insertErtContents): fix to insert ert asis if it is
8708         non empty. Skip it completely if it contains only whitespaces.
8709
8710 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * BufferView_pimpl.C:
8713         * BufferView2.C: clear selection on paste (bug 393)
8714
8715 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8716
8717         * DepTable.C: include ctime
8718
8719 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8722
8723 2002-05-14  Juergen Vigna  <jug@sad.it>
8724
8725         * text.C (breakParagraph): fixed function to honor the keepempty
8726         layout in the right maner and also to permit the right breaking
8727         algorithm on empty or non empyt keepempty paragraphs.
8728
8729         * paragraph.C (breakParagraph): we have to check also if the par
8730         is really empty (!size()) for isempty otherwise we do the wrong
8731         paragraph break.
8732
8733 2002-05-10  Juergen Vigna  <jug@sad.it>
8734
8735         * buffer.[Ch] : The following are only changes to the ert
8736         compatibility read reading old LaTeX layout and font stuff and
8737         convert it to ERTInsets.
8738
8739         * buffer.h: added isErtInset().
8740
8741         * buffer.C (struct ErtComp): add a fromlayout bool to check
8742         if we're inside a LaTeX layout.
8743         (isErtInset): new helper function.
8744         (insertErtContents): look for other ert insets before this one
8745         and insert the contents there, so that we don't have subsequent
8746         ERT insets with nothing between them. This way we create only one
8747         inset with multiple paragraphs. Also check if we don't insert only
8748         spaces ' ' as they are ignored anyway afterwards in the .tex file
8749         so if we have only spaces we will ignore this latex part in the
8750         new file.
8751         (parseSingleLyXformat2Token \\layout): better compatibility when
8752         reading layout-latex stuff.
8753         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8754         language tag.
8755         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8756         stuff after reading the inset only get the information back from
8757         the stack.
8758
8759 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8760
8761         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8762
8763         * LaTeXFeatures.C (getBabelOptions): New method.
8764
8765 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8766
8767         * BufferView_pimpl.C (Dispatch): work around missing argument for
8768         'layout'
8769
8770 2002-05-08  Juergen Vigna  <jug@sad.it>
8771
8772         * text.C (leftMargin): handle paragraph leftindent.
8773
8774         * paragraph.C (writeFile): write the new \\leftindent tag.
8775         (validate): handle leftindent code.
8776         (TeXEnvironment): handle paragraphleftindent code again.
8777
8778         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8779
8780         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8781         for paragrap_extra indent code and new token \\leftindent.
8782         (latexParagraphs): handle the leftindent as environment.
8783
8784         * ParameterStruct.h: added leftindent support.
8785
8786         * ParagraphParameters.C (leftIndent): added support functions for
8787         the paragraph left indent.
8788
8789         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8790         more appropriate.
8791
8792 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8793
8794         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8795         inside insetERT.
8796
8797         * text.C (computeBidiTables): No bidi in insetERT.
8798
8799         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8800         in RTL documents.
8801
8802 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8803
8804         * version.C.in: pre 5
8805
8806 2002-05-02  José Matos  <jamatos@fep.up.pt>
8807         * buffer.C (makeDocBookFile): white space changes, add newline to
8808         command styles.
8809         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8810
8811         * tabular.C (docBook): fix typo.
8812
8813 2002-05-03  Juergen Vigna  <jug@sad.it>
8814
8815         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8816         change in LyXText as we can not be sure it was not freed.
8817         (drawOneRow): remove unused code.
8818
8819         * text.C (drawInset): redo the calculation of the need_break_row as
8820         it could have a row which was already freed.
8821         (draw): look at the return value of drawInset and return false if
8822         it also returned false.
8823         (paintRowText): look at the return value of draw and return false if
8824         it also returned false.
8825
8826         * lyxtext.h: added bool return type to drawInset() and draw() so that
8827         if we have a change in the row so that the rowbreak has to be redone
8828         we abort drawing as it will be called again.
8829
8830 2002-05-02  Juergen Vigna  <jug@sad.it>
8831
8832         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8833         a change in the maintext also if we're inside an inset.
8834         (Dispatch): set the cursor again after a break line and after the
8835         screen has been updated as it could be we're in a different row.
8836
8837         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8838         to set the cursor behind the pargraph with > size().
8839         (setCursor): check also for the same paragraph when checking where
8840         to put the cursor if we have a NFR inset.
8841
8842         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8843         parts of layout read further up as it still was in the wrong
8844         position.
8845
8846 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8847
8848         * screen.C (drawFromTo): change sine fullRebreak always return
8849         true.
8850
8851         * buffer.C (parseSingleLyXformat2Token): reindent some
8852
8853         * BufferView_pimpl.C (update): change since fullRebreak always
8854         return true.
8855         (Dispatch): git rid of the last hardcoded "Standard"s.
8856
8857 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * text2.[Ch] (fullRebreak): make it return void now that we always
8860         returned true.
8861
8862 2002-04-30  Juergen Vigna  <jug@sad.it>
8863
8864         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8865         ert compatibility check for "latex" layout.
8866
8867 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8868
8869         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8870         minipages: use col% instead of p%, and also use the current font.
8871         (makeLaTeXFile): Fix use babel condition.
8872         (parseSingleLyXformat2Token): Correct font when reading old floats.
8873
8874 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8877         inserting list of floats.
8878
8879 2002-04-25  Herbert Voss  <voss@lyx.org>
8880
8881         * MenuBackend.C (expand): don't add the graphics extensions to the
8882         export menu
8883
8884 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8887         non-existing layout, do not complain if it was the default layout
8888         of the original class (bug #342)
8889
8890 2002-04-24  Juergen Vigna  <jug@sad.it>
8891
8892         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8893         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8894
8895 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8896
8897         * buffer.C (getBibkeyList): If using \bibliography, return the
8898         option field with the reference itself. Enables us to provide natbib
8899         support when using \bibliography.
8900
8901 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8902
8903         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8904
8905         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8906         natbib is provided by the LaTeX class.
8907
8908 2002-04-23  Juergen Vigna  <jug@sad.it>
8909
8910         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8911         Wakeup functions.
8912
8913         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8914
8915 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8918
8919         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8920         ensuremath around textordmasculine, textordfeminine and
8921         textdegree.
8922
8923 2002-04-19  Juergen Vigna  <jug@sad.it>
8924
8925         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8926         reinitializing the buffer otherwise row-dimensions may be wrong.
8927         (update): reset also the selection cursors if they do exits otherwise
8928         their x/y positions may be wrong.
8929
8930         * text2.C (cursorDown): don't enter the inset if we came from a row
8931         above and are one row over the inset.
8932
8933         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8934         really leaving an inset.
8935
8936 2002-04-18  Juergen Vigna  <jug@sad.it>
8937
8938         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8939         of the selected paragraph does not have the selected layout also if
8940         the last one had!
8941
8942         * text2.C (setLayout): fixed bug which did not change last selected
8943         paragraph.
8944
8945         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8946         changed the read and substituted \\end_float with \\end_inset!
8947
8948         * BufferView_pimpl.C (cursorPrevious):
8949         (cursorNext): fixed to make it work with rows heigher than the work
8950         area without moving the cursor only the draw of the row.
8951         (workAreaMotionNotify): fix jumping over high rows.
8952
8953 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8954
8955         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8956         Ressler.
8957
8958 2002-04-16  Juergen Vigna  <jug@sad.it>
8959
8960         * text2.C (setCursor): set also the irow().
8961         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8962         (cursorUp):
8963         (cursorDown): support for locking an inset if the x_fix value goes
8964         inside it. That way I can transverse insets too with cursor up/down.
8965
8966         * lyxrow.h: added irow helper function same as other (i) functions.
8967
8968         * BufferView_pimpl.C (cursorPrevious):
8969         (cursorNext): fixed for insets!
8970
8971 2002-04-15  Juergen Vigna  <jug@sad.it>
8972
8973         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8974         position otherwise it is wrong in some cases.
8975
8976         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8977         inside the inset before the call.
8978
8979 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8980
8981         * buffer.[Ch] (getBibkeyList): make it const.
8982
8983 2002-04-12  Juergen Vigna  <jug@sad.it>
8984
8985         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8986
8987         * text2.C (getCursorX): new helper function
8988         (setCursor): compute also ix_
8989         (setCursorFromCoordinates): set also ix.
8990
8991         * lyxcursor.h: added ix_ and helper functions.
8992
8993         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8994
8995         * buffer.C (insertStringAsLines): dont break paragraph if the this
8996         paragraph is inside an inset which does not permit it!
8997
8998         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8999         also with no chars on this paragraph.
9000         (paintRowText): only paint stuff if it's inside the workarea!
9001
9002         * paragraph.C (breakParagraph): honor keepempty flag and break the
9003         paragraph always below not above.
9004
9005         * BufferView2.C (unlockInset): update the paragraph layout on inset
9006         unlock as we changed paragraph in such a case.
9007
9008         * lyxfind.C (LyXFind): clear the former selection if not found!
9009
9010         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9011         again called in insertChar().
9012
9013         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9014         an inset which uses the whole row!
9015         (rightMargin): ditto.
9016         (insertChar): force a rebreak if we inserted an inset!
9017
9018 2002-03-28  Herbert Voss  <voss@lyx.org>
9019
9020         * lyxlength.[Ch]: add inBP() to get the right PS-point
9021         units (BigPoint). With inPixels we have rounding errors
9022
9023 2002-04-11  Juergen Vigna  <jug@sad.it>
9024
9025         * text2.C (setCursorFromCoordinates): set iy to the right value.
9026         (setCursor): add check if row->previous exists!
9027
9028         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9029         an old float_type as this was the case in the old code!
9030
9031         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9032
9033         * BufferView2.C (showLockedInsetCursor): use iy
9034         (fitLockedInsetCursor): ditto
9035
9036         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9037         locked insets as there we have the right value now.
9038
9039         * lyxcursor.C: added iy_ variable and iy functions to set to the
9040         baseline of cursor-y of the locked inset.
9041
9042         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9043         (setCursor): fixed for insets which need a full row.
9044
9045         * text.C (rowLastPrintable): don't ignore the last space when before
9046         an inset which needs a full row.
9047         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9048         as last character of a row when before a inset which needs a full row.
9049
9050 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9051
9052         * version.C.in: update date
9053
9054         * text2.C (fullRebreak): try to always return true and see what
9055         happens...
9056
9057 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * MenuBackend.C (expand): use Floating::listName
9060
9061         * FloatList.C (FloatList): add listName argument to the built-in
9062         floats
9063
9064         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9065         text associated with the float.
9066
9067 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9068
9069         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9070
9071 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * ShareContainer.h: add a couple of missing typenames.
9074
9075 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9076
9077         * lyxrc.C (getDescription): use _() correctly rather than N_().
9078
9079 2002-03-28  Herbert Voss  <voss@lyx.org>
9080
9081         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9082         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9083
9084 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9085
9086         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9087         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9088
9089 2002-03-29  Juergen Vigna  <jug@sad.it>
9090
9091         * lyxfunc.C (dispatch): add a missing fitCursor call.
9092
9093         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9094         it was scrolled by a cursor move, so return the bool status.
9095
9096         * BufferView.C (fitCursor): return the bool flag also to the outside
9097         world as this is needed.
9098
9099         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9100
9101         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9102         call the edit() as it is not needed (and wrong) IMO.
9103         (workAreaButtonPress): set the screen_first variable before evt.
9104         unlock the inset as this may change screen_first and then we have
9105         a wrong y position for the click!
9106
9107 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * MenuBackend.C (expand): another translation that I missed
9110
9111 2002-03-28  Juergen Vigna  <jug@sad.it>
9112
9113         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9114
9115         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9116
9117 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9120
9121         * MenuBackend.C (expand): fix export/view/update when there is no
9122         document open.
9123
9124 2002-03-27  Herbert Voss  <voss@lyx.org>
9125
9126         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9127         and text%
9128
9129 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9130
9131         * bufferview_funcs.C (currentState): only show paragraph number
9132         for is DEVEL_VERSION is set.
9133
9134         * lyxfunc.C (dispatch): put warning in INFO channel
9135
9136         * MenuBackend.C (expand): translate the name of floats
9137
9138         * FloatList.C (FloatList): mark the float names for translation
9139
9140         * converter.C (convert): use LibScriptSearch
9141
9142 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9143
9144         * MenuBackend.C (defaults): fix default menu (we might as well get
9145         rid of it...)
9146
9147 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9148
9149         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9150         directory.
9151
9152 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * lyxvc.C: reorder includes.
9155
9156 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9159           properly
9160
9161 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * CutAndPaste.C: change layouts earlier on paste
9164           to avoid crashing when calling getFont()
9165
9166 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9167
9168         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9169         irritating #error.
9170
9171 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9172
9173         * WorkArea.C: remove 'Pending' debug message.
9174
9175         * most files: ws cleanup
9176
9177         * buffer.[Ch]: ws changes
9178
9179         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9180
9181 2002-03-21  Juergen Vigna  <jug@sad.it>
9182
9183         * tabular.C (SetMultiColumn): collapse also the contents of the
9184         cells and set the last border right. Added a Buffer const * param.
9185
9186 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9189         linking or not.
9190
9191 2002-03-19  Juergen Vigna  <jug@sad.it>
9192
9193         * text2.C (clearSelection): reset also xsel_cache.
9194
9195         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9196         where it needs to be called (John tells us to do so too :)
9197         (selectionLost): reset sel_cache.
9198
9199         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9200
9201 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * text2.C (setCursorIntern): put debuging code in INSETS channel
9204
9205 2002-03-19  André Pönitz <poenitz@gmx.net>
9206
9207         * lyxfunc.C: tiny whitespace change
9208
9209 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9210
9211         * ToolbarDefaults.C (init):
9212         * LyXAction.C (init):
9213         * commandtags.h:
9214         * BufferView_pimpl.C (Dispatch):
9215         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9216
9217 2002-03-19  Allan Rae  <rae@lyx.org>
9218
9219         * exporter.C (Export): removeAutoInsets before doing anything else.
9220         While I've just introduced a dependency on BufferView this really is
9221         the best place to clean the buffer otherwise you need to cleanup in
9222         a dozen places before calling export or cleanup in a dozen functions
9223         that export calls.
9224
9225         * converter.C (runLaTeX):
9226         (scanLog): Better handling of removeAutoInsets and screen updates.
9227
9228         * lyxfunc.C (dispatch): small whitespace changes
9229
9230 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9231
9232         * WorkArea.C (C_WorkAreaEvent): return a value.
9233         (event_cb): return 1 if we handled the event, 0 otherwise.
9234
9235         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9236
9237 2002-03-18  Juergen Vigna  <jug@sad.it>
9238
9239         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9240         (GetAdditionalWidth): ditto.
9241         (RightLine): ditto.
9242         (LeftLine): ditto.
9243
9244         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9245         inset if we're there actually (probably not used right now but this
9246         is the direction to go for unifying code).
9247         (paste): disable code to clear the selection.
9248
9249         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9250         inside an InsetText and move the check further up as it is in the
9251         wrong place.
9252
9253         * text2.C (pasteSelection): set a selection over the pasted text.
9254
9255 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9256
9257         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9258         and libgraphics to build on Cygwin.
9259
9260 2002-03-15  Juergen Vigna  <jug@sad.it>
9261
9262         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9263         inserting an Inset into the paragraph. I know this is not the best
9264         fix but we already use current_view in CutAndPaste so we will remove
9265         all of it's using at the same time.
9266
9267         * buffer.C (sgmlError): deactivated function till it is rewritten in
9268         the right mode, now it can create problems.
9269
9270         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9271         before accessing it.
9272
9273 2002-03-14  Juergen Vigna  <jug@sad.it>
9274
9275         * undo_funcs.C (textHandleUndo): do the right thing when updating
9276         the inset after the undo/redo.
9277
9278         * text2.C (setCursor): just some testcode for #44 not ready yet.
9279
9280         * undo_funcs.C (textHandleUndo): set the next() and previous()
9281         pointers of the paragraph to 0 before deleting otherwise we have
9282         problems with the Paragraph::[destructor].
9283
9284         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9285         on a paragraph insertion.
9286
9287 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * buffer.C (asciiParagraph): use += operator for char append to
9290         string.
9291
9292         * paragraph.C (getFontSettings): compare >= not just >
9293         (highestFontInRange): ditto
9294         (setFont): ditto
9295
9296 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * paragraph.C: change several algorithm to be more appripriate for
9299         the problem domain. This is lookip in FontList and in the InsetList.
9300
9301 2002-03-13  André Pönitz <poenitz@gmx.net>
9302
9303         * commandtags.h:
9304         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9305
9306 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9307
9308         * commandtags.h:
9309         * LyXAction.C:
9310         * lyxfunc.C:
9311         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9312
9313 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9314
9315         * Painter.C (display): anon helper function, adjust code for this
9316         change.
9317         (pixmap): remove function.
9318
9319         * Painter.h: remove private display variable.
9320
9321         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9322
9323 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9324
9325         * WorkArea.[Ch]: remove figinset_canvas cruft.
9326
9327 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * lyxtextclass.C (operator): add one item cache optimization.
9330
9331         * bufferlist.h: doxy changes
9332
9333         * bufferlist.C: ws changes
9334
9335         * DepTable.[Ch] (ext_exist): place const in the right spot.
9336
9337         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9338         call resizeInsets.
9339         (workAreaExpose): call resizeInsets when the with BufferView changes.
9340         (Dispatch): adjust for protectedBlank removal
9341         (specialChar): call updateInset if the insert went ok.
9342
9343         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9344         specialChar instead.
9345
9346         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9347
9348         * BufferView.h: doxy change
9349
9350         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9351
9352         * lyxtextclass.C (operator[]): remove non-const version
9353         (defaultLayout): remove non-const version
9354
9355 2002-03-12  Juergen Vigna  <jug@sad.it>
9356
9357         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9358         did resize the LyXText too.
9359
9360         * buffer.C (readLyXformat2): set layout information on newly allocated
9361         paragraphs.
9362
9363         * tabular.C (OldFormatRead): set layout information on the paragraph.
9364
9365 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9366
9367         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9368
9369 2002-03-11  Juergen Vigna  <jug@sad.it>
9370
9371         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9372         plainly wrong.
9373         (resizeCurrentBuffer): force also the insets to resize themselfes.
9374         (moveCursorUpdate): fixed up for InsetText.
9375
9376 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9377
9378         * commandtags.h:
9379         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9380         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9381         value of Dialogs::tooltipsEnabled().
9382         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9383
9384 2002-03-08  Juergen Vigna  <jug@sad.it>
9385
9386         * BufferView_pimpl.C (updateInset): update inset inside inset also
9387         if it isn't inside theLockingInset().
9388
9389 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * buffer.C (asciiParagraph): redo some of the word and line length
9392         handling.
9393         (getLists): look for Caption instead of caption.
9394
9395 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * buffer.C (Buffer): initialize niceFile to true
9398         (makeLaTeXFile):
9399         (makeLinuxDocFile):
9400         (makeDocBookFile): make sure niceFile is true on exit
9401
9402 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9403
9404         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9405
9406 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9407
9408         * LyXSendto.C: remove.
9409         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9410         * lyx_gui.C: remove now-redundant comment.
9411         * ColorHandler.h: remove forward declaration of class WorkArea.
9412         * lyxfunc.C: remove #include "WorkArea.h".
9413
9414 2002-03-07  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9417         got moved away with the DEPM and also set the inset_owner always
9418         right which before could have been omitted.
9419
9420 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9421
9422         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9423         wanted layout is not found.
9424
9425 2002-03-07  Juergen Vigna  <jug@sad.it>
9426
9427         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9428
9429 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9430
9431         * paragraph.C (breakParagraph): use default layout not layout of
9432         prev paragraph.
9433         (Paragraph): clear ParagraphParameters.
9434
9435 2002-03-06  Juergen Vigna  <jug@sad.it>
9436
9437         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9438         otherwise it would not be a valid lenght. Fixed a special case in
9439         the minipage compatibility read where we end the document with a
9440         minipage.
9441
9442         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9443         was set as it could be 0 for InsetTexts first entry.
9444
9445 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9446
9447         * paragraph.C (writeFile): if layout is empty write out
9448         defaultLayoutName().
9449
9450         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9451         file without named layout we set layout to defaultLayoutName().
9452
9453 2002-03-06  Juergen Vigna  <jug@sad.it>
9454
9455         * CutAndPaste.C (copySelection): set layout for new paragraph.
9456
9457         * text.C (prepareToPrint): leave ERT inset left aligned
9458         (leftMargin): don't indent paragraphs inside ERT insets
9459
9460 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9461
9462         * paragraph.C (breakParagraph): dont call clear do the work manually
9463
9464         * paragraph.[Ch] (clear): remove function
9465
9466 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9467
9468         * paragraph.C (Paragraph): dont call clear, the work has already
9469         been done.
9470
9471         * lyxtextclass.C (operator): assert if n is empty
9472
9473         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9474         work manually instead.
9475
9476 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * BufferView_pimpl.C: protect selectionLost against text == 0
9479
9480 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9481
9482         * text.C (breakParagraph): fix a setting layout to '0' problem.
9483
9484 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9485
9486         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9487         final location of file, for the included files, and graphics.
9488
9489 2002-03-05  Juergen Vigna  <jug@sad.it>
9490
9491         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9492
9493 2002-03-04  Juergen Vigna  <jug@sad.it>
9494
9495         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9496
9497         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9498         last column of multicolumn cells.
9499         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9500
9501 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9502
9503         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9504         file if it doesn't go to a temporary file.
9505
9506         * buffer.C (sgmlOpenTag):
9507         (sgmlCloseTag):  remove extra newline insertion.
9508
9509 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9510
9511         * text.C (getRowNearY): comment out debug msg
9512
9513 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9514
9515         * text2.C: first -> first_y
9516
9517         * text.C (getRowNearY): add some attemts at a possible
9518         optimization, not working.
9519
9520         * tabular.[Ch]: add BufferParams to several function so that newly
9521         created paragraph can be initialized to he default layotu for the
9522         buffers textclass.
9523
9524         * tabular-old.C (ReadOld): add buf->params to call of Init
9525
9526         * screen.C: rename text->first to text->first_y
9527
9528         * paragraph.C (breakParagraph): always set layout in the broken
9529         paragraph
9530
9531         * lyxtextclass.C (Read): remove lowercase
9532         (hasLayout): ditto
9533         (operator): ditto
9534         (delete_layout): ditto
9535
9536         * lyxtext.h: rename first -> first_y
9537
9538         * lyxlayout.C (Read): remove lowercase
9539         (name): ditto
9540         (setName): ditto
9541         (obsoleted_by): ditto
9542
9543         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9544
9545         * buffer.C (insertErtContents): add params are to InsetERT
9546         (parseSingleLyXformat2Token): add code to check if a paragraphs
9547         layout really exist.
9548         (parseSingleLyXformat2Token): add params to several inset
9549         constructors
9550         (asciiParagraph): remove lowercase, do the layout comparisons with
9551         no_case
9552
9553         * BufferView_pimpl.C (cursorNext): first -> first_y
9554         (resizeCurrentBuffer): first -> first_y
9555         (updateScrollbar): first -> first_y
9556         (scrollCB): first -> first_y
9557         (workAreaMotionNotify): first -> first_y
9558         (workAreaButtonPress): first -> first_y
9559         (checkInsetHit): first -> first_y
9560         (cursorPrevious): first -> first_y
9561         (cursorNext): first -> first_y
9562         (Dispatch): add buffer_->params to severl inset contructors
9563
9564 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9565
9566         * lyxlayout.C (Read): remove some debug info that I forgot.
9567
9568         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9569         clean up the code slightly.
9570         (makeLinuxDocFile): ditto
9571         (makeDocBookFile): ditto
9572
9573         * text2.C: layout as string
9574
9575         * text.C: layout as string
9576
9577         * paragraph_pimpl.C: layout as string
9578
9579         * paragraph.[Ch]: layout as string
9580
9581         * lyxtextclasslist.[Ch]: layout as string
9582
9583         * lyxtextclass.[Ch]: layout as string
9584
9585         * lyxtext.h: layout as string
9586
9587         * lyxlayout.[Ch]: layout as string
9588
9589         * lyx_cb.C: layout as string
9590
9591         * bufferview_funcs.C: layout as string
9592
9593         * bufferparams.C: layout as string
9594
9595         * buffer.C: layout as string
9596
9597         * LyXView.[Ch]: layout as string
9598
9599         * LaTeXFeatures.[Ch]: layout as string
9600
9601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9602
9603         * BufferView_pimpl.C: change current_layout to string, remove
9604         lyx::layout_type.
9605         (Dispatch):
9606         (smartQuote):
9607         (insertInset):
9608         (workAreaButtonRelease): layout as string
9609
9610         * BufferView2.C (unlockInset): adjust
9611
9612         * vspace.C (asLatexCommand): use an explict temp variable.
9613
9614 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * Makefile.am: use FRONTEND_*
9617
9618 2002-03-01  Juergen Vigna  <jug@sad.it>
9619
9620         * tabular.C (SetWidthOfMulticolCell): changed to something better
9621         I hope but still work in progress.
9622         (recalculateMulticolumnsOfColumn): renamed function from
9623         recalculateMulticolCells as it is more appropriate now.
9624         (SetWidthOfCell): calculate multicols better.
9625
9626 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9629
9630         * lyxfunc.C (processKeySym): print sequence also if it is
9631         `deleted' (complete)
9632
9633         * kbsequence.C (print): print sequence even if it is deleted
9634         (complete would be a better word, actually).
9635
9636         * lyxfunc.C (dispatch): print complete options after a prefix key
9637
9638         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9639
9640 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9641
9642         * text2.C (setCharFont): eliminate setCharFont code duplication.
9643
9644 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9645
9646         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9647         LFUN_TABULAR_FEATURE (bug #177)
9648
9649 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9650
9651         * Makefile.am: remove figure.h
9652
9653 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9654
9655         * Bufferview_pimpl.C:
9656         * CutAndPasteC:
9657         * LaTeX.C:
9658         * LyXSendto.C:
9659         * buffer.C:
9660         * bufferlist.C:
9661         * converter.C:
9662         * language.C:
9663         * lyxfunc.C:
9664         * lyxvc.C:
9665         * paragraph.C:
9666         * text.C:
9667         * text2.C: remove #include "lyx_gui_misc.h".
9668
9669         * LaTeX.C: added #include <cstdio>
9670
9671 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9674         that the paragraph following this one can have.
9675
9676         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9677
9678         * vspace.C (asLatexCommand): fix bogus gcc warning
9679
9680         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9681
9682 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9683
9684         * text2.C (setLayout): get rid of redundant code
9685
9686 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9687
9688         * text2.C (incDepth): make sure depth cannot be increased beyond
9689         reasonable values.
9690
9691 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9692
9693         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9694         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9695
9696         * PainterBase.h (image):
9697         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9698         a LyXImage const *.
9699
9700 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * BufferView.C:
9703         * BufferView.h:
9704         * BufferView_pimpl.C:
9705         * BufferView_pimpl.h:
9706         * LaTeXFeatures.C:
9707         * LyXAction.C:
9708         * LyXView.C:
9709         * Makefile.am:
9710         * UpdateList.h:
9711         * UpdateList.C:
9712         * buffer.C:
9713         * figure.h:
9714         * figureForm.C:
9715         * figureForm.h:
9716         * figure_form.C:
9717         * figure_form.h:
9718         * lyx_cb.C:
9719         * lyx_gui.C:
9720         * lyx_gui_misc.C:
9721         * lyxfunc.C:
9722         * sp_base.h:
9723         * sp_ispell.h:
9724         * sp_pspell.h:
9725         * sp_spell.C: remove fig inset, and the crap house of
9726           cards that follows it
9727
9728 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9729
9730         * Makefile.am:
9731         * lyxserver.C:
9732         * os2_defines.h:
9733         * os2_errortable.h:
9734         * nt_defines.h: move .h into support/
9735
9736         * vms_defines.h: remove
9737
9738         * WorkArea.C: add space in debug output
9739
9740         * text2.C:
9741         * paragraph.C:
9742         * buffer.C: add WITH_WARNINGS
9743
9744         * vc-backend.h:
9745         * vc-backend.C:
9746         * bufferlist.C: s/retrive/retrieve/, add docs
9747
9748         * vspace.h:
9749         * vspace.C:
9750         * kbmap.h:
9751         * lyxlength.h:
9752         * lyxgluelength.h:
9753         * length_common.h:
9754         * chset.h:
9755         * chset.C: add docs
9756
9757         * lyxgui.C: add ID to X error handler
9758
9759         * lyxtestclass.c: fix typo
9760
9761 2002-02-26  Juergen Vigna  <jug@sad.it>
9762
9763         * tabular_funcs.C (write_attribute): changed so that some default
9764         attributes are not written at all.
9765         (getTokenValue): set default values before trying to read the
9766         value so we have the return value always set as default if we don't
9767         find the token we search for.
9768
9769         * tabular.C (Write): write bools as bools not as strings!
9770
9771 2002-02-22  Juergen Vigna  <jug@sad.it>
9772
9773         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9774         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9775
9776         * text.C (leftMargin): don't add an indent for paragraphs inside
9777         tabular cells (fix #208).
9778
9779 2002-02-21  José Matos  <jamatos@fep.up.pt>
9780
9781         * tabular.C (docBook): fixed support for long tables.
9782
9783 2002-02-20  Juergen Vigna  <jug@sad.it>
9784
9785         * text2.C (getFont): get the drawing font of the Inset if this
9786         paragraph is inside an inset (only important for InsetERT for now).
9787
9788         * buffer.C (insertErtContents): use new lanugage params in ERT
9789         constructor.
9790
9791         * CutAndPaste.C: commenting out seemingly uneeded code.
9792
9793 2002-02-19  Allan Rae  <rae@lyx.org>
9794
9795         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9796         Iterators might be simple to use but they also get invalidated.
9797         (removeAutoInsets): renamed saved cursor tracking variables and added
9798         some comments to clarify what everything does.
9799
9800 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9801
9802         * Chktex.C:
9803         * LaTeX.C:
9804         * LyXSendto.C:
9805         * converter.C:
9806         * lyx_cb.C:
9807         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9808         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9809
9810         * lyxfunc.C:
9811         * vc-backend.h: remove #include "support/syscall.h"
9812
9813         * LaTeX.C:
9814         * LyXSendto.C:
9815         * converter.C: rearrange #includes in Lars' approved fashion.
9816
9817         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9818         forward declare class Timeout in the header file.
9819
9820         * XFormsView.C: changes due to the above.
9821
9822         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9823         similar to LyXView.
9824
9825         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9826         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9827
9828 2002-02-18  José Matos  <jamatos@fep.up.pt>
9829
9830         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9831         insets contents.
9832
9833 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9834
9835         * a lot of small ws changes
9836         * add a lot of using std::XXX
9837         * use std construcs some places where approp.
9838         * use some exisint stuff from lyxfunctional where approp.
9839         * Make file changes to use partial linking (lets test this now...)
9840
9841 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9842
9843         * Chktex.C:
9844         * buffer.C:
9845         remove #include "support/syscontr.h" as it's redundant. Always has been.
9846
9847         * Chktex.C:
9848         * LaTeX.C:
9849         * LyXSendto.C:
9850         * converter.C:
9851         * lyx_cb.C:
9852         * vc-backend.C:
9853         change Systemcalls::System to Systemcalls::Wait and
9854         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9855         No change of functionality, just reflects the stripped down Systemcalls
9856         class.
9857
9858 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9859
9860         * debug.[Ch]: add a GRAPHICS type to the enum.
9861
9862 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9863
9864         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9865
9866         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9867         there is an inset.
9868
9869 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9872         match the changes below.
9873
9874         * text2.C (toggleInset): if there is not editable inset at cursor
9875         position, try to see if cursor is _inside_ a collapsable inset
9876         and close it.
9877
9878 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9881         document menu has a nice checkbox
9882
9883 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9884
9885         * lyxlength.C (asLatexString): change PW to output as percent of
9886         \textwidth.
9887
9888         * lengthcommon.C: change '%' to 't%'
9889
9890         * lyxfunc.C (dispatch): a few comments from Martin
9891
9892 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9893
9894         * WorkArea.h:
9895         * WorkArea.C:
9896         * BufferView_pimpl.h:
9897         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9898           the X selection.
9899
9900 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9901
9902         * vspace.C (inPixels): fix compiler warning
9903
9904 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * lyxfunc.C (getStatus): fix status message for disabled commands.
9907
9908 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * BufferView_pimpl.C: fix crash on close buffer
9911         during selection (#227)
9912
9913 2002-01-27  Herbert Voss  <voss@lyx.org>
9914
9915         * buffer.C: link old Figure to new graphic inset
9916
9917 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * FontLoader.C (getFontinfo): Change the latex font names in order
9920         to match the names of type1inst.
9921
9922 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9925
9926         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9927         (extchanged): ditto
9928         (ext_exist): ditto
9929         (remove_files_with_extension): ditto
9930         (remove_file): ditto
9931         (write): ditto
9932
9933         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9934         document is smaller than the work area height. Do not initialize
9935         static variables to 0.
9936
9937 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9938
9939         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9940
9941         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9942         LFUN_LAYOUT_PARAGRAPHS.
9943
9944         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9945         tabular. It is possible to provide a possible cell, which will
9946         typically be the actcell from the corresponding insettabular
9947
9948         * lyxfunc.C (getStatus): small cleanup; disable
9949         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9950         true
9951
9952 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9953
9954         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9955
9956         * paragraph.C (startTeXParParams):
9957         (endTeXParParams): new methods. The LaTeX code to
9958         start/end paragraph formatting
9959         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9960         empty (fixes bug #200)
9961
9962         * vspace.C (inPixels): adapt to the change below
9963         (inPixels): [later] more cleanups (remove unused variables)
9964
9965         * lyxlength.C (inPixels): change to use a width and a height as
9966         parameter.
9967
9968 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9971         Replaced with \paperwidth
9972
9973         * DepTable.C (insert): add std:: qualifier
9974
9975 2002-01-18  Allan Rae  <rae@lyx.org>
9976
9977         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9978         updated also?
9979
9980         * text.C (drawInset): Turned out I didn't know enough about how
9981         rebreaking worked.  This fixes most of the redraw problems.  I see
9982         an occasional cursor trail when a line is broken now and the cursor
9983         placement can seem out by a few pixels also after a rebreak.
9984
9985 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * buffer.C (parseSingleLyXformat2Token): update because minipage
9988         width is now a LyXLength
9989
9990         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9991
9992         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9993         math insets
9994
9995 2002-01-17  Juergen Vigna  <jug@sad.it>
9996
9997         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9998
9999         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10000         is set correctly and the inset is updated correctly.
10001
10002 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10005         the beginning of the loop.
10006
10007 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * lyxrc.C: improve help for use_scalable_fonts
10010
10011 2002-01-17  Allan Rae  <rae@lyx.org>
10012
10013         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10014
10015 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10018         make sure to set their inset_owner to the right value (bug #171)
10019
10020 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10021
10022         * DepTable.h
10023         * DepTable.C: Implement mtime checking to reduce time spent doing
10024         CRCs.
10025
10026 2002-01-16  Juergen Vigna  <jug@sad.it>
10027
10028         * tabular.C (GetAdditionalHeight): one of error fixed.
10029
10030         * lyxrc.C (output): small fix in writing use_pspell.
10031
10032 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10033
10034         * sp_base.h: #include LString.h
10035
10036 2002-01-16  Allan Rae  <rae@lyx.org>
10037
10038         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10039         Can someone check this please?
10040
10041         * text.C (drawInset): It was possible that p.row would be removed by
10042         breakAgainOneRow upsetting a few other settings.  There may be another
10043         small tweak possible by setting need_break_row = 0 when p.row has been
10044         removed but I don't know enough about the logic here.
10045
10046 2002-01-15  Allan Rae  <rae@lyx.org>
10047
10048         * text.C (insertChar): removed conditional truism.
10049
10050         * BufferView2.C (removeAutoInsets): More tweaks.
10051         cur_par_prev could be a stray pointer.  Check for trailing empty line
10052         in case last line was cur_par and only had an error inset on it.
10053
10054 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10057         absolute
10058
10059         * vc-backend.C (most methods):
10060         * exporter.C (Export):
10061         * converter.C (convert):
10062         (runLaTeX):
10063         * LyXSendto.C (SendtoApplyCB):
10064         * lyxfunc.C (dispatch):
10065         (menuNew):
10066         (open):
10067         (doImport):
10068         * lyx_cb.C (AutoSave):
10069         (InsertAsciiFile):
10070         * BufferView_pimpl.C (MenuInsertLyXFile):
10071         * buffer.C (runChktex): use Buffer::filePath().
10072
10073         * buffer.h: rename filename to filename_; rename filepath to
10074         filepath_ and make it private
10075         (filePath): new method
10076
10077         * buffer.C (writeFile): use fileName()
10078         (getLatexName):
10079
10080         * lyx_main.C (init): fix starting  of LyX when the binary is a
10081         link from so,ewhere else.
10082
10083         * minibuffer.C: include <cctype> for isprint
10084
10085 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10088         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10089         name clash with InsetCollapsable's width function.
10090
10091 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * lastfiles.C: include <iterator>
10094
10095 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10096
10097         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10098         std::count.
10099
10100         * buffer.C (makeLaTeXFile): ditto.
10101         Also make loop operation more transparent.
10102
10103 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10104
10105         * ToolbarDefaults.C: remove trailing comma closing namespace.
10106
10107         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10108
10109         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10110         as in WorkArea.
10111
10112         * trans.C (Load): comment out unused variable, allowed.
10113
10114 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10115
10116         * minibuffer.[Ch] (append_char): new method to recieve input from the
10117         drop-down completion browser. If a key was pressed, then recieve this
10118         char and append it to the existing string.
10119         (peek_event): modify the positioning data passed to the completion
10120         browser so that it can be placed above the minibuffer rather than below.
10121 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10122
10123         * LyXAction.C (init): alloe error-next for readonly documents.
10124
10125         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10126         count.
10127
10128 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * bufferlist.C (readFile): create the buffer _after_ checking that
10131         the file exists.
10132
10133         * lyxfunc.C (verboseDispatch): fix handling of arguments
10134
10135         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10136
10137         * lyxrc.C: use string::erase() instead of initializing to "".
10138
10139
10140 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10141
10142         * BufferView_pimpl.h:
10143         * BufferView_pimpl.C:
10144         * WorkArea.h:
10145         * WorkArea.C:
10146         * text2.C: tell X when we have made a selection for copying
10147
10148 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10149
10150         * BufferView_pimpl.C (MenuInsertLyXFile):
10151         * lyxfunc.C (menuNew):
10152         (open):
10153         (doImport): add shortcuts to directory buttons
10154
10155         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10156         open a float)
10157
10158         * lyxfunc.C (setStatusMessage):
10159         (getStatusMessage): new methods
10160         (getStatus):use setStatusMessage instead of setErrorMessage
10161         (dispatch): when function is disabled, set error message here
10162         [instead of in getStatus previously]
10163
10164         * BufferView_pimpl.C (workAreaButtonRelease): update
10165         toolbar/menubar here too.
10166
10167 2002-01-13  Allan Rae  <rae@lyx.org>
10168
10169         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10170         Now seems indestructible.  Remaining task is to audit all other
10171         code affected by deleteEmptyParagraphMechanism.  One small quirk
10172         left is that an empty document with an error in the preamble can
10173         be made to report an error but no error box appears.  I don't know
10174         where it goes.
10175         (removeAutoInsets): Improved comments.
10176
10177 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * Thesaurus.h:
10180         * Thesaurus.C: update for Aiksaurus 0.14
10181
10182 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * text2.C (firstParagraph): removed member function, all uses
10185         replaces with ownerParagraph
10186         (redoParagraphs): here
10187         (updateInset): here
10188         (toggleAppendix): here
10189         * BufferView2.C (insertErrors): here
10190         (setCursorFromRow): here
10191
10192 2002-01-13  Allan Rae  <rae@lyx.org>
10193
10194         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10195         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10196         There is still a way to segfault this although you may have to do this
10197         multiple times: Have an InsetERT with an unknown command in it.
10198         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10199         <down-arrow>, <Enter> again, View->DVI, BANG!
10200
10201         * text2.C (setCursor):
10202         (deleteEmptyParagraphMechanism):
10203         * lyxtext.h (setCursor):
10204         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10205         Making use of the return value may help fix other bugs.
10206
10207 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10210
10211         * LyXView.C (updateMenubar): call MenuBar::update here
10212         (updateToolbar): but not here
10213         (showState): do not update toolbar/menubar
10214
10215         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10216         should need to care about that.
10217
10218         * lyxfunc.C (verboseDispatch): simplify a bit
10219         (getStatus): have a version which takes a pseudoaction, and
10220         another which requires a (kb_action,string).
10221
10222         * LyXAction.C (retrieveActionArg): make it work also when action
10223         is not a pseudo-action.
10224         (getActionName): simplify a bit
10225         (helpText):
10226
10227 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * lyxfunc.C (verboseDispatch): new families of methods with
10230         several ways to specify a command and a bool to indicate whether
10231         the command name and shortcut should be displayed in minibuffer
10232         (eventually, we could extend that to a finer bitmask like
10233         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10234         (dispatch): the pristine dispatch command which just, well,
10235         dispatchs! Note it still sets its result to minibuffer; I'm not
10236         sure we want that.
10237
10238         * lyxfunc.h: remove setHintMessage
10239
10240         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10241
10242 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10243
10244         * BufferView_pimpl.C (specialChar): delete new inset if we have
10245         not been able to insert it.
10246
10247         * kbmap.C: revert to using int instead of kb_action, since all we
10248         are dealing with is pseudo-actions.
10249
10250         * LyXAction.C (searchActionArg): change to return int instead of
10251         kb_action, since the result is a pseudoaction.
10252
10253 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10254
10255         * buffer.C (insertErtContents): Fix (partially) the font bug.
10256
10257 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10258
10259         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10260         as the other one is broken on my machine!
10261
10262 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10263
10264         * commandtags.h:
10265         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10266
10267 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10270         reflect their actual use. Provide compatibility code for older lyxrc
10271         files.
10272
10273         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10274         FL_NORMAL_STYLE.
10275         change names of popup font variables in line with the changes to lyxrc.C
10276
10277 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * buffer.C (asciiParagraph): avoid outputing a word twice after
10280         an inset.
10281
10282         * lyxrc.C (getDescription): document that document_path and
10283         template_path can be empty.
10284
10285 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * LaTeXFeatures.C (getMacros):
10288         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10289
10290         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10291
10292         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10293         getPackages.
10294         (getPackages): rename feature "floats" to "float". Use an array to
10295         iterate over 'simple' features (i.e. just a \usepackage). Add
10296         handling of "amsmath" (renamed from "amsstyle").
10297
10298 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10299
10300         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10301         features list.
10302
10303 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10304
10305         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10306         FuncStaus::FuncStatus & FuncStaus::some_method().
10307
10308 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10309
10310         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10311         of the func_satus stuff. Edited and massaged in various ways by
10312         JMarc.
10313
10314         * lyxfunc.C (getStatus): use FuncStatus
10315
10316 2002-01-08  Juergen Vigna  <jug@sad.it>
10317
10318         * text.C (nextBreakPoint): use function Inset::isChar().
10319
10320         * paragraph.C (TeXOnePar): use function
10321         Inset::forceDefaultParagraphs.
10322
10323         * buffer.C (latexParagraphs): use function
10324         Inset::forceDefaultParagraphs.
10325
10326 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10327
10328         * lyx_gui.C (init): set the style of the menu popups to
10329         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10330
10331 2002-01-07  Juergen Vigna  <jug@sad.it>
10332
10333         * text.C (setHeightOfRow): small fix
10334         (prepareToPrint): don't look at alignment if we don't have the place
10335         for doing it.
10336
10337 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * box.C: New file. Move the Box methods and functions out of box.h,
10340         following Lars' suggestion.
10341
10342 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10343
10344         * box.h: #include "support/LOstream.h", needed for inlined function.
10345
10346         * lyxtextclass.C:
10347         * lyxtextclasslist.C: added some using std declarations.
10348
10349 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * box.h: make signed dimensions to allow insets wider than
10352           the screen (bug #162)
10353
10354         * BufferView_pimpl.C: add some insetHit debug
10355
10356 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * vc-backend.C: add FIXME
10359
10360 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * lyxfunc.C (getStatus): enable code for showing math font status
10363         in toolbar/menu.
10364
10365 2002-01-07  Juergen Vigna  <jug@sad.it>
10366
10367         * text.C (nextBreakPoint): removed debug output not needed anymore.
10368
10369 2002-01-06  Juergen Vigna  <jug@sad.it>
10370
10371         * text.C (nextBreakPoint): fixed up this function we had this bug
10372         since ever but now hopefully we break row better.
10373         (insertChar): we have to check if an inset is the next char as it
10374         could now happen that a large inset is causing a break.
10375
10376 2002-01-05  Juergen Vigna  <jug@sad.it>
10377
10378         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10379         if it doesn't like to be drawed.
10380
10381 2002-01-04  Juergen Vigna  <jug@sad.it>
10382
10383         * BufferView2.C (lockInset): forgot to set a cursor.
10384
10385         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10386
10387 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10388
10389         * FormMathsPanel.C:
10390         * FormMathsPanel.h
10391         * MathsSymbols.C:
10392         * form_maths_panel.C:
10393         * form_maths_panel.h:
10394         * form_maths_panel.fd: implemented sub- and super- buttons in math
10395         panel.
10396
10397         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10398         (or ^ space) to be used as in TeX (req'd by André).
10399
10400         * lyxfunc.C: Allow ^ and _ again to be used both as
10401         super/subscript (mathed) and as themselves (in text).
10402
10403 2002-01-03  Allan Rae  <rae@lyx.org>
10404
10405         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10406         "LyX" or the filename of the current buffer if it has one.  This is a
10407         modified form of John Levon's patch.
10408
10409         * XFormsView.C (setWindowTitle): also set icon title.
10410
10411         * LyXView.h (setWindowTitle): signature changed.
10412         * XFormsView.h (setWindowTitle): ditto.
10413
10414 2002-01-02  Juergen Vigna  <jug@sad.it>
10415
10416         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10417
10418 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * screen.C (topCursorVisible): introduce a temp var for
10421         text->cursor.row(), handle the case where this row is null. (kindo
10422         hachish)
10423
10424         * text2.C (setCursor): add a couple of asserts.
10425
10426         * paragraph.h (inset_iterator): add -> operator
10427
10428         * paragraph.[Ch] (autoDeleteInsets): remove member function
10429
10430         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10431         cursor pos correctly and handle inset deletion by itself.
10432         (insertErrors): move iterator declaration out of for expression
10433
10434         * lyxtextclass.C: add <algorithm>
10435
10436         * Makefile.am: added the new files to sources, removed layout.C
10437
10438         * layout.C: removed file
10439
10440         * layout.h: remove LYX_DUMMY_LAYOUT
10441
10442         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10443         layout.
10444
10445         * lyxlayout.[Ch]:
10446         * lyxtextclass.[Ch]:
10447         * lyxtextclasslist.[Ch]: new files
10448
10449         * include order changes to a lot of files, also changes because of
10450         the six new files.
10451
10452 2001-12-27  Juergen Vigna  <jug@sad.it>
10453
10454         * buffer.C (asciiParagraph): more fixes.
10455
10456         * tabular.C (ascii): make ascii export support export of only the
10457         data separated by a column-delimiter.
10458         (ascii): better support for ascii export.
10459
10460         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10461
10462 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * tabular_funcs.C: use a "using std::getline" instead of the
10465         previous fix from Angus (necessary for cxx + lyxstring)
10466
10467 2001-12-24  Juergen Vigna  <jug@sad.it>
10468
10469         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10470
10471         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10472         problems. First check a minipage also if we have some ert-contents
10473         (not only on par->size(), second set the right depth of the paragraph
10474         on the relink to the root-paragraph-list!
10475
10476         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10477         which then did not anymore update the main paragraphs on undo/redo!
10478
10479 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10480
10481         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10482         code. Support all font-changing funcs (even those which are not in
10483         menu currently). Support for reporting font settings in
10484         mathed (disabled until Andre provides a function on mathed's side).
10485
10486         * func_status.h (toggle): small helper function to set toggle
10487         state on a flag.
10488
10489 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * tabular_funcs.C: getline -> std::getline
10492
10493 2001-12-21  Juergen Vigna  <jug@sad.it>
10494
10495         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10496         accessed and could be 0 (I couldn't generate this but it seems
10497         Michael could!).
10498
10499 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10502         * tabular_funcs.h: here and include iosfwd
10503
10504 2001-12-20  Juergen Vigna  <jug@sad.it>
10505
10506         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10507         inside inset but undo_par was.
10508
10509 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * Thesaurus.C: always include <config.h> in sources.
10512
10513         * Painter.h:
10514         * lyxlookup.h:
10515         * box.h: do not include <config.h> in header files
10516
10517         * text.C (paintLastRow): remove unused variable
10518
10519         * text.C (transformChar):
10520         (insertChar):
10521         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10522
10523         * Painter.C (text):
10524         * font.C (width): rewrite to use uppercase() instead of
10525         islower/toupper.
10526
10527         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10528
10529 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * lyxfind.C: clean up of find failure position change
10532
10533 2001-12-20  Juergen Vigna  <jug@sad.it>
10534
10535         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10536
10537         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10538         (TeXRow): added to LaTeX a single tabular row.
10539         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10540         (Latex): simplified and finally good LT-h/f support.
10541         (various_functions): just small adaptions for LT-h/f support.
10542
10543         * tabular_funcs.[hC]: added and moved here all not classfunctions
10544         of LyXTabular.
10545
10546 2001-12-19  Juergen Vigna  <jug@sad.it>
10547
10548         * tabular.[Ch]: better support for longtabular options (not finished
10549         yet!)
10550
10551 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * text.C (paintLastRow): use the label font instead of the font of
10554         the last character to compute the size of *_BOX. This makes more
10555         sense and avoids a crash with empty paragraphs.
10556         Use Painter::rectangle to draw EMPTY_BOX.
10557
10558 2001-12-19  Juergen Vigna  <jug@sad.it>
10559
10560         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10561         the paragraphs if the replaced paragraph is not the first one!
10562         Tried to delete not used paragraphs but does not work yet so for
10563         now it's inside #ifdef's and by default off!
10564
10565 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10566
10567         * MenuBackend.C: include "lyx_main.h" instead of declaring
10568         lastfiles (actually was declared as LastFiles* instead of a
10569         scoped_ptr).
10570
10571 2001-12-17  Juergen Vigna  <jug@sad.it>
10572
10573         * tabular.C (AppendColumn): applied John's fix
10574
10575 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * BufferView.h:
10578         * BufferView.C:
10579         * BufferView_pimpl.h:
10580         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10581
10582         * Makefile.am:
10583         * box.h: new start of class for above
10584
10585         * lyxfunc.C: ignore space-only minibuffer dispatches.
10586           Show the command name when it doesn't exist
10587
10588         * minibuffer.C: don't add empty lines to the history
10589
10590         * minibuffer.C: add a space on dropdown completion
10591
10592 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * text.C: fix line above/below drawing in insets
10595
10596 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10597
10598         * lyxlength.C (LyXLength): Initialize private variables.
10599
10600 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10603         when inserting error insets.
10604
10605 2001-12-13  Juergen Vigna  <jug@sad.it>
10606
10607         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10608         actually sometimes the before-paragraph.
10609         (setUndo): don't clear the redostack if we're not actually undoing!
10610
10611 2001-12-06  Juergen Vigna  <jug@sad.it>
10612
10613         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10614         and fixed redoing of main paragraph, so we can use it now ;)
10615
10616         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10617
10618 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10621         Juergen's request
10622
10623 2001-12-13  André Pönitz <poenitz@gmx.net>
10624
10625         * undostack.[Ch]:
10626         * undo_func.C: minor cleanup
10627
10628 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10631         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10632         font in urw-fonts package which is marked as -urw-fontspecific and
10633         does not work (incidentally, changing the encoding in the
10634         fonts.dir of this package to -adobe-fontspecific fixes the
10635         problem).
10636
10637         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10638         is a crash when undoing first paragraph (Juergen, please take a
10639         look). THis does not mean the undo fix is wrong, just that it
10640         uncovers problems.
10641
10642         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10643         the (Paragraph*) version when needed instead of duplicating the
10644         code.
10645
10646         * text.C (workWidth): use Inset::parOwner to find out where the
10647         inset has been inserted. This is a huge performance gain for large
10648         documents with lots of insets. If Inset::parOwner is not set, fall
10649         back on the brute force method
10650
10651         * paragraph_pimpl.C (insertInset):
10652         * paragraph.C (Paragraph):
10653         (cutIntoMinibuffer): set parOwner of insets when
10654         inserting/removing them
10655
10656         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10657
10658 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10659
10660         * commandtags.h:
10661         * LyXAction.C:
10662         * lyx_main.C:
10663         * lyxfunc.C:
10664         * mathed/formulabase.C:
10665         * mathed/math_cursor.[Ch]:
10666         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10667
10668
10669 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * lyxlength.[Ch] (operator!=): new function
10672
10673 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * text.C (workWidth): use Inset::parOwner to find out where the
10676         inset has been inserted. This is a huge performance gain for large
10677         documents with lots of insets. If Inset::parOwner is not set, fall
10678         back on the brute force method
10679
10680         * paragraph_pimpl.C (insertInset):
10681         * paragraph.C (Paragraph):
10682         (cutIntoMinibuffer): set parOwner of insets when
10683         inserting/removing them
10684
10685         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10686
10687 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10688
10689         * tabular-old.C (getTokenValue):
10690         * tabular.C (getTokenValue):
10691         (write_attribute): new versions for LyXLength
10692         (everywhere): adjust the use of widths
10693
10694         * tabular.h: change the type of widths from string to LyXLength
10695
10696 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10697
10698         * paragraph.C: fixed missing line number count when exporting
10699         Environments to LaTeX file
10700
10701         * buffer.C: added informational message for checking line numbers.
10702
10703 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10706         paragraph, do the 'double space' part, but not the 'empty
10707         paragraph' one.
10708
10709         * text.C (workWidth): small optimization
10710         (getLengthMarkerHeight): use minimal size for negative lengths.
10711
10712 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10713
10714         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10715
10716         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10717
10718 2001-12-11  André Pönitz <poenitz@gmx.net>
10719
10720         * FontLoader.C:
10721         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10722
10723 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * text2.C: keep selection on a setFont()
10726
10727 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * lyx_cb.C: another bv->text misuse, from insert label
10730
10731 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * kbsequence.h:
10734         * kbsequence.C: re-instate nmodifier mask
10735
10736 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10737
10738         * lyx_main.h: make lyxGUI private.
10739
10740 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * lyxfind.C: place the cursor correctly on failed search
10743
10744 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * text.C (getLengthMarkerHeight): for small heights, the arrows
10747         are not always on top/bottom of the text
10748         (drawLengthMarker): smaller arrows; take the left margin in
10749         account; draw also vfills.
10750         (paintFirstRow):
10751         (paintLastRow): remove special code for vfill and standard spaces,
10752         since everything is handled in drawLengthMarker now.
10753
10754 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * buffer.C (insertErtContents): try to handle font and language
10757         interaction a bit better.g
10758
10759         * ColorHandler.C (updateColor): change the hash to cover the whole
10760         LColor enum, ws cleanup
10761         (getGCLinepars): ditto
10762         (getGCLinepars): only lookup in the linecache once.
10763
10764 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * iterators.C (operator++): Make the iterator more robust
10767
10768         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10769         (John's patch)
10770         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10771
10772 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * lyxtext.h:
10775         * text.C: better added space drawing
10776
10777 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * LyXView.C:
10780         * BufferView2.C: fix layout combo update on inset unlock
10781
10782 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * Makefile.am: don't compile unused files
10785
10786 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * lyxfunc.C:
10789         * commandtags.h:
10790         * LyXAction.C: remove old LFUN_LAYOUTNO
10791
10792 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * paragraph_pimpl.h:
10795         * paragraph_pimpl.C: isTextAt() doesn't need font param
10796
10797 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * lyxlex.h:
10800         * lyxlex.C: little cleanup
10801
10802 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * BufferView_pimpl.C: fix insertAscii for insets
10805
10806 2001-12-05  Juergen Vigna  <jug@sad.it>
10807
10808         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10809         set the right font on the "multi" paragraph paste!
10810
10811 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * trans_decl.h:
10814         * trans_mgr.[Ch]:
10815         * trans.[Ch]:
10816         * lyxgluelength.C:
10817         * lyxlength.C: remove out-commented code.
10818
10819         * BufferView_pimpl:
10820         * CutAndPaste.C:
10821         * DepTable.C:
10822         * buffer.C:
10823         * chset.C:
10824         * lastfiles.C:
10825         * lyxlex.C:
10826         * lyxlex_pimpl.C:
10827         * lyxserver.C:
10828         * screen.C:
10829         * tabular-old.C:
10830         * tabular.C:
10831         * text.C:
10832         * trans_mgr.C:
10833         * vc-backend.C: change "while(" to "while ("
10834
10835         * lyxlength.[Ch]: add zero function to check if length is zero or
10836         not
10837         * lyxgluelength.C: use it
10838
10839 2001-12-05  Allan Rae  <rae@lyx.org>
10840
10841         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10842         Works for 2.95.3, from what I understand of Garst's reports this should
10843         work for other g++ versions.  We're screwed if the abs(int) definition
10844         changed between bugfix releases of gcc.
10845
10846 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * text.C: fix chapter label offset !
10849
10850 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * lyxtext.h:
10853         * text.C: fix hfill at end of line, clean up
10854
10855 2001-12-04  Juergen Vigna  <jug@sad.it>
10856
10857         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10858         that we force an update of the inset and it's owners if neccessary.
10859
10860 2001-12-03  Juergen Vigna  <jug@sad.it>
10861
10862         * text.C (rowLast): simplified code
10863
10864 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * lyxfunc.C: fix show options on timeout
10867
10868 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * screen.C (topCursorVisible): scroll half a page when the cursor
10871         reached top of bottom of screen
10872
10873 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * minibuffer.C: deactivate on loss of focus
10876
10877 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * vspace.[Ch] (operator!=): add operator.
10880
10881 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * BufferView_pimpl.C: refuse to open an inset when
10884         there's a selection.
10885
10886 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * BufferView_pimpl.C: allow to click on RHS of full row insets
10889
10890 2001-11-30  Juergen Vigna  <jug@sad.it>
10891
10892         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10893         insets for undo reasons.
10894
10895 2001-11-28  André Pönitz <poenitz@gmx.net>
10896
10897         * vspace.[Ch]: cosmetical changes
10898
10899 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10900
10901         * LyXAction.h:
10902         * LyXAction.C:
10903         * lyxfunc.h:
10904         * lyxfunc.C:
10905         * kbmap.h:
10906         * kbmap.C:
10907         * lyxrc.C:
10908         * kbsequence.h:
10909         * kbsequence.C: part re-write of old kb code
10910
10911         * Painter.C:
10912         * WorkArea.C: remove Lgb_bug_find_hack
10913
10914 2001-11-30  José Matos <jamatos@fep.up.pt>
10915
10916         * buffer.C (makeDocBookFile): add a comment to point a hack.
10917         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10918         Fixed a double write of labels.
10919
10920 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10921
10922         * LaTeX.C:
10923         * LaTeX.h Fixed bug in LaTeX class where it would not
10924         re-run latex if no depfiles were changed, but the .dvi was removed.
10925
10926 2001-11-28  André Pönitz <poenitz@gmx.net>
10927
10928         * all the files from the change on 2001/11/26:
10929         use lyx::layout_type instead of LyXTextClass::size_type
10930         use lyx::textclass_type instead of LyXTextClassList::size_type
10931
10932 2001-11-29  Juergen Vigna  <jug@sad.it>
10933
10934         * text.C: added support for paragraph::isFreeSpacing()
10935
10936         * buffer.C: same as above
10937
10938         * paragraph.h: inserted isFreeSpacing() function to enable
10939         FreeSpacing inside InsetERT.
10940
10941         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10942         of the paragraph's in the cut/copy buffer to 0!
10943
10944         * text2.C (removeRow): remove the assert as it can!
10945
10946         * lyxtext.h: added helper function firstRow returning firstrow and
10947         made firstrow private again.
10948
10949         * BufferView2.C (lockInset): don't relock if we're already locked!
10950
10951         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10952         the only paragraph.
10953         (removeRow): added Assert::(firstrow)
10954
10955         * debug.C: forgot to add INSETTEXT here.
10956
10957 2001-11-28  Juergen Vigna  <jug@sad.it>
10958
10959         * sp_spell.C (initialize): changed error text to more general
10960         spellchecker command use (not only ispell!)
10961
10962         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10963
10964         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10965
10966 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * vspace.C: initialise lyxgluelength on failure
10969
10970 2001-11-28  Allan Rae  <rae@lyx.org>
10971
10972         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10973         declaration & definition that looks like a function declaration.
10974
10975 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * BufferView2.C (copy):
10978         (copyEnvironment): do not clear the selection when doing a copy.
10979
10980         * text.C (paintFirstRow): compilation fix
10981
10982 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10983
10984         * tabular.C (Latex): correct line count when writing latex.
10985
10986 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * paragraph_pimpl.h:
10989         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10990           bug a bit
10991
10992 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * text.C:
10995         * LColor.h:
10996         * LColor.C: change vfillline->added_space
10997
10998         * text.C: add markers and text for added space
10999
11000         * vspace.C: fix comment
11001
11002 2001-11-28  André Pönitz <poenitz@gmx.net>
11003
11004         * paragraph.C: whitespace changes
11005         * all the other files from the change on 2001/11/26:
11006         change *::pos_type into lyx::pos_type
11007
11008 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11011         language of the document when inserting error insets.
11012
11013 2001-11-26  André Pönitz <poenitz@gmx.net>
11014
11015         * BufferView_pimpl.[Ch]:
11016         *       CutAndPaste.C:
11017         * buffer.[Ch]:
11018         * lyxcursor.[Ch]:
11019         * lyxfind.C:
11020         * lyxfunc.C:
11021         * lyxrow.[Ch]:
11022         * paragraph.[Ch]:
11023         * paragraph_pimpl.[Ch]:
11024         * sp_spell.C:
11025         * text.C:
11026         * text2.C: reduce header dependencies, introduce type for positions
11027
11028 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * <various>: change to use Alert.h
11031
11032 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11033
11034         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11035         when encountering an unknown token.
11036         (readLyXformat2): Show an error message if there were unknown tokens.
11037
11038 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * BufferView2.C:
11041         * BufferView_pimpl.C:
11042         * buffer.C:
11043         * paragraph.h:
11044         * text.C:
11045         * text2.C: use par->isInset()
11046
11047 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * paragraph_pimpl.h:
11050         * paragraph_pimpl.C: cleanup
11051
11052 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11053
11054         * text2.C (removeRow):
11055         * text.C (setHeightOfRow): remove useless (and costly) call to
11056         getRow.
11057
11058 2001-11-20  Allan Rae  <rae@lyx.org>
11059
11060         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11061         Now need Inset*::checkInsertChar() to return true for appropriate
11062         cases so that the characters in the minibuffer will actually be
11063         inserted.
11064
11065 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * text.C: change the order of the includes.
11068         (workWidth): initialize it at once.
11069         (workWidth): make maxw unsigned
11070         (setHeightOfRow): remove unused variable (inset)
11071         (selectSelectedWord): remove unused variable (inset)
11072         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11073
11074 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11075
11076         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11077         server is not running.
11078         (openConnection):
11079         (closeConnection): add debug info when server is disabled.
11080
11081         * ColorHandler.C (getGCForeground): send debug message to GUI
11082         channel.
11083
11084         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11085
11086         * kbmap.C (bind): modify because return conventions of
11087         kb_sequence::parse have changed.
11088
11089         * kbsequence.C (parse): only ignore spaces and not any stupid
11090         control character. This avoids tests like s[i] <= ' ', which are
11091         guaranteed to fail with 8bit characters and signed chars.
11092         Change return code to string::npos when there have been no error
11093         (0 was a bad idea when error is at first character)
11094
11095 2001-11-14  José Matos  <jamatos@fep.up.pt>
11096
11097         * buffer.h:
11098         * buffer.C (simpleDocBookOnePar): removed unused argument.
11099
11100 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11101
11102         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11103         insets which are part of a word. Paragraph::isLetter takes care of
11104         that now. Use Paragraph::isInset to identify insets.
11105         (selectSelectedWord): do not test for hyphenation break.
11106
11107         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11108         that protected spaces are considered as spaces.
11109
11110         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11111         Inset::isLetter.
11112
11113 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxserver.h:
11116         * lyxserver.C: fix it. and small cleanup.
11117
11118 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * BufferView_pimpl.C: use inline helpers
11121
11122         * LaTeXFeatures.h:
11123         * LaTeXFeatures.C: fix typos
11124
11125         * Spacing.h:
11126         * Spacing.C: move spacing_string into class
11127
11128         * ToolbarDefaults.C: move stuff into namespace anon
11129
11130         * layout.h: update enum
11131
11132         * lyxfunc.C: use better debug
11133
11134         * minibuffer.h: fix typo
11135
11136         * debug.h:
11137         * debug.C:
11138         * WorkArea.C: add and use Debug::WORKAREA
11139
11140         * lyxtext.h:
11141         * text.C:
11142         * text2.C: code re-organisation, inline helpers
11143
11144 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11145
11146         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11147         std::vector.empty().
11148
11149 2001-11-09  Allan Rae  <rae@lyx.org>
11150
11151         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11152         '\n's after tables.  Tabular and ERT inset work now makes this no
11153         longer necessary.
11154
11155 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * minibuffer.h:
11158         * minibuffer.C: fix crash, improve drop-down completion
11159
11160 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyxserver.h:
11163         * lyxserver.C: invalidate fd's when doing endPipe()
11164
11165 2001-11-08  José Matos  <jamatos@fep.up.pt>
11166
11167         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11168         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11169
11170         * paragraph.h:
11171         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11172
11173 2001-11-07  José Matos  <jamatos@fep.up.pt>
11174
11175         * buffer.h:
11176         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11177         const qualifier.
11178
11179         * buffer.C (sgmlOpenTag):
11180         * buffer.C (sgmlCloseTag): removed debug info.
11181
11182         * buffer.h (sgmlOpenTag):
11183         * buffer.h (sgmlCloseTag): made public.
11184
11185 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11186
11187         * buffer.C (saveParamsAsDefaults):
11188         * lyx_cb.C (MenuLayoutSave): remove
11189
11190         * LyXAction.C (init):
11191         * commandtags.h:
11192         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11193
11194 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11195
11196         * buffer.C (setPaperStuff): removed from here...
11197
11198         * bufferparams.C (setPaperStuff): ... and moved there.
11199
11200 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * minibuffer.h:
11203         * minibuffer.C:
11204         * XFormsView.C: add support for drop-down completion
11205
11206 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11209         commands.
11210
11211 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11212
11213         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11214         disabled.
11215
11216 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * lyx_main.C: change ref to known bugs
11219
11220 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11221
11222         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11223         to work around older babel problems.
11224
11225 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11226
11227         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11228
11229 2001-10-24  Juergen Vigna  <jug@sad.it>
11230
11231         * tabular-old.C (ReadOld): below variable changes reflected.
11232
11233         * tabular.[Ch]: added ltType struct for longtable header/footer
11234         defines and changed all instances where they are used. Added
11235         future support for double top/bottom rows.
11236
11237 2001-10-24  José Matos  <jamatos@fep.up.pt>
11238
11239         * buffer.h (docbookHandleCaption):
11240         * buffer.C (docbookHandleCaption): removed unused function.
11241         (makeDocBookFile): moved docbook supported version to v4.1.
11242
11243 2001-10-24  José Matos  <jamatos@fep.up.pt>
11244
11245         * tabular.h:
11246         * tabular.C (docbookRow): new function to export docbook code of a row.
11247         (DocBook): now honors the longtable flags.
11248
11249 2001-10-23  José Matos  <jamatos@fep.up.pt>
11250
11251         * LaTeXFeatures.h:
11252         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11253         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11254
11255         * buffer.C (makeLinuxDocFile):
11256         (makeDocBookFile): reworked the preamble, more clean, and with
11257         support for lyx defined entities. Changed the document declaration
11258         to be more XML friendly.
11259
11260         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11261         if we need to output XML that should be done with a filter.
11262
11263 2001-10-22  Juergen Vigna  <jug@sad.it>
11264
11265         * sp_pspell.h (class PSpell): add alive function needed in the
11266         controller to see if the spellchecker could be started.
11267
11268 2001-10-22  Juergen Vigna  <jug@sad.it>
11269
11270         * buffer.C (insertStringAsLines): modify the font for inserting
11271         chars in certain conditions by calling checkInsertChar(font).
11272
11273 2001-10-19  Juergen Vigna  <jug@sad.it>
11274
11275         * text.C (workWidth): use getRow instead of wrong algorithm.
11276         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11277
11278 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * lyxserver.h:
11281         * lyxserver.C:
11282         * lyx_main.h:
11283         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11284
11285 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11286
11287         * text.C (workWidth): do not search for the exact row when
11288         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11289         optimization for big documents.
11290
11291 2001-10-18  Juergen Vigna  <jug@sad.it>
11292
11293         * text.C (workWidth): new function with added Inset * parameter.
11294
11295 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11296
11297         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11298
11299         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11300         change return type of getColumnNearX.
11301
11302
11303         * text.C (changeRegionCase): use uppercase/lowercase instead of
11304         toupper/tolower.
11305         (leftMargin):
11306         (rightMargin): simplify code by factoring out the uses of
11307         textclasslist.
11308         (labelFill):
11309         (numberOfHfills):
11310         (setHeightOfRow):
11311         (appendParagraph): use Paragraph::size_type
11312
11313 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11314
11315         * vspace.C (asLatexString): add a missing break
11316
11317 2001-10-15  Herbert Voss  <voss@perce.de>
11318
11319         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11320
11321 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11322
11323         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11324         is not available.
11325
11326 2001-10-10  André Pönitz <poenitz@gmx.net>
11327
11328         * lyxfunc.C: removed greek_kb_flag.
11329
11330 2001-10-10  Herbert Voss  <voss@perce.de>
11331
11332         * lyx_main.C: delete global string help_lyxdir.
11333
11334 2001-10-09  Herbert Voss  <voss@perce.de>
11335
11336         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11337
11338         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11339
11340         * lyx_main.C: added global string help_lyxdir.
11341
11342         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11343
11344 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11345
11346         * lyxrc.C (set_font_norm_type): support iso8859-4
11347
11348 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11349
11350         * LaTeX.C (deplog): add another regex for MikTeX
11351
11352 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11353
11354         * lyxrc.C (set_font_norm_type): support iso8859-3
11355
11356 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11357
11358         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11359
11360         * LaTeXFeatures.C: remove special case of french and index
11361
11362         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11363         before \begin{document}). This solves several incompatibilities.
11364
11365 2001-10-03  Garst Reese  <reese@isn.net>
11366
11367         * lyx_cb.C: change CheckTex error msg.
11368
11369 2001-10-03  José Matos  <jamatos@fep.up.pt>
11370
11371         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11372
11373 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11374
11375         * .cvsignore: update
11376
11377         * lyx_main.C (commandLineVersionInfo): use new style version info.
11378
11379         * buffer.C (writeFile):
11380         (makeLaTeXFile):
11381         (makeLinuxDocFile):
11382         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11383
11384         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11385
11386         * version.h: update to use stuff in version.C
11387
11388         * version.C.in: new file. Contains version information determined
11389         at compile time. This is a merging of version.h and
11390         version_info.h.in.
11391
11392 2001-10-03  Juergen Vigna  <jug@sad.it>
11393
11394         * BufferView_pimpl.C (update): don't change "dirty" status in
11395         updateInset call.
11396
11397 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11398
11399         * WorkArea.C (c-tor): re-position version string slightly.
11400
11401 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11404         revert to previous code.
11405
11406         WorkArea.[Ch]: (show, destroySplash): methods removed.
11407
11408         WorkArea.C: rework code so that it's an amalgam of the codes before and
11409         after the splash screen was moved to WorkArea.
11410
11411 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * lyxrc.C (read):
11414         * vspace.C (inPixels):
11415         (lyx_advance):
11416         * kbmap.C (bind):
11417         * buffer.C (insertStringAsLines):
11418         (asciiParagraph): fix types to be large enough
11419
11420         * lyxlex_pimpl.h: change member status from short to int
11421
11422         * layout.h: fix type of endlabeltype
11423
11424         * kbmap.C (bind):
11425         * kbsequence.C (parse): change return type to string::size_type
11426
11427         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11428         variable
11429
11430         * Bullet.C (bulletSize):
11431         (bulletEntry): do not use short ints as parameters
11432
11433         * BufferView2.C (insertLyXFile): change a char to an int.
11434
11435         * WorkArea.C (WorkArea): remove unneeded floats in computation
11436
11437 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11440
11441         * paragraph.C (asString): Do not ignore newline/hfill chars when
11442         copying to the clipboard.
11443
11444 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11445
11446         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11447         after a multi-line inset.
11448
11449 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * paragraph.C (validate): Set NeedLyXFootnoteCode
11452
11453 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11454
11455         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11456         and decrease-error to decrease.
11457
11458 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11459
11460         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11461         it more readable (should be equivalent)
11462
11463 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11464
11465         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11466
11467 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11468
11469         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11470         of a cursor (row, etc.) after a character has been deleted
11471         (deleteEmptyParagraphMechanism): call the method above on _all_
11472         cursors held by the LyXText when a double space has been
11473         detected/deleted.
11474
11475 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11478         pixmap.
11479         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11480
11481         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11482         background. Use greyOut() and the new show() methods to toggle between
11483         the foreground and background. Add code to remove the splash after
11484         its initial showing.
11485
11486         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11487         (create_forms): no longer call Dialogs::showSplash.
11488
11489 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11490
11491         * .cvsignore: add version_info.h
11492
11493 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * version_info.h.in: new file
11496
11497         * Makefile.am: add version_info.h.in
11498
11499         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11500         version_info.h instead of VERSION_INFO
11501
11502 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11503
11504         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11505         The ERT inset now returns string().
11506
11507 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11508
11509         * lyxtext.h, text.C (selectNextWord): renamed as
11510         selectNextWordToSpellcheck.
11511
11512         * text.C (selectNextWordToSpellcheck): Modified to not select
11513         words inside an ERT inset.
11514
11515 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11516
11517         * lyx_cb.C (MenuLayoutSave): change a bit the question
11518
11519         * sp_base.h: include <sys/types.h>
11520
11521 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11524
11525 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11526
11527         * several files: fix typos in user-visible strings
11528
11529 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * text2.C (pasteSelection): do not set the selection, since it
11532         will be cleared later. Actually, the intent was to fix the way the
11533         selection was set, but I figured rmoving the code was just as good.
11534
11535 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * FontLoader.C (available): Check if font is available without
11538         loading the font.
11539
11540 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11541
11542         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11543
11544 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11545
11546         * lyxrc.[Ch]: added display_graphics variable and associated code.
11547
11548 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11549
11550         * bufferparams.C (hasClassDefaults): new method. Returns true if
11551         the buffer parameters correspond to known class defaults
11552
11553 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * XFormsView.C (show): set minimum size to the main window.
11556
11557 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11558
11559         * text2.C (copySelection):
11560         (cutSelection):
11561         * lyxfind.C (LyXReplace):
11562         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11563         LyXText::selectionAsString.
11564
11565         * paragraph.C (asString): add "label" argument to the second form
11566
11567         * text2.C (selectionAsString): add "label" argument and pass it to
11568         Paragraph::asString.
11569
11570 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11571
11572         * lyx_main.C (commandLineHelp): remove version information
11573
11574 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11575
11576         * lyx_main.C: add -version commandline option
11577
11578 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * paragraph.h: make the optional constructor arg required instead.
11581         some modifications to other files because of this.
11582
11583         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11584
11585         * lyxserver.C (C_LyXComm_callback): make it static
11586
11587         * lyx_main.C (error_handler): make it static
11588
11589         * lyx_gui.C (LyX_XErrHandler): make it static
11590
11591         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11592
11593         * WorkArea.C: make the extern "C" methods static.
11594
11595         * Makefile.am (lyx_LDADD): simplify
11596
11597 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11598
11599         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11600         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11601
11602         * LyXAction.C (init):
11603         * lyxfunc.C (dispatch): associated code removal.
11604
11605 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * lyxfont.h (isSymbolFont): shut off warning
11608
11609         * text.C (setHeightOfRow):
11610         (getVisibleRow): fix crash with empty paragraphs which have a
11611         bottom line
11612
11613 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11614
11615         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11616         code.
11617
11618 2001-09-04  José Matos  <jamatos@fep.up.pt>
11619         * buffer.C
11620         * buffer.h
11621         * tabular.C (docbook): rename docBook method to docbook.
11622
11623 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11624
11625         * Makefile.am: add dependencies to main.o.
11626
11627 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11628
11629         * FontLoader.C (available): Return false if !lyxrc.use_gui
11630
11631 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11632
11633         * FontInfo.C (query):
11634         * converter.C (view):
11635         * importer.C (Import):
11636         * exporter.C (Export): Can not -> cannot.
11637
11638 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * BufferView_pimpl.C: allow to create index inset even if
11641           string is empty
11642
11643 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * buffer.C (getLists): replace boost::tie code with an explicit pair
11646         as boost::tie can break some compilers.
11647
11648         * iterators.h: Added a std:: declaration to the return type of
11649         ParIterator::size.
11650
11651 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11654           case.
11655
11656 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11657
11658         * iterators.[Ch]: New files. Provide paragraph iterators.
11659
11660         * buffer.C (changeLanguage): Use paragraph iterators.
11661         (isMultiLingual): ditto
11662
11663         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11664
11665 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11666
11667         * FontLoader.C: Support for cmr font.
11668
11669 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11670
11671         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11672         (available): New method.
11673
11674         * FontInfo.C (getFontname): Use scalable fonts even when
11675         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11676         found.
11677
11678 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11679
11680         * converter.C (Formats::view): reverted! Incorrect fix.
11681
11682 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11683
11684         * converter.C (Formats::view): only output the -paper option
11685         if the dvi viewer is xdvi, thereby fixing bug #233429.
11686
11687 2001-08-23  Herbert Voss  <voss@perce>
11688
11689         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11690
11691 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11692
11693         * Spacing.h (Spacing): Set space to Default on in the default
11694         constructor.
11695
11696 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * vc-backend.h (RCS::versionString): add RCS to version
11699         (CVS::versionString): add CVS to version
11700
11701         * vc-backend.C (scanMaster): do not add CVS to version.
11702         (scanMaster): do not add RCS to version
11703
11704         * lyxvc.C (versionString): new method
11705
11706         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11707
11708 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * Spacing.C (set): initialize fval
11711
11712 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11713
11714         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11715         " or \.
11716
11717 2001-08-16  Juergen Vigna  <jug@sad.it>
11718
11719         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11720
11721 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * BufferView_pimpl.C:
11724         * figureForm.C:
11725         * lyxtext.h:
11726         * text2.C: setParagraph takes linespacing now
11727
11728 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * LyxAction.C: add internal LFUN_CITATION_INSERT
11731
11732         * LyXView.C: actually apply fix
11733
11734         * bufferlist.C: fix open non-existent file
11735
11736         * lyxfind.C: fix indentation
11737
11738         * lyxfunc.C: remove unneeded assert, fix typo
11739
11740 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * MenuBackend.C: use "Floatname List"
11743
11744 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11745
11746         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11747         when converting LaTeX layout to insetERT.
11748         Generate a non-collapsed float when reading old float
11749
11750 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11751
11752         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11753         ERT insets.
11754
11755 2001-08-13  Juergen Vigna  <jug@sad.it>
11756
11757         * text.C (fill): return 0 instead of 20 as this seems to be the more
11758         correct value.
11759
11760 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11761
11762         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11763         lyxrc.font_norm.
11764
11765 2001-08-13  Juergen Vigna  <jug@sad.it>
11766
11767         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11768         casesensitive off.
11769         (SearchBackward): comment out the unlocking of the inset_owner this
11770         should not be needed!
11771
11772 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11773
11774         * Many files: Remove inherit_language, and add latex_language
11775
11776         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11777         collapsible insets.
11778
11779 2001-08-10  Juergen Vigna  <jug@sad.it>
11780
11781         * text.C (prepareToPrint): fixed hfill-width in draw!
11782
11783         * BufferView2.C (selectLastWord): save the selection cursor as this
11784         now is cleared in the function LyXText::clearSelection!
11785
11786 2001-08-08  Juergen Vigna  <jug@sad.it>
11787
11788         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11789         BACKSPACE type functions.
11790
11791         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11792         is only cutted from the document but not put in the cut-buffer, where
11793         still the old stuff should be.
11794
11795         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11796
11797         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11798
11799         * tabular.C (SetWidthOfCell): fixed special case where the width
11800         was not updated!
11801         (LeftLine): handle '|' in align_special.
11802         (RightLine): ditto
11803         (LeftAlreadyDrawed): ditto
11804         (SetWidthOfCell): ditto
11805
11806 2001-08-07  Juergen Vigna  <jug@sad.it>
11807
11808         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11809
11810 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11813         * lyxlex.[hC]: ditto
11814
11815 2001-08-06  Juergen Vigna  <jug@sad.it>
11816
11817         * text.C (getVisibleRow): fix up row clearing a bit.
11818
11819 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * minibuffer.C: make sure the X server sees the changes in the input.
11822
11823 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * paragraph.C (getFont): split into...
11826         (getLabelFont): this
11827         (getLayoutFont): and this
11828         * paragraph_pimpl.C (realizeFont): calling this
11829
11830         * text2.C (getFont): split into...
11831         (getLayoutFont): this
11832         (getLabelFont): and this
11833         (realizeFont): all three calling this
11834
11835         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11836         files where used.
11837
11838 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11839
11840         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11841
11842 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11843
11844         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11845         layouts from the Quote inset insertion.
11846
11847 2001-08-03  Juergen Vigna  <jug@sad.it>
11848
11849         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11850
11851         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11852         only if status not is already CHANGED_IN_DRAW (second level).
11853
11854         * text.C (draw): don't set the need_break_row when inside an
11855         InsetText LyXText.
11856
11857 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * buffer.C (parseSingleLyXformat2Token): handle more latex
11860         conversion cases.
11861
11862         * bufferview_funcs.[hC]: change function names to
11863         begin with small char, adjust other files.
11864
11865 2001-08-02  André Pönitz <poenitz@gmx.net>
11866
11867         * lyxfunc.C:
11868         BufferView_pimpl.C: remove broken special code for math-greek
11869
11870 2001-08-02  Juergen Vigna  <jug@sad.it>
11871
11872         * BufferView_pimpl.C (update): redone this function so that we
11873         update the text again if there was a CHANGE_IN_DRAW.
11874
11875         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11876         (drawFromTo): added a new internal bool which is used by draw() and
11877         redraw() function.
11878         (general): some cursor drawing problems fixed.
11879
11880 2001-08-01  Juergen Vigna  <jug@sad.it>
11881
11882         * lyxfind.C (LyXFind): fixed
11883         (SearchForward): ditto
11884         (SearchBackward): ditto
11885
11886         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11887         spurius drawing of the cursor in the main area.
11888
11889         * text2.C (status): small fix which could lead to a segfault!
11890         (clearSelection): remove unneeded BufferView param.
11891
11892 2001-08-01  André Pönitz <poenitz@gmx.net>
11893
11894         * lyxfunc.C: small change due to changed mathed interface
11895
11896 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11899
11900 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * lyxfunc.c: fail gracefully if file doesn't exist
11903
11904         * LyXSendto.C:
11905         * buffer.C:
11906         * lyxfunc.C:
11907         * BufferView_pimpl.C: IsDirWriteable() proto changed
11908
11909         * LyXView.C: fix updateWindowTitle() to store the last title
11910
11911 2001-07-31  Juergen Vigna  <jug@sad.it>
11912
11913         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11914         the font (wrong since using of Paragraph::highestFontInRange).
11915
11916         * paragraph.C (highestFontInRange): added a default_size parameter.
11917
11918         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11919         (setHeightOfRow): reformat
11920
11921 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * converter.[hC] + affected files: move to (inital-char)lowercase
11924         function names.
11925
11926         * ParagraphParameters.C (ParagraphParameters): remove commented code
11927
11928         * PainterBase.[Ch]: remove commented code
11929
11930         * LaTeXFeatures.h: add "bool floats" for float.sty
11931
11932         * LaTeXFeatures.C (LaTeXFeatures): init floats
11933         (require): handle float
11934         (getPackages): do it with floats
11935
11936 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * BufferView_pimpl.C (Dispatch): improve handling of
11939         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11940
11941         * commandtags.h: #include lyxfont.h here temporarily to avoid
11942         keybinding bug.
11943
11944         * bufferlist.h: include LString.h here.
11945
11946 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * text2.C (getStringToIndex): new method.
11949
11950 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11951
11952         * *: Reduced header file dependencies all over.
11953
11954 2001-07-30  Baruch Even  <baruch@lyx.org>
11955
11956         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11957
11958 2001-07-29  Baruch Even  <baruch@lyx.org>
11959
11960         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11961
11962 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * ParameterStruct.h (endif): add a default constructor to make
11965         sure that all variables is initialized.
11966
11967         * ParagraphParameters.C (ParagraphParameters): adjust
11968
11969 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11970
11971         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11972         index; also, check that there is something to index, and that it
11973         does not span over several paragraphs.
11974         (doubleClick): use WHOLE_WORD_STRICT for double click.
11975
11976         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11977
11978         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11979         scheme.
11980
11981 2001-07-26  Baruch Even  <baruch@lyx.org>
11982
11983         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11984         an InsetFig figure, backwards compatible reading of old figure code.
11985
11986 2001-07-27  Juergen Vigna  <jug@sad.it>
11987
11988         * text2.C: font.realize function adaption.
11989
11990         * text.C (draw): add a warnings lyxerr text if needed.
11991
11992         * layout.C: font.realize function adaption.
11993
11994         * language.C: add inherit_language and implement it's handlings
11995
11996         * bufferview_funcs.C (StyleReset): remove language parameter from
11997         font creation (should be language_inherit now).
11998
11999         * bufferparams.C (writeFile): handle ignore_language.
12000
12001         * paragraph.C (getFontSettings): the language has to be resolved
12002         otherwise we have problems in LyXFont!
12003
12004         * lyxfont.C (lyxWriteChanges): added document_language parameter
12005         (update): removed unneeded language parameter
12006
12007         * paragraph.C (validate): fixed wrong output of color-package when
12008         using interface colors for certain fonts in certain environments,
12009         which should not seen as that on the final output.
12010
12011 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * BufferView_pimpl.C:
12014         * Thesaurus.h:
12015         * Thesaurus.C:
12016         * Makefile.am:
12017         * commandtags.h:
12018         * LyXAction.C: add thesaurus support
12019
12020         * lyxfind.h:
12021         * lyxfind.C: add "once" parameter, for thesaurus, to not
12022           move to the next match
12023
12024 2001-07-26  Juergen Vigna  <jug@sad.it>
12025
12026         * lyxfont.C (realize): honor ignore_language too!
12027         (resolved): ditto.
12028
12029         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12030
12031         * text.C (draw): one place more for ignore_language to not draw
12032         itself!
12033
12034 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12037
12038 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12041         the minipage conversion problem.
12042
12043 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12046         insert an inset.
12047
12048 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * BufferView.h: don't forward declare WorkArea
12051
12052         * BufferView.C: don't include WorkArea.h
12053
12054 2001-07-25  André Pönitz <poenitz@gmx.net>
12055
12056         * commandtags.h:
12057         * LyXAction.C:
12058         * lyxfunc.C:  new LFUN 'math-space'
12059
12060         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12061
12062 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * text2.C (toggleInset): call open/close
12065
12066 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12067
12068         * lyxfunc.C (dispatch): add debug for the disabled case
12069
12070         * font.C (buttonText): make similar to rectText
12071
12072         * buffer.C (readInset): comment out parsing of insetlist and
12073         insttheorem
12074
12075         * PainterBase.C (rectText): small correction
12076
12077         * BufferView_pimpl.C: comment out insettheorem and insetlist
12078         * LyXAction.C: ditto
12079         * commandtags.h: ditto
12080
12081 2001-07-24  Juergen Vigna  <jug@sad.it>
12082
12083         * text.C (draw): honor the ignore_language.
12084
12085         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12086
12087 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12090         char inset.
12091
12092 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12093
12094         * lyxtext.h: remove unused (and unimplemented) methods
12095
12096 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12097
12098         * text.C (getVisibleRow): honor background color
12099
12100         * PainterBase.h:
12101         * Painter.h: remove default color argument for fillRectangle
12102
12103         * text.C (backgroundColor): new method
12104
12105 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * text.C (getVisibleRow): adjust
12108
12109         * font.[Ch] (rectText): new method, metrics
12110         (buttonText): new method, metrics
12111
12112         * PainterBase.[hC]: make rectText and buttonText always draw and take
12113         fewer paramteres.
12114
12115 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12116
12117         * ToolbarDefaults.C (read):
12118         * MenuBackend.C (read): allow escaping in all strings
12119
12120         * BufferView_pimpl.C (insertAndEditInset): new method.
12121         (Dispatch): use insertAndEditInset whenever appropriate.
12122
12123         * BufferView_pimpl.C (insertNote): removed
12124
12125         * BufferView_pimpl.C (smartQuote): new method, moved from
12126         BufferView; if an insetquote cannot be inserted, insert a '"'
12127         character instead.
12128
12129         * BufferView2.C: remove insertCorrectQuote();
12130
12131         * lyxfunc.C (getStatus): Add support for all remaingin
12132         inset-insert lfuns.
12133
12134         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12135
12136         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12137         command (necessary to pass " as parameter of self-insert.
12138
12139         * text.C (selectWordWhenUnderCursor):
12140         (selectWord): add word_location parameter
12141         (selectWordWhenUnderCursor): same + remove special code for word
12142         boundary.
12143         (selectNextWord): use kind() to guess type of insetspecialchar,
12144         not latex().
12145
12146         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12147         (insertErtContents): create ert insets as collapsed.
12148         (readInset): better compatibility code for Info inset.
12149
12150 2001-07-20  Juergen Vigna  <jug@sad.it>
12151
12152         * lyxfunc.C (dispatch): use always LyXFind now!
12153
12154         * text2.C (init): add a reinit flag so that the LyXText can be
12155         reinited instead of deleted and reallocated (used in InsetText).
12156
12157         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12158
12159         * text.C: ditto
12160
12161         * text2.C: ditto
12162
12163 2001-07-18  Juergen Vigna  <jug@sad.it>
12164
12165         * text.C (selectNextWord): handle insets inside inset by calling
12166         always the bv->text functions so that we can go up the_locking_inset!
12167
12168         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12169         in strange locations when inside an inset!
12170
12171         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12172         handling to include insets.
12173
12174         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12175
12176 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * LyXAction.C (init):
12179         * commandtags.h:
12180         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12181         LIGATURE_BREAK, since the name is so stupid.
12182
12183 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12184
12185         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12186         InsetInfos.
12187
12188         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12189
12190         * sp_form.[Ch]: remove.
12191
12192         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12193
12194         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12195         InsetInfo.
12196
12197         * src/buffer.C (readInset): ditto.
12198
12199 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12200
12201         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12202         menuSeparator(), endOfSentenceDot(), ldots() and
12203         hyphenationPoint(), which are therefore removed.
12204         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12205
12206         * LyXAction.C (init):
12207         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12208
12209         * paragraph.C (getWord): removed.
12210
12211         * BufferView_pimpl.C (Dispatch): use last word or selection for
12212         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12213
12214         * lyx_main.C (queryUserLyXDir): do not ask before creating
12215         user_dir, except if it has been named explicitely.
12216
12217 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12218
12219         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12220         a document of zero size.
12221
12222 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12223
12224         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12225         approriately in the c-tor and in require().
12226         (getPackages): output the appropriate LaTeX for natbib support.
12227
12228         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12229         variables "use_natbib" and "use_numerical_citations" when reading the
12230         LyX file.
12231         (readInset): read the various natbib cite commands.
12232         (validate): white-space change.
12233
12234         * bufferparams.[Ch]: new variables "bool use_natbib" and
12235         "bool use_numerical_citations".
12236         (writeFile): output them in the LyX file.
12237
12238 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12239
12240         * lyxfunc.C (getStatus): add support for all the inset insertion
12241         commands.
12242
12243         * text2.C (insertInset):
12244         * paragraph.C (insetAllowed):
12245         * BufferView_pimpl.C (insertInset): update to take in account the
12246         renaming of insertInsetAllowed
12247
12248         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12249
12250         * text2.C (getInset): new method. returns inset at cursor position.
12251
12252         * BufferView_pimpl.C (Dispatch): changes because of this.
12253
12254         * LyXAction.C (init): rename open-stuff to inset-toggle.
12255
12256         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12257
12258         * text2.C (toggleInset): renamed from openStuff; use
12259         Inset::open().
12260
12261 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12262
12263         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12264
12265         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12266
12267 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12268
12269         * buffer.C (readLyXformat2): Add filename to the error dialog
12270
12271 2001-07-18  Juergen Vigna  <jug@sad.it>
12272
12273         * tabular.C (GetCellNumber): put an assert here instead of the check!
12274
12275 2001-07-17  Juergen Vigna  <jug@sad.it>
12276
12277         * BufferView_pimpl.C (toggleSelection): adapted too.
12278
12279         * text.C (selectNextWord): adapted for use with insets.
12280         (selectSelectedWord): ditto
12281
12282 2001-07-17  Juergen Vigna  <jug@sad.it>
12283
12284         * sp_spell.C (PSpell): fix initialitation order.
12285
12286 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * paragraph.C: spacing
12289
12290 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12291
12292         * sp_spell.C: repair language selection for pspell
12293
12294 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * lyxfunc.h: change more methods to begin with lower char.
12297
12298 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12299
12300         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12301         for unknown layouts.
12302
12303 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12304
12305         * buffer.C (readLyXformat2): Generate an error dialog if there are
12306         unknown layouts.
12307
12308 2001-07-16  Juergen Vigna  <jug@sad.it>
12309
12310         * sp_spell.C: always compile ISpell part.
12311
12312         * lyxrc.C: added use_pspell entry and it's handling.
12313
12314 2001-07-13  Juergen Vigna  <jug@sad.it>
12315
12316         * sp_spell.C: removed double includes.
12317
12318 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         Consistent use of Lsstream.h:
12321         * Lsstream.h: added using std::stringstream for consistencies sake.
12322
12323         * buffer.C: removed using std::stringstream
12324
12325         * lyxfont.C (stateText):
12326         * paragraph.C (asString):
12327         * text.C (selectNextWord, selectSelectedWord):
12328         * text2.C (setCounter):
12329         * vspace.C (asString, asLatexString):
12330         std::ostringstream -> ostringstream.
12331
12332 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12333
12334         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12335         * commandtags.h: add LFUN_HELP_ABOUTLYX
12336         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12337
12338 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12339
12340         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12341         cursorToggle()
12342         * lyx_gui_misc.C: remove spellchecker
12343         * lyxfunc.C: showSpellchecker
12344         * sp_base.h: added
12345         * sp_ispell.h: added
12346         * sp_pspell.h: added
12347         * sp_spell.C: added
12348         * sp_form.[Ch]: removed
12349         * spellchecker.[Ch]: removed
12350
12351 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12352
12353         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12354         is set.
12355         (simpleTeXSpecialChars): Simply print the input character without
12356         any special translation if pass_thru is set.
12357
12358         * layout.h: Added bool pass_thru to layout class for being able to
12359         implement pass through of a paragraph for Literate Programming.
12360
12361         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12362         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12363         * layout.C (Read): add "passthru" to list of layout tags and add
12364         code to set the pass_thru boolean when it is read.
12365
12366 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * trans_decl.h: remove allowed from KmodInfo
12369
12370         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12371         remove allowed code
12372         (Load): adjust
12373
12374         * paragraph_pimpl.C (erase): use boost::prior
12375
12376         * Painter.C (text): use data() instead of c_str() when length is
12377         also provided.
12378         * WorkArea.C (putClipboard): ditto
12379         * font.h (width): ditto
12380
12381         * BufferView2.C: use it-> instead of (*it). for iterators
12382         * texrow.C: ditto
12383         * paragraph_pimpl.C: ditto
12384         * paragraph.C: ditto
12385         * minibuffer.C: ditto
12386         * language.C: ditto
12387         * kbmap.C: ditto
12388         * encoding.C: ditto
12389         * counters.C: ditto
12390         * converter.C: ditto
12391         * chset.C: ditto
12392         * Variables.C: ditto
12393         * TextCache.C: ditto
12394         * MenuBackend.C: ditto
12395         * LyXAction.C: ditto
12396         * LColor.C: ditto
12397         * FloatList.C: ditto
12398         * DepTable.C: ditto
12399         * ColorHandler.C (LyXColorHandler): ditto
12400
12401 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12404
12405         * text2.C (openStuff): reintroduce this method (which had been
12406         nuked in NEW_INSETS frenzy).
12407
12408         * lyxfunc.C (Dispatch): when an action has not been handled, use
12409         its name in the error message, not its number.
12410
12411         * paragraph.C (inInset): change method name to begin with lowercase.
12412
12413         * undo_funcs.C:
12414         * text2.C: updates because of this.
12415
12416 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * ToolbarDefaults.C (add): add spaces in error message
12419
12420 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12423         (readLyXformat2): rename return_par to first_par, use lyxlex's
12424         pushToken and remove the manual push handling.
12425         (parseSingleLyXformat2Token): add another ert comp. variable:
12426         in_tabular, rename return_par to first_par. handle newlines better
12427
12428 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12431
12432 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * text2.C (getParFromID): removed
12435
12436         * buffer.C (getParFromID): new method moved form lyxtext.
12437         * BufferView2.C (insertErrors): adjust
12438         (setCursorFromRow): adjust
12439         * BufferView_pimpl.C (restorePosition): adjust
12440         * lyxfunc.C (Dispatch): adjust
12441         * undo_funcs.C (textUndo): adjust
12442         (textRedo): adjust
12443         (textHandleUndo): adjust
12444         (textHandleUndo): adjust
12445
12446 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * buffer.C: up' the LYX_FORMAT
12449
12450         * lyxfont.h: turn NO_LATEX on as default
12451
12452         * buffer.C (insertErtContents): new methods of tex style compability.
12453         (parseSingleLyXformat2Token): use it several places.
12454         * tabular.C (OldFormatRead): and here
12455
12456 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * text2.C: remove some commented code.
12459         reindent file.
12460
12461         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12462         * trans.C: changes because of the above.
12463
12464 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12465
12466         * text2.C (setCounter): Fix counters bug with bibliography layout.
12467
12468 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12471         own member functions
12472         (simpleTeXSpecialChars): ditto
12473
12474 2001-07-06  Juergen Vigna  <jug@sad.it>
12475
12476         * a lot of files: changed the access to LyXText::status and the
12477         call of undo-functions.
12478
12479         * undo.[Ch]: added a inset_id to the undo informations.
12480
12481         * undo_funcs.[Ch]: added and moved here all undo functions.
12482
12483         * lyxtext.h: give the status enum a weight, made status_ a private
12484         variable and made accessor functions for it, removed the whole bunch
12485         of undo-functions as they are now in their own file, make some
12486         functions publically available. Added function ownerParagraph with
12487         int parameter.
12488
12489         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12490         made InInset() a const function, added getParFromID() function.
12491
12492         * buffer.[Ch]: added const version for inset_iterator functions,
12493         added getInsetFromID() function.
12494
12495         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12496         changed undo functions for new version.
12497
12498 2001-07-05  Juergen Vigna  <jug@sad.it>
12499
12500         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12501         unknow mechanism does not call the proper constructor but only this
12502         one also if I request the other!?
12503
12504 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12507
12508         * text2.C (LyXText): use initialization lists.
12509
12510         * lyxtext.h (Selection): initialize set_ and mark_
12511         (init): remove method
12512
12513 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12514
12515         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12516
12517 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * screen.[Ch]: change method names to begin with lowercase
12520
12521         * BufferView_pimpl.C (updateScrollbar): simplify further and
12522         hopefully make it a bit faster.
12523
12524 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12525
12526         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12527         calling directly xforms functions.
12528
12529         * Painter.C (Painter):
12530         * lyx_cb.C (MenuWrite):
12531         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12532         fl_display.
12533
12534         * lyx_gui.C: remove bogus guiruntime extern declaration.
12535
12536 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12539         in NEW_INSETS
12540         (redoDrawingOfParagraph): ditto
12541         (redoParagraphs): ditto
12542         (cutSelection): don't create a object for CutAndPaste use the
12543         static method directly
12544         (pasteSelection): ditto
12545
12546         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12547         LyXview (+ rename)
12548
12549 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * modifications to some other files because of this.
12552
12553         * Makefile.am (lyx_SOURCES): add XFormsView
12554
12555         * XFormsView.[Ch]: new files
12556
12557         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12558         the main window. Move the gui dependent stuff to XFormsView
12559
12560 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * tabular.C (GetCellInset): update cur_cell also in the row/col
12563         version of this function.
12564
12565         * lyxfunc.C: no need to include figure_form.h here.
12566
12567         * FontLoader.h:
12568         * lyxfunc.h:
12569         * lyxscreen.h:
12570         * text2.C:
12571         * lyxvc.C: no need to include forms.h here.
12572
12573 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12574
12575         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12576
12577         * lyxfunc.C (Dispatch):
12578         * Spacing.C (set):
12579         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12580         constructor argument.
12581
12582 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * paragraph.C (Paragraph): dont't clear, and just set layout.
12585         (makeSameLayout): use params's copy contructor.
12586
12587         * ParagraphParameters.[Ch] (makeSame): delete method
12588
12589 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * Variables.[Ch]: fix indentation, rename set to isSet
12592
12593 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * lyxfunc.C (Dispatch): fix typo
12596
12597 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12598
12599         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12600         upper_bound.
12601
12602         * bufferlist.C: include assert.h for emergencyWrite().
12603
12604 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12607           give up at last (bug #425202) !
12608
12609 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * lyx_gui_misc.C:
12612         * sp_form.h:
12613         * sp_form.C:
12614         * spellchecker.h:
12615         * spellchecker.C: strip spellchecker options and bring up
12616           preferences tab instead
12617
12618 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12619
12620         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12621         the istringstream constructor
12622
12623 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * paragraph.C (getLayout): fix return value
12626
12627         * paragraph.h: do not declare getLayout as inline.
12628
12629         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12630
12631 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * lyxcursor.h (operator<): new func
12634         (operator>): new func
12635         (operator>=): new func
12636         (operator<=): new func
12637
12638         * text.C (changeCase): use selection.start and selection.end
12639         (changeRegionCase): require from to be <= to. Require par to be a
12640         valid paragraph.
12641
12642         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12643
12644 2001-06-27  Juergen Vigna  <jug@sad.it>
12645
12646         * text.C (cursorLeftOneWord): changed to return the cursor and added
12647         overlay with BufferView * parameter which calls this one.
12648         (getWord): added
12649         (selectWord): use new getWord function.
12650         (changeCase): renamed from changeWordCase as and extended to work
12651         also on selections.
12652
12653         * lyxtext.h: added enum word_location
12654
12655         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12656         changeCase as this operates now also on selections.
12657
12658 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12659
12660         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12661
12662         * many files: send debug output to Debug::INFO instead of
12663         Debug::ANY.
12664
12665         * converter.C (View):
12666         (Convert):
12667         (Move): send debug output to Debug::FILES instead of console.
12668
12669 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12670
12671         * lyxfunc.C (getStatus): use func_status
12672
12673         * func_status.h: new header, describing the results of
12674         LyXFunc::getStatus;
12675
12676         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12677         LFUN_MATH_HALIGN.
12678
12679 2001-06-25  The LyX Project  <jug@sad.it>
12680
12681         * buffer.C (sgmlOpenTag):
12682         (sgmlCloseTag):
12683         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12684
12685 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * text2.C: remove some dead code
12688
12689         * tabular.C (GetCellInset): store the last cell checked (gotten)
12690
12691         * tabular.h: add the helper for the speedup
12692
12693         * lyxtext.h: remove some dead code
12694
12695 2001-06-26  The LyX Project  <Asger>
12696
12697         * paragraph.C: Change export to LaTeX of alignment to
12698         \begin{center} and family for better roundtrip work with reLyX.
12699
12700         * Tune the math drawing a bit.
12701
12702 2001-06-25  The LyX Project  <Asger>
12703
12704         * LColor.C (LColor): New color for math background. New color
12705         for buttons.
12706
12707 2001-06-25  The LyX Project  <jug@sad.it>
12708
12709         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12710
12711         * lyxfunc.C (Open):
12712         * bufferlist.C (newFile): do not restrict to files ending with
12713         .lyx
12714
12715         * BufferView_pimpl.C (MenuInsertLyXFile):
12716
12717 2001-06-24  The LyX Project  <jug@sad.it>
12718
12719         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12720         of compare_no_case
12721
12722 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * lyxtext.h: rename most methods to begin with a small char.
12725         Lots of changes because of this.
12726
12727         * paragraph.C (Paragraph): do not call fitToSize
12728         (erase): call Pimpl::erase
12729         (insertChar): call Pimpl::insertChar
12730         (insertInset): call Pipl::insertInset
12731         (breakParagraph): do not call fitToSize
12732         (breakParagraphConservative): do not call fitToSize
12733         (fitToSize): remove method
12734
12735         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12736
12737 2001-06-24  The LyX Project  <Asger>
12738
12739         * Fix Qt compilation^2
12740
12741 2001-06-24  The LyX Project  <jug@sad.it>
12742
12743         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12744         depthHook(getDepth()-1).
12745
12746         * paragraph.h:
12747         * ParagraphParameters.h:
12748         * ParameterStruct.h: change type of depth to unsigned int ==
12749         depth_type. Many adaptations to other files before of that.
12750
12751 2001-06-24  The LyX Project  <Asger>
12752
12753         * Fix Qt compilation.
12754
12755 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * paragraph.h: renamed several methods to begin with small letter.
12758         several changes to many parts of the code because of this.
12759
12760 2001-06-23  The LyX Project  <jug@sad.it>
12761
12762         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12763         rewritten to discard all double spaces when KeepEmpty is off
12764         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12765         to only handle newlines but not fiddle with spaces and friends.
12766
12767         * lyxfunc.C (MenuNew): when doing 'new from template', use
12768         template_path as default directory
12769
12770 2001-06-23  The LyX Project  <Asger>
12771
12772         * Clean-up of header file includes all over
12773         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12774
12775 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * paragraph.h: renamed from lyxparagraph.h
12778
12779 2001-06-23  Asger  <lyx@violet.home.sad.it>
12780
12781         * Buffer.h: Removed Buffer::resize
12782         * BufferList.h: Removed BufferList::resize
12783         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12784         the document lazily when we change the width, or the font settings.
12785
12786 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12789
12790 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * buffer.h: remove out of date comment
12793
12794 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * lyxscreen.h:
12797         * screen.C: fix "theoretical" GC leak
12798
12799 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * LaTeX.C (scanAuxFile):
12802         (deplog): remove trailing \r when reading stream (useful under
12803         win32)
12804
12805 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12806
12807         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12808         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12809         and BufferView::theLockingInset(Inset*), so should use them and not
12810         access bv_->text->the_locking_inset directly.
12811
12812         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12813
12814 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * Makefile.am:
12817         * tex-defs.h: remove old unused file
12818
12819 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * BufferView_pimpl.C: fix typo, remove minibuffer message
12822           when buffer has loaded
12823
12824 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * lyxfunc.C (Dispatch): use stringstream
12827         (MenuNew): use stringstream
12828         (Open): use stringstream
12829
12830         * importer.C (Import): use stringstream
12831
12832         * bufferview_funcs.C (CurrentState): use stringstream
12833
12834         * LaTeX.C (run): use stringstream
12835
12836         * BufferView_pimpl.C (savePosition): use stringstream
12837         (restorePosition): use stringstream
12838         (MenuInsertLyXFile): use stringstream
12839
12840 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12841
12842         * BufferView.C:
12843         * Bullet.C:
12844         * ColorHandler.C:
12845         * FontInfo.C:
12846         * FontLoader.C:
12847         * LColor.C:
12848         * LaTeXFeatures.C:
12849         * Painter.C:
12850         * gettext.C:
12851         * lyx_gui_misc.C:
12852         * lyxserver.C:
12853         * vspace.C: removed // -*- C++ -*- as first line.
12854
12855         * lyxfind.h:
12856         * version.h: added // -*- C++ -*- as first line.
12857
12858 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12859
12860         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12861
12862         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12863         of string
12864
12865 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12868         of floats.
12869
12870 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12871
12872         * gettext.C: include LString.h even when --disable-nls is on.
12873
12874 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12875
12876         * converter.h (Get): changed argument type from int to
12877         FormatList::size_type to avoid unnecessary conversion.
12878
12879         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12880         before using it.
12881
12882 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * gettext.h: include LString.h even when --disable-nls is on.
12885
12886 2001-06-07  Juergen Vigna  <jug@sad.it>
12887
12888         * text.C (BreakAgain): subst spaces with tabs.
12889
12890         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12891         (resizeInsetsLyXText): set force on resizeLyXText.
12892
12893 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12894
12895         * gettext.h (gettext_init):
12896         (locale_init): use a real definition instead of a macro
12897
12898 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * Bufferview_pimpl.C:
12901         * LColor.h:
12902         * LColor.C: further lcolor tidies
12903
12904 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * BufferView_pimpl.C (updateScrollbar): simplify.
12907
12908         * BufferView2.C: don't include insets/insetinfo.h, change
12909         prototype for insertInset and call the Pimpl version. let
12910         updateInset call Pimpl version.
12911
12912         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12913         gotoInset to BufferView::Pimpl
12914
12915 2001-06-01  Juergen Vigna  <jug@sad.it>
12916
12917         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12918         inside a LockingInset (is the update needed at all?).
12919
12920 2001-05-31  Juergen Vigna  <jug@sad.it>
12921
12922         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12923         here not the old one otherwise how should we compare it afterwards
12924         if it's the same!
12925
12926 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * lyxfont.C:
12929         * tabular.C:
12930         * tabular-old.C:
12931         * FontInfo.C: bring C functions into global namespace when
12932         necessary
12933
12934 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12935
12936         * LString.h: make sure config.h has been loaded before LString.h.
12937
12938         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12939         (one for each char read by EatLine!).
12940
12941         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12942         variables.
12943
12944 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12947         to the same as the par we break from
12948
12949 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12952
12953         * MenuBackend.C (expand): also create menu entries for wide
12954         versions of the floats.
12955
12956         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12957
12958         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12959
12960         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12961         frontends/Makefile.am
12962
12963         * text2.C: adjust
12964         * text.C: adjust
12965
12966
12967         * tabular.C (getTokenValue): add std::
12968
12969         * tabular-old.C (getTokenValue): add std::
12970         (getTokenValue): ditto
12971         (getTokenValue): ditto
12972
12973         * screen.C (ToggleSelection): adjust
12974
12975         * lyxtext.h: put selection cursors inside a Selection struct.
12976
12977         * lyxfunc.C (moveCursorUpdate): adjust
12978
12979         * lyxfont.C (latexWriteStartChanges): add std::
12980
12981         * lyxfind.C: adjust
12982
12983         * font.h: delete with(char const *, LyXFont const &)
12984
12985         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12986
12987         * FontInfo.C (getFontname): add std::
12988
12989         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12990         (workAreaButtonPress): adjust
12991         (tripleClick): adjust
12992         (update): adjust
12993         (moveCursorUpdate): adjust
12994         (Dispatch): adjust
12995
12996         * BufferView2.C (gotoInset): adjust
12997
12998 2001-05-30  Juergen Vigna  <jug@sad.it>
12999
13000         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13001         to check pspell I add this as default as I now have new pspell
13002         libraries and they seem to use this.
13003
13004 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13005
13006         * text2.C (CutSelection): make the cursor valid before the call to
13007         ClearSelection.
13008
13009 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13012         relied on 0 terminated strings and other horrors. Bug found due to
13013         the new assert in lyxstring!
13014
13015         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13016         KP_ keys.
13017
13018 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13021         to latinkeys.bind.
13022
13023         * lyxfunc.C (processKeySym): change method of getting to the
13024         self-insert char.
13025
13026         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13027         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13028         * BufferView_pimpl.[Ch]: here as private methods.
13029
13030 2001-05-28  Juergen Vigna  <jug@sad.it>
13031
13032         * text.C (SetHeightOfRow): added the update() call again as it is
13033         needed to initialize inset dimensions!
13034
13035 2001-05-16  Juergen Vigna  <jug@sad.it>
13036
13037         * text2.C (SetCharFont): Add new function with BufferView * and
13038         bool toggleall parameters for setting insets internal fonts.
13039         (SetFont): Freeze the undo as we may change fonts in Insets and
13040         all this change should be inside only one Undo!
13041
13042         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13043         setting font's in insets as for them we have the SetFont function!
13044
13045 2001-05-15  Juergen Vigna  <jug@sad.it>
13046
13047         * text2.C (ClearSelection): to be sure we REALLY don't have any
13048         selection anymore!
13049
13050         * tabular.C (TeXCellPreamble): fixed the left border problem for
13051         multicolumn cells.
13052
13053 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13054
13055         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13056         dependancy file
13057
13058 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13059
13060         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13061         LFUN_BREAKPARAGRAPH.
13062
13063         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13064         help test to "internal only", similar for LFUN_INSERT_URL
13065
13066         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13067         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13068         auto_region_delete and deadkeys.
13069
13070 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * LColor.h:
13073         * LColor.C: remove some dead entries, tidy a little
13074
13075 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13078         commented code.
13079         (Dispatch): implement LFUN_ESCAPE
13080
13081         * commandtags.h: add LFUN_ESCAPE
13082
13083         * LyXAction.C (init): add entry for LFUN_ESCAPE
13084
13085         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13086         Remove commented code.
13087         (insertNote): moved here
13088         (open_new_inset): moved here
13089
13090         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13091         BufferView_pimpl
13092
13093 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * kbmap.C (findbinding): clean it up and make it work correctly.
13096
13097         * lyx_main.C (init): do not pass argc and argv as parameters
13098
13099 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13100
13101         * buffer.C: fix path for OS/2 & Win32
13102
13103         * lyx_gui.C:
13104         * lyx_main:
13105         * lyx_main.C: Added os:: class.
13106
13107         * os2_defines.h: update
13108
13109 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13112         better by trying again with reduced state.
13113
13114 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * lyxrc.C (read): print error about invalid key sequence only when
13117         debugging (because not all latinX keysyms are known to some X
13118         servers)
13119
13120         * kbsequence.C (getiso): add a few std:: qualifiers
13121         (getiso): comment out extra return statement.
13122
13123 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13124
13125         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13126         handling.
13127         (Dispatch): enhance the accent inset a bit. (not perfect)
13128
13129 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13132
13133 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13134
13135         * bufferlist.C (emergencyWrite): fix assert() call
13136
13137 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13138
13139         * text.C (InsertChar): Added trivial patch to only send the "you
13140         can not do multiple spaces this way" message once during a
13141         session.
13142
13143 2001-05-08  Baruch Even  <baruch@lyx.org>
13144
13145         * Makefile.am: Changed order of libraries to get LyX to link properly
13146         with the gnome frontend.
13147
13148 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13149
13150         * LaTeXFeatures.h: add a std:: qualifier
13151
13152 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13153
13154         * paragraph.C (String): use stringstream
13155
13156 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * paragraph.C (writeFile): remove footflag arg
13159
13160         * buffer.C (makeLaTeXFile): use stringstream
13161         (latexParagraphs): remove footnot gurba
13162
13163         * LaTeXFeatures.C (getPackages): use stringstream
13164         (getMacros): likewise
13165         (getTClassPreamble): likewise
13166         (getFloatDefinitions): new method
13167
13168         * paragraph.C (writeFile): reindent
13169         (Erase): reindent
13170
13171         * WorkArea.h: revert the xpos + etc changes.
13172
13173         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13174
13175         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13176
13177         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13178         (pasteSelection): likewise
13179         * text2.C (CreateUndo): likewise
13180
13181 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * minibuffer.C (peek_event): temporarily reduce the functionality
13184         of the minibuffer (to allow args on lfuns)
13185
13186         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13187         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13188
13189         * buffer.C (readInset): add compability reading of old float
13190         lists, add reading of new style float list.
13191         (readInset): avoid reevaluation of inscmd.getCmdName()
13192         (getLists): reindent
13193
13194         * MenuBackend.C (MenuItem): implement parsing of
13195         md_floatlistinsert and md_floatinsert.
13196         (expand::LastFiles): move initalizaton of iterators out of loop,
13197         avoid reevaluation.
13198         (expand::Documents): introduce typdedef vector<string> Strings,
13199         and use it.
13200         (expand::ExportFormats): introduce typedef vector<Format const *>
13201         Formats, and use it.
13202         (expand): implement FloatListInsert and FloatInsert.
13203
13204         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13205         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13206         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13207
13208         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13209         handling.
13210         (Dispatch::LFUN_FLOAT_LIST): implement
13211
13212 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13213
13214         * LaTeX.C (run): Fix problem with --export code.
13215
13216 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * BufferView.[Ch] (workarea): removed.
13219         (getClipboard) new method; wrapper for workarea()->getClipboard()
13220
13221         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13222         bug.
13223
13224         * WorkArea.h (width, height, xpos, ypos): These methods all
13225         returned the dimensions of the work_area sub-area of WorkArea,
13226         resulting in a position error if the WorkArea were resized. Now
13227         return the dimensions of the entire WorkArea.
13228
13229         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13230
13231 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * LaTeX.C (deplog): correct the syntax of regex reg1
13234
13235 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * undo.C: remove !NEW_INSETS cruft
13238
13239 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * text2.C: remove !NEW_INSETS cruft
13242
13243         * text.C: remove !NEW_INSETS cruft
13244
13245         * tabular.C: remove !NEW_INSETS cruft
13246
13247         * spellchecker.C: remove !NEW_INSETS cruft
13248
13249         * lyxtext.h: remove !NEW_INSETS cruft
13250
13251         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13252
13253         * lyxfunc.C: remove !NEW_INSETS cruft
13254
13255         * lyxfind.C: remove !NEW_INSETS cruft
13256
13257         * lyx_cb.C: remove !NEW_INSETS cruft
13258
13259         * figureForm.C: remove  !NEW_INSETS cruft
13260
13261         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13262
13263         * buffer.[Ch]: remove !NEW_INSETS cruft
13264
13265         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13266
13267         * CutAndPaste.C: remove !NEW_INSETS cruft
13268
13269         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13270
13271         * BufferView2.C: remove !NEW_INSETS cruft
13272
13273         * BufferView.h: remove !NEW_INSETS cruft
13274
13275 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * Lsstream.h: include LString.h before the sstream headers to
13278         fix problem with gcc 2.95.3 and lyxstring
13279
13280 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * lyx_main.C: add using directives when needed for C functions
13283         declared in std:: namespace.
13284
13285 2001-04-27  Juergen Vigna  <jug@sad.it>
13286
13287         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13288         (SetHeightOfRow): comment out the update call should not be needed!
13289
13290 2001-04-13  Juergen Vigna  <jug@sad.it>
13291
13292         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13293         (LyXTabular): tried to minimize operator= operations (and realized
13294         hopfully Lars wish).
13295
13296 2001-04-27  Juergen Vigna  <jug@sad.it>
13297
13298         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13299
13300 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13303
13304         * buffer.C (readInset): hack to make listof algorithm work
13305
13306         * BufferView_pimpl.C: hack to make listof algorithm work
13307
13308 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * LyXAction.C: removed all !NEW_INSETS cruft
13311         (init): moved lfun_item in method
13312
13313         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13314
13315 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * BufferView2.C (theLockingInset): white space.
13318
13319 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * minibuffer.C: include <iostream>
13322
13323         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13324
13325         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13326
13327         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13328
13329         * text.[Ch] (TransposeChars): new method
13330
13331 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * call message directly through LyXView instead of through LyXFunc
13334         * BufferView2.C: adjust
13335         * BufferView_pimpl.C: adjust
13336         * FontLoader.C: adjust
13337         * buffer.C: adjust
13338         * bufferview_funcs.C: adjust
13339         * converter.C: adjust
13340         * figureForm.C: adjust
13341         * importer.C: adjust
13342         * lyx_cb.C: adjust
13343         * lyx_gui_misc.C: adjust
13344         * lyxfunc.C: adjust
13345         * lyxvc.C: adjust
13346         * text2.C: adjust
13347         + more files in subdirs
13348
13349         * lyxparagraph.h (size): move up int file
13350         (GetLayout): ditto
13351
13352         * adjust all uses of Assert to lyx::Assert.
13353
13354         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13355         lyxfunctional in namespace lyx
13356         * layout.C (hasLayout): ditto
13357         (GetLayout): ditto
13358         (GetLayout): ditto
13359         (delete_layout): ditto
13360         (NumberOfClass): ditto
13361         * converter.C (GetFormat): ditto
13362         (GetNumber): ditto
13363         (Add): ditto
13364         (Delete): ditto
13365         (SetViewer): ditto
13366         * bufferlist.C (getFileNames): ditto
13367         (emergencyWriteAll): ditto
13368         (exists): ditto
13369         (getBuffer): ditto
13370         * MenuBackend.C (hasSubmenu): ditto
13371         (hasMenu): ditto
13372         (getMenu): ditto
13373         * BufferView_pimpl.C (getInsetByCode): ditto
13374
13375 2001-04-18  Juergen Vigna  <jug@sad.it>
13376
13377         * vspace.C (asLatexString): fixed the 100% problem.
13378
13379 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * lyxfunc.C (Dispatch):
13382         * minibuffer.C:
13383         * minibuffer.h: add a few std:: qualifiers
13384
13385 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * minibuffer.[Ch]: reimplement so that commands is initiated and
13388         run from lyxfunc, simplified som handling, and made the completion
13389         and history code for complete. wip.
13390
13391         * lyxfunc.C (processKeySym): call message
13392         (miniDispatch): new temporary method
13393         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13394         (LFUN_MESSAGE): implement
13395         (LFUN_MESSAGE_PUSH): implement
13396         (LFUN_MESSAGE_POP): implement
13397         (initMiniBuffer): the initial/defualt minibuffer message.
13398
13399         * lyxfont.[Ch]: inline some more getters
13400
13401         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13402
13403         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13404
13405         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13406         (AutoSave): use LFUN_MESSAGE
13407         (Reconfigure): ditto
13408
13409         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13410
13411         * figureForm.C: use LFUN_MESSAGE
13412
13413         * converter.C (runLaTeX): use LFUN_MESSAGE
13414
13415         * bufferview_funcs.C: use LFUN_MESSAGE
13416         (Melt): ditto
13417         (changeDepth): ditto
13418
13419         * bufferparams.h: use boost::
13420
13421         * bufferlist.h: inherit privately from noncopyable
13422
13423         * bufferlist.C (loadLyXFile): remove some commented code.
13424
13425         * buffer.C (runChktex): use LFUN_MESSAGE
13426
13427         * ShareContainer.h: inherit privately from noncopyable
13428
13429         * ParagraphParameters.[hC] (depth): inline it.
13430
13431         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13432         methods.
13433         (message): new method
13434         (messagePush): ditto
13435         (messagePop): ditto
13436         (show): init minibuffer
13437         (showState): direct call
13438
13439         * LaTeX.[Ch]: inherit privately from noncopyable
13440         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13441         instead of WriteStatus.
13442
13443         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13444
13445         * BufferView_pimpl.C (buffer): don't init minibuffer
13446         (workAreaButtonPress): use LFUN_MESSAGE
13447         (workAreaButtonRelease): ditto
13448         (savePosition): ditto
13449         (restorePosition): ditto
13450         (MenuInsertLyXFile): ditto
13451         (workAreaExpose): don't init minibuffer
13452         (update): remove commented code, simplify
13453
13454         * BufferView2.C (openStuff): use LFUN_MESSAGE
13455         (toggleFloat): ditto
13456         (menuUndo): ditto
13457         (menuRedo): ditto
13458         (copyEnvironment): ditto
13459         (pasteEnvironment): ditto
13460         (copy): ditto
13461         (cut): ditto
13462         (paste): ditto
13463         (gotoInset): ditto
13464         (updateInset): remove some commented code
13465
13466         * lastfiles.h: inherit privately from noncopyable
13467         * layout.h: ditto
13468         * lyx_gui.h: ditto
13469         * lyx_main.h: ditto
13470         * lyxlex.h: ditto
13471         * lyxlex_pimpl.h: ditto
13472
13473         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13474         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13475         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13476
13477         * LyXAction.h: inherit privately from noncopyable, add methods
13478         func_begin, func_end, returning iterators to the func map.
13479
13480         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13481         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13482         (func_begin): new method
13483         (func_end): new method
13484
13485         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13486         and not)
13487         (copySelection): ditto
13488         (pasteSelection): ditto
13489
13490         * BufferView.C: whitespace change
13491         * BufferView.h: inherit privately from noncopyable
13492
13493 2001-04-16  Allan Rae  <rae@lyx.org>
13494
13495         * tabular-old.C (l_getline):
13496         * spellchecker.C (sc_check_word):
13497         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13498         an unrecognised preprocessor directive.  So ensure they're wrapped.
13499
13500 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13501
13502         * src/exporter.C (Export): Give an error message when path to file
13503         contains spaces.
13504
13505 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * LaTeX.C (deplog): Always check that foundfile exists.
13508
13509 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * lyx_main.h:
13512         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13513
13514 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * tabular.[Ch] (getLabelList): implement new method
13517
13518         * minibuffer.h: comment ouf setTiimer
13519
13520         * minibuffer.C (ExecutingCB): constify res
13521         (peek_event): constify s
13522         (Set): constify ntext
13523         (Init): constify nicename
13524
13525         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13526
13527         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13528         (savePosition): use two params to Minibuffer::Set
13529         (restorePosition): ditto
13530
13531 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * lyx_main.C: include language.h
13534
13535         * Makefile.am (lyx_main.o): add language.h
13536
13537 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13538
13539         * exporter.C:
13540         * paragraph.C:
13541         * screen.C:
13542         * tabular.C:
13543         * CutAndPaste.C: include gettext.h
13544
13545         * lyxfont.h: remove old hack with ON and OFF.
13546
13547         * lyxparagraph.h:
13548         * lyxfont.h: do not include language.h...
13549
13550         * BufferView2.C:
13551         * LaTeXFeatures.C:
13552         * Painter.C:
13553         * bufferview_funcs.C:
13554         * font.C:
13555         * lyxfont.C:
13556         * text.C:
13557         * text2.C:
13558         * trans_mgr.C:
13559         * paragraph.C: ... but do it here instead
13560
13561 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13564
13565         * tabular.C: small reformat
13566
13567         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13568         NEW_INSETS version
13569         (GetChar): ditto
13570         (BreakParagraph): ditto
13571         (SetOnlyLayout): ditto
13572         (SetLayout): ditto
13573
13574         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13575         with one arg less.
13576
13577         * lastfiles.C: removed most using decl, add std:: where needed
13578
13579         * buffer.C: ws changes
13580
13581         * MenuBackend.C (class compare_format): put into anon namespace
13582         (expand): constify label, names, action, action2
13583         (expand):
13584
13585         * text.C (SingleWidth): constify font
13586         (IsBoundary): constify rtl2
13587         (GetVisibleRow): constify ww
13588
13589         * LaTeX.C (deplog): constify logfile
13590
13591         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13592         start_x, end_x
13593         (workAreaExpose): constify widthChange, heightChange
13594
13595         * lyxrow.C (par): moved
13596         (height): moved
13597         (next): moved
13598         * lyxrow.h: as inlines here
13599
13600         * lyxfont.h (shape): moved from lyxfont.C
13601         (emph): moved from lyxfont.C
13602
13603         * lyxfont.C (LyXFont): use initialization list for all
13604         constructors
13605         (shape): move to lyxfont.h as inline
13606         (emph): move to lyxfont.h as inline
13607
13608
13609 2001-04-04  Juergen Vigna  <jug@sad.it>
13610
13611         * vspace.C: had to include stdio.h for use of sscanf
13612
13613 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13614
13615         * BufferView.h:
13616         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13617         independent of xforms.
13618
13619 2001-04-02  Juergen Vigna  <jug@sad.it>
13620
13621         * spellchecker.C: fixed namespace placing!
13622
13623 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13624
13625         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13626         the LyXParagraph * is 0.
13627
13628 2001-03-29  Juergen Vigna  <jug@sad.it>
13629
13630         * vspace.C: added support for %, c%, p%, l%.
13631         (stringFromUnit): added helper function.
13632         (asLatexString): changed to give right results for the %-values.
13633
13634         * buffer.C: convert the widthp in a width%.
13635
13636 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13639         figureForm.[Ch].
13640
13641         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13642         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13643
13644         * lyx_cb.[Ch]: see above.
13645
13646         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13647         form1.[Ch].
13648
13649         * form1.[Ch]:
13650         * lyx.[Ch]: replaced by figure_form.[Ch].
13651
13652         * lyx_gui.C:
13653         * lyx_gui_misc.C:
13654         * lyxfunc.C: changed headers associated with above changes.
13655
13656 2001-03-27  Juergen Vigna  <jug@sad.it>
13657
13658         * BufferView_pimpl.C: set the temporary cursor right!
13659
13660 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13661
13662         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13663
13664 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * LString.h: removed "using std::getline"!
13667
13668         * BufferView_pimpl.C (Dispatch): changes due to changes in
13669         InsetInclude::Params.
13670
13671         * buffer.C (tag_name): removed redundant break statements as they were
13672         producing lots of warnings with my compiler.
13673
13674 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * LString.h: add "using std::getline" when using the real <string>.
13677
13678 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13679
13680         * buffer.C: removed bitset usage.
13681         PAR_TAG moved to an anonymous name space.
13682         (tag_name): new funtion, also in the anonymous namespace.
13683         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13684         (makeDocBookFile): clean code. Completed transition from string arrays
13685         to string vectors.
13686         (SimpleDocBookOnePar): code clean.
13687
13688 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13689
13690         * tabular.C: add some comments.
13691
13692 2001-03-22  Juergen Vigna  <jug@sad.it>
13693
13694         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13695         compatibility read a bit and fixed bug with minipage in different
13696         depth.
13697
13698 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13699
13700         * buffer.C (pop_tag): removed.
13701         (push_tag): removed.
13702         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13703         array replaced with vector. Added support for CDATA sections.
13704         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13705         at any nest level.
13706         (makeDocBookFile): XML conformant declaration of CDATA section,
13707         fixed bug related to <emphasis> in the first paragraph char.
13708         (sgmlOpenTag): exclude empty tags.
13709         (sgmlCloseTag): ditto.
13710
13711         * buffer.h (pop_tag): removed.
13712         (push_tag): removed.
13713
13714 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * language.h (Languages): added size_type and size().
13717
13718 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13719
13720         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13721         response on compability reading of minipages. One probliem is that
13722         the old usage of minipages was «flertydig»
13723
13724         * several files here and in subdirs: don't use static at file
13725         scope use anon namespaces instead.
13726
13727 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13728
13729         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13730         LaTeX output. This is necessary for Literate document
13731         processing.
13732
13733 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13734
13735         * buffer.C: insert hfill when needed.
13736
13737         * tabular.C (l_getline): use string::erase, small whitespace change.
13738
13739         * BufferView_pimpl.C: try the anon namespace.
13740         * WorkArea.C: ditto
13741
13742 2001-03-16  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13745         otherwise it won't open options-dialogs.
13746
13747         * buffer.C: honor pextraWidth(p) on converting minipages.
13748
13749         * tabular.C (l_getline): changed the functions to strip trailing \r.
13750
13751 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * BufferView_pimpl.C:
13754         * minibuffer..C: added "using SigC::slot" declaration.
13755
13756 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13757
13758         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13759
13760         * text2.C: ditto
13761
13762         * text.C: ditto
13763
13764         * paragraph.C: ditto
13765
13766         * lyxtext.h: NO_PEXTRA
13767
13768         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13769
13770         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13771         * ParameterStruct.h: ditto
13772         * ParagraphParameters.h: ditto
13773         * lyxparagraph.h: ditto
13774
13775 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13776
13777         * buffer.C: add compability for minipage alignment.
13778         (latexParagraphs): remove unwanted pextra check.
13779
13780         * several files: remove CXX_WORKING_NAMESPACES
13781
13782         * buffer.C (pop_tag): tie is in namespace boost
13783
13784         * BufferView.h: noncopyable is in namespace boost
13785         * lyxlex.h: ditto
13786         * lyx_main.h: ditto
13787         * lyx_gui.h: ditto
13788         * layout.h: ditto
13789         * lastfiles.h: ditto
13790         * bufferlist.h: ditto
13791         * ShareContainer.h: ditto
13792         * LyXView.h: ditto
13793         * LyXAction.h: ditto
13794         * LaTeX.h: ditto
13795
13796 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * Merging changes from BRANCH_MVC back into HEAD.
13799
13800         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13801
13802 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * BufferView_pimpl.C: change from intl.C
13805
13806         * combox.h:
13807         * combox.C:
13808         * Makefile.am: move combox.*
13809
13810         * form1.h:
13811         * form1.C:
13812         * lyx_gui.C:
13813         * intl.h:
13814         * intl.C: remove dialog (covered by prefs)
13815
13816 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * lyxfunc.C (Dispatch): removed redundant break statement.
13819
13820 2001-03-14  Juergen Vigna  <jug@sad.it>
13821
13822         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13823
13824 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13825
13826         * buffer.C: add hack to fix compability reading of minipages.
13827
13828 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13829
13830         * buffer.C (getLists): Cleanup.
13831
13832 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13833
13834         * lyxfont.C (update): don't honor toggleall on font size.
13835
13836 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * bmtable.c:
13839         * bmtable.h:
13840         * Makefile.am: moved to frontends/xforms/
13841
13842         * lyx_gui_misc.C:
13843         * lyxfunc.C:
13844         * BufferView_pimpl.C: changes for moved mathpanel
13845
13846 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * gettext.h: fix gettext_init() in --disable-nls
13849
13850 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13853
13854 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * lyx.C:
13857         * lyx.h: strip external form
13858
13859 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13860
13861         * BufferView_pimpl.C: add comment, destroySplash()
13862
13863 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * BufferView_pimpl.C:
13866         * LyXAction.C:
13867         * buffer.C:
13868         * commandtags.h:
13869         * lyxfunc.C: use re-worked insetinclude
13870
13871 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13872
13873         * buffer.C: add using std::stringstream.
13874
13875         * lyx_cb.C: readd using std::ios.
13876
13877         * buffer.C: add using std::map.
13878
13879         * BufferView_pimpl.C: add using std::vector.
13880
13881         * ShareContainer.h: add std:: to swap.
13882
13883         * buffer.h: add some typedefs
13884         * buffer.C (getLists): use them
13885         (getLists): renamed from getTocList.
13886         add a counter for the different float types and use it in the
13887         generated string.
13888         (getLists): use the same counter for the NEW_INSETS and the "non"
13889         NEW_INSETS
13890
13891         * lyx_cb.h: remove unused items, includes, using etc.
13892
13893         * ShareContainer.h: remove some commented code, add more comments
13894         and "documentation".
13895
13896 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13897
13898         * buffer.C (getTocList): make the list also when NEW_INSETS is
13899         defined.
13900
13901         * buffer.h: remove TocType
13902
13903         * buffer.C (getTocList): change to return a map<string,
13904         vector<TocItem> >, implement for dynamic number of list.
13905
13906         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13907         * text2.C (PasteSelection): adjust
13908         * CutAndPaste.C (pasteSelection): adjust
13909
13910         * FloatList.C (FloatList): update from the new_insets branch.
13911         * Floating.[Ch]: ditto
13912         * LaTeXFeatures.C: ditto
13913         * buffer.C: ditto
13914         * lyxlex_pimpl.C: ditto
13915
13916         * paragraph.C (Last): remove when NEW_INSETS is defined.
13917
13918         * other file: changes because of the above.
13919
13920 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13921
13922         * lyxparagraph.h: rename next to next_, previous to previous_,
13923         make them private for NEW_INSETS. Rename Next() to next(),
13924         Previous() to previous().
13925
13926         * other files: changes because of the above.
13927
13928 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13929
13930         * BufferView.h:
13931         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13932         problem.
13933
13934 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * main.C (main): pass lyx_localedir to gettext_init().
13937
13938         * gettext.h: remove locale_init and gettext_init macros
13939
13940         * gettext.C (locale_init): new function
13941         (gettext_init): new function
13942
13943         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13944         setlocale().
13945
13946 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13947
13948         * Moved credits to frontends:
13949         * credits.[Ch]: removed
13950         * credits_form.[Ch]: removed
13951         * lyx_gui_misc.C: remove credits stuff
13952         * Makefile.am:
13953
13954 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13955
13956         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13957
13958         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13959         unneeded destructor.
13960
13961         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13962         a standalone pointer again.
13963
13964         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13965
13966 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13967
13968         * Makefile.am:
13969         * filedlg.h:
13970         * filedlg.C:
13971         * LyXAction.C:
13972         * ToolbarDefaults.C:
13973         * bufferlist.C:
13974         * commandtags.h:
13975         * form1.C:
13976         * form1.h:
13977         * lyx_cb.C:
13978         * lyx_cb.h:
13979         * lyxfunc.h:
13980         * lyxfunc.C:
13981         * BufferView_pimpl.C: use new file dialog in GUII
13982
13983         * lyx_cb.h:
13984         * lyx_cb.C: remove LayoutsCB to Toolbar
13985
13986 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * ShareContainer.h (get): add std:: qualifier
13989
13990 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * ShareContainer.h: define a proper ShareContainer::value_type
13993         type (and use typename to please compaq cxx)
13994
13995 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13996
13997         * lyxparagraph.h: move serveral local vars to
13998         ParameterStruct/ParagraphParameters., use ShareContainer in
13999         FontTable., make vars in FontTable private and add getter and
14000         setter.
14001
14002         * paragraph.C: changes because of the above.
14003
14004         * lyxfont.h: remove copy constructor and copy assignment. (the
14005         default ones is ok), move number inside FontBits. move inlines to
14006         lyxfont.C
14007
14008         * lyxfont.C: add number to initializaton of statics, move several
14009         inlines here. constify several local vars. some whitespace
14010         cleanup. Dont hide outerscope variables.
14011
14012         * Spacing.h: add two new constructors to match the set methods.
14013
14014         * ShareContainer.h: new file, will perhaps be moved to support
14015
14016         * ParameterStruct.h: new file
14017
14018         * ParagraphParameters.h: new file
14019
14020         * ParagraphParameters.C: new file
14021
14022         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14023         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14024
14025         * BufferView_pimpl.C: ParagraphParameter changes.
14026         * buffer.C: Likewise.
14027         * bufferview_funcs.C: Likewise.
14028         * text.C: Likewise.
14029         * text2.C: Likewise.
14030
14031 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14032
14033         * lyxfind.C (LyXReplace): do not redefine default argument in
14034         implementation.
14035         (IsStringInText): ditto
14036         (SearchForward): ditto
14037         (SearchBackward): ditto
14038
14039 2001-03-06  Juergen Vigna  <jug@sad.it>
14040
14041         * lyxfind.C (IsStringInText): put parentes around expressions.
14042
14043 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14044
14045         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14046
14047 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14050
14051         * stl_string_fwd.h: add comment
14052
14053         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14054
14055         * tabular.h:
14056         * tabular.C: remove unused DocBook methods
14057
14058         * intl.C:
14059         * language.C:
14060         * paragraph.C:
14061         * buffer.C:
14062         killed DO_USE_DEFAULT_LANGUAGE
14063
14064 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * lyx_gui.C: do not include language.h.
14067
14068         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14069         arguments in function implementation.
14070
14071 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14072
14073         * BufferView_pimpl.C: add <ctime>
14074
14075 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14076
14077         * BufferView_pimpl.C: add using std::find_if
14078
14079 2001-02-27  José Matos  <jamatos@fep.up.pt>
14080
14081         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14082         by OnlyPath.
14083
14084 2001-02-11  José Matos  <jamatos@fep.up.pt>
14085
14086         * buffer.C (makeDocBookFile): command styles now have a parameter as
14087         "title" by default.
14088
14089 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14090
14091         * layout_forms.[Ch]: removed
14092         * lyx_cb.[Ch]: out character
14093         * lyx_gui.C: out character
14094         * lyx_gui_misc.C: out character
14095         * bufferview_funcs.C: : out character,
14096         added toggleall as parameter in ToggleAndShow
14097
14098 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14101
14102         * text2.C (SetCurrentFont): Disable number property at boundary.
14103
14104 2001-02-26  Juergen Vigna  <jug@sad.it>
14105
14106         * lyxfunc.C (getStatus): added a string argument override function so
14107         that this is correctly called from LyXFunc::Dispatch if it contains a
14108         do_not_use_argument which is used!
14109         (Dispatch): added check for "custom" export and call appropriate func.
14110
14111 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * lyxrc.C: Add language_command_local, language_use_babel and
14114         language_global_options.
14115
14116         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14117
14118         * buffer.C (makeLaTeXFile): Use language_use_babel and
14119         language_global_options.
14120
14121 2001-02-23  Juergen Vigna  <jug@sad.it>
14122
14123         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14124         which works with LyXText and putted it inside BufferView. Here now we
14125         only call for that part the BufferView::Dispatch() function.
14126
14127         * BufferView.C (Dispatch): added.
14128
14129         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14130         functions which needs to use a LyXText over from LyXFunc.
14131         (MenuInsertLyXFile): added
14132         (getInsetByCode): added
14133         (moveCursorUpdate): added
14134         (static TEXT): added
14135
14136 2001-02-22  Juergen Vigna  <jug@sad.it>
14137
14138         * BufferView_pimpl.C (update): call a status update to see if LyXText
14139         needs it.
14140
14141 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14142
14143         * vc-backend.C (revert): implement for CVS
14144         (getLog): implement for CVS
14145
14146 2001-02-20  Juergen Vigna  <jug@sad.it>
14147
14148         * text2.C (ClearSelection): added BufferView param for inset_owner call
14149
14150         * lyxfunc.C (TEXT): added this function and use it instead of
14151         directly owner->view()-text of getLyXText().
14152
14153 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14154
14155         * src/layout_forms.C: out preamble
14156         * src/layout_forms.h: out preamble
14157         * src/lyx_cb.C: out preamble
14158         * src/lyx_cb.h: out preamble
14159         * src/lyx_gui.C: out preamble
14160         * src/lyx_gui_misc.C: out preamble
14161         * src/lyxfunc.C: connect with guii preamble
14162
14163 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14166
14167 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14170         whether to run bibtex.
14171
14172 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14175
14176 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14177
14178         * Makefile.am (lyx_SOURCES): removed bibforms.h
14179
14180         * vspace.h: doxygen
14181
14182         * text.C (GetVisibleRow): make several local vars const
14183
14184         * tabular.C: small cleanup.
14185
14186         * lyxserver.C (callback): use compare instead of strncmp
14187
14188         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14189         inlines to after class or to paragraph.C
14190
14191         * lyxfont.h: remove friend operator!=
14192
14193         * converter.h: move friend bool operator< to non friend and after
14194         class def.
14195
14196         * combox.h: small cleanup
14197
14198         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14199         to inlines after class def.
14200
14201         * buffer.C (pop_tag): use string operations instead of strcmp
14202
14203         * bmtable.c: doxygen, small cleanup
14204
14205         * LaTeX.h: remove friend operator==
14206
14207 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14208
14209         * screen.C:
14210         * lyxrc.[Ch]:
14211         * lyxfunc.C:
14212         * lyxfont.[Ch]:
14213         * lyx_cb.C:
14214         * intl.[Ch]:
14215         * commandtags.h:
14216         * buffer.C:
14217         * WorkArea.[Ch]:
14218         * LyXAction.C:
14219         * BufferView_pimpl.C:
14220         * BufferView.[Ch]: remove cruft
14221
14222 2001-02-14  Juergen Vigna  <jug@sad.it>
14223
14224         * lyxfunc.C: removed #if 0 unused code
14225
14226         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14227
14228         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14229
14230         * text2.C (SetSelection): added a BufferView * parameter
14231
14232 2001-02-13  Juergen Vigna  <jug@sad.it>
14233
14234         * lyxfunc.C (Dispatch): fixed protected blank problem.
14235         * BufferView2.C (protectedBlank): added LyxText * parameter.
14236
14237         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14238         (AppendColumn): same as above for column_info.
14239
14240         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14241         (moveCursorUpdate): use a LyXText param for support of InsetText.
14242
14243         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14244         (tripleClick): ditto
14245
14246         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14247
14248         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14249
14250         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14251
14252         * text2.C (SetSelection): set correct update status if inset_owner
14253         (ToggleFree): ditto
14254
14255 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14256
14257         * tabular.C: remove some commented code.
14258
14259 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * BufferView_pimpl.C: call hideSplash()
14262
14263         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14264
14265         * include_form.h:
14266         * bibforms.h: remove
14267
14268         * lyxfunc.C:
14269         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14270           add LFUN_CHILD_CREATE
14271
14272         * counters.h: fix tiny typo
14273
14274         * lyx_cb.C:
14275         * lyx.h:
14276         * lyx_gui.C:
14277         * lyx.C: move splash to frontends/xforms/
14278
14279         * lyx_gui_misc.C: move Include and Bibform to frontends
14280
14281         * lyxvc.h: clarify comment
14282
14283         * vspace.C: tiny housekeeping
14284
14285 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14286
14287         * text.C (PrepareToPrint): RTL Fix.
14288
14289         * paragraph.C (GetUChar): New method.
14290         (String):  Use GetUChar.
14291
14292         * buffer.C (asciiParagraph): Use GetUChar.
14293
14294 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14295
14296         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14297
14298 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14299
14300         * buffer.h:
14301         * buffer.C: rename to getLogName(), handle
14302           build log / latex log nicely
14303
14304 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * MenuBackend.C:
14307         * MenuBackend.h: remove support for reference menuitem type.
14308
14309 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * BufferView_pimpl.C: housekeeping
14312         * BufferView_pimpl.h:
14313         * LyXView.h:
14314         * Makefile.am:
14315         * Timeout.C:
14316         * Timeout.h:
14317         * minibuffer.h: move Timeout GUI-I
14318
14319 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * lyxrc.C (read): Update converters data-structures.
14322
14323 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14324
14325         * LaTeX.h (operator!=): add operator != for Aux_Info
14326
14327 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14330
14331         * LaTeXLog.C: deleted, useful code moved to Buffer
14332
14333         * buffer.h:
14334         * buffer.C: new function getLatexLogName()
14335
14336         * lyx_gui_misc.C:
14337         * lyx_gui.C:
14338         * lyxvc.C:
14339         * lyxvc.h:
14340         * lyxfunc.C: use frontends for LaTeX and VC logs
14341
14342 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * LaTeX.h: yet another std:: that Allan forgot.
14345
14346         * Variables.C (set): renamed from isset(), because this clashes
14347         with some HP-UX macros (grr).
14348
14349 2001-02-06  Allan Rae  <rae@lyx.org>
14350
14351         * LaTeX.h: Another bug fix.  Missing std:: this time.
14352
14353 2001-02-04  Allan Rae  <rae@lyx.org>
14354
14355         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14356         floats problem. I've left it commented out because it's not quite
14357         correct.  It should also test that the current object is a table or
14358         figure inset.  But I haven't gotten around to figuring out how to do
14359         that.  I *think* it'll be something like: "table" == inset.type()
14360
14361         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14362         bool.
14363
14364 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14367         all the citation/databases/styles in the auxilary file.
14368         (run): Rerun latex if there was a babel language error.
14369
14370 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * text.C (Backspace): Preserve the font when changing newline char
14373         with a space.
14374         (BreakParagraph): If the cursor is before a space, delete the space.
14375
14376         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14377
14378 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14379
14380         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14381         new argument (code).
14382         (ChangeCitationsIfUnique): New method.
14383
14384         * paragraph.C (GetPositionOfInset): Handle bibkey.
14385
14386 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * BufferView_pimpl.h: change type of Position::par_pos to
14389         LyXParagraph::size_type.
14390
14391 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14392
14393         * BufferView_pimpl.C (savePosition, restorePosition): Write
14394         messages to minibuffer.
14395
14396 2001-01-28  José Matos  <jamatos@fep.up.pt>
14397
14398         * buffer.C (makeDocBookFile): adds support for document language.
14399         A silly restriction on the name of LatexCommand types where removed.
14400         Added support for CDATA sections, allows to chars unescaped, used
14401         among others in code, to avoid escape < and >.
14402
14403 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14406         saved positions instrad of a stack. Furthermore, a position is
14407         stored using paragraph id/paragraph position.
14408
14409         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14410         Remove LFUN_REF_BACK.
14411
14412 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14413
14414         * converter.C (dvipdfm_options): New method.
14415
14416 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14417
14418         * vspace.C (isValidLength): Fix for empty input string.
14419
14420 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14421
14422         * LyXAction.C (init): change description of LFUN_FIGURE to
14423         "Insert Graphics"
14424
14425 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14426
14427         * LaTeX.C: add using directive
14428
14429 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14430
14431         * MenuBackend.C (expand): Fix the sorting of the formats.
14432
14433 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * lyx_main.C: tiny error message fix
14436
14437 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14438
14439         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14440         calling fl_initialize(). This fixes the problem with ',' as
14441         decimal separator in text files.
14442
14443 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14444
14445         * trans.C (process): Fix the keymap bug.
14446
14447 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14448
14449         * LaTeX.C (scanAuxFiles): New method. Provides support for
14450         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14451         (scanLogFile) Scan for "run BibTeX" messages.
14452
14453         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14454         OT1 font encoding. Also, load the aecompl package if the ae
14455         package is loaded.
14456
14457         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14458
14459 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * texrow.C (increasePos): turn two error messages into debug
14462         messages.
14463
14464 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14465
14466         * LaTeX.C (scanAux): Handle the \@input macro.
14467         (runBibTeX): Use scanAux().
14468
14469         * language.C (latex_options_): New field.
14470
14471         * LaTeXFeatures.C (getMacros): Add language macros.
14472
14473         * buffer.C (makeLaTeXFile): Small fix.
14474
14475 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14476
14477         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14478
14479         * text2.C: add a using directive.
14480
14481 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * BufferView2.C:
14484         * lyx_gui_misc.h:
14485         * lyxfr1.C:
14486         * lyxfunc.C: kill LyXBell.
14487
14488 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14489
14490         * text.C (IsBoundary): Remove the error message
14491
14492         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14493
14494         * lyxrc.C (setDefaults): Correct initialization value for
14495         font_norm_type.
14496
14497 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14498
14499         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14500         gotoError().
14501
14502         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14503         and GotoNextNote().
14504
14505         * src/LyXAction.C: Added reference-next.
14506
14507         * text.C (InsertChar): Use contains instead of strchr.
14508
14509         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14510
14511 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14512
14513         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14514         alignment commands (when needed).
14515
14516         * text.C (InsertChar): Add ':' to number separator chars.