]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
some integer type changes for inset unification
[lyx.git] / src / ChangeLog
1
2 2004-01-13  André Pönitz  <poenitz@gmx.net>
3
4         * textcursor.[Ch]:
5         * lyxtext.h: hide cursor and selection anchor behind accessor function
6
7         * BufferView.C:
8         * BufferView_pimpl.[Ch]:
9         * PosIterator.C:
10         * bufferview_funcs.C:
11         * cursor.h:
12         * lyxfind.C:
13         * lyxfunc.C:
14         * text.C:
15         * text2.C:
16         * text3.C:
17         * undo.C: adjust
18
19         * cursor.h:
20         * cursor_slice.[Ch]: some integer type changes for inset unification
21
22 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
23
24         * text2.C (undoSpan): add and use
25         * text.C (breakParagraph): use undoSpan (fix bug 578)
26         * lyxtext.h: adjust
27
28 2004-01-08  Angus Leeming  <leeming@lyx.org>
29
30         * BufferView_pimpl.C (MenuInsertLyXFile):
31         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
32         * lyxfunc.C (menuNew, open, doImport): 
33         FileFilterList change to the FileDialog open and save functions.
34
35 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * ShareContainer.h: make isEqual and isUnique adaptable
38
39         * CutAndPaste.C: make resetOwnerAndChanges adaptable
40
41 2004-01-07  Angus Leeming  <leeming@lyx.org>
42
43         * LyXAction.C:
44         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
45
46         * BufferView_pimpl.C (dispatch): act on these LFUNs.
47
48         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
49         functions replacing find, replace and replaceAll.
50
51         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
52         LFUN_WORDFIND(FORWARD|BACKWARD).
53
54 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * text.C (breakParagraph): remove an outdated #warning
57
58 2004-01-07  André Pönitz  <poenitz@gmx.net>
59
60         * lyxfind.C: somewhat clearer logic
61
62         * text.C: prevent crash in cursorX on unitialized row cache
63
64 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
65
66         * lyxcursor.[Ch] (operator>): add
67         * textcursor.C (selStart, selEnd): use std::min and std::max
68
69 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
70
71         * Chktex.C: include boost/format.hpp
72
73 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
74
75         * InsetList.C: replace functor MathcIt with adaptable functor
76         InsetTablePosLess
77         (insetIterator): modify accordingly
78
79         * BranchList.h: move the BranchNamesEqual functor here from...
80         * BranchList.C: ... to here
81
82         * BranchList.C: new BranchListEqual fuctor, use it. Remove
83         SameName and match.
84         (add): replace a finding loop with std::find_if.
85
86 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * output_docbook.C: moving LatexParam functionality into
89         .layout files
90
91 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * buffer.C: increment format to 229.
94
95 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
96
97         * LaTeXFeatures.C:
98         * lyx_sty.[Ch]: remove minipageindent_def
99
100         * LyXAction.C:
101         * factory.C:
102         * lfuns.h:
103         * lyxfunc.C:
104         * text3.C: remove LFUN_INSET_MINIPAGE
105
106 2003-12-28  Angus Leeming  <leeming@lyx.org>
107
108         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
109
110 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * text2.C (setParagraph): fix off-by-one crash
113
114 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
115
116         * output_docbook.C: header stuff for AGU
117
118 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * text2.C (redoCursor): remove
121         * text.C:
122         * text3.C:
123         * BufferView_pimpl.C: remove calls to redoCursor and
124         setCursor(cursor.par(), cursor.pos()) all around
125
126 2003-12-15  Angus Leeming  <leeming@lyx.org>
127
128         * buffer.C: up the format to 228.
129
130 2003-12-15  André Pönitz  <poenitz@gmx.net>
131
132         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
133         slices
134
135         * Makefile.am:
136
137         * BufferView_pimpl.C:
138         * cursor.[Ch]:
139         * lyxcursor.[Ch]:
140         * rowpainter.[Ch]:
141         * lyxtext.h:
142         * text.C:
143         * text2.C:
144         * text3.C: adjust
145
146 2003-12-15  Angus Leeming  <leeming@lyx.org>
147
148         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
149         than getFromGUIName to manipulate the color.
150
151 2003-12-14  Angus Leeming  <leeming@lyx.org>
152
153         * BranchList.[Ch]: minimize the API.
154         (Branch::getBranch, getColor): now return a 'const &'.
155         (Branch::setSelected) now returns a bool set to true if the
156         selection status changes.
157         (BranchList::clear, size, getColor, setColor, setSelected,
158         allBranches, allSelected, separator): removed.
159         (BranchList::find): new functions, returning the Branch with
160         the given name.
161         (BranchList::add, remove): return a bool indicating that
162         the operation was successful.
163
164         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
165         new InsetBranch::isBranchSlected member function.
166
167         * LColor.[Ch]: mimimize the API.
168         (fill): renamed as addColor and made private.
169         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
170         versions of these functions taking a string arg have been removed.
171
172         * bufferparams.C (readToken):
173         * lyxfunc.C (dispatch):
174         * lyxrc.C (read): changes due to the altered BranchList and
175         LColor APIs.
176
177         * factory.C (createInset, readInset): changes due to altered
178         InsetBranch c-tor.
179
180 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * factory.C:
183         * lyxfunc.C: remove insetminipage. "minipage-insert"
184         now produces a frameless minipage box inset.
185
186 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
187
188         * textcursor.[Ch] (selStart,selEnd): add new methods
189         remove selection::start, end, use LyXCursor::operator<
190         * lyxcursor.[Ch] (operator<): add
191         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
192         * BufferView.[Ch] (unsetXSel): add
193         * text2.C (clearSelection): use unsetXSel,adjust
194         * text.C: adjust
195         * text3.C: adjust
196         * rowpainter.C: adjust
197         * bufferview_funcs.C (put_selection_at): adjust
198
199 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
200
201         * BufferView_pimpl.C: small coord. correction
202
203 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
204
205         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
206         dragging over the splash screen.
207
208 2003-12-11  Angus Leeming  <leeming@lyx.org>
209
210         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
211         as it is now handled in LyXText::dispatch.
212
213         * text3.C (doInsertInset): remove a level of nesting.
214
215 2003-12-11  Angus Leeming  <leeming@lyx.org>
216
217         * factory.C (createInset): changes due to the changed interface to
218         InsetCommandMailer::string2params.
219
220 2003-12-10  Angus Leeming  <leeming@lyx.org>
221
222         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
223         'dialog-show-new-inset <inset name>'
224
225 2003-12-10  Angus Leeming  <leeming@lyx.org>
226
227         * buffer.C: up the format to 227.
228
229         * factory.C: the box inset is now identified simply by 'Box'.
230
231 2003-12-10  Angus Leeming  <leeming@lyx.org>
232
233         * buffer.C: up the format to 226.
234
235         * factory.C: the note inset is now identified simply by 'Note'.
236
237 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
238
239         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
240         when a pit is enough. Standarize a couple of loops.
241
242 2003-12-05  Angus Leeming  <leeming@lyx.org>
243
244         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
245         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
246         data to the re-worked "log" dialog.
247
248 2003-12-03  André Pönitz  <poenitz@gmx.net>
249
250         * PosIterator.C:
251         * iterators.C:
252         * lyxtext.h:
253         * output_latex.C:
254         * paragraph_funcs.C:
255         * text.C:
256         * text2.C: use Inset::getText instead of Inset::getParagraph
257
258 2003-12-03  André Pönitz  <poenitz@gmx.net>
259
260         * buffer.[Ch]:
261         * lyxtext.h:
262         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
263         InsetText::read() as LyXText::read()
264
265 2003-12-02  Angus Leeming  <leeming@lyx.org>
266
267         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
268         type. Add a comment in the implementation that the function uses
269         the stream's bad() function rather than fail() as the std::streams
270         would do.
271
272 2003-12-02  André Pönitz  <poenitz@gmx.net>
273
274         * lyxlex.[Ch]: make interface more similar to std::stream
275
276         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
277
278 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
281
282 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
283
284         * vspace.[Ch]: remove VSpace::NONE
285
286 2003-12-01  André Pönitz  <poenitz@gmx.net>
287
288         * buffer.[Ch]:
289         * lyxtext.h: move ParagraphList member to LyXText
290         rename LyXText::ownerParagraphs to LyXText::paragraph
291
292         * CutAndPaste.C:
293         * bufferview_funcs.C:
294         * iterators.[Ch]:
295         * lyx_cb.C:
296         * paragraph.C:
297         * rowpainter.C:
298         * tabular.C:
299         * text.C:
300         * text2.C:
301         * text3.C: adjust
302
303         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
304
305         * undo.C: fix cursor positioning
306
307 2003-12-01  John Levon  <levon@movementarian.org>
308
309         * BufferView_pimpl.C: fix a crash on exit with
310         a buffer open
311
312 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * BranchList.C: fix setSelected() method.
315
316 2003-11-28  André Pönitz  <poenitz@gmx.net>
317
318         * ParagraphParameters.[Ch]:
319         * ParameterStruct.h: remove space above/below from Paragraph to
320          InsetVSpace
321
322         * BufferView_pimpl.C:
323         * factory.C:
324         * lyxfunc.C:
325         * lyxtext.h:
326         * output_latex.C:
327         * paragraph.C:
328         * paragraph_funcs.C:
329         * rowpainter.[Ch]:
330         * text.C:
331         * text2.C:
332         * text3.C: adjust
333
334 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * factory.C: Syntax change for CharStyles
337
338 2003-11-28  André Pönitz  <poenitz@gmx.net>
339
340         * BufferView.[Ch]:
341         * BufferView.[Ch]:
342         * buffer.[Ch]:
343         * buffer.[Ch]: move LyXText member
344
345 2003-11-28  André Pönitz  <poenitz@gmx.net>
346
347         * BufferView.[Ch]: make LyXText * text a private member
348
349         * BufferView_pimpl.C:
350         * cursor.C:
351         * iterators.C:
352         * lyx_cb.C:
353         * lyxfind.C:
354         * lyxtext.h:
355         * rowpainter.[Ch]:
356         * text.C:
357         * text2.C:
358         * undo.C: adjust
359
360         * output_plaintext.C: cleanup
361
362 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * buffer.C:
365         * lyxtextclass.[Ch]: parametrize SGML document header
366
367 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * converter.[Ch]:
370         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
371         getFlavor().
372
373 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * text2.C (setFont): rework using PosIterator (no more recursive)
376         (setCharFont): no more needed
377         (setLayout): no more selection cursors fiddling (done by redoCursor)
378         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
379         destroy remaining ones)
380
381 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
382
383         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
384         * lyxtext.h: ditto
385         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
386         selection cursors
387         * lyxfunc.C: adjust
388         * text3.C: adjust + re-allow multi par depth changes
389         * textcursor.C: simplify a bit
390
391 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * src/buffer.C:
394         * src/lyxlayout.C:
395         * src/lyxlayout.h:
396         * src/lyxtext.h:
397         * src/output_docbook.C:
398         * src/output_latex.C:
399         * src/paragraph.C:
400         * src/paragraph.h:
401         * src/sgml.C:
402         * src/sgml.h:
403         * src/text2.C: Introducing a number of tags parametrizing various
404         XML formats that we may want to support
405
406 2003-11-25  André Pönitz  <poenitz@gmx.net>
407
408         * InsetList.[Ch] (begein, end): inline as suggested by profiler
409
410         * lyxtext.h (leftMargin/rightMargin): simplify interface
411
412         * rowpainter.C:
413         * text.C:
414         * text2.C:
415         * text3.C: adjust
416
417 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
418
419         * lyxfunc.C (dispatch): propogate the bibtex databases from the
420         master file to any child files. Fixes bug 546.
421
422 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
425
426 2003-11-24  André Pönitz  <poenitz@gmx.net>
427
428         * rowpainter.C: simplification
429
430         * text2.C (updateCounters): remove call to redoParagraph on
431         changed labels as this is far too expensive.
432
433 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * converter.C (convert): fix a crash: this function gets
436         called with buffer == 0 from importer code.
437
438 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
439
440         * text3.C (cursorPrevious): make sure that we do not compare
441         iterators form different containers.
442         (cursorNext): ditto
443
444         * rowpainter.C (paintSelection): make sure that we do not compare
445         iterators from different containers.
446
447         * text3.C (dispatch): [PRIOR] make sure that we do not compare
448         iterators from different ParagraphList containers.
449         [NEXT] ditto
450
451         * text2.C (LyXText): change order of initialization slightly
452         (operator=): new function. copy all variables except cache_par_
453         (moveUp): make sure that we do not compare iterators from
454         different ParagraphList constainers.
455         (moveDown): ditto
456
457         * text.C (firstPar): new function
458         (lastPar): new function
459         (endPar): new function
460
461         * lyxtext.h: move things around and group public functions, public
462         variables, private functions, private variables
463
464 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
465
466         * factory.C: change call to InsetERT constructor to avoid
467         additional invocation of method status
468         * text2.C (toggleInset): remove redundant update() call
469         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
470         instead of a Bufferview pointer
471
472 2003-11-21  André Pönitz  <poenitz@gmx.net>
473
474         * rowpainter.C: simplification
475
476 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text3.C (dispatch): make possible to extend a word/row selection
479         with the mouse
480
481 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
482
483         * lyxtext.h: x0_,y0_ -> xo_,yo_
484         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
485         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
486         * rowpainter.C (paintRows): paint full paragraphs
487
488 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
491         screen coordinates)
492
493 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * lyxtext.h: add x0_, y0_
496         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
497         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
498
499 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
500
501         * text2.C (setCursorIntern): move the x_target update here *
502         * text3.C: change some bv() to true/false in calls to
503         cursorUp/Down/Right/Left
504         * cursor.C: use helper function.
505
506 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
509         * paragraph_funcs.[Ch]: correct comment
510         * rowpainter.C: do not paint selections away from bv->cursor()
511         Fix a long standing selection painting bug.
512         * text3.C: generalize mouse-selection code to LyXTexts other that
513         top one
514         * textcursor.C: do not use y coords if we can use par offsets
515
516 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
517
518         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
519         cursor position after e.g. inset insert)
520
521 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
522
523         * lyxfind.C (replace): adjust to locking removal + some
524         code simplification
525
526 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
529         of the path
530
531 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * lyxlayout.[Ch]:
534         * output_docbook.C: XML sanitation: new layout
535         parameters InnerTag and CommandDepth
536
537 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
538
539         * BufferView_pimpl.C:
540         * factory.C:
541         * text3.C: Fix the insertion and modification of button-style
542         insets
543
544 2003-11-13  André Pönitz  <poenitz@gmx.net>
545
546         * InsetList.[Ch]: remove deleteLyXText
547
548         * paragraph.[Ch]: cache beginOfBody position
549
550         * Bidi.C:
551         * text.C:
552         * text2.C:
553         * text3.C: remove superfluous update() calls
554
555         * vspace.C: cleanup
556
557 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
558
559         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
560         * BufferView.C (fitLockedInsetCursor): remove
561         * cursor.[Ch] (getDim): add
562         * text.C (getRowNearY): add faster version
563         * text3.C: remove some update calls
564
565 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
566
567         * LaTeXFeatures.C:
568         * LyXAction.C:
569         * MenuBackend.C:
570         * MenuBackend.h:
571         * dispatchresult.h:
572         * factory.C:
573         * lfuns.h:
574         * lyxfunc.C:
575         * lyxtextclass.C:
576         * lyxtextclass.h:
577         * text3.C: The Character Style /XML short element patch.
578
579 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
580
581         * text3.C:
582         * factory.C: Small step to solving 'unable to insert some insets'
583         problem
584
585 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * cursor.[Ch] (updatePos): new function for updating the y
588         position of the tip inset
589         * bufferview_funcs.C (put_selection_at):
590         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
591
592 2003-11-11  André Pönitz  <poenitz@gmx.net>
593
594         * text.C: remove big comment on invalid Paragraph pointers as it is
595         not valid anymore
596
597 2003-11-11  André Pönitz  <poenitz@gmx.net>
598
599         * text_funcs.[Ch]: merge with ...
600
601         * text.C: ... this
602
603         * lyxtext.h:
604         * text2.C:
605         * text3.C: adjust
606
607         * Makefile.am: remove text_funcs.[Ch]
608
609 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
610
611         * cursor.C (getPos): return absolute cached y coord
612
613         * BufferView_pimpl.C (fitCursor): new simplistic code
614         (workAreaDispatch): add a fitCursor call
615
616 2003-11-10  André Pönitz  <poenitz@gmx.net>
617
618         * BufferView.[Ch]:
619         * BufferView_pimpl.[Ch]: merge update() and updateInset()
620
621 2003-11-10  André Pönitz  <poenitz@gmx.net>
622
623         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
624         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
625         indicate that the cursor needs to leave an inset
626
627         * lyxtext.h: remove inset locking
628
629         * cursor.[Ch]: re-implement functionality provided by inset locking
630
631         * BufferView.[Ch]:
632         * BufferView_pimpl.[Ch]:
633         * LyXAction.C:
634         * bufferview_funcs.[Ch]:
635         * factory.C:
636         * funcrequest.[Ch]:
637         * iterators.C:
638         * lyx_cb.C:
639         * lyxfind.C:
640         * lyxfunc.C:
641         * text.C:
642         * text2.C:
643         * text3.C:
644         * undo.C: adjust
645
646 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
647
648         * PosIterator.[Ch]: replace the stack with a vector, add inset
649         accesor
650         * iterators.[C]: adjust
651
652 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
653
654         * lyxfind.C (replaceAll): mark the buffer dirty if something was
655         replaced
656         * paragraph_funcs.C (readParToken): put the correct id in the
657         error item, not the id of the top paragraph
658
659 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
660
661         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
662         * bufferview_funcs.C (put_selection_at): use the above
663
664 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
665
666         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
667
668 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * output_linuxdoc.h:
671         * output_plaintext.h:
672         * output.h:
673         * output_docbook.h: add #include statements
674
675 2003-11-05  José Matos  <jamatos@lyx.org>
676
677         * output_docbook.[Ch]:
678         * output_latex.[Ch]:
679         * output_linuxdoc.[Ch]:
680         * output_plaintext.[Ch]: New files for output formats.
681         * output.[Ch]: New file for helper functions.
682
683         * buffer.[Ch]:
684         * paragraph_funcs.[Ch]: output functions moved to new files.
685
686         * outputparams.h: rename of latexrunparams.h
687
688         * LaTeX.[Ch]:
689         * buffer.[Ch]:
690         * bufferlist.[Ch]:
691         * converter.[Ch]:
692         * exporter.C:
693         * paragraph.[Ch]:
694         * paragraph_funcs.[Ch]:
695         * paragraph_pimpl.[Ch]:
696         * tabular.[Ch]: rename ascii to plaintext
697         and LatexRunParams to OutputParams.
698
699 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
700
701         * iterators.[Ch] (text): require bv argument
702         * undo.C (recordUndo):
703         * lyxfunc.C (dispatch):
704         * bufferview_funcs.C (put_selection_at): adjust
705
706 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
707
708         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
709
710 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
711
712         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
713         nestings
714
715 2003-11-04  André Pönitz  <poenitz@gmx.net>
716
717         * cursor.[Ch]: restructure
718
719         * BufferView.[Ch]:
720         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
721
722         * iterators.[Ch] (asCursor): remove
723
724         * lfuns.h: remove LFUN_INSET_EDIT
725
726         * lyxfunc.C:
727         * tabular.C:
728         * text.C:
729         * text2.C:
730         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
731
732 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
733
734         * lyxfind.[Ch]: complete overhaul
735         * BufferView_pimpl.C:
736         * lyxfunc.C: adjust
737         * paragraph.[Ch] (insert): add
738
739 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
740
741         * BufferView.[Ch]:
742         * lyxtext.h:
743         * text.C: remove dead spellcheck code
744
745 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
746
747         * dispatchresult.h: add a val setter
748
749         * cursor.C (dispatch): use a tempvar for data_[i]
750
751 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
752
753         * PosIterator.[Ch]: compile fix
754
755 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
756
757         * text.C (cursorPar): deactivate the cursor cache
758
759 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
760
761         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
762
763 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
764
765         * text3.C (dispatch): adjust for new DisptchResult semantics.
766
767         * lyxfunc.C (dispatch): handle update when return from
768         Cursor::dispatch, adjust for new DispatchResult semantics.
769
770         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
771         DispatchResult(true) mean to not update. Add class functions for
772         setting dispatched and update, as well as reading.
773
774         * cursor.C (dispatch): don't handle update here
775
776 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
777
778         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
779         * trans_mgr.C: adjust
780
781         * paragraph_funcs.C (readParToken): exception safety
782
783         * lyxvc.h: store the vcs pointer in a scoped_ptr
784         * lyxvc.C: adjust
785
786         * lyxsocket.C (serverCallback): exception safety
787
788         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
789
790         * ispell.C (clone): make it return a auto_ptr
791
792         * factory.C (createInset): exception safety
793         (readInset): exception safety
794
795         * bufferlist.C (newBuffer): exception safety
796
797         * Thesaurus.C (Thesaurus): use initialization for aik_
798
799         * MenuBackend.C (expandToc): exception safety.
800
801 2003-11-03  André Pönitz  <poenitz@gmx.net>
802
803         * buffer.C:
804         * buffer.h:
805         * bufferview_funcs.C: remove getInsetFromId()
806
807         * lyxcursor.[Ch]:
808         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
809
810         * lyxfunc.C:
811         * text2.C:
812         * text3.C: adjust
813
814 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
815
816         * PosIterator.C (distance, advance): new
817         * bufferview_funcs.[Ch] (put_selection_at): new
818         * iterators.[Ch] (lockPath): new
819
820 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
821
822         * iterators.[Ch] (asPosIterator): added
823         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
824         * PosIterator.[Ch]: added
825
826 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
827
828         * text3.C:
829         * lyxfunc.C:
830         * cursor.C (dispatch):
831         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
832
833         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
834         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
835         contructor, add a class function dispatched. Remove operator>=
836
837 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
838
839         * debug.C: only use the default constructor for debugstream
840         (lyxerr) here.
841
842         * main.C (main): include debug.h and setup the lyxerr streambuf
843         here.
844
845 2003-10-31  José Matos  <jamatos@lyx.org>
846
847         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
848
849         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
850         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
851         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
852         * paragraph_pimpl.C (simpleTeXSpecialC):
853         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
854         add LatexRunParams argument.
855
856         * exporter.C (Export): change call accordingly.
857
858         * latexrunparams.h: add new member to take care of the other backends.
859 2003-10-30  José Matos  <jamatos@lyx.org>
860
861         * buffer.C (makeLinuxDocFile, makeDocBookFile):
862         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
863         factorise code for paragraph output.
864         * buffer.[Ch]:
865         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
866         move functions.
867
868 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * text3.C (dispatch):
871         * lyxfunc.C (dispatch):
872         * cursor.C (dispatch):
873         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
874
875         * dispatchresult.h: make the dispatch_result_t ctor explicit
876
877 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
878
879         * sgml.[Ch]:
880         * buffer.C: small refactoring of docbook stuff
881
882 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
883
884         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
885         meaning.
886
887 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
888
889         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
890         operator dispatch_result_t, and operators for == != and >=
891
892         * cursor.C (dispatch): adjust for operator dispatch_result_t
893         removal. comment out call to update
894
895         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
896
897 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
898
899         * text3.C:
900         * text2.C:
901         * text.C:
902         * lyxtext.h:
903         * lyxfunc.C:
904         * cursor.C:
905         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
906         (dispatch):
907
908         * dispatchresult.h: new file, DispatchResult broken out of
909         insets/insetbase.h
910
911         * Makefile.am (lyx_SOURCES): add dispatchresult.h
912
913 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
914
915         * text.C (rowBreakPoint): put a hack inside #if 0
916
917 2003-10-28  André Pönitz  <poenitz@gmx.net>
918
919         * lyxtext.h:
920         * metricsinfo.C:
921         * paragraph_funcs.C:
922         * rowpainter.C:
923         * text.C:
924         * text2.C: general cleanup (lots of small stuff)
925
926 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
927
928         * text2.C (cursorEnd): simple fix to the "end key goes to one
929         before the end on last row" bug
930
931 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
932
933         * text.C (backspace): fix the "zombie characters"
934
935 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
936
937         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
938
939 2003-10-27  André Pönitz  <poenitz@gmx.net>
940
941         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
942
943         * factory.C: handle new InsetPagebreak, InsetLine
944
945         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
946         and move handling into new InsetPagebreak, InsetLine
947
948         * BufferView_pimpl.C:
949         * LyXAction.C:
950         * ParagraphParameters.C:
951         * ParameterStruct.h:
952         * lyxfunc.C:
953         * lyxtext.h:
954         * paragraph.C:
955         * paragraph.h:
956         * paragraph_funcs.C:
957         * paragraph_pimpl.C:
958         * rowpainter.C:
959         * text.C:
960         * text2.C:
961         * text3.C: adjust
962
963 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
964
965         * text.C:
966         * lyxrow_funcs.[Ch]:
967         * Bidi.C:
968         * paragraph.C:
969         * lyxtext.h:
970         * rowpainter.C:
971         * text2.C:
972         * text3.C: remove lastPos uses in favour of Row::endpos
973
974 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
975
976         * undo.C (performUndoOrRedo): fix two crashes by setting a
977         cursor by hand and reordering some calls. Use bv->lockInset instead
978         of inset->edit because the latter loses cursor information
979
980 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
981
982         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
983         by Martin
984         (rowBreakPoint): fix width. change point to point + 1.
985         Add a missing check.
986
987 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
988
989         * MenuBackend.C:
990         * lyxfunc.C: fix (at least partly) the problems
991         with the Nav menu and headers inside branch insets
992         reported by Kayvan
993
994 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
995
996         * paragraph.C (getChar): add strong asserts
997
998         * lyxrow_funcs.C (lastPos): remove hideous hack
999
1000         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1001         (fill): adjust to that (avoid an infinite loop)
1002
1003 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1004
1005         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1006
1007 2003-10-23  André Pönitz  <poenitz@gmx.net>
1008
1009         * RowList_fwd.h: change list<> to vector<> to gain speed
1010         after suggestion from Alfredo
1011
1012 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1013
1014         * lyxtext.h: move the bidi stuff from here...
1015         * text.C: and here
1016         * text2.C: and here
1017         * Bidi.[Ch]: ... to here
1018
1019 2003-10-23  André Pönitz  <poenitz@gmx.net>
1020
1021         * lyxtext.h:
1022         * text.C (isLastRow, isFirstRow): new functions
1023
1024         * paragraph.h: new width cache member
1025
1026         * rowpainter.C: replace RowList::iterator with Row & where possible
1027
1028         * lyxfunc.C: replace several view()->text with a single call
1029
1030         * toc.C: fix 'unused' warning
1031
1032 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1033
1034         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1035         when woring with stream::pos_type
1036         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1037
1038 2003-10-22  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxtext.h:
1041         * text.C: use Row & instead of RowList::iterator
1042
1043         * lyxrow.h: rename end() to endpos()
1044
1045         * rowpainter.C:
1046         * text.C:
1047         * text2.C: adjust
1048
1049 2003-10-22  Angus Leeming  <leeming@lyx.org>
1050
1051         * buffer.[Ch] (fully_loaded): new member function, returning true
1052         only when the file has been loaded fully.
1053         Used to prevent the premature generation of previews and by the
1054         citation inset to prevent computation of the natbib-style label.
1055
1056         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1057         templates are all set up.
1058
1059         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1060
1061 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * text.C: fixed an "oops" in the "is a bit silly"
1064         bug fix
1065
1066 2003-10-21  André Pönitz  <poenitz@gmx.net>
1067
1068         * FuncStatus.[Ch]: small stuff, whitespace
1069
1070         * lyxfont.[Ch]: operator<<() for debug reasons
1071
1072         * lyxfunc.C:
1073         * lyxrow_funcs.C:
1074         * lyxtext.h: whitespace, spelling
1075
1076         * paragraph.C: naming of variables
1077
1078         * text.C:
1079         * text2.C: small stuff
1080
1081
1082 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1083
1084         * text.C: (1) finish off the inset display() work;
1085         (2) fix the "is a bit silly" bug (accessing char
1086         past end of par).
1087
1088 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1089
1090         * text.C: re-introduce display() for insets, fixing the
1091         various bugs (stretch of line above, math inset
1092         positioning, ...)
1093
1094 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * text.C (rightMargin): remove spurious semicolon
1097
1098         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1099         1415)
1100
1101 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1102
1103         * text3.C: fix one crash due to wrong cursor def
1104
1105 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1106
1107         * vc-backend.C (scanMaster): make the regex static
1108
1109         * LaTeX.C (scanAuxFile): make the regexs static
1110
1111         * text3.C (doInsertInset, dispatch, dispatch):
1112         * text2.C (cursorUp, cursorDown):
1113         * text.C (selectNextWordToSpellcheck):
1114         * BufferView_pimpl.C (dispatch):
1115         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1116
1117 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * lyxsocket.C: include <cerrno>
1120
1121 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1122
1123         * lyxfunc.C (dispatch): remove textcache stuff
1124
1125         * bufferlist.C (release): remove textcache stuff
1126         (closeAll): ditto
1127
1128         * TextCache.C: delete file
1129         * TextCache.h: delete file
1130
1131         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1132
1133         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1134         delete of the bv_->text.
1135         (resizeCurrentBuffer): remove texcache stuff
1136         (workAreaResize): ditto
1137
1138 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1141         action.
1142
1143 2003-10-16  André Pönitz  <poenitz@gmx.net>
1144
1145         * lyxrow.[Ch]:
1146         * paragraph.h:
1147         * rowpainter.C:
1148         * text.C:
1149         * text2.C:
1150         * text3.C: speed up by storing y positions per paragraph plus per-row
1151         offset instead of having a 'full' y position in the row.
1152
1153 2003-10-15  André Pönitz  <poenitz@gmx.net>
1154
1155         * iterators.[Ch]:
1156         * iterators.[Ch]:
1157         * undo.[Ch]: make undo aware of inner insets
1158
1159 2003-10-14  Angus Leeming  <leeming@lyx.org>
1160
1161         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1162         static member functions LyX::ref() and LyX::cref.
1163         (lastfiles): new accessor functions for the new lastfiles_ member var.
1164         (addLyXView, views_): add a new LyXView to the list of views_.
1165         (updateInset): loop over all LyXViews to call their own updateInset
1166         member function, returning a pointer to the Buffer owning the inset.
1167
1168         * BufferView_pimpl.C (loadLyXFile):
1169         * MenuBackend.C (expandLastfiles):
1170         * bufferlist.C (MenuWrite, QuitLyX):
1171         lastfiles is no longer a global variable.
1172         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1173
1174         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1175         static function. Access through LyX::cref().emergencyCleanup().
1176
1177 2003-10-14  André Pönitz  <poenitz@gmx.net>
1178
1179         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1180
1181         * undo.[Ch]: restoring part of 'undo in insets'
1182
1183         * Makefile.am:
1184         * undo_funcs.[Ch]: merge with undo.[Ch]
1185
1186         * tabular.C: small cleansing stuff
1187
1188 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1189
1190         * paragraph_funcs.C (readParToken): report unknown insets as error
1191         boxes. Use the outer paragraph as location (also for unknown
1192         tokens).
1193
1194         * factory.C (readInset): do not abort on reading an unknown inset.
1195         Eat it and return 0.
1196
1197 2003-10-13  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1200
1201         * lyxrc.C: displayTranslator is now a function,
1202         declared in GraphicsTypes.h.
1203
1204 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1205
1206         * format.C: new placeholder $$a to pass the socket address.
1207
1208         * bufferlist.[Ch]: new function getBufferFromTmp.
1209
1210         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1211           files in the temporary dir.
1212
1213 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1214
1215         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1216
1217         * Makefile.am: add lyxsocket.[Ch].
1218
1219         * lyx_main.C (error_handler): handle SIGPIPE.
1220
1221 2003-10-13  André Pönitz  <poenitz@gmx.net>
1222
1223         * BufferView_pimpl.C:
1224         * lyxtext.h:
1225         * text.C:
1226         * text2.C:
1227         * text3.C:
1228         * undo_funcs.[Ch]: use paroffset_type instead of
1229           ParagraphList::iterators to prevent multiple conversion
1230           (and get a more robust interface)
1231
1232 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1235         * lyxtext.h: ditto
1236         * text3.C (dispatch): ditto
1237
1238 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1239
1240         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1241         move the onlyfile, use onlyfile instead of foundfile in a couple
1242         of places.
1243
1244         * DepTable.C (update): flush the error stream a bit more
1245
1246 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1247
1248         * lyxserver.C (callback): adjust
1249
1250         * lyxfunc.C (getStatus): add a missing brace in commented code
1251         (ensureBufferClean): reindent
1252         (dispatch): delete version taking a string
1253
1254 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1255
1256         * LaTeX.C (deplog): move found file handlig from here...
1257         (handleFoundFile): .. to new function here.
1258         (deplog): make sure to discover several files mentioned on the
1259         same log line.
1260
1261 2003-10-10  André Pönitz  <poenitz@gmx.net>
1262
1263         * lyxfunc.C:
1264         * lyxtext.h:
1265         * tabular.C:
1266         * text.C:
1267         * text2.C:
1268         * text3.C: fix some of the tabular crashes
1269
1270 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1271
1272         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1273
1274         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1275
1276 2003-10-09  André Pönitz  <poenitz@gmx.net>
1277
1278         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1279
1280         * BufferView.C:
1281         * BufferView_pimpl.C:
1282         * bufferview_funcs.C:
1283         * lyx_cb.C:
1284         * lyxcursor.C:
1285         * lyxfind.C:
1286         * lyxfunc.C:
1287         * lyxtext.h:
1288         * text.C:
1289         * text2.C:
1290         * text3.C:
1291         * text_funcs.[Ch]:
1292         * textcursor.[Ch]:
1293         * undo_funcs.C: adjust
1294
1295 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1296
1297         * text2.C (incrementItemDepth): new function, use a backtracking
1298         algorithm to discover the correct item depth.
1299         (resetEnumCounterIfNeeded): new function, use a backtracking
1300         algorithm to discover if counter reset is needed.
1301         (setCounter): use them. Simplify a bit. Add different labels for
1302         different item depths for itemize.
1303
1304         * paragraph.C (Paragraph): remove initialization of enumdepth
1305         (operator=): ditto
1306
1307         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1308         enumerate and itemize. Change the type of itemdepth to signed char.
1309
1310 2003-10-08  André Pönitz  <poenitz@gmx.net>
1311
1312         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1313           thing assignable.
1314         * text.C:
1315         * text2.C: adjust
1316
1317         * tabular.[Ch]: fix crash after 'row-insert'
1318
1319 2003-10-08  Angus Leeming  <leeming@lyx.org>
1320
1321         Fix doxygen warnings.
1322
1323         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1324         Remove CutAndPaste:: prefix from header file declaration.
1325
1326         * LColor.h (fill): remove LColor:: prefix from declaration.
1327
1328         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1329         use lyx::depth_type rather than Paragraph::depth_type so that
1330         header file and .C file match.
1331
1332         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1333
1334         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1335         * aspell.C: \file aspell_local.C -> \file aspell.C
1336         * gettext.C: \file gettext.C -> \file src/gettext.C
1337         * gettext.h: \file gettext.h -> \file src/gettext.h
1338         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1339         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1340         * text.C: \file text.C -> \file src/text.C
1341
1342         * toc.C: move comment so that doxygen is not confused.
1343
1344 2003-10-07  Angus Leeming  <leeming@lyx.org>
1345
1346         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1347
1348 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1349
1350         * aspell.C:
1351         * aspell_local.h: add forgotten std::string's.
1352
1353 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1354
1355         * LaTeXFeatures.C:
1356         * LyXAction.C:
1357         * factory.C:
1358         * lfuns.h:
1359         * lyxfunc.C:
1360         * text3.C: The Box patch. Fancybox support, minipage, parbox
1361
1362 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1363
1364         * CutAndPaste.h:
1365         * DepTable.h:
1366         * FloatList.h:
1367         * LaTeXFeatures.h:
1368         * ParagraphParameters.h:
1369         * TextCache.h:
1370         * Thesaurus.h:
1371         * bufferlist.h:
1372         * exporter.h:
1373         * importer.h:
1374         * lastfiles.h:
1375         * lyxfind.h:
1376         * lyxfont.h:
1377         * lyxlex.h:
1378         * lyxtextclasslist.h:
1379         * messages.h:
1380         * paragraph.h:
1381         * paragraph_pimpl.C:
1382         * textcursor.h: add <string> and other small fixes to make Lars'
1383         std::string patch compile with STLport.
1384
1385 2003-10-06  Angus Leeming  <leeming@lyx.org>
1386
1387         * LColor.h: Add missing #include <string>.
1388
1389 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * All most all file in all subdirs: Make <string> be the prefered
1392         way of getting to std::string, add using declarations.
1393
1394 2003-10-06  André Pönitz  <poenitz@gmx.net>
1395
1396         * metricsinfo.C: initialize LyXFont before changing attribute.
1397         (fixes the 'math in \emph is upright' bug)
1398
1399 2003-10-06  André Pönitz  <poenitz@gmx.net>
1400
1401         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1402
1403 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1404
1405         * graph.C:
1406         * paragraph_pimpl.C: Small fixes to build using STLport
1407
1408 2003-10-02  André Pönitz  <poenitz@gmx.net>
1409
1410         * lyxfunc.C:
1411         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1412
1413 2003-10-01  André Pönitz  <poenitz@gmx.net>
1414
1415         * factory.C: assert early
1416
1417 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1418
1419         * lyx_main.C: remove the global debug object
1420
1421         * debug.h: adjust for new debugstream
1422
1423         * debug.C: adjust for new debugstream and keep the global debug
1424         object here.
1425
1426 2003-09-22  Angus Leeming  <leeming@lyx.org>
1427
1428         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1429         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1430         an incomplete class LyXFont.
1431
1432 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * factory.C: bug fix in branches
1435
1436 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1437
1438         * lyxfunc.C (processKeySym): adjust
1439         (dispatch): adjust
1440         (dispatch): change arg name from ev to func, adjust
1441         (sendDispatchMessage): ditto
1442
1443         * lyx_main.C (defaultKeyBindings): adjust keybindings
1444         (deadKeyBindings): ditto
1445
1446         * kbsequence.C (addkey): return a FuncRequest
1447
1448         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1449
1450         * kbmap.C (bind): take a FuncRequest as arg, adjust
1451         (read): adjust
1452         (lookup): adjust
1453         (defkey): change to take a FuncRequest as arg, adjust
1454         (findbinding): take a FuncRequest as arg, adjust.
1455
1456         * funcrequest.h (operator=): added
1457
1458         * funcrequest.C (FuncRequest): default kb_action changed from
1459         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1460
1461         * buffer.C (dispatch): simplify
1462         (dispatch): adjust to take a FuncRequest as arg, adjust
1463
1464         * boost.C (assertion_failed): change assertion message slightly
1465
1466         * ToolbarBackend.C (read): simplify
1467
1468         * MenuBackend.C (binding): adjust call to findbinding, add a
1469         message if no binding is found.
1470         (read): simplify
1471         (expandToc): correct by adding a empty FuncRequest
1472
1473         * LyXAction.C: include <boost/assert.hpp>
1474         (isPseudoAction): delete function
1475         (LookupFunc): change name to...
1476         (lookupFunc): this. change return type to FuncRequest.
1477         (getActionName): take kb_action as arg, simplify
1478         (funcHasFlag): add an assert, simplify.
1479
1480 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1481
1482         * toc.C (action): return a FuncRequest, simplify
1483
1484         * lyxfunc.C (processKeySym): adjust
1485         (getStatus): delete version that takes an int.
1486         (getStatus): adjust
1487         (dispatch): delete version that takes action as int
1488         (dispatch): adjust
1489         (sendDispatchMessage): simplify and adjust
1490
1491         * funcrequest.C (getArg): take unsigned int as arg
1492
1493         * ToolbarBackend.C (read): adjust
1494         (add): delete version that takes func as a string.
1495         (getIton): take a FuncRequest as arg
1496
1497         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1498         action.
1499
1500         * MenuBackend.C (MenuItem): add a new construct that only takes a
1501         Kind, simplify the constructor use for submenus.
1502         (add): adjust
1503         (expandLastfiles): adjust
1504         (expandDocuments): adjust
1505         (expandFormats): adjust
1506         (expandFloatListInsert): adjust
1507         (expandFloatInsert): adjust
1508         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1509
1510         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1511         Remove class variables lyx_pseudo_map and lyx_arg_map
1512
1513         * LyXAction.C (searchActionArg): delete function
1514         (getPseudoAction): delete function
1515         (retrieveActionArg): delete function
1516         (LookupFunc): make it return kb_action, simplify.
1517         (getActionName): simplify
1518
1519         * factory.C (createInset): fix new bug
1520
1521 2003-09-19  Angus Leeming  <leeming@lyx.org>
1522
1523         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1524         masterFilename_ parameter in the include inset.
1525
1526         * factory.C (createInset): changes due to the changes to InsetInclude.
1527
1528 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1529
1530         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1531
1532 2003-09-18  Angus Leeming  <leeming@lyx.org>
1533
1534         * buffer.C:
1535         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1536         Inset::fillWithBibKeys.
1537         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1538
1539 2003-09-18  Angus Leeming  <leeming@lyx.org>
1540
1541         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1542         variables.
1543         (ctor): pass and store a 'Buffer const &'
1544         (buffer): new member function.
1545
1546         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1547         '*this' to the LaTeXFeatures ctor.
1548
1549 2003-09-18  Angus Leeming  <leeming@lyx.org>
1550
1551         * LColor.h:
1552         * lyxfont.C:
1553         * lyxfont.h:
1554         * lyxtext.h:
1555         * text.C: rename EnumLColor as LColor_color.
1556
1557 2003-09-18  Angus Leeming  <leeming@lyx.org>
1558
1559         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1560         remove #include "insets/insetbase.h" from cursor.h.
1561
1562 2003-09-18  Angus Leeming  <leeming@lyx.org>
1563
1564         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1565         InsetOld_code to remove #include "inset.h".
1566
1567         * iterators.C: add #include "insets/inset.h"
1568
1569 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1570
1571         * BufferView.C: remove more locking stuff that apparently doesn't
1572         do anything sensible.
1573
1574 2003-09-16  André Pönitz  <poenitz@gmx.net>
1575
1576         * paragraph.[Ch]:
1577         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1578           performance boost.
1579
1580 2003-09-16  Angus Leeming  <leeming@lyx.org>
1581
1582         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1583
1584         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1585         arg/return type.
1586
1587         * paragraph.h: remove #include "lyxfont.h". Forward declare
1588         LyXFont_size.
1589
1590 2003-09-16  Angus Leeming  <leeming@lyx.org>
1591
1592         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1593         of support/textutils.h.
1594         (isWord): move the contents of support/textutils.h's IsWordChar here.
1595
1596         * buffer.C:
1597         * lyxfind.C:
1598         * rowpainter.C:
1599         * text.C:
1600         * text2.C: add #include "paragraph.h".
1601
1602         * rowpainter.C:
1603         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1604
1605 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * main.C:
1608         * lyx_main.C:
1609         * lyx_cb.C:
1610         * buffer.C:
1611         * LaTeX.C: use namespace alias for lyx::support::os
1612
1613 2003-09-16  Angus Leeming  <leeming@lyx.org>
1614
1615         * bufferparams.C:
1616         * bufferview_funcs.C:
1617         * factory.C:
1618         * lyxfunc.C:
1619         * paragraph_pimpl.C:
1620         * rowpainter.C:
1621         * text.C: add #include "LColor.h".
1622
1623 2003-09-16  Angus Leeming  <leeming@lyx.org>
1624
1625         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1626         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1627         return LyXFont &.
1628         Store the FontBits::color variable as an int rather than as an
1629         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1630         file.
1631
1632         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1633         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1634         string calls together.
1635
1636         * lyxrc.C: add #include "LColor.h".
1637
1638 2003-09-15  Angus Leeming  <leeming@lyx.org>
1639
1640         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1641         a cow_ptr.
1642
1643 2003-09-15  Angus Leeming  <leeming@lyx.org>
1644
1645         * LColor.h: add an EnumLColor wrapper for LColor::color.
1646
1647         * lyxfont.[Ch] (color, setColor, realColor):
1648         * lyxtext.h, text.C (backgroundColor):
1649         pass EnumLColor args to/from the functions, rather than LColor::color
1650         ones.
1651
1652         * lyxfont.h:
1653         * lyxtext.h: forward declare EnumLColor.
1654
1655         * lyx_main.C: add #include "LColor.h".
1656
1657 2003-09-15  Angus Leeming  <leeming@lyx.org>
1658
1659         * .cvsignore: add lyx-gtk.
1660
1661 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1662
1663         * Chktex.C
1664         * LaTeX.C
1665         * LaTeXFeatures.C
1666         * ParagraphParameters.C
1667         * Spacing.C
1668         * buffer.C
1669         * bufferparams.C
1670         * bufferview_funcs.C
1671         * chset.C
1672         * counters.C
1673         * funcrequest.C
1674         * lyxfont.C
1675         * lyxgluelength.C
1676         * lyxlength.C
1677         * paragraph.C
1678         * paragraph_funcs.C
1679         * text3.C
1680         * vc-backend.C: remove usage of STRCONV
1681
1682 2003-09-15  Angus Leeming  <leeming@lyx.org>
1683
1684         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1685         explicitly define the color passed to the painter.
1686
1687 2003-09-15  Angus Leeming  <leeming@lyx.org>
1688
1689         * bufferparams.C (BufferParams): reorder member initializers to avoid
1690         compiler warning.
1691
1692 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1695         * text.C (updateRowPositions): remove an unusual nop
1696
1697 2003-09-12  André Pönitz  <poenitz@gmx.net>
1698
1699         * BufferView_pimpl.C:
1700         * Bullet.C:
1701         * layout.h:
1702         * lyxfunc.C:
1703         * lyxlayout.[Ch]:
1704         * lyxtextclass.C:
1705         * rowpainter.C:
1706         * text.C:
1707         * text2.C:
1708         * Counters.[Ch]: finish the 'automatic counters' job
1709
1710 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1711
1712         * aspell.C: include <boost/assert.cpp> (compile fix)
1713
1714 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1715
1716         * boost.C (assertion_failed): use lyx::support::abort instead of
1717         assert.
1718
1719 2003-09-10  Angus Leeming  <leeming@lyx.org>
1720
1721         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1722         with their _fwd progeny.
1723
1724 2003-09-09  Angus Leeming  <leeming@lyx.org>
1725
1726         134 files throughtout the source tree: replace 'using namespace abc;'
1727         directives with the appropriate 'using abc::xyz;' declarations.
1728
1729 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1730
1731         * boost.C (emergencyCleanup): moved here from LAssert.c
1732         (assertion_failed): new function, called by BOOST_ASSERT
1733
1734         * several files: change Assert to BOOST_ASSERT
1735
1736 2003-09-09  Angus Leeming  <leeming@lyx.org>
1737
1738         * buffer.[Ch]: Add an Impl class and move Buffer's member
1739         variables into it. As a result move several header files out of
1740         buffer.h.
1741
1742         Add header files to lots of .C files all over the tree as a result.
1743
1744 2003-09-09  Angus Leeming  <leeming@lyx.org>
1745
1746         * buffer.[Ch]: make Buffer's member variables private. Add
1747         accessor functions.
1748
1749         Lots of changes all over the tree as a result.
1750
1751 2003-09-08  Angus Leeming  <leeming@lyx.org>
1752
1753         * graph.C: #include <config.h>.
1754
1755 2003-09-08  Angus Leeming  <leeming@lyx.org>
1756
1757         * BranchList.C:
1758         * BufferView.C:
1759         * BufferView_pimpl.C:
1760         * CutAndPaste.C:
1761         * DepTable.C:
1762         * LaTeX.C:
1763         * LaTeXFeatures.C:
1764         * LyXAction.C:
1765         * MenuBackend.C:
1766         * TextCache.C:
1767         * aspell.C:
1768         * buffer.C:
1769         * bufferlist.C:
1770         * changes.C:
1771         * chset.C:
1772         * converter.C:
1773         * counters.C:
1774         * debug.C:
1775         * graph.C:
1776         * ispell.C:
1777         * lyx_cb.C:
1778         * lyxfind.C:
1779         * lyxfunc.C:
1780         * lyxlex_pimpl.C:
1781         * lyxrc.C:
1782         * lyxrow.C:
1783         * paragraph.C:
1784         * rowpainter.C:
1785         * texrow.C:
1786         * text.C:
1787         * text2.C:
1788         * toc.C: remove redundant using directives.
1789
1790 2003-09-07  Angus Leeming  <leeming@lyx.org>
1791
1792         * LaTeXFeatures.h: remove #include "support/types.h".
1793         * ToolbarBackend.h: remove #include <algorithm>.
1794         * changes.h: remove #include <ctime>.
1795         * debug.h: remove #include <iosfwd>.
1796         * graph.h: remove #include "support/std_string.h".
1797         * lyx_main.h: remove #include <csignal>.
1798         * lyxlex_pimpl.h: remove #include <fstream>.
1799         * sgml.h: remove #include <algorithm>, <utility>.
1800         * toc.h: remove #include "support/std_ostream.h".
1801         Add #include <iosfwd>.
1802
1803 2003-09-07  Angus Leeming  <leeming@lyx.org>
1804
1805         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1806
1807         * converter.h: forward declare LatexRunParams.
1808         * encoding.h: remove #include "lyxrc.h".
1809         * lyxtext.h: remove #include "LColor.h".
1810         * lyxtextclass.h: remove #include "support/types.h".
1811         * trans.h: remove #include "tex-accent.h".
1812         * trans_mgr.h: remove #include "tex-accent.h".
1813         * insets/inset.h: remove #include "support/types.h", <vector>.
1814         * insets/insetcollapsable.h: remove #include "LColor.h".
1815         * insets/insetinclude.h: remove #include "dimension.h".
1816         * insets/insetlatexaccent.h: remove #include "dimension.h".
1817         * insets/insetoptarg.h:: remove #include "insettext.h".
1818         * insets/insettext.h: remove #include "dimension.h",
1819         <boost/shared_ptr.hpp>
1820
1821         * insets/renderers.h: add #include "dimension.h".
1822         * insets/updatableinset.h: add #include "support/types.h".
1823
1824         * many .C files: Associated changes.
1825
1826 2003-09-06  Angus Leeming  <leeming@lyx.org>
1827
1828         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1829         one, inside testInvariant.
1830
1831         * PrinterParams.C: new file.
1832         * PrinterParams.[Ch]: move the function bodies out of line.
1833
1834 2003-09-06  Angus Leeming  <leeming@lyx.org>
1835
1836         * ParagraphParameters.h: forward declare ParameterStruct rather than
1837         including its header file.
1838         (depth): moved out-of-line.
1839
1840 2003-09-06  Angus Leeming  <leeming@lyx.org>
1841
1842         * BufferView_pimpl.h:
1843         * kbmap.h:
1844         * kbsequence.h:
1845         * lyxfunc.h: forward declare LyXKeySym rather than
1846         #include "frontends/LyXKeySym.h".
1847
1848         * BufferView_pimpl.C:
1849         * kbmap.C:
1850         * kbsequence.C:
1851         * lyxfunc.C: associated changes.
1852
1853 2003-09-06  Angus Leeming  <leeming@lyx.org>
1854
1855         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1856         As a result, can remove the #include "insets/inset.h" from BufferView.h
1857
1858 2003-09-06  Angus Leeming  <leeming@lyx.org>
1859
1860         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1861         As a result, can remove the #include "insets/inset.h" from BufferView.h
1862
1863 2003-09-06  Angus Leeming  <leeming@lyx.org>
1864
1865         * buffer_funcs.C:
1866         * buffer.h:
1867         * bufferlist.C:
1868         * BufferView.C:
1869         * bufferview_funcs.C:
1870         * BufferView_pimpl.C:
1871         * CutAndPaste.C:
1872         * lyx_cb.C:
1873         * lyxfunc.C:
1874         * paragraph.h:
1875         * ParagraphParameters.C:
1876         * tabular.C:
1877         * text3.C:
1878         * toc.C:
1879         * undo_funcs.C:
1880         * frontends/controllers/ControlDocument.C:
1881         * insets/insetcaption.C: rearrange the #includes into some sort of
1882         coherent order.
1883
1884         * buffer.h: remove #includes ErrorList.h, undo.h
1885
1886 2003-09-06  Angus Leeming  <leeming@lyx.org>
1887
1888         * support/types.h: add a 'depth_type' typedef, used to store the
1889         nesting depth of a paragraph.
1890
1891         * paragraph.h:
1892         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1893         defining explicitly.
1894
1895         * buffer.h:
1896         * paragraph_funcs.h:
1897         * ParagraphParameters.h:
1898         * sgml.h: use lyx::depth_type rather than Paragraph or
1899         ParameterStruct's depth_type.
1900
1901         * buffer.h
1902         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1903
1904         * BufferView.C:
1905         * BufferView_pimpl.C:
1906         * CutAndPaste.C:
1907         * ParagraphParameters.C:
1908         * buffer_funcs.C:
1909         * bufferlist.C:
1910         * bufferview_funcs.C:
1911         * lyx_cb.C:
1912         * lyxfunc.C:
1913         * tabular.C:
1914         * text3.C:
1915         * toc.C:
1916         * undo_funcs.C:
1917         * frontends/LyXView.C:
1918         * frontends/controllers/ControlDocument.C:
1919         * frontends/controllers/ControlErrorList.C:
1920         * insets/insetbibitem.C:
1921         * insets/insetbranch.C:
1922         * insets/insetcaption.C:
1923         * insets/insetcollapsable.C:
1924         * insets/insetenv.C:
1925         * insets/insetert.C:
1926         * insets/insetfloat.C:
1927         * insets/insetfoot.C:
1928         * insets/insetfootlike.C:
1929         * insets/insetnewline.C:
1930         * insets/insetquotes.C:
1931         * insets/insettabular.C:
1932         * insets/insettext.C:
1933         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1934
1935         * frontends/controllers/ControlChanges.C: #include "changes.h".
1936
1937 2003-09-06  Angus Leeming  <leeming@lyx.org>
1938
1939         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1940         than #including paragraph.h.
1941
1942         * ParagraphList.h:
1943         * RowList.h: deleted. Superfluous.
1944
1945         * CutAndPaste.h:
1946         * iterators.h:
1947         * lyxcursor.h:
1948         * lyxtext.h:
1949         * text_funcs.h:
1950         * undo.h:
1951         * undo_funcs.h:
1952         * insets/inset.h:
1953         * insets/insettext.h: use ParagraphList_fwd.h rather than
1954         ParagraphList.h.
1955
1956         * paragraph.h: don't forward declare ParagraphList.
1957
1958         * buffer.h:
1959         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1960         rather than ParagraphList.h. paragraph.h is still needed for the
1961         Paragraph::depth_type parameters.
1962
1963         * textcursor.h: enable it to compile stand-alone in light of the
1964         above changes.
1965
1966         * bufferview_funcs.C:
1967         * iterators.C:
1968         * lyxfunc.C:
1969         * lyxrow_funcs.C:
1970         * paragraph.C:
1971         * rowpainter.C:
1972         * text.C:
1973         * text2.C:
1974         * text3.C:
1975         * text_funcs.C:
1976         * textcursor.C:
1977         * undo.C:
1978         * frontends/controllers/ControlParagraph.C:
1979         * frontends/controllers/ControlTabular.C:
1980         * insets/insetmarginal.C:
1981         * insets/insetminipage.C:
1982         * insets/insetnote.C:
1983         * insets/insetoptarg.C: add header files needed to compile again.
1984
1985 2003-09-06  Angus Leeming  <leeming@lyx.org>
1986
1987         * RowList_fwd.h: new file, forward-declaring Row rather than
1988         #including lyxrow.h.
1989
1990         * lyxrow_funcs.h:
1991         * lyxtext.h:
1992         * paragraph.h:
1993         * insets/insettext.h: use it instead of RowList.h
1994
1995         * bufferview_funcs.C:
1996         * lyxfunc.C:
1997         * lyxrow_funcs.C:
1998         * paragraph.C:
1999         * rowpainter.C:
2000         * text.C:
2001         * text2.C:
2002         * text3.C: #include "RowList.h".
2003
2004 2003-09-05  Angus Leeming  <leeming@lyx.org>
2005
2006         * factory.C (createInset):
2007         * vspace.C (c-tor): replace sscanf call with an istringstream.
2008         * ispell.C: re-add missing HP/UX headers.
2009         * lyxserver.C: re-add missing  os2 headers.
2010
2011 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2012
2013         * BranchList.C:
2014         * graph.C:
2015         * ispell.C:
2016         * lastfiles.C:
2017         * lyx_cb.C:
2018         * lyxserver.C:
2019         * texrow.C:
2020         * text3.C: re-add missing system headers, needed for 2.95.2.
2021
2022 2003-09-05  Angus Leeming  <leeming@lyx.org>
2023
2024         Changes most place everywhere due to the removal of using directives
2025         from support/std_sstream.h.
2026
2027 2003-09-05  Angus Leeming  <leeming@lyx.org>
2028
2029         Replace LString.h with support/std_string.h,
2030         Lsstream.h with support/std_sstream.h,
2031         support/LIstream.h with support/std_istream.h,
2032         support/LOstream.h with support/std_ostream.h.
2033
2034         Changes resulting throughout the tree.
2035
2036 2003-09-05  Angus Leeming  <leeming@lyx.org>
2037
2038         * sgml.h: ensure that the header file can be compiled stand-alone.
2039         * *.C: strip out redundant #includes. (320 in total.)
2040
2041 2003-09-04  Angus Leeming  <leeming@lyx.org>
2042
2043         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2044         here (from getPackages).
2045
2046         * debug.[Ch]: add a new EXTERNAL tag.
2047
2048 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2049
2050         * text2.C (cursorEnd): simplify
2051         (setCursor): adjust
2052         (getColumnNearX): adjust
2053
2054         * text.C (computeBidiTables): adjust
2055         (fill): adjust
2056
2057         * rowpainter.C (paintChars): adjust
2058         (paintSelection): adjust
2059         (paintChangeBar): adjust
2060         (paintText): adjust
2061
2062         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2063         lastPos instead.
2064         (numberOfSeparators): adjust
2065
2066 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2067
2068         * LyXAction.C:
2069         * box.[Ch]:
2070         * lfuns.h:
2071         * lyxfunc.C:
2072         * text3.C: Restricts the mouse click functionality
2073         of insets like bibtex, include, toc and floatlist to the visible
2074         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2075         up the dialogs. Cursor has to be in front of the inset (i.e.
2076         start of row) for this to function.
2077
2078 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2079
2080         * bufferview_funcs.C (currentState): output row information
2081
2082 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2083
2084         * bufferview_funcs.C (currentState): output paragraph position
2085
2086 2003-09-04  Angus Leeming  <leeming@lyx.org>
2087
2088         * FloatList.h: move out #include "Floating.h".
2089         * LaTeX.h: move out #include "DepTable.h".
2090         * LyXAction.h: move out #include "funcrequest.h".
2091         * buffer.h: move out #include "author.h", "iterators.h".
2092         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2093         * lyx_main.h: move out #include "errorlist.h".
2094         * lyxfunc.h: move out #include "FuncStatus.h".
2095         * lyxtext: move out #include "lyxcursor.h".
2096         * paragraph_pimpl.h: move out #include "counters.h".
2097
2098 2003-09-03  Angus Leeming  <leeming@lyx.org>
2099
2100         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2101         preamble_snippets list, enabling us to add snippets to the preamble
2102         only if the snippet was not there already.
2103
2104 2003-09-04  Angus Leeming  <leeming@lyx.org>
2105
2106         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2107
2108 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2111         update
2112
2113 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2114
2115         * BranchList.C: point fix, earlier forgotten
2116
2117 2003-09-02  Angus Leeming  <leeming@lyx.org>
2118
2119         * box.C (contains): renamed from 'contained' after a fantastic
2120         amount of hot air.
2121
2122 2003-09-02  John Levon  <levon@movementarian.org>
2123
2124         * BufferView.C:
2125         * lyxcursor.h:
2126         * lyxcursor.C:
2127         * lyxfunc.C:
2128         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2129
2130 2003-09-02  John Levon  <levon@movementarian.org>
2131
2132         * text2.C: simplification of cursorEnd(), including partial
2133         fix for bug 1376
2134
2135 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * buffer.C (readFile): add a space
2138
2139 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2140
2141         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2142
2143 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2144
2145         * buffer.C (readFile): new function, take a filename and a
2146         ParagraphList::iterator
2147         (readFile): adjust
2148         (readFile): adjust, make it private. don't use setStream, make
2149         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2150         always contain the filename.
2151
2152         * BufferView.C (insertLyXFile): simplify and make it work for
2153         gzipped files.
2154
2155 2003-08-30  John Levon  <levon@movementarian.org>
2156
2157         * Makefile.am: fix dist (from Kayvan)
2158
2159 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * most files: change to use const Buffer refs
2162
2163 2003-08-27  André Pönitz  <poenitz@gmx.net>
2164
2165         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2166         on top of ownerPar().
2167
2168 2003-08-27  John Levon  <levon@movementarian.org>
2169
2170         * funcrequest.C: properly initialise POD members
2171
2172 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * lyxtext.h (top_y): move top_y from here
2175         * text.C:
2176         * text2.C:
2177         * text3.C:
2178         * BufferView.[Ch]:
2179         * BufferView_pimpl.[Ch]: to here
2180         * frontends/screen.C:
2181         * insets/insettabular.C:
2182         * insets/insettext.C: adjust
2183         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2184
2185 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2186
2187         * BufferView.[Ch]:
2188         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2189
2190 2003-08-26  André Pönitz  <poenitz@gmx.net>
2191
2192         * paragraph_func.[Ch] (outerPar): new function
2193
2194         * paragraph.C:
2195         * paragraph_funcs.C:
2196         * paragraph_funcs.h:
2197         * paragraph_pimpl.C:
2198         * text2.C: remove Inset::par_owner
2199
2200 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2201
2202         * lyxrow_funcs.C:
2203         * lyxtext.h:
2204         * text.C:
2205         * text2.C: eliminates the needFullRow/display() stuff
2206         altogether, putting the logic in metrics/draw in the insets.
2207
2208 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2209
2210         * text2.C (redoParagraphInternal, redoParagraphs):
2211         * text.C (redoParagraph): add a call to updateRowPositions at the
2212         end of each 'metrics-like' call. Remove all others.
2213         (getRow): remove the 'y-computing' version.
2214         (getRowNearY): do not compute nor return the real y. Solve the
2215         'y < 0' problem and simplify.
2216
2217 2003-08-22  Angus Leeming  <leeming@lyx.org>
2218
2219         * *.[Ch]: clean-up of licence and author blurbs.
2220         Also move config.h out of a few .h files and into a few .C files.
2221
2222 2003-08-22  André Pönitz  <poenitz@gmx.net>
2223
2224         * lyxrow.[Ch]: add x_ and *fill_ members
2225
2226         * lyxtext.h:
2227         * text.C:
2228         * rowpainter.C:
2229         * text2.C: adjust/remove prepareToPrint() calls
2230
2231 2003-08-22  André Pönitz  <poenitz@gmx.net>
2232
2233         * lyxrow.[Ch]: add  end_ member
2234
2235         * lyxrow_funcs.C: use LyXRow::end_
2236
2237         * lyxtext.h (singleWidth): add LyXFont parameter
2238
2239         * rowpainter.C:
2240         * text2.C: adjust LyXText::singleWidth() calls
2241
2242         * text.C (redoParagraph): simplify row breaking logic
2243
2244
2245 2003-08-19  André Pönitz  <poenitz@gmx.net>
2246
2247         * funcrequest.C: initialize button_ member
2248
2249         * text3.C:
2250         * rowpainter.[Ch]: interface consolidation
2251
2252 2003-08-18  André Pönitz  <poenitz@gmx.net>
2253
2254         * BufferView.C:
2255         * BufferView_pimpl.C:
2256         * lyxfind.C:
2257         * paragraph_funcs.C:
2258         * rowpainter.C:
2259         * text3.C: remove LyXScreen::draw() and fitCursor calls
2260
2261         * BranchList.h: remove spurious semicolons
2262
2263         * MenuBackend.C: fix branchlist related crash
2264
2265 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2266
2267         * BranchList.[Ch]:
2268         * InsetList.[Ch]:
2269         * LColor.[Ch]:
2270         * LyXAction.C:
2271         * Makefile.am:
2272         * MenuBackend.[Ch]:
2273         * bufferparams.[Ch]:
2274         * factory.C:
2275         * lfuns.h:
2276         * lyxfunc.C:
2277         * text3.C: implements the 'branch inset'
2278         idea. This allows the output of various versions of a document
2279         from a single source version, selectively outputing or suppressing
2280         output of parts of the text.
2281         This implementation contains a 'branch list editor' in a separate
2282         tab of the document settings dialog. Branches are user definable
2283         and have a "display colour" to distinguish them on-screen.
2284
2285         ColorHandler was somewhat cleaned up.
2286         (1) make possible a dynamically growing LColor list by allowing
2287         the graphic context cache to grow along (vector);
2288         (2) eliminate an IMHO unnecessary step in colour allocation.
2289
2290 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2291
2292         * BufferView_pimpl.C: compile fix
2293
2294 2003-08-15  André Pönitz  <poenitz@gmx.net>
2295
2296         * rowpainter.C: remove extra metrics calls
2297
2298         * lyxtext.h: merge the two constructors into a single one,
2299           pass reference to owner's par list
2300
2301         * BufferView_pimpl.C:
2302         * text.C:
2303         * text2.C: adjust
2304
2305 2003-08-15  André Pönitz  <poenitz@gmx.net>
2306
2307         * lyxrow_funcs.[Ch]:
2308         * lyxtext.h:
2309         * paragraph.h:
2310         * paragraph_funcs.C:
2311         * rowpainter.C:
2312         * text.C:
2313         * text2.C:
2314         * text3.C:
2315         * text_funcs.C: split LyXText::rowlist_ into individual
2316         Paragraph::rows_ chunks
2317
2318         * BufferView.[Ch]:
2319         * BufferView_pimpl.[Ch]:
2320         * lyxfind.C:
2321         * lyxtext.h:
2322         * text3.C: remove toggleSelection()
2323
2324 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2325
2326         * bufferlist.C: beautify two alerts (shorter text of buttons)
2327         * buffer.C: Remove redundant ' ' from message
2328         * tabular.h:
2329         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2330         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2331         rename VALIGN_CENTER to VALIGN_MIDDLE
2332
2333 2003-08-11  André Pönitz  <poenitz@gmx.net>
2334
2335         * lyxtext.h (getPar):
2336         * text.C: new function
2337
2338 2003-08-11  André Pönitz  <poenitz@gmx.net>
2339
2340         * Makefile.am:
2341         * tracer.[Ch]: remove unneeded files
2342
2343         * InsetList.[Ch]: remove resizeInsetsLyXText()
2344
2345         * lyxtext.h:
2346         * text.C:
2347         * text2.C:
2348         * text3.C: merge insertParagraphs() and appendParagraph()
2349         remove breakAgain(), update()
2350
2351         * BufferView_pimpl.[Ch]:
2352         * bufferview_funcs.[Ch]:
2353         * lyxfunc.C:
2354         * paragraph.[Ch]:
2355         * rowpainter.C:
2356         * tabular.C: adjust after text & InsetList changes.
2357
2358 2003-08-08  André Pönitz  <poenitz@gmx.net>
2359
2360         * text.C (insertChar, backspace): replace rowlist fiddling
2361         with rebreak of full par
2362
2363         * lyxtext.h:
2364         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2365         checkParagraph, updateInset): removed
2366
2367 2003-08-07  André Pönitz  <poenitz@gmx.net>
2368
2369         * paragraph.C:
2370         * text3.C: merge some LFUN handlers, remove dead code
2371
2372 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2375
2376 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2377
2378         * text2.C (DEPM): fix part of bug 1255 and 1256
2379
2380 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2381
2382         * BufferView_pimpl.C (workAreaDispatch): change to use
2383         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2384         that are no mouse related.
2385
2386 2003-08-05  André Pönitz  <poenitz@gmx.net>
2387
2388         * BufferView.[Ch]:
2389         * BufferView_pimpl.[Ch]:
2390         * bufferview_funcs.C:
2391         * text2.C:
2392         * text3.C: rip out "deep update"
2393
2394         * textcursor.[Ch] (last_sel_cursor): remove unused member
2395
2396 2003-08-04  André Pönitz  <poenitz@gmx.net>
2397
2398         * BufferView.[Ch]:
2399         * BufferView_pimpl.[Ch]:
2400         * ParagraphParameters.C:
2401         * bufferview_funcs.C:
2402         * lyx_cb.C:
2403         * lyxfind.C:
2404         * lyxfunc.C:
2405         * text.C:
2406         * text2.C:
2407         * text3.C: replace "complicated" BufferView::update(...) calls with
2408         simpler ones.
2409
2410         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2411
2412 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2413
2414         * Makefile.am (lyx_SOURCES): add paper.h
2415
2416 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2417
2418         * Makefile.am: move things around so that both lyx-qt and
2419         lyx-xforms can be built (according to --with-frontend). Then lyx
2420         is a symbolic link to lyx-[firstfrontend]
2421
2422 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2423
2424         * Always use std::endl with lyxerr
2425
2426 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2427
2428         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2429
2430 2003-08-01  André Pönitz  <poenitz@gmx.net>
2431
2432         * BufferView.[Ch]:
2433         * BufferView_pimpl.[Ch]:
2434         * lyxfunc.C:
2435         * text3.C: merge BufferView::repaint() and BufferView::update()
2436
2437 2003-08-01  José Matos  <jamatos@lyx.org>
2438
2439         * buffer.[Ch]: file_format is no longer a buffer data element.
2440
2441 2003-08-01  André Pönitz  <poenitz@gmx.net>
2442
2443         * BufferView.C:
2444         * lyxtext.h:
2445         * text.C:
2446         * text2.C: make redoParagraph more independent of current cursor
2447
2448         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2449         * text.C:
2450         * text2.C: remove unneeded members
2451
2452 2003-07-30  André Pönitz  <poenitz@gmx.net>
2453
2454         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2455
2456         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2457           create a single function...
2458
2459         * paragraph_funcs.C (moveItem): ... here.
2460
2461         * text.C:
2462           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2463
2464 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2465
2466         * LColor.[Ch]: Add comment and greyedout logical colors.
2467
2468 2003-07-30  André Pönitz  <poenitz@gmx.net>
2469
2470         * tabular.C: don't use Assert too heavily. This crashes where it
2471           shouldn't
2472
2473 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2474
2475         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2476         is disabled (bug 1232)
2477
2478 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2479
2480         * factory.C: limited 'arg' scope
2481
2482 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2483
2484         * factory.C: fixed Note submenu issues
2485
2486 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2487
2488         * factory.C: submenu for Note/Comment/Greyedout
2489
2490 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2491
2492         * lyx_main.C (LyX):
2493         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2494
2495 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * LaTeXFeatures.C:
2498         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2499         greyedout. Patch provided by Jürgen Spitzmüller.
2500
2501 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         * kbmap.C (read): fix error message when reading bind files
2504
2505 2003-07-29  Angus Leeming  <leeming@lyx.org>
2506
2507         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2508         certainly does not do what it purports to do. I am doing it, and
2509         us, a favour by killing it.
2510
2511 2003-07-28  José Matos  <jamatos@lyx.org>
2512
2513         * buffer.C (readBody, do_writeFile):
2514         * paragraph.C(readParagraph): \end_document replaces \the_end.
2515
2516 2003-07-29  André Pönitz  <poenitz@gmx.net>
2517
2518         * BufferView.[Ch]:
2519         * BufferView_pimpl.[Ch]:
2520         * lyxfunc.C:
2521         * text2.C:
2522         * text3.C:
2523         * textcursor.[Ch]: remove toggleToggle & Co
2524
2525 2003-07-28  José Matos  <jamatos@fep.up.pt>
2526
2527         * buffer.C (readParagraph):
2528         * params_func (readParToken, readParagraph):
2529         * paragraph.C (write): \layout -> \begin_layout.
2530
2531 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * lyxlex_pimpl.C (setFile): clean up slightly.
2534
2535         * bufferparams.h: add compressed var
2536
2537         * buffer_funcs.C (readFile): adjust for LyXLex change
2538         (newFile): ditto + simplify
2539
2540         * buffer.C (writeFile): handle writing of compressed files
2541
2542         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2543         Check if the file is compressed and set a bufferparm if so.
2544
2545         * Makefile.am (lyx_LDADD): remove explicit -lz
2546
2547 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2550         makeDocBookFile): put the real LyX version in the first line of
2551         the file
2552
2553         * version.h:
2554         * version.C.in: remove lyx_docversion
2555
2556         * tabular.C (write_attribute): add a template-based version to
2557         write enums properly
2558
2559 2003-07-28  André Pönitz  <poenitz@gmx.net>
2560
2561         * lyxtext.h:
2562         * text.C:
2563         * text2.C:
2564         * text3.C: use doubles again for x-coordinates. They are needed.
2565
2566 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * messages.C (getLocaleDir): use lyx_localedir()
2569
2570         * lyxlex_pimpl.C (setFile): compress stuff
2571
2572         * buffer.C (writeFile): add some compression stuff
2573         (do_writeFile): new func, dont call expliti close... will this
2574         breake anything?
2575
2576         * Makefile.am (lyx_LDADD): add -lz
2577
2578 2003-07-28  José Matos  <jamatos@fep.up.pt>
2579
2580         * buffer.C: increment file format.
2581         * paragraph_funcs (readParagraph, readParToken):
2582         * paragraph.C (readParagraph): add \end_layout.
2583
2584 2003-07-27  Angus Leeming  <leeming@lyx.org>
2585
2586         * Makefile.am: remove special casing for configure-time setting of
2587         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2588
2589         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2590         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2591
2592 2003-07-26  André Pönitz  <poenitz@gmx.net>
2593
2594         * paragraph_func.[Ch]:
2595         * paragraph.C (realizeFont): inline it whereever it is used
2596
2597         * rowpainter.C:
2598         * text.C:
2599         * text2.C:
2600         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2601
2602
2603 2003-07-26  André Pönitz  <poenitz@gmx.net>
2604
2605         *       lyxtext.h:
2606         * text.C:
2607         * text2.C: get rid of LyXText::need_break_row
2608
2609 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * toc.[Ch]: put namespace toc inside namespace lyx
2612
2613         * MenuBackend.C (expandToc2): adjust for lyx::toc
2614         (expandToc): ditto
2615
2616         * lyxfunc.C (dispatch): adjust for lyx::find
2617
2618         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2619         lyx::find instead. Reorganize a bit.
2620         (LyXReplace): rename to replace
2621         (LyXFind): rename to find
2622
2623         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2624         (dispatch): ditto
2625
2626 2003-07-26  André Pönitz  <poenitz@gmx.net>
2627
2628         * text.C (setHeightOfRow): restrict scope of temporary variable
2629
2630         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2631           code (never has been used?)
2632
2633 2003-07-27  Asger Alstrup  <alstrup@local>
2634
2635         * text.C (fill): Optimise algorithm to exploit that we can reuse
2636         the LyXFont for many characters.
2637         (setHeightOfRow): Same thing.
2638         (rowBreakPoint): Same thing.
2639
2640 2003-07-26  Asger Alstrup  <alstrup@local>
2641
2642         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2643
2644         * text.C (singleWidth): Spurious font copying in hot-spot
2645         singleWidth avoided. Reorder tests for arabic for efficiency.
2646
2647         * text.C (fill): handle empty paragraphs better.
2648
2649 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2650
2651         * ispell.C:
2652         * encoding.h: add includes
2653
2654         * lyxrc.C: remove reading of bind files
2655
2656         * lyx_main.C (init): setup bindings and menus only if we have a
2657         gui.
2658
2659         * kbmap.C (read): new method. Do the actual reading of bind
2660         files.
2661
2662         * converter.C (dvipdfm_options):
2663         * bufferparams.C:
2664         * lyxrc.C (read):
2665         (output): adapt PAPER_* enums.
2666
2667         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2668
2669         * bufferparams.h: remove paper-related enums from there
2670
2671         * paper.h: New file. A trivial header file to hold paper-related
2672         enums. It should later expand to contain many paper-related
2673         horrors access.
2674
2675         * lyxrc.C: declare extern displayTranslator
2676
2677 2003-07-27  José Matos  <jamatos@fep.up.pt>
2678
2679         * tabular.[Ch] (linuxdoc): add support for tables and figures
2680         (linuxdoc).
2681
2682 2003-07-27  José Matos  <jamatos@fep.up.pt>
2683
2684         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2685         consistency in both functions.
2686         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2687
2688 2003-07-26  Asger Alstrup  <alstrup@local>
2689
2690         * rowpainter.C (paintRows): Change algorithm to work directly on
2691         the insets rather than asking every character in the document
2692         whether its an inset.
2693
2694 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * buffer.C (openFileWrite): factorize some code
2697
2698 2003-07-26  Angus Leeming  <leeming@lyx.org>
2699
2700         * lyx_cb.C:
2701         * lyx_main.[Ch]: replace occurances of system_tempdir with
2702         os::getTmpDir().
2703
2704 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * rename Inset to InsetOld
2707
2708 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2709
2710         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2711         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2712         which I think is a bit clearer. EDIT is gone, since it was
2713         premature optimisation, and broken for mathed anyway.
2714         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2715         with cursor positioning in insets as well (math insets still do not
2716         work, but that's a different story anyway.) It mysteriously
2717         crashes sometimes with undo in the first paragraph, but I'm fairly
2718         confident that this is a compiler bug.
2719
2720 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * paragraph.C (Paragraph): adjust for new clone return type
2723         (operator==): ditto
2724         (copyIntoMinibuffer): ditto
2725
2726 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2727
2728         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2729         by not having a special case, and always doing a full rebreak of
2730         the document after undo.
2731
2732 2003-07-23  Angus Leeming  <leeming@lyx.org>
2733
2734         * factory.C (createInset): InsetExternal::setParams now takes a
2735         Buffer const * arg.
2736
2737 2003-07-23  Angus Leeming  <leeming@lyx.org>
2738
2739         * factory.C (createInset): changed interface to the external and
2740         graphics mailers' string2params functions.
2741
2742 2003-07-23  Angus Leeming  <leeming@lyx.org>
2743
2744         * factory.C (createInset): pass a
2745         Buffer const * parameter to InsetExternalMailer's string2params.
2746
2747 2003-07-22  John Levon  <levon@movementarian.org>
2748
2749         * Thesaurus.h: include the right aiksaurus header
2750
2751 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2752
2753         * MenuBackend.C (expand): check menu shortcuts unconditionally
2754
2755 2003-07-21  Angus Leeming  <leeming@lyx.org>
2756
2757         * factory.C (createInset): pass a
2758         buffer_path parameter to InsetGraphicsMailer's string2params.
2759
2760 2003-07-21  Angus Leeming  <leeming@lyx.org>
2761
2762         * BufferView_pimpl.C (buffer):
2763         * buffer.C (d-tor):
2764         * lyx_main.C (LyX):
2765         * lyxfunc.C (dispatch):
2766         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2767         rather than the grfx shortcut.
2768
2769 2003-07-21  André Pönitz  <poenitz@gmx.net>
2770
2771         * rowpainter.C: remove unused variables
2772
2773         * tabular_funcs.C:
2774         * tabular_funcs.h: move to tabular.C
2775         * Makefile.am: adjust
2776
2777         * tabular.[Ch]: basic optical cleaning
2778
2779         * author.h: pass references, not values
2780
2781 2003-07-18  André Pönitz  <poenitz@gmx.net>
2782
2783         * lyxtext.h:
2784         * metricsinfo.C:
2785         * metricsinfo.h:
2786         * rowpainter.C:
2787         * text.C:
2788         * text2.C:
2789         * text3.C: two-phase drawing for InsetText and InsetTabular
2790         some float -> int changes.
2791
2792 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * lyx_main.C: fix the fix
2795
2796 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2797
2798         * lyx_main.C: fix a crash in batch mode if no files specified
2799         * converter.C: ws
2800
2801 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * format.[Ch] (papersize): moved to BufferParams
2804         * converter.[Ch] (dvips_options): moved to BufferParams
2805         (dvipdfm_options): moved to anon namespace
2806         * bufferparams.[Ch]: added above functions.
2807
2808 2003-07-17  André Pönitz  <poenitz@gmx.net>
2809
2810         * lyxtext.h:
2811         * rowpainter.C:
2812         * text2.C: don't call inset->update() anymore
2813
2814         * metricsinfo.[Ch]: add convenience constructor
2815
2816 2003-07-16  André Pönitz  <poenitz@gmx.net>
2817
2818         * lyxcursor.[Ch]:
2819         * lyxfunc.[Ch]:
2820         * text.C:
2821         * text2.C: replace the LyXCursor::irow_ member with
2822          on-demand computation of the value
2823
2824 2003-07-16  John Levon  <levon@movementarian.org>
2825
2826         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2827
2828 2003-07-15  André Pönitz  <poenitz@gmx.net>
2829
2830         * text.C:
2831         * text2.C: remove no more needed refresh_row
2832
2833 2003-07-15  André Pönitz  <poenitz@gmx.net>
2834
2835         * lyxtext.h:
2836         * rowpainter.C:
2837         * text2.C:
2838         * text3.C: refresh_status tristate -> need_update bool
2839
2840 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2841
2842         * lyxtext.h (init): remove reinit argument (act as if always true)
2843         * text2.C: adjust to that
2844
2845 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2846
2847         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2848         * text3.C: use it to delete selections in some cases
2849         (bugs 441, 673, 702, 954).
2850
2851 2003-07-14  André Pönitz  <poenitz@gmx.net>
2852
2853         * rowpainter.[Ch]: reduce interface
2854
2855 2003-07-14  André Pönitz  <poenitz@gmx.net>
2856
2857         * BufferView_pimpl.C:
2858         * text2.C: adjust after removing unused BufferView * argument
2859
2860 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2861
2862         * text2.C (init): fix a crash fired on resize
2863
2864 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2865
2866         * buffer.[Ch]: added new closing signal
2867         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2868         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2869         BufferView::Pimpl via the closing the signal
2870
2871 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2872
2873         * buffer.[Ch]: take out all bv-related from buffer
2874         * BufferView.C:
2875         * BufferView_pimpl.[Ch]: connect to new signals
2876         * CutAndPaste.C: removed useless asserts
2877         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2878         * lyxvc.[Ch]:
2879         * vc-backend.[Ch]:
2880         * lyxfunc.C: moved view-related funciontality from vc here
2881         * paragraph.C: removed outdated comments
2882         * text.C: ws
2883
2884 2003-07-10  André Pönitz  <poenitz@gmx.net>
2885
2886         * BufferView_pimpl.C:
2887         * tabular.h:
2888         * tabular_funcs.C:
2889         * text.C:
2890         * text2.C: remove InsetText::InnerCache, clean up consequences
2891
2892 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2893
2894         * ispell.C: fix two typos in error messages
2895
2896 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2897
2898         * Extend Note inset to other forms of annotation like Comment
2899         and Greyedout. Right button click gives dialog.
2900
2901         Files modified or added (+):
2902
2903         * insetnote.[Ch]
2904         * FormNote.[Ch]      +
2905         * ControlNote.[Ch]   +
2906         * form_note.fd       +
2907         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2908         frontends/controllers
2909         * xforms/Dialogs.C
2910         * factory.C
2911
2912 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2913
2914         * aspell.C: add missing namespace lyx::support
2915
2916 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2917
2918         * BufferView.[Ch] (newFile): Add
2919         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2920         * LaTeX.[Ch] (message): added this signal and use it
2921         * buffer.[Ch] (busy, message): added these signals and use them
2922         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2923         * converter.C:
2924         * exporter.C:
2925         * format.C:
2926         * importer.C: use buffer signals instead of direct bv calling
2927         * lyx_cb.[Ch] (ShowMessage): removed
2928         * lyx_main.C:
2929         * lyxfunc.C:
2930         * paragraph_funcs.C:
2931         * text2.C: use buffer signals
2932
2933 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * introduce namespace lyx::graphics
2936
2937 2003-07-02  André Pönitz  <poenitz@gmx.net>
2938
2939         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2940
2941 2003-07-01  André Pönitz  <poenitz@gmx.net>
2942
2943         * text.C:
2944         * text2.C:
2945         * text3.C:
2946         * text_funcs.[Ch]:
2947         * textcursor.h:
2948         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2949           text*.C to text_func.C
2950
2951 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * introduce namespace lyx::support
2954
2955 2003-06-30  André Pönitz  <poenitz@gmx.net>
2956
2957         * Chktex.C:
2958         * funcrequest.C:
2959         * lyxtext.h:
2960         * text.C: re-enable --with-included-string
2961
2962 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * textcursor.C: add <config.h>
2965
2966         * text.C (getWord): remove const from word_location arg
2967
2968         * lyxvc.C (getLogFile): fix const type order
2969
2970         * lyxtext.h: remove const from word_location arg, add arg name
2971
2972         * lyxlayout.h: currect type on labeltype.
2973
2974         * importer.C: correct \file
2975
2976         * converter.C (intToFormat): use std:: on ret val, ws changes
2977
2978         * bufferlist.h: correct \file
2979
2980         * buffer.C (makeLinuxDocFile): fix const type order
2981         (makeDocBookFile): ditto
2982         (fillWithBibKeys): use std:: on stdlib args.
2983
2984         * CutAndPaste.C: fix authors.
2985         (availableSelections): use std:: on return vector
2986
2987 2003-06-27  André Pönitz  <poenitz@gmx.net>
2988
2989         * BufferView_pimpl.C:
2990         * bufferview_funcs.C:
2991         * lyxcursor.C:
2992         * lyxcursor.h:
2993         * lyxfunc.C:
2994         * lyxtext.h:
2995         * rowpainter.C:
2996         * text.C:
2997         * text2.C:
2998         * text3.C: remove LyXCursor::row_ member
2999
3000         * lyxtext.h:
3001         * text.C: rename fullRebreak() to partialRebreak() and implement
3002           a fullRebreak() that really bereks fully
3003
3004         * textcursor.h: new struct for cursor-related data
3005
3006 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3007
3008         * lyx_main.C (LyX): get full path of document loaded on the
3009         command line
3010
3011 2003-06-26  André Pönitz  <poenitz@gmx.net>
3012
3013         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3014           remove unused/broken operator>,<,>=.
3015
3016         *       text.C: remove only use of broken operator<= in an Assert().
3017
3018 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3021         moved errorlist_.clear to showErrorList
3022
3023 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * converter.C (scanLog, runLaTeX):
3026         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3027         move the bv->showErrorList call to the callers
3028         * lyxfunc.C: i.e. here...
3029         * text2.C: and here
3030         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3031         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3032         namespace, the second to...
3033         * buffer_funcs (BufferFormat, parseErrors): added
3034         * errorlist.C (ErrorList(TeXErrors const &)): removed
3035
3036 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3037
3038         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3039
3040 2003-06-24  "Garst R. Reese" <reese@isn.net>
3041
3042         * debug.C: fix typo
3043
3044 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3045
3046         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3047
3048         * version.C.in: change docversion to 1.4
3049
3050 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * buffer.C: fix a bug just introduced
3053
3054 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * buffer.[Ch]: added the parseError signal and use it, removed
3057         sgmlError
3058         * BufferView.[Ch] (addError): moved to ...
3059         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3060         to the Buffer::parseError signal to catch (guess what) parse errors
3061         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3062
3063 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3066         ability to create a buffer and to return an existing one from
3067         the list. Moved these functions to...
3068         * buffer_funcs.[Ch]: added
3069         * BufferView.[Ch] (loadLyXFile): added
3070         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3071         job removed from bufferlist::loadLyXFile.
3072         * buffer.C (setReadOnly): make it work without view
3073         (i.e added an if (users))
3074
3075 2003-06-19  Angus Leeming  <leeming@lyx.org>
3076
3077         * lfuns.h:
3078         * LyXAction.C (init):
3079         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3080         with LFUN_DIALOG_SHOW <name> <data>.
3081
3082 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3083
3084         * CutAndPaste.C (availableSelections): small compilation fix for
3085         ancient (gcc 2.9x) compilers
3086
3087 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * text3.C (cursorNext): add tmp var
3090
3091         * text2.C (updateCounters): for function calling out of for clause
3092         (replaceSelectionWithString): ditto
3093         (insertStringAsParagraphs): ditto
3094         (getColumnNearX): add tmp var
3095         (setCursorFromCoordinates): add tmp var
3096         (cursorDownParagraph): add tmp var
3097         (deleteEmptyParagraphMechanism): add tmp var
3098
3099         * text.C (insertChar): add tmp var
3100
3101         * rowpainter.C (paintDepthBar): add tmp var
3102
3103         * CutAndPaste.C (availableSelections): potentially check all
3104         paragraphs in a cut to fill the shown strings.
3105
3106 2003-06-18  André Pönitz  <poenitz@gmx.net>
3107
3108         * kbmap.[Ch]: use vector<> instead of list<>
3109
3110 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3111
3112         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3113         pasteSelection with index
3114
3115         * text2.C (pasteSelection): modify, call pasteSelection with index
3116
3117         * paragraph.C (asString): reimplement version with no interval to
3118         call the one with interval.
3119
3120         * lyxtext.h: add index arg to pasteSelection
3121
3122         * MenuBackend.C (MenuItem): handle PasteRecent
3123         (Menu::read::Menutags): add md_pasterecent
3124         (read): handle it
3125         (expandPasteRecent): new function
3126         (expand): use it
3127
3128         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3129
3130         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3131         the limited stack
3132         (availableSelections): new function
3133
3134 2003-06-17  Angus Leeming  <leeming@lyx.org>
3135
3136         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3137
3138 2003-06-17  Angus Leeming  <leeming@lyx.org>
3139
3140         * lfuns.h:
3141         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3142
3143         * lyxfunc.C (dispatch): invoke it.
3144
3145 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3146
3147         * iterators.C (operator++, ParPosition): reintroduce some
3148         const_cast for the benefit of older compilers.
3149
3150 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3151
3152         * text3.C (dispatch): do not modify clipboard when doing
3153         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3154         LFUN_DELETE_SKIP on a selection selection
3155
3156 2003-06-16  André Pönitz  <poenitz@gmx.net>
3157
3158         * BufferView.C:
3159         * buffer.C:
3160         * buffer.h:
3161         * paragraph.C:
3162         * tabular.[Ch]: IU of clone() and getLabelList();
3163
3164 2003-06-13  André Pönitz  <poenitz@gmx.net>
3165
3166         * tabular.h: compactification
3167
3168 2003-06-12  André Pönitz  <poenitz@gmx.net>
3169
3170         * tabular.C:
3171         * tabular.h:
3172         * tabular_funcs.h: some renaming plus whitespace
3173
3174 2003-06-12  André Pönitz  <poenitz@gmx.net>
3175
3176         * BufferView.C:
3177         * BufferView_pimpl.C:
3178         * CutAndPaste.C:
3179         * buffer.C:
3180         * iterators.[Ch]:
3181         * lyxfunc.C:
3182         * text.C:
3183         * toc.C: Return a Paragraph & for ParIterator::operator*()
3184
3185 2003-06-11  John Levon  <levon@movementarian.org>
3186
3187         * lyx_main.C:
3188         * ToolbarBackend.h:
3189         * ToolbarBackend.C: add "Toolbars" section and
3190         put the flags there
3191
3192 2003-06-10  Angus Leeming  <leeming@lyx.org>
3193
3194         * lfuns.h:
3195         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3196
3197         * lyxfunc.C (dispatch): invoke it.
3198
3199 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * main.C: protect <ios> with HAVE_IOS
3202         (main): protect sync_with_stdio with HAVE_IOS
3203
3204 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3205
3206         * text2.C (cutSelection): adjust
3207         (pasteSelection): adjust
3208
3209         * messages.C: handle get of empty string
3210
3211         * main.C (main): use sync_with_stdio(false)
3212
3213         * lyxfunc.C (dispatch): adjust
3214
3215         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3216         (WriteAs): remove unneeded BufferView arg.
3217
3218         * bufferparams.h: use correct types on papersize, papersize2 and
3219         paperpackage.
3220
3221         * bufferparams.C (readToken): adjust for type
3222         (writeLaTeX): add missing cases to switch.
3223
3224         * bufferlist.C (quitWriteBuffer): adjust
3225         (close): adjust
3226
3227         * buffer.C (asciiParagraph): remove some commented code.
3228
3229         * CutAndPaste.C: remove current_view extern variable.
3230         (cutSelection): add BufferParams arg.
3231         (eraseSelection): add BufferParams arg.
3232         (pasteSelection): add Buffer const & arg
3233
3234 2003-06-07  John Levon  <levon@movementarian.org>
3235
3236         * buffer.C:
3237         * paragraph_funcs.C:
3238         * paragraph_pimpl.C:
3239         * text.C:
3240         * text2.C:
3241         * paragraph.h:
3242         * paragraph.C: allow InsetERT to freely space lines,
3243         and some consolidation of code
3244
3245 2003-06-06  José Matos  <jamatos@fep.up.pt>
3246
3247         * buffer.C (makeDocBookFile): fix bug #821
3248
3249 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3252
3253 2003-06-04  Angus Leeming  <leeming@lyx.org>
3254
3255         * buffer.C: bump format to 224.
3256
3257 2003-06-05  André Pönitz  <poenitz@gmx.net>
3258
3259         * text2.C (redoParagraphs): remove two const_cast<>
3260
3261 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3262
3263         * ParagraphList.h: remove last remnants of NO_STD_LIST
3264
3265 2003-06-03  Angus Leeming  <leeming@lyx.org>
3266
3267         * factory.C (createInset): small change to the way InsetExternal's params
3268         are set.
3269
3270 2003-06-04  André Pönitz  <poenitz@gmx.net>
3271
3272         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3273
3274         * paragraph_pimpl.h:
3275         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3276
3277         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3278
3279         * undo_funcs.C: make some simple cases of undo work again
3280
3281 2003-06-03  John Levon  <levon@movementarian.org>
3282
3283         * ispell.C: HPUX doesn't have sys/select.h
3284         (from Albert Chin)
3285
3286 2003-06-03  John Levon  <levon@movementarian.org>
3287
3288         * CutAndPaste.C: update tabular and include inset
3289         buffer references
3290
3291         * buffer.h:
3292         * paragraph.h:
3293         * paragraph.C: remove owningBuffer(), don't pass Buffer
3294         to clone()
3295
3296         * factory.C: insetGraphicsParams changed
3297
3298 2003-06-02  John Levon  <levon@movementarian.org>
3299
3300         * LyXAction.C:
3301         * factory.C:
3302         * lfuns.h:
3303         * lyxfunc.C:
3304         * text3.C: remove insetparent
3305
3306 2003-06-02  John Levon  <levon@movementarian.org>
3307
3308         * buffer.h:
3309         * buffer.C: fix inset_iterator.end(), move out of line
3310         (bug 1149)
3311
3312 2003-06-01  John Levon  <levon@movementarian.org>
3313
3314         * text3.C: use a proper cut/paste when doing inset
3315         insert (from Jürgen Spitzmüller)
3316
3317 2003-06-01  John Levon  <levon@movementarian.org>
3318
3319         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3320
3321 2003-05-30  André Pönitz  <poenitz@gmx.net>
3322
3323         * rowpainter.C: unify second drawing phase
3324
3325 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * trans_mgr.C: remove one case of current_view
3328
3329         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3330
3331         * paragraph_funcs.h: remove paragraph.h include
3332
3333         * paragraph.h: delete NO_STD_LIST stuff
3334
3335         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3336
3337         * buffer.h: remove paragraph.h include
3338
3339         * ParagraphList.C: delete file
3340
3341         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3342
3343         * toc.C (getTocList): adjust
3344
3345         * paragraph_pimpl.C (validate): adjust
3346
3347         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3348
3349         * paragraph.C (Paragraph): adjust
3350         (getPositionOfInset): use const_iterator, adjust
3351         (bibitem): use const_iterator, adjust
3352         (setInsetOwner): adjust
3353
3354         * iterators.C (operator++): adjust
3355
3356         * InsetList.[Ch]: Replace selfmade iterator with standard
3357         vector::iterator also introduce const_iterator. Remove getPos,
3358         getInset and setInset from InsetTable. Adjust accordingly.
3359
3360         * BufferView.C (lockInset): adjust
3361         (ChangeInsets): adjust
3362
3363         * tabular.[Ch]: delete commented same_id functions
3364
3365 2003-05-28  John Levon  <levon@movementarian.org>
3366
3367         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3368
3369 2003-05-28  André Pönitz  <poenitz@gmx.net>
3370
3371         * metricsinfo.[Ch]: remove 'fullredraw' member
3372
3373 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3374
3375         * lyxtextclass.C (operator): remove caching.
3376
3377 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * text3.C: adjust
3380
3381         * text2.C (cursorBottom): adjust
3382         (setCounter): use ParagraphList::find, adjust
3383
3384         * text.C (workWidth): use ParagraphList::find, adjust
3385
3386         * lyxcursor.C (LyXCursor): adjust
3387
3388         * buffer.C (inset_iterator): adjust
3389
3390         * ParagraphList.h: make iterator(value_type) private, make
3391         ParagraphList a friend of iterator.
3392
3393         * ParagraphList.C (find): new function
3394
3395         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3396
3397 2003-05-27  André Pönitz  <poenitz@gmx.net>
3398
3399         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3400
3401 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3402
3403         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3404
3405 2003-05-26  John Levon  <levon@movementarian.org>
3406
3407         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3408
3409 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * remove same_id from function signatures, adjust.
3412
3413 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3416
3417         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3418
3419         * paragraph.C (Paragraph): get rid of same_ids parameter
3420
3421         * ParagraphList.C (insert): adjust
3422         (push_back): adjust
3423
3424 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * paragraph_funcs.C (breakParagraph): adjust
3427         (breakParagraphConservative): adjust
3428
3429         * buffer.C (readParagraph): adjust
3430
3431         * ParagraphList.C (insert): take a reference instead of a pointer
3432         (insert): adjust
3433
3434         * paragraph.[Ch] (id): new function
3435
3436         * bufferlist.C (newFile): adjust
3437
3438         * ParagraphList.C (ParagraphList): adjust
3439         (assign): adjust
3440         (push_back): take a reference instead of a pointer.
3441
3442         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3443
3444         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3445         instead.
3446
3447         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3448         set else use old code.
3449
3450         * ParagraphList.C: remove all NO_NEXT code and only compile this
3451         code of NO_STD_LIST is set.
3452
3453 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * BufferView_pimpl.C:
3456         * TextCache.C:
3457         * TextCache.h:
3458         * bufferlist.C:
3459         * errorlist.h:
3460         * format.C:
3461         * format.h:
3462         * graph.C:
3463         * lyxfunc.C:
3464         * lyxrc.C:
3465         * graphics/GraphicsConverter.C:
3466         * graphics/PreviewLoader.C: header adjustment
3467
3468 2003-05-23  Angus Leeming  <leeming@lyx.org>
3469
3470         * LaTeXFeatures.[Ch] (useBabel): new method.
3471         * bufferparams.C (writeLaTeX): use it.
3472
3473 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * ParagraphList.h (set): remove unused function.
3476
3477 2003-05-23  André Pönitz  <poenitz@gmx.net>
3478
3479         * BufferView.C:
3480         * BufferView_pimpl.C:
3481         * buffer.C:
3482         * buffer.h:
3483         * lyxfunc.C:
3484         * undo_funcs.C: setUndo reworked
3485
3486         * iterators.[Ch]: add access to topmost ParagraphList
3487
3488         * lyxtext.[Ch] (workWidth): add a const
3489
3490 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * texrow.[Ch] (increasePos): remove function
3493         * exporter.C (export): removed unused var and outdated comment
3494
3495 2003-05-23  Angus Leeming  <leeming@lyx.org>
3496
3497         * latexrunparams.h: rename fragile as moving_arg.
3498         * paragraph.C (simpleTeXOnePar): ditto.
3499         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3500
3501 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3504         (createUndo): ditto
3505         (textUndoOrRedo): comment out a currently unused var.
3506
3507         * paragraph.h (NO_NEXT): enable NO_NEXT
3508
3509         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3510
3511         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3512
3513         * exporter.C (Export): adjust for removeAutoInsets removal.
3514
3515         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3516
3517         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3518
3519         * BufferView.[Ch] (removeAutoInsets): delete function
3520
3521 2003-05-22  Angus Leeming  <leeming@lyx.org>
3522
3523         * latexrunparams.h: add a free_spacing variable.
3524
3525         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3526         to pass moving_arg, as the data is stored in runparams.fragile.
3527
3528         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3529         to Inset::latexOptional or to simpleTeXOnePar.
3530
3531         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3532         free_spacing arg to Inset::latexOptional.
3533
3534         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3535         free_spacing arg.
3536
3537 2003-05-22  Angus Leeming  <leeming@lyx.org>
3538
3539         * latexrunparams.h: add fragile and use_babel variables.
3540
3541         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3542         * buffer.C (makeLaTeXFile): store this returned value in
3543         runparams.use_babel, thus passing it to the inset::latex methods.
3544
3545         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3546         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3547
3548         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3549         longer has a fragile arg, as it is stored in runparams.fragile.
3550
3551         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3552         moving_arg parameter as the data is stored in runparams.fragile.
3553
3554         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3555         a fragile parameter as the data is stored in runparams.fragile.
3556
3557 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3560
3561 2003-05-22  Angus Leeming  <leeming@lyx.org>
3562
3563         * latexrunparams.h: add a 'bool nice' which defaults to false.
3564
3565         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3566         now encapsulated within runparams.
3567
3568         * bufferlist.C (updateIncludedTeXfiles):
3569         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3570
3571 2003-05-22  Angus Leeming  <leeming@lyx.org>
3572
3573         * latexrunparams.h: new file containing struct LatexRunParams.
3574         * Makefile.am: add new file.
3575
3576         * LaTeX.[Ch] (c-tor, run):
3577         * buffer.[Ch] (makeLaTeXFile):
3578         * bufferlist.[Ch] (updateIncludedTeXfiles):
3579         * converter.C (convert, scanLog):
3580         * converter.[Ch] (runLaTeX):
3581         * exporter.C (Export):
3582         * paragraph.[Ch] (simpleTeXOnePar):
3583         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3584         * paragraph_funcs.[Ch] (latexParagraphs):
3585         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3586         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3587         pass around a LatexRunParams parameter.
3588
3589 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * paragraph.[Ch]: remove unused constructor
3592
3593         * ParagraphList.C (erase): new function, taking two iterators
3594
3595 2003-05-22  André Pönitz  <poenitz@gmx.net>
3596
3597         * undo_funcs.C: remove duplicated code
3598
3599         * iterator.[Ch]: operator=
3600
3601 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * tabular.C (SetMultiColumn): ws changes
3604
3605         * rowpainter.C (paintFirst): get rid of a ->previous
3606
3607         * lyx_cb.C (getPossibleLabel): parlist simplification
3608
3609         * BufferView.C (ChangeInsets): simplify slightly.
3610
3611 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3612
3613         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3614         * lfuns.h: new LFUN_SPACE
3615         * lyxfunc.C: protected space has a new lfun
3616         * paragraph_funcs.C: read new space insets
3617         * text3.C:
3618         * factory.C: handle new space insets
3619
3620 2003-05-22  André Pönitz  <poenitz@gmx.net>
3621
3622         * BufferView.C:
3623         * BufferView_pimpl.C:
3624         * buffer.[Ch]:
3625         * lyxfunc.C:
3626         * undo_funcs.C: return a ParIterator from getParFromID.
3627
3628         * iterators.[Ch]: add two const's
3629
3630 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * toc.C (getTocList): adjust
3633
3634         * iterators.[Ch]: rework for parlist
3635
3636         * buffer.C (par_iterator_begin): adjust
3637         (par_iterator_end): adjust
3638
3639         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3640
3641         * BufferView.C (removeAutoInsets): adjust
3642         (ChangeInsets): adjust
3643
3644 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * text.C (top_y): fix bug 1110
3647
3648 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * errorlist.[Ch]: added
3651         * buffer.C:
3652         * BufferView.[Ch]:
3653         * BufferView_pimpl.C:
3654         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3655         instead
3656
3657 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * Makefile.am: ensure that lyx is relinked upon changes to the
3660         various "convenience" libs.
3661
3662 2003-05-20  Angus Leeming  <leeming@lyx.org>
3663
3664         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3665         files are compiled in alphabetical order again.
3666
3667         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3668
3669 2003-05-19  Angus Leeming  <leeming@lyx.org>
3670
3671         * gettext.[Ch]: remove "char const * _(char const *)".
3672
3673 2003-05-19  André Pönitz  <poenitz@gmx.net>
3674
3675         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3676
3677         * Makefile.am:
3678         * BufferView.C:
3679         * DepTable.h:
3680         * LaTeXFeatures.C:
3681         * buffer.C:
3682         * lyxfont.C:
3683         * lyxlex.h:
3684         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3685
3686 2003-05-19  André Pönitz  <poenitz@gmx.net>
3687
3688         * buffer.C:
3689         * lyxlayout.[Ch]:
3690         * lyxtextclass.[Ch]:
3691         * paragraph.C:
3692         * paragraph_funcs.[Ch]:
3693         * text2.C:
3694         * text3.C: more insetenv work
3695
3696 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * ParagraphParameters.C (params2string): small bug fixed
3699
3700 2003-05-16  André Pönitz  <poenitz@gmx.net>
3701
3702         * debug.C:
3703         * bufferview_funcs.C: patch from Kornel Benko to prevent
3704           crash when _(...) is called twice in a statement
3705
3706 2003-05-16  André Pönitz  <poenitz@gmx.net>
3707
3708         * BufferView.C:
3709         * lyxfunc.C:
3710         * text.C:
3711         * text2.C:
3712         * text3.C:
3713         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3714
3715 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3716
3717         * lyx_main.C (init): remove spurious static_cast
3718
3719 2003-05-14  André Pönitz  <poenitz@gmx.net>
3720
3721         * BufferView.C: fix format string
3722
3723 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * BufferView.[Ch] (insertErrors): removed
3726         * BufferView.[Ch] (showErrorList): added
3727         * buffer.C (runChkTeX):
3728         * converter.C (scanLog): call showErrorList instead of inserterrors
3729
3730 2003-05-13  André Pönitz  <poenitz@gmx.net>
3731
3732         * BufferView_pimpl.C:
3733         * buffer.C:
3734         * bufferview_func.C:
3735         * MenuBackend.C:
3736         * lyxfunc.C:
3737         * lyxrc.C:
3738         * tex-accent.C:
3739         * text3.C:
3740         * toc.C:
3741         * tabular_funcs.h: tostr() from its own header
3742
3743         * ParagraphParameters.C:
3744         * ToolbarBackend.C:
3745         * bufferparams.C:
3746         * format.C:
3747         * lyxlex_pimpl.C:
3748         * text3.C: STRCONV()
3749
3750 2003-05-12  André Pönitz  <poenitz@gmx.net>
3751
3752         * BufferView.C:
3753         * BufferView_pimpl.C:
3754         * CutAndPaste.C:
3755         * LaTeX.C:
3756         * LaTeXFeatures.C:
3757         * ParagraphParameters.C:
3758         * buffer.C:
3759         * bufferlist.C:
3760         * bufferparams.C:
3761         * bufferview_funcs.C:
3762         * converter.C:
3763         * counters.C:
3764         * debug.C:
3765         * exporter.C:
3766         * format.C:
3767         * importer.C:
3768         * lyx_cb.C:
3769         * lyx_main.C:
3770         * lyxfont.C:
3771         * lyxfunc.C:
3772         * lyxvc.C:
3773         * paragraph.C:
3774         * paragraph_funcs.C:
3775         * tabular.C:
3776         * tabular_funcs.C:
3777         * text2.C:
3778         * text3.C:  boost::format -> bformat  all over the place
3779
3780
3781 2003-05-09  André Pönitz  <poenitz@gmx.net>
3782
3783         * LColor.[Ch]: Pimpl the #include <map> away
3784
3785 2003-05-09  John Levon  <levon@movementarian.org>
3786
3787         * bufferlist.C: never remove emergency saves
3788
3789 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * Makefile.am: better lib building
3792
3793 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3796         instead.
3797         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3798         (simpleTeXSpecialChars): adjust
3799         (simpleTeXSpecialChars): adjust
3800         * paragraph.C (simpleTeXOnePar): adjust
3801         * buffer.C (makeLaTeXFile): adjust
3802
3803         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3804
3805         * text2.C (changeDepth): parlist cleanup
3806         (getColumnNearX): ditto
3807
3808         * rowpainter.C (getLabelFont): parlist cleanup
3809
3810         * bufferlist.C (newFile): parlist cleanup
3811
3812         * CutAndPaste.C (eraseSelection): parlist cleanup
3813
3814         * BufferView_pimpl.C (trackChanges): parlist cleanup
3815         (dispatch): ditto
3816
3817         * BufferView.C (lockInset): parlist cleanup.
3818         (ChangeInsets): ditto
3819
3820 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * CutAndPaste.h: Update file header.
3823
3824         * CutAndPaste.C: Update file header.
3825         Store the parts cut out of the Document in a limited_stack.
3826         (copySelection): adjust
3827         (pasteSelection): new function, takes the index in the limited stack.
3828         (nrOfParagraphs): adjust
3829         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3830         simplify error inset insertion.
3831         (checkPastePossible): adjust
3832
3833 2003-05-06  John Levon  <levon@movementarian.org>
3834
3835         * text2.C: don't cast wrap inset to float
3836
3837 2003-05-05  André Pönitz  <poenitz@gmx.net>
3838
3839         * iterator.C:
3840         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3841
3842         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3843           few naked Paragraph *.
3844
3845 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3846
3847         * bufferparams.C: Output warning if a document with missing
3848         TeX document class is loaded
3849         * exporter.C: Disable TeX exports if the document class is missing
3850         * lyxtextclass.C:
3851         * lyxtextclass.h:
3852         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3853         isTeXClassAvailable()
3854
3855 2003-05-03  John Levon  <levon@movementarian.org>
3856
3857         * BufferView.h:
3858         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3859         explicit cursor show/hide
3860
3861         * BufferView_pimpl.h:
3862         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3863         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3864
3865         * lyxfunc.C: hide cursor before dispatching.
3866
3867         * lyx_cb.C:
3868         * lyxfind.C:
3869         * text.C:
3870         * text3.C: remove explicit cursor hides
3871
3872 2003-05-02  André Pönitz  <poenitz@gmx.net>
3873
3874         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3875
3876         * undo_funcs.C:
3877         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3878           linked lists
3879
3880         * text2.C: tiny whitespace
3881
3882 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * undo_funcs.C: almost only ws changes.
3885
3886         * ParagraphList.C (splice): just return if pl is empty.
3887
3888 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * ParagraphList.C (splice): new function.
3891
3892         * CutAndPaste.C (pasteSelection): use it
3893
3894 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * CutAndPaste.C (pasteSelection): remove the last next and
3897         previous from this file.
3898
3899 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * CutAndPaste.C (pasteSelection): more clean up, user proper
3902         ParagraphList functions for pasteing.
3903
3904         * ParagraphList.C (insert): new function, three arg insert
3905
3906 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * ParagraphList.C (insert): new function, three arg insert
3909
3910         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3911         not on paragraphs.
3912
3913 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3916
3917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3920
3921 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3924         (copySelection): clean up a bit.
3925         (pasteSelection): use make_pair
3926
3927         * ParagraphList.C (ParagraphList): implement copy constructor
3928         (operator=): implement, base on copy constructor.
3929         (assign): new func
3930
3931         * paragraph.C (erase): return a bool
3932
3933         * paragraph_pimpl.C (erasePos): remove function, move contents...
3934         (erase): ... here. Return a bool.
3935         (erase): call erase instead of erasePos.
3936
3937 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3938
3939         * ParagraphList.h: define PitPosPair
3940         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3941         ParagraphList, fix a bug on pasting multiple pars
3942         * text2.C: change interface to C&P
3943
3944 2003-04-30  André Pönitz  <poenitz@gmx.net>
3945
3946         * undo_func.C: revert part of yesterday's patch 2
3947
3948 2003-04-30  John Levon  <levon@movementarian.org>
3949
3950         * LColor.C: s/tabular/table/
3951
3952 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * text3.C (dispatch): do not convert iterator -> pointer
3955         * undo_funcs.C (setCursorParUndo): ditto
3956         * text_funcs.C (transposeChars): ditto
3957
3958         * text2.C (setLayout): ws changes only
3959
3960         * text.C (breakParagraph): do not convert iterator -> pointer
3961         (insertChar): ditto
3962         (acceptChange): ditto
3963         (rejectChange): ditto
3964         (changeCase): ditto
3965         (Delete): ditto
3966         (backspace): ditto
3967
3968         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3969         pointer
3970
3971 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * text3.C (gotoInset): YABG (yet another bad getChar)
3974
3975 2003-04-29  André Pönitz  <poenitz@gmx.net>
3976
3977         * paragraph.h: make operator= private unimplemented as long as
3978           it is unusable
3979
3980         * ParagraphList.C: whitespace
3981
3982         * paragraph.[Ch]:
3983         * paragraph_pimpl.[Ch]:
3984         * paragraph_funcs.C:
3985         * CutAndPaste.C:
3986         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3987
3988         * text2.C:
3989           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3990
3991 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3992
3993         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3994         * paragraph.[Ch] (erase):
3995         * paragraph_pimpl.[Ch] (erase): change return type and value
3996         * text2.C (cutSelection): some rework
3997
3998 2003-04-28  John Levon  <levon@movementarian.org>
3999
4000         * bufferlist.C: changes for unsaved changes dialog
4001
4002 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4003
4004         * bufferlist.C (newFile): set language (messages_) for new
4005         documents also.
4006
4007         * buffer.C (readFile): ws changes only.
4008
4009 2003-04-28  André Pönitz  <poenitz@gmx.net>
4010
4011         * undo_funcs.C:
4012         * lyxfunc.C:
4013         * buffer.[Ch]:
4014         * BufferView_pimpl.C:
4015         * BufferView.C: getParFromID related ParagraphList::iterator changes
4016
4017 2003-04-28  André Pönitz  <poenitz@gmx.net>
4018
4019         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4020           Changes
4021
4022 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * messages.C: remove one more localedir class variable.
4025
4026 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * messages.C (getLocaleDir): singleton generation function
4029         (Pimpl): use it.
4030         (Messages): add a default constructor.
4031
4032         * main.C (main): do not setup localedir here, do not call
4033         gettext_init.
4034
4035         * gettext.C (_): use it.
4036         (gettext_init): delete funciton
4037
4038 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * gettext.C (getLyXMessages): new singleton generating function.
4041
4042         * buffer.C (updateDocLang): adjust
4043
4044         * Makefile.am (messages.o): add target
4045         (main.o): remove target
4046
4047 2003-04-27  John Levon  <levon@movementarian.org>
4048
4049         * bufferlist.C:
4050         * lyx_cb.C:
4051         * lyxfunc.C:
4052         * lyxvc.C: specify cancel button in Alert::prompt
4053
4054 2003-04-26  John Levon  <levon@movementarian.org>
4055
4056         * text3.C:
4057         * lyxfunc.C:
4058         * lfuns.h:
4059         * LyXAction.C: add LFUN_INSET_SETTINGS
4060
4061         * lyxfunc.C: don't enable tabular-feature when there's
4062         just any locking inset
4063
4064 2003-04-26  John Levon  <levon@movementarian.org>
4065
4066         * bufferlist.C: re-add Cancel to buffer close question
4067
4068         * lyxfunc.C: fix import UI a bit
4069
4070 2003-04-25  John Levon  <levon@movementarian.org>
4071
4072         * gettext.C: remove the broken asserts for now
4073
4074 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * messages.C: make case where setlocale cannot comply work better.
4077
4078         * buffer.C (updateDocLang): new function
4079         (changeLanguage): use it
4080         (readFile): use it
4081
4082         * text2.C (setCounter): use B_ a bit.
4083
4084         * lyxlayout.C (Read): be sure to trim the label strings.
4085
4086         * messages.C (Messages): fix typo in comment
4087
4088         * buffer.C (readFile): set message_ after file is loaded.
4089         (makeDocBookFile): remove double return
4090         (changeLanguage): reset message_ upon language change.
4091         (B_): new func, use this to get translated buffer strings.
4092
4093         * main.C: add myself and Jean Marc as authors.
4094
4095 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * messages.[hC]: pimplify Messages, and three different pimpls to be
4098         used in different circumstances.
4099
4100         * gettext.[Ch]: change for use with new message code.
4101
4102 2003-04-24 André Pönitz <poenitz@gmx.net>
4103
4104         * factory.C: support for eqref
4105
4106 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * messages.[Ch]: add missing char
4109
4110         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4111
4112         * messages.[Ch]: New files
4113
4114 2003-04-18  John Levon  <levon@movementarian.org>
4115
4116         * BufferView.h:
4117         * BufferView.C:
4118         * BufferView_pimpl.C:
4119         * lfuns.h:
4120         * LyXAction.C:
4121         * lyxtext.h:
4122         * text2.C: remove layout-copy/paste (bug 778)
4123
4124 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4127
4128 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4131         if they succeed. Act accordingly.
4132
4133 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * text2.C (setCharFont): adjust
4136         (setCounter): adjust
4137         (insertStringAsLines): adjust
4138
4139         * text.C (leftMargin): adjust
4140         (setHeightOfRow): adjust
4141
4142         * rowpainter.C (paintFirst): adjust
4143         (paintLast): adjust
4144
4145         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4146         (outerHook): ditto
4147         (isFirstInSequence): ditto
4148         (getEndLabel): ditto
4149         (outerFont): adjust
4150
4151         * paragraph.C (getParLanguage): comment out some hard stuff.
4152
4153         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4154         (sgmlError): ditto
4155         (simpleDocBookOnePar): ditto
4156         (makeDocBookFile): use ParagraphList::iterator
4157
4158         * CutAndPaste.C (pasteSelection): adjust
4159
4160 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * text2.C (getFont): adjust
4163         (getLayoutFont): adjust
4164         (getLabelFont): adjust
4165
4166         * paragraph_funcs.C (TeXOnePar): adjust
4167
4168         * buffer.C (simpleLinuxDocOnePar): adjust
4169         (simpleDocBookOnePar): adjust
4170
4171         * CutAndPaste.C (pasteSelection): adjust
4172
4173         * BufferView.C (getEncoding): adjust
4174
4175         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4176
4177 2003-04-16  John Levon  <levon@movementarian.org>
4178
4179         * lyxfind.C: use parlist stuff for search/changes
4180
4181 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4184
4185         * text2.C (deleteEmptyParagraphMechanism): adjust
4186
4187         * text2.[Ch] (ownerParagraph): delete func (both of them
4188
4189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4192
4193 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * ParagraphList.C: prepare for NO_NEXT
4196
4197 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * text2.C (getFont): adjust
4200         (getLayoutFont): adjust
4201         (getLabelFont): adjust
4202
4203         * paragraph.C (getFont): adjust
4204         (getLabelFont): adjust
4205         (getLayoutFont): adjust
4206
4207         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4208
4209 2003-04-15  John Levon  <levon@movementarian.org>
4210
4211         From Angus Leeming
4212
4213         * lyx_main.C: handle Include in .ui files
4214
4215 2003-04-15  John Levon  <levon@movementarian.org>
4216
4217         * MenuBackend.C: make the doc files length shorter
4218
4219         * ToolbarBackend.h:
4220         * ToolbarBackend.C: handle toolbar placement flags,
4221         Minibuffer
4222
4223 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4226         adjust
4227
4228         * paragraph_funcs.C (TeXOnePar): adjust
4229
4230         * paragraph.C (getLabelFont): add outerfont arg, adjust
4231         (getLayoutFont): ditto
4232         (simpleTeXOnePar): adjust
4233
4234         * paragraph_pimpl.C (realizeFont): delete func
4235
4236 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4239         row argument, constify cur argument.
4240
4241 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * text2.C (getFont): adjust
4244         (getLayoutFont): adjust
4245         (getLabelFont): adjust
4246
4247         * paragraph_funcs.C (TeXOnePar): adjust
4248         (outerFont): new func...
4249         (realizeFont): ...moved out from here, changed this to facilitate
4250         transition
4251
4252         * paragraph.C (getFont): take outerfont as arg, adjust
4253         (simpleTeXOnePar): add outerfont arg, adjust
4254
4255         * buffer.C (simpleLinuxDocOnePar): adjust
4256         (simpleDocBookOnePar): adjust
4257
4258         * CutAndPaste.C (pasteSelection): adjust
4259
4260         * BufferView.C (getEncoding): adjust
4261
4262 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * text2.C (setCharFont): adjust
4265         (setCounter): adjust
4266
4267         * text.C (leftMargin): adjust
4268         (setHeightOfRow): adjust
4269
4270         * rowpainter.C (paintFirst): adjust
4271         (paintLast): adjust
4272
4273         * paragraph_pimpl.C (realizeFont): adjust
4274
4275         * paragraph.C (isFirstInSequence): move from here...
4276         * paragraph_funcs.C (isFirstInSequence): ...to here
4277
4278         * paragraph.C (outerHook): move from here...
4279         * paragraph_funcs.C (outerHook): ...to here
4280
4281         * paragraph.C (depthHook): move from here...
4282         * paragraph_funcs.C (depthHook): ...to here
4283
4284         * paragraph.C (getEndLabel): move from here...
4285         * paragraph_funcs.C (getEndLabel): ...to here
4286
4287         * text2.C (realizeFont): move from here...
4288         * paragraph_funcs.C (realizeFont): ...to here
4289
4290 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4293
4294 2003-04-14  Angus Leeming  <leeming@lyx.org>
4295
4296         * LColor.[Ch]: scrap LColor mathcursor.
4297
4298 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * lyxlex.[Ch] (text): delete function
4301         * trans.C (Load): adjust
4302         * paragraph_funcs.C (readParToken): adjust
4303
4304 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4307         vector<char> instead of a char[].
4308
4309         * lyxlex_pimpl.C (getString): adjust
4310         (next): adjust
4311         (lex): use getString
4312         (eatLine): adjust
4313         (nextToken): adjust
4314
4315         * lyxlex.C (text): use pimpl_->getString()
4316         (getBool): ditto
4317         (findToken): ditto
4318
4319 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4322         (makeFontEntriesLayoutSpecific): temp var for par.size()
4323         (setLayout): temp var for ownerParagraphs().end()
4324         (fullRebreak): temp var for rows().end()
4325         (selectionAsString): temp var for boost::next(startpit), realize
4326         that the while really is a regular for loop.
4327         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4328         setCursor in one place.
4329         (setParagraph): temp vr for ownerParagraphs().end()
4330         (updateCounters): make the while loop a for loop
4331         (cutSelection): temp var for ownerParagraphs().end()
4332         (updateInset): make the do {} while() a regular for loop
4333         (getCursorX): use temp vars
4334         (setCurrentFont): use temp vars
4335         (getColumnNearX): use temp vars
4336
4337 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * text.C (transformChar): use temp var for getChar
4340         (computeBidiTables): use temp var for row->par()
4341         (fill): move temp vars for row->par() and pit->layout() earlier in
4342         the function.
4343         (labelFill): use temp var for row->par()
4344         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4345         asc and desc, realize that pit never changes and that firstpit is
4346         just a duplicate and not needed. Exchange rit->par() with pit in a
4347         lot of places.
4348         (breakAgain): use a temp var for boost::next(rit)
4349         (breakAgainOneRow): ditto
4350         (breakParagraph): use a temp var for rows().begin()
4351         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4352         (cursorRightOneWord): use temp var for cursor.par() and
4353         cursor.pos(), remove usage of tmpcursor.
4354         (cursorLeftOneWord): use temp var for cursor.par() and
4355         cursor.pos() only set cur at end of function.
4356
4357 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * text.C, text2.C: exchange all usage of Paragraph::next with
4360         boost::next(ParagraphList::iterator)
4361
4362         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4363
4364         * text2.C (cursorTop): simplify implementation
4365         (cursorBottom): ditto
4366         (setParagraph): use ParagraphList::iterator
4367         (setCurrentFont): adjust
4368         (getColumnNearX): adjust
4369         (cursorRight): adjust
4370         (cursorLeft): remove usage of Paragraph::previous
4371         (cursorUpParagraph): ditto
4372         (deleteEmptyParagraphMechanism): slight cleanup
4373
4374         * text.C (isBoundary): take a Paragraph const & instead of a
4375         pointer as arg.
4376         (addressBreakPoint): ditto
4377         (leftMargin): remove usage of Paragraph::previous.
4378         (setHeightOfRow): ditto
4379         (cursorLeftOneWord): ditto
4380         (selectNextWordToSpellcheck): ditto
4381         (Delete): ditto
4382         (backspace): ditto
4383         (breakParagraph): remove one usage of Paragraph::next
4384         (redoParagraph): ditto
4385         (acceptChange): ditto
4386         (insertChar): adjust
4387         (rowBreakPoint): adjust
4388
4389         * bufferview_funcs.C (toggleAndShow): adjust
4390
4391 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4394         methods to access it.
4395         * lyxtext.h:
4396         * text.C: Added updateRowPositions to compute all row positions.
4397         Make top_y and getRowNearY() to use the cached y position
4398
4399 2003-04-11  John Levon  <levon@movementarian.org>
4400
4401         * text.C (rowBreakPoint): reintroduce the labelEnd
4402         checks, code copied from the row fill stuff. Deep voodoo.
4403
4404         * text.C (fill): add a comment and debugging for the
4405         next poor soul.
4406
4407 2003-04-11  John Levon  <levon@movementarian.org>
4408
4409         * text.C: make sure fullrow insets get wrapped to the next line,
4410         even when they're in a manual label
4411
4412 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * text2.C (insertParagraph): make it take ParagraphList::iterator
4415         as arg.
4416         (setLayout): make it return ParagraphList::iterator
4417         (redoParagraphs): ditto
4418         (setCounter): ditto
4419         (checkParagraph): ditto
4420
4421         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4422
4423         * text2.C: adjust several funcs.
4424         (realizeFont): take a ParagraphList::iterator as arg.
4425         (getLayoutFont): ditto
4426         (getLabelFont): ditto
4427         (setCharFont): ditto
4428
4429         * text.C: adjust several funcs.
4430
4431 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * text.C (selectNextWordToSpellcheck): don't accidentally
4434         skip insets
4435
4436 2003-04-10  John Levon  <levon@movementarian.org>
4437
4438         * ToolbarBackend.C (getIcon): special handling for
4439         LFUN_MATH_DELIM
4440
4441 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * text2.C (cursorRight): a getChar assert fixed
4444
4445 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * text2.C (getFont): change to take a ParagraphList::iterator
4448         instead of Paragraph*
4449         Adjust several functions.
4450
4451         * text.C (transformChar): change to take a ParagraphList::iterator
4452         instead of Paragraph*
4453         (singleWidth): ditto
4454         Adjust several functions.
4455
4456         * rowpainter.C: adjust several functions
4457         * rowpainter.h:store a ParagraphList::iterator and not a
4458         Paragraph&.
4459
4460
4461 2003-04-09  John Levon  <levon@movementarian.org>
4462
4463         * lyxfunc.C:
4464         * lfuns.h:
4465         * LyXAction.h:
4466         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4467         and the "help" bits as well
4468
4469 2003-04-09  John Levon  <levon@movementarian.org>
4470
4471         * ToolbarBackend.h:
4472         * ToolbarBackend.C: allow multiple toolbars
4473
4474 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * undo_funcs.C (setCursorParUndo): adjust
4477
4478         * text_funcs.C (transposeChars): adjust
4479
4480         * text3.C (gotoNextInset): adjust
4481         (dispatch): adjust
4482
4483         * text2.C (setLayout): adjust
4484         (changeDepth): adjust
4485         (setFont): adjust
4486         (redoParagraphs): adjust
4487         (selectionAsString): adjust
4488         (setParagraph): adjust
4489         (insertInset): adjust
4490         (cutSelection): adjust
4491         (copySelection): adjust
4492         (pasteSelection): adjust
4493         (insertStringAsLines): adjust
4494         (updateInset): adjust
4495         (setCursor): change to take a ParagraphList::iterator parameter
4496         (setCursorIntern): change to take a ParagraphList::iterator parameter
4497         (setCurrentFont): adjust
4498         (cursorLeft): adjust
4499         (cursorRight): adjust
4500         (deleteEmptyParagraphMechanism): adjust
4501
4502         * text.C (breakParagraph): adjust
4503         (insertChar): adjust
4504         (acceptChange): adjust
4505         (rejectChange): adjust
4506         (selectNextWordToSpellcheck): adjust
4507         (changeCase): adjust
4508         (Delete): adjust
4509         (backspace): adjust
4510
4511         * lyxfind.C (SearchForward): adjust
4512         (SearchBackward): adjust
4513         (nextChange): adjust
4514
4515         * lyxcursor.C (par): adjust
4516
4517         * lyxcursor.h: store a ParagraphList::iterator instead of a
4518         Paragraph*
4519
4520         * lyx_cb.C (getPossibleLabel): adjust
4521
4522         * bufferview_funcs.C (toggleAndShow): adjust
4523
4524         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4525         (dispatch): adjust
4526
4527         * BufferView.C (removeAutoInsets): adjust
4528         (lockedInsetStoreUndo): adjust
4529
4530 2003-04-09  John Levon  <levon@movementarian.org>
4531
4532         * ToolbarBackend.C: try icon without argument
4533         if with argument fails
4534
4535 2003-04-08  John Levon  <levon@movementarian.org>
4536
4537         * ToolbarBackend.h:
4538         * ToolbarBackend.C: add getIcon(), handle tooltip,
4539         and change from "Icon" to "Item".
4540
4541 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * BufferView.C (lockInset): another bad getchar crunched
4544
4545 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4548         again)
4549
4550 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * lyxfind.C (searchForward, searchBackwards): bug 782
4553
4554 2003-04-07  John Levon  <levon@movementarian.org>
4555
4556         * paragraph.C: remove dead comment
4557
4558         * text.C: remove troublesome depth-fiddling code
4559         in leftMargin() and rightMargin() (bug 1017)
4560
4561         * text.C: fix breaking of rows in nested lists
4562         (bug 1004)
4563
4564         * text2.C (updateCounters): fix up depth values
4565         (bug 1013)
4566
4567 2003-04-07  John Levon  <levon@movementarian.org>
4568
4569         * BufferView_pimpl.C: clear message when doc finishes resizing,
4570         and after a mouse event
4571
4572         * lyxfunc.C: clear message after exiting inset
4573
4574 2003-04-07  John Levon  <levon@movementarian.org>
4575
4576         * bufferview_funcs.C: show math status not outside
4577         status in the statusbar
4578
4579 2003-04-07  John Levon  <levon@movementarian.org>
4580
4581         * lyxfunc.C: note status changed after a depth change
4582
4583 2003-04-04  Angus Leeming  <leeming@lyx.org>
4584
4585         * LaTeX.h: move AuxInfo operator==, != out of line.
4586         Remove LaTeX virtual destructor; nothing derives from it.
4587         Move operator()() out of public area and rename it startscript().
4588         Change protected for private.
4589
4590 2003-04-04  Angus Leeming  <leeming@lyx.org>
4591
4592         * lyxfunc.C:
4593         * text2.C: remove unneeded #includes.
4594
4595 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * text2.C (dEPM): fix the heigth of the next row
4598
4599 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * text.C: squashed an invalid getChar requester + some ws changes
4602
4603 2003-04-03  John Levon  <levon@movementarian.org>
4604
4605         * bufferview_funcs.h:
4606         * bufferview_funcs.C:
4607         * lyxfunc.C:
4608         * lyxtext.h:
4609         * text2.C: make getStatus work for the env depth lfuns
4610
4611 2003-04-03  John Levon  <levon@movementarian.org>
4612
4613         * bufferview_funcs.h:
4614         * bufferview_funcs.C:
4615         * lyxfunc.C:
4616         * lyxtext.h:
4617         * text2.C: parlistize decDepth(), by merging it with incDepth()
4618
4619 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * lyxrow.h: store a ParagraphList::iterator instead of a
4622         Paragraph* and adjust other class functions to suit.
4623
4624         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4625         above.
4626
4627 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * text2.C (setCursor): do not anchor to cursor row for the time being
4630
4631 2003-04-02  John Levon  <levon@movementarian.org>
4632
4633         * LyXAction.C:
4634         * lfuns.h:
4635         * lyx_main.C:
4636         * lyxtext.h:
4637         * text.C:
4638         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4639
4640 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * paragraph.h: make ParagraphList and ParagraphList::iterator
4643         friends of Paragraph.
4644
4645         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4646
4647         * ParagraphList.C: Use the private next_ and previous_ from
4648         Paragraph.
4649
4650 2003-04-01  John Levon  <levon@movementarian.org>
4651
4652         * ToolbarBackend.h:
4653         * ToolbarBackend.C:
4654         * Makefile.am: rename, remove defaults gunk
4655
4656         * MenuBackend.h:
4657         * MenuBackend.C: remove defaults gunk
4658
4659         * Languages.h:
4660         * Languages.C: remove defaults gunk
4661
4662         * lyx_main.h:
4663         * lyx_main.C: error out if files couldn't be found.
4664
4665 2003-04-02  John Levon  <levon@movementarian.org>
4666
4667         * text2.C: make incDepth() use parlist
4668
4669 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * undo_funcs.C (firstUndoParagraph): adjust
4672
4673         * text3.C (gotoInset): adjust
4674         (dispatch): adjust, and rewrite loop.
4675
4676         * text2.C (init): adjust, and rewrite loop.
4677         (redoParagraphs): adjust
4678         (updateInset): adjust, and rewrite loop.
4679         (deleteEmptyParagraphMechanism): adjust
4680
4681         * tabular.C (LyXTabular): adjust
4682         (SetMultiColumn): adjust
4683         (TeXRow): adjust
4684
4685         * lyxtext.[Ch] (ownerParagraph): delete function
4686         (ownerParagraphs): new function returns a ParagraphList.
4687
4688         * BufferView.C (removeAutoInsets): adjust
4689         (insertErrors): adjust
4690         (setCursorFromRow): adjust
4691
4692 2003-04-01  Angus Leeming  <leeming@lyx.org>
4693
4694         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4695         in the frontends.
4696
4697 2003-04-02  John Levon  <levon@movementarian.org>
4698
4699         * lyxtext.h:
4700         * text.C:
4701         * Makefile.am:
4702         * text_funcs.h:
4703         * text_funcs.C: make transposeChars a free function
4704
4705         * lyxrow_funcs.C: remove wrong comment
4706
4707 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * lyxtext.h: adjust
4710         * rowpainter.C: adjust
4711         * text.C: adjust
4712         * text2.C: adjust
4713         * text3.C: adjust
4714
4715         * lyxrow_funcs. [Ch]: new files
4716
4717         * lyxrow.[Ch]: remove next and previous pointers
4718         (next,previous): remove accessor functions
4719         (isParEnd): move to lyxrow_funcs
4720         (lastPos): move to lyxrow_funcs
4721         (nextRowIsAllInset): move to lyxrow_funcs
4722         (lastPrintablePos): move to lyxrow_funcs
4723         (numberOfSeparators): move to lyxrow_funcs
4724         (numberOfHfills): move to lyxrow_funcs
4725         (numberOfLabelHfills): move to lyxrow_funcs
4726         (hfillExpansion): move to lyxrow_funcs
4727
4728         * lyxfunc.C: adjust
4729
4730         * bufferview_funcs.C (toggleAndShow): adjust
4731
4732         * RowList.h: Remove class RowList from file leave just a
4733         std::list<Row>.
4734
4735         * RowList.C: delete file
4736
4737         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4738         and lyxrow_funcs.h
4739
4740 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * text3.C (cursorPrevious): adjust
4743         (cursorNext): adjust
4744         (dispatch): adjust
4745
4746         * text2.C (redoHeightOfParagraph): adjust
4747         (redoDrawingOfParagraph): adjust
4748         (setCursor): adjust
4749
4750         * text.C (breakParagraph): adjust
4751         (insertChar): adjust
4752         (backspace): adjust
4753
4754         * rowpainter.C (RowPainter): adjust
4755         (leftMargin): simplify and adjust
4756         (most rowpainter functions): adjust.
4757
4758         * rowpainter.h: store the row as RowList::iterator not as Row*
4759
4760         * lyxcursor.C (row): taka RowList::iterator as arg
4761         (irow): ditto
4762
4763         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4764         of Row*.
4765
4766 2003-04-01  Angus Leeming  <leeming@lyx.org>
4767
4768         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4769         stuff like bool Bool.
4770
4771 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4774         rewrite a loop
4775
4776 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4779         RowList::iterator.
4780
4781         * lyxtext.h (rows): drop one version and leve a const variant that
4782         returns a RowList::iterator.
4783
4784 2003-03-31  Angus Leeming  <leeming@lyx.org>
4785
4786         * text.C (fill): ensure that the signature is the same as that in the
4787         header file.
4788
4789 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * text2.C (redoParagraphs): adjust
4792         (updateCounters): adjust
4793         (checkParagraph): adjust
4794         (getColumnNearX): adjust and reformat a bit.
4795
4796         * text.C (top_y): adjust
4797         (workWidth): adjust
4798         (leftMargin): adjust
4799         (prepareToPrint): adjust
4800         (getRow): adjust
4801         (getRowNearY): adjust
4802
4803         * lyxtext.h: make rowlist_ mutable.
4804
4805         * RowList.h: add const_iterator
4806         * RowList.C: adjust for RowList::const_iterator.
4807
4808         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4809         adjust.
4810
4811 2003-03-31  John Levon  <levon@movementarian.org>
4812
4813         * lyxrc.h:
4814         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4815
4816         * lyx_main.C: set default fonts from using lyx_gui funcs
4817
4818         * exporter.C: pdf_mode moved from lyxrc
4819
4820         * lyx_cb.C:
4821         * lyxfunc.C: changes from above
4822
4823 2003-03-31  John Levon  <levon@movementarian.org>
4824
4825         * lyx_main.C: fix to the last fix
4826
4827 2003-03-31  John Levon  <levon@movementarian.org>
4828
4829         * bufferlist.C: "Load original" -> "Load Original"
4830
4831         * converter.C:
4832         * exporter.C:
4833         * importer.C:
4834         * lyx_main.C:
4835         * format.C: more Alert cleanups
4836
4837 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text2.C (removeParagraph): make it take a RowList::iterator as
4840         arg, adjust.
4841         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4842         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4843
4844         * text.C (anchor_row): make it take a RowList::iterator as arg,
4845         adjust.
4846         (computeBidiTables): make it take a const reference to Row instead
4847         of Row pointer, adjust.
4848         (leftMargin): make it take a RowList::iterator as arg, adjust.
4849         (rowBreakPoint): adjust
4850         (breakAgainOneRow): make it take a RowList::iterator as arg,
4851         adjust.
4852         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4853
4854         * bufferview_funcs.C (toggleAndShow): adjust
4855
4856 2003-03-30  John Levon  <levon@movementarian.org>
4857
4858         * Makefile.am:
4859         * BoostFormat.h:
4860         * boost-inst.C: moved to support
4861
4862         * several files: changes as a result
4863
4864 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * text2.C (LyXText): adjust.
4867         (init): adjust
4868         (removeRow): make it take a RowList::iterator as arg, adjust.
4869         (fullRebreak): adjust
4870         (deleteEmptyParagraphMechanism): adjust
4871         (clearPaint): adjust
4872         (postPaint): adjust
4873
4874         * text.C (top_y): adjust
4875         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4876         (breakAgain): make it take a RowList::iterator as arg, adjust.
4877         (breakParagraph): adjust
4878         (insertChar): adjust
4879         (backspace): adjust
4880
4881         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4882         need_break_row, and refresh_row.
4883
4884         * text3.C (dispatch): adjust
4885
4886         * text2.C (checkParagraph): adjust
4887         (setCursor): adjust
4888         (setCursorFromCoordinates): adjust
4889
4890         * text.C (top_y): adjust
4891         (workWidth): adjust
4892         (getRow): make it return a RowList::iterator, adjust
4893         (getRowNearY): make it return a RowList::iterator, adjust
4894
4895         * text2.C (init): adjust
4896         (insertRow): remove function
4897         (insertParagraph): adjust
4898         (redoParagraphs): adjust
4899         (fullRebreak): adjust
4900         (updateCounters): adjust
4901
4902         * text.C (top_y): rewrite to use RowList iterators.
4903         (top_y): adjust
4904         (setHeightOfRow): rewrite to sue RowList iterators.
4905         (appendParagraph): adjust
4906         (breakAgain): adjust
4907         (breakAgainOneRow): adjust
4908         (breakParagraph): adjust
4909         (getRow): adjust
4910         (getRowNearY): adjust, and remove commented code.
4911
4912         * lyxtext.h (firstRow): delete function
4913         (lastRow): delete function
4914         (rows): new function (const and non-const versions.)
4915         (insertRow): delete function
4916
4917         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4918
4919 2003-03-29  John Levon  <levon@movementarian.org>
4920
4921         * BufferView_pimpl.C: always update scrollbar top
4922         because pasting text when we're anchored could mean we
4923         miss an update altogether
4924
4925 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * text2.C (init): use rowlist_.end() and not 0.
4928         (insertRow): change to take a RowList::iterator as arg, adjust
4929         for this.
4930         (insertParagraph): change to take a RowList::iterator as arg,
4931         adjust for this.
4932         (redoParagraphs): remove some debug msgs.
4933
4934         * text.C (appendParagraph): change to take a RowList::iterator
4935         arg, adjust for this.
4936         (breakAgain): add an assert
4937         (breakAgainOneRow): ditto
4938
4939 2003-03-29  John Levon  <levon@movementarian.org>
4940
4941         * text2.C: do not clear selection after inc/decDepth
4942         (bug 550)
4943
4944 2003-03-29  John Levon  <levon@movementarian.org>
4945
4946         * BufferView.C:
4947         * buffer.C: fix broken strerrors according to Lars
4948
4949 2003-03-29  John Levon  <levon@movementarian.org>
4950
4951         * converters.C: more Alert cleanups
4952
4953 2003-03-29  John Levon  <levon@movementarian.org>
4954
4955         * bufferview_funcs.C: remove pointless Alert
4956
4957         * buffer.C: fix confusing error message when
4958         a template is chmoded 000
4959
4960 2003-03-29  John Levon  <levon@movementarian.org>
4961
4962         * BufferView.C:
4963         * BufferView.h:
4964         * BufferView_pimpl.C: Alert fixes
4965
4966         * Makefile.am:
4967         * tabular.C:
4968         * tabular-old.C: remove unused table compat reading
4969
4970 2003-03-29  John Levon  <levon@movementarian.org>
4971
4972         * BufferView.C:
4973         * buffer.C:
4974         * lyx_cb.h:
4975         * lyx_cb.C: more Alert cleanups
4976
4977         * lyxfunc.C: don't allow chktex if not latex document
4978
4979 2003-03-29  John Levon  <levon@movementarian.org>
4980
4981         * lyx_cb.C:
4982         * BufferView.C:
4983         * buffer.C: warnings pushed down from support/,
4984         kill err_alert
4985
4986 2003-03-29  John Levon  <levon@movementarian.org>
4987
4988         * lyxfunc.C: safety check for C-r (revert)
4989
4990 2003-03-29  John Levon  <levon@movementarian.org>
4991
4992         * bufferlist.h:
4993         * bufferlist.C: several UI fixes using Alert::prompt.
4994         Fix the pointless looping quit code. Fix stupid revert
4995         behaviour (bug 938)
4996
4997         * lyxvc.h:
4998         * lyxvc.C:
4999         * lyx_cb.C: use Alert::prompt
5000
5001         * lyx_main.C: remove a silly question
5002
5003         * lyxfunc.C: remove a couple of silly questions,
5004         use Alert::prompt
5005
5006 2003-03-28  John Levon  <levon@movementarian.org>
5007
5008         * text2.C: fix bug 974 (End on empty par)
5009
5010 2003-03-28  John Levon  <levon@movementarian.org>
5011
5012         * BufferView_pimpl.C:
5013         * LyXAction.C:
5014         * lfuns.h: remove do-nothing math greek lfuns
5015
5016 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * lyxgluelength.h (isValidGlueLength): add default arg on
5019         parameter 2. Remove default arg from friend in class.
5020
5021         * lyxlength.h (isValidLength): add default arg on parameter 2.
5022         Remove default arg from friend in class.
5023
5024         * text2.C (LyXText): adjust, initialize refresh_row.
5025         (init): adjust
5026         (removeRow): adjust
5027         (insertRow): adjust
5028         (insertParagraph): adjst
5029         (redoParagraphs): adjust
5030         (fullRebreak): adjust
5031         (updateCounters): adjust
5032         (deleteEmptyParagraphMechanism): first attempt at fixing a
5033         crashing bug.
5034
5035         * text.C (top_y): adjust
5036         (setHeightOfRow): adjust
5037         (getRow): adjust
5038         (getRowNearY): adjust
5039
5040         * lyxtext.h: include RowList.h
5041         (~LyXText): not needed anymore, deleted.
5042         (firstRow): modify for RowList
5043         (lastRow): new function
5044         Delete firstrow and lastrow class variables, add a Rowlist
5045         rowlist_ class variable.
5046
5047         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5048         paragraph is empty.
5049
5050         * RowList.C (insert): fix case where it == begin().
5051
5052 2003-03-26  Angus Leeming  <leeming@lyx.org>
5053
5054         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5055         the thesaurus dialog.
5056
5057 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5060
5061         * RowList.[Ch]: new files
5062
5063         * ParagraphList.C (erase): handle the case where it == begin
5064         correctly.
5065
5066 2003-03-25  John Levon  <levon@movementarian.org>
5067
5068         * Makefile.am:
5069         * aspell_local.h:
5070         * aspell.C: add new aspell support
5071
5072         * lyxrc.h:
5073         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5074         have it accessible.
5075
5076 2003-03-25  Angus Leeming  <leeming@lyx.org>
5077
5078         * lfuns.h:
5079         * LyXAction.C (init): new LFUN_INSET_INSERT.
5080
5081         * BufferView_pimpl.C (dispatch): split out part of the
5082         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5083
5084         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5085         LFUN_INSET_APPLY.
5086
5087 2003-03-25  Angus Leeming  <leeming@lyx.org>
5088
5089         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5090
5091 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * text2.C:
5094         * text3.C: remove useless row->height(0)
5095
5096 2003-03-25  John Levon  <levon@movementarian.org>
5097
5098         * lyxtext.h:
5099         * text2.C:
5100         * text3.C: rename the refreshing stuff to better names
5101
5102 2003-03-24  John Levon  <levon@movementarian.org>
5103
5104         * BufferView_pimpl.h:
5105         * BufferView_pimpl.C: update layout choice on a mouse
5106         press/release
5107
5108 2003-03-23  John Levon  <levon@movementarian.org>
5109
5110         * Makefile.am: fix commandtags.h reference
5111
5112 2003-03-22  John Levon  <levon@movementarian.org>
5113
5114         * BufferView_pimpl.C:
5115         * lyxtext.h:
5116         * rowpainter.C:
5117         * rowpainter.h:
5118         * text.C:
5119         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5120
5121 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * lyxtext.h:
5124         * text.C: take the rtl methods out of line
5125
5126 2003-03-21 André Pönitz <poenitz@gmx.net>
5127
5128         * metricsinfo.[Ch]: new files containing structures to be passed around
5129         during the two-phase-drawing...
5130
5131 2003-03-21 André Pönitz <poenitz@gmx.net>
5132
5133         * lyxtextclass.C: read 'environment' tag.
5134
5135 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * text2.C (removeRow): fix bug 964
5138
5139 2003-03-20  John Levon  <levon@movementarian.org>
5140
5141         * rowpainter.C:
5142         * text.C:
5143         * text2.C: paint cleanups. Inset::update() dropped font
5144         parameter
5145
5146 2003-03-19  John Levon  <levon@movementarian.org>
5147
5148         * lyxfunc.C: only fitcursor/markDirty if available()
5149
5150 2003-03-19  John Levon  <levon@movementarian.org>
5151
5152         * commandtags.h: rename to ...
5153
5154         * lfuns.h: ... this, and renumber / cleanup
5155
5156 2003-03-19  John Levon  <levon@movementarian.org>
5157
5158         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5159         fit the cursor after an lfun
5160
5161         * BufferView.h:
5162         * BufferView.C:
5163         * BufferView_pimpl.h:
5164         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5165
5166         * LyXAction.C: layout-character should have ReadOnly
5167
5168         * ParagraphParameters.C:
5169         * buffer.C:
5170         * bufferview_funcs.C:
5171         * lyx_cb.C:
5172         * lyxfind.C:
5173         * lyxtext.h:
5174         * text.C:
5175         * text2.C:
5176         * text3.C:
5177         * undo_funcs.C: changes from above
5178
5179 2003-03-18  John Levon  <levon@movementarian.org>
5180
5181         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5182         remove it from update()
5183
5184         * lyxfunc.C: update layout choice after an lfun
5185
5186         * text3.C: remove extra updateLayoutChoice()s
5187
5188 2003-03-18  John Levon  <levon@movementarian.org>
5189
5190         * text.C: top_y change means full repaint, fix
5191         a drawing bug with cursor movement
5192
5193 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5194
5195         * lyxtext.h:
5196         * text.C:
5197         * text2.C: anchor row on setCursor
5198
5199 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * lyxtext.h: remove almost all mutable keywords
5202         * text.C:
5203         * text2.C:
5204         * text3.C: remove const keywords accordingly
5205
5206 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5209         anon namespace
5210         (TeXEnvironment): ditto
5211         (TeXOnePar): ditto
5212
5213 2003-03-17  John Levon  <levon@movementarian.org>
5214
5215         * text.C (rowBreakPoint): remove attempt to fix displayed
5216         math insets inside a manual label
5217
5218 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * lyxtext.h: remove BufferView* as first arg from almost all class
5221         functions.
5222         * other files: adjust.
5223
5224 2003-03-17  John Levon  <levon@movementarian.org>
5225
5226         * lyxtext.h:
5227         * undo_funcs.C:
5228         * text2.C: more paint cleanups
5229
5230         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5231
5232         * rowpainter.h:
5233         * rowpainter.C: remove "smart" background painting code
5234
5235 2003-03-16  John Levon  <levon@movementarian.org>
5236
5237         * lyxtext.h:
5238         * text.C:
5239         * text2.C:
5240         * text3.C: add helper functions for setting refresh_row/y
5241
5242 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5243
5244         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5245         newline inset which *can* get inserted in the pass_thru layouts.
5246         This is primarily for literate documents.
5247
5248 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5249
5250         * buffer.C: increment LYX_FORMAT to 223
5251
5252 2003-03-14 André Pönitz <poenitz@gmx.net>
5253
5254         * textclass.h: prepare for environment handling, ws changes
5255         * lyxlayout.C: read latexheader and latexfooter tags
5256
5257 2003-03-14  John Levon  <levon@movementarian.org>
5258
5259         * text2.C: rewrite ::status() a bit
5260
5261 2003-03-13  John Levon  <levon@movementarian.org>
5262
5263         * lyxtext.h: add some docs
5264
5265 2003-03-13  John Levon  <levon@movementarian.org>
5266
5267         * lyxtext.h:
5268         * text.C:
5269         * text2.C:
5270         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5271
5272 2003-03-13  John Levon  <levon@movementarian.org>
5273
5274         * text3.C: fix appendix redrawing
5275
5276 2003-03-13  John Levon  <levon@movementarian.org>
5277
5278         * text.C (setHeightOfRow):
5279         * rowpainter.h:
5280         * rowpainter.C: make appendix mark have the text
5281           "Appendix" so the user knows what it is
5282
5283         * LColor.h:
5284         * LColor.C: s/appendixline/appendix/ from above
5285
5286 2003-03-13  John Levon  <levon@movementarian.org>
5287
5288         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5289
5290         * text.C: fix a getChar(pos) bug properly
5291
5292 2003-03-13  Angus Leeming  <leeming@lyx.org>
5293
5294         * commandtags.h:
5295         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5296         Probably only temporary. Let's see how things pan out.
5297
5298         * BufferView.C (unlockInset):
5299         * BufferView_pimpl.C (fitCursor):
5300         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5301
5302         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5303         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5304
5305         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5306         new functions that convert ParagraphParameters to and from a string.
5307
5308         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5309         BufferView::Pimpl's dispatch.
5310         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5311
5312 2003-03-13 André Pönitz <poenitz@gmx.net>
5313
5314         * lyxfunc.C:
5315         * text3.C:
5316         * factory.C: make it aware of InsetEnv
5317
5318 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * text2.C (setCursor): never ask for one past last
5321         (setCursor): add some debugging messages.
5322
5323         * text.C (singleWidth): never ask for one past last
5324         (singleWidth): ditto
5325         (leftMargin): ditto
5326         (rightMargin): ditto
5327         (rowBreakPoint): ditto
5328         (setHeightOfRow): ditto
5329         (prepareToPrint): ditto
5330
5331         * rowpainter.C (paintBackground): never ask for one past last
5332         (paintText): never ask for one past last
5333
5334         * paragraph_pimpl.C (getChar): make the assert stricter, never
5335         allow the one past last pos to be taken
5336
5337         * paragraph.C (getChar): ws changes only
5338
5339         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5340         (numberOfSeparators): ditto
5341         (numberOfHfills): ditto
5342
5343 2003-03-12  John Levon  <levon@movementarian.org>
5344
5345         * author.h:
5346         * author.C:
5347         * bufferparams.h:
5348         * bufferparams.C:
5349         * paragraph_funcs.C: fix per-buffer authorlists
5350
5351 2003-03-12  John Levon  <levon@movementarian.org>
5352
5353         * text.C: fix newline in right address
5354
5355 2003-03-12  Angus Leeming  <leeming@lyx.org>
5356
5357         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5358         duplicate those in LyXFunc::dispatch.
5359
5360         * commandtags.h:
5361         * LyXAction.C:
5362         * ToolbarDefaults.C:
5363         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5364         Add LFUN_FONTFREE_UPDATE.
5365
5366         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5367         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5368
5369         * bufferview_func.[Ch]: several new functions to facilliate
5370         transfer of data to and from the character dialog.
5371
5372 2003-03-12  John Levon  <levon@movementarian.org>
5373
5374         * buffer.C:
5375         * paragraph.h:
5376         * paragraph.C:
5377         * paragraph_funcs.C:
5378         * paragraph_pimpl.C:
5379         * sgml.C:
5380         * tabular.C:
5381         * text.C:
5382         * text3.C: remove META_NEWLINE in favour of an inset
5383
5384         * rowpainter.h:
5385         * rowpainter.C: remove paintNewline (done by inset)
5386
5387 2003-03-12  John Levon  <levon@movementarian.org>
5388
5389         * paragraph_pimpl.C: complain about bad getChar()s
5390         for a while at least
5391
5392 2003-03-12  John Levon  <levon@movementarian.org>
5393
5394         * buffer.h:
5395         * buffer.C: move paragraph read into a separate function,
5396         a little renaming to reflect that.
5397
5398         * bufferparams.h:
5399         * bufferparams.C: remove the author_ids map, not necessary now
5400
5401         * factory.h:
5402         * factory.C: moved Buffer::readInset to here
5403
5404         * paragraph_funcs.h:
5405         * paragraph_funcs.C: readParagraph free function moved from
5406         buffer.C
5407
5408         * tabular.C: name change
5409
5410 2003-03-12  John Levon  <levon@movementarian.org>
5411
5412         * buffer.C:
5413         * ParagraphParameters.C: move par params input to
5414         a read() method
5415
5416         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5417         behave like a normal read from the stream wrt reading
5418         a line vs. a \\token
5419
5420 2003-03-12  John Levon  <levon@movementarian.org>
5421
5422         * paragraph.C:
5423         * ParagraphParameters.h:
5424         * ParagraphParameters.C: move output code to a
5425         ::write() method
5426
5427 2003-03-12  John Levon  <levon@movementarian.org>
5428
5429         * BufferView.C (insertLyXFile):
5430         * buffer.h:
5431         * buffer.C:
5432         * tabular.C: use a parlist iterator for creating the
5433           document.
5434
5435 2003-03-12  John Levon  <levon@movementarian.org>
5436
5437         * buffer.C: make current_change static local not
5438           static file-scope
5439
5440 2003-03-12  John Levon  <levon@movementarian.org>
5441
5442         * buffer.C: fix insertStringAsLines for change tracking
5443
5444 2003-03-12  John Levon  <levon@movementarian.org>
5445
5446         * BufferView.C:
5447         * tabular.C:
5448         * buffer.h:
5449         * buffer.C:
5450         * bufferparams.h:
5451         * bufferparams.C: move author list into params. Rename some
5452           functions. Move the header reading into a separate token
5453           loop. Move the header token reading into BufferParams.
5454
5455 2003-03-12  John Levon  <levon@movementarian.org>
5456
5457         * changes.C: put debug inside lyxerr.debugging() checks
5458
5459 2003-03-11 André Pönitz <poenitz@gmx.net>
5460
5461         * factory.C: make it aware of InsetHFill
5462
5463 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5464
5465         * buffer.C (latexParagraphs): move function from here...
5466         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5467         args.
5468
5469 2003-03-10  Angus Leeming  <leeming@lyx.org>
5470
5471         * LyXAction.C (init): fix bug in poplating array with multiple entries
5472         with the same LFUN (spotted by JMarc).
5473
5474 2003-03-10  John Levon  <levon@movementarian.org>
5475
5476         * text.C:
5477         * text2.C: move getColumnNearX() near its
5478         only call site
5479
5480 2003-03-10  John Levon  <levon@movementarian.org>
5481
5482         * text.C: fix break before a minipage
5483
5484 2003-03-10  John Levon  <levon@movementarian.org>
5485
5486         * text.C: fix the last commit
5487
5488 2003-03-09  John Levon  <levon@movementarian.org>
5489
5490         * lyxtext.h:
5491         * text.C:
5492         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5493         bug 365 (don't break before insets unless needed). Don't
5494         return a value > last under any circumstances.
5495
5496 2003-03-09  Angus Leeming  <leeming@lyx.org>
5497
5498         * BufferView_pimpl.C (trackChanges, dispatch): call
5499         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5500
5501 2003-03-09  Angus Leeming  <leeming@lyx.org>
5502
5503         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5504         than Dialogs::showAboutlyx().
5505
5506 2003-03-09  Angus Leeming  <leeming@lyx.org>
5507
5508         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5509         than Dialogs::showTabularCreate().
5510
5511 2003-03-09  John Levon  <levon@movementarian.org>
5512
5513         * lyxtext.h:
5514         * text.C:
5515         * text2.C: 3rd arg to nextBreakPoint was always the same.
5516           Use references.
5517
5518 2003-03-08  John Levon  <levon@movementarian.org>
5519
5520         * lyxrow.C:
5521         * paragraph.C:
5522         * paragraph.h:
5523         * rowpainter.C:
5524         * text.C:
5525         * text2.C: Remove the "main" bit from the "main body"
5526           notion.
5527
5528 2003-03-08  John Levon  <levon@movementarian.org>
5529
5530         * text.C (leftMargin): The left margin of an empty
5531         manual label paragraph should not include the label width
5532         string length.
5533
5534         * text.C (prepareToPrint): don't attempt to measure hfills
5535         for empty manual label paragraphs - the answer should be 0
5536
5537 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * CutAndPaste.C: remove commented code and reindent.
5540
5541 2003-03-08  John Levon  <levon@movementarian.org>
5542
5543         * lyxfunc.h:
5544         * lyxfunc.C: move reloadBuffer()
5545
5546         * BufferView.h:
5547         * BufferView.C: to here
5548
5549         * lyxvc.C: add comment
5550
5551         * vc-backend.h:
5552         * vc-backend.C: call bv->reload() to avoid
5553           getStatus() check on MENURELOAD
5554
5555 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5556
5557         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5558         to an old format .dep file.
5559
5560 2003-03-07  Angus Leeming  <leeming@lyx.org>
5561
5562         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5563         when the LFUN_MOUSE_RELEASE should have been handled by
5564         inset->localDispatch.
5565
5566 2003-03-07  Angus Leeming  <leeming@lyx.org>
5567
5568         * BufferView_pimpl.C (dispatch):
5569         * LyXAction.C (init):
5570         * ToolbarDefaults.C (init):
5571         * commandtags.h:
5572         * lyxfunc.C (getStatus):
5573         remove LFUN_INSET_GRAPHICS.
5574
5575         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5576
5577 2003-03-07  Angus Leeming  <leeming@lyx.org>
5578
5579         * commandtags.h:
5580         * LyXAction.C (init):
5581         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5582
5583         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5584
5585         * commandtags.h:
5586         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5587
5588         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5589         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5590
5591 2003-03-07  Angus Leeming  <leeming@lyx.org>
5592
5593         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5594         remove "ert".
5595
5596 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * ParagraphList.C (front): new function
5599         (back): implement
5600
5601 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5602
5603         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5604         and top_row_offset_. removed var first_y.
5605         * text.C (top_y):
5606         * text2.C (LyXText, removeRow):
5607         * text3.C:
5608         * BufferView_pimpl.C:
5609         use these methods instead of using first_y
5610
5611 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * text2.C (pasteSelection): adjust for checkPastePossible
5614
5615         * CutAndPaste.C: remove Paragraph * buf and replace with
5616         ParagraphList paragraphs.
5617         (DeleteBuffer): delete
5618         (cutSelection): change the tc type to textclass_type
5619         (copySelection): change the tc type to textclass_type
5620         (copySelection): adjust for ParagraphList
5621         (pasteSelection): change the tc type to textclass_type
5622         (pasteSelection): adjust for Paragraphlist
5623         (nrOfParagraphs): simplify for ParagraphList
5624         (checkPastePossible): simplify for ParagraphList
5625         (checkPastePossible): remove unused arg
5626
5627         * ParagraphList.C (insert): handle the case where there are no
5628         paragraphs yet.
5629
5630         * CutAndPaste.h: make CutAndPaste a namespace.
5631
5632         * text3.C (dispatch): adjust
5633
5634         * text.C (breakParagraph): add a ParagraphList as arg
5635
5636         * paragraph_funcs.C (breakParagraph): change to take a
5637         BufferParams and a ParagraphList as args.
5638         (breakParagraphConservative): ditto
5639         (mergeParagraph): ditto
5640         (TeXDeeper): add a ParagraphList arg
5641         (TeXEnvironment): ditto
5642         (TeXOnePar): ditto
5643
5644         * buffer.C (readLyXformat2): adjust
5645         (insertStringAsLines): adjust
5646         (latexParagraphs): adjust
5647
5648         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5649         (cutSelection): adjust
5650         (pasteSelection): adjust
5651
5652         * BufferView_pimpl.C (insertInset): adjust
5653
5654 2003-03-05  Angus Leeming  <leeming@lyx.org>
5655
5656         * commandtags.h:
5657         * LyXAction.C (init):
5658         * BufferView_pimpl.C (dispatch):
5659         * lyxfunc.C (getStatus):
5660         remove LFUN_CHILD_INSERT.
5661
5662         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5663
5664 2003-03-05  Angus Leeming  <leeming@lyx.org>
5665
5666         * commandtags.h:
5667         * LyXAction.C (init):
5668         * src/factory.C (createInset):
5669         * lyxfunc.C (getStatus):
5670         * text3.C (dispatch):
5671         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5672
5673         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5674
5675 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * ParagraphList.C (insert): handle insert right before end()
5678         (erase): fix cases where it can be first or last paragraph.
5679
5680 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5683         Paragraph::next and Paragraph::previous
5684         (TeXOnePar): ditto
5685
5686         * text.C (breakParagraph): adjust
5687
5688         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5689         BufferParams& as arg.
5690         (breakParagraph): use ParagraphList::insert
5691         (breakParagraphConservative): take a Buffer* instead of a
5692         BufferParams& as arg.
5693         (breakParagraphConservative): use ParagraphList::insert.
5694
5695         * buffer.C (insertStringAsLines): un-const it
5696         (insertStringAsLines): adjust
5697
5698         * ParagraphList.C (insert): new function
5699
5700         * CutAndPaste.C (pasteSelection): adjust
5701
5702         * text.C (backspace): adjust
5703
5704         * tabular.C (SetMultiColumn): adjust
5705
5706         * CutAndPaste.C (cutSelection): adjust
5707         (pasteSelection): adjust
5708
5709         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5710         Buffer const * as arg
5711
5712         * ParagraphList.C (erase): new function
5713         * paragraph_funcs.C (mergeParagraph): use it
5714         (mergeParagraph): make it take a Buffer* instead of a
5715         BufferParams* as arg
5716
5717         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5718         as arg
5719         (breakParagraphConservative): ditto
5720
5721         * paragraph.h: remove the breakParagraph friend
5722
5723         * paragraph.C (eraseIntern): new function
5724         (setChange): new function
5725
5726         * paragraph_funcs.C (mergeParagraph): make it take a
5727         ParagraphList::iterator instead of a Paragraph *, adjust
5728         accordingly.
5729
5730         * paragraph.h: move an #endif so that the change tracking stuff
5731         also works in the NO_NEXT case.
5732
5733 2003-03-04  Angus Leeming  <leeming@lyx.org>
5734
5735         * commandtags.h:
5736         * LyXAction.C: new LFUN_INSET_MODIFY.
5737
5738         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5739         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5740
5741 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * several files: ws changes only
5744
5745         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5746         (TeXEnvironment): ditto
5747         (TeXDeeper): ditto
5748
5749         * buffer.C (makeLaTeXFile): adjust
5750         (latexParagraphs): make it take ParagraphList::iterator as args
5751
5752 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * buffer.C (latexParagraphs): adjust
5755
5756         * paragraph.C (TeXOnePar): move function...
5757         (optArgInset): move function...
5758         (TeXEnvironment): move function...
5759         * paragraph_pimpl.C (TeXDeeper): move function...
5760         * paragraph_funcs.C: ...here
5761
5762         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5763
5764 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * buffer.C (readInset): remove compability code for old Figure and
5767         InsetInfo insets
5768
5769 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * buffer.C: ws changes
5772         (readInset):
5773
5774         * BufferView_pimpl.C: ditto
5775         * author.C: ditto
5776         * buffer.h: ditto
5777         * bufferlist.h: ditto
5778         * changes.h: ditto
5779         * lyxfunc.C: ditto
5780
5781 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5782
5783         * converter.[Ch]: split into itself +
5784         * graph.[Ch]
5785         * format.[Ch]
5786         * Makefile.am: += graph.[Ch] + format.[Ch]
5787         * MenuBackend.C
5788         * buffer.C
5789         * exporter.C
5790         * importer.C
5791         * lyx_main.C
5792         * lyxfunc.C
5793         * lyxrc.C: added #include "format.h"
5794
5795 2003-02-27  Angus Leeming  <leeming@lyx.org>
5796
5797         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5798           a label.
5799
5800         * factory.C (createInset): add "label" to the factory.
5801
5802         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5803           string and do no more.
5804
5805 2003-02-27  Angus Leeming  <leeming@lyx.org>
5806
5807         * commandtags.h:
5808         * LyXAction.C (init):
5809         * factory.C (createInset):
5810         * BufferView_pimpl.C (dispatch):
5811           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5812
5813         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5814
5815         * lyxfunc.C (dispatch):
5816         * text3.C (dispatch): pass name to params2string.
5817
5818 2003-02-26  Angus Leeming  <leeming@lyx.org>
5819
5820         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5821           blocks together.
5822           Rearrange the ~includes. Strip out the unnecessary ones.
5823
5824         * factory.C (createInset): reformat.
5825           create new insets for the various LFUN_XYZ_APPLY lfuns.
5826
5827 2003-02-26  John Levon  <levon@movementarian.org>
5828
5829         * lyxrow.h:
5830         * lyxrow.C: add isParStart,isParEnd helpers
5831
5832         * paragraph.h: make isInserted/DeletedText take refs
5833
5834         * paragraph_funcs.h:
5835         * paragraph_funcs.C: remove #if 0'd code
5836
5837         * lyxtext.h:
5838         * text3.C:
5839         * text2.C:
5840         * text.C: use lyxrow helpers above.
5841           Move draw and paint routines to RowPainter.
5842           Make several methods use refs not pointers.
5843           Make backgroundColor() const.
5844           Add markChangeInDraw(), isInInset().
5845           Merge changeRegionCase into changeCase.
5846           Make workWidth() shouldn't-happen code into an Assert.
5847
5848         * rowpainter.h:
5849         * rowpainter.C: new class for painting a row.
5850
5851         * vspace.h:
5852         * vspace.C: make inPixels take a ref
5853
5854 2003-02-26  Angus Leeming  <leeming@lyx.org>
5855
5856         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5857         LFUN_REF_APPLY.
5858
5859 2003-02-25  John Levon  <levon@movementarian.org>
5860
5861         * ispell.C: give the forked command a more accurate name
5862
5863 2003-02-22  John Levon  <levon@movementarian.org>
5864
5865         * toc.h:
5866         * toc.C: make TocItem store an id not a Paragraph *
5867           (bug #913)
5868
5869 2003-02-21  Angus Leeming  <leeming@lyx.org>
5870
5871         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5872           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5873           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5874           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5875           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5876           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5877
5878         * BufferView_pimpl.C (dispatch):
5879         * LyXAction.C (init):
5880         * factory.C (createInset):
5881         * lyxfunc.C (getStatus, dispatch):
5882         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5883
5884 2003-02-21  Angus Leeming  <leeming@lyx.org>
5885
5886         * BufferView_pimpl.C (MenuInsertLyXFile):
5887         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5888         * lyxfunc.C (menuNew, open, doImport):
5889           no longer pass a LyXView & to fileDlg.
5890
5891 2003-02-21  Angus Leeming  <leeming@lyx.org>
5892
5893         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5894         * LyXAction.C: change, BIBKEY to BIBITEM.
5895         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5896         Change InsetBibKey to InsetBibitem.
5897         Change BIBKEY_CODE to BIBITEM_CODE.
5898         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5899         * factory.C: replace insetbib.h with insetbibitem.h.
5900         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5901         * paragraph.C: replace insetbib.h with insetbibitem.h.
5902         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5903         Change bibkey() to bibitem().
5904         * text.C: remove insetbib.h.
5905         * text2.C: replace insetbib.h with insetbibitem.h.
5906         change bibkey() to bibitem().
5907         * text3.C: remove insetbib.h.
5908         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5909
5910 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5911
5912         * lyxrc.C (output): enclose user email in quotes (in case there are
5913         several words)
5914
5915 2003-02-18  John Levon  <levon@movementarian.org>
5916
5917         * buffer.h: add std::
5918
5919 2003-02-17  John Levon  <levon@movementarian.org>
5920
5921         * SpellBase.h:
5922         * ispell.h:
5923         * ispell.C:
5924         * pspell.h:
5925         * pspell.C: reworking. Especially in ispell, a large
5926           number of clean ups and bug fixes.
5927
5928         * lyxfunc.C: fix revert to behave sensibly
5929
5930 2003-02-17 André Pönitz <poenitz@gmx.net>
5931
5932         * LyXAction.C:
5933         * commandtags.h: new LFUN_INSERT_BIBKEY
5934
5935         * layout.h:
5936         * lyxlayout.C:
5937         * buffer.C:
5938         * factory.C:
5939         * text.C:
5940         * text2.C:
5941         * text3.C:
5942         * paragraph.[Ch]:
5943         * paragraph_func.C: remove special bibkey handling
5944
5945 2003-02-17  John Levon  <levon@movementarian.org>
5946
5947         * text.C (Delete): fix case where delete at the end of
5948           the very first paragraph would not merge the pars
5949
5950 2003-02-17  John Levon  <levon@movementarian.org>
5951
5952         * lyxrow.C: fix lastPrintablePos()
5953
5954 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5955
5956         * bufferparams.C (writeLaTeX): add a std:here
5957
5958         * buffer.C: and remove a using directive there
5959
5960 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5961
5962         * buffer.C (makeLaTeXFile): move the code that generates the
5963           preamble...
5964
5965         * bufferparams.C (writeLaTeX): ... in this new method
5966
5967         * LaTeXFeatures.C (getEncodingSet): make const
5968           (getLanguages): make const
5969
5970         * MenuBackend.C (binding): returns the binding associated to this
5971           action
5972           (add): sets the status of each item by calling getStatus. Adds
5973           some intelligence.
5974           (read): add support for OptSubMenu
5975           (expand): remove extra separator at the end of expanded menu
5976
5977 2003-02-15  John Levon  <levon@movementarian.org>
5978
5979         * BufferView.C:
5980         * BufferView_pimpl.C:
5981         * bufferlist.h:
5982         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5983           inset code that had no actual effect. Remove unneeded status
5984           code.
5985
5986 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5987
5988         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5989           in preamble
5990
5991 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5992
5993         * text.C (drawLengthMarker): also draw an arrow marker for
5994           symbolic lengths (medskip...)
5995
5996 2003-02-14  John Levon  <levon@movementarian.org>
5997
5998         * tabular.h:
5999         * tabular.C: better method names
6000
6001 2003-02-14  John Levon  <levon@movementarian.org>
6002
6003         * BufferView_pimpl.C:
6004         * bufferlist.C:
6005         * buffer.C:
6006         * converter.C:
6007         * lyx_cb.C:
6008         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6009           it's a more accurate name. Remove some pointless uses.
6010
6011 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6012
6013         * text2.C (LyXText): change order of initilizers to shut off
6014           warnings
6015
6016 2003-02-14  John Levon  <levon@movementarian.org>
6017
6018         * buffer.C: use ParIterator for getParFromID()
6019
6020         * paragraph.h:
6021         * paragraph.C:
6022         * paragraph_pimpl.h:
6023         * paragraph_pimpl.C: remove unused getParFromID()
6024
6025 2003-02-14  John Levon  <levon@movementarian.org>
6026
6027         * buffer.C: remove some very old #if 0'd parse code
6028
6029 2003-02-13  John Levon  <levon@movementarian.org>
6030
6031         * text.h:
6032         * text.C:
6033         * text2.C: move hfillExpansion(), numberOfSeparators(),
6034           rowLast(), rowLastPrintable(), numberofHfills(),
6035           numberOfLabelHfills() ...
6036
6037         * lyxrow.h:
6038         * lyxrow.C: ... to member functions here.
6039
6040         * paragraph.h:
6041         * paragraph.C:
6042         * lyxtext.h:
6043         * text.C: remove LyXText::beginningOfMainBody(), and call
6044           p->beginningOfMainBody() directly. Move the check for
6045           LABEL_MANUAL into the latter.
6046
6047         * text.h:
6048         * text.C:
6049         * text2.C:
6050         * vspace.C:
6051         * BufferView.h:
6052         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6053
6054         * text.h:
6055         * text.C:
6056         * text2.C:
6057         * text3.C:
6058         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6059           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6060
6061 2003-02-13  John Levon  <levon@movementarian.org>
6062
6063         * CutAndPaste.C: remove debug
6064
6065 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6066
6067         * paragraph.C (asString): remove two unused variables
6068
6069         * lyxtextclass.C (readTitleType):
6070           (Read):
6071           (LyXTextClass): handle new members titletype_ and titlename_
6072
6073         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6074
6075 2003-02-09  John Levon  <levon@movementarian.org>
6076
6077         * buffer.h:
6078         * buffer.C: replace hand-coded list with a map for the dep clean
6079
6080 2003-02-08  John Levon  <levon@movementarian.org>
6081
6082         * LaTeX.C: consolidate code into showRunMessage() helper
6083
6084 2003-02-08  John Levon  <levon@movementarian.org>
6085
6086         * lyxfind.C:
6087         * lyxtext.h:
6088         * text2.C:
6089         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6090           and pass the size in explicitly
6091
6092         * BufferView_pimpl.h:
6093         * BufferView_pimpl.C:
6094         * BufferView.h:
6095         * BufferView.C: add getCurrentChange()
6096
6097         * BufferView_pimpl.h:
6098         * BufferView_pimpl.C: handle change lfuns
6099
6100         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6101           for changes. Mark pasted paragraphs as new.
6102
6103         * support/lyxtime.h:
6104         * support/lyxtime.C:
6105         * DepTable.C: abstract time_t as lyx::time_type
6106
6107         * LColor.h:
6108         * LColor.C: add colours for new text, deleted text, changebars
6109
6110         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6111           package use "usenames" option.
6112
6113         * commandtags.h:
6114         * lyxfunc.C:
6115         * LyXAction.C: add change lfuns
6116
6117         * Makefile.am:
6118         * author.h:
6119         * author.C: author handling
6120
6121         * buffer.h:
6122         * buffer.C: add a per-buffer author list, with first entry as
6123           current author. Handle new .lyx tokens for change tracking. Output
6124           author list to .lyx file. Output dvipost stuff to .tex preamble.
6125           Bump lyx format to 222.
6126
6127         * bufferlist.h:
6128         * bufferlist.C: add setCurrentAuthor() to reset current author details
6129           in all buffers.
6130
6131         * bufferparams.h:
6132         * bufferparams.C: add param for tracking
6133
6134         * bufferview_funcs.C: output change info in minibuffer
6135
6136         * Makefile.am:
6137         * changes.h:
6138         * changes.C: add change-tracking structure
6139
6140         * debug.h:
6141         * debug.C: add CHANGES debug flag
6142
6143         * lyxfind.h:
6144         * lyxfind.C: add code for finding the next change piece
6145
6146         * lyxrc.h:
6147         * lyxrc.C: add user_name and user_email
6148
6149         * lyxrow.h:
6150         * lyxrow.C: add a metric for the top of the text line
6151
6152         * lyxtext.h:
6153         * text.C: implement accept/rejectChange()
6154
6155         * lyxtext.h:
6156         * text.C: paint changebars. Paint new/deleted text in the chosen
6157         colours. Strike through deleted text.
6158
6159         * paragraph.h:
6160         * paragraph.C:
6161         * paragraph_pimpl.h:
6162         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6163           in the current change to the insert functions. Rework erase to
6164           mark text as deleted, adding an eraseIntern() and a range-based
6165           erase(). Implement per-paragraph change lookup and
6166           accept/reject.
6167
6168         * paragraph_funcs.C: Fixup paste for change tracking.
6169
6170         * tabular.C: mark added row/columns as new.
6171
6172         * text.C: fix rowLast() to never return -1. Don't allow
6173           spellchecking of deleted text. Track transpose changes. Don't
6174           allow paragraph break or merge where appropriate.
6175
6176         * text2.C: leave cursor at end of selection after a cut.
6177
6178 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6179
6180         * text.C (getLengthMarkerHeight):
6181         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6182         visible on screen too.
6183
6184 2003-02-07  John Levon  <levon@movementarian.org>
6185
6186         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6187
6188 2003-02-05  Angus Leeming  <leeming@lyx.org>
6189
6190         * lyxserver.C (read_ready): revert my patch of 11 September last year
6191         as it sends PC cpu through the roof. Presumably this means that
6192         the lyxserver will no longer run on an Alpha...
6193
6194 2003-01-30  Angus Leeming  <leeming@lyx.org>
6195
6196         * factory.C (createInset): create an InsetCommandParam of type "index"
6197         and use it to 'do the right thing'.
6198
6199         * text2.C (getStringToIndex): ensure that cursor position is always
6200         reset to the reset_cursor position.
6201
6202 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6203
6204         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6205         disabled.
6206
6207 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6208
6209         * bufferview.C:
6210         * lyxcb.C:
6211         * lyxfunc.C: Output messages with identical spelling, punctuation,
6212         and spaces
6213
6214 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6215
6216         * MenuBackend.C (expandFormats): List only viewable export formats
6217         in "View" menu
6218
6219         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6220         message
6221
6222         * lyxfunc.C (getStatus): Make sure that formats other than
6223         "fax" can also be disabled
6224
6225 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6226
6227         * text3.C (dispatch): put the lfuns that insert insets in 3
6228         groups, and call doInsertInset with appropriate arguments.
6229         (doInsertInset): new function, that creates an inset and inserts
6230         it according to some boolean parameters.
6231
6232 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * buffer.C (readFile): remember to pass on 'par' when calling
6235         readFile recursively.
6236
6237 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6238
6239         * MenuBackend.C (expandFormats): add "..." to import formats.
6240
6241 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6242
6243         * paragraph.C (asString): Remove XForms RTL hacks.
6244
6245 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6246         * buffer.C: fix typo
6247
6248 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * Makefile.am (LIBS): delete var
6251         (lyx_LDADD): add @LIBS@ here instead.
6252
6253 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6254
6255         * Clarify the meaning of "wheel mouse jump"
6256
6257 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6258
6259         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6260         tabular in a float
6261
6262 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6263
6264         * importer.C (Loaders): do not preallocate 3 elements in the
6265         vector, since one ends up with 6 elements otherwise
6266
6267 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6268
6269         * DepTable.C (write): write the file name as last element of the
6270         .dep file (because it may contain spaces)
6271         (read): read info in the right order
6272
6273 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6274
6275         * paragraph_pimpl.C (simpleTeXBlanks):
6276         (simpleTeXSpecialChars):
6277         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6278
6279         * tabular.C (latex): add some missing case statements. Reindent.
6280
6281         * MenuBackend.C (expandToc): remove unused variable.
6282
6283 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6284
6285         * LColor.C:
6286         * LaTeX.C:
6287         * LyXAction.C:
6288         * MenuBackend.C:
6289         * buffer.C:
6290         * exporter.C:
6291         * lyxfunc.C:
6292         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6293         and the like.
6294
6295 2003-01-05  John Levon  <levon@movementarian.org>
6296
6297         * BufferView.h:
6298         * BufferView.C: add getEncoding()
6299
6300         * kbsequence.h:
6301         * kbsequence.C: do not store last keypress
6302
6303         * lyxfunc.h:
6304         * lyxfunc.C: store last keypress here instead. Pass encoding
6305           to getISOEncoded()
6306
6307 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6308
6309         * lyx_main.C (init): remove annoying error message when following
6310         symbolic links (bug #780)
6311
6312 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6313
6314         * text.C (insertChar):
6315         * lyxrc.C (getDescription): remove extra spaces
6316
6317 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6318
6319         * lyxrc.C (getDescription): remove extra spaces
6320
6321 2002-12-20  John Levon  <levon@movementarian.org>
6322
6323         * text3.C: hack fix for page up/down across tall rows
6324
6325 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6326
6327         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6328         not been invoked
6329
6330 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6331
6332         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6333         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6334         thesaurus is not compiled in
6335
6336 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6337
6338         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6339
6340 2002-12-16  Angus Leeming  <leeming@lyx.org>
6341
6342         * lyxrc.[Ch]:
6343         * lyx_main.C (init): remove override_x_deadkeys stuff.
6344
6345 2002-12-12  John Levon  <levon@movementarian.org>
6346
6347         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6348           insert. Only remove shift modifier under strict
6349           circumstances.
6350
6351 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * MenuBackend.C (expandToc): fix crash.
6354
6355 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * MenuBackend.C (expandToc): gettext on float names.
6358
6359 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6360
6361         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6362         implement bool empty() [bug 490]
6363
6364 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6367
6368 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * several files: ws changes
6371
6372 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * text2.C (setCounter): clean up a bit, use boost.format.
6375         (updateCounters): initialize par upon declaration.
6376
6377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6378         if the layout exists. We do not just store the layout any more.
6379         (SwitchLayoutsBetweenClasses): use boost.format
6380
6381 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6382
6383         * converter.C (convert): if from and to files are the same, use a
6384         temporary files as intermediary
6385
6386 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * commandtags.h:
6389         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6390
6391 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6392
6393         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6394
6395 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * tabular.C (asciiPrintCell): use string(size, char) instead of
6398         explicit loop.
6399
6400         * sgml.C (openTag): fix order of arguments to string constructor
6401         (closeTag): ditto
6402
6403         * lyxfunc.C (dispatch): use boost.format
6404
6405         * lots of files: change "c" -> 'c'
6406
6407 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6408
6409         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6410
6411 2002-11-25  Angus Leeming  <leeming@lyx.org>
6412
6413         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6414
6415         * lyx_main.C (init): compile fix.
6416
6417 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * lyx_cb.C (start): boost.formatify
6420         do not include <iostream>
6421
6422         * lengthcommon.C: ws only
6423
6424         * boost-inst.C,BoostFormat.h: add more explict instantations
6425
6426 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * lots of files: handle USE_BOOST_FORMAT
6429
6430 2002-11-21  John Levon  <levon@movementarian.org>
6431
6432         * pspell.C: fix compile
6433
6434 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6435
6436         * lyxfunc.C (dispatch): use boost::format
6437         (open): ditto
6438         (doImport): ditto
6439
6440         * lyxfont.C (stateText): use boost::format
6441
6442         * lyx_main.C (LyX): use boost::format
6443         (init): ditto
6444         (queryUserLyXDir): ditto
6445         (readRcFile): ditto
6446         (parse_dbg): ditto
6447         (typedef boost::function): use the recommened syntax.
6448
6449         * importer.C (Import): use boost::format
6450
6451         * debug.C (showLevel): use boost::format
6452
6453         * converter.C (view): use boost::format
6454         (convert): ditto
6455         (move): ditto
6456         (scanLog): ditto
6457
6458         * bufferview_funcs.C (currentState): use boost::format
6459
6460         * bufferlist.C (emergencyWrite): use boost::format
6461
6462         * buffer.C (readLyXformat2): use boost::format
6463         (parseSingleLyXformat2Token): ditto
6464
6465         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6466
6467         * LaTeX.C (run): use boost::format
6468
6469         * Chktex.C (scanLogFile): use boost::format
6470
6471         * BufferView_pimpl.C (savePosition): use boost::format
6472         (restorePosition): ditto
6473         (MenuInsertLyXFile): ditto
6474
6475         * BoostFormat.h: help file for explicit instation.
6476
6477 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6478
6479         * tabular.C (latex): Support for block alignment in fixed width
6480         columns.
6481
6482 2002-11-17  John Levon  <levon@movementarian.org>
6483
6484         * BufferView_pimpl.C:
6485         * lyx_cb.C:
6486         * lyxfunc.C: split filedialog into open/save
6487
6488 2002-11-08  Juergen Vigna  <jug@sad.it>
6489
6490         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6491         by my last patch (hopefully).
6492
6493 2002-11-08  John Levon  <levon@movementarian.org>
6494
6495         * iterators.h:
6496         * iterators.C:
6497         * buffer.h:
6498         * buffer.C:
6499         * paragraph.h:
6500         * paragraph.C:
6501         * toc.h:
6502         * toc.C: ParConstIterator, and use it (from Lars)
6503
6504 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6505
6506         * lyxtextclass.[Ch]: revise and add doxygen comments
6507
6508 2002-11-07  John Levon  <levon@movementarian.org>
6509
6510         * text.C: fix progress value for spellchecker
6511
6512         * toc.C: fix navigate menu for insetwrap inside minipage
6513
6514         * paragraph_funcs.C: added FIXME for suspect code
6515
6516 2002-11-07  John Levon  <levon@movementarian.org>
6517
6518         * BufferView_pimpl.C: fix redrawing of insets
6519           on buffer switch
6520
6521 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6522
6523         * text2.C (updateCounters): fix bug 668
6524
6525 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6526
6527         * text3.C (dispatch): Do not make the buffer dirty when moving the
6528         cursor.
6529
6530 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * vc-backend.C: STRCONV
6533         (scanMaster): ditto
6534
6535         * text2.C (setCounter): STRCONV
6536
6537         * paragraph.C (asString): STRCONV
6538
6539         * lyxlength.C (asString): STRCONV
6540         (asLatexString): ditto
6541
6542         * lyxgluelength.C (asString): STRCONV
6543         (asLatexString): ditto
6544
6545         * lyxfunc.C (dispatch): STRCONV
6546         (open): ditto
6547
6548         * lyxfont.C (stateText): STRCONV
6549
6550         * importer.C (Import): STRCONV
6551
6552         * counters.C (labelItem): STRCONV
6553         (numberLabel): ditto
6554         (numberLabel): remove unused ostringstream o
6555
6556         * chset.C: STRCONV
6557         (loadFile): ditto
6558
6559         * bufferview_funcs.C (currentState): STRCONV
6560
6561         * buffer.C (readFile): STRCONV
6562         (asciiParagraph): ditto
6563         (makeLaTeXFile): ditto
6564
6565         * Spacing.C (writeEnvirBegin): STRCONV
6566
6567         * LaTeXFeatures.C (getLanguages): STRCONV
6568         (getPackages): ditto
6569         (getMacros): ditto
6570         (getBabelOptions): ditto
6571         (getTClassPreamble): ditto
6572         (getLyXSGMLEntities): ditto
6573         (getIncludedFiles): ditto
6574
6575         * LaTeX.C: STRCONV
6576         (run): ditto
6577         (scanAuxFile): ditto
6578         (deplog): ditto
6579
6580         * LString.h: add the STRCONV macros
6581
6582         * BufferView_pimpl.C (savePosition): STRCONV
6583         (restorePosition): ditto
6584         (MenuInsertLyXFile): ditto
6585
6586         * vc-backend.C (scanMaster): change from submatch[...] to
6587         submatch.str(...)
6588
6589         * funcrequest.C: include config.h
6590
6591         * factory.C: include config.h
6592
6593         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6594
6595         * box.C: include config.h
6596
6597         * LaTeX.C (scanAuxFile): change from submatch[...] to
6598         submatch.str(...)
6599         (deplog): ditto
6600
6601 2002-10-25  Angus Leeming  <leeming@lyx.org>
6602
6603         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6604
6605         * ispell.[Ch] (setError): new method.
6606         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6607         Use setError() insetead of goto END.
6608
6609         * lyx_cb.C (AutoSave): move out child process into new class
6610         AutoSaveBuffer.
6611
6612 2002-10-30  John Levon  <levon@movementarian.org>
6613
6614         * text3.C: make start appendix undoable
6615
6616 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6617
6618         * lyxlength.C (inPixels): Fix returned value.
6619
6620         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6621         environment.
6622
6623 2002-10-24  Angus Leeming  <leeming@lyx.org>
6624
6625         * lyxgluelength.h: no need to forward declare BufferParams
6626         or BufferView, so don't.
6627
6628 2002-10-21  John Levon  <levon@movementarian.org>
6629
6630         * BufferView.C: menuUndo ->undo, redo
6631
6632         * BufferView.h: document, remove dead, make some methods private
6633
6634         * paragraph_funcs.h:
6635         * paragraph_funcs.C:
6636         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6637
6638         * buffer.h:
6639         * buffer.C:
6640         * sgml.h:
6641         * sgml.C: move sgml open/close tag into sgml.C
6642
6643         * bufferview_funcs.h: unused prototype
6644
6645         * lyxfunc.h:
6646         * lyxfunc.C: remove unused
6647
6648         * lyxtext.h:
6649         * text.C: remove unused
6650
6651 2002-10-21  John Levon  <levon@movementarian.org>
6652
6653         * BufferView.h:
6654         * BufferView.C:
6655         * BufferView_pimpl.h:
6656         * BufferView_pimpl.C: fix mouse wheel handling based on
6657           patch from Darren Freeman
6658
6659 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6660
6661         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6662
6663 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6664
6665         * lyxlength.C (inPixels): Fix hanfling of negative length.
6666         Fix LyXLength::MU case.
6667
6668 2002-10-16  John Levon  <levon@movementarian.org>
6669
6670         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6671
6672 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6673
6674         * converter.C (view): add support for $$i (file name) and $$p
6675         (file path) for the viewer command. If $$i is not specified, then
6676         it is appended to the command (for compatibility with old syntax)
6677
6678 2002-10-14  Juergen Vigna  <jug@sad.it>
6679
6680         * undo_funcs.C (textHandleUndo): alter the order in which the
6681         new undopar is added to the LyXText, as we have to set first
6682         the right prev/next and then add it as otherwise the rebuild of
6683         LyXText is not correct. Also reset the cursor to the right paragraph,
6684         with this IMO we could remove the hack in "redoParagraphs()".
6685
6686 2002-10-09  Angus Leeming  <leeming@lyx.org>
6687
6688         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6689         to turn off an optimisation if a new inset is to be inserted.
6690
6691 2002-10-11 André Pönitz <poenitz@gmx.net>
6692
6693         * lyxtext.h: make some functions public to allow access
6694         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6695
6696 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6697
6698         * text3.C (dispatch): when changing layout, avoid an infinite loop
6699         [bug #652]
6700
6701 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6702
6703         * lyxrc.C (read): treat a viewer or converter command of "none" as
6704         if it were empty.
6705
6706         * MenuBackend.C (expandFormats): for an update, also allow the
6707         formats that are not viewable
6708
6709         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6710         script if it is newer than the lyxrc.defaults in user directory
6711
6712 2002-10-07 André Pönitz <poenitz@gmx.net>
6713
6714         * text.C: Vitaly Lipatov's small i18n fix
6715
6716 2002-09-25  Angus Leeming  <leeming@lyx.org>
6717
6718         * ispell.h: doxygen fix.
6719
6720 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6721
6722         * buffer.h (readFile): Add a new argument to the method, to allow
6723         reading of old-format templates.
6724
6725 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6726
6727         * toc.C (getTocList): Get TOC from InsetWrap.
6728
6729 2002-09-16  John Levon  <levon@movementarian.org>
6730
6731         * lyxfunc.C: check tabular for cut/copy too
6732
6733 2002-09-12  John Levon  <levon@movementarian.org>
6734
6735         * LyXAction.C: tidy
6736
6737         * factory.h:
6738         * factory.C: add header
6739
6740         * paragraph_funcs.h:
6741         * paragraph_funcs.C: cleanup
6742
6743 2002-09-11  John Levon  <levon@movementarian.org>
6744
6745         * PrinterParams.h: odd/even default to true
6746
6747 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6748
6749         * PrinterParams.h: update printer parameters for new xforms dialog
6750
6751 2002-09-11  Angus Leeming  <leeming@lyx.org>
6752
6753         * lyxserver.C (read_ready): re-write to make it more transparent
6754         and to make it work in coherent fashion under Tru64 Unix.
6755
6756 2002-09-11  André Pönitz <poenitz@gmx.net>
6757
6758         * commandtags.h:
6759         * LyXAction.C:
6760         * text3.C: implement LFUN_WORDSEL
6761
6762 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6765         make floatlist_ a boost::shared_ptr<FloatList>
6766
6767         * lyxtextclass.C: include FloatList.h
6768         (LyXTextClass): initialize floatlist_
6769         (TextClassTags): add TC_NOFLOAT
6770         (Read): match "nofloat" to TC_NOFLOAT and use it.
6771         (readFloat): modify call to floatlist_
6772         (floats): ditto
6773         (floats): ditto
6774
6775         * FloatList.[Ch] (FloatList): remove commented out float
6776         initialization.
6777         (erase): new function
6778
6779 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6780
6781         * MenuBackend.C (expandToc): fix crash when there is no document
6782         open
6783
6784 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6785
6786         * many files: Add insetwrap.
6787
6788 2002-09-09  John Levon  <levon@movementarian.org>
6789
6790         * text2.C: remove confusing and awkward depth wraparound
6791
6792 2002-09-09  John Levon  <levon@movementarian.org>
6793
6794         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6795
6796         * buffer.h:
6797         * buffer.C: remove getIncludeonlyList()
6798
6799         * paragraph.C:
6800         * lyxfunc.C: remove headers
6801
6802 2002-09-09  Juergen Vigna  <jug@sad.it>
6803
6804         * text.C (getColumnNearX): fix form Michael this is most
6805         probably a cut&paste bug.
6806
6807 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6810
6811         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6812         references, ws changes.
6813
6814         * text2.C (init): update counters after init
6815         (insertParagraph): no need to set counter on idividual paragraphs.
6816         (setCounter): access the counters object in the textclass object
6817         on in the buffer object.
6818         (updateCounters): ditto
6819
6820         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6821         shared_ptr<Counters> to avoid loading counters.h in all
6822         compilation units.
6823         (LyXTextClass): initialize ctrs_
6824         (TextClassTags): add TC_COUNTER, and ...
6825         (Read): use it here.
6826         (CounterTags): new tags
6827         (readCounter): new function
6828         (counters): new funtion
6829         (defaultLayoutName): return a const reference
6830
6831         * counters.C (Counters): remove contructor
6832         (newCounter): remove a couple of unneeded statements.
6833         (newCounter): simplify a bit.
6834         (numberLabel): some small formatting changes.
6835
6836         * buffer.[Ch]: remove all traces of counters, move the Counters
6837         object to the LyXTextClass.
6838
6839 2002-09-06  Alain Castera  <castera@in2p3.fr>
6840
6841         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6842         package to set the horizontal alignment on fixed width columns.
6843
6844         * lyx_sty.C:
6845         * lyx_sty.h: added tabularnewline macro def.
6846
6847         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6848
6849 2002-09-06  John Levon  <levon@movementarian.org>
6850
6851         * LyXAction.C: tooltips for sub/superscript
6852
6853         * MenuBackend.C: a bit more verbose
6854
6855         * lyxfunc.C: tiny clean
6856
6857         * undo_funcs.C: document undo_frozen
6858
6859 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * counters.C (Counters): add missing algorithm counter.
6862
6863         * text2.C (setCounter): lookup the counter with layouts latexname
6864         instead of by section number.
6865         (setCounter): use a hackish way to lookup the correct enum
6866         counter.
6867         a float name->type change
6868         reset enum couners with counter name directly instead of depth value.
6869
6870         * counters.C (Counters): remove the push_backs, change to use the
6871         float type not the float name.
6872         (labelItem): remove unused string, float name->type change
6873
6874         * counters.h: don't include vector, loose the enums and sects vectors
6875
6876 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6879         (Read): add float->TC_FLOAT to textclassTags
6880         (Read): and handle it in the switch
6881         (readFloat): new function
6882
6883         * FloatList.C (FloatList): comment out the hardcoded float
6884         definitions.
6885
6886         * lyxlayout.h: ws change.
6887
6888 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6889
6890         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6891
6892 2002-09-03  Angus Leeming  <leeming@lyx.org>
6893
6894         * BufferView_pimpl.h: qualified name is not allowed in member
6895         declaration: WorkArea & Pimpl::workarea() const;
6896
6897         * factory.C: added using std::endl directive.
6898
6899         * text3.C: added using std::find and std::vector directives.
6900
6901 2002-08-29  André Pönitz <poenitz@gmx.net>
6902
6903         * lyxtext.h:
6904         * text2.C: remove unused member number_of_rows
6905
6906         * Makefile.am:
6907         * BufferView2.C: remove file, move contents to...
6908         * BufferView.C: ... here
6909
6910         * BufferView_pimpl.C:
6911         * factory.C: move more inset creation to factory
6912
6913         * vspace.C: avoid direct usage of LyXText, ws changes
6914
6915         * BufferView.[Ch]:
6916                 don't provide direct access to WorkArea, use two simple
6917                 acessors haveSelction() and workHeight() instead
6918
6919
6920 2002-08-29  John Levon  <levon@movementarian.org>
6921
6922         * BufferView_pimpl.C (dispatch): do not continue when
6923           no buffer
6924
6925 2002-08-28  André Pönitz <poenitz@gmx.net>
6926
6927         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6928
6929         * BufferView.h:
6930         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6931
6932 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6933
6934         * buffer.C: increment LYX_FORMAT to 221
6935
6936         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6937         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6938
6939         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6940
6941         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6942
6943 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6944
6945         * factory.C (createInset): use LyXTextClass::floats
6946
6947         * MenuBackend.C (expandFloatListInsert):
6948         (expandFloatInsert):
6949         (expandToc):
6950
6951         * text2.C (setCounter):
6952
6953         * LaTeXFeatures.C (useFloat):
6954         (getFloatDefinitions):
6955
6956         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6957
6958         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6959         floatlist_, with accessor floats().
6960
6961         * FloatList.h: remove global FloatList
6962
6963 2002-08-26  André Pönitz <poenitz@gmx.net>
6964
6965         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6966
6967         * BufferView.h:
6968         * BufferView2.C:
6969         * BufferView_pimpl.C:
6970         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6971
6972 2002-08-25  John Levon  <levon@movementarian.org>
6973
6974         * LyXAction.C: fix margin note description
6975
6976 2002-08-24  John Levon  <levon@movementarian.org>
6977
6978         * buffer.C:
6979         * bufferlist.C:
6980         * bufferview_funcs.C:
6981         * lyxfont.C:
6982         * undo_funcs.C: cleanups
6983
6984         * lyxfunc.C: disable CUT/COPY when no selection
6985
6986 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6987
6988         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6989         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6990
6991         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6992         Add backward compatibility to "mono", "gray" and "no".
6993
6994 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6995
6996         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6997         (and file_format >= 200).
6998
6999 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7000
7001         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7002
7003 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7004
7005         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7006
7007 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7008
7009         * BufferView_pimpl.C:
7010         * LyXAction.C:
7011         * buffer.C:
7012         * commandtags.h:
7013         * lyxfunc.C:
7014         * paragraph.[Ch]:
7015         * text2.C:
7016         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7017         inset and code to make it  work with the paragraph code. The inset
7018         can be anywhere in the paragraph, but will only do the expected
7019         thing in LaTeX if the layout file contains the parameter line
7020                         OptionalArgs    1
7021         (or more generally, a nonzero value) for that layout.
7022
7023 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * paragraph.h: remove the declaration of undefined counters class
7026         function.
7027
7028 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7029
7030         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7031         Dr. Richard Hawkins.
7032
7033 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7034
7035         * paragraph_funcs.h: remove some unneeded includes
7036
7037         * text.C (backspace): pasteParagraph now in global scipe
7038
7039         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7040         (pasteSelection): ditto
7041
7042         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7043         * paragraph_funcs.C (pasteParagraph): ... here
7044
7045 2002-08-20  André Pönitz <poenitz@gmx.net>
7046
7047         * commandtags.h: new LFUNs for swapping/copying table row/colums
7048
7049         * LyXAction.C:
7050         * lyxfunc.C: support for new lfuns
7051
7052 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * tabular.C:
7055         * buffer.[Ch]: remove NO_COMPABILITY stuff
7056
7057 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * boost.C (throw_exception): new file, with helper function for
7060         boost compiled without exceptions.
7061
7062         * paragraph.h:
7063         * lyxlength.C:
7064         * buffer.C:
7065         * ParameterStruct.h:
7066         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7067
7068         * bufferlist.C (emergencyWriteAll): use boost bind
7069
7070         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7071
7072         * text.C: include paragraph_funcs.h
7073         (breakParagraph): breakParagraph is now in global scope
7074
7075         * paragraph_funcs.[Ch]: new files
7076
7077         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7078         global scope
7079
7080         * buffer.C: include paragraph_funcs.h
7081         (insertStringAsLines): breakParagraph is now in global scope
7082
7083         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7084         paragraph_funcs.C
7085
7086         * CutAndPaste.C: include paragraph_funcs.h
7087         (cutSelection): breakParagraphConservative is now in global scope
7088         (pasteSelection): ditto
7089
7090         * buffer.h: declare oprator== and operator!= for
7091         Buffer::inset_iterator
7092
7093         * bufferlist.C (emergencyWrite): don't use fmt(...)
7094
7095         * text3.C: add using std::endl
7096
7097         * BufferView.C (moveCursorUpdate): remove default arg
7098
7099 2002-08-20  André Pönitz <poenitz@gmx.net>
7100
7101         * buffer.[Ch]: move inline functions to .C
7102
7103         * BufferView2.C:
7104         * BufferView_pimpl.C:
7105         * text.C:
7106         * buffer.[Ch]: use improved inset_iterator
7107
7108         * buffer.C:
7109         * paragraph.[Ch]: write one paragraph at a time
7110
7111 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7112
7113         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7114         style if style is not specified.
7115
7116 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7117
7118         * text2.C (setCounter): when searching for right label for a
7119         caption, make sure to recurse to parent insets (so that a caption
7120         in a minipage in a figure float works) (bug #568)
7121
7122 2002-08-20  André Pönitz <poenitz@gmx.net>
7123
7124         * text3.C: new file for LyXText::dispatch() and helpers
7125
7126         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7127
7128         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7129
7130 2002-08-19  André Pönitz <poenitz@gmx.net>
7131
7132         * lyxtext.h:
7133         * text.C: new LyXText::dispatch()
7134
7135         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7136
7137 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7138
7139         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7140
7141         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7142         Hebrew text.
7143
7144 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7145
7146         * Makefile.am: use $(variables) instead of @substitutions@
7147
7148 2002-08-15  André Pönitz <poenitz@gmx.net>
7149
7150         * lyxfunc.C:
7151         * BufferView_pimpl.C: streamlining mathed <-> outer world
7152         interaction
7153
7154         * commandtags.h:
7155         * LyXAction.C: remove unused LFUN_MATH
7156
7157 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7160
7161 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * paragraph.C (Paragraph): reformat a bit
7164         (cutIntoMinibuffer): use builtin InsetList function instad of
7165         doing it manually.
7166         (getInset): ditto
7167
7168         * buffer.C: include boost/bind.hpp, add using std::for_each
7169         (writeFileAscii): use ParagraphList iterators
7170         (validate): use for_each for validate traversal of paragraphs
7171         (getBibkeyList): use ParagraphList iterators
7172         (resizeInsets): use for_each to resizeInsetsLyXText for all
7173         paragraphs.
7174         (getParFromID): use ParagraphList iterators
7175
7176         * BufferView2.C (lockInset): use paragraph list and iterators
7177
7178 2002-08-14  John Levon  <levon@movementarian.org>
7179
7180         * lyxserver.C: remove spurious xforms include
7181
7182 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7183
7184         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7185
7186 2002-08-13  André Pönitz <poenitz@gmx.net>
7187
7188         * LyXAction.[Ch]:
7189         * lyxfunc.C: further cleaning
7190
7191 2002-08-13  André Pönitz <poenitz@gmx.net>
7192
7193         * funcrequest.h: new constructor
7194
7195         * funcrequest.C: move stuff here from .h
7196
7197         * Makefile.am:
7198         * BufferView_pimpl.C:
7199         * LyXAction.C:
7200         * toc.C:
7201         * lyxfunc.C: subsequent changes
7202
7203         * lyxfunc.h: new view() member function
7204
7205         * lyxfunc.C: subsequent changes
7206
7207 2002-08-13  Angus Leeming  <leeming@lyx.org>
7208
7209         * BufferView2.C:
7210         * BufferView_pimpl.C:
7211         * buffer.C:
7212         * converter.C:
7213         * importer.C:
7214         * lyxfunc.C:
7215         * lyxvc.C:
7216         * toc.C:
7217         * vc-backend.C:
7218         changes due to the changed LyXView interface that now returns references
7219         to member variables not pointers.
7220
7221 2002-08-13  Angus Leeming  <leeming@lyx.org>
7222
7223         * WordLangTuple (word, lang_code): return references to strings,
7224         not strings.
7225
7226         * BufferView.h:
7227         * SpellBase.h:
7228         * lyxtext.h: forward-declare WordLangTuple.
7229
7230         * BufferView2.C:
7231         * ispell.C:
7232         * pspell.C:
7233         * text.C: #include "WordLangTuple.h".
7234
7235         * lyxtext.h:
7236         * text.C: (selectNextWordToSpellcheck): constify return type.
7237
7238 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7239
7240         * buffer.C:
7241         * buffer.h:
7242         * lyxtext.h:
7243         * paragraph.C:
7244         * paragraph_pimpl.h:
7245         * text.C:
7246         * text2.C:
7247         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7248         suggested by Angus.
7249         Made updateCounter always count from start of buffer, and removed
7250         second argument (par).
7251         Reverted floats number display to '#'. Perhaps I'll try again when the
7252         code base is sanitized a bit.
7253
7254 2002-08-12  Angus Leeming  <leeming@lyx.org>
7255
7256         * buffer.[Ch] (getLabelList): constify.
7257
7258 2002-08-07  André Pönitz <poenitz@gmx.net>
7259
7260         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7261
7262         * funcrequest.h: extension to keep mouse (x,y) position
7263
7264 2002-08-12  Juergen Vigna  <jug@sad.it>
7265
7266         * BufferView2.C (insertErrors): forbid undo when inserting error
7267         insets.
7268
7269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7270
7271 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * ParagraphList.[Ch]: new files
7274
7275         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7276
7277         * BufferView2.C (lockInset): ParagraphList changes
7278         * toc.C: ditto
7279         * text2.C: ditto
7280         * bufferlist.C: ditto
7281         * buffer.h: ditto
7282         * buffer.C: ditto
7283
7284 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7287         unused class variable counter_,
7288
7289         * paragraph.[Ch] (getFirstCounter): delete unused function
7290
7291         * counters.C: include LAssert.h
7292         (reset): add a new function with no arg, change other version to
7293         not have def. arg and to not allow empty arg.
7294
7295         * text2.C (setCounter): remove empty arg from call to Counters::reset
7296
7297 2002-08-11  John Levon  <levon@movementarian.org>
7298
7299         * Makefile.am: add WordLangTuple.h
7300
7301 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7304         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7305
7306         * insets/insettext.C: InsetList changes
7307
7308         * graphics/GraphicsSupport.C (operator()): InsetList changes
7309
7310         * toc.C (getTocList): InsetList changes
7311
7312         * paragraph_pimpl.[Ch]: InsetList changes
7313
7314         * paragraph.[Ch]: InsetList changes
7315
7316         * buffer.C (inset_iterator): InsetList changes
7317         (setParagraph): ditto
7318         * buffer.h (inset_iterator): ditto
7319         * iterators.C (operator++): ditto
7320         * iterators.h: ditto
7321
7322         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7323
7324         * InsetList.[Ch]: new files, most InsetList handling moved out of
7325         paragraph.C.
7326
7327         * BufferView2.C (removeAutoInsets): InsetList changes
7328         (lockInset): ditto
7329         (ChangeInsets): ditto
7330
7331 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * paragraph_pimpl.h (empty): new function
7334
7335         * paragraph.[Ch] (empty): new function
7336
7337         * other files: use the new Paragraph::empty function
7338
7339 2002-08-09  John Levon  <levon@movementarian.org>
7340
7341         * lyxtext.h: remove unused refresh_height
7342
7343 2002-08-09  John Levon  <levon@movementarian.org>
7344
7345         * Makefile.am:
7346         * sgml.h:
7347         * sgml.C:
7348         * buffer.C:
7349         * paragraph.h:
7350         * paragraph.C: move sgml char escaping out of paragraph
7351
7352         * paragraph.h:
7353         * paragraph.C: remove id setter
7354
7355         * buffer.C:
7356         * paragraph.C:
7357         * paragraph_pimpl.C: remove dead tex_code_break_column
7358
7359         * bufferview_funcs.C: small cleanup
7360
7361         * lyxfunc.C: remove dead proto
7362
7363         * lyxtext.h: make some stuff private. Remove some dead stuff.
7364
7365         * lyxgluelength.C: make as[LyX]String() readable
7366
7367 2002-08-08  John Levon  <levon@movementarian.org>
7368
7369         * LyXAction.h:
7370         * LyXAction.C:
7371         * MenuBackend.C:
7372         * ToolbarDefaults.C:
7373         * lyxfunc.C:
7374         * lyxrc.C:
7375         * toc.C: lyxaction cleanup
7376
7377 2002-08-08  John Levon  <levon@movementarian.org>
7378
7379         * BufferView2.C: small cleanup
7380
7381         * lyxfind.h:
7382         * lyxfind.C: move unnecessary header into the .C
7383
7384 2002-08-08  John Levon  <levon@movementarian.org>
7385
7386         * funcrequest.h: just tedious nonsense
7387
7388         * lyx_main.h:
7389         * lyx_main.C: cleanups
7390
7391         * buffer.C:
7392         * vspace.C: remove dead header lyx_main.h
7393
7394 2002-08-07  Angus Leeming  <leeming@lyx.org>
7395
7396         * Paragraph.[Ch]:
7397         * paragraph_pimpl.h:
7398         Forward declare class Counters in paragraph.h by moving the ctrs member
7399         variable into Paragraph::Pimpl.
7400         (counters): new method, returning a reference to pimpl_->ctrs.
7401
7402         * text2.C: ensuing changes.
7403
7404 2002-08-07  John Levon  <levon@movementarian.org>
7405
7406         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7407
7408         * BufferView_pimpl.C: announce X selection on double/triple
7409           click
7410
7411         * lyx_main.C: use correct bool in batch dispatch
7412
7413         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7414
7415 2002-08-07  André Pönitz <poenitz@gmx.net>
7416
7417         * funcrequest.h: new class to wrap a kb_action and its argument
7418
7419         * BufferView.[Ch]:
7420         * BufferView_pimpl[Ch]:
7421         * LaTeX.C:
7422         * LyXAction.[Ch]:
7423         * lyxfunc.[Ch]:
7424         * lyxrc.C: subsequent changes
7425
7426
7427 2002-08-07  John Levon  <levon@movementarian.org>
7428
7429         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7430           document options change.
7431
7432 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7433
7434         * counters.[Ch]
7435         * text2.C
7436         * paragraph.[Ch]
7437         * makefile.am: move counters functionality over from
7438         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7439
7440 2002-08-06  John Levon  <levon@movementarian.org>
7441
7442         * WordLangTuple.h: new file for word + language code tuple
7443
7444         * SpellBase.h:
7445         * pspell.h:
7446         * pspell.C:
7447         * ispell.h:
7448         * ispell.C:
7449         * lyxtext.h:
7450         * text.C:
7451         * text2.C:
7452         * BufferView.h:
7453         * BufferView2.C: use WordLangTuple
7454
7455         * layout.h:
7456         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7457
7458 2002-08-06  John Levon  <levon@movementarian.org>
7459
7460         * lyx_main.C: fix cmdline batch handling
7461
7462 2002-08-06  André Pönitz <poenitz@gmx.net>
7463
7464         * lyxrc.C: set default for show_banner to true
7465
7466 2002-08-06  John Levon  <levon@movementarian.org>
7467
7468         * pspell.C: fix a crash, and allow new aspell to work
7469
7470 2002-08-06  John Levon  <levon@movementarian.org>
7471
7472         * lyxfunc.C:
7473         * kbmap.C: small cleanup
7474
7475         * vspace.h:
7476         * vspace.C: add const
7477
7478 2002-08-05  John Levon  <levon@movementarian.org>
7479
7480         * LyXAction.C: back to tabular-insert
7481
7482 2002-08-04  John Levon  <levon@movementarian.org>
7483
7484         * BufferView.h:
7485         * BufferView.C: cosmetic change
7486
7487         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7488
7489         * bufferlist.C:
7490         * buffer.h:
7491         * buffer.C:
7492         * lyxcb.h:
7493         * lyxcb.C:
7494         * lyxserver.C:
7495         * lyxvc.C:
7496         * vc-backend.C:
7497         * BufferView2.C: purge all "Lyx" not "LyX" strings
7498
7499         * lyxcursor.h:
7500         * lyxcursor.C: attempt to add some documentation
7501
7502         * lyxfunc.C:
7503         * commandtags.h:
7504         * LyXAction.C:
7505         * ToolbarDefaults.C:
7506         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7507           merge with LFUN_TABULAR_INSERT
7508
7509         * Makefile.am:
7510         * SpellBase.h:
7511         * ispell.h:
7512         * ispell.C:
7513         * pspell.h:
7514         * pspell.C: split up i/pspell implementations into separate
7515           files, many cleanups
7516
7517         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7518
7519         * text2.C: some cleanup
7520
7521         * lyxfunc.C: don't check for isp_command == "none" any more, it
7522           didn't make any sense
7523
7524 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7525
7526         * counters.[Ch]
7527         * text2.C
7528         * paragraph.[Ch]
7529         * makefile.am: move counters functionality over
7530         from text2.C/paragraph.[Ch] to counters.[Ch], and
7531         make proper C++.
7532 2002-08-02  John Levon  <levon@movementarian.org>
7533
7534         * buffer.C: s/lyxconvert/lyx2lyx/
7535
7536 2002-08-02  Angus Leeming  <leeming@lyx.org>
7537
7538         * lyxlex.C: revert John's change as it breaks reading of the user
7539         preamble.
7540
7541 2002-08-02  Angus Leeming  <leeming@lyx.org>
7542
7543         * importer.C (Import):
7544         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7545         changes due to LyXView::view() now returning a boost::shared_ptr.
7546
7547 2002-08-02  John Levon  <levon@movementarian.org>
7548
7549         * lyxlex.C: small cleanup
7550
7551 2002-08-02  John Levon  <levon@movementarian.org>
7552
7553         * text2.C (status): small cleanup, no logic change
7554
7555 2002-08-01  John Levon  <levon@movementarian.org>
7556
7557         * buffer.h:
7558         * buffer.C (writeFile): don't output alerts, caller
7559           handles this
7560
7561         * bufferlist.C:
7562         * lyx_cb.C: from above
7563
7564         * lyxfunc.C: allow to open non-existent files
7565
7566 2002-07-31  John Levon  <levon@movementarian.org>
7567
7568         * lyxserver.C: don't let incidental errors get
7569           in the way (errno)
7570
7571 2002-07-30  John Levon  <levon@movementarian.org>
7572
7573         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7574
7575 2002-07-30  John Levon  <levon@movementarian.org>
7576
7577         * lyxserver.h:
7578         * lyxserver.C: remove I/O callback too
7579
7580 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7581
7582         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7583         log.
7584
7585 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * many files: strip,frontStrip -> trim,ltrim,rtrim
7588
7589 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * PrinterParams.h: remove extern containsOnly, and include
7592         support/lstrings.h instead.
7593
7594         * LaTeX.C (scanAuxFile): modify because of strip changes
7595         (deplog): ditto
7596         * buffer.C (makeLaTeXFile): ditto
7597         * bufferparams.C (writeFile): ditt
7598         * lyxfont.C (stateText): ditto
7599         * lyxserver.C (read_ready): ditto
7600         * vc-backend.C (scanMaster): ditto
7601
7602         * BufferView_pimpl.h: ws changes
7603
7604         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7605
7606 2002-07-26  André Pönitz <poenitz@gmx.net>
7607
7608         * kb_sequence.C: remove unnedred usings
7609
7610 2002-07-26  Juergen Vigna  <jug@sad.it>
7611
7612         * lyxfind.C (LyXReplace): we have to check better if the returned
7613         text is not of theLockingInset()->getLockingInset().
7614
7615 2002-07-25  Juergen Vigna  <jug@sad.it>
7616
7617         * lyxfind.C (LyXReplace): don't replace if we don't get the
7618         right LyXText.
7619
7620         * undo_funcs.C (createUndo): remove debugging code.
7621
7622 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7623
7624         * buffer.C (parseSingleLyXformat2Token): Use default placement
7625         when reading old floats.
7626
7627         * FloatList.C (FloatList): Change the default placement of figure
7628         and tables to "tbp".
7629
7630 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * MenuBackend.C: using std::max
7633
7634 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7635
7636         * MenuBackend.C (expandToc):
7637         (expandToc2): code moved from xforms menu frontend. It is now
7638         generic and TOCs are transparent to menu frontends.
7639
7640 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * toc.C (getTocList): protect against buf=0
7643
7644         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7645         Menu as first parameter. Now, this calls itself recursively to
7646         expand a whole tree (this will be useful for TOC handling)
7647         (expandFloatInsert): remove 'wide' version of floats
7648
7649         * MenuBackend.h (submenuname): returns the name of the submenu.
7650         (submenu): returns the submenu itself, provided it has been
7651         created by MenuBackend::expand
7652
7653 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7654
7655         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7656         insets which have noFontChange == true. (bug #172)
7657
7658 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7659
7660         * BufferView_pimpl.C: add connection objects and use them...
7661         (Pimpl): here.
7662
7663 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7664
7665         * MenuBackend.C (expandLastfiles):
7666         (expandDocuments):
7667         (expandFormats):
7668         (expandFloatListInsert):
7669         (expandFloatInsert):
7670         (expand): split expand in parts
7671
7672 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7673
7674         * lyx_gui.C: use lyx_gui::exit()
7675
7676 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7677
7678         * LyXAction.C: show the failing pseudo action
7679
7680 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7681
7682         * buffer.C (readFile): Run the lyxconvert script in order to read
7683         old files.
7684
7685 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * LyXAction.C:
7688         * commandtags.h:
7689         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7690
7691 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7692
7693         * LyXAction.C:
7694         * commandtags.h:
7695         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7696
7697 2002-07-22  Herbert Voss  <voss@lyx.org>
7698
7699         * lengthcommon.C:
7700         * lyxlength.[Ch]: add support for the vertical lengths
7701
7702 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * toc.[Ch]: std:: fixes
7705
7706 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * lyxrc.C: do not include lyx_main.h
7709
7710         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7711         for layouts
7712
7713         * lyxrc.C:
7714         * encoding.C:
7715         * bufferlist.C:
7716         * BufferView2.C: include "lyxlex.h"
7717
7718         * tabular.h:
7719         * bufferparams.h: do not #include "lyxlex.h"
7720
7721         * lyxtextclasslist.C (Add): remove method
7722         (classlist): renamed to classlist_
7723
7724         * paragraph_pimpl.C:
7725         * paragraph.C:
7726         * text2.C:
7727         * CutAndPaste.C:
7728         * bufferview_funcs.C:
7729         * bufferlist.C:
7730         * text.C:
7731         * LaTeXFeatures.C:
7732         * buffer.C:
7733         * toc.C (getTocList): use BufferParams::getLyXTextClass
7734
7735         * toc.C (getTocList): use InsetFloat::addToToc
7736
7737         * toc.[Ch]: new files, containing helper functions to handle table
7738         of contents
7739
7740         * lyxfunc.C (dispatch): no need to remove spaces around command
7741         given as a string
7742         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7743         first command of the sequence; it is not very clever, but I do not
7744         have a better idea, actually
7745
7746         * LyXAction.C (LookupFunc): make sure to remove space at the
7747         beginning and end of the command
7748
7749 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * MenuBackend.C (getMenubar): new method: return the menubar of
7752         this menu set
7753         (read): treat differently reading of menu and menubar (in
7754         particular, the menubar has no name now)
7755         (Menu::menubar): remove
7756
7757         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7758         saving is finished
7759
7760 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7761
7762         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7763         a bibitem inset in a RTL paragraph.
7764
7765 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7766
7767         * paragraph_pimpl.C: constify
7768
7769         * BufferView_pimpl.C:
7770         * LaTeX.C:
7771         * lyxfunc.C: fix dispatch in a nicer way
7772
7773 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7774
7775         * lyxfunc.C (dispatch):
7776         * BufferView_pimpl.C:
7777         * BufferView_pimpl.h:
7778         * BufferView.C:
7779         * BufferView.h: rename Dispatch() to dispatch()
7780
7781         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7782
7783         * lyxlayout.C (Read): honor DependsOn tag
7784
7785         * lyxlayout.[Ch] (depends_on): new method
7786
7787         * version.C.in: update lyx_docversion
7788
7789         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7790
7791         * paragraph.C (validate): remove from here...
7792         * paragraph_pimpl.C (validate): ... and move here
7793         (isTextAt): make it const
7794
7795         * buffer.C (getLists): ws cleanup
7796
7797 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7798
7799         * language.C (read): Use iso8859-1 encoding in latex_lang
7800         (this prevents LyX from crashing when using iso10646-1 encoding).
7801
7802 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * text2.C (toggleInset): if cursor is inside an inset, close the
7805         inset and leave cursor _after_ it
7806
7807 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7808
7809         * lyxfunc.C: move minibuffer completion handling out of here
7810
7811 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7812
7813         * BufferView_pimpl.C:
7814         * LaTeX.C: fix dispatch calls
7815
7816 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7817
7818         * text.C (drawChars): Fix Arabic text rendering.
7819
7820 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7821
7822         * LyXAction.C:
7823         * commandtags.h:
7824         * lyxfunc.C: remove message-push/pop
7825
7826         * lyxserver.C:
7827         * lyxfunc.h:
7828         * lyxfunc.C: rationalise some code by removing verboseDispatch
7829           in favour of a bool argument to dispatch()
7830
7831 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7832
7833         * lyx_main.C (init): make sure to read symlinks as absolute paths
7834
7835 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * lyxfunc.h:
7838         * lyxfunc.C: no need for commandshortcut to be a member
7839
7840 2002-07-15  André Pönitz <poenitz@gmx.net>
7841
7842         * converter.C: add support for $$s (scripts from lib/scripts dir)
7843         * lyx_main.C: white space
7844
7845 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * bufferlist.C:
7848         * lyxrc.h:
7849         * lyxrc.C: remove second exit confirmation
7850
7851 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * BufferView.h:
7854         * BufferView.C:
7855         * BufferView2.C:
7856         * BufferView_pimpl.h:
7857         * BufferView_pimpl.C:
7858         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7859
7860 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7861
7862         * MenuBackend.C (expand): add numeric shortcuts to document menu
7863
7864         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7865
7866 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7867
7868         * lyxfont.C (setLyXFamily):
7869         (setLyXSeries):
7870         (setLyXShape):
7871         (setLyXSize):
7872         (setLyXMisc):
7873         (lyxRead):
7874         * debug.C (value):
7875         * buffer.C (asciiParagraph): use ascii_lowercase
7876
7877 2002-07-15  Mike Fabian  <mfabian@suse.de>
7878
7879         * lyxlex_pimpl.C (search_kw):
7880         * lyxlex.C (getLongString):
7881         * converter.h (operator<):
7882         * converter.C (operator<):
7883         * buffer.C (parseSingleLyXformat2Token):
7884         (asciiParagraph):
7885         * ToolbarDefaults.C (read):
7886         * MenuBackend.C (checkShortcuts):
7887         (read):
7888         * LColor.C (getFromGUIName):
7889         (getFromLyXName): use the compare_ascii_no_case instead of
7890         compare_no_case, because in turkish, 'i' is not the lowercase
7891         version of 'I', and thus turkish locale breaks parsing of tags.
7892
7893 2002-07-16  Angus Leeming  <leeming@lyx.org>
7894
7895         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7896         now takes a Buffer const & argument.
7897
7898 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * BufferView.C (resize): check there's a buffer to resize
7901
7902 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7903
7904         * lyxfunc.C: remove dead code
7905
7906         * lyxserver.h:
7907         * lyxserver.C: use lyx_guii::set_read_callback
7908
7909 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7910
7911         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7912         an inset in a RTL paragraph.
7913
7914 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7915
7916         * lyxfunc.C: repaint after a font size update
7917
7918 2002-07-15  André Pönitz <poenitz@gmx.net>
7919
7920         * lyxlength.C: inBP should be able to return negative values
7921
7922 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7923
7924         * lyxfunc.C: use lyx_gui::update_fonts()
7925
7926 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * lyxfunc.C: use lyx_gui::update_color()
7929
7930 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7931
7932         * bufferlist.C:
7933         * lyxfunc.h:
7934         * lyxfunc.C:
7935         * lyxrc.h:
7936         * lyxrc.C: remove file->new asks for name option, and let
7937           buffer-new take an argument
7938
7939 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7940
7941         * BufferView_pimpl.C: remove unneeded extra repaint()
7942
7943 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7944
7945         * LyXAction.C: allow command-sequence with NoBuffer
7946
7947         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7948
7949 2002-07-10  Angus Leeming  <leeming@lyx.org>
7950
7951         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7952
7953 2002-07-09  Angus Leeming  <leeming@lyx.org>
7954
7955         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7956
7957 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7958
7959         * lengthcommon.h: whitespace
7960
7961         * lyxfunc.C: update scrollbar after goto paragraph
7962
7963         * lyxtext.h: factor out page break drawing, and fix it so
7964           page break/added space paints as selected nicely
7965
7966 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * BufferView_pimpl.C: add FIXMEs, clean up a little
7969
7970 2002-07-09  André Pönitz <poenitz@gmx.net>
7971
7972         * lyxfont.[Ch]: support for wasy symbols
7973
7974 2002-07-08  André Pönitz <poenitz@gmx.net>
7975
7976         * BufferView_pimpl.C: apply John's patch for #93.
7977
7978 2002-07-05  Angus Leeming  <leeming@lyx.org>
7979
7980         * BufferView_pimpl.C (buffer): generate previews if desired.
7981
7982         * LColor.h: add "preview" to the color enum.
7983
7984         * LColor.C (LColor): add a corresponding entry to the items array.
7985
7986         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7987         with this buffer.
7988
7989 2002-07-05  Angus Leeming  <leeming@lyx.org>
7990
7991         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7992         The body of the code is now in the method that is passed an ostream &
7993         rather than a file name.
7994         Pass an additional only_preamble parameter, useful for the forthcoming
7995         preview stuff.
7996
7997 2002-07-03  André Pönitz <poenitz@gmx.net>
7998
7999         * lyxfunc.C: simplify getStatus() a bit for math stuff
8000
8001 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8002
8003         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8004
8005 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8006
8007         * text.C (changeRegionCase): do not change case of all the
8008         document when region ends at paragraph end (bug #461)
8009
8010 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * paragraph.C (startTeXParParams):
8013         (endTeXParParams): add \protect when necessary
8014
8015 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8016
8017         * BufferView_pimpl.C (workAreaExpose): remove warning
8018
8019 2002-06-27  Angus Leeming  <leeming@lyx.org>
8020
8021         * Makefile.am: add lyxlayout_ptr_fwd.h.
8022
8023 2002-06-26  André Pönitz <poenitz@gmx.net>
8024
8025         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8026
8027 2002-06-25  Angus Leeming  <leeming@lyx.org>
8028
8029         * lyxfunc.C (dispatch): Comment out the call to
8030         grfx::GCache::changeDisplay. The method no longer exists now that the
8031         pixmap generation part of the graphics loader has been moved into
8032         InsetGraphics.
8033
8034 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8035
8036         * text2.C: layout as layout
8037
8038         * text.C: layout as layout
8039
8040         * tabular.C (OldFormatRead): layout as layout
8041
8042         * paragraph_pimpl.C (TeXDeeper): layout as layout
8043         (realizeFont): layout as layout
8044
8045         * paragraph.C (writeFile): layout as layout
8046         (validate): layout as layout
8047         (getFont): layout as layout
8048         (getLabelFont): layout as layout
8049         (getLayoutFont): layout as layout
8050         (breakParagraph): layout as layout
8051         (stripLeadingSpaces): layout as layout
8052         (getEndLabel): layout as layout
8053         (getMaxDepthAfter): layout as layout
8054         (applyLayout): layout as layout
8055         (TeXOnePar): layout as layout
8056         (simpleTeXOnePar): layout as layout
8057         (TeXEnvironment): layout as layout
8058         (layout): layout as layout
8059         (layout): layout as layout
8060
8061         * lyxtextclass.C (compare_name): new functor to work with
8062         shared_ptr, layout as layout
8063         (Read): layout as layout
8064         (hasLayout): layout as layout
8065         (operator): layout as layout
8066         (delete_layout): layout as layout
8067         (defaultLayout): layout as layout
8068
8069         * lyxlayout_ptr_fwd.h: new file
8070
8071         * lyxlayout.C (Read): layout as layout
8072
8073         * lyx_cb.C (MenuInsertLabel): layout as layout
8074
8075         * bufferlist.C (newFile): layout as layout
8076
8077         * buffer.C (readLyXformat2): layout as layout
8078         (parseSingleLyXformat2Token): layout as layout
8079         (insertStringAsLines): layout as layout
8080         (asciiParagraph): layout as layout
8081         (latexParagraphs): layout as layout
8082         (makeLinuxDocFile): layout as layout
8083         (simpleLinuxDocOnePar): layout as layout
8084         (makeDocBookFile): layout as layout
8085         (simpleDocBookOnePar): layout as layout
8086         (getLists): layout as layout
8087
8088         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8089
8090         * CutAndPaste.C (cutSelection): layout as layout
8091         (pasteSelection): layout as layout
8092         (SwitchLayoutsBetweenClasses): layout as layout
8093
8094         * BufferView_pimpl.C (Dispatch): layout as layout
8095         (smartQuote): layout as layout
8096
8097         * BufferView2.C (unlockInset): layout as layout
8098
8099 2002-06-24  André Pönitz <poenitz@gmx.net>
8100
8101         * lyxfunc.C: fix #487
8102
8103 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8104
8105         * lyxrc.h:
8106         * lyxrc.C:
8107         * lyxfunc.C: remove display_shortcuts, show_banner
8108
8109 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * Buffer_pimpl.C: oops, update on resize
8112
8113 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * buffer.C:
8116         * converter.C:
8117         * exporter.C:
8118         * lyxfunc.C:
8119         * BufferView.h:
8120         * BufferView.C: use repaint()
8121
8122         * BufferView_pimpl.h:
8123         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8124           as it's a clearer description. Remove superfluous
8125           redraws.
8126
8127 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * text.C: fix bug 488. Not ideal, but getting
8130           getWord() to work properly for the insets that
8131           matter is more difficult ...
8132
8133 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * BufferView_pimpl.C:
8136         * LyXAction.C:
8137         * commandtags.h:
8138         * lyxfunc.C: remove the six million index lyxfuncs to just
8139           one, and DTRT (bug 458)
8140
8141 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * BufferView.h:
8144         * BufferView.C:
8145         * BufferView_pimpl.h:
8146         * BufferView_pimpl.C: clean up resize() stuff,
8147           and unnecessary updateScreen()s
8148
8149 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * BufferView.h:
8152         * BufferView.C:
8153         * BufferView_pimpl.h:
8154         * BufferView_pimpl.C:
8155         * lyxfind.h:
8156         * lyxfind.C:
8157         * minibuffer.C: remove focus management of workarea,
8158           not needed. Use screen's greyOut()
8159
8160 2002-06-17  Herbert Voss  <voss@lyx.org>
8161
8162         * converter.C: (convert) do not post a message, when converting
8163         fails, let the calling function decide what to do in this case
8164
8165 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * lyxfunc.C: tidy up a little
8168
8169 2002-06-16    <alstrup@diku.dk>
8170
8171         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8172         Got rid of FORMS_H_LOCATION include. Now we are
8173         GUII.
8174
8175 2002-06-15  LyX Development team  <lyx@rilke>
8176
8177         * buffer.[Ch] (sgmlOpenTag):
8178         (sgmlCloseTag): Added support for avoiding pernicious mixed
8179         content. Return number of lines written.
8180
8181         (makeLinuxDocFile):
8182         (makeDocBookFile): Fixed calls to sgml*Tag.
8183         Simple white space clean.
8184
8185         (simpleDocBookOnePar): Simple white space clean.
8186
8187         * tabular.[Ch] (docBook): Renamed to docbook and got another
8188         argument to related with the pernicious mixed content.
8189
8190         (docbookRow): Fixed calls for docbook inset method.
8191
8192 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8193
8194         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8195         so it's X11 independent.
8196
8197         * kb*.[Ch]: ditto.
8198
8199         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8200
8201 2002-06-15  Lyx Development team  <lyx@electronia>
8202
8203         * intl.h: Renamed getTrans to getTransManager.
8204
8205 2002-06-14  Angus Leeming  <leeming@lyx.org>
8206
8207         * Makefile.am: nuke forgotten stl_string_fwd.h.
8208
8209 2002-06-12  Angus Leeming  <leeming@lyx.org>
8210
8211         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8212
8213 2002-06-13  Angus Leeming  <leeming@lyx.org>
8214
8215         * LaTeX.C:
8216         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8217
8218 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8219
8220         * kbmap.C (getiso): add support for cyrillic and greek
8221
8222 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8223
8224         * BufferView.h:
8225         * BufferView.C:
8226         * BufferView_pimpl.h:
8227         * BufferView_pimpl.C: move bogus scrolling logic
8228           to xforms
8229
8230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * lyxfunc.C:
8233         * BufferView_pimpl.C: view->resize() change
8234
8235 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * BufferView_pimpl.C: topCursorVisible
8238           prototype change
8239
8240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8241
8242         * Makefile.am:
8243         * lyx_gui.h:
8244         * lyx_gui.C: move to frontends/
8245
8246         * main.C:
8247         * lyx_main.h:
8248         * lyx_main.C: changes from above
8249
8250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8251
8252         * intl.C:
8253         * intl.h:
8254         * kbmap.C:
8255         * kbsequence.C:
8256         * lyx_cb.C:
8257         * lyx_main.C: minor tidy
8258
8259 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8260
8261         * BufferView_pimpl.h:
8262         * BufferView_pimpl.C:
8263         * BufferView.h:
8264         * BufferView.C: make painter() const,
8265           remove dead code
8266
8267         * BufferView2.C: use screen() accessor
8268
8269         * lyx_main.h:
8270         * lyx_main.C: some minor cleanup
8271
8272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8273
8274         * BufferView_pimpl.h:
8275         * BufferView_pimpl.C: remove enter/leaveView,
8276           use workHeight()
8277
8278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * BufferView.h:
8281         * BufferView.C:
8282         * BufferView2.C:
8283         * BufferView_pimpl.h:
8284         * BufferView_pimpl.C: only construct screen once,
8285           rename
8286
8287         * lyxrc.C: remove pointless comment
8288
8289 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * BufferView.h:
8292         * BufferView.C: remove active() and belowMouse()
8293
8294         * BufferView_pimpl.h:
8295         * BufferView_pimpl.C: use workarea() not workarea_,
8296           and make it use a scoped_ptr instead
8297
8298 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * lyx_gui.C: add debug message on BadWindow
8301
8302 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8303
8304         * sp_spell.C: fdopen is not part of the C++ standard.
8305
8306         * paragraph.C (InsetIterator): use >= instead of ==
8307
8308 2002-06-07  Angus Leeming  <leeming@lyx.org>
8309
8310         Fixes needed to compile with Compaq cxx 6.5.
8311         * BufferView_pimpl.C:
8312         * DepTable.C:
8313         * buffer.C:
8314         * converter.C:
8315         * encoding.C:
8316         * lyx_gui.C:
8317         * lyx_main.C:
8318         * lyxtextclasslist.C:
8319         * minibuffer.C:
8320         * sp_spell.C:
8321         * tabular_funcs.C:
8322         * vc-backend.C:
8323         all c-library variables have been moved into namespace std. Wrap
8324         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8325
8326         * lyxlength.C:
8327         * tabular-old.C:
8328         * tabular.C:
8329         Add a using std::abs declaration.
8330
8331         * kbmap.h (modifier_pair):
8332         * paragraph.h (InsetTable, InsetList):
8333         * lyxfont.h (FontBits):
8334         type definition made public.
8335
8336         * bufferlist.C (emergencyWriteAll): the compiler complains that
8337         there is more than one possible lyx::class_fun template to choose from.
8338         I re-named the void specialisation as lyx::void_class_fun.
8339
8340         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8341
8342         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8343         the compiler is is unable to find tostr in write_attribute.
8344
8345 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * buffer.C (sgmlError): hide #warning
8348
8349 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8350
8351         * xtl/*: get rid of xtl, which is not in use anyway
8352
8353         * LyXAction.C (init):
8354         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8355         were unimplemented xtl experimentation
8356
8357 2002-06-04  André Pönitz <poenitz@gmx.net>
8358
8359         * lyxfunc.C: disable array operation on simple formulae
8360
8361 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * converter.C: constify a bit
8364
8365 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * lyx_gui.C: check xforms version correctly
8368
8369 2002-04-30  Herbert Voss  <voss@lyx.org>
8370
8371         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8372         "keep" option
8373
8374 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8377           attempt to register it with a VCS)
8378
8379 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * lyx_main.C (init): honor variables LYX_DIR_13x and
8382         LYX_USERDIR_13x
8383
8384 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * buffer.h:
8387         * buffer.C:
8388         * lyx_main.C: fix a crash on bad command line,
8389           and give a useful exit status on error
8390
8391         * lyxfunc.C (doImport): allow -i lyx to work
8392
8393 2002-03-30  André Pönitz <poenitz@gmx.net>
8394
8395         * lyxfunc.C: mathed font changes
8396
8397 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * LaTeX.C:
8400         * importer.h:
8401         * importer.C:
8402         * lyx_sty.h:
8403         * lyx_sty.C:
8404         * lyxlex.C:
8405         * lyxrow.h:
8406         * lyxtext.h:
8407         * paragraph.h:
8408         * paragraph.C:
8409         * texrow.h:
8410         * texrow.C:
8411         * text.C:
8412         * trans_mgr.h: srcdocs, and some minor cleanups
8413
8414 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8415
8416         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8417         call getFont all the time)
8418
8419 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8420
8421         * switch from SigC signals to boost::signals
8422
8423 2002-05-29  André Pönitz <poenitz@gmx.net>
8424
8425         * paragraph_pimpl.C (getChar): don't call size() too often...
8426
8427 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8428
8429         * paragraph_pimpl.C (insertChar): do not try to update tables when
8430         appending (pos == size())
8431
8432         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8433         in order to reduce drastically the number of comparisons needed to
8434         parse a large document
8435
8436 2002-05-29  André Pönitz <poenitz@gmx.net>
8437
8438         * text.C:
8439         * text2.C:
8440         * lyxtextclass.C:
8441         * sp_pspell.h:
8442         * textclasslist.[Ch]:
8443         * sp_ispell.h: whitespace change
8444
8445 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8446
8447         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8448         lyxaction directly now.
8449
8450 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * trans.C:
8453         * lyxfont.C:
8454         * lyxvc.C: remove unused headers
8455
8456 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * Makefile.am:
8459         * buffer.h:
8460         * undostack.h:
8461         * undostack.C:
8462         * undo_funcs.h:
8463         * undo_funcs.C: some cleanups. Use shared_ptr
8464           and a template for the undo stacks.
8465
8466 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8467
8468         * BufferView_pimpl.h:
8469         * BufferView_pimpl.C:
8470         * kbmap.h:
8471         * kbmap.C:
8472         * kbsequence.h:
8473         * kbsequence.C:
8474         * lyxfunc.h:
8475         * lyxfunc.C:
8476         * text2.C: use key_state/mouse_state
8477
8478 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8481         and LSubstring
8482
8483         * chset.C: change include order
8484         (loadFile): use boost regex and get rid of LRegex and LSubstring
8485
8486         * Makefile.am (BOOST_LIBS): new variable
8487         (lyx_LDADD): use it
8488
8489         * LaTeX.C: change include order.
8490         (scanAuxFile): use boost regex and get rid of LRegex and
8491         LSubstring
8492         (deplog): ditto
8493
8494 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8495
8496         * ColorHandler.h:
8497         * ColorHandler.C:
8498         * FontInfo.h:
8499         * FontInfo.C: moved to frontends/xforms/
8500
8501         * FontLoader.h:
8502         * FontLoader.C: moved into frontends for GUIIzation
8503
8504         * Makefile.am:
8505         * lyx_gui.C:
8506         * lyxfont.C:
8507         * lyxfunc.C: changes from above
8508
8509 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * LColor.C: remove spurious X include
8512
8513         * BufferView_pimpl.C:
8514         * Makefile.am:
8515         * font.h:
8516         * font.C:
8517         * text.C:
8518         * text2.C: move font metrics to frontends/
8519
8520 2002-05-24  Juergen Vigna  <jug@sad.it>
8521
8522         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8523         setting the undo_cursor.
8524
8525         * ParagraphParameters.h: include local includes first.
8526
8527 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * BufferView_pimpl.C:
8530         * BufferView_pimpl.h:
8531         * Makefile.am:
8532         * WorkArea.h:
8533         * WorkArea.C:
8534         * screen.C: move WorkArea into frontends/
8535
8536         * lyxscreen.h:
8537         * screen.C:
8538         * text.C:
8539         * BufferView.C:
8540         * BufferView2.C: move LyXScreen into frontends/
8541
8542         * lyxlookup.h:
8543         * lyxlookup.C:
8544         * lyx_gui.C: move lyxlookup into frontends/xforms/
8545
8546 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8547
8548         * BufferView2.C:
8549         * BufferView_pimpl.C:
8550         * FontLoader.C:
8551         * LyXView.h:
8552         * LyXView.C:
8553         * Makefile.am:
8554         * WorkArea.C:
8555         * XFormsView.h:
8556         * XFormsView.C:
8557         * buffer.C:
8558         * bufferlist.C:
8559         * bufferview_funcs.C:
8560         * converter.C:
8561         * importer.C:
8562         * lyx_cb.C:
8563         * lyx_gui.C:
8564         * lyx_main.C:
8565         * lyx_find.C:
8566         * lyxfunc.C:
8567         * lyxvc.C:
8568         * minibuffer.C:
8569         * text.C:
8570         * text2.C:
8571         * trans.C:
8572         * vc-backend.C: move LyX/XFormsView into frontends/
8573
8574 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * Makefile.am:
8577         * PainterBase.C:
8578         * PainterBase.h:
8579         * Painter.C:
8580         * Painter.h:
8581         * WorkArea.C:
8582         * WorkArea.h:
8583         * screen.C:
8584         * tabular.C:
8585         * text.C:
8586         * text2.C: move Painter to frontends/
8587
8588 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8589
8590         * buffer.C: comment out some some code that depend upon lyx_format
8591         < 220
8592
8593         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8594         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8595
8596         * buffer.h (NO_COMPABILITY): turn off compability
8597
8598         * ColorHandler.C: include scoped_array.hpp
8599
8600         * font.C: Use more specific smart_ptr header.
8601         * Painter.C: ditto
8602         * gettext.C: ditto
8603         * ShareContainer.h: ditto
8604         * lyx_main.h: ditto
8605         * kbmap.h: ditto
8606         * FontInfo.h: ditto
8607         * BufferView_pimpl.h: ditto
8608         * ColorHandler.h: ditto
8609
8610         * kbmap.C (defkey): change call to shared_ptr::reset
8611
8612 2002-05-21  Juergen Vigna  <jug@sad.it>
8613
8614         * buffer.C (insertErtContents): fix to insert ert asis if it is
8615         non empty. Skip it completely if it contains only whitespaces.
8616
8617 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * BufferView_pimpl.C:
8620         * BufferView2.C: clear selection on paste (bug 393)
8621
8622 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8623
8624         * DepTable.C: include ctime
8625
8626 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8627
8628         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8629
8630 2002-05-14  Juergen Vigna  <jug@sad.it>
8631
8632         * text.C (breakParagraph): fixed function to honor the keepempty
8633         layout in the right maner and also to permit the right breaking
8634         algorithm on empty or non empyt keepempty paragraphs.
8635
8636         * paragraph.C (breakParagraph): we have to check also if the par
8637         is really empty (!size()) for isempty otherwise we do the wrong
8638         paragraph break.
8639
8640 2002-05-10  Juergen Vigna  <jug@sad.it>
8641
8642         * buffer.[Ch] : The following are only changes to the ert
8643         compatibility read reading old LaTeX layout and font stuff and
8644         convert it to ERTInsets.
8645
8646         * buffer.h: added isErtInset().
8647
8648         * buffer.C (struct ErtComp): add a fromlayout bool to check
8649         if we're inside a LaTeX layout.
8650         (isErtInset): new helper function.
8651         (insertErtContents): look for other ert insets before this one
8652         and insert the contents there, so that we don't have subsequent
8653         ERT insets with nothing between them. This way we create only one
8654         inset with multiple paragraphs. Also check if we don't insert only
8655         spaces ' ' as they are ignored anyway afterwards in the .tex file
8656         so if we have only spaces we will ignore this latex part in the
8657         new file.
8658         (parseSingleLyXformat2Token \\layout): better compatibility when
8659         reading layout-latex stuff.
8660         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8661         language tag.
8662         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8663         stuff after reading the inset only get the information back from
8664         the stack.
8665
8666 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8667
8668         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8669
8670         * LaTeXFeatures.C (getBabelOptions): New method.
8671
8672 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8673
8674         * BufferView_pimpl.C (Dispatch): work around missing argument for
8675         'layout'
8676
8677 2002-05-08  Juergen Vigna  <jug@sad.it>
8678
8679         * text.C (leftMargin): handle paragraph leftindent.
8680
8681         * paragraph.C (writeFile): write the new \\leftindent tag.
8682         (validate): handle leftindent code.
8683         (TeXEnvironment): handle paragraphleftindent code again.
8684
8685         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8686
8687         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8688         for paragrap_extra indent code and new token \\leftindent.
8689         (latexParagraphs): handle the leftindent as environment.
8690
8691         * ParameterStruct.h: added leftindent support.
8692
8693         * ParagraphParameters.C (leftIndent): added support functions for
8694         the paragraph left indent.
8695
8696         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8697         more appropriate.
8698
8699 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8700
8701         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8702         inside insetERT.
8703
8704         * text.C (computeBidiTables): No bidi in insetERT.
8705
8706         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8707         in RTL documents.
8708
8709 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8710
8711         * version.C.in: pre 5
8712
8713 2002-05-02  José Matos  <jamatos@fep.up.pt>
8714         * buffer.C (makeDocBookFile): white space changes, add newline to
8715         command styles.
8716         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8717
8718         * tabular.C (docBook): fix typo.
8719
8720 2002-05-03  Juergen Vigna  <jug@sad.it>
8721
8722         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8723         change in LyXText as we can not be sure it was not freed.
8724         (drawOneRow): remove unused code.
8725
8726         * text.C (drawInset): redo the calculation of the need_break_row as
8727         it could have a row which was already freed.
8728         (draw): look at the return value of drawInset and return false if
8729         it also returned false.
8730         (paintRowText): look at the return value of draw and return false if
8731         it also returned false.
8732
8733         * lyxtext.h: added bool return type to drawInset() and draw() so that
8734         if we have a change in the row so that the rowbreak has to be redone
8735         we abort drawing as it will be called again.
8736
8737 2002-05-02  Juergen Vigna  <jug@sad.it>
8738
8739         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8740         a change in the maintext also if we're inside an inset.
8741         (Dispatch): set the cursor again after a break line and after the
8742         screen has been updated as it could be we're in a different row.
8743
8744         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8745         to set the cursor behind the pargraph with > size().
8746         (setCursor): check also for the same paragraph when checking where
8747         to put the cursor if we have a NFR inset.
8748
8749         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8750         parts of layout read further up as it still was in the wrong
8751         position.
8752
8753 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * screen.C (drawFromTo): change sine fullRebreak always return
8756         true.
8757
8758         * buffer.C (parseSingleLyXformat2Token): reindent some
8759
8760         * BufferView_pimpl.C (update): change since fullRebreak always
8761         return true.
8762         (Dispatch): git rid of the last hardcoded "Standard"s.
8763
8764 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8765
8766         * text2.[Ch] (fullRebreak): make it return void now that we always
8767         returned true.
8768
8769 2002-04-30  Juergen Vigna  <jug@sad.it>
8770
8771         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8772         ert compatibility check for "latex" layout.
8773
8774 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8775
8776         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8777         minipages: use col% instead of p%, and also use the current font.
8778         (makeLaTeXFile): Fix use babel condition.
8779         (parseSingleLyXformat2Token): Correct font when reading old floats.
8780
8781 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8782
8783         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8784         inserting list of floats.
8785
8786 2002-04-25  Herbert Voss  <voss@lyx.org>
8787
8788         * MenuBackend.C (expand): don't add the graphics extensions to the
8789         export menu
8790
8791 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8792
8793         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8794         non-existing layout, do not complain if it was the default layout
8795         of the original class (bug #342)
8796
8797 2002-04-24  Juergen Vigna  <jug@sad.it>
8798
8799         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8800         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8801
8802 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8803
8804         * buffer.C (getBibkeyList): If using \bibliography, return the
8805         option field with the reference itself. Enables us to provide natbib
8806         support when using \bibliography.
8807
8808 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8809
8810         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8811
8812         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8813         natbib is provided by the LaTeX class.
8814
8815 2002-04-23  Juergen Vigna  <jug@sad.it>
8816
8817         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8818         Wakeup functions.
8819
8820         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8821
8822 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8825
8826         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8827         ensuremath around textordmasculine, textordfeminine and
8828         textdegree.
8829
8830 2002-04-19  Juergen Vigna  <jug@sad.it>
8831
8832         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8833         reinitializing the buffer otherwise row-dimensions may be wrong.
8834         (update): reset also the selection cursors if they do exits otherwise
8835         their x/y positions may be wrong.
8836
8837         * text2.C (cursorDown): don't enter the inset if we came from a row
8838         above and are one row over the inset.
8839
8840         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8841         really leaving an inset.
8842
8843 2002-04-18  Juergen Vigna  <jug@sad.it>
8844
8845         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8846         of the selected paragraph does not have the selected layout also if
8847         the last one had!
8848
8849         * text2.C (setLayout): fixed bug which did not change last selected
8850         paragraph.
8851
8852         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8853         changed the read and substituted \\end_float with \\end_inset!
8854
8855         * BufferView_pimpl.C (cursorPrevious):
8856         (cursorNext): fixed to make it work with rows heigher than the work
8857         area without moving the cursor only the draw of the row.
8858         (workAreaMotionNotify): fix jumping over high rows.
8859
8860 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8863         Ressler.
8864
8865 2002-04-16  Juergen Vigna  <jug@sad.it>
8866
8867         * text2.C (setCursor): set also the irow().
8868         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8869         (cursorUp):
8870         (cursorDown): support for locking an inset if the x_fix value goes
8871         inside it. That way I can transverse insets too with cursor up/down.
8872
8873         * lyxrow.h: added irow helper function same as other (i) functions.
8874
8875         * BufferView_pimpl.C (cursorPrevious):
8876         (cursorNext): fixed for insets!
8877
8878 2002-04-15  Juergen Vigna  <jug@sad.it>
8879
8880         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8881         position otherwise it is wrong in some cases.
8882
8883         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8884         inside the inset before the call.
8885
8886 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8887
8888         * buffer.[Ch] (getBibkeyList): make it const.
8889
8890 2002-04-12  Juergen Vigna  <jug@sad.it>
8891
8892         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8893
8894         * text2.C (getCursorX): new helper function
8895         (setCursor): compute also ix_
8896         (setCursorFromCoordinates): set also ix.
8897
8898         * lyxcursor.h: added ix_ and helper functions.
8899
8900         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8901
8902         * buffer.C (insertStringAsLines): dont break paragraph if the this
8903         paragraph is inside an inset which does not permit it!
8904
8905         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8906         also with no chars on this paragraph.
8907         (paintRowText): only paint stuff if it's inside the workarea!
8908
8909         * paragraph.C (breakParagraph): honor keepempty flag and break the
8910         paragraph always below not above.
8911
8912         * BufferView2.C (unlockInset): update the paragraph layout on inset
8913         unlock as we changed paragraph in such a case.
8914
8915         * lyxfind.C (LyXFind): clear the former selection if not found!
8916
8917         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8918         again called in insertChar().
8919
8920         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8921         an inset which uses the whole row!
8922         (rightMargin): ditto.
8923         (insertChar): force a rebreak if we inserted an inset!
8924
8925 2002-03-28  Herbert Voss  <voss@lyx.org>
8926
8927         * lyxlength.[Ch]: add inBP() to get the right PS-point
8928         units (BigPoint). With inPixels we have rounding errors
8929
8930 2002-04-11  Juergen Vigna  <jug@sad.it>
8931
8932         * text2.C (setCursorFromCoordinates): set iy to the right value.
8933         (setCursor): add check if row->previous exists!
8934
8935         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8936         an old float_type as this was the case in the old code!
8937
8938         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8939
8940         * BufferView2.C (showLockedInsetCursor): use iy
8941         (fitLockedInsetCursor): ditto
8942
8943         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8944         locked insets as there we have the right value now.
8945
8946         * lyxcursor.C: added iy_ variable and iy functions to set to the
8947         baseline of cursor-y of the locked inset.
8948
8949         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8950         (setCursor): fixed for insets which need a full row.
8951
8952         * text.C (rowLastPrintable): don't ignore the last space when before
8953         an inset which needs a full row.
8954         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8955         as last character of a row when before a inset which needs a full row.
8956
8957 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * version.C.in: update date
8960
8961         * text2.C (fullRebreak): try to always return true and see what
8962         happens...
8963
8964 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * MenuBackend.C (expand): use Floating::listName
8967
8968         * FloatList.C (FloatList): add listName argument to the built-in
8969         floats
8970
8971         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8972         text associated with the float.
8973
8974 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8975
8976         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8977
8978 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8979
8980         * ShareContainer.h: add a couple of missing typenames.
8981
8982 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8983
8984         * lyxrc.C (getDescription): use _() correctly rather than N_().
8985
8986 2002-03-28  Herbert Voss  <voss@lyx.org>
8987
8988         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8989         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8990
8991 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8994         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8995
8996 2002-03-29  Juergen Vigna  <jug@sad.it>
8997
8998         * lyxfunc.C (dispatch): add a missing fitCursor call.
8999
9000         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9001         it was scrolled by a cursor move, so return the bool status.
9002
9003         * BufferView.C (fitCursor): return the bool flag also to the outside
9004         world as this is needed.
9005
9006         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9007
9008         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9009         call the edit() as it is not needed (and wrong) IMO.
9010         (workAreaButtonPress): set the screen_first variable before evt.
9011         unlock the inset as this may change screen_first and then we have
9012         a wrong y position for the click!
9013
9014 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * MenuBackend.C (expand): another translation that I missed
9017
9018 2002-03-28  Juergen Vigna  <jug@sad.it>
9019
9020         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9021
9022         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9023
9024 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9025
9026         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9027
9028         * MenuBackend.C (expand): fix export/view/update when there is no
9029         document open.
9030
9031 2002-03-27  Herbert Voss  <voss@lyx.org>
9032
9033         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9034         and text%
9035
9036 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * bufferview_funcs.C (currentState): only show paragraph number
9039         for is DEVEL_VERSION is set.
9040
9041         * lyxfunc.C (dispatch): put warning in INFO channel
9042
9043         * MenuBackend.C (expand): translate the name of floats
9044
9045         * FloatList.C (FloatList): mark the float names for translation
9046
9047         * converter.C (convert): use LibScriptSearch
9048
9049 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * MenuBackend.C (defaults): fix default menu (we might as well get
9052         rid of it...)
9053
9054 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9055
9056         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9057         directory.
9058
9059 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * lyxvc.C: reorder includes.
9062
9063 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9066           properly
9067
9068 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * CutAndPaste.C: change layouts earlier on paste
9071           to avoid crashing when calling getFont()
9072
9073 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9074
9075         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9076         irritating #error.
9077
9078 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9079
9080         * WorkArea.C: remove 'Pending' debug message.
9081
9082         * most files: ws cleanup
9083
9084         * buffer.[Ch]: ws changes
9085
9086         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9087
9088 2002-03-21  Juergen Vigna  <jug@sad.it>
9089
9090         * tabular.C (SetMultiColumn): collapse also the contents of the
9091         cells and set the last border right. Added a Buffer const * param.
9092
9093 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9094
9095         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9096         linking or not.
9097
9098 2002-03-19  Juergen Vigna  <jug@sad.it>
9099
9100         * text2.C (clearSelection): reset also xsel_cache.
9101
9102         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9103         where it needs to be called (John tells us to do so too :)
9104         (selectionLost): reset sel_cache.
9105
9106         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9107
9108 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9109
9110         * text2.C (setCursorIntern): put debuging code in INSETS channel
9111
9112 2002-03-19  André Pönitz <poenitz@gmx.net>
9113
9114         * lyxfunc.C: tiny whitespace change
9115
9116 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9117
9118         * ToolbarDefaults.C (init):
9119         * LyXAction.C (init):
9120         * commandtags.h:
9121         * BufferView_pimpl.C (Dispatch):
9122         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9123
9124 2002-03-19  Allan Rae  <rae@lyx.org>
9125
9126         * exporter.C (Export): removeAutoInsets before doing anything else.
9127         While I've just introduced a dependency on BufferView this really is
9128         the best place to clean the buffer otherwise you need to cleanup in
9129         a dozen places before calling export or cleanup in a dozen functions
9130         that export calls.
9131
9132         * converter.C (runLaTeX):
9133         (scanLog): Better handling of removeAutoInsets and screen updates.
9134
9135         * lyxfunc.C (dispatch): small whitespace changes
9136
9137 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * WorkArea.C (C_WorkAreaEvent): return a value.
9140         (event_cb): return 1 if we handled the event, 0 otherwise.
9141
9142         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9143
9144 2002-03-18  Juergen Vigna  <jug@sad.it>
9145
9146         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9147         (GetAdditionalWidth): ditto.
9148         (RightLine): ditto.
9149         (LeftLine): ditto.
9150
9151         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9152         inset if we're there actually (probably not used right now but this
9153         is the direction to go for unifying code).
9154         (paste): disable code to clear the selection.
9155
9156         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9157         inside an InsetText and move the check further up as it is in the
9158         wrong place.
9159
9160         * text2.C (pasteSelection): set a selection over the pasted text.
9161
9162 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9163
9164         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9165         and libgraphics to build on Cygwin.
9166
9167 2002-03-15  Juergen Vigna  <jug@sad.it>
9168
9169         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9170         inserting an Inset into the paragraph. I know this is not the best
9171         fix but we already use current_view in CutAndPaste so we will remove
9172         all of it's using at the same time.
9173
9174         * buffer.C (sgmlError): deactivated function till it is rewritten in
9175         the right mode, now it can create problems.
9176
9177         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9178         before accessing it.
9179
9180 2002-03-14  Juergen Vigna  <jug@sad.it>
9181
9182         * undo_funcs.C (textHandleUndo): do the right thing when updating
9183         the inset after the undo/redo.
9184
9185         * text2.C (setCursor): just some testcode for #44 not ready yet.
9186
9187         * undo_funcs.C (textHandleUndo): set the next() and previous()
9188         pointers of the paragraph to 0 before deleting otherwise we have
9189         problems with the Paragraph::[destructor].
9190
9191         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9192         on a paragraph insertion.
9193
9194 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * buffer.C (asciiParagraph): use += operator for char append to
9197         string.
9198
9199         * paragraph.C (getFontSettings): compare >= not just >
9200         (highestFontInRange): ditto
9201         (setFont): ditto
9202
9203 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9204
9205         * paragraph.C: change several algorithm to be more appripriate for
9206         the problem domain. This is lookip in FontList and in the InsetList.
9207
9208 2002-03-13  André Pönitz <poenitz@gmx.net>
9209
9210         * commandtags.h:
9211         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9212
9213 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * commandtags.h:
9216         * LyXAction.C:
9217         * lyxfunc.C:
9218         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9219
9220 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * Painter.C (display): anon helper function, adjust code for this
9223         change.
9224         (pixmap): remove function.
9225
9226         * Painter.h: remove private display variable.
9227
9228         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9229
9230 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9231
9232         * WorkArea.[Ch]: remove figinset_canvas cruft.
9233
9234 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9235
9236         * lyxtextclass.C (operator): add one item cache optimization.
9237
9238         * bufferlist.h: doxy changes
9239
9240         * bufferlist.C: ws changes
9241
9242         * DepTable.[Ch] (ext_exist): place const in the right spot.
9243
9244         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9245         call resizeInsets.
9246         (workAreaExpose): call resizeInsets when the with BufferView changes.
9247         (Dispatch): adjust for protectedBlank removal
9248         (specialChar): call updateInset if the insert went ok.
9249
9250         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9251         specialChar instead.
9252
9253         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9254
9255         * BufferView.h: doxy change
9256
9257         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9258
9259         * lyxtextclass.C (operator[]): remove non-const version
9260         (defaultLayout): remove non-const version
9261
9262 2002-03-12  Juergen Vigna  <jug@sad.it>
9263
9264         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9265         did resize the LyXText too.
9266
9267         * buffer.C (readLyXformat2): set layout information on newly allocated
9268         paragraphs.
9269
9270         * tabular.C (OldFormatRead): set layout information on the paragraph.
9271
9272 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9273
9274         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9275
9276 2002-03-11  Juergen Vigna  <jug@sad.it>
9277
9278         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9279         plainly wrong.
9280         (resizeCurrentBuffer): force also the insets to resize themselfes.
9281         (moveCursorUpdate): fixed up for InsetText.
9282
9283 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9284
9285         * commandtags.h:
9286         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9287         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9288         value of Dialogs::tooltipsEnabled().
9289         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9290
9291 2002-03-08  Juergen Vigna  <jug@sad.it>
9292
9293         * BufferView_pimpl.C (updateInset): update inset inside inset also
9294         if it isn't inside theLockingInset().
9295
9296 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * buffer.C (asciiParagraph): redo some of the word and line length
9299         handling.
9300         (getLists): look for Caption instead of caption.
9301
9302 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * buffer.C (Buffer): initialize niceFile to true
9305         (makeLaTeXFile):
9306         (makeLinuxDocFile):
9307         (makeDocBookFile): make sure niceFile is true on exit
9308
9309 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9312
9313 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9314
9315         * LyXSendto.C: remove.
9316         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9317         * lyx_gui.C: remove now-redundant comment.
9318         * ColorHandler.h: remove forward declaration of class WorkArea.
9319         * lyxfunc.C: remove #include "WorkArea.h".
9320
9321 2002-03-07  Juergen Vigna  <jug@sad.it>
9322
9323         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9324         got moved away with the DEPM and also set the inset_owner always
9325         right which before could have been omitted.
9326
9327 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9330         wanted layout is not found.
9331
9332 2002-03-07  Juergen Vigna  <jug@sad.it>
9333
9334         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9335
9336 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9337
9338         * paragraph.C (breakParagraph): use default layout not layout of
9339         prev paragraph.
9340         (Paragraph): clear ParagraphParameters.
9341
9342 2002-03-06  Juergen Vigna  <jug@sad.it>
9343
9344         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9345         otherwise it would not be a valid lenght. Fixed a special case in
9346         the minipage compatibility read where we end the document with a
9347         minipage.
9348
9349         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9350         was set as it could be 0 for InsetTexts first entry.
9351
9352 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * paragraph.C (writeFile): if layout is empty write out
9355         defaultLayoutName().
9356
9357         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9358         file without named layout we set layout to defaultLayoutName().
9359
9360 2002-03-06  Juergen Vigna  <jug@sad.it>
9361
9362         * CutAndPaste.C (copySelection): set layout for new paragraph.
9363
9364         * text.C (prepareToPrint): leave ERT inset left aligned
9365         (leftMargin): don't indent paragraphs inside ERT insets
9366
9367 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9368
9369         * paragraph.C (breakParagraph): dont call clear do the work manually
9370
9371         * paragraph.[Ch] (clear): remove function
9372
9373 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9374
9375         * paragraph.C (Paragraph): dont call clear, the work has already
9376         been done.
9377
9378         * lyxtextclass.C (operator): assert if n is empty
9379
9380         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9381         work manually instead.
9382
9383 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * BufferView_pimpl.C: protect selectionLost against text == 0
9386
9387 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * text.C (breakParagraph): fix a setting layout to '0' problem.
9390
9391 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9392
9393         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9394         final location of file, for the included files, and graphics.
9395
9396 2002-03-05  Juergen Vigna  <jug@sad.it>
9397
9398         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9399
9400 2002-03-04  Juergen Vigna  <jug@sad.it>
9401
9402         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9403
9404         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9405         last column of multicolumn cells.
9406         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9407
9408 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9409
9410         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9411         file if it doesn't go to a temporary file.
9412
9413         * buffer.C (sgmlOpenTag):
9414         (sgmlCloseTag):  remove extra newline insertion.
9415
9416 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9417
9418         * text.C (getRowNearY): comment out debug msg
9419
9420 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9421
9422         * text2.C: first -> first_y
9423
9424         * text.C (getRowNearY): add some attemts at a possible
9425         optimization, not working.
9426
9427         * tabular.[Ch]: add BufferParams to several function so that newly
9428         created paragraph can be initialized to he default layotu for the
9429         buffers textclass.
9430
9431         * tabular-old.C (ReadOld): add buf->params to call of Init
9432
9433         * screen.C: rename text->first to text->first_y
9434
9435         * paragraph.C (breakParagraph): always set layout in the broken
9436         paragraph
9437
9438         * lyxtextclass.C (Read): remove lowercase
9439         (hasLayout): ditto
9440         (operator): ditto
9441         (delete_layout): ditto
9442
9443         * lyxtext.h: rename first -> first_y
9444
9445         * lyxlayout.C (Read): remove lowercase
9446         (name): ditto
9447         (setName): ditto
9448         (obsoleted_by): ditto
9449
9450         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9451
9452         * buffer.C (insertErtContents): add params are to InsetERT
9453         (parseSingleLyXformat2Token): add code to check if a paragraphs
9454         layout really exist.
9455         (parseSingleLyXformat2Token): add params to several inset
9456         constructors
9457         (asciiParagraph): remove lowercase, do the layout comparisons with
9458         no_case
9459
9460         * BufferView_pimpl.C (cursorNext): first -> first_y
9461         (resizeCurrentBuffer): first -> first_y
9462         (updateScrollbar): first -> first_y
9463         (scrollCB): first -> first_y
9464         (workAreaMotionNotify): first -> first_y
9465         (workAreaButtonPress): first -> first_y
9466         (checkInsetHit): first -> first_y
9467         (cursorPrevious): first -> first_y
9468         (cursorNext): first -> first_y
9469         (Dispatch): add buffer_->params to severl inset contructors
9470
9471 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9472
9473         * lyxlayout.C (Read): remove some debug info that I forgot.
9474
9475         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9476         clean up the code slightly.
9477         (makeLinuxDocFile): ditto
9478         (makeDocBookFile): ditto
9479
9480         * text2.C: layout as string
9481
9482         * text.C: layout as string
9483
9484         * paragraph_pimpl.C: layout as string
9485
9486         * paragraph.[Ch]: layout as string
9487
9488         * lyxtextclasslist.[Ch]: layout as string
9489
9490         * lyxtextclass.[Ch]: layout as string
9491
9492         * lyxtext.h: layout as string
9493
9494         * lyxlayout.[Ch]: layout as string
9495
9496         * lyx_cb.C: layout as string
9497
9498         * bufferview_funcs.C: layout as string
9499
9500         * bufferparams.C: layout as string
9501
9502         * buffer.C: layout as string
9503
9504         * LyXView.[Ch]: layout as string
9505
9506         * LaTeXFeatures.[Ch]: layout as string
9507
9508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9509
9510         * BufferView_pimpl.C: change current_layout to string, remove
9511         lyx::layout_type.
9512         (Dispatch):
9513         (smartQuote):
9514         (insertInset):
9515         (workAreaButtonRelease): layout as string
9516
9517         * BufferView2.C (unlockInset): adjust
9518
9519         * vspace.C (asLatexCommand): use an explict temp variable.
9520
9521 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * Makefile.am: use FRONTEND_*
9524
9525 2002-03-01  Juergen Vigna  <jug@sad.it>
9526
9527         * tabular.C (SetWidthOfMulticolCell): changed to something better
9528         I hope but still work in progress.
9529         (recalculateMulticolumnsOfColumn): renamed function from
9530         recalculateMulticolCells as it is more appropriate now.
9531         (SetWidthOfCell): calculate multicols better.
9532
9533 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9536
9537         * lyxfunc.C (processKeySym): print sequence also if it is
9538         `deleted' (complete)
9539
9540         * kbsequence.C (print): print sequence even if it is deleted
9541         (complete would be a better word, actually).
9542
9543         * lyxfunc.C (dispatch): print complete options after a prefix key
9544
9545         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9546
9547 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9548
9549         * text2.C (setCharFont): eliminate setCharFont code duplication.
9550
9551 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9554         LFUN_TABULAR_FEATURE (bug #177)
9555
9556 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9557
9558         * Makefile.am: remove figure.h
9559
9560 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * Bufferview_pimpl.C:
9563         * CutAndPasteC:
9564         * LaTeX.C:
9565         * LyXSendto.C:
9566         * buffer.C:
9567         * bufferlist.C:
9568         * converter.C:
9569         * language.C:
9570         * lyxfunc.C:
9571         * lyxvc.C:
9572         * paragraph.C:
9573         * text.C:
9574         * text2.C: remove #include "lyx_gui_misc.h".
9575
9576         * LaTeX.C: added #include <cstdio>
9577
9578 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9581         that the paragraph following this one can have.
9582
9583         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9584
9585         * vspace.C (asLatexCommand): fix bogus gcc warning
9586
9587         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9588
9589 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9590
9591         * text2.C (setLayout): get rid of redundant code
9592
9593 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9594
9595         * text2.C (incDepth): make sure depth cannot be increased beyond
9596         reasonable values.
9597
9598 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9599
9600         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9601         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9602
9603         * PainterBase.h (image):
9604         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9605         a LyXImage const *.
9606
9607 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * BufferView.C:
9610         * BufferView.h:
9611         * BufferView_pimpl.C:
9612         * BufferView_pimpl.h:
9613         * LaTeXFeatures.C:
9614         * LyXAction.C:
9615         * LyXView.C:
9616         * Makefile.am:
9617         * UpdateList.h:
9618         * UpdateList.C:
9619         * buffer.C:
9620         * figure.h:
9621         * figureForm.C:
9622         * figureForm.h:
9623         * figure_form.C:
9624         * figure_form.h:
9625         * lyx_cb.C:
9626         * lyx_gui.C:
9627         * lyx_gui_misc.C:
9628         * lyxfunc.C:
9629         * sp_base.h:
9630         * sp_ispell.h:
9631         * sp_pspell.h:
9632         * sp_spell.C: remove fig inset, and the crap house of
9633           cards that follows it
9634
9635 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * Makefile.am:
9638         * lyxserver.C:
9639         * os2_defines.h:
9640         * os2_errortable.h:
9641         * nt_defines.h: move .h into support/
9642
9643         * vms_defines.h: remove
9644
9645         * WorkArea.C: add space in debug output
9646
9647         * text2.C:
9648         * paragraph.C:
9649         * buffer.C: add WITH_WARNINGS
9650
9651         * vc-backend.h:
9652         * vc-backend.C:
9653         * bufferlist.C: s/retrive/retrieve/, add docs
9654
9655         * vspace.h:
9656         * vspace.C:
9657         * kbmap.h:
9658         * lyxlength.h:
9659         * lyxgluelength.h:
9660         * length_common.h:
9661         * chset.h:
9662         * chset.C: add docs
9663
9664         * lyxgui.C: add ID to X error handler
9665
9666         * lyxtestclass.c: fix typo
9667
9668 2002-02-26  Juergen Vigna  <jug@sad.it>
9669
9670         * tabular_funcs.C (write_attribute): changed so that some default
9671         attributes are not written at all.
9672         (getTokenValue): set default values before trying to read the
9673         value so we have the return value always set as default if we don't
9674         find the token we search for.
9675
9676         * tabular.C (Write): write bools as bools not as strings!
9677
9678 2002-02-22  Juergen Vigna  <jug@sad.it>
9679
9680         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9681         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9682
9683         * text.C (leftMargin): don't add an indent for paragraphs inside
9684         tabular cells (fix #208).
9685
9686 2002-02-21  José Matos  <jamatos@fep.up.pt>
9687
9688         * tabular.C (docBook): fixed support for long tables.
9689
9690 2002-02-20  Juergen Vigna  <jug@sad.it>
9691
9692         * text2.C (getFont): get the drawing font of the Inset if this
9693         paragraph is inside an inset (only important for InsetERT for now).
9694
9695         * buffer.C (insertErtContents): use new lanugage params in ERT
9696         constructor.
9697
9698         * CutAndPaste.C: commenting out seemingly uneeded code.
9699
9700 2002-02-19  Allan Rae  <rae@lyx.org>
9701
9702         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9703         Iterators might be simple to use but they also get invalidated.
9704         (removeAutoInsets): renamed saved cursor tracking variables and added
9705         some comments to clarify what everything does.
9706
9707 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9708
9709         * Chktex.C:
9710         * LaTeX.C:
9711         * LyXSendto.C:
9712         * converter.C:
9713         * lyx_cb.C:
9714         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9715         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9716
9717         * lyxfunc.C:
9718         * vc-backend.h: remove #include "support/syscall.h"
9719
9720         * LaTeX.C:
9721         * LyXSendto.C:
9722         * converter.C: rearrange #includes in Lars' approved fashion.
9723
9724         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9725         forward declare class Timeout in the header file.
9726
9727         * XFormsView.C: changes due to the above.
9728
9729         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9730         similar to LyXView.
9731
9732         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9733         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9734
9735 2002-02-18  José Matos  <jamatos@fep.up.pt>
9736
9737         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9738         insets contents.
9739
9740 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9741
9742         * a lot of small ws changes
9743         * add a lot of using std::XXX
9744         * use std construcs some places where approp.
9745         * use some exisint stuff from lyxfunctional where approp.
9746         * Make file changes to use partial linking (lets test this now...)
9747
9748 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9749
9750         * Chktex.C:
9751         * buffer.C:
9752         remove #include "support/syscontr.h" as it's redundant. Always has been.
9753
9754         * Chktex.C:
9755         * LaTeX.C:
9756         * LyXSendto.C:
9757         * converter.C:
9758         * lyx_cb.C:
9759         * vc-backend.C:
9760         change Systemcalls::System to Systemcalls::Wait and
9761         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9762         No change of functionality, just reflects the stripped down Systemcalls
9763         class.
9764
9765 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9766
9767         * debug.[Ch]: add a GRAPHICS type to the enum.
9768
9769 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9772
9773         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9774         there is an inset.
9775
9776 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9779         match the changes below.
9780
9781         * text2.C (toggleInset): if there is not editable inset at cursor
9782         position, try to see if cursor is _inside_ a collapsable inset
9783         and close it.
9784
9785 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9788         document menu has a nice checkbox
9789
9790 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * lyxlength.C (asLatexString): change PW to output as percent of
9793         \textwidth.
9794
9795         * lengthcommon.C: change '%' to 't%'
9796
9797         * lyxfunc.C (dispatch): a few comments from Martin
9798
9799 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * WorkArea.h:
9802         * WorkArea.C:
9803         * BufferView_pimpl.h:
9804         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9805           the X selection.
9806
9807 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * vspace.C (inPixels): fix compiler warning
9810
9811 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * lyxfunc.C (getStatus): fix status message for disabled commands.
9814
9815 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * BufferView_pimpl.C: fix crash on close buffer
9818         during selection (#227)
9819
9820 2002-01-27  Herbert Voss  <voss@lyx.org>
9821
9822         * buffer.C: link old Figure to new graphic inset
9823
9824 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9825
9826         * FontLoader.C (getFontinfo): Change the latex font names in order
9827         to match the names of type1inst.
9828
9829 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9830
9831         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9832
9833         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9834         (extchanged): ditto
9835         (ext_exist): ditto
9836         (remove_files_with_extension): ditto
9837         (remove_file): ditto
9838         (write): ditto
9839
9840         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9841         document is smaller than the work area height. Do not initialize
9842         static variables to 0.
9843
9844 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9847
9848         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9849         LFUN_LAYOUT_PARAGRAPHS.
9850
9851         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9852         tabular. It is possible to provide a possible cell, which will
9853         typically be the actcell from the corresponding insettabular
9854
9855         * lyxfunc.C (getStatus): small cleanup; disable
9856         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9857         true
9858
9859 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9862
9863         * paragraph.C (startTeXParParams):
9864         (endTeXParParams): new methods. The LaTeX code to
9865         start/end paragraph formatting
9866         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9867         empty (fixes bug #200)
9868
9869         * vspace.C (inPixels): adapt to the change below
9870         (inPixels): [later] more cleanups (remove unused variables)
9871
9872         * lyxlength.C (inPixels): change to use a width and a height as
9873         parameter.
9874
9875 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9876
9877         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9878         Replaced with \paperwidth
9879
9880         * DepTable.C (insert): add std:: qualifier
9881
9882 2002-01-18  Allan Rae  <rae@lyx.org>
9883
9884         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9885         updated also?
9886
9887         * text.C (drawInset): Turned out I didn't know enough about how
9888         rebreaking worked.  This fixes most of the redraw problems.  I see
9889         an occasional cursor trail when a line is broken now and the cursor
9890         placement can seem out by a few pixels also after a rebreak.
9891
9892 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9893
9894         * buffer.C (parseSingleLyXformat2Token): update because minipage
9895         width is now a LyXLength
9896
9897         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9898
9899         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9900         math insets
9901
9902 2002-01-17  Juergen Vigna  <jug@sad.it>
9903
9904         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9905
9906         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9907         is set correctly and the inset is updated correctly.
9908
9909 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9912         the beginning of the loop.
9913
9914 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * lyxrc.C: improve help for use_scalable_fonts
9917
9918 2002-01-17  Allan Rae  <rae@lyx.org>
9919
9920         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9921
9922 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9923
9924         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9925         make sure to set their inset_owner to the right value (bug #171)
9926
9927 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9928
9929         * DepTable.h
9930         * DepTable.C: Implement mtime checking to reduce time spent doing
9931         CRCs.
9932
9933 2002-01-16  Juergen Vigna  <jug@sad.it>
9934
9935         * tabular.C (GetAdditionalHeight): one of error fixed.
9936
9937         * lyxrc.C (output): small fix in writing use_pspell.
9938
9939 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9940
9941         * sp_base.h: #include LString.h
9942
9943 2002-01-16  Allan Rae  <rae@lyx.org>
9944
9945         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9946         Can someone check this please?
9947
9948         * text.C (drawInset): It was possible that p.row would be removed by
9949         breakAgainOneRow upsetting a few other settings.  There may be another
9950         small tweak possible by setting need_break_row = 0 when p.row has been
9951         removed but I don't know enough about the logic here.
9952
9953 2002-01-15  Allan Rae  <rae@lyx.org>
9954
9955         * text.C (insertChar): removed conditional truism.
9956
9957         * BufferView2.C (removeAutoInsets): More tweaks.
9958         cur_par_prev could be a stray pointer.  Check for trailing empty line
9959         in case last line was cur_par and only had an error inset on it.
9960
9961 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9964         absolute
9965
9966         * vc-backend.C (most methods):
9967         * exporter.C (Export):
9968         * converter.C (convert):
9969         (runLaTeX):
9970         * LyXSendto.C (SendtoApplyCB):
9971         * lyxfunc.C (dispatch):
9972         (menuNew):
9973         (open):
9974         (doImport):
9975         * lyx_cb.C (AutoSave):
9976         (InsertAsciiFile):
9977         * BufferView_pimpl.C (MenuInsertLyXFile):
9978         * buffer.C (runChktex): use Buffer::filePath().
9979
9980         * buffer.h: rename filename to filename_; rename filepath to
9981         filepath_ and make it private
9982         (filePath): new method
9983
9984         * buffer.C (writeFile): use fileName()
9985         (getLatexName):
9986
9987         * lyx_main.C (init): fix starting  of LyX when the binary is a
9988         link from so,ewhere else.
9989
9990         * minibuffer.C: include <cctype> for isprint
9991
9992 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9995         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9996         name clash with InsetCollapsable's width function.
9997
9998 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9999
10000         * lastfiles.C: include <iterator>
10001
10002 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10003
10004         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10005         std::count.
10006
10007         * buffer.C (makeLaTeXFile): ditto.
10008         Also make loop operation more transparent.
10009
10010 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10011
10012         * ToolbarDefaults.C: remove trailing comma closing namespace.
10013
10014         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10015
10016         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10017         as in WorkArea.
10018
10019         * trans.C (Load): comment out unused variable, allowed.
10020
10021 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10022
10023         * minibuffer.[Ch] (append_char): new method to recieve input from the
10024         drop-down completion browser. If a key was pressed, then recieve this
10025         char and append it to the existing string.
10026         (peek_event): modify the positioning data passed to the completion
10027         browser so that it can be placed above the minibuffer rather than below.
10028 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * LyXAction.C (init): alloe error-next for readonly documents.
10031
10032         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10033         count.
10034
10035 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * bufferlist.C (readFile): create the buffer _after_ checking that
10038         the file exists.
10039
10040         * lyxfunc.C (verboseDispatch): fix handling of arguments
10041
10042         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10043
10044         * lyxrc.C: use string::erase() instead of initializing to "".
10045
10046
10047 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * BufferView_pimpl.h:
10050         * BufferView_pimpl.C:
10051         * WorkArea.h:
10052         * WorkArea.C:
10053         * text2.C: tell X when we have made a selection for copying
10054
10055 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * BufferView_pimpl.C (MenuInsertLyXFile):
10058         * lyxfunc.C (menuNew):
10059         (open):
10060         (doImport): add shortcuts to directory buttons
10061
10062         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10063         open a float)
10064
10065         * lyxfunc.C (setStatusMessage):
10066         (getStatusMessage): new methods
10067         (getStatus):use setStatusMessage instead of setErrorMessage
10068         (dispatch): when function is disabled, set error message here
10069         [instead of in getStatus previously]
10070
10071         * BufferView_pimpl.C (workAreaButtonRelease): update
10072         toolbar/menubar here too.
10073
10074 2002-01-13  Allan Rae  <rae@lyx.org>
10075
10076         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10077         Now seems indestructible.  Remaining task is to audit all other
10078         code affected by deleteEmptyParagraphMechanism.  One small quirk
10079         left is that an empty document with an error in the preamble can
10080         be made to report an error but no error box appears.  I don't know
10081         where it goes.
10082         (removeAutoInsets): Improved comments.
10083
10084 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * Thesaurus.h:
10087         * Thesaurus.C: update for Aiksaurus 0.14
10088
10089 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10090
10091         * text2.C (firstParagraph): removed member function, all uses
10092         replaces with ownerParagraph
10093         (redoParagraphs): here
10094         (updateInset): here
10095         (toggleAppendix): here
10096         * BufferView2.C (insertErrors): here
10097         (setCursorFromRow): here
10098
10099 2002-01-13  Allan Rae  <rae@lyx.org>
10100
10101         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10102         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10103         There is still a way to segfault this although you may have to do this
10104         multiple times: Have an InsetERT with an unknown command in it.
10105         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10106         <down-arrow>, <Enter> again, View->DVI, BANG!
10107
10108         * text2.C (setCursor):
10109         (deleteEmptyParagraphMechanism):
10110         * lyxtext.h (setCursor):
10111         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10112         Making use of the return value may help fix other bugs.
10113
10114 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10117
10118         * LyXView.C (updateMenubar): call MenuBar::update here
10119         (updateToolbar): but not here
10120         (showState): do not update toolbar/menubar
10121
10122         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10123         should need to care about that.
10124
10125         * lyxfunc.C (verboseDispatch): simplify a bit
10126         (getStatus): have a version which takes a pseudoaction, and
10127         another which requires a (kb_action,string).
10128
10129         * LyXAction.C (retrieveActionArg): make it work also when action
10130         is not a pseudo-action.
10131         (getActionName): simplify a bit
10132         (helpText):
10133
10134 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * lyxfunc.C (verboseDispatch): new families of methods with
10137         several ways to specify a command and a bool to indicate whether
10138         the command name and shortcut should be displayed in minibuffer
10139         (eventually, we could extend that to a finer bitmask like
10140         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10141         (dispatch): the pristine dispatch command which just, well,
10142         dispatchs! Note it still sets its result to minibuffer; I'm not
10143         sure we want that.
10144
10145         * lyxfunc.h: remove setHintMessage
10146
10147         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10148
10149 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10150
10151         * BufferView_pimpl.C (specialChar): delete new inset if we have
10152         not been able to insert it.
10153
10154         * kbmap.C: revert to using int instead of kb_action, since all we
10155         are dealing with is pseudo-actions.
10156
10157         * LyXAction.C (searchActionArg): change to return int instead of
10158         kb_action, since the result is a pseudoaction.
10159
10160 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10161
10162         * buffer.C (insertErtContents): Fix (partially) the font bug.
10163
10164 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10167         as the other one is broken on my machine!
10168
10169 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10170
10171         * commandtags.h:
10172         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10173
10174 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10175
10176         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10177         reflect their actual use. Provide compatibility code for older lyxrc
10178         files.
10179
10180         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10181         FL_NORMAL_STYLE.
10182         change names of popup font variables in line with the changes to lyxrc.C
10183
10184 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * buffer.C (asciiParagraph): avoid outputing a word twice after
10187         an inset.
10188
10189         * lyxrc.C (getDescription): document that document_path and
10190         template_path can be empty.
10191
10192 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * LaTeXFeatures.C (getMacros):
10195         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10196
10197         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10198
10199         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10200         getPackages.
10201         (getPackages): rename feature "floats" to "float". Use an array to
10202         iterate over 'simple' features (i.e. just a \usepackage). Add
10203         handling of "amsmath" (renamed from "amsstyle").
10204
10205 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10206
10207         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10208         features list.
10209
10210 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10211
10212         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10213         FuncStaus::FuncStatus & FuncStaus::some_method().
10214
10215 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10216
10217         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10218         of the func_satus stuff. Edited and massaged in various ways by
10219         JMarc.
10220
10221         * lyxfunc.C (getStatus): use FuncStatus
10222
10223 2002-01-08  Juergen Vigna  <jug@sad.it>
10224
10225         * text.C (nextBreakPoint): use function Inset::isChar().
10226
10227         * paragraph.C (TeXOnePar): use function
10228         Inset::forceDefaultParagraphs.
10229
10230         * buffer.C (latexParagraphs): use function
10231         Inset::forceDefaultParagraphs.
10232
10233 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10234
10235         * lyx_gui.C (init): set the style of the menu popups to
10236         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10237
10238 2002-01-07  Juergen Vigna  <jug@sad.it>
10239
10240         * text.C (setHeightOfRow): small fix
10241         (prepareToPrint): don't look at alignment if we don't have the place
10242         for doing it.
10243
10244 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10245
10246         * box.C: New file. Move the Box methods and functions out of box.h,
10247         following Lars' suggestion.
10248
10249 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10250
10251         * box.h: #include "support/LOstream.h", needed for inlined function.
10252
10253         * lyxtextclass.C:
10254         * lyxtextclasslist.C: added some using std declarations.
10255
10256 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * box.h: make signed dimensions to allow insets wider than
10259           the screen (bug #162)
10260
10261         * BufferView_pimpl.C: add some insetHit debug
10262
10263 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * vc-backend.C: add FIXME
10266
10267 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * lyxfunc.C (getStatus): enable code for showing math font status
10270         in toolbar/menu.
10271
10272 2002-01-07  Juergen Vigna  <jug@sad.it>
10273
10274         * text.C (nextBreakPoint): removed debug output not needed anymore.
10275
10276 2002-01-06  Juergen Vigna  <jug@sad.it>
10277
10278         * text.C (nextBreakPoint): fixed up this function we had this bug
10279         since ever but now hopefully we break row better.
10280         (insertChar): we have to check if an inset is the next char as it
10281         could now happen that a large inset is causing a break.
10282
10283 2002-01-05  Juergen Vigna  <jug@sad.it>
10284
10285         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10286         if it doesn't like to be drawed.
10287
10288 2002-01-04  Juergen Vigna  <jug@sad.it>
10289
10290         * BufferView2.C (lockInset): forgot to set a cursor.
10291
10292         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10293
10294 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10295
10296         * FormMathsPanel.C:
10297         * FormMathsPanel.h
10298         * MathsSymbols.C:
10299         * form_maths_panel.C:
10300         * form_maths_panel.h:
10301         * form_maths_panel.fd: implemented sub- and super- buttons in math
10302         panel.
10303
10304         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10305         (or ^ space) to be used as in TeX (req'd by André).
10306
10307         * lyxfunc.C: Allow ^ and _ again to be used both as
10308         super/subscript (mathed) and as themselves (in text).
10309
10310 2002-01-03  Allan Rae  <rae@lyx.org>
10311
10312         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10313         "LyX" or the filename of the current buffer if it has one.  This is a
10314         modified form of John Levon's patch.
10315
10316         * XFormsView.C (setWindowTitle): also set icon title.
10317
10318         * LyXView.h (setWindowTitle): signature changed.
10319         * XFormsView.h (setWindowTitle): ditto.
10320
10321 2002-01-02  Juergen Vigna  <jug@sad.it>
10322
10323         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10324
10325 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * screen.C (topCursorVisible): introduce a temp var for
10328         text->cursor.row(), handle the case where this row is null. (kindo
10329         hachish)
10330
10331         * text2.C (setCursor): add a couple of asserts.
10332
10333         * paragraph.h (inset_iterator): add -> operator
10334
10335         * paragraph.[Ch] (autoDeleteInsets): remove member function
10336
10337         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10338         cursor pos correctly and handle inset deletion by itself.
10339         (insertErrors): move iterator declaration out of for expression
10340
10341         * lyxtextclass.C: add <algorithm>
10342
10343         * Makefile.am: added the new files to sources, removed layout.C
10344
10345         * layout.C: removed file
10346
10347         * layout.h: remove LYX_DUMMY_LAYOUT
10348
10349         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10350         layout.
10351
10352         * lyxlayout.[Ch]:
10353         * lyxtextclass.[Ch]:
10354         * lyxtextclasslist.[Ch]: new files
10355
10356         * include order changes to a lot of files, also changes because of
10357         the six new files.
10358
10359 2001-12-27  Juergen Vigna  <jug@sad.it>
10360
10361         * buffer.C (asciiParagraph): more fixes.
10362
10363         * tabular.C (ascii): make ascii export support export of only the
10364         data separated by a column-delimiter.
10365         (ascii): better support for ascii export.
10366
10367         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10368
10369 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * tabular_funcs.C: use a "using std::getline" instead of the
10372         previous fix from Angus (necessary for cxx + lyxstring)
10373
10374 2001-12-24  Juergen Vigna  <jug@sad.it>
10375
10376         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10377
10378         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10379         problems. First check a minipage also if we have some ert-contents
10380         (not only on par->size(), second set the right depth of the paragraph
10381         on the relink to the root-paragraph-list!
10382
10383         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10384         which then did not anymore update the main paragraphs on undo/redo!
10385
10386 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10389         code. Support all font-changing funcs (even those which are not in
10390         menu currently). Support for reporting font settings in
10391         mathed (disabled until Andre provides a function on mathed's side).
10392
10393         * func_status.h (toggle): small helper function to set toggle
10394         state on a flag.
10395
10396 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * tabular_funcs.C: getline -> std::getline
10399
10400 2001-12-21  Juergen Vigna  <jug@sad.it>
10401
10402         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10403         accessed and could be 0 (I couldn't generate this but it seems
10404         Michael could!).
10405
10406 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10407
10408         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10409         * tabular_funcs.h: here and include iosfwd
10410
10411 2001-12-20  Juergen Vigna  <jug@sad.it>
10412
10413         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10414         inside inset but undo_par was.
10415
10416 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10417
10418         * Thesaurus.C: always include <config.h> in sources.
10419
10420         * Painter.h:
10421         * lyxlookup.h:
10422         * box.h: do not include <config.h> in header files
10423
10424         * text.C (paintLastRow): remove unused variable
10425
10426         * text.C (transformChar):
10427         (insertChar):
10428         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10429
10430         * Painter.C (text):
10431         * font.C (width): rewrite to use uppercase() instead of
10432         islower/toupper.
10433
10434         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10435
10436 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * lyxfind.C: clean up of find failure position change
10439
10440 2001-12-20  Juergen Vigna  <jug@sad.it>
10441
10442         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10443
10444         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10445         (TeXRow): added to LaTeX a single tabular row.
10446         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10447         (Latex): simplified and finally good LT-h/f support.
10448         (various_functions): just small adaptions for LT-h/f support.
10449
10450         * tabular_funcs.[hC]: added and moved here all not classfunctions
10451         of LyXTabular.
10452
10453 2001-12-19  Juergen Vigna  <jug@sad.it>
10454
10455         * tabular.[Ch]: better support for longtabular options (not finished
10456         yet!)
10457
10458 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * text.C (paintLastRow): use the label font instead of the font of
10461         the last character to compute the size of *_BOX. This makes more
10462         sense and avoids a crash with empty paragraphs.
10463         Use Painter::rectangle to draw EMPTY_BOX.
10464
10465 2001-12-19  Juergen Vigna  <jug@sad.it>
10466
10467         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10468         the paragraphs if the replaced paragraph is not the first one!
10469         Tried to delete not used paragraphs but does not work yet so for
10470         now it's inside #ifdef's and by default off!
10471
10472 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * MenuBackend.C: include "lyx_main.h" instead of declaring
10475         lastfiles (actually was declared as LastFiles* instead of a
10476         scoped_ptr).
10477
10478 2001-12-17  Juergen Vigna  <jug@sad.it>
10479
10480         * tabular.C (AppendColumn): applied John's fix
10481
10482 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * BufferView.h:
10485         * BufferView.C:
10486         * BufferView_pimpl.h:
10487         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10488
10489         * Makefile.am:
10490         * box.h: new start of class for above
10491
10492         * lyxfunc.C: ignore space-only minibuffer dispatches.
10493           Show the command name when it doesn't exist
10494
10495         * minibuffer.C: don't add empty lines to the history
10496
10497         * minibuffer.C: add a space on dropdown completion
10498
10499 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * text.C: fix line above/below drawing in insets
10502
10503 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10504
10505         * lyxlength.C (LyXLength): Initialize private variables.
10506
10507 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10508
10509         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10510         when inserting error insets.
10511
10512 2001-12-13  Juergen Vigna  <jug@sad.it>
10513
10514         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10515         actually sometimes the before-paragraph.
10516         (setUndo): don't clear the redostack if we're not actually undoing!
10517
10518 2001-12-06  Juergen Vigna  <jug@sad.it>
10519
10520         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10521         and fixed redoing of main paragraph, so we can use it now ;)
10522
10523         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10524
10525 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10528         Juergen's request
10529
10530 2001-12-13  André Pönitz <poenitz@gmx.net>
10531
10532         * undostack.[Ch]:
10533         * undo_func.C: minor cleanup
10534
10535 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10538         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10539         font in urw-fonts package which is marked as -urw-fontspecific and
10540         does not work (incidentally, changing the encoding in the
10541         fonts.dir of this package to -adobe-fontspecific fixes the
10542         problem).
10543
10544         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10545         is a crash when undoing first paragraph (Juergen, please take a
10546         look). THis does not mean the undo fix is wrong, just that it
10547         uncovers problems.
10548
10549         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10550         the (Paragraph*) version when needed instead of duplicating the
10551         code.
10552
10553         * text.C (workWidth): use Inset::parOwner to find out where the
10554         inset has been inserted. This is a huge performance gain for large
10555         documents with lots of insets. If Inset::parOwner is not set, fall
10556         back on the brute force method
10557
10558         * paragraph_pimpl.C (insertInset):
10559         * paragraph.C (Paragraph):
10560         (cutIntoMinibuffer): set parOwner of insets when
10561         inserting/removing them
10562
10563         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10564
10565 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10566
10567         * commandtags.h:
10568         * LyXAction.C:
10569         * lyx_main.C:
10570         * lyxfunc.C:
10571         * mathed/formulabase.C:
10572         * mathed/math_cursor.[Ch]:
10573         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10574
10575
10576 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * lyxlength.[Ch] (operator!=): new function
10579
10580 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * text.C (workWidth): use Inset::parOwner to find out where the
10583         inset has been inserted. This is a huge performance gain for large
10584         documents with lots of insets. If Inset::parOwner is not set, fall
10585         back on the brute force method
10586
10587         * paragraph_pimpl.C (insertInset):
10588         * paragraph.C (Paragraph):
10589         (cutIntoMinibuffer): set parOwner of insets when
10590         inserting/removing them
10591
10592         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10593
10594 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * tabular-old.C (getTokenValue):
10597         * tabular.C (getTokenValue):
10598         (write_attribute): new versions for LyXLength
10599         (everywhere): adjust the use of widths
10600
10601         * tabular.h: change the type of widths from string to LyXLength
10602
10603 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10604
10605         * paragraph.C: fixed missing line number count when exporting
10606         Environments to LaTeX file
10607
10608         * buffer.C: added informational message for checking line numbers.
10609
10610 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10613         paragraph, do the 'double space' part, but not the 'empty
10614         paragraph' one.
10615
10616         * text.C (workWidth): small optimization
10617         (getLengthMarkerHeight): use minimal size for negative lengths.
10618
10619 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10622
10623         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10624
10625 2001-12-11  André Pönitz <poenitz@gmx.net>
10626
10627         * FontLoader.C:
10628         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10629
10630 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * text2.C: keep selection on a setFont()
10633
10634 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * lyx_cb.C: another bv->text misuse, from insert label
10637
10638 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * kbsequence.h:
10641         * kbsequence.C: re-instate nmodifier mask
10642
10643 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10644
10645         * lyx_main.h: make lyxGUI private.
10646
10647 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * lyxfind.C: place the cursor correctly on failed search
10650
10651 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * text.C (getLengthMarkerHeight): for small heights, the arrows
10654         are not always on top/bottom of the text
10655         (drawLengthMarker): smaller arrows; take the left margin in
10656         account; draw also vfills.
10657         (paintFirstRow):
10658         (paintLastRow): remove special code for vfill and standard spaces,
10659         since everything is handled in drawLengthMarker now.
10660
10661 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10662
10663         * buffer.C (insertErtContents): try to handle font and language
10664         interaction a bit better.g
10665
10666         * ColorHandler.C (updateColor): change the hash to cover the whole
10667         LColor enum, ws cleanup
10668         (getGCLinepars): ditto
10669         (getGCLinepars): only lookup in the linecache once.
10670
10671 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * iterators.C (operator++): Make the iterator more robust
10674
10675         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10676         (John's patch)
10677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10678
10679 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * lyxtext.h:
10682         * text.C: better added space drawing
10683
10684 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * LyXView.C:
10687         * BufferView2.C: fix layout combo update on inset unlock
10688
10689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * Makefile.am: don't compile unused files
10692
10693 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * lyxfunc.C:
10696         * commandtags.h:
10697         * LyXAction.C: remove old LFUN_LAYOUTNO
10698
10699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * paragraph_pimpl.h:
10702         * paragraph_pimpl.C: isTextAt() doesn't need font param
10703
10704 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * lyxlex.h:
10707         * lyxlex.C: little cleanup
10708
10709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView_pimpl.C: fix insertAscii for insets
10712
10713 2001-12-05  Juergen Vigna  <jug@sad.it>
10714
10715         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10716         set the right font on the "multi" paragraph paste!
10717
10718 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * trans_decl.h:
10721         * trans_mgr.[Ch]:
10722         * trans.[Ch]:
10723         * lyxgluelength.C:
10724         * lyxlength.C: remove out-commented code.
10725
10726         * BufferView_pimpl:
10727         * CutAndPaste.C:
10728         * DepTable.C:
10729         * buffer.C:
10730         * chset.C:
10731         * lastfiles.C:
10732         * lyxlex.C:
10733         * lyxlex_pimpl.C:
10734         * lyxserver.C:
10735         * screen.C:
10736         * tabular-old.C:
10737         * tabular.C:
10738         * text.C:
10739         * trans_mgr.C:
10740         * vc-backend.C: change "while(" to "while ("
10741
10742         * lyxlength.[Ch]: add zero function to check if length is zero or
10743         not
10744         * lyxgluelength.C: use it
10745
10746 2001-12-05  Allan Rae  <rae@lyx.org>
10747
10748         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10749         Works for 2.95.3, from what I understand of Garst's reports this should
10750         work for other g++ versions.  We're screwed if the abs(int) definition
10751         changed between bugfix releases of gcc.
10752
10753 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * text.C: fix chapter label offset !
10756
10757 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * lyxtext.h:
10760         * text.C: fix hfill at end of line, clean up
10761
10762 2001-12-04  Juergen Vigna  <jug@sad.it>
10763
10764         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10765         that we force an update of the inset and it's owners if neccessary.
10766
10767 2001-12-03  Juergen Vigna  <jug@sad.it>
10768
10769         * text.C (rowLast): simplified code
10770
10771 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * lyxfunc.C: fix show options on timeout
10774
10775 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10776
10777         * screen.C (topCursorVisible): scroll half a page when the cursor
10778         reached top of bottom of screen
10779
10780 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * minibuffer.C: deactivate on loss of focus
10783
10784 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10785
10786         * vspace.[Ch] (operator!=): add operator.
10787
10788 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * BufferView_pimpl.C: refuse to open an inset when
10791         there's a selection.
10792
10793 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * BufferView_pimpl.C: allow to click on RHS of full row insets
10796
10797 2001-11-30  Juergen Vigna  <jug@sad.it>
10798
10799         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10800         insets for undo reasons.
10801
10802 2001-11-28  André Pönitz <poenitz@gmx.net>
10803
10804         * vspace.[Ch]: cosmetical changes
10805
10806 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * LyXAction.h:
10809         * LyXAction.C:
10810         * lyxfunc.h:
10811         * lyxfunc.C:
10812         * kbmap.h:
10813         * kbmap.C:
10814         * lyxrc.C:
10815         * kbsequence.h:
10816         * kbsequence.C: part re-write of old kb code
10817
10818         * Painter.C:
10819         * WorkArea.C: remove Lgb_bug_find_hack
10820
10821 2001-11-30  José Matos <jamatos@fep.up.pt>
10822
10823         * buffer.C (makeDocBookFile): add a comment to point a hack.
10824         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10825         Fixed a double write of labels.
10826
10827 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10828
10829         * LaTeX.C:
10830         * LaTeX.h Fixed bug in LaTeX class where it would not
10831         re-run latex if no depfiles were changed, but the .dvi was removed.
10832
10833 2001-11-28  André Pönitz <poenitz@gmx.net>
10834
10835         * all the files from the change on 2001/11/26:
10836         use lyx::layout_type instead of LyXTextClass::size_type
10837         use lyx::textclass_type instead of LyXTextClassList::size_type
10838
10839 2001-11-29  Juergen Vigna  <jug@sad.it>
10840
10841         * text.C: added support for paragraph::isFreeSpacing()
10842
10843         * buffer.C: same as above
10844
10845         * paragraph.h: inserted isFreeSpacing() function to enable
10846         FreeSpacing inside InsetERT.
10847
10848         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10849         of the paragraph's in the cut/copy buffer to 0!
10850
10851         * text2.C (removeRow): remove the assert as it can!
10852
10853         * lyxtext.h: added helper function firstRow returning firstrow and
10854         made firstrow private again.
10855
10856         * BufferView2.C (lockInset): don't relock if we're already locked!
10857
10858         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10859         the only paragraph.
10860         (removeRow): added Assert::(firstrow)
10861
10862         * debug.C: forgot to add INSETTEXT here.
10863
10864 2001-11-28  Juergen Vigna  <jug@sad.it>
10865
10866         * sp_spell.C (initialize): changed error text to more general
10867         spellchecker command use (not only ispell!)
10868
10869         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10870
10871         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10872
10873 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * vspace.C: initialise lyxgluelength on failure
10876
10877 2001-11-28  Allan Rae  <rae@lyx.org>
10878
10879         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10880         declaration & definition that looks like a function declaration.
10881
10882 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10883
10884         * BufferView2.C (copy):
10885         (copyEnvironment): do not clear the selection when doing a copy.
10886
10887         * text.C (paintFirstRow): compilation fix
10888
10889 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10890
10891         * tabular.C (Latex): correct line count when writing latex.
10892
10893 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * paragraph_pimpl.h:
10896         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10897           bug a bit
10898
10899 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10900
10901         * text.C:
10902         * LColor.h:
10903         * LColor.C: change vfillline->added_space
10904
10905         * text.C: add markers and text for added space
10906
10907         * vspace.C: fix comment
10908
10909 2001-11-28  André Pönitz <poenitz@gmx.net>
10910
10911         * paragraph.C: whitespace changes
10912         * all the other files from the change on 2001/11/26:
10913         change *::pos_type into lyx::pos_type
10914
10915 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10916
10917         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10918         language of the document when inserting error insets.
10919
10920 2001-11-26  André Pönitz <poenitz@gmx.net>
10921
10922         * BufferView_pimpl.[Ch]:
10923         *       CutAndPaste.C:
10924         * buffer.[Ch]:
10925         * lyxcursor.[Ch]:
10926         * lyxfind.C:
10927         * lyxfunc.C:
10928         * lyxrow.[Ch]:
10929         * paragraph.[Ch]:
10930         * paragraph_pimpl.[Ch]:
10931         * sp_spell.C:
10932         * text.C:
10933         * text2.C: reduce header dependencies, introduce type for positions
10934
10935 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * <various>: change to use Alert.h
10938
10939 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10940
10941         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10942         when encountering an unknown token.
10943         (readLyXformat2): Show an error message if there were unknown tokens.
10944
10945 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * BufferView2.C:
10948         * BufferView_pimpl.C:
10949         * buffer.C:
10950         * paragraph.h:
10951         * text.C:
10952         * text2.C: use par->isInset()
10953
10954 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * paragraph_pimpl.h:
10957         * paragraph_pimpl.C: cleanup
10958
10959 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10960
10961         * text2.C (removeRow):
10962         * text.C (setHeightOfRow): remove useless (and costly) call to
10963         getRow.
10964
10965 2001-11-20  Allan Rae  <rae@lyx.org>
10966
10967         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10968         Now need Inset*::checkInsertChar() to return true for appropriate
10969         cases so that the characters in the minibuffer will actually be
10970         inserted.
10971
10972 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * text.C: change the order of the includes.
10975         (workWidth): initialize it at once.
10976         (workWidth): make maxw unsigned
10977         (setHeightOfRow): remove unused variable (inset)
10978         (selectSelectedWord): remove unused variable (inset)
10979         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10980
10981 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10982
10983         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10984         server is not running.
10985         (openConnection):
10986         (closeConnection): add debug info when server is disabled.
10987
10988         * ColorHandler.C (getGCForeground): send debug message to GUI
10989         channel.
10990
10991         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10992
10993         * kbmap.C (bind): modify because return conventions of
10994         kb_sequence::parse have changed.
10995
10996         * kbsequence.C (parse): only ignore spaces and not any stupid
10997         control character. This avoids tests like s[i] <= ' ', which are
10998         guaranteed to fail with 8bit characters and signed chars.
10999         Change return code to string::npos when there have been no error
11000         (0 was a bad idea when error is at first character)
11001
11002 2001-11-14  José Matos  <jamatos@fep.up.pt>
11003
11004         * buffer.h:
11005         * buffer.C (simpleDocBookOnePar): removed unused argument.
11006
11007 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11010         insets which are part of a word. Paragraph::isLetter takes care of
11011         that now. Use Paragraph::isInset to identify insets.
11012         (selectSelectedWord): do not test for hyphenation break.
11013
11014         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11015         that protected spaces are considered as spaces.
11016
11017         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11018         Inset::isLetter.
11019
11020 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * lyxserver.h:
11023         * lyxserver.C: fix it. and small cleanup.
11024
11025 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11026
11027         * BufferView_pimpl.C: use inline helpers
11028
11029         * LaTeXFeatures.h:
11030         * LaTeXFeatures.C: fix typos
11031
11032         * Spacing.h:
11033         * Spacing.C: move spacing_string into class
11034
11035         * ToolbarDefaults.C: move stuff into namespace anon
11036
11037         * layout.h: update enum
11038
11039         * lyxfunc.C: use better debug
11040
11041         * minibuffer.h: fix typo
11042
11043         * debug.h:
11044         * debug.C:
11045         * WorkArea.C: add and use Debug::WORKAREA
11046
11047         * lyxtext.h:
11048         * text.C:
11049         * text2.C: code re-organisation, inline helpers
11050
11051 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11052
11053         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11054         std::vector.empty().
11055
11056 2001-11-09  Allan Rae  <rae@lyx.org>
11057
11058         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11059         '\n's after tables.  Tabular and ERT inset work now makes this no
11060         longer necessary.
11061
11062 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * minibuffer.h:
11065         * minibuffer.C: fix crash, improve drop-down completion
11066
11067 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * lyxserver.h:
11070         * lyxserver.C: invalidate fd's when doing endPipe()
11071
11072 2001-11-08  José Matos  <jamatos@fep.up.pt>
11073
11074         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11075         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11076
11077         * paragraph.h:
11078         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11079
11080 2001-11-07  José Matos  <jamatos@fep.up.pt>
11081
11082         * buffer.h:
11083         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11084         const qualifier.
11085
11086         * buffer.C (sgmlOpenTag):
11087         * buffer.C (sgmlCloseTag): removed debug info.
11088
11089         * buffer.h (sgmlOpenTag):
11090         * buffer.h (sgmlCloseTag): made public.
11091
11092 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11093
11094         * buffer.C (saveParamsAsDefaults):
11095         * lyx_cb.C (MenuLayoutSave): remove
11096
11097         * LyXAction.C (init):
11098         * commandtags.h:
11099         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11100
11101 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11102
11103         * buffer.C (setPaperStuff): removed from here...
11104
11105         * bufferparams.C (setPaperStuff): ... and moved there.
11106
11107 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * minibuffer.h:
11110         * minibuffer.C:
11111         * XFormsView.C: add support for drop-down completion
11112
11113 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11114
11115         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11116         commands.
11117
11118 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11119
11120         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11121         disabled.
11122
11123 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * lyx_main.C: change ref to known bugs
11126
11127 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11128
11129         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11130         to work around older babel problems.
11131
11132 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11133
11134         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11135
11136 2001-10-24  Juergen Vigna  <jug@sad.it>
11137
11138         * tabular-old.C (ReadOld): below variable changes reflected.
11139
11140         * tabular.[Ch]: added ltType struct for longtable header/footer
11141         defines and changed all instances where they are used. Added
11142         future support for double top/bottom rows.
11143
11144 2001-10-24  José Matos  <jamatos@fep.up.pt>
11145
11146         * buffer.h (docbookHandleCaption):
11147         * buffer.C (docbookHandleCaption): removed unused function.
11148         (makeDocBookFile): moved docbook supported version to v4.1.
11149
11150 2001-10-24  José Matos  <jamatos@fep.up.pt>
11151
11152         * tabular.h:
11153         * tabular.C (docbookRow): new function to export docbook code of a row.
11154         (DocBook): now honors the longtable flags.
11155
11156 2001-10-23  José Matos  <jamatos@fep.up.pt>
11157
11158         * LaTeXFeatures.h:
11159         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11160         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11161
11162         * buffer.C (makeLinuxDocFile):
11163         (makeDocBookFile): reworked the preamble, more clean, and with
11164         support for lyx defined entities. Changed the document declaration
11165         to be more XML friendly.
11166
11167         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11168         if we need to output XML that should be done with a filter.
11169
11170 2001-10-22  Juergen Vigna  <jug@sad.it>
11171
11172         * sp_pspell.h (class PSpell): add alive function needed in the
11173         controller to see if the spellchecker could be started.
11174
11175 2001-10-22  Juergen Vigna  <jug@sad.it>
11176
11177         * buffer.C (insertStringAsLines): modify the font for inserting
11178         chars in certain conditions by calling checkInsertChar(font).
11179
11180 2001-10-19  Juergen Vigna  <jug@sad.it>
11181
11182         * text.C (workWidth): use getRow instead of wrong algorithm.
11183         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11184
11185 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * lyxserver.h:
11188         * lyxserver.C:
11189         * lyx_main.h:
11190         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11191
11192 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * text.C (workWidth): do not search for the exact row when
11195         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11196         optimization for big documents.
11197
11198 2001-10-18  Juergen Vigna  <jug@sad.it>
11199
11200         * text.C (workWidth): new function with added Inset * parameter.
11201
11202 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11203
11204         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11205
11206         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11207         change return type of getColumnNearX.
11208
11209
11210         * text.C (changeRegionCase): use uppercase/lowercase instead of
11211         toupper/tolower.
11212         (leftMargin):
11213         (rightMargin): simplify code by factoring out the uses of
11214         textclasslist.
11215         (labelFill):
11216         (numberOfHfills):
11217         (setHeightOfRow):
11218         (appendParagraph): use Paragraph::size_type
11219
11220 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11221
11222         * vspace.C (asLatexString): add a missing break
11223
11224 2001-10-15  Herbert Voss  <voss@perce.de>
11225
11226         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11227
11228 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11231         is not available.
11232
11233 2001-10-10  André Pönitz <poenitz@gmx.net>
11234
11235         * lyxfunc.C: removed greek_kb_flag.
11236
11237 2001-10-10  Herbert Voss  <voss@perce.de>
11238
11239         * lyx_main.C: delete global string help_lyxdir.
11240
11241 2001-10-09  Herbert Voss  <voss@perce.de>
11242
11243         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11244
11245         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11246
11247         * lyx_main.C: added global string help_lyxdir.
11248
11249         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11250
11251 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11252
11253         * lyxrc.C (set_font_norm_type): support iso8859-4
11254
11255 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11256
11257         * LaTeX.C (deplog): add another regex for MikTeX
11258
11259 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11260
11261         * lyxrc.C (set_font_norm_type): support iso8859-3
11262
11263 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11264
11265         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11266
11267         * LaTeXFeatures.C: remove special case of french and index
11268
11269         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11270         before \begin{document}). This solves several incompatibilities.
11271
11272 2001-10-03  Garst Reese  <reese@isn.net>
11273
11274         * lyx_cb.C: change CheckTex error msg.
11275
11276 2001-10-03  José Matos  <jamatos@fep.up.pt>
11277
11278         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11279
11280 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * .cvsignore: update
11283
11284         * lyx_main.C (commandLineVersionInfo): use new style version info.
11285
11286         * buffer.C (writeFile):
11287         (makeLaTeXFile):
11288         (makeLinuxDocFile):
11289         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11290
11291         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11292
11293         * version.h: update to use stuff in version.C
11294
11295         * version.C.in: new file. Contains version information determined
11296         at compile time. This is a merging of version.h and
11297         version_info.h.in.
11298
11299 2001-10-03  Juergen Vigna  <jug@sad.it>
11300
11301         * BufferView_pimpl.C (update): don't change "dirty" status in
11302         updateInset call.
11303
11304 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * WorkArea.C (c-tor): re-position version string slightly.
11307
11308 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11309
11310         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11311         revert to previous code.
11312
11313         WorkArea.[Ch]: (show, destroySplash): methods removed.
11314
11315         WorkArea.C: rework code so that it's an amalgam of the codes before and
11316         after the splash screen was moved to WorkArea.
11317
11318 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * lyxrc.C (read):
11321         * vspace.C (inPixels):
11322         (lyx_advance):
11323         * kbmap.C (bind):
11324         * buffer.C (insertStringAsLines):
11325         (asciiParagraph): fix types to be large enough
11326
11327         * lyxlex_pimpl.h: change member status from short to int
11328
11329         * layout.h: fix type of endlabeltype
11330
11331         * kbmap.C (bind):
11332         * kbsequence.C (parse): change return type to string::size_type
11333
11334         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11335         variable
11336
11337         * Bullet.C (bulletSize):
11338         (bulletEntry): do not use short ints as parameters
11339
11340         * BufferView2.C (insertLyXFile): change a char to an int.
11341
11342         * WorkArea.C (WorkArea): remove unneeded floats in computation
11343
11344 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11345
11346         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11347
11348         * paragraph.C (asString): Do not ignore newline/hfill chars when
11349         copying to the clipboard.
11350
11351 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11354         after a multi-line inset.
11355
11356 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * paragraph.C (validate): Set NeedLyXFootnoteCode
11359
11360 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11361
11362         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11363         and decrease-error to decrease.
11364
11365 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11366
11367         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11368         it more readable (should be equivalent)
11369
11370 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11371
11372         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11373
11374 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11377         of a cursor (row, etc.) after a character has been deleted
11378         (deleteEmptyParagraphMechanism): call the method above on _all_
11379         cursors held by the LyXText when a double space has been
11380         detected/deleted.
11381
11382 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11383
11384         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11385         pixmap.
11386         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11387
11388         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11389         background. Use greyOut() and the new show() methods to toggle between
11390         the foreground and background. Add code to remove the splash after
11391         its initial showing.
11392
11393         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11394         (create_forms): no longer call Dialogs::showSplash.
11395
11396 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * .cvsignore: add version_info.h
11399
11400 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * version_info.h.in: new file
11403
11404         * Makefile.am: add version_info.h.in
11405
11406         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11407         version_info.h instead of VERSION_INFO
11408
11409 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11412         The ERT inset now returns string().
11413
11414 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11415
11416         * lyxtext.h, text.C (selectNextWord): renamed as
11417         selectNextWordToSpellcheck.
11418
11419         * text.C (selectNextWordToSpellcheck): Modified to not select
11420         words inside an ERT inset.
11421
11422 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * lyx_cb.C (MenuLayoutSave): change a bit the question
11425
11426         * sp_base.h: include <sys/types.h>
11427
11428 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11429
11430         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11431
11432 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11433
11434         * several files: fix typos in user-visible strings
11435
11436 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * text2.C (pasteSelection): do not set the selection, since it
11439         will be cleared later. Actually, the intent was to fix the way the
11440         selection was set, but I figured rmoving the code was just as good.
11441
11442 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11443
11444         * FontLoader.C (available): Check if font is available without
11445         loading the font.
11446
11447 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11448
11449         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11450
11451 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11452
11453         * lyxrc.[Ch]: added display_graphics variable and associated code.
11454
11455 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11456
11457         * bufferparams.C (hasClassDefaults): new method. Returns true if
11458         the buffer parameters correspond to known class defaults
11459
11460 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * XFormsView.C (show): set minimum size to the main window.
11463
11464 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * text2.C (copySelection):
11467         (cutSelection):
11468         * lyxfind.C (LyXReplace):
11469         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11470         LyXText::selectionAsString.
11471
11472         * paragraph.C (asString): add "label" argument to the second form
11473
11474         * text2.C (selectionAsString): add "label" argument and pass it to
11475         Paragraph::asString.
11476
11477 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * lyx_main.C (commandLineHelp): remove version information
11480
11481 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11482
11483         * lyx_main.C: add -version commandline option
11484
11485 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * paragraph.h: make the optional constructor arg required instead.
11488         some modifications to other files because of this.
11489
11490         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11491
11492         * lyxserver.C (C_LyXComm_callback): make it static
11493
11494         * lyx_main.C (error_handler): make it static
11495
11496         * lyx_gui.C (LyX_XErrHandler): make it static
11497
11498         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11499
11500         * WorkArea.C: make the extern "C" methods static.
11501
11502         * Makefile.am (lyx_LDADD): simplify
11503
11504 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11507         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11508
11509         * LyXAction.C (init):
11510         * lyxfunc.C (dispatch): associated code removal.
11511
11512 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11513
11514         * lyxfont.h (isSymbolFont): shut off warning
11515
11516         * text.C (setHeightOfRow):
11517         (getVisibleRow): fix crash with empty paragraphs which have a
11518         bottom line
11519
11520 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11521
11522         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11523         code.
11524
11525 2001-09-04  José Matos  <jamatos@fep.up.pt>
11526         * buffer.C
11527         * buffer.h
11528         * tabular.C (docbook): rename docBook method to docbook.
11529
11530 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11531
11532         * Makefile.am: add dependencies to main.o.
11533
11534 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * FontLoader.C (available): Return false if !lyxrc.use_gui
11537
11538 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11539
11540         * FontInfo.C (query):
11541         * converter.C (view):
11542         * importer.C (Import):
11543         * exporter.C (Export): Can not -> cannot.
11544
11545 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * BufferView_pimpl.C: allow to create index inset even if
11548           string is empty
11549
11550 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11551
11552         * buffer.C (getLists): replace boost::tie code with an explicit pair
11553         as boost::tie can break some compilers.
11554
11555         * iterators.h: Added a std:: declaration to the return type of
11556         ParIterator::size.
11557
11558 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11561           case.
11562
11563 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11564
11565         * iterators.[Ch]: New files. Provide paragraph iterators.
11566
11567         * buffer.C (changeLanguage): Use paragraph iterators.
11568         (isMultiLingual): ditto
11569
11570         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11571
11572 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * FontLoader.C: Support for cmr font.
11575
11576 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11577
11578         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11579         (available): New method.
11580
11581         * FontInfo.C (getFontname): Use scalable fonts even when
11582         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11583         found.
11584
11585 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11586
11587         * converter.C (Formats::view): reverted! Incorrect fix.
11588
11589 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * converter.C (Formats::view): only output the -paper option
11592         if the dvi viewer is xdvi, thereby fixing bug #233429.
11593
11594 2001-08-23  Herbert Voss  <voss@perce>
11595
11596         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11597
11598 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * Spacing.h (Spacing): Set space to Default on in the default
11601         constructor.
11602
11603 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * vc-backend.h (RCS::versionString): add RCS to version
11606         (CVS::versionString): add CVS to version
11607
11608         * vc-backend.C (scanMaster): do not add CVS to version.
11609         (scanMaster): do not add RCS to version
11610
11611         * lyxvc.C (versionString): new method
11612
11613         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11614
11615 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * Spacing.C (set): initialize fval
11618
11619 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11620
11621         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11622         " or \.
11623
11624 2001-08-16  Juergen Vigna  <jug@sad.it>
11625
11626         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11627
11628 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * BufferView_pimpl.C:
11631         * figureForm.C:
11632         * lyxtext.h:
11633         * text2.C: setParagraph takes linespacing now
11634
11635 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * LyxAction.C: add internal LFUN_CITATION_INSERT
11638
11639         * LyXView.C: actually apply fix
11640
11641         * bufferlist.C: fix open non-existent file
11642
11643         * lyxfind.C: fix indentation
11644
11645         * lyxfunc.C: remove unneeded assert, fix typo
11646
11647 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * MenuBackend.C: use "Floatname List"
11650
11651 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11654         when converting LaTeX layout to insetERT.
11655         Generate a non-collapsed float when reading old float
11656
11657 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11658
11659         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11660         ERT insets.
11661
11662 2001-08-13  Juergen Vigna  <jug@sad.it>
11663
11664         * text.C (fill): return 0 instead of 20 as this seems to be the more
11665         correct value.
11666
11667 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11668
11669         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11670         lyxrc.font_norm.
11671
11672 2001-08-13  Juergen Vigna  <jug@sad.it>
11673
11674         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11675         casesensitive off.
11676         (SearchBackward): comment out the unlocking of the inset_owner this
11677         should not be needed!
11678
11679 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11680
11681         * Many files: Remove inherit_language, and add latex_language
11682
11683         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11684         collapsible insets.
11685
11686 2001-08-10  Juergen Vigna  <jug@sad.it>
11687
11688         * text.C (prepareToPrint): fixed hfill-width in draw!
11689
11690         * BufferView2.C (selectLastWord): save the selection cursor as this
11691         now is cleared in the function LyXText::clearSelection!
11692
11693 2001-08-08  Juergen Vigna  <jug@sad.it>
11694
11695         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11696         BACKSPACE type functions.
11697
11698         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11699         is only cutted from the document but not put in the cut-buffer, where
11700         still the old stuff should be.
11701
11702         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11703
11704         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11705
11706         * tabular.C (SetWidthOfCell): fixed special case where the width
11707         was not updated!
11708         (LeftLine): handle '|' in align_special.
11709         (RightLine): ditto
11710         (LeftAlreadyDrawed): ditto
11711         (SetWidthOfCell): ditto
11712
11713 2001-08-07  Juergen Vigna  <jug@sad.it>
11714
11715         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11716
11717 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11720         * lyxlex.[hC]: ditto
11721
11722 2001-08-06  Juergen Vigna  <jug@sad.it>
11723
11724         * text.C (getVisibleRow): fix up row clearing a bit.
11725
11726 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * minibuffer.C: make sure the X server sees the changes in the input.
11729
11730 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * paragraph.C (getFont): split into...
11733         (getLabelFont): this
11734         (getLayoutFont): and this
11735         * paragraph_pimpl.C (realizeFont): calling this
11736
11737         * text2.C (getFont): split into...
11738         (getLayoutFont): this
11739         (getLabelFont): and this
11740         (realizeFont): all three calling this
11741
11742         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11743         files where used.
11744
11745 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11746
11747         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11748
11749 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11750
11751         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11752         layouts from the Quote inset insertion.
11753
11754 2001-08-03  Juergen Vigna  <jug@sad.it>
11755
11756         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11757
11758         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11759         only if status not is already CHANGED_IN_DRAW (second level).
11760
11761         * text.C (draw): don't set the need_break_row when inside an
11762         InsetText LyXText.
11763
11764 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11765
11766         * buffer.C (parseSingleLyXformat2Token): handle more latex
11767         conversion cases.
11768
11769         * bufferview_funcs.[hC]: change function names to
11770         begin with small char, adjust other files.
11771
11772 2001-08-02  André Pönitz <poenitz@gmx.net>
11773
11774         * lyxfunc.C:
11775         BufferView_pimpl.C: remove broken special code for math-greek
11776
11777 2001-08-02  Juergen Vigna  <jug@sad.it>
11778
11779         * BufferView_pimpl.C (update): redone this function so that we
11780         update the text again if there was a CHANGE_IN_DRAW.
11781
11782         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11783         (drawFromTo): added a new internal bool which is used by draw() and
11784         redraw() function.
11785         (general): some cursor drawing problems fixed.
11786
11787 2001-08-01  Juergen Vigna  <jug@sad.it>
11788
11789         * lyxfind.C (LyXFind): fixed
11790         (SearchForward): ditto
11791         (SearchBackward): ditto
11792
11793         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11794         spurius drawing of the cursor in the main area.
11795
11796         * text2.C (status): small fix which could lead to a segfault!
11797         (clearSelection): remove unneeded BufferView param.
11798
11799 2001-08-01  André Pönitz <poenitz@gmx.net>
11800
11801         * lyxfunc.C: small change due to changed mathed interface
11802
11803 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11804
11805         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11806
11807 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyxfunc.c: fail gracefully if file doesn't exist
11810
11811         * LyXSendto.C:
11812         * buffer.C:
11813         * lyxfunc.C:
11814         * BufferView_pimpl.C: IsDirWriteable() proto changed
11815
11816         * LyXView.C: fix updateWindowTitle() to store the last title
11817
11818 2001-07-31  Juergen Vigna  <jug@sad.it>
11819
11820         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11821         the font (wrong since using of Paragraph::highestFontInRange).
11822
11823         * paragraph.C (highestFontInRange): added a default_size parameter.
11824
11825         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11826         (setHeightOfRow): reformat
11827
11828 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * converter.[hC] + affected files: move to (inital-char)lowercase
11831         function names.
11832
11833         * ParagraphParameters.C (ParagraphParameters): remove commented code
11834
11835         * PainterBase.[Ch]: remove commented code
11836
11837         * LaTeXFeatures.h: add "bool floats" for float.sty
11838
11839         * LaTeXFeatures.C (LaTeXFeatures): init floats
11840         (require): handle float
11841         (getPackages): do it with floats
11842
11843 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * BufferView_pimpl.C (Dispatch): improve handling of
11846         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11847
11848         * commandtags.h: #include lyxfont.h here temporarily to avoid
11849         keybinding bug.
11850
11851         * bufferlist.h: include LString.h here.
11852
11853 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * text2.C (getStringToIndex): new method.
11856
11857 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11858
11859         * *: Reduced header file dependencies all over.
11860
11861 2001-07-30  Baruch Even  <baruch@lyx.org>
11862
11863         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11864
11865 2001-07-29  Baruch Even  <baruch@lyx.org>
11866
11867         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11868
11869 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * ParameterStruct.h (endif): add a default constructor to make
11872         sure that all variables is initialized.
11873
11874         * ParagraphParameters.C (ParagraphParameters): adjust
11875
11876 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11879         index; also, check that there is something to index, and that it
11880         does not span over several paragraphs.
11881         (doubleClick): use WHOLE_WORD_STRICT for double click.
11882
11883         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11884
11885         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11886         scheme.
11887
11888 2001-07-26  Baruch Even  <baruch@lyx.org>
11889
11890         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11891         an InsetFig figure, backwards compatible reading of old figure code.
11892
11893 2001-07-27  Juergen Vigna  <jug@sad.it>
11894
11895         * text2.C: font.realize function adaption.
11896
11897         * text.C (draw): add a warnings lyxerr text if needed.
11898
11899         * layout.C: font.realize function adaption.
11900
11901         * language.C: add inherit_language and implement it's handlings
11902
11903         * bufferview_funcs.C (StyleReset): remove language parameter from
11904         font creation (should be language_inherit now).
11905
11906         * bufferparams.C (writeFile): handle ignore_language.
11907
11908         * paragraph.C (getFontSettings): the language has to be resolved
11909         otherwise we have problems in LyXFont!
11910
11911         * lyxfont.C (lyxWriteChanges): added document_language parameter
11912         (update): removed unneeded language parameter
11913
11914         * paragraph.C (validate): fixed wrong output of color-package when
11915         using interface colors for certain fonts in certain environments,
11916         which should not seen as that on the final output.
11917
11918 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * BufferView_pimpl.C:
11921         * Thesaurus.h:
11922         * Thesaurus.C:
11923         * Makefile.am:
11924         * commandtags.h:
11925         * LyXAction.C: add thesaurus support
11926
11927         * lyxfind.h:
11928         * lyxfind.C: add "once" parameter, for thesaurus, to not
11929           move to the next match
11930
11931 2001-07-26  Juergen Vigna  <jug@sad.it>
11932
11933         * lyxfont.C (realize): honor ignore_language too!
11934         (resolved): ditto.
11935
11936         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11937
11938         * text.C (draw): one place more for ignore_language to not draw
11939         itself!
11940
11941 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11942
11943         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11944
11945 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11948         the minipage conversion problem.
11949
11950 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11953         insert an inset.
11954
11955 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * BufferView.h: don't forward declare WorkArea
11958
11959         * BufferView.C: don't include WorkArea.h
11960
11961 2001-07-25  André Pönitz <poenitz@gmx.net>
11962
11963         * commandtags.h:
11964         * LyXAction.C:
11965         * lyxfunc.C:  new LFUN 'math-space'
11966
11967         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11968
11969 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * text2.C (toggleInset): call open/close
11972
11973 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * lyxfunc.C (dispatch): add debug for the disabled case
11976
11977         * font.C (buttonText): make similar to rectText
11978
11979         * buffer.C (readInset): comment out parsing of insetlist and
11980         insttheorem
11981
11982         * PainterBase.C (rectText): small correction
11983
11984         * BufferView_pimpl.C: comment out insettheorem and insetlist
11985         * LyXAction.C: ditto
11986         * commandtags.h: ditto
11987
11988 2001-07-24  Juergen Vigna  <jug@sad.it>
11989
11990         * text.C (draw): honor the ignore_language.
11991
11992         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11993
11994 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11997         char inset.
11998
11999 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12000
12001         * lyxtext.h: remove unused (and unimplemented) methods
12002
12003 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12004
12005         * text.C (getVisibleRow): honor background color
12006
12007         * PainterBase.h:
12008         * Painter.h: remove default color argument for fillRectangle
12009
12010         * text.C (backgroundColor): new method
12011
12012 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * text.C (getVisibleRow): adjust
12015
12016         * font.[Ch] (rectText): new method, metrics
12017         (buttonText): new method, metrics
12018
12019         * PainterBase.[hC]: make rectText and buttonText always draw and take
12020         fewer paramteres.
12021
12022 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12023
12024         * ToolbarDefaults.C (read):
12025         * MenuBackend.C (read): allow escaping in all strings
12026
12027         * BufferView_pimpl.C (insertAndEditInset): new method.
12028         (Dispatch): use insertAndEditInset whenever appropriate.
12029
12030         * BufferView_pimpl.C (insertNote): removed
12031
12032         * BufferView_pimpl.C (smartQuote): new method, moved from
12033         BufferView; if an insetquote cannot be inserted, insert a '"'
12034         character instead.
12035
12036         * BufferView2.C: remove insertCorrectQuote();
12037
12038         * lyxfunc.C (getStatus): Add support for all remaingin
12039         inset-insert lfuns.
12040
12041         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12042
12043         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12044         command (necessary to pass " as parameter of self-insert.
12045
12046         * text.C (selectWordWhenUnderCursor):
12047         (selectWord): add word_location parameter
12048         (selectWordWhenUnderCursor): same + remove special code for word
12049         boundary.
12050         (selectNextWord): use kind() to guess type of insetspecialchar,
12051         not latex().
12052
12053         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12054         (insertErtContents): create ert insets as collapsed.
12055         (readInset): better compatibility code for Info inset.
12056
12057 2001-07-20  Juergen Vigna  <jug@sad.it>
12058
12059         * lyxfunc.C (dispatch): use always LyXFind now!
12060
12061         * text2.C (init): add a reinit flag so that the LyXText can be
12062         reinited instead of deleted and reallocated (used in InsetText).
12063
12064         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12065
12066         * text.C: ditto
12067
12068         * text2.C: ditto
12069
12070 2001-07-18  Juergen Vigna  <jug@sad.it>
12071
12072         * text.C (selectNextWord): handle insets inside inset by calling
12073         always the bv->text functions so that we can go up the_locking_inset!
12074
12075         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12076         in strange locations when inside an inset!
12077
12078         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12079         handling to include insets.
12080
12081         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12082
12083 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * LyXAction.C (init):
12086         * commandtags.h:
12087         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12088         LIGATURE_BREAK, since the name is so stupid.
12089
12090 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12091
12092         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12093         InsetInfos.
12094
12095         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12096
12097         * sp_form.[Ch]: remove.
12098
12099         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12100
12101         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12102         InsetInfo.
12103
12104         * src/buffer.C (readInset): ditto.
12105
12106 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12107
12108         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12109         menuSeparator(), endOfSentenceDot(), ldots() and
12110         hyphenationPoint(), which are therefore removed.
12111         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12112
12113         * LyXAction.C (init):
12114         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12115
12116         * paragraph.C (getWord): removed.
12117
12118         * BufferView_pimpl.C (Dispatch): use last word or selection for
12119         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12120
12121         * lyx_main.C (queryUserLyXDir): do not ask before creating
12122         user_dir, except if it has been named explicitely.
12123
12124 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12125
12126         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12127         a document of zero size.
12128
12129 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12130
12131         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12132         approriately in the c-tor and in require().
12133         (getPackages): output the appropriate LaTeX for natbib support.
12134
12135         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12136         variables "use_natbib" and "use_numerical_citations" when reading the
12137         LyX file.
12138         (readInset): read the various natbib cite commands.
12139         (validate): white-space change.
12140
12141         * bufferparams.[Ch]: new variables "bool use_natbib" and
12142         "bool use_numerical_citations".
12143         (writeFile): output them in the LyX file.
12144
12145 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12146
12147         * lyxfunc.C (getStatus): add support for all the inset insertion
12148         commands.
12149
12150         * text2.C (insertInset):
12151         * paragraph.C (insetAllowed):
12152         * BufferView_pimpl.C (insertInset): update to take in account the
12153         renaming of insertInsetAllowed
12154
12155         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12156
12157         * text2.C (getInset): new method. returns inset at cursor position.
12158
12159         * BufferView_pimpl.C (Dispatch): changes because of this.
12160
12161         * LyXAction.C (init): rename open-stuff to inset-toggle.
12162
12163         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12164
12165         * text2.C (toggleInset): renamed from openStuff; use
12166         Inset::open().
12167
12168 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12169
12170         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12171
12172         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12173
12174 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12175
12176         * buffer.C (readLyXformat2): Add filename to the error dialog
12177
12178 2001-07-18  Juergen Vigna  <jug@sad.it>
12179
12180         * tabular.C (GetCellNumber): put an assert here instead of the check!
12181
12182 2001-07-17  Juergen Vigna  <jug@sad.it>
12183
12184         * BufferView_pimpl.C (toggleSelection): adapted too.
12185
12186         * text.C (selectNextWord): adapted for use with insets.
12187         (selectSelectedWord): ditto
12188
12189 2001-07-17  Juergen Vigna  <jug@sad.it>
12190
12191         * sp_spell.C (PSpell): fix initialitation order.
12192
12193 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * paragraph.C: spacing
12196
12197 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12198
12199         * sp_spell.C: repair language selection for pspell
12200
12201 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * lyxfunc.h: change more methods to begin with lower char.
12204
12205 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12206
12207         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12208         for unknown layouts.
12209
12210 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * buffer.C (readLyXformat2): Generate an error dialog if there are
12213         unknown layouts.
12214
12215 2001-07-16  Juergen Vigna  <jug@sad.it>
12216
12217         * sp_spell.C: always compile ISpell part.
12218
12219         * lyxrc.C: added use_pspell entry and it's handling.
12220
12221 2001-07-13  Juergen Vigna  <jug@sad.it>
12222
12223         * sp_spell.C: removed double includes.
12224
12225 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         Consistent use of Lsstream.h:
12228         * Lsstream.h: added using std::stringstream for consistencies sake.
12229
12230         * buffer.C: removed using std::stringstream
12231
12232         * lyxfont.C (stateText):
12233         * paragraph.C (asString):
12234         * text.C (selectNextWord, selectSelectedWord):
12235         * text2.C (setCounter):
12236         * vspace.C (asString, asLatexString):
12237         std::ostringstream -> ostringstream.
12238
12239 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12240
12241         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12242         * commandtags.h: add LFUN_HELP_ABOUTLYX
12243         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12244
12245 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12246
12247         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12248         cursorToggle()
12249         * lyx_gui_misc.C: remove spellchecker
12250         * lyxfunc.C: showSpellchecker
12251         * sp_base.h: added
12252         * sp_ispell.h: added
12253         * sp_pspell.h: added
12254         * sp_spell.C: added
12255         * sp_form.[Ch]: removed
12256         * spellchecker.[Ch]: removed
12257
12258 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12259
12260         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12261         is set.
12262         (simpleTeXSpecialChars): Simply print the input character without
12263         any special translation if pass_thru is set.
12264
12265         * layout.h: Added bool pass_thru to layout class for being able to
12266         implement pass through of a paragraph for Literate Programming.
12267
12268         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12269         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12270         * layout.C (Read): add "passthru" to list of layout tags and add
12271         code to set the pass_thru boolean when it is read.
12272
12273 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * trans_decl.h: remove allowed from KmodInfo
12276
12277         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12278         remove allowed code
12279         (Load): adjust
12280
12281         * paragraph_pimpl.C (erase): use boost::prior
12282
12283         * Painter.C (text): use data() instead of c_str() when length is
12284         also provided.
12285         * WorkArea.C (putClipboard): ditto
12286         * font.h (width): ditto
12287
12288         * BufferView2.C: use it-> instead of (*it). for iterators
12289         * texrow.C: ditto
12290         * paragraph_pimpl.C: ditto
12291         * paragraph.C: ditto
12292         * minibuffer.C: ditto
12293         * language.C: ditto
12294         * kbmap.C: ditto
12295         * encoding.C: ditto
12296         * counters.C: ditto
12297         * converter.C: ditto
12298         * chset.C: ditto
12299         * Variables.C: ditto
12300         * TextCache.C: ditto
12301         * MenuBackend.C: ditto
12302         * LyXAction.C: ditto
12303         * LColor.C: ditto
12304         * FloatList.C: ditto
12305         * DepTable.C: ditto
12306         * ColorHandler.C (LyXColorHandler): ditto
12307
12308 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12311
12312         * text2.C (openStuff): reintroduce this method (which had been
12313         nuked in NEW_INSETS frenzy).
12314
12315         * lyxfunc.C (Dispatch): when an action has not been handled, use
12316         its name in the error message, not its number.
12317
12318         * paragraph.C (inInset): change method name to begin with lowercase.
12319
12320         * undo_funcs.C:
12321         * text2.C: updates because of this.
12322
12323 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * ToolbarDefaults.C (add): add spaces in error message
12326
12327 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12330         (readLyXformat2): rename return_par to first_par, use lyxlex's
12331         pushToken and remove the manual push handling.
12332         (parseSingleLyXformat2Token): add another ert comp. variable:
12333         in_tabular, rename return_par to first_par. handle newlines better
12334
12335 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12336
12337         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12338
12339 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * text2.C (getParFromID): removed
12342
12343         * buffer.C (getParFromID): new method moved form lyxtext.
12344         * BufferView2.C (insertErrors): adjust
12345         (setCursorFromRow): adjust
12346         * BufferView_pimpl.C (restorePosition): adjust
12347         * lyxfunc.C (Dispatch): adjust
12348         * undo_funcs.C (textUndo): adjust
12349         (textRedo): adjust
12350         (textHandleUndo): adjust
12351         (textHandleUndo): adjust
12352
12353 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * buffer.C: up' the LYX_FORMAT
12356
12357         * lyxfont.h: turn NO_LATEX on as default
12358
12359         * buffer.C (insertErtContents): new methods of tex style compability.
12360         (parseSingleLyXformat2Token): use it several places.
12361         * tabular.C (OldFormatRead): and here
12362
12363 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12364
12365         * text2.C: remove some commented code.
12366         reindent file.
12367
12368         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12369         * trans.C: changes because of the above.
12370
12371 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12372
12373         * text2.C (setCounter): Fix counters bug with bibliography layout.
12374
12375 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12378         own member functions
12379         (simpleTeXSpecialChars): ditto
12380
12381 2001-07-06  Juergen Vigna  <jug@sad.it>
12382
12383         * a lot of files: changed the access to LyXText::status and the
12384         call of undo-functions.
12385
12386         * undo.[Ch]: added a inset_id to the undo informations.
12387
12388         * undo_funcs.[Ch]: added and moved here all undo functions.
12389
12390         * lyxtext.h: give the status enum a weight, made status_ a private
12391         variable and made accessor functions for it, removed the whole bunch
12392         of undo-functions as they are now in their own file, make some
12393         functions publically available. Added function ownerParagraph with
12394         int parameter.
12395
12396         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12397         made InInset() a const function, added getParFromID() function.
12398
12399         * buffer.[Ch]: added const version for inset_iterator functions,
12400         added getInsetFromID() function.
12401
12402         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12403         changed undo functions for new version.
12404
12405 2001-07-05  Juergen Vigna  <jug@sad.it>
12406
12407         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12408         unknow mechanism does not call the proper constructor but only this
12409         one also if I request the other!?
12410
12411 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12412
12413         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12414
12415         * text2.C (LyXText): use initialization lists.
12416
12417         * lyxtext.h (Selection): initialize set_ and mark_
12418         (init): remove method
12419
12420 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12421
12422         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12423
12424 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * screen.[Ch]: change method names to begin with lowercase
12427
12428         * BufferView_pimpl.C (updateScrollbar): simplify further and
12429         hopefully make it a bit faster.
12430
12431 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12432
12433         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12434         calling directly xforms functions.
12435
12436         * Painter.C (Painter):
12437         * lyx_cb.C (MenuWrite):
12438         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12439         fl_display.
12440
12441         * lyx_gui.C: remove bogus guiruntime extern declaration.
12442
12443 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12446         in NEW_INSETS
12447         (redoDrawingOfParagraph): ditto
12448         (redoParagraphs): ditto
12449         (cutSelection): don't create a object for CutAndPaste use the
12450         static method directly
12451         (pasteSelection): ditto
12452
12453         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12454         LyXview (+ rename)
12455
12456 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * modifications to some other files because of this.
12459
12460         * Makefile.am (lyx_SOURCES): add XFormsView
12461
12462         * XFormsView.[Ch]: new files
12463
12464         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12465         the main window. Move the gui dependent stuff to XFormsView
12466
12467 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12468
12469         * tabular.C (GetCellInset): update cur_cell also in the row/col
12470         version of this function.
12471
12472         * lyxfunc.C: no need to include figure_form.h here.
12473
12474         * FontLoader.h:
12475         * lyxfunc.h:
12476         * lyxscreen.h:
12477         * text2.C:
12478         * lyxvc.C: no need to include forms.h here.
12479
12480 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12483
12484         * lyxfunc.C (Dispatch):
12485         * Spacing.C (set):
12486         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12487         constructor argument.
12488
12489 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * paragraph.C (Paragraph): dont't clear, and just set layout.
12492         (makeSameLayout): use params's copy contructor.
12493
12494         * ParagraphParameters.[Ch] (makeSame): delete method
12495
12496 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * Variables.[Ch]: fix indentation, rename set to isSet
12499
12500 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * lyxfunc.C (Dispatch): fix typo
12503
12504 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12507         upper_bound.
12508
12509         * bufferlist.C: include assert.h for emergencyWrite().
12510
12511 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12514           give up at last (bug #425202) !
12515
12516 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyx_gui_misc.C:
12519         * sp_form.h:
12520         * sp_form.C:
12521         * spellchecker.h:
12522         * spellchecker.C: strip spellchecker options and bring up
12523           preferences tab instead
12524
12525 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12528         the istringstream constructor
12529
12530 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * paragraph.C (getLayout): fix return value
12533
12534         * paragraph.h: do not declare getLayout as inline.
12535
12536         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12537
12538 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * lyxcursor.h (operator<): new func
12541         (operator>): new func
12542         (operator>=): new func
12543         (operator<=): new func
12544
12545         * text.C (changeCase): use selection.start and selection.end
12546         (changeRegionCase): require from to be <= to. Require par to be a
12547         valid paragraph.
12548
12549         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12550
12551 2001-06-27  Juergen Vigna  <jug@sad.it>
12552
12553         * text.C (cursorLeftOneWord): changed to return the cursor and added
12554         overlay with BufferView * parameter which calls this one.
12555         (getWord): added
12556         (selectWord): use new getWord function.
12557         (changeCase): renamed from changeWordCase as and extended to work
12558         also on selections.
12559
12560         * lyxtext.h: added enum word_location
12561
12562         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12563         changeCase as this operates now also on selections.
12564
12565 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12566
12567         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12568
12569         * many files: send debug output to Debug::INFO instead of
12570         Debug::ANY.
12571
12572         * converter.C (View):
12573         (Convert):
12574         (Move): send debug output to Debug::FILES instead of console.
12575
12576 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12577
12578         * lyxfunc.C (getStatus): use func_status
12579
12580         * func_status.h: new header, describing the results of
12581         LyXFunc::getStatus;
12582
12583         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12584         LFUN_MATH_HALIGN.
12585
12586 2001-06-25  The LyX Project  <jug@sad.it>
12587
12588         * buffer.C (sgmlOpenTag):
12589         (sgmlCloseTag):
12590         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12591
12592 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * text2.C: remove some dead code
12595
12596         * tabular.C (GetCellInset): store the last cell checked (gotten)
12597
12598         * tabular.h: add the helper for the speedup
12599
12600         * lyxtext.h: remove some dead code
12601
12602 2001-06-26  The LyX Project  <Asger>
12603
12604         * paragraph.C: Change export to LaTeX of alignment to
12605         \begin{center} and family for better roundtrip work with reLyX.
12606
12607         * Tune the math drawing a bit.
12608
12609 2001-06-25  The LyX Project  <Asger>
12610
12611         * LColor.C (LColor): New color for math background. New color
12612         for buttons.
12613
12614 2001-06-25  The LyX Project  <jug@sad.it>
12615
12616         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12617
12618         * lyxfunc.C (Open):
12619         * bufferlist.C (newFile): do not restrict to files ending with
12620         .lyx
12621
12622         * BufferView_pimpl.C (MenuInsertLyXFile):
12623
12624 2001-06-24  The LyX Project  <jug@sad.it>
12625
12626         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12627         of compare_no_case
12628
12629 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * lyxtext.h: rename most methods to begin with a small char.
12632         Lots of changes because of this.
12633
12634         * paragraph.C (Paragraph): do not call fitToSize
12635         (erase): call Pimpl::erase
12636         (insertChar): call Pimpl::insertChar
12637         (insertInset): call Pipl::insertInset
12638         (breakParagraph): do not call fitToSize
12639         (breakParagraphConservative): do not call fitToSize
12640         (fitToSize): remove method
12641
12642         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12643
12644 2001-06-24  The LyX Project  <Asger>
12645
12646         * Fix Qt compilation^2
12647
12648 2001-06-24  The LyX Project  <jug@sad.it>
12649
12650         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12651         depthHook(getDepth()-1).
12652
12653         * paragraph.h:
12654         * ParagraphParameters.h:
12655         * ParameterStruct.h: change type of depth to unsigned int ==
12656         depth_type. Many adaptations to other files before of that.
12657
12658 2001-06-24  The LyX Project  <Asger>
12659
12660         * Fix Qt compilation.
12661
12662 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * paragraph.h: renamed several methods to begin with small letter.
12665         several changes to many parts of the code because of this.
12666
12667 2001-06-23  The LyX Project  <jug@sad.it>
12668
12669         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12670         rewritten to discard all double spaces when KeepEmpty is off
12671         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12672         to only handle newlines but not fiddle with spaces and friends.
12673
12674         * lyxfunc.C (MenuNew): when doing 'new from template', use
12675         template_path as default directory
12676
12677 2001-06-23  The LyX Project  <Asger>
12678
12679         * Clean-up of header file includes all over
12680         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12681
12682 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * paragraph.h: renamed from lyxparagraph.h
12685
12686 2001-06-23  Asger  <lyx@violet.home.sad.it>
12687
12688         * Buffer.h: Removed Buffer::resize
12689         * BufferList.h: Removed BufferList::resize
12690         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12691         the document lazily when we change the width, or the font settings.
12692
12693 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12696
12697 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * buffer.h: remove out of date comment
12700
12701 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * lyxscreen.h:
12704         * screen.C: fix "theoretical" GC leak
12705
12706 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * LaTeX.C (scanAuxFile):
12709         (deplog): remove trailing \r when reading stream (useful under
12710         win32)
12711
12712 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12715         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12716         and BufferView::theLockingInset(Inset*), so should use them and not
12717         access bv_->text->the_locking_inset directly.
12718
12719         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12720
12721 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * Makefile.am:
12724         * tex-defs.h: remove old unused file
12725
12726 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * BufferView_pimpl.C: fix typo, remove minibuffer message
12729           when buffer has loaded
12730
12731 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * lyxfunc.C (Dispatch): use stringstream
12734         (MenuNew): use stringstream
12735         (Open): use stringstream
12736
12737         * importer.C (Import): use stringstream
12738
12739         * bufferview_funcs.C (CurrentState): use stringstream
12740
12741         * LaTeX.C (run): use stringstream
12742
12743         * BufferView_pimpl.C (savePosition): use stringstream
12744         (restorePosition): use stringstream
12745         (MenuInsertLyXFile): use stringstream
12746
12747 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * BufferView.C:
12750         * Bullet.C:
12751         * ColorHandler.C:
12752         * FontInfo.C:
12753         * FontLoader.C:
12754         * LColor.C:
12755         * LaTeXFeatures.C:
12756         * Painter.C:
12757         * gettext.C:
12758         * lyx_gui_misc.C:
12759         * lyxserver.C:
12760         * vspace.C: removed // -*- C++ -*- as first line.
12761
12762         * lyxfind.h:
12763         * version.h: added // -*- C++ -*- as first line.
12764
12765 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12768
12769         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12770         of string
12771
12772 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12775         of floats.
12776
12777 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12778
12779         * gettext.C: include LString.h even when --disable-nls is on.
12780
12781 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * converter.h (Get): changed argument type from int to
12784         FormatList::size_type to avoid unnecessary conversion.
12785
12786         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12787         before using it.
12788
12789 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12790
12791         * gettext.h: include LString.h even when --disable-nls is on.
12792
12793 2001-06-07  Juergen Vigna  <jug@sad.it>
12794
12795         * text.C (BreakAgain): subst spaces with tabs.
12796
12797         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12798         (resizeInsetsLyXText): set force on resizeLyXText.
12799
12800 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12801
12802         * gettext.h (gettext_init):
12803         (locale_init): use a real definition instead of a macro
12804
12805 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * Bufferview_pimpl.C:
12808         * LColor.h:
12809         * LColor.C: further lcolor tidies
12810
12811 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * BufferView_pimpl.C (updateScrollbar): simplify.
12814
12815         * BufferView2.C: don't include insets/insetinfo.h, change
12816         prototype for insertInset and call the Pimpl version. let
12817         updateInset call Pimpl version.
12818
12819         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12820         gotoInset to BufferView::Pimpl
12821
12822 2001-06-01  Juergen Vigna  <jug@sad.it>
12823
12824         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12825         inside a LockingInset (is the update needed at all?).
12826
12827 2001-05-31  Juergen Vigna  <jug@sad.it>
12828
12829         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12830         here not the old one otherwise how should we compare it afterwards
12831         if it's the same!
12832
12833 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * lyxfont.C:
12836         * tabular.C:
12837         * tabular-old.C:
12838         * FontInfo.C: bring C functions into global namespace when
12839         necessary
12840
12841 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12842
12843         * LString.h: make sure config.h has been loaded before LString.h.
12844
12845         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12846         (one for each char read by EatLine!).
12847
12848         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12849         variables.
12850
12851 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12854         to the same as the par we break from
12855
12856 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12859
12860         * MenuBackend.C (expand): also create menu entries for wide
12861         versions of the floats.
12862
12863         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12864
12865         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12866
12867         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12868         frontends/Makefile.am
12869
12870         * text2.C: adjust
12871         * text.C: adjust
12872
12873
12874         * tabular.C (getTokenValue): add std::
12875
12876         * tabular-old.C (getTokenValue): add std::
12877         (getTokenValue): ditto
12878         (getTokenValue): ditto
12879
12880         * screen.C (ToggleSelection): adjust
12881
12882         * lyxtext.h: put selection cursors inside a Selection struct.
12883
12884         * lyxfunc.C (moveCursorUpdate): adjust
12885
12886         * lyxfont.C (latexWriteStartChanges): add std::
12887
12888         * lyxfind.C: adjust
12889
12890         * font.h: delete with(char const *, LyXFont const &)
12891
12892         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12893
12894         * FontInfo.C (getFontname): add std::
12895
12896         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12897         (workAreaButtonPress): adjust
12898         (tripleClick): adjust
12899         (update): adjust
12900         (moveCursorUpdate): adjust
12901         (Dispatch): adjust
12902
12903         * BufferView2.C (gotoInset): adjust
12904
12905 2001-05-30  Juergen Vigna  <jug@sad.it>
12906
12907         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12908         to check pspell I add this as default as I now have new pspell
12909         libraries and they seem to use this.
12910
12911 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * text2.C (CutSelection): make the cursor valid before the call to
12914         ClearSelection.
12915
12916 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12919         relied on 0 terminated strings and other horrors. Bug found due to
12920         the new assert in lyxstring!
12921
12922         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12923         KP_ keys.
12924
12925 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12928         to latinkeys.bind.
12929
12930         * lyxfunc.C (processKeySym): change method of getting to the
12931         self-insert char.
12932
12933         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12934         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12935         * BufferView_pimpl.[Ch]: here as private methods.
12936
12937 2001-05-28  Juergen Vigna  <jug@sad.it>
12938
12939         * text.C (SetHeightOfRow): added the update() call again as it is
12940         needed to initialize inset dimensions!
12941
12942 2001-05-16  Juergen Vigna  <jug@sad.it>
12943
12944         * text2.C (SetCharFont): Add new function with BufferView * and
12945         bool toggleall parameters for setting insets internal fonts.
12946         (SetFont): Freeze the undo as we may change fonts in Insets and
12947         all this change should be inside only one Undo!
12948
12949         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12950         setting font's in insets as for them we have the SetFont function!
12951
12952 2001-05-15  Juergen Vigna  <jug@sad.it>
12953
12954         * text2.C (ClearSelection): to be sure we REALLY don't have any
12955         selection anymore!
12956
12957         * tabular.C (TeXCellPreamble): fixed the left border problem for
12958         multicolumn cells.
12959
12960 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12961
12962         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12963         dependancy file
12964
12965 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12968         LFUN_BREAKPARAGRAPH.
12969
12970         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12971         help test to "internal only", similar for LFUN_INSERT_URL
12972
12973         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12974         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12975         auto_region_delete and deadkeys.
12976
12977 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * LColor.h:
12980         * LColor.C: remove some dead entries, tidy a little
12981
12982 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12985         commented code.
12986         (Dispatch): implement LFUN_ESCAPE
12987
12988         * commandtags.h: add LFUN_ESCAPE
12989
12990         * LyXAction.C (init): add entry for LFUN_ESCAPE
12991
12992         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12993         Remove commented code.
12994         (insertNote): moved here
12995         (open_new_inset): moved here
12996
12997         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12998         BufferView_pimpl
12999
13000 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * kbmap.C (findbinding): clean it up and make it work correctly.
13003
13004         * lyx_main.C (init): do not pass argc and argv as parameters
13005
13006 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13007
13008         * buffer.C: fix path for OS/2 & Win32
13009
13010         * lyx_gui.C:
13011         * lyx_main:
13012         * lyx_main.C: Added os:: class.
13013
13014         * os2_defines.h: update
13015
13016 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13019         better by trying again with reduced state.
13020
13021 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * lyxrc.C (read): print error about invalid key sequence only when
13024         debugging (because not all latinX keysyms are known to some X
13025         servers)
13026
13027         * kbsequence.C (getiso): add a few std:: qualifiers
13028         (getiso): comment out extra return statement.
13029
13030 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13033         handling.
13034         (Dispatch): enhance the accent inset a bit. (not perfect)
13035
13036 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13039
13040 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * bufferlist.C (emergencyWrite): fix assert() call
13043
13044 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13045
13046         * text.C (InsertChar): Added trivial patch to only send the "you
13047         can not do multiple spaces this way" message once during a
13048         session.
13049
13050 2001-05-08  Baruch Even  <baruch@lyx.org>
13051
13052         * Makefile.am: Changed order of libraries to get LyX to link properly
13053         with the gnome frontend.
13054
13055 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13056
13057         * LaTeXFeatures.h: add a std:: qualifier
13058
13059 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * paragraph.C (String): use stringstream
13062
13063 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * paragraph.C (writeFile): remove footflag arg
13066
13067         * buffer.C (makeLaTeXFile): use stringstream
13068         (latexParagraphs): remove footnot gurba
13069
13070         * LaTeXFeatures.C (getPackages): use stringstream
13071         (getMacros): likewise
13072         (getTClassPreamble): likewise
13073         (getFloatDefinitions): new method
13074
13075         * paragraph.C (writeFile): reindent
13076         (Erase): reindent
13077
13078         * WorkArea.h: revert the xpos + etc changes.
13079
13080         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13081
13082         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13083
13084         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13085         (pasteSelection): likewise
13086         * text2.C (CreateUndo): likewise
13087
13088 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * minibuffer.C (peek_event): temporarily reduce the functionality
13091         of the minibuffer (to allow args on lfuns)
13092
13093         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13094         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13095
13096         * buffer.C (readInset): add compability reading of old float
13097         lists, add reading of new style float list.
13098         (readInset): avoid reevaluation of inscmd.getCmdName()
13099         (getLists): reindent
13100
13101         * MenuBackend.C (MenuItem): implement parsing of
13102         md_floatlistinsert and md_floatinsert.
13103         (expand::LastFiles): move initalizaton of iterators out of loop,
13104         avoid reevaluation.
13105         (expand::Documents): introduce typdedef vector<string> Strings,
13106         and use it.
13107         (expand::ExportFormats): introduce typedef vector<Format const *>
13108         Formats, and use it.
13109         (expand): implement FloatListInsert and FloatInsert.
13110
13111         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13112         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13113         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13114
13115         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13116         handling.
13117         (Dispatch::LFUN_FLOAT_LIST): implement
13118
13119 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13120
13121         * LaTeX.C (run): Fix problem with --export code.
13122
13123 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * BufferView.[Ch] (workarea): removed.
13126         (getClipboard) new method; wrapper for workarea()->getClipboard()
13127
13128         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13129         bug.
13130
13131         * WorkArea.h (width, height, xpos, ypos): These methods all
13132         returned the dimensions of the work_area sub-area of WorkArea,
13133         resulting in a position error if the WorkArea were resized. Now
13134         return the dimensions of the entire WorkArea.
13135
13136         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13137
13138 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13139
13140         * LaTeX.C (deplog): correct the syntax of regex reg1
13141
13142 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * undo.C: remove !NEW_INSETS cruft
13145
13146 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * text2.C: remove !NEW_INSETS cruft
13149
13150         * text.C: remove !NEW_INSETS cruft
13151
13152         * tabular.C: remove !NEW_INSETS cruft
13153
13154         * spellchecker.C: remove !NEW_INSETS cruft
13155
13156         * lyxtext.h: remove !NEW_INSETS cruft
13157
13158         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13159
13160         * lyxfunc.C: remove !NEW_INSETS cruft
13161
13162         * lyxfind.C: remove !NEW_INSETS cruft
13163
13164         * lyx_cb.C: remove !NEW_INSETS cruft
13165
13166         * figureForm.C: remove  !NEW_INSETS cruft
13167
13168         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13169
13170         * buffer.[Ch]: remove !NEW_INSETS cruft
13171
13172         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13173
13174         * CutAndPaste.C: remove !NEW_INSETS cruft
13175
13176         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13177
13178         * BufferView2.C: remove !NEW_INSETS cruft
13179
13180         * BufferView.h: remove !NEW_INSETS cruft
13181
13182 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * Lsstream.h: include LString.h before the sstream headers to
13185         fix problem with gcc 2.95.3 and lyxstring
13186
13187 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * lyx_main.C: add using directives when needed for C functions
13190         declared in std:: namespace.
13191
13192 2001-04-27  Juergen Vigna  <jug@sad.it>
13193
13194         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13195         (SetHeightOfRow): comment out the update call should not be needed!
13196
13197 2001-04-13  Juergen Vigna  <jug@sad.it>
13198
13199         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13200         (LyXTabular): tried to minimize operator= operations (and realized
13201         hopfully Lars wish).
13202
13203 2001-04-27  Juergen Vigna  <jug@sad.it>
13204
13205         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13206
13207 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13210
13211         * buffer.C (readInset): hack to make listof algorithm work
13212
13213         * BufferView_pimpl.C: hack to make listof algorithm work
13214
13215 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * LyXAction.C: removed all !NEW_INSETS cruft
13218         (init): moved lfun_item in method
13219
13220         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13221
13222 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13223
13224         * BufferView2.C (theLockingInset): white space.
13225
13226 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * minibuffer.C: include <iostream>
13229
13230         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13231
13232         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13233
13234         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13235
13236         * text.[Ch] (TransposeChars): new method
13237
13238 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * call message directly through LyXView instead of through LyXFunc
13241         * BufferView2.C: adjust
13242         * BufferView_pimpl.C: adjust
13243         * FontLoader.C: adjust
13244         * buffer.C: adjust
13245         * bufferview_funcs.C: adjust
13246         * converter.C: adjust
13247         * figureForm.C: adjust
13248         * importer.C: adjust
13249         * lyx_cb.C: adjust
13250         * lyx_gui_misc.C: adjust
13251         * lyxfunc.C: adjust
13252         * lyxvc.C: adjust
13253         * text2.C: adjust
13254         + more files in subdirs
13255
13256         * lyxparagraph.h (size): move up int file
13257         (GetLayout): ditto
13258
13259         * adjust all uses of Assert to lyx::Assert.
13260
13261         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13262         lyxfunctional in namespace lyx
13263         * layout.C (hasLayout): ditto
13264         (GetLayout): ditto
13265         (GetLayout): ditto
13266         (delete_layout): ditto
13267         (NumberOfClass): ditto
13268         * converter.C (GetFormat): ditto
13269         (GetNumber): ditto
13270         (Add): ditto
13271         (Delete): ditto
13272         (SetViewer): ditto
13273         * bufferlist.C (getFileNames): ditto
13274         (emergencyWriteAll): ditto
13275         (exists): ditto
13276         (getBuffer): ditto
13277         * MenuBackend.C (hasSubmenu): ditto
13278         (hasMenu): ditto
13279         (getMenu): ditto
13280         * BufferView_pimpl.C (getInsetByCode): ditto
13281
13282 2001-04-18  Juergen Vigna  <jug@sad.it>
13283
13284         * vspace.C (asLatexString): fixed the 100% problem.
13285
13286 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13287
13288         * lyxfunc.C (Dispatch):
13289         * minibuffer.C:
13290         * minibuffer.h: add a few std:: qualifiers
13291
13292 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * minibuffer.[Ch]: reimplement so that commands is initiated and
13295         run from lyxfunc, simplified som handling, and made the completion
13296         and history code for complete. wip.
13297
13298         * lyxfunc.C (processKeySym): call message
13299         (miniDispatch): new temporary method
13300         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13301         (LFUN_MESSAGE): implement
13302         (LFUN_MESSAGE_PUSH): implement
13303         (LFUN_MESSAGE_POP): implement
13304         (initMiniBuffer): the initial/defualt minibuffer message.
13305
13306         * lyxfont.[Ch]: inline some more getters
13307
13308         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13309
13310         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13311
13312         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13313         (AutoSave): use LFUN_MESSAGE
13314         (Reconfigure): ditto
13315
13316         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13317
13318         * figureForm.C: use LFUN_MESSAGE
13319
13320         * converter.C (runLaTeX): use LFUN_MESSAGE
13321
13322         * bufferview_funcs.C: use LFUN_MESSAGE
13323         (Melt): ditto
13324         (changeDepth): ditto
13325
13326         * bufferparams.h: use boost::
13327
13328         * bufferlist.h: inherit privately from noncopyable
13329
13330         * bufferlist.C (loadLyXFile): remove some commented code.
13331
13332         * buffer.C (runChktex): use LFUN_MESSAGE
13333
13334         * ShareContainer.h: inherit privately from noncopyable
13335
13336         * ParagraphParameters.[hC] (depth): inline it.
13337
13338         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13339         methods.
13340         (message): new method
13341         (messagePush): ditto
13342         (messagePop): ditto
13343         (show): init minibuffer
13344         (showState): direct call
13345
13346         * LaTeX.[Ch]: inherit privately from noncopyable
13347         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13348         instead of WriteStatus.
13349
13350         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13351
13352         * BufferView_pimpl.C (buffer): don't init minibuffer
13353         (workAreaButtonPress): use LFUN_MESSAGE
13354         (workAreaButtonRelease): ditto
13355         (savePosition): ditto
13356         (restorePosition): ditto
13357         (MenuInsertLyXFile): ditto
13358         (workAreaExpose): don't init minibuffer
13359         (update): remove commented code, simplify
13360
13361         * BufferView2.C (openStuff): use LFUN_MESSAGE
13362         (toggleFloat): ditto
13363         (menuUndo): ditto
13364         (menuRedo): ditto
13365         (copyEnvironment): ditto
13366         (pasteEnvironment): ditto
13367         (copy): ditto
13368         (cut): ditto
13369         (paste): ditto
13370         (gotoInset): ditto
13371         (updateInset): remove some commented code
13372
13373         * lastfiles.h: inherit privately from noncopyable
13374         * layout.h: ditto
13375         * lyx_gui.h: ditto
13376         * lyx_main.h: ditto
13377         * lyxlex.h: ditto
13378         * lyxlex_pimpl.h: ditto
13379
13380         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13381         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13382         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13383
13384         * LyXAction.h: inherit privately from noncopyable, add methods
13385         func_begin, func_end, returning iterators to the func map.
13386
13387         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13388         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13389         (func_begin): new method
13390         (func_end): new method
13391
13392         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13393         and not)
13394         (copySelection): ditto
13395         (pasteSelection): ditto
13396
13397         * BufferView.C: whitespace change
13398         * BufferView.h: inherit privately from noncopyable
13399
13400 2001-04-16  Allan Rae  <rae@lyx.org>
13401
13402         * tabular-old.C (l_getline):
13403         * spellchecker.C (sc_check_word):
13404         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13405         an unrecognised preprocessor directive.  So ensure they're wrapped.
13406
13407 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13408
13409         * src/exporter.C (Export): Give an error message when path to file
13410         contains spaces.
13411
13412 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13413
13414         * LaTeX.C (deplog): Always check that foundfile exists.
13415
13416 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * lyx_main.h:
13419         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13420
13421 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * tabular.[Ch] (getLabelList): implement new method
13424
13425         * minibuffer.h: comment ouf setTiimer
13426
13427         * minibuffer.C (ExecutingCB): constify res
13428         (peek_event): constify s
13429         (Set): constify ntext
13430         (Init): constify nicename
13431
13432         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13433
13434         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13435         (savePosition): use two params to Minibuffer::Set
13436         (restorePosition): ditto
13437
13438 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13439
13440         * lyx_main.C: include language.h
13441
13442         * Makefile.am (lyx_main.o): add language.h
13443
13444 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * exporter.C:
13447         * paragraph.C:
13448         * screen.C:
13449         * tabular.C:
13450         * CutAndPaste.C: include gettext.h
13451
13452         * lyxfont.h: remove old hack with ON and OFF.
13453
13454         * lyxparagraph.h:
13455         * lyxfont.h: do not include language.h...
13456
13457         * BufferView2.C:
13458         * LaTeXFeatures.C:
13459         * Painter.C:
13460         * bufferview_funcs.C:
13461         * font.C:
13462         * lyxfont.C:
13463         * text.C:
13464         * text2.C:
13465         * trans_mgr.C:
13466         * paragraph.C: ... but do it here instead
13467
13468 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13471
13472         * tabular.C: small reformat
13473
13474         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13475         NEW_INSETS version
13476         (GetChar): ditto
13477         (BreakParagraph): ditto
13478         (SetOnlyLayout): ditto
13479         (SetLayout): ditto
13480
13481         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13482         with one arg less.
13483
13484         * lastfiles.C: removed most using decl, add std:: where needed
13485
13486         * buffer.C: ws changes
13487
13488         * MenuBackend.C (class compare_format): put into anon namespace
13489         (expand): constify label, names, action, action2
13490         (expand):
13491
13492         * text.C (SingleWidth): constify font
13493         (IsBoundary): constify rtl2
13494         (GetVisibleRow): constify ww
13495
13496         * LaTeX.C (deplog): constify logfile
13497
13498         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13499         start_x, end_x
13500         (workAreaExpose): constify widthChange, heightChange
13501
13502         * lyxrow.C (par): moved
13503         (height): moved
13504         (next): moved
13505         * lyxrow.h: as inlines here
13506
13507         * lyxfont.h (shape): moved from lyxfont.C
13508         (emph): moved from lyxfont.C
13509
13510         * lyxfont.C (LyXFont): use initialization list for all
13511         constructors
13512         (shape): move to lyxfont.h as inline
13513         (emph): move to lyxfont.h as inline
13514
13515
13516 2001-04-04  Juergen Vigna  <jug@sad.it>
13517
13518         * vspace.C: had to include stdio.h for use of sscanf
13519
13520 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * BufferView.h:
13523         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13524         independent of xforms.
13525
13526 2001-04-02  Juergen Vigna  <jug@sad.it>
13527
13528         * spellchecker.C: fixed namespace placing!
13529
13530 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13531
13532         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13533         the LyXParagraph * is 0.
13534
13535 2001-03-29  Juergen Vigna  <jug@sad.it>
13536
13537         * vspace.C: added support for %, c%, p%, l%.
13538         (stringFromUnit): added helper function.
13539         (asLatexString): changed to give right results for the %-values.
13540
13541         * buffer.C: convert the widthp in a width%.
13542
13543 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13546         figureForm.[Ch].
13547
13548         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13549         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13550
13551         * lyx_cb.[Ch]: see above.
13552
13553         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13554         form1.[Ch].
13555
13556         * form1.[Ch]:
13557         * lyx.[Ch]: replaced by figure_form.[Ch].
13558
13559         * lyx_gui.C:
13560         * lyx_gui_misc.C:
13561         * lyxfunc.C: changed headers associated with above changes.
13562
13563 2001-03-27  Juergen Vigna  <jug@sad.it>
13564
13565         * BufferView_pimpl.C: set the temporary cursor right!
13566
13567 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13568
13569         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13570
13571 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13572
13573         * LString.h: removed "using std::getline"!
13574
13575         * BufferView_pimpl.C (Dispatch): changes due to changes in
13576         InsetInclude::Params.
13577
13578         * buffer.C (tag_name): removed redundant break statements as they were
13579         producing lots of warnings with my compiler.
13580
13581 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * LString.h: add "using std::getline" when using the real <string>.
13584
13585 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13586
13587         * buffer.C: removed bitset usage.
13588         PAR_TAG moved to an anonymous name space.
13589         (tag_name): new funtion, also in the anonymous namespace.
13590         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13591         (makeDocBookFile): clean code. Completed transition from string arrays
13592         to string vectors.
13593         (SimpleDocBookOnePar): code clean.
13594
13595 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13596
13597         * tabular.C: add some comments.
13598
13599 2001-03-22  Juergen Vigna  <jug@sad.it>
13600
13601         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13602         compatibility read a bit and fixed bug with minipage in different
13603         depth.
13604
13605 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13606
13607         * buffer.C (pop_tag): removed.
13608         (push_tag): removed.
13609         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13610         array replaced with vector. Added support for CDATA sections.
13611         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13612         at any nest level.
13613         (makeDocBookFile): XML conformant declaration of CDATA section,
13614         fixed bug related to <emphasis> in the first paragraph char.
13615         (sgmlOpenTag): exclude empty tags.
13616         (sgmlCloseTag): ditto.
13617
13618         * buffer.h (pop_tag): removed.
13619         (push_tag): removed.
13620
13621 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13622
13623         * language.h (Languages): added size_type and size().
13624
13625 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13626
13627         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13628         response on compability reading of minipages. One probliem is that
13629         the old usage of minipages was «flertydig»
13630
13631         * several files here and in subdirs: don't use static at file
13632         scope use anon namespaces instead.
13633
13634 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13635
13636         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13637         LaTeX output. This is necessary for Literate document
13638         processing.
13639
13640 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13641
13642         * buffer.C: insert hfill when needed.
13643
13644         * tabular.C (l_getline): use string::erase, small whitespace change.
13645
13646         * BufferView_pimpl.C: try the anon namespace.
13647         * WorkArea.C: ditto
13648
13649 2001-03-16  Juergen Vigna  <jug@sad.it>
13650
13651         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13652         otherwise it won't open options-dialogs.
13653
13654         * buffer.C: honor pextraWidth(p) on converting minipages.
13655
13656         * tabular.C (l_getline): changed the functions to strip trailing \r.
13657
13658 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * BufferView_pimpl.C:
13661         * minibuffer..C: added "using SigC::slot" declaration.
13662
13663 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13664
13665         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13666
13667         * text2.C: ditto
13668
13669         * text.C: ditto
13670
13671         * paragraph.C: ditto
13672
13673         * lyxtext.h: NO_PEXTRA
13674
13675         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13676
13677         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13678         * ParameterStruct.h: ditto
13679         * ParagraphParameters.h: ditto
13680         * lyxparagraph.h: ditto
13681
13682 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13683
13684         * buffer.C: add compability for minipage alignment.
13685         (latexParagraphs): remove unwanted pextra check.
13686
13687         * several files: remove CXX_WORKING_NAMESPACES
13688
13689         * buffer.C (pop_tag): tie is in namespace boost
13690
13691         * BufferView.h: noncopyable is in namespace boost
13692         * lyxlex.h: ditto
13693         * lyx_main.h: ditto
13694         * lyx_gui.h: ditto
13695         * layout.h: ditto
13696         * lastfiles.h: ditto
13697         * bufferlist.h: ditto
13698         * ShareContainer.h: ditto
13699         * LyXView.h: ditto
13700         * LyXAction.h: ditto
13701         * LaTeX.h: ditto
13702
13703 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * Merging changes from BRANCH_MVC back into HEAD.
13706
13707         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13708
13709 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * BufferView_pimpl.C: change from intl.C
13712
13713         * combox.h:
13714         * combox.C:
13715         * Makefile.am: move combox.*
13716
13717         * form1.h:
13718         * form1.C:
13719         * lyx_gui.C:
13720         * intl.h:
13721         * intl.C: remove dialog (covered by prefs)
13722
13723 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * lyxfunc.C (Dispatch): removed redundant break statement.
13726
13727 2001-03-14  Juergen Vigna  <jug@sad.it>
13728
13729         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13730
13731 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13732
13733         * buffer.C: add hack to fix compability reading of minipages.
13734
13735 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * buffer.C (getLists): Cleanup.
13738
13739 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * lyxfont.C (update): don't honor toggleall on font size.
13742
13743 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * bmtable.c:
13746         * bmtable.h:
13747         * Makefile.am: moved to frontends/xforms/
13748
13749         * lyx_gui_misc.C:
13750         * lyxfunc.C:
13751         * BufferView_pimpl.C: changes for moved mathpanel
13752
13753 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13754
13755         * gettext.h: fix gettext_init() in --disable-nls
13756
13757 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13760
13761 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * lyx.C:
13764         * lyx.h: strip external form
13765
13766 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * BufferView_pimpl.C: add comment, destroySplash()
13769
13770 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * BufferView_pimpl.C:
13773         * LyXAction.C:
13774         * buffer.C:
13775         * commandtags.h:
13776         * lyxfunc.C: use re-worked insetinclude
13777
13778 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13779
13780         * buffer.C: add using std::stringstream.
13781
13782         * lyx_cb.C: readd using std::ios.
13783
13784         * buffer.C: add using std::map.
13785
13786         * BufferView_pimpl.C: add using std::vector.
13787
13788         * ShareContainer.h: add std:: to swap.
13789
13790         * buffer.h: add some typedefs
13791         * buffer.C (getLists): use them
13792         (getLists): renamed from getTocList.
13793         add a counter for the different float types and use it in the
13794         generated string.
13795         (getLists): use the same counter for the NEW_INSETS and the "non"
13796         NEW_INSETS
13797
13798         * lyx_cb.h: remove unused items, includes, using etc.
13799
13800         * ShareContainer.h: remove some commented code, add more comments
13801         and "documentation".
13802
13803 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13804
13805         * buffer.C (getTocList): make the list also when NEW_INSETS is
13806         defined.
13807
13808         * buffer.h: remove TocType
13809
13810         * buffer.C (getTocList): change to return a map<string,
13811         vector<TocItem> >, implement for dynamic number of list.
13812
13813         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13814         * text2.C (PasteSelection): adjust
13815         * CutAndPaste.C (pasteSelection): adjust
13816
13817         * FloatList.C (FloatList): update from the new_insets branch.
13818         * Floating.[Ch]: ditto
13819         * LaTeXFeatures.C: ditto
13820         * buffer.C: ditto
13821         * lyxlex_pimpl.C: ditto
13822
13823         * paragraph.C (Last): remove when NEW_INSETS is defined.
13824
13825         * other file: changes because of the above.
13826
13827 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13828
13829         * lyxparagraph.h: rename next to next_, previous to previous_,
13830         make them private for NEW_INSETS. Rename Next() to next(),
13831         Previous() to previous().
13832
13833         * other files: changes because of the above.
13834
13835 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13836
13837         * BufferView.h:
13838         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13839         problem.
13840
13841 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * main.C (main): pass lyx_localedir to gettext_init().
13844
13845         * gettext.h: remove locale_init and gettext_init macros
13846
13847         * gettext.C (locale_init): new function
13848         (gettext_init): new function
13849
13850         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13851         setlocale().
13852
13853 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13854
13855         * Moved credits to frontends:
13856         * credits.[Ch]: removed
13857         * credits_form.[Ch]: removed
13858         * lyx_gui_misc.C: remove credits stuff
13859         * Makefile.am:
13860
13861 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13862
13863         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13864
13865         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13866         unneeded destructor.
13867
13868         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13869         a standalone pointer again.
13870
13871         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13872
13873 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * Makefile.am:
13876         * filedlg.h:
13877         * filedlg.C:
13878         * LyXAction.C:
13879         * ToolbarDefaults.C:
13880         * bufferlist.C:
13881         * commandtags.h:
13882         * form1.C:
13883         * form1.h:
13884         * lyx_cb.C:
13885         * lyx_cb.h:
13886         * lyxfunc.h:
13887         * lyxfunc.C:
13888         * BufferView_pimpl.C: use new file dialog in GUII
13889
13890         * lyx_cb.h:
13891         * lyx_cb.C: remove LayoutsCB to Toolbar
13892
13893 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * ShareContainer.h (get): add std:: qualifier
13896
13897 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * ShareContainer.h: define a proper ShareContainer::value_type
13900         type (and use typename to please compaq cxx)
13901
13902 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13903
13904         * lyxparagraph.h: move serveral local vars to
13905         ParameterStruct/ParagraphParameters., use ShareContainer in
13906         FontTable., make vars in FontTable private and add getter and
13907         setter.
13908
13909         * paragraph.C: changes because of the above.
13910
13911         * lyxfont.h: remove copy constructor and copy assignment. (the
13912         default ones is ok), move number inside FontBits. move inlines to
13913         lyxfont.C
13914
13915         * lyxfont.C: add number to initializaton of statics, move several
13916         inlines here. constify several local vars. some whitespace
13917         cleanup. Dont hide outerscope variables.
13918
13919         * Spacing.h: add two new constructors to match the set methods.
13920
13921         * ShareContainer.h: new file, will perhaps be moved to support
13922
13923         * ParameterStruct.h: new file
13924
13925         * ParagraphParameters.h: new file
13926
13927         * ParagraphParameters.C: new file
13928
13929         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13930         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13931
13932         * BufferView_pimpl.C: ParagraphParameter changes.
13933         * buffer.C: Likewise.
13934         * bufferview_funcs.C: Likewise.
13935         * text.C: Likewise.
13936         * text2.C: Likewise.
13937
13938 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13939
13940         * lyxfind.C (LyXReplace): do not redefine default argument in
13941         implementation.
13942         (IsStringInText): ditto
13943         (SearchForward): ditto
13944         (SearchBackward): ditto
13945
13946 2001-03-06  Juergen Vigna  <jug@sad.it>
13947
13948         * lyxfind.C (IsStringInText): put parentes around expressions.
13949
13950 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13951
13952         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13953
13954 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13957
13958         * stl_string_fwd.h: add comment
13959
13960         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13961
13962         * tabular.h:
13963         * tabular.C: remove unused DocBook methods
13964
13965         * intl.C:
13966         * language.C:
13967         * paragraph.C:
13968         * buffer.C:
13969         killed DO_USE_DEFAULT_LANGUAGE
13970
13971 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13972
13973         * lyx_gui.C: do not include language.h.
13974
13975         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13976         arguments in function implementation.
13977
13978 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13979
13980         * BufferView_pimpl.C: add <ctime>
13981
13982 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13983
13984         * BufferView_pimpl.C: add using std::find_if
13985
13986 2001-02-27  José Matos  <jamatos@fep.up.pt>
13987
13988         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13989         by OnlyPath.
13990
13991 2001-02-11  José Matos  <jamatos@fep.up.pt>
13992
13993         * buffer.C (makeDocBookFile): command styles now have a parameter as
13994         "title" by default.
13995
13996 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13997
13998         * layout_forms.[Ch]: removed
13999         * lyx_cb.[Ch]: out character
14000         * lyx_gui.C: out character
14001         * lyx_gui_misc.C: out character
14002         * bufferview_funcs.C: : out character,
14003         added toggleall as parameter in ToggleAndShow
14004
14005 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14006
14007         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14008
14009         * text2.C (SetCurrentFont): Disable number property at boundary.
14010
14011 2001-02-26  Juergen Vigna  <jug@sad.it>
14012
14013         * lyxfunc.C (getStatus): added a string argument override function so
14014         that this is correctly called from LyXFunc::Dispatch if it contains a
14015         do_not_use_argument which is used!
14016         (Dispatch): added check for "custom" export and call appropriate func.
14017
14018 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14019
14020         * lyxrc.C: Add language_command_local, language_use_babel and
14021         language_global_options.
14022
14023         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14024
14025         * buffer.C (makeLaTeXFile): Use language_use_babel and
14026         language_global_options.
14027
14028 2001-02-23  Juergen Vigna  <jug@sad.it>
14029
14030         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14031         which works with LyXText and putted it inside BufferView. Here now we
14032         only call for that part the BufferView::Dispatch() function.
14033
14034         * BufferView.C (Dispatch): added.
14035
14036         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14037         functions which needs to use a LyXText over from LyXFunc.
14038         (MenuInsertLyXFile): added
14039         (getInsetByCode): added
14040         (moveCursorUpdate): added
14041         (static TEXT): added
14042
14043 2001-02-22  Juergen Vigna  <jug@sad.it>
14044
14045         * BufferView_pimpl.C (update): call a status update to see if LyXText
14046         needs it.
14047
14048 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14049
14050         * vc-backend.C (revert): implement for CVS
14051         (getLog): implement for CVS
14052
14053 2001-02-20  Juergen Vigna  <jug@sad.it>
14054
14055         * text2.C (ClearSelection): added BufferView param for inset_owner call
14056
14057         * lyxfunc.C (TEXT): added this function and use it instead of
14058         directly owner->view()-text of getLyXText().
14059
14060 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14061
14062         * src/layout_forms.C: out preamble
14063         * src/layout_forms.h: out preamble
14064         * src/lyx_cb.C: out preamble
14065         * src/lyx_cb.h: out preamble
14066         * src/lyx_gui.C: out preamble
14067         * src/lyx_gui_misc.C: out preamble
14068         * src/lyxfunc.C: connect with guii preamble
14069
14070 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14071
14072         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14073
14074 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14077         whether to run bibtex.
14078
14079 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14082
14083 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14084
14085         * Makefile.am (lyx_SOURCES): removed bibforms.h
14086
14087         * vspace.h: doxygen
14088
14089         * text.C (GetVisibleRow): make several local vars const
14090
14091         * tabular.C: small cleanup.
14092
14093         * lyxserver.C (callback): use compare instead of strncmp
14094
14095         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14096         inlines to after class or to paragraph.C
14097
14098         * lyxfont.h: remove friend operator!=
14099
14100         * converter.h: move friend bool operator< to non friend and after
14101         class def.
14102
14103         * combox.h: small cleanup
14104
14105         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14106         to inlines after class def.
14107
14108         * buffer.C (pop_tag): use string operations instead of strcmp
14109
14110         * bmtable.c: doxygen, small cleanup
14111
14112         * LaTeX.h: remove friend operator==
14113
14114 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14115
14116         * screen.C:
14117         * lyxrc.[Ch]:
14118         * lyxfunc.C:
14119         * lyxfont.[Ch]:
14120         * lyx_cb.C:
14121         * intl.[Ch]:
14122         * commandtags.h:
14123         * buffer.C:
14124         * WorkArea.[Ch]:
14125         * LyXAction.C:
14126         * BufferView_pimpl.C:
14127         * BufferView.[Ch]: remove cruft
14128
14129 2001-02-14  Juergen Vigna  <jug@sad.it>
14130
14131         * lyxfunc.C: removed #if 0 unused code
14132
14133         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14134
14135         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14136
14137         * text2.C (SetSelection): added a BufferView * parameter
14138
14139 2001-02-13  Juergen Vigna  <jug@sad.it>
14140
14141         * lyxfunc.C (Dispatch): fixed protected blank problem.
14142         * BufferView2.C (protectedBlank): added LyxText * parameter.
14143
14144         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14145         (AppendColumn): same as above for column_info.
14146
14147         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14148         (moveCursorUpdate): use a LyXText param for support of InsetText.
14149
14150         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14151         (tripleClick): ditto
14152
14153         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14154
14155         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14156
14157         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14158
14159         * text2.C (SetSelection): set correct update status if inset_owner
14160         (ToggleFree): ditto
14161
14162 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14163
14164         * tabular.C: remove some commented code.
14165
14166 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * BufferView_pimpl.C: call hideSplash()
14169
14170         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14171
14172         * include_form.h:
14173         * bibforms.h: remove
14174
14175         * lyxfunc.C:
14176         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14177           add LFUN_CHILD_CREATE
14178
14179         * counters.h: fix tiny typo
14180
14181         * lyx_cb.C:
14182         * lyx.h:
14183         * lyx_gui.C:
14184         * lyx.C: move splash to frontends/xforms/
14185
14186         * lyx_gui_misc.C: move Include and Bibform to frontends
14187
14188         * lyxvc.h: clarify comment
14189
14190         * vspace.C: tiny housekeeping
14191
14192 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * text.C (PrepareToPrint): RTL Fix.
14195
14196         * paragraph.C (GetUChar): New method.
14197         (String):  Use GetUChar.
14198
14199         * buffer.C (asciiParagraph): Use GetUChar.
14200
14201 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14202
14203         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14204
14205 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * buffer.h:
14208         * buffer.C: rename to getLogName(), handle
14209           build log / latex log nicely
14210
14211 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14212
14213         * MenuBackend.C:
14214         * MenuBackend.h: remove support for reference menuitem type.
14215
14216 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * BufferView_pimpl.C: housekeeping
14219         * BufferView_pimpl.h:
14220         * LyXView.h:
14221         * Makefile.am:
14222         * Timeout.C:
14223         * Timeout.h:
14224         * minibuffer.h: move Timeout GUI-I
14225
14226 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14227
14228         * lyxrc.C (read): Update converters data-structures.
14229
14230 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14231
14232         * LaTeX.h (operator!=): add operator != for Aux_Info
14233
14234 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14237
14238         * LaTeXLog.C: deleted, useful code moved to Buffer
14239
14240         * buffer.h:
14241         * buffer.C: new function getLatexLogName()
14242
14243         * lyx_gui_misc.C:
14244         * lyx_gui.C:
14245         * lyxvc.C:
14246         * lyxvc.h:
14247         * lyxfunc.C: use frontends for LaTeX and VC logs
14248
14249 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * LaTeX.h: yet another std:: that Allan forgot.
14252
14253         * Variables.C (set): renamed from isset(), because this clashes
14254         with some HP-UX macros (grr).
14255
14256 2001-02-06  Allan Rae  <rae@lyx.org>
14257
14258         * LaTeX.h: Another bug fix.  Missing std:: this time.
14259
14260 2001-02-04  Allan Rae  <rae@lyx.org>
14261
14262         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14263         floats problem. I've left it commented out because it's not quite
14264         correct.  It should also test that the current object is a table or
14265         figure inset.  But I haven't gotten around to figuring out how to do
14266         that.  I *think* it'll be something like: "table" == inset.type()
14267
14268         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14269         bool.
14270
14271 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14274         all the citation/databases/styles in the auxilary file.
14275         (run): Rerun latex if there was a babel language error.
14276
14277 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * text.C (Backspace): Preserve the font when changing newline char
14280         with a space.
14281         (BreakParagraph): If the cursor is before a space, delete the space.
14282
14283         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14284
14285 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14286
14287         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14288         new argument (code).
14289         (ChangeCitationsIfUnique): New method.
14290
14291         * paragraph.C (GetPositionOfInset): Handle bibkey.
14292
14293 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * BufferView_pimpl.h: change type of Position::par_pos to
14296         LyXParagraph::size_type.
14297
14298 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14299
14300         * BufferView_pimpl.C (savePosition, restorePosition): Write
14301         messages to minibuffer.
14302
14303 2001-01-28  José Matos  <jamatos@fep.up.pt>
14304
14305         * buffer.C (makeDocBookFile): adds support for document language.
14306         A silly restriction on the name of LatexCommand types where removed.
14307         Added support for CDATA sections, allows to chars unescaped, used
14308         among others in code, to avoid escape < and >.
14309
14310 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14313         saved positions instrad of a stack. Furthermore, a position is
14314         stored using paragraph id/paragraph position.
14315
14316         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14317         Remove LFUN_REF_BACK.
14318
14319 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * converter.C (dvipdfm_options): New method.
14322
14323 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * vspace.C (isValidLength): Fix for empty input string.
14326
14327 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * LyXAction.C (init): change description of LFUN_FIGURE to
14330         "Insert Graphics"
14331
14332 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * LaTeX.C: add using directive
14335
14336 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * MenuBackend.C (expand): Fix the sorting of the formats.
14339
14340 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * lyx_main.C: tiny error message fix
14343
14344 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14345
14346         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14347         calling fl_initialize(). This fixes the problem with ',' as
14348         decimal separator in text files.
14349
14350 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14351
14352         * trans.C (process): Fix the keymap bug.
14353
14354 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14355
14356         * LaTeX.C (scanAuxFiles): New method. Provides support for
14357         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14358         (scanLogFile) Scan for "run BibTeX" messages.
14359
14360         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14361         OT1 font encoding. Also, load the aecompl package if the ae
14362         package is loaded.
14363
14364         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14365
14366 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * texrow.C (increasePos): turn two error messages into debug
14369         messages.
14370
14371 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * LaTeX.C (scanAux): Handle the \@input macro.
14374         (runBibTeX): Use scanAux().
14375
14376         * language.C (latex_options_): New field.
14377
14378         * LaTeXFeatures.C (getMacros): Add language macros.
14379
14380         * buffer.C (makeLaTeXFile): Small fix.
14381
14382 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14385
14386         * text2.C: add a using directive.
14387
14388 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * BufferView2.C:
14391         * lyx_gui_misc.h:
14392         * lyxfr1.C:
14393         * lyxfunc.C: kill LyXBell.
14394
14395 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14396
14397         * text.C (IsBoundary): Remove the error message
14398
14399         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14400
14401         * lyxrc.C (setDefaults): Correct initialization value for
14402         font_norm_type.
14403
14404 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14405
14406         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14407         gotoError().
14408
14409         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14410         and GotoNextNote().
14411
14412         * src/LyXAction.C: Added reference-next.
14413
14414         * text.C (InsertChar): Use contains instead of strchr.
14415
14416         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14417
14418 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14419
14420         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14421         alignment commands (when needed).
14422
14423         * text.C (InsertChar): Add ':' to number separator chars.