]> git.lyx.org Git - features.git/blob - src/ChangeLog
*** empty log message ***
[features.git] / src / ChangeLog
1 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text.C (breakParagraph): remove an outdated #warning
4
5 2004-01-07  André Pönitz  <poenitz@gmx.net>
6
7         * lyxfind.C: somewhat clearer logic
8
9         * text.C: prevent crash in cursorX on unitialized row cache
10
11 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * lyxcursor.[Ch] (operator>): add
14         * textcursor.C (selStart, selEnd): use std::min and std::max
15
16 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
17
18         * Chktex.C: include boost/format.hpp
19
20 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
21
22         * InsetList.C: replace functor MathcIt with adaptable functor
23         InsetTablePosLess
24         (insetIterator): modify accordingly
25
26         * BranchList.h: move the BranchNamesEqual functor here from...
27         * BranchList.C: ... to here
28
29         * BranchList.C: new BranchListEqual fuctor, use it. Remove
30         SameName and match.
31         (add): replace a finding loop with std::find_if.
32
33 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * output_docbook.C: moving LatexParam functionality into
36         .layout files
37
38 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * buffer.C: increment format to 229.
41
42 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
43
44         * LaTeXFeatures.C:
45         * lyx_sty.[Ch]: remove minipageindent_def
46
47         * LyXAction.C:
48         * factory.C:
49         * lfuns.h:
50         * lyxfunc.C:
51         * text3.C: remove LFUN_INSET_MINIPAGE
52
53 2003-12-28  Angus Leeming  <leeming@lyx.org>
54
55         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
56
57 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
58
59         * text2.C (setParagraph): fix off-by-one crash
60
61 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
62
63         * output_docbook.C: header stuff for AGU
64
65 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
66
67         * text2.C (redoCursor): remove
68         * text.C:
69         * text3.C:
70         * BufferView_pimpl.C: remove calls to redoCursor and
71         setCursor(cursor.par(), cursor.pos()) all around
72
73 2003-12-15  Angus Leeming  <leeming@lyx.org>
74
75         * buffer.C: up the format to 228.
76
77 2003-12-15  André Pönitz  <poenitz@gmx.net>
78
79         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
80         slices
81
82         * Makefile.am:
83
84         * BufferView_pimpl.C:
85         * cursor.[Ch]:
86         * lyxcursor.[Ch]:
87         * rowpainter.[Ch]:
88         * lyxtext.h:
89         * text.C:
90         * text2.C:
91         * text3.C: adjust
92
93 2003-12-15  Angus Leeming  <leeming@lyx.org>
94
95         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
96         than getFromGUIName to manipulate the color.
97
98 2003-12-14  Angus Leeming  <leeming@lyx.org>
99
100         * BranchList.[Ch]: minimize the API.
101         (Branch::getBranch, getColor): now return a 'const &'.
102         (Branch::setSelected) now returns a bool set to true if the
103         selection status changes.
104         (BranchList::clear, size, getColor, setColor, setSelected,
105         allBranches, allSelected, separator): removed.
106         (BranchList::find): new functions, returning the Branch with
107         the given name.
108         (BranchList::add, remove): return a bool indicating that
109         the operation was successful.
110
111         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
112         new InsetBranch::isBranchSlected member function.
113
114         * LColor.[Ch]: mimimize the API.
115         (fill): renamed as addColor and made private.
116         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
117         versions of these functions taking a string arg have been removed.
118
119         * bufferparams.C (readToken):
120         * lyxfunc.C (dispatch):
121         * lyxrc.C (read): changes due to the altered BranchList and
122         LColor APIs.
123
124         * factory.C (createInset, readInset): changes due to altered
125         InsetBranch c-tor.
126
127 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
128
129         * factory.C:
130         * lyxfunc.C: remove insetminipage. "minipage-insert"
131         now produces a frameless minipage box inset.
132
133 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * textcursor.[Ch] (selStart,selEnd): add new methods
136         remove selection::start, end, use LyXCursor::operator<
137         * lyxcursor.[Ch] (operator<): add
138         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
139         * BufferView.[Ch] (unsetXSel): add
140         * text2.C (clearSelection): use unsetXSel,adjust
141         * text.C: adjust
142         * text3.C: adjust
143         * rowpainter.C: adjust
144         * bufferview_funcs.C (put_selection_at): adjust
145
146 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
147
148         * BufferView_pimpl.C: small coord. correction
149
150 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
153         dragging over the splash screen.
154
155 2003-12-11  Angus Leeming  <leeming@lyx.org>
156
157         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
158         as it is now handled in LyXText::dispatch.
159
160         * text3.C (doInsertInset): remove a level of nesting.
161
162 2003-12-11  Angus Leeming  <leeming@lyx.org>
163
164         * factory.C (createInset): changes due to the changed interface to
165         InsetCommandMailer::string2params.
166
167 2003-12-10  Angus Leeming  <leeming@lyx.org>
168
169         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
170         'dialog-show-new-inset <inset name>'
171
172 2003-12-10  Angus Leeming  <leeming@lyx.org>
173
174         * buffer.C: up the format to 227.
175
176         * factory.C: the box inset is now identified simply by 'Box'.
177
178 2003-12-10  Angus Leeming  <leeming@lyx.org>
179
180         * buffer.C: up the format to 226.
181
182         * factory.C: the note inset is now identified simply by 'Note'.
183
184 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
185
186         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
187         when a pit is enough. Standarize a couple of loops.
188
189 2003-12-05  Angus Leeming  <leeming@lyx.org>
190
191         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
192         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
193         data to the re-worked "log" dialog.
194
195 2003-12-03  André Pönitz  <poenitz@gmx.net>
196
197         * PosIterator.C:
198         * iterators.C:
199         * lyxtext.h:
200         * output_latex.C:
201         * paragraph_funcs.C:
202         * text.C:
203         * text2.C: use Inset::getText instead of Inset::getParagraph
204
205 2003-12-03  André Pönitz  <poenitz@gmx.net>
206
207         * buffer.[Ch]:
208         * lyxtext.h:
209         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
210         InsetText::read() as LyXText::read()
211
212 2003-12-02  Angus Leeming  <leeming@lyx.org>
213
214         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
215         type. Add a comment in the implementation that the function uses
216         the stream's bad() function rather than fail() as the std::streams
217         would do.
218
219 2003-12-02  André Pönitz  <poenitz@gmx.net>
220
221         * lyxlex.[Ch]: make interface more similar to std::stream
222
223         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
224
225 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
226
227         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
228
229 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
230
231         * vspace.[Ch]: remove VSpace::NONE
232
233 2003-12-01  André Pönitz  <poenitz@gmx.net>
234
235         * buffer.[Ch]:
236         * lyxtext.h: move ParagraphList member to LyXText
237         rename LyXText::ownerParagraphs to LyXText::paragraph
238
239         * CutAndPaste.C:
240         * bufferview_funcs.C:
241         * iterators.[Ch]:
242         * lyx_cb.C:
243         * paragraph.C:
244         * rowpainter.C:
245         * tabular.C:
246         * text.C:
247         * text2.C:
248         * text3.C: adjust
249
250         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
251
252         * undo.C: fix cursor positioning
253
254 2003-12-01  John Levon  <levon@movementarian.org>
255
256         * BufferView_pimpl.C: fix a crash on exit with
257         a buffer open
258
259 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
260
261         * BranchList.C: fix setSelected() method.
262
263 2003-11-28  André Pönitz  <poenitz@gmx.net>
264
265         * ParagraphParameters.[Ch]:
266         * ParameterStruct.h: remove space above/below from Paragraph to
267          InsetVSpace
268
269         * BufferView_pimpl.C:
270         * factory.C:
271         * lyxfunc.C:
272         * lyxtext.h:
273         * output_latex.C:
274         * paragraph.C:
275         * paragraph_funcs.C:
276         * rowpainter.[Ch]:
277         * text.C:
278         * text2.C:
279         * text3.C: adjust
280
281 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
282
283         * factory.C: Syntax change for CharStyles
284
285 2003-11-28  André Pönitz  <poenitz@gmx.net>
286
287         * BufferView.[Ch]:
288         * BufferView.[Ch]:
289         * buffer.[Ch]:
290         * buffer.[Ch]: move LyXText member
291
292 2003-11-28  André Pönitz  <poenitz@gmx.net>
293
294         * BufferView.[Ch]: make LyXText * text a private member
295
296         * BufferView_pimpl.C:
297         * cursor.C:
298         * iterators.C:
299         * lyx_cb.C:
300         * lyxfind.C:
301         * lyxtext.h:
302         * rowpainter.[Ch]:
303         * text.C:
304         * text2.C:
305         * undo.C: adjust
306
307         * output_plaintext.C: cleanup
308
309 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
310
311         * buffer.C:
312         * lyxtextclass.[Ch]: parametrize SGML document header
313
314 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
315
316         * converter.[Ch]:
317         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
318         getFlavor().
319
320 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * text2.C (setFont): rework using PosIterator (no more recursive)
323         (setCharFont): no more needed
324         (setLayout): no more selection cursors fiddling (done by redoCursor)
325         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
326         destroy remaining ones)
327
328 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
331         * lyxtext.h: ditto
332         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
333         selection cursors
334         * lyxfunc.C: adjust
335         * text3.C: adjust + re-allow multi par depth changes
336         * textcursor.C: simplify a bit
337
338 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * src/buffer.C:
341         * src/lyxlayout.C:
342         * src/lyxlayout.h:
343         * src/lyxtext.h:
344         * src/output_docbook.C:
345         * src/output_latex.C:
346         * src/paragraph.C:
347         * src/paragraph.h:
348         * src/sgml.C:
349         * src/sgml.h:
350         * src/text2.C: Introducing a number of tags parametrizing various
351         XML formats that we may want to support
352
353 2003-11-25  André Pönitz  <poenitz@gmx.net>
354
355         * InsetList.[Ch] (begein, end): inline as suggested by profiler
356
357         * lyxtext.h (leftMargin/rightMargin): simplify interface
358
359         * rowpainter.C:
360         * text.C:
361         * text2.C:
362         * text3.C: adjust
363
364 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * lyxfunc.C (dispatch): propogate the bibtex databases from the
367         master file to any child files. Fixes bug 546.
368
369 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
370
371         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
372
373 2003-11-24  André Pönitz  <poenitz@gmx.net>
374
375         * rowpainter.C: simplification
376
377         * text2.C (updateCounters): remove call to redoParagraph on
378         changed labels as this is far too expensive.
379
380 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * converter.C (convert): fix a crash: this function gets
383         called with buffer == 0 from importer code.
384
385 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
386
387         * text3.C (cursorPrevious): make sure that we do not compare
388         iterators form different containers.
389         (cursorNext): ditto
390
391         * rowpainter.C (paintSelection): make sure that we do not compare
392         iterators from different containers.
393
394         * text3.C (dispatch): [PRIOR] make sure that we do not compare
395         iterators from different ParagraphList containers.
396         [NEXT] ditto
397
398         * text2.C (LyXText): change order of initialization slightly
399         (operator=): new function. copy all variables except cache_par_
400         (moveUp): make sure that we do not compare iterators from
401         different ParagraphList constainers.
402         (moveDown): ditto
403
404         * text.C (firstPar): new function
405         (lastPar): new function
406         (endPar): new function
407
408         * lyxtext.h: move things around and group public functions, public
409         variables, private functions, private variables
410
411 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
412
413         * factory.C: change call to InsetERT constructor to avoid
414         additional invocation of method status
415         * text2.C (toggleInset): remove redundant update() call
416         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
417         instead of a Bufferview pointer
418
419 2003-11-21  André Pönitz  <poenitz@gmx.net>
420
421         * rowpainter.C: simplification
422
423 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
424
425         * text3.C (dispatch): make possible to extend a word/row selection
426         with the mouse
427
428 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * lyxtext.h: x0_,y0_ -> xo_,yo_
431         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
432         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
433         * rowpainter.C (paintRows): paint full paragraphs
434
435 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
438         screen coordinates)
439
440 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * lyxtext.h: add x0_, y0_
443         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
444         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
445
446 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
447
448         * text2.C (setCursorIntern): move the x_target update here *
449         * text3.C: change some bv() to true/false in calls to
450         cursorUp/Down/Right/Left
451         * cursor.C: use helper function.
452
453 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
454
455         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
456         * paragraph_funcs.[Ch]: correct comment
457         * rowpainter.C: do not paint selections away from bv->cursor()
458         Fix a long standing selection painting bug.
459         * text3.C: generalize mouse-selection code to LyXTexts other that
460         top one
461         * textcursor.C: do not use y coords if we can use par offsets
462
463 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
464
465         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
466         cursor position after e.g. inset insert)
467
468 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
469
470         * lyxfind.C (replace): adjust to locking removal + some
471         code simplification
472
473 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
476         of the path
477
478 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * lyxlayout.[Ch]:
481         * output_docbook.C: XML sanitation: new layout
482         parameters InnerTag and CommandDepth
483
484 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * BufferView_pimpl.C:
487         * factory.C:
488         * text3.C: Fix the insertion and modification of button-style
489         insets
490
491 2003-11-13  André Pönitz  <poenitz@gmx.net>
492
493         * InsetList.[Ch]: remove deleteLyXText
494
495         * paragraph.[Ch]: cache beginOfBody position
496
497         * Bidi.C:
498         * text.C:
499         * text2.C:
500         * text3.C: remove superfluous update() calls
501
502         * vspace.C: cleanup
503
504 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
507         * BufferView.C (fitLockedInsetCursor): remove
508         * cursor.[Ch] (getDim): add
509         * text.C (getRowNearY): add faster version
510         * text3.C: remove some update calls
511
512 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * LaTeXFeatures.C:
515         * LyXAction.C:
516         * MenuBackend.C:
517         * MenuBackend.h:
518         * dispatchresult.h:
519         * factory.C:
520         * lfuns.h:
521         * lyxfunc.C:
522         * lyxtextclass.C:
523         * lyxtextclass.h:
524         * text3.C: The Character Style /XML short element patch.
525
526 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
527
528         * text3.C:
529         * factory.C: Small step to solving 'unable to insert some insets'
530         problem
531
532 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * cursor.[Ch] (updatePos): new function for updating the y
535         position of the tip inset
536         * bufferview_funcs.C (put_selection_at):
537         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
538
539 2003-11-11  André Pönitz  <poenitz@gmx.net>
540
541         * text.C: remove big comment on invalid Paragraph pointers as it is
542         not valid anymore
543
544 2003-11-11  André Pönitz  <poenitz@gmx.net>
545
546         * text_funcs.[Ch]: merge with ...
547
548         * text.C: ... this
549
550         * lyxtext.h:
551         * text2.C:
552         * text3.C: adjust
553
554         * Makefile.am: remove text_funcs.[Ch]
555
556 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
557
558         * cursor.C (getPos): return absolute cached y coord
559
560         * BufferView_pimpl.C (fitCursor): new simplistic code
561         (workAreaDispatch): add a fitCursor call
562
563 2003-11-10  André Pönitz  <poenitz@gmx.net>
564
565         * BufferView.[Ch]:
566         * BufferView_pimpl.[Ch]: merge update() and updateInset()
567
568 2003-11-10  André Pönitz  <poenitz@gmx.net>
569
570         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
571         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
572         indicate that the cursor needs to leave an inset
573
574         * lyxtext.h: remove inset locking
575
576         * cursor.[Ch]: re-implement functionality provided by inset locking
577
578         * BufferView.[Ch]:
579         * BufferView_pimpl.[Ch]:
580         * LyXAction.C:
581         * bufferview_funcs.[Ch]:
582         * factory.C:
583         * funcrequest.[Ch]:
584         * iterators.C:
585         * lyx_cb.C:
586         * lyxfind.C:
587         * lyxfunc.C:
588         * text.C:
589         * text2.C:
590         * text3.C:
591         * undo.C: adjust
592
593 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
594
595         * PosIterator.[Ch]: replace the stack with a vector, add inset
596         accesor
597         * iterators.[C]: adjust
598
599 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
600
601         * lyxfind.C (replaceAll): mark the buffer dirty if something was
602         replaced
603         * paragraph_funcs.C (readParToken): put the correct id in the
604         error item, not the id of the top paragraph
605
606 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
607
608         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
609         * bufferview_funcs.C (put_selection_at): use the above
610
611 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
612
613         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
614
615 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * output_linuxdoc.h:
618         * output_plaintext.h:
619         * output.h:
620         * output_docbook.h: add #include statements
621
622 2003-11-05  José Matos  <jamatos@lyx.org>
623
624         * output_docbook.[Ch]:
625         * output_latex.[Ch]:
626         * output_linuxdoc.[Ch]:
627         * output_plaintext.[Ch]: New files for output formats.
628         * output.[Ch]: New file for helper functions.
629
630         * buffer.[Ch]:
631         * paragraph_funcs.[Ch]: output functions moved to new files.
632
633         * outputparams.h: rename of latexrunparams.h
634
635         * LaTeX.[Ch]:
636         * buffer.[Ch]:
637         * bufferlist.[Ch]:
638         * converter.[Ch]:
639         * exporter.C:
640         * paragraph.[Ch]:
641         * paragraph_funcs.[Ch]:
642         * paragraph_pimpl.[Ch]:
643         * tabular.[Ch]: rename ascii to plaintext
644         and LatexRunParams to OutputParams.
645
646 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
647
648         * iterators.[Ch] (text): require bv argument
649         * undo.C (recordUndo):
650         * lyxfunc.C (dispatch):
651         * bufferview_funcs.C (put_selection_at): adjust
652
653 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
654
655         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
656
657 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
658
659         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
660         nestings
661
662 2003-11-04  André Pönitz  <poenitz@gmx.net>
663
664         * cursor.[Ch]: restructure
665
666         * BufferView.[Ch]:
667         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
668
669         * iterators.[Ch] (asCursor): remove
670
671         * lfuns.h: remove LFUN_INSET_EDIT
672
673         * lyxfunc.C:
674         * tabular.C:
675         * text.C:
676         * text2.C:
677         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
678
679 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
680
681         * lyxfind.[Ch]: complete overhaul
682         * BufferView_pimpl.C:
683         * lyxfunc.C: adjust
684         * paragraph.[Ch] (insert): add
685
686 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
687
688         * BufferView.[Ch]:
689         * lyxtext.h:
690         * text.C: remove dead spellcheck code
691
692 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
693
694         * dispatchresult.h: add a val setter
695
696         * cursor.C (dispatch): use a tempvar for data_[i]
697
698 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
699
700         * PosIterator.[Ch]: compile fix
701
702 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
703
704         * text.C (cursorPar): deactivate the cursor cache
705
706 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
707
708         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
709
710 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
711
712         * text3.C (dispatch): adjust for new DisptchResult semantics.
713
714         * lyxfunc.C (dispatch): handle update when return from
715         Cursor::dispatch, adjust for new DispatchResult semantics.
716
717         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
718         DispatchResult(true) mean to not update. Add class functions for
719         setting dispatched and update, as well as reading.
720
721         * cursor.C (dispatch): don't handle update here
722
723 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
724
725         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
726         * trans_mgr.C: adjust
727
728         * paragraph_funcs.C (readParToken): exception safety
729
730         * lyxvc.h: store the vcs pointer in a scoped_ptr
731         * lyxvc.C: adjust
732
733         * lyxsocket.C (serverCallback): exception safety
734
735         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
736
737         * ispell.C (clone): make it return a auto_ptr
738
739         * factory.C (createInset): exception safety
740         (readInset): exception safety
741
742         * bufferlist.C (newBuffer): exception safety
743
744         * Thesaurus.C (Thesaurus): use initialization for aik_
745
746         * MenuBackend.C (expandToc): exception safety.
747
748 2003-11-03  André Pönitz  <poenitz@gmx.net>
749
750         * buffer.C:
751         * buffer.h:
752         * bufferview_funcs.C: remove getInsetFromId()
753
754         * lyxcursor.[Ch]:
755         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
756
757         * lyxfunc.C:
758         * text2.C:
759         * text3.C: adjust
760
761 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
762
763         * PosIterator.C (distance, advance): new
764         * bufferview_funcs.[Ch] (put_selection_at): new
765         * iterators.[Ch] (lockPath): new
766
767 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
768
769         * iterators.[Ch] (asPosIterator): added
770         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
771         * PosIterator.[Ch]: added
772
773 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
774
775         * text3.C:
776         * lyxfunc.C:
777         * cursor.C (dispatch):
778         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
779
780         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
781         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
782         contructor, add a class function dispatched. Remove operator>=
783
784 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
785
786         * debug.C: only use the default constructor for debugstream
787         (lyxerr) here.
788
789         * main.C (main): include debug.h and setup the lyxerr streambuf
790         here.
791
792 2003-10-31  José Matos  <jamatos@lyx.org>
793
794         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
795
796         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
797         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
798         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
799         * paragraph_pimpl.C (simpleTeXSpecialC):
800         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
801         add LatexRunParams argument.
802
803         * exporter.C (Export): change call accordingly.
804
805         * latexrunparams.h: add new member to take care of the other backends.
806 2003-10-30  José Matos  <jamatos@lyx.org>
807
808         * buffer.C (makeLinuxDocFile, makeDocBookFile):
809         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
810         factorise code for paragraph output.
811         * buffer.[Ch]:
812         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
813         move functions.
814
815 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * text3.C (dispatch):
818         * lyxfunc.C (dispatch):
819         * cursor.C (dispatch):
820         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
821
822         * dispatchresult.h: make the dispatch_result_t ctor explicit
823
824 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
825
826         * sgml.[Ch]:
827         * buffer.C: small refactoring of docbook stuff
828
829 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
830
831         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
832         meaning.
833
834 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
837         operator dispatch_result_t, and operators for == != and >=
838
839         * cursor.C (dispatch): adjust for operator dispatch_result_t
840         removal. comment out call to update
841
842         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
843
844 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
845
846         * text3.C:
847         * text2.C:
848         * text.C:
849         * lyxtext.h:
850         * lyxfunc.C:
851         * cursor.C:
852         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
853         (dispatch):
854
855         * dispatchresult.h: new file, DispatchResult broken out of
856         insets/insetbase.h
857
858         * Makefile.am (lyx_SOURCES): add dispatchresult.h
859
860 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
861
862         * text.C (rowBreakPoint): put a hack inside #if 0
863
864 2003-10-28  André Pönitz  <poenitz@gmx.net>
865
866         * lyxtext.h:
867         * metricsinfo.C:
868         * paragraph_funcs.C:
869         * rowpainter.C:
870         * text.C:
871         * text2.C: general cleanup (lots of small stuff)
872
873 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
874
875         * text2.C (cursorEnd): simple fix to the "end key goes to one
876         before the end on last row" bug
877
878 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
879
880         * text.C (backspace): fix the "zombie characters"
881
882 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
883
884         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
885
886 2003-10-27  André Pönitz  <poenitz@gmx.net>
887
888         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
889
890         * factory.C: handle new InsetPagebreak, InsetLine
891
892         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
893         and move handling into new InsetPagebreak, InsetLine
894
895         * BufferView_pimpl.C:
896         * LyXAction.C:
897         * ParagraphParameters.C:
898         * ParameterStruct.h:
899         * lyxfunc.C:
900         * lyxtext.h:
901         * paragraph.C:
902         * paragraph.h:
903         * paragraph_funcs.C:
904         * paragraph_pimpl.C:
905         * rowpainter.C:
906         * text.C:
907         * text2.C:
908         * text3.C: adjust
909
910 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
911
912         * text.C:
913         * lyxrow_funcs.[Ch]:
914         * Bidi.C:
915         * paragraph.C:
916         * lyxtext.h:
917         * rowpainter.C:
918         * text2.C:
919         * text3.C: remove lastPos uses in favour of Row::endpos
920
921 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
922
923         * undo.C (performUndoOrRedo): fix two crashes by setting a
924         cursor by hand and reordering some calls. Use bv->lockInset instead
925         of inset->edit because the latter loses cursor information
926
927 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
928
929         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
930         by Martin
931         (rowBreakPoint): fix width. change point to point + 1.
932         Add a missing check.
933
934 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
935
936         * MenuBackend.C:
937         * lyxfunc.C: fix (at least partly) the problems
938         with the Nav menu and headers inside branch insets
939         reported by Kayvan
940
941 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
942
943         * paragraph.C (getChar): add strong asserts
944
945         * lyxrow_funcs.C (lastPos): remove hideous hack
946
947         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
948         (fill): adjust to that (avoid an infinite loop)
949
950 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
951
952         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
953
954 2003-10-23  André Pönitz  <poenitz@gmx.net>
955
956         * RowList_fwd.h: change list<> to vector<> to gain speed
957         after suggestion from Alfredo
958
959 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
960
961         * lyxtext.h: move the bidi stuff from here...
962         * text.C: and here
963         * text2.C: and here
964         * Bidi.[Ch]: ... to here
965
966 2003-10-23  André Pönitz  <poenitz@gmx.net>
967
968         * lyxtext.h:
969         * text.C (isLastRow, isFirstRow): new functions
970
971         * paragraph.h: new width cache member
972
973         * rowpainter.C: replace RowList::iterator with Row & where possible
974
975         * lyxfunc.C: replace several view()->text with a single call
976
977         * toc.C: fix 'unused' warning
978
979 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
980
981         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
982         when woring with stream::pos_type
983         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
984
985 2003-10-22  André Pönitz  <poenitz@gmx.net>
986
987         * lyxtext.h:
988         * text.C: use Row & instead of RowList::iterator
989
990         * lyxrow.h: rename end() to endpos()
991
992         * rowpainter.C:
993         * text.C:
994         * text2.C: adjust
995
996 2003-10-22  Angus Leeming  <leeming@lyx.org>
997
998         * buffer.[Ch] (fully_loaded): new member function, returning true
999         only when the file has been loaded fully.
1000         Used to prevent the premature generation of previews and by the
1001         citation inset to prevent computation of the natbib-style label.
1002
1003         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1004         templates are all set up.
1005
1006         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1007
1008 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * text.C: fixed an "oops" in the "is a bit silly"
1011         bug fix
1012
1013 2003-10-21  André Pönitz  <poenitz@gmx.net>
1014
1015         * FuncStatus.[Ch]: small stuff, whitespace
1016
1017         * lyxfont.[Ch]: operator<<() for debug reasons
1018
1019         * lyxfunc.C:
1020         * lyxrow_funcs.C:
1021         * lyxtext.h: whitespace, spelling
1022
1023         * paragraph.C: naming of variables
1024
1025         * text.C:
1026         * text2.C: small stuff
1027
1028
1029 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * text.C: (1) finish off the inset display() work;
1032         (2) fix the "is a bit silly" bug (accessing char
1033         past end of par).
1034
1035 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1036
1037         * text.C: re-introduce display() for insets, fixing the
1038         various bugs (stretch of line above, math inset
1039         positioning, ...)
1040
1041 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * text.C (rightMargin): remove spurious semicolon
1044
1045         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1046         1415)
1047
1048 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * text3.C: fix one crash due to wrong cursor def
1051
1052 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1053
1054         * vc-backend.C (scanMaster): make the regex static
1055
1056         * LaTeX.C (scanAuxFile): make the regexs static
1057
1058         * text3.C (doInsertInset, dispatch, dispatch):
1059         * text2.C (cursorUp, cursorDown):
1060         * text.C (selectNextWordToSpellcheck):
1061         * BufferView_pimpl.C (dispatch):
1062         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1063
1064 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1065
1066         * lyxsocket.C: include <cerrno>
1067
1068 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1069
1070         * lyxfunc.C (dispatch): remove textcache stuff
1071
1072         * bufferlist.C (release): remove textcache stuff
1073         (closeAll): ditto
1074
1075         * TextCache.C: delete file
1076         * TextCache.h: delete file
1077
1078         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1079
1080         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1081         delete of the bv_->text.
1082         (resizeCurrentBuffer): remove texcache stuff
1083         (workAreaResize): ditto
1084
1085 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1086
1087         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1088         action.
1089
1090 2003-10-16  André Pönitz  <poenitz@gmx.net>
1091
1092         * lyxrow.[Ch]:
1093         * paragraph.h:
1094         * rowpainter.C:
1095         * text.C:
1096         * text2.C:
1097         * text3.C: speed up by storing y positions per paragraph plus per-row
1098         offset instead of having a 'full' y position in the row.
1099
1100 2003-10-15  André Pönitz  <poenitz@gmx.net>
1101
1102         * iterators.[Ch]:
1103         * iterators.[Ch]:
1104         * undo.[Ch]: make undo aware of inner insets
1105
1106 2003-10-14  Angus Leeming  <leeming@lyx.org>
1107
1108         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1109         static member functions LyX::ref() and LyX::cref.
1110         (lastfiles): new accessor functions for the new lastfiles_ member var.
1111         (addLyXView, views_): add a new LyXView to the list of views_.
1112         (updateInset): loop over all LyXViews to call their own updateInset
1113         member function, returning a pointer to the Buffer owning the inset.
1114
1115         * BufferView_pimpl.C (loadLyXFile):
1116         * MenuBackend.C (expandLastfiles):
1117         * bufferlist.C (MenuWrite, QuitLyX):
1118         lastfiles is no longer a global variable.
1119         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1120
1121         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1122         static function. Access through LyX::cref().emergencyCleanup().
1123
1124 2003-10-14  André Pönitz  <poenitz@gmx.net>
1125
1126         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1127
1128         * undo.[Ch]: restoring part of 'undo in insets'
1129
1130         * Makefile.am:
1131         * undo_funcs.[Ch]: merge with undo.[Ch]
1132
1133         * tabular.C: small cleansing stuff
1134
1135 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1136
1137         * paragraph_funcs.C (readParToken): report unknown insets as error
1138         boxes. Use the outer paragraph as location (also for unknown
1139         tokens).
1140
1141         * factory.C (readInset): do not abort on reading an unknown inset.
1142         Eat it and return 0.
1143
1144 2003-10-13  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1147
1148         * lyxrc.C: displayTranslator is now a function,
1149         declared in GraphicsTypes.h.
1150
1151 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1152
1153         * format.C: new placeholder $$a to pass the socket address.
1154
1155         * bufferlist.[Ch]: new function getBufferFromTmp.
1156
1157         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1158           files in the temporary dir.
1159
1160 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1161
1162         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1163
1164         * Makefile.am: add lyxsocket.[Ch].
1165
1166         * lyx_main.C (error_handler): handle SIGPIPE.
1167
1168 2003-10-13  André Pönitz  <poenitz@gmx.net>
1169
1170         * BufferView_pimpl.C:
1171         * lyxtext.h:
1172         * text.C:
1173         * text2.C:
1174         * text3.C:
1175         * undo_funcs.[Ch]: use paroffset_type instead of
1176           ParagraphList::iterators to prevent multiple conversion
1177           (and get a more robust interface)
1178
1179 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1180
1181         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1182         * lyxtext.h: ditto
1183         * text3.C (dispatch): ditto
1184
1185 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1186
1187         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1188         move the onlyfile, use onlyfile instead of foundfile in a couple
1189         of places.
1190
1191         * DepTable.C (update): flush the error stream a bit more
1192
1193 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * lyxserver.C (callback): adjust
1196
1197         * lyxfunc.C (getStatus): add a missing brace in commented code
1198         (ensureBufferClean): reindent
1199         (dispatch): delete version taking a string
1200
1201 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1202
1203         * LaTeX.C (deplog): move found file handlig from here...
1204         (handleFoundFile): .. to new function here.
1205         (deplog): make sure to discover several files mentioned on the
1206         same log line.
1207
1208 2003-10-10  André Pönitz  <poenitz@gmx.net>
1209
1210         * lyxfunc.C:
1211         * lyxtext.h:
1212         * tabular.C:
1213         * text.C:
1214         * text2.C:
1215         * text3.C: fix some of the tabular crashes
1216
1217 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1218
1219         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1220
1221         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1222
1223 2003-10-09  André Pönitz  <poenitz@gmx.net>
1224
1225         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1226
1227         * BufferView.C:
1228         * BufferView_pimpl.C:
1229         * bufferview_funcs.C:
1230         * lyx_cb.C:
1231         * lyxcursor.C:
1232         * lyxfind.C:
1233         * lyxfunc.C:
1234         * lyxtext.h:
1235         * text.C:
1236         * text2.C:
1237         * text3.C:
1238         * text_funcs.[Ch]:
1239         * textcursor.[Ch]:
1240         * undo_funcs.C: adjust
1241
1242 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1243
1244         * text2.C (incrementItemDepth): new function, use a backtracking
1245         algorithm to discover the correct item depth.
1246         (resetEnumCounterIfNeeded): new function, use a backtracking
1247         algorithm to discover if counter reset is needed.
1248         (setCounter): use them. Simplify a bit. Add different labels for
1249         different item depths for itemize.
1250
1251         * paragraph.C (Paragraph): remove initialization of enumdepth
1252         (operator=): ditto
1253
1254         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1255         enumerate and itemize. Change the type of itemdepth to signed char.
1256
1257 2003-10-08  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1260           thing assignable.
1261         * text.C:
1262         * text2.C: adjust
1263
1264         * tabular.[Ch]: fix crash after 'row-insert'
1265
1266 2003-10-08  Angus Leeming  <leeming@lyx.org>
1267
1268         Fix doxygen warnings.
1269
1270         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1271         Remove CutAndPaste:: prefix from header file declaration.
1272
1273         * LColor.h (fill): remove LColor:: prefix from declaration.
1274
1275         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1276         use lyx::depth_type rather than Paragraph::depth_type so that
1277         header file and .C file match.
1278
1279         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1280
1281         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1282         * aspell.C: \file aspell_local.C -> \file aspell.C
1283         * gettext.C: \file gettext.C -> \file src/gettext.C
1284         * gettext.h: \file gettext.h -> \file src/gettext.h
1285         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1286         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1287         * text.C: \file text.C -> \file src/text.C
1288
1289         * toc.C: move comment so that doxygen is not confused.
1290
1291 2003-10-07  Angus Leeming  <leeming@lyx.org>
1292
1293         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1294
1295 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1296
1297         * aspell.C:
1298         * aspell_local.h: add forgotten std::string's.
1299
1300 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1301
1302         * LaTeXFeatures.C:
1303         * LyXAction.C:
1304         * factory.C:
1305         * lfuns.h:
1306         * lyxfunc.C:
1307         * text3.C: The Box patch. Fancybox support, minipage, parbox
1308
1309 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1310
1311         * CutAndPaste.h:
1312         * DepTable.h:
1313         * FloatList.h:
1314         * LaTeXFeatures.h:
1315         * ParagraphParameters.h:
1316         * TextCache.h:
1317         * Thesaurus.h:
1318         * bufferlist.h:
1319         * exporter.h:
1320         * importer.h:
1321         * lastfiles.h:
1322         * lyxfind.h:
1323         * lyxfont.h:
1324         * lyxlex.h:
1325         * lyxtextclasslist.h:
1326         * messages.h:
1327         * paragraph.h:
1328         * paragraph_pimpl.C:
1329         * textcursor.h: add <string> and other small fixes to make Lars'
1330         std::string patch compile with STLport.
1331
1332 2003-10-06  Angus Leeming  <leeming@lyx.org>
1333
1334         * LColor.h: Add missing #include <string>.
1335
1336 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1337
1338         * All most all file in all subdirs: Make <string> be the prefered
1339         way of getting to std::string, add using declarations.
1340
1341 2003-10-06  André Pönitz  <poenitz@gmx.net>
1342
1343         * metricsinfo.C: initialize LyXFont before changing attribute.
1344         (fixes the 'math in \emph is upright' bug)
1345
1346 2003-10-06  André Pönitz  <poenitz@gmx.net>
1347
1348         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1349
1350 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1351
1352         * graph.C:
1353         * paragraph_pimpl.C: Small fixes to build using STLport
1354
1355 2003-10-02  André Pönitz  <poenitz@gmx.net>
1356
1357         * lyxfunc.C:
1358         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1359
1360 2003-10-01  André Pönitz  <poenitz@gmx.net>
1361
1362         * factory.C: assert early
1363
1364 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * lyx_main.C: remove the global debug object
1367
1368         * debug.h: adjust for new debugstream
1369
1370         * debug.C: adjust for new debugstream and keep the global debug
1371         object here.
1372
1373 2003-09-22  Angus Leeming  <leeming@lyx.org>
1374
1375         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1376         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1377         an incomplete class LyXFont.
1378
1379 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1380
1381         * factory.C: bug fix in branches
1382
1383 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1384
1385         * lyxfunc.C (processKeySym): adjust
1386         (dispatch): adjust
1387         (dispatch): change arg name from ev to func, adjust
1388         (sendDispatchMessage): ditto
1389
1390         * lyx_main.C (defaultKeyBindings): adjust keybindings
1391         (deadKeyBindings): ditto
1392
1393         * kbsequence.C (addkey): return a FuncRequest
1394
1395         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1396
1397         * kbmap.C (bind): take a FuncRequest as arg, adjust
1398         (read): adjust
1399         (lookup): adjust
1400         (defkey): change to take a FuncRequest as arg, adjust
1401         (findbinding): take a FuncRequest as arg, adjust.
1402
1403         * funcrequest.h (operator=): added
1404
1405         * funcrequest.C (FuncRequest): default kb_action changed from
1406         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1407
1408         * buffer.C (dispatch): simplify
1409         (dispatch): adjust to take a FuncRequest as arg, adjust
1410
1411         * boost.C (assertion_failed): change assertion message slightly
1412
1413         * ToolbarBackend.C (read): simplify
1414
1415         * MenuBackend.C (binding): adjust call to findbinding, add a
1416         message if no binding is found.
1417         (read): simplify
1418         (expandToc): correct by adding a empty FuncRequest
1419
1420         * LyXAction.C: include <boost/assert.hpp>
1421         (isPseudoAction): delete function
1422         (LookupFunc): change name to...
1423         (lookupFunc): this. change return type to FuncRequest.
1424         (getActionName): take kb_action as arg, simplify
1425         (funcHasFlag): add an assert, simplify.
1426
1427 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1428
1429         * toc.C (action): return a FuncRequest, simplify
1430
1431         * lyxfunc.C (processKeySym): adjust
1432         (getStatus): delete version that takes an int.
1433         (getStatus): adjust
1434         (dispatch): delete version that takes action as int
1435         (dispatch): adjust
1436         (sendDispatchMessage): simplify and adjust
1437
1438         * funcrequest.C (getArg): take unsigned int as arg
1439
1440         * ToolbarBackend.C (read): adjust
1441         (add): delete version that takes func as a string.
1442         (getIton): take a FuncRequest as arg
1443
1444         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1445         action.
1446
1447         * MenuBackend.C (MenuItem): add a new construct that only takes a
1448         Kind, simplify the constructor use for submenus.
1449         (add): adjust
1450         (expandLastfiles): adjust
1451         (expandDocuments): adjust
1452         (expandFormats): adjust
1453         (expandFloatListInsert): adjust
1454         (expandFloatInsert): adjust
1455         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1456
1457         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1458         Remove class variables lyx_pseudo_map and lyx_arg_map
1459
1460         * LyXAction.C (searchActionArg): delete function
1461         (getPseudoAction): delete function
1462         (retrieveActionArg): delete function
1463         (LookupFunc): make it return kb_action, simplify.
1464         (getActionName): simplify
1465
1466         * factory.C (createInset): fix new bug
1467
1468 2003-09-19  Angus Leeming  <leeming@lyx.org>
1469
1470         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1471         masterFilename_ parameter in the include inset.
1472
1473         * factory.C (createInset): changes due to the changes to InsetInclude.
1474
1475 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1476
1477         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1478
1479 2003-09-18  Angus Leeming  <leeming@lyx.org>
1480
1481         * buffer.C:
1482         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1483         Inset::fillWithBibKeys.
1484         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1485
1486 2003-09-18  Angus Leeming  <leeming@lyx.org>
1487
1488         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1489         variables.
1490         (ctor): pass and store a 'Buffer const &'
1491         (buffer): new member function.
1492
1493         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1494         '*this' to the LaTeXFeatures ctor.
1495
1496 2003-09-18  Angus Leeming  <leeming@lyx.org>
1497
1498         * LColor.h:
1499         * lyxfont.C:
1500         * lyxfont.h:
1501         * lyxtext.h:
1502         * text.C: rename EnumLColor as LColor_color.
1503
1504 2003-09-18  Angus Leeming  <leeming@lyx.org>
1505
1506         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1507         remove #include "insets/insetbase.h" from cursor.h.
1508
1509 2003-09-18  Angus Leeming  <leeming@lyx.org>
1510
1511         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1512         InsetOld_code to remove #include "inset.h".
1513
1514         * iterators.C: add #include "insets/inset.h"
1515
1516 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * BufferView.C: remove more locking stuff that apparently doesn't
1519         do anything sensible.
1520
1521 2003-09-16  André Pönitz  <poenitz@gmx.net>
1522
1523         * paragraph.[Ch]:
1524         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1525           performance boost.
1526
1527 2003-09-16  Angus Leeming  <leeming@lyx.org>
1528
1529         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1530
1531         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1532         arg/return type.
1533
1534         * paragraph.h: remove #include "lyxfont.h". Forward declare
1535         LyXFont_size.
1536
1537 2003-09-16  Angus Leeming  <leeming@lyx.org>
1538
1539         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1540         of support/textutils.h.
1541         (isWord): move the contents of support/textutils.h's IsWordChar here.
1542
1543         * buffer.C:
1544         * lyxfind.C:
1545         * rowpainter.C:
1546         * text.C:
1547         * text2.C: add #include "paragraph.h".
1548
1549         * rowpainter.C:
1550         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1551
1552 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1553
1554         * main.C:
1555         * lyx_main.C:
1556         * lyx_cb.C:
1557         * buffer.C:
1558         * LaTeX.C: use namespace alias for lyx::support::os
1559
1560 2003-09-16  Angus Leeming  <leeming@lyx.org>
1561
1562         * bufferparams.C:
1563         * bufferview_funcs.C:
1564         * factory.C:
1565         * lyxfunc.C:
1566         * paragraph_pimpl.C:
1567         * rowpainter.C:
1568         * text.C: add #include "LColor.h".
1569
1570 2003-09-16  Angus Leeming  <leeming@lyx.org>
1571
1572         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1573         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1574         return LyXFont &.
1575         Store the FontBits::color variable as an int rather than as an
1576         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1577         file.
1578
1579         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1580         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1581         string calls together.
1582
1583         * lyxrc.C: add #include "LColor.h".
1584
1585 2003-09-15  Angus Leeming  <leeming@lyx.org>
1586
1587         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1588         a cow_ptr.
1589
1590 2003-09-15  Angus Leeming  <leeming@lyx.org>
1591
1592         * LColor.h: add an EnumLColor wrapper for LColor::color.
1593
1594         * lyxfont.[Ch] (color, setColor, realColor):
1595         * lyxtext.h, text.C (backgroundColor):
1596         pass EnumLColor args to/from the functions, rather than LColor::color
1597         ones.
1598
1599         * lyxfont.h:
1600         * lyxtext.h: forward declare EnumLColor.
1601
1602         * lyx_main.C: add #include "LColor.h".
1603
1604 2003-09-15  Angus Leeming  <leeming@lyx.org>
1605
1606         * .cvsignore: add lyx-gtk.
1607
1608 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * Chktex.C
1611         * LaTeX.C
1612         * LaTeXFeatures.C
1613         * ParagraphParameters.C
1614         * Spacing.C
1615         * buffer.C
1616         * bufferparams.C
1617         * bufferview_funcs.C
1618         * chset.C
1619         * counters.C
1620         * funcrequest.C
1621         * lyxfont.C
1622         * lyxgluelength.C
1623         * lyxlength.C
1624         * paragraph.C
1625         * paragraph_funcs.C
1626         * text3.C
1627         * vc-backend.C: remove usage of STRCONV
1628
1629 2003-09-15  Angus Leeming  <leeming@lyx.org>
1630
1631         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1632         explicitly define the color passed to the painter.
1633
1634 2003-09-15  Angus Leeming  <leeming@lyx.org>
1635
1636         * bufferparams.C (BufferParams): reorder member initializers to avoid
1637         compiler warning.
1638
1639 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1640
1641         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1642         * text.C (updateRowPositions): remove an unusual nop
1643
1644 2003-09-12  André Pönitz  <poenitz@gmx.net>
1645
1646         * BufferView_pimpl.C:
1647         * Bullet.C:
1648         * layout.h:
1649         * lyxfunc.C:
1650         * lyxlayout.[Ch]:
1651         * lyxtextclass.C:
1652         * rowpainter.C:
1653         * text.C:
1654         * text2.C:
1655         * Counters.[Ch]: finish the 'automatic counters' job
1656
1657 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1658
1659         * aspell.C: include <boost/assert.cpp> (compile fix)
1660
1661 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1662
1663         * boost.C (assertion_failed): use lyx::support::abort instead of
1664         assert.
1665
1666 2003-09-10  Angus Leeming  <leeming@lyx.org>
1667
1668         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1669         with their _fwd progeny.
1670
1671 2003-09-09  Angus Leeming  <leeming@lyx.org>
1672
1673         134 files throughtout the source tree: replace 'using namespace abc;'
1674         directives with the appropriate 'using abc::xyz;' declarations.
1675
1676 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1677
1678         * boost.C (emergencyCleanup): moved here from LAssert.c
1679         (assertion_failed): new function, called by BOOST_ASSERT
1680
1681         * several files: change Assert to BOOST_ASSERT
1682
1683 2003-09-09  Angus Leeming  <leeming@lyx.org>
1684
1685         * buffer.[Ch]: Add an Impl class and move Buffer's member
1686         variables into it. As a result move several header files out of
1687         buffer.h.
1688
1689         Add header files to lots of .C files all over the tree as a result.
1690
1691 2003-09-09  Angus Leeming  <leeming@lyx.org>
1692
1693         * buffer.[Ch]: make Buffer's member variables private. Add
1694         accessor functions.
1695
1696         Lots of changes all over the tree as a result.
1697
1698 2003-09-08  Angus Leeming  <leeming@lyx.org>
1699
1700         * graph.C: #include <config.h>.
1701
1702 2003-09-08  Angus Leeming  <leeming@lyx.org>
1703
1704         * BranchList.C:
1705         * BufferView.C:
1706         * BufferView_pimpl.C:
1707         * CutAndPaste.C:
1708         * DepTable.C:
1709         * LaTeX.C:
1710         * LaTeXFeatures.C:
1711         * LyXAction.C:
1712         * MenuBackend.C:
1713         * TextCache.C:
1714         * aspell.C:
1715         * buffer.C:
1716         * bufferlist.C:
1717         * changes.C:
1718         * chset.C:
1719         * converter.C:
1720         * counters.C:
1721         * debug.C:
1722         * graph.C:
1723         * ispell.C:
1724         * lyx_cb.C:
1725         * lyxfind.C:
1726         * lyxfunc.C:
1727         * lyxlex_pimpl.C:
1728         * lyxrc.C:
1729         * lyxrow.C:
1730         * paragraph.C:
1731         * rowpainter.C:
1732         * texrow.C:
1733         * text.C:
1734         * text2.C:
1735         * toc.C: remove redundant using directives.
1736
1737 2003-09-07  Angus Leeming  <leeming@lyx.org>
1738
1739         * LaTeXFeatures.h: remove #include "support/types.h".
1740         * ToolbarBackend.h: remove #include <algorithm>.
1741         * changes.h: remove #include <ctime>.
1742         * debug.h: remove #include <iosfwd>.
1743         * graph.h: remove #include "support/std_string.h".
1744         * lyx_main.h: remove #include <csignal>.
1745         * lyxlex_pimpl.h: remove #include <fstream>.
1746         * sgml.h: remove #include <algorithm>, <utility>.
1747         * toc.h: remove #include "support/std_ostream.h".
1748         Add #include <iosfwd>.
1749
1750 2003-09-07  Angus Leeming  <leeming@lyx.org>
1751
1752         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1753
1754         * converter.h: forward declare LatexRunParams.
1755         * encoding.h: remove #include "lyxrc.h".
1756         * lyxtext.h: remove #include "LColor.h".
1757         * lyxtextclass.h: remove #include "support/types.h".
1758         * trans.h: remove #include "tex-accent.h".
1759         * trans_mgr.h: remove #include "tex-accent.h".
1760         * insets/inset.h: remove #include "support/types.h", <vector>.
1761         * insets/insetcollapsable.h: remove #include "LColor.h".
1762         * insets/insetinclude.h: remove #include "dimension.h".
1763         * insets/insetlatexaccent.h: remove #include "dimension.h".
1764         * insets/insetoptarg.h:: remove #include "insettext.h".
1765         * insets/insettext.h: remove #include "dimension.h",
1766         <boost/shared_ptr.hpp>
1767
1768         * insets/renderers.h: add #include "dimension.h".
1769         * insets/updatableinset.h: add #include "support/types.h".
1770
1771         * many .C files: Associated changes.
1772
1773 2003-09-06  Angus Leeming  <leeming@lyx.org>
1774
1775         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1776         one, inside testInvariant.
1777
1778         * PrinterParams.C: new file.
1779         * PrinterParams.[Ch]: move the function bodies out of line.
1780
1781 2003-09-06  Angus Leeming  <leeming@lyx.org>
1782
1783         * ParagraphParameters.h: forward declare ParameterStruct rather than
1784         including its header file.
1785         (depth): moved out-of-line.
1786
1787 2003-09-06  Angus Leeming  <leeming@lyx.org>
1788
1789         * BufferView_pimpl.h:
1790         * kbmap.h:
1791         * kbsequence.h:
1792         * lyxfunc.h: forward declare LyXKeySym rather than
1793         #include "frontends/LyXKeySym.h".
1794
1795         * BufferView_pimpl.C:
1796         * kbmap.C:
1797         * kbsequence.C:
1798         * lyxfunc.C: associated changes.
1799
1800 2003-09-06  Angus Leeming  <leeming@lyx.org>
1801
1802         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1803         As a result, can remove the #include "insets/inset.h" from BufferView.h
1804
1805 2003-09-06  Angus Leeming  <leeming@lyx.org>
1806
1807         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1808         As a result, can remove the #include "insets/inset.h" from BufferView.h
1809
1810 2003-09-06  Angus Leeming  <leeming@lyx.org>
1811
1812         * buffer_funcs.C:
1813         * buffer.h:
1814         * bufferlist.C:
1815         * BufferView.C:
1816         * bufferview_funcs.C:
1817         * BufferView_pimpl.C:
1818         * CutAndPaste.C:
1819         * lyx_cb.C:
1820         * lyxfunc.C:
1821         * paragraph.h:
1822         * ParagraphParameters.C:
1823         * tabular.C:
1824         * text3.C:
1825         * toc.C:
1826         * undo_funcs.C:
1827         * frontends/controllers/ControlDocument.C:
1828         * insets/insetcaption.C: rearrange the #includes into some sort of
1829         coherent order.
1830
1831         * buffer.h: remove #includes ErrorList.h, undo.h
1832
1833 2003-09-06  Angus Leeming  <leeming@lyx.org>
1834
1835         * support/types.h: add a 'depth_type' typedef, used to store the
1836         nesting depth of a paragraph.
1837
1838         * paragraph.h:
1839         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1840         defining explicitly.
1841
1842         * buffer.h:
1843         * paragraph_funcs.h:
1844         * ParagraphParameters.h:
1845         * sgml.h: use lyx::depth_type rather than Paragraph or
1846         ParameterStruct's depth_type.
1847
1848         * buffer.h
1849         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1850
1851         * BufferView.C:
1852         * BufferView_pimpl.C:
1853         * CutAndPaste.C:
1854         * ParagraphParameters.C:
1855         * buffer_funcs.C:
1856         * bufferlist.C:
1857         * bufferview_funcs.C:
1858         * lyx_cb.C:
1859         * lyxfunc.C:
1860         * tabular.C:
1861         * text3.C:
1862         * toc.C:
1863         * undo_funcs.C:
1864         * frontends/LyXView.C:
1865         * frontends/controllers/ControlDocument.C:
1866         * frontends/controllers/ControlErrorList.C:
1867         * insets/insetbibitem.C:
1868         * insets/insetbranch.C:
1869         * insets/insetcaption.C:
1870         * insets/insetcollapsable.C:
1871         * insets/insetenv.C:
1872         * insets/insetert.C:
1873         * insets/insetfloat.C:
1874         * insets/insetfoot.C:
1875         * insets/insetfootlike.C:
1876         * insets/insetnewline.C:
1877         * insets/insetquotes.C:
1878         * insets/insettabular.C:
1879         * insets/insettext.C:
1880         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1881
1882         * frontends/controllers/ControlChanges.C: #include "changes.h".
1883
1884 2003-09-06  Angus Leeming  <leeming@lyx.org>
1885
1886         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1887         than #including paragraph.h.
1888
1889         * ParagraphList.h:
1890         * RowList.h: deleted. Superfluous.
1891
1892         * CutAndPaste.h:
1893         * iterators.h:
1894         * lyxcursor.h:
1895         * lyxtext.h:
1896         * text_funcs.h:
1897         * undo.h:
1898         * undo_funcs.h:
1899         * insets/inset.h:
1900         * insets/insettext.h: use ParagraphList_fwd.h rather than
1901         ParagraphList.h.
1902
1903         * paragraph.h: don't forward declare ParagraphList.
1904
1905         * buffer.h:
1906         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1907         rather than ParagraphList.h. paragraph.h is still needed for the
1908         Paragraph::depth_type parameters.
1909
1910         * textcursor.h: enable it to compile stand-alone in light of the
1911         above changes.
1912
1913         * bufferview_funcs.C:
1914         * iterators.C:
1915         * lyxfunc.C:
1916         * lyxrow_funcs.C:
1917         * paragraph.C:
1918         * rowpainter.C:
1919         * text.C:
1920         * text2.C:
1921         * text3.C:
1922         * text_funcs.C:
1923         * textcursor.C:
1924         * undo.C:
1925         * frontends/controllers/ControlParagraph.C:
1926         * frontends/controllers/ControlTabular.C:
1927         * insets/insetmarginal.C:
1928         * insets/insetminipage.C:
1929         * insets/insetnote.C:
1930         * insets/insetoptarg.C: add header files needed to compile again.
1931
1932 2003-09-06  Angus Leeming  <leeming@lyx.org>
1933
1934         * RowList_fwd.h: new file, forward-declaring Row rather than
1935         #including lyxrow.h.
1936
1937         * lyxrow_funcs.h:
1938         * lyxtext.h:
1939         * paragraph.h:
1940         * insets/insettext.h: use it instead of RowList.h
1941
1942         * bufferview_funcs.C:
1943         * lyxfunc.C:
1944         * lyxrow_funcs.C:
1945         * paragraph.C:
1946         * rowpainter.C:
1947         * text.C:
1948         * text2.C:
1949         * text3.C: #include "RowList.h".
1950
1951 2003-09-05  Angus Leeming  <leeming@lyx.org>
1952
1953         * factory.C (createInset):
1954         * vspace.C (c-tor): replace sscanf call with an istringstream.
1955         * ispell.C: re-add missing HP/UX headers.
1956         * lyxserver.C: re-add missing  os2 headers.
1957
1958 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1959
1960         * BranchList.C:
1961         * graph.C:
1962         * ispell.C:
1963         * lastfiles.C:
1964         * lyx_cb.C:
1965         * lyxserver.C:
1966         * texrow.C:
1967         * text3.C: re-add missing system headers, needed for 2.95.2.
1968
1969 2003-09-05  Angus Leeming  <leeming@lyx.org>
1970
1971         Changes most place everywhere due to the removal of using directives
1972         from support/std_sstream.h.
1973
1974 2003-09-05  Angus Leeming  <leeming@lyx.org>
1975
1976         Replace LString.h with support/std_string.h,
1977         Lsstream.h with support/std_sstream.h,
1978         support/LIstream.h with support/std_istream.h,
1979         support/LOstream.h with support/std_ostream.h.
1980
1981         Changes resulting throughout the tree.
1982
1983 2003-09-05  Angus Leeming  <leeming@lyx.org>
1984
1985         * sgml.h: ensure that the header file can be compiled stand-alone.
1986         * *.C: strip out redundant #includes. (320 in total.)
1987
1988 2003-09-04  Angus Leeming  <leeming@lyx.org>
1989
1990         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1991         here (from getPackages).
1992
1993         * debug.[Ch]: add a new EXTERNAL tag.
1994
1995 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1996
1997         * text2.C (cursorEnd): simplify
1998         (setCursor): adjust
1999         (getColumnNearX): adjust
2000
2001         * text.C (computeBidiTables): adjust
2002         (fill): adjust
2003
2004         * rowpainter.C (paintChars): adjust
2005         (paintSelection): adjust
2006         (paintChangeBar): adjust
2007         (paintText): adjust
2008
2009         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2010         lastPos instead.
2011         (numberOfSeparators): adjust
2012
2013 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * LyXAction.C:
2016         * box.[Ch]:
2017         * lfuns.h:
2018         * lyxfunc.C:
2019         * text3.C: Restricts the mouse click functionality
2020         of insets like bibtex, include, toc and floatlist to the visible
2021         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2022         up the dialogs. Cursor has to be in front of the inset (i.e.
2023         start of row) for this to function.
2024
2025 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2026
2027         * bufferview_funcs.C (currentState): output row information
2028
2029 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2030
2031         * bufferview_funcs.C (currentState): output paragraph position
2032
2033 2003-09-04  Angus Leeming  <leeming@lyx.org>
2034
2035         * FloatList.h: move out #include "Floating.h".
2036         * LaTeX.h: move out #include "DepTable.h".
2037         * LyXAction.h: move out #include "funcrequest.h".
2038         * buffer.h: move out #include "author.h", "iterators.h".
2039         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2040         * lyx_main.h: move out #include "errorlist.h".
2041         * lyxfunc.h: move out #include "FuncStatus.h".
2042         * lyxtext: move out #include "lyxcursor.h".
2043         * paragraph_pimpl.h: move out #include "counters.h".
2044
2045 2003-09-03  Angus Leeming  <leeming@lyx.org>
2046
2047         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2048         preamble_snippets list, enabling us to add snippets to the preamble
2049         only if the snippet was not there already.
2050
2051 2003-09-04  Angus Leeming  <leeming@lyx.org>
2052
2053         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2054
2055 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2056
2057         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2058         update
2059
2060 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * BranchList.C: point fix, earlier forgotten
2063
2064 2003-09-02  Angus Leeming  <leeming@lyx.org>
2065
2066         * box.C (contains): renamed from 'contained' after a fantastic
2067         amount of hot air.
2068
2069 2003-09-02  John Levon  <levon@movementarian.org>
2070
2071         * BufferView.C:
2072         * lyxcursor.h:
2073         * lyxcursor.C:
2074         * lyxfunc.C:
2075         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2076
2077 2003-09-02  John Levon  <levon@movementarian.org>
2078
2079         * text2.C: simplification of cursorEnd(), including partial
2080         fix for bug 1376
2081
2082 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2083
2084         * buffer.C (readFile): add a space
2085
2086 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2089
2090 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * buffer.C (readFile): new function, take a filename and a
2093         ParagraphList::iterator
2094         (readFile): adjust
2095         (readFile): adjust, make it private. don't use setStream, make
2096         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2097         always contain the filename.
2098
2099         * BufferView.C (insertLyXFile): simplify and make it work for
2100         gzipped files.
2101
2102 2003-08-30  John Levon  <levon@movementarian.org>
2103
2104         * Makefile.am: fix dist (from Kayvan)
2105
2106 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2107
2108         * most files: change to use const Buffer refs
2109
2110 2003-08-27  André Pönitz  <poenitz@gmx.net>
2111
2112         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2113         on top of ownerPar().
2114
2115 2003-08-27  John Levon  <levon@movementarian.org>
2116
2117         * funcrequest.C: properly initialise POD members
2118
2119 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * lyxtext.h (top_y): move top_y from here
2122         * text.C:
2123         * text2.C:
2124         * text3.C:
2125         * BufferView.[Ch]:
2126         * BufferView_pimpl.[Ch]: to here
2127         * frontends/screen.C:
2128         * insets/insettabular.C:
2129         * insets/insettext.C: adjust
2130         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2131
2132 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * BufferView.[Ch]:
2135         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2136
2137 2003-08-26  André Pönitz  <poenitz@gmx.net>
2138
2139         * paragraph_func.[Ch] (outerPar): new function
2140
2141         * paragraph.C:
2142         * paragraph_funcs.C:
2143         * paragraph_funcs.h:
2144         * paragraph_pimpl.C:
2145         * text2.C: remove Inset::par_owner
2146
2147 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2148
2149         * lyxrow_funcs.C:
2150         * lyxtext.h:
2151         * text.C:
2152         * text2.C: eliminates the needFullRow/display() stuff
2153         altogether, putting the logic in metrics/draw in the insets.
2154
2155 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2156
2157         * text2.C (redoParagraphInternal, redoParagraphs):
2158         * text.C (redoParagraph): add a call to updateRowPositions at the
2159         end of each 'metrics-like' call. Remove all others.
2160         (getRow): remove the 'y-computing' version.
2161         (getRowNearY): do not compute nor return the real y. Solve the
2162         'y < 0' problem and simplify.
2163
2164 2003-08-22  Angus Leeming  <leeming@lyx.org>
2165
2166         * *.[Ch]: clean-up of licence and author blurbs.
2167         Also move config.h out of a few .h files and into a few .C files.
2168
2169 2003-08-22  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxrow.[Ch]: add x_ and *fill_ members
2172
2173         * lyxtext.h:
2174         * text.C:
2175         * rowpainter.C:
2176         * text2.C: adjust/remove prepareToPrint() calls
2177
2178 2003-08-22  André Pönitz  <poenitz@gmx.net>
2179
2180         * lyxrow.[Ch]: add  end_ member
2181
2182         * lyxrow_funcs.C: use LyXRow::end_
2183
2184         * lyxtext.h (singleWidth): add LyXFont parameter
2185
2186         * rowpainter.C:
2187         * text2.C: adjust LyXText::singleWidth() calls
2188
2189         * text.C (redoParagraph): simplify row breaking logic
2190
2191
2192 2003-08-19  André Pönitz  <poenitz@gmx.net>
2193
2194         * funcrequest.C: initialize button_ member
2195
2196         * text3.C:
2197         * rowpainter.[Ch]: interface consolidation
2198
2199 2003-08-18  André Pönitz  <poenitz@gmx.net>
2200
2201         * BufferView.C:
2202         * BufferView_pimpl.C:
2203         * lyxfind.C:
2204         * paragraph_funcs.C:
2205         * rowpainter.C:
2206         * text3.C: remove LyXScreen::draw() and fitCursor calls
2207
2208         * BranchList.h: remove spurious semicolons
2209
2210         * MenuBackend.C: fix branchlist related crash
2211
2212 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2213
2214         * BranchList.[Ch]:
2215         * InsetList.[Ch]:
2216         * LColor.[Ch]:
2217         * LyXAction.C:
2218         * Makefile.am:
2219         * MenuBackend.[Ch]:
2220         * bufferparams.[Ch]:
2221         * factory.C:
2222         * lfuns.h:
2223         * lyxfunc.C:
2224         * text3.C: implements the 'branch inset'
2225         idea. This allows the output of various versions of a document
2226         from a single source version, selectively outputing or suppressing
2227         output of parts of the text.
2228         This implementation contains a 'branch list editor' in a separate
2229         tab of the document settings dialog. Branches are user definable
2230         and have a "display colour" to distinguish them on-screen.
2231
2232         ColorHandler was somewhat cleaned up.
2233         (1) make possible a dynamically growing LColor list by allowing
2234         the graphic context cache to grow along (vector);
2235         (2) eliminate an IMHO unnecessary step in colour allocation.
2236
2237 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2238
2239         * BufferView_pimpl.C: compile fix
2240
2241 2003-08-15  André Pönitz  <poenitz@gmx.net>
2242
2243         * rowpainter.C: remove extra metrics calls
2244
2245         * lyxtext.h: merge the two constructors into a single one,
2246           pass reference to owner's par list
2247
2248         * BufferView_pimpl.C:
2249         * text.C:
2250         * text2.C: adjust
2251
2252 2003-08-15  André Pönitz  <poenitz@gmx.net>
2253
2254         * lyxrow_funcs.[Ch]:
2255         * lyxtext.h:
2256         * paragraph.h:
2257         * paragraph_funcs.C:
2258         * rowpainter.C:
2259         * text.C:
2260         * text2.C:
2261         * text3.C:
2262         * text_funcs.C: split LyXText::rowlist_ into individual
2263         Paragraph::rows_ chunks
2264
2265         * BufferView.[Ch]:
2266         * BufferView_pimpl.[Ch]:
2267         * lyxfind.C:
2268         * lyxtext.h:
2269         * text3.C: remove toggleSelection()
2270
2271 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2272
2273         * bufferlist.C: beautify two alerts (shorter text of buttons)
2274         * buffer.C: Remove redundant ' ' from message
2275         * tabular.h:
2276         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2277         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2278         rename VALIGN_CENTER to VALIGN_MIDDLE
2279
2280 2003-08-11  André Pönitz  <poenitz@gmx.net>
2281
2282         * lyxtext.h (getPar):
2283         * text.C: new function
2284
2285 2003-08-11  André Pönitz  <poenitz@gmx.net>
2286
2287         * Makefile.am:
2288         * tracer.[Ch]: remove unneeded files
2289
2290         * InsetList.[Ch]: remove resizeInsetsLyXText()
2291
2292         * lyxtext.h:
2293         * text.C:
2294         * text2.C:
2295         * text3.C: merge insertParagraphs() and appendParagraph()
2296         remove breakAgain(), update()
2297
2298         * BufferView_pimpl.[Ch]:
2299         * bufferview_funcs.[Ch]:
2300         * lyxfunc.C:
2301         * paragraph.[Ch]:
2302         * rowpainter.C:
2303         * tabular.C: adjust after text & InsetList changes.
2304
2305 2003-08-08  André Pönitz  <poenitz@gmx.net>
2306
2307         * text.C (insertChar, backspace): replace rowlist fiddling
2308         with rebreak of full par
2309
2310         * lyxtext.h:
2311         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2312         checkParagraph, updateInset): removed
2313
2314 2003-08-07  André Pönitz  <poenitz@gmx.net>
2315
2316         * paragraph.C:
2317         * text3.C: merge some LFUN handlers, remove dead code
2318
2319 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2322
2323 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2324
2325         * text2.C (DEPM): fix part of bug 1255 and 1256
2326
2327 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2328
2329         * BufferView_pimpl.C (workAreaDispatch): change to use
2330         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2331         that are no mouse related.
2332
2333 2003-08-05  André Pönitz  <poenitz@gmx.net>
2334
2335         * BufferView.[Ch]:
2336         * BufferView_pimpl.[Ch]:
2337         * bufferview_funcs.C:
2338         * text2.C:
2339         * text3.C: rip out "deep update"
2340
2341         * textcursor.[Ch] (last_sel_cursor): remove unused member
2342
2343 2003-08-04  André Pönitz  <poenitz@gmx.net>
2344
2345         * BufferView.[Ch]:
2346         * BufferView_pimpl.[Ch]:
2347         * ParagraphParameters.C:
2348         * bufferview_funcs.C:
2349         * lyx_cb.C:
2350         * lyxfind.C:
2351         * lyxfunc.C:
2352         * text.C:
2353         * text2.C:
2354         * text3.C: replace "complicated" BufferView::update(...) calls with
2355         simpler ones.
2356
2357         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2358
2359 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2360
2361         * Makefile.am (lyx_SOURCES): add paper.h
2362
2363 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2364
2365         * Makefile.am: move things around so that both lyx-qt and
2366         lyx-xforms can be built (according to --with-frontend). Then lyx
2367         is a symbolic link to lyx-[firstfrontend]
2368
2369 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2370
2371         * Always use std::endl with lyxerr
2372
2373 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2374
2375         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2376
2377 2003-08-01  André Pönitz  <poenitz@gmx.net>
2378
2379         * BufferView.[Ch]:
2380         * BufferView_pimpl.[Ch]:
2381         * lyxfunc.C:
2382         * text3.C: merge BufferView::repaint() and BufferView::update()
2383
2384 2003-08-01  José Matos  <jamatos@lyx.org>
2385
2386         * buffer.[Ch]: file_format is no longer a buffer data element.
2387
2388 2003-08-01  André Pönitz  <poenitz@gmx.net>
2389
2390         * BufferView.C:
2391         * lyxtext.h:
2392         * text.C:
2393         * text2.C: make redoParagraph more independent of current cursor
2394
2395         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2396         * text.C:
2397         * text2.C: remove unneeded members
2398
2399 2003-07-30  André Pönitz  <poenitz@gmx.net>
2400
2401         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2402
2403         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2404           create a single function...
2405
2406         * paragraph_funcs.C (moveItem): ... here.
2407
2408         * text.C:
2409           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2410
2411 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2412
2413         * LColor.[Ch]: Add comment and greyedout logical colors.
2414
2415 2003-07-30  André Pönitz  <poenitz@gmx.net>
2416
2417         * tabular.C: don't use Assert too heavily. This crashes where it
2418           shouldn't
2419
2420 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2421
2422         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2423         is disabled (bug 1232)
2424
2425 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2426
2427         * factory.C: limited 'arg' scope
2428
2429 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2430
2431         * factory.C: fixed Note submenu issues
2432
2433 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2434
2435         * factory.C: submenu for Note/Comment/Greyedout
2436
2437 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * lyx_main.C (LyX):
2440         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2441
2442 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2443
2444         * LaTeXFeatures.C:
2445         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2446         greyedout. Patch provided by Jürgen Spitzmüller.
2447
2448 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2449
2450         * kbmap.C (read): fix error message when reading bind files
2451
2452 2003-07-29  Angus Leeming  <leeming@lyx.org>
2453
2454         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2455         certainly does not do what it purports to do. I am doing it, and
2456         us, a favour by killing it.
2457
2458 2003-07-28  José Matos  <jamatos@lyx.org>
2459
2460         * buffer.C (readBody, do_writeFile):
2461         * paragraph.C(readParagraph): \end_document replaces \the_end.
2462
2463 2003-07-29  André Pönitz  <poenitz@gmx.net>
2464
2465         * BufferView.[Ch]:
2466         * BufferView_pimpl.[Ch]:
2467         * lyxfunc.C:
2468         * text2.C:
2469         * text3.C:
2470         * textcursor.[Ch]: remove toggleToggle & Co
2471
2472 2003-07-28  José Matos  <jamatos@fep.up.pt>
2473
2474         * buffer.C (readParagraph):
2475         * params_func (readParToken, readParagraph):
2476         * paragraph.C (write): \layout -> \begin_layout.
2477
2478 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * lyxlex_pimpl.C (setFile): clean up slightly.
2481
2482         * bufferparams.h: add compressed var
2483
2484         * buffer_funcs.C (readFile): adjust for LyXLex change
2485         (newFile): ditto + simplify
2486
2487         * buffer.C (writeFile): handle writing of compressed files
2488
2489         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2490         Check if the file is compressed and set a bufferparm if so.
2491
2492         * Makefile.am (lyx_LDADD): remove explicit -lz
2493
2494 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2497         makeDocBookFile): put the real LyX version in the first line of
2498         the file
2499
2500         * version.h:
2501         * version.C.in: remove lyx_docversion
2502
2503         * tabular.C (write_attribute): add a template-based version to
2504         write enums properly
2505
2506 2003-07-28  André Pönitz  <poenitz@gmx.net>
2507
2508         * lyxtext.h:
2509         * text.C:
2510         * text2.C:
2511         * text3.C: use doubles again for x-coordinates. They are needed.
2512
2513 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * messages.C (getLocaleDir): use lyx_localedir()
2516
2517         * lyxlex_pimpl.C (setFile): compress stuff
2518
2519         * buffer.C (writeFile): add some compression stuff
2520         (do_writeFile): new func, dont call expliti close... will this
2521         breake anything?
2522
2523         * Makefile.am (lyx_LDADD): add -lz
2524
2525 2003-07-28  José Matos  <jamatos@fep.up.pt>
2526
2527         * buffer.C: increment file format.
2528         * paragraph_funcs (readParagraph, readParToken):
2529         * paragraph.C (readParagraph): add \end_layout.
2530
2531 2003-07-27  Angus Leeming  <leeming@lyx.org>
2532
2533         * Makefile.am: remove special casing for configure-time setting of
2534         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2535
2536         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2537         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2538
2539 2003-07-26  André Pönitz  <poenitz@gmx.net>
2540
2541         * paragraph_func.[Ch]:
2542         * paragraph.C (realizeFont): inline it whereever it is used
2543
2544         * rowpainter.C:
2545         * text.C:
2546         * text2.C:
2547         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2548
2549
2550 2003-07-26  André Pönitz  <poenitz@gmx.net>
2551
2552         *       lyxtext.h:
2553         * text.C:
2554         * text2.C: get rid of LyXText::need_break_row
2555
2556 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2557
2558         * toc.[Ch]: put namespace toc inside namespace lyx
2559
2560         * MenuBackend.C (expandToc2): adjust for lyx::toc
2561         (expandToc): ditto
2562
2563         * lyxfunc.C (dispatch): adjust for lyx::find
2564
2565         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2566         lyx::find instead. Reorganize a bit.
2567         (LyXReplace): rename to replace
2568         (LyXFind): rename to find
2569
2570         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2571         (dispatch): ditto
2572
2573 2003-07-26  André Pönitz  <poenitz@gmx.net>
2574
2575         * text.C (setHeightOfRow): restrict scope of temporary variable
2576
2577         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2578           code (never has been used?)
2579
2580 2003-07-27  Asger Alstrup  <alstrup@local>
2581
2582         * text.C (fill): Optimise algorithm to exploit that we can reuse
2583         the LyXFont for many characters.
2584         (setHeightOfRow): Same thing.
2585         (rowBreakPoint): Same thing.
2586
2587 2003-07-26  Asger Alstrup  <alstrup@local>
2588
2589         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2590
2591         * text.C (singleWidth): Spurious font copying in hot-spot
2592         singleWidth avoided. Reorder tests for arabic for efficiency.
2593
2594         * text.C (fill): handle empty paragraphs better.
2595
2596 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2597
2598         * ispell.C:
2599         * encoding.h: add includes
2600
2601         * lyxrc.C: remove reading of bind files
2602
2603         * lyx_main.C (init): setup bindings and menus only if we have a
2604         gui.
2605
2606         * kbmap.C (read): new method. Do the actual reading of bind
2607         files.
2608
2609         * converter.C (dvipdfm_options):
2610         * bufferparams.C:
2611         * lyxrc.C (read):
2612         (output): adapt PAPER_* enums.
2613
2614         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2615
2616         * bufferparams.h: remove paper-related enums from there
2617
2618         * paper.h: New file. A trivial header file to hold paper-related
2619         enums. It should later expand to contain many paper-related
2620         horrors access.
2621
2622         * lyxrc.C: declare extern displayTranslator
2623
2624 2003-07-27  José Matos  <jamatos@fep.up.pt>
2625
2626         * tabular.[Ch] (linuxdoc): add support for tables and figures
2627         (linuxdoc).
2628
2629 2003-07-27  José Matos  <jamatos@fep.up.pt>
2630
2631         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2632         consistency in both functions.
2633         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2634
2635 2003-07-26  Asger Alstrup  <alstrup@local>
2636
2637         * rowpainter.C (paintRows): Change algorithm to work directly on
2638         the insets rather than asking every character in the document
2639         whether its an inset.
2640
2641 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * buffer.C (openFileWrite): factorize some code
2644
2645 2003-07-26  Angus Leeming  <leeming@lyx.org>
2646
2647         * lyx_cb.C:
2648         * lyx_main.[Ch]: replace occurances of system_tempdir with
2649         os::getTmpDir().
2650
2651 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * rename Inset to InsetOld
2654
2655 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2656
2657         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2658         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2659         which I think is a bit clearer. EDIT is gone, since it was
2660         premature optimisation, and broken for mathed anyway.
2661         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2662         with cursor positioning in insets as well (math insets still do not
2663         work, but that's a different story anyway.) It mysteriously
2664         crashes sometimes with undo in the first paragraph, but I'm fairly
2665         confident that this is a compiler bug.
2666
2667 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2668
2669         * paragraph.C (Paragraph): adjust for new clone return type
2670         (operator==): ditto
2671         (copyIntoMinibuffer): ditto
2672
2673 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2674
2675         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2676         by not having a special case, and always doing a full rebreak of
2677         the document after undo.
2678
2679 2003-07-23  Angus Leeming  <leeming@lyx.org>
2680
2681         * factory.C (createInset): InsetExternal::setParams now takes a
2682         Buffer const * arg.
2683
2684 2003-07-23  Angus Leeming  <leeming@lyx.org>
2685
2686         * factory.C (createInset): changed interface to the external and
2687         graphics mailers' string2params functions.
2688
2689 2003-07-23  Angus Leeming  <leeming@lyx.org>
2690
2691         * factory.C (createInset): pass a
2692         Buffer const * parameter to InsetExternalMailer's string2params.
2693
2694 2003-07-22  John Levon  <levon@movementarian.org>
2695
2696         * Thesaurus.h: include the right aiksaurus header
2697
2698 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2699
2700         * MenuBackend.C (expand): check menu shortcuts unconditionally
2701
2702 2003-07-21  Angus Leeming  <leeming@lyx.org>
2703
2704         * factory.C (createInset): pass a
2705         buffer_path parameter to InsetGraphicsMailer's string2params.
2706
2707 2003-07-21  Angus Leeming  <leeming@lyx.org>
2708
2709         * BufferView_pimpl.C (buffer):
2710         * buffer.C (d-tor):
2711         * lyx_main.C (LyX):
2712         * lyxfunc.C (dispatch):
2713         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2714         rather than the grfx shortcut.
2715
2716 2003-07-21  André Pönitz  <poenitz@gmx.net>
2717
2718         * rowpainter.C: remove unused variables
2719
2720         * tabular_funcs.C:
2721         * tabular_funcs.h: move to tabular.C
2722         * Makefile.am: adjust
2723
2724         * tabular.[Ch]: basic optical cleaning
2725
2726         * author.h: pass references, not values
2727
2728 2003-07-18  André Pönitz  <poenitz@gmx.net>
2729
2730         * lyxtext.h:
2731         * metricsinfo.C:
2732         * metricsinfo.h:
2733         * rowpainter.C:
2734         * text.C:
2735         * text2.C:
2736         * text3.C: two-phase drawing for InsetText and InsetTabular
2737         some float -> int changes.
2738
2739 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * lyx_main.C: fix the fix
2742
2743 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * lyx_main.C: fix a crash in batch mode if no files specified
2746         * converter.C: ws
2747
2748 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * format.[Ch] (papersize): moved to BufferParams
2751         * converter.[Ch] (dvips_options): moved to BufferParams
2752         (dvipdfm_options): moved to anon namespace
2753         * bufferparams.[Ch]: added above functions.
2754
2755 2003-07-17  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxtext.h:
2758         * rowpainter.C:
2759         * text2.C: don't call inset->update() anymore
2760
2761         * metricsinfo.[Ch]: add convenience constructor
2762
2763 2003-07-16  André Pönitz  <poenitz@gmx.net>
2764
2765         * lyxcursor.[Ch]:
2766         * lyxfunc.[Ch]:
2767         * text.C:
2768         * text2.C: replace the LyXCursor::irow_ member with
2769          on-demand computation of the value
2770
2771 2003-07-16  John Levon  <levon@movementarian.org>
2772
2773         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2774
2775 2003-07-15  André Pönitz  <poenitz@gmx.net>
2776
2777         * text.C:
2778         * text2.C: remove no more needed refresh_row
2779
2780 2003-07-15  André Pönitz  <poenitz@gmx.net>
2781
2782         * lyxtext.h:
2783         * rowpainter.C:
2784         * text2.C:
2785         * text3.C: refresh_status tristate -> need_update bool
2786
2787 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * lyxtext.h (init): remove reinit argument (act as if always true)
2790         * text2.C: adjust to that
2791
2792 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2793
2794         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2795         * text3.C: use it to delete selections in some cases
2796         (bugs 441, 673, 702, 954).
2797
2798 2003-07-14  André Pönitz  <poenitz@gmx.net>
2799
2800         * rowpainter.[Ch]: reduce interface
2801
2802 2003-07-14  André Pönitz  <poenitz@gmx.net>
2803
2804         * BufferView_pimpl.C:
2805         * text2.C: adjust after removing unused BufferView * argument
2806
2807 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2808
2809         * text2.C (init): fix a crash fired on resize
2810
2811 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * buffer.[Ch]: added new closing signal
2814         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2815         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2816         BufferView::Pimpl via the closing the signal
2817
2818 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2819
2820         * buffer.[Ch]: take out all bv-related from buffer
2821         * BufferView.C:
2822         * BufferView_pimpl.[Ch]: connect to new signals
2823         * CutAndPaste.C: removed useless asserts
2824         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2825         * lyxvc.[Ch]:
2826         * vc-backend.[Ch]:
2827         * lyxfunc.C: moved view-related funciontality from vc here
2828         * paragraph.C: removed outdated comments
2829         * text.C: ws
2830
2831 2003-07-10  André Pönitz  <poenitz@gmx.net>
2832
2833         * BufferView_pimpl.C:
2834         * tabular.h:
2835         * tabular_funcs.C:
2836         * text.C:
2837         * text2.C: remove InsetText::InnerCache, clean up consequences
2838
2839 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2840
2841         * ispell.C: fix two typos in error messages
2842
2843 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2844
2845         * Extend Note inset to other forms of annotation like Comment
2846         and Greyedout. Right button click gives dialog.
2847
2848         Files modified or added (+):
2849
2850         * insetnote.[Ch]
2851         * FormNote.[Ch]      +
2852         * ControlNote.[Ch]   +
2853         * form_note.fd       +
2854         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2855         frontends/controllers
2856         * xforms/Dialogs.C
2857         * factory.C
2858
2859 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2860
2861         * aspell.C: add missing namespace lyx::support
2862
2863 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2864
2865         * BufferView.[Ch] (newFile): Add
2866         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2867         * LaTeX.[Ch] (message): added this signal and use it
2868         * buffer.[Ch] (busy, message): added these signals and use them
2869         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2870         * converter.C:
2871         * exporter.C:
2872         * format.C:
2873         * importer.C: use buffer signals instead of direct bv calling
2874         * lyx_cb.[Ch] (ShowMessage): removed
2875         * lyx_main.C:
2876         * lyxfunc.C:
2877         * paragraph_funcs.C:
2878         * text2.C: use buffer signals
2879
2880 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * introduce namespace lyx::graphics
2883
2884 2003-07-02  André Pönitz  <poenitz@gmx.net>
2885
2886         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2887
2888 2003-07-01  André Pönitz  <poenitz@gmx.net>
2889
2890         * text.C:
2891         * text2.C:
2892         * text3.C:
2893         * text_funcs.[Ch]:
2894         * textcursor.h:
2895         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2896           text*.C to text_func.C
2897
2898 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * introduce namespace lyx::support
2901
2902 2003-06-30  André Pönitz  <poenitz@gmx.net>
2903
2904         * Chktex.C:
2905         * funcrequest.C:
2906         * lyxtext.h:
2907         * text.C: re-enable --with-included-string
2908
2909 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * textcursor.C: add <config.h>
2912
2913         * text.C (getWord): remove const from word_location arg
2914
2915         * lyxvc.C (getLogFile): fix const type order
2916
2917         * lyxtext.h: remove const from word_location arg, add arg name
2918
2919         * lyxlayout.h: currect type on labeltype.
2920
2921         * importer.C: correct \file
2922
2923         * converter.C (intToFormat): use std:: on ret val, ws changes
2924
2925         * bufferlist.h: correct \file
2926
2927         * buffer.C (makeLinuxDocFile): fix const type order
2928         (makeDocBookFile): ditto
2929         (fillWithBibKeys): use std:: on stdlib args.
2930
2931         * CutAndPaste.C: fix authors.
2932         (availableSelections): use std:: on return vector
2933
2934 2003-06-27  André Pönitz  <poenitz@gmx.net>
2935
2936         * BufferView_pimpl.C:
2937         * bufferview_funcs.C:
2938         * lyxcursor.C:
2939         * lyxcursor.h:
2940         * lyxfunc.C:
2941         * lyxtext.h:
2942         * rowpainter.C:
2943         * text.C:
2944         * text2.C:
2945         * text3.C: remove LyXCursor::row_ member
2946
2947         * lyxtext.h:
2948         * text.C: rename fullRebreak() to partialRebreak() and implement
2949           a fullRebreak() that really bereks fully
2950
2951         * textcursor.h: new struct for cursor-related data
2952
2953 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * lyx_main.C (LyX): get full path of document loaded on the
2956         command line
2957
2958 2003-06-26  André Pönitz  <poenitz@gmx.net>
2959
2960         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2961           remove unused/broken operator>,<,>=.
2962
2963         *       text.C: remove only use of broken operator<= in an Assert().
2964
2965 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2966
2967         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2968         moved errorlist_.clear to showErrorList
2969
2970 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2971
2972         * converter.C (scanLog, runLaTeX):
2973         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2974         move the bv->showErrorList call to the callers
2975         * lyxfunc.C: i.e. here...
2976         * text2.C: and here
2977         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2978         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2979         namespace, the second to...
2980         * buffer_funcs (BufferFormat, parseErrors): added
2981         * errorlist.C (ErrorList(TeXErrors const &)): removed
2982
2983 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2984
2985         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2986
2987 2003-06-24  "Garst R. Reese" <reese@isn.net>
2988
2989         * debug.C: fix typo
2990
2991 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2992
2993         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2994
2995         * version.C.in: change docversion to 1.4
2996
2997 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * buffer.C: fix a bug just introduced
3000
3001 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * buffer.[Ch]: added the parseError signal and use it, removed
3004         sgmlError
3005         * BufferView.[Ch] (addError): moved to ...
3006         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3007         to the Buffer::parseError signal to catch (guess what) parse errors
3008         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3009
3010 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3011
3012         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3013         ability to create a buffer and to return an existing one from
3014         the list. Moved these functions to...
3015         * buffer_funcs.[Ch]: added
3016         * BufferView.[Ch] (loadLyXFile): added
3017         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3018         job removed from bufferlist::loadLyXFile.
3019         * buffer.C (setReadOnly): make it work without view
3020         (i.e added an if (users))
3021
3022 2003-06-19  Angus Leeming  <leeming@lyx.org>
3023
3024         * lfuns.h:
3025         * LyXAction.C (init):
3026         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3027         with LFUN_DIALOG_SHOW <name> <data>.
3028
3029 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3030
3031         * CutAndPaste.C (availableSelections): small compilation fix for
3032         ancient (gcc 2.9x) compilers
3033
3034 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3035
3036         * text3.C (cursorNext): add tmp var
3037
3038         * text2.C (updateCounters): for function calling out of for clause
3039         (replaceSelectionWithString): ditto
3040         (insertStringAsParagraphs): ditto
3041         (getColumnNearX): add tmp var
3042         (setCursorFromCoordinates): add tmp var
3043         (cursorDownParagraph): add tmp var
3044         (deleteEmptyParagraphMechanism): add tmp var
3045
3046         * text.C (insertChar): add tmp var
3047
3048         * rowpainter.C (paintDepthBar): add tmp var
3049
3050         * CutAndPaste.C (availableSelections): potentially check all
3051         paragraphs in a cut to fill the shown strings.
3052
3053 2003-06-18  André Pönitz  <poenitz@gmx.net>
3054
3055         * kbmap.[Ch]: use vector<> instead of list<>
3056
3057 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3058
3059         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3060         pasteSelection with index
3061
3062         * text2.C (pasteSelection): modify, call pasteSelection with index
3063
3064         * paragraph.C (asString): reimplement version with no interval to
3065         call the one with interval.
3066
3067         * lyxtext.h: add index arg to pasteSelection
3068
3069         * MenuBackend.C (MenuItem): handle PasteRecent
3070         (Menu::read::Menutags): add md_pasterecent
3071         (read): handle it
3072         (expandPasteRecent): new function
3073         (expand): use it
3074
3075         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3076
3077         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3078         the limited stack
3079         (availableSelections): new function
3080
3081 2003-06-17  Angus Leeming  <leeming@lyx.org>
3082
3083         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3084
3085 2003-06-17  Angus Leeming  <leeming@lyx.org>
3086
3087         * lfuns.h:
3088         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3089
3090         * lyxfunc.C (dispatch): invoke it.
3091
3092 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3093
3094         * iterators.C (operator++, ParPosition): reintroduce some
3095         const_cast for the benefit of older compilers.
3096
3097 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3098
3099         * text3.C (dispatch): do not modify clipboard when doing
3100         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3101         LFUN_DELETE_SKIP on a selection selection
3102
3103 2003-06-16  André Pönitz  <poenitz@gmx.net>
3104
3105         * BufferView.C:
3106         * buffer.C:
3107         * buffer.h:
3108         * paragraph.C:
3109         * tabular.[Ch]: IU of clone() and getLabelList();
3110
3111 2003-06-13  André Pönitz  <poenitz@gmx.net>
3112
3113         * tabular.h: compactification
3114
3115 2003-06-12  André Pönitz  <poenitz@gmx.net>
3116
3117         * tabular.C:
3118         * tabular.h:
3119         * tabular_funcs.h: some renaming plus whitespace
3120
3121 2003-06-12  André Pönitz  <poenitz@gmx.net>
3122
3123         * BufferView.C:
3124         * BufferView_pimpl.C:
3125         * CutAndPaste.C:
3126         * buffer.C:
3127         * iterators.[Ch]:
3128         * lyxfunc.C:
3129         * text.C:
3130         * toc.C: Return a Paragraph & for ParIterator::operator*()
3131
3132 2003-06-11  John Levon  <levon@movementarian.org>
3133
3134         * lyx_main.C:
3135         * ToolbarBackend.h:
3136         * ToolbarBackend.C: add "Toolbars" section and
3137         put the flags there
3138
3139 2003-06-10  Angus Leeming  <leeming@lyx.org>
3140
3141         * lfuns.h:
3142         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3143
3144         * lyxfunc.C (dispatch): invoke it.
3145
3146 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * main.C: protect <ios> with HAVE_IOS
3149         (main): protect sync_with_stdio with HAVE_IOS
3150
3151 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3152
3153         * text2.C (cutSelection): adjust
3154         (pasteSelection): adjust
3155
3156         * messages.C: handle get of empty string
3157
3158         * main.C (main): use sync_with_stdio(false)
3159
3160         * lyxfunc.C (dispatch): adjust
3161
3162         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3163         (WriteAs): remove unneeded BufferView arg.
3164
3165         * bufferparams.h: use correct types on papersize, papersize2 and
3166         paperpackage.
3167
3168         * bufferparams.C (readToken): adjust for type
3169         (writeLaTeX): add missing cases to switch.
3170
3171         * bufferlist.C (quitWriteBuffer): adjust
3172         (close): adjust
3173
3174         * buffer.C (asciiParagraph): remove some commented code.
3175
3176         * CutAndPaste.C: remove current_view extern variable.
3177         (cutSelection): add BufferParams arg.
3178         (eraseSelection): add BufferParams arg.
3179         (pasteSelection): add Buffer const & arg
3180
3181 2003-06-07  John Levon  <levon@movementarian.org>
3182
3183         * buffer.C:
3184         * paragraph_funcs.C:
3185         * paragraph_pimpl.C:
3186         * text.C:
3187         * text2.C:
3188         * paragraph.h:
3189         * paragraph.C: allow InsetERT to freely space lines,
3190         and some consolidation of code
3191
3192 2003-06-06  José Matos  <jamatos@fep.up.pt>
3193
3194         * buffer.C (makeDocBookFile): fix bug #821
3195
3196 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3199
3200 2003-06-04  Angus Leeming  <leeming@lyx.org>
3201
3202         * buffer.C: bump format to 224.
3203
3204 2003-06-05  André Pönitz  <poenitz@gmx.net>
3205
3206         * text2.C (redoParagraphs): remove two const_cast<>
3207
3208 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3209
3210         * ParagraphList.h: remove last remnants of NO_STD_LIST
3211
3212 2003-06-03  Angus Leeming  <leeming@lyx.org>
3213
3214         * factory.C (createInset): small change to the way InsetExternal's params
3215         are set.
3216
3217 2003-06-04  André Pönitz  <poenitz@gmx.net>
3218
3219         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3220
3221         * paragraph_pimpl.h:
3222         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3223
3224         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3225
3226         * undo_funcs.C: make some simple cases of undo work again
3227
3228 2003-06-03  John Levon  <levon@movementarian.org>
3229
3230         * ispell.C: HPUX doesn't have sys/select.h
3231         (from Albert Chin)
3232
3233 2003-06-03  John Levon  <levon@movementarian.org>
3234
3235         * CutAndPaste.C: update tabular and include inset
3236         buffer references
3237
3238         * buffer.h:
3239         * paragraph.h:
3240         * paragraph.C: remove owningBuffer(), don't pass Buffer
3241         to clone()
3242
3243         * factory.C: insetGraphicsParams changed
3244
3245 2003-06-02  John Levon  <levon@movementarian.org>
3246
3247         * LyXAction.C:
3248         * factory.C:
3249         * lfuns.h:
3250         * lyxfunc.C:
3251         * text3.C: remove insetparent
3252
3253 2003-06-02  John Levon  <levon@movementarian.org>
3254
3255         * buffer.h:
3256         * buffer.C: fix inset_iterator.end(), move out of line
3257         (bug 1149)
3258
3259 2003-06-01  John Levon  <levon@movementarian.org>
3260
3261         * text3.C: use a proper cut/paste when doing inset
3262         insert (from Jürgen Spitzmüller)
3263
3264 2003-06-01  John Levon  <levon@movementarian.org>
3265
3266         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3267
3268 2003-05-30  André Pönitz  <poenitz@gmx.net>
3269
3270         * rowpainter.C: unify second drawing phase
3271
3272 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * trans_mgr.C: remove one case of current_view
3275
3276         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3277
3278         * paragraph_funcs.h: remove paragraph.h include
3279
3280         * paragraph.h: delete NO_STD_LIST stuff
3281
3282         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3283
3284         * buffer.h: remove paragraph.h include
3285
3286         * ParagraphList.C: delete file
3287
3288         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3289
3290         * toc.C (getTocList): adjust
3291
3292         * paragraph_pimpl.C (validate): adjust
3293
3294         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3295
3296         * paragraph.C (Paragraph): adjust
3297         (getPositionOfInset): use const_iterator, adjust
3298         (bibitem): use const_iterator, adjust
3299         (setInsetOwner): adjust
3300
3301         * iterators.C (operator++): adjust
3302
3303         * InsetList.[Ch]: Replace selfmade iterator with standard
3304         vector::iterator also introduce const_iterator. Remove getPos,
3305         getInset and setInset from InsetTable. Adjust accordingly.
3306
3307         * BufferView.C (lockInset): adjust
3308         (ChangeInsets): adjust
3309
3310         * tabular.[Ch]: delete commented same_id functions
3311
3312 2003-05-28  John Levon  <levon@movementarian.org>
3313
3314         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3315
3316 2003-05-28  André Pönitz  <poenitz@gmx.net>
3317
3318         * metricsinfo.[Ch]: remove 'fullredraw' member
3319
3320 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3321
3322         * lyxtextclass.C (operator): remove caching.
3323
3324 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * text3.C: adjust
3327
3328         * text2.C (cursorBottom): adjust
3329         (setCounter): use ParagraphList::find, adjust
3330
3331         * text.C (workWidth): use ParagraphList::find, adjust
3332
3333         * lyxcursor.C (LyXCursor): adjust
3334
3335         * buffer.C (inset_iterator): adjust
3336
3337         * ParagraphList.h: make iterator(value_type) private, make
3338         ParagraphList a friend of iterator.
3339
3340         * ParagraphList.C (find): new function
3341
3342         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3343
3344 2003-05-27  André Pönitz  <poenitz@gmx.net>
3345
3346         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3347
3348 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3349
3350         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3351
3352 2003-05-26  John Levon  <levon@movementarian.org>
3353
3354         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3355
3356 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * remove same_id from function signatures, adjust.
3359
3360 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3363
3364         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3365
3366         * paragraph.C (Paragraph): get rid of same_ids parameter
3367
3368         * ParagraphList.C (insert): adjust
3369         (push_back): adjust
3370
3371 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * paragraph_funcs.C (breakParagraph): adjust
3374         (breakParagraphConservative): adjust
3375
3376         * buffer.C (readParagraph): adjust
3377
3378         * ParagraphList.C (insert): take a reference instead of a pointer
3379         (insert): adjust
3380
3381         * paragraph.[Ch] (id): new function
3382
3383         * bufferlist.C (newFile): adjust
3384
3385         * ParagraphList.C (ParagraphList): adjust
3386         (assign): adjust
3387         (push_back): take a reference instead of a pointer.
3388
3389         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3390
3391         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3392         instead.
3393
3394         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3395         set else use old code.
3396
3397         * ParagraphList.C: remove all NO_NEXT code and only compile this
3398         code of NO_STD_LIST is set.
3399
3400 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3401
3402         * BufferView_pimpl.C:
3403         * TextCache.C:
3404         * TextCache.h:
3405         * bufferlist.C:
3406         * errorlist.h:
3407         * format.C:
3408         * format.h:
3409         * graph.C:
3410         * lyxfunc.C:
3411         * lyxrc.C:
3412         * graphics/GraphicsConverter.C:
3413         * graphics/PreviewLoader.C: header adjustment
3414
3415 2003-05-23  Angus Leeming  <leeming@lyx.org>
3416
3417         * LaTeXFeatures.[Ch] (useBabel): new method.
3418         * bufferparams.C (writeLaTeX): use it.
3419
3420 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * ParagraphList.h (set): remove unused function.
3423
3424 2003-05-23  André Pönitz  <poenitz@gmx.net>
3425
3426         * BufferView.C:
3427         * BufferView_pimpl.C:
3428         * buffer.C:
3429         * buffer.h:
3430         * lyxfunc.C:
3431         * undo_funcs.C: setUndo reworked
3432
3433         * iterators.[Ch]: add access to topmost ParagraphList
3434
3435         * lyxtext.[Ch] (workWidth): add a const
3436
3437 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * texrow.[Ch] (increasePos): remove function
3440         * exporter.C (export): removed unused var and outdated comment
3441
3442 2003-05-23  Angus Leeming  <leeming@lyx.org>
3443
3444         * latexrunparams.h: rename fragile as moving_arg.
3445         * paragraph.C (simpleTeXOnePar): ditto.
3446         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3447
3448 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3451         (createUndo): ditto
3452         (textUndoOrRedo): comment out a currently unused var.
3453
3454         * paragraph.h (NO_NEXT): enable NO_NEXT
3455
3456         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3457
3458         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3459
3460         * exporter.C (Export): adjust for removeAutoInsets removal.
3461
3462         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3463
3464         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3465
3466         * BufferView.[Ch] (removeAutoInsets): delete function
3467
3468 2003-05-22  Angus Leeming  <leeming@lyx.org>
3469
3470         * latexrunparams.h: add a free_spacing variable.
3471
3472         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3473         to pass moving_arg, as the data is stored in runparams.fragile.
3474
3475         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3476         to Inset::latexOptional or to simpleTeXOnePar.
3477
3478         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3479         free_spacing arg to Inset::latexOptional.
3480
3481         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3482         free_spacing arg.
3483
3484 2003-05-22  Angus Leeming  <leeming@lyx.org>
3485
3486         * latexrunparams.h: add fragile and use_babel variables.
3487
3488         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3489         * buffer.C (makeLaTeXFile): store this returned value in
3490         runparams.use_babel, thus passing it to the inset::latex methods.
3491
3492         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3493         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3494
3495         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3496         longer has a fragile arg, as it is stored in runparams.fragile.
3497
3498         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3499         moving_arg parameter as the data is stored in runparams.fragile.
3500
3501         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3502         a fragile parameter as the data is stored in runparams.fragile.
3503
3504 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3505
3506         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3507
3508 2003-05-22  Angus Leeming  <leeming@lyx.org>
3509
3510         * latexrunparams.h: add a 'bool nice' which defaults to false.
3511
3512         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3513         now encapsulated within runparams.
3514
3515         * bufferlist.C (updateIncludedTeXfiles):
3516         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3517
3518 2003-05-22  Angus Leeming  <leeming@lyx.org>
3519
3520         * latexrunparams.h: new file containing struct LatexRunParams.
3521         * Makefile.am: add new file.
3522
3523         * LaTeX.[Ch] (c-tor, run):
3524         * buffer.[Ch] (makeLaTeXFile):
3525         * bufferlist.[Ch] (updateIncludedTeXfiles):
3526         * converter.C (convert, scanLog):
3527         * converter.[Ch] (runLaTeX):
3528         * exporter.C (Export):
3529         * paragraph.[Ch] (simpleTeXOnePar):
3530         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3531         * paragraph_funcs.[Ch] (latexParagraphs):
3532         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3533         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3534         pass around a LatexRunParams parameter.
3535
3536 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * paragraph.[Ch]: remove unused constructor
3539
3540         * ParagraphList.C (erase): new function, taking two iterators
3541
3542 2003-05-22  André Pönitz  <poenitz@gmx.net>
3543
3544         * undo_funcs.C: remove duplicated code
3545
3546         * iterator.[Ch]: operator=
3547
3548 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * tabular.C (SetMultiColumn): ws changes
3551
3552         * rowpainter.C (paintFirst): get rid of a ->previous
3553
3554         * lyx_cb.C (getPossibleLabel): parlist simplification
3555
3556         * BufferView.C (ChangeInsets): simplify slightly.
3557
3558 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3559
3560         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3561         * lfuns.h: new LFUN_SPACE
3562         * lyxfunc.C: protected space has a new lfun
3563         * paragraph_funcs.C: read new space insets
3564         * text3.C:
3565         * factory.C: handle new space insets
3566
3567 2003-05-22  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView.C:
3570         * BufferView_pimpl.C:
3571         * buffer.[Ch]:
3572         * lyxfunc.C:
3573         * undo_funcs.C: return a ParIterator from getParFromID.
3574
3575         * iterators.[Ch]: add two const's
3576
3577 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * toc.C (getTocList): adjust
3580
3581         * iterators.[Ch]: rework for parlist
3582
3583         * buffer.C (par_iterator_begin): adjust
3584         (par_iterator_end): adjust
3585
3586         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3587
3588         * BufferView.C (removeAutoInsets): adjust
3589         (ChangeInsets): adjust
3590
3591 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * text.C (top_y): fix bug 1110
3594
3595 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * errorlist.[Ch]: added
3598         * buffer.C:
3599         * BufferView.[Ch]:
3600         * BufferView_pimpl.C:
3601         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3602         instead
3603
3604 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * Makefile.am: ensure that lyx is relinked upon changes to the
3607         various "convenience" libs.
3608
3609 2003-05-20  Angus Leeming  <leeming@lyx.org>
3610
3611         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3612         files are compiled in alphabetical order again.
3613
3614         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3615
3616 2003-05-19  Angus Leeming  <leeming@lyx.org>
3617
3618         * gettext.[Ch]: remove "char const * _(char const *)".
3619
3620 2003-05-19  André Pönitz  <poenitz@gmx.net>
3621
3622         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3623
3624         * Makefile.am:
3625         * BufferView.C:
3626         * DepTable.h:
3627         * LaTeXFeatures.C:
3628         * buffer.C:
3629         * lyxfont.C:
3630         * lyxlex.h:
3631         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3632
3633 2003-05-19  André Pönitz  <poenitz@gmx.net>
3634
3635         * buffer.C:
3636         * lyxlayout.[Ch]:
3637         * lyxtextclass.[Ch]:
3638         * paragraph.C:
3639         * paragraph_funcs.[Ch]:
3640         * text2.C:
3641         * text3.C: more insetenv work
3642
3643 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3644
3645         * ParagraphParameters.C (params2string): small bug fixed
3646
3647 2003-05-16  André Pönitz  <poenitz@gmx.net>
3648
3649         * debug.C:
3650         * bufferview_funcs.C: patch from Kornel Benko to prevent
3651           crash when _(...) is called twice in a statement
3652
3653 2003-05-16  André Pönitz  <poenitz@gmx.net>
3654
3655         * BufferView.C:
3656         * lyxfunc.C:
3657         * text.C:
3658         * text2.C:
3659         * text3.C:
3660         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3661
3662 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * lyx_main.C (init): remove spurious static_cast
3665
3666 2003-05-14  André Pönitz  <poenitz@gmx.net>
3667
3668         * BufferView.C: fix format string
3669
3670 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3671
3672         * BufferView.[Ch] (insertErrors): removed
3673         * BufferView.[Ch] (showErrorList): added
3674         * buffer.C (runChkTeX):
3675         * converter.C (scanLog): call showErrorList instead of inserterrors
3676
3677 2003-05-13  André Pönitz  <poenitz@gmx.net>
3678
3679         * BufferView_pimpl.C:
3680         * buffer.C:
3681         * bufferview_func.C:
3682         * MenuBackend.C:
3683         * lyxfunc.C:
3684         * lyxrc.C:
3685         * tex-accent.C:
3686         * text3.C:
3687         * toc.C:
3688         * tabular_funcs.h: tostr() from its own header
3689
3690         * ParagraphParameters.C:
3691         * ToolbarBackend.C:
3692         * bufferparams.C:
3693         * format.C:
3694         * lyxlex_pimpl.C:
3695         * text3.C: STRCONV()
3696
3697 2003-05-12  André Pönitz  <poenitz@gmx.net>
3698
3699         * BufferView.C:
3700         * BufferView_pimpl.C:
3701         * CutAndPaste.C:
3702         * LaTeX.C:
3703         * LaTeXFeatures.C:
3704         * ParagraphParameters.C:
3705         * buffer.C:
3706         * bufferlist.C:
3707         * bufferparams.C:
3708         * bufferview_funcs.C:
3709         * converter.C:
3710         * counters.C:
3711         * debug.C:
3712         * exporter.C:
3713         * format.C:
3714         * importer.C:
3715         * lyx_cb.C:
3716         * lyx_main.C:
3717         * lyxfont.C:
3718         * lyxfunc.C:
3719         * lyxvc.C:
3720         * paragraph.C:
3721         * paragraph_funcs.C:
3722         * tabular.C:
3723         * tabular_funcs.C:
3724         * text2.C:
3725         * text3.C:  boost::format -> bformat  all over the place
3726
3727
3728 2003-05-09  André Pönitz  <poenitz@gmx.net>
3729
3730         * LColor.[Ch]: Pimpl the #include <map> away
3731
3732 2003-05-09  John Levon  <levon@movementarian.org>
3733
3734         * bufferlist.C: never remove emergency saves
3735
3736 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * Makefile.am: better lib building
3739
3740 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3741
3742         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3743         instead.
3744         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3745         (simpleTeXSpecialChars): adjust
3746         (simpleTeXSpecialChars): adjust
3747         * paragraph.C (simpleTeXOnePar): adjust
3748         * buffer.C (makeLaTeXFile): adjust
3749
3750         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3751
3752         * text2.C (changeDepth): parlist cleanup
3753         (getColumnNearX): ditto
3754
3755         * rowpainter.C (getLabelFont): parlist cleanup
3756
3757         * bufferlist.C (newFile): parlist cleanup
3758
3759         * CutAndPaste.C (eraseSelection): parlist cleanup
3760
3761         * BufferView_pimpl.C (trackChanges): parlist cleanup
3762         (dispatch): ditto
3763
3764         * BufferView.C (lockInset): parlist cleanup.
3765         (ChangeInsets): ditto
3766
3767 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * CutAndPaste.h: Update file header.
3770
3771         * CutAndPaste.C: Update file header.
3772         Store the parts cut out of the Document in a limited_stack.
3773         (copySelection): adjust
3774         (pasteSelection): new function, takes the index in the limited stack.
3775         (nrOfParagraphs): adjust
3776         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3777         simplify error inset insertion.
3778         (checkPastePossible): adjust
3779
3780 2003-05-06  John Levon  <levon@movementarian.org>
3781
3782         * text2.C: don't cast wrap inset to float
3783
3784 2003-05-05  André Pönitz  <poenitz@gmx.net>
3785
3786         * iterator.C:
3787         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3788
3789         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3790           few naked Paragraph *.
3791
3792 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3793
3794         * bufferparams.C: Output warning if a document with missing
3795         TeX document class is loaded
3796         * exporter.C: Disable TeX exports if the document class is missing
3797         * lyxtextclass.C:
3798         * lyxtextclass.h:
3799         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3800         isTeXClassAvailable()
3801
3802 2003-05-03  John Levon  <levon@movementarian.org>
3803
3804         * BufferView.h:
3805         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3806         explicit cursor show/hide
3807
3808         * BufferView_pimpl.h:
3809         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3810         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3811
3812         * lyxfunc.C: hide cursor before dispatching.
3813
3814         * lyx_cb.C:
3815         * lyxfind.C:
3816         * text.C:
3817         * text3.C: remove explicit cursor hides
3818
3819 2003-05-02  André Pönitz  <poenitz@gmx.net>
3820
3821         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3822
3823         * undo_funcs.C:
3824         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3825           linked lists
3826
3827         * text2.C: tiny whitespace
3828
3829 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * undo_funcs.C: almost only ws changes.
3832
3833         * ParagraphList.C (splice): just return if pl is empty.
3834
3835 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * ParagraphList.C (splice): new function.
3838
3839         * CutAndPaste.C (pasteSelection): use it
3840
3841 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * CutAndPaste.C (pasteSelection): remove the last next and
3844         previous from this file.
3845
3846 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * CutAndPaste.C (pasteSelection): more clean up, user proper
3849         ParagraphList functions for pasteing.
3850
3851         * ParagraphList.C (insert): new function, three arg insert
3852
3853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * ParagraphList.C (insert): new function, three arg insert
3856
3857         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3858         not on paragraphs.
3859
3860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3863
3864 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3867
3868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3871         (copySelection): clean up a bit.
3872         (pasteSelection): use make_pair
3873
3874         * ParagraphList.C (ParagraphList): implement copy constructor
3875         (operator=): implement, base on copy constructor.
3876         (assign): new func
3877
3878         * paragraph.C (erase): return a bool
3879
3880         * paragraph_pimpl.C (erasePos): remove function, move contents...
3881         (erase): ... here. Return a bool.
3882         (erase): call erase instead of erasePos.
3883
3884 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3885
3886         * ParagraphList.h: define PitPosPair
3887         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3888         ParagraphList, fix a bug on pasting multiple pars
3889         * text2.C: change interface to C&P
3890
3891 2003-04-30  André Pönitz  <poenitz@gmx.net>
3892
3893         * undo_func.C: revert part of yesterday's patch 2
3894
3895 2003-04-30  John Levon  <levon@movementarian.org>
3896
3897         * LColor.C: s/tabular/table/
3898
3899 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * text3.C (dispatch): do not convert iterator -> pointer
3902         * undo_funcs.C (setCursorParUndo): ditto
3903         * text_funcs.C (transposeChars): ditto
3904
3905         * text2.C (setLayout): ws changes only
3906
3907         * text.C (breakParagraph): do not convert iterator -> pointer
3908         (insertChar): ditto
3909         (acceptChange): ditto
3910         (rejectChange): ditto
3911         (changeCase): ditto
3912         (Delete): ditto
3913         (backspace): ditto
3914
3915         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3916         pointer
3917
3918 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * text3.C (gotoInset): YABG (yet another bad getChar)
3921
3922 2003-04-29  André Pönitz  <poenitz@gmx.net>
3923
3924         * paragraph.h: make operator= private unimplemented as long as
3925           it is unusable
3926
3927         * ParagraphList.C: whitespace
3928
3929         * paragraph.[Ch]:
3930         * paragraph_pimpl.[Ch]:
3931         * paragraph_funcs.C:
3932         * CutAndPaste.C:
3933         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3934
3935         * text2.C:
3936           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3937
3938 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3941         * paragraph.[Ch] (erase):
3942         * paragraph_pimpl.[Ch] (erase): change return type and value
3943         * text2.C (cutSelection): some rework
3944
3945 2003-04-28  John Levon  <levon@movementarian.org>
3946
3947         * bufferlist.C: changes for unsaved changes dialog
3948
3949 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * bufferlist.C (newFile): set language (messages_) for new
3952         documents also.
3953
3954         * buffer.C (readFile): ws changes only.
3955
3956 2003-04-28  André Pönitz  <poenitz@gmx.net>
3957
3958         * undo_funcs.C:
3959         * lyxfunc.C:
3960         * buffer.[Ch]:
3961         * BufferView_pimpl.C:
3962         * BufferView.C: getParFromID related ParagraphList::iterator changes
3963
3964 2003-04-28  André Pönitz  <poenitz@gmx.net>
3965
3966         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3967           Changes
3968
3969 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * messages.C: remove one more localedir class variable.
3972
3973 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * messages.C (getLocaleDir): singleton generation function
3976         (Pimpl): use it.
3977         (Messages): add a default constructor.
3978
3979         * main.C (main): do not setup localedir here, do not call
3980         gettext_init.
3981
3982         * gettext.C (_): use it.
3983         (gettext_init): delete funciton
3984
3985 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * gettext.C (getLyXMessages): new singleton generating function.
3988
3989         * buffer.C (updateDocLang): adjust
3990
3991         * Makefile.am (messages.o): add target
3992         (main.o): remove target
3993
3994 2003-04-27  John Levon  <levon@movementarian.org>
3995
3996         * bufferlist.C:
3997         * lyx_cb.C:
3998         * lyxfunc.C:
3999         * lyxvc.C: specify cancel button in Alert::prompt
4000
4001 2003-04-26  John Levon  <levon@movementarian.org>
4002
4003         * text3.C:
4004         * lyxfunc.C:
4005         * lfuns.h:
4006         * LyXAction.C: add LFUN_INSET_SETTINGS
4007
4008         * lyxfunc.C: don't enable tabular-feature when there's
4009         just any locking inset
4010
4011 2003-04-26  John Levon  <levon@movementarian.org>
4012
4013         * bufferlist.C: re-add Cancel to buffer close question
4014
4015         * lyxfunc.C: fix import UI a bit
4016
4017 2003-04-25  John Levon  <levon@movementarian.org>
4018
4019         * gettext.C: remove the broken asserts for now
4020
4021 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * messages.C: make case where setlocale cannot comply work better.
4024
4025         * buffer.C (updateDocLang): new function
4026         (changeLanguage): use it
4027         (readFile): use it
4028
4029         * text2.C (setCounter): use B_ a bit.
4030
4031         * lyxlayout.C (Read): be sure to trim the label strings.
4032
4033         * messages.C (Messages): fix typo in comment
4034
4035         * buffer.C (readFile): set message_ after file is loaded.
4036         (makeDocBookFile): remove double return
4037         (changeLanguage): reset message_ upon language change.
4038         (B_): new func, use this to get translated buffer strings.
4039
4040         * main.C: add myself and Jean Marc as authors.
4041
4042 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * messages.[hC]: pimplify Messages, and three different pimpls to be
4045         used in different circumstances.
4046
4047         * gettext.[Ch]: change for use with new message code.
4048
4049 2003-04-24 André Pönitz <poenitz@gmx.net>
4050
4051         * factory.C: support for eqref
4052
4053 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * messages.[Ch]: add missing char
4056
4057         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4058
4059         * messages.[Ch]: New files
4060
4061 2003-04-18  John Levon  <levon@movementarian.org>
4062
4063         * BufferView.h:
4064         * BufferView.C:
4065         * BufferView_pimpl.C:
4066         * lfuns.h:
4067         * LyXAction.C:
4068         * lyxtext.h:
4069         * text2.C: remove layout-copy/paste (bug 778)
4070
4071 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4074
4075 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4076
4077         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4078         if they succeed. Act accordingly.
4079
4080 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * text2.C (setCharFont): adjust
4083         (setCounter): adjust
4084         (insertStringAsLines): adjust
4085
4086         * text.C (leftMargin): adjust
4087         (setHeightOfRow): adjust
4088
4089         * rowpainter.C (paintFirst): adjust
4090         (paintLast): adjust
4091
4092         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4093         (outerHook): ditto
4094         (isFirstInSequence): ditto
4095         (getEndLabel): ditto
4096         (outerFont): adjust
4097
4098         * paragraph.C (getParLanguage): comment out some hard stuff.
4099
4100         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4101         (sgmlError): ditto
4102         (simpleDocBookOnePar): ditto
4103         (makeDocBookFile): use ParagraphList::iterator
4104
4105         * CutAndPaste.C (pasteSelection): adjust
4106
4107 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * text2.C (getFont): adjust
4110         (getLayoutFont): adjust
4111         (getLabelFont): adjust
4112
4113         * paragraph_funcs.C (TeXOnePar): adjust
4114
4115         * buffer.C (simpleLinuxDocOnePar): adjust
4116         (simpleDocBookOnePar): adjust
4117
4118         * CutAndPaste.C (pasteSelection): adjust
4119
4120         * BufferView.C (getEncoding): adjust
4121
4122         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4123
4124 2003-04-16  John Levon  <levon@movementarian.org>
4125
4126         * lyxfind.C: use parlist stuff for search/changes
4127
4128 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4131
4132         * text2.C (deleteEmptyParagraphMechanism): adjust
4133
4134         * text2.[Ch] (ownerParagraph): delete func (both of them
4135
4136 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4139
4140 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * ParagraphList.C: prepare for NO_NEXT
4143
4144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * text2.C (getFont): adjust
4147         (getLayoutFont): adjust
4148         (getLabelFont): adjust
4149
4150         * paragraph.C (getFont): adjust
4151         (getLabelFont): adjust
4152         (getLayoutFont): adjust
4153
4154         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4155
4156 2003-04-15  John Levon  <levon@movementarian.org>
4157
4158         From Angus Leeming
4159
4160         * lyx_main.C: handle Include in .ui files
4161
4162 2003-04-15  John Levon  <levon@movementarian.org>
4163
4164         * MenuBackend.C: make the doc files length shorter
4165
4166         * ToolbarBackend.h:
4167         * ToolbarBackend.C: handle toolbar placement flags,
4168         Minibuffer
4169
4170 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4173         adjust
4174
4175         * paragraph_funcs.C (TeXOnePar): adjust
4176
4177         * paragraph.C (getLabelFont): add outerfont arg, adjust
4178         (getLayoutFont): ditto
4179         (simpleTeXOnePar): adjust
4180
4181         * paragraph_pimpl.C (realizeFont): delete func
4182
4183 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4186         row argument, constify cur argument.
4187
4188 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text2.C (getFont): adjust
4191         (getLayoutFont): adjust
4192         (getLabelFont): adjust
4193
4194         * paragraph_funcs.C (TeXOnePar): adjust
4195         (outerFont): new func...
4196         (realizeFont): ...moved out from here, changed this to facilitate
4197         transition
4198
4199         * paragraph.C (getFont): take outerfont as arg, adjust
4200         (simpleTeXOnePar): add outerfont arg, adjust
4201
4202         * buffer.C (simpleLinuxDocOnePar): adjust
4203         (simpleDocBookOnePar): adjust
4204
4205         * CutAndPaste.C (pasteSelection): adjust
4206
4207         * BufferView.C (getEncoding): adjust
4208
4209 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * text2.C (setCharFont): adjust
4212         (setCounter): adjust
4213
4214         * text.C (leftMargin): adjust
4215         (setHeightOfRow): adjust
4216
4217         * rowpainter.C (paintFirst): adjust
4218         (paintLast): adjust
4219
4220         * paragraph_pimpl.C (realizeFont): adjust
4221
4222         * paragraph.C (isFirstInSequence): move from here...
4223         * paragraph_funcs.C (isFirstInSequence): ...to here
4224
4225         * paragraph.C (outerHook): move from here...
4226         * paragraph_funcs.C (outerHook): ...to here
4227
4228         * paragraph.C (depthHook): move from here...
4229         * paragraph_funcs.C (depthHook): ...to here
4230
4231         * paragraph.C (getEndLabel): move from here...
4232         * paragraph_funcs.C (getEndLabel): ...to here
4233
4234         * text2.C (realizeFont): move from here...
4235         * paragraph_funcs.C (realizeFont): ...to here
4236
4237 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4240
4241 2003-04-14  Angus Leeming  <leeming@lyx.org>
4242
4243         * LColor.[Ch]: scrap LColor mathcursor.
4244
4245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * lyxlex.[Ch] (text): delete function
4248         * trans.C (Load): adjust
4249         * paragraph_funcs.C (readParToken): adjust
4250
4251 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4254         vector<char> instead of a char[].
4255
4256         * lyxlex_pimpl.C (getString): adjust
4257         (next): adjust
4258         (lex): use getString
4259         (eatLine): adjust
4260         (nextToken): adjust
4261
4262         * lyxlex.C (text): use pimpl_->getString()
4263         (getBool): ditto
4264         (findToken): ditto
4265
4266 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4269         (makeFontEntriesLayoutSpecific): temp var for par.size()
4270         (setLayout): temp var for ownerParagraphs().end()
4271         (fullRebreak): temp var for rows().end()
4272         (selectionAsString): temp var for boost::next(startpit), realize
4273         that the while really is a regular for loop.
4274         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4275         setCursor in one place.
4276         (setParagraph): temp vr for ownerParagraphs().end()
4277         (updateCounters): make the while loop a for loop
4278         (cutSelection): temp var for ownerParagraphs().end()
4279         (updateInset): make the do {} while() a regular for loop
4280         (getCursorX): use temp vars
4281         (setCurrentFont): use temp vars
4282         (getColumnNearX): use temp vars
4283
4284 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * text.C (transformChar): use temp var for getChar
4287         (computeBidiTables): use temp var for row->par()
4288         (fill): move temp vars for row->par() and pit->layout() earlier in
4289         the function.
4290         (labelFill): use temp var for row->par()
4291         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4292         asc and desc, realize that pit never changes and that firstpit is
4293         just a duplicate and not needed. Exchange rit->par() with pit in a
4294         lot of places.
4295         (breakAgain): use a temp var for boost::next(rit)
4296         (breakAgainOneRow): ditto
4297         (breakParagraph): use a temp var for rows().begin()
4298         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4299         (cursorRightOneWord): use temp var for cursor.par() and
4300         cursor.pos(), remove usage of tmpcursor.
4301         (cursorLeftOneWord): use temp var for cursor.par() and
4302         cursor.pos() only set cur at end of function.
4303
4304 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * text.C, text2.C: exchange all usage of Paragraph::next with
4307         boost::next(ParagraphList::iterator)
4308
4309         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4310
4311         * text2.C (cursorTop): simplify implementation
4312         (cursorBottom): ditto
4313         (setParagraph): use ParagraphList::iterator
4314         (setCurrentFont): adjust
4315         (getColumnNearX): adjust
4316         (cursorRight): adjust
4317         (cursorLeft): remove usage of Paragraph::previous
4318         (cursorUpParagraph): ditto
4319         (deleteEmptyParagraphMechanism): slight cleanup
4320
4321         * text.C (isBoundary): take a Paragraph const & instead of a
4322         pointer as arg.
4323         (addressBreakPoint): ditto
4324         (leftMargin): remove usage of Paragraph::previous.
4325         (setHeightOfRow): ditto
4326         (cursorLeftOneWord): ditto
4327         (selectNextWordToSpellcheck): ditto
4328         (Delete): ditto
4329         (backspace): ditto
4330         (breakParagraph): remove one usage of Paragraph::next
4331         (redoParagraph): ditto
4332         (acceptChange): ditto
4333         (insertChar): adjust
4334         (rowBreakPoint): adjust
4335
4336         * bufferview_funcs.C (toggleAndShow): adjust
4337
4338 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4339
4340         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4341         methods to access it.
4342         * lyxtext.h:
4343         * text.C: Added updateRowPositions to compute all row positions.
4344         Make top_y and getRowNearY() to use the cached y position
4345
4346 2003-04-11  John Levon  <levon@movementarian.org>
4347
4348         * text.C (rowBreakPoint): reintroduce the labelEnd
4349         checks, code copied from the row fill stuff. Deep voodoo.
4350
4351         * text.C (fill): add a comment and debugging for the
4352         next poor soul.
4353
4354 2003-04-11  John Levon  <levon@movementarian.org>
4355
4356         * text.C: make sure fullrow insets get wrapped to the next line,
4357         even when they're in a manual label
4358
4359 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * text2.C (insertParagraph): make it take ParagraphList::iterator
4362         as arg.
4363         (setLayout): make it return ParagraphList::iterator
4364         (redoParagraphs): ditto
4365         (setCounter): ditto
4366         (checkParagraph): ditto
4367
4368         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4369
4370         * text2.C: adjust several funcs.
4371         (realizeFont): take a ParagraphList::iterator as arg.
4372         (getLayoutFont): ditto
4373         (getLabelFont): ditto
4374         (setCharFont): ditto
4375
4376         * text.C: adjust several funcs.
4377
4378 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4379
4380         * text.C (selectNextWordToSpellcheck): don't accidentally
4381         skip insets
4382
4383 2003-04-10  John Levon  <levon@movementarian.org>
4384
4385         * ToolbarBackend.C (getIcon): special handling for
4386         LFUN_MATH_DELIM
4387
4388 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * text2.C (cursorRight): a getChar assert fixed
4391
4392 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * text2.C (getFont): change to take a ParagraphList::iterator
4395         instead of Paragraph*
4396         Adjust several functions.
4397
4398         * text.C (transformChar): change to take a ParagraphList::iterator
4399         instead of Paragraph*
4400         (singleWidth): ditto
4401         Adjust several functions.
4402
4403         * rowpainter.C: adjust several functions
4404         * rowpainter.h:store a ParagraphList::iterator and not a
4405         Paragraph&.
4406
4407
4408 2003-04-09  John Levon  <levon@movementarian.org>
4409
4410         * lyxfunc.C:
4411         * lfuns.h:
4412         * LyXAction.h:
4413         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4414         and the "help" bits as well
4415
4416 2003-04-09  John Levon  <levon@movementarian.org>
4417
4418         * ToolbarBackend.h:
4419         * ToolbarBackend.C: allow multiple toolbars
4420
4421 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * undo_funcs.C (setCursorParUndo): adjust
4424
4425         * text_funcs.C (transposeChars): adjust
4426
4427         * text3.C (gotoNextInset): adjust
4428         (dispatch): adjust
4429
4430         * text2.C (setLayout): adjust
4431         (changeDepth): adjust
4432         (setFont): adjust
4433         (redoParagraphs): adjust
4434         (selectionAsString): adjust
4435         (setParagraph): adjust
4436         (insertInset): adjust
4437         (cutSelection): adjust
4438         (copySelection): adjust
4439         (pasteSelection): adjust
4440         (insertStringAsLines): adjust
4441         (updateInset): adjust
4442         (setCursor): change to take a ParagraphList::iterator parameter
4443         (setCursorIntern): change to take a ParagraphList::iterator parameter
4444         (setCurrentFont): adjust
4445         (cursorLeft): adjust
4446         (cursorRight): adjust
4447         (deleteEmptyParagraphMechanism): adjust
4448
4449         * text.C (breakParagraph): adjust
4450         (insertChar): adjust
4451         (acceptChange): adjust
4452         (rejectChange): adjust
4453         (selectNextWordToSpellcheck): adjust
4454         (changeCase): adjust
4455         (Delete): adjust
4456         (backspace): adjust
4457
4458         * lyxfind.C (SearchForward): adjust
4459         (SearchBackward): adjust
4460         (nextChange): adjust
4461
4462         * lyxcursor.C (par): adjust
4463
4464         * lyxcursor.h: store a ParagraphList::iterator instead of a
4465         Paragraph*
4466
4467         * lyx_cb.C (getPossibleLabel): adjust
4468
4469         * bufferview_funcs.C (toggleAndShow): adjust
4470
4471         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4472         (dispatch): adjust
4473
4474         * BufferView.C (removeAutoInsets): adjust
4475         (lockedInsetStoreUndo): adjust
4476
4477 2003-04-09  John Levon  <levon@movementarian.org>
4478
4479         * ToolbarBackend.C: try icon without argument
4480         if with argument fails
4481
4482 2003-04-08  John Levon  <levon@movementarian.org>
4483
4484         * ToolbarBackend.h:
4485         * ToolbarBackend.C: add getIcon(), handle tooltip,
4486         and change from "Icon" to "Item".
4487
4488 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4489
4490         * BufferView.C (lockInset): another bad getchar crunched
4491
4492 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4493
4494         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4495         again)
4496
4497 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * lyxfind.C (searchForward, searchBackwards): bug 782
4500
4501 2003-04-07  John Levon  <levon@movementarian.org>
4502
4503         * paragraph.C: remove dead comment
4504
4505         * text.C: remove troublesome depth-fiddling code
4506         in leftMargin() and rightMargin() (bug 1017)
4507
4508         * text.C: fix breaking of rows in nested lists
4509         (bug 1004)
4510
4511         * text2.C (updateCounters): fix up depth values
4512         (bug 1013)
4513
4514 2003-04-07  John Levon  <levon@movementarian.org>
4515
4516         * BufferView_pimpl.C: clear message when doc finishes resizing,
4517         and after a mouse event
4518
4519         * lyxfunc.C: clear message after exiting inset
4520
4521 2003-04-07  John Levon  <levon@movementarian.org>
4522
4523         * bufferview_funcs.C: show math status not outside
4524         status in the statusbar
4525
4526 2003-04-07  John Levon  <levon@movementarian.org>
4527
4528         * lyxfunc.C: note status changed after a depth change
4529
4530 2003-04-04  Angus Leeming  <leeming@lyx.org>
4531
4532         * LaTeX.h: move AuxInfo operator==, != out of line.
4533         Remove LaTeX virtual destructor; nothing derives from it.
4534         Move operator()() out of public area and rename it startscript().
4535         Change protected for private.
4536
4537 2003-04-04  Angus Leeming  <leeming@lyx.org>
4538
4539         * lyxfunc.C:
4540         * text2.C: remove unneeded #includes.
4541
4542 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * text2.C (dEPM): fix the heigth of the next row
4545
4546 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * text.C: squashed an invalid getChar requester + some ws changes
4549
4550 2003-04-03  John Levon  <levon@movementarian.org>
4551
4552         * bufferview_funcs.h:
4553         * bufferview_funcs.C:
4554         * lyxfunc.C:
4555         * lyxtext.h:
4556         * text2.C: make getStatus work for the env depth lfuns
4557
4558 2003-04-03  John Levon  <levon@movementarian.org>
4559
4560         * bufferview_funcs.h:
4561         * bufferview_funcs.C:
4562         * lyxfunc.C:
4563         * lyxtext.h:
4564         * text2.C: parlistize decDepth(), by merging it with incDepth()
4565
4566 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * lyxrow.h: store a ParagraphList::iterator instead of a
4569         Paragraph* and adjust other class functions to suit.
4570
4571         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4572         above.
4573
4574 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * text2.C (setCursor): do not anchor to cursor row for the time being
4577
4578 2003-04-02  John Levon  <levon@movementarian.org>
4579
4580         * LyXAction.C:
4581         * lfuns.h:
4582         * lyx_main.C:
4583         * lyxtext.h:
4584         * text.C:
4585         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4586
4587 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * paragraph.h: make ParagraphList and ParagraphList::iterator
4590         friends of Paragraph.
4591
4592         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4593
4594         * ParagraphList.C: Use the private next_ and previous_ from
4595         Paragraph.
4596
4597 2003-04-01  John Levon  <levon@movementarian.org>
4598
4599         * ToolbarBackend.h:
4600         * ToolbarBackend.C:
4601         * Makefile.am: rename, remove defaults gunk
4602
4603         * MenuBackend.h:
4604         * MenuBackend.C: remove defaults gunk
4605
4606         * Languages.h:
4607         * Languages.C: remove defaults gunk
4608
4609         * lyx_main.h:
4610         * lyx_main.C: error out if files couldn't be found.
4611
4612 2003-04-02  John Levon  <levon@movementarian.org>
4613
4614         * text2.C: make incDepth() use parlist
4615
4616 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * undo_funcs.C (firstUndoParagraph): adjust
4619
4620         * text3.C (gotoInset): adjust
4621         (dispatch): adjust, and rewrite loop.
4622
4623         * text2.C (init): adjust, and rewrite loop.
4624         (redoParagraphs): adjust
4625         (updateInset): adjust, and rewrite loop.
4626         (deleteEmptyParagraphMechanism): adjust
4627
4628         * tabular.C (LyXTabular): adjust
4629         (SetMultiColumn): adjust
4630         (TeXRow): adjust
4631
4632         * lyxtext.[Ch] (ownerParagraph): delete function
4633         (ownerParagraphs): new function returns a ParagraphList.
4634
4635         * BufferView.C (removeAutoInsets): adjust
4636         (insertErrors): adjust
4637         (setCursorFromRow): adjust
4638
4639 2003-04-01  Angus Leeming  <leeming@lyx.org>
4640
4641         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4642         in the frontends.
4643
4644 2003-04-02  John Levon  <levon@movementarian.org>
4645
4646         * lyxtext.h:
4647         * text.C:
4648         * Makefile.am:
4649         * text_funcs.h:
4650         * text_funcs.C: make transposeChars a free function
4651
4652         * lyxrow_funcs.C: remove wrong comment
4653
4654 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4655
4656         * lyxtext.h: adjust
4657         * rowpainter.C: adjust
4658         * text.C: adjust
4659         * text2.C: adjust
4660         * text3.C: adjust
4661
4662         * lyxrow_funcs. [Ch]: new files
4663
4664         * lyxrow.[Ch]: remove next and previous pointers
4665         (next,previous): remove accessor functions
4666         (isParEnd): move to lyxrow_funcs
4667         (lastPos): move to lyxrow_funcs
4668         (nextRowIsAllInset): move to lyxrow_funcs
4669         (lastPrintablePos): move to lyxrow_funcs
4670         (numberOfSeparators): move to lyxrow_funcs
4671         (numberOfHfills): move to lyxrow_funcs
4672         (numberOfLabelHfills): move to lyxrow_funcs
4673         (hfillExpansion): move to lyxrow_funcs
4674
4675         * lyxfunc.C: adjust
4676
4677         * bufferview_funcs.C (toggleAndShow): adjust
4678
4679         * RowList.h: Remove class RowList from file leave just a
4680         std::list<Row>.
4681
4682         * RowList.C: delete file
4683
4684         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4685         and lyxrow_funcs.h
4686
4687 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * text3.C (cursorPrevious): adjust
4690         (cursorNext): adjust
4691         (dispatch): adjust
4692
4693         * text2.C (redoHeightOfParagraph): adjust
4694         (redoDrawingOfParagraph): adjust
4695         (setCursor): adjust
4696
4697         * text.C (breakParagraph): adjust
4698         (insertChar): adjust
4699         (backspace): adjust
4700
4701         * rowpainter.C (RowPainter): adjust
4702         (leftMargin): simplify and adjust
4703         (most rowpainter functions): adjust.
4704
4705         * rowpainter.h: store the row as RowList::iterator not as Row*
4706
4707         * lyxcursor.C (row): taka RowList::iterator as arg
4708         (irow): ditto
4709
4710         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4711         of Row*.
4712
4713 2003-04-01  Angus Leeming  <leeming@lyx.org>
4714
4715         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4716         stuff like bool Bool.
4717
4718 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4719
4720         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4721         rewrite a loop
4722
4723 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4726         RowList::iterator.
4727
4728         * lyxtext.h (rows): drop one version and leve a const variant that
4729         returns a RowList::iterator.
4730
4731 2003-03-31  Angus Leeming  <leeming@lyx.org>
4732
4733         * text.C (fill): ensure that the signature is the same as that in the
4734         header file.
4735
4736 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * text2.C (redoParagraphs): adjust
4739         (updateCounters): adjust
4740         (checkParagraph): adjust
4741         (getColumnNearX): adjust and reformat a bit.
4742
4743         * text.C (top_y): adjust
4744         (workWidth): adjust
4745         (leftMargin): adjust
4746         (prepareToPrint): adjust
4747         (getRow): adjust
4748         (getRowNearY): adjust
4749
4750         * lyxtext.h: make rowlist_ mutable.
4751
4752         * RowList.h: add const_iterator
4753         * RowList.C: adjust for RowList::const_iterator.
4754
4755         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4756         adjust.
4757
4758 2003-03-31  John Levon  <levon@movementarian.org>
4759
4760         * lyxrc.h:
4761         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4762
4763         * lyx_main.C: set default fonts from using lyx_gui funcs
4764
4765         * exporter.C: pdf_mode moved from lyxrc
4766
4767         * lyx_cb.C:
4768         * lyxfunc.C: changes from above
4769
4770 2003-03-31  John Levon  <levon@movementarian.org>
4771
4772         * lyx_main.C: fix to the last fix
4773
4774 2003-03-31  John Levon  <levon@movementarian.org>
4775
4776         * bufferlist.C: "Load original" -> "Load Original"
4777
4778         * converter.C:
4779         * exporter.C:
4780         * importer.C:
4781         * lyx_main.C:
4782         * format.C: more Alert cleanups
4783
4784 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * text2.C (removeParagraph): make it take a RowList::iterator as
4787         arg, adjust.
4788         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4789         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4790
4791         * text.C (anchor_row): make it take a RowList::iterator as arg,
4792         adjust.
4793         (computeBidiTables): make it take a const reference to Row instead
4794         of Row pointer, adjust.
4795         (leftMargin): make it take a RowList::iterator as arg, adjust.
4796         (rowBreakPoint): adjust
4797         (breakAgainOneRow): make it take a RowList::iterator as arg,
4798         adjust.
4799         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4800
4801         * bufferview_funcs.C (toggleAndShow): adjust
4802
4803 2003-03-30  John Levon  <levon@movementarian.org>
4804
4805         * Makefile.am:
4806         * BoostFormat.h:
4807         * boost-inst.C: moved to support
4808
4809         * several files: changes as a result
4810
4811 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * text2.C (LyXText): adjust.
4814         (init): adjust
4815         (removeRow): make it take a RowList::iterator as arg, adjust.
4816         (fullRebreak): adjust
4817         (deleteEmptyParagraphMechanism): adjust
4818         (clearPaint): adjust
4819         (postPaint): adjust
4820
4821         * text.C (top_y): adjust
4822         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4823         (breakAgain): make it take a RowList::iterator as arg, adjust.
4824         (breakParagraph): adjust
4825         (insertChar): adjust
4826         (backspace): adjust
4827
4828         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4829         need_break_row, and refresh_row.
4830
4831         * text3.C (dispatch): adjust
4832
4833         * text2.C (checkParagraph): adjust
4834         (setCursor): adjust
4835         (setCursorFromCoordinates): adjust
4836
4837         * text.C (top_y): adjust
4838         (workWidth): adjust
4839         (getRow): make it return a RowList::iterator, adjust
4840         (getRowNearY): make it return a RowList::iterator, adjust
4841
4842         * text2.C (init): adjust
4843         (insertRow): remove function
4844         (insertParagraph): adjust
4845         (redoParagraphs): adjust
4846         (fullRebreak): adjust
4847         (updateCounters): adjust
4848
4849         * text.C (top_y): rewrite to use RowList iterators.
4850         (top_y): adjust
4851         (setHeightOfRow): rewrite to sue RowList iterators.
4852         (appendParagraph): adjust
4853         (breakAgain): adjust
4854         (breakAgainOneRow): adjust
4855         (breakParagraph): adjust
4856         (getRow): adjust
4857         (getRowNearY): adjust, and remove commented code.
4858
4859         * lyxtext.h (firstRow): delete function
4860         (lastRow): delete function
4861         (rows): new function (const and non-const versions.)
4862         (insertRow): delete function
4863
4864         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4865
4866 2003-03-29  John Levon  <levon@movementarian.org>
4867
4868         * BufferView_pimpl.C: always update scrollbar top
4869         because pasting text when we're anchored could mean we
4870         miss an update altogether
4871
4872 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * text2.C (init): use rowlist_.end() and not 0.
4875         (insertRow): change to take a RowList::iterator as arg, adjust
4876         for this.
4877         (insertParagraph): change to take a RowList::iterator as arg,
4878         adjust for this.
4879         (redoParagraphs): remove some debug msgs.
4880
4881         * text.C (appendParagraph): change to take a RowList::iterator
4882         arg, adjust for this.
4883         (breakAgain): add an assert
4884         (breakAgainOneRow): ditto
4885
4886 2003-03-29  John Levon  <levon@movementarian.org>
4887
4888         * text2.C: do not clear selection after inc/decDepth
4889         (bug 550)
4890
4891 2003-03-29  John Levon  <levon@movementarian.org>
4892
4893         * BufferView.C:
4894         * buffer.C: fix broken strerrors according to Lars
4895
4896 2003-03-29  John Levon  <levon@movementarian.org>
4897
4898         * converters.C: more Alert cleanups
4899
4900 2003-03-29  John Levon  <levon@movementarian.org>
4901
4902         * bufferview_funcs.C: remove pointless Alert
4903
4904         * buffer.C: fix confusing error message when
4905         a template is chmoded 000
4906
4907 2003-03-29  John Levon  <levon@movementarian.org>
4908
4909         * BufferView.C:
4910         * BufferView.h:
4911         * BufferView_pimpl.C: Alert fixes
4912
4913         * Makefile.am:
4914         * tabular.C:
4915         * tabular-old.C: remove unused table compat reading
4916
4917 2003-03-29  John Levon  <levon@movementarian.org>
4918
4919         * BufferView.C:
4920         * buffer.C:
4921         * lyx_cb.h:
4922         * lyx_cb.C: more Alert cleanups
4923
4924         * lyxfunc.C: don't allow chktex if not latex document
4925
4926 2003-03-29  John Levon  <levon@movementarian.org>
4927
4928         * lyx_cb.C:
4929         * BufferView.C:
4930         * buffer.C: warnings pushed down from support/,
4931         kill err_alert
4932
4933 2003-03-29  John Levon  <levon@movementarian.org>
4934
4935         * lyxfunc.C: safety check for C-r (revert)
4936
4937 2003-03-29  John Levon  <levon@movementarian.org>
4938
4939         * bufferlist.h:
4940         * bufferlist.C: several UI fixes using Alert::prompt.
4941         Fix the pointless looping quit code. Fix stupid revert
4942         behaviour (bug 938)
4943
4944         * lyxvc.h:
4945         * lyxvc.C:
4946         * lyx_cb.C: use Alert::prompt
4947
4948         * lyx_main.C: remove a silly question
4949
4950         * lyxfunc.C: remove a couple of silly questions,
4951         use Alert::prompt
4952
4953 2003-03-28  John Levon  <levon@movementarian.org>
4954
4955         * text2.C: fix bug 974 (End on empty par)
4956
4957 2003-03-28  John Levon  <levon@movementarian.org>
4958
4959         * BufferView_pimpl.C:
4960         * LyXAction.C:
4961         * lfuns.h: remove do-nothing math greek lfuns
4962
4963 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * lyxgluelength.h (isValidGlueLength): add default arg on
4966         parameter 2. Remove default arg from friend in class.
4967
4968         * lyxlength.h (isValidLength): add default arg on parameter 2.
4969         Remove default arg from friend in class.
4970
4971         * text2.C (LyXText): adjust, initialize refresh_row.
4972         (init): adjust
4973         (removeRow): adjust
4974         (insertRow): adjust
4975         (insertParagraph): adjst
4976         (redoParagraphs): adjust
4977         (fullRebreak): adjust
4978         (updateCounters): adjust
4979         (deleteEmptyParagraphMechanism): first attempt at fixing a
4980         crashing bug.
4981
4982         * text.C (top_y): adjust
4983         (setHeightOfRow): adjust
4984         (getRow): adjust
4985         (getRowNearY): adjust
4986
4987         * lyxtext.h: include RowList.h
4988         (~LyXText): not needed anymore, deleted.
4989         (firstRow): modify for RowList
4990         (lastRow): new function
4991         Delete firstrow and lastrow class variables, add a Rowlist
4992         rowlist_ class variable.
4993
4994         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4995         paragraph is empty.
4996
4997         * RowList.C (insert): fix case where it == begin().
4998
4999 2003-03-26  Angus Leeming  <leeming@lyx.org>
5000
5001         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5002         the thesaurus dialog.
5003
5004 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5007
5008         * RowList.[Ch]: new files
5009
5010         * ParagraphList.C (erase): handle the case where it == begin
5011         correctly.
5012
5013 2003-03-25  John Levon  <levon@movementarian.org>
5014
5015         * Makefile.am:
5016         * aspell_local.h:
5017         * aspell.C: add new aspell support
5018
5019         * lyxrc.h:
5020         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5021         have it accessible.
5022
5023 2003-03-25  Angus Leeming  <leeming@lyx.org>
5024
5025         * lfuns.h:
5026         * LyXAction.C (init): new LFUN_INSET_INSERT.
5027
5028         * BufferView_pimpl.C (dispatch): split out part of the
5029         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5030
5031         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5032         LFUN_INSET_APPLY.
5033
5034 2003-03-25  Angus Leeming  <leeming@lyx.org>
5035
5036         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5037
5038 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * text2.C:
5041         * text3.C: remove useless row->height(0)
5042
5043 2003-03-25  John Levon  <levon@movementarian.org>
5044
5045         * lyxtext.h:
5046         * text2.C:
5047         * text3.C: rename the refreshing stuff to better names
5048
5049 2003-03-24  John Levon  <levon@movementarian.org>
5050
5051         * BufferView_pimpl.h:
5052         * BufferView_pimpl.C: update layout choice on a mouse
5053         press/release
5054
5055 2003-03-23  John Levon  <levon@movementarian.org>
5056
5057         * Makefile.am: fix commandtags.h reference
5058
5059 2003-03-22  John Levon  <levon@movementarian.org>
5060
5061         * BufferView_pimpl.C:
5062         * lyxtext.h:
5063         * rowpainter.C:
5064         * rowpainter.h:
5065         * text.C:
5066         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5067
5068 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * lyxtext.h:
5071         * text.C: take the rtl methods out of line
5072
5073 2003-03-21 André Pönitz <poenitz@gmx.net>
5074
5075         * metricsinfo.[Ch]: new files containing structures to be passed around
5076         during the two-phase-drawing...
5077
5078 2003-03-21 André Pönitz <poenitz@gmx.net>
5079
5080         * lyxtextclass.C: read 'environment' tag.
5081
5082 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * text2.C (removeRow): fix bug 964
5085
5086 2003-03-20  John Levon  <levon@movementarian.org>
5087
5088         * rowpainter.C:
5089         * text.C:
5090         * text2.C: paint cleanups. Inset::update() dropped font
5091         parameter
5092
5093 2003-03-19  John Levon  <levon@movementarian.org>
5094
5095         * lyxfunc.C: only fitcursor/markDirty if available()
5096
5097 2003-03-19  John Levon  <levon@movementarian.org>
5098
5099         * commandtags.h: rename to ...
5100
5101         * lfuns.h: ... this, and renumber / cleanup
5102
5103 2003-03-19  John Levon  <levon@movementarian.org>
5104
5105         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5106         fit the cursor after an lfun
5107
5108         * BufferView.h:
5109         * BufferView.C:
5110         * BufferView_pimpl.h:
5111         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5112
5113         * LyXAction.C: layout-character should have ReadOnly
5114
5115         * ParagraphParameters.C:
5116         * buffer.C:
5117         * bufferview_funcs.C:
5118         * lyx_cb.C:
5119         * lyxfind.C:
5120         * lyxtext.h:
5121         * text.C:
5122         * text2.C:
5123         * text3.C:
5124         * undo_funcs.C: changes from above
5125
5126 2003-03-18  John Levon  <levon@movementarian.org>
5127
5128         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5129         remove it from update()
5130
5131         * lyxfunc.C: update layout choice after an lfun
5132
5133         * text3.C: remove extra updateLayoutChoice()s
5134
5135 2003-03-18  John Levon  <levon@movementarian.org>
5136
5137         * text.C: top_y change means full repaint, fix
5138         a drawing bug with cursor movement
5139
5140 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * lyxtext.h:
5143         * text.C:
5144         * text2.C: anchor row on setCursor
5145
5146 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * lyxtext.h: remove almost all mutable keywords
5149         * text.C:
5150         * text2.C:
5151         * text3.C: remove const keywords accordingly
5152
5153 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5156         anon namespace
5157         (TeXEnvironment): ditto
5158         (TeXOnePar): ditto
5159
5160 2003-03-17  John Levon  <levon@movementarian.org>
5161
5162         * text.C (rowBreakPoint): remove attempt to fix displayed
5163         math insets inside a manual label
5164
5165 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * lyxtext.h: remove BufferView* as first arg from almost all class
5168         functions.
5169         * other files: adjust.
5170
5171 2003-03-17  John Levon  <levon@movementarian.org>
5172
5173         * lyxtext.h:
5174         * undo_funcs.C:
5175         * text2.C: more paint cleanups
5176
5177         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5178
5179         * rowpainter.h:
5180         * rowpainter.C: remove "smart" background painting code
5181
5182 2003-03-16  John Levon  <levon@movementarian.org>
5183
5184         * lyxtext.h:
5185         * text.C:
5186         * text2.C:
5187         * text3.C: add helper functions for setting refresh_row/y
5188
5189 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5190
5191         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5192         newline inset which *can* get inserted in the pass_thru layouts.
5193         This is primarily for literate documents.
5194
5195 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5196
5197         * buffer.C: increment LYX_FORMAT to 223
5198
5199 2003-03-14 André Pönitz <poenitz@gmx.net>
5200
5201         * textclass.h: prepare for environment handling, ws changes
5202         * lyxlayout.C: read latexheader and latexfooter tags
5203
5204 2003-03-14  John Levon  <levon@movementarian.org>
5205
5206         * text2.C: rewrite ::status() a bit
5207
5208 2003-03-13  John Levon  <levon@movementarian.org>
5209
5210         * lyxtext.h: add some docs
5211
5212 2003-03-13  John Levon  <levon@movementarian.org>
5213
5214         * lyxtext.h:
5215         * text.C:
5216         * text2.C:
5217         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5218
5219 2003-03-13  John Levon  <levon@movementarian.org>
5220
5221         * text3.C: fix appendix redrawing
5222
5223 2003-03-13  John Levon  <levon@movementarian.org>
5224
5225         * text.C (setHeightOfRow):
5226         * rowpainter.h:
5227         * rowpainter.C: make appendix mark have the text
5228           "Appendix" so the user knows what it is
5229
5230         * LColor.h:
5231         * LColor.C: s/appendixline/appendix/ from above
5232
5233 2003-03-13  John Levon  <levon@movementarian.org>
5234
5235         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5236
5237         * text.C: fix a getChar(pos) bug properly
5238
5239 2003-03-13  Angus Leeming  <leeming@lyx.org>
5240
5241         * commandtags.h:
5242         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5243         Probably only temporary. Let's see how things pan out.
5244
5245         * BufferView.C (unlockInset):
5246         * BufferView_pimpl.C (fitCursor):
5247         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5248
5249         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5250         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5251
5252         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5253         new functions that convert ParagraphParameters to and from a string.
5254
5255         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5256         BufferView::Pimpl's dispatch.
5257         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5258
5259 2003-03-13 André Pönitz <poenitz@gmx.net>
5260
5261         * lyxfunc.C:
5262         * text3.C:
5263         * factory.C: make it aware of InsetEnv
5264
5265 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * text2.C (setCursor): never ask for one past last
5268         (setCursor): add some debugging messages.
5269
5270         * text.C (singleWidth): never ask for one past last
5271         (singleWidth): ditto
5272         (leftMargin): ditto
5273         (rightMargin): ditto
5274         (rowBreakPoint): ditto
5275         (setHeightOfRow): ditto
5276         (prepareToPrint): ditto
5277
5278         * rowpainter.C (paintBackground): never ask for one past last
5279         (paintText): never ask for one past last
5280
5281         * paragraph_pimpl.C (getChar): make the assert stricter, never
5282         allow the one past last pos to be taken
5283
5284         * paragraph.C (getChar): ws changes only
5285
5286         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5287         (numberOfSeparators): ditto
5288         (numberOfHfills): ditto
5289
5290 2003-03-12  John Levon  <levon@movementarian.org>
5291
5292         * author.h:
5293         * author.C:
5294         * bufferparams.h:
5295         * bufferparams.C:
5296         * paragraph_funcs.C: fix per-buffer authorlists
5297
5298 2003-03-12  John Levon  <levon@movementarian.org>
5299
5300         * text.C: fix newline in right address
5301
5302 2003-03-12  Angus Leeming  <leeming@lyx.org>
5303
5304         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5305         duplicate those in LyXFunc::dispatch.
5306
5307         * commandtags.h:
5308         * LyXAction.C:
5309         * ToolbarDefaults.C:
5310         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5311         Add LFUN_FONTFREE_UPDATE.
5312
5313         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5314         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5315
5316         * bufferview_func.[Ch]: several new functions to facilliate
5317         transfer of data to and from the character dialog.
5318
5319 2003-03-12  John Levon  <levon@movementarian.org>
5320
5321         * buffer.C:
5322         * paragraph.h:
5323         * paragraph.C:
5324         * paragraph_funcs.C:
5325         * paragraph_pimpl.C:
5326         * sgml.C:
5327         * tabular.C:
5328         * text.C:
5329         * text3.C: remove META_NEWLINE in favour of an inset
5330
5331         * rowpainter.h:
5332         * rowpainter.C: remove paintNewline (done by inset)
5333
5334 2003-03-12  John Levon  <levon@movementarian.org>
5335
5336         * paragraph_pimpl.C: complain about bad getChar()s
5337         for a while at least
5338
5339 2003-03-12  John Levon  <levon@movementarian.org>
5340
5341         * buffer.h:
5342         * buffer.C: move paragraph read into a separate function,
5343         a little renaming to reflect that.
5344
5345         * bufferparams.h:
5346         * bufferparams.C: remove the author_ids map, not necessary now
5347
5348         * factory.h:
5349         * factory.C: moved Buffer::readInset to here
5350
5351         * paragraph_funcs.h:
5352         * paragraph_funcs.C: readParagraph free function moved from
5353         buffer.C
5354
5355         * tabular.C: name change
5356
5357 2003-03-12  John Levon  <levon@movementarian.org>
5358
5359         * buffer.C:
5360         * ParagraphParameters.C: move par params input to
5361         a read() method
5362
5363         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5364         behave like a normal read from the stream wrt reading
5365         a line vs. a \\token
5366
5367 2003-03-12  John Levon  <levon@movementarian.org>
5368
5369         * paragraph.C:
5370         * ParagraphParameters.h:
5371         * ParagraphParameters.C: move output code to a
5372         ::write() method
5373
5374 2003-03-12  John Levon  <levon@movementarian.org>
5375
5376         * BufferView.C (insertLyXFile):
5377         * buffer.h:
5378         * buffer.C:
5379         * tabular.C: use a parlist iterator for creating the
5380           document.
5381
5382 2003-03-12  John Levon  <levon@movementarian.org>
5383
5384         * buffer.C: make current_change static local not
5385           static file-scope
5386
5387 2003-03-12  John Levon  <levon@movementarian.org>
5388
5389         * buffer.C: fix insertStringAsLines for change tracking
5390
5391 2003-03-12  John Levon  <levon@movementarian.org>
5392
5393         * BufferView.C:
5394         * tabular.C:
5395         * buffer.h:
5396         * buffer.C:
5397         * bufferparams.h:
5398         * bufferparams.C: move author list into params. Rename some
5399           functions. Move the header reading into a separate token
5400           loop. Move the header token reading into BufferParams.
5401
5402 2003-03-12  John Levon  <levon@movementarian.org>
5403
5404         * changes.C: put debug inside lyxerr.debugging() checks
5405
5406 2003-03-11 André Pönitz <poenitz@gmx.net>
5407
5408         * factory.C: make it aware of InsetHFill
5409
5410 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5411
5412         * buffer.C (latexParagraphs): move function from here...
5413         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5414         args.
5415
5416 2003-03-10  Angus Leeming  <leeming@lyx.org>
5417
5418         * LyXAction.C (init): fix bug in poplating array with multiple entries
5419         with the same LFUN (spotted by JMarc).
5420
5421 2003-03-10  John Levon  <levon@movementarian.org>
5422
5423         * text.C:
5424         * text2.C: move getColumnNearX() near its
5425         only call site
5426
5427 2003-03-10  John Levon  <levon@movementarian.org>
5428
5429         * text.C: fix break before a minipage
5430
5431 2003-03-10  John Levon  <levon@movementarian.org>
5432
5433         * text.C: fix the last commit
5434
5435 2003-03-09  John Levon  <levon@movementarian.org>
5436
5437         * lyxtext.h:
5438         * text.C:
5439         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5440         bug 365 (don't break before insets unless needed). Don't
5441         return a value > last under any circumstances.
5442
5443 2003-03-09  Angus Leeming  <leeming@lyx.org>
5444
5445         * BufferView_pimpl.C (trackChanges, dispatch): call
5446         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5447
5448 2003-03-09  Angus Leeming  <leeming@lyx.org>
5449
5450         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5451         than Dialogs::showAboutlyx().
5452
5453 2003-03-09  Angus Leeming  <leeming@lyx.org>
5454
5455         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5456         than Dialogs::showTabularCreate().
5457
5458 2003-03-09  John Levon  <levon@movementarian.org>
5459
5460         * lyxtext.h:
5461         * text.C:
5462         * text2.C: 3rd arg to nextBreakPoint was always the same.
5463           Use references.
5464
5465 2003-03-08  John Levon  <levon@movementarian.org>
5466
5467         * lyxrow.C:
5468         * paragraph.C:
5469         * paragraph.h:
5470         * rowpainter.C:
5471         * text.C:
5472         * text2.C: Remove the "main" bit from the "main body"
5473           notion.
5474
5475 2003-03-08  John Levon  <levon@movementarian.org>
5476
5477         * text.C (leftMargin): The left margin of an empty
5478         manual label paragraph should not include the label width
5479         string length.
5480
5481         * text.C (prepareToPrint): don't attempt to measure hfills
5482         for empty manual label paragraphs - the answer should be 0
5483
5484 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5485
5486         * CutAndPaste.C: remove commented code and reindent.
5487
5488 2003-03-08  John Levon  <levon@movementarian.org>
5489
5490         * lyxfunc.h:
5491         * lyxfunc.C: move reloadBuffer()
5492
5493         * BufferView.h:
5494         * BufferView.C: to here
5495
5496         * lyxvc.C: add comment
5497
5498         * vc-backend.h:
5499         * vc-backend.C: call bv->reload() to avoid
5500           getStatus() check on MENURELOAD
5501
5502 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5503
5504         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5505         to an old format .dep file.
5506
5507 2003-03-07  Angus Leeming  <leeming@lyx.org>
5508
5509         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5510         when the LFUN_MOUSE_RELEASE should have been handled by
5511         inset->localDispatch.
5512
5513 2003-03-07  Angus Leeming  <leeming@lyx.org>
5514
5515         * BufferView_pimpl.C (dispatch):
5516         * LyXAction.C (init):
5517         * ToolbarDefaults.C (init):
5518         * commandtags.h:
5519         * lyxfunc.C (getStatus):
5520         remove LFUN_INSET_GRAPHICS.
5521
5522         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5523
5524 2003-03-07  Angus Leeming  <leeming@lyx.org>
5525
5526         * commandtags.h:
5527         * LyXAction.C (init):
5528         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5529
5530         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5531
5532         * commandtags.h:
5533         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5534
5535         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5536         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5537
5538 2003-03-07  Angus Leeming  <leeming@lyx.org>
5539
5540         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5541         remove "ert".
5542
5543 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * ParagraphList.C (front): new function
5546         (back): implement
5547
5548 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5549
5550         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5551         and top_row_offset_. removed var first_y.
5552         * text.C (top_y):
5553         * text2.C (LyXText, removeRow):
5554         * text3.C:
5555         * BufferView_pimpl.C:
5556         use these methods instead of using first_y
5557
5558 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * text2.C (pasteSelection): adjust for checkPastePossible
5561
5562         * CutAndPaste.C: remove Paragraph * buf and replace with
5563         ParagraphList paragraphs.
5564         (DeleteBuffer): delete
5565         (cutSelection): change the tc type to textclass_type
5566         (copySelection): change the tc type to textclass_type
5567         (copySelection): adjust for ParagraphList
5568         (pasteSelection): change the tc type to textclass_type
5569         (pasteSelection): adjust for Paragraphlist
5570         (nrOfParagraphs): simplify for ParagraphList
5571         (checkPastePossible): simplify for ParagraphList
5572         (checkPastePossible): remove unused arg
5573
5574         * ParagraphList.C (insert): handle the case where there are no
5575         paragraphs yet.
5576
5577         * CutAndPaste.h: make CutAndPaste a namespace.
5578
5579         * text3.C (dispatch): adjust
5580
5581         * text.C (breakParagraph): add a ParagraphList as arg
5582
5583         * paragraph_funcs.C (breakParagraph): change to take a
5584         BufferParams and a ParagraphList as args.
5585         (breakParagraphConservative): ditto
5586         (mergeParagraph): ditto
5587         (TeXDeeper): add a ParagraphList arg
5588         (TeXEnvironment): ditto
5589         (TeXOnePar): ditto
5590
5591         * buffer.C (readLyXformat2): adjust
5592         (insertStringAsLines): adjust
5593         (latexParagraphs): adjust
5594
5595         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5596         (cutSelection): adjust
5597         (pasteSelection): adjust
5598
5599         * BufferView_pimpl.C (insertInset): adjust
5600
5601 2003-03-05  Angus Leeming  <leeming@lyx.org>
5602
5603         * commandtags.h:
5604         * LyXAction.C (init):
5605         * BufferView_pimpl.C (dispatch):
5606         * lyxfunc.C (getStatus):
5607         remove LFUN_CHILD_INSERT.
5608
5609         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5610
5611 2003-03-05  Angus Leeming  <leeming@lyx.org>
5612
5613         * commandtags.h:
5614         * LyXAction.C (init):
5615         * src/factory.C (createInset):
5616         * lyxfunc.C (getStatus):
5617         * text3.C (dispatch):
5618         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5619
5620         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5621
5622 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * ParagraphList.C (insert): handle insert right before end()
5625         (erase): fix cases where it can be first or last paragraph.
5626
5627 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5630         Paragraph::next and Paragraph::previous
5631         (TeXOnePar): ditto
5632
5633         * text.C (breakParagraph): adjust
5634
5635         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5636         BufferParams& as arg.
5637         (breakParagraph): use ParagraphList::insert
5638         (breakParagraphConservative): take a Buffer* instead of a
5639         BufferParams& as arg.
5640         (breakParagraphConservative): use ParagraphList::insert.
5641
5642         * buffer.C (insertStringAsLines): un-const it
5643         (insertStringAsLines): adjust
5644
5645         * ParagraphList.C (insert): new function
5646
5647         * CutAndPaste.C (pasteSelection): adjust
5648
5649         * text.C (backspace): adjust
5650
5651         * tabular.C (SetMultiColumn): adjust
5652
5653         * CutAndPaste.C (cutSelection): adjust
5654         (pasteSelection): adjust
5655
5656         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5657         Buffer const * as arg
5658
5659         * ParagraphList.C (erase): new function
5660         * paragraph_funcs.C (mergeParagraph): use it
5661         (mergeParagraph): make it take a Buffer* instead of a
5662         BufferParams* as arg
5663
5664         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5665         as arg
5666         (breakParagraphConservative): ditto
5667
5668         * paragraph.h: remove the breakParagraph friend
5669
5670         * paragraph.C (eraseIntern): new function
5671         (setChange): new function
5672
5673         * paragraph_funcs.C (mergeParagraph): make it take a
5674         ParagraphList::iterator instead of a Paragraph *, adjust
5675         accordingly.
5676
5677         * paragraph.h: move an #endif so that the change tracking stuff
5678         also works in the NO_NEXT case.
5679
5680 2003-03-04  Angus Leeming  <leeming@lyx.org>
5681
5682         * commandtags.h:
5683         * LyXAction.C: new LFUN_INSET_MODIFY.
5684
5685         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5686         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5687
5688 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * several files: ws changes only
5691
5692         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5693         (TeXEnvironment): ditto
5694         (TeXDeeper): ditto
5695
5696         * buffer.C (makeLaTeXFile): adjust
5697         (latexParagraphs): make it take ParagraphList::iterator as args
5698
5699 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * buffer.C (latexParagraphs): adjust
5702
5703         * paragraph.C (TeXOnePar): move function...
5704         (optArgInset): move function...
5705         (TeXEnvironment): move function...
5706         * paragraph_pimpl.C (TeXDeeper): move function...
5707         * paragraph_funcs.C: ...here
5708
5709         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5710
5711 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * buffer.C (readInset): remove compability code for old Figure and
5714         InsetInfo insets
5715
5716 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * buffer.C: ws changes
5719         (readInset):
5720
5721         * BufferView_pimpl.C: ditto
5722         * author.C: ditto
5723         * buffer.h: ditto
5724         * bufferlist.h: ditto
5725         * changes.h: ditto
5726         * lyxfunc.C: ditto
5727
5728 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5729
5730         * converter.[Ch]: split into itself +
5731         * graph.[Ch]
5732         * format.[Ch]
5733         * Makefile.am: += graph.[Ch] + format.[Ch]
5734         * MenuBackend.C
5735         * buffer.C
5736         * exporter.C
5737         * importer.C
5738         * lyx_main.C
5739         * lyxfunc.C
5740         * lyxrc.C: added #include "format.h"
5741
5742 2003-02-27  Angus Leeming  <leeming@lyx.org>
5743
5744         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5745           a label.
5746
5747         * factory.C (createInset): add "label" to the factory.
5748
5749         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5750           string and do no more.
5751
5752 2003-02-27  Angus Leeming  <leeming@lyx.org>
5753
5754         * commandtags.h:
5755         * LyXAction.C (init):
5756         * factory.C (createInset):
5757         * BufferView_pimpl.C (dispatch):
5758           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5759
5760         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5761
5762         * lyxfunc.C (dispatch):
5763         * text3.C (dispatch): pass name to params2string.
5764
5765 2003-02-26  Angus Leeming  <leeming@lyx.org>
5766
5767         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5768           blocks together.
5769           Rearrange the ~includes. Strip out the unnecessary ones.
5770
5771         * factory.C (createInset): reformat.
5772           create new insets for the various LFUN_XYZ_APPLY lfuns.
5773
5774 2003-02-26  John Levon  <levon@movementarian.org>
5775
5776         * lyxrow.h:
5777         * lyxrow.C: add isParStart,isParEnd helpers
5778
5779         * paragraph.h: make isInserted/DeletedText take refs
5780
5781         * paragraph_funcs.h:
5782         * paragraph_funcs.C: remove #if 0'd code
5783
5784         * lyxtext.h:
5785         * text3.C:
5786         * text2.C:
5787         * text.C: use lyxrow helpers above.
5788           Move draw and paint routines to RowPainter.
5789           Make several methods use refs not pointers.
5790           Make backgroundColor() const.
5791           Add markChangeInDraw(), isInInset().
5792           Merge changeRegionCase into changeCase.
5793           Make workWidth() shouldn't-happen code into an Assert.
5794
5795         * rowpainter.h:
5796         * rowpainter.C: new class for painting a row.
5797
5798         * vspace.h:
5799         * vspace.C: make inPixels take a ref
5800
5801 2003-02-26  Angus Leeming  <leeming@lyx.org>
5802
5803         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5804         LFUN_REF_APPLY.
5805
5806 2003-02-25  John Levon  <levon@movementarian.org>
5807
5808         * ispell.C: give the forked command a more accurate name
5809
5810 2003-02-22  John Levon  <levon@movementarian.org>
5811
5812         * toc.h:
5813         * toc.C: make TocItem store an id not a Paragraph *
5814           (bug #913)
5815
5816 2003-02-21  Angus Leeming  <leeming@lyx.org>
5817
5818         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5819           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5820           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5821           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5822           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5823           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5824
5825         * BufferView_pimpl.C (dispatch):
5826         * LyXAction.C (init):
5827         * factory.C (createInset):
5828         * lyxfunc.C (getStatus, dispatch):
5829         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5830
5831 2003-02-21  Angus Leeming  <leeming@lyx.org>
5832
5833         * BufferView_pimpl.C (MenuInsertLyXFile):
5834         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5835         * lyxfunc.C (menuNew, open, doImport):
5836           no longer pass a LyXView & to fileDlg.
5837
5838 2003-02-21  Angus Leeming  <leeming@lyx.org>
5839
5840         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5841         * LyXAction.C: change, BIBKEY to BIBITEM.
5842         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5843         Change InsetBibKey to InsetBibitem.
5844         Change BIBKEY_CODE to BIBITEM_CODE.
5845         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5846         * factory.C: replace insetbib.h with insetbibitem.h.
5847         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5848         * paragraph.C: replace insetbib.h with insetbibitem.h.
5849         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5850         Change bibkey() to bibitem().
5851         * text.C: remove insetbib.h.
5852         * text2.C: replace insetbib.h with insetbibitem.h.
5853         change bibkey() to bibitem().
5854         * text3.C: remove insetbib.h.
5855         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5856
5857 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5858
5859         * lyxrc.C (output): enclose user email in quotes (in case there are
5860         several words)
5861
5862 2003-02-18  John Levon  <levon@movementarian.org>
5863
5864         * buffer.h: add std::
5865
5866 2003-02-17  John Levon  <levon@movementarian.org>
5867
5868         * SpellBase.h:
5869         * ispell.h:
5870         * ispell.C:
5871         * pspell.h:
5872         * pspell.C: reworking. Especially in ispell, a large
5873           number of clean ups and bug fixes.
5874
5875         * lyxfunc.C: fix revert to behave sensibly
5876
5877 2003-02-17 André Pönitz <poenitz@gmx.net>
5878
5879         * LyXAction.C:
5880         * commandtags.h: new LFUN_INSERT_BIBKEY
5881
5882         * layout.h:
5883         * lyxlayout.C:
5884         * buffer.C:
5885         * factory.C:
5886         * text.C:
5887         * text2.C:
5888         * text3.C:
5889         * paragraph.[Ch]:
5890         * paragraph_func.C: remove special bibkey handling
5891
5892 2003-02-17  John Levon  <levon@movementarian.org>
5893
5894         * text.C (Delete): fix case where delete at the end of
5895           the very first paragraph would not merge the pars
5896
5897 2003-02-17  John Levon  <levon@movementarian.org>
5898
5899         * lyxrow.C: fix lastPrintablePos()
5900
5901 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5902
5903         * bufferparams.C (writeLaTeX): add a std:here
5904
5905         * buffer.C: and remove a using directive there
5906
5907 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5908
5909         * buffer.C (makeLaTeXFile): move the code that generates the
5910           preamble...
5911
5912         * bufferparams.C (writeLaTeX): ... in this new method
5913
5914         * LaTeXFeatures.C (getEncodingSet): make const
5915           (getLanguages): make const
5916
5917         * MenuBackend.C (binding): returns the binding associated to this
5918           action
5919           (add): sets the status of each item by calling getStatus. Adds
5920           some intelligence.
5921           (read): add support for OptSubMenu
5922           (expand): remove extra separator at the end of expanded menu
5923
5924 2003-02-15  John Levon  <levon@movementarian.org>
5925
5926         * BufferView.C:
5927         * BufferView_pimpl.C:
5928         * bufferlist.h:
5929         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5930           inset code that had no actual effect. Remove unneeded status
5931           code.
5932
5933 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5934
5935         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5936           in preamble
5937
5938 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5939
5940         * text.C (drawLengthMarker): also draw an arrow marker for
5941           symbolic lengths (medskip...)
5942
5943 2003-02-14  John Levon  <levon@movementarian.org>
5944
5945         * tabular.h:
5946         * tabular.C: better method names
5947
5948 2003-02-14  John Levon  <levon@movementarian.org>
5949
5950         * BufferView_pimpl.C:
5951         * bufferlist.C:
5952         * buffer.C:
5953         * converter.C:
5954         * lyx_cb.C:
5955         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5956           it's a more accurate name. Remove some pointless uses.
5957
5958 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5959
5960         * text2.C (LyXText): change order of initilizers to shut off
5961           warnings
5962
5963 2003-02-14  John Levon  <levon@movementarian.org>
5964
5965         * buffer.C: use ParIterator for getParFromID()
5966
5967         * paragraph.h:
5968         * paragraph.C:
5969         * paragraph_pimpl.h:
5970         * paragraph_pimpl.C: remove unused getParFromID()
5971
5972 2003-02-14  John Levon  <levon@movementarian.org>
5973
5974         * buffer.C: remove some very old #if 0'd parse code
5975
5976 2003-02-13  John Levon  <levon@movementarian.org>
5977
5978         * text.h:
5979         * text.C:
5980         * text2.C: move hfillExpansion(), numberOfSeparators(),
5981           rowLast(), rowLastPrintable(), numberofHfills(),
5982           numberOfLabelHfills() ...
5983
5984         * lyxrow.h:
5985         * lyxrow.C: ... to member functions here.
5986
5987         * paragraph.h:
5988         * paragraph.C:
5989         * lyxtext.h:
5990         * text.C: remove LyXText::beginningOfMainBody(), and call
5991           p->beginningOfMainBody() directly. Move the check for
5992           LABEL_MANUAL into the latter.
5993
5994         * text.h:
5995         * text.C:
5996         * text2.C:
5997         * vspace.C:
5998         * BufferView.h:
5999         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6000
6001         * text.h:
6002         * text.C:
6003         * text2.C:
6004         * text3.C:
6005         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6006           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6007
6008 2003-02-13  John Levon  <levon@movementarian.org>
6009
6010         * CutAndPaste.C: remove debug
6011
6012 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6013
6014         * paragraph.C (asString): remove two unused variables
6015
6016         * lyxtextclass.C (readTitleType):
6017           (Read):
6018           (LyXTextClass): handle new members titletype_ and titlename_
6019
6020         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6021
6022 2003-02-09  John Levon  <levon@movementarian.org>
6023
6024         * buffer.h:
6025         * buffer.C: replace hand-coded list with a map for the dep clean
6026
6027 2003-02-08  John Levon  <levon@movementarian.org>
6028
6029         * LaTeX.C: consolidate code into showRunMessage() helper
6030
6031 2003-02-08  John Levon  <levon@movementarian.org>
6032
6033         * lyxfind.C:
6034         * lyxtext.h:
6035         * text2.C:
6036         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6037           and pass the size in explicitly
6038
6039         * BufferView_pimpl.h:
6040         * BufferView_pimpl.C:
6041         * BufferView.h:
6042         * BufferView.C: add getCurrentChange()
6043
6044         * BufferView_pimpl.h:
6045         * BufferView_pimpl.C: handle change lfuns
6046
6047         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6048           for changes. Mark pasted paragraphs as new.
6049
6050         * support/lyxtime.h:
6051         * support/lyxtime.C:
6052         * DepTable.C: abstract time_t as lyx::time_type
6053
6054         * LColor.h:
6055         * LColor.C: add colours for new text, deleted text, changebars
6056
6057         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6058           package use "usenames" option.
6059
6060         * commandtags.h:
6061         * lyxfunc.C:
6062         * LyXAction.C: add change lfuns
6063
6064         * Makefile.am:
6065         * author.h:
6066         * author.C: author handling
6067
6068         * buffer.h:
6069         * buffer.C: add a per-buffer author list, with first entry as
6070           current author. Handle new .lyx tokens for change tracking. Output
6071           author list to .lyx file. Output dvipost stuff to .tex preamble.
6072           Bump lyx format to 222.
6073
6074         * bufferlist.h:
6075         * bufferlist.C: add setCurrentAuthor() to reset current author details
6076           in all buffers.
6077
6078         * bufferparams.h:
6079         * bufferparams.C: add param for tracking
6080
6081         * bufferview_funcs.C: output change info in minibuffer
6082
6083         * Makefile.am:
6084         * changes.h:
6085         * changes.C: add change-tracking structure
6086
6087         * debug.h:
6088         * debug.C: add CHANGES debug flag
6089
6090         * lyxfind.h:
6091         * lyxfind.C: add code for finding the next change piece
6092
6093         * lyxrc.h:
6094         * lyxrc.C: add user_name and user_email
6095
6096         * lyxrow.h:
6097         * lyxrow.C: add a metric for the top of the text line
6098
6099         * lyxtext.h:
6100         * text.C: implement accept/rejectChange()
6101
6102         * lyxtext.h:
6103         * text.C: paint changebars. Paint new/deleted text in the chosen
6104         colours. Strike through deleted text.
6105
6106         * paragraph.h:
6107         * paragraph.C:
6108         * paragraph_pimpl.h:
6109         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6110           in the current change to the insert functions. Rework erase to
6111           mark text as deleted, adding an eraseIntern() and a range-based
6112           erase(). Implement per-paragraph change lookup and
6113           accept/reject.
6114
6115         * paragraph_funcs.C: Fixup paste for change tracking.
6116
6117         * tabular.C: mark added row/columns as new.
6118
6119         * text.C: fix rowLast() to never return -1. Don't allow
6120           spellchecking of deleted text. Track transpose changes. Don't
6121           allow paragraph break or merge where appropriate.
6122
6123         * text2.C: leave cursor at end of selection after a cut.
6124
6125 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6126
6127         * text.C (getLengthMarkerHeight):
6128         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6129         visible on screen too.
6130
6131 2003-02-07  John Levon  <levon@movementarian.org>
6132
6133         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6134
6135 2003-02-05  Angus Leeming  <leeming@lyx.org>
6136
6137         * lyxserver.C (read_ready): revert my patch of 11 September last year
6138         as it sends PC cpu through the roof. Presumably this means that
6139         the lyxserver will no longer run on an Alpha...
6140
6141 2003-01-30  Angus Leeming  <leeming@lyx.org>
6142
6143         * factory.C (createInset): create an InsetCommandParam of type "index"
6144         and use it to 'do the right thing'.
6145
6146         * text2.C (getStringToIndex): ensure that cursor position is always
6147         reset to the reset_cursor position.
6148
6149 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6150
6151         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6152         disabled.
6153
6154 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6155
6156         * bufferview.C:
6157         * lyxcb.C:
6158         * lyxfunc.C: Output messages with identical spelling, punctuation,
6159         and spaces
6160
6161 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6162
6163         * MenuBackend.C (expandFormats): List only viewable export formats
6164         in "View" menu
6165
6166         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6167         message
6168
6169         * lyxfunc.C (getStatus): Make sure that formats other than
6170         "fax" can also be disabled
6171
6172 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6173
6174         * text3.C (dispatch): put the lfuns that insert insets in 3
6175         groups, and call doInsertInset with appropriate arguments.
6176         (doInsertInset): new function, that creates an inset and inserts
6177         it according to some boolean parameters.
6178
6179 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * buffer.C (readFile): remember to pass on 'par' when calling
6182         readFile recursively.
6183
6184 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6185
6186         * MenuBackend.C (expandFormats): add "..." to import formats.
6187
6188 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6189
6190         * paragraph.C (asString): Remove XForms RTL hacks.
6191
6192 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6193         * buffer.C: fix typo
6194
6195 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * Makefile.am (LIBS): delete var
6198         (lyx_LDADD): add @LIBS@ here instead.
6199
6200 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6201
6202         * Clarify the meaning of "wheel mouse jump"
6203
6204 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6205
6206         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6207         tabular in a float
6208
6209 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6210
6211         * importer.C (Loaders): do not preallocate 3 elements in the
6212         vector, since one ends up with 6 elements otherwise
6213
6214 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6215
6216         * DepTable.C (write): write the file name as last element of the
6217         .dep file (because it may contain spaces)
6218         (read): read info in the right order
6219
6220 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6221
6222         * paragraph_pimpl.C (simpleTeXBlanks):
6223         (simpleTeXSpecialChars):
6224         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6225
6226         * tabular.C (latex): add some missing case statements. Reindent.
6227
6228         * MenuBackend.C (expandToc): remove unused variable.
6229
6230 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6231
6232         * LColor.C:
6233         * LaTeX.C:
6234         * LyXAction.C:
6235         * MenuBackend.C:
6236         * buffer.C:
6237         * exporter.C:
6238         * lyxfunc.C:
6239         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6240         and the like.
6241
6242 2003-01-05  John Levon  <levon@movementarian.org>
6243
6244         * BufferView.h:
6245         * BufferView.C: add getEncoding()
6246
6247         * kbsequence.h:
6248         * kbsequence.C: do not store last keypress
6249
6250         * lyxfunc.h:
6251         * lyxfunc.C: store last keypress here instead. Pass encoding
6252           to getISOEncoded()
6253
6254 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6255
6256         * lyx_main.C (init): remove annoying error message when following
6257         symbolic links (bug #780)
6258
6259 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6260
6261         * text.C (insertChar):
6262         * lyxrc.C (getDescription): remove extra spaces
6263
6264 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * lyxrc.C (getDescription): remove extra spaces
6267
6268 2002-12-20  John Levon  <levon@movementarian.org>
6269
6270         * text3.C: hack fix for page up/down across tall rows
6271
6272 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6273
6274         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6275         not been invoked
6276
6277 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6278
6279         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6280         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6281         thesaurus is not compiled in
6282
6283 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6284
6285         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6286
6287 2002-12-16  Angus Leeming  <leeming@lyx.org>
6288
6289         * lyxrc.[Ch]:
6290         * lyx_main.C (init): remove override_x_deadkeys stuff.
6291
6292 2002-12-12  John Levon  <levon@movementarian.org>
6293
6294         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6295           insert. Only remove shift modifier under strict
6296           circumstances.
6297
6298 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * MenuBackend.C (expandToc): fix crash.
6301
6302 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * MenuBackend.C (expandToc): gettext on float names.
6305
6306 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6307
6308         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6309         implement bool empty() [bug 490]
6310
6311 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6314
6315 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * several files: ws changes
6318
6319 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * text2.C (setCounter): clean up a bit, use boost.format.
6322         (updateCounters): initialize par upon declaration.
6323
6324         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6325         if the layout exists. We do not just store the layout any more.
6326         (SwitchLayoutsBetweenClasses): use boost.format
6327
6328 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6329
6330         * converter.C (convert): if from and to files are the same, use a
6331         temporary files as intermediary
6332
6333 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6334
6335         * commandtags.h:
6336         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6337
6338 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6339
6340         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6341
6342 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * tabular.C (asciiPrintCell): use string(size, char) instead of
6345         explicit loop.
6346
6347         * sgml.C (openTag): fix order of arguments to string constructor
6348         (closeTag): ditto
6349
6350         * lyxfunc.C (dispatch): use boost.format
6351
6352         * lots of files: change "c" -> 'c'
6353
6354 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6355
6356         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6357
6358 2002-11-25  Angus Leeming  <leeming@lyx.org>
6359
6360         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6361
6362         * lyx_main.C (init): compile fix.
6363
6364 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * lyx_cb.C (start): boost.formatify
6367         do not include <iostream>
6368
6369         * lengthcommon.C: ws only
6370
6371         * boost-inst.C,BoostFormat.h: add more explict instantations
6372
6373 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * lots of files: handle USE_BOOST_FORMAT
6376
6377 2002-11-21  John Levon  <levon@movementarian.org>
6378
6379         * pspell.C: fix compile
6380
6381 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6382
6383         * lyxfunc.C (dispatch): use boost::format
6384         (open): ditto
6385         (doImport): ditto
6386
6387         * lyxfont.C (stateText): use boost::format
6388
6389         * lyx_main.C (LyX): use boost::format
6390         (init): ditto
6391         (queryUserLyXDir): ditto
6392         (readRcFile): ditto
6393         (parse_dbg): ditto
6394         (typedef boost::function): use the recommened syntax.
6395
6396         * importer.C (Import): use boost::format
6397
6398         * debug.C (showLevel): use boost::format
6399
6400         * converter.C (view): use boost::format
6401         (convert): ditto
6402         (move): ditto
6403         (scanLog): ditto
6404
6405         * bufferview_funcs.C (currentState): use boost::format
6406
6407         * bufferlist.C (emergencyWrite): use boost::format
6408
6409         * buffer.C (readLyXformat2): use boost::format
6410         (parseSingleLyXformat2Token): ditto
6411
6412         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6413
6414         * LaTeX.C (run): use boost::format
6415
6416         * Chktex.C (scanLogFile): use boost::format
6417
6418         * BufferView_pimpl.C (savePosition): use boost::format
6419         (restorePosition): ditto
6420         (MenuInsertLyXFile): ditto
6421
6422         * BoostFormat.h: help file for explicit instation.
6423
6424 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6425
6426         * tabular.C (latex): Support for block alignment in fixed width
6427         columns.
6428
6429 2002-11-17  John Levon  <levon@movementarian.org>
6430
6431         * BufferView_pimpl.C:
6432         * lyx_cb.C:
6433         * lyxfunc.C: split filedialog into open/save
6434
6435 2002-11-08  Juergen Vigna  <jug@sad.it>
6436
6437         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6438         by my last patch (hopefully).
6439
6440 2002-11-08  John Levon  <levon@movementarian.org>
6441
6442         * iterators.h:
6443         * iterators.C:
6444         * buffer.h:
6445         * buffer.C:
6446         * paragraph.h:
6447         * paragraph.C:
6448         * toc.h:
6449         * toc.C: ParConstIterator, and use it (from Lars)
6450
6451 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6452
6453         * lyxtextclass.[Ch]: revise and add doxygen comments
6454
6455 2002-11-07  John Levon  <levon@movementarian.org>
6456
6457         * text.C: fix progress value for spellchecker
6458
6459         * toc.C: fix navigate menu for insetwrap inside minipage
6460
6461         * paragraph_funcs.C: added FIXME for suspect code
6462
6463 2002-11-07  John Levon  <levon@movementarian.org>
6464
6465         * BufferView_pimpl.C: fix redrawing of insets
6466           on buffer switch
6467
6468 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6469
6470         * text2.C (updateCounters): fix bug 668
6471
6472 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6473
6474         * text3.C (dispatch): Do not make the buffer dirty when moving the
6475         cursor.
6476
6477 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * vc-backend.C: STRCONV
6480         (scanMaster): ditto
6481
6482         * text2.C (setCounter): STRCONV
6483
6484         * paragraph.C (asString): STRCONV
6485
6486         * lyxlength.C (asString): STRCONV
6487         (asLatexString): ditto
6488
6489         * lyxgluelength.C (asString): STRCONV
6490         (asLatexString): ditto
6491
6492         * lyxfunc.C (dispatch): STRCONV
6493         (open): ditto
6494
6495         * lyxfont.C (stateText): STRCONV
6496
6497         * importer.C (Import): STRCONV
6498
6499         * counters.C (labelItem): STRCONV
6500         (numberLabel): ditto
6501         (numberLabel): remove unused ostringstream o
6502
6503         * chset.C: STRCONV
6504         (loadFile): ditto
6505
6506         * bufferview_funcs.C (currentState): STRCONV
6507
6508         * buffer.C (readFile): STRCONV
6509         (asciiParagraph): ditto
6510         (makeLaTeXFile): ditto
6511
6512         * Spacing.C (writeEnvirBegin): STRCONV
6513
6514         * LaTeXFeatures.C (getLanguages): STRCONV
6515         (getPackages): ditto
6516         (getMacros): ditto
6517         (getBabelOptions): ditto
6518         (getTClassPreamble): ditto
6519         (getLyXSGMLEntities): ditto
6520         (getIncludedFiles): ditto
6521
6522         * LaTeX.C: STRCONV
6523         (run): ditto
6524         (scanAuxFile): ditto
6525         (deplog): ditto
6526
6527         * LString.h: add the STRCONV macros
6528
6529         * BufferView_pimpl.C (savePosition): STRCONV
6530         (restorePosition): ditto
6531         (MenuInsertLyXFile): ditto
6532
6533         * vc-backend.C (scanMaster): change from submatch[...] to
6534         submatch.str(...)
6535
6536         * funcrequest.C: include config.h
6537
6538         * factory.C: include config.h
6539
6540         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6541
6542         * box.C: include config.h
6543
6544         * LaTeX.C (scanAuxFile): change from submatch[...] to
6545         submatch.str(...)
6546         (deplog): ditto
6547
6548 2002-10-25  Angus Leeming  <leeming@lyx.org>
6549
6550         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6551
6552         * ispell.[Ch] (setError): new method.
6553         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6554         Use setError() insetead of goto END.
6555
6556         * lyx_cb.C (AutoSave): move out child process into new class
6557         AutoSaveBuffer.
6558
6559 2002-10-30  John Levon  <levon@movementarian.org>
6560
6561         * text3.C: make start appendix undoable
6562
6563 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6564
6565         * lyxlength.C (inPixels): Fix returned value.
6566
6567         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6568         environment.
6569
6570 2002-10-24  Angus Leeming  <leeming@lyx.org>
6571
6572         * lyxgluelength.h: no need to forward declare BufferParams
6573         or BufferView, so don't.
6574
6575 2002-10-21  John Levon  <levon@movementarian.org>
6576
6577         * BufferView.C: menuUndo ->undo, redo
6578
6579         * BufferView.h: document, remove dead, make some methods private
6580
6581         * paragraph_funcs.h:
6582         * paragraph_funcs.C:
6583         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6584
6585         * buffer.h:
6586         * buffer.C:
6587         * sgml.h:
6588         * sgml.C: move sgml open/close tag into sgml.C
6589
6590         * bufferview_funcs.h: unused prototype
6591
6592         * lyxfunc.h:
6593         * lyxfunc.C: remove unused
6594
6595         * lyxtext.h:
6596         * text.C: remove unused
6597
6598 2002-10-21  John Levon  <levon@movementarian.org>
6599
6600         * BufferView.h:
6601         * BufferView.C:
6602         * BufferView_pimpl.h:
6603         * BufferView_pimpl.C: fix mouse wheel handling based on
6604           patch from Darren Freeman
6605
6606 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6607
6608         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6609
6610 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6611
6612         * lyxlength.C (inPixels): Fix hanfling of negative length.
6613         Fix LyXLength::MU case.
6614
6615 2002-10-16  John Levon  <levon@movementarian.org>
6616
6617         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6618
6619 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6620
6621         * converter.C (view): add support for $$i (file name) and $$p
6622         (file path) for the viewer command. If $$i is not specified, then
6623         it is appended to the command (for compatibility with old syntax)
6624
6625 2002-10-14  Juergen Vigna  <jug@sad.it>
6626
6627         * undo_funcs.C (textHandleUndo): alter the order in which the
6628         new undopar is added to the LyXText, as we have to set first
6629         the right prev/next and then add it as otherwise the rebuild of
6630         LyXText is not correct. Also reset the cursor to the right paragraph,
6631         with this IMO we could remove the hack in "redoParagraphs()".
6632
6633 2002-10-09  Angus Leeming  <leeming@lyx.org>
6634
6635         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6636         to turn off an optimisation if a new inset is to be inserted.
6637
6638 2002-10-11 André Pönitz <poenitz@gmx.net>
6639
6640         * lyxtext.h: make some functions public to allow access
6641         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6642
6643 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6644
6645         * text3.C (dispatch): when changing layout, avoid an infinite loop
6646         [bug #652]
6647
6648 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6649
6650         * lyxrc.C (read): treat a viewer or converter command of "none" as
6651         if it were empty.
6652
6653         * MenuBackend.C (expandFormats): for an update, also allow the
6654         formats that are not viewable
6655
6656         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6657         script if it is newer than the lyxrc.defaults in user directory
6658
6659 2002-10-07 André Pönitz <poenitz@gmx.net>
6660
6661         * text.C: Vitaly Lipatov's small i18n fix
6662
6663 2002-09-25  Angus Leeming  <leeming@lyx.org>
6664
6665         * ispell.h: doxygen fix.
6666
6667 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6668
6669         * buffer.h (readFile): Add a new argument to the method, to allow
6670         reading of old-format templates.
6671
6672 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6673
6674         * toc.C (getTocList): Get TOC from InsetWrap.
6675
6676 2002-09-16  John Levon  <levon@movementarian.org>
6677
6678         * lyxfunc.C: check tabular for cut/copy too
6679
6680 2002-09-12  John Levon  <levon@movementarian.org>
6681
6682         * LyXAction.C: tidy
6683
6684         * factory.h:
6685         * factory.C: add header
6686
6687         * paragraph_funcs.h:
6688         * paragraph_funcs.C: cleanup
6689
6690 2002-09-11  John Levon  <levon@movementarian.org>
6691
6692         * PrinterParams.h: odd/even default to true
6693
6694 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6695
6696         * PrinterParams.h: update printer parameters for new xforms dialog
6697
6698 2002-09-11  Angus Leeming  <leeming@lyx.org>
6699
6700         * lyxserver.C (read_ready): re-write to make it more transparent
6701         and to make it work in coherent fashion under Tru64 Unix.
6702
6703 2002-09-11  André Pönitz <poenitz@gmx.net>
6704
6705         * commandtags.h:
6706         * LyXAction.C:
6707         * text3.C: implement LFUN_WORDSEL
6708
6709 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6712         make floatlist_ a boost::shared_ptr<FloatList>
6713
6714         * lyxtextclass.C: include FloatList.h
6715         (LyXTextClass): initialize floatlist_
6716         (TextClassTags): add TC_NOFLOAT
6717         (Read): match "nofloat" to TC_NOFLOAT and use it.
6718         (readFloat): modify call to floatlist_
6719         (floats): ditto
6720         (floats): ditto
6721
6722         * FloatList.[Ch] (FloatList): remove commented out float
6723         initialization.
6724         (erase): new function
6725
6726 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6727
6728         * MenuBackend.C (expandToc): fix crash when there is no document
6729         open
6730
6731 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6732
6733         * many files: Add insetwrap.
6734
6735 2002-09-09  John Levon  <levon@movementarian.org>
6736
6737         * text2.C: remove confusing and awkward depth wraparound
6738
6739 2002-09-09  John Levon  <levon@movementarian.org>
6740
6741         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6742
6743         * buffer.h:
6744         * buffer.C: remove getIncludeonlyList()
6745
6746         * paragraph.C:
6747         * lyxfunc.C: remove headers
6748
6749 2002-09-09  Juergen Vigna  <jug@sad.it>
6750
6751         * text.C (getColumnNearX): fix form Michael this is most
6752         probably a cut&paste bug.
6753
6754 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6757
6758         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6759         references, ws changes.
6760
6761         * text2.C (init): update counters after init
6762         (insertParagraph): no need to set counter on idividual paragraphs.
6763         (setCounter): access the counters object in the textclass object
6764         on in the buffer object.
6765         (updateCounters): ditto
6766
6767         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6768         shared_ptr<Counters> to avoid loading counters.h in all
6769         compilation units.
6770         (LyXTextClass): initialize ctrs_
6771         (TextClassTags): add TC_COUNTER, and ...
6772         (Read): use it here.
6773         (CounterTags): new tags
6774         (readCounter): new function
6775         (counters): new funtion
6776         (defaultLayoutName): return a const reference
6777
6778         * counters.C (Counters): remove contructor
6779         (newCounter): remove a couple of unneeded statements.
6780         (newCounter): simplify a bit.
6781         (numberLabel): some small formatting changes.
6782
6783         * buffer.[Ch]: remove all traces of counters, move the Counters
6784         object to the LyXTextClass.
6785
6786 2002-09-06  Alain Castera  <castera@in2p3.fr>
6787
6788         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6789         package to set the horizontal alignment on fixed width columns.
6790
6791         * lyx_sty.C:
6792         * lyx_sty.h: added tabularnewline macro def.
6793
6794         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6795
6796 2002-09-06  John Levon  <levon@movementarian.org>
6797
6798         * LyXAction.C: tooltips for sub/superscript
6799
6800         * MenuBackend.C: a bit more verbose
6801
6802         * lyxfunc.C: tiny clean
6803
6804         * undo_funcs.C: document undo_frozen
6805
6806 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * counters.C (Counters): add missing algorithm counter.
6809
6810         * text2.C (setCounter): lookup the counter with layouts latexname
6811         instead of by section number.
6812         (setCounter): use a hackish way to lookup the correct enum
6813         counter.
6814         a float name->type change
6815         reset enum couners with counter name directly instead of depth value.
6816
6817         * counters.C (Counters): remove the push_backs, change to use the
6818         float type not the float name.
6819         (labelItem): remove unused string, float name->type change
6820
6821         * counters.h: don't include vector, loose the enums and sects vectors
6822
6823 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6826         (Read): add float->TC_FLOAT to textclassTags
6827         (Read): and handle it in the switch
6828         (readFloat): new function
6829
6830         * FloatList.C (FloatList): comment out the hardcoded float
6831         definitions.
6832
6833         * lyxlayout.h: ws change.
6834
6835 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6836
6837         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6838
6839 2002-09-03  Angus Leeming  <leeming@lyx.org>
6840
6841         * BufferView_pimpl.h: qualified name is not allowed in member
6842         declaration: WorkArea & Pimpl::workarea() const;
6843
6844         * factory.C: added using std::endl directive.
6845
6846         * text3.C: added using std::find and std::vector directives.
6847
6848 2002-08-29  André Pönitz <poenitz@gmx.net>
6849
6850         * lyxtext.h:
6851         * text2.C: remove unused member number_of_rows
6852
6853         * Makefile.am:
6854         * BufferView2.C: remove file, move contents to...
6855         * BufferView.C: ... here
6856
6857         * BufferView_pimpl.C:
6858         * factory.C: move more inset creation to factory
6859
6860         * vspace.C: avoid direct usage of LyXText, ws changes
6861
6862         * BufferView.[Ch]:
6863                 don't provide direct access to WorkArea, use two simple
6864                 acessors haveSelction() and workHeight() instead
6865
6866
6867 2002-08-29  John Levon  <levon@movementarian.org>
6868
6869         * BufferView_pimpl.C (dispatch): do not continue when
6870           no buffer
6871
6872 2002-08-28  André Pönitz <poenitz@gmx.net>
6873
6874         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6875
6876         * BufferView.h:
6877         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6878
6879 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6880
6881         * buffer.C: increment LYX_FORMAT to 221
6882
6883         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6884         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6885
6886         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6887
6888         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6889
6890 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * factory.C (createInset): use LyXTextClass::floats
6893
6894         * MenuBackend.C (expandFloatListInsert):
6895         (expandFloatInsert):
6896         (expandToc):
6897
6898         * text2.C (setCounter):
6899
6900         * LaTeXFeatures.C (useFloat):
6901         (getFloatDefinitions):
6902
6903         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6904
6905         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6906         floatlist_, with accessor floats().
6907
6908         * FloatList.h: remove global FloatList
6909
6910 2002-08-26  André Pönitz <poenitz@gmx.net>
6911
6912         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6913
6914         * BufferView.h:
6915         * BufferView2.C:
6916         * BufferView_pimpl.C:
6917         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6918
6919 2002-08-25  John Levon  <levon@movementarian.org>
6920
6921         * LyXAction.C: fix margin note description
6922
6923 2002-08-24  John Levon  <levon@movementarian.org>
6924
6925         * buffer.C:
6926         * bufferlist.C:
6927         * bufferview_funcs.C:
6928         * lyxfont.C:
6929         * undo_funcs.C: cleanups
6930
6931         * lyxfunc.C: disable CUT/COPY when no selection
6932
6933 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6934
6935         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6936         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6937
6938         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6939         Add backward compatibility to "mono", "gray" and "no".
6940
6941 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6942
6943         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6944         (and file_format >= 200).
6945
6946 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6947
6948         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6949
6950 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6951
6952         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6953
6954 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6955
6956         * BufferView_pimpl.C:
6957         * LyXAction.C:
6958         * buffer.C:
6959         * commandtags.h:
6960         * lyxfunc.C:
6961         * paragraph.[Ch]:
6962         * text2.C:
6963         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6964         inset and code to make it  work with the paragraph code. The inset
6965         can be anywhere in the paragraph, but will only do the expected
6966         thing in LaTeX if the layout file contains the parameter line
6967                         OptionalArgs    1
6968         (or more generally, a nonzero value) for that layout.
6969
6970 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * paragraph.h: remove the declaration of undefined counters class
6973         function.
6974
6975 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6976
6977         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6978         Dr. Richard Hawkins.
6979
6980 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6981
6982         * paragraph_funcs.h: remove some unneeded includes
6983
6984         * text.C (backspace): pasteParagraph now in global scipe
6985
6986         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6987         (pasteSelection): ditto
6988
6989         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6990         * paragraph_funcs.C (pasteParagraph): ... here
6991
6992 2002-08-20  André Pönitz <poenitz@gmx.net>
6993
6994         * commandtags.h: new LFUNs for swapping/copying table row/colums
6995
6996         * LyXAction.C:
6997         * lyxfunc.C: support for new lfuns
6998
6999 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * tabular.C:
7002         * buffer.[Ch]: remove NO_COMPABILITY stuff
7003
7004 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * boost.C (throw_exception): new file, with helper function for
7007         boost compiled without exceptions.
7008
7009         * paragraph.h:
7010         * lyxlength.C:
7011         * buffer.C:
7012         * ParameterStruct.h:
7013         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7014
7015         * bufferlist.C (emergencyWriteAll): use boost bind
7016
7017         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7018
7019         * text.C: include paragraph_funcs.h
7020         (breakParagraph): breakParagraph is now in global scope
7021
7022         * paragraph_funcs.[Ch]: new files
7023
7024         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7025         global scope
7026
7027         * buffer.C: include paragraph_funcs.h
7028         (insertStringAsLines): breakParagraph is now in global scope
7029
7030         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7031         paragraph_funcs.C
7032
7033         * CutAndPaste.C: include paragraph_funcs.h
7034         (cutSelection): breakParagraphConservative is now in global scope
7035         (pasteSelection): ditto
7036
7037         * buffer.h: declare oprator== and operator!= for
7038         Buffer::inset_iterator
7039
7040         * bufferlist.C (emergencyWrite): don't use fmt(...)
7041
7042         * text3.C: add using std::endl
7043
7044         * BufferView.C (moveCursorUpdate): remove default arg
7045
7046 2002-08-20  André Pönitz <poenitz@gmx.net>
7047
7048         * buffer.[Ch]: move inline functions to .C
7049
7050         * BufferView2.C:
7051         * BufferView_pimpl.C:
7052         * text.C:
7053         * buffer.[Ch]: use improved inset_iterator
7054
7055         * buffer.C:
7056         * paragraph.[Ch]: write one paragraph at a time
7057
7058 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7059
7060         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7061         style if style is not specified.
7062
7063 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7064
7065         * text2.C (setCounter): when searching for right label for a
7066         caption, make sure to recurse to parent insets (so that a caption
7067         in a minipage in a figure float works) (bug #568)
7068
7069 2002-08-20  André Pönitz <poenitz@gmx.net>
7070
7071         * text3.C: new file for LyXText::dispatch() and helpers
7072
7073         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7074
7075         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7076
7077 2002-08-19  André Pönitz <poenitz@gmx.net>
7078
7079         * lyxtext.h:
7080         * text.C: new LyXText::dispatch()
7081
7082         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7083
7084 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7085
7086         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7087
7088         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7089         Hebrew text.
7090
7091 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7092
7093         * Makefile.am: use $(variables) instead of @substitutions@
7094
7095 2002-08-15  André Pönitz <poenitz@gmx.net>
7096
7097         * lyxfunc.C:
7098         * BufferView_pimpl.C: streamlining mathed <-> outer world
7099         interaction
7100
7101         * commandtags.h:
7102         * LyXAction.C: remove unused LFUN_MATH
7103
7104 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7107
7108 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * paragraph.C (Paragraph): reformat a bit
7111         (cutIntoMinibuffer): use builtin InsetList function instad of
7112         doing it manually.
7113         (getInset): ditto
7114
7115         * buffer.C: include boost/bind.hpp, add using std::for_each
7116         (writeFileAscii): use ParagraphList iterators
7117         (validate): use for_each for validate traversal of paragraphs
7118         (getBibkeyList): use ParagraphList iterators
7119         (resizeInsets): use for_each to resizeInsetsLyXText for all
7120         paragraphs.
7121         (getParFromID): use ParagraphList iterators
7122
7123         * BufferView2.C (lockInset): use paragraph list and iterators
7124
7125 2002-08-14  John Levon  <levon@movementarian.org>
7126
7127         * lyxserver.C: remove spurious xforms include
7128
7129 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7130
7131         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7132
7133 2002-08-13  André Pönitz <poenitz@gmx.net>
7134
7135         * LyXAction.[Ch]:
7136         * lyxfunc.C: further cleaning
7137
7138 2002-08-13  André Pönitz <poenitz@gmx.net>
7139
7140         * funcrequest.h: new constructor
7141
7142         * funcrequest.C: move stuff here from .h
7143
7144         * Makefile.am:
7145         * BufferView_pimpl.C:
7146         * LyXAction.C:
7147         * toc.C:
7148         * lyxfunc.C: subsequent changes
7149
7150         * lyxfunc.h: new view() member function
7151
7152         * lyxfunc.C: subsequent changes
7153
7154 2002-08-13  Angus Leeming  <leeming@lyx.org>
7155
7156         * BufferView2.C:
7157         * BufferView_pimpl.C:
7158         * buffer.C:
7159         * converter.C:
7160         * importer.C:
7161         * lyxfunc.C:
7162         * lyxvc.C:
7163         * toc.C:
7164         * vc-backend.C:
7165         changes due to the changed LyXView interface that now returns references
7166         to member variables not pointers.
7167
7168 2002-08-13  Angus Leeming  <leeming@lyx.org>
7169
7170         * WordLangTuple (word, lang_code): return references to strings,
7171         not strings.
7172
7173         * BufferView.h:
7174         * SpellBase.h:
7175         * lyxtext.h: forward-declare WordLangTuple.
7176
7177         * BufferView2.C:
7178         * ispell.C:
7179         * pspell.C:
7180         * text.C: #include "WordLangTuple.h".
7181
7182         * lyxtext.h:
7183         * text.C: (selectNextWordToSpellcheck): constify return type.
7184
7185 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7186
7187         * buffer.C:
7188         * buffer.h:
7189         * lyxtext.h:
7190         * paragraph.C:
7191         * paragraph_pimpl.h:
7192         * text.C:
7193         * text2.C:
7194         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7195         suggested by Angus.
7196         Made updateCounter always count from start of buffer, and removed
7197         second argument (par).
7198         Reverted floats number display to '#'. Perhaps I'll try again when the
7199         code base is sanitized a bit.
7200
7201 2002-08-12  Angus Leeming  <leeming@lyx.org>
7202
7203         * buffer.[Ch] (getLabelList): constify.
7204
7205 2002-08-07  André Pönitz <poenitz@gmx.net>
7206
7207         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7208
7209         * funcrequest.h: extension to keep mouse (x,y) position
7210
7211 2002-08-12  Juergen Vigna  <jug@sad.it>
7212
7213         * BufferView2.C (insertErrors): forbid undo when inserting error
7214         insets.
7215
7216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7217
7218 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * ParagraphList.[Ch]: new files
7221
7222         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7223
7224         * BufferView2.C (lockInset): ParagraphList changes
7225         * toc.C: ditto
7226         * text2.C: ditto
7227         * bufferlist.C: ditto
7228         * buffer.h: ditto
7229         * buffer.C: ditto
7230
7231 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7234         unused class variable counter_,
7235
7236         * paragraph.[Ch] (getFirstCounter): delete unused function
7237
7238         * counters.C: include LAssert.h
7239         (reset): add a new function with no arg, change other version to
7240         not have def. arg and to not allow empty arg.
7241
7242         * text2.C (setCounter): remove empty arg from call to Counters::reset
7243
7244 2002-08-11  John Levon  <levon@movementarian.org>
7245
7246         * Makefile.am: add WordLangTuple.h
7247
7248 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7251         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7252
7253         * insets/insettext.C: InsetList changes
7254
7255         * graphics/GraphicsSupport.C (operator()): InsetList changes
7256
7257         * toc.C (getTocList): InsetList changes
7258
7259         * paragraph_pimpl.[Ch]: InsetList changes
7260
7261         * paragraph.[Ch]: InsetList changes
7262
7263         * buffer.C (inset_iterator): InsetList changes
7264         (setParagraph): ditto
7265         * buffer.h (inset_iterator): ditto
7266         * iterators.C (operator++): ditto
7267         * iterators.h: ditto
7268
7269         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7270
7271         * InsetList.[Ch]: new files, most InsetList handling moved out of
7272         paragraph.C.
7273
7274         * BufferView2.C (removeAutoInsets): InsetList changes
7275         (lockInset): ditto
7276         (ChangeInsets): ditto
7277
7278 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * paragraph_pimpl.h (empty): new function
7281
7282         * paragraph.[Ch] (empty): new function
7283
7284         * other files: use the new Paragraph::empty function
7285
7286 2002-08-09  John Levon  <levon@movementarian.org>
7287
7288         * lyxtext.h: remove unused refresh_height
7289
7290 2002-08-09  John Levon  <levon@movementarian.org>
7291
7292         * Makefile.am:
7293         * sgml.h:
7294         * sgml.C:
7295         * buffer.C:
7296         * paragraph.h:
7297         * paragraph.C: move sgml char escaping out of paragraph
7298
7299         * paragraph.h:
7300         * paragraph.C: remove id setter
7301
7302         * buffer.C:
7303         * paragraph.C:
7304         * paragraph_pimpl.C: remove dead tex_code_break_column
7305
7306         * bufferview_funcs.C: small cleanup
7307
7308         * lyxfunc.C: remove dead proto
7309
7310         * lyxtext.h: make some stuff private. Remove some dead stuff.
7311
7312         * lyxgluelength.C: make as[LyX]String() readable
7313
7314 2002-08-08  John Levon  <levon@movementarian.org>
7315
7316         * LyXAction.h:
7317         * LyXAction.C:
7318         * MenuBackend.C:
7319         * ToolbarDefaults.C:
7320         * lyxfunc.C:
7321         * lyxrc.C:
7322         * toc.C: lyxaction cleanup
7323
7324 2002-08-08  John Levon  <levon@movementarian.org>
7325
7326         * BufferView2.C: small cleanup
7327
7328         * lyxfind.h:
7329         * lyxfind.C: move unnecessary header into the .C
7330
7331 2002-08-08  John Levon  <levon@movementarian.org>
7332
7333         * funcrequest.h: just tedious nonsense
7334
7335         * lyx_main.h:
7336         * lyx_main.C: cleanups
7337
7338         * buffer.C:
7339         * vspace.C: remove dead header lyx_main.h
7340
7341 2002-08-07  Angus Leeming  <leeming@lyx.org>
7342
7343         * Paragraph.[Ch]:
7344         * paragraph_pimpl.h:
7345         Forward declare class Counters in paragraph.h by moving the ctrs member
7346         variable into Paragraph::Pimpl.
7347         (counters): new method, returning a reference to pimpl_->ctrs.
7348
7349         * text2.C: ensuing changes.
7350
7351 2002-08-07  John Levon  <levon@movementarian.org>
7352
7353         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7354
7355         * BufferView_pimpl.C: announce X selection on double/triple
7356           click
7357
7358         * lyx_main.C: use correct bool in batch dispatch
7359
7360         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7361
7362 2002-08-07  André Pönitz <poenitz@gmx.net>
7363
7364         * funcrequest.h: new class to wrap a kb_action and its argument
7365
7366         * BufferView.[Ch]:
7367         * BufferView_pimpl[Ch]:
7368         * LaTeX.C:
7369         * LyXAction.[Ch]:
7370         * lyxfunc.[Ch]:
7371         * lyxrc.C: subsequent changes
7372
7373
7374 2002-08-07  John Levon  <levon@movementarian.org>
7375
7376         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7377           document options change.
7378
7379 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7380
7381         * counters.[Ch]
7382         * text2.C
7383         * paragraph.[Ch]
7384         * makefile.am: move counters functionality over from
7385         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7386
7387 2002-08-06  John Levon  <levon@movementarian.org>
7388
7389         * WordLangTuple.h: new file for word + language code tuple
7390
7391         * SpellBase.h:
7392         * pspell.h:
7393         * pspell.C:
7394         * ispell.h:
7395         * ispell.C:
7396         * lyxtext.h:
7397         * text.C:
7398         * text2.C:
7399         * BufferView.h:
7400         * BufferView2.C: use WordLangTuple
7401
7402         * layout.h:
7403         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7404
7405 2002-08-06  John Levon  <levon@movementarian.org>
7406
7407         * lyx_main.C: fix cmdline batch handling
7408
7409 2002-08-06  André Pönitz <poenitz@gmx.net>
7410
7411         * lyxrc.C: set default for show_banner to true
7412
7413 2002-08-06  John Levon  <levon@movementarian.org>
7414
7415         * pspell.C: fix a crash, and allow new aspell to work
7416
7417 2002-08-06  John Levon  <levon@movementarian.org>
7418
7419         * lyxfunc.C:
7420         * kbmap.C: small cleanup
7421
7422         * vspace.h:
7423         * vspace.C: add const
7424
7425 2002-08-05  John Levon  <levon@movementarian.org>
7426
7427         * LyXAction.C: back to tabular-insert
7428
7429 2002-08-04  John Levon  <levon@movementarian.org>
7430
7431         * BufferView.h:
7432         * BufferView.C: cosmetic change
7433
7434         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7435
7436         * bufferlist.C:
7437         * buffer.h:
7438         * buffer.C:
7439         * lyxcb.h:
7440         * lyxcb.C:
7441         * lyxserver.C:
7442         * lyxvc.C:
7443         * vc-backend.C:
7444         * BufferView2.C: purge all "Lyx" not "LyX" strings
7445
7446         * lyxcursor.h:
7447         * lyxcursor.C: attempt to add some documentation
7448
7449         * lyxfunc.C:
7450         * commandtags.h:
7451         * LyXAction.C:
7452         * ToolbarDefaults.C:
7453         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7454           merge with LFUN_TABULAR_INSERT
7455
7456         * Makefile.am:
7457         * SpellBase.h:
7458         * ispell.h:
7459         * ispell.C:
7460         * pspell.h:
7461         * pspell.C: split up i/pspell implementations into separate
7462           files, many cleanups
7463
7464         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7465
7466         * text2.C: some cleanup
7467
7468         * lyxfunc.C: don't check for isp_command == "none" any more, it
7469           didn't make any sense
7470
7471 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7472
7473         * counters.[Ch]
7474         * text2.C
7475         * paragraph.[Ch]
7476         * makefile.am: move counters functionality over
7477         from text2.C/paragraph.[Ch] to counters.[Ch], and
7478         make proper C++.
7479 2002-08-02  John Levon  <levon@movementarian.org>
7480
7481         * buffer.C: s/lyxconvert/lyx2lyx/
7482
7483 2002-08-02  Angus Leeming  <leeming@lyx.org>
7484
7485         * lyxlex.C: revert John's change as it breaks reading of the user
7486         preamble.
7487
7488 2002-08-02  Angus Leeming  <leeming@lyx.org>
7489
7490         * importer.C (Import):
7491         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7492         changes due to LyXView::view() now returning a boost::shared_ptr.
7493
7494 2002-08-02  John Levon  <levon@movementarian.org>
7495
7496         * lyxlex.C: small cleanup
7497
7498 2002-08-02  John Levon  <levon@movementarian.org>
7499
7500         * text2.C (status): small cleanup, no logic change
7501
7502 2002-08-01  John Levon  <levon@movementarian.org>
7503
7504         * buffer.h:
7505         * buffer.C (writeFile): don't output alerts, caller
7506           handles this
7507
7508         * bufferlist.C:
7509         * lyx_cb.C: from above
7510
7511         * lyxfunc.C: allow to open non-existent files
7512
7513 2002-07-31  John Levon  <levon@movementarian.org>
7514
7515         * lyxserver.C: don't let incidental errors get
7516           in the way (errno)
7517
7518 2002-07-30  John Levon  <levon@movementarian.org>
7519
7520         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7521
7522 2002-07-30  John Levon  <levon@movementarian.org>
7523
7524         * lyxserver.h:
7525         * lyxserver.C: remove I/O callback too
7526
7527 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7528
7529         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7530         log.
7531
7532 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * many files: strip,frontStrip -> trim,ltrim,rtrim
7535
7536 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * PrinterParams.h: remove extern containsOnly, and include
7539         support/lstrings.h instead.
7540
7541         * LaTeX.C (scanAuxFile): modify because of strip changes
7542         (deplog): ditto
7543         * buffer.C (makeLaTeXFile): ditto
7544         * bufferparams.C (writeFile): ditt
7545         * lyxfont.C (stateText): ditto
7546         * lyxserver.C (read_ready): ditto
7547         * vc-backend.C (scanMaster): ditto
7548
7549         * BufferView_pimpl.h: ws changes
7550
7551         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7552
7553 2002-07-26  André Pönitz <poenitz@gmx.net>
7554
7555         * kb_sequence.C: remove unnedred usings
7556
7557 2002-07-26  Juergen Vigna  <jug@sad.it>
7558
7559         * lyxfind.C (LyXReplace): we have to check better if the returned
7560         text is not of theLockingInset()->getLockingInset().
7561
7562 2002-07-25  Juergen Vigna  <jug@sad.it>
7563
7564         * lyxfind.C (LyXReplace): don't replace if we don't get the
7565         right LyXText.
7566
7567         * undo_funcs.C (createUndo): remove debugging code.
7568
7569 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7570
7571         * buffer.C (parseSingleLyXformat2Token): Use default placement
7572         when reading old floats.
7573
7574         * FloatList.C (FloatList): Change the default placement of figure
7575         and tables to "tbp".
7576
7577 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7578
7579         * MenuBackend.C: using std::max
7580
7581 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7582
7583         * MenuBackend.C (expandToc):
7584         (expandToc2): code moved from xforms menu frontend. It is now
7585         generic and TOCs are transparent to menu frontends.
7586
7587 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7588
7589         * toc.C (getTocList): protect against buf=0
7590
7591         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7592         Menu as first parameter. Now, this calls itself recursively to
7593         expand a whole tree (this will be useful for TOC handling)
7594         (expandFloatInsert): remove 'wide' version of floats
7595
7596         * MenuBackend.h (submenuname): returns the name of the submenu.
7597         (submenu): returns the submenu itself, provided it has been
7598         created by MenuBackend::expand
7599
7600 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7601
7602         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7603         insets which have noFontChange == true. (bug #172)
7604
7605 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7606
7607         * BufferView_pimpl.C: add connection objects and use them...
7608         (Pimpl): here.
7609
7610 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7611
7612         * MenuBackend.C (expandLastfiles):
7613         (expandDocuments):
7614         (expandFormats):
7615         (expandFloatListInsert):
7616         (expandFloatInsert):
7617         (expand): split expand in parts
7618
7619 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7620
7621         * lyx_gui.C: use lyx_gui::exit()
7622
7623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * LyXAction.C: show the failing pseudo action
7626
7627 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7628
7629         * buffer.C (readFile): Run the lyxconvert script in order to read
7630         old files.
7631
7632 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * LyXAction.C:
7635         * commandtags.h:
7636         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7637
7638 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * LyXAction.C:
7641         * commandtags.h:
7642         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7643
7644 2002-07-22  Herbert Voss  <voss@lyx.org>
7645
7646         * lengthcommon.C:
7647         * lyxlength.[Ch]: add support for the vertical lengths
7648
7649 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7650
7651         * toc.[Ch]: std:: fixes
7652
7653 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7654
7655         * lyxrc.C: do not include lyx_main.h
7656
7657         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7658         for layouts
7659
7660         * lyxrc.C:
7661         * encoding.C:
7662         * bufferlist.C:
7663         * BufferView2.C: include "lyxlex.h"
7664
7665         * tabular.h:
7666         * bufferparams.h: do not #include "lyxlex.h"
7667
7668         * lyxtextclasslist.C (Add): remove method
7669         (classlist): renamed to classlist_
7670
7671         * paragraph_pimpl.C:
7672         * paragraph.C:
7673         * text2.C:
7674         * CutAndPaste.C:
7675         * bufferview_funcs.C:
7676         * bufferlist.C:
7677         * text.C:
7678         * LaTeXFeatures.C:
7679         * buffer.C:
7680         * toc.C (getTocList): use BufferParams::getLyXTextClass
7681
7682         * toc.C (getTocList): use InsetFloat::addToToc
7683
7684         * toc.[Ch]: new files, containing helper functions to handle table
7685         of contents
7686
7687         * lyxfunc.C (dispatch): no need to remove spaces around command
7688         given as a string
7689         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7690         first command of the sequence; it is not very clever, but I do not
7691         have a better idea, actually
7692
7693         * LyXAction.C (LookupFunc): make sure to remove space at the
7694         beginning and end of the command
7695
7696 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7697
7698         * MenuBackend.C (getMenubar): new method: return the menubar of
7699         this menu set
7700         (read): treat differently reading of menu and menubar (in
7701         particular, the menubar has no name now)
7702         (Menu::menubar): remove
7703
7704         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7705         saving is finished
7706
7707 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7708
7709         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7710         a bibitem inset in a RTL paragraph.
7711
7712 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * paragraph_pimpl.C: constify
7715
7716         * BufferView_pimpl.C:
7717         * LaTeX.C:
7718         * lyxfunc.C: fix dispatch in a nicer way
7719
7720 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7721
7722         * lyxfunc.C (dispatch):
7723         * BufferView_pimpl.C:
7724         * BufferView_pimpl.h:
7725         * BufferView.C:
7726         * BufferView.h: rename Dispatch() to dispatch()
7727
7728         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7729
7730         * lyxlayout.C (Read): honor DependsOn tag
7731
7732         * lyxlayout.[Ch] (depends_on): new method
7733
7734         * version.C.in: update lyx_docversion
7735
7736         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7737
7738         * paragraph.C (validate): remove from here...
7739         * paragraph_pimpl.C (validate): ... and move here
7740         (isTextAt): make it const
7741
7742         * buffer.C (getLists): ws cleanup
7743
7744 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7745
7746         * language.C (read): Use iso8859-1 encoding in latex_lang
7747         (this prevents LyX from crashing when using iso10646-1 encoding).
7748
7749 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * text2.C (toggleInset): if cursor is inside an inset, close the
7752         inset and leave cursor _after_ it
7753
7754 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7755
7756         * lyxfunc.C: move minibuffer completion handling out of here
7757
7758 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7759
7760         * BufferView_pimpl.C:
7761         * LaTeX.C: fix dispatch calls
7762
7763 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7764
7765         * text.C (drawChars): Fix Arabic text rendering.
7766
7767 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7768
7769         * LyXAction.C:
7770         * commandtags.h:
7771         * lyxfunc.C: remove message-push/pop
7772
7773         * lyxserver.C:
7774         * lyxfunc.h:
7775         * lyxfunc.C: rationalise some code by removing verboseDispatch
7776           in favour of a bool argument to dispatch()
7777
7778 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7779
7780         * lyx_main.C (init): make sure to read symlinks as absolute paths
7781
7782 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7783
7784         * lyxfunc.h:
7785         * lyxfunc.C: no need for commandshortcut to be a member
7786
7787 2002-07-15  André Pönitz <poenitz@gmx.net>
7788
7789         * converter.C: add support for $$s (scripts from lib/scripts dir)
7790         * lyx_main.C: white space
7791
7792 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * bufferlist.C:
7795         * lyxrc.h:
7796         * lyxrc.C: remove second exit confirmation
7797
7798 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * BufferView.h:
7801         * BufferView.C:
7802         * BufferView2.C:
7803         * BufferView_pimpl.h:
7804         * BufferView_pimpl.C:
7805         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7806
7807 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * MenuBackend.C (expand): add numeric shortcuts to document menu
7810
7811         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7812
7813 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * lyxfont.C (setLyXFamily):
7816         (setLyXSeries):
7817         (setLyXShape):
7818         (setLyXSize):
7819         (setLyXMisc):
7820         (lyxRead):
7821         * debug.C (value):
7822         * buffer.C (asciiParagraph): use ascii_lowercase
7823
7824 2002-07-15  Mike Fabian  <mfabian@suse.de>
7825
7826         * lyxlex_pimpl.C (search_kw):
7827         * lyxlex.C (getLongString):
7828         * converter.h (operator<):
7829         * converter.C (operator<):
7830         * buffer.C (parseSingleLyXformat2Token):
7831         (asciiParagraph):
7832         * ToolbarDefaults.C (read):
7833         * MenuBackend.C (checkShortcuts):
7834         (read):
7835         * LColor.C (getFromGUIName):
7836         (getFromLyXName): use the compare_ascii_no_case instead of
7837         compare_no_case, because in turkish, 'i' is not the lowercase
7838         version of 'I', and thus turkish locale breaks parsing of tags.
7839
7840 2002-07-16  Angus Leeming  <leeming@lyx.org>
7841
7842         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7843         now takes a Buffer const & argument.
7844
7845 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * BufferView.C (resize): check there's a buffer to resize
7848
7849 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * lyxfunc.C: remove dead code
7852
7853         * lyxserver.h:
7854         * lyxserver.C: use lyx_guii::set_read_callback
7855
7856 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7857
7858         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7859         an inset in a RTL paragraph.
7860
7861 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * lyxfunc.C: repaint after a font size update
7864
7865 2002-07-15  André Pönitz <poenitz@gmx.net>
7866
7867         * lyxlength.C: inBP should be able to return negative values
7868
7869 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7870
7871         * lyxfunc.C: use lyx_gui::update_fonts()
7872
7873 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * lyxfunc.C: use lyx_gui::update_color()
7876
7877 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * bufferlist.C:
7880         * lyxfunc.h:
7881         * lyxfunc.C:
7882         * lyxrc.h:
7883         * lyxrc.C: remove file->new asks for name option, and let
7884           buffer-new take an argument
7885
7886 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * BufferView_pimpl.C: remove unneeded extra repaint()
7889
7890 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * LyXAction.C: allow command-sequence with NoBuffer
7893
7894         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7895
7896 2002-07-10  Angus Leeming  <leeming@lyx.org>
7897
7898         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7899
7900 2002-07-09  Angus Leeming  <leeming@lyx.org>
7901
7902         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7903
7904 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * lengthcommon.h: whitespace
7907
7908         * lyxfunc.C: update scrollbar after goto paragraph
7909
7910         * lyxtext.h: factor out page break drawing, and fix it so
7911           page break/added space paints as selected nicely
7912
7913 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7914
7915         * BufferView_pimpl.C: add FIXMEs, clean up a little
7916
7917 2002-07-09  André Pönitz <poenitz@gmx.net>
7918
7919         * lyxfont.[Ch]: support for wasy symbols
7920
7921 2002-07-08  André Pönitz <poenitz@gmx.net>
7922
7923         * BufferView_pimpl.C: apply John's patch for #93.
7924
7925 2002-07-05  Angus Leeming  <leeming@lyx.org>
7926
7927         * BufferView_pimpl.C (buffer): generate previews if desired.
7928
7929         * LColor.h: add "preview" to the color enum.
7930
7931         * LColor.C (LColor): add a corresponding entry to the items array.
7932
7933         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7934         with this buffer.
7935
7936 2002-07-05  Angus Leeming  <leeming@lyx.org>
7937
7938         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7939         The body of the code is now in the method that is passed an ostream &
7940         rather than a file name.
7941         Pass an additional only_preamble parameter, useful for the forthcoming
7942         preview stuff.
7943
7944 2002-07-03  André Pönitz <poenitz@gmx.net>
7945
7946         * lyxfunc.C: simplify getStatus() a bit for math stuff
7947
7948 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7949
7950         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7951
7952 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * text.C (changeRegionCase): do not change case of all the
7955         document when region ends at paragraph end (bug #461)
7956
7957 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * paragraph.C (startTeXParParams):
7960         (endTeXParParams): add \protect when necessary
7961
7962 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7963
7964         * BufferView_pimpl.C (workAreaExpose): remove warning
7965
7966 2002-06-27  Angus Leeming  <leeming@lyx.org>
7967
7968         * Makefile.am: add lyxlayout_ptr_fwd.h.
7969
7970 2002-06-26  André Pönitz <poenitz@gmx.net>
7971
7972         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7973
7974 2002-06-25  Angus Leeming  <leeming@lyx.org>
7975
7976         * lyxfunc.C (dispatch): Comment out the call to
7977         grfx::GCache::changeDisplay. The method no longer exists now that the
7978         pixmap generation part of the graphics loader has been moved into
7979         InsetGraphics.
7980
7981 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7982
7983         * text2.C: layout as layout
7984
7985         * text.C: layout as layout
7986
7987         * tabular.C (OldFormatRead): layout as layout
7988
7989         * paragraph_pimpl.C (TeXDeeper): layout as layout
7990         (realizeFont): layout as layout
7991
7992         * paragraph.C (writeFile): layout as layout
7993         (validate): layout as layout
7994         (getFont): layout as layout
7995         (getLabelFont): layout as layout
7996         (getLayoutFont): layout as layout
7997         (breakParagraph): layout as layout
7998         (stripLeadingSpaces): layout as layout
7999         (getEndLabel): layout as layout
8000         (getMaxDepthAfter): layout as layout
8001         (applyLayout): layout as layout
8002         (TeXOnePar): layout as layout
8003         (simpleTeXOnePar): layout as layout
8004         (TeXEnvironment): layout as layout
8005         (layout): layout as layout
8006         (layout): layout as layout
8007
8008         * lyxtextclass.C (compare_name): new functor to work with
8009         shared_ptr, layout as layout
8010         (Read): layout as layout
8011         (hasLayout): layout as layout
8012         (operator): layout as layout
8013         (delete_layout): layout as layout
8014         (defaultLayout): layout as layout
8015
8016         * lyxlayout_ptr_fwd.h: new file
8017
8018         * lyxlayout.C (Read): layout as layout
8019
8020         * lyx_cb.C (MenuInsertLabel): layout as layout
8021
8022         * bufferlist.C (newFile): layout as layout
8023
8024         * buffer.C (readLyXformat2): layout as layout
8025         (parseSingleLyXformat2Token): layout as layout
8026         (insertStringAsLines): layout as layout
8027         (asciiParagraph): layout as layout
8028         (latexParagraphs): layout as layout
8029         (makeLinuxDocFile): layout as layout
8030         (simpleLinuxDocOnePar): layout as layout
8031         (makeDocBookFile): layout as layout
8032         (simpleDocBookOnePar): layout as layout
8033         (getLists): layout as layout
8034
8035         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8036
8037         * CutAndPaste.C (cutSelection): layout as layout
8038         (pasteSelection): layout as layout
8039         (SwitchLayoutsBetweenClasses): layout as layout
8040
8041         * BufferView_pimpl.C (Dispatch): layout as layout
8042         (smartQuote): layout as layout
8043
8044         * BufferView2.C (unlockInset): layout as layout
8045
8046 2002-06-24  André Pönitz <poenitz@gmx.net>
8047
8048         * lyxfunc.C: fix #487
8049
8050 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * lyxrc.h:
8053         * lyxrc.C:
8054         * lyxfunc.C: remove display_shortcuts, show_banner
8055
8056 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8057
8058         * Buffer_pimpl.C: oops, update on resize
8059
8060 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * buffer.C:
8063         * converter.C:
8064         * exporter.C:
8065         * lyxfunc.C:
8066         * BufferView.h:
8067         * BufferView.C: use repaint()
8068
8069         * BufferView_pimpl.h:
8070         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8071           as it's a clearer description. Remove superfluous
8072           redraws.
8073
8074 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * text.C: fix bug 488. Not ideal, but getting
8077           getWord() to work properly for the insets that
8078           matter is more difficult ...
8079
8080 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * BufferView_pimpl.C:
8083         * LyXAction.C:
8084         * commandtags.h:
8085         * lyxfunc.C: remove the six million index lyxfuncs to just
8086           one, and DTRT (bug 458)
8087
8088 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * BufferView.h:
8091         * BufferView.C:
8092         * BufferView_pimpl.h:
8093         * BufferView_pimpl.C: clean up resize() stuff,
8094           and unnecessary updateScreen()s
8095
8096 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8097
8098         * BufferView.h:
8099         * BufferView.C:
8100         * BufferView_pimpl.h:
8101         * BufferView_pimpl.C:
8102         * lyxfind.h:
8103         * lyxfind.C:
8104         * minibuffer.C: remove focus management of workarea,
8105           not needed. Use screen's greyOut()
8106
8107 2002-06-17  Herbert Voss  <voss@lyx.org>
8108
8109         * converter.C: (convert) do not post a message, when converting
8110         fails, let the calling function decide what to do in this case
8111
8112 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * lyxfunc.C: tidy up a little
8115
8116 2002-06-16    <alstrup@diku.dk>
8117
8118         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8119         Got rid of FORMS_H_LOCATION include. Now we are
8120         GUII.
8121
8122 2002-06-15  LyX Development team  <lyx@rilke>
8123
8124         * buffer.[Ch] (sgmlOpenTag):
8125         (sgmlCloseTag): Added support for avoiding pernicious mixed
8126         content. Return number of lines written.
8127
8128         (makeLinuxDocFile):
8129         (makeDocBookFile): Fixed calls to sgml*Tag.
8130         Simple white space clean.
8131
8132         (simpleDocBookOnePar): Simple white space clean.
8133
8134         * tabular.[Ch] (docBook): Renamed to docbook and got another
8135         argument to related with the pernicious mixed content.
8136
8137         (docbookRow): Fixed calls for docbook inset method.
8138
8139 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8140
8141         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8142         so it's X11 independent.
8143
8144         * kb*.[Ch]: ditto.
8145
8146         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8147
8148 2002-06-15  Lyx Development team  <lyx@electronia>
8149
8150         * intl.h: Renamed getTrans to getTransManager.
8151
8152 2002-06-14  Angus Leeming  <leeming@lyx.org>
8153
8154         * Makefile.am: nuke forgotten stl_string_fwd.h.
8155
8156 2002-06-12  Angus Leeming  <leeming@lyx.org>
8157
8158         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8159
8160 2002-06-13  Angus Leeming  <leeming@lyx.org>
8161
8162         * LaTeX.C:
8163         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8164
8165 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8166
8167         * kbmap.C (getiso): add support for cyrillic and greek
8168
8169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8170
8171         * BufferView.h:
8172         * BufferView.C:
8173         * BufferView_pimpl.h:
8174         * BufferView_pimpl.C: move bogus scrolling logic
8175           to xforms
8176
8177 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * lyxfunc.C:
8180         * BufferView_pimpl.C: view->resize() change
8181
8182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * BufferView_pimpl.C: topCursorVisible
8185           prototype change
8186
8187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * Makefile.am:
8190         * lyx_gui.h:
8191         * lyx_gui.C: move to frontends/
8192
8193         * main.C:
8194         * lyx_main.h:
8195         * lyx_main.C: changes from above
8196
8197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * intl.C:
8200         * intl.h:
8201         * kbmap.C:
8202         * kbsequence.C:
8203         * lyx_cb.C:
8204         * lyx_main.C: minor tidy
8205
8206 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * BufferView_pimpl.h:
8209         * BufferView_pimpl.C:
8210         * BufferView.h:
8211         * BufferView.C: make painter() const,
8212           remove dead code
8213
8214         * BufferView2.C: use screen() accessor
8215
8216         * lyx_main.h:
8217         * lyx_main.C: some minor cleanup
8218
8219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView_pimpl.h:
8222         * BufferView_pimpl.C: remove enter/leaveView,
8223           use workHeight()
8224
8225 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * BufferView.h:
8228         * BufferView.C:
8229         * BufferView2.C:
8230         * BufferView_pimpl.h:
8231         * BufferView_pimpl.C: only construct screen once,
8232           rename
8233
8234         * lyxrc.C: remove pointless comment
8235
8236 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8237
8238         * BufferView.h:
8239         * BufferView.C: remove active() and belowMouse()
8240
8241         * BufferView_pimpl.h:
8242         * BufferView_pimpl.C: use workarea() not workarea_,
8243           and make it use a scoped_ptr instead
8244
8245 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8246
8247         * lyx_gui.C: add debug message on BadWindow
8248
8249 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8250
8251         * sp_spell.C: fdopen is not part of the C++ standard.
8252
8253         * paragraph.C (InsetIterator): use >= instead of ==
8254
8255 2002-06-07  Angus Leeming  <leeming@lyx.org>
8256
8257         Fixes needed to compile with Compaq cxx 6.5.
8258         * BufferView_pimpl.C:
8259         * DepTable.C:
8260         * buffer.C:
8261         * converter.C:
8262         * encoding.C:
8263         * lyx_gui.C:
8264         * lyx_main.C:
8265         * lyxtextclasslist.C:
8266         * minibuffer.C:
8267         * sp_spell.C:
8268         * tabular_funcs.C:
8269         * vc-backend.C:
8270         all c-library variables have been moved into namespace std. Wrap
8271         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8272
8273         * lyxlength.C:
8274         * tabular-old.C:
8275         * tabular.C:
8276         Add a using std::abs declaration.
8277
8278         * kbmap.h (modifier_pair):
8279         * paragraph.h (InsetTable, InsetList):
8280         * lyxfont.h (FontBits):
8281         type definition made public.
8282
8283         * bufferlist.C (emergencyWriteAll): the compiler complains that
8284         there is more than one possible lyx::class_fun template to choose from.
8285         I re-named the void specialisation as lyx::void_class_fun.
8286
8287         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8288
8289         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8290         the compiler is is unable to find tostr in write_attribute.
8291
8292 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * buffer.C (sgmlError): hide #warning
8295
8296 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8297
8298         * xtl/*: get rid of xtl, which is not in use anyway
8299
8300         * LyXAction.C (init):
8301         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8302         were unimplemented xtl experimentation
8303
8304 2002-06-04  André Pönitz <poenitz@gmx.net>
8305
8306         * lyxfunc.C: disable array operation on simple formulae
8307
8308 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8309
8310         * converter.C: constify a bit
8311
8312 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * lyx_gui.C: check xforms version correctly
8315
8316 2002-04-30  Herbert Voss  <voss@lyx.org>
8317
8318         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8319         "keep" option
8320
8321 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8324           attempt to register it with a VCS)
8325
8326 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8327
8328         * lyx_main.C (init): honor variables LYX_DIR_13x and
8329         LYX_USERDIR_13x
8330
8331 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * buffer.h:
8334         * buffer.C:
8335         * lyx_main.C: fix a crash on bad command line,
8336           and give a useful exit status on error
8337
8338         * lyxfunc.C (doImport): allow -i lyx to work
8339
8340 2002-03-30  André Pönitz <poenitz@gmx.net>
8341
8342         * lyxfunc.C: mathed font changes
8343
8344 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * LaTeX.C:
8347         * importer.h:
8348         * importer.C:
8349         * lyx_sty.h:
8350         * lyx_sty.C:
8351         * lyxlex.C:
8352         * lyxrow.h:
8353         * lyxtext.h:
8354         * paragraph.h:
8355         * paragraph.C:
8356         * texrow.h:
8357         * texrow.C:
8358         * text.C:
8359         * trans_mgr.h: srcdocs, and some minor cleanups
8360
8361 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8364         call getFont all the time)
8365
8366 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * switch from SigC signals to boost::signals
8369
8370 2002-05-29  André Pönitz <poenitz@gmx.net>
8371
8372         * paragraph_pimpl.C (getChar): don't call size() too often...
8373
8374 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * paragraph_pimpl.C (insertChar): do not try to update tables when
8377         appending (pos == size())
8378
8379         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8380         in order to reduce drastically the number of comparisons needed to
8381         parse a large document
8382
8383 2002-05-29  André Pönitz <poenitz@gmx.net>
8384
8385         * text.C:
8386         * text2.C:
8387         * lyxtextclass.C:
8388         * sp_pspell.h:
8389         * textclasslist.[Ch]:
8390         * sp_ispell.h: whitespace change
8391
8392 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8393
8394         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8395         lyxaction directly now.
8396
8397 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * trans.C:
8400         * lyxfont.C:
8401         * lyxvc.C: remove unused headers
8402
8403 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8404
8405         * Makefile.am:
8406         * buffer.h:
8407         * undostack.h:
8408         * undostack.C:
8409         * undo_funcs.h:
8410         * undo_funcs.C: some cleanups. Use shared_ptr
8411           and a template for the undo stacks.
8412
8413 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * BufferView_pimpl.h:
8416         * BufferView_pimpl.C:
8417         * kbmap.h:
8418         * kbmap.C:
8419         * kbsequence.h:
8420         * kbsequence.C:
8421         * lyxfunc.h:
8422         * lyxfunc.C:
8423         * text2.C: use key_state/mouse_state
8424
8425 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8426
8427         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8428         and LSubstring
8429
8430         * chset.C: change include order
8431         (loadFile): use boost regex and get rid of LRegex and LSubstring
8432
8433         * Makefile.am (BOOST_LIBS): new variable
8434         (lyx_LDADD): use it
8435
8436         * LaTeX.C: change include order.
8437         (scanAuxFile): use boost regex and get rid of LRegex and
8438         LSubstring
8439         (deplog): ditto
8440
8441 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * ColorHandler.h:
8444         * ColorHandler.C:
8445         * FontInfo.h:
8446         * FontInfo.C: moved to frontends/xforms/
8447
8448         * FontLoader.h:
8449         * FontLoader.C: moved into frontends for GUIIzation
8450
8451         * Makefile.am:
8452         * lyx_gui.C:
8453         * lyxfont.C:
8454         * lyxfunc.C: changes from above
8455
8456 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * LColor.C: remove spurious X include
8459
8460         * BufferView_pimpl.C:
8461         * Makefile.am:
8462         * font.h:
8463         * font.C:
8464         * text.C:
8465         * text2.C: move font metrics to frontends/
8466
8467 2002-05-24  Juergen Vigna  <jug@sad.it>
8468
8469         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8470         setting the undo_cursor.
8471
8472         * ParagraphParameters.h: include local includes first.
8473
8474 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8475
8476         * BufferView_pimpl.C:
8477         * BufferView_pimpl.h:
8478         * Makefile.am:
8479         * WorkArea.h:
8480         * WorkArea.C:
8481         * screen.C: move WorkArea into frontends/
8482
8483         * lyxscreen.h:
8484         * screen.C:
8485         * text.C:
8486         * BufferView.C:
8487         * BufferView2.C: move LyXScreen into frontends/
8488
8489         * lyxlookup.h:
8490         * lyxlookup.C:
8491         * lyx_gui.C: move lyxlookup into frontends/xforms/
8492
8493 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * BufferView2.C:
8496         * BufferView_pimpl.C:
8497         * FontLoader.C:
8498         * LyXView.h:
8499         * LyXView.C:
8500         * Makefile.am:
8501         * WorkArea.C:
8502         * XFormsView.h:
8503         * XFormsView.C:
8504         * buffer.C:
8505         * bufferlist.C:
8506         * bufferview_funcs.C:
8507         * converter.C:
8508         * importer.C:
8509         * lyx_cb.C:
8510         * lyx_gui.C:
8511         * lyx_main.C:
8512         * lyx_find.C:
8513         * lyxfunc.C:
8514         * lyxvc.C:
8515         * minibuffer.C:
8516         * text.C:
8517         * text2.C:
8518         * trans.C:
8519         * vc-backend.C: move LyX/XFormsView into frontends/
8520
8521 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * Makefile.am:
8524         * PainterBase.C:
8525         * PainterBase.h:
8526         * Painter.C:
8527         * Painter.h:
8528         * WorkArea.C:
8529         * WorkArea.h:
8530         * screen.C:
8531         * tabular.C:
8532         * text.C:
8533         * text2.C: move Painter to frontends/
8534
8535 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8536
8537         * buffer.C: comment out some some code that depend upon lyx_format
8538         < 220
8539
8540         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8541         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8542
8543         * buffer.h (NO_COMPABILITY): turn off compability
8544
8545         * ColorHandler.C: include scoped_array.hpp
8546
8547         * font.C: Use more specific smart_ptr header.
8548         * Painter.C: ditto
8549         * gettext.C: ditto
8550         * ShareContainer.h: ditto
8551         * lyx_main.h: ditto
8552         * kbmap.h: ditto
8553         * FontInfo.h: ditto
8554         * BufferView_pimpl.h: ditto
8555         * ColorHandler.h: ditto
8556
8557         * kbmap.C (defkey): change call to shared_ptr::reset
8558
8559 2002-05-21  Juergen Vigna  <jug@sad.it>
8560
8561         * buffer.C (insertErtContents): fix to insert ert asis if it is
8562         non empty. Skip it completely if it contains only whitespaces.
8563
8564 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * BufferView_pimpl.C:
8567         * BufferView2.C: clear selection on paste (bug 393)
8568
8569 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8570
8571         * DepTable.C: include ctime
8572
8573 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8574
8575         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8576
8577 2002-05-14  Juergen Vigna  <jug@sad.it>
8578
8579         * text.C (breakParagraph): fixed function to honor the keepempty
8580         layout in the right maner and also to permit the right breaking
8581         algorithm on empty or non empyt keepempty paragraphs.
8582
8583         * paragraph.C (breakParagraph): we have to check also if the par
8584         is really empty (!size()) for isempty otherwise we do the wrong
8585         paragraph break.
8586
8587 2002-05-10  Juergen Vigna  <jug@sad.it>
8588
8589         * buffer.[Ch] : The following are only changes to the ert
8590         compatibility read reading old LaTeX layout and font stuff and
8591         convert it to ERTInsets.
8592
8593         * buffer.h: added isErtInset().
8594
8595         * buffer.C (struct ErtComp): add a fromlayout bool to check
8596         if we're inside a LaTeX layout.
8597         (isErtInset): new helper function.
8598         (insertErtContents): look for other ert insets before this one
8599         and insert the contents there, so that we don't have subsequent
8600         ERT insets with nothing between them. This way we create only one
8601         inset with multiple paragraphs. Also check if we don't insert only
8602         spaces ' ' as they are ignored anyway afterwards in the .tex file
8603         so if we have only spaces we will ignore this latex part in the
8604         new file.
8605         (parseSingleLyXformat2Token \\layout): better compatibility when
8606         reading layout-latex stuff.
8607         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8608         language tag.
8609         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8610         stuff after reading the inset only get the information back from
8611         the stack.
8612
8613 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8614
8615         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8616
8617         * LaTeXFeatures.C (getBabelOptions): New method.
8618
8619 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * BufferView_pimpl.C (Dispatch): work around missing argument for
8622         'layout'
8623
8624 2002-05-08  Juergen Vigna  <jug@sad.it>
8625
8626         * text.C (leftMargin): handle paragraph leftindent.
8627
8628         * paragraph.C (writeFile): write the new \\leftindent tag.
8629         (validate): handle leftindent code.
8630         (TeXEnvironment): handle paragraphleftindent code again.
8631
8632         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8633
8634         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8635         for paragrap_extra indent code and new token \\leftindent.
8636         (latexParagraphs): handle the leftindent as environment.
8637
8638         * ParameterStruct.h: added leftindent support.
8639
8640         * ParagraphParameters.C (leftIndent): added support functions for
8641         the paragraph left indent.
8642
8643         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8644         more appropriate.
8645
8646 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8647
8648         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8649         inside insetERT.
8650
8651         * text.C (computeBidiTables): No bidi in insetERT.
8652
8653         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8654         in RTL documents.
8655
8656 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8657
8658         * version.C.in: pre 5
8659
8660 2002-05-02  José Matos  <jamatos@fep.up.pt>
8661         * buffer.C (makeDocBookFile): white space changes, add newline to
8662         command styles.
8663         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8664
8665         * tabular.C (docBook): fix typo.
8666
8667 2002-05-03  Juergen Vigna  <jug@sad.it>
8668
8669         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8670         change in LyXText as we can not be sure it was not freed.
8671         (drawOneRow): remove unused code.
8672
8673         * text.C (drawInset): redo the calculation of the need_break_row as
8674         it could have a row which was already freed.
8675         (draw): look at the return value of drawInset and return false if
8676         it also returned false.
8677         (paintRowText): look at the return value of draw and return false if
8678         it also returned false.
8679
8680         * lyxtext.h: added bool return type to drawInset() and draw() so that
8681         if we have a change in the row so that the rowbreak has to be redone
8682         we abort drawing as it will be called again.
8683
8684 2002-05-02  Juergen Vigna  <jug@sad.it>
8685
8686         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8687         a change in the maintext also if we're inside an inset.
8688         (Dispatch): set the cursor again after a break line and after the
8689         screen has been updated as it could be we're in a different row.
8690
8691         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8692         to set the cursor behind the pargraph with > size().
8693         (setCursor): check also for the same paragraph when checking where
8694         to put the cursor if we have a NFR inset.
8695
8696         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8697         parts of layout read further up as it still was in the wrong
8698         position.
8699
8700 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8701
8702         * screen.C (drawFromTo): change sine fullRebreak always return
8703         true.
8704
8705         * buffer.C (parseSingleLyXformat2Token): reindent some
8706
8707         * BufferView_pimpl.C (update): change since fullRebreak always
8708         return true.
8709         (Dispatch): git rid of the last hardcoded "Standard"s.
8710
8711 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8712
8713         * text2.[Ch] (fullRebreak): make it return void now that we always
8714         returned true.
8715
8716 2002-04-30  Juergen Vigna  <jug@sad.it>
8717
8718         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8719         ert compatibility check for "latex" layout.
8720
8721 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8722
8723         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8724         minipages: use col% instead of p%, and also use the current font.
8725         (makeLaTeXFile): Fix use babel condition.
8726         (parseSingleLyXformat2Token): Correct font when reading old floats.
8727
8728 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8729
8730         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8731         inserting list of floats.
8732
8733 2002-04-25  Herbert Voss  <voss@lyx.org>
8734
8735         * MenuBackend.C (expand): don't add the graphics extensions to the
8736         export menu
8737
8738 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8741         non-existing layout, do not complain if it was the default layout
8742         of the original class (bug #342)
8743
8744 2002-04-24  Juergen Vigna  <jug@sad.it>
8745
8746         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8747         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8748
8749 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8750
8751         * buffer.C (getBibkeyList): If using \bibliography, return the
8752         option field with the reference itself. Enables us to provide natbib
8753         support when using \bibliography.
8754
8755 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8756
8757         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8758
8759         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8760         natbib is provided by the LaTeX class.
8761
8762 2002-04-23  Juergen Vigna  <jug@sad.it>
8763
8764         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8765         Wakeup functions.
8766
8767         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8768
8769 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8770
8771         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8772
8773         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8774         ensuremath around textordmasculine, textordfeminine and
8775         textdegree.
8776
8777 2002-04-19  Juergen Vigna  <jug@sad.it>
8778
8779         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8780         reinitializing the buffer otherwise row-dimensions may be wrong.
8781         (update): reset also the selection cursors if they do exits otherwise
8782         their x/y positions may be wrong.
8783
8784         * text2.C (cursorDown): don't enter the inset if we came from a row
8785         above and are one row over the inset.
8786
8787         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8788         really leaving an inset.
8789
8790 2002-04-18  Juergen Vigna  <jug@sad.it>
8791
8792         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8793         of the selected paragraph does not have the selected layout also if
8794         the last one had!
8795
8796         * text2.C (setLayout): fixed bug which did not change last selected
8797         paragraph.
8798
8799         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8800         changed the read and substituted \\end_float with \\end_inset!
8801
8802         * BufferView_pimpl.C (cursorPrevious):
8803         (cursorNext): fixed to make it work with rows heigher than the work
8804         area without moving the cursor only the draw of the row.
8805         (workAreaMotionNotify): fix jumping over high rows.
8806
8807 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8808
8809         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8810         Ressler.
8811
8812 2002-04-16  Juergen Vigna  <jug@sad.it>
8813
8814         * text2.C (setCursor): set also the irow().
8815         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8816         (cursorUp):
8817         (cursorDown): support for locking an inset if the x_fix value goes
8818         inside it. That way I can transverse insets too with cursor up/down.
8819
8820         * lyxrow.h: added irow helper function same as other (i) functions.
8821
8822         * BufferView_pimpl.C (cursorPrevious):
8823         (cursorNext): fixed for insets!
8824
8825 2002-04-15  Juergen Vigna  <jug@sad.it>
8826
8827         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8828         position otherwise it is wrong in some cases.
8829
8830         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8831         inside the inset before the call.
8832
8833 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8834
8835         * buffer.[Ch] (getBibkeyList): make it const.
8836
8837 2002-04-12  Juergen Vigna  <jug@sad.it>
8838
8839         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8840
8841         * text2.C (getCursorX): new helper function
8842         (setCursor): compute also ix_
8843         (setCursorFromCoordinates): set also ix.
8844
8845         * lyxcursor.h: added ix_ and helper functions.
8846
8847         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8848
8849         * buffer.C (insertStringAsLines): dont break paragraph if the this
8850         paragraph is inside an inset which does not permit it!
8851
8852         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8853         also with no chars on this paragraph.
8854         (paintRowText): only paint stuff if it's inside the workarea!
8855
8856         * paragraph.C (breakParagraph): honor keepempty flag and break the
8857         paragraph always below not above.
8858
8859         * BufferView2.C (unlockInset): update the paragraph layout on inset
8860         unlock as we changed paragraph in such a case.
8861
8862         * lyxfind.C (LyXFind): clear the former selection if not found!
8863
8864         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8865         again called in insertChar().
8866
8867         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8868         an inset which uses the whole row!
8869         (rightMargin): ditto.
8870         (insertChar): force a rebreak if we inserted an inset!
8871
8872 2002-03-28  Herbert Voss  <voss@lyx.org>
8873
8874         * lyxlength.[Ch]: add inBP() to get the right PS-point
8875         units (BigPoint). With inPixels we have rounding errors
8876
8877 2002-04-11  Juergen Vigna  <jug@sad.it>
8878
8879         * text2.C (setCursorFromCoordinates): set iy to the right value.
8880         (setCursor): add check if row->previous exists!
8881
8882         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8883         an old float_type as this was the case in the old code!
8884
8885         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8886
8887         * BufferView2.C (showLockedInsetCursor): use iy
8888         (fitLockedInsetCursor): ditto
8889
8890         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8891         locked insets as there we have the right value now.
8892
8893         * lyxcursor.C: added iy_ variable and iy functions to set to the
8894         baseline of cursor-y of the locked inset.
8895
8896         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8897         (setCursor): fixed for insets which need a full row.
8898
8899         * text.C (rowLastPrintable): don't ignore the last space when before
8900         an inset which needs a full row.
8901         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8902         as last character of a row when before a inset which needs a full row.
8903
8904 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8905
8906         * version.C.in: update date
8907
8908         * text2.C (fullRebreak): try to always return true and see what
8909         happens...
8910
8911 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * MenuBackend.C (expand): use Floating::listName
8914
8915         * FloatList.C (FloatList): add listName argument to the built-in
8916         floats
8917
8918         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8919         text associated with the float.
8920
8921 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8924
8925 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8926
8927         * ShareContainer.h: add a couple of missing typenames.
8928
8929 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8930
8931         * lyxrc.C (getDescription): use _() correctly rather than N_().
8932
8933 2002-03-28  Herbert Voss  <voss@lyx.org>
8934
8935         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8936         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8937
8938 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8941         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8942
8943 2002-03-29  Juergen Vigna  <jug@sad.it>
8944
8945         * lyxfunc.C (dispatch): add a missing fitCursor call.
8946
8947         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8948         it was scrolled by a cursor move, so return the bool status.
8949
8950         * BufferView.C (fitCursor): return the bool flag also to the outside
8951         world as this is needed.
8952
8953         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8954
8955         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8956         call the edit() as it is not needed (and wrong) IMO.
8957         (workAreaButtonPress): set the screen_first variable before evt.
8958         unlock the inset as this may change screen_first and then we have
8959         a wrong y position for the click!
8960
8961 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * MenuBackend.C (expand): another translation that I missed
8964
8965 2002-03-28  Juergen Vigna  <jug@sad.it>
8966
8967         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8968
8969         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8970
8971 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8974
8975         * MenuBackend.C (expand): fix export/view/update when there is no
8976         document open.
8977
8978 2002-03-27  Herbert Voss  <voss@lyx.org>
8979
8980         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8981         and text%
8982
8983 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * bufferview_funcs.C (currentState): only show paragraph number
8986         for is DEVEL_VERSION is set.
8987
8988         * lyxfunc.C (dispatch): put warning in INFO channel
8989
8990         * MenuBackend.C (expand): translate the name of floats
8991
8992         * FloatList.C (FloatList): mark the float names for translation
8993
8994         * converter.C (convert): use LibScriptSearch
8995
8996 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * MenuBackend.C (defaults): fix default menu (we might as well get
8999         rid of it...)
9000
9001 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9002
9003         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9004         directory.
9005
9006 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9007
9008         * lyxvc.C: reorder includes.
9009
9010 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9013           properly
9014
9015 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * CutAndPaste.C: change layouts earlier on paste
9018           to avoid crashing when calling getFont()
9019
9020 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9021
9022         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9023         irritating #error.
9024
9025 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * WorkArea.C: remove 'Pending' debug message.
9028
9029         * most files: ws cleanup
9030
9031         * buffer.[Ch]: ws changes
9032
9033         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9034
9035 2002-03-21  Juergen Vigna  <jug@sad.it>
9036
9037         * tabular.C (SetMultiColumn): collapse also the contents of the
9038         cells and set the last border right. Added a Buffer const * param.
9039
9040 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9041
9042         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9043         linking or not.
9044
9045 2002-03-19  Juergen Vigna  <jug@sad.it>
9046
9047         * text2.C (clearSelection): reset also xsel_cache.
9048
9049         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9050         where it needs to be called (John tells us to do so too :)
9051         (selectionLost): reset sel_cache.
9052
9053         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9054
9055 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * text2.C (setCursorIntern): put debuging code in INSETS channel
9058
9059 2002-03-19  André Pönitz <poenitz@gmx.net>
9060
9061         * lyxfunc.C: tiny whitespace change
9062
9063 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * ToolbarDefaults.C (init):
9066         * LyXAction.C (init):
9067         * commandtags.h:
9068         * BufferView_pimpl.C (Dispatch):
9069         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9070
9071 2002-03-19  Allan Rae  <rae@lyx.org>
9072
9073         * exporter.C (Export): removeAutoInsets before doing anything else.
9074         While I've just introduced a dependency on BufferView this really is
9075         the best place to clean the buffer otherwise you need to cleanup in
9076         a dozen places before calling export or cleanup in a dozen functions
9077         that export calls.
9078
9079         * converter.C (runLaTeX):
9080         (scanLog): Better handling of removeAutoInsets and screen updates.
9081
9082         * lyxfunc.C (dispatch): small whitespace changes
9083
9084 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9085
9086         * WorkArea.C (C_WorkAreaEvent): return a value.
9087         (event_cb): return 1 if we handled the event, 0 otherwise.
9088
9089         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9090
9091 2002-03-18  Juergen Vigna  <jug@sad.it>
9092
9093         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9094         (GetAdditionalWidth): ditto.
9095         (RightLine): ditto.
9096         (LeftLine): ditto.
9097
9098         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9099         inset if we're there actually (probably not used right now but this
9100         is the direction to go for unifying code).
9101         (paste): disable code to clear the selection.
9102
9103         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9104         inside an InsetText and move the check further up as it is in the
9105         wrong place.
9106
9107         * text2.C (pasteSelection): set a selection over the pasted text.
9108
9109 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9110
9111         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9112         and libgraphics to build on Cygwin.
9113
9114 2002-03-15  Juergen Vigna  <jug@sad.it>
9115
9116         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9117         inserting an Inset into the paragraph. I know this is not the best
9118         fix but we already use current_view in CutAndPaste so we will remove
9119         all of it's using at the same time.
9120
9121         * buffer.C (sgmlError): deactivated function till it is rewritten in
9122         the right mode, now it can create problems.
9123
9124         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9125         before accessing it.
9126
9127 2002-03-14  Juergen Vigna  <jug@sad.it>
9128
9129         * undo_funcs.C (textHandleUndo): do the right thing when updating
9130         the inset after the undo/redo.
9131
9132         * text2.C (setCursor): just some testcode for #44 not ready yet.
9133
9134         * undo_funcs.C (textHandleUndo): set the next() and previous()
9135         pointers of the paragraph to 0 before deleting otherwise we have
9136         problems with the Paragraph::[destructor].
9137
9138         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9139         on a paragraph insertion.
9140
9141 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * buffer.C (asciiParagraph): use += operator for char append to
9144         string.
9145
9146         * paragraph.C (getFontSettings): compare >= not just >
9147         (highestFontInRange): ditto
9148         (setFont): ditto
9149
9150 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9151
9152         * paragraph.C: change several algorithm to be more appripriate for
9153         the problem domain. This is lookip in FontList and in the InsetList.
9154
9155 2002-03-13  André Pönitz <poenitz@gmx.net>
9156
9157         * commandtags.h:
9158         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9159
9160 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * commandtags.h:
9163         * LyXAction.C:
9164         * lyxfunc.C:
9165         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9166
9167 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9168
9169         * Painter.C (display): anon helper function, adjust code for this
9170         change.
9171         (pixmap): remove function.
9172
9173         * Painter.h: remove private display variable.
9174
9175         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9176
9177 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9178
9179         * WorkArea.[Ch]: remove figinset_canvas cruft.
9180
9181 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9182
9183         * lyxtextclass.C (operator): add one item cache optimization.
9184
9185         * bufferlist.h: doxy changes
9186
9187         * bufferlist.C: ws changes
9188
9189         * DepTable.[Ch] (ext_exist): place const in the right spot.
9190
9191         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9192         call resizeInsets.
9193         (workAreaExpose): call resizeInsets when the with BufferView changes.
9194         (Dispatch): adjust for protectedBlank removal
9195         (specialChar): call updateInset if the insert went ok.
9196
9197         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9198         specialChar instead.
9199
9200         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9201
9202         * BufferView.h: doxy change
9203
9204         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9205
9206         * lyxtextclass.C (operator[]): remove non-const version
9207         (defaultLayout): remove non-const version
9208
9209 2002-03-12  Juergen Vigna  <jug@sad.it>
9210
9211         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9212         did resize the LyXText too.
9213
9214         * buffer.C (readLyXformat2): set layout information on newly allocated
9215         paragraphs.
9216
9217         * tabular.C (OldFormatRead): set layout information on the paragraph.
9218
9219 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9220
9221         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9222
9223 2002-03-11  Juergen Vigna  <jug@sad.it>
9224
9225         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9226         plainly wrong.
9227         (resizeCurrentBuffer): force also the insets to resize themselfes.
9228         (moveCursorUpdate): fixed up for InsetText.
9229
9230 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9231
9232         * commandtags.h:
9233         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9234         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9235         value of Dialogs::tooltipsEnabled().
9236         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9237
9238 2002-03-08  Juergen Vigna  <jug@sad.it>
9239
9240         * BufferView_pimpl.C (updateInset): update inset inside inset also
9241         if it isn't inside theLockingInset().
9242
9243 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9244
9245         * buffer.C (asciiParagraph): redo some of the word and line length
9246         handling.
9247         (getLists): look for Caption instead of caption.
9248
9249 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * buffer.C (Buffer): initialize niceFile to true
9252         (makeLaTeXFile):
9253         (makeLinuxDocFile):
9254         (makeDocBookFile): make sure niceFile is true on exit
9255
9256 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9259
9260 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9261
9262         * LyXSendto.C: remove.
9263         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9264         * lyx_gui.C: remove now-redundant comment.
9265         * ColorHandler.h: remove forward declaration of class WorkArea.
9266         * lyxfunc.C: remove #include "WorkArea.h".
9267
9268 2002-03-07  Juergen Vigna  <jug@sad.it>
9269
9270         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9271         got moved away with the DEPM and also set the inset_owner always
9272         right which before could have been omitted.
9273
9274 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9277         wanted layout is not found.
9278
9279 2002-03-07  Juergen Vigna  <jug@sad.it>
9280
9281         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9282
9283 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * paragraph.C (breakParagraph): use default layout not layout of
9286         prev paragraph.
9287         (Paragraph): clear ParagraphParameters.
9288
9289 2002-03-06  Juergen Vigna  <jug@sad.it>
9290
9291         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9292         otherwise it would not be a valid lenght. Fixed a special case in
9293         the minipage compatibility read where we end the document with a
9294         minipage.
9295
9296         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9297         was set as it could be 0 for InsetTexts first entry.
9298
9299 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9300
9301         * paragraph.C (writeFile): if layout is empty write out
9302         defaultLayoutName().
9303
9304         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9305         file without named layout we set layout to defaultLayoutName().
9306
9307 2002-03-06  Juergen Vigna  <jug@sad.it>
9308
9309         * CutAndPaste.C (copySelection): set layout for new paragraph.
9310
9311         * text.C (prepareToPrint): leave ERT inset left aligned
9312         (leftMargin): don't indent paragraphs inside ERT insets
9313
9314 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9315
9316         * paragraph.C (breakParagraph): dont call clear do the work manually
9317
9318         * paragraph.[Ch] (clear): remove function
9319
9320 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9321
9322         * paragraph.C (Paragraph): dont call clear, the work has already
9323         been done.
9324
9325         * lyxtextclass.C (operator): assert if n is empty
9326
9327         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9328         work manually instead.
9329
9330 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * BufferView_pimpl.C: protect selectionLost against text == 0
9333
9334 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * text.C (breakParagraph): fix a setting layout to '0' problem.
9337
9338 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9339
9340         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9341         final location of file, for the included files, and graphics.
9342
9343 2002-03-05  Juergen Vigna  <jug@sad.it>
9344
9345         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9346
9347 2002-03-04  Juergen Vigna  <jug@sad.it>
9348
9349         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9350
9351         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9352         last column of multicolumn cells.
9353         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9354
9355 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9356
9357         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9358         file if it doesn't go to a temporary file.
9359
9360         * buffer.C (sgmlOpenTag):
9361         (sgmlCloseTag):  remove extra newline insertion.
9362
9363 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * text.C (getRowNearY): comment out debug msg
9366
9367 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9368
9369         * text2.C: first -> first_y
9370
9371         * text.C (getRowNearY): add some attemts at a possible
9372         optimization, not working.
9373
9374         * tabular.[Ch]: add BufferParams to several function so that newly
9375         created paragraph can be initialized to he default layotu for the
9376         buffers textclass.
9377
9378         * tabular-old.C (ReadOld): add buf->params to call of Init
9379
9380         * screen.C: rename text->first to text->first_y
9381
9382         * paragraph.C (breakParagraph): always set layout in the broken
9383         paragraph
9384
9385         * lyxtextclass.C (Read): remove lowercase
9386         (hasLayout): ditto
9387         (operator): ditto
9388         (delete_layout): ditto
9389
9390         * lyxtext.h: rename first -> first_y
9391
9392         * lyxlayout.C (Read): remove lowercase
9393         (name): ditto
9394         (setName): ditto
9395         (obsoleted_by): ditto
9396
9397         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9398
9399         * buffer.C (insertErtContents): add params are to InsetERT
9400         (parseSingleLyXformat2Token): add code to check if a paragraphs
9401         layout really exist.
9402         (parseSingleLyXformat2Token): add params to several inset
9403         constructors
9404         (asciiParagraph): remove lowercase, do the layout comparisons with
9405         no_case
9406
9407         * BufferView_pimpl.C (cursorNext): first -> first_y
9408         (resizeCurrentBuffer): first -> first_y
9409         (updateScrollbar): first -> first_y
9410         (scrollCB): first -> first_y
9411         (workAreaMotionNotify): first -> first_y
9412         (workAreaButtonPress): first -> first_y
9413         (checkInsetHit): first -> first_y
9414         (cursorPrevious): first -> first_y
9415         (cursorNext): first -> first_y
9416         (Dispatch): add buffer_->params to severl inset contructors
9417
9418 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9419
9420         * lyxlayout.C (Read): remove some debug info that I forgot.
9421
9422         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9423         clean up the code slightly.
9424         (makeLinuxDocFile): ditto
9425         (makeDocBookFile): ditto
9426
9427         * text2.C: layout as string
9428
9429         * text.C: layout as string
9430
9431         * paragraph_pimpl.C: layout as string
9432
9433         * paragraph.[Ch]: layout as string
9434
9435         * lyxtextclasslist.[Ch]: layout as string
9436
9437         * lyxtextclass.[Ch]: layout as string
9438
9439         * lyxtext.h: layout as string
9440
9441         * lyxlayout.[Ch]: layout as string
9442
9443         * lyx_cb.C: layout as string
9444
9445         * bufferview_funcs.C: layout as string
9446
9447         * bufferparams.C: layout as string
9448
9449         * buffer.C: layout as string
9450
9451         * LyXView.[Ch]: layout as string
9452
9453         * LaTeXFeatures.[Ch]: layout as string
9454
9455         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9456
9457         * BufferView_pimpl.C: change current_layout to string, remove
9458         lyx::layout_type.
9459         (Dispatch):
9460         (smartQuote):
9461         (insertInset):
9462         (workAreaButtonRelease): layout as string
9463
9464         * BufferView2.C (unlockInset): adjust
9465
9466         * vspace.C (asLatexCommand): use an explict temp variable.
9467
9468 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * Makefile.am: use FRONTEND_*
9471
9472 2002-03-01  Juergen Vigna  <jug@sad.it>
9473
9474         * tabular.C (SetWidthOfMulticolCell): changed to something better
9475         I hope but still work in progress.
9476         (recalculateMulticolumnsOfColumn): renamed function from
9477         recalculateMulticolCells as it is more appropriate now.
9478         (SetWidthOfCell): calculate multicols better.
9479
9480 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9481
9482         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9483
9484         * lyxfunc.C (processKeySym): print sequence also if it is
9485         `deleted' (complete)
9486
9487         * kbsequence.C (print): print sequence even if it is deleted
9488         (complete would be a better word, actually).
9489
9490         * lyxfunc.C (dispatch): print complete options after a prefix key
9491
9492         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9493
9494 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9495
9496         * text2.C (setCharFont): eliminate setCharFont code duplication.
9497
9498 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9499
9500         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9501         LFUN_TABULAR_FEATURE (bug #177)
9502
9503 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9504
9505         * Makefile.am: remove figure.h
9506
9507 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9508
9509         * Bufferview_pimpl.C:
9510         * CutAndPasteC:
9511         * LaTeX.C:
9512         * LyXSendto.C:
9513         * buffer.C:
9514         * bufferlist.C:
9515         * converter.C:
9516         * language.C:
9517         * lyxfunc.C:
9518         * lyxvc.C:
9519         * paragraph.C:
9520         * text.C:
9521         * text2.C: remove #include "lyx_gui_misc.h".
9522
9523         * LaTeX.C: added #include <cstdio>
9524
9525 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9528         that the paragraph following this one can have.
9529
9530         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9531
9532         * vspace.C (asLatexCommand): fix bogus gcc warning
9533
9534         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9535
9536 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9537
9538         * text2.C (setLayout): get rid of redundant code
9539
9540 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9541
9542         * text2.C (incDepth): make sure depth cannot be increased beyond
9543         reasonable values.
9544
9545 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9546
9547         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9548         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9549
9550         * PainterBase.h (image):
9551         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9552         a LyXImage const *.
9553
9554 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * BufferView.C:
9557         * BufferView.h:
9558         * BufferView_pimpl.C:
9559         * BufferView_pimpl.h:
9560         * LaTeXFeatures.C:
9561         * LyXAction.C:
9562         * LyXView.C:
9563         * Makefile.am:
9564         * UpdateList.h:
9565         * UpdateList.C:
9566         * buffer.C:
9567         * figure.h:
9568         * figureForm.C:
9569         * figureForm.h:
9570         * figure_form.C:
9571         * figure_form.h:
9572         * lyx_cb.C:
9573         * lyx_gui.C:
9574         * lyx_gui_misc.C:
9575         * lyxfunc.C:
9576         * sp_base.h:
9577         * sp_ispell.h:
9578         * sp_pspell.h:
9579         * sp_spell.C: remove fig inset, and the crap house of
9580           cards that follows it
9581
9582 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * Makefile.am:
9585         * lyxserver.C:
9586         * os2_defines.h:
9587         * os2_errortable.h:
9588         * nt_defines.h: move .h into support/
9589
9590         * vms_defines.h: remove
9591
9592         * WorkArea.C: add space in debug output
9593
9594         * text2.C:
9595         * paragraph.C:
9596         * buffer.C: add WITH_WARNINGS
9597
9598         * vc-backend.h:
9599         * vc-backend.C:
9600         * bufferlist.C: s/retrive/retrieve/, add docs
9601
9602         * vspace.h:
9603         * vspace.C:
9604         * kbmap.h:
9605         * lyxlength.h:
9606         * lyxgluelength.h:
9607         * length_common.h:
9608         * chset.h:
9609         * chset.C: add docs
9610
9611         * lyxgui.C: add ID to X error handler
9612
9613         * lyxtestclass.c: fix typo
9614
9615 2002-02-26  Juergen Vigna  <jug@sad.it>
9616
9617         * tabular_funcs.C (write_attribute): changed so that some default
9618         attributes are not written at all.
9619         (getTokenValue): set default values before trying to read the
9620         value so we have the return value always set as default if we don't
9621         find the token we search for.
9622
9623         * tabular.C (Write): write bools as bools not as strings!
9624
9625 2002-02-22  Juergen Vigna  <jug@sad.it>
9626
9627         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9628         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9629
9630         * text.C (leftMargin): don't add an indent for paragraphs inside
9631         tabular cells (fix #208).
9632
9633 2002-02-21  José Matos  <jamatos@fep.up.pt>
9634
9635         * tabular.C (docBook): fixed support for long tables.
9636
9637 2002-02-20  Juergen Vigna  <jug@sad.it>
9638
9639         * text2.C (getFont): get the drawing font of the Inset if this
9640         paragraph is inside an inset (only important for InsetERT for now).
9641
9642         * buffer.C (insertErtContents): use new lanugage params in ERT
9643         constructor.
9644
9645         * CutAndPaste.C: commenting out seemingly uneeded code.
9646
9647 2002-02-19  Allan Rae  <rae@lyx.org>
9648
9649         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9650         Iterators might be simple to use but they also get invalidated.
9651         (removeAutoInsets): renamed saved cursor tracking variables and added
9652         some comments to clarify what everything does.
9653
9654 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9655
9656         * Chktex.C:
9657         * LaTeX.C:
9658         * LyXSendto.C:
9659         * converter.C:
9660         * lyx_cb.C:
9661         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9662         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9663
9664         * lyxfunc.C:
9665         * vc-backend.h: remove #include "support/syscall.h"
9666
9667         * LaTeX.C:
9668         * LyXSendto.C:
9669         * converter.C: rearrange #includes in Lars' approved fashion.
9670
9671         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9672         forward declare class Timeout in the header file.
9673
9674         * XFormsView.C: changes due to the above.
9675
9676         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9677         similar to LyXView.
9678
9679         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9680         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9681
9682 2002-02-18  José Matos  <jamatos@fep.up.pt>
9683
9684         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9685         insets contents.
9686
9687 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9688
9689         * a lot of small ws changes
9690         * add a lot of using std::XXX
9691         * use std construcs some places where approp.
9692         * use some exisint stuff from lyxfunctional where approp.
9693         * Make file changes to use partial linking (lets test this now...)
9694
9695 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9696
9697         * Chktex.C:
9698         * buffer.C:
9699         remove #include "support/syscontr.h" as it's redundant. Always has been.
9700
9701         * Chktex.C:
9702         * LaTeX.C:
9703         * LyXSendto.C:
9704         * converter.C:
9705         * lyx_cb.C:
9706         * vc-backend.C:
9707         change Systemcalls::System to Systemcalls::Wait and
9708         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9709         No change of functionality, just reflects the stripped down Systemcalls
9710         class.
9711
9712 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9713
9714         * debug.[Ch]: add a GRAPHICS type to the enum.
9715
9716 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9717
9718         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9719
9720         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9721         there is an inset.
9722
9723 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9726         match the changes below.
9727
9728         * text2.C (toggleInset): if there is not editable inset at cursor
9729         position, try to see if cursor is _inside_ a collapsable inset
9730         and close it.
9731
9732 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9735         document menu has a nice checkbox
9736
9737 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * lyxlength.C (asLatexString): change PW to output as percent of
9740         \textwidth.
9741
9742         * lengthcommon.C: change '%' to 't%'
9743
9744         * lyxfunc.C (dispatch): a few comments from Martin
9745
9746 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * WorkArea.h:
9749         * WorkArea.C:
9750         * BufferView_pimpl.h:
9751         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9752           the X selection.
9753
9754 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * vspace.C (inPixels): fix compiler warning
9757
9758 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * lyxfunc.C (getStatus): fix status message for disabled commands.
9761
9762 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * BufferView_pimpl.C: fix crash on close buffer
9765         during selection (#227)
9766
9767 2002-01-27  Herbert Voss  <voss@lyx.org>
9768
9769         * buffer.C: link old Figure to new graphic inset
9770
9771 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9772
9773         * FontLoader.C (getFontinfo): Change the latex font names in order
9774         to match the names of type1inst.
9775
9776 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9777
9778         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9779
9780         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9781         (extchanged): ditto
9782         (ext_exist): ditto
9783         (remove_files_with_extension): ditto
9784         (remove_file): ditto
9785         (write): ditto
9786
9787         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9788         document is smaller than the work area height. Do not initialize
9789         static variables to 0.
9790
9791 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9794
9795         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9796         LFUN_LAYOUT_PARAGRAPHS.
9797
9798         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9799         tabular. It is possible to provide a possible cell, which will
9800         typically be the actcell from the corresponding insettabular
9801
9802         * lyxfunc.C (getStatus): small cleanup; disable
9803         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9804         true
9805
9806 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9807
9808         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9809
9810         * paragraph.C (startTeXParParams):
9811         (endTeXParParams): new methods. The LaTeX code to
9812         start/end paragraph formatting
9813         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9814         empty (fixes bug #200)
9815
9816         * vspace.C (inPixels): adapt to the change below
9817         (inPixels): [later] more cleanups (remove unused variables)
9818
9819         * lyxlength.C (inPixels): change to use a width and a height as
9820         parameter.
9821
9822 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9825         Replaced with \paperwidth
9826
9827         * DepTable.C (insert): add std:: qualifier
9828
9829 2002-01-18  Allan Rae  <rae@lyx.org>
9830
9831         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9832         updated also?
9833
9834         * text.C (drawInset): Turned out I didn't know enough about how
9835         rebreaking worked.  This fixes most of the redraw problems.  I see
9836         an occasional cursor trail when a line is broken now and the cursor
9837         placement can seem out by a few pixels also after a rebreak.
9838
9839 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * buffer.C (parseSingleLyXformat2Token): update because minipage
9842         width is now a LyXLength
9843
9844         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9845
9846         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9847         math insets
9848
9849 2002-01-17  Juergen Vigna  <jug@sad.it>
9850
9851         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9852
9853         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9854         is set correctly and the inset is updated correctly.
9855
9856 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9859         the beginning of the loop.
9860
9861 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * lyxrc.C: improve help for use_scalable_fonts
9864
9865 2002-01-17  Allan Rae  <rae@lyx.org>
9866
9867         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9868
9869 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9872         make sure to set their inset_owner to the right value (bug #171)
9873
9874 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9875
9876         * DepTable.h
9877         * DepTable.C: Implement mtime checking to reduce time spent doing
9878         CRCs.
9879
9880 2002-01-16  Juergen Vigna  <jug@sad.it>
9881
9882         * tabular.C (GetAdditionalHeight): one of error fixed.
9883
9884         * lyxrc.C (output): small fix in writing use_pspell.
9885
9886 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9887
9888         * sp_base.h: #include LString.h
9889
9890 2002-01-16  Allan Rae  <rae@lyx.org>
9891
9892         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9893         Can someone check this please?
9894
9895         * text.C (drawInset): It was possible that p.row would be removed by
9896         breakAgainOneRow upsetting a few other settings.  There may be another
9897         small tweak possible by setting need_break_row = 0 when p.row has been
9898         removed but I don't know enough about the logic here.
9899
9900 2002-01-15  Allan Rae  <rae@lyx.org>
9901
9902         * text.C (insertChar): removed conditional truism.
9903
9904         * BufferView2.C (removeAutoInsets): More tweaks.
9905         cur_par_prev could be a stray pointer.  Check for trailing empty line
9906         in case last line was cur_par and only had an error inset on it.
9907
9908 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9911         absolute
9912
9913         * vc-backend.C (most methods):
9914         * exporter.C (Export):
9915         * converter.C (convert):
9916         (runLaTeX):
9917         * LyXSendto.C (SendtoApplyCB):
9918         * lyxfunc.C (dispatch):
9919         (menuNew):
9920         (open):
9921         (doImport):
9922         * lyx_cb.C (AutoSave):
9923         (InsertAsciiFile):
9924         * BufferView_pimpl.C (MenuInsertLyXFile):
9925         * buffer.C (runChktex): use Buffer::filePath().
9926
9927         * buffer.h: rename filename to filename_; rename filepath to
9928         filepath_ and make it private
9929         (filePath): new method
9930
9931         * buffer.C (writeFile): use fileName()
9932         (getLatexName):
9933
9934         * lyx_main.C (init): fix starting  of LyX when the binary is a
9935         link from so,ewhere else.
9936
9937         * minibuffer.C: include <cctype> for isprint
9938
9939 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9940
9941         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9942         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9943         name clash with InsetCollapsable's width function.
9944
9945 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9946
9947         * lastfiles.C: include <iterator>
9948
9949 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9952         std::count.
9953
9954         * buffer.C (makeLaTeXFile): ditto.
9955         Also make loop operation more transparent.
9956
9957 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * ToolbarDefaults.C: remove trailing comma closing namespace.
9960
9961         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9962
9963         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9964         as in WorkArea.
9965
9966         * trans.C (Load): comment out unused variable, allowed.
9967
9968 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9969
9970         * minibuffer.[Ch] (append_char): new method to recieve input from the
9971         drop-down completion browser. If a key was pressed, then recieve this
9972         char and append it to the existing string.
9973         (peek_event): modify the positioning data passed to the completion
9974         browser so that it can be placed above the minibuffer rather than below.
9975 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9976
9977         * LyXAction.C (init): alloe error-next for readonly documents.
9978
9979         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9980         count.
9981
9982 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * bufferlist.C (readFile): create the buffer _after_ checking that
9985         the file exists.
9986
9987         * lyxfunc.C (verboseDispatch): fix handling of arguments
9988
9989         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9990
9991         * lyxrc.C: use string::erase() instead of initializing to "".
9992
9993
9994 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView_pimpl.h:
9997         * BufferView_pimpl.C:
9998         * WorkArea.h:
9999         * WorkArea.C:
10000         * text2.C: tell X when we have made a selection for copying
10001
10002 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * BufferView_pimpl.C (MenuInsertLyXFile):
10005         * lyxfunc.C (menuNew):
10006         (open):
10007         (doImport): add shortcuts to directory buttons
10008
10009         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10010         open a float)
10011
10012         * lyxfunc.C (setStatusMessage):
10013         (getStatusMessage): new methods
10014         (getStatus):use setStatusMessage instead of setErrorMessage
10015         (dispatch): when function is disabled, set error message here
10016         [instead of in getStatus previously]
10017
10018         * BufferView_pimpl.C (workAreaButtonRelease): update
10019         toolbar/menubar here too.
10020
10021 2002-01-13  Allan Rae  <rae@lyx.org>
10022
10023         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10024         Now seems indestructible.  Remaining task is to audit all other
10025         code affected by deleteEmptyParagraphMechanism.  One small quirk
10026         left is that an empty document with an error in the preamble can
10027         be made to report an error but no error box appears.  I don't know
10028         where it goes.
10029         (removeAutoInsets): Improved comments.
10030
10031 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * Thesaurus.h:
10034         * Thesaurus.C: update for Aiksaurus 0.14
10035
10036 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10037
10038         * text2.C (firstParagraph): removed member function, all uses
10039         replaces with ownerParagraph
10040         (redoParagraphs): here
10041         (updateInset): here
10042         (toggleAppendix): here
10043         * BufferView2.C (insertErrors): here
10044         (setCursorFromRow): here
10045
10046 2002-01-13  Allan Rae  <rae@lyx.org>
10047
10048         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10049         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10050         There is still a way to segfault this although you may have to do this
10051         multiple times: Have an InsetERT with an unknown command in it.
10052         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10053         <down-arrow>, <Enter> again, View->DVI, BANG!
10054
10055         * text2.C (setCursor):
10056         (deleteEmptyParagraphMechanism):
10057         * lyxtext.h (setCursor):
10058         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10059         Making use of the return value may help fix other bugs.
10060
10061 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10064
10065         * LyXView.C (updateMenubar): call MenuBar::update here
10066         (updateToolbar): but not here
10067         (showState): do not update toolbar/menubar
10068
10069         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10070         should need to care about that.
10071
10072         * lyxfunc.C (verboseDispatch): simplify a bit
10073         (getStatus): have a version which takes a pseudoaction, and
10074         another which requires a (kb_action,string).
10075
10076         * LyXAction.C (retrieveActionArg): make it work also when action
10077         is not a pseudo-action.
10078         (getActionName): simplify a bit
10079         (helpText):
10080
10081 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * lyxfunc.C (verboseDispatch): new families of methods with
10084         several ways to specify a command and a bool to indicate whether
10085         the command name and shortcut should be displayed in minibuffer
10086         (eventually, we could extend that to a finer bitmask like
10087         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10088         (dispatch): the pristine dispatch command which just, well,
10089         dispatchs! Note it still sets its result to minibuffer; I'm not
10090         sure we want that.
10091
10092         * lyxfunc.h: remove setHintMessage
10093
10094         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10095
10096 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10097
10098         * BufferView_pimpl.C (specialChar): delete new inset if we have
10099         not been able to insert it.
10100
10101         * kbmap.C: revert to using int instead of kb_action, since all we
10102         are dealing with is pseudo-actions.
10103
10104         * LyXAction.C (searchActionArg): change to return int instead of
10105         kb_action, since the result is a pseudoaction.
10106
10107 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10108
10109         * buffer.C (insertErtContents): Fix (partially) the font bug.
10110
10111 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10112
10113         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10114         as the other one is broken on my machine!
10115
10116 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10117
10118         * commandtags.h:
10119         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10120
10121 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10122
10123         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10124         reflect their actual use. Provide compatibility code for older lyxrc
10125         files.
10126
10127         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10128         FL_NORMAL_STYLE.
10129         change names of popup font variables in line with the changes to lyxrc.C
10130
10131 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * buffer.C (asciiParagraph): avoid outputing a word twice after
10134         an inset.
10135
10136         * lyxrc.C (getDescription): document that document_path and
10137         template_path can be empty.
10138
10139 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * LaTeXFeatures.C (getMacros):
10142         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10143
10144         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10145
10146         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10147         getPackages.
10148         (getPackages): rename feature "floats" to "float". Use an array to
10149         iterate over 'simple' features (i.e. just a \usepackage). Add
10150         handling of "amsmath" (renamed from "amsstyle").
10151
10152 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10153
10154         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10155         features list.
10156
10157 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10158
10159         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10160         FuncStaus::FuncStatus & FuncStaus::some_method().
10161
10162 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10163
10164         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10165         of the func_satus stuff. Edited and massaged in various ways by
10166         JMarc.
10167
10168         * lyxfunc.C (getStatus): use FuncStatus
10169
10170 2002-01-08  Juergen Vigna  <jug@sad.it>
10171
10172         * text.C (nextBreakPoint): use function Inset::isChar().
10173
10174         * paragraph.C (TeXOnePar): use function
10175         Inset::forceDefaultParagraphs.
10176
10177         * buffer.C (latexParagraphs): use function
10178         Inset::forceDefaultParagraphs.
10179
10180 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10181
10182         * lyx_gui.C (init): set the style of the menu popups to
10183         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10184
10185 2002-01-07  Juergen Vigna  <jug@sad.it>
10186
10187         * text.C (setHeightOfRow): small fix
10188         (prepareToPrint): don't look at alignment if we don't have the place
10189         for doing it.
10190
10191 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10192
10193         * box.C: New file. Move the Box methods and functions out of box.h,
10194         following Lars' suggestion.
10195
10196 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10197
10198         * box.h: #include "support/LOstream.h", needed for inlined function.
10199
10200         * lyxtextclass.C:
10201         * lyxtextclasslist.C: added some using std declarations.
10202
10203 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * box.h: make signed dimensions to allow insets wider than
10206           the screen (bug #162)
10207
10208         * BufferView_pimpl.C: add some insetHit debug
10209
10210 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * vc-backend.C: add FIXME
10213
10214 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * lyxfunc.C (getStatus): enable code for showing math font status
10217         in toolbar/menu.
10218
10219 2002-01-07  Juergen Vigna  <jug@sad.it>
10220
10221         * text.C (nextBreakPoint): removed debug output not needed anymore.
10222
10223 2002-01-06  Juergen Vigna  <jug@sad.it>
10224
10225         * text.C (nextBreakPoint): fixed up this function we had this bug
10226         since ever but now hopefully we break row better.
10227         (insertChar): we have to check if an inset is the next char as it
10228         could now happen that a large inset is causing a break.
10229
10230 2002-01-05  Juergen Vigna  <jug@sad.it>
10231
10232         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10233         if it doesn't like to be drawed.
10234
10235 2002-01-04  Juergen Vigna  <jug@sad.it>
10236
10237         * BufferView2.C (lockInset): forgot to set a cursor.
10238
10239         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10240
10241 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10242
10243         * FormMathsPanel.C:
10244         * FormMathsPanel.h
10245         * MathsSymbols.C:
10246         * form_maths_panel.C:
10247         * form_maths_panel.h:
10248         * form_maths_panel.fd: implemented sub- and super- buttons in math
10249         panel.
10250
10251         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10252         (or ^ space) to be used as in TeX (req'd by André).
10253
10254         * lyxfunc.C: Allow ^ and _ again to be used both as
10255         super/subscript (mathed) and as themselves (in text).
10256
10257 2002-01-03  Allan Rae  <rae@lyx.org>
10258
10259         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10260         "LyX" or the filename of the current buffer if it has one.  This is a
10261         modified form of John Levon's patch.
10262
10263         * XFormsView.C (setWindowTitle): also set icon title.
10264
10265         * LyXView.h (setWindowTitle): signature changed.
10266         * XFormsView.h (setWindowTitle): ditto.
10267
10268 2002-01-02  Juergen Vigna  <jug@sad.it>
10269
10270         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10271
10272 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * screen.C (topCursorVisible): introduce a temp var for
10275         text->cursor.row(), handle the case where this row is null. (kindo
10276         hachish)
10277
10278         * text2.C (setCursor): add a couple of asserts.
10279
10280         * paragraph.h (inset_iterator): add -> operator
10281
10282         * paragraph.[Ch] (autoDeleteInsets): remove member function
10283
10284         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10285         cursor pos correctly and handle inset deletion by itself.
10286         (insertErrors): move iterator declaration out of for expression
10287
10288         * lyxtextclass.C: add <algorithm>
10289
10290         * Makefile.am: added the new files to sources, removed layout.C
10291
10292         * layout.C: removed file
10293
10294         * layout.h: remove LYX_DUMMY_LAYOUT
10295
10296         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10297         layout.
10298
10299         * lyxlayout.[Ch]:
10300         * lyxtextclass.[Ch]:
10301         * lyxtextclasslist.[Ch]: new files
10302
10303         * include order changes to a lot of files, also changes because of
10304         the six new files.
10305
10306 2001-12-27  Juergen Vigna  <jug@sad.it>
10307
10308         * buffer.C (asciiParagraph): more fixes.
10309
10310         * tabular.C (ascii): make ascii export support export of only the
10311         data separated by a column-delimiter.
10312         (ascii): better support for ascii export.
10313
10314         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10315
10316 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * tabular_funcs.C: use a "using std::getline" instead of the
10319         previous fix from Angus (necessary for cxx + lyxstring)
10320
10321 2001-12-24  Juergen Vigna  <jug@sad.it>
10322
10323         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10324
10325         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10326         problems. First check a minipage also if we have some ert-contents
10327         (not only on par->size(), second set the right depth of the paragraph
10328         on the relink to the root-paragraph-list!
10329
10330         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10331         which then did not anymore update the main paragraphs on undo/redo!
10332
10333 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10334
10335         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10336         code. Support all font-changing funcs (even those which are not in
10337         menu currently). Support for reporting font settings in
10338         mathed (disabled until Andre provides a function on mathed's side).
10339
10340         * func_status.h (toggle): small helper function to set toggle
10341         state on a flag.
10342
10343 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10344
10345         * tabular_funcs.C: getline -> std::getline
10346
10347 2001-12-21  Juergen Vigna  <jug@sad.it>
10348
10349         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10350         accessed and could be 0 (I couldn't generate this but it seems
10351         Michael could!).
10352
10353 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10356         * tabular_funcs.h: here and include iosfwd
10357
10358 2001-12-20  Juergen Vigna  <jug@sad.it>
10359
10360         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10361         inside inset but undo_par was.
10362
10363 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * Thesaurus.C: always include <config.h> in sources.
10366
10367         * Painter.h:
10368         * lyxlookup.h:
10369         * box.h: do not include <config.h> in header files
10370
10371         * text.C (paintLastRow): remove unused variable
10372
10373         * text.C (transformChar):
10374         (insertChar):
10375         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10376
10377         * Painter.C (text):
10378         * font.C (width): rewrite to use uppercase() instead of
10379         islower/toupper.
10380
10381         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10382
10383 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * lyxfind.C: clean up of find failure position change
10386
10387 2001-12-20  Juergen Vigna  <jug@sad.it>
10388
10389         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10390
10391         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10392         (TeXRow): added to LaTeX a single tabular row.
10393         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10394         (Latex): simplified and finally good LT-h/f support.
10395         (various_functions): just small adaptions for LT-h/f support.
10396
10397         * tabular_funcs.[hC]: added and moved here all not classfunctions
10398         of LyXTabular.
10399
10400 2001-12-19  Juergen Vigna  <jug@sad.it>
10401
10402         * tabular.[Ch]: better support for longtabular options (not finished
10403         yet!)
10404
10405 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * text.C (paintLastRow): use the label font instead of the font of
10408         the last character to compute the size of *_BOX. This makes more
10409         sense and avoids a crash with empty paragraphs.
10410         Use Painter::rectangle to draw EMPTY_BOX.
10411
10412 2001-12-19  Juergen Vigna  <jug@sad.it>
10413
10414         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10415         the paragraphs if the replaced paragraph is not the first one!
10416         Tried to delete not used paragraphs but does not work yet so for
10417         now it's inside #ifdef's and by default off!
10418
10419 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * MenuBackend.C: include "lyx_main.h" instead of declaring
10422         lastfiles (actually was declared as LastFiles* instead of a
10423         scoped_ptr).
10424
10425 2001-12-17  Juergen Vigna  <jug@sad.it>
10426
10427         * tabular.C (AppendColumn): applied John's fix
10428
10429 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * BufferView.h:
10432         * BufferView.C:
10433         * BufferView_pimpl.h:
10434         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10435
10436         * Makefile.am:
10437         * box.h: new start of class for above
10438
10439         * lyxfunc.C: ignore space-only minibuffer dispatches.
10440           Show the command name when it doesn't exist
10441
10442         * minibuffer.C: don't add empty lines to the history
10443
10444         * minibuffer.C: add a space on dropdown completion
10445
10446 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * text.C: fix line above/below drawing in insets
10449
10450 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * lyxlength.C (LyXLength): Initialize private variables.
10453
10454 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10455
10456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10457         when inserting error insets.
10458
10459 2001-12-13  Juergen Vigna  <jug@sad.it>
10460
10461         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10462         actually sometimes the before-paragraph.
10463         (setUndo): don't clear the redostack if we're not actually undoing!
10464
10465 2001-12-06  Juergen Vigna  <jug@sad.it>
10466
10467         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10468         and fixed redoing of main paragraph, so we can use it now ;)
10469
10470         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10471
10472 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10475         Juergen's request
10476
10477 2001-12-13  André Pönitz <poenitz@gmx.net>
10478
10479         * undostack.[Ch]:
10480         * undo_func.C: minor cleanup
10481
10482 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10483
10484         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10485         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10486         font in urw-fonts package which is marked as -urw-fontspecific and
10487         does not work (incidentally, changing the encoding in the
10488         fonts.dir of this package to -adobe-fontspecific fixes the
10489         problem).
10490
10491         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10492         is a crash when undoing first paragraph (Juergen, please take a
10493         look). THis does not mean the undo fix is wrong, just that it
10494         uncovers problems.
10495
10496         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10497         the (Paragraph*) version when needed instead of duplicating the
10498         code.
10499
10500         * text.C (workWidth): use Inset::parOwner to find out where the
10501         inset has been inserted. This is a huge performance gain for large
10502         documents with lots of insets. If Inset::parOwner is not set, fall
10503         back on the brute force method
10504
10505         * paragraph_pimpl.C (insertInset):
10506         * paragraph.C (Paragraph):
10507         (cutIntoMinibuffer): set parOwner of insets when
10508         inserting/removing them
10509
10510         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10511
10512 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10513
10514         * commandtags.h:
10515         * LyXAction.C:
10516         * lyx_main.C:
10517         * lyxfunc.C:
10518         * mathed/formulabase.C:
10519         * mathed/math_cursor.[Ch]:
10520         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10521
10522
10523 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10524
10525         * lyxlength.[Ch] (operator!=): new function
10526
10527 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * text.C (workWidth): use Inset::parOwner to find out where the
10530         inset has been inserted. This is a huge performance gain for large
10531         documents with lots of insets. If Inset::parOwner is not set, fall
10532         back on the brute force method
10533
10534         * paragraph_pimpl.C (insertInset):
10535         * paragraph.C (Paragraph):
10536         (cutIntoMinibuffer): set parOwner of insets when
10537         inserting/removing them
10538
10539         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10540
10541 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * tabular-old.C (getTokenValue):
10544         * tabular.C (getTokenValue):
10545         (write_attribute): new versions for LyXLength
10546         (everywhere): adjust the use of widths
10547
10548         * tabular.h: change the type of widths from string to LyXLength
10549
10550 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10551
10552         * paragraph.C: fixed missing line number count when exporting
10553         Environments to LaTeX file
10554
10555         * buffer.C: added informational message for checking line numbers.
10556
10557 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10560         paragraph, do the 'double space' part, but not the 'empty
10561         paragraph' one.
10562
10563         * text.C (workWidth): small optimization
10564         (getLengthMarkerHeight): use minimal size for negative lengths.
10565
10566 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10569
10570         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10571
10572 2001-12-11  André Pönitz <poenitz@gmx.net>
10573
10574         * FontLoader.C:
10575         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10576
10577 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * text2.C: keep selection on a setFont()
10580
10581 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * lyx_cb.C: another bv->text misuse, from insert label
10584
10585 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * kbsequence.h:
10588         * kbsequence.C: re-instate nmodifier mask
10589
10590 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10591
10592         * lyx_main.h: make lyxGUI private.
10593
10594 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * lyxfind.C: place the cursor correctly on failed search
10597
10598 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * text.C (getLengthMarkerHeight): for small heights, the arrows
10601         are not always on top/bottom of the text
10602         (drawLengthMarker): smaller arrows; take the left margin in
10603         account; draw also vfills.
10604         (paintFirstRow):
10605         (paintLastRow): remove special code for vfill and standard spaces,
10606         since everything is handled in drawLengthMarker now.
10607
10608 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * buffer.C (insertErtContents): try to handle font and language
10611         interaction a bit better.g
10612
10613         * ColorHandler.C (updateColor): change the hash to cover the whole
10614         LColor enum, ws cleanup
10615         (getGCLinepars): ditto
10616         (getGCLinepars): only lookup in the linecache once.
10617
10618 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * iterators.C (operator++): Make the iterator more robust
10621
10622         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10623         (John's patch)
10624         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10625
10626 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * lyxtext.h:
10629         * text.C: better added space drawing
10630
10631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * LyXView.C:
10634         * BufferView2.C: fix layout combo update on inset unlock
10635
10636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * Makefile.am: don't compile unused files
10639
10640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * lyxfunc.C:
10643         * commandtags.h:
10644         * LyXAction.C: remove old LFUN_LAYOUTNO
10645
10646 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * paragraph_pimpl.h:
10649         * paragraph_pimpl.C: isTextAt() doesn't need font param
10650
10651 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * lyxlex.h:
10654         * lyxlex.C: little cleanup
10655
10656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * BufferView_pimpl.C: fix insertAscii for insets
10659
10660 2001-12-05  Juergen Vigna  <jug@sad.it>
10661
10662         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10663         set the right font on the "multi" paragraph paste!
10664
10665 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * trans_decl.h:
10668         * trans_mgr.[Ch]:
10669         * trans.[Ch]:
10670         * lyxgluelength.C:
10671         * lyxlength.C: remove out-commented code.
10672
10673         * BufferView_pimpl:
10674         * CutAndPaste.C:
10675         * DepTable.C:
10676         * buffer.C:
10677         * chset.C:
10678         * lastfiles.C:
10679         * lyxlex.C:
10680         * lyxlex_pimpl.C:
10681         * lyxserver.C:
10682         * screen.C:
10683         * tabular-old.C:
10684         * tabular.C:
10685         * text.C:
10686         * trans_mgr.C:
10687         * vc-backend.C: change "while(" to "while ("
10688
10689         * lyxlength.[Ch]: add zero function to check if length is zero or
10690         not
10691         * lyxgluelength.C: use it
10692
10693 2001-12-05  Allan Rae  <rae@lyx.org>
10694
10695         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10696         Works for 2.95.3, from what I understand of Garst's reports this should
10697         work for other g++ versions.  We're screwed if the abs(int) definition
10698         changed between bugfix releases of gcc.
10699
10700 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * text.C: fix chapter label offset !
10703
10704 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * lyxtext.h:
10707         * text.C: fix hfill at end of line, clean up
10708
10709 2001-12-04  Juergen Vigna  <jug@sad.it>
10710
10711         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10712         that we force an update of the inset and it's owners if neccessary.
10713
10714 2001-12-03  Juergen Vigna  <jug@sad.it>
10715
10716         * text.C (rowLast): simplified code
10717
10718 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * lyxfunc.C: fix show options on timeout
10721
10722 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * screen.C (topCursorVisible): scroll half a page when the cursor
10725         reached top of bottom of screen
10726
10727 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * minibuffer.C: deactivate on loss of focus
10730
10731 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * vspace.[Ch] (operator!=): add operator.
10734
10735 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * BufferView_pimpl.C: refuse to open an inset when
10738         there's a selection.
10739
10740 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * BufferView_pimpl.C: allow to click on RHS of full row insets
10743
10744 2001-11-30  Juergen Vigna  <jug@sad.it>
10745
10746         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10747         insets for undo reasons.
10748
10749 2001-11-28  André Pönitz <poenitz@gmx.net>
10750
10751         * vspace.[Ch]: cosmetical changes
10752
10753 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * LyXAction.h:
10756         * LyXAction.C:
10757         * lyxfunc.h:
10758         * lyxfunc.C:
10759         * kbmap.h:
10760         * kbmap.C:
10761         * lyxrc.C:
10762         * kbsequence.h:
10763         * kbsequence.C: part re-write of old kb code
10764
10765         * Painter.C:
10766         * WorkArea.C: remove Lgb_bug_find_hack
10767
10768 2001-11-30  José Matos <jamatos@fep.up.pt>
10769
10770         * buffer.C (makeDocBookFile): add a comment to point a hack.
10771         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10772         Fixed a double write of labels.
10773
10774 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10775
10776         * LaTeX.C:
10777         * LaTeX.h Fixed bug in LaTeX class where it would not
10778         re-run latex if no depfiles were changed, but the .dvi was removed.
10779
10780 2001-11-28  André Pönitz <poenitz@gmx.net>
10781
10782         * all the files from the change on 2001/11/26:
10783         use lyx::layout_type instead of LyXTextClass::size_type
10784         use lyx::textclass_type instead of LyXTextClassList::size_type
10785
10786 2001-11-29  Juergen Vigna  <jug@sad.it>
10787
10788         * text.C: added support for paragraph::isFreeSpacing()
10789
10790         * buffer.C: same as above
10791
10792         * paragraph.h: inserted isFreeSpacing() function to enable
10793         FreeSpacing inside InsetERT.
10794
10795         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10796         of the paragraph's in the cut/copy buffer to 0!
10797
10798         * text2.C (removeRow): remove the assert as it can!
10799
10800         * lyxtext.h: added helper function firstRow returning firstrow and
10801         made firstrow private again.
10802
10803         * BufferView2.C (lockInset): don't relock if we're already locked!
10804
10805         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10806         the only paragraph.
10807         (removeRow): added Assert::(firstrow)
10808
10809         * debug.C: forgot to add INSETTEXT here.
10810
10811 2001-11-28  Juergen Vigna  <jug@sad.it>
10812
10813         * sp_spell.C (initialize): changed error text to more general
10814         spellchecker command use (not only ispell!)
10815
10816         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10817
10818         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10819
10820 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * vspace.C: initialise lyxgluelength on failure
10823
10824 2001-11-28  Allan Rae  <rae@lyx.org>
10825
10826         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10827         declaration & definition that looks like a function declaration.
10828
10829 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10830
10831         * BufferView2.C (copy):
10832         (copyEnvironment): do not clear the selection when doing a copy.
10833
10834         * text.C (paintFirstRow): compilation fix
10835
10836 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10837
10838         * tabular.C (Latex): correct line count when writing latex.
10839
10840 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * paragraph_pimpl.h:
10843         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10844           bug a bit
10845
10846 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * text.C:
10849         * LColor.h:
10850         * LColor.C: change vfillline->added_space
10851
10852         * text.C: add markers and text for added space
10853
10854         * vspace.C: fix comment
10855
10856 2001-11-28  André Pönitz <poenitz@gmx.net>
10857
10858         * paragraph.C: whitespace changes
10859         * all the other files from the change on 2001/11/26:
10860         change *::pos_type into lyx::pos_type
10861
10862 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10863
10864         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10865         language of the document when inserting error insets.
10866
10867 2001-11-26  André Pönitz <poenitz@gmx.net>
10868
10869         * BufferView_pimpl.[Ch]:
10870         *       CutAndPaste.C:
10871         * buffer.[Ch]:
10872         * lyxcursor.[Ch]:
10873         * lyxfind.C:
10874         * lyxfunc.C:
10875         * lyxrow.[Ch]:
10876         * paragraph.[Ch]:
10877         * paragraph_pimpl.[Ch]:
10878         * sp_spell.C:
10879         * text.C:
10880         * text2.C: reduce header dependencies, introduce type for positions
10881
10882 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * <various>: change to use Alert.h
10885
10886 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10887
10888         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10889         when encountering an unknown token.
10890         (readLyXformat2): Show an error message if there were unknown tokens.
10891
10892 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * BufferView2.C:
10895         * BufferView_pimpl.C:
10896         * buffer.C:
10897         * paragraph.h:
10898         * text.C:
10899         * text2.C: use par->isInset()
10900
10901 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * paragraph_pimpl.h:
10904         * paragraph_pimpl.C: cleanup
10905
10906 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * text2.C (removeRow):
10909         * text.C (setHeightOfRow): remove useless (and costly) call to
10910         getRow.
10911
10912 2001-11-20  Allan Rae  <rae@lyx.org>
10913
10914         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10915         Now need Inset*::checkInsertChar() to return true for appropriate
10916         cases so that the characters in the minibuffer will actually be
10917         inserted.
10918
10919 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * text.C: change the order of the includes.
10922         (workWidth): initialize it at once.
10923         (workWidth): make maxw unsigned
10924         (setHeightOfRow): remove unused variable (inset)
10925         (selectSelectedWord): remove unused variable (inset)
10926         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10927
10928 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10931         server is not running.
10932         (openConnection):
10933         (closeConnection): add debug info when server is disabled.
10934
10935         * ColorHandler.C (getGCForeground): send debug message to GUI
10936         channel.
10937
10938         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10939
10940         * kbmap.C (bind): modify because return conventions of
10941         kb_sequence::parse have changed.
10942
10943         * kbsequence.C (parse): only ignore spaces and not any stupid
10944         control character. This avoids tests like s[i] <= ' ', which are
10945         guaranteed to fail with 8bit characters and signed chars.
10946         Change return code to string::npos when there have been no error
10947         (0 was a bad idea when error is at first character)
10948
10949 2001-11-14  José Matos  <jamatos@fep.up.pt>
10950
10951         * buffer.h:
10952         * buffer.C (simpleDocBookOnePar): removed unused argument.
10953
10954 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10955
10956         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10957         insets which are part of a word. Paragraph::isLetter takes care of
10958         that now. Use Paragraph::isInset to identify insets.
10959         (selectSelectedWord): do not test for hyphenation break.
10960
10961         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10962         that protected spaces are considered as spaces.
10963
10964         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10965         Inset::isLetter.
10966
10967 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * lyxserver.h:
10970         * lyxserver.C: fix it. and small cleanup.
10971
10972 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * BufferView_pimpl.C: use inline helpers
10975
10976         * LaTeXFeatures.h:
10977         * LaTeXFeatures.C: fix typos
10978
10979         * Spacing.h:
10980         * Spacing.C: move spacing_string into class
10981
10982         * ToolbarDefaults.C: move stuff into namespace anon
10983
10984         * layout.h: update enum
10985
10986         * lyxfunc.C: use better debug
10987
10988         * minibuffer.h: fix typo
10989
10990         * debug.h:
10991         * debug.C:
10992         * WorkArea.C: add and use Debug::WORKAREA
10993
10994         * lyxtext.h:
10995         * text.C:
10996         * text2.C: code re-organisation, inline helpers
10997
10998 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10999
11000         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11001         std::vector.empty().
11002
11003 2001-11-09  Allan Rae  <rae@lyx.org>
11004
11005         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11006         '\n's after tables.  Tabular and ERT inset work now makes this no
11007         longer necessary.
11008
11009 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * minibuffer.h:
11012         * minibuffer.C: fix crash, improve drop-down completion
11013
11014 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * lyxserver.h:
11017         * lyxserver.C: invalidate fd's when doing endPipe()
11018
11019 2001-11-08  José Matos  <jamatos@fep.up.pt>
11020
11021         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11022         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11023
11024         * paragraph.h:
11025         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11026
11027 2001-11-07  José Matos  <jamatos@fep.up.pt>
11028
11029         * buffer.h:
11030         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11031         const qualifier.
11032
11033         * buffer.C (sgmlOpenTag):
11034         * buffer.C (sgmlCloseTag): removed debug info.
11035
11036         * buffer.h (sgmlOpenTag):
11037         * buffer.h (sgmlCloseTag): made public.
11038
11039 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * buffer.C (saveParamsAsDefaults):
11042         * lyx_cb.C (MenuLayoutSave): remove
11043
11044         * LyXAction.C (init):
11045         * commandtags.h:
11046         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11047
11048 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11049
11050         * buffer.C (setPaperStuff): removed from here...
11051
11052         * bufferparams.C (setPaperStuff): ... and moved there.
11053
11054 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * minibuffer.h:
11057         * minibuffer.C:
11058         * XFormsView.C: add support for drop-down completion
11059
11060 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11061
11062         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11063         commands.
11064
11065 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11066
11067         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11068         disabled.
11069
11070 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyx_main.C: change ref to known bugs
11073
11074 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11075
11076         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11077         to work around older babel problems.
11078
11079 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11080
11081         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11082
11083 2001-10-24  Juergen Vigna  <jug@sad.it>
11084
11085         * tabular-old.C (ReadOld): below variable changes reflected.
11086
11087         * tabular.[Ch]: added ltType struct for longtable header/footer
11088         defines and changed all instances where they are used. Added
11089         future support for double top/bottom rows.
11090
11091 2001-10-24  José Matos  <jamatos@fep.up.pt>
11092
11093         * buffer.h (docbookHandleCaption):
11094         * buffer.C (docbookHandleCaption): removed unused function.
11095         (makeDocBookFile): moved docbook supported version to v4.1.
11096
11097 2001-10-24  José Matos  <jamatos@fep.up.pt>
11098
11099         * tabular.h:
11100         * tabular.C (docbookRow): new function to export docbook code of a row.
11101         (DocBook): now honors the longtable flags.
11102
11103 2001-10-23  José Matos  <jamatos@fep.up.pt>
11104
11105         * LaTeXFeatures.h:
11106         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11107         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11108
11109         * buffer.C (makeLinuxDocFile):
11110         (makeDocBookFile): reworked the preamble, more clean, and with
11111         support for lyx defined entities. Changed the document declaration
11112         to be more XML friendly.
11113
11114         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11115         if we need to output XML that should be done with a filter.
11116
11117 2001-10-22  Juergen Vigna  <jug@sad.it>
11118
11119         * sp_pspell.h (class PSpell): add alive function needed in the
11120         controller to see if the spellchecker could be started.
11121
11122 2001-10-22  Juergen Vigna  <jug@sad.it>
11123
11124         * buffer.C (insertStringAsLines): modify the font for inserting
11125         chars in certain conditions by calling checkInsertChar(font).
11126
11127 2001-10-19  Juergen Vigna  <jug@sad.it>
11128
11129         * text.C (workWidth): use getRow instead of wrong algorithm.
11130         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11131
11132 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxserver.h:
11135         * lyxserver.C:
11136         * lyx_main.h:
11137         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11138
11139 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11140
11141         * text.C (workWidth): do not search for the exact row when
11142         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11143         optimization for big documents.
11144
11145 2001-10-18  Juergen Vigna  <jug@sad.it>
11146
11147         * text.C (workWidth): new function with added Inset * parameter.
11148
11149 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11150
11151         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11152
11153         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11154         change return type of getColumnNearX.
11155
11156
11157         * text.C (changeRegionCase): use uppercase/lowercase instead of
11158         toupper/tolower.
11159         (leftMargin):
11160         (rightMargin): simplify code by factoring out the uses of
11161         textclasslist.
11162         (labelFill):
11163         (numberOfHfills):
11164         (setHeightOfRow):
11165         (appendParagraph): use Paragraph::size_type
11166
11167 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11168
11169         * vspace.C (asLatexString): add a missing break
11170
11171 2001-10-15  Herbert Voss  <voss@perce.de>
11172
11173         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11174
11175 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11176
11177         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11178         is not available.
11179
11180 2001-10-10  André Pönitz <poenitz@gmx.net>
11181
11182         * lyxfunc.C: removed greek_kb_flag.
11183
11184 2001-10-10  Herbert Voss  <voss@perce.de>
11185
11186         * lyx_main.C: delete global string help_lyxdir.
11187
11188 2001-10-09  Herbert Voss  <voss@perce.de>
11189
11190         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11191
11192         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11193
11194         * lyx_main.C: added global string help_lyxdir.
11195
11196         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11197
11198 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11199
11200         * lyxrc.C (set_font_norm_type): support iso8859-4
11201
11202 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11203
11204         * LaTeX.C (deplog): add another regex for MikTeX
11205
11206 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11207
11208         * lyxrc.C (set_font_norm_type): support iso8859-3
11209
11210 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11211
11212         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11213
11214         * LaTeXFeatures.C: remove special case of french and index
11215
11216         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11217         before \begin{document}). This solves several incompatibilities.
11218
11219 2001-10-03  Garst Reese  <reese@isn.net>
11220
11221         * lyx_cb.C: change CheckTex error msg.
11222
11223 2001-10-03  José Matos  <jamatos@fep.up.pt>
11224
11225         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11226
11227 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11228
11229         * .cvsignore: update
11230
11231         * lyx_main.C (commandLineVersionInfo): use new style version info.
11232
11233         * buffer.C (writeFile):
11234         (makeLaTeXFile):
11235         (makeLinuxDocFile):
11236         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11237
11238         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11239
11240         * version.h: update to use stuff in version.C
11241
11242         * version.C.in: new file. Contains version information determined
11243         at compile time. This is a merging of version.h and
11244         version_info.h.in.
11245
11246 2001-10-03  Juergen Vigna  <jug@sad.it>
11247
11248         * BufferView_pimpl.C (update): don't change "dirty" status in
11249         updateInset call.
11250
11251 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11252
11253         * WorkArea.C (c-tor): re-position version string slightly.
11254
11255 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11256
11257         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11258         revert to previous code.
11259
11260         WorkArea.[Ch]: (show, destroySplash): methods removed.
11261
11262         WorkArea.C: rework code so that it's an amalgam of the codes before and
11263         after the splash screen was moved to WorkArea.
11264
11265 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11266
11267         * lyxrc.C (read):
11268         * vspace.C (inPixels):
11269         (lyx_advance):
11270         * kbmap.C (bind):
11271         * buffer.C (insertStringAsLines):
11272         (asciiParagraph): fix types to be large enough
11273
11274         * lyxlex_pimpl.h: change member status from short to int
11275
11276         * layout.h: fix type of endlabeltype
11277
11278         * kbmap.C (bind):
11279         * kbsequence.C (parse): change return type to string::size_type
11280
11281         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11282         variable
11283
11284         * Bullet.C (bulletSize):
11285         (bulletEntry): do not use short ints as parameters
11286
11287         * BufferView2.C (insertLyXFile): change a char to an int.
11288
11289         * WorkArea.C (WorkArea): remove unneeded floats in computation
11290
11291 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11292
11293         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11294
11295         * paragraph.C (asString): Do not ignore newline/hfill chars when
11296         copying to the clipboard.
11297
11298 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11299
11300         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11301         after a multi-line inset.
11302
11303 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11304
11305         * paragraph.C (validate): Set NeedLyXFootnoteCode
11306
11307 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11308
11309         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11310         and decrease-error to decrease.
11311
11312 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11313
11314         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11315         it more readable (should be equivalent)
11316
11317 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11318
11319         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11320
11321 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11322
11323         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11324         of a cursor (row, etc.) after a character has been deleted
11325         (deleteEmptyParagraphMechanism): call the method above on _all_
11326         cursors held by the LyXText when a double space has been
11327         detected/deleted.
11328
11329 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11332         pixmap.
11333         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11334
11335         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11336         background. Use greyOut() and the new show() methods to toggle between
11337         the foreground and background. Add code to remove the splash after
11338         its initial showing.
11339
11340         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11341         (create_forms): no longer call Dialogs::showSplash.
11342
11343 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * .cvsignore: add version_info.h
11346
11347 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11348
11349         * version_info.h.in: new file
11350
11351         * Makefile.am: add version_info.h.in
11352
11353         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11354         version_info.h instead of VERSION_INFO
11355
11356 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11359         The ERT inset now returns string().
11360
11361 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * lyxtext.h, text.C (selectNextWord): renamed as
11364         selectNextWordToSpellcheck.
11365
11366         * text.C (selectNextWordToSpellcheck): Modified to not select
11367         words inside an ERT inset.
11368
11369 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11370
11371         * lyx_cb.C (MenuLayoutSave): change a bit the question
11372
11373         * sp_base.h: include <sys/types.h>
11374
11375 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11378
11379 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11380
11381         * several files: fix typos in user-visible strings
11382
11383 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11384
11385         * text2.C (pasteSelection): do not set the selection, since it
11386         will be cleared later. Actually, the intent was to fix the way the
11387         selection was set, but I figured rmoving the code was just as good.
11388
11389 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11390
11391         * FontLoader.C (available): Check if font is available without
11392         loading the font.
11393
11394 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11395
11396         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11397
11398 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11399
11400         * lyxrc.[Ch]: added display_graphics variable and associated code.
11401
11402 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11403
11404         * bufferparams.C (hasClassDefaults): new method. Returns true if
11405         the buffer parameters correspond to known class defaults
11406
11407 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11408
11409         * XFormsView.C (show): set minimum size to the main window.
11410
11411 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * text2.C (copySelection):
11414         (cutSelection):
11415         * lyxfind.C (LyXReplace):
11416         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11417         LyXText::selectionAsString.
11418
11419         * paragraph.C (asString): add "label" argument to the second form
11420
11421         * text2.C (selectionAsString): add "label" argument and pass it to
11422         Paragraph::asString.
11423
11424 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11425
11426         * lyx_main.C (commandLineHelp): remove version information
11427
11428 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11429
11430         * lyx_main.C: add -version commandline option
11431
11432 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * paragraph.h: make the optional constructor arg required instead.
11435         some modifications to other files because of this.
11436
11437         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11438
11439         * lyxserver.C (C_LyXComm_callback): make it static
11440
11441         * lyx_main.C (error_handler): make it static
11442
11443         * lyx_gui.C (LyX_XErrHandler): make it static
11444
11445         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11446
11447         * WorkArea.C: make the extern "C" methods static.
11448
11449         * Makefile.am (lyx_LDADD): simplify
11450
11451 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11452
11453         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11454         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11455
11456         * LyXAction.C (init):
11457         * lyxfunc.C (dispatch): associated code removal.
11458
11459 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11460
11461         * lyxfont.h (isSymbolFont): shut off warning
11462
11463         * text.C (setHeightOfRow):
11464         (getVisibleRow): fix crash with empty paragraphs which have a
11465         bottom line
11466
11467 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11468
11469         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11470         code.
11471
11472 2001-09-04  José Matos  <jamatos@fep.up.pt>
11473         * buffer.C
11474         * buffer.h
11475         * tabular.C (docbook): rename docBook method to docbook.
11476
11477 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11478
11479         * Makefile.am: add dependencies to main.o.
11480
11481 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11482
11483         * FontLoader.C (available): Return false if !lyxrc.use_gui
11484
11485 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11486
11487         * FontInfo.C (query):
11488         * converter.C (view):
11489         * importer.C (Import):
11490         * exporter.C (Export): Can not -> cannot.
11491
11492 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * BufferView_pimpl.C: allow to create index inset even if
11495           string is empty
11496
11497 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11498
11499         * buffer.C (getLists): replace boost::tie code with an explicit pair
11500         as boost::tie can break some compilers.
11501
11502         * iterators.h: Added a std:: declaration to the return type of
11503         ParIterator::size.
11504
11505 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11508           case.
11509
11510 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11511
11512         * iterators.[Ch]: New files. Provide paragraph iterators.
11513
11514         * buffer.C (changeLanguage): Use paragraph iterators.
11515         (isMultiLingual): ditto
11516
11517         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11518
11519 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11520
11521         * FontLoader.C: Support for cmr font.
11522
11523 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11526         (available): New method.
11527
11528         * FontInfo.C (getFontname): Use scalable fonts even when
11529         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11530         found.
11531
11532 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11533
11534         * converter.C (Formats::view): reverted! Incorrect fix.
11535
11536 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * converter.C (Formats::view): only output the -paper option
11539         if the dvi viewer is xdvi, thereby fixing bug #233429.
11540
11541 2001-08-23  Herbert Voss  <voss@perce>
11542
11543         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11544
11545 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11546
11547         * Spacing.h (Spacing): Set space to Default on in the default
11548         constructor.
11549
11550 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * vc-backend.h (RCS::versionString): add RCS to version
11553         (CVS::versionString): add CVS to version
11554
11555         * vc-backend.C (scanMaster): do not add CVS to version.
11556         (scanMaster): do not add RCS to version
11557
11558         * lyxvc.C (versionString): new method
11559
11560         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11561
11562 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * Spacing.C (set): initialize fval
11565
11566 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11567
11568         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11569         " or \.
11570
11571 2001-08-16  Juergen Vigna  <jug@sad.it>
11572
11573         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11574
11575 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C:
11578         * figureForm.C:
11579         * lyxtext.h:
11580         * text2.C: setParagraph takes linespacing now
11581
11582 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * LyxAction.C: add internal LFUN_CITATION_INSERT
11585
11586         * LyXView.C: actually apply fix
11587
11588         * bufferlist.C: fix open non-existent file
11589
11590         * lyxfind.C: fix indentation
11591
11592         * lyxfunc.C: remove unneeded assert, fix typo
11593
11594 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * MenuBackend.C: use "Floatname List"
11597
11598 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11601         when converting LaTeX layout to insetERT.
11602         Generate a non-collapsed float when reading old float
11603
11604 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11605
11606         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11607         ERT insets.
11608
11609 2001-08-13  Juergen Vigna  <jug@sad.it>
11610
11611         * text.C (fill): return 0 instead of 20 as this seems to be the more
11612         correct value.
11613
11614 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11615
11616         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11617         lyxrc.font_norm.
11618
11619 2001-08-13  Juergen Vigna  <jug@sad.it>
11620
11621         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11622         casesensitive off.
11623         (SearchBackward): comment out the unlocking of the inset_owner this
11624         should not be needed!
11625
11626 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * Many files: Remove inherit_language, and add latex_language
11629
11630         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11631         collapsible insets.
11632
11633 2001-08-10  Juergen Vigna  <jug@sad.it>
11634
11635         * text.C (prepareToPrint): fixed hfill-width in draw!
11636
11637         * BufferView2.C (selectLastWord): save the selection cursor as this
11638         now is cleared in the function LyXText::clearSelection!
11639
11640 2001-08-08  Juergen Vigna  <jug@sad.it>
11641
11642         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11643         BACKSPACE type functions.
11644
11645         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11646         is only cutted from the document but not put in the cut-buffer, where
11647         still the old stuff should be.
11648
11649         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11650
11651         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11652
11653         * tabular.C (SetWidthOfCell): fixed special case where the width
11654         was not updated!
11655         (LeftLine): handle '|' in align_special.
11656         (RightLine): ditto
11657         (LeftAlreadyDrawed): ditto
11658         (SetWidthOfCell): ditto
11659
11660 2001-08-07  Juergen Vigna  <jug@sad.it>
11661
11662         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11663
11664 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11667         * lyxlex.[hC]: ditto
11668
11669 2001-08-06  Juergen Vigna  <jug@sad.it>
11670
11671         * text.C (getVisibleRow): fix up row clearing a bit.
11672
11673 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * minibuffer.C: make sure the X server sees the changes in the input.
11676
11677 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * paragraph.C (getFont): split into...
11680         (getLabelFont): this
11681         (getLayoutFont): and this
11682         * paragraph_pimpl.C (realizeFont): calling this
11683
11684         * text2.C (getFont): split into...
11685         (getLayoutFont): this
11686         (getLabelFont): and this
11687         (realizeFont): all three calling this
11688
11689         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11690         files where used.
11691
11692 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11693
11694         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11695
11696 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11697
11698         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11699         layouts from the Quote inset insertion.
11700
11701 2001-08-03  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11704
11705         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11706         only if status not is already CHANGED_IN_DRAW (second level).
11707
11708         * text.C (draw): don't set the need_break_row when inside an
11709         InsetText LyXText.
11710
11711 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * buffer.C (parseSingleLyXformat2Token): handle more latex
11714         conversion cases.
11715
11716         * bufferview_funcs.[hC]: change function names to
11717         begin with small char, adjust other files.
11718
11719 2001-08-02  André Pönitz <poenitz@gmx.net>
11720
11721         * lyxfunc.C:
11722         BufferView_pimpl.C: remove broken special code for math-greek
11723
11724 2001-08-02  Juergen Vigna  <jug@sad.it>
11725
11726         * BufferView_pimpl.C (update): redone this function so that we
11727         update the text again if there was a CHANGE_IN_DRAW.
11728
11729         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11730         (drawFromTo): added a new internal bool which is used by draw() and
11731         redraw() function.
11732         (general): some cursor drawing problems fixed.
11733
11734 2001-08-01  Juergen Vigna  <jug@sad.it>
11735
11736         * lyxfind.C (LyXFind): fixed
11737         (SearchForward): ditto
11738         (SearchBackward): ditto
11739
11740         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11741         spurius drawing of the cursor in the main area.
11742
11743         * text2.C (status): small fix which could lead to a segfault!
11744         (clearSelection): remove unneeded BufferView param.
11745
11746 2001-08-01  André Pönitz <poenitz@gmx.net>
11747
11748         * lyxfunc.C: small change due to changed mathed interface
11749
11750 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11753
11754 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * lyxfunc.c: fail gracefully if file doesn't exist
11757
11758         * LyXSendto.C:
11759         * buffer.C:
11760         * lyxfunc.C:
11761         * BufferView_pimpl.C: IsDirWriteable() proto changed
11762
11763         * LyXView.C: fix updateWindowTitle() to store the last title
11764
11765 2001-07-31  Juergen Vigna  <jug@sad.it>
11766
11767         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11768         the font (wrong since using of Paragraph::highestFontInRange).
11769
11770         * paragraph.C (highestFontInRange): added a default_size parameter.
11771
11772         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11773         (setHeightOfRow): reformat
11774
11775 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * converter.[hC] + affected files: move to (inital-char)lowercase
11778         function names.
11779
11780         * ParagraphParameters.C (ParagraphParameters): remove commented code
11781
11782         * PainterBase.[Ch]: remove commented code
11783
11784         * LaTeXFeatures.h: add "bool floats" for float.sty
11785
11786         * LaTeXFeatures.C (LaTeXFeatures): init floats
11787         (require): handle float
11788         (getPackages): do it with floats
11789
11790 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * BufferView_pimpl.C (Dispatch): improve handling of
11793         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11794
11795         * commandtags.h: #include lyxfont.h here temporarily to avoid
11796         keybinding bug.
11797
11798         * bufferlist.h: include LString.h here.
11799
11800 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11801
11802         * text2.C (getStringToIndex): new method.
11803
11804 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11805
11806         * *: Reduced header file dependencies all over.
11807
11808 2001-07-30  Baruch Even  <baruch@lyx.org>
11809
11810         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11811
11812 2001-07-29  Baruch Even  <baruch@lyx.org>
11813
11814         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11815
11816 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * ParameterStruct.h (endif): add a default constructor to make
11819         sure that all variables is initialized.
11820
11821         * ParagraphParameters.C (ParagraphParameters): adjust
11822
11823 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11824
11825         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11826         index; also, check that there is something to index, and that it
11827         does not span over several paragraphs.
11828         (doubleClick): use WHOLE_WORD_STRICT for double click.
11829
11830         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11831
11832         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11833         scheme.
11834
11835 2001-07-26  Baruch Even  <baruch@lyx.org>
11836
11837         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11838         an InsetFig figure, backwards compatible reading of old figure code.
11839
11840 2001-07-27  Juergen Vigna  <jug@sad.it>
11841
11842         * text2.C: font.realize function adaption.
11843
11844         * text.C (draw): add a warnings lyxerr text if needed.
11845
11846         * layout.C: font.realize function adaption.
11847
11848         * language.C: add inherit_language and implement it's handlings
11849
11850         * bufferview_funcs.C (StyleReset): remove language parameter from
11851         font creation (should be language_inherit now).
11852
11853         * bufferparams.C (writeFile): handle ignore_language.
11854
11855         * paragraph.C (getFontSettings): the language has to be resolved
11856         otherwise we have problems in LyXFont!
11857
11858         * lyxfont.C (lyxWriteChanges): added document_language parameter
11859         (update): removed unneeded language parameter
11860
11861         * paragraph.C (validate): fixed wrong output of color-package when
11862         using interface colors for certain fonts in certain environments,
11863         which should not seen as that on the final output.
11864
11865 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * BufferView_pimpl.C:
11868         * Thesaurus.h:
11869         * Thesaurus.C:
11870         * Makefile.am:
11871         * commandtags.h:
11872         * LyXAction.C: add thesaurus support
11873
11874         * lyxfind.h:
11875         * lyxfind.C: add "once" parameter, for thesaurus, to not
11876           move to the next match
11877
11878 2001-07-26  Juergen Vigna  <jug@sad.it>
11879
11880         * lyxfont.C (realize): honor ignore_language too!
11881         (resolved): ditto.
11882
11883         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11884
11885         * text.C (draw): one place more for ignore_language to not draw
11886         itself!
11887
11888 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11891
11892 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11895         the minipage conversion problem.
11896
11897 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11900         insert an inset.
11901
11902 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * BufferView.h: don't forward declare WorkArea
11905
11906         * BufferView.C: don't include WorkArea.h
11907
11908 2001-07-25  André Pönitz <poenitz@gmx.net>
11909
11910         * commandtags.h:
11911         * LyXAction.C:
11912         * lyxfunc.C:  new LFUN 'math-space'
11913
11914         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11915
11916 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * text2.C (toggleInset): call open/close
11919
11920 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * lyxfunc.C (dispatch): add debug for the disabled case
11923
11924         * font.C (buttonText): make similar to rectText
11925
11926         * buffer.C (readInset): comment out parsing of insetlist and
11927         insttheorem
11928
11929         * PainterBase.C (rectText): small correction
11930
11931         * BufferView_pimpl.C: comment out insettheorem and insetlist
11932         * LyXAction.C: ditto
11933         * commandtags.h: ditto
11934
11935 2001-07-24  Juergen Vigna  <jug@sad.it>
11936
11937         * text.C (draw): honor the ignore_language.
11938
11939         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11940
11941 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11944         char inset.
11945
11946 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11947
11948         * lyxtext.h: remove unused (and unimplemented) methods
11949
11950 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11951
11952         * text.C (getVisibleRow): honor background color
11953
11954         * PainterBase.h:
11955         * Painter.h: remove default color argument for fillRectangle
11956
11957         * text.C (backgroundColor): new method
11958
11959 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * text.C (getVisibleRow): adjust
11962
11963         * font.[Ch] (rectText): new method, metrics
11964         (buttonText): new method, metrics
11965
11966         * PainterBase.[hC]: make rectText and buttonText always draw and take
11967         fewer paramteres.
11968
11969 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11970
11971         * ToolbarDefaults.C (read):
11972         * MenuBackend.C (read): allow escaping in all strings
11973
11974         * BufferView_pimpl.C (insertAndEditInset): new method.
11975         (Dispatch): use insertAndEditInset whenever appropriate.
11976
11977         * BufferView_pimpl.C (insertNote): removed
11978
11979         * BufferView_pimpl.C (smartQuote): new method, moved from
11980         BufferView; if an insetquote cannot be inserted, insert a '"'
11981         character instead.
11982
11983         * BufferView2.C: remove insertCorrectQuote();
11984
11985         * lyxfunc.C (getStatus): Add support for all remaingin
11986         inset-insert lfuns.
11987
11988         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11989
11990         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11991         command (necessary to pass " as parameter of self-insert.
11992
11993         * text.C (selectWordWhenUnderCursor):
11994         (selectWord): add word_location parameter
11995         (selectWordWhenUnderCursor): same + remove special code for word
11996         boundary.
11997         (selectNextWord): use kind() to guess type of insetspecialchar,
11998         not latex().
11999
12000         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12001         (insertErtContents): create ert insets as collapsed.
12002         (readInset): better compatibility code for Info inset.
12003
12004 2001-07-20  Juergen Vigna  <jug@sad.it>
12005
12006         * lyxfunc.C (dispatch): use always LyXFind now!
12007
12008         * text2.C (init): add a reinit flag so that the LyXText can be
12009         reinited instead of deleted and reallocated (used in InsetText).
12010
12011         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12012
12013         * text.C: ditto
12014
12015         * text2.C: ditto
12016
12017 2001-07-18  Juergen Vigna  <jug@sad.it>
12018
12019         * text.C (selectNextWord): handle insets inside inset by calling
12020         always the bv->text functions so that we can go up the_locking_inset!
12021
12022         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12023         in strange locations when inside an inset!
12024
12025         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12026         handling to include insets.
12027
12028         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12029
12030 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * LyXAction.C (init):
12033         * commandtags.h:
12034         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12035         LIGATURE_BREAK, since the name is so stupid.
12036
12037 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12038
12039         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12040         InsetInfos.
12041
12042         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12043
12044         * sp_form.[Ch]: remove.
12045
12046         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12047
12048         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12049         InsetInfo.
12050
12051         * src/buffer.C (readInset): ditto.
12052
12053 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12054
12055         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12056         menuSeparator(), endOfSentenceDot(), ldots() and
12057         hyphenationPoint(), which are therefore removed.
12058         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12059
12060         * LyXAction.C (init):
12061         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12062
12063         * paragraph.C (getWord): removed.
12064
12065         * BufferView_pimpl.C (Dispatch): use last word or selection for
12066         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12067
12068         * lyx_main.C (queryUserLyXDir): do not ask before creating
12069         user_dir, except if it has been named explicitely.
12070
12071 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12074         a document of zero size.
12075
12076 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12079         approriately in the c-tor and in require().
12080         (getPackages): output the appropriate LaTeX for natbib support.
12081
12082         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12083         variables "use_natbib" and "use_numerical_citations" when reading the
12084         LyX file.
12085         (readInset): read the various natbib cite commands.
12086         (validate): white-space change.
12087
12088         * bufferparams.[Ch]: new variables "bool use_natbib" and
12089         "bool use_numerical_citations".
12090         (writeFile): output them in the LyX file.
12091
12092 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12093
12094         * lyxfunc.C (getStatus): add support for all the inset insertion
12095         commands.
12096
12097         * text2.C (insertInset):
12098         * paragraph.C (insetAllowed):
12099         * BufferView_pimpl.C (insertInset): update to take in account the
12100         renaming of insertInsetAllowed
12101
12102         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12103
12104         * text2.C (getInset): new method. returns inset at cursor position.
12105
12106         * BufferView_pimpl.C (Dispatch): changes because of this.
12107
12108         * LyXAction.C (init): rename open-stuff to inset-toggle.
12109
12110         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12111
12112         * text2.C (toggleInset): renamed from openStuff; use
12113         Inset::open().
12114
12115 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12116
12117         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12118
12119         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12120
12121 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12122
12123         * buffer.C (readLyXformat2): Add filename to the error dialog
12124
12125 2001-07-18  Juergen Vigna  <jug@sad.it>
12126
12127         * tabular.C (GetCellNumber): put an assert here instead of the check!
12128
12129 2001-07-17  Juergen Vigna  <jug@sad.it>
12130
12131         * BufferView_pimpl.C (toggleSelection): adapted too.
12132
12133         * text.C (selectNextWord): adapted for use with insets.
12134         (selectSelectedWord): ditto
12135
12136 2001-07-17  Juergen Vigna  <jug@sad.it>
12137
12138         * sp_spell.C (PSpell): fix initialitation order.
12139
12140 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * paragraph.C: spacing
12143
12144 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12145
12146         * sp_spell.C: repair language selection for pspell
12147
12148 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * lyxfunc.h: change more methods to begin with lower char.
12151
12152 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12153
12154         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12155         for unknown layouts.
12156
12157 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12158
12159         * buffer.C (readLyXformat2): Generate an error dialog if there are
12160         unknown layouts.
12161
12162 2001-07-16  Juergen Vigna  <jug@sad.it>
12163
12164         * sp_spell.C: always compile ISpell part.
12165
12166         * lyxrc.C: added use_pspell entry and it's handling.
12167
12168 2001-07-13  Juergen Vigna  <jug@sad.it>
12169
12170         * sp_spell.C: removed double includes.
12171
12172 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         Consistent use of Lsstream.h:
12175         * Lsstream.h: added using std::stringstream for consistencies sake.
12176
12177         * buffer.C: removed using std::stringstream
12178
12179         * lyxfont.C (stateText):
12180         * paragraph.C (asString):
12181         * text.C (selectNextWord, selectSelectedWord):
12182         * text2.C (setCounter):
12183         * vspace.C (asString, asLatexString):
12184         std::ostringstream -> ostringstream.
12185
12186 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12187
12188         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12189         * commandtags.h: add LFUN_HELP_ABOUTLYX
12190         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12191
12192 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12193
12194         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12195         cursorToggle()
12196         * lyx_gui_misc.C: remove spellchecker
12197         * lyxfunc.C: showSpellchecker
12198         * sp_base.h: added
12199         * sp_ispell.h: added
12200         * sp_pspell.h: added
12201         * sp_spell.C: added
12202         * sp_form.[Ch]: removed
12203         * spellchecker.[Ch]: removed
12204
12205 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12206
12207         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12208         is set.
12209         (simpleTeXSpecialChars): Simply print the input character without
12210         any special translation if pass_thru is set.
12211
12212         * layout.h: Added bool pass_thru to layout class for being able to
12213         implement pass through of a paragraph for Literate Programming.
12214
12215         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12216         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12217         * layout.C (Read): add "passthru" to list of layout tags and add
12218         code to set the pass_thru boolean when it is read.
12219
12220 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * trans_decl.h: remove allowed from KmodInfo
12223
12224         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12225         remove allowed code
12226         (Load): adjust
12227
12228         * paragraph_pimpl.C (erase): use boost::prior
12229
12230         * Painter.C (text): use data() instead of c_str() when length is
12231         also provided.
12232         * WorkArea.C (putClipboard): ditto
12233         * font.h (width): ditto
12234
12235         * BufferView2.C: use it-> instead of (*it). for iterators
12236         * texrow.C: ditto
12237         * paragraph_pimpl.C: ditto
12238         * paragraph.C: ditto
12239         * minibuffer.C: ditto
12240         * language.C: ditto
12241         * kbmap.C: ditto
12242         * encoding.C: ditto
12243         * counters.C: ditto
12244         * converter.C: ditto
12245         * chset.C: ditto
12246         * Variables.C: ditto
12247         * TextCache.C: ditto
12248         * MenuBackend.C: ditto
12249         * LyXAction.C: ditto
12250         * LColor.C: ditto
12251         * FloatList.C: ditto
12252         * DepTable.C: ditto
12253         * ColorHandler.C (LyXColorHandler): ditto
12254
12255 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12258
12259         * text2.C (openStuff): reintroduce this method (which had been
12260         nuked in NEW_INSETS frenzy).
12261
12262         * lyxfunc.C (Dispatch): when an action has not been handled, use
12263         its name in the error message, not its number.
12264
12265         * paragraph.C (inInset): change method name to begin with lowercase.
12266
12267         * undo_funcs.C:
12268         * text2.C: updates because of this.
12269
12270 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * ToolbarDefaults.C (add): add spaces in error message
12273
12274 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12277         (readLyXformat2): rename return_par to first_par, use lyxlex's
12278         pushToken and remove the manual push handling.
12279         (parseSingleLyXformat2Token): add another ert comp. variable:
12280         in_tabular, rename return_par to first_par. handle newlines better
12281
12282 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12285
12286 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * text2.C (getParFromID): removed
12289
12290         * buffer.C (getParFromID): new method moved form lyxtext.
12291         * BufferView2.C (insertErrors): adjust
12292         (setCursorFromRow): adjust
12293         * BufferView_pimpl.C (restorePosition): adjust
12294         * lyxfunc.C (Dispatch): adjust
12295         * undo_funcs.C (textUndo): adjust
12296         (textRedo): adjust
12297         (textHandleUndo): adjust
12298         (textHandleUndo): adjust
12299
12300 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * buffer.C: up' the LYX_FORMAT
12303
12304         * lyxfont.h: turn NO_LATEX on as default
12305
12306         * buffer.C (insertErtContents): new methods of tex style compability.
12307         (parseSingleLyXformat2Token): use it several places.
12308         * tabular.C (OldFormatRead): and here
12309
12310 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * text2.C: remove some commented code.
12313         reindent file.
12314
12315         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12316         * trans.C: changes because of the above.
12317
12318 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12319
12320         * text2.C (setCounter): Fix counters bug with bibliography layout.
12321
12322 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12325         own member functions
12326         (simpleTeXSpecialChars): ditto
12327
12328 2001-07-06  Juergen Vigna  <jug@sad.it>
12329
12330         * a lot of files: changed the access to LyXText::status and the
12331         call of undo-functions.
12332
12333         * undo.[Ch]: added a inset_id to the undo informations.
12334
12335         * undo_funcs.[Ch]: added and moved here all undo functions.
12336
12337         * lyxtext.h: give the status enum a weight, made status_ a private
12338         variable and made accessor functions for it, removed the whole bunch
12339         of undo-functions as they are now in their own file, make some
12340         functions publically available. Added function ownerParagraph with
12341         int parameter.
12342
12343         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12344         made InInset() a const function, added getParFromID() function.
12345
12346         * buffer.[Ch]: added const version for inset_iterator functions,
12347         added getInsetFromID() function.
12348
12349         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12350         changed undo functions for new version.
12351
12352 2001-07-05  Juergen Vigna  <jug@sad.it>
12353
12354         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12355         unknow mechanism does not call the proper constructor but only this
12356         one also if I request the other!?
12357
12358 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12361
12362         * text2.C (LyXText): use initialization lists.
12363
12364         * lyxtext.h (Selection): initialize set_ and mark_
12365         (init): remove method
12366
12367 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12370
12371 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * screen.[Ch]: change method names to begin with lowercase
12374
12375         * BufferView_pimpl.C (updateScrollbar): simplify further and
12376         hopefully make it a bit faster.
12377
12378 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12379
12380         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12381         calling directly xforms functions.
12382
12383         * Painter.C (Painter):
12384         * lyx_cb.C (MenuWrite):
12385         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12386         fl_display.
12387
12388         * lyx_gui.C: remove bogus guiruntime extern declaration.
12389
12390 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12393         in NEW_INSETS
12394         (redoDrawingOfParagraph): ditto
12395         (redoParagraphs): ditto
12396         (cutSelection): don't create a object for CutAndPaste use the
12397         static method directly
12398         (pasteSelection): ditto
12399
12400         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12401         LyXview (+ rename)
12402
12403 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * modifications to some other files because of this.
12406
12407         * Makefile.am (lyx_SOURCES): add XFormsView
12408
12409         * XFormsView.[Ch]: new files
12410
12411         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12412         the main window. Move the gui dependent stuff to XFormsView
12413
12414 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12415
12416         * tabular.C (GetCellInset): update cur_cell also in the row/col
12417         version of this function.
12418
12419         * lyxfunc.C: no need to include figure_form.h here.
12420
12421         * FontLoader.h:
12422         * lyxfunc.h:
12423         * lyxscreen.h:
12424         * text2.C:
12425         * lyxvc.C: no need to include forms.h here.
12426
12427 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12430
12431         * lyxfunc.C (Dispatch):
12432         * Spacing.C (set):
12433         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12434         constructor argument.
12435
12436 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * paragraph.C (Paragraph): dont't clear, and just set layout.
12439         (makeSameLayout): use params's copy contructor.
12440
12441         * ParagraphParameters.[Ch] (makeSame): delete method
12442
12443 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * Variables.[Ch]: fix indentation, rename set to isSet
12446
12447 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * lyxfunc.C (Dispatch): fix typo
12450
12451 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12454         upper_bound.
12455
12456         * bufferlist.C: include assert.h for emergencyWrite().
12457
12458 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12461           give up at last (bug #425202) !
12462
12463 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * lyx_gui_misc.C:
12466         * sp_form.h:
12467         * sp_form.C:
12468         * spellchecker.h:
12469         * spellchecker.C: strip spellchecker options and bring up
12470           preferences tab instead
12471
12472 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12473
12474         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12475         the istringstream constructor
12476
12477 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * paragraph.C (getLayout): fix return value
12480
12481         * paragraph.h: do not declare getLayout as inline.
12482
12483         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12484
12485 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * lyxcursor.h (operator<): new func
12488         (operator>): new func
12489         (operator>=): new func
12490         (operator<=): new func
12491
12492         * text.C (changeCase): use selection.start and selection.end
12493         (changeRegionCase): require from to be <= to. Require par to be a
12494         valid paragraph.
12495
12496         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12497
12498 2001-06-27  Juergen Vigna  <jug@sad.it>
12499
12500         * text.C (cursorLeftOneWord): changed to return the cursor and added
12501         overlay with BufferView * parameter which calls this one.
12502         (getWord): added
12503         (selectWord): use new getWord function.
12504         (changeCase): renamed from changeWordCase as and extended to work
12505         also on selections.
12506
12507         * lyxtext.h: added enum word_location
12508
12509         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12510         changeCase as this operates now also on selections.
12511
12512 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12513
12514         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12515
12516         * many files: send debug output to Debug::INFO instead of
12517         Debug::ANY.
12518
12519         * converter.C (View):
12520         (Convert):
12521         (Move): send debug output to Debug::FILES instead of console.
12522
12523 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12524
12525         * lyxfunc.C (getStatus): use func_status
12526
12527         * func_status.h: new header, describing the results of
12528         LyXFunc::getStatus;
12529
12530         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12531         LFUN_MATH_HALIGN.
12532
12533 2001-06-25  The LyX Project  <jug@sad.it>
12534
12535         * buffer.C (sgmlOpenTag):
12536         (sgmlCloseTag):
12537         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12538
12539 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * text2.C: remove some dead code
12542
12543         * tabular.C (GetCellInset): store the last cell checked (gotten)
12544
12545         * tabular.h: add the helper for the speedup
12546
12547         * lyxtext.h: remove some dead code
12548
12549 2001-06-26  The LyX Project  <Asger>
12550
12551         * paragraph.C: Change export to LaTeX of alignment to
12552         \begin{center} and family for better roundtrip work with reLyX.
12553
12554         * Tune the math drawing a bit.
12555
12556 2001-06-25  The LyX Project  <Asger>
12557
12558         * LColor.C (LColor): New color for math background. New color
12559         for buttons.
12560
12561 2001-06-25  The LyX Project  <jug@sad.it>
12562
12563         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12564
12565         * lyxfunc.C (Open):
12566         * bufferlist.C (newFile): do not restrict to files ending with
12567         .lyx
12568
12569         * BufferView_pimpl.C (MenuInsertLyXFile):
12570
12571 2001-06-24  The LyX Project  <jug@sad.it>
12572
12573         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12574         of compare_no_case
12575
12576 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * lyxtext.h: rename most methods to begin with a small char.
12579         Lots of changes because of this.
12580
12581         * paragraph.C (Paragraph): do not call fitToSize
12582         (erase): call Pimpl::erase
12583         (insertChar): call Pimpl::insertChar
12584         (insertInset): call Pipl::insertInset
12585         (breakParagraph): do not call fitToSize
12586         (breakParagraphConservative): do not call fitToSize
12587         (fitToSize): remove method
12588
12589         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12590
12591 2001-06-24  The LyX Project  <Asger>
12592
12593         * Fix Qt compilation^2
12594
12595 2001-06-24  The LyX Project  <jug@sad.it>
12596
12597         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12598         depthHook(getDepth()-1).
12599
12600         * paragraph.h:
12601         * ParagraphParameters.h:
12602         * ParameterStruct.h: change type of depth to unsigned int ==
12603         depth_type. Many adaptations to other files before of that.
12604
12605 2001-06-24  The LyX Project  <Asger>
12606
12607         * Fix Qt compilation.
12608
12609 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * paragraph.h: renamed several methods to begin with small letter.
12612         several changes to many parts of the code because of this.
12613
12614 2001-06-23  The LyX Project  <jug@sad.it>
12615
12616         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12617         rewritten to discard all double spaces when KeepEmpty is off
12618         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12619         to only handle newlines but not fiddle with spaces and friends.
12620
12621         * lyxfunc.C (MenuNew): when doing 'new from template', use
12622         template_path as default directory
12623
12624 2001-06-23  The LyX Project  <Asger>
12625
12626         * Clean-up of header file includes all over
12627         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12628
12629 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * paragraph.h: renamed from lyxparagraph.h
12632
12633 2001-06-23  Asger  <lyx@violet.home.sad.it>
12634
12635         * Buffer.h: Removed Buffer::resize
12636         * BufferList.h: Removed BufferList::resize
12637         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12638         the document lazily when we change the width, or the font settings.
12639
12640 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12641
12642         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12643
12644 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * buffer.h: remove out of date comment
12647
12648 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * lyxscreen.h:
12651         * screen.C: fix "theoretical" GC leak
12652
12653 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * LaTeX.C (scanAuxFile):
12656         (deplog): remove trailing \r when reading stream (useful under
12657         win32)
12658
12659 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12662         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12663         and BufferView::theLockingInset(Inset*), so should use them and not
12664         access bv_->text->the_locking_inset directly.
12665
12666         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12667
12668 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * Makefile.am:
12671         * tex-defs.h: remove old unused file
12672
12673 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * BufferView_pimpl.C: fix typo, remove minibuffer message
12676           when buffer has loaded
12677
12678 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * lyxfunc.C (Dispatch): use stringstream
12681         (MenuNew): use stringstream
12682         (Open): use stringstream
12683
12684         * importer.C (Import): use stringstream
12685
12686         * bufferview_funcs.C (CurrentState): use stringstream
12687
12688         * LaTeX.C (run): use stringstream
12689
12690         * BufferView_pimpl.C (savePosition): use stringstream
12691         (restorePosition): use stringstream
12692         (MenuInsertLyXFile): use stringstream
12693
12694 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12695
12696         * BufferView.C:
12697         * Bullet.C:
12698         * ColorHandler.C:
12699         * FontInfo.C:
12700         * FontLoader.C:
12701         * LColor.C:
12702         * LaTeXFeatures.C:
12703         * Painter.C:
12704         * gettext.C:
12705         * lyx_gui_misc.C:
12706         * lyxserver.C:
12707         * vspace.C: removed // -*- C++ -*- as first line.
12708
12709         * lyxfind.h:
12710         * version.h: added // -*- C++ -*- as first line.
12711
12712 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12715
12716         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12717         of string
12718
12719 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12722         of floats.
12723
12724 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12725
12726         * gettext.C: include LString.h even when --disable-nls is on.
12727
12728 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * converter.h (Get): changed argument type from int to
12731         FormatList::size_type to avoid unnecessary conversion.
12732
12733         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12734         before using it.
12735
12736 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * gettext.h: include LString.h even when --disable-nls is on.
12739
12740 2001-06-07  Juergen Vigna  <jug@sad.it>
12741
12742         * text.C (BreakAgain): subst spaces with tabs.
12743
12744         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12745         (resizeInsetsLyXText): set force on resizeLyXText.
12746
12747 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * gettext.h (gettext_init):
12750         (locale_init): use a real definition instead of a macro
12751
12752 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * Bufferview_pimpl.C:
12755         * LColor.h:
12756         * LColor.C: further lcolor tidies
12757
12758 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * BufferView_pimpl.C (updateScrollbar): simplify.
12761
12762         * BufferView2.C: don't include insets/insetinfo.h, change
12763         prototype for insertInset and call the Pimpl version. let
12764         updateInset call Pimpl version.
12765
12766         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12767         gotoInset to BufferView::Pimpl
12768
12769 2001-06-01  Juergen Vigna  <jug@sad.it>
12770
12771         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12772         inside a LockingInset (is the update needed at all?).
12773
12774 2001-05-31  Juergen Vigna  <jug@sad.it>
12775
12776         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12777         here not the old one otherwise how should we compare it afterwards
12778         if it's the same!
12779
12780 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12781
12782         * lyxfont.C:
12783         * tabular.C:
12784         * tabular-old.C:
12785         * FontInfo.C: bring C functions into global namespace when
12786         necessary
12787
12788 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12789
12790         * LString.h: make sure config.h has been loaded before LString.h.
12791
12792         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12793         (one for each char read by EatLine!).
12794
12795         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12796         variables.
12797
12798 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12801         to the same as the par we break from
12802
12803 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12806
12807         * MenuBackend.C (expand): also create menu entries for wide
12808         versions of the floats.
12809
12810         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12811
12812         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12813
12814         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12815         frontends/Makefile.am
12816
12817         * text2.C: adjust
12818         * text.C: adjust
12819
12820
12821         * tabular.C (getTokenValue): add std::
12822
12823         * tabular-old.C (getTokenValue): add std::
12824         (getTokenValue): ditto
12825         (getTokenValue): ditto
12826
12827         * screen.C (ToggleSelection): adjust
12828
12829         * lyxtext.h: put selection cursors inside a Selection struct.
12830
12831         * lyxfunc.C (moveCursorUpdate): adjust
12832
12833         * lyxfont.C (latexWriteStartChanges): add std::
12834
12835         * lyxfind.C: adjust
12836
12837         * font.h: delete with(char const *, LyXFont const &)
12838
12839         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12840
12841         * FontInfo.C (getFontname): add std::
12842
12843         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12844         (workAreaButtonPress): adjust
12845         (tripleClick): adjust
12846         (update): adjust
12847         (moveCursorUpdate): adjust
12848         (Dispatch): adjust
12849
12850         * BufferView2.C (gotoInset): adjust
12851
12852 2001-05-30  Juergen Vigna  <jug@sad.it>
12853
12854         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12855         to check pspell I add this as default as I now have new pspell
12856         libraries and they seem to use this.
12857
12858 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * text2.C (CutSelection): make the cursor valid before the call to
12861         ClearSelection.
12862
12863 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12864
12865         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12866         relied on 0 terminated strings and other horrors. Bug found due to
12867         the new assert in lyxstring!
12868
12869         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12870         KP_ keys.
12871
12872 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12875         to latinkeys.bind.
12876
12877         * lyxfunc.C (processKeySym): change method of getting to the
12878         self-insert char.
12879
12880         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12881         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12882         * BufferView_pimpl.[Ch]: here as private methods.
12883
12884 2001-05-28  Juergen Vigna  <jug@sad.it>
12885
12886         * text.C (SetHeightOfRow): added the update() call again as it is
12887         needed to initialize inset dimensions!
12888
12889 2001-05-16  Juergen Vigna  <jug@sad.it>
12890
12891         * text2.C (SetCharFont): Add new function with BufferView * and
12892         bool toggleall parameters for setting insets internal fonts.
12893         (SetFont): Freeze the undo as we may change fonts in Insets and
12894         all this change should be inside only one Undo!
12895
12896         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12897         setting font's in insets as for them we have the SetFont function!
12898
12899 2001-05-15  Juergen Vigna  <jug@sad.it>
12900
12901         * text2.C (ClearSelection): to be sure we REALLY don't have any
12902         selection anymore!
12903
12904         * tabular.C (TeXCellPreamble): fixed the left border problem for
12905         multicolumn cells.
12906
12907 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12908
12909         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12910         dependancy file
12911
12912 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12915         LFUN_BREAKPARAGRAPH.
12916
12917         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12918         help test to "internal only", similar for LFUN_INSERT_URL
12919
12920         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12921         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12922         auto_region_delete and deadkeys.
12923
12924 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * LColor.h:
12927         * LColor.C: remove some dead entries, tidy a little
12928
12929 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12932         commented code.
12933         (Dispatch): implement LFUN_ESCAPE
12934
12935         * commandtags.h: add LFUN_ESCAPE
12936
12937         * LyXAction.C (init): add entry for LFUN_ESCAPE
12938
12939         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12940         Remove commented code.
12941         (insertNote): moved here
12942         (open_new_inset): moved here
12943
12944         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12945         BufferView_pimpl
12946
12947 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * kbmap.C (findbinding): clean it up and make it work correctly.
12950
12951         * lyx_main.C (init): do not pass argc and argv as parameters
12952
12953 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12954
12955         * buffer.C: fix path for OS/2 & Win32
12956
12957         * lyx_gui.C:
12958         * lyx_main:
12959         * lyx_main.C: Added os:: class.
12960
12961         * os2_defines.h: update
12962
12963 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12966         better by trying again with reduced state.
12967
12968 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * lyxrc.C (read): print error about invalid key sequence only when
12971         debugging (because not all latinX keysyms are known to some X
12972         servers)
12973
12974         * kbsequence.C (getiso): add a few std:: qualifiers
12975         (getiso): comment out extra return statement.
12976
12977 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12980         handling.
12981         (Dispatch): enhance the accent inset a bit. (not perfect)
12982
12983 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12986
12987 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * bufferlist.C (emergencyWrite): fix assert() call
12990
12991 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12992
12993         * text.C (InsertChar): Added trivial patch to only send the "you
12994         can not do multiple spaces this way" message once during a
12995         session.
12996
12997 2001-05-08  Baruch Even  <baruch@lyx.org>
12998
12999         * Makefile.am: Changed order of libraries to get LyX to link properly
13000         with the gnome frontend.
13001
13002 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * LaTeXFeatures.h: add a std:: qualifier
13005
13006 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * paragraph.C (String): use stringstream
13009
13010 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * paragraph.C (writeFile): remove footflag arg
13013
13014         * buffer.C (makeLaTeXFile): use stringstream
13015         (latexParagraphs): remove footnot gurba
13016
13017         * LaTeXFeatures.C (getPackages): use stringstream
13018         (getMacros): likewise
13019         (getTClassPreamble): likewise
13020         (getFloatDefinitions): new method
13021
13022         * paragraph.C (writeFile): reindent
13023         (Erase): reindent
13024
13025         * WorkArea.h: revert the xpos + etc changes.
13026
13027         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13028
13029         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13030
13031         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13032         (pasteSelection): likewise
13033         * text2.C (CreateUndo): likewise
13034
13035 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * minibuffer.C (peek_event): temporarily reduce the functionality
13038         of the minibuffer (to allow args on lfuns)
13039
13040         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13041         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13042
13043         * buffer.C (readInset): add compability reading of old float
13044         lists, add reading of new style float list.
13045         (readInset): avoid reevaluation of inscmd.getCmdName()
13046         (getLists): reindent
13047
13048         * MenuBackend.C (MenuItem): implement parsing of
13049         md_floatlistinsert and md_floatinsert.
13050         (expand::LastFiles): move initalizaton of iterators out of loop,
13051         avoid reevaluation.
13052         (expand::Documents): introduce typdedef vector<string> Strings,
13053         and use it.
13054         (expand::ExportFormats): introduce typedef vector<Format const *>
13055         Formats, and use it.
13056         (expand): implement FloatListInsert and FloatInsert.
13057
13058         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13059         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13060         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13061
13062         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13063         handling.
13064         (Dispatch::LFUN_FLOAT_LIST): implement
13065
13066 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13067
13068         * LaTeX.C (run): Fix problem with --export code.
13069
13070 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13071
13072         * BufferView.[Ch] (workarea): removed.
13073         (getClipboard) new method; wrapper for workarea()->getClipboard()
13074
13075         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13076         bug.
13077
13078         * WorkArea.h (width, height, xpos, ypos): These methods all
13079         returned the dimensions of the work_area sub-area of WorkArea,
13080         resulting in a position error if the WorkArea were resized. Now
13081         return the dimensions of the entire WorkArea.
13082
13083         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13084
13085 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * LaTeX.C (deplog): correct the syntax of regex reg1
13088
13089 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * undo.C: remove !NEW_INSETS cruft
13092
13093 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * text2.C: remove !NEW_INSETS cruft
13096
13097         * text.C: remove !NEW_INSETS cruft
13098
13099         * tabular.C: remove !NEW_INSETS cruft
13100
13101         * spellchecker.C: remove !NEW_INSETS cruft
13102
13103         * lyxtext.h: remove !NEW_INSETS cruft
13104
13105         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13106
13107         * lyxfunc.C: remove !NEW_INSETS cruft
13108
13109         * lyxfind.C: remove !NEW_INSETS cruft
13110
13111         * lyx_cb.C: remove !NEW_INSETS cruft
13112
13113         * figureForm.C: remove  !NEW_INSETS cruft
13114
13115         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13116
13117         * buffer.[Ch]: remove !NEW_INSETS cruft
13118
13119         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13120
13121         * CutAndPaste.C: remove !NEW_INSETS cruft
13122
13123         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13124
13125         * BufferView2.C: remove !NEW_INSETS cruft
13126
13127         * BufferView.h: remove !NEW_INSETS cruft
13128
13129 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13130
13131         * Lsstream.h: include LString.h before the sstream headers to
13132         fix problem with gcc 2.95.3 and lyxstring
13133
13134 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * lyx_main.C: add using directives when needed for C functions
13137         declared in std:: namespace.
13138
13139 2001-04-27  Juergen Vigna  <jug@sad.it>
13140
13141         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13142         (SetHeightOfRow): comment out the update call should not be needed!
13143
13144 2001-04-13  Juergen Vigna  <jug@sad.it>
13145
13146         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13147         (LyXTabular): tried to minimize operator= operations (and realized
13148         hopfully Lars wish).
13149
13150 2001-04-27  Juergen Vigna  <jug@sad.it>
13151
13152         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13153
13154 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13157
13158         * buffer.C (readInset): hack to make listof algorithm work
13159
13160         * BufferView_pimpl.C: hack to make listof algorithm work
13161
13162 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * LyXAction.C: removed all !NEW_INSETS cruft
13165         (init): moved lfun_item in method
13166
13167         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13168
13169 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * BufferView2.C (theLockingInset): white space.
13172
13173 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * minibuffer.C: include <iostream>
13176
13177         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13178
13179         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13180
13181         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13182
13183         * text.[Ch] (TransposeChars): new method
13184
13185 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * call message directly through LyXView instead of through LyXFunc
13188         * BufferView2.C: adjust
13189         * BufferView_pimpl.C: adjust
13190         * FontLoader.C: adjust
13191         * buffer.C: adjust
13192         * bufferview_funcs.C: adjust
13193         * converter.C: adjust
13194         * figureForm.C: adjust
13195         * importer.C: adjust
13196         * lyx_cb.C: adjust
13197         * lyx_gui_misc.C: adjust
13198         * lyxfunc.C: adjust
13199         * lyxvc.C: adjust
13200         * text2.C: adjust
13201         + more files in subdirs
13202
13203         * lyxparagraph.h (size): move up int file
13204         (GetLayout): ditto
13205
13206         * adjust all uses of Assert to lyx::Assert.
13207
13208         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13209         lyxfunctional in namespace lyx
13210         * layout.C (hasLayout): ditto
13211         (GetLayout): ditto
13212         (GetLayout): ditto
13213         (delete_layout): ditto
13214         (NumberOfClass): ditto
13215         * converter.C (GetFormat): ditto
13216         (GetNumber): ditto
13217         (Add): ditto
13218         (Delete): ditto
13219         (SetViewer): ditto
13220         * bufferlist.C (getFileNames): ditto
13221         (emergencyWriteAll): ditto
13222         (exists): ditto
13223         (getBuffer): ditto
13224         * MenuBackend.C (hasSubmenu): ditto
13225         (hasMenu): ditto
13226         (getMenu): ditto
13227         * BufferView_pimpl.C (getInsetByCode): ditto
13228
13229 2001-04-18  Juergen Vigna  <jug@sad.it>
13230
13231         * vspace.C (asLatexString): fixed the 100% problem.
13232
13233 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13234
13235         * lyxfunc.C (Dispatch):
13236         * minibuffer.C:
13237         * minibuffer.h: add a few std:: qualifiers
13238
13239 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * minibuffer.[Ch]: reimplement so that commands is initiated and
13242         run from lyxfunc, simplified som handling, and made the completion
13243         and history code for complete. wip.
13244
13245         * lyxfunc.C (processKeySym): call message
13246         (miniDispatch): new temporary method
13247         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13248         (LFUN_MESSAGE): implement
13249         (LFUN_MESSAGE_PUSH): implement
13250         (LFUN_MESSAGE_POP): implement
13251         (initMiniBuffer): the initial/defualt minibuffer message.
13252
13253         * lyxfont.[Ch]: inline some more getters
13254
13255         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13256
13257         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13258
13259         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13260         (AutoSave): use LFUN_MESSAGE
13261         (Reconfigure): ditto
13262
13263         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13264
13265         * figureForm.C: use LFUN_MESSAGE
13266
13267         * converter.C (runLaTeX): use LFUN_MESSAGE
13268
13269         * bufferview_funcs.C: use LFUN_MESSAGE
13270         (Melt): ditto
13271         (changeDepth): ditto
13272
13273         * bufferparams.h: use boost::
13274
13275         * bufferlist.h: inherit privately from noncopyable
13276
13277         * bufferlist.C (loadLyXFile): remove some commented code.
13278
13279         * buffer.C (runChktex): use LFUN_MESSAGE
13280
13281         * ShareContainer.h: inherit privately from noncopyable
13282
13283         * ParagraphParameters.[hC] (depth): inline it.
13284
13285         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13286         methods.
13287         (message): new method
13288         (messagePush): ditto
13289         (messagePop): ditto
13290         (show): init minibuffer
13291         (showState): direct call
13292
13293         * LaTeX.[Ch]: inherit privately from noncopyable
13294         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13295         instead of WriteStatus.
13296
13297         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13298
13299         * BufferView_pimpl.C (buffer): don't init minibuffer
13300         (workAreaButtonPress): use LFUN_MESSAGE
13301         (workAreaButtonRelease): ditto
13302         (savePosition): ditto
13303         (restorePosition): ditto
13304         (MenuInsertLyXFile): ditto
13305         (workAreaExpose): don't init minibuffer
13306         (update): remove commented code, simplify
13307
13308         * BufferView2.C (openStuff): use LFUN_MESSAGE
13309         (toggleFloat): ditto
13310         (menuUndo): ditto
13311         (menuRedo): ditto
13312         (copyEnvironment): ditto
13313         (pasteEnvironment): ditto
13314         (copy): ditto
13315         (cut): ditto
13316         (paste): ditto
13317         (gotoInset): ditto
13318         (updateInset): remove some commented code
13319
13320         * lastfiles.h: inherit privately from noncopyable
13321         * layout.h: ditto
13322         * lyx_gui.h: ditto
13323         * lyx_main.h: ditto
13324         * lyxlex.h: ditto
13325         * lyxlex_pimpl.h: ditto
13326
13327         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13328         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13329         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13330
13331         * LyXAction.h: inherit privately from noncopyable, add methods
13332         func_begin, func_end, returning iterators to the func map.
13333
13334         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13335         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13336         (func_begin): new method
13337         (func_end): new method
13338
13339         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13340         and not)
13341         (copySelection): ditto
13342         (pasteSelection): ditto
13343
13344         * BufferView.C: whitespace change
13345         * BufferView.h: inherit privately from noncopyable
13346
13347 2001-04-16  Allan Rae  <rae@lyx.org>
13348
13349         * tabular-old.C (l_getline):
13350         * spellchecker.C (sc_check_word):
13351         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13352         an unrecognised preprocessor directive.  So ensure they're wrapped.
13353
13354 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13355
13356         * src/exporter.C (Export): Give an error message when path to file
13357         contains spaces.
13358
13359 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * LaTeX.C (deplog): Always check that foundfile exists.
13362
13363 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * lyx_main.h:
13366         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13367
13368 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * tabular.[Ch] (getLabelList): implement new method
13371
13372         * minibuffer.h: comment ouf setTiimer
13373
13374         * minibuffer.C (ExecutingCB): constify res
13375         (peek_event): constify s
13376         (Set): constify ntext
13377         (Init): constify nicename
13378
13379         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13380
13381         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13382         (savePosition): use two params to Minibuffer::Set
13383         (restorePosition): ditto
13384
13385 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13386
13387         * lyx_main.C: include language.h
13388
13389         * Makefile.am (lyx_main.o): add language.h
13390
13391 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13392
13393         * exporter.C:
13394         * paragraph.C:
13395         * screen.C:
13396         * tabular.C:
13397         * CutAndPaste.C: include gettext.h
13398
13399         * lyxfont.h: remove old hack with ON and OFF.
13400
13401         * lyxparagraph.h:
13402         * lyxfont.h: do not include language.h...
13403
13404         * BufferView2.C:
13405         * LaTeXFeatures.C:
13406         * Painter.C:
13407         * bufferview_funcs.C:
13408         * font.C:
13409         * lyxfont.C:
13410         * text.C:
13411         * text2.C:
13412         * trans_mgr.C:
13413         * paragraph.C: ... but do it here instead
13414
13415 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13418
13419         * tabular.C: small reformat
13420
13421         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13422         NEW_INSETS version
13423         (GetChar): ditto
13424         (BreakParagraph): ditto
13425         (SetOnlyLayout): ditto
13426         (SetLayout): ditto
13427
13428         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13429         with one arg less.
13430
13431         * lastfiles.C: removed most using decl, add std:: where needed
13432
13433         * buffer.C: ws changes
13434
13435         * MenuBackend.C (class compare_format): put into anon namespace
13436         (expand): constify label, names, action, action2
13437         (expand):
13438
13439         * text.C (SingleWidth): constify font
13440         (IsBoundary): constify rtl2
13441         (GetVisibleRow): constify ww
13442
13443         * LaTeX.C (deplog): constify logfile
13444
13445         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13446         start_x, end_x
13447         (workAreaExpose): constify widthChange, heightChange
13448
13449         * lyxrow.C (par): moved
13450         (height): moved
13451         (next): moved
13452         * lyxrow.h: as inlines here
13453
13454         * lyxfont.h (shape): moved from lyxfont.C
13455         (emph): moved from lyxfont.C
13456
13457         * lyxfont.C (LyXFont): use initialization list for all
13458         constructors
13459         (shape): move to lyxfont.h as inline
13460         (emph): move to lyxfont.h as inline
13461
13462
13463 2001-04-04  Juergen Vigna  <jug@sad.it>
13464
13465         * vspace.C: had to include stdio.h for use of sscanf
13466
13467 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * BufferView.h:
13470         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13471         independent of xforms.
13472
13473 2001-04-02  Juergen Vigna  <jug@sad.it>
13474
13475         * spellchecker.C: fixed namespace placing!
13476
13477 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13480         the LyXParagraph * is 0.
13481
13482 2001-03-29  Juergen Vigna  <jug@sad.it>
13483
13484         * vspace.C: added support for %, c%, p%, l%.
13485         (stringFromUnit): added helper function.
13486         (asLatexString): changed to give right results for the %-values.
13487
13488         * buffer.C: convert the widthp in a width%.
13489
13490 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13491
13492         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13493         figureForm.[Ch].
13494
13495         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13496         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13497
13498         * lyx_cb.[Ch]: see above.
13499
13500         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13501         form1.[Ch].
13502
13503         * form1.[Ch]:
13504         * lyx.[Ch]: replaced by figure_form.[Ch].
13505
13506         * lyx_gui.C:
13507         * lyx_gui_misc.C:
13508         * lyxfunc.C: changed headers associated with above changes.
13509
13510 2001-03-27  Juergen Vigna  <jug@sad.it>
13511
13512         * BufferView_pimpl.C: set the temporary cursor right!
13513
13514 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13515
13516         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13517
13518 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13519
13520         * LString.h: removed "using std::getline"!
13521
13522         * BufferView_pimpl.C (Dispatch): changes due to changes in
13523         InsetInclude::Params.
13524
13525         * buffer.C (tag_name): removed redundant break statements as they were
13526         producing lots of warnings with my compiler.
13527
13528 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13529
13530         * LString.h: add "using std::getline" when using the real <string>.
13531
13532 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13533
13534         * buffer.C: removed bitset usage.
13535         PAR_TAG moved to an anonymous name space.
13536         (tag_name): new funtion, also in the anonymous namespace.
13537         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13538         (makeDocBookFile): clean code. Completed transition from string arrays
13539         to string vectors.
13540         (SimpleDocBookOnePar): code clean.
13541
13542 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13543
13544         * tabular.C: add some comments.
13545
13546 2001-03-22  Juergen Vigna  <jug@sad.it>
13547
13548         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13549         compatibility read a bit and fixed bug with minipage in different
13550         depth.
13551
13552 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13553
13554         * buffer.C (pop_tag): removed.
13555         (push_tag): removed.
13556         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13557         array replaced with vector. Added support for CDATA sections.
13558         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13559         at any nest level.
13560         (makeDocBookFile): XML conformant declaration of CDATA section,
13561         fixed bug related to <emphasis> in the first paragraph char.
13562         (sgmlOpenTag): exclude empty tags.
13563         (sgmlCloseTag): ditto.
13564
13565         * buffer.h (pop_tag): removed.
13566         (push_tag): removed.
13567
13568 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * language.h (Languages): added size_type and size().
13571
13572 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13573
13574         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13575         response on compability reading of minipages. One probliem is that
13576         the old usage of minipages was «flertydig»
13577
13578         * several files here and in subdirs: don't use static at file
13579         scope use anon namespaces instead.
13580
13581 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13582
13583         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13584         LaTeX output. This is necessary for Literate document
13585         processing.
13586
13587 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13588
13589         * buffer.C: insert hfill when needed.
13590
13591         * tabular.C (l_getline): use string::erase, small whitespace change.
13592
13593         * BufferView_pimpl.C: try the anon namespace.
13594         * WorkArea.C: ditto
13595
13596 2001-03-16  Juergen Vigna  <jug@sad.it>
13597
13598         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13599         otherwise it won't open options-dialogs.
13600
13601         * buffer.C: honor pextraWidth(p) on converting minipages.
13602
13603         * tabular.C (l_getline): changed the functions to strip trailing \r.
13604
13605 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13606
13607         * BufferView_pimpl.C:
13608         * minibuffer..C: added "using SigC::slot" declaration.
13609
13610 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13611
13612         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13613
13614         * text2.C: ditto
13615
13616         * text.C: ditto
13617
13618         * paragraph.C: ditto
13619
13620         * lyxtext.h: NO_PEXTRA
13621
13622         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13623
13624         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13625         * ParameterStruct.h: ditto
13626         * ParagraphParameters.h: ditto
13627         * lyxparagraph.h: ditto
13628
13629 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13630
13631         * buffer.C: add compability for minipage alignment.
13632         (latexParagraphs): remove unwanted pextra check.
13633
13634         * several files: remove CXX_WORKING_NAMESPACES
13635
13636         * buffer.C (pop_tag): tie is in namespace boost
13637
13638         * BufferView.h: noncopyable is in namespace boost
13639         * lyxlex.h: ditto
13640         * lyx_main.h: ditto
13641         * lyx_gui.h: ditto
13642         * layout.h: ditto
13643         * lastfiles.h: ditto
13644         * bufferlist.h: ditto
13645         * ShareContainer.h: ditto
13646         * LyXView.h: ditto
13647         * LyXAction.h: ditto
13648         * LaTeX.h: ditto
13649
13650 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13651
13652         * Merging changes from BRANCH_MVC back into HEAD.
13653
13654         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13655
13656 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * BufferView_pimpl.C: change from intl.C
13659
13660         * combox.h:
13661         * combox.C:
13662         * Makefile.am: move combox.*
13663
13664         * form1.h:
13665         * form1.C:
13666         * lyx_gui.C:
13667         * intl.h:
13668         * intl.C: remove dialog (covered by prefs)
13669
13670 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13671
13672         * lyxfunc.C (Dispatch): removed redundant break statement.
13673
13674 2001-03-14  Juergen Vigna  <jug@sad.it>
13675
13676         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13677
13678 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13679
13680         * buffer.C: add hack to fix compability reading of minipages.
13681
13682 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13683
13684         * buffer.C (getLists): Cleanup.
13685
13686 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * lyxfont.C (update): don't honor toggleall on font size.
13689
13690 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * bmtable.c:
13693         * bmtable.h:
13694         * Makefile.am: moved to frontends/xforms/
13695
13696         * lyx_gui_misc.C:
13697         * lyxfunc.C:
13698         * BufferView_pimpl.C: changes for moved mathpanel
13699
13700 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * gettext.h: fix gettext_init() in --disable-nls
13703
13704 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13707
13708 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * lyx.C:
13711         * lyx.h: strip external form
13712
13713 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * BufferView_pimpl.C: add comment, destroySplash()
13716
13717 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * BufferView_pimpl.C:
13720         * LyXAction.C:
13721         * buffer.C:
13722         * commandtags.h:
13723         * lyxfunc.C: use re-worked insetinclude
13724
13725 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13726
13727         * buffer.C: add using std::stringstream.
13728
13729         * lyx_cb.C: readd using std::ios.
13730
13731         * buffer.C: add using std::map.
13732
13733         * BufferView_pimpl.C: add using std::vector.
13734
13735         * ShareContainer.h: add std:: to swap.
13736
13737         * buffer.h: add some typedefs
13738         * buffer.C (getLists): use them
13739         (getLists): renamed from getTocList.
13740         add a counter for the different float types and use it in the
13741         generated string.
13742         (getLists): use the same counter for the NEW_INSETS and the "non"
13743         NEW_INSETS
13744
13745         * lyx_cb.h: remove unused items, includes, using etc.
13746
13747         * ShareContainer.h: remove some commented code, add more comments
13748         and "documentation".
13749
13750 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13751
13752         * buffer.C (getTocList): make the list also when NEW_INSETS is
13753         defined.
13754
13755         * buffer.h: remove TocType
13756
13757         * buffer.C (getTocList): change to return a map<string,
13758         vector<TocItem> >, implement for dynamic number of list.
13759
13760         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13761         * text2.C (PasteSelection): adjust
13762         * CutAndPaste.C (pasteSelection): adjust
13763
13764         * FloatList.C (FloatList): update from the new_insets branch.
13765         * Floating.[Ch]: ditto
13766         * LaTeXFeatures.C: ditto
13767         * buffer.C: ditto
13768         * lyxlex_pimpl.C: ditto
13769
13770         * paragraph.C (Last): remove when NEW_INSETS is defined.
13771
13772         * other file: changes because of the above.
13773
13774 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13775
13776         * lyxparagraph.h: rename next to next_, previous to previous_,
13777         make them private for NEW_INSETS. Rename Next() to next(),
13778         Previous() to previous().
13779
13780         * other files: changes because of the above.
13781
13782 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * BufferView.h:
13785         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13786         problem.
13787
13788 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * main.C (main): pass lyx_localedir to gettext_init().
13791
13792         * gettext.h: remove locale_init and gettext_init macros
13793
13794         * gettext.C (locale_init): new function
13795         (gettext_init): new function
13796
13797         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13798         setlocale().
13799
13800 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13801
13802         * Moved credits to frontends:
13803         * credits.[Ch]: removed
13804         * credits_form.[Ch]: removed
13805         * lyx_gui_misc.C: remove credits stuff
13806         * Makefile.am:
13807
13808 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13809
13810         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13811
13812         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13813         unneeded destructor.
13814
13815         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13816         a standalone pointer again.
13817
13818         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13819
13820 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * Makefile.am:
13823         * filedlg.h:
13824         * filedlg.C:
13825         * LyXAction.C:
13826         * ToolbarDefaults.C:
13827         * bufferlist.C:
13828         * commandtags.h:
13829         * form1.C:
13830         * form1.h:
13831         * lyx_cb.C:
13832         * lyx_cb.h:
13833         * lyxfunc.h:
13834         * lyxfunc.C:
13835         * BufferView_pimpl.C: use new file dialog in GUII
13836
13837         * lyx_cb.h:
13838         * lyx_cb.C: remove LayoutsCB to Toolbar
13839
13840 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * ShareContainer.h (get): add std:: qualifier
13843
13844 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * ShareContainer.h: define a proper ShareContainer::value_type
13847         type (and use typename to please compaq cxx)
13848
13849 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13850
13851         * lyxparagraph.h: move serveral local vars to
13852         ParameterStruct/ParagraphParameters., use ShareContainer in
13853         FontTable., make vars in FontTable private and add getter and
13854         setter.
13855
13856         * paragraph.C: changes because of the above.
13857
13858         * lyxfont.h: remove copy constructor and copy assignment. (the
13859         default ones is ok), move number inside FontBits. move inlines to
13860         lyxfont.C
13861
13862         * lyxfont.C: add number to initializaton of statics, move several
13863         inlines here. constify several local vars. some whitespace
13864         cleanup. Dont hide outerscope variables.
13865
13866         * Spacing.h: add two new constructors to match the set methods.
13867
13868         * ShareContainer.h: new file, will perhaps be moved to support
13869
13870         * ParameterStruct.h: new file
13871
13872         * ParagraphParameters.h: new file
13873
13874         * ParagraphParameters.C: new file
13875
13876         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13877         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13878
13879         * BufferView_pimpl.C: ParagraphParameter changes.
13880         * buffer.C: Likewise.
13881         * bufferview_funcs.C: Likewise.
13882         * text.C: Likewise.
13883         * text2.C: Likewise.
13884
13885 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * lyxfind.C (LyXReplace): do not redefine default argument in
13888         implementation.
13889         (IsStringInText): ditto
13890         (SearchForward): ditto
13891         (SearchBackward): ditto
13892
13893 2001-03-06  Juergen Vigna  <jug@sad.it>
13894
13895         * lyxfind.C (IsStringInText): put parentes around expressions.
13896
13897 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13898
13899         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13900
13901 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13904
13905         * stl_string_fwd.h: add comment
13906
13907         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13908
13909         * tabular.h:
13910         * tabular.C: remove unused DocBook methods
13911
13912         * intl.C:
13913         * language.C:
13914         * paragraph.C:
13915         * buffer.C:
13916         killed DO_USE_DEFAULT_LANGUAGE
13917
13918 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * lyx_gui.C: do not include language.h.
13921
13922         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13923         arguments in function implementation.
13924
13925 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13926
13927         * BufferView_pimpl.C: add <ctime>
13928
13929 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13930
13931         * BufferView_pimpl.C: add using std::find_if
13932
13933 2001-02-27  José Matos  <jamatos@fep.up.pt>
13934
13935         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13936         by OnlyPath.
13937
13938 2001-02-11  José Matos  <jamatos@fep.up.pt>
13939
13940         * buffer.C (makeDocBookFile): command styles now have a parameter as
13941         "title" by default.
13942
13943 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13944
13945         * layout_forms.[Ch]: removed
13946         * lyx_cb.[Ch]: out character
13947         * lyx_gui.C: out character
13948         * lyx_gui_misc.C: out character
13949         * bufferview_funcs.C: : out character,
13950         added toggleall as parameter in ToggleAndShow
13951
13952 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13953
13954         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13955
13956         * text2.C (SetCurrentFont): Disable number property at boundary.
13957
13958 2001-02-26  Juergen Vigna  <jug@sad.it>
13959
13960         * lyxfunc.C (getStatus): added a string argument override function so
13961         that this is correctly called from LyXFunc::Dispatch if it contains a
13962         do_not_use_argument which is used!
13963         (Dispatch): added check for "custom" export and call appropriate func.
13964
13965 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13966
13967         * lyxrc.C: Add language_command_local, language_use_babel and
13968         language_global_options.
13969
13970         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13971
13972         * buffer.C (makeLaTeXFile): Use language_use_babel and
13973         language_global_options.
13974
13975 2001-02-23  Juergen Vigna  <jug@sad.it>
13976
13977         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13978         which works with LyXText and putted it inside BufferView. Here now we
13979         only call for that part the BufferView::Dispatch() function.
13980
13981         * BufferView.C (Dispatch): added.
13982
13983         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13984         functions which needs to use a LyXText over from LyXFunc.
13985         (MenuInsertLyXFile): added
13986         (getInsetByCode): added
13987         (moveCursorUpdate): added
13988         (static TEXT): added
13989
13990 2001-02-22  Juergen Vigna  <jug@sad.it>
13991
13992         * BufferView_pimpl.C (update): call a status update to see if LyXText
13993         needs it.
13994
13995 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13996
13997         * vc-backend.C (revert): implement for CVS
13998         (getLog): implement for CVS
13999
14000 2001-02-20  Juergen Vigna  <jug@sad.it>
14001
14002         * text2.C (ClearSelection): added BufferView param for inset_owner call
14003
14004         * lyxfunc.C (TEXT): added this function and use it instead of
14005         directly owner->view()-text of getLyXText().
14006
14007 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14008
14009         * src/layout_forms.C: out preamble
14010         * src/layout_forms.h: out preamble
14011         * src/lyx_cb.C: out preamble
14012         * src/lyx_cb.h: out preamble
14013         * src/lyx_gui.C: out preamble
14014         * src/lyx_gui_misc.C: out preamble
14015         * src/lyxfunc.C: connect with guii preamble
14016
14017 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14018
14019         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14020
14021 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14022
14023         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14024         whether to run bibtex.
14025
14026 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14029
14030 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14031
14032         * Makefile.am (lyx_SOURCES): removed bibforms.h
14033
14034         * vspace.h: doxygen
14035
14036         * text.C (GetVisibleRow): make several local vars const
14037
14038         * tabular.C: small cleanup.
14039
14040         * lyxserver.C (callback): use compare instead of strncmp
14041
14042         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14043         inlines to after class or to paragraph.C
14044
14045         * lyxfont.h: remove friend operator!=
14046
14047         * converter.h: move friend bool operator< to non friend and after
14048         class def.
14049
14050         * combox.h: small cleanup
14051
14052         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14053         to inlines after class def.
14054
14055         * buffer.C (pop_tag): use string operations instead of strcmp
14056
14057         * bmtable.c: doxygen, small cleanup
14058
14059         * LaTeX.h: remove friend operator==
14060
14061 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14062
14063         * screen.C:
14064         * lyxrc.[Ch]:
14065         * lyxfunc.C:
14066         * lyxfont.[Ch]:
14067         * lyx_cb.C:
14068         * intl.[Ch]:
14069         * commandtags.h:
14070         * buffer.C:
14071         * WorkArea.[Ch]:
14072         * LyXAction.C:
14073         * BufferView_pimpl.C:
14074         * BufferView.[Ch]: remove cruft
14075
14076 2001-02-14  Juergen Vigna  <jug@sad.it>
14077
14078         * lyxfunc.C: removed #if 0 unused code
14079
14080         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14081
14082         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14083
14084         * text2.C (SetSelection): added a BufferView * parameter
14085
14086 2001-02-13  Juergen Vigna  <jug@sad.it>
14087
14088         * lyxfunc.C (Dispatch): fixed protected blank problem.
14089         * BufferView2.C (protectedBlank): added LyxText * parameter.
14090
14091         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14092         (AppendColumn): same as above for column_info.
14093
14094         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14095         (moveCursorUpdate): use a LyXText param for support of InsetText.
14096
14097         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14098         (tripleClick): ditto
14099
14100         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14101
14102         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14103
14104         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14105
14106         * text2.C (SetSelection): set correct update status if inset_owner
14107         (ToggleFree): ditto
14108
14109 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14110
14111         * tabular.C: remove some commented code.
14112
14113 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * BufferView_pimpl.C: call hideSplash()
14116
14117         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14118
14119         * include_form.h:
14120         * bibforms.h: remove
14121
14122         * lyxfunc.C:
14123         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14124           add LFUN_CHILD_CREATE
14125
14126         * counters.h: fix tiny typo
14127
14128         * lyx_cb.C:
14129         * lyx.h:
14130         * lyx_gui.C:
14131         * lyx.C: move splash to frontends/xforms/
14132
14133         * lyx_gui_misc.C: move Include and Bibform to frontends
14134
14135         * lyxvc.h: clarify comment
14136
14137         * vspace.C: tiny housekeeping
14138
14139 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * text.C (PrepareToPrint): RTL Fix.
14142
14143         * paragraph.C (GetUChar): New method.
14144         (String):  Use GetUChar.
14145
14146         * buffer.C (asciiParagraph): Use GetUChar.
14147
14148 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14151
14152 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14153
14154         * buffer.h:
14155         * buffer.C: rename to getLogName(), handle
14156           build log / latex log nicely
14157
14158 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * MenuBackend.C:
14161         * MenuBackend.h: remove support for reference menuitem type.
14162
14163 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14164
14165         * BufferView_pimpl.C: housekeeping
14166         * BufferView_pimpl.h:
14167         * LyXView.h:
14168         * Makefile.am:
14169         * Timeout.C:
14170         * Timeout.h:
14171         * minibuffer.h: move Timeout GUI-I
14172
14173 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * lyxrc.C (read): Update converters data-structures.
14176
14177 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14178
14179         * LaTeX.h (operator!=): add operator != for Aux_Info
14180
14181 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14184
14185         * LaTeXLog.C: deleted, useful code moved to Buffer
14186
14187         * buffer.h:
14188         * buffer.C: new function getLatexLogName()
14189
14190         * lyx_gui_misc.C:
14191         * lyx_gui.C:
14192         * lyxvc.C:
14193         * lyxvc.h:
14194         * lyxfunc.C: use frontends for LaTeX and VC logs
14195
14196 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * LaTeX.h: yet another std:: that Allan forgot.
14199
14200         * Variables.C (set): renamed from isset(), because this clashes
14201         with some HP-UX macros (grr).
14202
14203 2001-02-06  Allan Rae  <rae@lyx.org>
14204
14205         * LaTeX.h: Another bug fix.  Missing std:: this time.
14206
14207 2001-02-04  Allan Rae  <rae@lyx.org>
14208
14209         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14210         floats problem. I've left it commented out because it's not quite
14211         correct.  It should also test that the current object is a table or
14212         figure inset.  But I haven't gotten around to figuring out how to do
14213         that.  I *think* it'll be something like: "table" == inset.type()
14214
14215         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14216         bool.
14217
14218 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14221         all the citation/databases/styles in the auxilary file.
14222         (run): Rerun latex if there was a babel language error.
14223
14224 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * text.C (Backspace): Preserve the font when changing newline char
14227         with a space.
14228         (BreakParagraph): If the cursor is before a space, delete the space.
14229
14230         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14231
14232 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14233
14234         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14235         new argument (code).
14236         (ChangeCitationsIfUnique): New method.
14237
14238         * paragraph.C (GetPositionOfInset): Handle bibkey.
14239
14240 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * BufferView_pimpl.h: change type of Position::par_pos to
14243         LyXParagraph::size_type.
14244
14245 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * BufferView_pimpl.C (savePosition, restorePosition): Write
14248         messages to minibuffer.
14249
14250 2001-01-28  José Matos  <jamatos@fep.up.pt>
14251
14252         * buffer.C (makeDocBookFile): adds support for document language.
14253         A silly restriction on the name of LatexCommand types where removed.
14254         Added support for CDATA sections, allows to chars unescaped, used
14255         among others in code, to avoid escape < and >.
14256
14257 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14260         saved positions instrad of a stack. Furthermore, a position is
14261         stored using paragraph id/paragraph position.
14262
14263         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14264         Remove LFUN_REF_BACK.
14265
14266 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * converter.C (dvipdfm_options): New method.
14269
14270 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * vspace.C (isValidLength): Fix for empty input string.
14273
14274 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * LyXAction.C (init): change description of LFUN_FIGURE to
14277         "Insert Graphics"
14278
14279 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * LaTeX.C: add using directive
14282
14283 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14284
14285         * MenuBackend.C (expand): Fix the sorting of the formats.
14286
14287 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * lyx_main.C: tiny error message fix
14290
14291 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14294         calling fl_initialize(). This fixes the problem with ',' as
14295         decimal separator in text files.
14296
14297 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14298
14299         * trans.C (process): Fix the keymap bug.
14300
14301 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * LaTeX.C (scanAuxFiles): New method. Provides support for
14304         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14305         (scanLogFile) Scan for "run BibTeX" messages.
14306
14307         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14308         OT1 font encoding. Also, load the aecompl package if the ae
14309         package is loaded.
14310
14311         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14312
14313 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * texrow.C (increasePos): turn two error messages into debug
14316         messages.
14317
14318 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14319
14320         * LaTeX.C (scanAux): Handle the \@input macro.
14321         (runBibTeX): Use scanAux().
14322
14323         * language.C (latex_options_): New field.
14324
14325         * LaTeXFeatures.C (getMacros): Add language macros.
14326
14327         * buffer.C (makeLaTeXFile): Small fix.
14328
14329 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14332
14333         * text2.C: add a using directive.
14334
14335 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * BufferView2.C:
14338         * lyx_gui_misc.h:
14339         * lyxfr1.C:
14340         * lyxfunc.C: kill LyXBell.
14341
14342 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * text.C (IsBoundary): Remove the error message
14345
14346         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14347
14348         * lyxrc.C (setDefaults): Correct initialization value for
14349         font_norm_type.
14350
14351 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14352
14353         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14354         gotoError().
14355
14356         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14357         and GotoNextNote().
14358
14359         * src/LyXAction.C: Added reference-next.
14360
14361         * text.C (InsertChar): Use contains instead of strchr.
14362
14363         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14364
14365 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14366
14367         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14368         alignment commands (when needed).
14369
14370         * text.C (InsertChar): Add ':' to number separator chars.